:root{
  color-scheme:light;
  --nav:#152d51;--blue:#245fc0;--ink:#152a44;--muted:#536880;
  --line:#d9e5f1;--soft:#eaf2fd;--page:#eef4fa;--warning:#87500e;
  font-family:system-ui,"Microsoft JhengHei","PingFang TC",sans-serif;
}
.profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.profile-metrics .card{margin:0;min-width:0}
.profile-metrics span{display:block;color:var(--muted);font-size:.9rem}
.profile-metrics strong{display:block;font-size:clamp(1.1rem,2.3vw,1.65rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.profile-values{margin:.75rem 0}
.profile-values div{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid var(--line)}
.profile-values dd{margin:0;font-variant-numeric:tabular-nums;font-weight:650}
.advance-card{overflow-wrap:anywhere}
.advance-card details,.advance-card form{margin-top:.8rem}
.advance-card summary{cursor:pointer;padding:.6rem 0}
@media(max-width:700px){.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.advance-card button{min-height:44px}}
*{box-sizing:border-box}
body{margin:0;background:var(--page);color:var(--ink);line-height:1.55;font-size:1rem}
a{color:var(--blue);text-underline-offset:.2em}
button,input,select,textarea{font:inherit}
input,select,textarea{width:100%;min-width:0;border:1px solid #a7bbce;border-radius:9px;background:white;padding:.58rem .7rem;color:var(--ink)}
textarea{resize:vertical}
select{appearance:none;padding-right:1.9rem;background-image:linear-gradient(45deg,transparent 50%,#47627e 50%),linear-gradient(135deg,#47627e 50%,transparent 50%);background-position:calc(100% - 14px) 55%,calc(100% - 9px) 55%;background-size:5px 5px;background-repeat:no-repeat}
button{padding:.57rem .85rem;background:var(--blue);color:white;border:1px solid var(--blue);border-radius:8px;font-weight:650;cursor:pointer;white-space:nowrap}
button:hover{background:#174d9f;border-color:#174d9f}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #73a0f0;outline-offset:2px}
h1,h2,p{margin:0}
h1{font-size:clamp(1.75rem,3.8vw,2.65rem);line-height:1.2;letter-spacing:-.018em}
h2{font-size:1.21rem;margin:0 0 .55rem}
h2 span{font-size:.94rem;margin-left:.25rem;color:var(--muted);font-weight:550}
.top{background:var(--nav);color:white;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.7rem 1.5rem;padding:.8rem clamp(1rem,4vw,2.75rem)}
.top>div:first-child{display:flex;align-items:center;gap:.65rem;font-weight:720}
.mark{border-radius:10px;background:#4f83df;color:white;padding:.38rem .45rem;font-weight:850;letter-spacing:-.045em}
.top nav{display:flex;gap:.2rem 1.15rem;flex-wrap:wrap}
.top nav a{color:#ebf3ff;text-decoration:none;padding:.3rem 0}
.top nav a:hover{text-decoration:underline}
.identity{display:flex;align-items:center;gap:.75rem;color:#cddcfa;font-size:.92rem}
.logout button,.quiet button{font-size:.9rem;padding:.30rem .56rem}
.logout button{background:transparent;border-color:#7490b5}
.quiet button{color:#294c70;background:#f1f6fd;border-color:var(--line)}
main{max-width:1150px;padding:1.35rem clamp(1rem,4vw,2.5rem) 3rem;margin:auto}
.intro{padding:1.15rem 0 1.4rem}
.intro p{color:var(--muted);font-weight:600;margin-bottom:.2rem}
.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:1.05rem 1.2rem;margin-bottom:1rem;min-width:0}
.card.login{max-width:420px}
.stack{display:grid;gap:1rem}
.inline,.schedule-form,.pay-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.7rem}
.toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.8rem}
label{display:grid;gap:.28rem;min-width:0;font-size:.92rem;font-weight:620}
.schedule-form label{flex:1 1 125px}
.pay-form label{flex:1 1 145px}
.pay-form label:last-of-type{flex-basis:160px}
.note{margin:.1rem 0 .85rem;color:var(--muted);font-size:.93rem}
.status{padding:.25rem .65rem;background:var(--soft);color:#335887;border-radius:8px;white-space:nowrap}
.publish{display:flex;justify-content:flex-end;margin-bottom:1rem}
.publish .note{margin:0}
.section-heading,.day-counts{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .65rem}
.section-heading{justify-content:space-between;margin-bottom:.8rem}
.section-heading h2{margin:0}
.tag{display:inline-block;padding:.14rem .5rem;border-radius:7px;background:var(--soft);color:#335887;font-size:.86rem;font-weight:650}
.tag-missing{background:#fff0e2;color:#92430e}
.tag-extra{background:#e1f4ee;color:#176349}
.person,.weekday{display:block}
.weekday{font-size:.79rem;color:var(--muted)}
.custom-shift{margin-top:.9rem;padding-top:.85rem;border-top:1px solid var(--line)}
.custom-shift summary,.shift-details summary{color:#244b76;font-weight:650;cursor:pointer}
.shift-details[open] summary{margin-bottom:.65rem}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.metrics p{font-size:.92rem;color:var(--muted)}
.metrics strong{font-size:clamp(1.03rem,2.25vw,1.6rem);line-height:1.4;font-variant-numeric:tabular-nums}
.pay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .8rem}
.total{margin-top:.9rem;padding:.65rem .75rem;background:var(--soft);border-radius:8px;color:#173d6d}
.warnings,.notice{padding:.65rem .8rem;background:#fff3df;color:var(--warning);border:1px solid #f2d8ae;border-radius:9px}
.notice{margin-bottom:.8rem}
.warnings{padding-left:1.85rem;margin-bottom:0;font-size:.92rem}
.scroll{overflow:auto}
table{width:100%;border-collapse:collapse;white-space:nowrap}
th,td{padding:.64rem .72rem;text-align:left;border-bottom:1px solid var(--line);font-size:.93rem}
th{color:#244b76;background:var(--soft)}
td:first-child{font-variant-numeric:tabular-nums}
tbody tr:last-child td{border-bottom:0}
.month-steps,.schedule-jumps{display:flex;flex-wrap:wrap;gap:.45rem}
.month-step,.schedule-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:.4rem .78rem;border-radius:9px;border:1px solid var(--line);background:white;text-decoration:none;font-weight:650}
.month-step:hover,.schedule-jumps a:hover{background:var(--soft)}
.schedule-jumps{margin:0 0 1rem}
.calendar-card{max-width:780px}
.month-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem}
.calendar-weekday{color:var(--muted);font-size:.84rem;text-align:center;padding:.22rem 0;font-weight:650}
.calendar-pick,.calendar-choice{display:block;position:relative;cursor:pointer}
.calendar-pick input,.calendar-choice input{position:absolute;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.calendar-tile{display:flex;min-height:74px;flex-direction:column;align-items:center;gap:.2rem;padding:.42rem .12rem;border:1px solid var(--line);border-radius:10px;background:#fff}
.calendar-tile strong{font-variant-numeric:tabular-nums;font-size:1.03rem;line-height:1.3}
.calendar-pick.is-weekend .calendar-tile{background:#f5f8fc}
.calendar-pick.is-today .calendar-tile strong{color:var(--blue);text-decoration:underline;text-underline-offset:.21em}
.calendar-pick input:checked+.calendar-tile{background:#e8f0ff;border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.calendar-pick input:focus-visible+.calendar-tile,.calendar-choice input:focus-visible+span{outline:3px solid #73a0f0;outline-offset:2px}
.shift-pill{display:inline-block;max-width:100%;border-radius:5px;padding:.10rem .32rem;line-height:1.35;font-weight:680;font-size:.78rem}
.shift-early{color:#17498a;background:#e4efff}
.shift-mid{color:#0f6158;background:#dcf3ee}
.shift-late{color:#563589;background:#eee6f9}
.shift-cleaning{color:#375c30;background:#e6f0e1}
.shift-off{color:#295742;background:#e1f4ee}
.shift-annual{color:#633879;background:#f0e7f7}
.shift-pending{color:#864605;background:#fff0d4}
.shift-declined{color:#8f341e;background:#fcece4}
.shift-custom,.shift-empty{color:var(--muted);background:#f2f5f9}
.calendar-actions{min-inline-size:0;margin:1rem 0 .8rem;padding:.8rem 0 0;border:0;border-top:1px solid var(--line)}
.calendar-actions legend{padding-right:.5rem;color:#244b76;font-size:.92rem;font-weight:650}
.calendar-choices,.calendar-submit{display:flex;flex-wrap:wrap;gap:.5rem}
.calendar-choice span,.secondary{display:block;border:1px solid #a8bfdc;border-radius:8px;padding:.55rem .65rem;background:#fff;color:#244b76}
.calendar-choice input:checked+span{border-color:var(--blue);background:var(--blue);color:#fff}
.calendar-submit{justify-content:flex-end}
.secondary:hover{background:var(--soft);border-color:var(--blue)}
.calendar-footnote{margin:.75rem 0 0}
.roster-scroll{border:1px solid var(--line);border-radius:10px}
.roster-grid{border-collapse:separate;border-spacing:0}
.roster-grid th,.roster-grid td{padding:0;text-align:center;min-width:3.4rem;border-right:1px solid var(--line)}
.roster-grid tr>:first-child{position:sticky;left:0;z-index:1;padding:.4rem .55rem;text-align:left}
.roster-grid tbody th{background:#f8fbff}
.roster-grid td a,.roster-grid th a{display:flex;min-height:44px;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;padding:.24rem .18rem;color:inherit;text-decoration:none}
.roster-grid td a:hover,.roster-grid th a:hover{background:#dfeafe}
.roster-grid a:focus-visible{outline-offset:-3px}
.roster-grid small{color:var(--muted);font-size:.75rem}
.section-heading>.note{margin:0}
.day-heading{font-weight:700;color:#244b76;margin:0 0 .6rem}
.day-shifts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}
.day-shift{border:1px solid var(--line);border-radius:10px;padding:.55rem .65rem}
.day-shift-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.25rem}
.day-shift p{font-size:.82rem;color:var(--muted);margin:.25rem 0}
.day-shift .person{font-size:.87rem}
.shift-details{margin-top:.8rem}
.portal-url{max-width:420px}
.portal-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}
.portal-main{min-width:0}
.portal-sidebar{position:sticky;top:0;height:100vh;padding:28px 20px;background:var(--nav);color:white;display:flex;flex-direction:column;gap:32px}
.portal-brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;white-space:nowrap}
.portal-brand .mark{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#427ae1}
.portal-brand small{display:block;color:#cbdcfa;font-size:.82rem}
.portal-sidebar nav{display:grid;gap:5px}
.portal-sidebar nav a{color:#e0eafd;padding:10px 12px;text-decoration:none;border-radius:9px;font-size:.94rem;white-space:nowrap}
.portal-sidebar nav a:hover,.portal-sidebar nav a[aria-current="page"]{background:#284b7d;color:white}
.portal-store{margin-top:auto;padding-top:15px;border-top:1px solid #3a5273;color:#cbdcfa;font-size:.84rem}
.portal-top{background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
.portal-top nav a,.portal-top .identity{color:#244b76}
.portal-top .logout button{color:#244b76;border-color:#a7bbce}
.portal-top .logout button:hover{background:var(--soft)}
@media(max-width:1070px){
  .portal-shell{grid-template-columns:184px minmax(0,1fr)}
  .portal-sidebar{padding-inline:14px}
}
@media(max-width:760px){
  .portal-shell{display:block}
  .portal-sidebar{position:relative;height:auto;padding:13px 16px;gap:11px}
  .portal-sidebar nav{display:flex;overflow:auto;gap:2px}
  .portal-sidebar nav a{padding:8px 9px}
  .portal-store{display:none}
  .portal-brand .mark{width:39px;height:39px}
}
@media(max-width:680px){
  .top{align-items:flex-start}
  .top nav{order:3;width:100%}
  .metrics{grid-template-columns:1fr;gap:0}
  .pay-grid{grid-template-columns:1fr;gap:0}
  .card{padding:.9rem 1rem}
  .schedule-form button,.pay-form button{margin-top:.25rem}
  .day-shifts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .calendar-card{padding:.8rem .6rem}
  .month-calendar{gap:.22rem}
  .calendar-tile{min-height:62px;border-radius:7px}
  .shift-pill{font-size:.70rem;padding:.12rem .15rem}
}

[hidden]{display:none!important}
button:disabled{cursor:default;opacity:.58}
button.secondary:hover{color:#163a67;background:#ecf4fe;border-color:#86aad7}
.hr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}
.hr-metric{position:relative;display:grid;gap:.25rem;min-width:0;padding:1rem;text-decoration:none;
  border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink)}
.hr-metric:hover{border-color:#88abd7;background:#f8fbff}
.hr-metric>span:first-child{font-weight:680}
.hr-metric>strong{color:#1d4d85;font-size:clamp(1.5rem,3vw,2rem);font-variant-numeric:tabular-nums;line-height:1.25}
.hr-metric>strong small{font-size:.9rem;font-weight:600}
.hr-metric.requires-attention strong{color:#99461f}
.metric-link{font-size:.84rem;color:var(--muted)}
.hr-actions,.board-actions,.board-move,.review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.46rem}
.review-actions .exception-link{color:var(--warning)}
.leave-review-card{max-width:43rem}
.leave-review-form button{justify-self:start}
.exception-log{margin-top:1rem}
.exception-log h3{margin-bottom:.55rem}
.exception-reason{display:block;min-width:9rem;max-width:18rem;white-space:normal;overflow-wrap:anywhere}
.hr-actions{margin:.8rem 0 1.1rem}
.hr-day .action-link{margin-top:.8rem}
.action-link{display:inline-flex;align-items:center;min-height:42px;padding:.4rem .68rem;
  border:1px solid var(--line);border-radius:8px;background:#fff;text-decoration:none;color:#235284;font-weight:650}
.action-link:hover{background:var(--soft)}
.action-link.primary-link{background:var(--blue);border-color:var(--blue);color:#fff}
.action-link.primary-link:hover{background:#174d9f}
.filter-heading{display:flex;align-items:end;flex-wrap:wrap;gap:.4rem .75rem;margin-bottom:.6rem}
.filter-heading label{flex:0 1 340px}
.filter-heading .note{margin:0 0 .45rem}
.people-table{margin-bottom:.5rem}
.people-table tbody th{background:#fff;white-space:nowrap}
.people-table tbody tr:hover>*{background:#f5f9ff}
.person-card>p{margin-bottom:.7rem}
.person-card .inline{margin:.75rem 0}
.person-private{border-top:1px solid var(--line);padding:.6rem 0 .1rem}
.person-private summary,.shift-entry>summary{cursor:pointer;font-weight:660;color:#244b76;min-height:32px}
.person-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.6rem 0 .2rem}
.person-details>div{padding:.55rem .7rem;background:#f6f9fd;border-radius:8px}
.person-details dt{color:var(--muted);font-size:.86rem}
.person-details dd{margin:0;overflow-wrap:anywhere}
.practitioner-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:.75rem 0}
.practitioner-metrics div{display:grid;gap:.25rem;background:var(--soft);padding:.65rem .8rem;border-radius:8px}
.practitioner-metrics span{font-size:.86rem;color:var(--muted)}
.practitioner-metrics strong{font-variant-numeric:tabular-nums;line-height:1.35}
.card .table-scroll{overflow:auto;margin-top:.55rem}
@media(max-width:800px){
  .practitioner-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.schedule-board{padding:1rem;scroll-margin-top:1rem}
.board-controls{padding:.65rem;background:#f4f8fd;border:1px solid var(--line);border-radius:10px;margin-bottom:.7rem}
.brushes{display:flex;gap:.36rem;flex-wrap:wrap;margin-bottom:.55rem}
.brush{min-height:40px;padding:.34rem .62rem;border-color:#c4d3e5;background:#fff;color:#244b76;font-size:.91rem}
.brush:where(.shift-early){background:#e4efff}
.brush:where(.shift-mid){background:#dcf3ee}
.brush:where(.shift-late){background:#eee6f9}
.brush:where(.shift-cleaning){background:#e6f0e1}
.brush:where(.shift-off){background:#eaf3e5}
.brush[aria-pressed=true],.brush:hover{background:#1e4d84;border-color:#1e4d84;color:white}
.board-actions button,.board-move button{min-height:40px;padding:.33rem .58rem;font-size:.91rem}
.board-note{min-height:1.45em;margin:.45rem 0 0}
.default-fill{justify-content:flex-start}
.leave-balances{display:grid;gap:.5rem;margin-bottom:.85rem}
.leave-balance{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .65rem;background:#f1f6fd;border-radius:.5rem;padding:.5rem .65rem}
.leave-balance>span:not(.tag){font-size:.9rem;color:var(--muted)}
.leave-adjustment{border-top:1px solid var(--line);padding-top:.75rem;margin-top:.75rem}
.leave-adjustment h3{font-size:1rem;margin:0 0 .3rem}
#leave-balances h3{margin:1rem 0 .3rem}
.board-error{color:#9a341a;font-weight:650}
.roster-scroll{position:relative;max-height:min(25rem,65vh);border:1px solid var(--line);border-radius:9px}
.roster-grid thead th{position:sticky;top:0;z-index:2;background:#edf4fe}
.roster-grid thead tr>th:first-child{z-index:3}
.roster-grid tr>:first-child{width:8.4rem;min-width:8.4rem}
.roster-grid tbody tr>th:first-child{background:#f7faff;box-shadow:2px 0 0 #e8eef7;padding:.3rem .45rem}
.roster-grid tbody th a{min-height:0;display:inline-flex;padding:.2rem 0;text-align:left;font-weight:680}
.roster-grid tbody th small{display:block;font-weight:500}
.roster-grid thead th.weekend,.roster-grid td.weekend{background:#f2f7fc}
.roster-grid .cell-pending{box-shadow:inset 0 0 0 1px #e7b264}
.roster-grid .cell-edit{box-shadow:inset 0 0 0 2px #3873bb;background:#e8f2ff}
.roster-grid td>a{min-height:52px}
.header-checks{height:1em;display:flex;align-items:center;gap:.1rem;line-height:1}
.header-check{display:inline-block;padding:.1rem .2rem;border-radius:4px;font-size:.66rem;font-weight:700;line-height:1.25}
.check-gap{background:#fcece4;color:#943915}
.check-extra{background:#dbf2e9;color:#1d654c}
.board-legend{margin:.6rem 0 0;line-height:1.8}
.board-legend .header-check{margin-left:.4rem}
.legend-time{margin-left:.5rem;display:inline-block}
.workbench-dialog{width:min(30rem,calc(100% - 1.5rem));max-height:85vh;padding:1.1rem;
  border:1px solid #b9cce4;border-radius:14px;color:var(--ink);background:#fff;box-shadow:0 10px 45px #19395e3b}
.workbench-dialog::backdrop{background:#0b20326b}
.workbench-dialog h3{margin:0;font-size:1.06rem}
.workbench-dialog button,.workbench-dialog a{min-height:44px}
.workbench-dialog input[type=date]{min-height:44px}
.edit-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}
.edit-options button{white-space:normal;text-align:left}
.edit-options .shift-early{background:#e4efff}
.edit-options .shift-mid{background:#dcf3ee}
.edit-options .shift-late{background:#eee6f9}
.edit-options .shift-cleaning,.edit-options .shift-off{background:#e6f0e1}
.fill-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.workbench-dialog .board-actions{justify-content:flex-end}
.calendar-submit{align-items:center}
.calendar-submit [data-picked]{margin:0 auto 0 0}
.level-card{border-top:1px solid var(--line);padding:.7rem 0}
.level-card summary{cursor:pointer;font-weight:650;color:#244b76}
.permission-form{padding-top:.8rem}
.permission-form>label{max-width:26rem}
.permission-form>button{justify-self:start}
.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.65rem}
.permission-group{min-width:0;margin:0;border:1px solid var(--line);border-radius:8px;padding:.55rem .7rem;display:grid;align-content:start;gap:.45rem}
.permission-group legend{font-weight:650;color:#244b76;padding:0 .25rem}
.permission-group label{display:flex;align-items:flex-start;gap:.5rem;font-weight:500}
.permission-group input{width:1.08rem;height:1.08rem;flex:none;margin:.2rem 0 0;accent-color:var(--blue)}
.notice-editor,.notice-entry{max-width:50rem}
.notice-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .65rem}
.notice-entry time{font-size:.87rem;color:var(--muted)}
.notice-text{white-space:pre-wrap;overflow-wrap:anywhere}
.notice-entry .review-actions{margin-top:.75rem}
.unread-count,.notice-new{display:inline-block;background:#fff0d4;color:#864605;border-radius:5px;
  padding:.06rem .33rem;font-size:.78em;font-weight:650;white-space:nowrap}
.notice-tabs a[aria-current=page]{background:#245fc0;border-color:#245fc0;color:#fff}
.notice-delete>summary{cursor:pointer;color:#952f21;padding:.38rem .48rem;font-size:.91rem;font-weight:650}
.notice-delete-form{display:grid;gap:.5rem;padding:.55rem;border:1px solid #edd1ca;border-radius:8px;background:#fffbfa}
.notice-delete-form button{justify-self:start;background:#973c2d;border-color:#973c2d}
.notice-delete-form button:hover{background:#7e2e22;border-color:#7e2e22}
.notice-confirm{display:flex;align-items:flex-start;gap:.4rem;font-size:.88rem}
.notice-confirm input{width:1.05rem;height:1.05rem;margin:.16rem 0 0;flex:none}
.business-window{margin:.65rem 0 0}
.practitioner-account-form,.practitioner-enrollment form{margin-top:.65rem}
.practitioner-calendar .calendar-tile{min-height:3.8rem}
.practitioner-day.is-today .calendar-tile strong{color:var(--blue);text-decoration:underline;text-underline-offset:.21em}
.practitioner-hours{font-size:.76rem;font-variant-numeric:tabular-nums;max-width:100%;text-align:center}
.practitioner-plan .calendar-submit{margin-top:.8rem;justify-content:space-between;align-items:center}
.practitioner-plan .calendar-submit p{margin:0}
@media(max-width:480px){
  .practitioner-calendar{gap:.18rem}
  .practitioner-hours{font-size:.65rem;line-height:1.2}
}
.my-hours{margin:.3rem 0 .85rem}
.shift-entry>form{margin-top:.6rem}
@media(max-width:800px){
  .hr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hr-metric{padding:.75rem}
}
@media(max-width:480px){
  .board-controls{padding:.52rem}
  .schedule-board{padding:.75rem .62rem}
  .board-actions,.board-move,.brushes{gap:.3rem}
  .board-actions button,.board-move button,.brush{min-height:44px;padding:.3rem .42rem}
  .roster-grid tr>:first-child{min-width:7.1rem;width:7.1rem}
  .roster-grid tbody th a{font-size:.85rem}
  .roster-grid td,.roster-grid th{min-width:3.07rem}
  .edit-options button{font-size:.92rem}
  .person-details{grid-template-columns:1fr}
}
