:root {
  --navy: #12263a;
  --ink: #0c1824;
  --paper: #f4efe6;
  --white: #fffcf7;
  --gold: #b07d12;
  --gold-soft: #f3e4bf;
  --green: #1b7a4e;
  --green-soft: #dceee4;
  --muted: #5a6874;
  --line: rgba(18, 38, 58, 0.12);
  --shadow: 0 20px 50px rgba(12, 24, 36, 0.12);
  --radius: 20px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: 1rem; }

.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.15; }
h3 { font-size: 1.28rem; }
.lead { color: var(--muted); max-width: 38rem; font-size: 1.12rem; }

.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 239, 230, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 12px 0;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.brand-name {
  font-family: var(--serif); font-weight: 400; font-size: 1.05rem;
  line-height: 1.2; white-space: nowrap;
}
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.35rem;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 550;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-extra { display: none; }
.nav-cta {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding-left: 18px; border-left: 1px solid var(--line);
}
.nav-cta a, .nav-cta .btn { white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 11px 18px;
  font-weight: 700; cursor: pointer; transition: 0.18s ease;
  gap: 8px;
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff8e8; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--white); }

.hero { padding: 56px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero p { margin: 18px 0 26px; }
.search {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  box-shadow: var(--shadow);
}
.search select, .search input {
  border: 0; background: var(--paper); border-radius: 12px; padding: 12px 14px;
}
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 0.92rem; }
.trust-row strong { color: var(--ink); }

.hero-visual { display: grid; gap: 16px; }
.hero-visual > img {
  width: 100%; height: 280px; object-fit: cover; border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  background: var(--navy); color: #e8eef4;
  border-radius: 28px; padding: 28px;
  box-shadow: var(--shadow);
}
.hero-card h3 { color: #fff; margin-bottom: 8px; }
.hero-card p { color: #b7c4d0; margin: 0 0 18px; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(243, 228, 191, 0.28);
  color: var(--gold-soft);
  border-radius: 999px; padding: 6px 10px; font-size: 0.78rem; font-weight: 700;
}
.stars { color: var(--gold); letter-spacing: 1px; }

.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 28px; }

.trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trade {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 20px; display: flex; justify-content: space-between; align-items: center;
}
.trade:hover { border-color: var(--navy); }
.trade small { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--white); border-radius: 20px; padding: 24px; border: 1px solid var(--line); }
.num {
  width: 36px; height: 36px; border-radius: 10px; background: var(--gold-soft);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; color: var(--navy);
}
.step p { color: var(--muted); margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
}
.card-top {
  height: 168px;
  overflow: hidden;
}
.card-top img { width: 100%; height: 168px; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.meta { color: var(--muted); font-size: 0.92rem; margin: 4px 0 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.pill { background: var(--paper); border-radius: 999px; padding: 4px 10px; font-size: 0.78rem; font-weight: 650; }
.verified { background: var(--green-soft); color: var(--green); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.check-list { display: grid; gap: 10px; margin-top: 18px; }
.check-list li { list-style: none; padding-left: 28px; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;
}
.filters select, .filters input {
  border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 10px 12px;
}
.list { display: grid; gap: 12px; }
.row {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
}
.avatar {
  width: 72px; height: 72px; border-radius: 18px;
  overflow: hidden; background: var(--navy);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.row h3 { margin-bottom: 2px; }
.price { text-align: right; }
.price strong { display: block; font-family: var(--serif); font-size: 1.6rem; }
.price span { color: var(--muted); font-size: 0.85rem; }

.profile-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; padding: 36px 0; }
.profile-aside {
  background: var(--white); border-radius: 22px; padding: 22px; border: 1px solid var(--line);
  position: sticky; top: 88px;
}
.profile-aside .avatar { width: 84px; height: 84px; }
.reviews { display: grid; gap: 12px; }
.review { background: var(--white); border-radius: 16px; padding: 16px 18px; border: 1px solid var(--line); }
.review header { display: flex; justify-content: space-between; margin-bottom: 6px; }

.form {
  background: var(--white); border-radius: 22px; padding: 24px;
  border: 1px solid var(--line); display: grid; gap: 12px;
}
.form[hidden] { display: none !important; }
.form label { font-size: 0.86rem; font-weight: 700; display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--paper);
}
.note { color: var(--muted); font-size: 0.92rem; }
.success {
  display: none; background: var(--green-soft); color: var(--green);
  border-radius: 14px; padding: 14px 16px; font-weight: 700;
}
.success.show { display: block; }

.faq details {
  background: var(--white); border-radius: 14px; padding: 14px 18px;
  border: 1px solid var(--line); margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; color: var(--muted); }

.footer {
  background: var(--navy); color: #d5dee6; padding: 48px 0 24px; margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.callout {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px;
}
.callout h2 { font-size: 1.8rem; margin: 6px 0 12px; }
.callout.ok { border-color: #9cc9b0; background: var(--green-soft); }
.callout.no { background: #f8e2dc; border-color: #e4b4a8; }
.callout.no .check-list li::before { content: "×"; color: #8c2f1f; }
.callout .check-list { margin-top: 10px; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.rate-table th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rate-table tbody tr:last-child td { border-bottom: 0; }
.rate-table a:hover { color: var(--gold); }
.rate-cell { white-space: nowrap; }
.rate-cell .rate { display: block; font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.rate-cell .meta { display: block; margin-top: 4px; }
.share-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding: 18px 0 8px; border-top: 1px solid var(--line);
}
.share-bar .eyebrow { margin-right: 6px; }
.footer a { color: #adc0d0; }
.copyright { margin-top: 28px; opacity: 0.7; font-size: 0.88rem; }
.copyright a { color: #f3e4bf; text-decoration: underline; text-underline-offset: 3px; }
.copyright a:hover { color: #fff; }

.empty { background: var(--white); border-radius: 16px; padding: 28px; color: var(--muted); border: 1px dashed var(--line); }

.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 70px); }
.admin-side {
  background: var(--navy); color: #d7e2eb; padding: 28px 18px;
}
.admin-side a { display: block; padding: 10px 12px; border-radius: 10px; color: #c5d3de; }
.admin-side a.on, .admin-side a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-main { padding: 32px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.admin-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; padding: 22px;
}
.admin-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.leden-form { display: grid; grid-template-columns: 1.2fr 1.4fr 0.9fr 0.5fr auto; gap: 10px; align-items: end; margin: 14px 0; }
.leden-form label { margin: 0; }
.leden-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.leden-actions button { padding: 6px 10px; font-size: 0.82rem; }
@media (max-width: 900px) {
  .leden-form { grid-template-columns: 1fr; }
}
.status {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 5px 10px; font-size: 0.82rem; font-weight: 700;
  background: var(--paper); margin: 10px 0 16px;
}
.status.ok { background: var(--green-soft); color: var(--green); }
.status.off { color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.flash {
  display: none; margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 0.92rem;
}
.flash.show { display: block; }
.flash.ok { background: var(--green-soft); color: var(--green); }
.flash.err { background: #f8e2dc; color: #8c2f1f; }
.lookup { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.lookup-result {
  margin-top: 12px; background: var(--paper); border-radius: 12px; padding: 12px 14px;
  font-size: 0.92rem; white-space: pre-wrap; display: none;
}
.lookup-result.show { display: block; }
.checkboxes { display: flex; flex-wrap: wrap; gap: 10px 16px; font-weight: 600; font-size: 0.9rem; }
.checkboxes label { display: flex; align-items: center; gap: 6px; font-weight: 650; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.stat strong { display: block; font-family: var(--serif); font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: 0.88rem; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  display: grid; gap: 0; min-height: 0; overflow: hidden;
}
.cat img { width: 100%; height: 120px; object-fit: cover; }
.cat-copy { padding: 14px 16px; display: grid; gap: 6px; }
.cat-banner {
  width: 100%; height: 240px; object-fit: cover; border-radius: 20px;
  margin: 16px 0 8px; display: block;
}
.cat:hover { border-color: var(--navy); }
.cat small { color: var(--muted); }
.article { max-width: 720px; }
.article h1 { margin-bottom: 8px; }
.article h2 { font-size: 1.55rem; margin-top: 28px; }
.article p { margin-top: 14px; color: var(--ink); }
.article .check-list { margin-top: 12px; }
.article .btn { margin-right: 8px; }
#advies-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.qa { display: grid; gap: 12px; }
.qa-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.qa-item .qa-thumb {
  width: 100%; height: 140px; object-fit: cover; border-radius: 12px; margin-bottom: 10px;
}
.wizard { counter-reset: step; display: grid; gap: 16px; }
.wizard-step { display: none; }
.wizard-step.on { display: grid; gap: 12px; }
.progress { display: flex; gap: 8px; margin-bottom: 18px; }
.progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.progress span.on { background: var(--gold); }
.job { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.chat { display: grid; gap: 10px; max-width: 720px; }
.bubble { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.bubble.me { background: var(--navy); color: #eef3f7; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery figure { margin: 0; position: relative; }
.gallery img {
  width: 100%; height: 110px; object-fit: cover; border-radius: 12px; display: block;
}
.gallery figcaption {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  color: #fff; font-size: 0.75rem; font-weight: 700;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.menu-btn { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.footer-wide { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.foto-field.dropzone, .dropzone {
  border: 1.5px dashed rgba(18, 38, 58, 0.28);
  border-radius: 14px;
  padding: 12px;
  background: #faf7f1;
}
.foto-field.dropzone.is-over, .dropzone.is-over {
  border-color: var(--gold, #b07d12);
  background: #f3e4bf;
}
.foto-field > span { font-weight: 650; }
.foto-field small { color: var(--muted); font-weight: 500; }
.foto-actions { display: flex; gap: 8px; }
.foto-status { min-height: 1.2em; color: var(--muted); font-size: 0.9rem; }
.foto-grid, .klus-fotos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.foto-grid figure { position: relative; margin: 0; }
.foto-grid img, .klus-fotos img {
  width: 100%; height: 110px; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line); background: var(--navy);
}
.foto-grid button {
  position: absolute; top: 6px; right: 6px;
  width: 28px; height: 28px; border: 0; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.auth { max-width: 440px; margin: 40px auto; }
.form label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}
.app-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.app-store-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.app-store-card h2 { margin: 8px 0 10px; }
.app-store-card p { color: var(--muted); margin-bottom: 16px; }
.app-status { min-height: 1.4em; margin-top: 12px; font-size: 0.95rem; color: var(--navy); }
.apple-steps { margin: 8px 0 0 18px; color: var(--ink); display: grid; gap: 8px; }
.app-stores + .faq { max-width: 46rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.bv-chat { position: relative; z-index: 80; }
.bv-chat-launch {
  position: fixed; right: 18px; bottom: 18px;
  background: var(--navy); color: var(--gold-soft);
  border: 0; border-radius: 999px; padding: 12px 18px;
  font-weight: 750; cursor: pointer; box-shadow: var(--shadow);
}
.bv-chat-launch:hover { transform: translateY(-1px); }
.bv-chat-panel[hidden] { display: none !important; }
.bv-chat-panel {
  position: fixed; right: 18px; bottom: 18px;
  width: min(400px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 24px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
}
.bv-chat-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 16px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.bv-chat-head strong { display: block; font-size: 0.95rem; margin-top: 2px; }
.bv-chat-x {
  border: 0; background: transparent; font-size: 1.6rem; line-height: 1;
  cursor: pointer; color: var(--muted); padding: 0 4px;
}
.bv-chat-log { overflow: auto; padding: 14px; display: grid; gap: 10px; align-content: start; }
.bv-chat-msg { border-radius: 14px; padding: 10px 12px; font-size: 0.92rem; }
.bv-chat-msg.bot { background: var(--paper); }
.bv-chat-msg.you { background: var(--navy); color: var(--white); margin-left: 28px; }
.bv-chat-msg ul { margin: 8px 0 0 18px; }
.bv-chat-msg p + p, .bv-chat-msg p + ul { margin-top: 8px; }
.bv-chat-links { display: grid; gap: 6px; margin-top: 10px; }
.bv-chat-links a { color: var(--gold); font-weight: 700; text-decoration: underline; }
.bv-chat-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bv-chat-cta .btn { padding: 8px 12px; font-size: 0.85rem; }
.bv-chat-note { margin-top: 10px; color: var(--muted); font-size: 0.82rem; }
.bv-chat-msg.you .bv-chat-note { color: rgba(255,255,255,0.75); }
.bv-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.bv-chat-chips button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 6px 10px; font-size: 0.78rem; font-weight: 650; cursor: pointer;
}
.bv-chat-form {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 12px; border-top: 1px solid var(--line); background: var(--white);
}
.bv-chat-form input {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper);
}
.bv-chat-form .btn { padding: 10px 14px; }

.footer-cookie {
  border: 0; background: none; padding: 0; margin-top: 4px;
  font: inherit; color: inherit; cursor: pointer; text-decoration: underline;
}
.bv-cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
  max-width: 920px; margin: 0 auto;
  background: var(--navy); color: #e8eef4;
  border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(10, 18, 24, .35);
}
.bv-cookie-inner {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
}
.bv-cookie p { margin: 0; font-size: .92rem; line-height: 1.45; color: #c5d0d8; }
.bv-cookie p + p { margin-top: 6px; }
.bv-cookie a { color: var(--gold-soft); text-decoration: underline; }
.bv-cookie .btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.bv-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
body.has-cookiebar .bv-chat-launch,
body.has-cookiebar .bv-chat-panel { bottom: 118px; }
@media (max-width: 700px) {
  .bv-cookie-inner { flex-direction: column; align-items: stretch; }
  .bv-cookie-actions { justify-content: flex-end; }
  body.has-cookiebar .bv-chat-launch,
  body.has-cookiebar .bv-chat-panel { bottom: 168px; }
}

@media (max-width: 860px) {
  .nav-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav-cta { padding-left: 0; border-left: 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: grid; position: absolute; top: 100%; left: 0; right: 0;
    z-index: 30;
    background: var(--paper); padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 12px;
  }
  .nav-links.open .nav-extra { display: block; }
  .nav-links.open .nav-logout-mobile {
    border: 0; background: none; padding: 0;
    font: inherit; color: inherit; text-align: left; cursor: pointer;
  }
  .menu-btn { display: inline-flex; }
  .nav-account, .nav-logout, .nav-login { display: none; }
  .nav-cta .btn-navy { padding: 10px 14px; }
  .admin-shell, .admin-grid { grid-template-columns: 1fr; }
}

@media (display-mode: standalone) {
  html { font-size: 17px; }
  .nav { padding-top: env(safe-area-inset-top, 0px); }
  body { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .wrap { width: min(1120px, calc(100% - 24px)); }
  h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
  .btn { min-height: 46px; }
}
