/* ==========================================================================
   Modulo reclami UPenergy
   Colonna continua + dossier persistente. I due colori di marca sono semantici:
   blu = richiesta di informazioni, rosa = reclamo. Il registro scelto governa
   selezioni, marcatori e azione primaria.
   ========================================================================== */

:root {
    /* marca */
    --pink:        #FF1654;
    --pink-deep:   #D6003C;
    --pink-tint:   #FFF0F4;
    --blue:        #16C2FF;
    --blue-deep:   #0077A3;
    --blue-tint:   #E8F8FF;

    /* Registro neutro finché il tipo di segnalazione non è scelto: i due colori di
       marca sono semantici, quindi non possono parlare prima che ci sia una scelta. */
    --slate:      #344054;
    --slate-deep: #101828;
    --slate-tint: #F2F4F7;

    --accent:      var(--slate);
    --accent-deep: var(--slate-deep);
    --accent-tint: var(--slate-tint);

    /* superfici */
    --paper:          #F4F6F9;
    --surface:        #FFFFFF;
    --surface-sunken: #FAFBFC;   /* fondo incassato: barre, note, pulsanti secondari */
    --panel:          #EEF1F5;

    /* inchiostro */
    --ink:         #101828;
    --ink-soft:    #3D4757;
    --muted:       #5A6472;
    --faint:       #667085;   /* 4,97:1 su bianco: regge "obbligatorio" e le etichette del dossier */

    /* linee */
    --line:        #E3E8EF;
    --line-strong: #D3DAE4;
    --line-input:  #8A93A2;   /* 3,10:1: minimo per il contorno di un controllo */

    /* stati */
    --ok:          #0E7C48;
    --ok-tint:     #E8F6EE;
    /* Operando di miscela per gli stati d'interazione, non un colore di palette:
       esiste in un solo punto perché scurire sia un gesto di sistema. */
    --shade:       #000;

    --danger:      #B42318;
    --danger-ink:  #7A271A;   /* testo lungo su fondo d'allarme: 7,6:1 su --danger-tint */
    --danger-tint: #FEF3F2;
    --danger-line: #FDA29B;

    /* profondità: sempre offset + sfocatura, mai aloni a offset zero */
    --sh-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --sh-md: 0 6px 16px -4px rgba(16, 24, 40, .10), 0 2px 5px -2px rgba(16, 24, 40, .06);
    --sh-lg: 0 18px 40px -12px rgba(16, 24, 40, .16), 0 4px 10px -4px rgba(16, 24, 40, .07);

    --r-md: 10px;
    --r-lg: 14px;

    --ease: cubic-bezier(.22, 1, .36, 1);
}

body[data-register="info"] {
    --accent:      var(--blue);
    --accent-deep: var(--blue-deep);
    --accent-tint: var(--blue-tint);
}

body[data-register="reclamo"] {
    --accent:      var(--pink);
    --accent-deep: var(--pink-deep);
    --accent-tint: var(--pink-tint);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: .9375rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, p, dl, dd, fieldset, legend { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }

a { color: var(--accent-deep); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

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

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; font-weight: 500; }

/* --------------------------------------------------------------- testata -- */

.masthead {
    position: relative;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

/* filetto d'intestazione: cambia con il registro, come la fascia di un atto */
.masthead::before {
    content: "";
    position: absolute; inset: 0 0 auto;
    height: 4px;
    background: var(--accent);
    transition: background-color .2s var(--ease);
}

.masthead__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(1180px, 100% - 48px);
    margin-inline: auto;
    padding: 28px 0 26px;
}

.masthead__logo {
    flex: none;
    width: 264px;
    height: auto;
    padding-right: 32px;
    border-right: 1px solid var(--line);
}

.masthead__text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.masthead__text p {
    max-width: 62ch;
    margin-top: 6px;
    color: var(--muted);
    font-size: .875rem;
}

/* ------------------------------------------------------------ area lavoro -- */

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 356px;
    align-items: start;
    gap: 56px;
    width: min(1180px, 100% - 48px);
    margin-inline: auto;
    padding: 44px 0 88px;
}

.column { min-width: 0; }

/* ------------------------------------------------------------- avvisi ----- */

.alert {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    padding: 14px 16px;
    border: 1px solid var(--danger-line);
    border-radius: var(--r-md);
    background: var(--danger-tint);
    color: var(--danger-ink);
}

.alert svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: var(--danger); }
.alert p { font-size: .875rem; font-weight: 500; }

/* ------------------------------------------------------------- sezioni ---- */

.section + .section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.section__title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1.25;
}

