:root {
    --ink:#183b37;
    --muted:#526660;
    --paper:#f5f5ef;
    --line:#d8ddd4;
    --accent:#d5f075;
    --dark:#143d35;
    --orange:#a64727;
    font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);
    background:var(--paper);
    font-synthesis:none;
    line-height:1.55;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
}

.wrap {
    width:min(1120px,calc(100% - 80px));
    margin-inline:auto;
}

a {
    color:inherit;
    text-underline-offset:4px;
}

button,input {
    font:inherit;
}

button,a,input {
    -webkit-tap-highlight-color:transparent;
}

button {
    cursor:pointer;
}

a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {
    outline:3px solid #548335;
    outline-offset:4px;
}

[hidden] {
    display:none!important;
}

.site-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:108px;
    border-bottom:1px solid var(--line);
}

.brand {
    display:flex;
    gap:10px;
    align-items:center;
    text-decoration:none;
    font-size:24px;
    font-weight:750;
    letter-spacing:-1px;
}

.brand-mark {
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    background:var(--dark);
    color:var(--accent);
    font-size:29px;
    line-height:1;
    padding-bottom:5px;
}

.byline {
    font-size:10px;
    letter-spacing:1px;
    font-weight:600;
    align-self:flex-end;
    margin:0 0 6px 1px;
    color:var(--muted);
}

.source-link {
    font-size:12px;
    text-decoration:none;
    font-weight:600;
}

.source-link span {
    margin-left:12px;
}

.intro {
    padding:65px 0 38px;
    max-width:810px;
}

.eyebrow {
    font-size:10px;
    letter-spacing:1.6px;
    font-weight:750;
    margin:0 0 19px;
    display:flex;
    gap:10px;
    align-items:center;
}

.signal {
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--orange);
}

h1 {
    font-size:clamp(36px,4.5vw,58px);
    letter-spacing:-2.5px;
    line-height:1.1;
    font-weight:650;
    margin:0 0 23px;
}

h1 span {
    color:#6a7b70;
}

.lead {
    max-width:620px;
    font-size:16px;
    color:var(--muted);
    margin:0;
}

.workspace {
    display:grid;
    grid-template-columns:1.3fr 1fr;
    border:1px solid var(--line);
    background:#fffef9;
}

.checker {
    padding:30px 34px;
}

.section-heading {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:25px;
}

h2 {
    font-size:20px;
    font-weight:650;
    letter-spacing:-.5px;
    margin:0;
}

.step {
    font-size:11px;
    color:var(--muted);
}

.passive-label {
    margin-left:auto;
    font-size:10px;
    font-weight:650;
    background:#edf2e4;
    padding:4px 8px;
    white-space:nowrap;
}

.mode-picker {
    border:0;
    padding:0;
    margin:0 0 24px;
    display:flex;
    gap:20px;
}

.mode-picker label {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:12px;
    cursor:pointer;
}

.mode-picker input {
    accent-color:var(--dark);
    margin:0;
    width:15px;
    height:15px;
}

.field>label {
    display:block;
    font-size:12px;
    font-weight:650;
    margin-bottom:8px;
}

.field>input {
    display:block;
    width:100%;
    height:52px;
    border:1px solid #afbdb1;
    background:white;
    color:var(--ink);
    border-radius:0;
    padding:0 14px;
    font-size:15px;
}

.field>input::placeholder {
    color:#7d8b82;
}

.field-help {
    font-size:11px;
    color:var(--muted);
    margin:9px 0 21px;
}

.primary-button {
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    height:49px;
    padding:0 17px;
    background:var(--dark);
    color:var(--accent);
    border:1px solid var(--dark);
    font-size:13px;
    font-weight:650;
}

.primary-button:hover {
    background:#235648;
}

.primary-button:disabled {
    opacity:.65;
    cursor:wait;
}

.request-note {
    font-size:10px;
    color:var(--muted);
    text-align:center;
    margin:12px 0 0;
}

.context {
    padding:31px 34px;
    background:#edf0e5;
    border-left:1px solid var(--line);
}

.context .eyebrow {
    font-size:9px;
    margin-bottom:10px;
}

.context h2 {
    margin-bottom:20px;
}

.advisory-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    text-decoration:none;
    border-top:1px solid #ced8c8;
    padding:13px 0;
}

.advisory-row:hover strong {
    text-decoration:underline;
}

.advisory-row strong {
    font-size:12px;
    font-weight:650;
}

.advisory-row small {
    display:block;
    font-size:11px;
    color:var(--muted);
    margin-top:2px;
}

.context-note {
    font-size:11px;
    color:var(--muted);
    margin:17px 0 0;
    max-width:320px;
}

.release-section {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    padding:42px 0 33px;
    border-bottom:1px solid var(--line);
}

.release-section .eyebrow {
    margin-bottom:9px;
}

.release-section h2 {
    font-size:22px;
    max-width:300px;
    line-height:1.3;
}

.release-section p:not(.eyebrow) {
    font-size:12px;
    color:var(--muted);
    margin-bottom:0;
}

