.af-page{--af-accent:var(--accent);--af-pad:clamp(1rem,3vw,2rem)}
.af-page :is(h1,h2,h3,p,dl,dd){overflow-wrap:anywhere}
.af-page .manage-main{max-width:75rem;margin-inline:auto}
.af-page .manage-heading{margin-bottom:1.35rem}
.af-page button,.af-page select,.af-page input,.af-page textarea,.af-page summary{min-height:44px;max-width:100%}
.af-page :is(select,input,textarea){min-width:0;width:100%;box-sizing:border-box}
.af-page input[type=date]{display:block;min-width:0}
.af-page select{appearance:none;-webkit-appearance:none;min-height:max(44px,2.75rem);padding:.55rem 2.3rem .55rem .72rem}
.af-page label:has(>select){position:relative}
.af-page label:has(>select)::after{content:"";position:absolute;inset-inline-end:.85rem;bottom:calc(max(44px,2.75rem)/2 - .1rem);width:.4rem;height:.4rem;border:solid var(--muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);pointer-events:none}
.af-page button,.af-page a{white-space:normal;overflow-wrap:anywhere}
.af-page :is(label,form){min-width:0}
#af-message:empty,#af-empty:empty,#af-definitions:empty{display:none}
#af-message:not(:empty),.af-status:not(:empty){border-inline-start:2px solid var(--af-accent);padding:.4rem .75rem}
.af-tools{display:flex;gap:.6rem 1rem;align-items:end;flex-wrap:wrap;margin-bottom:1.25rem}
.af-tools>label{width:min(100%,21rem)}#af-settings{margin-inline-start:auto;max-width:29rem;min-width:0}
#af-views{display:flex;flex-wrap:wrap;align-items:stretch;border-bottom:1px solid var(--line);gap:.15rem .6rem}
#af-views button{border:0;border-radius:0;box-shadow:none;padding:.65rem .15rem;margin-inline-end:.6rem;background:transparent;color:var(--muted);font-weight:500}
#af-views button[aria-current=page]{box-shadow:inset 0 -2px var(--af-accent);color:var(--ink)}
.af-layout{display:grid;grid-template-columns:minmax(14rem,.84fr) minmax(0,1.16fr);gap:clamp(1.2rem,4vw,3.5rem);align-items:start;margin-block:1.5rem}
.af-layout>*{min-width:0}
.af-section-title,.af-row-head,.af-actions{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap}
.af-section-title h2{font-size:1.3rem;letter-spacing:-.03em}.af-section-title span,.af-muted,.af-kicker,.af-day-list,.af-side small{color:var(--muted);font-size:.9rem;line-height:1.5}
#af-rows{list-style:none;padding:0;margin:.65rem 0 1rem}#af-rows li{margin:0;padding:0}
.af-page .af-row{display:grid;justify-content:stretch;justify-items:stretch;text-align:left;gap:.25rem;min-height:4.8rem;width:100%;border:0;border-block-start:1px solid var(--line);border-radius:0;padding:.8rem .75rem;background:transparent;color:var(--ink)}
.af-row[aria-pressed=true]{box-shadow:inset 2px 0 var(--af-accent);background:var(--surface)}.af-row strong{font-weight:600;font-size:1.03rem}
.af-row small{font-weight:400;color:var(--muted);line-height:1.4}.af-age{font-size:.85rem;font-weight:500;color:var(--ink);line-height:1.45}.af-row [data-overdue=true]{color:var(--af-accent)}
#af-definitions details{border-top:1px solid var(--line);padding-block:.35rem}.af-page summary{cursor:pointer;padding:.65rem 0;color:var(--ink)}
.af-page .af-detail{position:relative;display:grid;gap:1.15rem;padding:var(--af-pad);border:1px solid var(--line);border-radius:.7rem;background:var(--surface);min-width:0}
.af-detail p,.af-detail h2,.af-detail h3,.af-detail dl{margin:0}.af-detail h2{font:500 clamp(2.1rem,5.5vw,3.1rem)/1.03 var(--display);letter-spacing:-.055em}.af-detail h3{font-size:1.05rem;letter-spacing:-.025em}
.af-title-block{display:grid;gap:.33rem}.af-kicker{font-weight:500}.af-state{font-weight:600;line-height:1.45}
.af-metrics{border-block:1px solid var(--line);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem;padding-block:.85rem}
.af-metrics dt,.af-data dt{font-size:.85rem;line-height:1.45;color:var(--muted)}.af-metrics dd,.af-data dd{margin:.22rem 0 0;font-weight:550;line-height:1.3;overflow-wrap:anywhere}
.af-evidence,.af-data,.af-form,.af-history,.af-threshold-form{display:grid;gap:.6rem}.af-data{gap:.55rem 1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}
.af-evidence p{color:var(--muted)}.af-form{border-block-start:2px solid var(--af-accent);padding-block-start:.95rem;gap:.8rem}
.af-row-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:.75rem}
.af-actions{justify-content:flex-start;align-items:center}.af-actions button{width:auto}
.af-note{white-space:pre-wrap}.af-detail .af-back-list{display:none}.af-status:empty{display:none}
.af-page:not(.reviewing-workspace) #af-content:not([hidden]){visibility:visible}
.af-export{display:inline-flex;align-items:center;min-height:44px;color:var(--muted)}
@media(max-width:720px){.af-layout{grid-template-columns:minmax(0,1fr)}.af-detail-open :is(.af-intro,.af-tools,#af-views,#af-queue){display:none}
 .af-page .af-detail-open .af-layout{margin-top:.4rem}.af-detail .af-back-list{display:inline-flex;justify-self:start;background:transparent;color:var(--muted);border:0;padding:0;min-height:44px}
 .af-tools{align-items:end}#af-settings{margin-inline-start:0}.af-page .school-name{display:block;overflow-wrap:anywhere;min-width:0;font-size:.8rem}
 .af-page .mgmt-header{height:auto;flex-wrap:wrap;gap:.25rem .7rem;padding-block:.45rem;min-height:3.8rem}.af-page .mgmt-header>a{min-height:44px;display:inline-flex;align-items:center}
 .af-tools>label{flex:1 1 10rem}.af-page .af-detail-open #af-detail{background:transparent;border:0;padding:0;gap:1rem}}
@media(max-width:430px){.af-page #af-views{gap:0 .55rem}.af-page #af-views button{margin:0} .af-tools{row-gap:.45rem}.af-page .workspace-return{margin-inline-start:auto}}

@media(max-width:900px){.af-page .manage-nav{display:none}}

@media(max-width:720px){
 .af-page .mgmt-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 .6rem;align-content:center}
 .af-page .mgmt-header .wordmark{grid-column:1;grid-row:1;min-height:35px;justify-self:start}
 .af-page .mgmt-header .school-name{grid-column:1;grid-row:2;border:0;padding:0;white-space:normal}
 .af-page .mgmt-header .workspace-return{grid-column:2;grid-row:1 / span 2}
}

.af-signal {margin:1rem 0;padding:1rem 0;border-block:1px solid var(--line)}
.af-signal h2 {margin:0;font:550 1.3rem/1.3 var(--display)}
.af-signal p {margin:.4rem 0;max-width:70ch;color:var(--muted)}
.af-signal ul {margin:.7rem 0;padding:0;list-style:none}
.af-signal li {display:flex;gap:.2rem 1rem;flex-wrap:wrap;align-items:baseline;padding:.4rem 0}
.af-signal li span {color:var(--muted);font-size:.88rem}
.af-signal li a {min-height:44px;align-content:center}
.af-signal details {padding:0;border:0;background:none}
.af-signal summary {width:fit-content;min-height:44px;align-content:center}
@media(max-width:720px){.af-detail-open .af-signal{display:none}}

.af-signal li small {flex-basis:100%;color:var(--muted)}