.section__lead {
    max-width: 68ch;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: .875rem;
}
.section__lead em { color: var(--ink-soft); font-style: normal; font-weight: 500; }

/* pastiglia di stato: dice cosa manca senza fare rumore */
.chip {
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--panel);
    color: var(--muted);
    font-size: .75rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .18s var(--ease), color .18s var(--ease);
}

.chip.is-done {
    background: var(--ok-tint);
    color: var(--ok);
}
.chip.is-done::before { content: "✓ "; font-weight: 700; }

.chip.is-missing {
    background: var(--danger-tint);
    color: var(--danger);
}

/* ------------------------------------------------------------ riquadri ---- */

.choices { display: grid; gap: 12px; }
/* start, non stretch: quando un riquadro apre il campo POD, quello accanto
   non deve allungarsi lasciando bianco morto */
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.choices--dense { gap: 10px; }
/* due scelte affiancate senza campi a scomparsa: pareggiano in altezza, così
   nessuna delle due sembra più importante solo perché il testo è più lungo */
.choices--equal { align-items: stretch; }

/* errore di gruppo: vale per una scelta, non per un singolo campo */
.group-error {
    margin: -8px 0 14px;
    color: var(--danger);
    font-size: .8125rem;
    font-weight: 500;
}
.group-error[hidden] { display: none; }

.tile {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 12px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--sh-sm);
    cursor: pointer;
    transition: box-shadow .16s var(--ease), border-color .16s var(--ease),
                background-color .16s var(--ease), transform .16s var(--ease);
}

.tile:hover { border-color: var(--line-strong); box-shadow: var(--sh-md); }
.tile:active { transform: translateY(1px); }

/* il bivio iniziale ha rango maggiore delle nove voci che seguono */
.tile--lg { padding: 22px; min-height: 118px; align-content: start; }
.tile--service { display: block; padding: 0; }

/* il riquadro "tipo" porta il proprio registro anche prima della scelta */
.tile--info    { --accent: var(--blue); --accent-deep: var(--blue-deep); --accent-tint: var(--blue-tint); }
.tile--reclamo { --accent: var(--pink); --accent-deep: var(--pink-deep); --accent-tint: var(--pink-tint); }

/* il marcatore anticipa il colore che la pratica assumerà */
.tile--lg .tile__mark { border-width: 2px; border-color: var(--accent); }

.tile__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 12px;
    padding: 15px 16px;
    cursor: pointer;
}

.tile input[type="radio"],
.tile input[type="checkbox"] {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
}

.tile__mark {
    flex: none;
    width: 20px; height: 20px;
    margin-top: 2px;
    border: 1.5px solid var(--line-input);
    border-radius: 50%;
    background: var(--surface);
    transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.tile__mark--box { border-radius: 6px; }

.tile__mark::after {
    content: "";
    display: block;
    opacity: 0;
    transform: scale(.4);
    transition: opacity .16s var(--ease), transform .18s var(--ease);
}

/* pallino del radio */
.tile__mark:not(.tile__mark--box)::after {
    width: 8px; height: 8px;
    margin: 4.5px auto 0;
    border-radius: 50%;
    background: var(--surface);
}

/* spunta della casella */
.tile__mark--box::after {
    width: 5px; height: 9px;
    margin: 1.5px auto 0;
    border: solid var(--surface);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(.4);
}

.tile__body { min-width: 0; }

.tile__title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.008em;
    line-height: 1.3;
}
.tile--lg .tile__title { font-size: 1.25rem; letter-spacing: -.015em; }
.tile--lg .tile__desc { margin-top: 5px; font-size: .875rem; }

.tile__desc {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .8125rem;
    line-height: 1.45;
}

/* stato selezionato — bordo disegnato con inset per non spostare il layout */
.tile:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-tint);
    box-shadow: inset 0 0 0 1px var(--accent), var(--sh-md);
}
.tile:has(input:checked) .tile__mark {
    border-color: var(--accent);
    background: var(--accent);
}
.tile:has(input:checked) .tile__mark::after { opacity: 1; transform: scale(1); }
.tile:has(input:checked) .tile__mark--box::after { transform: rotate(45deg) scale(1); }
.tile:has(input:checked) .tile__desc { color: var(--ink-soft); }

/* messa a fuoco da tastiera */
.tile:has(input:focus-visible) {
    outline: 2px solid var(--accent-deep);
    outline-offset: 2px;
}

.tile.is-missing { border-color: var(--danger-line); background: var(--danger-tint); }

/* campo che compare sotto il riquadro selezionato */
.reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .24s var(--ease);
}
.reveal > * { overflow: hidden; min-height: 0; }
.tile:has(input:checked) .reveal { grid-template-rows: 1fr; }
.tile:has(input:checked) .reveal > * { padding: 0 16px 16px; }

