/* ============================================================
   Interviste Zoom — stile
   Carta grigio-verde, inchiostro blu-ardesia, verde-petrolio come
   unico colore d'azione. L'ambra compare solo per "in corso".
   ============================================================ */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.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;
}

:root {
  --paper: #F4F6F5;
  --surface: #FFFFFF;
  --wash: #FAFBFA;
  --ink: #1C2A33;
  --ink-2: #51616A;
  --line: #D8DFDD;
  --line-soft: #E8EDEB;
  --teal: #126E6A;
  --teal-dark: #0D5552;
  --teal-tint: #E3F1F0;
  --amber: #E39B0B;
  --amber-tint: #FFF3D6;
  --amber-ink: #6F4800;
  --brick: #B3392F;
  --brick-tint: #FBE9E7;
  --ok: #1F7A4D;
  --ok-tint: #E4F3EA;
  --radius: 10px;

  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-body-font-family: "Schibsted Grotesk", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-size: 0.97rem;
  --bs-body-line-height: 1.5;
  --bs-border-color: var(--line);
  --bs-link-color: var(--teal);
  --bs-link-hover-color: var(--teal-dark);
  --bs-link-color-rgb: 18, 110, 106;
  --bs-link-hover-color-rgb: 13, 85, 82;
  --bs-primary: var(--teal);
  --bs-primary-rgb: 18, 110, 106;
  --bs-secondary-color: var(--ink-2);
  --bs-emphasis-color: var(--ink);
  --bs-border-radius: 8px;
}

