/* ==========================================================================
   Concept board layouts (2026-11): place card, You tab, business owner page.
   Loads after style.css (index.html links it; page.css imports it), so it only
   overrides. Tokens come from the "Theme 2026-11" block in style.css. The only
   art is the logo and the pixel map: pictures here are the owner's own photos
   or a map crop (SNThumb), never stock.
   Type scale: page and card headings 26 to 28px, section titles 22px, card
   titles 18 to 20px, body 16px, labels and meta 14px or more.
   ========================================================================== */

/* A map crop that couldn't be drawn takes no room. */
.no-thumb { display: none; }

/* ---------- Place card ---------- */
#card .venue { position: relative; }
#card .card-hero { height: 140px; margin: 0 6px 12px 1px; overflow: hidden; background: var(--surface-2);
  border-radius: var(--r-card) var(--r-card) var(--r-ctl) var(--r-ctl); }
#card .card-hero.no-thumb { display: none; }
#card .card-hero > img, #card .card-hero > canvas, #card .card-hero > picture, #card .card-hero > div {
  display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
/* Round close button, floating over the picture's corner (or beside the name when there is no picture). */
#card .card-x { position: absolute; top: 8px; right: 14px; z-index: 2; box-sizing: border-box; width: 44px; height: 44px; padding: 0; border: 0;
  border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; background-color: var(--field); color: var(--ink);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
#card .card-hero.no-thumb + .card-x { top: 0; right: 6px; }
#card .card-hero.no-thumb ~ h2 { margin-right: 58px; min-height: 44px; }
#card:has(.card-x) > .close { display: none; }
html.explore-ui #shorenav:not(.collapsed):not(.sheet-peek) > #card:has(.card-x) > .card-back { display: none; }

#card .venue h2 { font-size: 27px !important; line-height: 1.15 !important; }
#card .venue .card-x ~ h2 { margin-left: 1px; margin-bottom: 4px; }
#card .venue .card-hero:not(.no-thumb) ~ h2 { margin-right: 6px; }
#card .venue .verified, #card .venue .sc-facts, #card .venue .fine, #card .venue .note, #card .venue .checked, #card .venue .hours-line .fine { font-size: 14px; }
#card .venue .info { font-size: 15px; }

/* One meta line: kind and town, the open pill, up to two facts. */
#card .venue .kind { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 2px 6px 0 1px; padding-bottom: 0; border-bottom: 0;
  font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
#card .venue .kind b { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; line-height: 1.3; }
#card .venue .kind b::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
#card .venue .kind b.open { background: rgba(46, 93, 71, .12); color: var(--green); box-shadow: inset 0 0 0 1px rgba(46, 93, 71, .35); }
#card .venue .kind b.closed { background: rgba(139, 58, 58, .1); color: var(--red-deep); box-shadow: inset 0 0 0 1px rgba(139, 58, 58, .3); }
#card .venue .kind b.soon { background: #f6e7bd; color: #5a4300; box-shadow: inset 0 0 0 1px rgba(90, 67, 0, .3); }
#card .venue .kind .kind-tag { padding: 3px 10px; border-radius: var(--r-pill); font-size: 14px; line-height: 1.3; background: var(--surface-2); color: var(--ink); }

/* Four action tiles, icon above label. Four across while each tile has room for its word; two by two on a narrow
   panel or at a large text size (the basis flips at a 282px row, so nothing is clipped at 320px or at 130%). */
#card .quick-acts.main-acts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 6px 10px 1px; }
#card .quick-acts.main-acts .qa { box-sizing: border-box; flex: 1 1 clamp(20%, (282px - 100%) * 999, 46%); min-width: 0; min-height: 68px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 0; border: 0; border-radius: var(--r-ctl);
  font-size: 14px; font-weight: 700; line-height: 1.15; letter-spacing: 0; white-space: normal; text-align: center; overflow: visible; }
#card .quick-acts.main-acts .qa.qa-go { min-width: 27%; }  /* "Directions" is the longest word */
#card .main-acts .qa .qa-ic { display: grid; place-items: center; height: 24px; }
#card .main-acts .qa .qa-ic svg { display: block; }
#card .main-acts .qa .qa-ic ~ img.gl { display: none; }  /* the line icon stands in for the old glyph; the label text is unchanged */
/* Saved, in my plan, following: tinted with a red ring, so Directions stays the one filled tile. */
#card .main-acts .qa[aria-pressed="true"], #card .main-acts .qa[aria-pressed="true"]:hover {
  background-color: rgba(139, 58, 58, .1) !important; color: var(--red-deep) !important; box-shadow: inset 0 0 0 2px var(--red) !important; }
