/* Insieme · un'app altana. Impianto da iPhone (titoli grandi, gruppi, schede in basso; barra laterale sul computer),
   colori e caratteri di altana: osso e inchiostro, un solo colore caldo (terra / sole), Tenor Sans per i titoli, Jost per i testi.
   Niente personaggi né illustrazioni: il segno di Insieme sono tre anelli a filo che si tengono, quello in mezzo pieno (il calendario comune). Chiaro/scuro come il telefono. */
@font-face { font-family: 'Jost'; font-weight: 300 500; font-display: swap; src: url(font/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-weight: 300 500; font-display: swap; src: url(font/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Tenor Sans'; font-weight: 400; font-display: swap; src: url(font/tenor-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tenor Sans'; font-weight: 400; font-display: swap; src: url(font/tenor-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light dark;
  --bg: #F3F0EA;            /* osso */
  --card: #FBFAF7;
  --card2: #ECE7DE;         /* pietra */
  --fill: rgba(29, 28, 26, .06);
  --tx: #1D1C1A;            /* inchiostro */
  --tx2: rgba(29, 28, 26, .64);
  --tx3: rgba(29, 28, 26, .4);
  --sep: rgba(29, 28, 26, .1);
  --acc: #B3664C;           /* terra */
  --acc-t: #9A5038;
  --acc-soft: rgba(179, 102, 76, .12);
  --sole: #D88A6E;
  --ok-t: #4E7A4B; --ok-soft: rgba(78, 122, 75, .12);
  --rit-t: #A4402E;
  --vetro: rgba(243, 240, 234, .82);
  --ombra: 0 1px 2px rgba(29, 28, 26, .04), 0 8px 24px rgba(29, 28, 26, .06);
  --titoli: 'Tenor Sans', 'Optima', 'Avenir Next', serif;
  --testo: 'Jost', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 20px; --r2: 14px; --r3: 10px;
  --lato: max(16px, env(safe-area-inset-left));
  --morbido: cubic-bezier(.22, .61, .36, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614; --card: #1F1E1B; --card2: #2A2825; --fill: rgba(243, 240, 234, .07);
    --tx: #F3F0EA; --tx2: rgba(243, 240, 234, .66); --tx3: rgba(243, 240, 234, .38); --sep: rgba(243, 240, 234, .1);
    --acc: #D88A6E; --acc-t: #E3A28A; --acc-soft: rgba(216, 138, 110, .14);
    --ok-t: #8DB889; --ok-soft: rgba(141, 184, 137, .14); --rit-t: #E58C78;
    --vetro: rgba(23, 22, 20, .82); --ombra: none;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 16px/1.5 var(--testo); -webkit-font-smoothing: antialiased; min-height: 100svh; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--acc-t); }
svg { width: 1em; height: 1em; flex: none; }
.hide { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0; }
.anima .rivela { opacity: 0; }

/* ---------------------------------------------------------------- marchio */
.marchio { display: flex; align-items: center; gap: 14px; font: 400 26px/1 var(--titoli); letter-spacing: .06em; }
.marchio-segno { width: 50px; height: 28px; flex: none; overflow: visible; }
.marchio-segno .anello { fill: none; stroke: currentColor; stroke-width: 1.6; }
.marchio-segno .centro { fill: var(--acc); }
.marchio.piccolo { font-size: 21px; gap: 10px; }
.marchio.piccolo .marchio-segno { width: 40px; height: 22px; }

/* ---------------------------------------------------------------- fuori (accesso e cassa) */
.fuori { position: relative; min-height: 100svh; overflow: clip; display: flex; justify-content: center; }
.fuori-dentro { position: relative; z-index: 1; width: min(440px, 100% - 2 * var(--lato)); padding: calc(40px + env(safe-area-inset-top)) 0 calc(200px + env(safe-area-inset-bottom)); }
.fuori .marchio { margin-bottom: clamp(56px, 12vh, 112px); }
.passo h1 { font: 400 clamp(40px, 11vw, 56px)/1.04 var(--titoli); letter-spacing: -.005em; }
.passo .sotto { margin: 16px 0 32px; font-size: 18px; line-height: 1.5; color: var(--tx2); max-width: 380px; }
.campo { display: block; margin-bottom: 12px; }
.campo span { display: block; font-size: 14px; color: var(--tx2); margin: 0 0 6px 4px; }
.campo input { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r2); border: 1px solid var(--sep); background: var(--card); font-size: 17px; outline: none; }
.campo input:focus { border-color: var(--acc); }
#in-codice, #in-invito { font: 500 26px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.tasto { width: 100%; height: 52px; margin-top: 8px; border-radius: 999px; background: var(--tx); color: var(--bg); font-size: 17px; font-weight: 500; transition: opacity .2s; }
.tasto:disabled { opacity: .5; }
.tasto.chiaro { background: var(--fill); color: var(--tx); }
.msg { min-height: 24px; margin-top: 12px; font-size: 15px; color: var(--rit-t); }
.msg.ok { color: var(--ok-t); }
.piede { margin-top: 20px; font-size: 14px; color: var(--tx3); line-height: 1.6; }
.piede a { color: var(--tx2); }
.link { color: var(--acc-t); font-size: inherit; }
.link.forte { font-weight: 500; }
.prezzo { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 20px; }
.prezzo b { font: 400 56px/1 var(--titoli); }
.prezzo span { color: var(--tx2); }
.punti { list-style: none; padding: 0; margin: 0 0 24px; }
.punti li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--sep); color: var(--tx2); }
.punti li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }

