:root {
  color-scheme: light;
  --ink: #18322e;
  --muted: #5d716b;
  --teal: #08766a;
  --teal-dark: #05594f;
  --line: #dce9e5;
  --paper: #f4f9f7;
  font-family: system-ui, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, input, textarea, select {
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); padding: 10px 13px;
}
button { cursor: pointer; }
button:hover { border-color: var(--teal); }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.primary, .outbound {
  border: 1px solid var(--teal-dark); border-radius: 9px; background: var(--teal-dark); color: #fff;
  padding: 10px 15px; font-weight: 650; display: inline-block;
}
.primary:hover, .outbound:hover { background: var(--teal); }
.brand { font-size: 25px; font-weight: 850; letter-spacing: -1.4px; white-space: nowrap; }
.brand span { color: var(--teal); margin-left: 3px; }
.kicker { color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.035em; }
h1 { margin-bottom: 0; font-size: clamp(26px, 4vw, 38px); }
h2 { margin-bottom: 0; font-size: clamp(24px, 3vw, 34px); }
p { line-height: 1.65; color: var(--muted); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 19px; }
.workspace { min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
aside { background: #fff; border-right: 1px solid var(--line); padding: 25px 17px; }
aside > .brand { display: block; margin-bottom: 34px; }
aside small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; display: block; padding: 9px; }
aside nav { display: grid; gap: 5px; margin-bottom: 25px; }
aside nav button, .sidebar-link { display: block; padding: 10px; background: none; border: 0; text-align: left; font-size: 14px; }
aside nav button[aria-current=true] { background: #e1f5ed; color: var(--teal-dark); font-weight: 750; }
.sidebar-link { color: var(--muted); }
.admin-main { padding: 30px clamp(16px, 3vw, 44px); min-width: 0; }
.toolbar { display: flex; gap: 9px; margin: 18px 0; flex-wrap: wrap; }
.toolbar input { min-width: 200px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 13px; background: white; }
table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: #edf6f3; white-space: nowrap; }
td:first-child { font-weight: 650; min-width: 160px; }
tr:last-child td { border-bottom: 0; }
.actions { white-space: nowrap; }
.actions button { padding: 5px 8px; margin-right: 4px; font-size: 12px; }
.danger { color: #a02b36; }
.pill { padding: 4px 8px; border-radius: 14px; background: #eef0f1; white-space: nowrap; }
.pill.good { background: #dff7eb; color: #14623b; }
.thumb { width: 45px; height: 38px; object-fit: contain; }
.pagination { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; }
.login { max-width: 420px; margin: 10vh auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.login h1 { margin: 16px 0; font-size: 27px; }
.login form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 650; min-width: 0; }
input, textarea, select { max-width: 100%; min-width: 0; }
dialog { color: var(--ink); border: 0; border-radius: 16px; width: min(700px, 94vw); max-height: 90vh; padding: 24px; box-shadow: 0 14px 70px #09292255; }
dialog::backdrop { background: #10372c75; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.fields .wide { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: center; }
.checkbox input { accent-color: var(--teal); }
#form-error { color: #a02b36; margin: 14px 0; }
.notice { position: fixed; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 8px; background: #173d35; color: #fff; max-width: 90vw; }
.shell { width: min(1180px, calc(100% - 42px)); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.site-header nav, footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 650; }
.header-link { color: var(--teal-dark); font-size: 14px; font-weight: 750; }
.public { background: #fff; }
.public main section { margin: 55px 0; scroll-margin-top: 25px; }
.public main .hero { margin-top: 25px; padding: clamp(25px, 6vw, 75px); border-radius: 24px; background: #eaf7f1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: center; }
.hero h1 { font-size: clamp(40px, 7vw, 80px); line-height: 1.04; margin: 15px 0; }
.hero em { color: var(--teal); font-style: normal; }
.hero p { max-width: 410px; }
.hero-mark { background: #0e5b4f; color: #d3f4c4; border-radius: 22px; padding: 24px; text-align: center; }
.hero-mark div { font-size: clamp(80px, 16vw, 215px); line-height: 1; }
.hero-mark small { letter-spacing: .22em; font-weight: 750; }
.search-bar { display: flex; gap: 8px; max-width: 475px; }
.search-bar input { flex: 1; }
.categories { display: flex; gap: 9px; flex-wrap: wrap; }
.categories button[aria-pressed=true] { background: #dff5eb; border-color: #8abdaf; color: #075247; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: white; min-width: 0; }
.card img { width: 100%; aspect-ratio: 1.8; object-fit: cover; background: var(--paper); }
.card.stores img { object-fit: contain; padding: 15px; max-height: 110px; }
.card-body { padding: 18px; overflow-wrap: anywhere; }
.card h3 { margin: 9px 0; }
.card p { font-size: 14px; }
.card button, .card .outbound { margin-right: 8px; margin-top: 5px; font-size: 13px; }
.text-button { border: none; background: transparent; color: var(--teal-dark); padding-left: 0; font-weight: 700; }
.empty { color: var(--muted); padding: 15px; font-weight: 400; }
.price { font-weight: 750; }
.price del { margin-left: 10px; color: var(--muted); font-weight: 400; }
.paragraph { white-space: pre-wrap; overflow-wrap: anywhere; }
footer { background: var(--paper); padding: 26px 0; border-top: 1px solid var(--line); }
footer p { margin: 9px 0; }
@media (max-width: 740px) {
  .workspace { grid-template-columns: 1fr; }
  aside { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; }
  aside > .brand { margin-bottom: 6px; }
  aside nav { display: flex; flex-wrap: wrap; margin-bottom: 5px; }
  aside nav small, aside > small { display: none; }
  .sidebar-link { display: inline-block; }
  .site-header .shell { flex-wrap: wrap; padding-block: 12px; }
  .site-header nav { order: 3; width: 100%; }
  .public main .hero { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login { margin-inline: 12px; }
}
@media (max-width: 480px) { .cards, .fields { grid-template-columns: 1fr; } }

.public .site-header .shell { min-height: 66px; }
.public .site-header nav { color: var(--muted); gap: clamp(14px, 3vw, 32px); }
.public .site-header nav a:hover { color: var(--teal-dark); }
.public main .hero {
  display: block;
  text-align: center;
  padding: clamp(42px, 8vw, 96px) clamp(18px, 4vw, 48px);
  background: radial-gradient(ellipse at 50% 100%, #d9f3e7, #f0f9f5 72%);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.public .hero h1 { font-size: clamp(32px, 6vw, 68px); margin: 0 0 24px; }
.public .search-bar {
  max-width: 560px;
  margin-inline: auto;
  padding: 5px;
  align-items: center;
  border: 1px solid #c3ddd4;
  border-radius: 13px;
  background: white;
}
.public .search-bar svg { width: 20px; height: 20px; margin-left: 10px; color: var(--muted); flex: none; }
.public .search-bar input { border: 0; background: transparent; padding-inline: 4px; }
.public .search-bar button { flex: none; }
.public main #explore { margin: 18px 0 32px; }
.public .categories { justify-content: center; }
.public .categories button { border-radius: 99px; padding: 7px 15px; font-size: 14px; }
.public .browse-empty {
  display: grid;
  justify-items: center;
  padding: 32px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.public .browse-empty p { margin: 0; }
.public .browse-empty button { margin-top: 12px; }
.public .card-body > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.public footer p { font-size: 13px; }

.public { background: #f5f8f7; }
.public .site-header .shell { justify-content: center; }
.public .site-header .brand { display: inline-flex; align-items: center; }
.public .site-header .brand svg { width: 30px; height: 27px; margin-right: 8px; }
.public .directory .hero { padding: 0; background: none; border: 0; margin: 23px 0 22px; }
.public .directory .search-bar { max-width: 720px; }
.public .directory section { margin: 25px 0; }
.public .directory h2 { font-size: 20px; margin: 0 0 12px; }
.public .directory .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.public .directory .card { border-radius: 9px; display: flex; flex-direction: column; }
.public .directory .card img { aspect-ratio: 4 / 3; }
.public .directory .card-body { padding: 10px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.public .directory .card h3 { font-size: 14px; margin: 5px 0 8px; }
.public .directory .card p { margin: 0 0 8px; font-size: 12px; }
.public .directory .card .kicker { font-size: 10px; letter-spacing: .02em; }
.public .directory .sample-badge { font-size: 11px; color: var(--muted); margin-top: auto; }
.public .directory .sample-note { font-size: 12px; margin: 0; }
.public .directory #explore { margin: 28px 0; }
.public .directory .categories { justify-content: flex-start; }
.public .directory .categories button { border-radius: 6px; padding: 6px 10px; }
.public .store-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(106px, 1fr); gap: 12px; overflow-x: auto; padding: 3px 3px 9px; }
.public .store-tile { display: grid; justify-items: center; gap: 8px; padding: 10px 6px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.public .store-mark { width: 63px; height: 58px; display: grid; place-items: center; border-radius: 8px; background: #e5f4ef; color: var(--teal-dark); font-size: 20px; font-weight: 800; }
.public .store-mark img { width: 100%; height: 100%; object-fit: contain; }
.public .store-name { text-align: center; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.public footer { background: #0d4238; color: #fff; }
.public footer p, .public footer .brand span, .public footer .text-button { color: #d1eee4; }
@media (max-width: 1000px) {
  .public .directory .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .public .directory .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .public .shell { width: calc(100% - 28px); }
  .public .search-bar svg { display: none; }
  .public .search-bar input { font-size: 13px; padding-left: 6px; }
  .public .search-bar button { padding-inline: 9px; }
}
