@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--p:#3157d5;--pd:#203ba3;--bg:#f4f7fb;--text:#182132;--muted:#728096;--sidebar:#111827;--border:#e6eaf0;--radius:18px}
*{box-sizing:border-box}body{font-family:Inter,system-ui,sans-serif;color:var(--text)}
.auth-body{min-height:100vh;background:#fff}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr}
.auth-brand-panel{padding:64px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.18),transparent 22%),linear-gradient(145deg,#1c2d73,#3157d5 60%,#4f73e8)}
.auth-copy{max-width:650px;color:rgba(255,255,255,.78)}.auth-features{display:grid;gap:16px;color:rgba(255,255,255,.92)}.auth-features i{margin-right:10px;color:#93f3c0}
.auth-form-panel{display:flex;align-items:center;justify-content:center;padding:40px}.login-card{width:100%;max-width:460px}
.brand-badge{width:68px;height:68px;border-radius:20px;display:grid;place-items:center;font-size:30px;color:#fff;background:linear-gradient(135deg,#4f73e8,#8ea7ff);box-shadow:0 16px 36px rgba(49,87,213,.28)}
.brand-badge-sm{width:42px;height:42px;border-radius:13px;font-size:19px;flex:0 0 42px}.eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.13em}
.input-group-text,.form-control{border-color:#dde3ec}.form-control:focus{border-color:#9db0ef;box-shadow:0 0 0 .25rem rgba(49,87,213,.10)}
.btn-primary{--bs-btn-bg:var(--p);--bs-btn-border-color:var(--p);--bs-btn-hover-bg:var(--pd);--bs-btn-hover-border-color:var(--pd)}
.app-body{margin:0;background:var(--bg)}.app-shell{min-height:100vh}
.sidebar{position:fixed;z-index:1040;inset:0 auto 0 0;width:270px;background:var(--sidebar);color:#fff;display:flex;flex-direction:column;transition:transform .25s ease}
.sidebar-brand{min-height:82px;display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-brand strong,.sidebar-brand small{display:block}.sidebar-brand small{margin-top:2px;color:#8290a7;font-size:.72rem}
.sidebar-nav{padding:16px 12px;overflow-y:auto;flex:1}.nav-section{padding:16px 12px 8px;color:#67748a;font-size:.67rem;font-weight:800;letter-spacing:.12em}
.sidebar-link{min-height:45px;margin:3px 0;padding:0 12px;display:flex;gap:12px;align-items:center;border-radius:11px;text-decoration:none;color:#aab4c3;font-size:.9rem;transition:.2s}.sidebar-link i{width:22px;font-size:1.05rem}.sidebar-link:hover,.sidebar-link.active{color:#fff;background:rgba(255,255,255,.09)}.sidebar-link.active{background:linear-gradient(135deg,rgba(79,115,232,.92),rgba(49,87,213,.85))}.disabled-link{cursor:default}.phase-pill{margin-left:auto;padding:2px 6px;font-size:.62rem;border-radius:6px;color:#7e8ba0;background:rgba(255,255,255,.06)}
.sidebar-user{padding:16px 18px;display:flex;align-items:center;gap:11px;border-top:1px solid rgba(255,255,255,.08)}.user-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,#3157d5,#708cf0)}.user-avatar-sm{width:30px;height:30px;font-size:.8rem}.user-info{overflow:hidden}.user-info strong,.user-info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-info strong{font-size:.82rem}.user-info small{color:#7f8ba0;font-size:.69rem}
.main-area{margin-left:270px;min-height:100vh}.topbar{height:72px;padding:0 28px;display:flex;align-items:center;gap:16px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1020;backdrop-filter:blur(12px)}.topbar-title{font-size:1.02rem;font-weight:700}.topbar-user-btn{display:flex;align-items:center;gap:9px;border:0}
.content-area{padding:28px}.dashboard-hero{padding:4px 2px;display:flex;align-items:end;justify-content:space-between;gap:20px}.dashboard-hero h1{font-size:clamp(1.6rem,2.5vw,2.2rem)}.hero-date{color:var(--muted);font-size:.88rem}
.metric-card,.panel-card{border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:0 8px 28px rgba(33,45,68,.045)}
.metric-card{min-height:135px;padding:22px;display:flex;align-items:center;gap:16px}.metric-icon{width:52px;height:52px;flex:0 0 52px;border-radius:15px;display:grid;place-items:center;color:var(--p);background:#edf1ff;font-size:1.35rem}.metric-card small{color:var(--muted)}.metric-card h3{margin:4px 0 1px;font-weight:800}.metric-caption{color:#8a96a8;font-size:.72rem}
.panel-card{padding:24px}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.phase-list{display:grid;gap:8px}.phase-item{display:flex;align-items:center;gap:14px;padding:14px;border-radius:12px}.phase-item:hover{background:#f8faff}.phase-check,.phase-number{width:36px;height:36px;flex:0 0 36px;border-radius:10px;display:grid;place-items:center;font-weight:800}.phase-check{color:#138b56;background:#e9f8f0}.phase-number{color:var(--p);background:#edf1ff}.phase-item strong,.phase-item small{display:block}.phase-item small{color:var(--muted);margin-top:2px}
.security-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--border);font-size:.84rem}.security-row:last-child{border-bottom:0}.next-phase{padding:16px;border-radius:13px;background:#f2f5ff}.next-phase span,.next-phase strong{display:block}.next-phase span{color:var(--p);font-size:.7rem;font-weight:800}
.sidebar-overlay{display:none}
@media(max-width:991.98px){.auth-shell{grid-template-columns:1fr}.sidebar{transform:translateX(-100%)}.sidebar.show{transform:translateX(0)}.sidebar-overlay{position:fixed;z-index:1030;inset:0;background:rgba(10,18,31,.48)}.sidebar-overlay.show{display:block}.main-area{margin-left:0}.content-area{padding:20px}}
@media(max-width:575.98px){.auth-form-panel{padding:28px 20px}.topbar{padding:0 16px}.content-area{padding:16px}.dashboard-hero{align-items:flex-start;flex-direction:column}.metric-card{min-height:115px}}
