/* Plants N More app. Same colours and fonts as plantsnmore.ng */
:root {
  --olive: #617253; --olive-deep: #44513a; --leaf: #798c6c; --sage: #cfdca5; --sage-soft: #eef3dd;
  --paper: #fbfcf7; --beige: #f4efe3; --brown: #7a5a44; --ink: #1f241b; --muted: #5f6858; --line: #dfe5d2;
  --coral: #e2664a; --sun: #f2b632; --wa: #1f8f55;
  --display: "Jost", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --tabs-h: 72px; --top-h: 60px; --pad: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom)); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; }
h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.2rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.ic { width: 26px; height: 26px; flex: none; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; height: var(--top-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); background: rgba(251, 252, 247, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-logo { -webkit-touch-callout: none; user-select: none; }
.top-logo img { height: 36px; width: auto; pointer-events: none; }
.top-fav { position: relative; width: 52px; height: 52px; display: grid; place-items: center; color: var(--olive); margin-right: -10px; }
.top-fav .ic { width: 30px; height: 30px; }
.top-fav b { position: absolute; top: 4px; right: 2px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--coral); color: #fff;
  font: 600 .78rem/22px var(--body); text-align: center; }

/* Bottom tabs */
.tabs { position: fixed; z-index: 20; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px;
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted);
  font: 500 .92rem var(--display); letter-spacing: .04em; }
.tabs a .ic { width: 28px; height: 28px; }
.tabs a { color: #8a9282; }
.tabs a.on { color: var(--olive-deep); box-shadow: inset 0 3px 0 var(--olive); }
.tabs a.on .ic { stroke-width: 2.4; }

/* Buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 12px 22px;
  background: var(--olive); color: #fff; border-radius: 999px; font: 500 1.1rem var(--display); letter-spacing: .03em; text-align: center; }
.btn:active { background: var(--olive-deep); }
.btn.wa { background: var(--wa); }
.btn.ghost { background: transparent; color: var(--olive); border: 2px solid var(--olive); }
.btn.danger { background: transparent; color: #b3402a; border: 2px solid #e5b8ad; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--olive); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* Shop top */
.ig-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 12px var(--pad) 0;
  color: var(--brown); font-weight: 500; font-size: .98rem; background: var(--beige); border-radius: 999px; }
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 18px var(--pad) 8px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .82rem; line-height: 1.2; text-align: center; color: var(--muted); }
.story span { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--olive);
  border: 2px solid #fff; box-shadow: 0 0 0 2px var(--sage); }
