/* D mix look (PLT-10 to PLT-15). Every colour, size and spacing value is a variable here (PLT-13). */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/schibsted-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/schibsted-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Wide"; font-style: normal; font-weight: 800 900; font-stretch: 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Wide"; font-style: normal; font-weight: 800 900; font-stretch: 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0b0f14;
  --ink-2: #374151;
  --muted: #5b6573;
  --line: #e3e6ea;
  --soft: #f2f3f5;
  --bg: #f7f8f9;
  --white: #ffffff;
  --orange: #ff5a1f;
  --orange-ink: #c2410c;
  --orange-text: #f04e14; /* large orange text on light backgrounds, 3.4:1 */
  --on-orange: #0b0f14; /* text on orange: 6.2:1 (white would be 3.1:1, PLT-25) */
  --orange-soft: #fff1ea;
  --green: #12b76a;
  --green-ink: #067647;
  --green-soft: #ecfdf3;
  --warn-soft: #fff6e0;
  --warn-ink: #7a4f00;
  --blue-soft: #eef4ff;
  --blue-ink: #1e3a8a;
  --focus: #1d4ed8;

  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-wide: "Archivo Wide", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;

  --text-s: .875rem;
  --text-m: 1rem;
  --text-l: 1.25rem;
  --text-xl: 1.6rem;
  --text-hero: clamp(2rem, 7vw, 3.6rem);

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(11, 15, 20, .06), 0 8px 24px rgba(11, 15, 20, .06);
  --page: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--text-m)/1.55 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; max-width: 68ch; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--text-xl); font-weight: 800; }
h2 { font-size: var(--text-l); font-weight: 800; }
h3 { font-size: var(--text-m); font-weight: 700; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: var(--space-2) var(--space-4); z-index: 10; }
.skip:focus { left: var(--space-4); top: var(--space-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--page); margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.stack { display: grid; gap: var(--space-4); }
.stack-l { display: grid; gap: var(--space-6); }
.row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.muted { color: var(--muted); }
.small { font-size: var(--text-s); }
main { padding-block: var(--space-6) var(--space-7); min-height: 60vh; }
main > .wrap > * { min-width: 0; }

/* Header and footer */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); padding-block: var(--space-3); }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; text-decoration: none; }
.logo span { color: var(--orange); }
.nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lang { display: flex; gap: var(--space-1); }
.lang button { font: inherit; font-size: var(--text-s); font-weight: 700; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-pill); padding: 2px 10px; cursor: pointer; color: var(--ink-2); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: var(--space-6); font-size: var(--text-s); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; background: var(--orange); color: var(--on-orange); white-space: nowrap; }
.btn:hover { filter: brightness(.95); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn.line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.danger { background: #b42318; color: var(--white); }
.btn.small { min-height: 36px; padding: 0 var(--space-4); font-size: var(--text-s); }
.btn.block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Status pills (PLT-11): flat and rounded */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; line-height: 1.3; white-space: nowrap; background: var(--soft); color: var(--ink); }
.pill.stolen { background: var(--orange); color: var(--on-orange); }
.pill.lost { background: var(--ink); color: var(--white); }
.pill.found, .pill.resolved { background: var(--green); color: #052e1b; }
.pill.pending { background: var(--warn-soft); color: var(--warn-ink); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--green-soft); color: var(--green-ink); }
.badge.blue { background: var(--blue-soft); color: var(--blue-ink); }
.badge.gold { background: var(--warn-soft); color: var(--warn-ink); }

/* Big headlines, only for big moments (PLT-12) */
.wide { font-family: var(--font-wide); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; }
.wide em { font-style: normal; color: var(--orange-text); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; padding-block: var(--space-4) var(--space-6); }
.hero h1 { font-size: var(--text-hero); }
.hero p { color: var(--ink-2); font-size: 1.1rem; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } }
.search { display: flex; gap: var(--space-2); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 6px 6px 6px var(--space-4); }
.search input { flex: 1; min-width: 0; border: 0; font: inherit; background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Cards and grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--space-4); }
.card { display: grid; gap: var(--space-2); text-decoration: none; min-width: 0; }
.card .meta { display: grid; gap: 2px; padding-inline: 2px; }
.card .meta b { font-size: 1rem; overflow-wrap: anywhere; }
.card .meta small { color: var(--muted); }
.photo { position: relative; aspect-ratio: 4 / 3; width: 100%; max-width: 100%; border-radius: var(--radius-m); overflow: hidden; background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .pill { position: absolute; top: var(--space-2); left: var(--space-2); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: var(--space-5); display: grid; gap: var(--space-4); min-width: 0; }
.panel.soft { background: var(--soft); border: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-2); }

