:root{
  --navy:#0b1f3a;--navy2:#142f54;--gold:#c6a24a;--gold2:#e1c879;--ink:#122033;--muted:#66758a;
  --bg:#f4f7fb;--card:#fff;--line:#dce4ef;--soft:#edf2f8;--green:#1e8a5a;--amber:#c47d17;--red:#b84141;
  --shadow:0 10px 35px rgba(11,31,58,.09);--radius:18px;--sidebar:248px;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}.boot{min-height:100vh;display:grid;place-items:center;color:var(--muted)}
.auth-page{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;background:linear-gradient(135deg,var(--navy),#102b4e 55%,#183e6b)}.auth-brand{position:relative;padding:70px;color:#fff;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.auth-brand:after{content:"";position:absolute;width:460px;height:460px;border-radius:50%;right:-160px;bottom:-180px;border:70px solid rgba(198,162,74,.13)}.auth-mark{width:82px;height:82px;border-radius:24px;display:grid;place-items:center;font-size:28px;font-weight:900;letter-spacing:.08em;background:linear-gradient(135deg,var(--gold2),var(--gold));color:var(--navy);box-shadow:0 14px 40px rgba(0,0,0,.2)}.auth-brand h1{font-size:clamp(38px,5vw,68px);line-height:.98;margin:28px 0 15px;max-width:720px}.auth-brand p{font-size:18px;color:#d9e3ef;max-width:630px;line-height:1.6}.auth-panel{background:#fff;display:grid;place-items:center;padding:40px}.auth-card{width:min(460px,100%)}.auth-card h2{font-size:30px;margin:0 0 8px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:var(--gold);margin-bottom:8px}.subtle{color:var(--muted);line-height:1.5}.field{display:flex;flex-direction:column;gap:7px;margin:15px 0}.field label{font-size:13px;font-weight:750;color:#43536a}.input,.select,.textarea{width:100%;border:1px solid #ccd7e5;border-radius:12px;background:#fff;color:var(--ink);padding:12px 13px;outline:none;transition:.15s}.input:focus,.select:focus,.textarea:focus{border-color:#7894bb;box-shadow:0 0 0 3px rgba(20,47,84,.09)}.textarea{min-height:96px;resize:vertical}.btn{border:0;border-radius:12px;padding:11px 15px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.16s}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn-primary{background:linear-gradient(135deg,var(--navy2),var(--navy));color:#fff}.btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));color:var(--navy)}.btn-soft{background:var(--soft);color:var(--navy)}.btn-danger{background:#fff0f0;color:var(--red);border:1px solid #f1cccc}.btn-sm{padding:8px 10px;border-radius:10px;font-size:12px}.btn-full{width:100%}
.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(180deg,var(--navy),#0b2441 68%,#102d50);color:#dbe5ef;padding:22px 16px;display:flex;flex-direction:column;z-index:20;box-shadow:10px 0 30px rgba(7,23,43,.08)}.brand-row{display:flex;gap:12px;align-items:center;padding:6px 8px 24px}.brand-badge{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,var(--gold2),var(--gold));color:var(--navy);display:grid;place-items:center;font-weight:950;font-size:15px;letter-spacing:.04em}.brand-copy strong{display:block;color:#fff;font-size:14px}.brand-copy span{font-size:11px;color:#aebdce}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;background:transparent;color:#b9c8d9;border-radius:12px;padding:11px 12px;text-align:left;display:flex;align-items:center;gap:11px;font-weight:700;cursor:pointer}.nav button:hover,.nav button.active{background:rgba(255,255,255,.09);color:#fff}.nav button.active{box-shadow:inset 3px 0 0 var(--gold)}.nav-ico{width:24px;text-align:center}.sidebar-foot{margin-top:auto;padding-top:20px}.mini-user{display:flex;align-items:center;gap:10px;padding:10px 7px;border-top:1px solid rgba(255,255,255,.12)}.mini-user-copy{min-width:0;flex:1}.mini-user-copy strong,.mini-user-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-user-copy strong{font-size:13px;color:#fff}.mini-user-copy span{font-size:11px;color:#9db0c4}.main{margin-left:var(--sidebar);min-height:100vh}.topbar{height:72px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);position:sticky;top:0;z-index:10;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px}.page-title strong{font-size:18px;display:block}.page-title span{font-size:12px;color:var(--muted)}.top-actions{display:flex;gap:10px;align-items:center}.mobile-menu{display:none}.content{padding:28px;max-width:1550px;margin:0 auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.page-head h1{font-size:28px;margin:0 0 5px}.page-head p{margin:0;color:var(--muted)}
.grid{display:grid;gap:18px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:20px}.stat{padding:20px;position:relative;overflow:hidden}.stat:after{content:"";position:absolute;right:-24px;bottom:-45px;width:105px;height:105px;border-radius:50%;background:rgba(20,47,84,.05)}.stat-top{display:flex;justify-content:space-between;align-items:center}.stat-icon{width:38px;height:38px;border-radius:12px;background:#eef3f9;display:grid;place-items:center}.stat-value{font-size:32px;font-weight:900;margin-top:12px;letter-spacing:-.03em}.stat-label{font-size:12px;color:var(--muted);font-weight:700}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-title h2,.section-title h3{margin:0;font-size:17px}.section-title span{font-size:12px;color:var(--muted)}
.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:linear-gradient(135deg,#dbe5f1,#f5f7fa);display:grid;place-items:center;font-weight:900;color:var(--navy);flex:0 0 auto;border:2px solid #fff;box-shadow:0 0 0 1px #dbe3ed}.avatar-lg{width:84px;height:84px;font-size:23px}.avatar-sm{width:32px;height:32px;font-size:11px}.person{display:flex;align-items:center;gap:11px;min-width:180px}.person strong{display:block}.person small{display:block;color:var(--muted);margin-top:3px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:850;background:#eef3f8;color:#53647a;white-space:nowrap}.badge-green{background:#e8f6ef;color:var(--green)}.badge-amber{background:#fff4e4;color:#9b610f}.badge-red{background:#fdecec;color:var(--red)}.badge-gold{background:#fff7df;color:#8f6b13}.badge-navy{background:#e9eff6;color:var(--navy)}
.progress{height:8px;background:#e9eef5;border-radius:999px;overflow:hidden}.progress>span{height:100%;display:block;background:linear-gradient(90deg,var(--navy2),var(--gold));border-radius:inherit}.progress-line{display:flex;align-items:center;gap:10px}.progress-line .progress{flex:1}.progress-line strong{font-size:12px;width:38px;text-align:right}.pipeline{display:flex;align-items:center;gap:8px;min-height:110px}.pipeline-stage{flex:1;text-align:center}.pipeline-bar{height:54px;border-radius:12px;background:#edf2f7;display:grid;place-items:center;font-size:22px;font-weight:900;color:var(--navy);border:1px solid #e0e7ef}.pipeline-stage span{font-size:11px;color:var(--muted);display:block;margin-top:7px}.pipeline-arrow{color:#a9b6c5;font-size:19px}
.table-wrap{width:100%;overflow:auto;border-radius:15px;border:1px solid var(--line)}table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}th{position:sticky;top:0;background:#f5f8fb;color:#56677c;text-align:left;padding:11px 12px;font-size:11px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;z-index:1}td{padding:11px 12px;border-top:1px solid #e8edf3;vertical-align:middle;white-space:nowrap}tbody tr{background:#fff}tbody tr:hover{background:#f9fbfd;cursor:pointer}.tracker table{min-width:1950px}.tracker th:first-child,.tracker td:first-child{position:sticky;left:0;z-index:2;background:inherit;min-width:190px}.tracker th:first-child{z-index:3;background:#f5f8fb}.empty{padding:40px;text-align:center;color:var(--muted)}
.list-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.recruit-card{padding:17px;cursor:pointer;transition:.16s}.recruit-card:hover{transform:translateY(-2px);box-shadow:0 16px 45px rgba(11,31,58,.12)}.recruit-card-top{display:flex;justify-content:space-between;gap:12px}.recruit-meta{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.recruit-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;color:var(--muted);font-size:12px}
.profile-hero{background:linear-gradient(135deg,var(--navy),#12345b);color:#fff;padding:24px;border-radius:22px;display:flex;gap:20px;align-items:center;box-shadow:var(--shadow);position:relative;overflow:hidden}.profile-hero:after{content:"";position:absolute;right:-50px;top:-85px;width:280px;height:280px;border-radius:50%;border:45px solid rgba(198,162,74,.12)}.profile-hero .avatar{position:relative;z-index:1}.profile-main{position:relative;z-index:1;flex:1}.profile-main h1{margin:0 0 7px;font-size:28px}.profile-main p{margin:0;color:#cbd8e7}.hero-metrics{display:flex;gap:20px;position:relative;z-index:1}.hero-metric{text-align:center;min-width:75px}.hero-metric strong{font-size:22px;display:block}.hero-metric span{font-size:10px;color:#c8d5e5;text-transform:uppercase;letter-spacing:.06em}.tabs{display:flex;gap:7px;margin:20px 0 16px;overflow:auto}.tab{border:1px solid var(--line);background:#fff;color:#5a6a7e;padding:9px 13px;border-radius:11px;font-weight:800;cursor:pointer;white-space:nowrap}.tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.focus-card{padding:22px;background:linear-gradient(135deg,#fff9e8,#fff);border:1px solid #efdfad;border-radius:18px;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.focus-card .eyebrow{margin:0 0 5px}.focus-card h2{margin:0 0 5px}.focus-card p{margin:0;color:#705f3c}.stage-stack{display:flex;flex-direction:column;gap:13px}.stage-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.stage-card.locked{opacity:.72}.stage-head{display:flex;align-items:center;gap:13px;padding:16px 18px;background:#f9fbfd;border-bottom:1px solid var(--line)}.stage-num{width:34px;height:34px;border-radius:11px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:900}.stage-card.complete .stage-num{background:var(--green)}.stage-card.locked .stage-num{background:#a8b5c4}.stage-copy{flex:1}.stage-copy strong{display:block}.stage-copy span{font-size:12px;color:var(--muted)}.milestones{padding:4px 18px}.milestone{display:grid;grid-template-columns:minmax(230px,1fr) minmax(180px,300px);align-items:center;gap:20px;padding:13px 0;border-bottom:1px solid #edf1f5}.milestone:last-child{border:0}.milestone-name strong{font-size:13px}.milestone-name p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.4}.milestone-control{display:flex;justify-content:flex-end;align-items:center;gap:8px}.check{width:25px;height:25px;accent-color:var(--navy)}.number-step{display:flex;align-items:center;gap:7px}.number-step input{width:82px;text-align:center}.lock-body{padding:25px;text-align:center;color:var(--muted)}
.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qualifiers{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.qual-chip{font-size:10px;padding:4px 7px;border-radius:999px;background:#eef3f8;color:#55667b}.timeline{display:flex;flex-direction:column}.timeline-item{display:grid;grid-template-columns:28px 1fr;gap:12px;padding:10px 0}.timeline-dot{width:12px;height:12px;background:var(--gold);border:3px solid #fff;box-shadow:0 0 0 1px #d8e0e9;border-radius:50%;margin:4px auto 0}.timeline-copy strong{font-size:13px}.timeline-copy p{margin:3px 0;color:var(--muted);font-size:12px}.timeline-copy small{color:#91a0b1}
.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.search{min-width:260px}.split{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.settings-grid{display:grid;grid-template-columns:280px 1fr;gap:18px}.settings-menu{padding:10px}.settings-menu button{width:100%;text-align:left;border:0;background:transparent;padding:11px 12px;border-radius:10px;color:#556579;font-weight:750;cursor:pointer}.settings-menu button.active{background:#edf2f7;color:var(--navy)}.config-row{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid #edf1f5}.config-row:last-child{border:0}.config-row p{margin:4px 0 0;font-size:12px;color:var(--muted)}.danger-zone{border:1px solid #efc8c8;background:#fffafa}.import-box{border:2px dashed #ccd7e4;border-radius:16px;padding:24px;text-align:center;background:#fbfcfe}.hint{font-size:11px;color:var(--muted);margin-top:6px}
.modal-backdrop{position:fixed;inset:0;background:rgba(5,18,34,.58);display:grid;place-items:center;z-index:100;padding:18px}.modal{width:min(650px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.28)}.modal-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0;font-size:18px}.modal-body{padding:20px}.modal-foot{padding:15px 20px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.xbtn{border:0;background:#eef2f6;width:33px;height:33px;border-radius:10px;cursor:pointer}.toast{position:fixed;right:22px;bottom:22px;z-index:200;background:#102742;color:#fff;padding:12px 16px;border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.2);opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s;max-width:360px}.toast.show{opacity:1;transform:none}.toast.error{background:#962f2f}.skeleton{background:linear-gradient(90deg,#edf1f5,#f8fafc,#edf1f5);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:10px;min-height:40px}@keyframes shimmer{to{background-position:-200% 0}}
.mobile-bottom{display:none}
@media(max-width:1180px){.grid-4{grid-template-columns:repeat(2,1fr)}.list-cards{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.hero-metrics{display:none}}
@media(max-width:820px){:root{--sidebar:0px}.sidebar{transform:translateX(-100%);width:260px;transition:.2s}.sidebar.open{transform:none}.main{margin-left:0;padding-bottom:72px}.topbar{height:62px;padding:0 15px}.mobile-menu{display:inline-flex}.content{padding:16px}.page-head{align-items:flex-start;flex-direction:column}.grid-4,.grid-3,.grid-2,.list-cards,.goal-grid,.contact-grid,.settings-grid{grid-template-columns:1fr}.stat-value{font-size:27px}.pipeline{overflow:auto}.pipeline-stage{min-width:118px}.profile-hero{padding:18px;align-items:flex-start}.profile-hero .avatar-lg{width:62px;height:62px}.profile-main h1{font-size:22px}.milestone{grid-template-columns:1fr;gap:10px}.milestone-control{justify-content:flex-start}.tracker{margin-left:-16px;margin-right:-16px;border-radius:0;border-left:0;border-right:0}.search{min-width:0;width:100%}.filters{width:100%}.filters .select{flex:1}.mobile-bottom{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;z-index:18;bottom:0;left:0;right:0;height:64px;background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.mobile-bottom button{border:0;background:transparent;color:#657489;font-size:10px;font-weight:750;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.mobile-bottom button span:first-child{font-size:18px}.mobile-bottom button.active{color:var(--navy)}.auth-page{grid-template-columns:1fr}.auth-brand{display:none}.auth-panel{padding:24px;min-height:100vh}.top-actions .desktop-only{display:none}}
@media(max-width:520px){.grid-4{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:15px}.stat-value{font-size:24px}.stat-icon{width:32px;height:32px}.card-pad{padding:16px}.profile-hero{gap:12px}.profile-main p{font-size:12px}.page-head h1{font-size:24px}.focus-card{align-items:flex-start;flex-direction:column}.auth-card h2{font-size:26px}}
