/* Acceptance checklist (#/acceptance) and Data Import (#/import) screens. Colours come from the app.css tokens; every coloured
   element also carries a text label (DSN-01). Office screens work from 1280px (DSN-04). */

/* ------------------------------------------------------------------ summary */
.acc-dod-head { margin-bottom: .25rem; }
.acc-dod-list { margin: .35rem 0 .35rem 1.2rem; padding: 0; }
.acc-dod-list li { margin: .15rem 0; }
.acc-sevtext { margin-top: .35rem; opacity: .95; }
.acc-stats { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
button.acc-stat { width: 100%; text-align: left; font: inherit; cursor: pointer; }
button.acc-stat:hover { background: var(--surface-2); }
.acc-gap { height: .75rem; }
.acc-progress { min-width: 180px; }
.acc-bar { display: flex; height: 12px; border-radius: 999px; background: var(--grey-bg); overflow: hidden; border: 1px solid var(--border); }
.acc-seg { display: block; height: 100%; }
.seg-pass { background: var(--green-solid); }
.seg-fail { background: var(--red-solid); }
.seg-blocked { background: var(--amber-solid); }
.seg-na { background: #8a929b; }
.acc-bar-text { font-size: .85rem; color: var(--muted); margin-top: .2rem; white-space: nowrap; }
.acc-linkbtn { background: none; border: 0; padding: 0; min-height: 36px; font: inherit; color: var(--link); cursor: pointer; text-align: left; text-decoration: underline; }
.acc-linkbtn .badge { text-decoration: none; }
.acc-fail { color: var(--red); }
.acc-sev { font-size: .78rem; }

/* ------------------------------------------------------------------ checks */
.acc-result-cell { width: 380px; min-width: 330px; }
.acc-check { display: flex; flex-direction: column; gap: .35rem; min-width: 300px; }
.acc-check-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.acc-id { font-size: 1.02rem; }
.acc-text { line-height: 1.4; }
.acc-lbl { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.acc-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.acc-chip { display: inline-flex; align-items: center; gap: .25rem; min-height: 32px; padding: .1rem .55rem; border: 1px solid var(--blue-solid); border-radius: 999px;
  background: var(--blue-bg); color: var(--blue); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.acc-chip:hover { background: #cfe0f7; }
.acc-chip-check.r-pass { background: var(--green-bg); color: var(--green); border-color: #9fd0aa; }
.acc-chip-check.r-fail { background: var(--red-bg); color: var(--red); border-color: #f0b0aa; }
.acc-chip-check.r-blocked { background: var(--amber-bg); color: var(--amber); border-color: #f0cf95; }
.acc-chip-check.r-na, .acc-chip-check.r-none { background: var(--grey-bg); color: var(--grey); border-color: var(--border); }
.acc-chip .glyph { font-size: .7rem; }
.acc-form { display: flex; flex-direction: column; gap: .4rem; }
.acc-form .form-error { margin-bottom: .25rem; }
.acc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .6rem; }
.acc-form-grid .field-label { font-size: .82rem; }
.acc-form-grid .input { min-height: 40px; padding: .35rem .5rem; }
.acc-form-grid textarea.input { min-height: 56px; }
.acc-wide { grid-column: 1 / -1; }
.acc-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.acc-current { min-height: 26px; }
.acc-reqtext { min-width: 260px; max-width: 520px; line-height: 1.4; }
.acc-frs { margin-top: .2rem; }
.acc-req-text { font-size: 1.02rem; line-height: 1.5; }
.acc-h3 { margin: 1rem 0 .5rem; }
.acc-expected-jny { margin: .75rem 0 0; }

/* ------------------------------------------------------------------ import */
.imp-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.imp-type { display: flex; flex-direction: column; gap: .4rem; text-align: left; padding: .9rem 1rem; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--surface); font: inherit; color: var(--text); cursor: pointer; min-height: 44px; }
.imp-type:hover { border-color: var(--border-strong); }
.imp-type.active { border-color: var(--blue-solid); background: var(--blue-bg); }
.imp-type-title { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.05rem; }
.imp-type .muted { font-size: .9rem; }
.imp-cols td:first-child { white-space: nowrap; font-weight: 600; }
.imp-upload { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.imp-upload .field { flex: 1 1 320px; }
.imp-progress { margin: .5rem 0; }
.imp-progress-bar { height: 18px; border-radius: 999px; background: var(--grey-bg); border: 1px solid var(--border); overflow: hidden; }
.imp-progress-fill { height: 100%; background: var(--blue-solid); width: 0; transition: width .25s ease; }
.imp-progress-fill.done { background: var(--green-solid); }
.imp-progress-text { margin-top: .3rem; font-weight: 600; }
.imp-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.imp-steps { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.imp-steps li { display: flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; background: var(--grey-bg); color: var(--grey); font-weight: 600; font-size: .9rem; }
.imp-steps li.on { background: var(--blue-bg); color: var(--blue); }
.imp-steps li.ok { background: var(--green-bg); color: var(--green); }
@media (max-width: 900px) { .imp-types { grid-template-columns: 1fr; } .acc-result-cell { width: auto; min-width: 280px; } }
.acc-body .list-toolbar > select.input { max-width: 330px; }
.acc-body .list-toolbar .search-box { flex: 1 1 260px; }
.imp-time { white-space: nowrap; }
.imp-file { overflow-wrap: anywhere; min-width: 175px; }
.imp-log-actions { display: flex; flex-direction: column; align-items: stretch; gap: .3rem; }
.acc-body .kv + .table-wrap { margin-top: .6rem; }