/* --------------------------------------------------------------- campi ---- */

.fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field { display: flex; flex-direction: column; min-width: 0; }
.field--wide  { grid-column: 1 / -1; }
.field--grow  { grid-column: span 1; }
.field--short { max-width: 120px; }

.field label {
    margin-bottom: 6px;
    color: var(--ink-soft);
    font-size: .8125rem;
    font-weight: 500;
}

.req {
    margin-left: 5px;
    color: var(--faint);
    font-size: .6875rem;
    font-weight: 400;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--line-input);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}

textarea { min-height: 168px; padding: 13px; line-height: 1.55; resize: vertical; }

::placeholder { color: var(--faint); opacity: 1; }

input:hover, textarea:hover { border-color: var(--ink-soft); }

input:focus, textarea:focus {
    border-color: var(--accent-deep);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* contorno vero, non solo alone: sopravvive a forced-colors e al alto contrasto */
input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent-deep);
    outline-offset: 1px;
}

input.is-missing, textarea.is-missing {
    border-color: var(--danger);
    background: var(--danger-tint);
}
input.is-missing:focus, textarea.is-missing:focus {
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .18);
}

.field__hint, .field__error {
    margin-top: 6px;
    font-size: .8125rem;
}
.field__hint  { color: var(--muted); }
.field__error { color: var(--danger); font-weight: 500; }

.counter {
    margin-top: 8px;
    color: var(--muted);
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
}
.counter b { color: var(--ink-soft); font-weight: 700; }
.counter.is-near b { color: var(--danger); }

/* ------------------------------------------------------------- coda ------- */

/* ------------------------------------------------------ modalità di invio -- */
/* Il recapito non è una spiegazione ma un dato: chi spedisce una raccomandata
   lo copia da qui, quindi va in inchiostro pieno e su righe proprie. */

.tile--channel { min-height: 104px; align-content: start; }

.tile__recapito {
    display: block;
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

/* ------------------------------------------------------------- dossier ---- */

.dossier {
    position: sticky;
    top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.dossier__sheet {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--sh-lg);
}

.dossier__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
}

.dossier__kind {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--accent-tint);
    color: var(--accent-deep);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .01em;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.dossier__code {
    color: var(--faint);
    font-size: .6875rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.dossier__rows { padding: 4px 0 2px; }

.row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }

.row dt {
    color: var(--faint);
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.row dd {
    margin-top: 5px;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    /* nome ed email, o luce e gas, restano su righe distinte come nel documento */
    white-space: pre-line;
    /* POD, PDR e codici incolonnano come in bolletta */
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

/* riga ancora da compilare: il tratteggio è lo spazio bianco del modulo */
.row:not(.is-set) dd::after {
    content: "";
    display: block;
    width: 64%;
    margin-top: 3px;
    border-top: 1.5px dashed var(--line-strong);
}

/* l'unico momento animato della pagina: il valore che si posa sulla riga */
.row.is-set dd { animation: settle .26s var(--ease) both; }

@keyframes settle {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: none; }
}

/* vive nel blocco d'azione: su telefono è l'unico punto sempre visibile */
.meter { margin-bottom: 16px; }

.meter__track {
    height: 4px;
    border-radius: 999px;
    background: var(--panel);
    overflow: hidden;
}

/* scala invece di animare la larghezza: niente ricalcolo di layout a ogni tasto */
.meter__fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s var(--ease), background-color .2s var(--ease);
}

.meter__label {
    margin-top: 8px;
    color: var(--muted);
    font-size: .75rem;
}
.meter__label.is-ready { color: var(--ok); font-weight: 500; }

/* ------------------------------------------------------------- azione ----- */

.dossier__action {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--sh-md);
}

.consent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: .8125rem;
    line-height: 1.45;
    cursor: pointer;
}

.consent input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.consent__mark {
    width: 20px; height: 20px;
    margin-top: 1px;
    border: 1.5px solid var(--line-input);
    border-radius: 6px;
    background: var(--surface);
    transition: border-color .16s var(--ease), background-color .16s var(--ease);
}

.consent__mark::after {
    content: "";
    display: block;
    width: 5px; height: 9px;
    margin: 1.5px auto 0;
    border: solid var(--surface);
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) scale(.4);
    transition: opacity .16s var(--ease), transform .18s var(--ease);
}

