/* Check an Avlory Learn credential (learn/verify.html): one calm form, no ambient motion. Tokens from css/tokens.css. */
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--dark);
    color: var(--text);
    font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--surface-field); color: var(--text); padding: 8px 12px; border-radius: var(--radius-sm); }
.top { padding: 20px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 15px/1 Outfit, Inter, sans-serif; letter-spacing: .12em; }
main { max-width: 640px; margin: 0 auto; padding: 24px 20px 64px; }
main:focus { outline: none; }
h1 { font: 800 clamp(28px, 6vw, 40px)/1.15 Outfit, Inter, sans-serif; margin: 16px 0 12px; }
.lead { color: var(--text-muted); margin: 0 0 24px; }
.card { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 8px; }
textarea {
    width: 100%;
    resize: vertical;
    min-height: 88px;
    background: var(--surface-field);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 12px;
    font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    word-break: break-all;
}
textarea:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.btn {
    margin-top: 14px;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--accent-fill);
    color: var(--white);
    font: 600 15px/1 Inter, sans-serif;
    cursor: pointer;
    transition: opacity .15s ease;
}
.btn[disabled] { opacity: .6; cursor: progress; }
.result .status { font: 800 22px/1.2 Outfit, Inter, sans-serif; margin: 0 0 6px; }
.result[data-status="valid"] .status { color: var(--ok); }
.result[data-status="revoked"] .status, .result[data-status="invalid"] .status { color: var(--danger-text); }
.result[data-status="unsigned"] .status { color: var(--warn); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 14px 0 0; }
dt { color: var(--text-muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.note, .fine { color: var(--text-muted); font-size: 14px; }
a { color: var(--accent-text-2); }
.lines { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--border-subtle); }
.lines li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.lines .course { font-weight: 600; overflow-wrap: anywhere; }
.lines .detail { color: var(--text-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.result[data-status="not_shared"] .status { color: var(--warn); }
.lines meter { width: 100%; height: 8px; accent-color: var(--p-base); }
@media (max-width: 420px) { dl { grid-template-columns: 1fr; } dt { margin-top: 6px; } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
