/* Italia 2.0 — stile (sito, pagine legali e pannello) */
@font-face{font-family:"Archivo";font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/archivo-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Archivo";font-weight:800;font-style:normal;font-display:swap;src:url(/fonts/archivo-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Archivo";font-weight:900;font-style:normal;font-display:swap;src:url(/fonts/archivo-latin-900-normal.woff2) format("woff2")}

:root{
  --bg:#F3F3EF; --ink:#111111; --ink2:#3A3D42; --mute:#6E727A; --line:#E4E4DE; --card:#fff; --soft:#EFEFEA;
  --red:#D62839; --red-d:#B01F30; --red-l:#F4949E; --red-soft:#FDECEE;
  --blue:#1D4ED8; --blue-d:#173FB0; --blue-l:#88A4F2; --blue-soft:#E8EEFD;
  --good:#15924A; --bad:#D62839; --ok:#0F7B5F; --ok-soft:#E7F6EE; --err:#B42318; --err-soft:#FEF0EE;
  --r:24px; --shadow:0 1px 0 rgba(0,0,0,.03),0 6px 20px rgba(20,20,20,.05);
  --head:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
a,button,input,textarea,select,summary{touch-action:manipulation}
a:focus,button:focus,summary:focus{outline:none}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #F2A900;outline-offset:2px;border-radius:8px}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);line-height:1.5;-webkit-font-smoothing:antialiased}
body.no-scroll{overflow:hidden}
[hidden]{display:none !important}
.defs{position:absolute;overflow:hidden}
.muted{color:var(--mute)}
h1,h2,h3,h4{font-family:var(--head);letter-spacing:-.01em}

/* ===== Intestazione ===== */
.top{background:#fff}
.top-in{max-width:760px;margin:0 auto;padding:14px 18px;display:flex;align-items:center;gap:16px}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--head);font-weight:900;font-size:26px;letter-spacing:-.02em;color:var(--ink);text-decoration:none;margin-right:auto}
.bars{display:flex;gap:3px}
.bars i{width:10px;height:26px;border-radius:4px;background:var(--red)}
.bars i + i{background:var(--blue)}
.top-nav{display:none;gap:4px}
.top-nav a{font-family:var(--head);font-weight:800;font-size:14px;color:var(--mute);text-decoration:none;padding:8px 10px;border-radius:10px}
.top-nav a.on,.top-nav a:hover{color:var(--ink);background:var(--soft)}
.burger{width:44px;height:44px;border:none;background:none;color:var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:12px}
.burger svg{width:28px;height:28px}
.strip{background:var(--ink);color:#fff;text-align:center;font-family:var(--head);font-weight:800;font-size:14px;padding:10px 14px}

/* Menu */
.menu{position:fixed;inset:0;background:rgba(17,17,17,.45);z-index:80;display:flex;justify-content:flex-end}
.menu-in{width:min(340px,88vw);height:100%;background:#fff;padding:20px 22px;display:flex;flex-direction:column;gap:2px;overflow:auto;box-shadow:-10px 0 30px rgba(0,0,0,.15)}
.menu-x{align-self:flex-end;width:44px;height:44px;border:none;background:var(--soft);border-radius:12px;cursor:pointer;margin-bottom:10px;color:var(--ink)}
.menu-x svg{width:22px;height:22px}
.menu a{font-family:var(--head);font-weight:900;font-size:22px;color:var(--ink);text-decoration:none;padding:10px 4px}
.menu a.small{font-weight:700;font-size:16px;color:var(--ink2);padding:8px 4px}
.menu hr{border:none;border-top:1px solid var(--line);margin:12px 0}

/* ===== Struttura ===== */
.wrap{max-width:760px;margin:0 auto;padding:20px 18px 40px;outline:none}
.h1{font-size:32px;font-weight:900;margin:8px 0 6px}
.h2{font-size:26px;font-weight:900;margin:34px 0 14px}
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:20px}
.empty{text-align:center;color:var(--mute);font-size:15px;padding:26px 20px}
.empty b{display:block;color:var(--ink);font-family:var(--head);font-weight:800;font-size:18px;margin-bottom:4px}

/* ===== Home ===== */
.anno-g{display:flex;align-items:center;justify-content:center;gap:12px;margin:6px 0 18px;font-size:17px;color:var(--mute);font-family:var(--head);font-weight:700}
.anno-pill{font-family:var(--head);font-weight:900;font-size:17px;color:var(--ink);border:2.5px solid var(--ink);border-radius:999px;padding:5px 18px}
.it-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.it-card{border-radius:28px;padding:22px 16px 16px;color:#fff;text-decoration:none;display:flex;flex-direction:column;align-items:stretch;transition:transform .15s ease}
.it-card:active{transform:scale(.985)}
.it-card.s{background:var(--red)} .it-card.d{background:var(--blue)}
.it-map{width:120px;height:140px;margin:0 auto 8px;color:#fff;display:block}
.it-card h2{font-size:21px;font-weight:900;text-align:center;margin:0 0 12px;line-height:1.15}
.it-card dl{margin:0 0 14px;display:flex;flex-direction:column;gap:6px}
.it-card dl div{display:flex;justify-content:space-between;gap:8px;font-size:15px}
.it-card dt{opacity:.92}
.it-card dd{margin:0;font-family:var(--head);font-weight:800;white-space:nowrap}
.apri{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:6px;background:rgba(255,255,255,.2);border-radius:999px;padding:10px;font-family:var(--head);font-weight:800;font-size:15px}
.apri svg{width:16px;height:16px}

/* Legge */
.badge-k{display:inline-block;background:var(--ink);color:#fff;font-family:var(--head);font-weight:800;font-size:13px;letter-spacing:.04em;border-radius:999px;padding:6px 14px}
.badge-k.sm{font-size:12.5px;padding:3px 10px;border-radius:8px;letter-spacing:0;vertical-align:1px}
.legge-t{font-size:28px;font-weight:900;line-height:1.12;margin:12px 0 6px}
.legge-d{color:var(--mute);font-size:16px;margin:0 0 16px}
.opzioni{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.opzione{font:inherit;text-align:left;background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:14px 16px;cursor:pointer;display:flex;flex-direction:column;gap:4px;color:var(--mute);font-size:14.5px;line-height:1.35;transition:border-color .15s,background .15s}
.opzione b{font-family:var(--head);font-weight:900;font-size:18px;color:var(--ink)}
.opzione[aria-pressed="true"]{border:2.5px solid var(--ink);padding:13px 15px;background:#FAFAF7}
.cosa{margin-top:18px;border-top:2px dashed #D6D6CF;padding-top:6px}
.cosa-h{width:100%;font-family:var(--head);font-weight:800;font-size:18px;color:var(--ink);background:none;border:none;padding:12px 0;display:flex;justify-content:space-between;align-items:center;cursor:pointer}
.cosa-h svg{width:20px;height:20px;transition:transform .2s;color:var(--mute)}
.cosa-h[aria-expanded="false"] svg{transform:rotate(-90deg)}
.seg2{display:flex;gap:8px;margin-bottom:12px}
.seg2 button{font-family:var(--head);font-weight:800;font-size:15px;border:none;border-radius:999px;padding:8px 16px;background:var(--soft);color:var(--ink);cursor:pointer}
.seg2 button[aria-selected="true"]{background:var(--ink);color:#fff}
.chips-eff{display:flex;flex-wrap:wrap;gap:8px}
.eff{font-family:var(--head);font-weight:700;font-size:15px;background:var(--soft);border-radius:999px;padding:7px 14px;color:var(--ink)}
.eff b,.eff em{font-style:normal}
.eff em{font-weight:800}
.buono b,.buono em{color:var(--good)} .cattivo b,.cattivo em{color:var(--bad)} .neutro b,.neutro em{color:#7A7E86}
.nota{font-size:13.5px;color:var(--mute);margin:12px 0 0}
.numeri{margin-top:8px}
.numeri summary{font-size:13.5px;font-weight:600;color:var(--ink2);cursor:pointer;text-decoration:underline;text-underline-offset:3px;width:max-content}
.num-l{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.num-l li{font-size:14px;display:flex;flex-direction:column;gap:3px}
.num-l .pj{font-size:12.5px;color:var(--mute);line-height:1.6}
.num-l .pj b{color:var(--ink2)}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}
.dot.s{background:var(--red)} .dot.d{background:var(--blue)}

/* Come dire la tua */
.dilatua{margin-top:16px;border:2.5px dashed #CBCBC4;border-radius:var(--r);padding:20px 18px}
.dilatua h3{display:flex;align-items:center;gap:8px;font-size:21px;font-weight:900;margin:0 0 6px}
.dilatua h3 svg{width:24px;height:24px}
.dilatua > p{color:var(--mute);margin:0 0 14px;font-size:15px}
.dt-g{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dt{display:block;text-align:center;color:#fff;text-decoration:none;font-family:var(--head);font-weight:900;font-size:17px;padding:13px 8px;border-radius:14px;transition:transform .1s}
.dt:active{transform:scale(.97)}
.dt.s{background:var(--red)} .dt.d{background:var(--blue)}
.stato{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-family:var(--head);font-weight:800;font-size:15px}
.stato i{width:11px;height:11px;border-radius:50%;background:#22B357;flex:none}
.stato.off i{background:#9CA0A7}

/* Confronto */
.conf{padding:10px 20px}
.conf-r{display:grid;grid-template-columns:1.5fr 1fr 1fr;align-items:center;gap:8px;padding:12px 0;border-top:1px solid var(--line)}
.conf-r:nth-child(2){border-top:none}
.conf-h{border-top:none;padding-bottom:4px}
.conf-r > span{text-align:right;font-family:var(--head);font-weight:800;font-size:17px;white-space:nowrap}
.conf-r .n{text-align:left;font-weight:800;color:var(--ink)}
.conf-h span{font-size:14px}
.conf-r .s{color:var(--red)} .conf-r .d{color:var(--blue)}
.anim{opacity:.85}

/* ===== Pagina Italia ===== */
.hero{margin:-20px -18px 0;padding:30px 22px 34px;color:#fff;display:flex;align-items:center;gap:18px}
.hero.s{background:var(--red)} .hero.d{background:var(--blue)}
.hero-map{width:96px;height:112px;flex:none;color:#fff}
.hero h1{font-size:34px;font-weight:900;margin:2px 0 4px;line-height:1.05}
.hero p{margin:0;font-size:15.5px;opacity:.95}
.back{color:#fff;text-decoration:none;font-family:var(--head);font-weight:800;font-size:16px;opacity:.95}
.leg{display:flex;flex-wrap:wrap;gap:6px 18px;margin:-4px 0 14px;font-size:15px;color:var(--ink2)}
.leg span{display:inline-flex;align-items:center;gap:8px}
.leg i{width:26px;height:0;border-top:3.5px solid currentColor;display:inline-block}
.leg .s i{border-color:var(--red)} .leg .d i{border-color:var(--blue)}
.leg .tratt i{border-top-style:dashed;border-top-width:2.5px}
.leg .tratt.s i{border-color:var(--red-l)} .leg .tratt.d i{border-color:var(--blue-l)}
.mini-g{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mini-card{background:#fff;border-radius:22px;padding:16px 16px 12px;box-shadow:var(--shadow);min-width:0}
.mini-card h3{font-size:17px;font-weight:800;margin:0}
.mini-card .sub{font-size:13.5px;color:var(--mute);margin:0 0 6px;line-height:1.3}
.big{margin:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
.big .v{font-family:var(--head);font-weight:900;font-size:27px;letter-spacing:-.02em;line-height:1.1}
.big.s .v{color:var(--red)} .big.d .v{color:var(--blue)}
.big .dl{font-family:var(--head);font-weight:700;font-size:13px;color:var(--ink2)}
.spark-box{margin-top:8px;min-height:92px}
.spark{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}
.spark .base{stroke:#E6E6E0;stroke-width:1.5}
.spark .ln{fill:none;stroke-linecap:round;stroke-linejoin:round}
.spark .ln.m{stroke-width:3}
.spark .ln.m.s{stroke:var(--red)} .spark .ln.m.d{stroke:var(--blue)}
.spark .ln.o{stroke-width:2;stroke-dasharray:5 4}
.spark .ln.o.s{stroke:var(--red-l)} .spark .ln.o.d{stroke:var(--blue-l)}
.spark .pt{stroke:#fff;stroke-width:2}
.spark .pt.s{fill:var(--red)} .spark .pt.d{fill:var(--blue)}
.spark .cr{stroke:#BDBDB6;stroke-width:1}
.spark text{font-family:var(--head);font-weight:700;font-size:11px;fill:#8A8E95}
.spark .ln.m{stroke-dasharray:1;stroke-dashoffset:1;animation:disegna 1.3s .15s ease-out forwards}
@keyframes disegna{to{stroke-dashoffset:0}}
.sim{margin:2px 0 0;text-align:right;font-family:var(--head);font-weight:800;font-size:11px;letter-spacing:.08em;color:#A2A6AD}

/* Decisioni */
.decs{list-style:none;margin:0;padding:6px 20px}
.dec,.lp{display:flex;gap:16px;padding:18px 0;border-top:1px solid var(--line)}
.dec:first-child,.lp:first-child{border-top:none}
.dec-a{flex:none;width:64px;height:64px;border-radius:16px;background:var(--soft);display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:var(--head)}
.dec-a small{font-weight:800;font-size:11.5px;color:var(--mute);letter-spacing:.04em}
.dec-a b{font-weight:900;font-size:24px;line-height:1}
.dec-b{flex:1;min-width:0}
.dec-b h3{font-size:19px;font-weight:900;margin:0 0 4px;line-height:1.2}
.dec-s{margin:0 0 8px;color:var(--mute);font-size:15px}
.dec-s b{color:var(--ink);font-family:var(--head);font-weight:900}
.bar{height:9px;background:#ECECE7;border-radius:999px;overflow:hidden}
.bar i{display:block;height:100%;width:0;border-radius:999px;transition:width .9s cubic-bezier(.2,.8,.2,1)}
.bar.s i{background:var(--red)} .bar.d i{background:var(--blue)}
.dec-e{margin:10px 0 0;font-family:var(--head);font-weight:700;font-size:14.5px;line-height:1.7}
.dec-e .sep{color:var(--mute)}
.lp-r{display:grid;grid-template-columns:72px 76px 1fr;align-items:center;gap:10px;margin-top:6px;font-size:14px}
.lp-n{font-family:var(--head);font-weight:800}
.lp-n.s{color:var(--red)} .lp-n.d{color:var(--blue)}
.lp-r b{font-family:var(--head);font-weight:900}

/* Regole */
.regole ol{margin:0;padding-left:22px}
.regole li{margin:0 0 12px;font-size:15.5px;color:var(--ink2)}
.regole li:last-child{margin-bottom:0}
.regole li b{color:var(--ink)}
.tag{display:inline-block;font-family:var(--head);font-weight:900;font-size:13px;border-radius:8px;padding:3px 9px;color:#fff;white-space:nowrap}
.tag.s{background:var(--red)} .tag.d{background:var(--blue)}
.fonti{font-size:13px;color:var(--mute);margin-top:20px}

/* ===== Piede, barra in basso, avvisi ===== */
.foot{text-align:center;padding:10px 18px 120px;color:var(--mute);font-size:14px}
.foot p{margin:0 0 8px}
.foot a{color:inherit}
.credit{font-size:12.5px;color:#9A9EA5}
.credit a{color:inherit;font-weight:700;text-decoration:none}
.credit b{color:#80848B}
.tabbar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 4px calc(8px + env(safe-area-inset-bottom));z-index:60}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:#9A9EA5;font-family:var(--head);font-weight:800;font-size:13px}
.tabbar svg{width:26px;height:26px;fill:currentColor}
.tabbar a.on{color:var(--ink)}
.tabbar a.s.on svg{color:var(--red)} .tabbar a.d.on svg{color:var(--blue)}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(86px + env(safe-area-inset-bottom));background:var(--ink);color:#fff;border-radius:14px;padding:12px 16px;font-size:14px;z-index:90;max-width:min(92vw,460px);text-align:center;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.cookie{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;background:var(--ink);color:#fff;border-radius:18px;padding:14px 14px 14px 18px;display:flex;align-items:center;gap:12px;box-shadow:0 10px 30px rgba(0,0,0,.25);z-index:70;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s,transform .25s}
.cookie.on{opacity:1;transform:none;pointer-events:auto}
.cookie p{margin:0;font-size:13.5px;line-height:1.45}
.cookie a{color:#fff;font-weight:700}
.cookie button{flex:none;width:36px;height:36px;border-radius:50%;border:none;background:rgba(255,255,255,.16);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.cookie button svg{width:16px;height:16px}

@media (min-width:820px){
  .top-nav{display:flex}
  .tabbar{display:none}
  .foot{padding-bottom:40px}
  .toast,.cookie{bottom:20px}
  .hero{margin:0;border-radius:var(--r)}
  .it-map{width:140px;height:164px}
}
@media (max-width:420px){
  .it-card{padding:18px 12px 12px;border-radius:24px}
  .it-card h2{font-size:18px}
  .it-card dl div{font-size:14px}
  .it-map{width:100px;height:118px}
  .legge-t{font-size:25px}
  .opzioni{gap:8px}
  .opzione{padding:12px}
  .opzione[aria-pressed="true"]{padding:11px}
  .conf{padding:8px 16px}
  .conf-r > span{font-size:16px}
  .mini-g{gap:10px}
  .mini-card{padding:14px 12px 10px}
  .big .v{font-size:24px}
  .hero h1{font-size:30px}
  .hero-map{width:80px;height:94px}
  .decs{padding:4px 16px}
  .dec,.lp{gap:12px}
  .dec-a{width:56px;height:56px}
  .dt{font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .bar i,.cookie{transition:none}
  .spark .ln.m{animation:none;stroke-dashoffset:0;stroke-dasharray:none}
}

/* ===== Pagine legali ===== */
.legal{max-width:760px;margin:0 auto;padding:24px 18px 60px}
.legal .card{padding:24px}
.legal h1{font-size:32px;font-weight:900;margin:0 0 4px}
.legal .agg{color:var(--mute);font-size:14px;margin:0 0 20px}
.legal h2{font-size:20px;font-weight:900;margin:26px 0 8px}
.legal p,.legal li{font-size:15.5px;color:var(--ink2)}
.legal ul{padding-left:20px}
.legal table{width:100%;border-collapse:collapse;font-size:14px;margin:8px 0}
.legal th,.legal td{text-align:left;border-bottom:1px solid var(--line);padding:9px 8px;vertical-align:top}
.legal th{font-family:var(--head);font-weight:800}
.legal a{color:var(--blue-d)}
.todo{background:#FFF1B8;border-radius:4px;padding:0 4px;font-weight:700}
.legal-top{background:#fff}
.legal-top .top-in{justify-content:space-between}
.legal-top a.home{font-family:var(--head);font-weight:800;color:var(--ink);text-decoration:none;font-size:15px}

/* ===== Pannello di gestione ===== */
.adm{max-width:860px;padding-bottom:80px}
.adm > header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.brand b{display:block;font-family:var(--head);font-weight:900;font-size:17px;line-height:1.2}
.brand small{display:block;color:var(--mute);font-size:12px}
.flags{display:flex;gap:3px}
.flags svg{width:12px;height:24px}
.hdr-b{display:flex;gap:6px}
.adm .card{margin-bottom:16px}
.adm h1{font-size:28px;font-weight:900;margin:0}
.adm h2{font-size:19px;font-weight:900;margin:0 0 4px}
.adm .hint{font-size:13.5px;color:var(--mute);margin:0 0 14px}
.adm h3.sub{font-size:16px;font-weight:900;margin:24px 0 4px}
.adm-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.save-st{font-size:13px;color:var(--ok);font-weight:700}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ink);color:#fff;font-family:var(--head);font-size:14px;font-weight:800;padding:10px 16px;border-radius:999px;border:none;cursor:pointer;text-decoration:none}
.btn.ghost{background:var(--soft);color:var(--ink)}
.btn.danger{background:var(--err-soft);color:var(--err)}
.btn.danger.armed{background:var(--err);color:#fff}
.btn:disabled{opacity:.5;cursor:default}
.btn.ico{padding:7px 10px;min-width:34px}
.adm label{display:block;font-size:13px;font-weight:700;margin:12px 0 5px}
.facolt{font-weight:500;color:var(--mute)}
h3 .facolt{font-size:13px}
.adm input,.adm textarea,.adm select{width:100%;font:inherit;font-size:16px;padding:11px 13px;border:1px solid #D3D3CC;border-radius:12px;background:#fff;color:var(--ink)}
.adm textarea{min-height:72px;resize:vertical}
.adm input[type=checkbox]{width:20px;height:20px;padding:0;margin:0;accent-color:var(--ink)}
.check{display:flex !important;align-items:center;gap:10px;font-weight:600 !important;font-size:14px !important;margin:14px 0 0 !important}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.box{border-radius:16px;padding:12px 14px 14px}
.box.s{background:var(--red-soft)} .box.d{background:var(--blue-soft)}
.box h3{font-size:14px;margin:0;display:flex;justify-content:space-between;align-items:center}
.box.s h3{color:var(--red)} .box.d h3{color:var(--blue)}
.box h3 small{font-size:12px;color:var(--ink2);font-weight:700}
.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.msg{border-radius:12px;padding:10px 13px;font-size:13.5px;margin:12px 0}
.msg.ok{background:var(--ok-soft);color:var(--ok)} .msg.err{background:var(--err-soft);color:var(--err)}
.list-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.list-row:first-child{border-top:none}
.list-row .t{font-weight:700;font-size:14.5px;line-height:1.3}
.list-row .w{font-size:12.5px;color:var(--mute)}
.list-row .b{display:flex;gap:6px;flex:none;flex-wrap:wrap;justify-content:flex-end}
.list-row .btn{padding:7px 12px;font-size:12.5px}
.tabs{display:flex;gap:4px;background:#E6E6E0;border-radius:14px;padding:4px;margin:6px 0 16px}
.tabs button{flex:1;font-family:var(--head);font-size:14px;font-weight:800;border:none;background:none;color:var(--ink2);padding:10px;border-radius:10px;cursor:pointer}
.tabs button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.row-h{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:6px}
.row-h .btn{flex:none}
.eff-t{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.eff-r{display:grid;grid-template-columns:1.3fr .8fr .9fr .9fr .9fr;gap:8px;align-items:center;padding:8px 10px;border-top:1px solid var(--line)}
.eff-r:first-child{border-top:none}
.eff-h{background:#F6F6F3;font-size:11.5px;font-weight:700;color:var(--mute);text-transform:uppercase;letter-spacing:.04em}
.eff-n{font-size:13.5px;font-weight:700;display:flex;flex-direction:column}
.eff-n small{font-size:11.5px;color:var(--mute);font-weight:500}
.adm .eff-r input,.adm .eff-r select{padding:8px 10px;font-size:15px}
.st{display:inline-block;font-size:11px;font-weight:800;border-radius:6px;padding:2px 7px;margin-right:4px;text-transform:uppercase;letter-spacing:.03em}
.st.bozza{background:var(--soft);color:var(--mute)} .st.aperta{background:var(--ok-soft);color:var(--ok)} .st.chiusa{background:var(--ink);color:#fff}
.adm input[type=file]{padding:10px;font-size:14px}
.adm footer{margin-top:30px}
@media (max-width:640px){
  .grid2,.grid3{grid-template-columns:1fr}
  .row-h{flex-direction:column}
  .eff-r{grid-template-columns:1fr 1fr;row-gap:6px}
  .eff-r .eff-n{grid-column:1 / -1}
  .eff-h{display:none}
  .list-row{flex-direction:column;align-items:flex-start}
  .list-row .b{justify-content:flex-start}
}
.dilatua > p.stato{color:var(--ink);margin:14px 0 0}
