/* Layout only. Typography, surfaces, controls and navigation come from Books. */
#manager-workspace{max-width:1000px;margin:0 auto}
#panel-checkin .checkin-panel-body{padding:22px 26px}
#panel-checkin .panel-heading+.checkin-panel-body{padding-top:0}
#panel-checkin .checkin-controls{display:flex;align-items:end;flex-wrap:wrap;gap:16px}
#panel-checkin .checkin-controls label{flex:1;min-width:170px;margin:0}
#panel-checkin .checkin-cash{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#panel-checkin .checkin-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 24px}
#panel-checkin .checkin-actions p{flex:1}
@media(max-width:600px){#panel-checkin .checkin-cash{grid-template-columns:1fr;gap:0}#panel-checkin .checkin-panel-body{padding:18px}#panel-checkin .checkin-actions p{flex-basis:100%;margin:0}#panel-checkin .checkin-actions button{flex:1}}
#panel-checkin #checkin-team-form{display:grid;gap:14px;margin-top:18px}
#panel-checkin #checkin-team-form[hidden]{display:none}
#panel-checkin #checkin-team-form>button{justify-self:start}
#panel-checkin #checkin-team-status:not(:empty){margin-top:16px}
#panel-checkin #checkin-team-list{margin-top:18px;overflow-wrap:anywhere}
@media(max-width:600px){#panel-checkin #checkin-team-list .group-row,#panel-checkin #checkin-reports-list .group-row{grid-template-columns:minmax(0,1fr);gap:10px}#panel-checkin #checkin-team-list .group-row>button,#panel-checkin #checkin-reports-list .group-row>button{justify-self:start}}
#panel-checkin .checkin-manager-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:320px}
@media(max-width:600px){#panel-checkin .checkin-manager-actions{justify-content:flex-start}}

#manager-profile{max-width:560px;margin:32px auto}
#manager-profile .panel-heading{display:block}
#panel-checkin #checkin-back{margin-bottom:20px}

/* Keep closing tasks readable and tappable on narrow phones. */
#panel-checkin .check-label{display:flex;align-items:flex-start;gap:12px;min-height:48px;padding:12px 0;line-height:1.5;cursor:pointer}
#panel-checkin .check-label input{flex:0 0 22px;width:22px;height:22px;margin:2px 0 0}
#panel-checkin .group-row>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
 .manager-page .app-header{display:flex;flex-wrap:wrap;gap:12px;padding:14px 18px}
 .manager-page .app-header>.badge,.manager-page #mobile-context-slot{display:none}
 .manager-page .app-header .brand{min-width:0;flex:1}
 .manager-page .app-header .brand-wordmark{width:120px;height:auto}
 .manager-page .app-header .brand-product{font-size:18px}
 .manager-page .app-header button{min-height:44px}
 #panel-checkin input,#panel-checkin select,#panel-checkin textarea{font-size:16px;max-width:100%;box-sizing:border-box}
 #panel-checkin .checkin-controls{gap:12px}
 #panel-checkin .checkin-controls label{min-width:0;flex-basis:100%}
 #panel-checkin .checkin-controls button{width:100%;min-height:44px}
 #panel-checkin .group-row{grid-template-columns:minmax(0,1fr);gap:12px}
 #panel-checkin .checkin-actions button{min-height:48px}
 #panel-checkin .panel-heading{padding:18px;flex-wrap:wrap}
 #panel-checkin button{touch-action:manipulation}
}
/* Monthly closing review composes the Books panel and statement tokens. */
#panel-checkin #checkin-review-pane[hidden]{display:none}
#panel-checkin .checkin-month-total{padding:24px;background:var(--subtle);border:1px solid var(--line);border-radius:var(--r-control);margin-bottom:22px}
#panel-checkin .checkin-month-total>strong{display:block;font-size:clamp(32px,5vw,48px);line-height:1.15;letter-spacing:-.04em;color:var(--ink);font-variant-numeric:tabular-nums}
#panel-checkin .checkin-month-total p:last-child{margin-bottom:0}
#panel-checkin .checkin-month-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0 28px}
#panel-checkin .checkin-month-metrics>div{display:grid;gap:6px;min-width:0}
#panel-checkin .checkin-month-metrics span{color:var(--muted);font-size:13px}
#panel-checkin .checkin-month-metrics strong{color:var(--ink);font-size:24px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
#panel-checkin .checkin-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:16px 0}
#panel-checkin .checkin-weekday{color:var(--muted);text-align:center;font-size:12px;padding:6px}
#panel-checkin .checkin-day{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 9px;min-height:86px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);color:var(--ink);box-shadow:none;text-align:left;min-width:0;white-space:normal}
#panel-checkin .checkin-day>span{font-size:12px;color:var(--muted)}
#panel-checkin .checkin-day>strong{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#panel-checkin .checkin-day.submitted{background:var(--ok-tint);border-color:var(--ok-line);color:var(--ok-ink)}
#panel-checkin button.checkin-day:hover{background:var(--hover);border-color:var(--ink)}
#panel-checkin .checkin-day.missing strong,#panel-checkin .checkin-day.future strong{font-weight:400;color:var(--muted)}
#panel-checkin .checkin-day.draft{border-style:dashed}
#panel-checkin .checkin-comparison{border-top:1px solid var(--line);margin-top:28px;padding-top:22px}
#panel-checkin .checkin-comparison .group-row small{display:block}
#panel-checkin #checkin-reports-list{display:block}
@media(max-width:600px){#panel-checkin .checkin-calendar{gap:3px}#panel-checkin .checkin-day{padding:8px 4px;min-height:76px;gap:7px}#panel-checkin .checkin-day>strong{font-size:10px}#panel-checkin .checkin-weekday{padding:4px 0;font-size:10px}#panel-checkin .checkin-month-total{padding:18px}#panel-checkin .checkin-month-metrics{gap:14px}#panel-checkin .checkin-month-metrics strong{font-size:21px}#panel-checkin .checkin-comparison .group-row{grid-template-columns:minmax(0,1fr);gap:8px}}

#panel-checkin .checkin-calendar-compact{display:none}
#panel-checkin .checkin-day>strong{min-width:0;max-width:100%}
@media(max-width:600px){#panel-checkin .checkin-calendar-full{display:none}#panel-checkin .checkin-calendar-compact{display:inline;white-space:nowrap}#panel-checkin .checkin-day{padding:8px 2px}#panel-checkin .checkin-day>strong{white-space:nowrap;overflow-wrap:normal;font-size:10px}#panel-checkin .checkin-comparison .coverage-disclosure{font-size:12px}}

#panel-checkin .checkin-day.submitted>span{color:var(--ok-ink)}
#panel-checkin button.checkin-day.submitted:hover{background:var(--ok-tint);border-color:var(--ok-ink)}
#panel-checkin .checkin-headline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#panel-checkin .checkin-headline .checkin-month-total{margin:0;min-width:0}
#panel-checkin .checkin-headline strong{font-size:clamp(28px,3vw,42px)}
.checkin-detail{padding-bottom:24px}
.checkin-detail-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.checkin-detail-totals>div{display:grid;gap:8px}
.checkin-detail-totals span{font-size:13px;color:var(--muted)}
.checkin-detail-totals strong{font-size:24px;color:var(--ink);font-variant-numeric:tabular-nums}
.checkin-detail section{padding:16px 0;border-top:1px solid var(--line)}
.checkin-detail-task{font-size:14px;line-height:1.6}
.checkin-detail-note{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--subtle);padding:12px;border-radius:var(--r-control)}
@media(max-width:600px){#panel-checkin .checkin-headline{grid-template-columns:1fr}.checkin-detail-totals{grid-template-columns:1fr;gap:12px}.checkin-detail-totals>div{grid-template-columns:1fr auto;align-items:center}.checkin-detail-totals strong{font-size:21px}}

.checkin-deposit-row small{display:block;color:var(--muted);margin-top:6px}.checkin-deposit-row>div{min-width:0}.checkin-deposit-row button{overflow-wrap:anywhere;text-align:left}.checkin-deposit-row>strong{white-space:nowrap}
@media(max-width:600px){.checkin-deposit-row{grid-template-columns:1fr;gap:8px}}
