/* v2 에서 더한 구성 요소 — 원본 app.css 의 색·간격 토큰만 써서 같은 결로 맞춘다 */

/* 접수 폼: 진단 범위 */
.scope { border: 0; padding: 0; margin: 12px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scope__opt { position: relative; cursor: pointer; }
.scope__opt input { position: absolute; opacity: 0; pointer-events: none; }
.scope__opt span { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-in); background: var(--fill); transition: border-color .15s, background-color .15s, color .15s; }
.scope__opt b { font-size: .92rem; font-weight: 700; }
.scope__opt small { font-size: .78rem; color: var(--ink-3); }
.scope__opt:hover span { border-color: var(--ink-3); }
.scope__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.scope__opt input:checked + span small { color: rgba(255, 255, 255, .72); }
.scope__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.intake[data-mode-current="entity"] .scope { display: none; }

/* 결과표: 판정 근거 */
.v2-evidence { margin-top: 10px; font-size: .88rem; }
.v2-evidence > b { display: block; margin-bottom: 6px; color: var(--ink); }
.v2-evidence ul { display: grid; gap: 6px; }
.v2-evidence li { padding-left: 14px; position: relative; }
.v2-evidence li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.v2-evidence li .mark { margin-right: 4px; }
.v2-cap { display: block; font-size: .72rem; font-weight: 600; color: var(--warn); text-align: right; }
.v2-capline { color: var(--warn); }
tr.v2-flag > * { background: var(--bad-soft); }
.v2-pages td, .v2-pages th { font-size: .84rem; }
.v2-pages td:first-child { min-width: 220px; }
.v2-pages .mark--bare { justify-content: center; }

/* 관리자 */
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.admin-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px 12px; }
.admin-grid .field--url { grid-column: 1 / -1; }
.admin-grid .field:nth-last-child(-n+2) { grid-column: span 2; }
.admin-grid select { appearance: auto; }
.admin-login { max-width: 520px; }
.admin-login__form { margin-top: 20px; }
@media (max-width: 720px) {
  .scope { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid .field:nth-last-child(-n+2) { grid-column: 1 / -1; }
}
