.strength-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px max(16px,calc((100vw - 1348px)/2));background:var(--navy);color:var(--light-ink)}
.strength-brand{display:flex;align-items:center;gap:10px;text-decoration:none}.strength-brand img{border-radius:8px;object-fit:cover}.strength-brand small{display:block;color:#b8c9db}
.strength-back{display:grid;place-items:center;min-height:44px;font-size:.9rem;white-space:nowrap}
.strength-main{max-width:1120px;margin:auto;padding:16px 16px calc(84px + env(safe-area-inset-bottom));min-width:0}
.strength-nav{position:fixed;bottom:0;inset-inline:0;padding:3px 10px calc(3px + env(safe-area-inset-bottom));display:flex;justify-content:center;background:#101e31;color:white;z-index:3}
.strength-nav a{min-height:52px;min-width:0;flex:1;max-width:220px;display:grid;place-items:center;text-decoration:none;font-size:.93rem;border-radius:8px;text-align:center;color:#d4deea}
.strength-nav a[aria-current]{background:#263e59;color:#fff;font-weight:700}
.strength-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:15px;flex-wrap:wrap}
.strength-heading h1{font-size:clamp(1.3rem,3vw,1.9rem)}.strength-heading p,.strength-muted{color:var(--quiet)}
.strength-controls{display:flex;gap:10px;max-width:100%;flex-wrap:wrap}.strength-controls .field{min-width:0}.strength-controls select{max-width:min(270px,84vw)}
.strength-section{margin:12px 0}.strength-section summary{padding:12px 16px;min-height:48px;cursor:pointer;font-weight:700}
.strength-records,.strength-selection{list-style:none;padding:0;margin:0}.strength-records li{display:grid;gap:4px 12px;padding:10px 13px;overflow-wrap:anywhere}.strength-records li+li{border-top:1px solid var(--line)}.strength-records small{display:block;color:var(--quiet);font-size:.86rem}
.strength-record-meta{display:flex;flex-wrap:wrap;align-items:start;gap:5px;min-width:0}.strength-record-meta .pill{white-space:normal;text-align:start}
.strength-selection{max-height:45dvh;overflow:auto;background:#f5f8fc;border-radius:10px;padding:0 12px}
.strength-selection label,.strength-confirm label{display:flex;align-items:center;gap:10px;min-height:46px}.strength-selection input,.strength-confirm input[type=checkbox]{width:20px;height:20px;flex:none}
.strength-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.strength-form{display:grid;gap:10px}.strength-form textarea{resize:vertical;min-height:70px}.strength-form .field input,.strength-form .field select{max-width:100%}
.strength-toast{position:fixed;bottom:calc(68px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 24px);width:max-content;z-index:12;padding:10px 14px;border-radius:10px;background:#105440;color:white;box-shadow:var(--shadow)}.strength-toast.error{background:#872630}
.strength-main .attendance-panel{--attendance-nav-height:calc(61px + env(safe-area-inset-bottom))}
.strength-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;margin-block:10px}
.strength-filter summary{min-height:44px;display:list-item;padding:9px 12px;font-weight:700;cursor:pointer}
.strength-filter .strength-selection{max-height:14rem}
.strength-work-filters{background:#f5f8fc;border-radius:12px;padding:10px 12px;margin:10px 0}
.strength-filter-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.strength-filter-head .button,.strength-filter .button{min-height:44px}
.strength-filter .strength-selection>.button{margin:5px 0}
.attendance-panel .strength-work-filters{margin:8px 12px}
.strength-conscript-grid{list-style:none;padding:0;margin:10px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.strength-conscript-grid a,.strength-conscript-grid li>span{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;text-decoration:none}
.strength-conscript-grid a strong{font-variant-numeric:tabular-nums}
.strength-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
#conscript-form select{min-height:44px}
.strength-tag-options{display:flex;flex-wrap:wrap;gap:0 20px;border:1px solid var(--line);border-radius:8px;min-width:0}
.strength-tag-options[hidden]{display:none}
.strength-tag-options label{display:flex;align-items:center;gap:8px;min-height:44px}
.strength-tag-options input{width:20px;height:20px}
.strength-main:has(.overview-cover,.strength-overview-analysis){max-width:1380px}
.strength-main .strength-work-cover{min-height:0;gap:8px;padding:12px 14px}
.strength-work-cover h1{font-size:clamp(1.6rem,4vw,2.55rem);line-height:1.12}
.strength-work-cover .cover-content>p{font-size:.92rem;margin-block-start:3px}
.strength-work-cover .cover-date{padding:7px 10px}
.strength-work-cover .cover-date p{font-size:1rem}
.strength-work-cover .cover-date input{min-height:44px}
.strength-main .overview-cover .button,.strength-main .overview-analysis-link .text-link,.strength-back-overview{min-height:44px}
.strength-main .overview-cover select{grid-column:1/-1;min-width:0;width:100%}
.strength-detail-summary{margin-bottom:12px}
.strength-detail-summary h2{overflow-wrap:anywhere}
.strength-area-cards{margin-block:0 12px;grid-template-columns:repeat(4,minmax(0,1fr))}
.strength-area-cards .metric{grid-template-columns:minmax(0,1fr);gap:3px;padding:8px 10px;text-align:start;cursor:pointer}
.strength-area-cards .metric[aria-pressed="true"]{background:#e4effa;border-color:#527ca6;box-shadow:inset 0 0 0 1px #527ca6}
.strength-area-cards .metric-name{line-height:1.2;color:var(--ink);overflow-wrap:anywhere}
.strength-area-cards .metric-data strong{font-size:clamp(1.35rem,4vw,2rem);line-height:1}
.strength-roster-tools{margin-block-end:12px;overflow:clip}
.strength-roster-fields,.strength-attendance-ui .attendance-overview .toolbar{display:grid;gap:8px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);padding:10px 12px}
.strength-roster-fields :is(input,select),.strength-attendance-ui .toolbar :is(input,select){min-width:0;width:100%;min-height:44px}
.strength-filter-drawer{box-shadow:none}
.strength-roster-tools>.strength-filter-drawer{border:0;border-top:1px solid var(--line);border-radius:0}
.strength-filter-drawer>summary{min-height:44px;padding:7px 12px;color:#205b87;font-weight:700;cursor:pointer;align-content:center}
.strength-filter-drawer>summary .pill{margin-inline-start:8px}
.strength-filter-drawer .strength-work-filters{margin:0 8px 8px}
.strength-filter-head{justify-content:flex-end}
.strength-results-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-block:10px}
.strength-results-bar p{font-weight:700}
.strength-roster-pager{padding:0 0 8px;justify-content:space-between;gap:8px}
.strength-roster-pager .button,.strength-results-bar .button,.strength-report-actions .button{min-height:44px}
.strength-result-group+.strength-result-group{margin-block-start:12px}
.strength-result-group .panel-head{background:#f4f8fd;border-radius:var(--radius) var(--radius) 0 0}
.strength-result-group .panel-head h2{font-size:1.06rem}
.strength-result-group .strength-records li:nth-child(even){background:#f8fafd}
.strength-task-actions{display:grid;gap:8px}
.strength-task-actions:has(>details+details):not(:has(details[open])){grid-template-columns:repeat(2,minmax(0,1fr))}
.strength-task-actions>details>summary{padding:9px 12px;align-content:center}
.strength-task-actions>.strength-section{margin:0}
.strength-report-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.strength-report-card{display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.strength-report-heading{display:flex;align-items:start;gap:10px}
.strength-report-heading .metric-icon{flex:none}
.strength-report-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.strength-report-scope{display:grid;gap:8px;padding-block:0;min-width:0}
.strength-report-scope .strength-badges[hidden]{display:none}
.strength-attendance-ui .attendance-overview{padding:10px 12px}
.strength-attendance-ui .attendance-overview .toolbar{padding:0;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);border:0}
.strength-attendance-ui .attendance-mode,.strength-attendance-ui .strength-area-cards{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.strength-attendance-ui .strength-area-cards .metric{padding:7px 5px}
.strength-attendance-ui .strength-area-cards .metric-name{font-size:max(.75rem,12px)}
.strength-attendance-ui .strength-area-cards .metric-data strong{font-size:1.2rem}
.strength-attendance-ui .strength-area-cards .metric-data span{font-size:.75rem}
.strength-attendance-ui .attendance-mode .button{font-size:max(.78rem,12px);padding-inline:4px;white-space:normal;overflow-wrap:anywhere;line-height:1.15;min-height:44px}
.strength-attendance-ui .attendance-progress{background:#f0f6fb;border:1px solid var(--line);border-radius:9px;padding:7px 9px}
.strength-attendance-ui .strength-filter-drawer{margin:8px 12px}
.strength-attendance-ui .strength-roster-pager{padding-inline:12px}
.strength-main .overview-analysis :is(.oa-order-row,.oa-legend-line,.oa-method summary,.standing-groups a){min-height:44px}
.strength-main .overview-analysis .oa-method summary{align-content:center}
@media(min-width:540px){
 .strength-roster-fields{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
 .strength-report-grid,.strength-task-actions:not(:has(details[open])){grid-template-columns:repeat(2,minmax(0,1fr))}
 .strength-records li{grid-template-columns:minmax(0,1fr) minmax(0,auto)}
 .strength-record-meta{justify-content:end}
}
@media(min-width:760px){.strength-work-cover .cover-date{max-width:280px;width:100%;justify-self:end}}
@media(max-width:460px){
 .strength-main{padding-inline:12px}.strength-nav a{font-size:.86rem}.strength-heading{align-items:start}.strength-main .attendance-panel{padding-bottom:8px}
 .strength-area-cards .metric{padding:7px 5px}
 .strength-area-cards .metric-name{font-size:max(.75rem,12px)}
 .strength-area-cards .metric-data span{font-size:.75rem}
 .strength-task-actions>details>summary{font-size:.86rem}
}
@media(max-width:869px){
 body:has(.strength-attendance-ui[data-guided="true"] .attendance-dock) .strength-toast{bottom:calc(212px + env(safe-area-inset-bottom))}
 body:has(.strength-attendance-ui[data-mode="batch"] .attendance-dock) .strength-toast{bottom:calc(262px + env(safe-area-inset-bottom))}
 body:has(.strength-attendance-ui[data-mode="list"] .attendance-dock) .strength-toast{bottom:calc(137px + env(safe-area-inset-bottom))}
}