.release-table table {
    border-collapse:collapse;
    width:100%;
    font-size:12px;
}

.release-table th,.release-table td {
    padding:7px 0;
    border-bottom:1px solid var(--line);
    text-align:left;
}

.release-table thead {
    font-size:10px;
    color:var(--muted);
}

.release-table tbody th {
    font-weight:500;
}

.release-table td {
    font-family:ui-monospace,monospace;
    font-weight:650;
}

.release-table tr:last-child>* {
    border-bottom:0;
}

.limit-note {
    font-size:12px;
    color:var(--muted);
    max-width:880px;
    padding:9px 0 28px;
}

.limit-note strong {
    color:var(--ink);
}

footer {
    border-top:1px solid var(--line);
    padding:22px 0 30px;
    display:flex;
    justify-content:space-between;
    gap:20px;
    font-size:10px;
    color:var(--muted);
}

.error {
    background:#fff0e9;
    border-left:3px solid #b84120;
    padding:13px 16px;
    font-size:13px;
    margin-top:20px;
    color:#843014;
}

.results {
    margin-top:26px;
    padding:28px 34px;
    border:1px solid var(--line);
    background:#fffef9;
    scroll-margin-top:20px;
}

.results:focus {
    outline:none;
}

.result-top {
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    margin-bottom:15px;
}

.result-top .eyebrow {
    margin:0;
}

.text-button {
    border:0;
    background:none;
    padding:8px 0;
    color:var(--ink);
    font-size:11px;
    text-decoration:underline;
    text-underline-offset:4px;
}

#result-state {
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.result-indicator {
    flex:0 0 11px;
    height:11px;
    border-radius:50%;
    margin-top:10px;
    background:#a47b27;
}

.results[data-status=potentially_affected] .result-indicator {
    background:#b84120;
}

.results[data-status=fixed_version] .result-indicator {
    background:#447741;
}

#result-title {
    font-size:26px;
}

#result-target {
    font-size:12px;
    color:var(--muted);
    margin:4px 0 0;
    overflow-wrap:anywhere;
}

.result-detail {
    font-size:14px;
    max-width:850px;
}

.next-step {
    background:#edf0e5;
    padding:16px 20px;
    margin-top:20px;
}

.next-step h3 {
    font-size:12px;
    margin:0 0 5px;
}

.next-step p {
    font-size:13px;
    margin:0;
}

.result-facts {
    display:flex;
    gap:45px;
    margin:24px 0;
}

.result-facts dt {
    font-size:10px;
    color:var(--muted);
}

.result-facts dd {
    margin:3px 0 0;
    font-size:12px;
    overflow-wrap:anywhere;
}

details {
    border-top:1px solid var(--line);
    padding-top:15px;
    font-size:12px;
}

summary {
    cursor:pointer;
    font-weight:600;
    padding:4px 0;
    min-height:32px;
}

details p {
    color:var(--muted);
}

.evidence-line {
    font-family:ui-monospace,monospace;
    font-size:11px;
    overflow-wrap:anywhere;
}

.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

@media(min-width:1400px) {
    .intro {
        padding-top:76px;
    }
}

@media(max-width:800px) {
    .wrap {
        width:calc(100% - 40px);
    }
    .site-header {
        min-height:85px;
    }
    .workspace {
        grid-template-columns:1fr;
    }
    .context {
        border-left:0;
        border-top:1px solid var(--line);
        padding:26px 28px;
    }
    .context-note {
        max-width:none;
    }
    .intro {
        padding-top:45px;
    }
    .checker {
        padding:26px 28px;
    }
    .release-section {
        gap:30px;
    }
    footer {
        flex-direction:column;
        gap:4px;
    }
    .result-facts {
        gap:25px;
        flex-wrap:wrap;
    }
}

@media(max-width:480px) {
    .wrap {
        width:calc(100% - 32px);
    }
    .brand {
        font-size:21px;
    }
    .byline {
        display:none;
    }
    .source-link {
        font-size:10px;
        max-width:110px;
        text-align:right;
    }
    .source-link span {
        margin-left:4px;
    }
    h1 {
        letter-spacing:-1.5px;
        font-size:37px;
    }
    .lead {
        font-size:14px;
    }
    .intro {
        padding:36px 0 28px;
    }
    .checker,.context,.results {
        padding:23px 20px;
    }
    .section-heading {
        gap:8px;
    }
    h2 {
        font-size:18px;
    }
    .passive-label {
        font-size:9px;
    }
    .mode-picker {
        gap:12px;
    }
    .mode-picker label {
        font-size:11px;
        min-height:30px;
    }
    .release-section {
        grid-template-columns:1fr;
        gap:20px;
        padding-top:32px;
    }
    .release-section h2 {
        max-width:none;
    }
    .result-top {
        gap:10px;
    }
    #result-title {
        font-size:23px;
    }
    .result-facts {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:15px;
    }
    .next-step {
        padding:14px;
    }
    .limit-note {
        font-size:11px;
    }
}
