:root {
  --paper: #fbf7f0; --card: #fff; --ink: #1f1b16; --ink-2: #4a443b; --muted: #776f63; --line: #e8e0d3; --soft: #f4eee3;
  --accent: #c2531b; --accent-2: #a8440f; --accent-soft: #fbe8da; --leaf: #3d5c39; --leaf-soft: #e6eee1; --gold: #e2a42c; --bad: #a3271d;
  --display: "Fraunces", Georgia, "Times New Roman", serif; --ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --shadow: 0 1px 2px rgba(31,27,22,.05), 0 6px 24px -12px rgba(31,27,22,.18);
  font-size: 17px; color-scheme: light;
}
:root.simple { font-size: 21px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent-2); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 520; letter-spacing: -.015em; line-height: 1.12; margin: 0 0 .5rem; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 .8rem; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrowish { max-width: 820px; }
main { flex: 1; width: 100%; padding-bottom: 4rem; }
.eyebrow { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); margin: 0 0 .4rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.small, small { font-size: .86rem; }
.xl { font-size: 1.6rem; font-family: var(--display); }
.pre { white-space: pre-line; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
code { background: var(--soft); padding: .05em .35em; border-radius: 5px; font-size: .9em; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- header / footer ---------- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .5rem 2rem; padding: .7rem 20px;
  background: rgba(251,247,240,.88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 560; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand small { font-family: var(--ui); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .15rem .5rem; border-radius: 99px; background: var(--accent); color: #fff; }
.bar nav { display: flex; gap: 1.5rem; }
.bar nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.bar nav a:hover { color: var(--accent); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.bar-end form { margin: 0; }
.iconbtn { display: inline-flex; align-items: center; gap: .35rem; height: 40px; min-width: 40px; justify-content: center; padding: 0 .6rem; border-radius: 99px; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
.iconbtn:hover { background: var(--soft); }
.iconbtn svg, .cartpill svg { width: 22px; height: 22px; }
.iconbtn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cartpill { display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 .9rem; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.cartpill.has { background: var(--accent); border-color: var(--accent); color: #fff; }
.quiet { color: inherit; opacity: .85; text-decoration: none; font-weight: 500; }
@media (max-width: 900px) { .bar { flex-wrap: wrap; gap: .4rem 1rem; } .bar nav { order: 3; width: 100%; overflow-x: auto; gap: 1.1rem; padding-bottom: .1rem; } .bar nav a { white-space: nowrap; font-size: .95rem; } }
@media (max-width: 900px) { .bar nav { scrollbar-width: none; } .bar nav::-webkit-scrollbar { display: none; } }
@media (max-width: 1200px) { .admin .bar { flex-wrap: wrap; gap: .4rem 1rem; } .admin .bar nav { order: 3; width: 100%; overflow-x: auto; gap: 1.1rem; scrollbar-width: none; } .admin .bar nav a { white-space: nowrap; } }
@media (max-width: 520px) {
  .hide-sm, .print-btn { display: none; }
  .bar { padding: .55rem 14px; gap: .3rem .4rem; }
  .brand { font-size: 1.08rem; gap: .4rem; } .brand svg { width: 26px; height: 26px; }
  .bar-end { gap: .1rem; } .iconbtn { min-width: 36px; padding: 0 .4rem; } .cartpill { padding: 0 .75rem; }
  .wrap { padding: 0 14px; }
}

.foot { margin-top: 3rem; background: #201c17; color: #d8d0c3; padding: 3rem 0 2.5rem; }
.foot a { color: #f3c9a9; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2rem; }
.foot h2 { font-family: var(--ui); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #a89e8e; margin-bottom: .6rem; }
.foot-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--display); font-size: 1.35rem; color: #fff; }
.foot-brand svg { width: 28px; color: var(--gold); --paper: #201c17; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-credit { margin-top: 2rem; color: #a89e8e; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; padding: .5rem 1.15rem; border-radius: 99px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); border-color: #ecc8c3; }
.btn.lg { min-height: 50px; padding: .7rem 1.6rem; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn.search { font-weight: 800; letter-spacing: .06em; } /* the word SEARCH, bold, beside every search box */
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish.danger, .danger { color: var(--bad); }
input:not([type=checkbox]):not([type=file]):not([type=radio]), select, textarea {
  width: 100%; font: inherit; color: var(--ink); padding: .6rem .8rem; border: 1px solid var(--field-line, var(--line)); border-radius: 10px; background: var(--field-bg, var(--card)); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[readonly] { background: var(--soft); }
input[type=checkbox] { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
label > input, label > select, label > textarea { margin-top: .3rem; font-weight: 400; font-size: 1rem; }
label small { display: block; font-weight: 400; margin-top: .25rem; }
label.check { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: 1rem; color: var(--ink); }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; margin: 0; background: var(--card); display: grid; gap: 1rem; }
legend { font-family: var(--display); font-size: 1.15rem; padding: 0 .4rem; }
.hp { position: absolute; left: -9999px; }
form:has(#same:checked) .ship { display: none; }
.changed { --field-bg: #fff4e2; --field-line: #d9a043; }
.changed small { color: #8a5a10; }
.imported { --field-bg: #eff6eb; --field-line: #a9c99c; }

.row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.stack { display: grid; gap: 1rem; }
.stack > .btn:not(.block) { justify-self: start; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.35rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.panel > h2:first-child { font-size: 1.2rem; }
.alert { border-radius: 12px; padding: .8rem 1rem; margin: 0 0 1.25rem; background: var(--accent-soft); border: 1px solid #f2cfb4; }
.alert.ok { background: var(--leaf-soft); border-color: #c6d9bd; }
.alert.error { background: #fbecea; border-color: #efc8c3; color: var(--bad); }
.pagehead { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin: 2.2rem 0 1.25rem; }
.pagehead h1 { margin: 0; }
.empty-state { text-align: center; padding: 3.5rem 1rem; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: .75rem 1.2rem; border-radius: 99px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: .25s; z-index: 40; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- home ---------- */
.hero { padding: 3.5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 480; line-height: 1.02; margin-bottom: 1rem; font-variation-settings: "opsz" 144; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lede { margin-bottom: .7rem; }
.hero-count { margin: 0 0 1.6rem; color: var(--ink-2); font-size: 1rem; }
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 5 / 4; }
.mosaic a { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.mosaic .m0 { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic span { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 99px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } .hero { padding-top: 2.2rem; } }
.band { padding-top: 3rem; }
.band.soft { margin-top: 3rem; padding: 2.5rem 20px; background: var(--leaf-soft); border-radius: 24px; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.band-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 1rem; }
.tile { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s, opacity .3s; }
.tile:hover img { transform: scale(1.05); opacity: .7; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .8rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: .85rem; }
.tile strong { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 500; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-top: 4rem; align-items: start; }
.about p { font-size: 1.1rem; color: var(--ink-2); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.promises li { padding: 1rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); }
.promises strong { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 520; color: var(--ink); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- start ---------- */
.intro { padding-top: 2.5rem; }
.steps3 { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.steps3 li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; counter-increment: s; color: var(--ink-2); }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-weight: 700; margin-bottom: .6rem; }
.steps3 strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 520; color: var(--ink); }
@media (max-width: 700px) { .steps3 { grid-template-columns: 1fr; } }
.glossary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.25rem; }
.glossary summary { cursor: pointer; font-weight: 600; }
.glossary dt { font-weight: 700; margin-top: .9rem; }
.glossary dd { margin: .15rem 0 0; color: var(--ink-2); }

/* ---------- catalog ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .9rem; }
.chip { padding: .38rem .95rem; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); text-decoration: none; background: var(--card); font-size: .92rem; font-weight: 500; white-space: nowrap; transition: .15s; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 640px) { .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px .2rem; scrollbar-width: none; } }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: 1rem; }
.filters input[type=search] { flex: 1 1 280px; width: auto; border-radius: 99px; padding-left: 1.1rem; }
.filters select { width: auto; flex: 0 1 auto; border-radius: 99px; }
.count-line { margin: .25rem 0 1rem; font-size: .92rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 212px), 1fr)); gap: 16px; margin-top: 1rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ph { display: block; position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; overflow: hidden; width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.04); }
.ph.empty { cursor: pointer; background: linear-gradient(135deg, var(--soft), #efe6d7); }
.ph .count { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; font-weight: 600; padding: .05rem .5rem; border-radius: 99px; }
.flag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #3a2600; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .2rem .55rem; border-radius: 99px; pointer-events: none; }
.card-body { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .95rem .9rem; flex: 1; }
.card h3 { font-size: 1.12rem; margin: 0; line-height: 1.2; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent-2); }
.by { color: var(--muted); font-size: .86rem; margin: 0; }
.traits { font-size: .82rem; color: var(--ink-2); margin: .1rem 0 0; }
.card-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .6rem; margin-top: auto; padding-top: .65rem; }
.price { font-weight: 700; font-size: 1.05rem; }
.stock { font-size: .8rem; color: var(--leaf); font-weight: 600; }
.stock::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: .35rem; vertical-align: 1px; }
.stock.out { color: var(--muted); }
.add { margin-left: auto; min-height: 34px; padding: .2rem .9rem; border-radius: 99px; border: 1.5px solid var(--accent); background: transparent; color: var(--accent-2); font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; transition: .15s; }
.add:hover, .add.in { background: var(--accent); color: #fff; }

.viewer { border: 0; border-radius: 18px; padding: 1rem; max-width: min(960px, 94vw); max-height: 92dvh; overflow: auto; background: var(--card); }
.viewer::backdrop { background: rgba(20,16,12,.78); backdrop-filter: blur(3px); }
/* Every photo at full size, two side by side, so nothing needs tapping to see. */
.viewer .pair { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.viewer .pair img { display: block; flex: 1 1 260px; min-width: 0; max-height: 68vh; object-fit: contain; border-radius: 10px; }
.viewer form { text-align: right; margin: .5rem 0 0; }
/* The details that come up with an enlarged photo on All daylilies. */
.vinfo { margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.vinfo h2 { font-size: 1.5rem; margin: 0 0 .6rem; }
.vinfo p { margin: .5rem 0; }
.vinfo .specs { margin-bottom: .6rem; }
.vinfo form { text-align: left; }
.vinfo textarea { width: 100%; }

/* ---------- variety ---------- */
.crumbs { font-size: .9rem; color: var(--muted); margin: 1.8rem 0 1rem; }
.crumbs a { color: var(--muted); }
.v-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 860px) { .v-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.hero-ph { display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--soft); cursor: zoom-in; aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-ph.empty { display: grid; place-items: center; color: var(--muted); cursor: default; }
.thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button:hover { border-color: var(--accent); }
.thumbs img { width: 84px; height: 64px; object-fit: cover; display: block; }
.gallery .gnote { margin: 1rem 0 0; }
.v-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.3rem); margin-bottom: .25rem; }
.by.lg { font-size: 1.05rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .8rem 0; }
.tags a { font-size: .8rem; font-weight: 600; background: var(--soft); color: var(--ink-2); padding: .2rem .7rem; border-radius: 99px; text-decoration: none; }
.tags a:hover { background: var(--accent-soft); color: var(--accent-2); }
.v-desc { font-size: 1.12rem; color: var(--ink-2); }
.buybox { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; margin: 1.4rem 0; box-shadow: var(--shadow); }
.price.xl { font-family: var(--display); font-size: 2.2rem; font-weight: 500; }
.buybox .stock { margin-left: auto; }
.buy-row { display: flex; gap: .6rem; width: 100%; margin-top: .4rem; }
.buy-row input { width: 5.5rem !important; text-align: center; border-radius: 99px !important; }
.buy-row .btn { flex: 1; min-height: 48px; }
.buybox p { width: 100%; margin: .2rem 0 0; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; margin: 0 0 1.2rem; border-top: 1px solid var(--line); }
.specs div { padding: .7rem .2rem; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.specs dd { margin: .1rem 0 0; font-weight: 500; }

/* ---------- checkout / orders ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.co-items, .co-details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; box-shadow: var(--shadow); }
.co-details { display: grid; gap: .9rem; position: sticky; top: 84px; }
.co-details h2 { margin: 0; }
.cart { list-style: none; margin: 0; padding: 0; }
.cart li { display: grid; grid-template-columns: 72px 1fr 5rem auto; gap: .9rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cart li.gone { opacity: .4; }
.cart img, .noimg { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; display: block; background: var(--soft); }
.cart a { font-family: var(--display); font-size: 1.1rem; color: var(--ink); text-decoration: none; display: block; }
.cart .muted { font-size: .86rem; }
.cart input { text-align: center; }
@media (max-width: 520px) { .cart li { grid-template-columns: 56px 1fr 4.2rem; } .cart li .linkish { grid-column: 2; justify-self: start; } .cart img, .cart .noimg { width: 56px; height: 44px; } }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .5rem; font-size: 1.1rem; }
.sum strong { font-family: var(--display); font-size: 1.6rem; font-weight: 500; }
.code { margin-top: 1rem; border-top: 1px dashed var(--line); padding-top: .9rem; }
.code summary { cursor: pointer; font-weight: 600; color: var(--accent-2); }
.code label { margin-top: .6rem; max-width: 260px; }
.timeline { display: flex; list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; }
.timeline li { flex: 1; position: relative; text-align: center; padding-top: 1.9rem; font-size: .9rem; color: var(--muted); font-weight: 500; }
.timeline li::before { content: ""; position: absolute; top: .55rem; left: 0; right: 0; height: 3px; background: var(--line); }
.timeline li::after { content: ""; position: absolute; top: 0; left: 50%; width: 1.15rem; height: 1.15rem; margin-left: -.575rem; border-radius: 50%; background: var(--card); border: 3px solid var(--line); box-sizing: border-box; }
.timeline li.done, .timeline li.now { color: var(--ink); }
.timeline li.done::before, .timeline li.now::before { background: var(--leaf); }
.timeline li.done::after { background: var(--leaf); border-color: var(--leaf); }
.timeline li.now::after { border-color: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-soft); }
.timeline li.now { font-weight: 700; }
.pay { border-color: #f0c9a9; background: #fffaf5; }
.inv-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.lines tfoot td { font-weight: 600; }
.lines tr.grand td { font-family: var(--display); font-size: 1.3rem; font-weight: 500; border-bottom: 0; }
table.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: var(--shadow); }
table.list tbody tr:hover { background: #fdfaf5; }
table.list tr:last-child td { border-bottom: 0; }
.lines input, .lines select { min-width: 5rem; }
td.out { color: var(--bad); font-weight: 600; }
td.mini { width: 56px; padding: .35rem .6rem; }
td.mini img, td.mini .noimg { width: 46px; height: 36px; object-fit: cover; border-radius: 6px; display: block; }
.scroll { overflow-x: auto; }
@media (max-width: 700px) {
  table.list thead { display: none; }
  table.list, table.list tbody, table.list tr, table.list td { display: block; width: 100%; }
  table.list tr { border-bottom: 1px solid var(--line); padding: .5rem 0; }
  table.list td { border: 0; padding: .1rem .9rem; text-align: left; }
  td.mini { display: none !important; }
}
.orderlist { list-style: none; padding: 0; margin: 0; }
.orderlist li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; }
.orderlist a { text-decoration: none; color: var(--ink); }
.orderlist a span { display: block; font-size: .88rem; }
.badge { display: inline-block; font-family: var(--ui); font-size: .74rem; font-weight: 700; padding: .15rem .6rem; border-radius: 99px; background: var(--soft); color: var(--ink-2); vertical-align: middle; letter-spacing: .01em; }
.badge.submitted { background: #fdf0d3; color: #7a4d00; }
.badge.approved { background: #e5edfb; color: #1f4a8f; }
.badge.paid { background: var(--leaf-soft); color: var(--leaf); }
.badge.shipped { background: #ece8f6; color: #4b3c7a; }
.badge.declined, .badge.cancelled { background: #f7e3e0; color: var(--bad); }
.badge.test { background: var(--ink); color: var(--gold); }
.badge.muted { background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.auth { max-width: 460px; padding-top: 3rem; }
.auth h1 { margin-bottom: .3rem; }
.code-in { font: 600 1.9rem/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .32em; text-align: center; padding: .55rem .4rem; }

/* ---------- seller ---------- */
body.admin { background: #f6f3ee; }
.admin .bar { background: #201c17; border-color: #201c17; color: #f4ede2; }
.admin .brand { color: #fff; }
.admin .brand svg { color: var(--gold); --paper: #201c17; }
.admin .bar nav a { color: #d6cdbf; }
.admin .bar nav a:hover { color: #fff; }
.admin .bar .linkish { color: #f3c9a9; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 1.5rem; }
.tile-stat { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.15rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: .15s; }
.tile-stat:hover { border-color: var(--accent); }
.tile-stat strong { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 500; line-height: 1.1; }
.tile-stat span { font-weight: 600; color: var(--ink-2); }
.tile-stat small { display: block; color: var(--muted); margin-top: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { display: flex; gap: .2rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.tabs a { padding: .65rem .95rem; color: var(--muted); text-decoration: none; border-bottom: 2.5px solid transparent; white-space: nowrap; font-weight: 500; }
.tabs a.on { color: var(--ink); border-color: var(--accent); font-weight: 700; }
.tabs span { background: var(--soft); border-radius: 99px; padding: 0 .5rem; font-size: .8rem; margin-left: .2rem; }
.picklist { list-style: none; padding: 0; margin: .5rem 0; }
.picklist li { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.photos { display: flex; flex-wrap: wrap; gap: .9rem; }
.photos figure { margin: 0; text-align: center; }
.photos img { width: 150px; height: 112px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: .3rem; }
.photos figure.main img { outline: 3px solid var(--accent); outline-offset: 2px; }
.photos .is-main { display: block; color: var(--accent); font-size: .9rem; }
.inv.edit input:not([type=checkbox]) { max-width: 7.5rem; padding: .4rem .6rem; }
.setup ol { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .6rem; counter-reset: st; }
.setup li { counter-increment: st; }
.setup li a { display: grid; grid-template-columns: 2rem 1fr; gap: 0 .6rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); height: 100%; }
.setup li a::before { content: counter(st); grid-row: span 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--soft); color: var(--ink-2); font-weight: 700; }
.setup li a span { font-size: .84rem; color: var(--muted); }
.setup li.done a::before { content: "✓"; background: var(--leaf); color: #fff; }
.setup li.done strong { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.setup li.next a { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.setup li.next a::before { background: var(--accent); color: #fff; }
.inline-field { font-weight: 500; color: var(--ink-2); }
.inline-field input { display: inline-block; width: 4.5rem !important; margin: 0 .3rem; padding: .3rem .5rem !important; }
.tiers input { max-width: 9rem; }
.tally { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.tally strong { display: inline-block; min-width: 3rem; font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.sticky-save { position: sticky; bottom: 0; background: linear-gradient(transparent, #f6f3ee 35%); padding: 1.2rem 0 .8rem; }
.meter { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: .6rem 0; }
.meter span { display: block; height: 100%; width: 100%; background: var(--leaf); border-radius: 99px; transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .3s; }
.progress ul { max-height: 220px; overflow: auto; padding-left: 1.1rem; }

/* photo walk (built for a phone in the garden) */
.walk { list-style: none; padding: 0; margin: 0; }
.walk-bed { position: sticky; top: 64px; z-index: 2; background: #f6f3ee; padding: .9rem 0 .4rem; font-family: var(--display); font-size: 1.2rem; }
.walk-row { display: grid; grid-template-columns: 64px 1fr auto; gap: .5rem .75rem; align-items: center; padding: .6rem .7rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .5rem; }
.walk-row.done { border-color: #b9d4b0; background: #f7fbf5; }
.wthumb { width: 64px; height: 50px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.wthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wname a { display: block; font-weight: 600; color: var(--ink); text-decoration: none; }
.walk-row label.btn { min-height: 44px; }
.walk-row label.busy { opacity: .5; pointer-events: none; }
@media (max-width: 560px) { .walk-row { grid-template-columns: 56px 1fr; } .walk-row label.btn { grid-column: 1 / -1; } }
/* dig list + packing */
.dig .bed td { background: var(--soft); font-family: var(--display); font-size: 1.1rem; padding-top: .8rem; }
.dig .ck { width: 2.2rem; }
h2.page-break { margin-top: 2.2rem; }
.pack { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.pack ul { margin: .3rem 0; padding-left: 1.1rem; }
.edit-lines summary { cursor: pointer; font-weight: 600; color: var(--accent-2); }
.edit-lines[open] summary { margin-bottom: .8rem; }
.waitform { width: 100%; display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; margin-top: .6rem; }
.waitform label { flex: 1 1 220px; }

/* ---------- welcome (dusk): her own flowers drifting behind three big, calm steps ---------- */
body.bare { min-height: 100vh; min-height: 100dvh; }
body.dusk { --dusk: #16201a; --cream: #f6efe2; --cream-2: #d9d0c0; --apricot: #f2a65a; --apricot-2: #f8c58f;
  --ink: var(--cream); --field-bg: rgba(246,239,226,.07); --field-line: rgba(246,239,226,.3);
  background: var(--dusk); color: var(--cream); overflow-x: hidden; }
.dusk ::selection { background: var(--apricot); color: #1b140c; }
.dusk input { caret-color: var(--apricot); }
.wall { position: fixed; inset: -6vh -8vw; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; transform: rotate(-5deg); pointer-events: none; }
.wall-col { overflow: hidden; }
.wall-track { animation: drift 110s linear infinite; will-change: transform; }
.wall-col.c1 .wall-track, .wall-col.c3 .wall-track { animation-direction: reverse; animation-duration: 135s; }
.wall-col.c2 .wall-track { animation-duration: 95s; }
.wall img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }
@keyframes drift { to { transform: translateY(-50%); } }
.veil { position: fixed; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(22,32,26,.2) 0%, rgba(22,32,26,.55) 22%, rgba(22,32,26,.93) 42%, var(--dusk) 56%); }
.wflow { position: relative; z-index: 2; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 22px max(30px, env(safe-area-inset-bottom)); max-width: 560px; }
.wflow h1 { font-size: clamp(2.7rem, 10.5vw, 4.6rem); font-weight: 420; line-height: 1.02; letter-spacing: -0.025em; color: var(--cream); margin: 0 0 18px; text-wrap: balance; font-variation-settings: "opsz" 144; }
.wflow h1 em, .wflow h2 em { color: var(--apricot-2); font-style: normal; }
.wflow h2 { font-size: clamp(2rem, 7.6vw, 2.8rem); font-weight: 440; line-height: 1.08; color: var(--cream); margin: 0 0 20px; text-wrap: balance; }
.wflow h2 label { font: inherit; color: inherit; }
.wlede { font-size: 1.22rem; line-height: 1.5; color: var(--cream-2); max-width: 34ch; margin: 0 0 30px; }
.wflow .wbig, .wflow .wfield input { width: 100%; height: 64px; margin-top: 8px; padding: 0 18px; font-size: 1.28rem; color: var(--cream);
  border: 1.5px solid var(--field-line); border-radius: 14px; background: var(--field-bg); transition: border-color .2s, background .2s, box-shadow .2s; }
.wflow .wbig:focus, .wflow .wfield input:focus { border-color: var(--apricot); background: rgba(246,239,226,.11); box-shadow: 0 0 0 4px rgba(242,166,90,.22); }
.wflow ::placeholder { color: rgba(246,239,226,.6); }
.wfield { display: block; margin: 0 0 18px; font-size: 1.05rem; font-weight: 600; color: var(--cream-2); }
.pw { position: relative; display: block; }
.pw input { padding-right: 84px !important; }
.wshow { position: absolute; right: 8px; top: 16px; height: 48px; padding: 0 16px; border-radius: 10px; border: 0; background: rgba(246,239,226,.1); color: var(--cream); font: 600 1rem var(--ui); cursor: pointer; }
.sign-label { margin: 22px 0 6px; font-size: 1rem; color: var(--cream-2); }
.sign { margin: 0 0 28px; padding: 16px 0; border-block: 1px solid rgba(242,166,90,.35); font-family: var(--display); font-size: clamp(1.9rem, 7vw, 2.6rem); font-weight: 460;
  line-height: 1.1; letter-spacing: -0.015em; color: var(--apricot-2); text-align: center; overflow-wrap: anywhere; }
.wbtn { min-height: 62px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--apricot); color: #1b140c; font: 700 1.18rem var(--ui); cursor: pointer;
  box-shadow: 0 12px 26px -14px rgba(0,0,0,.65); transition: background .2s, transform .15s; }
.wbtn:hover { background: var(--apricot-2); }
.wbtn:active { transform: scale(.98); }
.wbtn:disabled { background: transparent; color: var(--apricot-2); border: 1.5px dashed var(--apricot); box-shadow: none; cursor: not-allowed; }
.wback { min-height: 62px; padding: 0 22px; border-radius: 999px; border: 1.5px solid rgba(246,239,226,.3); background: transparent; color: var(--cream); font: 600 1.08rem var(--ui); cursor: pointer; }
.wrow { display: flex; gap: 12px; }
.wrow .wbtn { flex: 1; }
.wstep > .wbtn { width: 100%; }
.dusk :focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.wfine { font-size: 1rem; color: var(--cream-2); margin: -6px 0 22px; }
.werr { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: rgba(214,96,74,.16); border: 1px solid rgba(240,140,118,.5); color: #ffe0d6; font-size: 1.05rem; }
.wdots { display: none; list-style: none; gap: 8px; padding: 0; margin: 30px 0 0; }
.wflow.js .wdots { display: flex; }
.wdots li { width: 30px; height: 4px; border-radius: 4px; background: rgba(246,239,226,.2); transition: background .4s; }
.wdots li.on { background: var(--apricot); }
.wflow.js .wstep[hidden] { display: none; }
.wflow.js .wstep.enter { animation: rise .75s cubic-bezier(.16,1,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
.wflow:not(.js) .wstep + .wstep { margin-top: 44px; }
.wflow.solo h1 { margin-bottom: 26px; }
.wflow.solo .wbtn { width: 100%; margin-bottom: 18px; }
.wpreview { position: fixed; z-index: 5; top: 0; left: 0; right: 0; margin: 0; padding: 10px 16px; background: var(--apricot); color: #1b140c; font-weight: 600; text-align: center; }
@media (max-width: 640px) { .wall { grid-template-columns: repeat(3, 1fr); } .wall-col.c3, .wall-col.c4 { display: none; } }
@media (min-width: 900px) {
  .wflow { margin-left: auto; width: min(600px, 48vw); justify-content: center; padding: 8vh 64px; }
  .wflow h1 { font-size: clamp(2.8rem, 4.6vw, 4.3rem); }
  .veil { background: linear-gradient(90deg, rgba(22,32,26,.12) 0%, rgba(22,32,26,.5) 34%, rgba(22,32,26,.96) 48%, var(--dusk) 56%); }
}

/* ---------- reveal (paper): her collection blooming in ---------- */
body.paper { background: var(--paper); }
.reveal { max-width: 1120px; margin: 0 auto; padding: clamp(44px, 9vh, 104px) 22px 64px; }
.reveal h1 { font-size: clamp(2.7rem, 9vw, 5.2rem); font-weight: 430; line-height: 1.02; letter-spacing: -0.025em; max-width: 15ch; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 144; }
.reveal .shopname { color: var(--accent); }
.reveal-line { margin: 22px 0 0; max-width: 44ch; font-size: clamp(1.22rem, 3.8vw, 1.55rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.reveal-line a { color: inherit; text-decoration-color: rgba(194,83,27,.4); }
.reveal-line em { font-family: var(--display); font-style: italic; }
.bloomgrid { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(31%, 160px), 1fr)); gap: 10px; }
.bloomgrid li { animation: bloom 1s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 55ms + 300ms); }
@keyframes bloom { from { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(10px); } }
.bloomgrid a { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--soft);
  box-shadow: 0 2px 4px rgba(31,27,22,.06), 0 12px 28px -16px rgba(31,27,22,.4); }
.bloomgrid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.bloomgrid a:hover img { transform: scale(1.05); }
.bloomgrid a::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16,12,8,.72)); }
.bloomgrid span { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 9px; font-size: .9rem; font-weight: 600; line-height: 1.2; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reveal-actions { display: flex; flex-wrap: wrap; gap: 12px; max-width: 640px; }
.reveal-actions .btn { flex: 1 1 230px; min-height: 60px; font-size: 1.12rem; }
.reveal-note { margin: 20px 0 0; max-width: 50ch; font-size: 1.08rem; color: var(--muted); }
@media (max-width: 640px) { .bloomgrid { grid-template-columns: repeat(2, 1fr); } .bloomgrid li:nth-child(n+9) { display: none; } }
@media (prefers-reduced-motion: reduce) { .wall-track, .wflow.js .wstep.enter, .bloomgrid li { animation: none; } }

/* ---------- adding plants by hand ---------- */
.adder-page, .tend { max-width: 760px; font-size: 1.08rem; }
.adder-page h1, .tend h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-top: 1.6rem; }
.adder { position: relative; margin: 1.2rem 0 .6rem; }
.adder input[type=search] { height: 64px; font-size: 1.3rem; padding: 0 20px; border-radius: 16px; border-width: 1.5px; }
.sugg { list-style: none; margin: .5rem 0 0; padding: 0; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 4px rgba(31,27,22,.05), 0 16px 36px -18px rgba(31,27,22,.35); }
.sugg:empty { display: none; }
.sugg-hint { padding: .8rem 1.1rem .2rem; font-weight: 700; color: var(--accent-2); }
.sugg-row { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .7rem 1rem; cursor: pointer; border-top: 1px solid var(--line); min-height: 76px; }
.sugg-row:first-child, .sugg-hint + .sugg-row { border-top: 0; }
.sugg-row:hover, .sugg-row.on { background: #fdf6ee; }
.sugg-row.busy { opacity: .5; pointer-events: none; }
.sugg-ph { width: 64px; height: 50px; border-radius: 10px; overflow: hidden; background: var(--soft); display: grid; place-items: center; }
.sugg-ph img { width: 100%; height: 100%; object-fit: cover; }
.sugg-ph.plus { font-size: 1.8rem; color: var(--accent); font-weight: 300; }
.sugg-text { display: grid; gap: .05rem; min-width: 0; }
.sugg-text strong { font-family: var(--display); font-weight: 520; font-size: 1.22rem; line-height: 1.2; }
.sugg-by { color: var(--ink-2); font-size: .95rem; }
.sugg-desc { color: var(--muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-act { font-weight: 700; color: var(--accent-2); padding: .4rem .9rem; border: 1.5px solid var(--accent); border-radius: 99px; font-size: .95rem; }
.sugg-row.have .sugg-act { border-color: var(--line); color: var(--muted); }
.sugg-row.own .sugg-text strong { font-family: var(--ui); font-weight: 700; font-size: 1.05rem; }
@media (max-width: 560px) { .sugg-row { grid-template-columns: 52px 1fr; } .sugg-ph { width: 52px; height: 44px; } .sugg-act { display: none; } }
.paste { margin: 1.2rem 0; padding: .9rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.paste summary { cursor: pointer; font-weight: 600; color: var(--accent-2); }
.paste form { margin-top: .9rem; }
.mine-head { margin-top: 2rem; display: flex; align-items: baseline; gap: .6rem; }
.mine-head .muted { font-family: var(--ui); font-size: 1rem; }
.mine { list-style: none; padding: 0; margin: 0; }
.mine li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.mine li.fresh { animation: arrive .8s cubic-bezier(.16,1,.3,1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(-8px); background: #fdf0e3; } }
.adder-done { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1rem; }
.adder-done .btn { flex: 1 1 260px; min-height: 58px; font-size: 1.08rem; }
.pastelist { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.pastelist li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; display: grid; gap: .45rem; }
.pastelist li.check { border-color: #f0c9a9; }
.pl-line { margin: 0 0 .2rem; font-weight: 700; font-size: 1.1rem; }
.pastelist label.check { align-items: flex-start; font-size: 1.02rem; min-height: 40px; }
.pastelist label.check input { margin-top: .25rem; }
/* tending one plant at a time */
.tend-head { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; margin-top: 1.4rem; }
.tend-head img, .tend-head .noimg { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; display: block; }
.tend-head h1 { margin: 0 0 .2rem; }
.tend-left { margin: 1rem 0 1.4rem; color: var(--ink-2); }
.tend-form { display: grid; gap: 1.1rem; }
.tend-form .q { gap: .7rem; border: 0; padding: 0; background: none; }
.tend-form legend { font-family: var(--display); font-size: 1.4rem; font-weight: 520; padding: 0; margin-bottom: .6rem; }
.tend-form .q + .q { margin-top: .6rem; }
.stepper { display: flex; align-items: stretch; gap: 10px; max-width: 320px; }
.stepper button { width: 64px; height: 64px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); font-size: 2rem; line-height: 1; color: var(--ink); cursor: pointer; }
.stepper button:active { transform: scale(.96); }
.stepper input { height: 64px; text-align: center; font-size: 1.6rem !important; font-weight: 700; border-radius: 16px !important; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 56px; padding: 0 .5rem; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; text-align: center; cursor: pointer; background: var(--paper); }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2); }
.seg input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.money { display: flex; align-items: center; max-width: 240px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); padding-left: 18px; }
.money span { font-size: 1.6rem; font-weight: 700; color: var(--ink-2); }
.money input { border: 0 !important; box-shadow: none !important; height: 62px; font-size: 1.6rem !important; font-weight: 700; background: transparent !important; }
.money:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick button { min-height: 48px; min-width: 64px; padding: 0 1rem; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); font: 700 1.05rem var(--ui); color: var(--ink); cursor: pointer; }
.chips-pick button.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.tend-form input[name=location] { height: 58px; font-size: 1.15rem; }
.tend-photo { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.tp-img img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; display: block; }
label.check.big { font-size: 1.1rem; min-height: 48px; }
label.check.big input { width: 1.4rem; height: 1.4rem; }
.tend-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tend-actions .btn { flex: 1 1 220px; min-height: 62px; font-size: 1.12rem; }
.tend-stop { margin: 0 0 2rem; color: var(--muted); }

/* hardiness zones: ZIP check, notes on cards, the checkout heads-up */
.zipform { margin: 0 0 1rem; }
.zipform label { font-size: .95rem; }
.ziprow { display: flex; gap: 8px; margin-top: .35rem; max-width: 320px; }
.ziprow input { flex: 1; min-width: 0; }
.zipout { margin: .35rem 0 0; font-size: .92rem; color: var(--leaf); font-weight: 600; min-height: 1.2em; }
.znote { margin: .3rem 0 0; font-size: .82rem; font-weight: 600; color: #8a4b0f; }
.znote.long { font-size: .98rem; font-weight: 500; color: var(--ink-2); background: var(--accent-soft); border-radius: 10px; padding: .6rem .8rem; }
.znote.long.ok { background: var(--leaf-soft); color: var(--leaf); }
.zonebox { margin: 0 0 1.2rem; }
.zonepanel { background: var(--accent-soft); border-radius: 12px; padding: .8rem 1rem; }
.zonepanel p { margin: 0 0 .4rem; }
.zp-head { font-weight: 700; }
.windows { margin-top: .4rem; }
.season { margin: 0 0 .5rem; }
/* season report */
.report-line { font-size: clamp(1.2rem, 3.4vw, 1.5rem); line-height: 1.5; color: var(--ink-2); max-width: 46ch; margin: 0 0 .6rem; }
.months .barcol { width: 32%; }
.months .bar { display: block; height: 10px; border-radius: 99px; background: var(--accent); transform: scaleX(var(--w, 0)); transform-origin: left; }
@media (max-width: 700px) { .months .barcol { display: none !important; } }
/* printable plant tags, sized to US Letter label sheets */
.tagform { max-width: 900px; }
.sheet { width: 8.5in; height: 11in; margin: 0 auto 28px; background: #fff; display: grid; align-content: start; overflow: hidden;
  box-shadow: 0 2px 6px rgba(31,27,22,.08), 0 18px 40px -20px rgba(31,27,22,.35); }
.sheet.pot { padding: .5in .1875in; grid-template-columns: repeat(3, 2.625in); grid-auto-rows: 1in; column-gap: .125in; }
.sheet.stake { padding: .5in .75in; grid-template-columns: repeat(2, 3.5in); grid-auto-rows: 2in; }
.tag { display: flex; align-items: center; gap: .1in; padding: .07in .12in; overflow: hidden; color: #111; }
.qr { flex: none; }
.qr svg { width: 100%; height: 100%; display: block; }
.pot .qr { width: .78in; height: .78in; }
.stake .qr { width: 1.35in; height: 1.35in; }
.tag-text { display: grid; min-width: 0; line-height: 1.15; }
.tag-text strong { font-family: var(--display); font-weight: 560; overflow-wrap: anywhere; }
.pot .tag-text strong { font-size: 10.5pt; }
.pot .tag-text span { font-size: 7.5pt; }
.stake .tag-text strong { font-size: 16pt; }
.stake .tag-text span { font-size: 10pt; }
.tag-price { font-weight: 700; }
@media screen and (max-width: 940px) { .sheet { zoom: .4; } }
@media print { @page { size: letter; margin: 0; } body.admin { background: #fff; } .sheet { margin: 0; box-shadow: none; break-after: page; zoom: 1; } }

/* the grower previewing her own shop */
.seller-peek { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 10px 20px; background: var(--leaf-soft); color: var(--leaf); font-size: .98rem; }
.seller-peek p { margin: 0; }
.seller-peek a { font-weight: 700; color: var(--leaf); }

/* ---------- larger-text view ---------- */
.simple .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.simple .detail, .simple .flag { display: none; }
.simple .card h3 { font-size: 1.3rem; }
.simple .filters select { display: none; }
.simple .mosaic { display: none; }
.simple .hero-grid { grid-template-columns: 1fr; }

/* ---------- phones: two small cards per row so more varieties fit ---------- */
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: .6rem .65rem .7rem; }
  .card h3 { font-size: 1rem; }
  .traits { display: none; }
  .card-foot .add { margin-left: 0; width: 100%; }
  .filters select { flex: 1 1 40%; }
  .simple .grid { grid-template-columns: 1fr; }
}

/* ---------- print: PDF catalog and invoices ---------- */
@media print {
  :root { font-size: 10.5pt; }
  body { background: #fff; }
  .bar, .foot, .filters, .chips, .add, .print-btn, .print-hide, .toast, dialog, .count-line, .alert, .timeline, .buy-row, .code, .skip { display: none !important; }
  .page-break { break-before: page; }
  .pack .panel { break-inside: avoid; }
  main { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .pagehead { margin: 0 0 10pt; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 8pt; }
  .card { break-inside: avoid; box-shadow: none; transform: none !important; }
  .detail { display: block !important; }
  .panel, table.list { box-shadow: none; }
  a { color: inherit; text-decoration: none; }
}
.tend-form .private { justify-self: start; font-size: 1.02rem; color: var(--ink-2); }

/* ---------- collections, payments, bonus plants ---------- */
.sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 1rem; }
.set-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.set-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.set-ph { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.set-ph img { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: cover; display: block; }
.set-ph.n1 img { grid-area: 1 / 1 / 3 / 3; }
.set-ph.n2 img { grid-row: 1 / 3; }
.set-ph.n3 img:first-child { grid-row: 1 / 3; }
.set-body { padding: .9rem 1rem 1rem; }
.set-body h3 { font-size: 1.25rem; margin: 0 0 .1rem; line-height: 1.2; }
.set-body h3 a { color: var(--ink); text-decoration: none; }
.set-body h3 a:hover { color: var(--accent-2); }
.set-price { margin: .5rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; }
.save { font-size: .8rem; font-weight: 700; color: var(--leaf); background: var(--leaf-soft); padding: .1rem .55rem; border-radius: 99px; }
.set-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: start; margin-top: .5rem; }
.set-head .buybox { margin-top: 0; }
@media (max-width: 860px) { .set-head { grid-template-columns: 1fr; gap: 0; } }
.set-list-head { margin-top: 1.5rem; }
.set-list { list-style: none; margin: .5rem 0 0; padding: 0; }
.set-list li { display: grid; grid-template-columns: 112px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.set-list .ph { border-radius: 10px; }
.set-list h3 { margin: 0; font-size: 1.15rem; }
.set-list h3 a { color: var(--ink); text-decoration: none; }
@media (max-width: 520px) { .set-list li { grid-template-columns: 84px 1fr; } .set-list li > span:last-child { grid-column: 2; } }
.bonus-note { background: var(--accent-soft); color: var(--ink); border-radius: 10px; padding: .7rem 1rem; font-weight: 600; }
p.wrap.bonus-note { margin-top: 1.5rem; margin-bottom: 0; }
.lines tr.set td { border-bottom: 0; }
.lines tr.in-set td:first-child { padding-left: 1.4rem; font-size: .92rem; }
.badge.bonus { background: var(--accent-soft); color: var(--accent-2); }
.pays { list-style: none; margin: 0 0 .6rem; padding: 0; }
.pays li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.coll-pick { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.coll-pick li { border-bottom: 1px solid var(--line); }
.coll-pick label { display: grid; grid-template-columns: auto 1fr; gap: .1rem .7rem; align-items: center; padding: .55rem .8rem; font-weight: 400; cursor: pointer; }
.coll-pick label > span:last-child { grid-column: 2; }
.coll-pick li:has(input:checked) { background: var(--accent-soft); }
.coll-form aside { position: sticky; top: 1rem; }
input.swatch { width: 3.2rem; height: 2.4rem; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); flex: none; }

/* ---------- payments, shipping, web address ---------- */
.settings-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: -.4rem 0 1.2rem; font-weight: 600; }
.steps-list { margin: .4rem 0 0; padding-left: 1.3rem; display: grid; gap: 1rem; }
.steps-list li { padding-left: .2rem; }
.steps-list .row, .steps-list .btn { margin-top: .5rem; }
.dns { display: grid; grid-template-columns: auto 1fr; gap: .25rem .9rem; margin-top: .6rem; padding: .7rem .9rem; background: var(--soft); border-radius: 10px; font-size: .92rem; }
.dns code { font-size: .95rem; word-break: break-all; }
ul.plain { list-style: none; margin: 0; padding: 0; }
.ways { list-style: none; margin: .4rem 0 .8rem; padding: 0; }
.ways li { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.pay-now { margin: .8rem 0 .4rem; }
.pays li.clearing { color: var(--muted); }
fieldset.addr { border: 0; padding: 0; margin: 0; display: grid; gap: .8rem; }
fieldset.addr legend { font-weight: 600; font-size: .92rem; color: var(--ink-2); padding: 0; margin-bottom: .5rem; }
.addr-row { display: grid; grid-template-columns: minmax(0, 1fr) 4.2rem 6.5rem; gap: .7rem; }
.sum.ship-line, .sum.grand-line { padding: .25rem 0; font-size: 1rem; }
.sum.ship-line strong { font-family: var(--ui); font-size: 1.05rem; font-weight: 600; }
.sum[hidden] { display: none; }
.sum.grand-line strong { font-family: var(--display); font-size: 1.35rem; font-weight: 500; }

/* ---------- where plants grow, pick lists ---------- */
fieldset.place { border: 0; padding: 0; margin: 0; }
fieldset.place legend { font-weight: 600; font-size: .92rem; color: var(--ink-2); padding: 0; margin-bottom: .45rem; }
.place-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: .6rem; }
.dig td.where { white-space: nowrap; font-weight: 600; color: var(--ink-2); }

/* ---------- hybridizing ---------- */
.cross-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.2rem; }
.cross-tabs .btn { margin-left: auto; }
.nophoto { display: grid; place-items: center; width: 100%; height: 100%; padding: .5rem; background: var(--soft); color: var(--muted); font-family: var(--display); font-size: .95rem; text-align: center; }

/* The seam: two flowers meet on a slanted paper line. Each photo keeps its own frame so both blooms stay centered. */
.seam { display: grid; gap: .7rem; }
.seam-art { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: 0 2px 4px rgba(31,27,22,.06), 0 14px 32px -18px rgba(31,27,22,.35); }
.seam-pod, .seam-pollen { position: absolute; top: 0; bottom: 0; width: 62%; }
.seam-pod { left: 0; clip-path: polygon(0 0, 93.5% 0, 67.7% 100%, 0 100%); }
.seam-pollen { right: 0; clip-path: polygon(33.5% 0, 100% 0, 100% 100%, 7.7% 100%); }
.seam-pod img, .seam-pollen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seam-x { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 1.5rem; line-height: 1; box-shadow: 0 2px 8px rgba(31,27,22,.25); }
.seam-names { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.seam-names p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem; }
.seam-names p:last-child { justify-content: flex-end; text-align: right; }
.seam-names strong { font-family: var(--display); font-size: 1.2rem; font-weight: 500; }
.seam-names .role { color: var(--muted); font-size: .85rem; }
.seam-names .small { flex-basis: 100%; }
.seam.arrive .seam-pollen { animation: seam-in 1s cubic-bezier(.16, 1, .3, 1) both; }
.seam.arrive .seam-x { animation: seam-x .5s cubic-bezier(.16, 1, .3, 1) .55s both; }
@keyframes seam-in { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); filter: blur(6px); translate: 4% 0; } }
@keyframes seam-x { from { opacity: 0; scale: .6; } }
@media (prefers-reduced-motion: reduce) { .seam.arrive .seam-pollen, .seam.arrive .seam-x { animation: none; } }

.cross-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; align-items: start; margin: 1rem 0 2rem; }
@media (max-width: 860px) { .cross-detail { grid-template-columns: 1fr; gap: 1.2rem; } }
.cross-side { display: grid; gap: 1.2rem; }

/* Bloom seasons on one strip of summer. */
.bloomstrip { margin: 0; display: grid; gap: .45rem; }
.bs-scale { display: grid; grid-template-columns: 8.5rem repeat(7, 1fr); align-items: end; }
.bs-scale span { font-size: .72rem; color: var(--muted); text-align: center; line-height: 1.2; }
.bs-row { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; }
.bs-who { font-size: .88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: .6rem; }
.bs-bar { position: relative; height: 14px; border-radius: 99px; background: var(--soft); }
.bs-bar::before { content: ""; position: absolute; top: 0; bottom: 0; border-radius: 99px; left: calc(var(--from) / 7 * 100%); width: calc((var(--to) - var(--from)) / 7 * 100%); }
.bs-bar.pod::before { background: var(--accent); }
.bs-bar.pollen::before { background: var(--gold); }
@media (max-width: 520px) { .bs-scale, .bs-row { grid-template-columns: 5.5rem repeat(7, 1fr); } .bs-row { grid-template-columns: 5.5rem 1fr; } .bs-scale span { font-size: .62rem; } }

/* What a hybridizer checks, grouped by kind: the kind is named once, color only repeats it. */
.checks { display: grid; gap: .9rem; }
.checks section { --k: var(--ink-2); }
.checks .stop { --k: var(--bad); } .checks .warn { --k: #7a4d00; } .checks .good { --k: var(--leaf); }
.checks .ck-kind { display: flex; align-items: center; gap: .45rem; margin: 0 0 .25rem; font-family: var(--ui); font-size: .8rem; font-weight: 700; color: var(--k); }
.checks .ck-kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.checks ul { list-style: none; margin: 0; padding: 0 0 0 1rem; display: grid; gap: .3rem; }
.checks li { color: var(--ink); }

.cross-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; margin-top: 1rem; }
.cross-card { display: grid; gap: .5rem; color: var(--ink); text-decoration: none; }
.cross-card .seam-names strong { font-size: 1.05rem; }
.cross-card .seam-art { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.cross-card:hover .seam-art { transform: translateY(-2px); }
.cc-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; }
.code { font-family: var(--display); font-weight: 500; font-variant-numeric: tabular-nums; }
.goal { color: var(--ink-2); font-size: .9rem; }
.cc-flag { font-size: .78rem; font-weight: 700; padding: .1rem .55rem; border-radius: 99px; }
.cc-flag.stop { background: #f9dedb; color: var(--bad); } .cc-flag.warn { background: #fdf0d3; color: #7a4d00; }
.cross-empty { padding: 3rem 1rem; }

/* Matchmaker */
.mm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-top: 1rem; }
.mm-tile { display: grid; grid-template-columns: 84px 1fr; gap: .8rem; align-items: center; padding: .55rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.mm-tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.mm-ph { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; display: block; background: var(--soft); }
.mm-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-ph .nophoto { font-size: .7rem; }
.mm-body { display: grid; gap: .1rem; min-width: 0; }
.mm-body strong { font-family: var(--display); font-weight: 500; font-size: 1.05rem; line-height: 1.2; }
.mm-verdict { font-size: .8rem; font-weight: 600; margin-top: .2rem; }
.mm-verdict.stop { color: var(--bad); } .mm-verdict.warn { color: #7a4d00; } .mm-verdict.good { color: var(--leaf); } .mm-verdict.info { color: var(--ink-2); }
.mm-mother { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; margin: .2rem 0 1rem; }
.mm-mother > img, .mm-mother > .nophoto { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; }
.mm-mother > div { display: grid; gap: .15rem; }
.mm-mother strong { font-family: var(--display); font-size: 1.4rem; font-weight: 500; }

/* In the garden: big targets, high contrast, one thumb */
.opens { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.open-btn { width: 100%; min-height: 76px; display: grid; grid-template-columns: 60px 1fr auto; gap: .8rem; align-items: center; padding: .5rem .8rem .5rem .5rem; text-align: left;
  font: inherit; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.open-btn.on { border-color: var(--leaf); background: var(--leaf-soft); }
.ob-ph { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; display: block; }
.ob-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-text { display: grid; min-width: 0; } .ob-text strong { font-size: 1.05rem; }
.ob-state { font-size: .85rem; font-weight: 700; color: var(--muted); } .open-btn.on .ob-state { color: var(--leaf); }
.ready { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: 14px; }
.ready > li { padding: 1rem; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.ready > li.done { background: var(--leaf-soft); box-shadow: none; }
.rd-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; margin-bottom: .6rem; }
.rd-head strong { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.rd-done { margin: 0 0 .6rem; font-weight: 600; color: var(--leaf); }
.log-form { display: grid; gap: .8rem; }
.tagpick { display: flex; flex-wrap: wrap; gap: 6px; }
.tagpick label { position: relative; font-weight: 500; }
.tagpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tagpick label > span { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .8rem; border: 2px solid var(--line); border-radius: 99px; background: var(--card); cursor: pointer; font-size: .95rem; }
.tagpick input:checked + span { border-color: var(--ink); }
.tagpick input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.tagdot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; border: 1px solid rgba(31,27,22,.25); }
.tagdot.red { background: #c0392b; } .tagdot.orange { background: #e67e22; } .tagdot.yellow { background: #f1c40f; } .tagdot.green { background: #3d8b3d; }
.tagdot.blue { background: #2f6fb5; } .tagdot.purple { background: #7d4fa8; } .tagdot.pink { background: #e86aa6; } .tagdot.white { background: #fff; }
.flowers { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.flowers button { width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.flowers input { width: 4.5rem; text-align: center; font-size: 1.2rem; }
ul.seedlings { columns: 2; }
.cross-card .seam-names .small { display: none; }

/* ---------- family tree: the classic pedigree chart ---------- */
.seg-links { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--card); }
.seg-links a { padding: .45rem .9rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.seg-links a.on { background: var(--ink); color: var(--paper); }
.tree-note { display: flex; align-items: center; gap: .6rem; color: var(--ink-2); }
.tn-swatch { width: 18px; height: 18px; border-radius: 6px; background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); flex: none; }
.tree-wrap { overflow-x: auto; margin: 1rem -20px 2rem; padding: .5rem 20px 1rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.tree { --gap: 34px; --tl: #cbbca4; display: grid; grid-template-columns: repeat(var(--gens), minmax(200px, 1fr)); grid-template-rows: repeat(var(--rows), minmax(60px, auto));
  column-gap: var(--gap); min-width: calc(var(--gens) * 200px + (var(--gens) - 1) * 34px); }
.tn { position: relative; display: flex; align-items: center; padding: 4px 0; }
/* connectors: a stub out of each parent pair's child, a stub into each ancestor, and the bracket joining the pair */
.tn.has-parents::after { content: ""; position: absolute; right: calc(var(--gap) / -2); top: 50%; width: calc(var(--gap) / 2); border-top: 1.5px solid var(--tl); }
.tn.child::before { content: ""; position: absolute; left: calc(var(--gap) / -2); top: 50%; width: calc(var(--gap) / 2); border-top: 1.5px solid var(--tl); }
.tn-v { position: absolute; left: calc(var(--gap) / -2); top: 50%; height: 100%; border-left: 1.5px solid var(--tl); }
.tn-card { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: .6rem; align-items: center; width: 100%; padding: .45rem .6rem .45rem .45rem;
  border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s, transform .2s; }
a.tn-card:hover { border-color: var(--accent); transform: translateX(2px); }
.tn-ph { width: 44px; height: 44px; border-radius: 9px; overflow: hidden; background: var(--soft); display: block; }
.tn-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-text { display: grid; min-width: 0; line-height: 1.25; }
.tn-text strong { font-family: var(--display); font-weight: 500; font-size: 1rem; overflow-wrap: break-word; hyphens: auto; }
.tn-role { font-size: .7rem; color: var(--muted); }
.tn-by { font-size: .78rem; color: var(--muted); }
.tn-rep, .tn-mine { font-size: .72rem; font-weight: 700; margin-top: .1rem; }
.tn-rep { color: var(--accent-2); } .tn-mine { color: var(--leaf); }
.tn-card.rep { background: var(--accent-soft); border-color: transparent; box-shadow: inset 0 0 0 2px var(--accent); }
.tn-card.rep.lit { background: var(--accent); }
.tn-card.rep.lit .tn-text strong, .tn-card.rep.lit .tn-text span { color: #fff; }
.tn-card.unknown { background: transparent; border-style: dashed; color: var(--muted); }
.tn-card.unknown .tn-ph { visibility: hidden; }
.tn-card.seedling { border-style: dashed; }
.tn-card.root { grid-template-columns: 84px 1fr; padding: .7rem; box-shadow: var(--shadow); border-color: transparent; }
.tn-card.root .tn-ph { width: 84px; height: 84px; border-radius: 12px; }
.tn-card.root .tn-text strong { font-size: 1.35rem; }
ul.kids li { padding: .35rem 0; }
@media (max-width: 640px) { .tree { --gap: 22px; grid-template-columns: repeat(var(--gens), 170px); min-width: 0; } .tn-card { grid-template-columns: 36px 1fr; } .tn-ph { width: 36px; height: 36px; } }
.tn-card.bare, .tn-card.root.bare { grid-template-columns: 1fr; padding-left: .75rem; }
.tree[style*="--gens:5"] .tn-card.root { grid-template-columns: 56px 1fr; } .tree[style*="--gens:5"] .tn-card.root .tn-ph { width: 56px; height: 56px; }
.tree[style*="--gens:5"] .tn-card.root .tn-text strong { font-size: 1.15rem; }
.gen-pick { display: inline-flex; align-items: center; gap: .5rem; }
.gen-pick .seg-links a { min-width: 2.75rem; text-align: center; }
@media (max-width: 640px) { .tn-card.root, .tree[style*="--gens:5"] .tn-card.root { grid-template-columns: 44px 1fr; padding: .5rem; } .tn-card.root .tn-ph, .tree[style*="--gens:5"] .tn-card.root .tn-ph { width: 44px; height: 44px; }
  .tn-card.root .tn-text strong, .tree[style*="--gens:5"] .tn-card.root .tn-text strong { font-size: 1.1rem; } }

/* ---------- phone fit (audit 2026-10-25) ---------- */
fieldset { min-width: 0; } /* a fieldset won't shrink below its content by default; the place boxes pushed pages wide */
@media (max-width: 520px) {
  .chips { margin-inline: -14px; padding-inline: 14px; } /* bleed to the 14px phone gutter, not 20px */
  .tree-wrap { margin-inline: -14px; padding-inline: 14px; }
}
.edit-lines .lines { table-layout: fixed; width: 100%; }
.edit-lines .lines th:first-child { width: 46%; }
.edit-lines .lines input, .edit-lines .lines select { min-width: 0; width: 100%; }
/* Touch screens: everything tappable is at least 44px tall. Mouse screens keep the compact look. */
@media (pointer: coarse) {
  .bar nav a, .bar-end a, .bar-end button, .seller-peek a, .linkish, label.check, .settings-nav a, .band-head a, .crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
  label.check input[type=checkbox] { width: 1.35rem; height: 1.35rem; }
  .brand { min-height: 44px; }
}
.flag, .tn-role, .tn-rep, .tn-mine, .bs-scale span, .brand small { font-size: .75rem; }
@media (pointer: coarse) {
  .add, .chip, .seg-links a, .card h3 a, .set-body h3 a { min-height: 44px; display: inline-flex; align-items: center; }
  input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), select { min-height: 44px; }
}
/* File pickers wear the app's button, not the browser's grey one. */
input[type=file] { font: inherit; font-size: .95rem; color: var(--ink-2); min-height: 44px; max-width: 100%; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: .8rem; padding: .6rem 1rem; min-height: 44px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
input[type=file]::file-selector-button:hover { border-color: var(--accent); }
.row input[type=file] { flex: 1 1 12rem; min-width: 0; }
.cols > *, .checkout > *, .cross-detail > *, .v-grid > * { min-width: 0; } /* grid columns may shrink below their widest child (a file picker made pages scroll sideways) */
.stack, .steps-list, .log-form, .cross-side { grid-template-columns: minmax(0, 1fr); } /* single-column grids: a wide child (file picker) must not stretch the column */
.grid2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); } .grid3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
fieldset { grid-template-columns: minmax(0, 1fr); }

/* ---------- seedlings ---------- */
.sdls { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: 10px; }
.sdl { padding: .8rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; gap: .6rem; }
.sdl.culled { opacity: .65; }
.sdl.keeper { border-color: var(--leaf); }
.sdl-main { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: .75rem; align-items: center; }
.sdl-main img, .sdl-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--soft); display: block; }
.sdl-text { display: grid; min-width: 0; }
.sdl-text strong { font-family: var(--display); font-weight: 500; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.sdl-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: 12px; background: var(--soft); }
.sdl-stages button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 0 .3rem; }
.sdl-stages button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(31,27,22,.15); }
.sdl.keeper .sdl-stages button.on { color: var(--leaf); }
.sdl.culled .sdl-stages button.on { color: var(--bad); }
.sdl-more summary { cursor: pointer; font-weight: 600; color: var(--accent-2); min-height: 44px; display: flex; align-items: center; }
.sdl-more[open] { display: grid; gap: .6rem; }
.sdl-more .row .grow { flex: 1 1 14rem; }
.sdl-add { margin-top: 2rem; }
@media (min-width: 900px) { .sdls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- count: + and − down the beds ---------- */
.count-tools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .6rem 0; background: var(--paper); }
.count-tools input[type=search] { flex: 1 1 100%; }
.count-tools select { flex: 1 1 9rem; }
.count-list { list-style: none; margin: 0; padding: 0 0 5.5rem; }
.count-bed { position: sticky; top: var(--tools-h, 0px); z-index: 2; padding: .9rem 0 .35rem; background: var(--paper); font-family: var(--display); font-size: 1.15rem; border-bottom: 2px solid var(--ink); }
.count-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.count-row.changed { background: var(--accent-soft); }
.count-row.saved { background: var(--leaf-soft); }
.count-name { display: grid; min-width: 0; }
.count-name a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; overflow-wrap: break-word; }
.count-name span { font-size: .85rem; color: var(--muted); }
.count-name .count-held { color: var(--ink-2); }
.count-row.short .count-held { color: var(--bad); font-weight: 700; }
.count-step { display: grid; grid-template-columns: 48px 3.6rem 48px; align-items: center; gap: 6px; }
.count-step button { height: 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; touch-action: manipulation; }
.count-step button:active { background: var(--soft); transform: scale(.96); }
.count-step input { height: 48px; min-width: 0; padding: 0; text-align: center; font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.count-row.changed .count-step input { border-color: var(--accent); }
.count-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem max(14px, env(safe-area-inset-left)) calc(.7rem + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); }
.count-bar [data-status] { font-size: .95rem; }
@media (min-width: 900px) { .count-tools input[type=search] { flex: 1 1 16rem; } .count-bar { left: auto; right: 20px; bottom: 20px; border-radius: 14px; box-shadow: var(--shadow); } }

/* Phones: the seller menu scrolls away instead of pinning a third of the screen. */
@media (max-width: 900px) { .admin .bar { position: static; } }
.count-tools, .count-form { max-width: 760px; }

/* ---------- organizer and selling ---------- */
.private-garden { min-height: 80vh; display: grid; place-content: center; justify-items: center; gap: .6rem; padding: 2rem 16px; text-align: center; }
.private-garden h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.2rem); }
.private-garden p { margin: 0 0 1rem; color: var(--ink-2); font-size: 1.15rem; }
.bar nav a.nav-sell { color: var(--gold); font-weight: 700; }
.garden-glance dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; margin: 1rem 0 1.5rem; border-top: 1px solid var(--line); }
.garden-glance dl > div { display: grid; gap: .1rem; padding: 1rem .2rem; border-bottom: 1px solid var(--line); }
.garden-glance dt { color: var(--ink-2); font-size: .95rem; }
.garden-glance dd { margin: 0; font-family: var(--display); font-size: 2rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.garden-glance a { font-weight: 600; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.sell-invite { max-width: 640px; }
.sell-steps { list-style: none; counter-reset: s; margin: 1rem 0 1.5rem; padding: 0; max-width: 760px; }
.sell-steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.sell-steps li::before { content: counter(s); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--line); font-weight: 700; color: var(--ink-2); }
.sell-steps li.done::before { content: "✓"; border-color: var(--leaf); background: var(--leaf); color: #fff; }
.sell-steps li.optional::before { border-style: dashed; }
.sell-steps strong { font-size: 1.1rem; }
.sell-steps p { margin: .15rem 0 0; color: var(--ink-2); font-size: .95rem; }
.sell-go { display: grid; justify-items: end; gap: .2rem; }
@media (max-width: 560px) { .sell-steps li { grid-template-columns: 2.4rem minmax(0, 1fr); } .sell-go { grid-column: 2; justify-items: start; } }
.sell-open { display: grid; gap: .4rem; justify-items: start; }
.sell-open button[disabled] { opacity: .5; cursor: not-allowed; }
.sell-links li { padding: .45rem 0; }

/* hidden means hidden, even on elements this stylesheet gives a display (a fieldset is display: grid) */
[hidden] { display: none !important; }
.place-row select { min-width: 0; }

/* ---------- a parent's info box, and the way back ---------- */
.plant-link { font: inherit; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.plant-link:hover { color: var(--accent-2); }
.seam-names .plant-link { font-family: var(--display); font-size: 1.2rem; font-weight: 500; }
.rd-head .plant-link { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.mm-mother .plant-link { font-family: var(--display); font-size: 1.4rem; font-weight: 500; justify-self: start; }
.seam-art [data-plant] { cursor: pointer; transition: filter .2s; }
.seam-art [data-plant]:hover { filter: brightness(1.06); }
.seam-art [data-plant]:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
@media (pointer: coarse) { .plant-link { min-height: 44px; } }
dialog.plant-card { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 18px; background: var(--card); color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(22,32,26,.5); overflow: auto; }
dialog.plant-card::backdrop { background: rgba(22,32,26,.5); }
dialog.plant-card[open] { animation: pc-in .28s cubic-bezier(.16, 1, .3, 1); }
@keyframes pc-in { from { opacity: 0; translate: 0 12px; } }
@media (prefers-reduced-motion: reduce) { dialog.plant-card[open] { animation: none; } }
.pc-ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pc-ph.small { aspect-ratio: auto; max-height: 220px; object-fit: contain; background: var(--soft); }
.pc-body { padding: 1rem 1.2rem 1.2rem; display: grid; gap: .55rem; }
.pc-body h2 { margin: 0; font-size: 1.5rem; }
.pc-body > p { margin: 0; }
.pc-body dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; margin: .2rem 0; }
.pc-body dt { font-size: .78rem; color: var(--muted); }
.pc-body dd { margin: 0; font-weight: 600; }
.pc-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.pc-actions form { margin-left: auto; }
.pc-wait { padding: 1.5rem; margin: 0; }
.crumb-back { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .35rem .4rem .35rem .9rem;
  border-radius: 12px; background: var(--leaf-soft); }
.crumb-back a { flex: 1; font-weight: 700; color: var(--leaf); text-decoration: none; min-height: 40px; display: flex; align-items: center; }
.crumb-back button { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--leaf); font-size: 1.4rem; cursor: pointer; }
@media (min-width: 901px) { .crumb-back { position: static; } } /* the seller menu is pinned there; on phones it scrolls away */
.pc { position: relative; }
.pc-x { position: absolute; top: 10px; right: 10px; z-index: 2; }
.pc-x button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(251, 247, 240, .92); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(22,32,26,.25); }
.pc-actions { position: sticky; bottom: 0; margin: .4rem -1.2rem -1.2rem; padding: .7rem 1.2rem calc(.9rem + env(safe-area-inset-bottom)); background: var(--card); box-shadow: 0 -8px 16px -12px rgba(22,32,26,.25); }

/* ---------- help and search: large, plain, easy to tap ---------- */
.bar-end a.bar-strong { color: #fff; font-weight: 700; text-decoration: none; }
.help { max-width: 760px; }
.help p, .help li, .help summary { font-size: 1.1rem; line-height: 1.6; }
.ask { display: grid; gap: .4rem; margin: .4rem 0 1.4rem; max-width: 760px; }
.ask label { font-weight: 600; color: var(--ink-2); }
.ask-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.ask-row input { min-height: 54px; font-size: 1.15rem; }
.ask-row .btn { min-height: 54px; font-size: 1.05rem; }
.help-topics { display: flex; flex-wrap: wrap; gap: .1rem 1.2rem; margin: 0 0 1rem; }
.help-topics a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.help-topic { scroll-margin-top: 5rem; margin-top: 1.8rem; }
.help-topic h2 { margin: 0 0 .3rem; font-size: 1.5rem; }
.help-q { border-bottom: 1px solid var(--line); scroll-margin-top: 5rem; }
.help-q summary { position: relative; min-height: 56px; padding: .8rem 2.4rem .8rem 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; }
.help-q summary::-webkit-details-marker { display: none; }
.help-q summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; translate: 0 -50%; font-size: 1.7rem; font-weight: 400; line-height: 1; color: var(--accent-2); }
.help-q[open] summary::after { content: "\2212"; }
.help-a { padding: 0 0 1.2rem; }
.help-a p { margin: 0 0 .7rem; }
.help-a ol { margin: 0 0 .9rem; padding-left: 1.5rem; display: grid; gap: .45rem; }
.help-a .btn { min-height: 48px; display: inline-flex; align-items: center; }
.help-stuck { margin-top: 2.5rem; padding: 1.2rem; border-radius: 14px; background: var(--leaf-soft); }
.help-stuck h2 { margin: 0 0 .2rem; font-size: 1.3rem; } .help-stuck p { margin: 0; }
.sr-group { margin-top: 1.6rem; }
.sr-group h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.sr-group ul { list-style: none; margin: 0; padding: 0; }
.sr-group li { font-size: 1rem; }
.sr-row { display: flex; gap: .8rem; align-items: center; min-height: 64px; padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sr-row:hover strong { color: var(--accent-2); }
.sr-row img, .sr-ph { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; background: var(--soft); }
.sr-text { display: grid; min-width: 0; }
.sr-text strong { font-size: 1.1rem; overflow-wrap: anywhere; }
.sr-text span { color: var(--ink-2); font-size: .95rem; }
.sr-none { padding: 1rem 0; }
.admin .bar-end { gap: .9rem; }

/* ---------- chat with Claude ---------- */
.msgs { list-style: none; margin: 1.4rem 0 .6rem; padding: 0; display: grid; gap: .8rem; }
.msgs:empty { margin: 0; }
.msg { padding: .8rem 1rem; border-radius: 14px; max-width: 92%; }
.msg.grower { justify-self: end; background: var(--soft); }
.msg.claude { justify-self: start; background: var(--leaf-soft); }
.help .msg p { margin: .15rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-who { font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.help p.chat-status { min-height: 1.6em; margin: 0 0 .8rem; color: var(--leaf); font-weight: 600; }
.msg-form { margin-top: .4rem; }
.msg-form textarea { width: 100%; font-size: 1.15rem; }
.msg-new { background: var(--gold); color: #201c17; border-radius: 99px; padding: .05rem .5rem; font-size: .85rem; margin-left: .2rem; }
.help-stuck p + p { margin-top: .7rem; }
@media (max-width: 520px) { .admin .bar-end { flex-wrap: wrap; justify-content: flex-end; gap: 0 .9rem; } }
/* ---------- the workshop: trying a change ---------- */
.trying { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; justify-content: space-between; padding: .8rem 1.2rem; background: var(--leaf-soft); border-bottom: 3px solid var(--leaf); font-size: 1.05rem; }
.trying p { margin: 0; max-width: 46em; }
.trying-acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.trying-acts form { margin: 0; }
.trying .btn, .try-card .btn, .undo-form .btn { min-height: 48px; }
.try-card { margin-top: .4rem; }
.try-card h2 { margin: 0 0 .3rem; }
.undo-form { margin: 0 0 1.2rem; }
.undo-form p { margin: 0 0 .4rem; }
/* The account pages (shop.js, "the account pages"): the same on every shop and on the account home. */
.acct-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.acct-who { margin: 0 0 .25rem; }
.addr-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.addr-list .addr { white-space: pre-line; margin: 0 0 .6rem; }
.addr-list .row { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin: .4rem 0; }
.addr-list details { margin-top: .4rem; }
body.home { min-height: 100vh; display: flex; flex-direction: column; }
body.home main { flex: 1; }
body.home .foot { padding: 1.4rem 0; }
.account .orderlist li > div > span { display: block; }
.account .orderlist + form, .account h2 + table.list { margin-bottom: 1.6rem; }
.account .cols > div > h2:not(:first-child) { margin-top: 1.8rem; }
.legal { max-width: 70ch; padding-bottom: 3rem; }
.legal h2 { margin-top: 1.8rem; font-size: 1.25rem; }
/* A plant site (directory.js): the gardens, and one search across them. */
.stand-hero { padding: clamp(2.5rem, 7vw, 5rem) 0 2.5rem; background: linear-gradient(180deg, var(--accent-soft), var(--paper)); }
.stand-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); max-width: 14em; font-variation-settings: "opsz" 144; }
.stand-search { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; max-width: 680px; }
.stand-search input { flex: 1 1 260px; font: inherit; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.stand-search.big input { font-size: 1.15rem; padding: .95rem 1.2rem; }
.stand-gardens { padding-top: 2rem; }
.garden-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.garden-list a { display: flex; flex-direction: column; gap: .2rem; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; padding-bottom: 1rem; transition: transform .2s, box-shadow .2s; }
.garden-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.garden-list img, .garden-list .noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--soft); margin-bottom: .6rem; }
.garden-list a > span { padding: 0 1rem; }
.garden-list .g-name { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; }
.stand-results { padding-top: 1.5rem; }
.stand-results h1 .muted { font-size: .55em; font-family: var(--ui); letter-spacing: 0; }
.stand-found { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.sf-head { display: flex; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.sf-head img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.offers td { vertical-align: middle; }
@media (max-width: 640px) { .offers tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .6rem 0; } .offers td { padding: 0; border: 0; } .offers td:last-child { grid-column: 1 / -1; } }
.sites-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.sites-list li { display: flex; flex-direction: column; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