.story span .ic { width: 32px; height: 32px; }
.story.on { color: var(--ink); font-weight: 600; }
.story.on span { background: var(--olive); color: #fff; box-shadow: 0 0 0 3px var(--coral); }

.toolbar { display: flex; align-items: center; justify-content: space-between; padding: 8px var(--pad) 12px; }
.toolbar .count { color: var(--muted); font-size: .95rem; }
.toolbar div { display: flex; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; justify-content: center; padding: 0 14px;
  border: 1.500px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; font-size: .98rem; }
.tool.on { border-color: var(--olive); background: var(--sage-soft); color: var(--olive-deep); }

/* Feed post */
.post { margin-bottom: 34px; }
.swiper { position: relative; aspect-ratio: 4 / 5; background: var(--beige); overflow: hidden; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: pointer; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.slide img, .slide .art { width: 100%; height: 100%; object-fit: cover; }
.art { width: 100%; height: 100%; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .65); box-shadow: 0 0 2px rgba(0, 0, 0, .35); }
.dots i.on { background: #fff; transform: scale(1.3); }
.tag-new { position: absolute; top: 14px; left: 14px; padding: 4px 14px; border-radius: 999px; background: var(--coral); color: #fff;
  font: 500 .9rem var(--display); letter-spacing: .08em; text-transform: uppercase; }
.heart { position: absolute; top: 8px; right: 8px; width: 56px; height: 56px; display: grid; place-items: center; }
.heart .ic { width: 34px; height: 34px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); stroke-width: 2; }
.heart.on .ic { fill: var(--coral); color: var(--coral); }
.post-body { padding: 14px var(--pad) 0; }
.post-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price { font: 500 1.35rem var(--display); color: var(--brown); white-space: nowrap; }
.meta { color: var(--muted); font-size: .98rem; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px; background: var(--sage-soft); color: var(--olive-deep); font-size: .9rem; font-weight: 500; }
.chip .ic { width: 20px; height: 20px; }
.chip.sun { background: #fdf1cf; color: #7d5a08; }
.chip.dim { background: #e7e4dc; color: #55524a; }
.chip.pet { background: #f6e3d7; color: #8a4a2c; }
.caption { margin-bottom: 14px; }

/* Grid */
#list.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--beige); padding: 0; }
.tile img, .tile .art { width: 100%; height: 100%; object-fit: cover; }
.tile .tag-new { top: 6px; left: 6px; font-size: .68rem; padding: 2px 8px; }

.feed-end { padding: 10px var(--pad) 40px; text-align: center; display: grid; gap: 12px; justify-items: center; color: var(--muted); }
.feed-end .ig-link { margin: 0; padding: 0 24px; }
.empty { padding: 60px var(--pad); text-align: center; display: grid; gap: 18px; justify-items: center; color: var(--muted); }
.empty .big-ic { width: 96px; height: 96px; border-radius: 50%; background: var(--sage-soft); color: var(--olive); display: grid; place-items: center; }
.empty .big-ic .ic { width: 44px; height: 44px; }
.empty h1 { color: var(--ink); }

/* Full-screen plant */
.overlay { position: fixed; z-index: 40; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px;
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.detail .swiper { aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; }
.round { position: absolute; z-index: 2; top: calc(12px + env(safe-area-inset-top)); left: 12px; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); }
.detail .heart { top: calc(10px + env(safe-area-inset-top)); }
.detail .post-body { padding-bottom: 120px; }
.detail h3 { margin: 18px 0 6px; color: var(--olive); }
.cta { position: sticky; bottom: 0; padding: 12px var(--pad) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--paper) 30%); margin-top: -100px; }

/* Bottom sheet (filters) */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(20, 24, 17, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; background: var(--paper); border-radius: 24px 24px 0 0; padding: 22px var(--pad) calc(20px + env(safe-area-inset-bottom)); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.x { width: 52px; height: 52px; display: grid; place-items: center; margin-right: -12px; }
.group { margin: 18px 0; }
.group > p, .fl { display: block; font: 500 1.05rem var(--display); color: var(--olive-deep); margin-bottom: 10px; }
.fl small, .hint { display: block; font: 400 .9rem var(--body); color: var(--muted); }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.picks.two { grid-template-columns: repeat(2, 1fr); }
.pick { min-height: 58px; padding: 10px 6px; border: 2px solid var(--line); border-radius: 16px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-weight: 500; font-size: .98rem; line-height: 1.2; text-align: center; }
.pick .pic { width: 56px; height: 56px; }
.pick.on { border-color: var(--olive); background: var(--sage-soft); box-shadow: inset 0 0 0 1px var(--olive); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 6px 0; font-weight: 500; }
.switch { position: relative; width: 68px; height: 40px; border-radius: 20px; background: #cfd4c6; transition: background .15s; flex: none; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--olive); }
.switch[aria-checked="true"]::after { transform: translateX(28px); }
.sheet .btn { margin-top: 10px; }
.center { display: flex; justify-content: center; }

/* Pages (favourites, private section) */
.page { padding: 22px var(--pad) 40px; }
.page-head { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.page-head .backbtn { width: 52px; height: 52px; display: grid; place-items: center; margin-left: -14px; }
.page p.lead { color: var(--muted); margin-bottom: 18px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
.card { position: relative; }
.card .thumb { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--beige); padding: 0; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .heart { top: 0; right: 0; }
.card b { display: block; font: 400 1.1rem var(--display); margin-top: 8px; }
.card em { font-style: normal; color: var(--brown); font-weight: 500; }

/* Private: plant list */
.rows { display: grid; gap: 12px; margin: 20px 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1.500px solid var(--line); border-radius: 16px; background: #fff; min-height: 92px; }
.row .thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex: none; background: var(--beige); }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row b { display: block; font: 400 1.2rem var(--display); }
.row span { color: var(--muted); font-size: .95rem; }
.badge { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--beige); color: var(--brown); margin-left: 6px; vertical-align: middle; }
.badge.out { background: #f8ddd5; color: #a23a22; }
.note { background: var(--beige); border-radius: 14px; padding: 14px 16px; color: var(--brown); font-size: .95rem; margin-top: 18px; }

/* Private: plant form */
.form { display: grid; gap: 22px; }
.form input[type="text"], .form input[type="password"], .form input:not([type]), .form textarea {
  width: 100%; font: 400 1.15rem var(--body); color: var(--ink); padding: 14px 16px; min-height: 58px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.form textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--olive); }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--beige); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .main { position: absolute; left: 4px; bottom: 4px; padding: 1px 8px; border-radius: 999px; background: var(--olive); color: #fff; font-size: .72rem; font-weight: 600; }
.ph .rm { position: absolute; top: 2px; right: 2px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.ph .rm .ic { width: 18px; height: 18px; }
.ph.add { border: 2px dashed var(--leaf); background: var(--sage-soft); color: var(--olive); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .75rem; font-weight: 600; width: 100%; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--olive); color: var(--olive); display: grid; place-items: center; font-size: 1.8rem; line-height: 1; }
.stepper input { text-align: center; width: 110px !important; }
.pin { text-align: center; letter-spacing: .4em; font-size: 1.6rem !important; }
.err { color: #a23a22; font-weight: 500; min-height: 1.5em; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--tabs-h) + 18px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 500; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); white-space: nowrap; }
/* ---------- Phase 2: planner, clinic, inbox ---------- */
.form input[type="tel"], .form input[type="date"], .form input[type="email"] { width: 100%; font: 400 1.15rem var(--body); color: var(--ink); padding: 14px 16px; min-height: 58px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.stack { display: grid; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.btn.small { min-height: 50px; font-size: 1rem; }
.btn.picked { background: var(--olive); color: #fff; }

/* One question per screen */
.wiz { padding: 10px var(--pad) 40px; }
.wiz-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.wiz-top .backbtn { width: 52px; height: 52px; display: grid; place-items: center; margin-left: -14px; flex: none; }
.bar { flex: 1; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 5px; background: var(--olive); transition: width .25s; }
.wiz .q { margin-bottom: 8px; }
.wiz .hint { margin-bottom: 4px; }
.wiz .q + .picks, .wiz .hint + .picks, .wiz .q + .form, .wiz .hint + .form, .wiz .q + .photos, .wiz .hint + .photos, .wiz .q + .pcards, .wiz .hint + .pcards, .wiz .q + .terms { margin-top: 20px; }
.wiz-foot { margin-top: 26px; display: grid; gap: 10px; }
.picks.one { grid-template-columns: 1fr; }
.picks.four { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.picks.four .pick { font-size: .9rem; padding: 8px 2px; }
.picks.one .pick { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 12px 16px; min-height: 84px; font-size: 1.1rem; text-align: left; flex-wrap: wrap; }
.picks.one .pick small { flex-basis: 100%; color: var(--muted); font-weight: 400; font-size: .92rem; margin-top: -8px; }
.wiz .picks.two .pick { min-height: 110px; font-size: 1.05rem; }
.wiz .picks.two .pick .pic { width: 64px; height: 64px; }
.page .picks.two .pick { min-height: 64px; }
.pick-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--sage-soft); color: var(--olive); display: grid; place-items: center; flex: none; }
.pick.on .pick-ic { background: #fff; }
.pick-ic .ic { width: 30px; height: 30px; }
.wiz .photos { grid-template-columns: repeat(3, 1fr); }
.privacy { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; color: var(--muted); background: var(--beige); padding: 12px 14px; border-radius: 14px; }
.privacy .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--brown); }

/* Planner plant cards */
.pcards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px; scrollbar-width: none; }
.pcards::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 74%; scroll-snap-align: center; display: grid; gap: 10px; }
.pcard .thumb { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--beige); }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcard b { font: 400 1.3rem var(--display); }
.ic-thumb { display: grid; place-items: center; background: var(--sage-soft) !important; color: var(--olive); }
.ic-thumb .ic { width: 32px; height: 32px; }
.row span { display: block; }
.row .picked { color: var(--olive-deep); font-weight: 500; }
.row.menu > .ic { color: var(--muted); }
.count-dot { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; background: var(--coral); color: #fff; font: 600 .9rem/28px var(--body); text-align: center; font-style: normal; }

/* Clinic */
.terms { list-style: none; display: grid; gap: 10px; }
.terms li { position: relative; padding-left: 24px; }
.terms li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.check-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; margin-top: 20px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font-weight: 600; font-size: 1.1rem; text-align: left; }
.check-row i { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--leaf); display: grid; place-items: center; color: transparent; flex: none; }
.check-row[aria-checked="true"] { border-color: var(--olive); background: var(--sage-soft); }
.check-row[aria-checked="true"] i { background: var(--olive); border-color: var(--olive); color: #fff; }
.big-ic.ok { background: var(--olive); color: #fff; }
.ticket { background: var(--beige); border-radius: 16px; padding: 14px 26px; color: var(--brown); }
.ticket b { display: block; font: 500 1.7rem var(--display); letter-spacing: .04em; color: var(--ink); }

/* Inbox and records */
.box { display: grid; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; }
.box b { font: 500 1.1rem var(--display); }
.box span { color: var(--muted); font-size: .98rem; }
.photos.big { grid-template-columns: repeat(2, 1fr); margin-bottom: 14px; }
.badge.st-new { background: #f8ddd5; color: #a23a22; }
.badge.st-replied, .badge.st-waiting-approval { background: #fdf1cf; color: #7d5a08; }
.badge.st-done, .badge.st-collected, .badge.st-ready-for-pickup { background: var(--sage-soft); color: var(--olive-deep); }
.badge.st-in-treatment, .badge.st-received { background: #e4eef0; color: #2f5560; }
.row .badge { margin-left: 0; flex: none; }
.row .grow .badge { margin-top: 4px; }
.danger-link { color: #a23a22; }
.page .group > p { margin-top: 26px; }

/* Clinic QR card */
.qr-card { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 28px 20px; margin-bottom: 20px; background: #fff; border: 2px solid var(--line); border-radius: 20px; }
.qr-card > img { height: 54px; width: auto; }
.qr-box { width: min(100%, 280px); }
.qr-box svg { width: 100%; height: auto; }
.qr-card small { color: var(--muted); }
@media print {
  .top, .tabs, .no-print, .page-head, .toast { display: none !important; }
  body { padding: 0; background: #fff; }
  .qr-card { border: 0; margin-top: 40px; }
}
/* ---------- Phase 3: cart, orders, business pages ---------- */
.top-right { display: flex; margin-right: -10px; }
.top-right .top-fav { margin-right: 0; }
.post-body .center, .cta .center { margin-top: 4px; }
.wa-link { color: var(--wa); }
.detail .post-body { padding-bottom: 180px; }
.cta { margin-top: -150px; }
.form select { width: 100%; font: 400 1.15rem var(--body); color: var(--ink); padding: 14px 16px; min-height: 58px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.form h2 { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--olive); }
.form h2:first-child { border: 0; padding-top: 0; margin-top: 0; }
.cart-row { align-items: flex-start; }
.cart-row em { font-style: normal; font-weight: 600; color: var(--brown); white-space: nowrap; }
.cart-row.chosen { border-color: var(--olive); background: var(--sage-soft); }
.stepper.mini { margin-top: 8px; gap: 10px; }
.stepper.mini button { width: 48px; height: 48px; font-size: 1.5rem; }
.stepper.mini button:disabled { opacity: .35; }
.stepper.mini i { min-width: 32px; text-align: center; font-style: normal; font-weight: 600; font-size: 1.2rem; }
.inline-price { display: none; margin-top: 10px; font-size: .95rem; color: var(--muted); }
.chosen .inline-price { display: block; }
.inline-price input { width: 130px !important; min-height: 48px !important; padding: 8px 12px !important; margin-left: 6px; }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 4px 4px; font-size: 1.15rem; }
.sum b { font: 500 1.6rem var(--display); color: var(--brown); }
.box .line { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.box .line i { font-style: normal; }
.box .line i:last-child { text-align: right; white-space: nowrap; font-weight: 500; }
.box .line small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; white-space: normal; }
.box .line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 600; font-size: 1.1rem; }
.box.bank { text-align: left; width: 100%; background: var(--beige); border: 0; }
.box.bank .acct { font: 500 1.6rem var(--display); color: var(--ink); letter-spacing: .06em; }
.hint .ic { display: inline-block; vertical-align: -5px; width: 22px; height: 22px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats div { background: var(--sage-soft); border-radius: 16px; padding: 14px 16px; }
.stats div:last-child { grid-column: span 2; background: var(--beige); }
.stats span { display: block; font-size: .9rem; color: var(--muted); }
.stats b { font: 500 1.6rem var(--display); }
.warn { display: grid; gap: 4px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: #f8ddd5; color: #7c2a17; }
.warn b { display: flex; align-items: center; gap: 8px; }
.warn .ic { width: 20px; height: 20px; }
.area-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.badge.st-paid { background: #fdf1cf; color: #7d5a08; }
.badge.st-delivered { background: var(--sage-soft); color: var(--olive-deep); }
/* ---------- Phase 4: tags, maintenance, staff ---------- */
.tagpage .swiper { max-height: 60vh; width: 100%; }
.tagpage .swiper img { width: 100%; height: 100%; object-fit: cover; }
.tagpage h3 { margin: 18px 0 6px; color: var(--olive); }
.eyebrow { font: 500 .85rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); margin-bottom: 6px; }
button.row { width: 100%; text-align: left; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; overflow-wrap: anywhere; color: var(--ink) !important; }
.steps { list-style: none; display: grid; gap: 4px; margin: 14px 0; }
.steps li { display: flex; align-items: center; gap: 14px; min-height: 48px; color: var(--muted); }
.steps li i { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: #fff; flex: none; }
.steps li i .ic { width: 18px; height: 18px; }
.steps li.past i { background: var(--leaf); border-color: var(--leaf); }
.steps li.now { color: var(--ink); font-weight: 600; font-size: 1.15rem; }
.steps li.now i { background: var(--olive); border-color: var(--olive); box-shadow: 0 0 0 4px var(--sage); }
.box .chips { margin: 6px 0 2px; }
.summary { white-space: pre-wrap; font: 400 1rem/1.6 var(--body); background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; margin: 14px 0; }
.stickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.stickers.one { grid-template-columns: 160px; justify-content: center; }
.sticker { display: grid; justify-items: center; gap: 4px; padding: 10px 8px; border: 1.5px dashed var(--leaf); border-radius: 10px; background: #fff; text-align: center; }
.sticker svg { width: 100%; height: auto; }
.sticker img { width: 78%; height: auto; }
.sticker b { font: 500 .82rem var(--display); letter-spacing: .04em; }
@media print {
  .wiz-top, .note { display: none !important; }
  .stickers { grid-template-columns: repeat(4, 1fr); gap: 4mm; }
  .sticker { break-inside: avoid; border-color: #999; }
  .summary { border: 0; padding: 0; font-size: 12pt; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
