:root{color-scheme:dark;--bg:#07101b;--bg2:#0b1726;--card:#101d2e;--card2:#0e1a29;--line:#273e56;--line2:#35516b;--ink:#edf3fe;--muted:#94aec8;--cyan:#59def7;--blue:#4caeff;--green:#39dbac;--amber:#ffc35f;--red:#fa3558;--purple:#b194fc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{font:14px/1.5 "Segoe UI",system-ui,Arial,sans-serif;background:radial-gradient(ellipse 68% 38% at 80% -10%,#14314d,transparent),var(--bg);margin:0;color:var(--ink);min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}.hidden{display:none!important}.brand{display:flex;align-items:center;gap:9px;font-weight:900;color:white;letter-spacing:-1.6px;white-space:nowrap}.brand-copy{display:block;position:relative;line-height:1.02}.brand-copy small{font-size:.41em;letter-spacing:4px;display:block;line-height:1.2}.brand-24{background:#d71930;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:29px;letter-spacing:-1px}.brand-xl{font-size:35px}.brand-xl .brand-24{width:72px;height:72px;font-size:40px}.brand-sm{font-size:22px}.brand-sm .brand-24{width:41px;height:41px;font-size:22px}.eyebrow,.section-label{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--cyan)}.subtle,.muted-body{color:var(--muted)}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(340px,1.1fr) minmax(380px,.9fr);gap:min(7vw,100px);align-items:center;padding:clamp(22px,6vw,90px);max-width:1500px;margin:auto}.auth-brand{max-width:580px}.auth-brand .eyebrow{display:block;margin:26px 0}.auth-brand h1{font-size:clamp(38px,5vw,67px);line-height:1.05;letter-spacing:-2px;margin:18px 0 21px}.auth-brand h1 span{color:var(--cyan)}.auth-brand p{font-size:16px;color:#9fb7cf;max-width:530px;line-height:1.7;margin-bottom:38px}.auth-point{display:flex;align-items:center;gap:11px;color:#c7d9ef;margin-top:18px;font-size:14px}.point-symbol{width:26px;height:26px;border-radius:50%;background:#123d32;color:#5ce9b4;display:grid;place-items:center;font-weight:900}.auth-card,.panel{background:linear-gradient(125deg,#121e2e,#0c1725);border:1px solid var(--line);border-radius:21px}.auth-card{padding:clamp(24px,3vw,48px);box-shadow:0 22px 85px #0005}.auth-card h2{font-size:34px;letter-spacing:-1px;margin:9px 0 6px}.auth-card .subtle{margin:0 0 27px}label{display:block;color:#c0d5eb;font-size:12px;font-weight:700;margin:15px 0 7px}input:not([type="checkbox"]),select,textarea{display:block;width:100%;border:1px solid #34516a;border-radius:11px;padding:13px 14px;background:#081525;color:var(--ink);outline:0;min-width:0}input:focus,textarea:focus,select:focus{border-color:var(--cyan);box-shadow:0 0 0 2px #59def71c}input::placeholder,textarea::placeholder{color:#728eab}textarea{resize:vertical}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:11px;border:1px solid transparent;padding:11px 16px;color:white;font-weight:700;white-space:nowrap}.btn.primary{background:linear-gradient(110deg,#ed1d43,#ff4664);box-shadow:0 10px 25px #cf133329}.btn.soft{background:#173549;border-color:#386078;color:#8ce7fc}.btn.quiet{background:transparent;color:#aec6dd;border-color:var(--line)}.btn.danger{background:#4b1d2c;color:#ff9faf;border-color:#843749}.btn.wide{width:100%;margin-top:25px}.btn:hover,.shortcut:hover{filter:brightness(1.13)}.auth-tip{font-size:12px;color:#7f9bb5;border-top:1px solid var(--line);padding-top:19px;margin:22px 0 0}.feedback{min-height:18px;font-size:12px;color:var(--muted);margin-top:14px}.feedback.error{color:#ff9da9}.feedback.ok{color:#4ee1b1}.portal{min-height:100vh;display:flex;flex-direction:column}.site-header{min-height:82px;position:sticky;top:0;z-index:10;background:#08111ceF;backdrop-filter:blur(16px);border-bottom:1px solid #23364c;display:flex;align-items:center;padding:12px clamp(15px,2vw,32px);gap:24px}.topnav{flex:1;display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.nav-link{background:transparent;border:0;color:#aebcd0;font-size:13px;font-weight:700;padding:12px 16px;border-radius:10px}.nav-link.is-active{background:#1c3549;color:#70ddf4}.nav-link:hover{background:#12283a;color:#d8f5fc}.header-right{display:flex;align-items:center;gap:13px}.sync-pill{color:#adccda;font-size:12px;white-space:nowrap}.sync-pill i{display:inline-block;width:8px;height:8px;background:#35d2a1;border-radius:50%;margin-right:7px;box-shadow:0 0 0 4px #163d34}.sync-pill.busy i{background:#f6c365;box-shadow:0 0 0 4px #45351d}.sync-pill.error i{background:#f86a80;box-shadow:0 0 0 4px #522332}.site-main{width:100%;max-width:1800px;margin:0 auto;flex:1;padding:28px clamp(18px,2vw,38px) 36px}.page{animation:fadeIn .13s ease}@keyframes fadeIn{from{opacity:.65}to{opacity:1}}.greeting,.page-title{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;margin-bottom:22px}.greeting h1,.page-title h1{font-size:clamp(29px,3vw,41px);letter-spacing:-1.4px;margin:5px 0}.greeting p,.page-title p{margin:0;color:#93aec7;font-size:13px}.user-chip{display:flex;align-items:center;gap:12px;padding:13px 20px;background:#111d2d;border:1px solid var(--line);border-radius:17px;min-width:280px}.user-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e82c4d;font-size:16px;font-weight:800}.user-chip strong,.user-chip small{display:block}.user-chip small{color:#9cc3db;font-size:11px;overflow-wrap:anywhere}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.stat-card{min-width:0;border:1px solid var(--line);background:#101e30;border-radius:17px;min-height:136px;padding:22px 19px;display:flex;align-items:center;gap:17px}.stat-card>div:last-child{min-width:0}.stat-icon{width:55px;height:55px;flex:0 0 55px;border-radius:14px;display:grid;place-items:center;font-size:28px;font-weight:700}.stat-icon.blue{color:#7fdbff;background:#15405f}.stat-icon.green{color:#61efbf;background:#164b40}.stat-icon.amber{color:#ffd381;background:#5b421a}.stat-icon.purple{color:#d6c6ff;background:#48315a}.stat-card span{font-size:10px;color:#a9d0e8;letter-spacing:1px;font-weight:800;display:block}.stat-card strong{font-size:30px;line-height:1.25;display:block;margin:4px 0;letter-spacing:-1px}.stat-card strong.smaller{font-size:19px;letter-spacing:0}.stat-card small{font-size:11px;color:#91b5ca}.dashboard-grid{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,2.25fr);gap:16px}.panel{padding:20px}.panel h3{font-size:21px;letter-spacing:-.5px;margin:6px 0 16px}.shortcut-panel{display:flex;flex-direction:column}.shortcut{width:100%;display:flex;align-items:center;text-align:left;gap:13px;border:1px solid var(--line);border-radius:11px;padding:13px;margin:4px 0;background:#0d1b2a;color:var(--ink);font-size:13px;font-weight:700}.sc-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#173449;color:#70ddf4;font-size:16px}.shortcut .next{margin-left:auto;font-size:25px;font-weight:400;color:#73cdec}.pilot-msg{margin-top:18px;padding:14px 15px;border-radius:12px;background:#111a2c;border:1px solid #2c3e59;color:#b9cce0}.pilot-msg p{margin:5px 0 0;color:#8ba8c5;font-size:11px;line-height:1.55}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.summary-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.summary-cols>div{background:#0b1928;border-radius:14px;border:1px solid var(--line);padding:16px}.summary-cols h4{font-size:14px;color:#72dcf5;margin:0 0 13px}.summary-lines{min-height:232px}.summary-line{border-bottom:1px solid #283e55;padding:11px 2px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px}.summary-line:last-child{border:0}.summary-line span:last-child{color:#8eb6d1;text-align:right}.empty{padding:22px;color:#94adc2;font-size:12px}.note-alert{margin-top:16px;display:flex;gap:10px;align-items:flex-start;padding:17px 19px}.dot{display:inline-block;width:9px;height:9px;flex:0 0 9px;border-radius:50%;margin-top:5px}.dot.cyan{background:var(--cyan)}.note-alert p{margin:2px 0 0;color:var(--muted);font-size:12px}.page-title{padding:8px 0 4px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:15px}.toolbar>input{flex:1}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{border:1px solid var(--line);background:#111e2d;color:#a9bfda;border-radius:10px;font-weight:700;padding:12px 14px;white-space:nowrap}.filter.is-active{border-color:#367e97;background:#18384a;color:#68e0f8}.note-page-grid{display:grid;grid-template-columns:minmax(260px,.88fr) minmax(0,1.62fr);gap:16px}.note-list-pane{min-height:440px}.notes-list{display:grid;gap:9px;margin-top:16px}.note-list-btn{background:#0d1a2a;border:1px solid var(--line);border-radius:12px;padding:13px 15px;display:block;text-align:left;width:100%;color:white}.note-list-btn.is-active{background:#172f43;border-color:#4e9bc0}.note-list-btn strong{display:block;font-size:13px}.note-list-btn small{color:#91b7d0;display:block;margin-top:4px}.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.editor-pane textarea{min-height:240px}.empty-editor{padding:100px 10px;text-align:center;color:#86a2bc}.edit-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}.star-toggle{display:flex;align-items:center;gap:8px;margin:0;color:#ffd071}.star-toggle input{accent-color:#e0a52a}.save-help{color:#94adc5;font-size:11px}.two-col{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:15px}.form-stack{max-width:650px}.form-stack>.btn{margin-top:19px}.saved-shifts{display:grid;gap:10px}.shift-row{padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--line);border-radius:10px;background:#0d1a29}.shift-row-main{display:flex;flex-direction:column;gap:2px}.shift-row-main small{color:#91aec7}.shift-buttons{display:flex;gap:7px}.shift-buttons button{border:1px solid #4a3650;background:#3a1c2b;color:#ffacba;border-radius:8px;padding:7px 10px}.site-footer{margin:0 24px;padding:13px 4px 17px;border-top:1px solid #2a4159;display:flex;justify-content:space-between;align-items:center;gap:18px;color:#829fb7;font-size:11px}.site-footer div{display:flex;flex-direction:column}.site-footer b{color:#dfe9f5;font-size:12px}.site-footer small{font-size:10px}.toast{position:fixed;bottom:25px;right:22px;z-index:30;border:1px solid #315a70;border-radius:12px;background:#163549;color:#c9edfa;padding:12px 18px;box-shadow:0 10px 40px #0007;max-width:480px}.toast.error{background:#461e2b;border-color:#883c56;color:#ffd6dc}@media(max-width:1100px){.stat-card{padding:17px 12px;gap:10px}.stat-icon{width:43px;height:43px;flex-basis:43px;font-size:22px}.site-header{gap:14px}.nav-link{padding:9px 10px}.dashboard-grid{grid-template-columns:1fr 2fr}}@media(max-width:820px){.auth-layout{grid-template-columns:1fr;padding:28px 18px;gap:27px}.auth-brand h1{font-size:35px}.auth-brand p{margin-bottom:18px}.auth-card{max-width:700px;width:100%;margin:0 auto}.site-header{position:static;flex-wrap:wrap}.topnav{order:3;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;width:100%}.header-right{margin-left:auto}.site-main{padding:19px 13px 24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.note-page-grid,.two-col{grid-template-columns:1fr}.summary-cols{grid-template-columns:1fr 1fr}.note-alert{margin-top:12px}}@media(max-width:550px){.brand-sm{font-size:18px}.brand-sm .brand-24{width:35px;height:35px;font-size:19px}.greeting{align-items:stretch}.user-chip{min-width:0;width:100%}.stats{gap:9px}.stat-card{min-height:100px;padding:12px 10px}.stat-card strong{font-size:25px}.stat-card strong.smaller{font-size:15px}.stat-icon{display:none}.summary-cols{grid-template-columns:1fr}.summary-lines{min-height:0}.toolbar{flex-direction:column;align-items:stretch}.filters{width:100%;overflow-x:auto;flex-wrap:nowrap}.site-footer{margin:0 14px;flex-wrap:wrap}.site-footer>span{font-size:10px}.site-header .header-right .sync-pill{font-size:0}.site-header .header-right .sync-pill i{margin:0}.site-main{padding-left:10px;padding-right:10px}.panel{padding:16px}}
