/* 分科分發頁。和科大四技頁共用 tech.css（版面、卡片、年份格），這裡只放這頁多出來的部分。 */
.score-grid.g2{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));}
.score-grid.g8{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));}
.sf2{display:flex; flex-direction:column; gap:5px; min-width:0;}
.sf2 .sf-l{font-size:13px; color:var(--ink-2); font-weight:500;}
.sf2 input{font:inherit; font-size:20px; font-weight:700; text-align:center; width:100%; padding:8px 6px; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--ink); font-variant-numeric:tabular-nums; box-sizing:border-box;}
.sf2 input.small{font-size:14px; font-weight:500; padding:6px;}
.sf2 input:focus{outline:2px solid var(--accent); outline-offset:1px; background:#fff;}
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}
.panel .score-grid + .hint{margin-top:12px;}
.panel + .panel{margin-top:14px;}
.inl{display:inline-flex; gap:8px; align-items:center; font-size:13.5px; color:var(--ink-2);}
.inl select{font:inherit; font-size:14px; padding:6px 10px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink);}
.row-btns{margin-top:14px;}
.tc-g{color:var(--accent-2); font-weight:600;}
.tc-chk{margin:0; font-size:12.5px; color:var(--accent-2);}
.fenfa .dt{min-width:520px;}
.fenfa .dt td:nth-child(5){white-space:nowrap;}

/* 保守／適中／冒險 */
.pill.soft{background:#eef6e6; color:#4f7a1d;}
.tc.lv-mid{border-left-color:#8fbf5a;}
.lv-legend{margin:10px 0 0; padding:10px 14px; border:1px dashed var(--line); border-radius:12px; font-size:13px; color:var(--ink-2); line-height:1.75;}
.lv-legend b{color:var(--ink);}
.tc-gap{font-size:12px; color:var(--muted);}   /* 缺額回流：站長要求不要太突出 */