.consent:has(input:checked) .consent__mark { border-color: var(--accent); background: var(--accent); }
.consent:has(input:checked) .consent__mark::after { opacity: 1; transform: rotate(45deg) scale(1); }
.consent:has(input:focus-visible) .consent__mark { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.consent.is-missing .consent__mark { border-color: var(--danger); background: var(--danger-tint); }

.submit {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--accent-deep);
    color: var(--surface);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.005em;
    cursor: pointer;
    box-shadow: 0 6px 16px -5px color-mix(in srgb, var(--accent-deep) 55%, transparent);
    transition: background-color .16s var(--ease), box-shadow .16s var(--ease), transform .12s var(--ease);
}

.submit:hover { background: color-mix(in srgb, var(--accent-deep) 88%, var(--shade)); box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--accent-deep) 60%, transparent); }
.submit:active { transform: translateY(1px); box-shadow: var(--sh-sm); }
.submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* niente opacity: bianco su rosa al 72% scende a 3,9:1, sotto la soglia.
   Lo stato occupato si scurisce, così il contrasto sale invece di calare. */
.submit.is-busy,
.submit:disabled {
    pointer-events: none;
    background: color-mix(in srgb, var(--accent-deep) 78%, var(--shade));
    box-shadow: none;
    cursor: default;
}

.submit.is-busy [data-submit-label]::after {
    content: "";
    display: inline-block;
    width: 13px; height: 13px;
    margin-left: 9px;
    vertical-align: -1px;
    border: 2px solid rgba(255, 255, 255, .38);
    border-top-color: var(--surface);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.dossier__note {
    margin-top: 12px;
    color: var(--faint);
    font-size: .75rem;
    line-height: 1.45;
}

/* ------------------------------------------------------------ colophon ---- */

.colophon {
    padding: 26px 0 34px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--faint);
    font-size: .75rem;
    text-align: center;
}
.colophon p + p { margin-top: 5px; }
.colophon a { color: var(--muted); }

/* ============================================================ adattamento = */

@media (max-width: 1080px) {
    .workspace { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
}

@media (max-width: 900px) {
    .masthead__inner,
    .workspace { width: min(720px, 100% - 40px); }

    .workspace {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-bottom: 0;
    }

    /* display:contents scioglie il dossier dentro la griglia: il blocco d'azione
       prende come contenitore l'intero modulo e resta agganciato al fondo per
       tutta la compilazione, invece che solo negli ultimi centimetri di scorrimento */
    .dossier { display: contents; }

    .dossier__action {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin-inline: -20px;
        border-radius: var(--r-lg) var(--r-lg) 0 0;
        border-bottom: 0;
        box-shadow: 0 -10px 28px -12px rgba(16, 24, 40, .22);
    }

    /* su telefono la barra deve restare bassa: la nota si legge nella pagina di esito */
    .dossier__note { display: none; }
}

@media (max-width: 720px) {
    /* affiancare logo grande e titolo a 390px spezzerebbe il titolo in tre righe:
       sotto i 720px la testata si impila e il titolo riprende tutta la misura */
    .masthead__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 0 20px;
    }
    .masthead__logo {
        width: 176px;
        padding-right: 0;
        padding-bottom: 14px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .masthead__text h1 { font-size: 1.25rem; }
    .masthead__text p { font-size: .8125rem; }

    .workspace { padding-top: 28px; }

    .section + .section { margin-top: 32px; padding-top: 32px; }
    .section__head { flex-direction: row; align-items: center; }
    .section__title { font-size: 1.125rem; }

    .choices--2 { grid-template-columns: minmax(0, 1fr); }
    .fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .field--short { max-width: none; }

    .tile--lg { padding: 16px; }

    .dossier__action { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); }
    .consent { margin-bottom: 12px; font-size: .75rem; }
}

/* ================================================================= stampa = */
/* Una pagina che si presenta come atto verrà stampata: senza queste regole
   uscirebbe con ombre, elementi appiccicati e cromature fuori posto. */
@media print {
    body { background: var(--surface); color: var(--ink); }

    .masthead::before,
    .chip,
    .group-error,
    .colophon,
    .submit,
    .meter,
    .dossier__note { display: none; }

    /* i recapiti restano: su carta servono più che a schermo */
    .tile--channel { break-inside: avoid; }

    .masthead { border-bottom: 1.5px solid var(--ink); }
    .masthead__inner, .workspace { width: auto; padding: 12px 0; }

    .workspace { display: block; }
    .dossier { display: block; position: static; margin-top: 20px; }

    .section { break-inside: avoid; page-break-inside: avoid; }
    .section + .section { margin-top: 20px; padding-top: 20px; }

    .tile,
    .dossier__sheet,
    .dossier__action { box-shadow: none; border-color: var(--line-input); break-inside: avoid; }

    .reveal { grid-template-rows: 1fr; }
    input, textarea { border-color: var(--line-input); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
