/* Top Flop — foglio di stile unico, mobile first */

@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --ink: #151515;
  --paper: #F4F1EA;
  --card: #FFFFFF;
  --sand: #E4DED1;
  --gold: #F2B705;
  --flop: #2F3A2E;
  --muted: #5C574E;
  --ok: #1F5F3A;
  --danger: #A12B1F;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --bw: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #000; }
code { background: var(--sand); padding: 1px 5px; font-size: .9em; }
h1, h2, h3 { line-height: 1.15; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.hl { background: var(--gold); padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.warn-text { color: var(--danger); font-weight: 700; font-size: 13px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 20px; padding-bottom: 96px; min-height: 60vh; }
.narrow { max-width: 620px; margin: 0 auto; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; font-family: var(--display); line-height: 1; letter-spacing: -0.03em; }
.logo-top, .logo-flop { display: inline-flex; align-items: center; gap: .04em; border: .06em solid var(--ink); padding: .1em .22em; }
.logo-top { background: var(--gold); color: var(--ink); transform: rotate(-4deg); box-shadow: .08em .08em 0 var(--ink); position: relative; z-index: 2; }
.logo-flop { background: var(--ink); color: var(--paper); transform: rotate(3deg); margin: -.12em 0 0 .6em; }
.logo-o { display: inline-flex; width: .74em; height: .74em; border-radius: 50%; align-items: center; justify-content: center; }
.logo-top .logo-o { background: var(--ink); }
.logo-flop .logo-o { background: var(--paper); }
.logo-o svg { width: 62%; height: 62%; fill: none; stroke-width: 3.8; stroke-linecap: square; }
.logo-top .logo-o svg { stroke: var(--gold); }
.logo-flop .logo-o svg { stroke: var(--ink); }
.logo-sm { font-size: 17px; }
.logo-lg { font-size: clamp(56px, 14vw, 104px); }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: var(--bw) solid var(--ink); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { text-decoration: none; padding: 4px 6px 2px 2px; }
.search { order: 3; flex: 1 1 100%; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: var(--bw) solid var(--ink); background: var(--card); }
.search input[type=search] { border: 0; outline: 0; flex: 1; min-width: 0; min-height: 0; padding: 0; font: inherit; background: transparent; }
.search:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--sand); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; flex-shrink: 0; }
.avatar-sm { width: 32px; height: 32px; font-size: 14px; }
.avatar-pic { overflow: hidden; background: transparent; }
.avatar-pic svg { width: 100%; height: 100%; display: block; }
.avatar-link { display: inline-flex; border-radius: 50%; text-decoration: none; flex-shrink: 0; }
.avatar-grid { border: 0; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; }
.avatar-option { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 2px solid transparent; cursor: pointer; }
.avatar-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.avatar-option:has(input:checked) { border-color: var(--ink); background: var(--gold); }
.avatar-option:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.avatar-name { font-size: 12px; font-weight: 700; }
.avatar-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-upload { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.avatar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.user-cell { display: inline-flex; align-items: center; gap: 8px; }
.avatar-lg { width: 64px; height: 64px; font-size: 26px; }
.banner-preview { background: var(--gold); border-bottom: var(--bw) solid var(--ink); padding: 8px 16px; text-align: center; font-weight: 700; font-size: 14px; }
@media (min-width: 760px) {
  .search { order: 0; flex: 1 1 auto; max-width: 440px; }
  .logo-sm { font-size: 20px; }
}

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: var(--bw) solid var(--ink); background: var(--card); color: var(--ink); font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translate(1px, 1px); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 56px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: var(--paper); }
.btn-ghost { background: transparent; }
.btn-outline { background: transparent; border-style: dashed; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.linklike { background: none; border: 0; padding: 8px 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--muted); }
.linklike.danger { color: var(--danger); }


