/* Wavre Shopping : feuille de style. Direction "vert profond et doré", mise en page grand magasin. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F3F1;
  --ink: #0F3D2E;
  --ink-dark: #0A2A20;
  --ink-soft: #E8EFE9;
  --ink-line: #CBD8CF;
  --gold: #B8903A;
  --gold-dark: #8F6E2A;
  --gold-soft: #F7EFD9;
  --text: #0F3D2E;
  --body-text: #2B3A33;
  --muted: #5B6B63;
  --line: #E2E2DE;
  --red: #B3261E;
  --red-soft: #FBE4E1;
  --amber: #8F6E2A;
  --amber-soft: #F7EFD9;
  --radius: 4px;
  --pill: 999px;
  --fs: 18px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { font-size: var(--fs); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--body-text); font-family: var(--font); line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: 2rem; text-transform: uppercase; letter-spacing: -0.02em; }
h2 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.04em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.caps { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.container { width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }
.narrow { max-width: 760px; }

/* Bandeau et en-tête */
.topbar { background: var(--ink); color: #E9D9A8; text-align: center; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.site-header .bar { display: flex; align-items: center; gap: 18px; padding: 14px 0; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand .g1 { color: #4285F4; } .brand .g2 { color: #EA4335; } .brand .g3 { color: #FBBC05; } .brand .g4 { color: #34A853; }
.search-form { flex: 1 1 320px; max-width: 760px; display: flex; min-width: 200px; border: 1px solid var(--ink); border-radius: var(--pill); overflow: hidden; background: var(--surface); }
.search-form input { flex: 1; border: 0; padding: 12px 22px; font-size: .95rem; min-width: 0; font-family: inherit; background: transparent; color: var(--text); }
.search-form input:focus { outline: none; }
.search-form button { border: 0; background: var(--ink); color: #fff; padding: 10px 20px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; font-family: inherit; }
.search-form button:hover { background: var(--ink-dark); }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; }
.site-nav a { padding: 8px 10px; color: var(--ink); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { border-bottom-color: var(--gold); color: var(--ink); }
.site-nav a.gold { color: var(--gold-dark); }
@media (min-width: 1000px) { .site-nav { width: auto; margin-left: auto; } }

/* Pied de page */
.site-footer { margin-top: 64px; background: var(--ink); color: #CBD8CF; padding: 44px 0 30px; }
.site-footer .cols { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #E9D9A8; }
.site-footer strong { color: #fff; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--pill); border: 1px solid transparent; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-family: inherit; cursor: pointer; text-decoration: none !important; line-height: 1.2; transition: background .15s, color .15s; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-dark); color: #fff; }
.btn-sun { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-sun:hover { background: var(--gold-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink-soft); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; padding: 8px 12px; }
.btn-ghost:hover { color: var(--gold-dark); }
.btn-danger { background: var(--red-soft); color: var(--red); border-color: var(--red-soft); }
.btn-success { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .72rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Cartes et grilles */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-body { padding: 22px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1500px) { .grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1900px) { .grid { grid-template-columns: repeat(6, 1fr); } }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1500px) { .grid-2 { grid-template-columns: repeat(3, 1fr); } }
.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Carte article */
.product-card { background: var(--surface); display: flex; flex-direction: column; position: relative; }
.product-card a.cover { display: block; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.product-card a.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.product-card:hover a.cover img { transform: scale(1.03); }
.product-card .no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-line); font-size: 2.4rem; }
.product-card .info { padding: 12px 0 6px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.product-card .merchant { order: -1; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-card .name { font-weight: 500; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .name:hover { color: var(--gold-dark); }
.product-card .price { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.product-card .price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 6px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
.badge-green { background: var(--ink-soft); color: var(--ink); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-grey { background: var(--surface-2); color: var(--muted); }
.badge-accent { background: var(--gold-soft); color: var(--gold-dark); }
.badge-video { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; z-index: 1; }

/* Accueil */
.hero { margin: 0 -16px; border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: 1fr; }
@media (min-width: 700px) { .hero { margin: 0 -32px; } }
@media (min-width: 1200px) { .hero { margin: 0 -48px; } }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1400px) { .hero { grid-template-columns: 1.1fr 1fr; } }
.hero .copy { padding: 44px 16px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
@media (min-width: 900px) { .hero .copy { padding: 64px 48px 60px 32px; } }
@media (min-width: 1200px) { .hero .copy { padding: 72px 64px 68px 48px; } }
.hero .eyebrow { color: var(--gold-dark); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: 2.4rem; line-height: .98; margin: 0; }
@media (min-width: 800px) { .hero h1 { font-size: 3rem; } }
.hero p.lead { font-size: 1.05rem; color: var(--body-text); margin: 0; max-width: 520px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .85rem; color: var(--muted); }
.hero .visual { background: var(--ink-soft); height: 260px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 2px; padding: 2px; overflow: hidden; }
@media (min-width: 900px) { .hero .visual { border-left: 1px solid var(--ink); height: 100%; min-height: 440px; max-height: 560px; } }
.hero .visual a { display: block; overflow: hidden; background: var(--surface-2); }
.hero .visual a img { width: 100%; height: 100%; object-fit: cover; }
.hero .visual a:first-child { grid-column: span 2; grid-row: span 2; }
.section { margin: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head a { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--gold); color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--ink); border-radius: var(--pill); padding: 7px 14px; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.chip:hover, .chip.active { background: var(--ink); color: #fff; }
.chip .n { opacity: .6; font-weight: 400; }
.cat-strip { display: flex; gap: 14px 12px; flex-wrap: wrap; padding: 22px 6px 18px; border-bottom: 1px solid var(--line); }
.sticker { display: inline-block; padding: 10px 18px; border-radius: 6px; font-weight: 900; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: transform .15s; }
.sticker.s1 { background: var(--ink); color: #fff; }
.sticker.s2 { background: var(--gold); color: var(--ink); }
.sticker.s3 { background: var(--ink-soft); color: var(--ink); }
.sticker:hover { color: inherit; transform: rotate(0deg) scale(1.05) !important; }
.sticker.s2:hover { color: var(--ink); }
.sticker.s1:hover { color: #fff; }
.sticker .n { font-weight: 500; opacity: .75; margin-left: 6px; }
.sticker:nth-child(6n+1) { transform: rotate(-3deg); }
.sticker:nth-child(6n+2) { transform: rotate(2deg); }
.sticker:nth-child(6n+3) { transform: rotate(-1.5deg); }
.sticker:nth-child(6n+4) { transform: rotate(2.5deg); }
.sticker:nth-child(6n+5) { transform: rotate(-2deg); }
.sticker:nth-child(6n+6) { transform: rotate(1.5deg); }
@media (max-width: 640px) { .cat-strip { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 20px 6px 16px; } }

/* Comment ça marche */
.how { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 32px 0; }
.how .steps { display: grid; gap: 32px; grid-template-columns: 1fr; margin: 14px 0 22px; }
@media (min-width: 760px) { .how .steps { grid-template-columns: repeat(3, 1fr); } }
.how .step { padding-top: 14px; border-top: 2px solid var(--gold); }
.how .step .ico { display: none; }
.how .step strong { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }

/* Vidéos */
.video-strip { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); align-items: start; }
@media (min-width: 700px) { .video-strip { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1500px) { .video-strip { grid-template-columns: repeat(6, 1fr); } }
.video-card { background: var(--surface); }
.video-card .frame { position: relative; aspect-ratio: 9 / 16; background: var(--ink); }
.video-card .frame.landscape { aspect-ratio: 16 / 9; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card .placeholder { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18px; color: rgba(255,255,255,.7); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.video-card .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video-card .play span { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--ink); padding-left: 4px; transition: transform .15s; }
.video-card .play:hover span { transform: scale(1.06); }
.video-card .meta { padding: 10px 0; }
.video-card .meta .t { font-weight: 600; line-height: 1.3; }
.video-card .meta .m { font-size: .8rem; color: var(--muted); }

/* Commerçant */
.merchant-card { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 14px; color: var(--text); transition: border-color .15s; }
.merchant-card:hover { border-color: var(--ink); color: var(--text); }
.merchant-card .logo { width: 64px; height: 64px; background: var(--ink-soft); flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--ink); font-size: 1.4rem; }
.merchant-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.merchant-card strong { letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; }
.merchant-header { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 24px 0; }
.merchant-header .logo { width: 96px; height: 96px; background: var(--ink-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: var(--ink); }
.merchant-header .logo img { width: 100%; height: 100%; object-fit: cover; }
.info-box { background: var(--surface); border: 1px solid var(--ink); padding: 20px 22px; }
.info-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.info-box dt { color: var(--muted); }
.info-box dd { margin: 0; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 5px 0; border-bottom: 1px solid var(--line); }
.hours-table td:first-child { color: var(--muted); width: 40%; }

/* Fiche article */
.product-page { display: grid; gap: 32px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 900px) { .product-page { grid-template-columns: 1.1fr 1fr; } }
.gallery .main { aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery .thumbs img { width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--line); cursor: pointer; }
.gallery .thumbs img.active { border-color: var(--ink); }
.product-page h1 { text-transform: none; letter-spacing: -0.01em; font-size: 1.9rem; }
.price-big { font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.price-big s { font-size: 1rem; color: var(--muted); font-weight: 400; margin-left: 10px; }
.description { font-size: 1rem; }
.description p { margin-bottom: .8em; }
.reserve-box { border: 1px solid var(--ink); background: var(--surface); }
.reserve-box .card-body { padding: 22px; }
.reserve-box h2 { font-size: 1rem; }

/* Formulaires */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .9rem; }
label .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=search], select, textarea {
  width: 100%; border: 1px solid #9AA39E; border-radius: var(--radius); padding: 12px 14px; font-size: 1rem; font-family: inherit; background: var(--surface); color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-soft); }
textarea { min-height: 120px; resize: vertical; }
.input-error { border-color: var(--red) !important; }
.error-text { color: var(--red); font-size: .9rem; margin-top: 4px; }
.help { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }
.row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.form-inline { display: inline; }

/* Messages */
.flash { padding: 14px 18px; border-radius: var(--radius); margin: 14px 0; font-weight: 600; border: 1px solid transparent; }
.flash-success { background: var(--ink-soft); color: var(--ink); border-color: var(--ink-line); }
.flash-error { background: var(--red-soft); color: var(--red); border-color: #F1B8B4; }
.flash-info { background: var(--gold-soft); color: var(--gold-dark); border-color: #E8D7A6; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; background: var(--surface); }
table.table th, table.table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.table th { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
table.table tr:last-child td { border-bottom: 0; }

/* Pagination */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 28px 0; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--pill); border: 1px solid var(--ink); background: var(--surface); color: var(--ink); font-weight: 700; font-size: .85rem; }
.pagination span.current { background: var(--ink); color: #fff; }

/* Espace commerçant */
.app-shell { display: flex; min-height: 100vh; flex-direction: column; }
.app-top { background: var(--surface); border-bottom: 1px solid var(--ink); }
.app-top .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.app-top .who { font-size: .82rem; color: var(--muted); text-align: right; line-height: 1.35; }
.app-top .who form { display: inline; }
@media (max-width: 600px) { .app-top .brand { font-size: 1rem; } .app-top .who .uname { display: none; } }
.app-nav { display: flex; gap: 2px; overflow-x: auto; padding: 6px 0; border-top: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.app-nav a { white-space: nowrap; padding: 9px 14px; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.app-nav a.active { border-bottom-color: var(--gold); }
.app-main { flex: 1; padding: 22px 0 48px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; font-size: 1.5rem; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; border-top: 2px solid var(--ink); }
.stat .v { font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--ink); }
.stat .l { color: var(--muted); font-size: .85rem; }
.stat.warn { border-top-color: var(--gold); }
.stat.warn .v { color: var(--gold-dark); }
.stat.good .v { color: var(--ink); }

.product-row { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 10px 12px; margin-bottom: 10px; }
.product-row .thumb { width: 68px; height: 68px; object-fit: cover; background: var(--surface-2); flex: none; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.product-row .body { flex: 1; min-width: 0; }
.product-row .body .n { font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-row .body .p { color: var(--ink); font-weight: 800; }
.product-row .tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.product-row select.mini { width: auto; padding: 6px 10px; font-size: .85rem; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 7px 14px; border-radius: var(--pill); border: 1px solid var(--ink); background: var(--surface); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tabs a.active { background: var(--ink); color: #fff; }

.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid var(--line); background: var(--surface-2); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item.main { border-color: var(--gold); }
.photo-item .tag { position: absolute; top: 6px; left: 6px; }
.photo-item .ops { position: absolute; bottom: 0; left: 0; right: 0; display: flex; gap: 4px; padding: 6px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.photo-item .ops button { flex: 1; font-size: .72rem; padding: 6px; border: 0; background: rgba(255,255,255,.94); cursor: pointer; font-family: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.dropzone { border: 1px dashed var(--ink); background: var(--ink-soft); padding: 28px 18px; text-align: center; cursor: pointer; transition: background .15s; }
.dropzone:hover, .dropzone.over { background: #D9E6DD; }
.dropzone input { display: none; }
.dropzone .big { font-size: 1rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.preview-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.preview-list img { width: 84px; height: 84px; object-fit: cover; border: 2px solid var(--line); }

.res-card { background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 12px; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .res-card { grid-template-columns: 1.4fr 1fr auto; align-items: center; } }
.res-card .ref, .ref { font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .06em; }
.countdown { font-weight: 700; color: var(--ink); }
.countdown.late { color: var(--red); }

pre, code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88rem; }
pre { background: var(--ink); color: #EAF3EE; padding: 14px 16px; overflow-x: auto; }
code.inline { background: var(--surface-2); padding: 2px 6px; }
.token-box { background: var(--gold-soft); border: 1px solid #E8D7A6; padding: 14px 16px; word-break: break-all; font-family: ui-monospace, monospace; font-size: 1rem; }

.step-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 20px; }
.step-list li { position: relative; padding-left: 46px; margin-bottom: 14px; }
.step-list li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.steps-bar { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.steps-bar span { padding: 6px 12px; border-radius: var(--pill); background: var(--surface-2); color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.steps-bar span.on { background: var(--ink); color: #fff; }
.steps-bar span.done { background: var(--ink-soft); color: var(--ink); }
.sample-table { font-size: .85rem; }
.sample-table td, .sample-table th { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.honeypot { position: absolute; left: -9999px; }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--ink-soft); }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .card { border-color: var(--ink); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); background: var(--surface); border: 1px dashed var(--ink-line); }
.empty .big { font-size: 2.2rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
details summary { cursor: pointer; font-weight: 700; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin: 14px 0 6px; }
.breadcrumb a { color: var(--muted); }
.sticky-cta { margin-top: 16px; }
.map-link { display: inline-flex; gap: 6px; align-items: center; }