/* ---------------------------------------------------------------- app */
.app { min-height: 100svh; }
.vista { padding: calc(24px + env(safe-area-inset-top)) var(--lato) calc(176px + env(safe-area-inset-bottom)); max-width: 760px; margin: 0 auto; outline: none; }
.titolo-grande { font: 400 40px/1.1 var(--titoli); margin: 8px 0 4px; }
.sottotitolo { color: var(--tx2); font-size: 16px; margin-bottom: 24px; }
.sezione { font-size: 14px; font-weight: 500; color: var(--tx2); margin: 32px 4px 8px; }
.sezione:first-child { margin-top: 0; }

/* schede in basso (telefono) / barra laterale (computer) */
.schede { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: var(--vetro); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--sep); }
.schede .marchio { display: none; }
.schede a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 4px 0; font-size: 11px; color: var(--tx3); text-decoration: none; }
.schede a svg { width: 26px; height: 26px; }
.schede a.attiva { color: var(--tx); }
.schede a.attiva svg { color: var(--acc); }

/* assistente: sopra le schede */
.assistente { position: fixed; z-index: 19; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); padding: 8px var(--lato); pointer-events: none; }
.assistente > * { pointer-events: auto; max-width: 728px; margin: 0 auto; }
.ass-barra { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 6px; border-radius: 999px; background: var(--card); box-shadow: var(--ombra); border: 1px solid var(--sep); }
.ass-barra input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 16px; }
.ass-barra input::placeholder { color: var(--tx3); }
.ass-mic, .ass-manda { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--tx2); }
.ass-mic svg, .ass-manda svg { width: 22px; height: 22px; }
.ass-manda { background: var(--tx); color: var(--bg); }
.ass-mic.ascolta { background: var(--acc); color: #fff; }
.ass-mic.lavora { color: var(--acc); }
.ass-risposta { margin-bottom: 8px !important; padding: 16px; border-radius: var(--r); background: var(--card); box-shadow: var(--ombra); border: 1px solid var(--sep); }
.ass-risposta .proposta-tipo { font-size: 13px; color: var(--tx2); }
.ass-risposta .proposta-titolo { font: 400 22px/1.2 var(--titoli); margin: 4px 0 8px; }
.ass-risposta .proposta-righe { color: var(--tx2); font-size: 15px; line-height: 1.6; }
.ass-risposta .proposta-tasti { display: flex; gap: 8px; margin-top: 12px; }
.ass-risposta .proposta-tasti button { flex: 1; height: 44px; border-radius: 999px; background: var(--fill); font-weight: 500; }
.ass-risposta .proposta-tasti button.si { background: var(--tx); color: var(--bg); }
.ass-risposta .chiudi-r { float: right; width: 28px; height: 28px; margin: -6px -6px 0 8px; border-radius: 50%; display: grid; place-items: center; color: var(--tx3); }
.ass-risposta .barra-scarico { height: 4px; border-radius: 2px; background: var(--fill); overflow: hidden; margin-top: 12px; }
.ass-risposta .barra-scarico i { display: block; height: 100%; background: var(--acc); width: var(--p, 0%); transition: width .3s; }

.piu { position: fixed; z-index: 18; right: var(--lato); bottom: calc(132px + env(safe-area-inset-bottom)); width: 52px; height: 52px; border-radius: 50%;
  background: var(--acc); color: #fff; display: grid; place-items: center; box-shadow: var(--ombra); }
.piu svg { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- liste */
.gruppo-lista { background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--sep); }
.voce { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 16px; text-align: left; position: relative; }
.voce + .voce::before { content: ''; position: absolute; top: 0; left: 72px; right: 0; height: 1px; background: var(--sep); }
.voce-ora { width: 44px; flex: none; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--tx2); text-align: right; line-height: 1.25; }
.voce-ora small { display: block; font-size: 12px; color: var(--tx3); }
.voce-segno { width: 4px; align-self: stretch; border-radius: 2px; flex: none; background: var(--c, var(--acc)); margin: 4px 0; }
.voce-testo { flex: 1; min-width: 0; }
.voce-titolo { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.voce-sotto { font-size: 13px; color: var(--tx2); display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.voce-sotto svg { width: 12px; height: 12px; vertical-align: -1px; margin-right: 2px; }
.voce-importo { font-variant-numeric: tabular-nums; font-size: 16px; text-align: right; flex: none; }
.voce-importo small { display: block; font-size: 12px; color: var(--tx3); }
.voce.pagata .voce-titolo, .voce.pagata .voce-importo { color: var(--tx3); text-decoration: line-through; }
.spunta { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--tx3); display: grid; place-items: center; color: transparent; }
.spunta.si { background: var(--ok-t); border-color: var(--ok-t); color: #fff; }
.spunta svg { width: 14px; height: 14px; }
.pallini { display: inline-flex; gap: 3px; }
.pallini i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.vuoto { padding: 24px 16px; color: var(--tx2); text-align: center; font-size: 15px; }
.rit { color: var(--rit-t); }

/* riepilogo in cima a «Oggi» */
.riepilogo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.cifra { background: var(--card); border: 1px solid var(--sep); border-radius: var(--r); padding: 16px; text-align: left; }
.cifra span { display: block; font-size: 13px; color: var(--tx2); }
.cifra b { display: block; font: 400 32px/1.15 var(--titoli); margin-top: 4px; font-variant-numeric: tabular-nums; }
.cifra small { display: block; font-size: 13px; color: var(--tx3); margin-top: 2px; }

/* ---------------------------------------------------------------- calendario del mese */
.mese-testa { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 12px; }
.mese-testa h1 { font: 400 32px/1.1 var(--titoli); }
.mese-testa .frecce { display: flex; gap: 4px; }
.mese-testa .frecce button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); }
.mese-testa .frecce button.oggi-t { width: auto; padding: 0 14px; border-radius: 999px; font-size: 14px; }
.griglia { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--card); border: 1px solid var(--sep); border-radius: var(--r); padding: 8px; }
.griglia .gs { text-align: center; font-size: 12px; color: var(--tx3); padding: 4px 0 8px; }
.giorno { aspect-ratio: 1 / 1.05; border-radius: var(--r3); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding-top: 6px; font-variant-numeric: tabular-nums; font-size: 16px; }
.giorno.fuori-mese { color: var(--tx3); }
.giorno.oggi > span:first-child { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; margin-top: -3px; }
.giorno.scelto { background: var(--fill); }
.giorno .pallini { flex-wrap: wrap; justify-content: center; max-width: 34px; }
.giorno .pallini i { width: 6px; height: 6px; }