/* Forms */
form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: var(--space-1); min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .help { font-size: var(--text-s); color: var(--muted); }
.field .error, .errorlist { color: #b42318; font-size: var(--text-s); font-weight: 600; margin: 0; padding: 0; list-style: none; }
input[type="text"], input[type="email"], input[type="number"], input[type="date"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #c9ced5; border-radius: var(--radius-s); }
textarea { min-height: 120px; resize: vertical; }
input[type="file"] { font: inherit; max-width: 100%; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-2); min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choices label { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-m); padding: var(--space-2) var(--space-4); font-weight: 600; cursor: pointer; }
.choices input:checked + span { color: var(--orange-ink); }
.checkbox { display: flex; gap: var(--space-2); align-items: flex-start; font-weight: 500; }
.checkbox input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.steps { display: flex; gap: var(--space-2); }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps span.on { background: var(--orange); }

/* Notices */
.notice { border-radius: var(--radius-m); padding: var(--space-3) var(--space-4); font-size: .95rem; background: var(--blue-soft); color: var(--blue-ink); }
.notice.warn { background: var(--warn-soft); color: var(--warn-ink); }
.notice.alert { background: var(--orange-soft); color: #7c2d12; }
.notice.ok { background: var(--green-soft); color: var(--green-ink); }
.messages { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); }

/* Listing page */
.listing { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 820px) { .listing { grid-template-columns: 1fr; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: var(--space-2); }
.thumbs .photo { aspect-ratio: 1; border-radius: var(--radius-s); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-1) var(--space-4); margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.serial { font-family: var(--mono); letter-spacing: .08em; }
.share { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Areas */
.arealist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.arealist a { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) 2.5rem; gap: var(--space-3); align-items: center; padding: var(--space-2) var(--space-3); border-radius: var(--radius-s); text-decoration: none; }
.arealist a:hover { background: var(--soft); }
.bar { width: 100%; height: 8px; border: 0; border-radius: 4px; background: var(--soft); overflow: hidden; appearance: none; -webkit-appearance: none; }
.bar::-webkit-progress-bar { background: var(--soft); border-radius: 4px; }
.bar::-webkit-progress-value { background: var(--ink-2); border-radius: 4px; }
.bar::-moz-progress-bar { background: var(--ink-2); border-radius: 4px; }
.spaced { margin-top: var(--space-6); }
.count { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.crumbs { font-size: var(--text-s); color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--space-2); }

.pagination { display: flex; gap: var(--space-2); align-items: center; justify-content: center; }
.empty { padding: var(--space-6); text-align: center; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-l); }

/* Style guide */
.swatches { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.swatches i { width: 56px; height: 56px; border-radius: var(--radius-s); border: 1px solid var(--line); display: block; }

/* Poster and story (SHR-04 to SHR-10) */
.poster-tools { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-4); }
.poster { background: var(--white); color: var(--ink); width: 100%; max-width: 640px; aspect-ratio: 210 / 297; margin: 0 auto; padding: 6%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; gap: 3%; box-shadow: var(--shadow); overflow: hidden; }
.poster .status { justify-self: start; background: var(--orange); color: var(--on-orange); border-radius: var(--radius-pill); padding: .2em .7em; font-size: clamp(1.6rem, 6vw, 3rem); }
.poster .status.lost { background: var(--ink); }
.poster .status.found { background: var(--green); color: #052e1b; }
.poster .photo { aspect-ratio: auto; height: 100%; border-radius: var(--radius-m); }
.poster .title { font-size: clamp(1.1rem, 3.6vw, 1.9rem); }
.poster .qrrow { display: grid; grid-template-columns: 26% minmax(0, 1fr); gap: 4%; align-items: center; border-top: 1px solid var(--line); padding-top: 3%; }
.poster .qrrow svg { width: 100%; height: auto; display: block; }
.story { background: var(--ink); color: var(--white); width: 100%; max-width: 380px; aspect-ratio: 9 / 16; margin: 0 auto; padding: 7%; border-radius: var(--radius-l); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; gap: 4%; overflow: hidden; }
.story .photo { aspect-ratio: auto; height: 100%; }
.story .head { font-size: clamp(1.8rem, 9vw, 2.6rem); }
.story .qrrow { display: grid; grid-template-columns: 28% minmax(0, 1fr); gap: 5%; align-items: center; color: #c7ccd3; font-size: var(--text-s); }
.story .qrrow svg { width: 100%; height: auto; background: var(--white); border-radius: 6px; display: block; }

@media print {
  @page { size: A4 portrait; margin: 0; }
  body { background: var(--white); }
  .site-header, .site-footer, .poster-tools, .skip, .noprint { display: none !important; }
  main { padding: 0; min-height: 0; }
  .wrap { padding: 0; max-width: none; }
  .poster { box-shadow: none; max-width: none; width: 210mm; height: 297mm; aspect-ratio: auto; padding: 14mm; }
}

.sw-ink { background: var(--ink); } .sw-orange { background: var(--orange); } .sw-green { background: var(--green); }
.sw-soft { background: var(--soft); } .sw-white { background: var(--white); }
.hero-type { font-size: var(--text-hero); }
.prose { display: grid; gap: var(--space-3); max-width: 70ch; }
.prose h2 { margin-top: var(--space-4); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-1); }
.nav a.btn, .nav a.btn:hover { color: var(--on-orange); text-decoration: none; }
.search input[type="search"] { border: 0; min-height: 36px; padding: 0; background: transparent; }
.search input[type="search"]:focus { outline: none; }
.story .logo { color: var(--white); }
.poster .status.wide { font-family: var(--font-wide); }

/* How it works (LST-39) */
.howto { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.howto li { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--space-3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: var(--space-4); }
.howto li::before { content: counter(step); grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.howto b { font-size: 1.05rem; }
.howto span { color: var(--muted); }

/* Newest reports line (LST-39) */
.ticker { background: var(--ink); color: var(--white); border-radius: var(--radius-m); overflow-x: auto; }
.ticker ul { list-style: none; margin: 0; padding: var(--space-3) var(--space-4); display: flex; gap: var(--space-5); white-space: nowrap; }
.ticker a { text-decoration: none; }
.ticker a:hover { text-decoration: underline; }
.ticker b { margin-right: 4px; }
.tick-stolen { color: var(--orange); } .tick-lost { color: #c7ccd3; } .tick-found { color: var(--green); }

/* Listing map (LST-34) */
.mapbox { margin: 0; display: grid; gap: var(--space-2); }
.areamap { width: 100%; height: auto; display: block; border-radius: var(--radius-m); border: 1px solid var(--line); }
.map-sea { fill: #eef2f5; }
.map-around { fill: #ffffff; stroke: #d5dbe1; stroke-width: 1; }
.map-city { fill: #ffe1d3; stroke: var(--orange-ink); stroke-width: 1.5; }
.map-pin path { fill: var(--ink); }
.map-pin circle { fill: var(--orange); }
.credit { font-size: .75rem; }

/* OpenStreetMap maps (LST-40 to LST-45) */
.livemap { width: 100%; height: 280px; border-radius: var(--radius-m); border: 1px solid var(--line); z-index: 0; }
.livemap.pick { height: 340px; }
.map-area { fill: rgba(255, 90, 31, .25); stroke: var(--orange-ink); }
.label-like { font-weight: 700; font-size: .95rem; }
.choices input:disabled + span { color: var(--muted); text-decoration: line-through; }

/* Listing page layout */
.stack.tight { gap: var(--space-2); }
.sharebar { display: grid; gap: var(--space-2); padding: var(--space-4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
.small-head { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.chipbtn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-3); border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--soft); color: var(--ink); font: inherit; font-size: var(--text-s); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.chipbtn:hover { border-color: var(--ink); }
.chipbtn.strong { background: var(--white); border-color: var(--ink); }
.tip summary { list-style: none; cursor: pointer; }
.tip summary::-webkit-details-marker { display: none; }
.tip summary::after { content: "▾"; margin-left: var(--space-2); }
.tip[open] summary { border-radius: var(--radius-l) var(--radius-l) 0 0; }
.tip[open] summary::after { content: "▴"; }
.tip[open] .panel { border-top-left-radius: 0; border-top-right-radius: 0; }

/* Browse by area (LST-47) */
.areagrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 820px) { .areagrid { grid-template-columns: 1fr; } }
.livemap.tall { height: 460px; }
.leaflet-interactive { cursor: pointer; }

/* Search: filters, list and map views (LST-52) */
.searchlayout { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
@media (max-width: 860px) { .searchlayout { grid-template-columns: 1fr; } }
.filters { position: sticky; top: var(--space-4); }
.viewtabs { display: inline-flex; background: var(--soft); border-radius: var(--radius-pill); padding: 3px; }
.viewtabs a { padding: 6px 16px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 700; color: var(--muted); }
.viewtabs a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.livemap.results-map { height: min(70vh, 640px); }
.mapcard { display: grid; gap: 4px; text-decoration: none; color: var(--ink); width: 200px; }
.mapcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.mapcard .pill { justify-self: start; }
.mapcard small { color: var(--muted); }

/* Photo picker (LST-54) */
.dropzone { display: grid; gap: var(--space-1); justify-items: center; text-align: center; padding: var(--space-6) var(--space-4); border: 2px dashed #c9ced5; border-radius: var(--radius-l); background: var(--soft); cursor: pointer; }
.dropzone:hover, .dropzone.hover { border-color: var(--orange); background: var(--orange-soft); }
.dropzone.full { opacity: .5; }
.picker-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: var(--space-3); }
.picker-list:empty { display: none; }
.picker-item { display: grid; gap: var(--space-1); cursor: grab; border-radius: var(--radius-m); }
.picker-item.over { outline: 3px dashed var(--orange); outline-offset: 2px; }
.picker-photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-m); overflow: hidden; background: var(--soft); display: grid; place-items: center; color: var(--muted); font-size: var(--text-s); }
.picker-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.picker-main { position: absolute; top: 6px; left: 6px; }
.picker-tools { display: flex; gap: var(--space-1); justify-content: center; }
.picker-btn { min-width: 36px; min-height: 32px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.picker-btn:disabled { opacity: .35; cursor: default; }
.picker-btn:hover:not(:disabled) { border-color: var(--ink); }
