/* TA310 public asset delivery v2 */

#app-launch-status{min-height:220px}.launch-placeholder{display:grid;gap:14px;margin-top:22px}.launch-placeholder span{display:block;height:18px;border-radius:6px;background:#e8f0f3}.launch-placeholder span:nth-child(2){width:80%}.launch-placeholder span:nth-child(3){width:60%}:root{color-scheme:light}*{box-sizing:border-box}body{margin:0;background:#f3f7fa;color:#102d3d;font:16px/1.65 system-ui,'Microsoft YaHei'}main{max-width:1180px;margin:auto;padding:25px 18px 60px}h1{font-size:28px;margin:4px 0}h2{font-size:21px;margin:0 0 12px}p{margin:8px 0}.sub,small{font-size:14px;color:#516977}button,input,select{font:inherit;border:1px solid #bdcfd8;border-radius:7px;padding:10px 14px;color:inherit;background:white}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button.primary,button.active{background:#0b5971;border-color:#0b5971;color:white}button.cancel{color:#a52e21}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e59700;outline-offset:2px}[hidden]{display:none!important}.card{background:white;border:1px solid #d5e1e7;border-radius:12px;padding:22px;margin:18px 0}.tabs{display:flex;gap:8px;margin:22px 0}.tabs button{flex:1;font-weight:700;padding:13px}.tabs button[aria-selected=true]{box-shadow:inset 0 -4px #7ac5db}.tabs button[aria-selected=true]::before{content:none}#student-app>.tabs #tab-rules:not([aria-selected=true]){background:#9d2440;border-color:#9d2440;color:#fff}.toolbar,.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.toolbar{margin:15px 0}#booking-period{font-weight:700}#booking-status{float:right;font-size:13px;color:#516977}.notice{padding:12px 14px;background:#fff9e6;border-left:4px solid #ffc83d}.error{color:#9a3022}#booking-error:not(:empty){padding:12px 14px;background:#fff0eb;border-left:3px solid #a12c42;border-radius:8px;font-size:14px;line-height:1.65}#booking-error.eligibility-checking:not(:empty){background:#eef6f7;border-color:#538a90;color:#35666d}#booking-time-retry{min-height:38px;font-size:13px}.message{min-height:25px}table{width:100%;border-collapse:collapse;background:white;margin:12px 0}caption{text-align:left;font-weight:700;margin-bottom:8px}th,td{padding:13px 10px;text-align:left;border-bottom:1px solid #d5e1e7}th{font-weight:500;color:white;background:#0b5971}.owned{background:#f1eafd}.current{border-left:4px solid #48a780}.expired{color:#72818a}.attendance-pane{max-width:600px;margin:auto}.attendance-pane label{display:block;margin-top:16px}.attendance-pane input,.attendance-pane select{width:100%;margin-top:6px}.attendance-pane .actions{margin-top:20px}.attendance-pane .actions button{flex:1;background:#0b5971;color:white}.result{white-space:pre-line;padding:14px;margin-top:18px;border-radius:7px;background:#e9f5f0;color:#144634}.result.error{background:#fff0ed;color:#9a3022}.record{border-top:1px solid #d5e1e7;padding:14px 0}.record small{display:block}dialog{width:calc(100% - 32px);max-width:450px;padding:24px;border:1px solid #d5e1e7;border-radius:12px;color:#102d3d}dialog::backdrop{background:#102d3d66}dialog .actions{margin-top:20px}#app-access input{width:100%;margin:12px 0}@media(max-width:500px){main{padding:20px 12px 40px}.card{padding:18px 14px}th,td{padding:12px 7px;font-size:14px}td button{padding:8px 10px}#booking-status{float:none;display:block}.toolbar button{padding:8px 11px}}
.booking-table-wrap{overflow:auto;isolation:isolate;border-radius:8px}.week-grid{min-width:870px;table-layout:fixed;border:1px solid #d5e1e7}.week-grid th,.week-grid td{padding:0;text-align:center;border-right:1px solid #d5e1e7}.week-grid th:last-child,.week-grid td:last-child{border-right:0}.week-grid thead th{height:70px}.week-grid thead th small{display:block;color:inherit;opacity:.85}.week-grid thead th.today{box-shadow:inset 0 -4px #ffc83d}.week-grid th:first-child{position:sticky;left:0;width:128px;z-index:1}.week-grid thead th:first-child{background:#084359;z-index:2}.week-grid tbody th{background:#edf3f6;color:#102d3d;font-weight:600;font-size:14px;padding:12px 6px}.week-grid td{height:78px}.week-grid .week-slot{display:block;width:100%;height:78px;border:0;border-radius:0;padding:10px 5px;white-space:pre-line;font-size:15px}.week-grid .week-slot:hover:not(:disabled){background:#ecf6fa}.week-grid .week-slot.mine,.week-grid .week-slot.mine:disabled{background:#efe5fb;color:#63338f;font-weight:750;box-shadow:inset 0 0 0 2px #d6bdf1;opacity:1}.week-grid .week-slot.mine:hover:not(:disabled){background:#e8d8f8}.week-grid .week-slot.occupied{background:#f1f3f5;color:#627e8c}.week-grid .week-slot:disabled{opacity:1;color:#72818a;background:#f5f5f5}.week-grid .week-slot:focus-visible{outline-offset:-4px}
.app-download-entry{background:linear-gradient(145deg,#f7fbfa,#fff)}.app-download-entry p{color:#526c77}.app-download-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.app-download-entry a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #0b5971;border-radius:9px;background:#0b5971;color:white;text-decoration:none;text-align:center;font-weight:800}.app-download-entry a:hover{background:#08485d}.app-download-entry a.guide-entry{background:#e6f4ef;border-color:#bbdbd0;color:#226a55}.app-download-entry a.guide-entry:hover{background:#d5ede3}.app-download-entry a:focus-visible{outline:3px solid #e59700;outline-offset:3px}

.week-grid .week-slot.empty:not(:disabled){background:#fff3bd;color:#684a09;font-weight:750;box-shadow:inset 0 0 0 1px #e6c662}.week-grid .week-slot.empty:not(:disabled):hover{background:#ffe69a;color:#513807}
#location-permission-card{border-color:#e8c677;background:#fffaf0;margin:14px 0}#location-permission-card h2{font-size:19px;margin:0 0 6px}#location-permission-card .actions{margin-top:12px}#location-permission-guide{margin-top:12px;color:#654823}#location-permission-link{width:100%;margin-top:10px;font-size:13px}#location-permission-apk{display:inline-flex;align-items:center;justify-content:center;flex:1;min-height:44px;padding:10px 14px;border:1px solid #0b5971;border-radius:7px;background:white;color:#0b5971;text-decoration:none;font-weight:750;text-align:center}#location-permission-apk:hover{background:#e9f5f8}.appeal-card{border:1px solid #d6e5eb;border-radius:9px;padding:12px;margin:10px 0;background:#f8fbfd}.appeal-card strong{display:block}.appeal-card p{margin:5px 0}.appeal-panel .actions{display:flex;gap:8px}.appeal-panel button{min-height:44px}.appeal-dialog label{display:block;margin:12px 0}.appeal-dialog select,.appeal-dialog textarea{display:block;width:100%;margin-top:5px}.appeal-dialog textarea{min-height:100px;resize:vertical}
#attendance-pane #att-checkin-status-card,#attendance-pane #att-attendance-form,#attendance-pane #att-today-duty-empty{display:none!important}
#upcoming-bookings{margin-top:24px;padding-top:18px;border-top:1px solid #d5e1e7}#upcoming-bookings-list{display:grid;gap:12px;margin:14px 0}.booking-card{background:#f7fbfd;border:1px solid #d6e7ee;border-radius:12px;padding:15px 16px}.booking-card strong{display:block;font-size:16px}.booking-card p{font-weight:700;font-size:21px;letter-spacing:.02em;margin:6px 0}.booking-card small{display:block}.booking-card.running{border-left:4px solid #237554;background:#eff8f3}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.info-grid button{min-height:58px;background:#f1f7f9;border-color:#d5e3e8;font-weight:600}.info-grid button.contact-shortcut{background:#fff3c8;border-color:#e3bf69;color:#503b08;font-weight:750}.info-grid button.contact-shortcut:hover,.info-grid button.contact-shortcut:focus-visible{background:#ffe7a0;border-color:#b88628}.important-rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.important-rules-grid button{min-height:64px;background:#fff3f6;border-color:#dba9b8;color:#7d1d39;font-weight:750}#resource-dialog{max-height:calc(100dvh - 32px);overflow:auto}#resource-dialog>header{position:sticky;top:-24px;z-index:1;background:white;padding:10px 0}#resource-dialog .room-use-rules,#resource-dialog .resource-check-list{padding-left:1.55em}#resource-dialog .room-use-rules li,#resource-dialog .resource-check-list li{padding-left:4px;margin:0 0 12px}.history-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.history-dates label{display:block;min-width:0}.history-dates input{display:block;width:100%;padding:10px 4px}.password-security-note{padding:12px 14px;border-left:4px solid #aa3655;border-radius:0 8px 8px 0;background:#fff1f5;color:#7e2842;font-weight:700}.app-about{border-top:4px solid #0b5971}.app-about a{color:#0b5971;overflow-wrap:anywhere}.attendance-rules{margin-top:24px;border-top:1px solid #d5e1e7;padding-top:18px}
#rules-pane .rules-guide{max-width:680px;margin:18px auto;border:1px solid #ead0d8;border-radius:18px;background:linear-gradient(180deg,#fffafa,#fff);box-shadow:0 12px 28px #6e17310d}#rules-pane .rules-warning{padding:22px;border-radius:14px;background:linear-gradient(135deg,#67182f,#9c2b49);color:white}#rules-pane .rules-warning-kicker{display:inline-block;padding:4px 10px;border:1px solid #ffd9e3;border-radius:99px;color:#fff0f4;font-size:12px;font-weight:800;letter-spacing:.08em}#rules-pane .rules-warning h2{margin:12px 0;color:white;font-size:23px;line-height:1.35}#rules-pane .rules-warning p{color:#fff0f4;line-height:1.75}#rules-pane .rules-warning .rules-warning-consequence{margin-top:17px;padding:13px 15px;border-left:4px solid #ffcf7a;border-radius:8px;background:#fff7f9;color:#6c2038;font-weight:700}#rules-pane .rules-guide>h3{margin:22px 0 12px;color:#6e2139;font-size:18px}#rules-pane .important-rules-grid button{min-height:70px;background:#fff;border:1px solid #ddb6c2;border-radius:12px;color:#6e2139;font-weight:800;box-shadow:0 3px 10px #6e17310a}#rules-pane .important-rules-grid button:hover{background:#fff0f4;border-color:#b84d6b}#rules-pane .important-rules-grid button:focus-visible{outline:3px solid #e59700;outline-offset:2px}#rules-pane .rules-guide-footnote{margin-top:16px;padding:10px 12px;border-radius:8px;background:#fff2e3;color:#74401c;font-size:13px}
#resource-dialog .duty-rule-section{padding:13px 0;border-top:1px solid #e3ebee}#resource-dialog .duty-rule-section h3{margin:0 0 10px;color:#0b5971;font-size:18px}#resource-dialog .duty-rule-list{margin:0;padding-left:1.65em}#resource-dialog .duty-rule-list li{padding-left:4px;margin:0 0 12px;line-height:1.7}#resource-dialog .duty-rule-list li::marker{color:#0b5971;font-weight:700}

#student-topbar,#admin-mobile-header{display:flex;position:sticky;top:0;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:10px 18px;background:linear-gradient(110deg,#084359,#0b5971);color:white;z-index:16;text-align:left;box-sizing:border-box}
#student-topbar strong,#admin-mobile-header strong{font-size:19px;line-height:1.4;text-align:left;min-width:0;flex:1;white-space:normal}
#duty-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px;border:1px solid;border-radius:8px;font:inherit;font-size:14px;font-weight:700;line-height:1.4;white-space:nowrap;flex-shrink:0;cursor:pointer;box-shadow:0 2px 6px #071c2433}
#student-topbar #duty-refresh,#admin-mobile-header #duty-refresh{background:#fff!important;color:#084359!important;border-color:#d7ecf1!important}
#admin-mobile-header #duty-refresh{background:#fff7fa!important;color:#722437!important;border-color:#fff!important}
#student-topbar #duty-refresh:hover{background:#eaf5f8!important}#admin-mobile-header #duty-refresh:hover{background:#ffe5ed!important}
#duty-refresh:focus-visible{outline:3px solid #ffc83d;outline-offset:3px}
#duty-view-switch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 9px;border:1px solid #ffffff60;border-radius:8px;color:white!important;background:#ffffff12;text-decoration:none;font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap;flex-shrink:0}
#duty-view-switch:hover{background:#ffffff26}#duty-view-switch:focus-visible{outline:3px solid #ffc83d;outline-offset:3px}#duty-view-switch[hidden]{display:none!important}
@media screen and (min-width:851px){#admin-mobile-header{margin-left:210px;width:calc(100% - 210px)}}
@media screen and (max-width:850px){#student-topbar,#admin-mobile-header{gap:8px;min-height:60px;padding:8px 12px}#student-topbar strong,#admin-mobile-header strong{font-size:17px}#duty-view-switch{font-size:12px;padding:6px 7px}#duty-refresh{font-size:12px;padding:6px 7px}}
@media screen and (max-width:359px){#student-topbar,#admin-mobile-header{gap:6px;padding-left:10px;padding-right:10px}#student-topbar strong,#admin-mobile-header strong{font-size:15px}#duty-view-switch{font-size:11px;padding:6px}#duty-refresh{font-size:11px;padding:6px}}
@media print{#student-topbar,#admin-mobile-header{display:none!important}}


.attendance-pane{max-width:600px;margin:auto;color:#102d3d;font:16px/1.65 system-ui,'Microsoft YaHei'}
.attendance-pane .card{background:white;border:1px solid #d5e1e7;border-radius:12px;padding:22px;margin:18px 0}
.attendance-pane .sub,.attendance-pane small{font-size:14px;color:#516977}.attendance-pane h2{font-size:21px;margin:0 0 12px}
.attendance-pane p{margin:8px 0}.attendance-pane label{display:block;margin-top:16px}.attendance-pane input,.attendance-pane select{display:block;width:100%;margin-top:6px;padding:10px 14px;border:1px solid #bdcfd8;border-radius:7px;background:white;color:#102d3d;font:inherit}
.attendance-pane button{padding:10px 14px;border:1px solid #0b5971;border-radius:7px;background:#0b5971;color:white;font:inherit;cursor:pointer}.attendance-pane button.secondary{background:white;color:#0b5971}.attendance-pane button:disabled{opacity:.45;cursor:default}
.attendance-pane .actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:20px}.attendance-pane .actions button{flex:1}.attendance-pane .notice{padding:12px 14px;background:#fff9e6;border-left:4px solid #ffc83d}
.attendance-pane .result{white-space:pre-line;padding:14px;margin-top:18px;border-radius:7px;background:#e9f5f0;color:#144634}.attendance-pane .result.error{background:#fff0ed;color:#9a3022}.attendance-pane .record{border-top:1px solid #d5e1e7;padding:14px 0}.attendance-pane .record small{display:block}
.attendance-pane #att-checkin-status-card{background:linear-gradient(150deg,#f0fbf4,#fff);border-color:#8fc9a5;box-shadow:0 8px 24px #14463412}.attendance-pane .checkin-status-heading{display:flex;align-items:center;gap:12px}.attendance-pane .checkin-status-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#22744e;color:white;font-size:26px;font-weight:700;flex:0 0 42px}.attendance-pane .checkin-status-kicker{margin:0;color:#386a50;font-size:13px;font-weight:700;letter-spacing:.08em}.attendance-pane .checkin-status h2{margin:0;color:#145335}.attendance-pane .checkin-status-slot{font-weight:700}.attendance-pane .checkin-status-deadline{padding:10px 12px;border-radius:8px;background:#dff3e7;color:#145335;font-weight:700}.attendance-pane .checkin-status.overdue{background:#fff8ef!important;border-color:#e7bb70!important}.attendance-pane .checkin-status.overdue .checkin-status-deadline{background:#fff0d8;color:#8e5015}
.attendance-pane .check-step{border-top:1px solid #d5e1e7;margin-top:24px;padding-top:18px}.attendance-pane .check-item{display:flex;align-items:flex-start;gap:10px;padding:12px;margin:8px 0;border:1px solid #d5e1e7;border-radius:9px;background:#f7fbfd}.attendance-pane .check-item.choice-selected{border-color:#0b5971;background:#e9f5f9;box-shadow:0 0 0 1px #0b5971 inset}.attendance-pane .check-item.choice-selected span{font-weight:650}.attendance-pane .check-item input{width:22px;height:22px;flex:0 0 22px;margin:2px 0}.attendance-pane fieldset{border:0;padding:0;margin:16px 0}.attendance-pane .discipline-notice{background:#fff5f7;border-left:5px solid #a02b4b;padding:16px;margin:16px 0}.attendance-pane .discipline-penalty{background:#fce6ec;padding:12px;border-radius:8px}.attendance-pane .attendance-rules{margin-top:24px;border-top:1px solid #d5e1e7;padding-top:18px}.attendance-pane [hidden]{display:none!important}
.attendance-pane #upcoming-bookings-list{display:grid;gap:12px;margin:14px 0}.attendance-pane .booking-card{background:#f7fbfd;border:1px solid #d6e7ee;border-radius:12px;padding:15px 16px}.attendance-pane .booking-card strong{display:block;font-size:16px}.attendance-pane .booking-card p{font-weight:700;font-size:21px;letter-spacing:.02em;margin:6px 0}.attendance-pane .booking-card small{display:block}.attendance-pane .booking-card.running{border-left:4px solid #237554;background:#eff8f3}
.attendance-pane .today-duty-cards{display:grid;gap:12px;margin-bottom:20px}.attendance-pane .today-duty-card{padding:16px;border:1px solid #cbdfe6;border-radius:14px;background:linear-gradient(140deg,#f2f9fb,#fff);box-shadow:0 5px 18px #1748610b}.attendance-pane .today-duty-card.signed-in{border-color:#a4d2b6;background:linear-gradient(140deg,#edf9f1,#fff)}.attendance-pane .today-duty-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.attendance-pane .today-duty-date{font-size:17px;font-weight:750;color:#16465b}.attendance-pane .today-duty-tag{padding:3px 9px;border-radius:99px;background:#e1eff4;color:#0b5971;font-size:12px;font-weight:750;white-space:nowrap}.attendance-pane .today-duty-card.signed-in .today-duty-tag{background:#dcf2e4;color:#1e6a43}.attendance-pane .today-duty-shift{margin:10px 0!important;font-size:20px;font-weight:750;color:#17394b}.attendance-pane .today-duty-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.attendance-pane .today-duty-times div{padding:8px 10px;border-radius:9px;background:#fff;border:1px solid #e3eef1}.attendance-pane .today-duty-times span{display:block;color:#607782;font-size:12px}.attendance-pane .today-duty-times strong{display:block;color:#183f50;font-size:15px;font-weight:650}
@media(max-width:500px){.attendance-pane .card{padding:18px 14px}}


.roster-time-stack{font-variant-numeric:tabular-nums;text-align:center}.roster-time-stack>span{display:block;line-height:1.6}
:is(#board,#booking-week-layout).duty-week-layout{background:#fff;color:#102d3d;border:1px solid #d5e1e7;border-radius:12px;padding:22px;margin:18px 0;min-width:0;line-height:1.65}
:is(#board,#booking-week-layout) .duty-week-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}
:is(#board,#booking-week-layout) .duty-week-controls button{min-width:0;min-height:46px;padding:10px 14px;border:1px solid #bdcfd8!important;border-radius:7px;background:#fff!important;color:#102d3d!important;font:inherit}
:is(#board,#booking-week-layout) .duty-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:12px 0}
:is(#board,#booking-week-layout) .duty-week-days button{min-width:0;min-height:48px;padding:6px 0!important;border:1px solid #d5e1e7!important;border-radius:7px;background:#fff!important;color:#102d3d!important;font:inherit;font-size:13px!important}
:is(#board,#booking-week-layout) .duty-week-days button small{display:block;font-size:11px;color:inherit}
:is(#board,#booking-week-layout) .duty-week-days button[aria-pressed=true]{background:#0b5971!important;color:#fff!important;border-color:#0b5971!important}
:is(#board,#booking-week-layout) .duty-week-days button::before{content:none!important}
:is(#board,#booking-week-layout) .booking-table-wrap{overflow:auto;isolation:isolate;border:0;border-radius:8px;max-width:100%;overscroll-behavior-x:contain}
:is(#board,#booking-week-layout) .week-grid{width:100%;min-width:870px;margin:12px 0;border-collapse:collapse;table-layout:fixed;border:1px solid #d5e1e7;background:#fff}
:is(#board,#booking-week-layout) .week-grid[data-view=nearby]{width:calc(128px + var(--roster-columns,22) * 106px);min-width:calc(128px + var(--roster-columns,22) * 106px)}
:is(#board,#booking-week-layout) .week-grid th,:is(#board,#booking-week-layout) .week-grid td{display:table-cell;padding:0;text-align:center;border-right:1px solid #d5e1e7!important;border-bottom:1px solid #d5e1e7!important}
:is(#board,#booking-week-layout) .week-grid th:last-child,:is(#board,#booking-week-layout) .week-grid td:last-child{border-right:0!important}
:is(#board,#booking-week-layout) .week-grid thead th{height:70px;background:#0b5971!important;color:#fff!important;font-weight:500}
:is(#board,#booking-week-layout) .week-grid thead th small{display:block;font-size:14px;color:inherit;opacity:.85}
:is(#board,#booking-week-layout) .week-grid thead th.today,:is(#board,#booking-week-layout) .week-grid thead th.day-selected{box-shadow:inset 0 -4px #ffc83d}
:is(#board,#booking-week-layout) .week-grid th:first-child{position:sticky;left:0;width:128px;z-index:1}
:is(#board,#booking-week-layout) .week-grid thead th:first-child{background:#084359!important;z-index:2}
:is(#board,#booking-week-layout) .week-grid tbody th{background:#0b5971!important;color:#fff!important;font-weight:600;font-size:14px;padding:12px 6px}
:is(#board,#booking-week-layout) .week-grid td{height:78px}
:is(#board,#booking-week-layout) .week-grid button.week-slot{display:block;width:100%;height:78px;min-height:78px;border:0!important;border-radius:0;padding:10px 5px!important;white-space:pre-line;font:inherit;font-size:15px!important;background:#fff!important;color:#102d3d!important;opacity:1}
:is(#board,#booking-week-layout) .week-grid button.week-slot:hover:not(:disabled){background:#ecf6fa!important}
:is(#board,#booking-week-layout) .week-grid button.week-slot:disabled{background:#f5f5f5!important;color:#72818a!important}
:is(#board,#booking-week-layout) .week-grid button.week-slot.occupied{background:#f1f3f5!important;color:#627e8c!important;font-weight:400}
:is(#board,#booking-week-layout) .week-grid button.week-slot.mine{background:#efe5fb!important;color:#63338f!important;font-weight:750;box-shadow:inset 0 0 0 2px #d6bdf1}
:is(#board,#booking-week-layout) .week-grid button.week-slot.mine:hover:not(:disabled){background:#e8d8f8!important}
:is(#board,#booking-week-layout) .week-grid button.week-slot.empty:not(:disabled),:is(#board,#booking-week-layout) .week-grid button.week-slot.unbooked{background:#fff3bd!important;color:#684a09!important;font-weight:750;box-shadow:inset 0 0 0 1px #e6c662}
:is(#board,#booking-week-layout) .week-grid button.week-slot.empty:not(:disabled):hover,:is(#board,#booking-week-layout) .week-grid button.week-slot.unbooked:hover:not(:disabled){background:#ffe69a!important;color:#513807!important}
:is(#board,#booking-week-layout) .week-grid button.week-slot.holiday{background:#f6efe8!important;color:#89572e!important;font-weight:700;cursor:pointer}
:is(#board,#booking-week-layout) .week-grid .holiday-title{display:block;font-size:100%;line-height:1.35}
:is(#board,#booking-week-layout) .week-grid .holiday-subtitle{display:block;font-size:80%!important;line-height:1.35;margin-top:5px;color:inherit}
:is(#board,#booking-week-layout) .week-grid button.week-slot.holiday:hover:not(:disabled){background:#eee1d2!important}
:is(#board,#booking-week-layout) .week-grid button.week-slot.holiday:disabled{cursor:default}
:is(#board,#booking-week-layout) .week-grid button.week-slot.uncovered{background:#fff0f0!important;color:#a03c44!important;font-weight:700;cursor:default}
#board .week-grid button.week-slot.uncovered:not(:disabled){cursor:pointer}#board .week-grid button.week-slot.uncovered:not(:disabled):hover{background:#ffe0e0!important}
:is(#board,#booking-week-layout) .week-grid button.week-slot.absent{background:#af2747!important;color:#fff!important;font-weight:800}
:is(#board,#booking-week-layout) .week-grid button.week-slot.absent strong{display:block;font-size:15px;font-weight:800;margin:0;letter-spacing:0}
:is(#board,#booking-week-layout) .week-grid button.week-slot:focus-visible{outline-offset:-4px}
:is(#board,#booking-week-layout) .duty-week-note{font-size:16px;margin:8px 0;padding:12px 14px;background:#fff9e6;border-left:4px solid #ffc83d;color:#516977}
@media(max-width:850px){
 :is(#board,#booking-week-layout).duty-week-layout{padding:16px!important;margin:14px 0}
 :is(#board,#booking-week-layout) .week-grid{min-width:720px}
 :is(#board,#booking-week-layout) .week-grid[data-view=nearby]{width:calc(90px + var(--roster-columns,22) * 90px);min-width:calc(90px + var(--roster-columns,22) * 90px)}
 :is(#board,#booking-week-layout) .week-grid th:first-child{width:90px}
 :is(#board,#booking-week-layout) .week-grid thead th{font-size:14px}
 :is(#board,#booking-week-layout) .week-grid tbody th{font-size:13px;white-space:normal}
}
.week-grid .week-slot.holiday,.week-grid .week-slot.holiday:disabled{background:#f6efe8;color:#89572e;font-weight:700;opacity:1;cursor:default}.week-grid .week-slot.holiday:hover{background:#f6efe8}.week-grid .week-slot.uncovered,.week-grid .week-slot.uncovered:disabled{background:#fff0f0;color:#a03c44;font-weight:700;opacity:1;cursor:default}.week-grid .week-slot.uncovered:hover{background:#fff0f0}.week-grid .week-slot.absent,.week-grid .week-slot.absent:disabled{background:#af2747;color:#fff;font-weight:800;opacity:1;cursor:default}.week-grid .week-slot.absent:hover{background:#af2747} .reward-options{border:0;padding:0;margin:18px 0}.reward-options legend{font-weight:750;margin-bottom:10px}.reward-options label{display:flex;align-items:center;gap:12px;padding:13px;margin:8px 0;border:1px solid #ccdce3;border-radius:10px;background:#f7fafb;cursor:pointer}.reward-options label:has(input:checked){border-color:#0b5971;background:#e7f4f7;box-shadow:inset 3px 0 #0b5971}.reward-options input{width:18px;height:18px;accent-color:#0b5971;margin:0}.reward-options strong,.reward-options small{display:block}.reward-options small{line-height:1.45}.reward-options:disabled label{cursor:default}#booking-dialog .booking-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#booking-dialog .booking-actions button{grid-column:auto;min-width:0;min-height:44px;font-weight:700}#booking-dialog .booking-actions .cancel{background:#fff4f2;border-color:#e4beb9;color:#a52e21}#booking-dialog .booking-actions button:disabled{opacity:1;background:#eef2f4;border-color:#d6e0e5;color:#657984}#booking-dialog .booking-reward-warning{margin:16px 0;padding:14px 16px;border:1px solid #edc3c7;border-left:4px solid #b63040;border-radius:10px;background:#fff0f0;color:#a12c34;font-size:14px;font-weight:700;line-height:1.7}