/* public/recalls-assets/recalls.css
   Public recall pages (#942). Colours and fonts come only from tokens.css
   custom properties (generated from shared/design-tokens/tokens.json). */
@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 400;
  font-display: swap;
  src: url("/recalls-assets/fonts/hanken-grotesk-latin-400-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 500;
  font-display: swap;
  src: url("/recalls-assets/fonts/hanken-grotesk-latin-500-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 600;
  font-display: swap;
  src: url("/recalls-assets/fonts/hanken-grotesk-latin-600-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 700;
  font-display: swap;
  src: url("/recalls-assets/fonts/hanken-grotesk-latin-700-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-weight: 700;
  font-display: swap;
  src: url("/recalls-assets/fonts/schibsted-grotesk-latin-700-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-weight: 800;
  font-display: swap;
  src: url("/recalls-assets/fonts/schibsted-grotesk-latin-800-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 500;
  font-display: swap;
  src: url("/recalls-assets/fonts/jetbrains-mono-latin-500-normal.woff2")
    format("woff2");
}

:root {
  --line: hsl(var(--foreground) / 0.1);
  --glass: hsl(var(--foreground) / 0.04);
  --tone-red: hsl(var(--danger));
  --tone-red-soft: hsl(var(--danger) / 0.14);
  --tone-red-line: hsl(var(--danger) / 0.45);
  --tone-amber: hsl(var(--warning));
  --tone-amber-soft: hsl(var(--warning) / 0.14);
  --tone-amber-line: hsl(var(--warning) / 0.35);
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font: 16px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--brand-green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
h1,
h2,
.display {
  font-family: var(--font-display);
}
.mono {
  font-family: var(--font-mono);
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: hsl(var(--card));
  padding: 8px 12px;
  border-radius: 8px;
}
:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: hsl(var(--foreground));
}
.logo-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--brand-green);
  box-shadow:
    inset 0 0 0 3px hsl(var(--background)),
    inset 0 0 0 9px var(--brand-green);
}
.logo-sub {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}
nav.main {
  display: flex;
  gap: 22px;
  font-size: 14px;
  flex: 1;
}
nav.main a {
  color: hsl(var(--muted-foreground));
}
nav.main a[aria-current="page"] {
  color: var(--brand-green);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  font: 600 14px var(--font-sans);
  padding: 10px 16px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-emerald);
  color: hsl(var(--solid-foreground, 0 0% 100%));
}
.btn-ghost {
  background: hsl(var(--foreground) / 0.06);
  border-color: hsl(var(--foreground) / 0.18);
  color: hsl(var(--foreground));
}
.full {
  width: 100%;
}

.crumbs {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  padding: 22px 0 14px;
}
.crumbs a {
  color: hsl(var(--muted-foreground));
}
.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--glass);
}
.status-red {
  background: var(--tone-red-soft);
  border-color: var(--tone-red-line);
}
.status-amber {
  background: var(--tone-amber-soft);
  border-color: var(--tone-amber-line);
}
.status-grey,
.status-withdrawn {
  background: hsl(var(--foreground) / 0.05);
  border-color: hsl(var(--foreground) / 0.18);
}
.pill {
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: hsl(var(--foreground) / 0.12);
}
.pill-red {
  background: var(--tone-red);
  color: hsl(var(--danger-foreground));
}
.pill-amber {
  background: var(--tone-amber);
  color: hsl(var(--background));
}
.pill-grey {
  background: hsl(var(--foreground) / 0.12);
  color: hsl(var(--foreground));
}
h1 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 8px;
  font-weight: 800;
}
.lede {
  color: hsl(var(--muted-foreground));
  font-size: 17px;
  margin: 0 0 26px;
  max-width: 720px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-areas: "identify action" "details action";
  gap: 18px 28px;
  align-items: start;
}
.area-identify {
  grid-area: identify;
}
.area-details {
  grid-area: details;
}
.action {
  grid-area: action;
  position: sticky;
  top: 16px;
}
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.card + .card {
  margin-top: 18px;
}
.card h2 {
  font: 700 13px var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green);
  margin: 0 0 12px;
}
.media {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}
.photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: hsl(var(--card));
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  text-decoration: none;
}
.photo-placeholder:hover {
  color: var(--brand-green);
  text-decoration: none;
}
.facts {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px 14px;
  margin: 0;
}
.facts dt {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  padding-top: 2px;
}
.facts dd {
  margin: 0;
}
.barcode {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: hsl(var(--background) / 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 8px 4px 12px;
  letter-spacing: 0.06em;
  margin: 0 6px 6px 0;
}
.copy {
  display: none;
  background: hsl(var(--foreground) / 0.08);
  border: 1px solid hsl(var(--foreground) / 0.14);
  color: hsl(var(--foreground));
  border-radius: 7px;
  font: 600 12px var(--font-sans);
  padding: 4px 8px;
  cursor: pointer;
}
.js .copy {
  display: inline-block;
}
.none {
  color: hsl(var(--muted-foreground));
  font-style: italic;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.chip {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tone-amber-soft);
  color: var(--tone-amber);
  border: 1px solid var(--tone-amber-line);
}
.legal {
  margin-top: 12px;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  border-left: 3px solid hsl(var(--border));
  padding-left: 12px;
}
.measures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.measure {
  background: hsl(var(--background) / 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.k {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}
.v {
  font-weight: 700;
  margin-top: 2px;
}
.source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}
.fine {
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  margin: 10px 0 0;
}

.panel {
  background: hsl(var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.seg {
  display: none;
  grid-template-columns: 1fr 1fr;
  background: hsl(var(--background) / 0.6);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}
.js .seg {
  display: grid;
}
.seg button {
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font: 600 14px var(--font-sans);
  padding: 9px 8px;
  border-radius: 9px;
  cursor: pointer;
}
.seg button[aria-selected="true"] {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}
.tabpanel + .tabpanel {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.js .tabpanel + .tabpanel {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.tabpanel h2 {
  font-size: 19px;
  margin: 0 0 8px;
  line-height: 1.25;
}
.tabpanel p {
  margin: 0 0 12px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 14px;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 12px 36px;
  font-size: 15px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsl(var(--foreground) / 0.08);
  color: var(--brand-green);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps small {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}
.field {
  display: flex;
  gap: 8px;
}
.field input {
  flex: 1;
  min-width: 0;
  background: hsl(var(--background) / 0.6);
  border: 1px solid hsl(var(--foreground) / 0.16);
  color: hsl(var(--foreground));
  border-radius: 10px;
  padding: 10px 12px;
  font: 15px var(--font-sans);
}
.under {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin-top: 8px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}

.related {
  margin-top: 36px;
}
.related h2,
.listhead h2 {
  font-size: 22px;
  margin: 0 0 14px;
}
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rel {
  display: block;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  color: hsl(var(--foreground));
}
.rel:hover {
  text-decoration: none;
  border-color: hsl(var(--foreground) / 0.3);
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: hsl(var(--foreground) / 0.06);
}
.tag-red {
  background: var(--tone-red-soft);
  color: var(--tone-red);
  border-color: var(--tone-red-line);
}
.tag-amber {
  background: var(--tone-amber-soft);
  color: var(--tone-amber);
  border-color: var(--tone-amber-line);
}
.tag-grey {
  background: hsl(var(--foreground) / 0.12);
  color: hsl(var(--foreground));
  border-color: var(--line);
}
.t {
  font-weight: 700;
  margin: 4px 0;
}
.m {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

.hero {
  border-bottom: 1px solid var(--line);
  padding: 44px 0 36px;
  background: hsl(var(--card) / 0.4);
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
}
.search {
  display: flex;
  gap: 8px;
  max-width: 720px;
}
.search input {
  flex: 1;
  min-width: 0;
  background: hsl(var(--background) / 0.6);
  border: 1px solid hsl(var(--foreground) / 0.18);
  color: hsl(var(--foreground));
  border-radius: 12px;
  padding: 14px 16px;
  font: 16px var(--font-sans);
}
.stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
}
.stats b {
  color: hsl(var(--foreground));
  font: 700 20px var(--font-display);
  display: block;
}
main > section {
  margin-top: 38px;
}
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: hsl(var(--foreground));
  font-weight: 600;
}
.cat span {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  font-size: 14px;
}
.more {
  margin-top: 10px;
  font-size: 14px;
}
.listhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.f {
  border: 1px solid hsl(var(--foreground) / 0.16);
  color: hsl(var(--foreground));
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}
.f.on {
  border-color: var(--brand-green);
  color: var(--brand-green);
}
.list {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
.item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: hsl(var(--foreground));
}
li:first-child > .item {
  border-top: 0;
}
.item:hover {
  background: var(--glass);
  text-decoration: none;
}
.thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: hsl(var(--card));
  border: 1px solid var(--line);
}
.thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
}
.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
}
.seller {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
  background: hsl(var(--card));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.seller h2 {
  margin: 0 0 6px;
}
.seller p {
  margin: 0;
  color: hsl(var(--muted-foreground));
}
.empty {
  padding: 28px;
  text-align: center;
  color: hsl(var(--muted-foreground));
}
footer.site {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    grid-template-areas: "identify" "action" "details";
  }
  .action {
    position: static;
  }
  header.site .wrap {
    flex-wrap: wrap;
    row-gap: 4px;
    padding-top: 10px;
  }
  header.site .logo {
    flex: 1;
  }
  header.site .logo-sub {
    display: none;
  }
  header.site .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  nav.main {
    order: 3;
    flex-basis: 100%;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  h1 {
    font-size: 30px;
  }
  .media,
  .measures,
  .rel-grid,
  .seller {
    grid-template-columns: 1fr;
  }
  .photo {
    max-width: 180px;
  }
  .cats {
    grid-template-columns: 1fr 1fr;
  }
  .item {
    grid-template-columns: 48px 1fr;
  }
  .item .tag {
    grid-column: 2;
    justify-self: start;
  }
  .thumb {
    width: 48px;
    height: 48px;
  }
  .wrap {
    padding: 0 16px;
  }
}
@media (max-width: 480px) {
  .facts {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .facts dd {
    margin-bottom: 10px;
  }
}
