/* pryla. One stylesheet, no build step. Rules and tokens: pryla/STYLEGUIDE.md,
   live examples at /stilguide. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/spacemono-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --muted: #707070;
  --faint: #a3a3a3;
  --line: #dcdcdc;
  --paper: #ffffff;
  --band: #f6f6f4;
  --night: #262626;
  --accent: #b4532a;
  --ok: #2f6b4f;
  --wait: #8a6212;
  --danger: #a3261e;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: 40px;
  --gap: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--sans); font-optical-sizing: auto;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; padding-block: 32px 96px; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--muted); }
h1, h2, h3 { font-weight: 400; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 640px; margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prose { white-space: pre-line; overflow-wrap: anywhere; }
.lead { font-size: 1.125rem; color: var(--muted); font-weight: 300; }
.page-title { font-size: 1.875rem; }
.page-title a { color: inherit; text-decoration: none; }
.meta, .mono {
  font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}

/* header */
.top { background: var(--paper); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid transparent; }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 80px; flex-wrap: wrap; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); }
.logo:hover { color: var(--ink); }
.mark {
  display: grid; grid-template-columns: 1fr 1fr; width: 30px; font: 500 16px/.95 var(--sans);
  color: var(--ink); letter-spacing: 0; text-align: center;
}
.word { font-weight: 300; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; }
.word .dot { color: var(--accent); }
.top-search { flex: 1; min-width: 180px; max-width: 360px; }
.top-search input { border-radius: 999px; padding: 7px 16px; }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); font-size: .9375rem; }
.nav a:hover, .nav a.strong { color: var(--ink); }
.nav a.btn { color: var(--paper); }
.nav a.btn-line { color: var(--ink); }
.badge {
  display: inline-block; min-width: 1.5em; padding: 0 .45em; border-radius: 999px; background: var(--accent);
  color: #fff; font: 600 .6875rem/1.5em var(--sans); text-align: center; vertical-align: 1px;
}
.avatar {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; background: var(--paper);
}
.avatar-sm { width: 32px; height: 32px; font-size: .875rem; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.75rem; font-weight: 300; }

.flash { margin: 8px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-left: 3px solid var(--ok); }

/* forms */
input, select, textarea {
  font: inherit; color: inherit; width: 100%;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--ink); border-color: var(--ink); }