/* ---------------------------------------------------------------- famiglia */
.persona { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 16px; position: relative; text-align: left; }
.persona + .persona::before, .riga-imp + .riga-imp::before { content: ''; position: absolute; top: 0; left: 64px; right: 0; height: 1px; background: var(--sep); }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 500; font-size: 15px; }
.persona-testo { flex: 1; min-width: 0; }
.persona-testo small { display: block; font-size: 13px; color: var(--tx2); }
.riga-imp { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 16px; position: relative; text-align: left; }
.riga-imp + .riga-imp::before { left: 16px; }
.riga-imp .val { margin-left: auto; color: var(--tx2); font-size: 15px; }
.riga-imp svg.vai { color: var(--tx3); margin-left: 4px; }
.riga-imp.rossa { color: var(--rit-t); }
.codice-invito { font: 500 32px/1 var(--mono); letter-spacing: .2em; text-align: center; padding: 20px 0 4px; }
.nota { font-size: 14px; color: var(--tx2); padding: 8px 4px 0; line-height: 1.55; }
.passi-cal { margin: 8px 0 0; padding: 0 16px 16px 36px; color: var(--tx2); font-size: 15px; line-height: 1.6; }
.tasti-due { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.tasti-due .tasto { margin: 0; height: 46px; font-size: 15px; }

/* ---------------------------------------------------------------- foglio (nuovo / modifica) */
.foglio { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.foglio-velo { position: absolute; inset: 0; background: rgba(0, 0, 0, .36); }
.foglio-carta { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 24px - env(safe-area-inset-top)); display: flex; flex-direction: column;
  background: var(--bg); border-radius: var(--r) var(--r) 0 0; overflow: clip; }
.foglio-testa { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--sep); flex: none; }
.foglio-testa h2 { font: 400 18px/1 var(--titoli); }
.foglio-corpo { overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
@media (min-width: 700px) { .foglio { align-items: center; } .foglio-carta { border-radius: var(--r); max-height: min(760px, 92dvh); } }
.segmenti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; border-radius: var(--r3); background: var(--fill); margin-bottom: 16px; }
.segmenti input { position: absolute; opacity: 0; pointer-events: none; }
.segmenti span { display: block; text-align: center; padding: 8px 0; border-radius: 8px; font-size: 14px; color: var(--tx2); }
.segmenti input:checked + span { background: var(--card); color: var(--tx); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); font-weight: 500; }
.segmenti input:focus-visible + span { outline: 2px solid var(--acc); }
.gruppo { background: var(--card); border-radius: var(--r2); border: 1px solid var(--sep); margin-bottom: 16px; overflow: hidden; }
.riga, .riga-titolo { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px; position: relative; }
.gruppo > * + *::before { content: ''; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--sep); }
.riga-titolo { width: 100%; border: 0; background: none; outline: none; font-size: 18px; }
.riga input, .riga select { border: 0; background: none; outline: none; text-align: right; font-size: 16px; color: var(--tx2); min-width: 0; max-width: 60%; }
.riga select { -webkit-appearance: none; appearance: none; padding-right: 2px; text-align-last: right; direction: rtl; }
.riga select option { direction: ltr; }
.riga .euro { display: flex; align-items: center; gap: 4px; color: var(--tx2); }
.riga .euro input { width: 110px; max-width: none; font-variant-numeric: tabular-nums; }
.riga.interruttore input { -webkit-appearance: none; appearance: none; width: 50px; height: 30px; border-radius: 999px; background: var(--fill); position: relative; transition: background .2s; flex: none; max-width: none; }
.riga.interruttore input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--morbido); }
.riga.interruttore input:checked { background: var(--acc); }
.riga.interruttore input:checked::after { transform: translateX(20px); }
.gruppo textarea { width: 100%; border: 0; background: none; outline: none; padding: 12px 16px; resize: vertical; font-size: 16px; }
.riga-etichetta { padding: 12px 16px 0; font-size: 14px; color: var(--tx2); }
.chi { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 14px; }
.chi label input { position: absolute; opacity: 0; pointer-events: none; }
.chi label span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--fill); font-size: 15px; }
.chi label span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chi label input:checked + span { background: var(--tx); color: var(--bg); }
.chi label input:focus-visible + span { outline: 2px solid var(--acc); }
[data-tipo="impegno"] .solo-bolletta, [data-tipo="scadenza"] .solo-bolletta { display: none; }
[data-tipo="scadenza"] .solo-impegno, [data-tipo="bolletta"] .solo-impegno { display: none; }
[data-tutto="si"] .con-ora { display: none; }
.tasto-elimina { width: 100%; height: 48px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--sep); color: var(--rit-t); font-size: 16px; }