/* ---------- Messaggi ---------- */
.flash { border: var(--bw) solid var(--ink); padding: 12px 14px; margin: 0 0 16px; background: var(--card); font-weight: 500; }
.flash a { font-weight: 700; }
.flash-success { background: #E6F2E3; }
.flash-error { background: #F9E1DC; }
.flash-info { background: #FFF6D6; }

/* ---------- Home ---------- */
.hero { padding: 8px 0 20px; }
.hero h1 { font-family: var(--display); font-size: clamp(34px, 8vw, 64px); margin: 0 0 12px; letter-spacing: -.02em; }
.hero p { margin: 0; max-width: 620px; font-size: 18px; }
.auth-alt { margin-top: 24px; padding-top: 20px; border-top: var(--bw) solid var(--ink); text-align: center; }
.auth-alt p { margin: 0 0 10px; font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
@media (max-width: 559px) { .hero-cta .btn { width: 100%; } }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 18px 0 8px; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; border: var(--bw) solid var(--ink); background: var(--card); padding: 10px 12px; font-size: 15px; }
.steps li::before { content: counter(step); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.page-title { font-family: var(--display); font-size: clamp(26px, 6vw, 40px); margin: 0 0 12px; letter-spacing: -.01em; }
.lead { font-size: 18px; margin: 0 0 20px; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.eyebrow a { color: inherit; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: none; }
.tab { flex-shrink: 0; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: var(--bw) solid var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; background: var(--card); }
.tab.is-active { background: var(--ink); color: var(--paper); }
.tab-top.is-active { background: var(--gold); color: var(--ink); }
.tab-flop.is-active { background: var(--flop); color: var(--paper); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.chip { flex-shrink: 0; min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; text-decoration: none; background: transparent; }
.chip.is-active { background: var(--ink); color: var(--paper); }

.grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pcard { display: flex; gap: 12px; padding: 12px; background: var(--card); border: var(--bw) solid var(--ink); text-decoration: none; color: var(--ink); transition: transform .08s, box-shadow .08s; }
.pcard:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.pcard-img { width: 84px; height: 84px; flex-shrink: 0; background: var(--sand); display: flex; align-items: center; justify-content: center; color: #6B6457; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pcard-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pcard-title { font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.pcard-meta { font-size: 12px; color: var(--muted); }

.tag { display: inline-block; font-family: var(--display); font-size: 11px; line-height: 1; padding: 4px 6px; white-space: nowrap; letter-spacing: .02em; }
.tag-top { background: var(--gold); color: var(--ink); }
.tag-flop { background: var(--flop); color: var(--paper); }
.tag-demo { background: transparent; color: var(--ink); border: 1.5px dashed var(--ink); padding: 3px 5px; }
.pcard-tags { display: inline-flex; gap: 4px; flex-shrink: 0; }

/* barra del verdetto */
.vbar { display: flex; flex-direction: column; gap: 4px; }
.vbar-track { height: 10px; border: 1.5px solid var(--ink); background: var(--flop); display: flex; }
.vbar-empty { background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 6px, #fff 6px, #fff 12px); }
.vbar-top { background: var(--gold); height: 100%; }
.vbar-legend { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; }
.vbar-big .vbar-track { height: 20px; border-width: var(--bw); }
.vbar-big .vbar-legend { font-size: 15px; }

.empty { border: var(--bw) dashed var(--ink); padding: 28px 16px; text-align: center; background: rgba(255,255,255,.5); }
.empty p { margin: 0 0 14px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.pager-info { font-size: 14px; color: var(--muted); }

/* ---------- Scheda prodotto ---------- */
.product { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; }
@media (min-width: 860px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; } }
.product-media { position: relative; border: var(--bw) solid var(--ink); background: #fff; display: flex; align-items: center; justify-content: center; }
.product-media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.product-noimg { width: 100%; aspect-ratio: 4 / 3; background: var(--sand); display: flex; align-items: center; justify-content: center; color: #6B6457; }
.stamp { position: absolute; right: 12px; bottom: -18px; transform: rotate(-6deg); font-family: var(--display); font-size: 28px; padding: 6px 14px; border: 3px solid var(--ink); box-shadow: var(--shadow); line-height: 1.1; }
.stamp-top { background: var(--gold); }
.stamp-flop { background: var(--flop); color: var(--paper); }
.product-info { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.product-title { font-family: var(--display); font-size: clamp(28px, 6vw, 42px); margin: 0; line-height: 1.05; overflow-wrap: anywhere; }
.product-desc { color: #2D2A25; }
.vote-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn-vote { min-height: 56px; font-family: var(--display); font-size: 18px; box-shadow: var(--shadow-sm); }
.btn-vote-top { background: var(--gold); }
.btn-vote-flop { background: var(--flop); color: var(--paper); }
.btn-vote-flop:hover { color: var(--paper); }
.my-verdict { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; padding: 12px; border: var(--bw) solid var(--ink); background: var(--card); }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }

.box { border: var(--bw) solid var(--ink); background: var(--card); padding: 16px; margin-bottom: 16px; }
.box-title { font-size: 18px; margin: 0 0 10px; }
.box-warn { background: #FFF6D6; }
.danger-zone { border-color: var(--danger); }

.reviews-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.reviews-head h2 { font-size: 20px; margin: 0; }
.review { background: var(--card); border: var(--bw) solid var(--ink); padding: 14px; margin-bottom: 10px; }
.review-compact { padding: 10px 14px; }
.review-compact .review-foot { margin-top: 6px; }
.review-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-user { font-weight: 700; text-decoration: none; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.review-body { margin: 10px 0; white-space: normal; overflow-wrap: anywhere; }
.review-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-foot form { margin: 0; }
.badge-own { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ok); border: 1.5px solid var(--ok); padding: 2px 6px; white-space: nowrap; }
.badge-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { min-height: 36px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; font: 700 13px var(--body); cursor: pointer; }
.pill.is-active { background: var(--ink); color: var(--paper); }
.report { margin-left: auto; }
.report summary { cursor: pointer; font-size: 13px; color: var(--muted); padding: 8px 0; list-style: none; }
.report summary::-webkit-details-marker { display: none; }
.report form { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.report select { min-height: 40px; }
.report-list { margin: 6px 0; padding-left: 18px; font-size: 14px; color: var(--danger); }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.label { font-weight: 700; font-size: 15px; padding: 0; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: var(--bw) solid var(--ink); background: var(--card); font: inherit; color: var(--ink); border-radius: 0;
}
textarea { min-height: 120px; resize: vertical; }
[aria-invalid=true] { border-color: var(--danger); background: #FFF5F3; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.field-error { color: var(--danger); font-weight: 700; font-size: 14px; margin: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; min-height: 44px; padding: 8px 0; }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }
.upload { display: flex; flex-direction: column; gap: 6px; border: var(--bw) dashed var(--ink); padding: 14px; cursor: pointer; background: rgba(255,255,255,.6); }
.upload input { font: inherit; max-width: 100%; }
.upload span { font-size: 14px; color: var(--muted); }
.input-sm { max-width: 90px; }

.verdict-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vpick { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; border: 3px solid var(--ink); background: var(--card); cursor: pointer; text-align: center; transition: transform .08s, box-shadow .08s; }
.vpick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.vpick span { font-family: var(--display); font-size: 30px; line-height: 1; }
.vpick small { font-size: 13px; color: var(--muted); }
.vpick-flop span { color: var(--flop); }
.vpick:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.vpick-top:has(input:checked) { background: var(--gold); box-shadow: 5px 5px 0 var(--ink); }
.vpick-flop:has(input:checked) { background: var(--flop); box-shadow: 5px 5px 0 var(--ink); }
.vpick-flop:has(input:checked) span, .vpick-flop:has(input:checked) small { color: var(--paper); }
.vpick-top:has(input:checked) small { color: var(--ink); }
.proof { border-left: 4px solid var(--gold); padding: 4px 0 4px 14px; display: flex; flex-direction: column; gap: 10px; }
.proof p { margin: 0; }

/* ---------- Account e pagine ---------- */
.account-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.account-head .page-title { margin: 0; }
.account-head p { margin: 0; }
.push-right { margin-left: auto; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--sand); }
.list li:first-child { border-top: 0; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 17px; }
.prose ul { padding-left: 20px; }
.error-page { margin-top: 32px; }
.error-code { font-family: var(--display); font-size: 64px; margin: 0; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { border-top: var(--bw) solid var(--ink); background: var(--card); padding: 28px 0 24px; }
.footer-row { display: flex; flex-direction: column; gap: 20px; }
.footer-brand p { margin: 12px 0 0; max-width: 360px; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { min-height: 32px; display: inline-flex; align-items: center; }
.footer-note { margin-top: 16px; font-size: 12px; color: var(--muted); }
.footer-note p { margin: 4px 0; }
@media (min-width: 760px) { .footer-row { flex-direction: row; justify-content: space-between; } }

/* ---------- Coming soon ---------- */
.soon { background: var(--ink); color: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
.soon a { color: var(--paper); }
.soon-main { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 56px 20px 32px; display: flex; flex-direction: column; gap: 22px; }
.soon .logo-top { border-color: var(--paper); box-shadow: none; }
.soon .logo-flop { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.soon .logo-flop .logo-o { background: var(--ink); }
.soon .logo-flop .logo-o svg { stroke: var(--paper); }
.soon-logo { margin-bottom: 12px; }
.soon-title { font-family: var(--display); font-size: clamp(34px, 8vw, 58px); margin: 0; line-height: 1.05; }
.soon-title .hl { color: var(--ink); }
.soon-lead { font-size: 19px; margin: 0; color: #DCD7CC; }
.soon-form { display: flex; flex-wrap: wrap; gap: 10px; }
.soon-form input[type=email] { flex: 1 1 240px; min-height: 56px; border-color: var(--paper); }
.soon-form .btn { min-height: 56px; border-color: var(--paper); }
.soon-msg { flex-basis: 100%; margin: 0; font-weight: 700; min-height: 1.5em; }
.soon-msg.is-ok { color: var(--gold); }
.soon-msg.is-err { color: #FFB4A8; }
.soon-note { font-size: 14px; color: #BDB7AA; margin: 0; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.social-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
.social-link { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: var(--bw) solid var(--ink); background: var(--card); font-weight: 700; font-size: 14px; text-decoration: none; }
.social-link:hover { background: var(--gold); }
.social-dark .social-label { color: #BDB7AA; }
.social-dark .social-link { background: transparent; border-color: var(--paper); color: var(--paper); }
.social-dark .social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.soon-foot { text-align: center; padding: 16px; font-size: 12px; }
.soon-foot a { color: #8A857A; }
.soon .flash { color: var(--ink); }

/* ---------- Admin ---------- */
.admin-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; border-bottom: var(--bw) solid var(--ink); }
.admin-nav a { flex-shrink: 0; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.admin-nav a.is-active { background: var(--ink); color: var(--paper); }
.count { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 1px 7px; font-size: 12px; }
.todo-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin-bottom: 16px; }
@media (min-width: 760px) { .todo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.todo { border: var(--bw) solid var(--ink); background: var(--card); padding: 14px; text-decoration: none; }
.todo strong { display: block; font-family: var(--display); font-size: 30px; }
.todo.has { background: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--display); font-size: 24px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .chips { margin: 0; }
.inline-search { display: flex; gap: 6px; flex: 1 1 260px; margin-bottom: 14px; }
.toolbar .inline-search { margin: 0; }
.admin-list { display: flex; flex-direction: column; gap: 8px; }
.admin-item { display: flex; gap: 12px; align-items: center; background: var(--card); border: var(--bw) solid var(--ink); padding: 10px; flex-wrap: wrap; }
.admin-thumb { width: 64px; height: 64px; background: var(--sand); flex-shrink: 0; overflow: hidden; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-main { flex: 1; min-width: 180px; }
.admin-main p { margin: 2px 0 0; }
.admin-title { font-weight: 700; }
.admin-actions { display: flex; gap: 6px; }
.admin-actions form { margin: 0; }
.admin-preview { border: var(--bw) solid var(--ink); margin-bottom: 6px; }
.decision-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.decision-row form { margin: 0; }
.reject-form { display: flex; gap: 6px; flex-wrap: wrap; }
.reject-form select { width: auto; min-height: 40px; }
.verif-list { display: flex; flex-direction: column; gap: 14px; }
.verif { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); background: var(--card); border: var(--bw) solid var(--ink); padding: 12px; }
@media (min-width: 760px) { .verif { grid-template-columns: 360px minmax(0, 1fr); } }
.verif-photo { background: var(--sand); min-height: 200px; display: block; }
.verif-photo img { width: 100%; max-height: 480px; object-fit: contain; }
.verif-info p { margin: 0 0 8px; }
.verif-code { font-size: 18px; }
.verif-code strong { font-family: var(--display); background: var(--gold); padding: 2px 8px; }
.verif-ref { border: 1px solid var(--sand); margin-bottom: 8px; }
.table-wrap { overflow-x: auto; border: var(--bw) solid var(--ink); background: var(--card); margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--sand); text-align: left; vertical-align: top; }
.table th { background: var(--paper); font-size: 13px; }
.table .num { text-align: right; }
.table tr.is-banned { background: #FBEDEA; }
.row-actions { display: flex; gap: 6px; align-items: center; }
.row-actions select, .row-actions input { min-height: 40px; width: auto; }
.smtp-log { background: var(--ink); color: #E8E4DA; padding: 12px; font-size: 12px; line-height: 1.5; overflow-x: auto; white-space: pre-wrap; word-break: break-word; margin: 0; }
.table th[scope], .box .table tbody th { width: 140px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 4px 0; }
.checks li.ok span { color: var(--ok); font-weight: 700; }
.checks li.ko { color: var(--danger); font-weight: 700; }
.plain-logo { margin: 8px 0 24px; }
