/* ============================================================================
   Sportello Pagamenti — frontoffice GovPay-Interaction-Layer
   Built on Montesilvano DS / .italia tokens (see tokens.css)
   ============================================================================ */

html, body { margin:0; padding: 0; width: 100%; overflow-x: hidden; }
body {
  background: var(--bg-1);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "kern";
}
img { max-width: 100%; }
button { font-family: inherit; }
*:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--r-sm);
}

/* container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-5); }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 var(--sp-5); }
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 var(--sp-4); }
}

/* ============================================================================
   SLIM HEADER (.italia .it-header-slim)
   ============================================================================ */
.slim-header { background: var(--bi-navy); color: #fff; font-size: var(--fs-13); }
.slim-header .container {
  height: 36px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.slim-header a { color: #fff; text-decoration: none; opacity: .9; }
.slim-header a:hover { opacity: 1; text-decoration: underline; }
.slim-header .left { display:flex; gap: var(--sp-5); align-items:center; }
.slim-header .right { display:flex; gap: var(--sp-4); align-items:center; font-size: 12px;}
.lang-switch { display: inline-flex; gap: 6px; }
.lang-switch span { padding: 2px 6px; border-radius: 2px; cursor: pointer; }
.lang-switch .active { background: rgba(255,255,255,.18); font-weight:600; }
.gov-dot { width: 8px; height: 8px; background: var(--it-green); border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }

/* ============================================================================
   INSTITUTIONAL HEADER
   ============================================================================ */
.inst-header { background: #fff; border-bottom: 1px solid var(--border-1); }
.inst-header .container {
  padding-top: var(--sp-4); padding-bottom: var(--sp-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.inst-brand { display: flex; align-items: center; gap: var(--sp-4); text-decoration: none; color: inherit; }
.inst-brand .stemma { width: 48px; height: auto; flex-shrink: 0; }
.inst-brand .eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--fg-3); margin-bottom: 2px;
}
.inst-brand .title {
  font-family: var(--font-sans); font-weight: 700; font-size: 20px;
  color: var(--bi-navy); line-height: 1.1; letter-spacing: -0.005em;
}
.inst-brand .sub { font-size: 13px; color: var(--fg-2); margin-top: 2px; }
.inst-actions { display:flex; gap: var(--sp-3); align-items:center; }

/* ============================================================================
   MAIN NAV (sticky)
   ============================================================================ */
.main-nav { background:#fff; border-bottom: 1px solid var(--border-1); position: sticky; top: 0; z-index: 30; }
.main-nav .nav-toggle-btn { display: none !important; }
.main-nav .nav-menu { display: flex !important; align-items: stretch !important; gap: var(--sp-5) !important; }
.main-nav .container { display:flex; align-items:stretch; gap: var(--sp-5); }
.main-nav .nav-item {
  padding: 14px 0; font-weight: 600; font-size: 15px;
  color: var(--fg-1); text-decoration: none;
  border-bottom: 3px solid transparent; cursor: pointer;
  background: none; border-left: 0; border-right: 0; border-top: 0;
  transition: color var(--dur-fast), border-color var(--dur-fast);
  display: inline-flex; align-items: center; gap: 8px;
}
.main-nav .nav-item:hover { color: var(--bi-primary); }
.main-nav .nav-item.active { color: var(--bi-primary); border-bottom-color: var(--bi-primary); }
.main-nav .spacer { flex: 1; }
.main-nav .cart-btn {
  align-self: center; background: var(--bi-primary-a8); color: var(--bi-primary);
  border: none; padding: 8px 14px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px; cursor: pointer;
  display: inline-flex; gap: 8px; align-items: center;
  position: relative; font-family: inherit;
}
.main-nav .cart-btn:hover { background: var(--bi-primary-a16); }
.main-nav .cart-btn .badge {
  background: var(--bi-primary); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; display:inline-flex; align-items:center; justify-content:center;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  cursor: pointer; line-height: 1.2; text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bi-primary); color: #fff; }
.btn-primary:hover { background: var(--bi-primary-h); }
.btn-outline { background: #fff; color: var(--bi-primary); border-color: var(--bi-primary); }
.btn-outline:hover { background: var(--bi-primary-a8); }
.btn-ghost { background: transparent; color: var(--bi-primary); }
.btn-ghost:hover { background: var(--bi-primary-a8); }
.btn-danger-ghost { background: transparent; color: var(--ms-danger); }
.btn-danger-ghost:hover { background: var(--ms-danger-bg); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }

.spid-btn {
  background: var(--bi-primary); color: #fff !important; display:inline-flex; gap: 10px; align-items:center;
  padding: 9px 16px; border-radius: var(--r-sm); font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; font-family: inherit;
  text-decoration: none !important;
}
.spid-btn:hover { background: var(--bi-primary-h); color: #fff !important; }
.spid-btn .lockup { font-weight: 900; letter-spacing: .04em; font-size: 11px; padding: 3px 6px; background: #fff; color: var(--bi-primary); border-radius: 2px; }

/* Ensure buttons and link-buttons maintain high contrast text color on hover, focus, and active states */
.btn, .spid-btn, .hero-cta {
  text-decoration: none !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible,
.spid-btn:focus,
.spid-btn:active,
.spid-btn:focus-visible,
.hero-cta:not(.primary):hover,
.hero-cta:not(.primary):focus,
.hero-cta:not(.primary):active,
.hero-cta:not(.primary):focus-visible {
  color: #ffffff !important;
  text-decoration: none !important;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline:focus-visible {
  color: var(--bi-primary) !important;
  text-decoration: none !important;
}

.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:active,
.btn-ghost:focus-visible {
  color: var(--bi-primary) !important;
  text-decoration: none !important;
}

.hero-cta.primary:hover,
.hero-cta.primary:focus,
.hero-cta.primary:active,
.hero-cta.primary:focus-visible {
  color: var(--bi-navy) !important;
  text-decoration: none !important;
}

/* ============================================================================
   STATUS BADGES
   ============================================================================ */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4;
}
.status .dot { width: 7px; height: 7px; border-radius: 50%; }
.status-pay   { background: var(--ms-warning-bg); color: var(--ms-warning); }
.status-pay   .dot { background: var(--ms-warning); }
.status-paid  { background: var(--ms-success-bg); color: var(--ms-success); }
.status-paid  .dot { background: var(--ms-success); }
.status-due   { background: var(--ms-danger-bg);  color: var(--ms-danger); }
.status-due   .dot { background: var(--ms-danger); }
.status-check { background: var(--ms-info-bg);    color: var(--ms-info); }
.status-check .dot { background: var(--ms-info); }
.status-cancel{ background: var(--bg-2);          color: var(--fg-3); }
.status-cancel .dot { background: var(--fg-3); }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; background: var(--bi-navy); color: #fff; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px circle at 85% -10%, rgba(74,42,110,.4), transparent 60%),
    radial-gradient(700px circle at -5% 90%, rgba(0,102,204,.45), transparent 55%);
}
.hero-inner { padding: var(--sp-8) 0 var(--sp-7); position: relative; }
.hero-eyebrow { display:inline-flex; align-items:center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.75); margin-bottom: var(--sp-3); text-transform: uppercase; }
.hero-eyebrow .pill { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 4px 10px; border-radius: 999px; color: #fff; font-weight: 700; text-transform: none; letter-spacing: 0; }
.hero h1 {
  font-size: 44px; font-weight: 700; line-height: 1.08; color: #fff;
  max-width: 760px; margin: 0 0 var(--sp-4); letter-spacing: -0.015em;
}
.hero .lead { font-size: 18px; max-width: 640px; margin: 0 0 var(--sp-5); color: rgba(255,255,255,.92); }

.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); max-width: 720px; }
.hero-cta {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5);
  display: flex; gap: var(--sp-4); align-items: flex-start; text-decoration: none; color: #fff;
  transition: all var(--dur-fast) var(--ease-out); cursor: pointer; text-align: left;
}
.hero-cta:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); transform: translateY(-1px); }
.hero-cta.primary { background: #fff; color: var(--bi-navy); border-color: #fff; }
.hero-cta.primary:hover { background: var(--ms-slate-100); }
.hero-cta .icon-wrap {
  width: 40px; height: 40px; border-radius: var(--r-sm); background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-cta.primary .icon-wrap { background: var(--bi-primary-a8); color: var(--bi-primary); }
.hero-cta .title { font-size: 16px; font-weight: 700; line-height: 1.25; margin-bottom: 2px; }
.hero-cta .desc { font-size: 13px; opacity: .82; line-height: 1.4; }

.hero-trust { margin-top: var(--sp-6); display: flex; gap: var(--sp-5); flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.85); }
.hero-trust div { display:flex; gap: 8px; align-items:center; }
.hero-trust svg { width: 18px; height: 18px; color: var(--ms-gold-300); }

/* --- Marca da Bollo Digitale card --- */
.hero-inner.has-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.hero-trust-row {
  width: 100%;
}

@media (min-width: 992px) {
  .hero-inner.has-sidebar {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--sp-6);
    align-items: center;
  }
  .hero-inner.has-sidebar .hero-trust-row {
    grid-column: span 2;
  }
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bollo-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(228, 189, 86, 0.45); /* Elegant gold transparent border */
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--dur-base) var(--ease-out);
  overflow: hidden;
}

.bollo-card:hover {
  transform: translateY(-4px);
  border-color: var(--ms-gold-300);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--ms-gold-300);
}

.bollo-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(228, 189, 86, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.bollo-card-badge {
  display: flex;
  margin-bottom: var(--sp-3);
}

.bollo-card-badge .badge-gold {
  background: rgba(228, 189, 86, 0.15);
  color: var(--ms-gold-300);
  border: 1px solid rgba(228, 189, 86, 0.3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bollo-card-badge .badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--ms-gold-300);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--ms-gold-300);
  animation: goldPulse 2s infinite var(--ease-in-out);
}

.bollo-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.bollo-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(228, 189, 86, 0.12);
  border: 1px solid rgba(228, 189, 86, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-gold-300);
  flex-shrink: 0;
}

