/* Report a problem — builds on ../css/landing.css (tokens, nav, buttons, board).
   One step at a time, numbered because it is a real sequence. Square corners. */

.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--board); }
.nav-links { margin-left: auto; }

.report { padding: 32px 0 80px; }
.report-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 40px; }
.board-small { display: block; padding: 18px 26px 20px; box-shadow: inset 0 0 0 7px #1D4F9C, inset 0 0 0 9px #fff; }
.board-small .board-kn { font-size: 1.1rem; }
.board-small .board-en { font-size: clamp(1.9rem, 4vw, 3rem); white-space: nowrap; }
.board-small { animation: none; }
.report-head .lede { max-width: 36em; font-size: 1.1rem; }

/* steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; border: 2px solid var(--ink); background: var(--paper); }
.step { counter-increment: step; padding: 26px 28px 30px 92px; position: relative; border-top: 2px solid var(--ink); }
.step:first-child { border-top: 0; }
.step::before { content: counter(step); position: absolute; left: 28px; top: 24px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--board); color: #fff; font-weight: 800; font-stretch: 112%; font-size: 1.15rem; box-shadow: inset 0 0 0 2px var(--board), inset 0 0 0 4px #fff; }
.step h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 16px; }
.step.locked::before { background: var(--line); color: var(--ink-2); box-shadow: none; }
.step.locked h2 { color: var(--ink-2); }
.step.done::before { content: "✓"; }
.waiting { color: var(--kerb); }
.step:not(.locked) .waiting { display: none; }
.help { color: var(--ink-2); font-size: .95rem; margin-top: 8px; max-width: 60ch; }
.field-label { display: block; font-weight: 700; margin-bottom: 6px; }

/* step 1: types */
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.type-btn { text-align: left; padding: 14px 16px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; display: grid; gap: 4px; }
.type-btn strong { font-stretch: 100%; font-size: 1.05rem; }
.type-btn span { font-size: .85rem; color: var(--ink-2); }
.type-btn:hover { background: var(--chalk); }
.type-btn[aria-checked="true"] { background: var(--board); border-color: var(--board); color: #fff; }
.type-btn[aria-checked="true"] span { color: rgba(255,255,255,.85); }

/* step 2: place */
.place-box { position: relative; max-width: 560px; }
#place-input { width: 100%; padding: 14px 16px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 500 1.05rem/1.2 var(--sans); }
.place-results { list-style: none; position: absolute; z-index: 10; left: 0; right: 0; top: 100%; background: var(--paper); border: 2px solid var(--ink); border-top: 0; max-height: 320px; overflow-y: auto; }
.place-results button { width: 100%; text-align: left; padding: 10px 16px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font: inherit; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.place-results li:first-child button { border-top: 0; }
.place-results button:hover, .place-results button[aria-selected="true"] { background: var(--chalk); }
.place-results small { color: var(--ink-2); font-stretch: 75%; font-size: .9rem; white-space: nowrap; }
.chosen { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 12px 16px; border-left: 6px solid var(--board); background: var(--chalk); max-width: 560px; }
.chosen strong { font-stretch: 100%; font-size: 1.1rem; }

/* step 3: people */
.who-group + .who-group { margin-top: 26px; }
.who-group h3 { font-size: 1.05rem; font-stretch: 100%; margin-bottom: 10px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.person { padding: 16px 18px; border: 2px solid var(--ink); display: grid; gap: 4px; align-content: start; }
.person .role { font-size: .9rem; color: var(--ink-2); }
.person .name { font-weight: 700; font-size: 1.05rem; }
.person .missing { color: var(--kerb); font-size: .95rem; }
.person .contact { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: .95rem; }
.person .contact a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.person.first { background: var(--chalk); }
.note { font-size: .9rem; color: var(--ink-2); margin-top: 10px; max-width: 70ch; }

/* step 4: lodge */
#complaint-text { width: 100%; max-width: 720px; padding: 14px 16px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--sans); resize: vertical; }
.row-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.copied { font-weight: 700; color: var(--board); }
.channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 24px; }
.channel { padding: 18px 20px; border: 2px solid var(--ink); display: grid; gap: 8px; align-content: start; }
.channel h3 { font-size: 1.1rem; font-stretch: 100%; }
.channel p { color: var(--ink-2); font-size: .95rem; }
.channel .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.channel .btn { padding: 10px 14px; font-size: .92rem; }
.channel .check { font-size: .8rem; color: var(--kerb); }
.channel.urgent { background: var(--chalk); }

/* step 5 */
.ladder { list-style: none; display: grid; gap: 0; border-left: 4px solid var(--ink); margin-top: 6px; }
.ladder li { padding: 10px 0 14px 18px; position: relative; }
.ladder li::before { content: ""; position: absolute; left: -10px; top: 15px; width: 16px; height: 16px; background: var(--paper); border: 4px solid var(--ink); }
.ladder .when { font-weight: 700; }
.ladder .what { color: var(--ink-2); }
.deadline { display: inline-block; background: var(--marking); color: #1B1F22; padding: 2px 8px; font-weight: 700; box-shadow: inset 5px 0 0 #1B1F22; padding-left: 12px; }

/* context */
.ward-context { margin-top: 28px; padding: 20px 24px; border: 2px solid var(--ink); background: var(--paper); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ward-context p { max-width: 60ch; }

@media (max-width: 760px) {
  .report-head { grid-template-columns: 1fr; gap: 20px; }
  .board-small .board-en { white-space: normal; }
  .step { padding: 70px 18px 24px; }
  .step::before { left: 18px; top: 18px; }
}

/* "Coming soon" note for the filing agent (docs/product/FILING_AGENT.md).
   Plain note, no button: nothing here pretends to work yet. */
.soon { border: 2px dashed var(--board); padding: 14px 18px; margin-bottom: 20px; max-width: 720px; background: var(--paper); }
.soon-title { font-weight: 800; font-stretch: 112%; color: var(--link); margin-bottom: 4px; }
.soon p:last-child { color: var(--ink-2); font-size: .95rem; }
