:root{--blue:#1745c7;--navy:#10254d;--ink:#172b4b;--muted:#62738b;--line:#dce4f0;--bg:#f4f7fc;--green:#167657}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #86acff;outline-offset:3px}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;padding:34px 22px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:12px;align-items:center;font-size:23px;font-weight:750;letter-spacing:-.6px}.brandmark{background:var(--blue);color:white;border-radius:12px;width:42px;height:46px;display:grid;place-items:center;font-weight:800;font-size:30px;transform:skew(-5deg)}.brand-sub{display:block;font-size:10px;letter-spacing:1.9px;color:var(--muted);margin-top:1px}nav{margin-top:54px;display:grid;gap:9px}nav a{padding:13px 15px;display:flex;align-items:center;gap:13px;font-size:15px;font-weight:600;color:#596b84;border-radius:9px}nav a.active{color:var(--blue);background:#edf2ff}nav a:hover{background:#f0f4fc}.icon{width:21px;height:21px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.profile{margin-top:auto;padding:24px 0 14px;display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);font-size:14px}.profile span{display:block;color:var(--muted);font-size:13px}.avatar,.mini-avatar{border-radius:50%;background:#e9efff;color:var(--blue);display:grid;place-items:center;font-weight:bold}.avatar{width:38px;height:38px}.mini-avatar{width:34px;height:34px;font-size:12px}.profile-control{font-size:12px;color:var(--muted)}.profile-control select{margin-top:6px;width:100%;padding:8px;font-size:14px}.side-note{font-size:12px;color:#8593a9;margin-top:22px}.shell{margin-left:244px}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;padding:0 42px;display:flex;align-items:center;gap:18px;font-size:14px;color:var(--muted)}.topdate{margin-left:auto}.mobile-brand{display:none}.demo{padding:10px 42px;font-size:12px;color:#66758a;background:#edf2fa;border-bottom:1px solid var(--line)}.demo span{font-size:10px;letter-spacing:1px;font-weight:bold;margin-right:10px;color:var(--blue)}main{max-width:1320px;margin:auto;padding:36px 42px 54px}h1{font-size:34px;line-height:1.2;letter-spacing:-1px;margin:7px 0 10px;font-weight:750}h2{font-size:21px;letter-spacing:-.4px;margin:0}h3{font-size:17px;margin:0}p{margin:0 0 14px}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:1.5px;color:var(--blue);font-weight:700;text-transform:uppercase}.pagehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:16px}.pagehead p{font-size:15px;color:var(--muted);margin:0}.btn{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:12px 18px;display:inline-flex;gap:9px;align-items:center;justify-content:center;font-weight:600;font-size:14px;min-height:44px}.btn.primary{background:var(--blue);border-color:var(--blue);color:white}.btn:hover{filter:brightness(.97)}.btn:disabled{opacity:.5;cursor:default}.btn.text{border:0;background:transparent;color:var(--blue);padding:6px 0}.quote{background:var(--navy);color:white;border-radius:15px;padding:27px 31px;position:relative;overflow:hidden;margin-bottom:27px}.quote:after{content:'“';position:absolute;right:24px;top:-49px;font-family:Georgia,serif;font-size:220px;opacity:.08}.quote .eyebrow{color:#95b8ff;font-size:11px}.quote blockquote{margin:13px 0 9px;font-size:23px;line-height:1.45;max-width:780px;letter-spacing:-.4px}.quote small{color:#a8b9d5;font-size:12px}.homegrid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:25px}.cardhead{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:21px}.count{color:var(--blue);background:#edf2ff;padding:4px 9px;border-radius:5px;font-size:12px;font-weight:650}.personrow{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #eef2f7;gap:12px}.personrow:last-child{border:0}.person-name{font-size:15px;font-weight:600}.personrow small{font-size:12px;color:var(--muted)}.tag{font-size:12px;padding:5px 9px;border-radius:5px;background:#edf2ff;color:#2652b3;white-space:nowrap}.tag.green{background:#e8f5ee;color:var(--green)}.tag.gray{background:#f0f2f6;color:var(--muted)}.quick{display:block;padding:17px 0;border-top:1px solid #edf1f6}.quick:first-of-type{border-top:0}.quick strong{display:flex;gap:12px;align-items:center}.quick p{margin:8px 0 0 33px;font-size:14px;color:var(--muted)}.statrow{display:flex;gap:24px;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.statrow b{font-size:27px;display:block}.statrow span{font-size:12px;color:var(--muted)}footer{padding:0 42px 26px;font-size:12px;color:#8b99ad}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.form-card{margin-bottom:20px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}label.field{display:block;font-size:14px;font-weight:600}.field input,.field textarea,.field select{display:block;margin-top:7px;width:100%;border:1px solid #d4deeb;background:white;border-radius:7px;padding:11px 12px;color:var(--ink);font-size:16px}.field textarea{resize:vertical;min-height:130px}.wide{grid-column:1/-1}.sectionnumber{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:6px;background:#edf2ff;color:var(--blue);font-size:13px;margin-right:9px}.criterion{padding:19px 0;border-top:1px solid #edf1f6}.criterion:first-of-type{margin-top:21px}.criterion label{display:block;font-size:15px;font-weight:600;margin-bottom:11px}.answers{display:flex;gap:8px}.answer{border:1px solid #dce4ef;border-radius:7px;background:#fff;padding:9px 15px;font-size:14px;min-height:42px}.answer.yes.selected{background:#e8f5ee;border-color:#54a287;color:#116b4d}.answer.no.selected{background:#fff0ed;border-color:#df8d80;color:#a1392c}.answer.na.selected{background:#eef2f8;border-color:#97a9c4;color:#405571}.code-details{background:#f6f8fc;border-radius:8px;padding:15px;margin-top:14px}.code-details p{font-size:14px;font-weight:600}.check{display:flex;gap:10px;align-items:center;margin:10px 0;font-size:14px}.check input{width:18px;height:18px;accent-color:var(--blue)}.progress-track{height:5px;background:#e9eef7;border-radius:9px;margin:15px 0 8px;overflow:hidden}.progress-track div{height:100%;background:var(--blue);transition:width .2s}.summary{position:sticky;top:24px}.summary p{font-size:14px;color:var(--muted);margin-top:12px}.summary .btn{width:100%;margin-top:12px}.saved{font-size:12px;color:var(--muted);margin:10px 0}.tabs{display:inline-flex;background:#e8eef9;padding:4px;border-radius:8px;margin-bottom:22px;gap:4px}.tabs button{background:transparent;border:0;padding:9px 18px;color:#60738f;border-radius:6px;font-size:14px;font-weight:600}.tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 5px #193e7010}.cal-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.week-buttons{display:flex;gap:8px;align-items:center}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;padding:14px 11px;background:#f6f8fc;white-space:nowrap}td{padding:13px 11px;border-bottom:1px solid #edf1f7}td:first-child{font-weight:600}th small{display:block;font-size:12px;font-weight:400;margin-top:3px}.today-col{background:#f2f6ff}.legend{display:flex;gap:15px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:18px}.legend b{color:var(--ink);margin-right:5px}.filter{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.filter input,.filter select{padding:11px 13px;border:1px solid var(--line);border-radius:8px;background:white;font-size:14px}.filter input{flex:1;min-width:200px}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty .icon{width:35px;height:35px;color:#a0b4d1;margin-bottom:10px}.toolsgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tool-icon{background:#edf2ff;color:var(--blue);display:grid;place-items:center;width:45px;height:45px;border-radius:10px;margin-bottom:18px}.toolsgrid .card p{font-size:14px;color:var(--muted);margin-top:10px}.tool-list{padding-top:12px;display:grid;gap:11px;font-size:14px}.placeholder{padding:11px 0;border-top:1px solid #edf1f6;color:#6f7e95;display:flex;justify-content:space-between;font-size:14px}.placeholder small{font-size:12px}.contact{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef1f7;font-size:14px}.contact span{color:var(--blue);white-space:nowrap}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:90vw;background:#10254d;color:#fff;border-radius:9px;padding:14px 23px;z-index:20;font-size:14px;box-shadow:0 6px 30px #10254d33;display:none}dialog{border:0;border-radius:15px;padding:30px;width:min(740px,94vw);max-height:88vh;color:var(--ink);box-shadow:0 20px 100px #10254d33}dialog::backdrop{background:#10254d77}.reporttop{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.report-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:20px}.report-meta span{font-size:12px;color:var(--muted);display:block}.report-answer{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #eef2f7;font-size:14px}.report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.notice{font-size:13px;color:var(--muted);margin:12px 0 20px}.mobile-role{display:none}
@media(min-width:1500px){main{padding-top:45px}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 15px}.shell{margin-left:210px}main{padding:30px 25px}.topbar,.demo{padding-left:25px;padding-right:25px}.form-layout{grid-template-columns:1fr}.summary{position:static}.summary .btn{width:auto;margin-right:8px}.homegrid{grid-template-columns:1fr 1fr}h1{font-size:30px}}
@media(max-width:760px){.sidebar{position:fixed;inset:auto 0 0;width:100%;height:73px;padding:0;background:white;border-top:1px solid var(--line);border-right:0}.brand,.profile,.profile-control,.side-note{display:none}nav{margin:0;display:flex;justify-content:space-around;gap:0;height:100%}nav a{flex:1;padding:10px 2px 8px;flex-direction:column;gap:5px;font-size:10px;border-radius:0;justify-content:center}nav a .icon{width:22px;height:22px}.shell{margin-left:0;padding-bottom:76px}.topbar{height:64px;padding:0 19px}.mobile-brand{display:block;color:var(--ink);font-size:19px;font-weight:700}.mobile-brand b{display:inline-grid;place-items:center;border-radius:6px;width:27px;height:30px;margin-right:6px;background:var(--blue);color:white}#breadcrumb{display:none}.topdate{font-size:11px}.mini-avatar{display:none}.demo{padding:9px 19px;font-size:11px;line-height:1.5}main{padding:24px 18px 32px}.pagehead{align-items:flex-start;flex-wrap:wrap;margin-bottom:23px}h1{font-size:29px}.pagehead p{font-size:14px}.pagehead .btn{width:100%}.quote{padding:23px 22px}.quote blockquote{font-size:20px}.homegrid,.toolsgrid{grid-template-columns:1fr}.card{padding:21px}.fields{gap:15px}.fields .field{grid-column:1/-1}.form-card{padding:21px}.answers{gap:7px}.answer{padding:9px 12px;font-size:13px;flex:1}.criterion label{font-size:15px}.cal-controls{flex-wrap:wrap}.cal-controls h2{font-size:18px}.table-scroll{margin-left:-8px;margin-right:-8px}table{min-width:550px}.report-meta{grid-template-columns:1fr 1fr}.report-actions .btn{width:100%}.mobile-role{display:block;margin-top:20px;font-size:13px;color:var(--muted)}.mobile-role select{padding:8px;margin-left:8px;border:1px solid var(--line);border-radius:7px;background:white}footer{padding:0 18px 22px}#toast{bottom:90px;width:max-content}.summary .btn{width:100%}.filter input{min-width:100%}.quote small{font-size:11px}}

.location-group{margin:18px 0 22px}.location-group h3{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px;color:var(--blue);font-size:15px}.location-group .personrow{padding:10px 0}.location-empty{font-size:13px;color:var(--muted);padding:11px 0;margin:0}.exchange-demo{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:24px;background:#edf2ff}.exchange-demo p{font-size:14px;margin:8px 0 0;max-width:570px}.exchange-demo .field{min-width:180px}.current-assignment{padding:14px;background:#f3f6fc;border-radius:8px;font-size:14px}.current-assignment strong{display:block;margin-top:5px}.exchange-request{border-top:1px solid var(--line);padding:20px 0}.exchange-request:first-child{border:0;padding-top:0}.exchange-request p{font-size:14px}.exchange-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;background:#f5f7fb;border-radius:8px;font-size:13px}.exchange-pair span{display:block;color:var(--muted);margin-bottom:4px}.exchange-pair strong{font-weight:600}.exchange-message{white-space:pre-wrap;margin-top:12px}.exchange-request .report-actions{margin-top:15px}@media(max-width:760px){.exchange-demo{display:block}.exchange-demo .field{margin-top:16px}.tabs{display:flex;width:100%;gap:2px}.tabs button{font-size:12px;padding:9px 8px;flex:1}.exchange-pair{grid-template-columns:1fr}.exchange-demo select{width:100%}}

.exchange-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;align-items:start}.calendar-panel{padding:20px;position:sticky;top:20px}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.calendar-heading h2{font-size:18px;text-transform:capitalize}.calendar-heading .btn{padding:6px 10px;min-height:34px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.weekday{font-size:11px;text-align:center;color:var(--muted);padding:0 0 8px}.calendar-day{border:1px solid transparent;background:#f4f7fc;border-radius:6px;min-height:53px;padding:5px 1px;color:var(--ink);text-align:center}.calendar-day b{display:block;font-size:14px;font-weight:600}.calendar-day small{display:block;font-size:8px;color:var(--muted);white-space:nowrap}.calendar-day.selected{background:var(--blue);color:white}.calendar-day.selected small{color:#dbe5ff}.calendar-day.today{border-color:var(--blue)}.calendar-day:disabled{cursor:default;opacity:.4}.calendar-day.outside{background:transparent}.own-slots{display:grid;gap:8px;margin-top:15px;font-size:13px}.own-slots div{background:#f3f6fc;border-radius:7px;padding:11px}.own-slots span{display:block;color:var(--blue);font-size:11px;font-weight:700;margin-bottom:4px}.own-slots strong{font-size:13px;font-weight:600}.period-selector{display:flex;padding:4px;gap:4px;background:#edf2fa;border-radius:8px;margin:20px 0 24px}.period-selector button{border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:13px;padding:10px 12px;flex:1;font-weight:600;min-height:42px}.period-selector .active{background:var(--blue);color:white}.office-location{font-size:13px;letter-spacing:.6px;color:var(--muted);text-transform:uppercase;margin:23px 0 12px}.offices-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.office-card{border:1px solid var(--line);border-radius:9px;padding:14px}.office-head{display:flex;justify-content:space-between;align-items:flex-start;gap:7px}.office-head h3{font-size:14px}.office-head .tag{font-size:10px;padding:3px 6px}.office-free{background:#f6fbf8;border-color:#d1e9dc}.office-mine{border-color:#9fb9f8;background:#f7f9ff}.occupancy{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:15px 0 12px}.occupancy div{padding:7px;border-radius:5px;background:#f5f7fa;color:#8692a5}.occupancy .chosen-part{background:#edf2fc;color:var(--ink)}.occupancy span{display:block;font-size:10px;font-weight:700;color:var(--muted)}.occupancy strong{font-size:13px;font-weight:600;display:block;margin-top:3px}.office-card .btn{font-size:12px;padding:8px 9px;min-height:36px;width:100%}.office-note{font-size:11px;color:var(--muted);margin:0;min-height:36px}.exchange-history{margin-top:24px}.split-assignment{display:grid;gap:6px;font-size:11px}.split-assignment .tag{font-size:11px;margin-left:3px}@media(max-width:1200px){.exchange-layout{grid-template-columns:280px minmax(0,1fr)}.offices-grid{grid-template-columns:1fr}}@media(max-width:960px){.exchange-layout{grid-template-columns:1fr}.calendar-panel{position:static}.calendar-day{min-height:60px}.calendar-day small{font-size:10px}.offices-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.offices-grid{grid-template-columns:1fr}.period-selector button{font-size:12px;padding:9px 5px}.calendar-day small{font-size:9px}.calendar-panel{padding:18px}.exchange-pair{grid-template-columns:1fr}}

.calendar-day small{font-size:12px}.weekday{font-size:12px}.office-note{font-size:12px}.office-head .tag{font-size:12px}.occupancy span{font-size:12px}.own-slots span{font-size:12px}

.follow-type{margin-top:22px}.follow-type>label{font-size:14px;font-weight:600;display:block;margin-bottom:9px}.follow-choices{display:flex;gap:9px}.follow-choices button{flex:1;min-height:44px;padding:10px 12px;background:white;border:1px solid var(--line);border-radius:7px;font-size:14px;color:var(--ink);font-weight:600}.follow-choices button.selected{background:var(--blue);border-color:var(--blue);color:white}.matricule-link{background:none;border:0;color:var(--blue);padding:5px 0;font-weight:700;text-decoration:underline;text-underline-offset:3px}.selection-hint{font-size:14px;color:var(--muted);margin:12px 0 24px}.office-selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.occupancy button.occupancy-slot{padding:10px 7px;border:1px solid var(--line);border-radius:7px;background:#f4f7fc;color:var(--ink);text-align:left;min-height:64px}.occupancy button.occupancy-slot.selected{background:var(--blue);color:white;border-color:var(--blue)}.occupancy button.occupancy-slot.selected span{color:#d6e3ff}.occupancy button.occupancy-slot:disabled{cursor:default;opacity:.6}.occupancy button.occupancy-slot:hover:not(:disabled):not(.selected){background:#e7efff;border-color:#9ab7f9}.occupancy button.occupancy-slot span{font-size:12px}.occupancy button.occupancy-slot strong{font-size:14px}

.follow-counters{display:flex;gap:12px;margin:0 0 24px;max-width:620px}.follow-counter{display:flex;justify-content:space-between;align-items:center;gap:18px;flex:1;background:white;border:1px solid var(--line);border-radius:9px;padding:12px 17px}.follow-counter span{font-size:14px;color:var(--muted);font-weight:600}.follow-counter strong{font-size:25px;font-weight:750;color:var(--blue);line-height:1.2}@media(max-width:520px){.follow-counters{gap:8px}.follow-counter{padding:11px 9px;gap:8px;flex-direction:column;align-items:flex-start}.follow-counter span{font-size:12px}.follow-counter strong{font-size:23px}}

.tag.loc-M1,.tag.loc-M2{background:#e1f3e7;color:#166744}.tag.loc-R{background:#eee3fc;color:#713ca1}.tag.loc-CV{background:#fff1b9;color:#72520a}.theme-toggle{border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--ink);padding:7px 12px;font-size:13px;font-weight:600;min-height:36px;cursor:pointer}.mobile-brand em{font-style:normal;color:var(--blue);font-size:12px;letter-spacing:1px;margin-left:3px}.brand-sub{font-size:12px;letter-spacing:3px;color:var(--blue);font-weight:750}
:root:is([data-theme="dark"],[data-theme="gold"]){color-scheme:dark;--blue:#92b1ff;--navy:#152844;--ink:#e5edfa;--muted:#a1b0c7;--line:#2b3950;--bg:#0d1626;--green:#8ed9b5}
:is([data-theme="dark"],[data-theme="gold"]) .sidebar,:is([data-theme="dark"],[data-theme="gold"]) .topbar,:is([data-theme="dark"],[data-theme="gold"]) .card,:is([data-theme="dark"],[data-theme="gold"]) .follow-counter,:is([data-theme="dark"],[data-theme="gold"]) dialog{background:#162236}
:is([data-theme="dark"],[data-theme="gold"]) .brandmark,:is([data-theme="dark"],[data-theme="gold"]) .mobile-brand b{background:#416ae1;color:white}
:is([data-theme="dark"],[data-theme="gold"]) nav a{color:#b2c0d5}:is([data-theme="dark"],[data-theme="gold"]) nav a:hover{background:#202e47}:is([data-theme="dark"],[data-theme="gold"]) nav a.active{color:#b0c7ff;background:#253754}
:is([data-theme="dark"],[data-theme="gold"]) .avatar,:is([data-theme="dark"],[data-theme="gold"]) .mini-avatar,:is([data-theme="dark"],[data-theme="gold"]) .count,:is([data-theme="dark"],[data-theme="gold"]) .sectionnumber,:is([data-theme="dark"],[data-theme="gold"]) .tool-icon{background:#263954;color:#afc8ff}
:is([data-theme="dark"],[data-theme="gold"]) .demo{background:#111d30;color:#a4b3ca}:is([data-theme="dark"],[data-theme="gold"]) .quote{background:#172c4c;border:1px solid #2c4263}
:is([data-theme="dark"],[data-theme="gold"]) .btn{background:#1d2d44;color:var(--ink);border-color:#354761}:is([data-theme="dark"],[data-theme="gold"]) .btn.primary,:is([data-theme="dark"],[data-theme="gold"]) .follow-choices button.selected{background:#416ae1;color:white;border-color:#416ae1}
:is([data-theme="dark"],[data-theme="gold"]) .btn.text{background:transparent;color:#a7c1ff}:is([data-theme="dark"],[data-theme="gold"]) .btn:hover{filter:brightness(1.12)}
:is([data-theme="dark"],[data-theme="gold"]) .field input,:is([data-theme="dark"],[data-theme="gold"]) .field textarea,:is([data-theme="dark"],[data-theme="gold"]) .field select,:is([data-theme="dark"],[data-theme="gold"]) .filter input,:is([data-theme="dark"],[data-theme="gold"]) .filter select,:is([data-theme="dark"],[data-theme="gold"]) .profile-control select,:is([data-theme="dark"],[data-theme="gold"]) .mobile-role select{background:#101b2d;border-color:#35445d;color:var(--ink)}
:is([data-theme="dark"],[data-theme="gold"]) input::placeholder,:is([data-theme="dark"],[data-theme="gold"]) textarea::placeholder{color:#8596b0}
:is([data-theme="dark"],[data-theme="gold"]) .answer,:is([data-theme="dark"],[data-theme="gold"]) .follow-choices button{background:#1c2b41;color:#dce6f8;border-color:#354760}
:is([data-theme="dark"],[data-theme="gold"]) .answer.yes.selected{background:#173f32;border-color:#518a74;color:#a0e4c3}:is([data-theme="dark"],[data-theme="gold"]) .answer.no.selected{background:#4b282b;border-color:#bd7c7c;color:#ffc0b9}:is([data-theme="dark"],[data-theme="gold"]) .answer.na.selected{background:#2b3a52;border-color:#7186a6;color:#dce5f6}
:is([data-theme="dark"],[data-theme="gold"]) .code-details,:is([data-theme="dark"],[data-theme="gold"]) .tabs,:is([data-theme="dark"],[data-theme="gold"]) .progress-track{background:#101b2d}:is([data-theme="dark"],[data-theme="gold"]) .tabs button{color:#a6b6cf}:is([data-theme="dark"],[data-theme="gold"]) .tabs button.active{background:#2a3c5a;color:#c0d2ff}
:is([data-theme="dark"],[data-theme="gold"]) th{background:#101c2e;color:#abbad0}:is([data-theme="dark"],[data-theme="gold"]) td,:is([data-theme="dark"],[data-theme="gold"]) .personrow,:is([data-theme="dark"],[data-theme="gold"]) .quick,:is([data-theme="dark"],[data-theme="gold"]) .criterion,:is([data-theme="dark"],[data-theme="gold"]) .placeholder,:is([data-theme="dark"],[data-theme="gold"]) .contact,:is([data-theme="dark"],[data-theme="gold"]) .report-answer{border-color:#2a374c}
:is([data-theme="dark"],[data-theme="gold"]) .today-col{background:#20304a}:is([data-theme="dark"],[data-theme="gold"]) .tag{background:#263956;color:#b7ceff}:is([data-theme="dark"],[data-theme="gold"]) .tag.gray{background:#2a3548;color:#bac7da}
:is([data-theme="dark"],[data-theme="gold"]) .tag.loc-M1,:is([data-theme="dark"],[data-theme="gold"]) .tag.loc-M2{background:#184432;color:#a2eac4}:is([data-theme="dark"],[data-theme="gold"]) .tag.loc-R{background:#3d2854;color:#dcbbff}:is([data-theme="dark"],[data-theme="gold"]) .tag.loc-CV{background:#4d4019;color:#ffe28c}
:is([data-theme="dark"],[data-theme="gold"]) #toast{background:#d9e5ff;color:#142642}:is([data-theme="dark"],[data-theme="gold"]) footer,:is([data-theme="dark"],[data-theme="gold"]) .side-note{color:#91a2bc}:is([data-theme="dark"],[data-theme="gold"]) .report-meta{border-color:var(--line)}
@media(max-width:760px){.mobile-brand{font-size:16px}.topbar{gap:10px}.topdate{display:none}.theme-toggle{margin-left:auto}.mobile-brand b{font-size:18px}.sidebar{background:var(--bg)}}
.brandmark{transform:none}.brandmark svg{width:29px;height:29px;fill:none;stroke:white;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.mobile-brand b svg{width:21px;height:21px;fill:none;stroke:white;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* The report body scrolls independently; export controls stay visible. */
#reportdialog{padding:0;overflow:hidden;width:min(740px,calc(100vw - 32px));height:min(820px,calc(100vh - 40px));height:min(820px,calc(100dvh - 40px));max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto}
#reportcontent{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
#reportcontent .reporttop{flex:0 0 auto;gap:16px;margin:0;padding:20px 24px;border-bottom:1px solid var(--line)}
#reportcontent .reporttop>div{min-width:0}
#reportcontent .reporttop h2{overflow-wrap:anywhere}
#reportcontent .reporttop .btn{flex-shrink:0}
.report-body{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:22px 24px;overflow-wrap:anywhere}
.report-body .report-meta{border-top:0;padding-top:0}
.report-footer{flex:0 0 auto;padding:16px 24px 18px;border-top:1px solid var(--line);background:inherit}
.report-footer .report-actions{margin-top:0;display:flex;gap:10px}
.report-footer .notice{margin-top:10px;font-size:12px;line-height:1.4}
@media(max-width:760px){#reportdialog{width:calc(100vw - 20px);height:calc(100vh - 24px);height:calc(100dvh - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}#reportcontent .reporttop{padding:16px 18px}.report-body{padding:18px}.report-footer{padding:12px 18px max(14px,env(safe-area-inset-bottom))}.report-footer .report-actions{flex-direction:column;gap:8px}.report-footer .btn{padding:10px 14px;min-height:44px}.report-footer .notice{font-size:12px}}

.account-controls{display:grid;gap:8px}.locked nav,.locked .profile,.locked .account-controls,.locked .mini-avatar{display:none}.locked .sidebar .brand{margin-bottom:auto}.auth-card{max-width:480px;margin:25px auto;padding:32px}.auth-card .field{margin:20px 0}.auth-card .btn.primary{width:100%;margin-top:8px}.auth-card h1{font-size:28px}.auth-error{font-size:14px;color:#ca6c64;margin:14px 0 0}.mobile-account-actions{display:none}.pin-dialog{padding:28px;overflow:auto}.pin-dialog .auth-card{border:0;margin:0;padding:0;box-shadow:none}.temporary-pin{font-size:32px;letter-spacing:4px;font-weight:bold;margin:15px 0;color:var(--blue)}
:root[data-theme="gold"]{color-scheme:dark;--blue:#e3c777;--navy:#252116;--ink:#f4eddd;--muted:#b9af99;--line:#443d2f;--bg:#11110e;--green:#a2e5bd}
[data-theme="gold"] .sidebar,[data-theme="gold"] .topbar,[data-theme="gold"] .card,[data-theme="gold"] .follow-counter,[data-theme="gold"] dialog{background:#1d1c17}
[data-theme="gold"] .brandmark,[data-theme="gold"] .mobile-brand b,[data-theme="gold"] .btn.primary,[data-theme="gold"] .follow-choices button.selected{background:#dcc16f;border-color:#dcc16f;color:#17150f}
[data-theme="gold"] .brandmark svg,[data-theme="gold"] .mobile-brand b svg{stroke:#17150f}
[data-theme="gold"] nav a{color:#c1b8a4}[data-theme="gold"] nav a.active{background:#383121;color:#f0d68b}[data-theme="gold"] nav a:hover{background:#29251c}
[data-theme="gold"] .avatar,[data-theme="gold"] .mini-avatar,[data-theme="gold"] .count,[data-theme="gold"] .sectionnumber{background:#3b321f;color:#efd58d}
[data-theme="gold"] .demo{background:#15150f;color:#bdb298}[data-theme="gold"] .quote{background:#262217;border-color:#50442a}[data-theme="gold"] .quote .eyebrow{color:#e8cc80}[data-theme="gold"] .quote small{color:#bdb293}
[data-theme="gold"] .btn{background:#2a271e;border-color:#4b4230;color:#f4eddd}[data-theme="gold"] .btn.primary{background:#dcc16f;color:#17150f}[data-theme="gold"] .btn.text{background:transparent;color:#e3c777}
[data-theme="gold"] .field input,[data-theme="gold"] .field textarea,[data-theme="gold"] .field select,[data-theme="gold"] .filter input,[data-theme="gold"] .filter select{background:#12130f;border-color:#4b4434;color:#f4eddd}
[data-theme="gold"] .answer,[data-theme="gold"] .follow-choices button{background:#28271f;border-color:#4b4434;color:#e9e3d5}[data-theme="gold"] .follow-choices button.selected{background:#dcc16f;color:#17150f}
[data-theme="gold"] .code-details,[data-theme="gold"] .tabs,[data-theme="gold"] .progress-track,[data-theme="gold"] th{background:#151610}[data-theme="gold"] .tabs button{color:#bdb39d}[data-theme="gold"] .tabs button.active{background:#403722;color:#f3d995}
[data-theme="gold"] .today-col{background:#302b1e}[data-theme="gold"] td,[data-theme="gold"] .personrow,[data-theme="gold"] .quick,[data-theme="gold"] .criterion,[data-theme="gold"] .report-answer{border-color:#3b362b}
[data-theme="gold"] .tag.loc-L{background:#3c3421;color:#f1d992}[data-theme="gold"] footer,[data-theme="gold"] .side-note{color:#a89f8b}
@media(max-width:760px){.mobile-account-actions{display:flex;gap:10px;margin-top:24px}.mobile-account-actions .btn{flex:1;font-size:13px}.auth-card{margin-top:8px;padding:24px}.theme-toggle{max-width:90px}}

.team-summary{margin-bottom:24px}.team-summary .muted{margin:0 0 18px}.team-summary .number-cell{text-align:right;font-variant-numeric:tabular-nums}.team-summary tfoot th,.team-summary tfoot td{border-top:2px solid var(--line);padding-top:15px;font-weight:700}.team-summary th:first-child,.team-summary td:first-child{min-width:190px}

.btn.danger{color:#b42332;border-color:#e5a4ac;background:transparent}:is([data-theme="dark"],[data-theme="gold"]) .btn.danger{color:#ffabb3;border-color:#9a535b}.btn.danger:hover{background:#b4233214}

.date-sort{font:inherit;color:inherit;border:0;background:transparent;padding:6px 0;cursor:pointer;text-align:left;white-space:nowrap}.date-sort span{color:var(--blue);margin-left:5px}.date-sort:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:3px}

.office-release{margin-bottom:24px}.office-release .muted{margin-bottom:12px}.office-release-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.office-release-actions .released{color:#26764c;border-color:#75b191;background:#effaf2}.released-slots{display:flex;flex-direction:column;gap:5px;margin-top:9px}.office-slot{display:inline-block;padding:4px 8px;border:1px solid var(--line);border-radius:6px;font-size:12px;color:var(--muted);white-space:nowrap}.office-slot.free{color:#26764c;border-color:#75b191;background:#effaf2}:is([data-theme="dark"],[data-theme="gold"]) .office-slot.free,:is([data-theme="dark"],[data-theme="gold"]) .office-release-actions .released{color:#a2e3ba;background:#204334;border-color:#49785c}

.booking-name{display:block;color:var(--muted);font-size:12px;margin-top:5px}.office-slot.booked{color:var(--blue);background:transparent}.reserve-btn{display:block;margin-top:8px}.my-office-reservations{margin:18px 0 24px}.my-office-booking{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.my-office-booking small{display:block;color:var(--muted);margin-top:4px}@media(max-width:520px){.my-office-booking{align-items:flex-start;flex-direction:column}}

.office-date-nav{display:flex;align-items:center;gap:12px;margin:12px 0 18px;flex-wrap:wrap}.office-date-nav>div{min-width:210px;text-align:center}.office-date-nav strong{font-size:15px;text-transform:capitalize}.office-date-nav small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.office-date-nav .btn:first-child,.office-date-nav .btn:nth-of-type(2){font-size:24px;min-width:42px;padding:5px 12px}@media(max-width:520px){.office-date-nav{gap:7px}.office-date-nav>div{min-width:0;flex:1}.office-date-nav strong{font-size:13px}.office-date-nav .btn.text{flex-basis:100%}}

.office-slot.booked{color:#a81f35;background:#fff0f2;border-color:#dc7b8d}.booked-name,.calendar-red-label{color:#a81f35}:is([data-theme="dark"],[data-theme="gold"]) .office-slot.booked{color:#ffb9c4;background:#4a2330;border-color:#a6556a}:is([data-theme="dark"],[data-theme="gold"]) .booked-name,:is([data-theme="dark"],[data-theme="gold"]) .calendar-red-label{color:#ffb9c4}

.presence-slot{display:block;margin:3px 0}.presence-reserved{color:#a81f35;background:#fff0f2;border:1px solid #dc7b8d;border-radius:5px;padding:4px 6px}:is([data-theme="dark"],[data-theme="gold"]) .presence-reserved{color:#ffb9c4;background:#4a2330;border-color:#a6556a}

.office-management{margin-bottom:24px}.office-management-section{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.office-management-section>h3{margin-bottom:15px}.my-location p{margin-top:12px}.stats-year{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.stats-year select{padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--card);color:var(--ink)}.office-reserved{color:#a81f35!important;background:#fff0f2!important}:is([data-theme="dark"],[data-theme="gold"]) .office-reserved{color:#ffb9c4!important;background:#4a2330!important}

.driver-legend{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.driver-tag{display:inline-block;padding:6px 9px;border-radius:6px;font-size:12px;white-space:nowrap}.driver-tag.recent{color:#21623b;background:#e4f7e9}.driver-tag.overdue{color:#79550b;background:#fff3c4}.driver-tag.never{color:#a81f35;background:#ffe5eb}:is([data-theme="dark"],[data-theme="gold"]) .driver-tag.recent{color:#a4e6bc;background:#203e2c}:is([data-theme="dark"],[data-theme="gold"]) .driver-tag.overdue{color:#ffe59a;background:#494020}:is([data-theme="dark"],[data-theme="gold"]) .driver-tag.never{color:#ffb9c4;background:#4a2330}

.report-header-actions{display:flex;flex-wrap:wrap;gap:10px}

.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.month-heading{text-align:center;color:var(--muted);font-size:12px;padding:7px}.month-day{min-height:115px;padding:8px;border:1px solid var(--line);border-radius:7px;overflow-wrap:anywhere}.month-day.outside{opacity:.4}.month-day.today{border:2px solid var(--blue)}.month-date{font:inherit;font-weight:700;background:none;border:0;color:var(--ink);cursor:pointer;margin-bottom:8px}.month-day .tag,.month-day .office-slot{font-size:11px;white-space:normal}.month-person{margin:14px 0 0;min-width:200px}.month-person select{padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--card);color:var(--ink)}@media(max-width:700px){.month-grid{gap:3px}.month-day{padding:5px;min-height:90px}.month-day .tag,.month-day .office-slot{font-size:10px;padding:3px}.month-day .booking-name{font-size:9px}}

[data-theme] .brandmark,[data-theme] .mobile-brand b{background:#101115;color:inherit;transform:none;padding:0;overflow:hidden;flex-shrink:0;border:0}[data-theme] .brandmark{width:46px;height:46px;border-radius:12px}[data-theme] .mobile-brand b{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px}.brand-logo{display:block;width:100%;height:100%;object-fit:contain}

.driver-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:8px}.driver-summary-item{border:1px solid var(--line);border-top:4px solid;border-radius:10px;padding:16px;background:var(--bg)}.driver-summary-item strong{display:block;font-size:28px;line-height:1.2}.driver-summary-item span{display:block;font-size:13px;color:var(--ink);margin-top:6px}.driver-summary-item.recent{border-top-color:#289464;color:#289464}.driver-summary-item.overdue{border-top-color:#bf9429;color:#bf9429}.driver-summary-item.never{border-top-color:#c95856;color:#c95856}.driver-summary-caption{color:var(--muted);font-size:12px;margin:0 0 18px}@media(max-width:500px){.driver-summary{gap:7px}.driver-summary-item{padding:12px 8px}.driver-summary-item strong{font-size:24px}.driver-summary-item span{font-size:11px}}

/* Keep the visit status visible and tint the entire driver record. */
.driver-list{width:100%;min-width:0}.driver-list table{width:100%;min-width:0;table-layout:fixed}.driver-list th:first-child{width:15%}.driver-list th:nth-child(2){width:36%}.driver-list th:nth-child(3){width:23%}.driver-list th:nth-child(4){width:26%}.driver-list th,.driver-list td{overflow-wrap:anywhere;white-space:normal}.driver-list .driver-tag{white-space:normal;max-width:100%;background:transparent;color:inherit;padding:0;font-weight:600}.driver-row{--visit-bg:#e4f7e9;--visit-ink:#194c30;--visit-border:#289464}.driver-row.overdue{--visit-bg:#fff3c4;--visit-ink:#654800;--visit-border:#b68a19}.driver-row.never{--visit-bg:#ffe5eb;--visit-ink:#822235;--visit-border:#c95856}.driver-row td{background:var(--visit-bg);color:var(--visit-ink);border-bottom-color:var(--visit-border)}.driver-row td:first-child{border-left:4px solid var(--visit-border);font-weight:700}:is([data-theme="dark"],[data-theme="gold"]) .driver-row{--visit-bg:#203e2c;--visit-ink:#c2f1d3;--visit-border:#65bc8a}:is([data-theme="dark"],[data-theme="gold"]) .driver-row.overdue{--visit-bg:#494020;--visit-ink:#fff0b4;--visit-border:#dbb44d}:is([data-theme="dark"],[data-theme="gold"]) .driver-row.never{--visit-bg:#4a2330;--visit-ink:#ffd0d8;--visit-border:#e38392}
 .supervisor-abbr{text-decoration:none;font-weight:650;cursor:help}.mobile-copy{display:none}.supervisor-key{margin-top:16px;font-size:13px;color:var(--muted)}.supervisor-key summary{cursor:pointer}.supervisor-key p{margin:6px 0}.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.fields>*{min-width:0}.form-layout>*{min-width:0}.field input,.field select,.field textarea{min-width:0;max-width:100%;box-sizing:border-box}.field input[type="date"],.field input[type="time"]{width:100%;min-width:0;max-width:100%;display:block;appearance:none;-webkit-appearance:none;overflow:hidden;min-height:46px}.field input::-webkit-date-and-time-value{text-align:left;min-width:0}.team-summary .table-scroll{margin-left:0;margin-right:0}.team-summary table{min-width:0;table-layout:fixed;width:100%}.team-summary th,.team-summary td{padding:11px 7px;overflow-wrap:anywhere;white-space:normal}.team-summary th:first-child,.team-summary td:first-child{min-width:0;width:22%}.team-summary .cardhead{flex-wrap:wrap}.team-summary .cardhead h2{flex:1 1 100%}
@media(max-width:600px){.driver-list .desktop-copy{display:none}.driver-list .mobile-copy{display:inline}.driver-list th,.driver-list td{padding:10px 5px;font-size:12px;line-height:1.4}.driver-list th:first-child{width:18%;font-size:11px}.driver-list th:nth-child(2){width:15%}.driver-list th:nth-child(3){width:34%}.driver-list th:nth-child(4){width:33%}.driver-list .driver-tag{font-size:12px;white-space:nowrap}.driver-list td:first-child{border-left-width:3px}.team-summary th,.team-summary td{padding:10px 5px;font-size:12px}.team-summary th{font-size:11px}.team-summary th:first-child,.team-summary td:first-child{width:20%}.team-summary .number-cell{width:20%}.fields{grid-template-columns:minmax(0,1fr)}.fields .field{grid-column:auto}.fields .wide{grid-column:1/-1}}

.follow-choices{flex-wrap:wrap}.follow-choices button{min-width:0;flex:1 1 120px}.team-summary th:first-child,.team-summary td:first-child{width:20%}.team-summary .number-cell{width:20%}

.export-actions{display:flex;flex-direction:column;gap:8px}.export-actions .btn{width:100%}.pagehead:has(.export-actions){flex-wrap:wrap}

.office-unavailable td{color:var(--muted);background:var(--bg);opacity:.7}.reserve-btn:disabled{cursor:not-allowed;opacity:.45}.office-slot.booked,.office-reserved{background:#512733;color:#ffd0d8}.office-unavailable .free{background:transparent;color:var(--muted)}
.roster-import input[type=file]{max-width:100%;margin:12px 0}.roster-import select{max-width:100%}.roster-map{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}.roster-import .cardhead{display:flex;align-items:center;justify-content:space-between;gap:12px}.roster-import p{overflow-wrap:anywhere}