.bollo-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.bollo-card-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--sp-4) 0;
}

.bollo-card-footer {
  display: flex;
}

/* Premium Gold Button */
.btn-gold {
  background: linear-gradient(135deg, var(--ms-gold-500) 0%, var(--ms-gold-600) 100%);
  color: var(--ms-purple-900) !important; /* High contrast text */
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 12px rgba(201, 161, 59, 0.35);
  transition: all var(--dur-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--ms-gold-300) 0%, var(--ms-gold-500) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 161, 59, 0.45);
}

.btn-gold:active {
  transform: translateY(0);
}

@keyframes goldPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(228, 189, 86, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(228, 189, 86, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(228, 189, 86, 0);
  }
}

/* ============================================================================
   SECTION
   ============================================================================ */
section.block { padding: var(--sp-8) 0; }
section.block.tight { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }
section.block h2.section-title { font-size: 28px; font-weight: 700; margin: 0 0 var(--sp-2); color: var(--fg-1); }
section.block .section-sub { font-size: 16px; color: var(--fg-2); margin: 0 0 var(--sp-5); max-width: 680px; }
.section-head { display:flex; justify-content: space-between; align-items: flex-end; margin-bottom: var(--sp-5); gap: var(--sp-5); flex-wrap: wrap; }
.link-all { color: var(--bi-primary); font-weight: 600; text-decoration: none; font-size: 14px; }
.link-all:hover { text-decoration: underline; }

