:root{--ink:#27313f;--muted:#647488;--primary:#006fb9;--primary-dark:#064781;--accent:#36c9f5;--paper:#f4f8fc;--line:#dfe8f0;--white:#fff;--error:#a2372f}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55;background:var(--paper)}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}img{display:block}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.2;letter-spacing:-1.1px;font-weight:650;margin-bottom:10px}h2{font-size:19px;line-height:1.35;letter-spacing:-.35px;margin-bottom:8px}h3{font-size:17px;margin-bottom:8px}p{color:var(--muted)}small{font-size:12px;color:var(--muted)}:focus-visible{outline:3px solid #25afe8;outline-offset:3px}.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--primary);margin-bottom:14px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:24px;font-weight:750;letter-spacing:-.8px;line-height:1.1}.brand:hover{text-decoration:none}.brand-sub{display:block;font-size:9px;letter-spacing:2.1px;font-weight:600;margin-top:6px}.brand-light{color:white}.button{border:1px solid var(--primary);background:var(--primary);color:white;padding:11px 19px;border-radius:8px;display:inline-flex;gap:14px;align-items:center;justify-content:center;font-weight:600;white-space:nowrap;min-height:44px;font-size:13px;line-height:1.4}.button:hover{background:var(--primary-dark);border-color:var(--primary-dark);text-decoration:none}.button.secondary{background:white;color:var(--ink);border-color:#d4e1ed}.button.secondary:hover{background:#edf5fc}.button.small{min-height:36px;padding:7px 13px}.button.full{width:100%;justify-content:space-between}.stack{display:flex;flex-direction:column;gap:20px}label{display:block;font-size:12px;font-weight:650;color:var(--ink)}input,select,textarea{display:block;width:100%;border:1px solid #d3dfeb;background:white;color:var(--ink);border-radius:7px;padding:11px 12px;margin-top:7px;min-height:44px;font-size:14px;font-weight:400}input::placeholder{color:#8392a2}input[aria-invalid],textarea[aria-invalid]{border-color:var(--error)}label small{display:block;font-weight:400;margin-top:6px}textarea{resize:vertical}select{padding-right:30px}.notice{padding:13px 16px;border-radius:8px;margin:0 0 22px;font-size:13px;border:1px solid}.notice.error{background:#fff0ed;border-color:#f0c9c2;color:#92392f}.notice.success{background:#eaf5ff;border-color:#b9ddf7;color:#07568a}.field-error{color:var(--error)}.muted{color:var(--muted)}.required{color:var(--primary)}.skip-link{position:absolute;left:12px;top:-100px;z-index:20;background:white;padding:12px}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.auth-page{background:#fbfdff}.auth-shell{display:grid;grid-template-columns:minmax(340px,46%) 1fr;min-height:100vh}.auth-story{background:#063b72;color:white;padding:48px 58px;display:flex;flex-direction:column;position:relative;overflow:hidden}.story-content{margin:auto 0;padding:100px 0;max-width:480px}.story-content .eyebrow{color:#64d8ff}.story-content h1{font-size:clamp(34px,3.9vw,56px);letter-spacing:-1.8px;line-height:1.12;font-weight:500;margin:24px 0}.story-content p{color:#c4e3f6;font-size:16px;line-height:1.8}.story-line{display:flex;align-items:end;gap:14px;height:110px;margin-top:48px}.story-line span{background:#27bcf2;width:40px;border-radius:5px;transform:skewY(-12deg)}.story-line span:nth-child(1){height:35px;opacity:.35}.story-line span:nth-child(2){height:53px;opacity:.5}.story-line span:nth-child(3){height:73px;opacity:.7}.story-line span:nth-child(4){height:91px;opacity:.85}.story-line span:nth-child(5){height:110px}.story-footer{font-size:12px;color:#b4d5ee}.auth-form-area{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 40px}.auth-card{width:100%;max-width:380px}.auth-card>.eyebrow{margin-bottom:22px}.auth-card h2{font-size:32px;letter-spacing:-.9px;margin-bottom:12px;font-weight:650}.intro{font-size:14px;line-height:1.7;margin-bottom:30px}.auth-link{font-size:12px;text-align:center;margin:24px 0 14px}.auth-link a{font-weight:650}.auth-footer{font-size:11px;margin:48px 0 0;text-align:center}.help{font-size:12px;color:var(--muted);text-align:center}.help summary{cursor:pointer}.help p{margin:14px 0 0}
.workspace{display:flex;min-height:100vh}.sidebar{width:232px;background:#fff;border-right:1px solid var(--line);padding:32px 22px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.sidebar .brand{margin:0 12px 54px}.nav-label{font-size:9px;letter-spacing:1.4px;color:#8492a3;font-weight:650;margin:0 12px 14px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:13px;border-radius:7px;padding:12px 14px;color:#647488;font-weight:550}.sidebar nav a span{font-size:21px;line-height:1}.sidebar nav a[aria-current]{color:var(--primary);background:#e7f3ff}.sidebar nav a:hover{background:#eff7ff;text-decoration:none}.sidebar-bottom{margin-top:auto;padding:22px 0 14px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;font-size:12px}.sidebar-bottom a{font-weight:650}.sidebar-bottom small{display:block;font-size:10px}.avatar{width:35px;height:35px;border-radius:50%;background:#e5f2fc;display:grid;place-items:center;color:#176599;flex-shrink:0}.text-button{border:0;background:none;color:var(--muted);padding:8px 0;font-size:12px}.text-button span{margin-left:12px}.logout-form{margin-left:45px}.main-shell{margin-left:232px;width:calc(100% - 232px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:74px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#f9fbfe;font-size:12px}.workspace-tag{border:1px solid var(--line);border-radius:20px;padding:5px 12px;color:var(--muted);font-size:10px}.main-content{padding:40px 42px 48px;width:100%;max-width:1500px;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.page-heading .eyebrow{margin-bottom:10px}.page-heading p{margin-bottom:0;font-size:13px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:30px}.stat-card{padding:24px;background:white;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;min-height:169px}.stat-card:hover{text-decoration:none}.stat-card>span{font-size:12px;color:var(--muted)}.stat-card strong{font-size:37px;line-height:1.25;letter-spacing:-1px;margin:10px 0 12px;font-weight:600;color:var(--ink)}.stat-card small{font-size:11px;margin-top:auto;display:flex;justify-content:space-between}.stat-card.soft{background:#eaf5ff;border-color:#d2e7f9}.stat-card strong.stat-text{font-size:20px;letter-spacing:-.4px;max-width:200px;margin-top:20px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px;border-bottom:1px solid var(--line)}.panel-heading p{font-size:12px;margin:0}.panel-heading h2{font-size:16px;margin-bottom:5px}.subtle-link{font-weight:600;font-size:12px;white-space:nowrap}.empty-state{text-align:center;padding:64px 22px 70px}.empty-state h2,.empty-state h3{font-size:19px;margin-bottom:10px}.empty-state p{font-size:13px;line-height:1.8;margin-bottom:23px}.empty-icon{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 20px;background:#eaf5ff;border-radius:14px;color:#3187bf;font-size:27px}.count{font-size:14px;letter-spacing:0;background:#dfedfb;color:#20689f;border-radius:20px;padding:4px 10px;vertical-align:middle;margin-left:6px}.filters{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--line)}.filters input,.filters select{margin:0}.search-field{flex:1}.filters select{min-width:170px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;font-weight:650;letter-spacing:.35px;color:#728396;background:#f9fbfe;padding:14px 24px;white-space:nowrap}td{padding:18px 24px;border-top:1px solid #eaf0f6;vertical-align:middle;color:#647488}td:first-child{min-width:190px}td small{display:block;font-size:11px;margin-top:4px}.customer-link{color:var(--ink);font-size:13px;font-weight:600}.badge{display:inline-block;background:#edf1f6;color:#637286;font-size:10px;border-radius:20px;padding:4px 9px;white-space:nowrap}.badge.active{background:#e4f3ff;color:#05629c}.row-action{font-size:18px}.pagination{border-top:1px solid var(--line);padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.pagination>div{display:flex;gap:8px}.back-link{font-size:12px;display:inline-block;margin-bottom:23px}.edit-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.form-panel{padding:26px 28px}.form-panel h2{font-size:17px;margin-bottom:18px}.form-panel .section-intro{font-size:12px;margin-top:-10px;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.notes-label{margin-top:24px}.edit-aside{display:flex;flex-direction:column;gap:20px}.hint{font-size:12px;margin:16px 0 0;line-height:1.75}.note-card{border-radius:12px;background:#eaf4fc;padding:25px}.note-card h3{font-size:15px}.note-card p{font-size:12px;line-height:1.8;margin-bottom:0}.note-card .eyebrow{font-size:9px}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}.narrow{max-width:570px}.app-footer{padding:18px 42px;color:#7d8ca0;font-size:10px;display:flex;justify-content:space-between;border-top:1px solid var(--line)}
@media(min-width:1600px){.auth-story{padding:60px 90px}}@media(max-width:1100px){.sidebar{width:200px;padding:28px 16px 18px}.main-shell{margin-left:200px;width:calc(100% - 200px)}.main-content{padding:32px 26px}.topbar{padding:0 26px}.edit-grid{grid-template-columns:minmax(0,1fr) 220px}.form-panel{padding:22px}.stats-grid{gap:12px}.stat-card{padding:20px}.filters{flex-wrap:wrap}.search-field{min-width:240px}.auth-story{padding:40px 35px}.auth-shell{grid-template-columns:44% 56%}}@media(max-width:760px){.workspace{display:block}.sidebar{position:static;width:100%;padding:16px 20px;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:16px}.sidebar .brand{margin:0;font-size:19px}.sidebar .brand img{width:32px;height:32px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{grid-row:2;grid-column:1/-1;flex-direction:row;gap:8px}.sidebar nav a{padding:9px 14px;font-size:12px}.logout-form{margin:0;grid-row:1;grid-column:2;align-self:center}.main-shell{margin:0;width:100%;min-height:calc(100vh - 140px)}.topbar{height:48px;padding:0 20px;font-size:11px}.workspace-tag{display:none}.main-content{padding:28px 20px 36px}.page-heading{align-items:flex-start;flex-wrap:wrap;margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading p{font-size:12px}.page-heading>.button{width:100%}.stats-grid{grid-template-columns:1fr 1fr}.stats-grid>.soft{grid-column:1/-1;min-height:120px}.stat-card strong.stat-text{max-width:none;margin:10px 0}.stat-card{padding:18px;min-height:155px}.stat-card small{font-size:10px}.panel-heading{padding:20px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:11px}.panel-heading .subtle-link{font-size:11px}.empty-state{padding:42px 18px}.edit-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.edit-aside{display:grid;grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.form-actions .button{width:100%}.filters{padding:16px}.search-field{min-width:100%;width:100%}.filters>label:not(.search-field){flex:1}.filters select{min-width:0}.pagination{padding:16px}.app-footer{padding:18px 20px}.auth-shell{display:block}.auth-story{padding:24px}.auth-story .brand{font-size:20px}.auth-story .brand img{width:34px;height:34px}.story-content,.story-footer{display:none}.auth-form-area{padding:44px 25px}.auth-card h2{font-size:28px}.auth-footer{margin-top:36px}.auth-card{max-width:420px}}
