:root {
    color-scheme: light;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #162e3d;
    background: #eef4f6;
    line-height: 1.55;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.topo {
    background: #12333e;
    color: #deedf0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 1rem;
    padding: 1rem max(1rem, calc((100vw - 48rem) / 2));
    font-size: .875rem;
}
.marca { color: white; font-size: 1.3rem; font-weight: 700; }
.cartao {
    width: min(48rem, calc(100% - 2rem));
    margin: clamp(1rem, 4vw, 3rem) auto;
    padding: clamp(1.05rem, 4vw, 2.5rem);
    border: 1px solid #cfdce2;
    border-radius: 1rem;
    background: #fff;
}
.introducao { margin-bottom: 1.4rem; }
h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.55rem); line-height: 1.15; }
.ano {
    display: inline-block;
    margin: 0 0 .5rem;
    padding: .1rem .65rem;
    border-radius: 1rem;
    background: #e1f0ed;
    color: #12534b;
    font-weight: 700;
}
.identificacao { margin: .65rem 0 0; font-size: 1.1rem; font-weight: 650; }
.bloco { padding: 0; margin: 0 0 1.5rem; min-width: 0; border: 0; }
.bloco legend, .campo label { font-size: 1.05rem; font-weight: 650; }
p { margin: .35rem 0 .75rem; }
.bloco p, #estado { color: #435b69; }
.ajuda-storeline a { color: #0c5c4e; font-weight: 600; text-underline-offset: .16em; }
.caixas, .opcoes { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; margin-top: .6rem; }
.opcoes { grid-template-columns: repeat(2, minmax(0, 8rem)); }
.caixas label, .opcoes label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 2.75rem;
    border: 1px solid #b9ccd1;
    border-radius: .5rem;
    padding: .28rem;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
}
label:has(input:checked) { border-color: #17675a; background: #e2f4ee; color: #084b42; font-weight: 650; }
input[type=checkbox], input[type=radio] { accent-color: #17675a; margin: 0; }
.campo { margin-top: 1rem; }
.campo input { display: block; margin-top: .4rem; padding: .65rem; width: min(100%, 24rem); background: white;
    color: inherit; border: 1px solid #a5bac3; border-radius: .45rem; font: inherit; }
button { background: #0c5c4e; color: white; border: 0; border-radius: .5rem; padding: .75rem 1.1rem; font: inherit; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: .16rem solid #156ab0; outline-offset: .17rem; }
.erro { background: #fdf0ec; color: #842c21; padding: .6rem; border-radius: .4rem; }
@media (max-width: 24rem) {
    .caixas { grid-template-columns: repeat(4, 1fr); }
}