/* ============================================================================
   CARD
   ============================================================================ */
.card {
  background: var(--bg-0); border: 1px solid var(--border-1);
  border-radius: var(--r-md); box-shadow: var(--shadow-1);
}
.card-pad { padding: var(--sp-5); }
.card-pad-lg { padding: var(--sp-6); }

/* ============================================================================
   SERVICE TILES (home)
   ============================================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 920px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
.svc-tile {
  display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5);
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-md);
  text-decoration: none; color: inherit; min-height: 150px; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out); text-align: left;
  font-family: inherit;
}
.svc-tile:hover { border-color: var(--bi-primary); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.svc-tile .icon-wrap {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--bi-primary-a8); color: var(--bi-primary);
  display:flex; align-items:center; justify-content:center;
}
.svc-tile h3 { font-size: 16px; font-weight: 700; margin: 0; color: var(--fg-1); }
.svc-tile p  { font-size: 13px; color: var(--fg-3); margin: 0; line-height: 1.5; }
.svc-tile .arrow { margin-top: auto; color: var(--bi-primary); font-size: 13px; font-weight: 600; display:flex; align-items:center; gap: 4px; }

/* ============================================================================
   FORM CONTROLS (.italia style)
   ============================================================================ */
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--fg-1); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--fg-3); margin-top: 4px; line-height: 1.5; }
.field .error { font-size: 12px; color: var(--ms-danger); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 10px 12px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--border-2); border-radius: var(--r-sm);
  outline: none; background: #fff; color: var(--fg-1); transition: all var(--dur-fast) var(--ease-out);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ms-slate-400); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--border-focus); box-shadow: var(--shadow-focus); }