body { font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.text-muted { color: var(--ink-2) !important; }
.text-ok { color: var(--ok); }
.text-bad { color: var(--brick); }
.text-warn { color: var(--amber-ink); font-weight: 600; }
.fw-medium { font-weight: 550; }
a { text-underline-offset: 0.18em; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0.5rem; background: var(--ink); color: #fff; padding: 0.5rem 0.9rem; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 0.5rem; }

/* ---------- Bootstrap: ritocchi ---------- */
.btn { font-weight: 600; border-radius: 8px; }
.btn-primary {
  --bs-btn-bg: var(--teal); --bs-btn-border-color: var(--teal); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--teal-dark); --bs-btn-hover-border-color: var(--teal-dark); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--teal-dark); --bs-btn-active-border-color: var(--teal-dark);
  --bs-btn-focus-shadow-rgb: 18, 110, 106;
  --bs-btn-disabled-bg: var(--teal); --bs-btn-disabled-border-color: var(--teal);
}
.btn-outline-primary {
  --bs-btn-color: var(--teal); --bs-btn-border-color: var(--teal);
  --bs-btn-hover-bg: var(--teal); --bs-btn-hover-border-color: var(--teal); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--teal-dark); --bs-btn-active-border-color: var(--teal-dark);
}
.btn-outline-secondary {
  --bs-btn-color: var(--ink); --bs-btn-border-color: #BAC5C2;
  --bs-btn-hover-bg: #EEF2F1; --bs-btn-hover-border-color: #9FAEAA; --bs-btn-hover-color: var(--ink);
  --bs-btn-active-bg: #E3E9E7; --bs-btn-active-border-color: #9FAEAA; --bs-btn-active-color: var(--ink);
}
.btn-outline-danger {
  --bs-btn-color: var(--brick); --bs-btn-border-color: #E3B5B0;
  --bs-btn-hover-bg: var(--brick); --bs-btn-hover-border-color: var(--brick); --bs-btn-hover-color: #fff;
}
.btn-danger { --bs-btn-bg: var(--brick); --bs-btn-border-color: var(--brick); --bs-btn-hover-bg: #98302A; --bs-btn-hover-border-color: #98302A; }
.btn-light { --bs-btn-bg: #EDF1F0; --bs-btn-border-color: #EDF1F0; --bs-btn-hover-bg: #E1E8E6; --bs-btn-hover-border-color: #E1E8E6; --bs-btn-color: var(--ink); }
.btn-icon { width: 2.4rem; padding-left: 0; padding-right: 0; }
.btn i.bi { margin-right: 0.25rem; }
.btn-icon i.bi, .btn-light i.bi:only-child { margin-right: 0; }

.form-label { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.3rem; }
.form-control, .form-select { border-color: #BAC5C2; background-color: var(--surface); }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 0.2rem rgba(18, 110, 106, 0.18); }
.form-text { color: var(--ink-2); }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.form-check-input:focus { border-color: var(--teal); box-shadow: 0 0 0 0.2rem rgba(18, 110, 106, 0.18); }
.alert { border-radius: var(--radius); border-width: 1px; }
.alert-success { --bs-alert-bg: var(--ok-tint); --bs-alert-border-color: #BFDDCB; --bs-alert-color: #14522F; }
.alert-danger { --bs-alert-bg: var(--brick-tint); --bs-alert-border-color: #EFC4BF; --bs-alert-color: #7D2620; }
.alert-warning { --bs-alert-bg: var(--amber-tint); --bs-alert-border-color: #F2D99A; --bs-alert-color: var(--amber-ink); }
.alert-info { --bs-alert-bg: var(--teal-tint); --bs-alert-border-color: #BCDCDA; --bs-alert-color: #0B4A47; }
code { color: var(--teal-dark); background: var(--teal-tint); padding: 0.05rem 0.3rem; border-radius: 4px; font-size: 0.88em; }
hr { border-color: var(--line); opacity: 1; }
details summary { cursor: pointer; color: var(--teal); }

/* ---------- Struttura dell'area riservata ---------- */
.shell { display: flex; min-height: 100vh; }
.rail {
  width: 15.5rem; flex: 0 0 15.5rem; background: var(--surface); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 1.1rem 0.9rem; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.rail-brand { display: flex; align-items: center; gap: 0.7rem; padding: 0.2rem 0.5rem 1.3rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.005em; }
.rail-brand:hover { color: var(--ink); }
.rail-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.rail-user { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 0.15rem; }
.rail-link {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; border-radius: 8px; width: 100%;
  color: var(--ink); text-decoration: none; font-weight: 550; background: none; border: 0; text-align: left; font-size: 0.95rem;
}
.rail-link i { font-size: 1.1rem; color: var(--ink-2); width: 1.2rem; text-align: center; }
.rail-link:hover { background: #EEF2F1; color: var(--ink); }
.rail-link.is-active { background: var(--teal-tint); color: var(--teal-dark); font-weight: 650; }
.rail-link.is-active i { color: var(--teal); }
.rail-logout { cursor: pointer; }
.rail-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.content-col { flex: 1 1 auto; min-width: 0; }
.main { padding: 1.9rem 2.2rem 4rem; max-width: 1220px; }
.mobile-bar { display: none; align-items: center; gap: 0.8rem; padding: 0.7rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }

@media (max-width: 991.98px) {
  .rail { position: fixed; z-index: 40; left: 0; transform: translateX(-100%); transition: transform 0.2s ease; box-shadow: none; }
  .rail.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(28, 42, 51, 0.35); }
  .mobile-bar { display: flex; }
  .main { padding: 1.3rem 1rem 3rem; }
}

/* ---------- Testata di pagina ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.page-head h1 { font-size: 1.85rem; font-weight: 680; letter-spacing: -0.018em; margin: 0; line-height: 1.15; }
.page-sub { margin: 0.35rem 0 0; color: var(--ink-2); max-width: 60ch; }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: var(--ink-2); margin-bottom: 0.45rem; flex-wrap: wrap; }
.crumbs i { font-size: 0.7rem; }

/* ---------- Pannelli ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.panel.narrow { max-width: 34rem; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.panel-head h2 { font-size: 1.05rem; font-weight: 680; margin: 0; letter-spacing: -0.005em; }
.danger-zone { border-color: #E7C3BF; }
.empty { border: 1px dashed #BAC5C2; border-radius: var(--radius); padding: 1.6rem 1.4rem; background: var(--wash); }

/* ---------- Riepilogo ---------- */
.facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; color: var(--ink-2); }
.facts li { display: flex; align-items: baseline; gap: 0.4rem; }
.facts strong { font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts-live strong { color: var(--amber-ink); }
.facts-live::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--amber); align-self: center; }
.facts-warn strong { color: var(--brick); }

/* ---------- Timeline della giornata ---------- */
.day-nav { display: flex; align-items: center; gap: 0.4rem; }
.day-input { width: 9.5rem; }
.tl-scroll { overflow-x: auto; padding-bottom: 0.25rem; }
.tl { min-width: 780px; }
.tl-row { display: grid; grid-template-columns: 8.5rem 1fr; border-top: 1px solid var(--line-soft); }
.tl-axis { border-top: 0; }
.tl-host { padding: 0.8rem 0.6rem 0.8rem 0; font-weight: 600; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; align-self: center; }
.tl-track { position: relative; min-height: 3.4rem; }
.tl-axis .tl-track { min-height: 1.5rem; }
.tl-tick { position: absolute; top: 0; transform: translateX(-50%); font-size: 0.74rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tl-grid { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-soft); }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); z-index: 3; }
.tl-block {
  position: absolute; top: 0.4rem; bottom: 0.4rem; z-index: 2; display: flex; align-items: center; gap: 0.45rem;
  padding: 0 0.55rem; border-radius: 7px; overflow: hidden; white-space: nowrap; text-decoration: none; font-size: 0.82rem; min-width: 1.4rem;
}
.tl-time { font-variant-numeric: tabular-nums; font-weight: 700; }
.tl-title { overflow: hidden; text-overflow: ellipsis; }
.tl-scheduled { background: var(--teal); color: #fff; }
.tl-scheduled:hover { background: var(--teal-dark); color: #fff; }
.tl-live { background: var(--amber); color: #2B1B00; }
.tl-live:hover { background: #CF8B06; color: #2B1B00; }
.tl-past, .tl-ended { background: #E3E9E7; color: var(--ink-2); }
.tl-past:hover, .tl-ended:hover { background: #D5DDDA; color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--ink-2); }
.sw { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; margin-right: 0.4rem; vertical-align: -0.1rem; }
.sw-scheduled { background: var(--teal); } .sw-live { background: var(--amber); } .sw-past { background: #D5DDDA; }

/* ---------- Stati ---------- */
.state { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 650; padding: 0.15rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.state-next { background: var(--teal-tint); color: var(--teal-dark); }
.state-live { background: var(--amber-tint); color: var(--amber-ink); }
.state-done { background: var(--ok-tint); color: #14522F; }
.state-past { background: #EAEFED; color: var(--ink-2); }
.dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--amber); display: inline-block; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.mail { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 550; }
.mail-ok { color: var(--ok); } .mail-bad { color: var(--brick); } .mail-neutral { color: var(--ink-2); } .mail-muted { color: #7C8B91; }

/* ---------- Tabelle ---------- */
.table-clean { --bs-table-bg: transparent; margin-bottom: 0; }
.table-clean thead th { font-size: 0.8rem; font-weight: 650; color: var(--ink-2); border-bottom: 1px solid var(--line); padding: 0.55rem 0.75rem; white-space: nowrap; }
.table-clean td { padding: 0.75rem; border-color: var(--line-soft); }
.table-clean tbody tr:hover { background: var(--wash); }
.row-off { opacity: 0.6; }
.tabs-inline { display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: center; }
.tab { padding: 0.35rem 0.8rem; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.9rem; }
.tab:hover { background: #EEF2F1; color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab-sep { width: 1px; height: 1.3rem; background: var(--line); margin: 0 0.5rem; }
.filter-form { display: flex; align-items: center; gap: 0.4rem; }
.filter-form .form-control { min-width: 14rem; }
.pw-reset { width: 9rem; }

/* ---------- Elenco meeting di un job ---------- */
.meeting { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; background: var(--surface); }
.meeting-when { white-space: nowrap; }
.meeting-head { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto auto; gap: 0.5rem 1rem; align-items: center; padding: 0.85rem 1.1rem; background: var(--wash); border-bottom: 1px solid var(--line-soft); }
.meeting-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: flex-end; }
@media (max-width: 991.98px) {
  .meeting-head { grid-template-columns: 7rem minmax(0, 1fr) auto; }
  .meeting-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.table-people { table-layout: fixed; min-width: 760px; }
.table-people td { padding: 0.55rem 0.9rem; border-color: var(--line-soft); font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; }
.table-people .c-role { width: 9.5rem; }
.table-people .c-mail { width: 11.5rem; }
.table-people .c-access { width: 13rem; }
.table-people .c-actions { width: 12.5rem; }
.table-people tr:last-child td { border-bottom: 0; }
.role { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 650; color: var(--ink); }
.role::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 3px; background: var(--ink-2); }
.role-moderator::before { background: var(--teal); }
.role-respondent::before { background: var(--ink); }
.role-recorder::before { background: #5C7390; }
.role-translator::before { background: #8D5FA3; }
.role-client::before { background: #B26F1B; }

/* ---------- Form del meeting ---------- */
.meeting-form { max-width: 62rem; }
.people-head, .people-row { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) minmax(0, 1.15fr) 2.5rem; gap: 0.6rem; }
.people-head { font-size: 0.8rem; font-weight: 650; color: var(--ink-2); padding: 0 0.1rem 0.35rem; }
.people-row { margin-bottom: 0.55rem; align-items: start; }
@media (max-width: 767.98px) {
  .people-row { grid-template-columns: 1fr 2.5rem; padding: 0.8rem; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--wash); }
  .people-row > :nth-child(2), .people-row > :nth-child(3), .people-row > :nth-child(4) { grid-column: auto; }
  .people-row > :nth-child(2), .people-row > :nth-child(3) { grid-column: 1 / -1; }
  .people-row > :nth-child(4) { grid-column: 2; grid-row: 2; }
  .people-row > :nth-child(1) { grid-column: 1; }
}
.choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.choice { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 0.9rem; border: 1px solid #BAC5C2; border-radius: 8px; cursor: pointer; font-weight: 650; background: var(--surface); }
.choice i { font-size: 1.1rem; margin-right: 0.35rem; }
.choice small { font-weight: 450; color: var(--ink-2); }
.btn-check:checked + .choice { border-color: var(--teal); background: var(--teal-tint); box-shadow: inset 0 0 0 1px var(--teal); }
.btn-check:focus-visible + .choice { outline: 2px solid var(--teal); outline-offset: 2px; }
.interp-box { padding: 0.9rem 0.5rem 0.2rem; margin: 0.2rem 0 0; border-left: 3px solid var(--teal); background: var(--wash); border-radius: 0 8px 8px 0; }
.savebar { position: sticky; bottom: 0; z-index: 10; background: rgba(244, 246, 245, 0.96); border-top: 1px solid var(--line); padding: 0.85rem 0; margin-top: 0.5rem; backdrop-filter: blur(4px); }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.event-list li { display: flex; gap: 0.8rem; }

/* ---------- Testi mail ---------- */
.code-area { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.85rem; line-height: 1.5; }
.mail-preview { border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem 1.5rem; background: #fff; overflow-wrap: anywhere; }
.placeholders { display: grid; grid-template-columns: max-content 1fr; gap: 0.2rem 1rem; margin: 0.6rem 0 0; font-size: 0.88rem; }
.placeholders dt { font-family: ui-monospace, Consolas, monospace; color: var(--teal-dark); font-weight: 500; }
.placeholders dd { margin: 0; color: var(--ink-2); }

/* ---------- Pagine pubbliche e accesso ---------- */
.public-body { background: var(--paper); }
.public-wrap { max-width: 40rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.public-top { min-height: 3.2rem; display: flex; align-items: center; margin-bottom: 0.9rem; }
.brand-logo { height: 2.6rem; width: auto; }
.brand-text { font-weight: 700; color: var(--teal); }
.public-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 2rem 2rem 1.8rem; }
.role-tag { font-size: 0.85rem; font-weight: 600; color: var(--teal-dark); margin: 0 0 0.35rem; }
.topic { font-size: 1.7rem; font-weight: 680; letter-spacing: -0.018em; line-height: 1.2; margin: 0 0 1.4rem; text-wrap: balance; }
.when { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem 2rem; margin: 0 0 1.3rem; padding: 1rem 0 1.1rem; border-block: 1px solid var(--line-soft); }
.when dt { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.2rem; }
.when dd { margin: 0; }
.when-day { font-size: 1.05rem; font-weight: 600; }
.when-time { font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.15; }
.when-tz { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.notice { background: var(--teal-tint); color: #0B4A47; border-radius: 8px; padding: 0.7rem 0.9rem; margin: 0 0 1.2rem; font-weight: 550; }
.notice-live { display: flex; align-items: center; gap: 0.6rem; background: var(--amber-tint); color: var(--amber-ink); }
.greeting { margin: 0 0 1.4rem; max-width: 52ch; }
.go-form { margin: 0 0 1.1rem; }
.btn-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; background: var(--teal); color: #fff; border: 0;
  border-radius: 10px; padding: 1rem 2.2rem; font-size: 1.15rem; font-weight: 700; min-width: 15rem;
}
.btn-go:hover, .btn-go:focus-visible { background: var(--teal-dark); color: #fff; }
.btn-go i { font-size: 1.3rem; margin: 0; }
@media (max-width: 575.98px) { .btn-go { width: 100%; } .public-card { padding: 1.4rem 1.2rem; } .when { grid-template-columns: 1fr; } }
.secondary-actions { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.secondary-actions a { font-weight: 600; text-decoration: none; }
.secondary-actions a:hover { text-decoration: underline; }
.secondary-actions i { margin-right: 0.4rem; }
.public-info { padding: 1.6rem 0.4rem 0; color: var(--ink-2); font-size: 0.95rem; }
.public-info h2 { font-size: 1rem; font-weight: 680; color: var(--ink); }
.public-info p { margin-bottom: 0.7rem; }
.login-card { max-width: 25rem; margin: 9vh auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 2rem; }
.login-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; }
.login-app { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.2; }
.login-sub { color: var(--ink-2); font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  .rail { transition: none; }
}

/* Schede (pills) con i colori del sito */
.nav-pills .nav-link { color: var(--teal); border-radius: 0.6rem; font-weight: 500; }
.nav-pills .nav-link:hover { background: var(--teal-tint); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: var(--teal); color: #fff; }

/* Finestra di conferma (al posto di quella del browser) */
.confirm-dialog { border: 1px solid var(--line, #D9DEDD); border-radius: var(--radius); padding: 0; max-width: min(28rem, calc(100vw - 2rem)); width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,.18); color: inherit; }
.confirm-dialog::backdrop { background: rgba(20, 30, 30, .45); }
.confirm-dialog form { padding: 1.25rem 1.25rem 1rem; margin: 0; }
.confirm-msg { margin: 0 0 1.25rem; font-size: 1.0625rem; line-height: 1.45; }
.confirm-actions { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