input[type=radio] { width: auto; accent-color: var(--ink); }
input[type=file] { padding: 8px; }
label { display: block; font-size: .875rem; font-weight: 500; margin: 20px 0 6px; }
.form > button { margin-top: 28px; }
.hint { font-size: .8125rem; color: var(--muted); margin: 6px 0 0; }
.field-err, .form-err { color: var(--danger); font-size: .875rem; margin: 6px 0 0; }
.form-err { border: 1px solid var(--line); border-left: 3px solid var(--danger); padding: 10px 12px; margin: 0 0 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two label { margin-top: 12px; }

.btn {
  display: inline-block; font: 500 .9375rem/1.2 var(--sans); cursor: pointer; text-decoration: none; text-align: center;
  padding: 11px 22px; border-radius: 6px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
}
.btn:hover { background: #000; color: var(--paper); }
.btn-line, .btn-quiet { background: var(--paper); color: var(--ink); }
.btn-line:hover, .btn-quiet:hover { background: var(--band); color: var(--ink); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-small { padding: 7px 14px; font-size: .875rem; }
.btn-block { display: block; width: 100%; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.pill {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; background: var(--paper); font-size: .9375rem; white-space: nowrap;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }

/* status: mono label with a coloured dot, never a coloured block */
.status { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status-requested::before { background: var(--wait); }
.status-accepted::before, .status-active::before { background: var(--ok); }
.status-completed::before { background: var(--ink); }

/* home */
.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 300; max-width: 17em; margin-inline: auto; letter-spacing: -.025em; }
.hero .lead { max-width: 34em; margin-inline: auto; }
.searchbox {
  display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr auto; gap: 0; align-items: stretch; text-align: left;
  border: 1px solid var(--line); border-radius: 999px; max-width: 980px; margin: 32px auto 0; padding: 6px; background: var(--paper);
}
.sb-field { margin: 0; padding: 4px 18px; border-left: 1px solid var(--line); font-weight: 400; }
.sb-field:first-child { border-left: 0; }
.sb-field span { display: block; font-family: var(--mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sb-field input, .sb-field select { border: 0; padding: 2px 0; font-size: .9375rem; background: transparent; }
.sb-field input:focus, .sb-field select:focus { outline: 0; }
.searchbox .btn { border-radius: 999px; padding-inline: 28px; }

.band {
  position: relative; background: var(--band); text-align: center; color: var(--muted);
  padding: 64px var(--gutter); margin-block: 48px;
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath d='M6.5 0v13M0 6.5h13' stroke='%23a3a3a3'/%3E%3C/svg%3E");
  background-image: var(--plus), var(--plus), var(--plus), var(--plus);
  background-repeat: no-repeat;
  background-position: 20px 20px, calc(100% - 20px) 20px, 20px calc(100% - 20px), calc(100% - 20px) calc(100% - 20px);
}
.band p { max-width: 40em; margin: 0 auto; font-size: 1.125rem; font-weight: 300; line-height: 1.6; }
.band strong { color: var(--ink); font-weight: 400; }

.section { margin-top: 72px; }
.section:first-child { margin-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h1, .section-head h2 { margin: 0; }
.section-head .mono { color: var(--ink); text-decoration: none; }
.section-head .mono:hover { text-decoration: underline; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.dark { background: var(--night); color: #f2f2f2; padding-block: 72px; }
.dark h2 { color: #fff; }
.dark .mono { color: #a8a8a8; }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 0; margin: 32px 0 0; list-style: none; counter-reset: s; }
.step-list li { counter-increment: s; border-top: 1px solid #4a4a4a; padding-top: 16px; color: #cfcfcf; font-weight: 300; }
.step-list li::before { content: "0" counter(s); display: block; font-family: var(--mono); font-size: .75rem; color: #a8a8a8; margin-bottom: 12px; }
.step-list strong { display: block; color: #fff; font-weight: 400; font-size: 1.125rem; margin-bottom: 6px; }
.bleed { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }

.empty { text-align: center; padding: 56px 16px; border: 1px solid var(--line); }
.empty .btn { margin-top: 8px; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); }
.card { display: block; color: var(--ink); text-decoration: none; }
.card-img { aspect-ratio: 4 / 3; background: var(--band); position: relative; overflow: hidden; outline: 1px solid rgba(0,0,0,.06); outline-offset: -1px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.025); }
.card-body { padding-top: 12px; }
.card h3 { font-size: .9375rem; margin: 0 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0; }
.card p { margin: 0; }
.card .meta { display: flex; justify-content: space-between; gap: 8px; }
.card .meta .price { color: var(--ink); white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--paper); font-family: var(--mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; }
.star { color: var(--accent); }
.stars { color: var(--accent); letter-spacing: .08em; margin-left: auto; white-space: nowrap; }

/* search */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 40px; }
.filters label { margin: 0; }
.filters label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.filters input, .filters select { height: 38px; border-radius: 999px; padding: 0 16px; width: auto; }
.filters input[type=search] { width: 260px; }
.filters select { padding-right: 32px; }
.filters .btn { border-radius: 999px; height: 38px; padding-block: 0; }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 56px; }

/* listing */
.crumbs { margin-bottom: 20px; }
.crumbs, .crumbs a { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.owner-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); padding: 12px 16px; margin-bottom: 24px; }
.listing { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.gallery img[data-slide] { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--band); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumb { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; flex: none; width: 76px; opacity: .6; }
.thumb.on, .thumb:hover { opacity: 1; border-color: var(--ink); }
.listing-title { font-size: 2.25rem; font-weight: 300; margin: 32px 0 8px; letter-spacing: -.02em; }
.owner { display: flex; gap: 14px; align-items: center; padding: 20px 0; margin: 24px 0 8px; border-block: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.owner:hover { color: var(--ink); }
.owner-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 0; }
.listing .section { margin-top: 48px; }
.mobile-book { display: none; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.mobile-book > span { font-size: 1.25rem; font-weight: 300; }
.mobile-book .meta { margin-left: 4px; }
.cols h2 { font-size: 1.25rem; }
.listing-side { position: sticky; top: 104px; }
.book { border: 1px solid var(--line); padding: 24px; background: var(--paper); }
.book label { margin-top: 14px; }
.book-price { font-size: 1.5rem; font-weight: 300; margin-bottom: 12px; }
.book-price .meta { margin-left: 4px; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; font-size: .9375rem; }
.price-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-table td:first-child { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price-table td:last-child { text-align: right; }
.total { background: var(--band); padding: 10px 12px; margin: 14px 0 0; }
.book .btn { margin: 18px 0 10px; }
.side-note { margin-top: 14px; }
.report { margin-top: 56px; }
.report summary { cursor: pointer; font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* calendar */
.cals { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px; }
.cal-title { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); text-align: center; font-size: .8125rem; }
.cal-grid > span { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5px 0; }
.dow { font-family: var(--mono); font-size: .625rem; text-transform: uppercase; color: var(--muted); }
.d.past { color: var(--faint); }
.d.busy { color: var(--faint); text-decoration: line-through; }
.d.block { background: repeating-linear-gradient(135deg, transparent 0 4px, #e6e6e3 4px 5px); }
.d.today { box-shadow: inset 0 0 0 1px var(--ink); }
.d.pick { background: var(--ink); color: var(--paper); }
.legend { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.legend .d { display: inline-block; width: 30px; text-align: center; border: 1px solid var(--line); margin-right: 6px; padding: 2px 0; }
[data-pick] .d:not(.past):not(.busy) { cursor: pointer; }
[data-pick] .d:not(.past):not(.busy):not(.pick):hover { background: var(--band); }

/* reviews */
.reviews { list-style: none; padding: 0; margin: 0; }
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review:first-child { border-top: 1px solid var(--line); }
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.review-head a { text-decoration: none; }
.review p { margin: 0; }

/* booking */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.booking-head { display: flex; gap: 16px; align-items: center; margin-bottom: 32px; }
.booking-head .page-title { margin: 0 0 4px; }
.booking-head p { margin: 0; }
.row-img { width: 76px; height: 57px; overflow: hidden; background: var(--band); flex: none; }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.thread { display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 78%; border: 1px solid var(--line); padding: 12px 16px; }
.msg p { margin: 0 0 6px; }
.msg.mine { align-self: flex-end; background: var(--band); border-color: var(--band); }
.reply { display: flex; gap: 8px; align-items: flex-end; margin-top: 16px; }
.reply .btn { flex: none; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 16px 0; }
.facts dt { padding-right: 16px; }
.facts dt, .facts dd { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 11px; }
.facts dd { text-align: right; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.actions-col { flex-direction: column; align-items: stretch; }
.actions-col .btn { margin: 0; }
.rating { border: 0; padding: 0; margin: 16px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.rating legend { font-size: .875rem; font-weight: 500; margin-bottom: 8px; }
.rating label { margin: 0; font-weight: 400; display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.rating label:has(input:checked) { border-color: var(--ink); }

/* lists */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.rows { border-top: 1px solid var(--line); }
.row { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row:hover { color: var(--ink); background: var(--band); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-main strong { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-right: 4px; }

.panel { border-top: 1px solid var(--line); padding: 28px 0 32px; }
.panel h2 { font-size: 1.25rem; }
.panel .form label:first-child { margin-top: 0; }
.photo-admin { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.photo-admin img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 4px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 0; }
.block-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-top: 20px; }
.block-form label { margin: 0; font-size: .8125rem; flex: 1; min-width: 140px; }
details.danger summary { list-style: none; }
details.danger summary::-webkit-details-marker { display: none; }
details.danger[open] { flex-basis: 100%; }

.profile-head { display: flex; gap: 20px; align-items: center; margin-bottom: 16px; }
.profile-head .page-title { margin-bottom: 4px; }
.profile-head p { margin: 0; }
.auth { max-width: 420px; padding-top: 24px; }
.prose-page h2 { margin-top: 40px; }
.prose-page li { margin-bottom: 8px; }

/* style guide page */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.swatch span { display: block; aspect-ratio: 3 / 2; border: 1px solid var(--line); margin-bottom: 8px; }
.specimen { border-top: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline; }
.specimen .page-title { margin: 0; }
.t-hero { font-size: 2.75rem; font-weight: 300; letter-spacing: -.025em; line-height: 1.1; }
.t-h2 { font-size: 1.5rem; }
.t-ink { color: var(--ink); }
.sg-row { margin-top: 20px; align-items: center; }
.sg-field { max-width: 480px; }
.sw-ink { background: var(--ink); }
.sw-muted { background: var(--muted); }
.sw-faint { background: var(--faint); }
.sw-line { background: var(--line); }
.sw-paper { background: var(--paper); }
.sw-band { background: var(--band); }
.sw-night { background: var(--night); }
.sw-accent { background: var(--accent); }
.sw-ok { background: var(--ok); }
.sw-wait { background: var(--wait); }

/* footer */
.foot { background: var(--night); color: #b5b5b5; padding-block: 48px; font-size: .875rem; font-weight: 300; }
.foot a, .foot .linkish { color: #fff; }
.foot-row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 40px; align-items: start; }
.foot .word { color: #fff; font-size: 1.1rem; }
.foot p { margin: 0; max-width: 40em; }
.foot .meta { color: #8a8a8a; display: block; margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot ul a { text-decoration: none; color: #d0d0d0; }
.foot ul a:hover { color: #fff; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .listing, .booking { grid-template-columns: 1fr; gap: 40px; }
  .listing-side { position: static; }
  .mobile-book { display: flex; }
  .searchbox { grid-template-columns: 1fr 1fr; border-radius: 16px; gap: 0; }
  .sb-field { border-left: 0; border-bottom: 1px solid var(--line); padding: 8px 12px; }
  .sb-what { grid-column: 1 / -1; }
  .searchbox .btn { grid-column: 1 / -1; margin-top: 8px; border-radius: 10px; }
  .step-list { grid-template-columns: 1fr 1fr; }
  .foot-row { grid-template-columns: 1fr 1fr; }
  .foot-row > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --gap: 12px; }
  .top-row { min-height: 64px; gap: 12px 16px; }
  .top .word, .nav .wide { display: none; }
  .top-search { order: 3; max-width: none; flex-basis: 100%; }
  .nav { gap: 14px; }
  .cols { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; gap: 24px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gap); }
  .hero { padding-top: 24px; }
  .band { padding: 48px 32px; }
  .listing-title { font-size: 1.75rem; }
  .page-title { font-size: 1.5rem; }
  .msg { max-width: 92%; }
  .reply { flex-direction: column; align-items: stretch; }
  .filters input[type=search] { width: 100%; }
  .filters label:first-child { flex-basis: 100%; }
  .foot-row { grid-template-columns: 1fr; }
  .specimen { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 400px) {
  .two, .searchbox { grid-template-columns: 1fr; }
  .card .meta { flex-direction: column; gap: 0; }
}