.input.mono { font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.input.error-state, .select.error-state { border-color: var(--ms-danger); }
.textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.required { color: var(--ms-danger); margin-left: 2px; }

/* radio group (segmented) */
.seg { display:inline-flex; background: var(--bg-2); border-radius: var(--r-sm); padding: 3px; gap: 3px; }
.seg button {
  border: none; background: transparent; padding: 7px 14px; font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer; border-radius: 4px; color: var(--fg-2);
}
.seg button.on { background: #fff; color: var(--fg-1); box-shadow: var(--shadow-1); }

/* checkbox */
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fg-2); line-height: 1.5; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 0; accent-color: var(--bi-primary); flex-shrink: 0; margin-top: 1px; }

/* ============================================================================
   ALERTS
   ============================================================================ */
.alert {
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5);
  display: flex; gap: var(--sp-3); align-items: flex-start;
  font-size: 14px; line-height: 1.5; border: 1px solid;
}
.alert .alert-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert strong { color: inherit; }
.alert-info    { background: var(--ms-info-bg); color: var(--ms-info); border-color: rgba(0,115,230,.2); }
.alert-success { background: var(--ms-success-bg); color: var(--ms-success); border-color: rgba(0,135,88,.2); }
.alert-warning { background: var(--ms-warning-bg); color: var(--ms-warning); border-color: rgba(166,99,0,.2); }
.alert-danger  { background: var(--ms-danger-bg); color: var(--ms-danger); border-color: rgba(217,54,79,.2); }
.alert-pago    { background: var(--bi-primary-a8); color: var(--bi-navy); border-color: rgba(0,102,204,.2); }

/* ============================================================================
   PAGE HEAD (breadcrumbs + title)
   ============================================================================ */
.page-head { background: #fff; border-bottom: 1px solid var(--border-1); }
.page-head .container { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }
.crumbs { display: flex; gap: 6px; font-size: 13px; color: var(--fg-3); margin-bottom: var(--sp-3); align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--fg-3); text-decoration: none; cursor: pointer; }
.crumbs a:hover { color: var(--bi-primary); text-decoration: underline; }
.crumbs .sep { color: var(--fg-3); opacity: .5; }
.crumbs .current { color: var(--fg-1); font-weight: 600; }
.page-head h1 { font-size: 32px; font-weight: 700; margin: 0; color: var(--fg-1); letter-spacing: -0.005em; }
.page-head .page-sub { font-size: 16px; color: var(--fg-2); margin: var(--sp-2) 0 0; max-width: 720px; }

/* ============================================================================
   TWO-COLUMN LAYOUT (form + sidebar)
   ============================================================================ */
.split { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: var(--sp-5); align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

.aside { display: flex; flex-direction: column; gap: var(--sp-4); position: sticky; top: 80px; }
.aside .card-pad { padding: var(--sp-4); }
.aside h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); margin: 0 0 var(--sp-3); font-weight: 700; }
.aside ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); font-size: 14px; color: var(--fg-2); }
.aside li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.aside li svg { width: 16px; height: 16px; color: var(--bi-primary); flex-shrink: 0; margin-top: 2px; }

/* ============================================================================
   AVVISO PREVIEW (PDF-ish card)
   ============================================================================ */
