:root{--ink:#182334;--muted:#64748b;--line:#e2e8f0;--bg:#f4f6fa;--nav:#172334;--accent:#e1b757;--primary:#1e4169;--green:#e6f6ed;--red:#fbe9e8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:#265985;text-decoration:none;font-weight:650}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:clamp(26px,3vw,34px);letter-spacing:-.7px;line-height:1.2;margin:0 0 8px}h2{font-size:19px;letter-spacing:-.2px}h3{font-size:14px;margin:12px 0 8px}small{display:block;font-size:12px;color:var(--muted);font-weight:450}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#657589}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}aside{background:var(--nav);color:#f1f5f9;padding:25px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 4px 27px}.brandmark{display:grid;place-items:center;border-radius:12px;background:var(--accent);color:#172334;width:43px;height:43px;font-size:24px;font-weight:900;flex-shrink:0}.brand small,.profile small{color:#a9b6c8}.brand strong{font-size:14px}.profile{margin-top:auto;border-top:1px solid #354355;padding:18px 5px 0}.profile form{margin-top:12px}nav{display:grid;gap:5px}nav a{display:flex;align-items:center;justify-content:space-between;color:#bdc8d8;padding:11px 13px;border-radius:8px;font-weight:550;font-size:14px}nav a.active{background:#34445a;color:#fff;box-shadow:inset 3px 0 var(--accent)}nav a:hover{background:#26364b;text-decoration:none}.navcount{background:#e1b757;color:#172334;border-radius:20px;padding:0 7px;font-size:11px}.workspace{padding:28px clamp(16px,3vw,42px);max-width:1500px;width:100%;margin:auto;align-self:start}.top,.sectionhead,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.top{margin-bottom:30px}.topdate{font-size:12px;margin-top:3px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.stat,section{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 5px #15294204}.stat{padding:20px}.stat small{font-size:13px}.stat strong{display:block;font-size:32px;line-height:1.2;margin-top:6px;font-variant-numeric:tabular-nums}section{padding:20px;margin:18px 0}.sectionhead{margin-bottom:15px}.button,button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid transparent;border-radius:8px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none;white-space:nowrap}.primary{background:var(--primary);color:#fff}.secondary{background:#fff;color:#334155;border-color:#d6deea}.danger{background:#fff;color:#a82d2d;border-color:#eababa}.button:hover,button:hover{filter:brightness(.96);text-decoration:none}.full{width:100%}label{display:block;font-size:13px;font-weight:650;margin:0 0 12px}input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid #cbd5e1;border-radius:7px;padding:10px 11px;background:white;color:var(--ink);font:inherit;font-size:14px;margin-top:5px;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #9ebddc;outline-offset:1px}textarea{resize:vertical}.fields,.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}.wide{grid-column:1/-1}.days{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px}.days span{display:flex;align-items:center;gap:5px;background:#f5f7fa;border:1px solid var(--line);border-radius:6px;padding:7px 10px}.days input{accent-color:var(--primary)}.actions{justify-content:flex-start;margin-top:14px}.filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:18px}.filters label{flex:1 1 130px;margin:0}.filters button,.filters .button{margin-bottom:0}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap;text-align:left}th{background:#f1f4f8;color:#536378;font-size:11px;text-transform:uppercase;letter-spacing:.5px}th,td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:middle}td small{margin-top:3px}tr:last-child td{border-bottom:0}.tag{display:inline-block;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:750;background:#edf1f5;color:#475569;white-space:nowrap}.running,.accepted,.active,.converted,.completed{background:#e3f5e9;color:#1e7446}nav a.active{color:white}.scheduled{background:#e5effb;color:#23578f}.pending,.discussing,.on-hold{background:#fff1d5;color:#8b5d0d}.cancelled,.declined,.disabled{background:#fce9e8;color:#a43232}.empty{text-align:center;padding:25px;color:var(--muted);background:#f8fafc;border-radius:8px}.requestline{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.requestline:last-child{border:0}.requestline>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.details{gap:15px;margin:12px 0}.details>div{background:#f7f9fc;border-radius:8px;padding:12px}.details strong{display:block;margin-top:3px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 14px}.notice{padding:12px 14px;border-radius:8px;margin:0 0 15px;background:#e7f5ed;color:#1e7145}.notice.error{background:#fce8e7;color:#9b2929}.timeline{margin:18px 0}.bar{height:26px;background:#d9f0e2;border-radius:5px;position:relative;overflow:hidden}.busyblock{position:absolute;background:#c96962;height:100%;border-right:1px solid white}.axis,.legend{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:5px}.legend{justify-content:flex-start;align-items:center;gap:8px}.dot{width:12px;height:12px;border-radius:3px;background:#d9f0e2;display:inline-block}.dot.busy{background:#c96962;margin-left:12px}.slotgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.slot{border:1px solid var(--line);border-radius:7px;margin-bottom:8px;padding:10px;font-size:13px}.slot a{display:block;font-size:12px;margin-top:5px}.freecell{border-left:4px solid #49a571}.busycell{border-left:4px solid #c96962}.messages{display:flex;flex-direction:column;gap:9px;margin:18px 0}.message{max-width:85%;align-self:flex-start;background:#f0f3f7;padding:10px 14px;border-radius:9px}.message.mine{align-self:flex-end;background:#e6eef8}.message p{margin:3px 0}.login{max-width:435px;margin:7vh auto;background:white;padding:34px;border-radius:16px;border:1px solid var(--line);box-shadow:0 10px 45px #14233b0c}.login .brandmark{margin-bottom:22px}.login h1{margin-top:8px}.login form{margin-top:23px}.footnote,footer{font-size:12px;color:var(--muted);margin-top:20px}footer{padding:10px 0} @media(max-width:800px){.shell{display:block}aside{position:static;height:auto;padding:14px;gap:10px}.brand{padding:0}nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:3px}nav a{white-space:nowrap;padding:8px 10px}.profile{margin:0;display:flex;align-items:center;gap:8px;padding:8px 0 0}.profile form{margin:0 0 0 auto}.workspace{padding:18px 14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.top{margin-bottom:20px}section{padding:14px}.login{margin:20px 12px;padding:24px;max-width: none}}@media(max-width:480px){.fields,.details,.slotgrid{grid-template-columns:1fr}.stat{padding:13px}.stat strong{font-size:26px}.requestline{flex-wrap:wrap}.top .button{font-size:12px}.sectionhead h1{font-size:26px}.message{max-width:95%}}
.alertbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px}.alertbar small{color:#64748b}.alertbar #alert-count{background:#e5eaf1;border-radius:20px;padding:2px 8px;color:#1e293b}.alert-toast{background:#fff;color:#152238;border:1px solid #cad5e4;border-left:5px solid #b88b35;box-shadow:0 8px 30px #0002;padding:15px;border-radius:10px;margin-bottom:9px;overflow-wrap:anywhere}.alert-toast p{margin:8px 0}.alert-toast .actions{margin:0}#toast-area{position:fixed;z-index:1000;right:16px;bottom:16px;width:min(390px,calc(100vw - 32px));max-height:80vh;overflow:auto}.weekgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.weekgrid section{min-width:0;padding:14px}.weekclass{display:block;background:#edf3fa;border-radius:6px;padding:10px;margin:8px 0;overflow-wrap:anywhere}.weekclass small{display:block;color:#475569}.actions label input[type=checkbox]{width:auto;display:inline-block}.actions label{display:inline-flex;gap:6px;align-items:center}
