:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#172c40;background:#f3f6f9;font-synthesis:none;--navy:#122b42;--teal:#087e74;--line:#dce4eb;--muted:#627487;--red:#a33442}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit}a{color:var(--teal)}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}header{height:84px;padding:0 40px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px;color:var(--navy);text-decoration:none;font-size:24px;font-weight:750;letter-spacing:-.8px}.brand-sub{display:block;font-size:11px;letter-spacing:3px;line-height:1.2;color:var(--teal);font-weight:700}#account{display:flex;align-items:center;gap:16px;font-size:14px;flex-wrap:wrap}#account span{max-width:280px;overflow-wrap:anywhere}.shell{display:grid;grid-template-columns:224px 1fr;min-height:calc(100vh - 140px)}aside{background:var(--navy);color:#dce9f0;padding:38px 20px;display:flex;flex-direction:column;gap:20px}.side-title{font-size:12px;letter-spacing:2px;padding:0 12px;color:#9bb3c5}nav{display:flex;flex-direction:column;gap:8px}nav button{text-align:left;padding:12px;border:0;border-radius:8px;background:transparent;color:#dce9f0}nav button:hover,nav button.active{background:#254358;color:white}nav button.active{box-shadow:inset 3px 0 #59d7c2}.side-note{padding:25px 12px;font-size:20px;line-height:1.5;font-weight:550;color:#fff;margin-top:auto}.privacy-link{padding:0 12px;color:#b5cbd9;font-size:14px}main{padding:42px 48px;min-width:0;max-width:1450px;width:100%}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.2;letter-spacing:-1.1px;margin-bottom:12px}h2{font-size:22px;line-height:1.3;letter-spacing:-.4px}h3{font-size:18px}p{margin-bottom:20px}.eyebrow{font-size:12px;letter-spacing:1.6px;text-transform:uppercase;color:var(--teal);font-weight:750;margin-bottom:12px}.intro{color:var(--muted);max-width:680px;margin-bottom:28px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:30px;box-shadow:0 5px 22px #16324e04;margin-bottom:22px}.login-layout{display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(240px,.8fr);gap:38px;max-width:1030px;align-items:start}.login-copy{padding:22px 0}.login-copy h1{font-size:44px;max-width:590px;line-height:1.13}.login-card{margin-top:22px}.steps{list-style:none;padding:0;counter-reset:step;display:grid;gap:20px;margin:30px 0}.steps li{counter-increment:step;display:flex;gap:14px}.steps li:before{content:counter(step);flex:0 0 30px;height:30px;border:1px solid #beded9;border-radius:50%;display:grid;place-items:center;color:var(--teal);font-size:14px}.muted,small{color:var(--muted)}small{font-size:14px}.primary,.secondary,.danger,.google{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border-radius:8px;font-weight:650;text-decoration:none;border:1px solid transparent}.primary{background:var(--teal);color:white}.primary:hover{background:#08695f}.secondary{background:white;color:var(--navy);border-color:#cbd8e2}.danger{background:#fff3f4;border-color:#f0c4cb;color:var(--red)}.google{width:100%;border-color:#c6d1da;color:#172c40;background:white;gap:12px}.google b{font-size:22px;color:#2564c2}.link-button{border:0;background:none;padding:0;color:var(--teal);text-decoration:underline}.fields{display:grid;grid-template-columns:1fr 1fr;gap:22px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.wide{grid-column:1/-1}label,.label{font-size:14px;font-weight:650}input,select,textarea{border:1px solid #b8c9d5;border-radius:7px;padding:11px 12px;width:100%;background:#fff;color:#172c40;min-height:46px}input:focus,select:focus,textarea:focus{outline:2px solid #087e7433;border-color:var(--teal)}fieldset{border:0;padding:0;margin:0 0 28px}legend{font-size:20px;font-weight:650;width:100%;padding:0 0 16px;border-bottom:1px solid var(--line);margin-bottom:20px}.check{display:flex;align-items:flex-start;gap:12px;font-weight:450;font-size:15px;margin:15px 0}.check input{width:20px;min-height:20px;flex:0 0 20px;margin:2px 0;accent-color:var(--teal)}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.notice{padding:16px 20px;border-radius:8px;border:1px solid #bddee0;background:#effafa;margin-bottom:22px;overflow-wrap:anywhere}.notice.error{background:#fff2f3;color:var(--red);border-color:#efc6cd}.notice.success{background:#eaf7f2;border-color:#b8daca;color:#15654d}.badge{display:inline-block;padding:4px 10px;border-radius:20px;font-size:13px;line-height:1.5;background:#e9f2f5;color:#3a6176}.badge.pending{background:#fff3db;color:#805d13}.badge.approved{background:#dff5ed;color:#12694f}.badge.rejected,.badge.suspended{background:#fde8ec;color:#983745}.badge.correction{background:#e7eefb;color:#375f9b}.topline{display:flex;align-items:start;justify-content:space-between;gap:20px}.profile-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px 28px}.profile-summary div{min-width:0}.profile-summary dt{font-size:13px;color:var(--muted)}.profile-summary dd{margin:3px 0 0;overflow-wrap:anywhere}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}th{font-size:12px;letter-spacing:.5px;text-transform:uppercase;color:var(--muted);background:#f6f9fb}th,td{padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:top}td strong{display:block}.table-action{padding:5px 10px;min-height:34px}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty h2{color:var(--navy)}.month-line{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:22px}.month-line .field{max-width:240px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.weekday{font-size:12px;text-align:center;color:var(--muted);padding:6px 0}.day{min-height:86px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px;text-align:left;display:flex;flex-direction:column;align-items:start;gap:5px;color:var(--navy)}.day.weekend{background:#f1f5f8}.day.preferred{background:#e4f6ee;border-color:#66bba4}.day.unavailable{background:#fbeaec;border-color:#e1a3af}.day.selected{outline:2px solid var(--navy);outline-offset:1px}.day strong{font-size:16px}.day small{font-size:11px;line-height:1.2;color:inherit}.calendar-layout{display:grid;grid-template-columns:minmax(300px,1fr) 270px;gap:24px}.day-editor{background:#f5f8fa;border-radius:10px;padding:20px;align-self:start}.day-editor .check{margin:12px 0}.legend-line{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;margin:16px 0;color:var(--muted)}.legend-line span:before{content:'';display:inline-block;width:11px;height:11px;border:1px solid #9caebb;border-radius:3px;margin-right:6px;background:#fff}.legend-line .prefer:before{background:#e4f6ee;border-color:#66bba4}.legend-line .unavailable:before{background:#fbeaec;border-color:#e1a3af}.save-line{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:20px}.save-state{font-size:14px;color:var(--muted)}.role-tag{display:inline-block;font-weight:700;padding:2px 5px;border-radius:4px;background:#e7eff4;font-size:12px;margin-right:3px}.privacy-content{max-width:750px}.privacy-content h2{margin-top:26px}footer{padding:16px 40px;display:flex;justify-content:space-between;gap:18px;color:var(--muted);font-size:13px;background:white;border-top:1px solid var(--line)}.skip{position:absolute;left:12px;top:-70px;z-index:100;padding:12px;background:white}.skip:focus{top:10px}[hidden]{display:none!important}.loading{padding:40px;color:var(--muted)}
@media(max-width:1100px){main{padding:32px}.shell{grid-template-columns:190px 1fr}.calendar-layout{grid-template-columns:1fr}.day-editor{display:block}.login-layout{gap:22px}.login-copy h1{font-size:37px}}@media(max-width:760px){header{height:auto;min-height:78px;padding:18px 20px}.brand{font-size:21px}#account{justify-content:end}#account span{display:none}.shell{display:block}aside{padding:14px 18px;gap:0}.side-title,.side-note,.privacy-link{display:none}nav{flex-direction:row;flex-wrap:wrap;gap:4px}nav button{font-size:14px;padding:8px 10px}main{padding:26px 18px}.login-layout{grid-template-columns:1fr;gap:0}.login-copy{padding:0}.login-copy h1{font-size:35px}.login-card{margin-top:4px}.card{padding:23px 20px}.fields{grid-template-columns:1fr;gap:18px}.profile-summary{grid-template-columns:1fr 1fr}.calendar{gap:4px}.day{padding:6px 4px;min-height:73px}.day small{font-size:10px}.calendar-layout{min-width:0;grid-template-columns:minmax(0,1fr)}h1{font-size:29px}.topline{flex-wrap:wrap}footer{padding:16px 20px;flex-wrap:wrap}.steps{gap:15px;margin:25px 0}}

.month-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.current-month{border-color:var(--teal);background:#e9f7f3;color:#086b62}.notice.beta{background:#fff8e9;border-color:#ebd5a4}.login-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;margin:22px 0}.login-divider:before,.login-divider:after{content:"";height:1px;background:var(--line);flex:1}.email-login .primary{width:100%;margin-top:14px}.email-login .link-button{margin-top:16px}.otp-input{font-size:24px;letter-spacing:.28em;font-variant-numeric:tabular-nums}.email-login-status{font-size:14px;overflow-wrap:anywhere}

.count-preference{padding-top:20px;margin-bottom:24px;border-top:1px solid var(--line)}

.draft-table{font-size:12px;min-width:1250px;border-collapse:separate;border-spacing:0}.draft-table caption{text-align:left;padding:0 0 14px;color:var(--muted)}.draft-table th,.draft-table td{padding:7px 5px;min-width:30px;text-align:center;border-right:1px solid #93a4b4;border-bottom:1px solid #93a4b4}.draft-table tr>*:first-child{border-left:1px solid #93a4b4}.draft-table thead th{border-top:1px solid #93a4b4;color:#42576a}.draft-table th:first-child{min-width:190px;text-align:left;position:sticky;left:0;background:white;z-index:1}.draft-table th small{display:block;font-weight:400;letter-spacing:0;text-transform:none}.draft-table thead th:first-child{background:#f6f9fb}.draft-weekend{background:#f1f5f8}.draft-role{display:inline-block;border-radius:4px;padding:2px 6px;font-weight:750;background:#e0f3ed;color:#15654d}.role-S{background:#e6e8fc;color:#4845a1}.role-I,.role-O{background:#fff0d7;color:#8b5a0b}

body{padding-bottom:64px}.feedback-toggle{position:fixed;right:20px;bottom:16px;z-index:20;border:1px solid #426078;border-radius:24px;background:var(--navy);color:white;padding:11px 18px;box-shadow:0 5px 20px #11294025;font-size:14px;font-weight:650}dialog{width:min(600px,calc(100% - 28px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--navy)}dialog::backdrop{background:#122b4266}.feedback-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}.feedback-heading h2{max-width:330px}#feedback-form .field{margin-bottom:18px}#feedback-context{font-size:13px}.notice h2{font-size:18px;margin-bottom:8px}.notice p:last-child{margin-bottom:0}@media(max-width:600px){dialog{padding:22px}.feedback-toggle{right:14px;bottom:12px}.feedback-heading{display:block}.feedback-heading .link-button{margin-bottom:16px}}

.mail-status{display:block;margin-top:6px;max-width:160px}

.draft-downloads .button-row{display:flex;gap:12px;flex-wrap:wrap}.draft-downloads h3{margin-top:0}.draft-downloads #draft-export-status:empty{display:none}

.preview-invite{border-color:#91cabc;background:#f0faf6;display:flex;align-items:center;gap:28px;justify-content:space-between}.preview-invite>div{max-width:600px}.preview-invite p{margin-bottom:10px}.preview-invite button{flex-shrink:0}.preview-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.own-preview{border-top:4px solid var(--teal)}.own-duty-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px;margin:22px 0}.own-duty{display:flex;flex-direction:column;gap:8px;padding:16px;background:#f2f9f6;border:1px solid #c5e1d6;border-radius:9px}.own-duty>small{font-size:12px}.preview-unmet{margin:20px 0}.doctor-preview-table .own-roster-row td,.doctor-preview-table .own-roster-row th{border-top:2px solid var(--teal);border-bottom:2px solid var(--teal);background:#e7f6ef}.doctor-preview-table .own-roster-row th:first-child{border-left:3px solid var(--teal);background:#e7f6ef;color:#095e52}.doctor-preview-table .own-roster-row td:last-child{border-right:3px solid var(--teal)}.doctor-preview-table .own-roster-row td.draft-weekend{background:#d9eee3}.doctor-preview-table th.draft-weekend{background:#e6edf2}.doctor-preview-table th:first-child{max-width:240px;overflow-wrap:anywhere}.doctor-preview-table th small{font-size:11px}.doctor-preview-table .own-roster-row:focus{outline:3px solid var(--navy);outline-offset:-3px}@media(max-width:1100px){.preview-invite{display:block}.preview-invite button{margin-top:20px}}@media(max-width:600px){.own-duty-list{grid-template-columns:1fr}.preview-actions>button{width:100%}.preview-invite button{width:100%}}
.preview-table-wrap{max-height:70vh;padding:0 18px 18px}.doctor-preview-table caption{padding:16px 0}.doctor-preview-table thead th{position:sticky;top:0;z-index:2;background:#f6f9fb;box-shadow:0 1px 0 #93a4b4}.doctor-preview-table thead th.draft-weekend{background:#e0e8ef}.doctor-preview-table thead th:first-child{z-index:3}.proposals-export p:last-child:empty{display:none}

.admin-view-switch{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;min-height:40px;padding:5px 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--navy);font-size:13px;font-weight:600;white-space:nowrap}.admin-view-switch:hover{background:#f1f6f8}.admin-view-switch:focus-visible{outline:2px solid var(--teal)}.admin-view-switch i{display:block;position:relative;flex:0 0 34px;width:34px;height:20px;border:1px solid #708698;border-radius:12px;background:#e2e9ee;transition:background .15s}.admin-view-switch i:after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 3px #172c4040;transition:transform .15s}.admin-view-switch[aria-checked="true"] i{background:var(--teal);border-color:var(--teal)}.admin-view-switch[aria-checked="true"] i:after{transform:translateX(14px)}@media(max-width:760px){header{flex-wrap:wrap}#account{width:100%;justify-content:flex-start;gap:8px 12px}#account .account-name{display:block;flex:1 1 140px;max-width:none}.admin-view-switch{margin-left:auto}}@media(prefers-reduced-motion:reduce){.admin-view-switch i,.admin-view-switch i:after{transition:none}}

.ecosystem-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#0b2032;color:#cde5e9;padding:8px 40px;font-size:13px}.ecosystem-bar a{color:inherit;text-decoration:none;min-height:30px;display:inline-flex;align-items:center}.ecosystem-bar a:hover{text-decoration:underline;text-underline-offset:4px}.ecosystem-bar a:focus-visible{outline:2px solid #55d5c0;outline-offset:4px;border-radius:3px}.account-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;overflow-wrap:anywhere}.account-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.account-modules .card{display:flex;flex-direction:column;align-items:flex-start}.account-modules .actions{margin-top:auto;padding-top:24px}@media(max-width:760px){.ecosystem-bar{padding:6px 20px}.account-summary{align-items:flex-start;flex-direction:column}.account-modules{grid-template-columns:1fr;gap:0}}

/* Shared Orthobase identity and voluntary support remain outside view content. */
.site-header{height:auto;min-height:136px;padding:14px 40px;background:radial-gradient(ellipse at 100% 0%,#164557 0%,transparent 60%),#0a2234;border-bottom:1px solid #294658;color:#e7f1f5;gap:24px}
.brand-context{display:flex;align-items:center;gap:24px;flex-shrink:0}
.site-header .brand{display:inline-flex;flex-shrink:0;line-height:0}
.orthobase-logo{display:block;width:144px;height:auto}
.module-brand{display:flex;align-items:center;gap:10px;border-left:1px solid #476371;padding:10px 0 10px 24px}
.module-icon{display:block;width:38px;height:38px;flex-shrink:0}
.site-header .brand-sub{color:#a6d8d9;font-size:11px;letter-spacing:2.5px;line-height:1.4}
.header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 24px;min-width:0}
.account-hub-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #466777;border-radius:10px;color:#e5f5f3;font-size:14px;font-weight:550;line-height:1.3;text-decoration:none;background:#ffffff04}
.account-hub-link:hover{background:#ffffff0c;border-color:#77b6b4}
.site-header #account{color:#d7e7ef;justify-content:flex-end;gap:10px 16px}
.site-header .link-button{color:#9ce0d7}
.site-header .admin-view-switch{color:#d7e7ef}
.site-header .admin-view-switch:hover{background:#ffffff0c}
.site-header a:focus-visible,.site-header button:focus-visible{outline:3px solid #80e9de;outline-offset:5px;border-radius:5px}
.orthobase-support{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:16px;width:calc(100% - 80px);max-width:1120px;margin:30px auto;padding:20px 22px;border:1px solid #3c515a;border-radius:18px;background:#0a2234;color:#b8cbd7}
.support-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#ead5ac;background:#ead5ac0c}
.support-icon svg{width:28px;height:28px}
.orthobase-support h2{margin:0;font-size:16px;font-weight:600;line-height:1.45;letter-spacing:0}
.orthobase-support h2 a{display:inline-flex;align-items:center;gap:10px;min-height:40px;color:#ead5ac;text-decoration:none}
.orthobase-support h2 a svg{width:18px;height:18px;flex-shrink:0}
.orthobase-support h2 a:hover{color:#f5e5c9;text-decoration:underline;text-underline-offset:4px}
.orthobase-support h2 a:focus-visible{outline:3px solid #80e9de;outline-offset:5px;border-radius:4px}
.orthobase-support p{max-width:78ch;margin:4px 0 0;color:#b8cbd7;font-size:14px;line-height:1.65;text-wrap:pretty}
.support-signature{white-space:nowrap}
@media(max-width:760px){.site-header{padding:16px 20px;gap:16px}.brand-context{gap:18px}.orthobase-logo{width:124px}.module-brand{padding-left:18px}.header-actions{width:100%;justify-content:space-between;gap:12px 18px}.site-header #account{width:auto;flex:1 1 280px;justify-content:flex-start}.orthobase-support{width:calc(100% - 36px);margin:24px auto}}
@media(max-width:520px){.orthobase-support{grid-template-columns:32px minmax(0,1fr);gap:12px;padding:16px}.support-icon{width:32px;height:40px;background:transparent}.support-icon svg{width:26px;height:26px}}

/* V15: separate Orthobase, module and navigation layers. */
.site-header{display:grid;grid-template-columns:auto minmax(0,1fr);min-height:112px;padding:10px 40px;gap:24px;background:#0a2234}
.orthobase-logo{width:112px}.header-actions{justify-self:end}.site-header #account .account-name{font-size:13px;max-width:260px}
.module-strip{padding:18px 40px;background:#122f45;color:#fff;border-bottom:1px solid #365266}
.module-strip .module-brand{padding:0;border:0;gap:14px}.module-strip .brand-sub{font-size:23px;letter-spacing:-.3px;line-height:1.2;color:#f5fafc;font-weight:650}
.module-description{display:block;margin-top:4px;font-size:13px;color:#bbd2df}.module-icon{width:38px;height:38px}
.mobile-nav-bar{display:none}#navigation{gap:26px}.nav-group{display:flex;flex-direction:column;gap:6px}.nav-group h2{font-size:11px;line-height:1.4;font-weight:650;letter-spacing:1.2px;text-transform:uppercase;color:#9fbacb;margin:0 0 4px;padding:0 12px}
.nav-group button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;width:100%}.nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:20px;background:#ebd5a4;color:#50390d;font-size:12px;font-weight:750}
.common-roles{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.common-roles h2{margin-bottom:8px}.common-roles>p{font-size:14px;max-width:75ch;margin-bottom:14px}.common-role-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:18px 0 12px}.common-role-options legend{font-size:14px;font-weight:650;margin:0;padding:0 0 12px;border:0}.role-choice{display:flex;align-items:flex-start;gap:10px;margin:0;padding:12px;border:1px solid #ccdce4;border-radius:9px;background:#f8fbfc;cursor:pointer}.role-choice:has(input:checked){background:#eaf7f2;border-color:#4a9d88}.role-choice input{width:19px;min-height:19px;flex:0 0 19px;margin:3px 0 0;accent-color:var(--teal)}.role-choice span{min-width:0}.role-choice strong{display:block;font-size:14px;font-weight:650}.role-choice small{display:block;font-size:12px;line-height:1.45;margin-top:4px}.quick-mark{padding:14px 16px;background:#eef5f9;border-radius:9px}.quick-mark small{display:block;margin-top:3px;font-size:13px}.bulk-apply{margin-top:16px;font-size:14px}.bulk-apply summary{cursor:pointer;color:var(--teal);font-weight:650;min-height:36px}.bulk-apply>p{margin:10px 0}.bulk-apply .check{font-size:14px}.common-role-status{margin:14px 0 0!important;color:#286656}.common-role-status:empty{display:none}.admin-proposal-note{color:#526c7c;font-size:13px!important}.day-editor #role-options{margin:18px 0}.day-editor #role-options legend{font-size:13px;line-height:1.5;padding-bottom:9px;margin-bottom:10px}.day-editor .role-choice{margin-bottom:8px;padding:10px}.day-editor>p{margin:15px 0 0}
.attention-total{font-size:20px;color:var(--teal)}.attention-groups{display:grid;gap:20px;margin-top:24px}.attention-group{margin:0}.attention-group h2{display:flex;align-items:center;gap:10px}.attention-item{padding:20px 0;border-top:1px solid var(--line);scroll-margin-top:20px}.attention-item h3{margin-bottom:8px}.attention-detail{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;margin-bottom:10px}.attention-item .actions{margin-top:14px}.attention-highlight{outline:2px solid var(--teal);outline-offset:8px;border-radius:4px}
@media(max-width:760px),(orientation:landscape) and (max-height:600px) and (max-width:1000px){.site-header{padding:8px 18px;min-height:92px;gap:12px;align-items:center}.orthobase-logo{width:96px}.brand-context{gap:0}.header-actions{width:auto;min-width:0;justify-content:flex-end;gap:6px}.account-hub-link{font-size:13px;padding:7px 11px;min-height:40px}.site-header #account{width:auto;flex:0 1 auto;justify-content:flex-end;gap:5px 10px}.site-header #account .account-name{display:block;flex:1 1 100%;max-width:100%;font-size:11px;text-align:right;line-height:1.35}.site-header .admin-view-switch{font-size:11px;min-height:34px;padding:3px 0;gap:6px;margin-left:0}.site-header .admin-view-switch i{flex-basis:30px;width:30px;height:18px}.site-header .admin-view-switch i:after{width:12px;height:12px}.site-header .admin-view-switch[aria-checked="true"] i:after{transform:translateX(12px)}.site-header #logout{font-size:12px;min-height:34px}.module-strip{padding:17px 18px}.module-strip .module-brand{gap:12px}.module-strip .brand-sub{font-size:22px}.module-description{font-size:12px}.shell{display:block;min-height:calc(100vh - 300px)}.side-note{display:none}#sidebar{gap:0;padding:0 18px;background:#17374d;border-bottom:1px solid #365266}.mobile-nav-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px}#current-view{font-size:14px;font-weight:600;min-width:0;overflow-wrap:anywhere}#menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 11px;border:1px solid #5c798c;border-radius:7px;background:transparent;color:#f1f8fb;font-size:14px}#menu-toggle svg{width:18px;height:18px}#menu-toggle[aria-expanded="true"]{background:#2b5066}#sidebar[data-menu-open="false"] #navigation{display:none}#navigation{flex-direction:column;gap:18px;padding:8px 0 20px}.nav-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.nav-group h2{grid-column:1/-1;padding:0;margin:0 0 4px}.nav-group button{padding:10px 11px;background:#24475d;font-size:13px;line-height:1.4}.nav-group button.active{background:#365d72}.privacy-link{display:none!important}#sidebar[data-menu-open="true"] .privacy-link{display:block!important;padding:0 0 18px;font-size:13px}.common-role-options{grid-template-columns:1fr 1fr;gap:8px}.role-choice{padding:10px;gap:8px}.role-choice strong{font-size:13px}.common-roles{margin-bottom:18px;padding-bottom:18px}.bulk-apply .secondary{width:100%}.attention-group{padding:20px 16px}}
@media(max-width:390px){.common-role-options{grid-template-columns:1fr}.site-header{grid-template-columns:86px minmax(0,1fr);gap:10px}.orthobase-logo{width:86px}.site-header .admin-view-switch{font-size:10px}.module-description{font-size:11px}}

.analytics-periods{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.analytics-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.analytics-metrics .card{padding:22px}.analytics-metrics h2{font-size:14px;font-weight:550;color:var(--muted)}.analytics-metrics strong{display:block;font-size:34px;line-height:1.2;color:var(--navy);font-variant-numeric:tabular-nums}.analytics-metrics span{display:block;font-size:13px;color:var(--muted);margin-top:5px}.analytics-chart-wrap{overflow:auto}.analytics-chart{display:block;width:100%;min-width:320px;height:190px}.analytics-axis{stroke:#b7cad6;stroke-width:1}.analytics-bar{fill:#087e74}.analytics-chart-labels{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.analytics-daily{margin-top:22px}.analytics-daily summary{cursor:pointer;color:var(--teal);font-weight:600}.analytics-daily .table-wrap{max-height:340px;margin-top:14px}.analytics-daily th{position:sticky;top:0}@media(max-width:600px){.analytics-metrics{grid-template-columns:1fr;gap:10px;margin-bottom:22px}.analytics-metrics .card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px;margin:0;padding:17px 20px}.analytics-metrics h2{margin:0}.analytics-metrics strong{font-size:28px}.analytics-metrics span{grid-column:2;font-size:11px;text-align:right;margin:0}.analytics-chart{height:160px}}

/* Administrator mail archive: metadata stays in the app, message HTML in a sandboxed frame. */
.mail-history-notice{font-size:14px}.mail-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px}.mail-recipient-filter{grid-column:1/-1}.mail-filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.mail-filter-note{grid-column:1/-1;font-size:12px}.mail-list-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:30px 0 15px}.mail-list-heading h2{margin:0}.mail-list-heading>span{font-size:13px}.mail-history-list{display:grid;gap:12px}.mail-history-item{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0;padding:23px 25px;box-shadow:none}.mail-item-copy{min-width:0}.mail-item-meta{display:flex;align-items:baseline;gap:8px 18px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:8px}.mail-item-meta>span{font-weight:600;color:#446376}.mail-history-item h3{font-size:17px;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}.mail-recipient{margin:0 0 12px;font-size:14px;overflow-wrap:anywhere}.mail-recipient strong{font-weight:550}.mail-history-item>button{flex-shrink:0;gap:14px;font-size:13px}.mail-item-flags{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap}.mail-state{display:inline-block;font-size:12px;line-height:1.5;border-radius:20px;padding:5px 11px;background:#eaf0f5;color:#425d70}.mail-state-accepted{background:#e4f4ec;color:#17654f}.mail-state-pending,.mail-state-retry,.mail-state-sending{background:#fff1d8;color:#795a18}.mail-state-failed,.mail-state-needs_review,.mail-state-uncertain{background:#fbe9ee;color:#9a3048}.mail-redacted{font-size:12px;color:#6a6081}.mail-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.mail-pagination>span{font-size:13px;color:var(--muted)}
.mail-dialog{width:min(980px,calc(100% - 28px));padding:30px;overscroll-behavior:contain}.mail-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.mail-dialog-heading>div{min-width:0}.mail-dialog-heading .eyebrow{margin-bottom:8px}.mail-dialog-heading h2{font-size:22px;line-height:1.4;margin:0;overflow-wrap:anywhere}.mail-dialog-heading>button{flex-shrink:0}.mail-detail-status{display:flex;align-items:center;gap:16px;margin-bottom:10px;font-size:12px}.mail-delivery-note{font-size:13px;color:var(--muted);margin-bottom:22px}.mail-detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;padding:20px;border:1px solid var(--line);border-radius:10px;background:#f7fafb;margin:0 0 22px}.mail-detail-fields div{min-width:0}.mail-detail-fields dt{font-size:12px;color:var(--muted)}.mail-detail-fields dd{margin:3px 0 0;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.mail-format-controls{display:flex;gap:10px 18px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.mail-format-controls button{font-size:13px}.mail-format-controls button[aria-pressed="true"]{background:#e8f6f1;border-color:#64a891;color:#07695d}.mail-preview-note{font-size:12px;margin:0 0 10px}.mail-html-preview{display:block;width:100%;height:560px;max-height:65vh;border:1px solid #d3e0e7;border-radius:10px;background:#fff}.mail-message-text{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 Segoe UI,Arial,sans-serif;border:1px solid var(--line);background:#f8fafc;border-radius:10px;padding:22px;max-height:65vh;overflow:auto;margin:0}.mail-message-source{font:12px/1.6 Consolas,monospace}.mail-technical{margin-top:22px}.mail-technical summary{font-size:13px;color:var(--teal);cursor:pointer;min-height:36px}.mail-technical .mail-detail-fields{margin-top:10px;margin-bottom:0}
@media(max-width:760px){.mail-filters{padding:20px;gap:15px}.mail-history-item{align-items:flex-start;flex-direction:column;gap:16px;padding:20px}.mail-history-item>button{align-self:flex-end}.mail-dialog{padding:22px}.mail-dialog-heading{gap:16px}.mail-dialog-heading h2{font-size:19px}.mail-dialog-heading>button{font-size:12px;min-height:40px;padding:8px 12px}.mail-detail-fields{padding:16px;gap:13px 18px}.mail-format-controls{gap:10px}.mail-html-preview{height:500px}.mail-message-text{padding:16px}}
@media(max-width:480px){.mail-filters{grid-template-columns:1fr}.mail-filter-actions{align-items:stretch;flex-direction:column;gap:14px}.mail-filter-actions .link-button{min-height:35px}.mail-list-heading{align-items:flex-start;flex-direction:column}.mail-pagination>button{padding:9px 12px;font-size:12px}.mail-dialog{width:calc(100% - 16px);padding:18px}.mail-dialog-heading{gap:12px}.mail-detail-fields{grid-template-columns:1fr}.mail-format-controls .secondary{flex:1 1 130px}.mail-format-controls .link-button{min-height:38px}.mail-history-item>button{align-self:stretch}}

html:has(#day-dialog[open]),body:has(#day-dialog[open]){overflow:hidden;overscroll-behavior:none}
.day-dialog{padding:0;overflow:hidden;max-height:85vh;max-height:85dvh;width:min(620px,calc(100% - 28px))}.day-dialog[open]{display:flex;flex-direction:column}.day-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 22px 18px;border-bottom:1px solid var(--line);background:white;flex-shrink:0}.day-dialog-heading h2{font-size:22px;line-height:1.3;margin:0}.day-dialog-heading .eyebrow{margin-bottom:7px}.day-dialog-heading>button{flex-shrink:0;min-height:40px;padding:8px 11px;font-size:13px}.day-dialog-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;width:100%;align-self:stretch;flex:1 1 auto;border-radius:0;padding:22px;background:#f8fafb}.day-dialog-footer{flex-shrink:0;background:white;border-top:1px solid var(--line);padding:16px 22px calc(16px + env(safe-area-inset-bottom))}.day-dialog-footer p{font-size:12px;line-height:1.45;color:var(--muted);margin:0 0 12px}.day-dialog-footer button{width:100%}
@media(max-width:760px),(orientation:landscape) and (max-height:600px) and (max-width:1000px){#day-editor{display:none}.day-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:760px;margin:0 auto;border-radius:18px 18px 0 0;border-bottom:0}.day-dialog-heading{padding:18px 20px 15px}.day-dialog-heading h2{font-size:21px}.day-dialog-scroll{padding:20px}.day-dialog-footer{padding:14px 20px calc(14px + env(safe-area-inset-bottom))}}

.mail-dialog{padding:0}.mail-dialog-heading{position:sticky;top:0;z-index:2;margin:0 0 18px;padding:22px 28px 18px;background:white;border-bottom:1px solid var(--line)}#mail-dialog-body{padding:0 28px 28px}.mail-preview-summary{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;margin-bottom:10px}.mail-preview-summary>div{min-width:0}.mail-preview-summary p{margin:0 0 3px;font-size:14px;overflow-wrap:anywhere}.mail-preview-summary strong{font-weight:600}.mail-preview-summary>div>span{font-size:12px;color:var(--muted)}.mail-preview-summary .mail-state{flex-shrink:0}.mail-delivery-note{font-size:12px;margin-bottom:18px}.mail-format-controls{margin-bottom:14px}.mail-dialog .mail-technical>summary{display:flex;align-items:center;min-height:42px;gap:10px;font-weight:600}.mail-dialog .mail-technical>summary:before{content:'+';font-size:18px}.mail-dialog .mail-technical[open]>summary:before{content:'−'}.mail-dialog .mail-technical .mail-preview-note{margin-top:15px}
@media(max-width:760px){.mail-dialog-heading{padding:18px 20px 15px}#mail-dialog-body{padding:0 20px 20px}.mail-preview-summary{align-items:flex-start;flex-direction:column;gap:10px}.mail-dialog-heading h2{font-size:19px}.mail-html-preview{height:52vh;max-height:60dvh}}
@media(max-width:480px){.mail-dialog-heading{padding:16px}#mail-dialog-body{padding:0 16px 18px}.mail-dialog-heading .eyebrow{font-size:10px;letter-spacing:1px}}

.roster-compact-name{display:none}.roster-name-dialog{max-width:540px}.roster-name-dialog .feedback-heading{display:flex;align-items:flex-start}.roster-name-dialog .feedback-heading h2{font-size:18px}.roster-name-dialog .secondary{font-size:13px;min-height:40px;padding:8px 12px}.roster-name-full{font-size:24px;font-weight:650;line-height:1.4;margin:22px 0 12px;overflow-wrap:anywhere}.roster-name-dialog>p:last-child{font-size:13px;margin:0}
@media(max-width:760px),(orientation:landscape) and (max-height:600px) and (max-width:1000px){.draft-table th:first-child{width:112px;min-width:112px;max-width:112px;white-space:normal;overflow-wrap:anywhere}.roster-full-name{display:none}.roster-compact-name{display:block;width:100%;min-height:40px;padding:4px 2px;border:0;border-radius:4px;background:transparent;color:inherit;text-align:left;font-weight:700;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.roster-compact-name:hover{background:#087e7410}.roster-compact-name:focus-visible{outline:2px solid var(--teal);outline-offset:0}.draft-table th:first-child small{font-size:10px;line-height:1.3}.preview-table-wrap{padding:0 8px 10px}.draft-table th,.draft-table td{padding:5px 3px}.draft-table .draft-role{padding:2px 4px}.doctor-preview-table .own-roster-row th:first-child{border-left-width:3px}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1000px){.preview-table-wrap{max-height:84vh;max-height:84dvh}.draft-table th:first-child{width:108px;min-width:108px;max-width:108px}.draft-table th,.draft-table td{padding:3px;font-size:11px}.roster-compact-name{min-height:36px;font-size:11px}.doctor-preview-table thead th{padding-top:5px;padding-bottom:5px}.doctor-preview-table thead th small{font-size:10px}.preview-table-wrap caption{padding:8px 0;font-size:11px}.preview-table-wrap{margin-bottom:14px}.roster-name-dialog{max-height:84dvh;padding:20px}.roster-name-full{font-size:21px;margin:12px 0}}
.card.table-wrap:has(>.draft-table){padding-left:0;padding-right:0}.card.table-wrap>.draft-table>caption{padding-left:14px;padding-right:14px}
@media(orientation:landscape) and (max-height:600px) and (max-width:1000px){main{padding:24px 18px}}

/* V18: explicit quick toggles, current-month weekday actions and a lasting Undo. */
.common-save-line{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;margin:18px 0 22px;padding:16px;border:1px solid #c9ddd8;border-radius:9px;background:#f4faf7}.common-save-line .save-state{flex:1 1 250px;line-height:1.5}.common-save-line .save-feedback{flex-basis:100%;margin:0}.common-save-line .save-feedback:empty{display:none}.unavailable-range{margin-top:10px;font-size:14px}.unavailable-range summary{min-height:44px;padding:10px 0;cursor:pointer;color:var(--teal);font-weight:650}.unavailable-range>p{margin:12px 0 16px}.range-dates{max-width:650px;gap:16px}.unavailable-range .check small{display:block;margin-top:4px;font-size:12px}.range-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.range-actions button{min-height:46px}
@media(max-width:760px),(orientation:landscape) and (max-height:600px) and (max-width:1000px){.common-save-line{padding:13px}.common-save-line .primary{width:100%}.common-save-line .save-state{flex-basis:100%}.range-dates{grid-template-columns:1fr;gap:12px}.range-dates input{max-width:100%;min-width:0}.range-actions{display:grid;grid-template-columns:1fr}.range-actions button{width:100%}}
.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;padding:16px 18px;margin-bottom:20px;border:1px solid #c8ddd9;border-radius:10px;background:#f0f8f5}.calendar-toolbar>div:first-child{min-width:0;flex:1}.calendar-toolbar strong{display:block;font-size:15px;line-height:1.45}.calendar-toolbar p{font-size:13px;color:#41655d;line-height:1.5;min-height:40px;margin:6px 0 0}.calendar-toolbar-actions{display:flex;gap:10px;flex-wrap:wrap}.calendar-toolbar .secondary{font-size:14px;min-height:44px;padding:10px 13px}.calendar-toolbar button:disabled{opacity:.55}.day-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.day-actions button{font-size:13px;min-height:44px;flex:1 1 150px}.day-remove-hint{margin:10px 0 0!important}.day-remove-hint small{font-size:12px}
.weekday-bulk{margin-top:10px;font-size:14px}.weekday-bulk summary,.bulk-apply summary{min-height:44px;padding:10px 0;cursor:pointer;color:var(--teal);font-weight:650}.weekday-bulk>p{margin:12px 0 16px}.weekday-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:18px}.weekday-options legend{grid-column:1/-1;font-size:14px;padding:0 0 10px;margin:0;border:0}.weekday-choice{display:flex;align-items:center;gap:9px;min-height:46px;padding:9px 11px;border:1px solid #c9d8e2;border-radius:8px;background:#fff;cursor:pointer;font-size:13px}.weekday-choice:has(input:checked){background:#e5f5ee;border-color:#69ac96}.weekday-choice input{width:19px;min-height:19px;flex:0 0 19px;accent-color:var(--teal);margin:0}.weekday-bulk>.field{max-width:380px}.weekday-role-hint{font-size:13px;color:var(--muted)}.weekday-bulk .check small{display:block;margin-top:4px;font-size:12px}.weekday-preview{padding:15px 17px;margin:16px 0;background:#f0f5f8;border-radius:8px;color:#36566b;font-size:14px}.weekday-preview p{margin:0 0 8px;overflow-wrap:anywhere}.weekday-preview p:last-child{margin:0}.weekday-bulk>#apply-weekdays{min-height:44px;margin-bottom:10px}.quick-mark{min-height:52px}
@media(max-width:760px),(orientation:landscape) and (max-height:600px) and (max-width:1000px){.calendar-toolbar{align-items:stretch;flex-direction:column;gap:12px;padding:15px;margin-bottom:16px}.calendar-toolbar-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.calendar-toolbar p{min-height:40px;margin-top:5px}.calendar-toolbar .secondary{font-size:14px;padding:9px 8px}.weekday-options{grid-template-columns:repeat(2,minmax(0,1fr))}.weekday-choice{font-size:14px;padding:10px 12px}.weekday-bulk>.field{max-width:none}.weekday-bulk>#apply-weekdays{width:100%}.day-actions{margin-top:16px}}

@media(max-width:360px){.weekday-options{grid-template-columns:1fr}}

/* Keep explicit day editing and save feedback close to the action. */
#day-editor:focus-within{outline:2px solid var(--teal);outline-offset:3px}
.save-feedback{flex-basis:100%;min-height:3em;margin:-8px 0 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere;color:var(--muted)}.save-feedback.success{color:#17654f}.save-feedback.error{color:#9a3048}

/* Published paper rosters use the existing sticky grid, independently of the trial. */
.published-roster-info .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}
.published-roster-controls{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:0 0 24px}.published-roster-controls .field{width:250px;margin:0}.published-roster-controls button{min-height:46px}.published-roster-info{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px}.published-roster-info>div{min-width:0}.published-roster-info .badge{margin-bottom:12px}.published-roster-info h2{font-size:22px;margin:0 0 8px;overflow-wrap:anywhere}.published-roster-info p{margin:0 0 8px;overflow-wrap:anywhere}.published-roster-info small{font-size:12px}.published-roster-info>a{flex-shrink:0;gap:10px;min-height:46px}.published-roster-guide{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 16px}.published-roster-guide p{font-size:14px;color:var(--muted);margin:0;max-width:75ch}.published-roster-guide button{flex-shrink:0;min-height:44px}.published-roster-wrap{padding-top:0;padding-bottom:12px}.published-roster-wrap:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.published-roster-table{width:max-content;min-width:1250px}.published-roster-table th:first-child{width:220px;min-width:220px;max-width:220px}.published-roster-table th:not(:first-child),.published-roster-table td{min-width:36px}.published-roster-table .draft-role{padding:2px 4px;white-space:nowrap;font-variant-numeric:tabular-nums}.published-roster-table th:last-child,.published-roster-table td:last-child{min-width:58px}.published-roster-legend{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px}.published-match-note{font-size:12px}.published-roster-notes ul,.published-reserve ul{margin:0;padding-left:22px}.published-roster-notes li{margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere}.published-reserve p{white-space:pre-wrap;overflow-wrap:anywhere}.published-reserve li{margin:12px 0;overflow-wrap:anywhere}.published-reserve li span{display:block;margin-top:3px;font-size:14px;color:var(--muted)}
@media(max-width:760px),(orientation:landscape) and (max-height:600px) and (max-width:1000px){.published-roster-controls{gap:12px}.published-roster-controls .field{width:100%}.published-roster-controls>.secondary{flex:1}.published-roster-info{align-items:flex-start;flex-direction:column;gap:18px;padding:20px}.published-roster-info h2{font-size:20px}.published-roster-info>a{width:100%}.published-roster-guide{align-items:flex-start;flex-direction:column;gap:12px}.published-roster-table th:first-child{width:112px;min-width:112px;max-width:112px}.published-roster-table .roster-compact-name{min-height:44px}.published-roster-table th:not(:first-child),.published-roster-table td{min-width:36px}.published-roster-wrap{max-height:72vh;max-height:72dvh}.published-roster-notes,.published-reserve{padding:20px}.published-roster-notes h2,.published-reserve h2{font-size:19px}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1000px){.published-roster-table th:first-child{width:108px;min-width:108px;max-width:108px}.published-roster-wrap{max-height:84vh;max-height:84dvh}.published-roster-info{display:grid;grid-template-columns:1fr auto;padding:18px;gap:20px}.published-roster-info>a{width:auto}.published-roster-info h2{font-size:18px}.published-roster-table .roster-compact-name{min-height:36px}}
.draft-table th:has(>.roster-day-button){padding:4px 2px}
.roster-day-button{display:block;min-width:44px;min-height:48px;width:100%;padding:5px 3px;border:1px solid #9baebf;border-radius:8px;background:#fff;color:#122b42;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 2px 0 #d7e1e9;touch-action:manipulation}
.draft-weekend .roster-day-button{background:#eaf0f5}
.roster-day-button:hover{border-color:#087e74;background:#e5f5f0}
.roster-day-button[aria-pressed="true"]{background:#087e74;color:#fff;border-color:#07675f;box-shadow:inset 0 0 0 2px #fff}
.roster-day-button:focus-visible{outline:3px solid #087e74;outline-offset:2px}
.roster-day-button[aria-pressed="true"]:focus-visible{outline-color:#122b42}
.roster-day-button small{color:inherit;font-weight:500}
.table-wrap[data-day-selected="true"]{padding-bottom:10px;margin-bottom:14px}
.roster-day-panel{border-color:#82c7ba;background:#f7fcfa}
.roster-day-panel .topline{align-items:center;gap:16px}
.roster-day-panel h3{font-size:24px;margin:5px 0;text-transform:none}
.roster-day-panel .notice{margin:12px 0}
.roster-day-list{list-style:none;padding:0;margin:18px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.roster-day-list>li{padding:16px;background:#fff;border:1px solid #cfdfdf;border-radius:12px;min-width:0}
.roster-day-list h4{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:15px;color:#526778}
.roster-day-person{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;color:#122b42}
.roster-day-person strong{font-size:19px;overflow-wrap:anywhere;flex:1 1 190px}
.roster-day-person small{flex-basis:100%;color:#627487}
.roster-day-own{border-left:4px solid #087e74;padding-left:12px}
.roster-day-code{font-weight:800;font-size:14px;border:1px solid #c6d7df;border-radius:6px;padding:4px 7px}
.roster-day-missing{margin:0;color:#6c5d44}
.roster-day-hours{margin-bottom:0}
.roster-day-reserve{border-top:1px solid #cfdfdf;margin-top:18px;padding-top:8px}
.roster-day-hint{color:#526778}
@media(max-width:760px){.roster-day-list{grid-template-columns:1fr}.roster-day-panel{padding:18px}.roster-day-panel h3{font-size:21px}.roster-day-panel .topline{align-items:flex-start}.roster-day-person strong{font-size:18px}.roster-day-button{min-width:44px}}
.roster-person-button{border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;text-transform:none;cursor:pointer;padding:5px 3px;min-height:44px;text-decoration:underline;text-decoration-color:#9abeb9;text-underline-offset:4px;text-decoration-thickness:1px;overflow-wrap:anywhere}
.roster-person-button:hover{background:#e2f3ef;color:#076e66}
.roster-person-button:focus-visible{outline:2px solid #087e74;outline-offset:2px}
.roster-day-person-name{font-size:19px;flex:1 1 190px}
.roster-name-dialog{width:650px;max-width:calc(100vw - 28px);max-height:88vh;max-height:88dvh;overflow:auto}
.roster-name-dialog .feedback-heading{position:sticky;top:0;background:white;z-index:1;padding-bottom:12px;border-bottom:1px solid #dce5e8}
.roster-person-summary{color:#526778}
.roster-person-list{list-style:none;padding:0;margin:16px 0;border-top:1px solid #dce5e8}
.roster-person-list li{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #dce5e8}
.roster-person-list li>div{min-width:0;overflow-wrap:anywhere}
.roster-person-list small{display:block;color:#627487;margin-top:4px}
.roster-person-list .draft-role{display:inline-block;margin:4px 0}
.personal-pdf-hint,.personal-pdf-status{flex-basis:100%;margin:0;font-size:14px}
.preview-downloads{padding:18px 0 24px}.preview-downloads p{margin:9px 0 0;color:#526778;font-size:14px}
@media(max-width:480px){.roster-person-list li{grid-template-columns:1fr;gap:7px}.roster-name-dialog{padding:18px}.roster-name-dialog .feedback-heading h2{font-size:17px}.roster-day-person-name{font-size:18px}.save-line #personal-proposals-pdf{width:100%}}
.perspective-banner{padding:16px 28px;background:#fff0c7;border-block:2px solid #c58c19;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#342600}.perspective-banner[hidden]{display:none}.perspective-banner small{display:block;margin-top:5px}.perspective-banner button{flex-shrink:0}@media(max-width:760px){.perspective-banner{padding:14px 18px;align-items:stretch;flex-direction:column}.perspective-banner button{width:100%}}

.application-directory>.fields{margin-bottom:18px}.application-directory #applications-count{margin:0 0 14px;font-size:14px}.approval-backfill>summary{cursor:pointer;min-height:44px;font-weight:650}.approval-backfill>p{margin:16px 0}.review-resident{border:1px solid #c8ded7;border-radius:10px;background:#f4faf7;padding:22px;margin-bottom:28px}.review-resident h2{margin-bottom:12px}.review-resident .field{max-width:680px}.review-departments{margin:20px 0}.review-identity{padding:14px;background:white;border:1px solid #d2e0db;border-radius:8px}.review-identity strong{display:inline}.review-access-summary{margin-bottom:24px}.review-access-summary p:last-child{margin-bottom:0}.review-resident .notice p{margin-bottom:8px}.review-resident>button{margin-bottom:12px}
@media(max-width:760px),(orientation:landscape) and (max-height:600px) and (max-width:1000px){.application-directory>.fields{grid-template-columns:1fr;gap:14px}.application-directory{padding:18px 14px}.review-resident{padding:16px}.review-departments{grid-template-columns:1fr}.review-resident select{max-width:100%;min-width:0}.review-resident>button{width:100%}}
@media(max-width:760px){#applications-list .table-wrap{overflow:visible}#applications-list table,#applications-list tbody{display:block;width:100%;min-width:0}#applications-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#applications-list tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:16px 0;border-top:1px solid var(--line)}#applications-list td{padding:0;border:0;min-width:0;overflow-wrap:anywhere}#applications-list td:first-child{grid-column:1/-1;font-size:15px}#applications-list td:nth-child(2){grid-column:1/-1;grid-row:3}#applications-list td:nth-child(2)::before{content:'PWZ / oddział';display:block;font-size:12px;color:var(--muted)}#applications-list td:nth-child(3){grid-column:1;grid-row:2;align-self:center}#applications-list td:last-child{grid-column:2;grid-row:2;align-self:center}#applications-list .table-action{min-height:44px;min-width:84px}}


/* Survey reminder: one clear invitation, without interrupting an open form. */
.survey-reminder-dialog{width:min(540px,calc(100% - 28px));padding:0;border:0;box-shadow:0 20px 70px #102a3b40;max-height:calc(100dvh - 28px)}
.survey-reminder-brand{background:#0b2435;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:20px}
.survey-reminder-brand img{width:100px;height:auto;display:block}
.survey-reminder-close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #9db5c266;border-radius:50%;background:transparent;color:#fff;font-size:30px;line-height:1;align-self:flex-start}
.survey-reminder-close:hover{background:#ffffff14}
.survey-reminder-body{padding:28px 30px}
.survey-reminder-body h2{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin-bottom:16px}
.survey-reminder-body .eyebrow{font-size:11px;letter-spacing:1.2px;margin-bottom:12px}
.survey-reminder-period{border-left:3px solid var(--teal);background:#edf8f5;padding:12px 16px;border-radius:0 8px 8px 0;font-size:14px}
.survey-reminder-period strong{font-size:16px}
.survey-reminder-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.survey-reminder-actions button{flex:1;white-space:nowrap}
.survey-reminder-hint{font-size:12px;color:var(--muted);margin:12px 0 0}
@media(max-width:480px){.survey-reminder-body{padding:24px 22px}.survey-reminder-body h2{font-size:25px}.survey-reminder-actions{flex-direction:column}.survey-reminder-brand{padding:14px 22px}.survey-reminder-brand img{width:88px}}

.obWorkshop{position:fixed;z-index:40;left:20px;bottom:var(--obWorkshop-bottom,20px);box-sizing:border-box;width:min(390px,calc(100vw - 40px));max-height:min(540px,calc(100dvh - 40px));overflow:auto;padding:25px;border:1px solid #bad8d2;border-top:4px solid #087e74;border-radius:16px;background:#f4fbf8;color:#15354c;box-shadow:0 12px 38px #0b263529;font-family:"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5;text-align:left;overscroll-behavior:contain}
.obWorkshop[hidden]{display:none!important}
.obWorkshop *{box-sizing:border-box}
.obWorkshop .obWorkshopClose{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:0;border:0;border-radius:8px;background:transparent;color:#365568;font-size:27px;font-weight:400;line-height:1;cursor:pointer}
.obWorkshop .obWorkshopClose:hover{background:#deeee8}
.obWorkshop .obWorkshopEyebrow{margin:0 26px 10px 0;color:#006853;font-size:10px;font-weight:700;letter-spacing:.1em;line-height:1.5}
.obWorkshop .obWorkshopTitle{margin:0 0 13px;font-size:23px;font-weight:700;letter-spacing:-.025em;line-height:1.2;color:#15354c;overflow-wrap:break-word}
.obWorkshop .obWorkshopDescription{margin:0 0 17px;font-size:14px;line-height:1.55;color:#385469}
.obWorkshop .obWorkshopLink{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:11px 13px;border:1px solid #006853;border-radius:8px;background:#006853;color:#fff;font-size:14px;font-weight:650;line-height:1.4;text-align:center;text-decoration:none}
.obWorkshop .obWorkshopLink:hover{background:#075848}
.obWorkshop .obWorkshopNote{margin:13px 0 0;font-size:12px;line-height:1.5;color:#4a6270}
.obWorkshop .obWorkshopClose:focus-visible,.obWorkshop .obWorkshopLink:focus-visible{outline:3px solid #165f9b;outline-offset:3px}
@media(max-width:600px){.obWorkshop{left:12px;right:12px;bottom:var(--obWorkshop-mobile-bottom,calc(76px + env(safe-area-inset-bottom,0px)));width:auto;max-width:none;max-height:40vh;max-height:40dvh;padding:19px 20px;border-radius:13px}.obWorkshop .obWorkshopTitle{font-size:21px;margin-bottom:10px}.obWorkshop .obWorkshopDescription{font-size:13px;margin-bottom:13px}.obWorkshop .obWorkshopNote{margin-top:10px}}
@media print{.obWorkshop{display:none!important}}

.survey-view{max-width:1080px}.survey-view .intro{max-width:760px}.survey-welcome{display:flex;align-items:flex-start;gap:28px;justify-content:space-between}.survey-welcome>div{max-width:710px}.survey-welcome p:last-child{margin-bottom:0}.survey-welcome>button{white-space:nowrap;flex-shrink:0}.survey-records{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:12px}.survey-records li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.survey-records h3{margin:0 0 7px}.survey-records p{margin:5px 0;font-size:15px}.survey-records button{flex-shrink:0}.survey-records .badge{margin-right:8px}.survey-back{margin:0 0 24px;min-height:44px}.survey-identity{display:flex;flex-direction:column;gap:4px}.survey-identity>span{font-size:14px;color:var(--muted)}.survey-identity>strong{font-size:22px}.survey-section+.survey-section{border-top:2px solid var(--line);margin-top:36px;padding-top:30px}.survey-scale{margin:0 0 25px;color:var(--muted);font-size:15px}.survey-scale summary{cursor:pointer;color:var(--teal);font-weight:650;min-height:44px;display:flex;align-items:center;gap:10px}.survey-scale summary::before{content:'+';font-size:20px}.survey-scale[open] summary::before{content:'−'}.survey-scale ol{list-style:none;padding:0;margin:8px 0;display:grid;gap:5px}.survey-question{padding:22px 0 10px;margin:0;border-top:1px solid var(--line)}.survey-question legend{display:block;float:left;font-size:16px;line-height:1.6;font-weight:600;border:0;margin:0 0 16px;padding:0}.survey-question legend+.survey-rating{clear:both}.survey-question-number{color:var(--muted)}.survey-rating{display:grid;grid-template-columns:repeat(5,minmax(44px,64px));gap:10px}.survey-rating-option{position:relative;display:block}.survey-rating-option input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer;width:100%;height:100%;min-height:48px;z-index:1}.survey-rating-option span{display:flex;align-items:center;justify-content:center;min-height:50px;border:1px solid #9eb3c2;border-radius:9px;font-size:19px;background:white;font-weight:650}.survey-rating-option input:checked+span{background:var(--teal);color:white;border-color:var(--teal);box-shadow:0 0 0 2px #fff,0 0 0 4px #087e7430}.survey-rating-option input:focus-visible+span{outline:3px solid #2d6eb2;outline-offset:4px}.survey-rating-option input:disabled{cursor:default}.survey-rating-description{font-size:14px;min-height:25px;margin:13px 0 2px;color:var(--muted)}.survey-progress{font-weight:700;margin-bottom:10px}.survey-form-error{color:#a33442;margin:18px 0 0;font-weight:600}.survey-save .actions{margin-bottom:10px}.survey-export-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 10px}.survey-export-hint{font-size:14px;margin-top:14px;margin-bottom:0}.survey-results-count{margin:24px 0 8px;font-weight:700}.survey-answer-list{margin:0 0 32px}.survey-answer-list>div{display:grid;grid-template-columns:1fr 75px;gap:20px;padding:17px 0;border-bottom:1px solid var(--line);align-items:center}.survey-answer-list dt{font-size:15px}.survey-answer-list dd{margin:0;color:var(--teal);font-size:25px;font-weight:700;text-align:center}.survey-answer-list dd span{color:var(--muted);font-size:14px;font-weight:400}.survey-confirm-dialog{border:1px solid var(--line);border-radius:15px;width:min(610px,calc(100% - 30px));padding:28px;max-height:90dvh;overflow:auto;color:var(--navy);background:white}.survey-confirm-dialog::backdrop{background:#071c2c99}.survey-signature-note{font-size:13px;margin:24px 0 0}.survey-result-detail{scroll-margin-top:24px}.survey-form input[readonly]{background:#f3f6f9;color:#41596d}.survey-view [hidden]{display:none!important}
@media(max-width:760px){.survey-welcome{display:block}.survey-welcome>button{margin-top:22px;width:100%}.survey-view .card{padding:22px 18px}.survey-records li{padding:20px;display:block}.survey-records button{width:100%;margin-top:16px}.survey-records p{overflow-wrap:anywhere}.survey-form .fields{grid-template-columns:1fr}.survey-form .field.wide{grid-column:auto}.survey-question legend{font-size:16px}.survey-rating{grid-template-columns:repeat(5,minmax(42px,1fr));gap:8px}.survey-rating-option span{min-height:52px}.survey-export-actions button{flex:1 1 125px}.survey-save .actions{display:grid;grid-template-columns:1fr;width:100%}.survey-view .topline{flex-wrap:wrap}.survey-confirm-dialog{padding:24px 20px}.survey-confirm-dialog .actions{display:grid;grid-template-columns:1fr}.survey-confirm-dialog .actions>button{width:100%}.survey-answer-list>div{grid-template-columns:1fr 48px;gap:12px}.survey-identity>strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.survey-view *{scroll-behavior:auto!important}}
.survey-complete{border-color:#a6cfc1;background:#f1faf6}.survey-final-warning{border:1px solid #e0bc73;background:#fff8e8;border-radius:9px;padding:16px 18px;margin:20px 0}.survey-final-warning p{margin:8px 0 0}.survey-final-check{padding:14px;border:1px solid var(--line);border-radius:8px;background:#f6f9fb;line-height:1.6}

.survey-reminder-admin details{margin:1rem 0}.survey-reminder-admin summary{cursor:pointer;font-weight:700}.survey-mail-text{white-space:pre-wrap;overflow-wrap:anywhere}

.school-workshops{max-width:1120px}.ws-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.ws-heading .intro{margin-bottom:24px}.ws-pilot-tag{display:inline-flex;align-items:center;border:1px solid #d9c58b;background:#fff5d9;color:#725613;padding:7px 13px;border-radius:8px;font-size:13px;font-weight:700;white-space:nowrap}.ws-pilot-banner{padding:20px 24px;margin:0 0 24px;background:#fff8e8;border:1px solid #e3cd94;border-left:4px solid #aa7e25;border-radius:10px;line-height:1.65}.ws-pilot-banner strong{font-weight:550}.ws-course-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;padding:8px 0 27px;margin-bottom:26px;border-bottom:1px solid var(--line,#dce4eb)}.ws-course-intro>div>strong{font-size:23px;color:var(--navy,#122b42)}.ws-course-intro p{color:var(--muted,#627487);max-width:650px;margin:8px 0 0}.ws-course-intro dl{margin:0;min-width:200px;display:grid;gap:14px}.school-workshops dt{font-size:12px;color:var(--muted,#627487)}.school-workshops dd{margin:3px 0 0}.ws-feedback{padding:15px 19px;border-radius:8px;margin-bottom:22px;overflow-wrap:anywhere}.ws-success{background:#eaf7f2;border:1px solid #b8daca;color:#15654d}.ws-error{background:#fff2f3;color:#9f3342;border:1px solid #efc6cd;padding:15px 19px;border-radius:8px}.ws-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line,#dce4eb);margin-bottom:28px;overflow:auto}.ws-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted,#627487);border-radius:0;padding:12px 16px;font-weight:650;white-space:nowrap;min-height:48px}.ws-tabs button.active{border-bottom-color:var(--teal,#087e74);color:var(--teal,#087e74)}.ws-section-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}.ws-section-heading h2{margin-bottom:8px}.ws-section-heading p{color:var(--muted,#627487);max-width:700px}.ws-section-heading button{white-space:nowrap}.ws-date-field{max-width:480px;margin-bottom:24px}.ws-session-meta{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--navy,#122b42);color:white;padding:24px 28px;border-radius:12px;margin-bottom:14px}.ws-session-meta .eyebrow{color:#7fe4cc;margin:0 0 7px}.ws-session-meta h3{font-size:25px;margin-bottom:8px;letter-spacing:-.5px}.ws-session-meta p{color:#cbdce5;margin:0}.ws-counts{display:flex;gap:30px;margin:0;flex-shrink:0}.ws-counts dt{color:#cbdce5}.ws-counts dd{font-size:29px;font-weight:700}.ws-counts small{color:#cbdce5;font-size:15px;font-weight:400}.ws-help{font-size:14px;color:var(--muted,#627487);margin-bottom:24px}.ws-roster-list{display:grid;gap:16px}.ws-person{background:#fff;border:1px solid var(--line,#dce4eb);border-radius:12px;padding:24px;min-width:0}.ws-person-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:22px}.ws-person h3{font-size:20px;margin:0 0 8px;overflow-wrap:anywhere}.ws-person-heading button{font-size:14px;flex-shrink:0;min-height:36px}.ws-status{display:inline-block;border-radius:5px;background:#edf1f5;color:#526778;font-size:12px;line-height:1.5;padding:4px 8px;font-weight:650}.ws-status-confirmed{background:#e5f6ef;color:#156b52}.ws-status-applied{background:#eef3fd;color:#3d5e8a}.ws-status-waitlist{background:#fff3d8;color:#7b5c17}.ws-status-cancelled{background:#f3edf0;color:#79515b}.ws-result-fields{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:16px}.ws-note-field{margin-top:18px}.ws-note-field textarea{resize:vertical;min-height:72px}.ws-person-save{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px}.ws-person-save>span{font-size:13px;color:var(--muted,#627487)}.ws-result-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:0}.ws-saved-note{margin:18px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.ws-empty{padding:34px 22px;text-align:center;color:var(--muted,#627487);border:1px dashed #bccdd8;border-radius:12px;background:#fff}.ws-empty h2,.ws-empty h3{color:var(--navy,#122b42)}.ws-empty p:last-child{margin-bottom:0}.ws-organizer{margin-top:24px;border:1px solid var(--line,#dce4eb);border-radius:12px;background:white;padding:22px 24px}.ws-organizer summary{cursor:pointer;font-weight:700;color:var(--navy,#122b42);font-size:18px}.ws-organizer summary span{font-size:13px;background:#eef4f6;padding:3px 8px;border-radius:6px;margin-left:8px}.ws-organizer[open] summary{margin-bottom:20px}.ws-application-list{list-style:none;padding:0;margin:18px 0 26px}.ws-application-list li{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid var(--line,#dce4eb)}.ws-application-list span{font-size:14px;color:var(--muted,#627487)}.ws-organizer form>button{margin-top:6px}.ws-export-line{display:flex;align-items:center;gap:20px;margin:24px 0}.ws-source-links{display:flex;gap:18px;flex-wrap:wrap;margin:24px 0;font-size:14px}.ws-source-links:empty{display:none}.ws-history{list-style:none;margin:0;padding:0}.ws-history li{padding:20px 0;border-bottom:1px solid var(--line,#dce4eb);display:grid;grid-template-columns:1fr 1.5fr;gap:24px}.ws-history h3{margin:0 0 9px}.ws-history dl{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:0}.ws-own-status>p:last-child{margin:20px 0 0}.ws-date-options{display:grid;gap:12px;margin:0 0 24px}.ws-date-option{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:24px;align-items:center;border:1px solid var(--line,#dce4eb);border-radius:10px;padding:18px 20px;background:#f8fbfc}.ws-availability{display:flex;align-items:center;gap:15px;font-weight:400;cursor:pointer}.ws-availability input{width:22px;height:22px;min-height:22px;flex:0 0 22px;accent-color:var(--teal,#087e74)}.ws-availability strong{display:block;font-size:18px;font-weight:650;margin-bottom:4px}.ws-availability small{display:block;line-height:1.6}.ws-date-option label[for]{font-size:12px}.ws-ack{padding:15px 0;line-height:1.6}.ws-date-option:has(input:checked){background:#eef9f5;border-color:#85c6b5}.ws-import-preview{margin-top:24px;padding-top:24px;border-top:1px solid var(--line,#dce4eb)}.ws-import-preview details{margin:18px 0}.ws-import-preview summary{cursor:pointer}.ws-import-counts{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0}.ws-import-counts>div{padding:12px 18px;background:#f3f7fa;border-radius:8px;min-width:115px}.ws-import-counts dd{font-weight:700;font-size:20px}.ws-warning-list{padding:18px 18px 18px 38px;background:#fff8e8;border:1px solid #e3cd94;border-radius:8px}.ws-json{font-size:12px;line-height:1.6;background:#f3f7fa;padding:16px;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.ws-table-scroll{overflow:auto}.ws-table-scroll table{min-width:450px}.ws-grants{list-style:none;margin:0;padding:0}.ws-grants li{display:flex;justify-content:space-between;align-items:start;gap:22px;padding:18px 0;border-bottom:1px solid var(--line,#dce4eb)}.ws-grants li>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}.ws-grants li span{font-size:14px}.ws-grants li button{flex-shrink:0}.ws-candidate{padding:16px;background:#f5f9fb;border:1px solid var(--line,#dce4eb);border-radius:8px}.ws-candidate span{display:grid;gap:4px;overflow-wrap:anywhere}.ws-grant-dates{margin-top:24px}.ws-grant-dates legend{font-size:16px}.ws-grant-dates .check{margin:12px 0}[data-ws-search]{display:flex;align-items:end;gap:14px}[data-ws-search] .field{flex:1}[data-ws-search] button{flex-shrink:0}[data-ws-candidates]:not(:empty){margin-top:28px}.ws-dialog{max-width:600px}.ws-dialog p{overflow-wrap:anywhere}.ws-dialog-notice{padding:14px;background:#fff8e8;border-left:3px solid #d2ad58;font-size:14px;margin-top:20px}.ws-dialog [data-ws-dialog-error],.ws-dialog [data-error]{color:#9f3342}.ws-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:900px){.ws-course-intro{grid-template-columns:1fr;gap:20px}.ws-course-intro dl{display:flex;flex-wrap:wrap;gap:25px}.ws-result-fields{grid-template-columns:1fr 1fr}.ws-result-fields .field:last-child{grid-column:1/-1}.ws-history li{grid-template-columns:1fr;gap:18px}}@media(max-width:600px){.ws-heading{gap:10px}.ws-pilot-tag{font-size:11px;padding:5px 9px}.ws-heading h1{font-size:28px}.ws-pilot-banner{padding:17px 18px;font-size:14px}.ws-course-intro{padding-top:2px}.ws-section-heading{display:block}.ws-section-heading>button{margin-bottom:18px}.ws-session-meta{padding:22px;display:block}.ws-session-meta h3{font-size:23px}.ws-counts{margin-top:20px;padding-top:16px;border-top:1px solid #456071;gap:38px}.ws-person{padding:20px 17px}.ws-person-heading{gap:12px}.ws-person-heading h3{font-size:18px}.ws-person-heading button{font-size:12px}.ws-result-fields{grid-template-columns:1fr;gap:13px}.ws-result-fields .field:last-child{grid-column:auto}.ws-person-save{align-items:stretch;flex-direction:column;gap:12px}.ws-date-option{grid-template-columns:1fr;gap:17px;padding:18px}.ws-date-option>.field{padding-left:37px}.ws-history dl,.ws-result-summary{grid-template-columns:1fr;gap:12px}.ws-history dl>div,.ws-result-summary>div{display:flex;justify-content:space-between;gap:16px}.ws-export-line{align-items:start;flex-direction:column;gap:12px}.ws-export-line button{width:100%}.ws-organizer{padding:20px 17px}.ws-grants li{flex-direction:column;gap:14px}[data-ws-search]{align-items:stretch;flex-direction:column}[data-ws-grant]>.primary,[data-ws-preferences] .primary{width:100%}.ws-tabs{margin-left:-4px;margin-right:-4px}.ws-tabs button{padding:12px;font-size:14px}.ws-source-links{gap:14px}.ws-course-intro dl{gap:18px}.ws-import-counts{gap:10px}.ws-import-counts>div{min-width:100px;padding:10px 12px}}
.ws-assessment-actions{display:flex;gap:10px;flex-wrap:wrap}.ws-person-save>.ws-assessment-saved{color:var(--teal,#087e74);font-weight:650}.ws-person:has([data-ws-edit-assessment]){border-left:3px solid #76bba9}@media(max-width:600px){.ws-assessment-actions>*{flex:1}}
