/* Secondo Carato - mockup navigabile (prototipo, ottobre 2026) */
:root {
  --bg: #FAF7F1;
  --surface: #FFFFFF;
  --surface-2: #F4EFE5;
  --ink: #1D1A16;
  --ink-2: #5E574C;
  --ink-3: #8B8375;
  --line: #E6DFD1;
  --gold: #C29A48;
  --gold-strong: #8A6420;
  --gold-soft: #F3E9D3;
  --green: #2E6A4F;
  --green-soft: #E2EEE6;
  --red: #A6432C;
  --red-soft: #F7E5DF;
  --blue-soft: #E8EEF6;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 1px 2px rgba(29,26,22,.05), 0 6px 20px rgba(29,26,22,.06);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 72px;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(28px, 6vw, 46px); }
h2 { font-size: clamp(22px, 4vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 .8em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; color: var(--ink-3); }
.sr { position: absolute; left: -9999px; }

/* Fascia prototipo */
.proto {
  background: var(--ink);
  color: #F2EBDD;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 16px;
}
.proto a { color: var(--gold); font-weight: 600; text-decoration: none; margin-left: 6px; white-space: nowrap; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .bar { display: flex; align-items: center; gap: 16px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 30px; height: 30px; }
.logo span { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.logo span em { font-style: italic; font-weight: 400; color: var(--gold-strong); }
.search-top { flex: 1; display: none; }
@media (min-width: 900px) { .search-top { display: block; } }
.nav-top { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-top a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.nav-top a:hover { background: var(--surface-2); }
.nav-top .solo-desk { display: none; }
@media (min-width: 900px) { .nav-top .solo-desk { display: inline-flex; } }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.badge-dot { background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 99px; padding: 1px 6px; }

/* Barra di ricerca */
.search { position: relative; }
.search input {
  width: 100%; height: 44px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--bg); padding: 0 16px 0 42px; font: inherit; color: var(--ink);
}
.search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; background: #fff; }
.search .ico { position: absolute; left: 15px; top: 12px; color: var(--ink-3); }

/* Navigazione in basso (telefono) */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--ink-2); padding: 4px 0; }
.tabbar a.on { color: var(--gold-strong); font-weight: 600; }
.tabbar a.vendi .ico { background: var(--ink); color: #fff; border-radius: 99px; width: 34px; height: 34px; padding: 7px; margin-top: -10px; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 99px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--surface); border-color: var(--red); color: var(--red); }
.btn-block { width: 100%; }
.btn-s { height: 36px; padding: 0 14px; font-size: 13.5px; }
.link { color: var(--gold-strong); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Card e superfici */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card + .card { margin-top: 14px; }
.section { padding: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

/* Badge */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; border-radius: 99px; padding: 3px 9px; white-space: nowrap; }
.tag-pro { background: var(--ink); color: #fff; }
.tag-priv { background: var(--surface); color: var(--ink); border: 1px solid var(--ink-3); }
.tag-ok { background: var(--green-soft); color: var(--green); }
.tag-gold { background: var(--gold-soft); color: var(--gold-strong); }
.tag-warn { background: var(--red-soft); color: var(--red); }
.tag-id { background: var(--blue-soft); color: #2C4E7A; }
.esempio { font-size: 10.5px; font-weight: 600; color: var(--ink-3); border: 1px dashed var(--ink-3); border-radius: 6px; padding: 0 5px; margin-left: 4px; vertical-align: middle; }

/* Hero */
.hero { padding: 34px 0 26px; }
.hero-grid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; padding: 22px 0; } }
.hero p.lead { font-size: 17px; color: var(--ink-2); max-width: 34em; }
.hero .search input { height: 52px; font-size: 16px; background: #fff; }
.hero .search .ico { top: 16px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hero-img { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img .float {
  position: absolute; left: 14px; bottom: 14px; right: 14px; background: rgba(255,255,255,.95);
  border-radius: 12px; padding: 11px 14px; display: flex; gap: 10px; align-items: center; font-size: 13.5px;
}
.trust { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .ico { color: var(--green); width: 18px; height: 18px; }

/* Categorie */
.cats { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 auto; text-decoration: none; text-align: center; width: 92px; }
.cat .ph { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.cat .ph img { width: 100%; height: 100%; object-fit: cover; }
.cat span { display: block; font-size: 13px; font-weight: 500; margin-top: 6px; }

/* Griglia annunci */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1050px) { .grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .15s; }
.item:hover { box-shadow: var(--shadow); }
.item .ph { aspect-ratio: 1; background: var(--surface-2); position: relative; }
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.item .ph .tag { position: absolute; top: 8px; left: 8px; }
.item .fav { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.92); border-radius: 99px; width: 32px; height: 32px; display: grid; place-items: center; }
.item .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.item .t { font-size: 13.5px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .spec { font-size: 12px; color: var(--ink-3); }
.item .price { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-top: auto; padding-top: 4px; }
.item .who { font-size: 12px; color: var(--ink-2); display: flex; gap: 5px; align-items: center; }

/* Come funziona */
.steps { display: grid; gap: 12px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step .n { font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.two { display: grid; gap: 14px; }
@media (min-width: 800px) { .two { grid-template-columns: 1fr 1fr; } }
.ship-card { border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.ship-card.plus { background: var(--ink); color: #F4EEE2; border-color: var(--ink); }
.ship-card.plus .muted { color: #CFC6B5; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; font-size: 14px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .ico { width: 18px; height: 18px; margin-top: 2px; }
.checks .si .ico { color: var(--green); }
.ship-card.plus .checks .si .ico { color: var(--gold); }
.checks .no { color: var(--ink-3); }
.band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.media-row { display: grid; gap: 22px; align-items: center; }
@media (min-width: 850px) { .media-row { grid-template-columns: 1fr 1fr; } }
.media-row img { border-radius: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 28px 0 40px; font-size: 13.5px; color: var(--ink-2); }
.foot-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: 13px; color: var(--ink); margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Ricerca e filtri */
.layout-search { display: grid; gap: 18px; }
@media (min-width: 900px) { .layout-search { grid-template-columns: 250px 1fr; align-items: start; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin: 14px 0 8px; }
.filters h4:first-child { margin-top: 0; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 3px 0; cursor: pointer; }
.chk input { accent-color: var(--ink); width: 16px; height: 16px; }
.range { display: flex; gap: 8px; }
.range input { width: 100%; }
.filters-toggle { display: inline-flex; }
@media (min-width: 900px) { .filters-toggle { display: none; } }
@media (max-width: 899px) { .filters { display: none; } .filters.open { display: block; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 12px; font-size: 13px; text-decoration: none; cursor: pointer; font: inherit; font-size: 13px; color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Moduli */
label.f { display: block; font-size: 13.5px; font-weight: 600; margin: 14px 0 6px; }
label.f .req { color: var(--red); }
label.f .hint { font-weight: 400; color: var(--ink-3); }
.input, select.input, textarea.input {
  width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; padding: 10px 12px; font: inherit; color: var(--ink);
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.input.ai { background: #FFFCF4; border-color: var(--gold); }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.note { border-radius: var(--radius-s); padding: 12px 14px; font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start; }
.note .ico { margin-top: 1px; }
.note-info { background: var(--blue-soft); color: #23405F; }
.note-ok { background: var(--green-soft); color: #1F4A37; }
.note-warn { background: var(--red-soft); color: #6E2A1B; }
.note-gold { background: var(--gold-soft); color: #5B4313; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 99px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 99px; padding: 8px 16px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* Upload */
.drop { border: 1.5px dashed var(--ink-3); border-radius: var(--radius); padding: 18px; text-align: center; background: var(--surface); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.thumbs .t { aspect-ratio: 1; border-radius: 10px; overflow: hidden; position: relative; background: var(--surface-2); }
.thumbs .t img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .t .lab { position: absolute; left: 4px; bottom: 4px; right: 4px; background: rgba(29,26,22,.78); color: #fff; font-size: 10.5px; border-radius: 6px; padding: 2px 5px; text-align: center; }
.thumbs .t.req-empty { border: 1.5px dashed var(--red); display: grid; place-items: center; text-align: center; font-size: 11px; color: var(--red); padding: 6px; }

/* Pagina annuncio */
.crumbs { font-size: 13px; color: var(--ink-3); padding: 14px 0 6px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.pdp { display: grid; gap: 22px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.gallery .main { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .mini { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery .mini button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; width: 70px; height: 70px; flex-shrink: 0; cursor: pointer; background: none; }
.gallery .mini button.on { border-color: var(--ink); }
.gallery .mini img { width: 100%; height: 100%; object-fit: cover; }
.price-big { font-family: var(--serif); font-size: 34px; font-weight: 600; margin: 6px 0 2px; }
.seller-box { display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-strong); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 18px; flex-shrink: 0; }
.avatar.priv { background: var(--surface-2); color: var(--ink-2); }
.stars { color: var(--gold); letter-spacing: 1px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th { text-align: left; font-weight: 500; color: var(--ink-2); padding: 9px 12px 9px 0; vertical-align: top; width: 42%; border-bottom: 1px solid var(--line); }
.specs td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.decl { font-size: 11.5px; color: var(--ink-3); display: block; }
.stamp-thumb { display: inline-flex; align-items: center; gap: 8px; }
.stamp-thumb img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.actions { display: grid; gap: 10px; margin-top: 16px; }
.sticky-buy { position: sticky; top: 80px; }

/* Checkout */
.co { display: grid; gap: 18px; }
@media (min-width: 900px) { .co { grid-template-columns: 1fr 360px; align-items: start; } }
.co h2 { font-size: 20px; display: flex; gap: 10px; align-items: center; }
.co h2 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.opts { display: grid; gap: 12px; }
@media (min-width: 700px) { .opts.two-col { grid-template-columns: 1fr 1fr; } }
.opt { border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; background: var(--surface); position: relative; display: block; }
.opt input { position: absolute; opacity: 0; }
.opt.on { border-color: var(--ink); box-shadow: var(--shadow); }
.opt .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.opt .t { font-weight: 700; font-size: 16px; }
.opt .p { font-family: var(--serif); font-weight: 600; font-size: 18px; white-space: nowrap; }
.opt .ribbon { position: absolute; top: -11px; left: 14px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; border-radius: 99px; padding: 2px 10px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-3); display: inline-block; flex-shrink: 0; margin-top: 2px; }
.opt.on .radio { border: 6px solid var(--ink); }
.sum { position: sticky; top: 80px; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 5px 0; }
.sum-line.tot { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.mini-item { display: flex; gap: 12px; align-items: center; }
.mini-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }

/* Ordine */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 22px 38px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; }
.timeline li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.done::before { background: var(--green); }
.timeline li.now .dot { border-color: var(--gold); background: var(--gold-soft); }
.timeline .dot .ico { width: 14px; height: 14px; }
.timeline .when { font-size: 12.5px; color: var(--ink-3); }
.timeline .what { font-weight: 600; }
.panel-hidden { display: none; }
.panel-show { display: block; }

/* Chat */
.chat-layout { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); min-height: 560px; }
@media (min-width: 850px) { .chat-layout { grid-template-columns: 300px 1fr; } }
.conv-list { border-right: 1px solid var(--line); display: none; }
@media (min-width: 850px) { .conv-list { display: block; } }
.conv { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; }
.conv.on { background: var(--surface-2); }
.conv img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.conv .l { min-width: 0; }
.conv .l b { font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .l span { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.thread { display: flex; flex-direction: column; }
.thread-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.thread-head img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overflow-y: auto; max-height: 460px; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.msg.them { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg .hid { background: rgba(194,154,72,.28); border-radius: 5px; padding: 0 5px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.msg.me .hid { background: rgba(255,255,255,.18); }
.msg .tm { display: block; font-size: 10.5px; opacity: .6; margin-top: 3px; text-align: right; }
.sys { align-self: center; text-align: center; font-size: 12.5px; color: var(--ink-2); background: var(--gold-soft); border-radius: 10px; padding: 8px 12px; max-width: 92%; }
.composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.composer input { flex: 1; height: 44px; border-radius: 99px; border: 1px solid var(--line); padding: 0 16px; font: inherit; }
.composer button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* Admin */
.admin-top { background: var(--ink); color: #F2EBDD; }
.admin-top .bar { display: flex; align-items: center; gap: 14px; height: 58px; }
.admin-top .logo span { color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 800px) { .kpis { grid-template-columns: repeat(5, 1fr); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.kpi.on { border-color: var(--ink); box-shadow: var(--shadow); }
.kpi b { font-family: var(--serif); font-size: 28px; display: block; line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--ink-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
table.t th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-weight: 600; }
table.t td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.cell-item { display: flex; gap: 10px; align-items: center; }
.btns { display: flex; gap: 6px; flex-wrap: wrap; }

/* Mappa schermate */
.screens { display: grid; gap: 14px; }
@media (min-width: 750px) { .screens { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .screens { grid-template-columns: repeat(3, 1fr); } }
.screen { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.screen:hover { box-shadow: var(--shadow); }
.screen .num { font-family: var(--serif); color: var(--gold); font-size: 22px; line-height: 1; }
.screen ul { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }

.ok-box { text-align: center; padding: 30px 16px; }
.ok-box .big { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 12px; }
.ok-box .big .ico { width: 28px; height: 28px; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* Correzioni dopo il primo controllo */
[hidden] { display: none !important; }
@media (max-width: 799px) { .foot-grid > div:first-child { grid-column: 1 / -1; } }
.thumbs .t.req-empty { border-color: var(--ink-3); color: var(--ink-3); }
.opt .p small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--ink-3); text-align: right; }
.admin-top .logo svg path { fill: #F2EBDD; }
#tab-annunci td:nth-child(3), #tab-pagamenti td:nth-child(3) { white-space: nowrap; }
table.t .btns { flex-wrap: nowrap; }
