:root{--navy:#102f53;--blue:#184c80;--teal:#00a6aa;--ink:#172c45;--muted:#718095;--line:#e5eaf0;--bg:#f6f8fb;--white:#fff;--radius:13px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #00a6aa;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 18px 0;display:flex;flex-direction:column;z-index:3}.brand{display:flex;gap:10px;align-items:center;margin:0 10px 31px;font-size:23px;font-weight:750;letter-spacing:1.7px}.brand img{width:49px;height:49px;object-fit:cover}.brand-sub{display:block;font-size:9px;letter-spacing:2.7px;color:var(--muted);margin-top:3px}.brand-sub b{color:var(--blue);letter-spacing:0;margin-left:6px;background:#ecf2f8;border-radius:3px;padding:2px 5px}.workspace{background:#f8fafc;border:1px solid var(--line);padding:13px 10px;border-radius:9px;display:flex;gap:9px;align-items:center;font-size:11px;font-weight:600}.workspace small,.profile small,.private-note small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:5px}.workspace-icon{background:#fff;border:1px solid var(--line);padding:8px;border-radius:6px;color:var(--blue)}.workspace-dot,.review-dot{width:6px;height:6px;border-radius:50%;background:var(--teal);margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.8px;color:#8b98a8;margin:30px 14px 12px;font-weight:700}nav{display:flex;flex-direction:column;gap:5px}nav a{display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:7px;color:#6a7789;font-weight:500}nav a:hover{background:#f5f8fb}nav a.active{background:#eaf0f8;color:var(--navy);font-weight:650}nav a.active:before{content:"";position:absolute;left:0;width:3px;height:25px;background:var(--navy);border-radius:0 3px 3px 0}nav .count{margin-left:auto;font-size:10px;background:#fff;padding:3px 7px;border-radius:5px}.sidebar-bottom{margin-top:auto}.private-note{display:flex;gap:10px;align-items:center;padding:24px 9px;color:#6a7d93;font-size:11px}.private-note svg{width:17px}.profile{border-top:1px solid var(--line);padding:20px 8px;display:flex;align-items:center;gap:11px;font-size:11px;font-weight:600}.avatar{display:inline-flex;width:33px;height:33px;align-items:center;justify-content:center;border-radius:50%;background:#eaf0f7;color:var(--navy);font-size:12px;font-weight:650}.shell{margin-left:244px}.topbar{height:74px;padding:0 42px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.internal-pill{display:flex;gap:6px;align-items:center;font-size:10px;color:#6d7b8d;background:#f6f8fb;padding:7px 10px;border-radius:5px}.internal-pill svg{width:12px;height:12px}main{max-width:1480px;margin:0 auto;padding:35px 42px;min-height:calc(100vh - 164px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#8492a5;margin:0 0 10px}.page-heading h1{font-size:30px;letter-spacing:-1.1px;font-weight:650;margin:0 0 9px}.page-heading p{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce3ec;border-radius:7px;padding:10px 15px;background:white;font-size:11px;font-weight:600;white-space:nowrap;min-height:38px}.btn svg{width:15px;height:15px}.btn.primary{background:var(--navy);color:white;border-color:var(--navy);box-shadow:0 2px 3px #102f5312}.btn.primary:hover{background:#1d4975}.btn:hover{background:#f5f8fb}.btn.white{background:white;color:var(--navy);border-color:white}.btn.text{padding:4px 0;background:none;border:0;color:var(--blue);min-height:30px}.btn.subtle{background:transparent;color:#b9cce0;border-color:#49617c}.hero{background:var(--navy);color:white;border-radius:var(--radius);padding:30px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;overflow:hidden;min-height:226px}.hero:after{content:"";position:absolute;right:-95px;top:-220px;width:600px;height:600px;border:1px solid #ffffff0a;border-radius:50%;pointer-events:none}.hero .eyebrow{color:#7bd1d2;font-size:9px}.hero h2{font-size:27px;font-weight:550;line-height:1.3;letter-spacing:-.65px;margin:0 0 12px}.hero p{color:#b3c5d8;font-size:11px;line-height:1.8;max-width:360px;margin:0 0 20px}.hero-steps{display:flex;gap:0;align-items:center;min-width:310px;position:relative;z-index:1}.hero-step{width:95px;text-align:center;position:relative}.hero-step:not(:last-child):after{position:absolute;content:"";height:1px;background:#41607f;width:48px;top:24px;left:72px}.step-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #58728c;border-radius:13px;margin:0 auto 14px;background:#224261;color:#d5e4f1}.hero-step:first-child .step-icon{background:#124b64;border-color:#287789;color:#65d7d6}.hero-step span{font-size:10px;color:#c4d3e2}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:23px 0}.metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.metric-top{display:flex;justify-content:space-between;align-items:center;color:#67798d;font-size:11px}.metric-top svg{width:16px;height:16px;color:#8c9cb0}.metric strong{display:block;font-size:29px;font-weight:550;letter-spacing:-1px;margin:14px 0 9px}.metric small{font-size:9px;color:#8491a1}.grid-two{display:grid;grid-template-columns:1.25fr 1fr;gap:21px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-heading{padding:22px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading h2{font-size:13px;margin:0 0 6px;font-weight:650}.panel-heading p{font-size:10px;margin:0;color:var(--muted)}.panel-heading .btn{font-size:10px}.pipeline{display:flex;padding:5px 23px 20px;gap:10px}.stage-summary{flex:1;min-width:0}.stage-line{height:4px;border-radius:3px;background:#dce5f0;margin-bottom:13px}.stage-summary:nth-child(2) .stage-line{background:#97afcc}.stage-summary:nth-child(3) .stage-line{background:#37658b}.stage-summary:nth-child(4) .stage-line{background:#12a7ac}.stage-summary small{font-size:9px;color:#738197;display:block}.stage-summary strong{font-size:21px;display:block;margin-top:8px;font-weight:500}.empty{padding:36px 22px 40px;text-align:center}.empty-icon{display:flex;align-items:center;justify-content:center;width:47px;height:47px;border-radius:13px;background:#f2f6fa;color:#8098b2;margin:0 auto 16px}.empty h3{font-size:13px;margin:0 0 8px;font-weight:600}.empty p{font-size:11px;color:var(--muted);line-height:1.8;max-width:310px;margin:0 auto 14px}.compact-empty{border-top:1px solid #f0f3f7;margin:0 23px;padding:24px 0 26px}.compact-empty p{font-size:10px;max-width:280px}.compact-empty h3{font-size:12px}.compact-empty .empty-icon{width:34px;height:34px;margin-bottom:11px;border-radius:9px}.compact-empty .empty-icon svg{width:17px}.review-caption{margin-top:22px;display:flex;align-items:center;gap:8px;color:#8a97a8;font-size:10px}.review-caption svg{width:13px;height:13px}footer{padding:18px 42px;display:flex;justify-content:space-between;gap:20px;color:#98a3b1;font-size:9px;border-top:1px solid var(--line)}.toolbar{display:flex;gap:10px;padding:19px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search-wrap{position:relative;flex:1;min-width:180px}.search-wrap svg{position:absolute;left:12px;top:11px;width:16px;height:16px;color:#8d9bad}.search-wrap input{width:100%;padding-left:36px}.field,input,select,textarea{border:1px solid #dfe5ee;background:#fff;border-radius:7px;padding:10px 12px;color:var(--ink);min-height:39px;font-size:12px}input::placeholder,textarea::placeholder{color:#9aa5b3}select{min-width:135px}.view-toggle{display:flex;border:1px solid var(--line);border-radius:7px;padding:3px;gap:3px}.view-toggle button{border:0;background:transparent;border-radius:4px;width:32px;display:grid;place-items:center;color:#8390a2}.view-toggle button.active{background:#edf2f8;color:var(--navy)}.view-toggle svg{width:16px;height:16px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.8px;background:#fafbfd;padding:14px 22px;color:#8a98a8;border-bottom:1px solid var(--line)}td{padding:18px 22px;border-bottom:1px solid #edf1f5;font-size:11px}.record-link{border:0;background:none;text-align:left;padding:0;font-weight:600;color:var(--navy)}.record-link:hover{text-decoration:underline}td small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.badge{font-size:9px;background:#edf2f8;color:#4a6c91;border-radius:20px;padding:5px 9px;display:inline-flex;align-items:center;gap:5px}.badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.badge.qualified{color:#137f82;background:#e8f7f5}.badge.contacted{color:#8f6e27;background:#fcf5e4}.badge.proposal{color:#7060a3;background:#f2effb}.board{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:20px}.board-col{background:#f7f9fc;padding:13px;border-radius:9px;min-height:240px}.board-col h3{font-size:11px;display:flex;justify-content:space-between;margin:0 0 17px}.board-col h3 span{color:var(--muted)}.board-empty{font-size:10px;color:#96a2b2;text-align:center;padding:33px 0;border:1px dashed #dfe6ef;border-radius:8px}.lead-card{display:block;text-align:left;width:100%;border:1px solid var(--line);background:#fff;border-radius:7px;padding:14px;margin-bottom:9px}.lead-card strong{display:block;font-size:11px}.lead-card small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.task-row{display:flex;align-items:center;gap:12px;padding:18px 23px;border-top:1px solid #edf1f6}.task-row input{width:17px;height:17px;min-height:0;accent-color:var(--navy);cursor:pointer}.task-row label{flex:1;font-size:12px;cursor:pointer}.task-row small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.task-row.done label{text-decoration:line-through;color:#9aa4b2}.task-row .due{font-size:9px;color:#7a899c;white-space:nowrap}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.info-list{padding:0 23px 8px}.info-row{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid var(--line);font-size:11px}.info-row p{color:var(--muted);font-size:10px;margin:6px 0 0;line-height:1.6}.info-row strong{font-size:10px;font-weight:500;color:#718197;white-space:nowrap}.notice{margin:0 23px 23px;padding:14px 16px;border-radius:8px;background:#f3f7fb;font-size:11px;color:#647a94;line-height:1.8}.status-list{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.status-list .badge{font-size:10px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.detail-field{font-size:12px;overflow-wrap:anywhere}.detail-field small{display:block;color:var(--muted);font-size:10px;margin-bottom:7px}.detail-note{background:#f7f9fc;border:1px solid var(--line);padding:17px;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:12px}.section-label{font-size:10px;color:#7f8ca0;text-transform:uppercase;letter-spacing:1px;margin:25px 0 10px}dialog{border:1px solid #e4eaf2;border-radius:16px;padding:0;width:min(550px,calc(100vw - 32px));max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 25px 100px #07182c40}dialog::backdrop{background:#0d244a6b;backdrop-filter:blur(3px)}.modal-head{padding:25px 27px 18px;display:flex;align-items:flex-start;justify-content:space-between}.modal-head h2{font-size:21px;letter-spacing:-.5px;margin:0 0 8px}.modal-head p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.icon-btn{border:0;background:#f5f7fa;border-radius:6px;padding:5px;color:#708196;display:grid;place-items:center}.icon-btn svg{width:18px;height:18px}.modal-body{padding:4px 27px 25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500}.form-field.full{grid-column:1/-1}.form-field textarea{resize:vertical;min-height:90px}.form-field small{color:var(--muted);font-weight:400;font-size:10px;line-height:1.6}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:18px 27px;border-top:1px solid var(--line);background:#fafbfd}.error{font-size:11px;color:#b23838;margin:0 0 16px}.error:empty{display:none}#toast{position:fixed;bottom:24px;left:calc(50% + 122px);transform:translateX(-50%);background:var(--navy);color:#fff;border-radius:8px;padding:12px 20px;font-size:12px;box-shadow:0 6px 22px #193e5f26;z-index:10;display:none}#toast.visible{display:block}.skip{position:fixed;top:-100px;left:15px;padding:15px;background:#fff;z-index:20}.skip:focus{top:10px}.mobile-label{display:none}.safe-copy{max-width:560px;margin:0 auto}.intro-tag{color:#16858c;display:inline-flex;gap:6px;align-items:center;background:#eaf7f6;border-radius:20px;padding:6px 10px;font-size:9px;margin-bottom:20px}.spacious-empty{padding:63px 24px 62px}.spacious-empty .empty-icon{width:64px;height:64px;border-radius:18px;margin-bottom:24px}.spacious-empty .empty-icon svg{width:27px;height:27px}.spacious-empty h3{font-size:20px;letter-spacing:-.4px}.spacious-empty p{font-size:12px;max-width:390px}.scope-strip{border-top:1px solid var(--line);display:flex;gap:40px;justify-content:center;padding:23px;color:#7e8ea2;font-size:10px}.scope-strip span{display:flex;align-items:center;gap:7px}.scope-strip svg{width:14px;height:14px}@media(min-width:1500px){main{padding-top:42px}.hero{min-height:250px}.hero h2{font-size:31px}.hero-steps{margin-right:50px}.metrics{margin:26px 0}.metric{padding:24px}.grid-two .panel{min-height:320px}}@media(max-width:1150px){.sidebar{width:210px;padding-left:13px;padding-right:13px}.brand{font-size:20px}.shell{margin-left:210px}main{padding:28px}.topbar{padding:0 28px}.hero-steps{min-width:250px}.hero-step{width:80px}.hero-step:not(:last-child):after{width:33px;left:64px}.hero h2{font-size:25px}.metric{padding:16px}.grid-two{gap:16px}#toast{left:calc(50% + 105px)}}@media(max-width:950px){.hero-steps{display:none}.metrics{grid-template-columns:repeat(2,1fr)}.board{grid-template-columns:repeat(2,1fr)}.grid-two,.settings-grid{grid-template-columns:1fr}.page-heading h1{font-size:27px}.hero{min-height:220px}.hero h2 br{display:none}.hero p{max-width:480px}}@media(max-width:680px){.sidebar{position:static;width:100%;padding:15px 16px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 15px;font-size:18px;gap:8px}.brand img{width:35px;height:35px}.brand-sub{font-size:7px}.workspace,.nav-label,.sidebar-bottom{display:none}nav{flex-direction:row;overflow-x:auto;gap:4px;padding-bottom:10px}nav a{font-size:10px;padding:9px 10px;gap:6px;white-space:nowrap}nav a svg{width:15px;height:15px}nav .count{display:none}nav a.active:before{display:none}.shell{margin:0}.topbar{height:49px;padding:0 20px}.internal-pill{font-size:9px}main{padding:25px 19px;min-height:60vh}.page-heading{align-items:flex-start;margin-bottom:20px;gap:12px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px;max-width:240px}.page-heading .btn{font-size:10px;padding:9px 11px;margin-top:21px}.eyebrow{font-size:8px;margin-bottom:8px}.hero{padding:25px;min-height:225px}.hero h2{font-size:25px}.hero p{font-size:11px}.metrics{gap:11px;margin:18px 0}.metric{padding:16px}.metric-top{font-size:10px}.metric small{font-size:8px}.metric strong{font-size:28px}.panel-heading{padding:20px}.pipeline{padding:4px 20px 20px}.scope-strip{gap:15px;flex-wrap:wrap}.toolbar{padding:15px}.search-wrap{flex-basis:100%}.toolbar select{flex:1;min-width:0}.board{padding:14px;gap:10px}.board-col{padding:10px}.review-caption{align-items:flex-start;line-height:1.6}footer{padding:17px 19px;font-size:8px;line-height:1.6}footer span:last-child{text-align:right}#toast{left:50%;width:max-content;max-width:calc(100vw - 30px);font-size:11px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.modal-head{padding:23px 22px 18px}.modal-body{padding:4px 22px 23px}.modal-actions{padding:16px 22px}.detail-grid{gap:20px}.task-row{padding:17px}.task-row .due{font-size:8px}.spacious-empty{padding:43px 20px}.spacious-empty h3{font-size:18px}}

button:disabled,input:disabled,select:disabled,textarea:disabled{opacity:.6;cursor:wait}.task-row{flex-wrap:wrap}.task-error{flex-basis:100%;margin:4px 0 0 32px!important}.error:empty{display:none}

.opportunity-board{grid-template-columns:repeat(5,minmax(170px,1fr));overflow-x:auto}.badge.won{color:#137f82;background:#e8f7f5}.badge.lost{color:#956071;background:#f8eef2}.badge.negotiation{color:#8f6e27;background:#fcf5e4}.lead-card strong,.lead-card small{overflow-wrap:anywhere}.sr-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:680px){.page-heading{flex-wrap:wrap}.page-heading .btn{margin-top:0}.opportunity-board{grid-template-columns:repeat(5,minmax(180px,1fr))}.modal-actions{flex-wrap:wrap}}

.lead-metadata{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:12px 0}.form-hint{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 12px}.contacts-section h3{font-size:14px;margin:8px 0}.contacts-section>[data-add-contact]{justify-self:start}.contact-row{min-width:0;border:1px solid var(--line);border-radius:10px;padding:14px;margin:0 0 14px}.contact-row legend{font-size:12px;padding:0 6px;color:var(--muted)}.contact-row .btn{margin-top:10px}.contact-detail{padding:14px 0;border-bottom:1px solid var(--line)}.contact-detail h4{margin:0 0 12px;overflow-wrap:anywhere}.detail-field{overflow-wrap:anywhere}@media(max-width:680px){.lead-metadata{grid-template-columns:1fr}}
/* Same visual system, authenticated internal-team entry and profile surfaces. */
.signed-out .sidebar,.signed-out .topbar,.signed-out footer{display:none}.signed-out .shell{margin-left:0}.signed-out main{min-height:100vh;display:grid;place-items:center;padding:28px}.auth-panel{width:min(100%,460px);padding:36px}.auth-logo{width:64px;height:64px;object-fit:contain;margin-bottom:20px}.auth-panel h1{font-size:30px;margin:14px 0}.auth-panel p{line-height:1.6}.auth-panel form,.profile-panel form{display:grid;gap:18px}.auth-panel .btn{margin-top:8px;justify-content:center}.profile-panel{padding:28px}.profile-panel h2{margin-top:0}.permission-note{display:block;color:#68788b;font-size:12px;line-height:1.5;margin:4px 8px}.btn:disabled{cursor:not-allowed;opacity:.5}.form-field input[readonly]{background:#f2f5f8;color:#607086}.profile-panel [role=status]{margin:0;min-height:1.5em;line-height:1.5}.auth-panel .error:empty{display:none}

/* V3-inspired frame. CRM panels and permission-aware forms remain unchanged. */
:root{--navy:#132d49;--bg:#f3f7fa;--shell-header:68px;--shell-sidebar:248px;--portal-footer-height:76px}
.topbar{position:fixed;inset:0 0 auto;height:var(--shell-header);padding:0 21px 0 16px;z-index:5;gap:16px;border-bottom:1px solid #dce5ee}
.brand{margin:0;gap:11px;font-size:15px;letter-spacing:.15px;line-height:1.35;min-width:0;color:#102d4c}
.brand img{width:44px;height:44px;border-radius:10px;flex-shrink:0}
.brand small{display:block;font-size:10px;font-weight:400;color:#71849f;letter-spacing:.65px;margin-top:3px}
.header-actions{display:flex;align-items:center;gap:13px;margin-left:auto;min-width:0}
.profile{padding:4px 0;border:0;gap:10px;font-size:13px;color:#102d4c;min-width:0;border-radius:6px}
.profile>span:last-child{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile small{font-size:11px;color:#71849f;margin-top:4px;font-weight:400}
.avatar{width:38px;height:38px;background:#132d49;color:#fff;font-size:12px;flex-shrink:0}
.shell-icon{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border:1px solid #dce5ee;border-radius:10px;background:#fff;color:#132d49;padding:0}
.shell-icon span{display:flex}.shell-icon:hover{background:#f0f5f8}.menu-toggle,.menu-close{display:none}
.sidebar{inset:var(--shell-header) auto 0 0;width:var(--shell-sidebar);padding:18px 14px 0 2px;background:linear-gradient(160deg,#142e49,#0d2236);border:0;color:#b8ccdd;z-index:4}
.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:0 12px}.nav-label{display:block;margin:6px 0 18px;color:#b4c8df;font-size:10px;letter-spacing:1.6px;font-weight:800}
.sidebar nav{flex-direction:column;gap:4px;overflow:visible;padding:0}.sidebar nav a{position:relative;padding:13px 13px;gap:12px;min-height:44px;color:#b8ccdd;font-size:14px;font-weight:400;border-radius:8px;white-space:nowrap}
.sidebar nav a svg{width:19px;height:19px;color:#b7c9d9}.sidebar nav a:hover{background:#ffffff0b;color:white}.sidebar nav a.active{background:#ffffff12;color:#fff;font-weight:500;box-shadow:inset 3px 0 0 #00a6aa}.sidebar nav a.active:before{display:none}.sidebar nav a.active svg{color:#e6f0f7}.sidebar nav .count{background:#ffffff0e;color:#b8ccdd;font-size:10px;font-weight:400}
.sidebar-bottom{display:block;margin-top:auto}.private-note{padding:19px 11px;border-top:1px solid #ffffff16;margin-top:24px;color:#a9bfd0;font-size:10px;line-height:1.6}.private-note svg{width:15px;flex-shrink:0}.private-note small{font-size:10px;color:#809cb4;margin-top:2px}
.shell{margin:var(--shell-header) 0 0 var(--shell-sidebar);min-height:calc(100dvh - var(--shell-header));display:flex;flex-direction:column;min-width:0}

main{width:100%;min-width:0;min-height:0;flex:1;padding:28px 34px 36px;scroll-margin-top:84px}
.portal-footer{position:fixed;left:var(--shell-sidebar);right:0;bottom:0;z-index:2;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px;padding:16px 35px;min-height:76px;border:0;background:#fff;font-size:10px;color:#132d49}
.website-link{position:absolute;left:50%;transform:translateX(-50%);background:white;border-radius:8px;padding:10px;font-size:12px;font-weight:700;box-shadow:0 3px 20px #17365006}.website-link:hover{text-decoration:underline}
.world-clock{display:flex;align-items:center;padding:8px 10px;border:1px solid #dce5ee;border-radius:11px;background:#fff;box-shadow:0 3px 14px #17365005;gap:0;line-height:1.6}.world-clock>strong{padding-right:12px;font-size:10px;white-space:nowrap}.world-clock>div{padding:0 10px;border-left:1px solid #dce5ee}.world-clock b{display:block;font-size:9px}.world-clock time{display:block;font-size:10px;white-space:nowrap;color:#71849f;font-variant-numeric:tabular-nums}
.sidebar-backdrop{display:none}#toast{left:calc(50% + 124px)}
@media(max-width:1500px){.website-link{position:static;transform:none;margin-right:auto}}
@media(max-width:1100px){.brand{font-size:14px}main{padding:26px}.portal-footer{padding:16px 26px}.world-clock>div{padding:0 7px}.world-clock>strong{padding-right:8px}}
@media(max-width:800px){
 .topbar{padding:0 14px;gap:11px}.menu-toggle,.menu-close{display:grid}.menu-toggle{width:36px;height:36px}.brand{font-size:13px;gap:9px}.brand img{width:38px;height:38px}.brand small{font-size:9px;letter-spacing:.15px}.header-actions{gap:9px}.profile>span:last-child{display:none}.avatar{width:35px;height:35px}.header-actions>.shell-icon{width:36px;height:36px}
 .sidebar{position:fixed;inset:var(--shell-header) auto 0 0;width:248px;padding:15px 14px 0 2px;border:0;transform:translateX(-100%);visibility:hidden;overflow-y:auto;transition:transform .18s ease,visibility .18s}.sidebar .nav-label{margin:6px 0 18px}.menu-close{width:30px;height:30px;background:transparent;border-color:#ffffff25;color:#b8ccdd;margin-bottom:12px}.menu-close:hover{background:#ffffff12}.sidebar nav .count{display:inline}.sidebar-bottom{display:block}
 .shell{margin:var(--shell-header) 0 0}.sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:var(--shell-header) 0 0;background:#07192d70;z-index:3}.nav-open{overflow:hidden}.nav-open .sidebar{transform:translateX(0);visibility:visible}
 main{padding:25px 20px;min-height:0}.portal-footer{padding:16px 20px;justify-content:center;gap:12px}.website-link{margin-right:0}.world-clock{justify-content:center}.world-clock>div{padding:0 9px}#toast{left:50%}
}
@media(max-width:480px){.topbar{gap:8px;padding:0 10px}.brand{font-size:11px;gap:7px}.brand img{width:32px;height:32px}.brand small{font-size:8px;letter-spacing:0}.header-actions{gap:6px}.header-actions>.shell-icon{width:32px;height:34px}.avatar{width:32px;height:32px}.menu-toggle{width:32px}.world-clock{width:100%;flex-wrap:wrap;row-gap:6px;padding:9px 4px}.world-clock>strong{flex-basis:100%;text-align:center;padding:0}.world-clock>div{padding:0 7px}.world-clock>div:nth-child(2){border-left:0}.world-clock time{font-size:9px}.portal-footer{padding:16px 12px}main{padding:24px 16px}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}
.signed-out .sidebar,.signed-out .topbar,.signed-out footer,.signed-out .sidebar-backdrop{display:none}.signed-out .shell{margin:0;min-height:100dvh}.signed-out main{min-height:100dvh;flex:auto}

/* Reserve the measured footer border-box, including wrapping and the safe area. */
html{scroll-padding-bottom:calc(var(--portal-footer-height) + 16px)}
.shell{padding-bottom:var(--portal-footer-height)}
.portal-footer{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
#toast{bottom:calc(var(--portal-footer-height) + 16px)}
.signed-out{--portal-footer-height:0px}
.signed-out .shell{padding-bottom:0}
@media(max-width:800px){.portal-footer{left:0}}