/* avviso in alto */
.avviso { position: fixed; z-index: 60; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translate(-50%, -140%); padding: 12px 20px; border-radius: 999px;
  background: var(--tx); color: var(--bg); font-size: 15px; transition: transform .35s var(--morbido); max-width: calc(100% - 32px); text-align: center; }
.avviso.su { transform: translate(-50%, 0); }
.avviso.male { background: var(--rit-t); color: #fff; }

/* ---------------------------------------------------------------- computer: barra laterale */
@media (min-width: 900px) {
  .schede { top: 0; right: auto; bottom: 0; width: 240px; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 28px 12px; border-top: 0; border-right: 1px solid var(--sep); background: var(--bg); backdrop-filter: none; }
  .schede .marchio { display: flex; margin: 0 12px 28px; }
  .schede a { flex-direction: row; gap: 12px; min-width: 0; padding: 0 12px; height: 40px; border-radius: var(--r3); font-size: 16px; color: var(--tx2); }
  .schede a svg { width: 22px; height: 22px; }
  .schede a.attiva { background: var(--fill); }
  .vista { margin-left: 240px; padding: 40px 48px 160px; max-width: 900px; }
  .assistente { left: 240px; bottom: 24px; }
  .piu { bottom: 96px; right: 32px; }
  .titolo-grande { font-size: 48px; }
  .giorno { aspect-ratio: auto; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.app:has(#ass-risposta:not(.hide)) .piu { display: none; }

/* ---------------------------------------------------------------- «Mettilo nella Home» */
.hm-tel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px 20px 16px; margin: 0 auto 16px; max-width: 300px; border-radius: var(--r); background: var(--card2); }
.hm-tel span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hm-tel span i { width: 52px; height: 52px; border-radius: 12px; background: var(--fill); }
.hm-tel span u { width: 34px; height: 6px; border-radius: 3px; background: var(--fill); }
.hm-tel .hm-mia img { width: 52px; height: 52px; border-radius: 12px; }
.hm-tel .hm-mia em { font-style: normal; font-size: 11px; color: var(--tx); }
.hm-intro { color: var(--tx2); text-align: center; margin: 0 8px 16px; line-height: 1.5; }
.hm-tab { grid-template-columns: 1fr 1fr; }
.hm-tab button { padding: 8px 0; border-radius: 8px; font-size: 14px; color: var(--tx2); }
.hm-tab button.on { background: var(--card); color: var(--tx); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); font-weight: 500; }
.hm-installa { margin: 0 0 16px; }
.hm-passi { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--sep); border-radius: var(--r2); }
.hm-passi li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; position: relative; line-height: 1.45; }
.hm-passi li + li::before { content: ''; position: absolute; top: 0; left: 52px; right: 0; height: 1px; background: var(--sep); }
.hm-n { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--tx); color: var(--bg); font-style: normal; font-size: 14px; font-weight: 500; }
.hm-passi span { flex: 1; font-size: 15px; }
.hm-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--fill); color: var(--acc-t); }
.hm-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hm-nota { font-size: 14px; color: var(--tx2); line-height: 1.55; margin: 12px 4px 0; }
.hm-banner { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; margin-bottom: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--sep); text-align: left; }
.hm-banner img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.hm-banner span { flex: 1; font-size: 15px; line-height: 1.35; }
.hm-banner small { display: block; color: var(--tx2); font-size: 13px; }
[tabindex="-1"]:focus { outline: none; }
