html:root body.v3-site:has(.resident-main){background:var(--canvas)}.resident-main{--resident-muted:var(--ink-soft)}.resident-main .editorial-breadcrumbs ol{flex-wrap:wrap;gap:10px;margin:12px 0 20px;padding:0;font-size:14px;list-style:none;display:flex}.resident-main .editorial-breadcrumbs li+li:before{content:"/";opacity:.6;margin-right:10px}.resident-main .reference-pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:20px 0;display:flex}.resident-main .reference-pagination button{min-height:44px;padding:10px 16px}.resident-main p a{text-underline-offset:3px;text-decoration:underline}.resident-stats{flex-wrap:wrap;justify-content:center;gap:12px 28px;padding:0;list-style:none;display:flex}.resident-confidence{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:16px 20px;font-size:15px;line-height:1.7}.resident-score-key{font-size:15px;line-height:1.7}html:root body.v3-site #toxicity-controls{grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:12px;min-height:0;margin:20px 0;padding:16px;display:grid}#toxicity-controls label{gap:6px;font-size:14px;display:grid}#toxicity-controls :is(input,select,button){width:100%;min-height:44px;font-size:16px}.resident-results-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.resident-view-buttons{gap:8px;display:flex}.resident-view-buttons button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);border-radius:8px;padding:8px 14px}.resident-view-buttons button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.resident-group-note,.resident-scroll-hint,.resident-table-notes{font-size:14px;line-height:1.7}.resident-college-group{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:12px 0;overflow:hidden}.resident-college-group>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:18px 20px;display:flex}.resident-college-group>summary strong{font-size:18px;display:block}.resident-college-group>summary small{margin-top:5px;font-size:14px;display:block}.resident-college-group[open]>summary>span:last-child{transform:rotate(45deg)}.resident-department-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;padding:20px;display:grid}.resident-department-card{border:1px solid var(--line);border-radius:10px;min-width:0;padding:18px}html:root body.v3-site .resident-department-card h3{overflow-wrap:normal;font-size:18px;line-height:1.4}.resident-score-label{margin-bottom:6px;font-size:14px}.resident-department-card dl{font-size:14px;line-height:1.6}.resident-department-card dl>div{grid-template-columns:minmax(80px,.8fr) 1fr;gap:12px;padding:7px 0;display:grid}.resident-department-card :is(dt,dd){margin:0}.resident-department-card dd{text-align:right}.resident-card-ratings summary{cursor:pointer;min-height:44px;padding:10px 0}.resident-score{gap:6px;max-width:170px;font-size:17px;font-weight:500;display:grid}.resident-score small{font-size:13px}.resident-score svg{width:100%;height:4px}.resident-score-track{fill:var(--line)}.resident-score-fill{fill:currentColor;opacity:.5}.resident-duty{white-space:normal;font-size:14px;display:block}.resident-duty small{margin-top:4px;font-size:13px;line-height:1.5;display:block}#toxicity-views{border:0;flex-wrap:wrap;gap:16px;padding:12px 0;display:flex}#toxicity-views label{align-items:center;gap:6px;min-height:44px;display:flex}html:root body.v3-site #toxicity-scroll{isolation:isolate;border:1px solid var(--line);background:var(--surface);border-radius:10px;max-height:min(70vh,740px);overflow:auto}html:root body.v3-site #toxicity-scroll .toxicity-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:2200px;min-width:2200px}html:root body.v3-site #toxicity-scroll[data-view=summary] .toxicity-table{width:100%;min-width:1100px}html:root body.v3-site #toxicity-scroll[data-view=summary] :is(col,th,td):nth-child(n+7){display:none}.resident-col-college{width:230px}.resident-col-state{width:130px}.resident-col-speciality{width:200px}.resident-col-score{width:220px}.resident-col-stipend{width:140px}.resident-col-duty{width:180px}.resident-col-domain{width:120px}html:root body.v3-site .resident-main .toxicity-table :is(th,td){white-space:normal;overflow-wrap:break-word;border-bottom:1px solid var(--line);background:var(--surface);vertical-align:top;text-align:left;padding:14px;font-size:14px}.resident-main .toxicity-table thead th{z-index:3;position:sticky;top:0}.resident-main .toxicity-table tr>:first-child{z-index:2;position:sticky;left:0}.resident-main .toxicity-table thead tr>:first-child{z-index:4}.resident-main .toxicity-table th small{font-size:13px;font-weight:400;display:block}.resident-main .toxicity-table th a{min-height:44px;padding-top:6px;font-size:13px;text-decoration:underline;display:block}html:root body.v3-site .resident-main .toxicity-table td.resident-number{text-align:right;font-variant-numeric:tabular-nums}.resident-methodology{border:1px solid var(--line);border-radius:12px;margin-top:20px;padding:18px;scroll-margin-top:140px}.resident-methodology>summary{cursor:pointer;min-height:44px;font-size:16px}.resident-methodology p{font-size:15px;line-height:1.7}.resident-weights{grid-template-columns:repeat(3,1fr);gap:8px 24px;display:grid}.resident-review-request{border:1px solid var(--line);border-radius:12px;margin:20px 0;padding:20px}html:root body.v3-site .resident-review-request h2{color:var(--ink);-webkit-text-fill-color:currentColor;background:0 0;font-size:24px;line-height:1.3}.resident-review-request p{font-size:15px;line-height:1.7}@media (width<=1000px){html:root body.v3-site #toxicity-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){html:root body.v3-site #toxicity-controls{grid-template-columns:1fr}.resident-department-cards{grid-template-columns:1fr;padding:12px}.resident-college-group>summary{padding:16px}.resident-weights{grid-template-columns:1fr}.resident-view-buttons{width:100%}.resident-view-buttons button{flex:1}}