.avviso-card {
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-md);
  overflow: hidden;
}
.avviso-header {
  background: linear-gradient(180deg, var(--ms-slate-050), #fff);
  border-bottom: 1px solid var(--border-1);
  padding: var(--sp-4) var(--sp-5);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.avviso-header .from { font-size: 12px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.avviso-header .from strong { color: var(--bi-navy); display:block; font-size: 14px; margin-top: 2px; }
.avviso-body { padding: var(--sp-5); }
.avviso-row { display: grid; grid-template-columns: 180px 1fr; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px dashed var(--border-1); font-size: 14px; }
.avviso-row:last-child { border-bottom: none; }
.avviso-row .k { color: var(--fg-3); font-size: 13px; }
.avviso-row .v { color: var(--fg-1); font-weight: 500; }
.avviso-row .v.mono { font-family: var(--font-mono); font-size: 14px; letter-spacing: .03em; }
.avviso-row .v.amount { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--bi-navy); }

.avviso-actions {
  padding: var(--sp-4) var(--sp-5);
  background: var(--ms-slate-050); border-top: 1px solid var(--border-1);
  display: flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: flex-end;
}

/* ============================================================================
   TABLE (pendenze)
   ============================================================================ */
.table-wrap { background: #fff; border: 1px solid var(--border-1); border-radius: var(--r-md); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--fg-3); font-weight: 700; padding: 12px 16px;
  background: var(--ms-slate-050); border-bottom: 1px solid var(--border-1);
}
.table td { padding: 16px; border-bottom: 1px solid var(--border-1); vertical-align: middle; color: var(--fg-1); }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { cursor: pointer; transition: background var(--dur-fast); }
.table tbody tr:hover { background: var(--bi-primary-a4); }
.table tbody tr.selected { background: var(--bi-primary-a8); }
.table .mono { font-family: var(--font-mono); font-size: 13px; }
.table .amount { font-family: var(--font-mono); font-weight: 700; color: var(--bi-navy); }
.table input[type="checkbox"] { accent-color: var(--bi-primary); width: 16px; height: 16px; }

.table-toolbar {
  padding: 12px 16px; display:flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  background: #fff; border-bottom: 1px solid var(--border-1); flex-wrap: wrap;
}
.table-toolbar .left { display:flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; }
.filter-chip {
  background: var(--bg-2); border: 1px solid var(--border-1); color: var(--fg-2);
  padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer;
  display:inline-flex; gap: 6px; align-items: center;
}
.filter-chip.on { background: var(--bi-primary-a8); color: var(--bi-primary); border-color: var(--bi-primary); }
.filter-chip .count { background: rgba(255,255,255,.55); padding: 0 6px; border-radius: 999px; font-size: 11px; min-width: 18px; text-align:center; }
.filter-chip.on .count { background: var(--bi-primary); color: #fff; }

/* ============================================================================
   CART DRAWER
   ============================================================================ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity var(--dur-base); }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: min(440px, 92vw);
  background: #fff; z-index: 90; transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column; box-shadow: var(--shadow-3);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: var(--sp-5); border-bottom: 1px solid var(--border-1); display:flex; justify-content: space-between; align-items: center; }
.cart-head h2 { margin: 0; font-size: 18px; }
.cart-body { flex: 1; overflow: auto; padding: var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.cart-empty { text-align: center; padding: var(--sp-7) var(--sp-4); color: var(--fg-3); }
.cart-empty svg { color: var(--ms-slate-300); }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-3) var(--sp-4); padding: var(--sp-3); border: 1px solid var(--border-1); border-radius: var(--r-md); background: #fff; }
.cart-item .iuv { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: .03em; }
.cart-item .desc { font-size: 14px; font-weight: 600; color: var(--fg-1); margin: 2px 0; line-height: 1.3; }
.cart-item .amt { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--bi-navy); }
.cart-item .row2 { grid-column: 1 / -1; display:flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--fg-3); }
.cart-foot { padding: var(--sp-5); border-top: 1px solid var(--border-1); background: var(--ms-slate-050); }
.cart-total { display:flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--sp-4); }
.cart-total .lbl { font-size: 13px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.cart-total .val { font-family: var(--font-mono); font-size: 26px; font-weight: 700; color: var(--bi-navy); }
.cart-cap { font-size: 12px; color: var(--fg-3); margin-bottom: var(--sp-3); display:flex; justify-content: space-between; align-items: center; }
.cart-cap .bar { height: 4px; background: var(--bg-2); border-radius: 999px; overflow: hidden; flex: 1; margin-left: var(--sp-3); }
.cart-cap .bar > i { display: block; height: 100%; background: var(--bi-primary); border-radius: 999px; transition: width var(--dur-base) var(--ease-out); }

/* ============================================================================
   PAGOPA STRIP (footer-ish)
   ============================================================================ */
.pagopa-strip { background: var(--bi-navy); color: #fff; }
.pagopa-strip .container { display: flex; gap: var(--sp-5); align-items: center; justify-content: space-between; padding-top: var(--sp-5); padding-bottom: var(--sp-5); flex-wrap: wrap; }
.pagopa-strip .text { display: flex; align-items: center; gap: var(--sp-4); }
.pagopa-strip .logo-pago { height: 28px; flex-shrink: 0; }
.pagopa-strip p { margin: 0; font-size: 14px; color: rgba(255,255,255,.85); max-width: 540px; }

/* ============================================================================
   FOOTER
   ============================================================================ */
footer.site-footer { background: #0E1F36; color: #cbd5e1; font-size: 14px; }
footer .f-top {
  padding: var(--sp-6) 0; display: flex; justify-content: space-between;
  gap: var(--sp-5); align-items: flex-start; flex-wrap: wrap;
}
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .f-ident { display:flex; gap: var(--sp-4); align-items: flex-start; max-width: 560px; }
footer .f-ident .stemma { width: 44px; height: auto; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
footer .f-ident .title { color: #fff; font-size: 15px; font-weight: 700; }
footer .f-ident .sub { color: #94a3b8; font-size: 13px; margin-top: 4px; line-height: 1.6; }
footer .f-help {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px var(--sp-3);
  font-size: 13px; color: #cbd5e1;
}
footer .f-help-lbl {
  display: block; flex-basis: 100%; color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px;
}
footer .f-help .dot-sep { color: #475569; }
footer .f-help .muted-li { color: #94a3b8; }
footer .f-bottom { border-top: 1px solid rgba(255,255,255,.1); }
footer .f-bottom .container { padding-top: var(--sp-3); padding-bottom: var(--sp-3); display:flex; justify-content: space-between; gap: var(--sp-4); align-items:center; font-size: 12px; color: #94a3b8; flex-wrap: wrap; }
footer .f-legal { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

@media (max-width: 760px) {
  footer .f-top { flex-direction: column; gap: var(--sp-5); padding: var(--sp-5) 0; }
  footer .f-help { font-size: 12px; }
  footer .f-help .dot-sep { display: none; }
  footer .f-help .f-help-lbl { margin-bottom: 2px; }
}

/* ============================================================================
   ACCESS / DETTAGLIO HEADER
   ============================================================================ */
.profile-bar {
  background: linear-gradient(135deg, var(--bi-navy), #1f4f86);
  color: #fff; padding: var(--sp-5);
  border-radius: var(--r-md); display: flex; gap: var(--sp-4); align-items: center;
  margin-bottom: var(--sp-5);
}
.profile-bar .avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-mono); }
.profile-bar .name { font-weight: 700; font-size: 16px; }
.profile-bar .meta { font-size: 12px; opacity: .8; }
.profile-bar .stats { display: flex; gap: var(--sp-5); margin-left: auto; }
.profile-bar .stats .item { text-align: right; }
.profile-bar .stats .num { font-family: var(--font-mono); font-size: 22px; font-weight: 700; line-height: 1; }
.profile-bar .stats .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin-top: 4px; }

/* ============================================================================
   TIMELINE (dettaglio pendenza)
   ============================================================================ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--border-1); }
.timeline-item { position: relative; padding-bottom: var(--sp-4); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .dot { position: absolute; left: -28px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--border-2); display:flex; align-items:center; justify-content:center; }
.timeline-item.done .dot { border-color: var(--ms-success); background: var(--ms-success); color: #fff; }
.timeline-item.done .dot svg { width: 11px; height: 11px; }
.timeline-item.active .dot { border-color: var(--bi-primary); }
.timeline-item.active .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bi-primary); }
.timeline-item .title { font-weight: 600; font-size: 14px; color: var(--fg-1); }
.timeline-item .meta { font-size: 12px; color: var(--fg-3); margin-top: 2px; }

/* ============================================================================
   STEPS (form wizard)
   ============================================================================ */
.steps { display:flex; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-5); flex-wrap: wrap; }
.step { display:flex; gap: 10px; align-items: center; font-size: 13px; color: var(--fg-3); font-weight: 600; }
.step .n { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); color: var(--fg-3); display:flex; align-items:center; justify-content:center; font-family: var(--font-mono); font-weight: 700; font-size: 13px; }
.step.done .n { background: var(--ms-success); color: #fff; }
.step.active { color: var(--fg-1); }
.step.active .n { background: var(--bi-primary); color: #fff; }
.step .bar { width: 24px; height: 2px; background: var(--border-1); }

/* ============================================================================
   TOAST
   ============================================================================ */
.toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--bi-navy); color: #fff; border-radius: var(--r-md);
  padding: 12px 16px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-3);
  display: flex; gap: 12px; align-items: center; min-width: 280px; max-width: 460px;
  animation: toastIn .25s var(--ease-out);
}
.toast.success { background: var(--ms-success); }
.toast.error { background: var(--ms-danger); }
.toast svg { flex-shrink: 0; }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============================================================================
   DENSITY MODES (tweak)
   ============================================================================ */
body.density-compact .card-pad { padding: var(--sp-4); }
body.density-compact section.block { padding: var(--sp-7) 0; }
body.density-compact .hero-inner { padding: var(--sp-7) 0 var(--sp-6); }
body.density-compact .table td { padding: 12px 16px; }

/* ============================================================================
   MODAL
   ============================================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--sp-5); animation: fade .2s ease-out; }
.modal {
  background: #fff; border-radius: var(--r-lg); max-width: 480px; width: 100%;
  box-shadow: var(--shadow-3); overflow: hidden; animation: rise .25s var(--ease-out);
}
.modal-head { padding: var(--sp-5); border-bottom: 1px solid var(--border-1); display:flex; justify-content: space-between; align-items: center; }
.modal-head h3 { margin: 0; font-size: 18px; }
.modal-body { padding: var(--sp-5); }
.modal-foot { padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--border-1); display:flex; gap: var(--sp-3); justify-content: flex-end; }
.icon-btn { background: none; border: none; padding: 6px; cursor: pointer; color: var(--fg-3); border-radius: var(--r-sm); }
.icon-btn:hover { background: var(--bg-2); color: var(--fg-1); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============================================================================
   SPID PROVIDERS
   ============================================================================ */
.spid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-top: var(--sp-3); }
.spid-prov { background: var(--bg-2); border-radius: var(--r-sm); padding: 12px; text-align: center; font-size: 12px; font-weight: 600; color: var(--fg-2); cursor: pointer; border: 1.5px solid transparent; }
.spid-prov:hover { background: #fff; border-color: var(--bi-primary); color: var(--bi-primary); }

/* ============================================================================
   MOBILE / RESPONSIVE
   ============================================================================ */

/* — Slim header: keep gov + lang switch + lingua, hide the rest on small screens */
@media (max-width: 760px) {
  .slim-header { font-size: 12px; }
  .slim-header .container { height: auto; min-height: 36px; padding-top: 6px; padding-bottom: 6px; gap: var(--sp-3); flex-wrap: wrap; }
  .slim-header .left a { display: none; }
  .slim-header .left span:not(.gov-dot)::after { content: ""; }
  .slim-header .left span:not(.gov-dot) { display: inline-block; overflow: hidden; text-overflow: ellipsis; }
  .slim-header .right span:not(.active),
  .slim-header .right > span { display: none; }
  .slim-header .right .lang-switch-desktop { display: none !important; }
  .slim-header .right .lang-switch-mobile { display: inline-flex !important; }
  .slim-header .right { gap: 0; }
  
  .lang-select-input {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 4px !important;
    padding: 4px 24px 4px 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 6px center !important;
    transition: background 150ms ease, border-color 150ms ease;
  }
  .lang-select-input:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
  }
  .lang-select-input option {
    background: var(--bi-navy) !important;
    color: #fff !important;
  }
}
@media (max-width: 480px) {
  .slim-header .left span:not(.gov-dot) { font-size: 11px; }
}

/* — Inst header: stemma + access remain. Keep SPID button intact. */
@media (max-width: 760px) {
  .inst-header .container { padding-top: var(--sp-3); padding-bottom: var(--sp-3); gap: var(--sp-3); }
  .inst-brand { gap: var(--sp-3); min-width: 0; flex: 1; }
  .inst-brand .stemma { width: 40px; }
  .inst-brand .eyebrow { font-size: 10px; }
  .inst-brand .title { font-size: 16px; }
  .inst-brand .sub { display: none; }
  .inst-actions { gap: var(--sp-2); flex-shrink: 0; }
  .inst-actions .btn-ghost { display: none; }   /* hide "Guida" link on mobile (it's in nav) */
}
@media (max-width: 380px) {
  .inst-brand .stemma { width: 36px; }
  .inst-brand .title { font-size: 15px; }
}

/* — Main nav: compact hamburger menu on mobile; cart becomes icon-only */
@media (max-width: 760px) {
  .main-nav .main-nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 48px !important;
    padding: 0 var(--sp-4) !important;
  }
  .main-nav .nav-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    font-size: 1.25rem !important;
    color: var(--fg-1) !important;
    cursor: pointer !important;
    padding: 8px !important;
    margin-left: -8px !important;
  }
  .main-nav .nav-toggle-btn:hover,
  .main-nav .nav-toggle-btn.active {
    color: var(--bi-primary) !important;
  }
  .main-nav .nav-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid var(--border-1) !important;
    box-shadow: var(--shadow-3) !important;
    display: none !important;
    flex-direction: column !important;
    padding: var(--sp-3) var(--sp-4) !important;
    gap: 0 !important;
    z-index: 99 !important;
  }
  .main-nav .nav-menu.open {
    display: flex !important;
  }
  .main-nav .nav-item {
    padding: 12px 0 !important;
    font-size: 15px !important;
    width: 100% !important;
    border-bottom: 1px solid var(--ms-slate-100) !important;
    display: block !important;
    text-align: left !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom-width: 1px !important;
  }
  .main-nav .nav-item:last-child {
    border-bottom: none !important;
  }
  .main-nav .nav-item.active {
    border-bottom-color: transparent !important;
    color: var(--bi-primary) !important;
    font-weight: 700 !important;
  }
  .main-nav .spacer {
    display: none !important;
  }
  .main-nav .cart-btn {
    margin-left: auto !important;
    padding: 6px 12px !important;
    position: static !important;
    box-shadow: none !important;
  }
  .main-nav .cart-btn-text {
    display: none !important;
  }
}

/* — Hero */
@media (max-width: 760px) {
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 15px; }
  .hero-inner { padding: var(--sp-6) 0 var(--sp-5); }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: 11px; flex-wrap: wrap; gap: 6px; }
  .hero-eyebrow .pill { font-size: 11px; }
  .hero-trust { gap: var(--sp-3); font-size: 12px; margin-top: var(--sp-5); }
  .hero-cta { padding: var(--sp-3) var(--sp-4); gap: var(--sp-3); }
  .hero-cta .icon-wrap { width: 36px; height: 36px; }
  .hero-cta .title { font-size: 15px; }
  .hero-cta .desc { font-size: 12.5px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
}

/* — Sections */
@media (max-width: 760px) {
  section.block { padding: var(--sp-6) 0; }
  section.block h2.section-title { font-size: 22px; }
  section.block .section-sub { font-size: 14px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
  .svc-tile { padding: var(--sp-4); min-height: 0; }
  .svc-tile h3 { font-size: 15px; }
  .svc-tile p { font-size: 12.5px; }
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* — Page head */
@media (max-width: 760px) {
  .page-head h1 { font-size: 24px; }
  .page-head .page-sub { font-size: 14px; }
  .crumbs { font-size: 12px; }
}

/* — Split layout: stack and unstick aside */
@media (max-width: 920px) {
  .aside { position: static; }
}
@media (max-width: 760px) {
  .card-pad-lg { padding: var(--sp-5) var(--sp-4); }
}

/* — Avviso card: collapse rows on mobile */
@media (max-width: 600px) {
  .avviso-header { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
  .avviso-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .avviso-row .k { font-size: 12px; }
  .avviso-row .v.amount { font-size: 20px; }
  .avviso-body, .avviso-actions { padding: var(--sp-4); }
  .avviso-actions { flex-direction: column-reverse; align-items: stretch; }
  .avviso-actions .btn { width: 100%; justify-content: center; }
}

/* — Tables: horizontal scroll for full table; pendenze table needs it */
@media (max-width: 760px) {
  .table-wrap { overflow-x: auto; }
  .table { min-width: 640px; }
  .table-toolbar { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
  .table-toolbar .left { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .table-toolbar .left::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; }
}

/* — Profile bar: stack */
@media (max-width: 600px) {
  .profile-bar { flex-direction: column; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-4); }
  .profile-bar .stats { margin-left: 0; gap: var(--sp-4); width: 100%; justify-content: space-between; }
  .profile-bar .stats .item { text-align: left; }
}

/* — Cart drawer: full width below 480px */
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
  .cart-item { grid-template-columns: 1fr; }
  .cart-item .amt { font-size: 18px; }
}

/* — Steps wizard: cleaner wrap */
@media (max-width: 600px) {
  .steps .bar { display: none; }
  .step { font-size: 12px; }
}

/* — pagoPA strip: stack */
@media (max-width: 600px) {
  .pagopa-strip .container { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .pagopa-strip .text { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

/* — Footer: stack columns */
@media (max-width: 600px) {
  footer .f-bottom .container { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
}

/* — SPID providers grid */
@media (max-width: 480px) {
  .spid-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { max-width: 100%; }
}

/* — Toast: full width on tiny screens */
@media (max-width: 480px) {
  .toast-stack { left: var(--sp-3); right: var(--sp-3); transform: none; bottom: var(--sp-3); }
  .toast { min-width: 0; width: 100%; }
}

/* utility */
.muted { color: var(--fg-3); }
.spacer-1 { height: var(--sp-1); }
.spacer-3 { height: var(--sp-3); }
.spacer-5 { height: var(--sp-5); }
.hstack { display: flex; align-items: center; gap: var(--sp-3); }
.vstack { display: flex; flex-direction: column; gap: var(--sp-3); }
.between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.mono { font-family: var(--font-mono); }
.text-right { text-align: right; }
