/* The report form. Sits on legal.css (app bar, column, footer, themes) and
   adds only the form controls, which the legal pages do not have. Plain px,
   like legal.css: this is a document, not the scaled canvas. */

.report h1, .thanks h1 {
    margin: 0 0 4px;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: var(--ls-tight);
    font-weight: var(--fw-heavy);
    color: var(--ink);
}
.report .lede { margin: 0 0 22px; color: var(--ink-soft); font-size: 15px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.l { font-size: 13px; font-weight: var(--fw-bold); color: var(--ink); }
.l small { font-weight: var(--fw-medium); color: var(--ink-faint); margin-left: 6px; font-size: 12px; }

.ctl {
    width: 100%;
    font: inherit;
    font-size: 16px;                 /* under 16px iOS zooms the page on focus */
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--rule);
    border-radius: 12px;
    padding: 11px 12px;
}
.ctl::placeholder { color: var(--ink-faint); }
.ctl:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.ctl.bad { border-color: var(--card-red); }
textarea.ctl { min-height: 120px; resize: vertical; line-height: 1.45; }

.select { position: relative; }
.select .ctl { appearance: none; -webkit-appearance: none; padding-right: 36px; }
.select::after {
    content: "";
    position: absolute; right: 14px; top: 50%;
    width: 8px; height: 8px;
    border-right: 1.6px solid var(--ink-soft);
    border-bottom: 1.6px solid var(--ink-soft);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.count { font-size: 12px; color: var(--ink-faint); text-align: right; font-variant-numeric: tabular-nums; }
.count.warn { color: var(--card-red); }

/* screenshot */
.drop {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 12px;
    border: 1.5px dashed var(--ink-ghost);
    border-radius: 12px;
    background: none;
    color: var(--ink-soft);
    font: inherit; font-size: 14px; text-align: left;
    cursor: pointer;
}
.drop:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.drop small { font-size: 12px; color: var(--ink-faint); }
.drop .ico {
    width: 34px; height: 34px; flex: none;
    border-radius: 9px; background: var(--surface-2);
    display: grid; place-items: center; color: var(--ink-soft);
}
.drop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.shot { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px solid var(--rule); border-radius: 12px; }
.thumb { width: 44px; height: 78px; flex: none; object-fit: cover; border-radius: 6px; border: 1px solid var(--rule); background: var(--surface-2); }
.shot .meta { flex: 1; min-width: 0; font-size: 13px; }
.shot .meta b { display: block; color: var(--ink); font-weight: var(--fw-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot .meta span { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.x {
    width: 30px; height: 30px; flex: none;
    border: 0; border-radius: var(--r-pill);
    background: var(--surface-2); color: var(--ink-soft);
    font: inherit; font-size: 18px; line-height: 1;
    display: grid; place-items: center; cursor: pointer;
}

/* the honeypot: off-screen, not display:none, so a bot that skips hidden
   fields still sees an ordinary text input */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.turnstile { margin: 0 0 12px; min-height: 0; }
.turnstile:empty { display: none; }

.err {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--known-bg);
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.4;
}
.err b { color: var(--known-ink); }
.field .err { margin-top: 2px; }
#form-error { margin-bottom: 12px; }

.btn {
    width: 100%; height: 48px;
    border: 0; border-radius: 13px;
    font: inherit; font-size: 15px; font-weight: var(--fw-bold);
    background: var(--ink); color: var(--surface);
    box-shadow: 0 4px 12px rgba(var(--shadow-ink), .14);
    cursor: pointer;
}
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.foot { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-faint); }

/* sent */
.thanks { text-align: center; padding: 26px 0 8px; }
.thanks .mark {
    width: 56px; height: 56px; margin: 0 auto 16px;
    border-radius: var(--r-pill);
    background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center;
}
.thanks .mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks p { margin: 0 auto 18px; max-width: 30ch; color: var(--ink-soft); }
.thanks .small { margin-top: 22px; font-size: 13px; }
.ref {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 10px;
    background: var(--surface-2);
    font-family: var(--font-mono); font-size: 16px; letter-spacing: .06em;
    color: var(--ink);
}

[hidden] { display: none !important; }