#card .main-acts .qa[aria-pressed="true"] svg { color: var(--red-deep) !important; }
#card .main-acts .qa-save[aria-pressed="true"] .qa-ic svg, #card .main-acts .qa-follow[aria-pressed="true"] .qa-ic svg { fill: currentColor; }
#card .main-acts .qa.qa-go svg { color: #fff; }

/* Claim row: store icon, two lines, chevron. */
#card a.claim-row { box-sizing: border-box; justify-content: flex-start; gap: 12px; min-height: 64px; margin: 10px 6px 10px 1px; padding: 10px 12px; }
#card a.claim-row .cr-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(139, 58, 58, .1); color: var(--red); }
#card a.claim-row .cr-ic:empty { display: none; }
#card a.claim-row .cr-text { flex: 1 1 auto; min-width: 0; font-size: 16px; line-height: 1.3; }
#card a.claim-row .cr-chev { flex: none; display: grid; place-items: center; color: var(--ink-soft); }

/* Facts line, then the owner's photos two across. */
#card .venue .card-desc { margin: 10px 6px 10px 1px; font-size: 16px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
#card .venue .owner-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 6px 10px 1px; overflow: visible; }
#card .venue .owner-pics img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-ctl); }
#card .venue .owner-pics img:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* Share and Lists: quiet secondary buttons. Then contact, corrections and the fold. */
#card .venue .top-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 6px 8px 1px; }
#card .venue .top-acts button { flex: 1 1 0; min-width: 0; min-height: 44px; font-size: 14px; background-color: transparent; box-shadow: 0 0 0 1px var(--line); }
#card .venue .top-acts button:hover { background-color: var(--field); }
#card .venue .contact-acts { margin: 8px 6px 8px 1px; gap: 8px; }
#card .venue .sc-wrong { min-height: 44px; font-size: 14px; }
#card .more-info { margin: 8px 0; border-top: 1px solid var(--line); }
#card .more-info summary { padding: 12px 0; font-size: 15px; }
#card .more-info .feat { font-size: 14px; padding: 2px 10px; border: 0; border-radius: var(--r-pill); background: var(--surface-2); }
#card .card-actions button, #card .card-actions a { min-height: 44px; }
#card .primary-act { box-sizing: border-box; min-height: 48px; font-size: 16px; }

/* Events on a card: title, one date line with the calendar icon, the plan button first. */
#card .sub { margin: 16px 0 0; font: 700 18px/1.2 var(--head); letter-spacing: 0; text-transform: none; color: var(--ink); }
#card .event { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
#card .event h3 { font-size: 20px; line-height: 1.2; }
#card .event.compact h3 { font-size: 18px; }
#card .event .when { display: flex; align-items: center; gap: 6px; margin: 4px 0; font-size: 15px; color: var(--red); }
#card .event .when svg { flex: none; }
#card .event .info, #card .event .claim { font-size: 14px; }

/* ---------- You tab ---------- */
.mys .mys-head { gap: 10px; min-height: 48px; }
.mys .mys-head .mys-h { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 28px; line-height: 1.1; }
.mys:not([data-page="overview"]) .mys-head .mys-h { display: none; }
.mys[data-page="overview"] .mys-head .mys-me { display: none; }
.mys .mys-head .invite-btn { display: none; }  /* Invite is a quiet row at the foot of the overview now */
.mys .mys-x { box-sizing: border-box; flex: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; line-height: 1; background-color: transparent; box-shadow: 0 0 0 1px var(--line); }
.mys .mys-title { font-size: 22px; }
.mys .mys-me-text small { font-size: 14px; color: var(--ink-soft); }
/* The round photo; no photo yet is the person icon in a tinted circle. */
.mys .mys-me-photo { box-sizing: border-box; border: 0 !important; background-color: var(--surface-2); color: var(--red); box-shadow: 0 0 0 1px var(--line-strong); }
.mys .mys-me-photo.empty, .mys .mys-me-photo.empty:hover { background-color: rgba(139, 58, 58, .1); box-shadow: 0 0 0 1px rgba(139, 58, 58, .28); }
.mys .you-me .mys-me-photo { width: 72px; height: 72px; }

.mys .you-over { gap: 14px; }
.you-me { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 2px 2px 6px; }
.you-me-t { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.you-me-t > b { font: 700 20px/1.2 var(--head); overflow-wrap: anywhere; }
.you-me-t > small { font-size: 14px; line-height: 1.3; color: var(--ink-soft); }
.you-streak-pill { box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 2px; padding: 6px 16px 6px 12px; border: 0;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 700; line-height: 1.2; text-align: left; white-space: normal;
  background-color: #f6e7bd; color: #4a3600; box-shadow: 0 0 0 1px rgba(90, 67, 0, .28); }
.you-streak-pill:hover { background-color: #f9eecb; box-shadow: 0 0 0 1px rgba(90, 67, 0, .5); }
.you-streak-pill.none { background-color: var(--field); color: var(--red-deep); box-shadow: 0 0 0 1px var(--line-strong); }
.you-streak-pill .you-ic { flex: none; display: grid; place-items: center; color: var(--red); }
.you-streak-pill .you-ic:empty { display: none; }

/* Rows: line icon, title, real count, chevron. */
.mys button.you-row { box-sizing: border-box; gap: 12px; min-height: 60px; padding: 8px 12px; border: 0; border-radius: var(--r-ctl); font-size: 16px; line-height: 1.25; }
.you-row .you-ic { flex: none; width: 28px; display: grid; place-items: center; color: inherit; }
.you-row .you-ic:empty { display: none; }
.you-row .you-row-t b { font-size: 17px; line-height: 1.25; }
.you-row .you-row-t small { font-size: 14px; }
.you-row .you-count { font-size: 16px; color: var(--ink-soft); }
.you-row .you-chev { flex: none; display: grid; place-items: center; }
.you-row.you-signin .you-count { color: inherit; }
.mys .you-quiet button.you-row { min-height: 48px; background-color: transparent; box-shadow: none; color: var(--ink-soft); }
.mys .you-quiet button.you-row:hover { background-color: rgba(43, 38, 32, .06); }
.mys .you-quiet .you-row-t b { font-size: 15px; }
.mys .you-signed { font-size: 14px; }
/* Primary buttons inside the profile are filled, as on the card. */
.mys .primary-act { box-sizing: border-box; min-height: 44px; background-color: var(--red); color: #fff; box-shadow: none; }
.mys .primary-act:hover { background-color: var(--red-deep); }

/* ---------- Business owner page (business.html) and the owner guide (owners.html) ---------- */
body.biz-page { font-size: 16px; }
body.biz-page main { border-width: 8px; padding: 12px 16px 24px; }
body.biz-page h1 { font-size: 28px; line-height: 1.15; }
body.biz-page h2 { font-size: 22px; line-height: 1.2; margin: 24px 0 8px; }
body.biz-page h3 { font-size: 20px; line-height: 1.2; }
body.biz-page .fine { font-size: 14px; line-height: 1.45; }
body.biz-page .back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 4px; }

/* The pitch: icon, headline, one line, a factual stat tile, the free checklist, one button. */
body.biz-page .pitch { display: grid; justify-items: center; gap: 10px; padding: 4px 0 6px; text-align: center; }
body.biz-page .pitch-ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: rgba(139, 58, 58, .1); color: var(--red); }
body.biz-page .pitch-ic:empty, body.biz-page .pitch-stat .ps-ic:empty { display: none; }
body.biz-page .pitch .pitch-head { margin: 4px 0 0; font-size: 28px; line-height: 1.15; }
body.biz-page .pitch .pitch-line { margin: 0; max-width: 34em; font-size: 17px; line-height: 1.4; color: var(--ink-soft); }
body.biz-page .pitch-stat { box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 14px 16px; text-align: left;
  border-radius: var(--r-ctl); background: var(--field); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
body.biz-page .pitch-stat .ps-ic { flex: none; display: grid; place-items: center; color: var(--green); }
body.biz-page .pitch-stat p { margin: 0; min-width: 0; font: 700 18px/1.25 var(--head); }
body.biz-page .pitch-stat p b { font-size: 24px; font-variant-numeric: tabular-nums; }
body.biz-page .pitch .pitch-sub { justify-self: start; margin: 10px 0 0; font-size: 22px; text-align: left; }
body.biz-page .pitch .pitch-list { width: 100%; margin: 0; gap: 10px; text-align: left; font-size: 16px; line-height: 1.4; }
body.biz-page .pitch button.pitch-go { width: 100%; margin-top: 6px; min-height: 52px; font-size: 17px; }

/* Buttons and fields. */
body.biz-page button:not(.linkish) { box-sizing: border-box; min-height: 44px; font-size: 15px; }
body.biz-page a.primary-act, body.biz-page button.primary-act { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border: 0;
  border-radius: var(--r-ctl); background-color: var(--red); color: #fff; box-shadow: none; font: 700 16px/1.2 var(--type); text-decoration: none; }
body.biz-page a.primary-act:hover, body.biz-page button.primary-act:hover { background-color: var(--red-deep); }
body.biz-page label:not(.choice) { margin: 12px 0 4px; font-size: 15px; }
body.biz-page input[type=text], body.biz-page input[type=url], body.biz-page input[type=email], body.biz-page input[type=tel], body.biz-page input[type=number],
body.biz-page textarea, body.biz-page select { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 12px; font-size: 16px; background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl); }
body.biz-page .checks label, body.biz-page #honest-line label, body.biz-page .addr-choice .choice { font-size: 14px; line-height: 1.4; }

/* Three short steps: a slim 1-2-3 progress row, and each step is a card. */
body.biz-page .lede { margin: 14px 0 8px; font-size: 15px; text-align: center; }
body.biz-page .steps-dots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 16px; font-size: 14px; }
body.biz-page .steps-dots b { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 8px 0 0; outline: 0; border-top: 4px solid var(--line-strong);
  font-weight: 400; line-height: 1.2; color: var(--ink-soft); }
body.biz-page .steps-dots b.on { background: none; border-top-color: var(--red); font-weight: 700; color: var(--ink); }
body.biz-page .steps-dots .sd-n { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font: 700 14px/1 var(--type);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
body.biz-page .steps-dots b.on .sd-n { background: var(--red); color: #fff; box-shadow: none; }
body.biz-page .step.on { margin: 0 0 16px; padding: 16px; background: var(--field); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
body.biz-page .step h2 { margin: 0 0 6px; font-size: 22px; }
body.biz-page .found { gap: 8px; }
body.biz-page .found li { box-sizing: border-box; min-height: 60px; padding: 10px 12px; outline: 0; background: #fff; border-radius: var(--r-ctl); box-shadow: 0 0 0 1px var(--line); }
body.biz-page .found li span { min-width: 0; overflow-wrap: anywhere; } body.biz-page .found li small { font-size: 14px; }
body.biz-page .found li button { flex: none; }
body.biz-page .sum, body.biz-page .preview, body.biz-page #qr { outline: 0; background: #fff; border-radius: var(--r-ctl); box-shadow: 0 0 0 1px var(--line); }
body.biz-page .sum { font-size: 15px; }
body.biz-page .warn, body.biz-page .demo { outline: 0; border-radius: var(--r-ctl); box-shadow: inset 0 0 0 1px var(--red); font-size: 14px; }

/* Plans: three cards, the price large. */
body.biz-page .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
body.biz-page .plan { min-width: 0; padding: 18px 16px; border: 0; background: var(--field); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
body.biz-page .plan h2, body.biz-page .plan h3 { margin: 0; padding: 0; border: 0; font-size: 20px; }
body.biz-page .plan .price { margin: 6px 0 2px; font: 700 34px/1.1 var(--head); color: var(--red); }
body.biz-page .plan .price small { margin-left: 2px; font-size: 15px; font-weight: 400; color: var(--ink-soft); }
body.biz-page .plan > .fine { margin: 0; }
body.biz-page .plan ul { list-style: none; display: grid; align-content: start; gap: 8px; margin: 12px 0 0; padding: 0; font-size: 15px; line-height: 1.4; }
body.biz-page .plan li { position: relative; margin: 0; padding-left: 26px; }
body.biz-page .plan li::before { content: "\2713"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
body.biz-page .plan.best { outline: 0; box-shadow: 0 0 0 2px var(--red), var(--shadow-sm); }
@media (max-width: 760px) { body.biz-page .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  body.biz-page { padding: 8px; }
  body.biz-page main { border-width: 0; padding: 12px 14px 24px; }
  body.biz-page h1 { font-size: 26px; margin-bottom: 4px; }
  body.biz-page .pitch .pitch-head { font-size: 26px; }
  body.biz-page .step.on { padding: 14px 12px; }
}

/* Owner guide: pill contents list, section rules, steps as cards. */
body.owner-guide h2 { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
body.owner-guide .toc { gap: 8px; font-size: 14px; }
body.owner-guide .toc a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 4px 14px; border: 0; border-radius: var(--r-pill);
  background: var(--field); color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); }
body.owner-guide .how { margin: 10px 0; padding: 12px 16px 12px 36px; background: var(--field); border: 0; border-radius: var(--r-ctl); box-shadow: 0 0 0 1px var(--line); }
body.owner-guide .how li { margin: 6px 0; }
body.owner-guide .plan .price { font-size: 26px; }

/* The owner's own map card while a claim waits for verification (owner-card.js): Review your details first, then the check, then a quiet way out */
.own-box > a:not(.primary-act), .own-box > button.linkish { justify-self: start; min-height: 32px; display: inline-flex; align-items: center; }
