/* ==========================================================================
   Concept board layouts (2026-11), account and scout screens: Shore Scout,
   Saved places and Plans, Sign in, the business dashboard, and the other You
   pages (Friends, Journal, Badges, Profile and notifications).
   Loads last (index.html links it after concept-c.css; page.css imports it
   after concept-b.css), so it only overrides. Tokens come from the
   "Theme 2026-11" block in style.css; rows reuse .row-card from concept-a.css.
   The only art is the logo and the pixel map: every picture here is a map crop
   (SNThumb) or nothing.
   Type scale: headings 26 to 28px, section titles 20 to 22px, row titles 16 to
   18px, body 16px, meta 14px. Taps 44px.
   1. Shared pieces   2. Shore Scout   3. Sign in   4. You pages
   5. Saved and Plan panels   6. Business dashboard
   ========================================================================== */

/* ---------- 1. Shared pieces ---------- */

/* Action row: leading icon in a tinted square, title (and one quiet line), chevron. A link or a button. */
a.act-row, button.act-row { box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; min-height: 60px; margin: 0; padding: 8px 12px 8px 10px;
  border: 0; border-radius: var(--r-ctl); background-color: var(--field); box-shadow: 0 0 0 1px var(--line-strong); color: var(--ink);
  font: 700 17px/1.25 var(--type); text-align: left; text-decoration: none; cursor: pointer; }
a.act-row:hover, button.act-row:hover { background-color: #fff; box-shadow: 0 0 0 1px var(--ink-soft); }
.act-row .ar-t { flex: 1 1 0; min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
.act-row .ar-t small { font: 400 14px/1.3 var(--type); color: var(--ink-soft); }
.act-row > .sn-ic { color: var(--ink-soft); }
.ar-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(139, 58, 58, .1); color: var(--red); }
.ar-ic:empty { display: none; }
.act-rows { display: grid; gap: 10px; min-width: 0; }

/* A titled card. */
.d-card { min-width: 0; padding: 16px; background: var(--field); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.d-card > h3 { margin: 0 0 10px; font: 700 21px/1.2 var(--head); }
/* An empty state: one plain line. */
.d-empty { list-style: none; margin: 0; padding: 2px 0; font-size: 16px; line-height: 1.4; color: var(--ink-soft); }

/* "Plan tools": one row that opens (the You page's Plans, and the plan panel). */
details.plan-tools { margin: 0 0 14px; min-width: 0; }
details.plan-tools > summary { list-style: none; }
details.plan-tools > summary::-webkit-details-marker { display: none; }
details.plan-tools > summary > .sn-ic { transition: transform .15s; }
details.plan-tools[open] > summary > .sn-ic { transform: rotate(90deg); }
.plan-tools .pt-in { display: grid; gap: 8px; padding: 10px 0 0; min-width: 0; }
.plan-tools .pt-dates, .plan-tools .trip-dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; margin: 0; }
.plan-tools .pt-dates label, .plan-tools .trip-dates label { display: grid; gap: 4px; min-width: 0; font-size: 14px; font-weight: 700; }
.plan-tools .pt-dates input, .plan-tools .trip-dates input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 6px 10px; font: 400 16px var(--type);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); }
.plan-tools .trip-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-tools .trip-tools button { min-height: 44px; padding: 6px 14px; font-size: 14px; }
body.print-trip .plan-tools { display: none; }
@media (prefers-reduced-motion: reduce) { details.plan-tools > summary > .sn-ic, .sw, .sw::after { transition: none; } }

/* ---------- 2. Shore Scout ---------- */
.sc { gap: 12px; padding: 16px; width: min(420px, calc(100vw - 16px)); max-height: calc(100dvh - var(--dock, 0px) - 24px); top: calc((100dvh - var(--dock, 0px)) / 2); font-size: 16px; }
.sc .sc-top { gap: 10px; min-height: 44px; }
.sc .sc-h { flex: 1 1 auto; min-width: 0; margin: 0; font: 700 27px/1.15 var(--head); }
.sc .sc-x { flex: none; width: 44px; height: 44px; 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); }
/* progress: "2 of 5", five dots, the streak pill at the right */
.sc-prog { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.sc-prog .sc-count { font: 700 16px/1.2 var(--type); font-variant-numeric: tabular-nums; }
.sc .sc-dots { flex: none; justify-content: flex-start; gap: 6px; }
.sc .sc-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
.sc .sc-dots i.on { background: var(--red); }
.sc .sc-dots i.now { background: var(--red); box-shadow: 0 0 0 3px rgba(139, 58, 58, .22); }
.sc .sc-streak { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 36px; padding: 4px 14px 4px 10px; border-radius: var(--r-pill);
  background: var(--red); color: #fff; font: 700 14px/1.2 var(--type); white-space: nowrap; }
/* the card: question, map crop, place name and town */
.sc-card { justify-items: center; gap: 10px; min-height: 0; padding: 16px 14px; border: 0; border-radius: 16px; background: var(--field); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); text-align: center; }
.sc-card > * { min-width: 0; max-width: 100%; }
.sc .sc-kind { font: 700 14px/1.2 var(--type); letter-spacing: 0; color: var(--red); }
.sc .sc-kind:empty { display: none; }
.sc .sc-q { font: 700 22px/1.25 var(--head); overflow-wrap: anywhere; }
.sc-thumb { justify-self: stretch; width: 100%; max-width: 320px; height: 150px; margin: 0 auto; border-radius: var(--r-ctl); overflow: hidden; background: var(--surface-2); pointer-events: none; }
.sc-thumb canvas { width: 100% !important; height: 100% !important; object-fit: cover; }
.sc-thumb.no-thumb { display: none; }
.sc .sc-map { justify-self: stretch; width: 100%; border: 0; border-radius: var(--r-ctl); }
.sc-where { display: grid; gap: 2px; margin: 0; }
.sc-where b { font: 700 18px/1.25 var(--head); overflow-wrap: anywhere; }
.sc-where span { font-size: 14px; color: var(--ink-soft); }
/* answers: two large buttons side by side (a longer set stacks), then the quiet "Not sure" */
.sc .sc-btns, .sc .sc-btns.yn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sc .sc-btns:not(.yn) { grid-template-columns: minmax(0, 1fr); }
.sc .sc-opt { min-width: 0; min-height: 54px; padding: 8px 10px; font: 700 18px/1.2 var(--type); white-space: normal; overflow-wrap: anywhere; }
.sc .sc-yes, .sc .primary-act { background-color: var(--red); color: #fff; box-shadow: none; }
.sc .sc-yes:hover, .sc .primary-act:hover { background-color: var(--red-deep); box-shadow: none; }
.sc .sc-opt.unsure { grid-column: 1 / -1; justify-self: center; min-height: 44px; padding: 4px 16px; font: 400 16px/1.2 var(--type); text-decoration: underline; color: var(--ink-soft);
  background-color: transparent; box-shadow: none; }
.sc .sc-fb { font-size: 16px; line-height: 1.35; }
.sc .sc-fb:empty { min-height: 0; }
.sc .sc-fb.good { color: var(--green); }
.sc-help { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 14px; line-height: 1.35; color: var(--ink-soft); text-align: left; }
.sc-help .sn-ic { flex: none; }
/* finished: the streak, the result, back to Explore */
.sc .sc-sum { gap: 10px; }
.sc .sc-sum p { margin: 0; font-size: 16px; }
.sc .sc-sum .fine, .sc > .fine { font-size: 14px; }
.sc .sc-big { display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 26px/1.15 var(--head); }
.sc .sc-big .sn-ic { color: var(--red); }
.sc .sc-result { text-align: center; }
.sc .sc-badge-new { padding: 8px 10px; border-radius: var(--r-ctl); background: #f6e7bd; }
.sc .sc-row { font-size: 16px; } .sc .sc-row .fine { font-size: 14px; }
.sc .sc-acts { display: grid; gap: 8px; margin-top: 4px; }
.sc .sc-acts button, .sc > button { min-height: 48px; font-size: 16px; font-weight: 700; }
.sc .sc-welcome h2 { font: 700 22px/1.2 var(--head); }
.sc .sc-welcome p, .sc .sc-welcome li { font-size: 16px; }
.sc .sc-welcome .primary-act { width: 100%; min-height: 50px; font-size: 17px; font-weight: 700; }
/* progress bars and badge cards, here and in the profile */
.sc-bar { height: 10px; border-radius: 5px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.sc-bar i, .goal-bar i { background: var(--green); }
.goal-bar { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.badge-cards { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.badge-card { gap: 6px; padding: 12px; border: 0; border-radius: var(--r-ctl); background: var(--field); box-shadow: 0 0 0 1px var(--line); font-size: 16px; }
.badge-card.some { box-shadow: 0 0 0 1px var(--line-strong); }
.badge-card.done { background: rgba(46, 93, 71, .1); }
.badge-card .sc-row { flex-wrap: wrap; gap: 2px 10px; }
.badge-card .sc-row b { font: 700 17px/1.25 var(--head); }
.badge-card .fine { font-size: 14px; }
.badge-card .linkish { justify-self: start; min-height: 44px; padding: 0; font-size: 16px; }
.bc-stamps { gap: 6px; }
.bc-stamps span { padding: 2px 10px; border-radius: var(--r-pill); font-size: 14px; background: rgba(46, 93, 71, .14); color: var(--green); }
.todo-list { gap: 0; font-size: 16px; }
.todo-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; min-height: 44px; }
.todo-list .fine, .todo-list small { font-size: 14px; }
.list-tick { gap: 10px; min-height: 44px; }
.list-tick input[type=checkbox] { flex: none; width: 22px; height: 22px; accent-color: var(--red); }
.goal-town.mine b { color: var(--red-deep); }

/* ---------- 3. Sign in ---------- */
#acct { padding-bottom: var(--dock, 0px); }  /* the card is centered in the room above the tab bar */
html #acct section { box-sizing: border-box; width: min(400px, calc((100vw - 32px) / var(--ui-scale, 1))); max-height: calc((100dvh - var(--dock, 0px) - 24px) / var(--ui-scale, 1));
  overflow-y: auto; padding: 20px 14px 16px; border-width: 0; font-size: 16px; }
#acct h2 { margin: 0 48px 6px 2px; font: 700 27px/1.15 var(--head); }
#acct .close { top: 8px; right: 8px; width: 44px; height: 44px; 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); }
#acct .acct-lede { margin: 0 0 14px; font-size: 16px; line-height: 1.4; text-align: center; color: var(--ink); }
#acct label.acct-vh { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#acct #acct-form .acct-row { display: grid; gap: 10px; }
#acct.coded #acct-form .acct-row { display: none; }  /* the code takes the email row's place once it is sent */
#acct .acct-field { position: relative; display: block; min-width: 0; }
#acct .acct-field .sn-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
#acct .acct-field input { box-sizing: border-box; width: 100%; min-height: 50px; padding: 10px 12px 10px 44px; font: 400 16px var(--type); background: var(--field);
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl); }
#acct #acct-form button[type=submit] { width: 100%; min-height: 50px; font: 700 17px/1.2 var(--type); white-space: normal; }
#acct .acct-sent { margin: 10px 0 0; font-size: 15px; line-height: 1.4; text-align: center; }
#acct .acct-sent:empty { display: none; }
/* the code: six boxes */
#acct .acct-code { display: grid; gap: 8px; margin: 14px 0 6px; }
#acct .otp-label { margin: 0; font-size: 16px; text-align: center; }
#acct .otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 52px)); justify-content: center; gap: clamp(4px, 1.6vw, 8px); }
#acct .otp-boxes input { box-sizing: border-box; width: 100%; min-width: 0; height: 54px; padding: 0; text-align: center; font: 700 22px/1 var(--type); font-variant-numeric: tabular-nums;
  background: var(--field); border: 1px solid var(--line-strong); border-radius: 10px; }
#acct .acct-code .acct-name-in { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px var(--type); background: var(--field);
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl); }
#acct .acct-code .linkish { justify-self: center; min-height: 44px; font-size: 15px; }
#acct .acct-age { margin: 12px 0 0; font-size: 14px; line-height: 1.4; text-align: center; color: var(--ink-soft); }
#acct .acct-or { margin: 10px 0 6px; font-size: 14px; text-align: center; }
#acct .acct-google { min-height: 48px; font-size: 16px; }
#acct #acct-in > .note:not(.acct-age) { margin: 10px 0 0; font-size: 14px; line-height: 1.4; }
#acct #acct-me button { min-height: 44px; font-size: 15px; }
#acct #acct-me .to-profile { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- 4. You pages (everything but the overview) ---------- */
.mys .mys-nav { flex-wrap: wrap; gap: 0 8px; margin-bottom: 10px; }
.mys .mys-nav .mys-back { min-height: 44px; font-size: 16px; }
.mys .mys-nav .mys-title { flex: 1 1 100%; min-width: 0; font: 700 27px/1.15 var(--head); overflow-wrap: anywhere; }
.mys .mys-body { font-size: 16px; }
.mys .mys-body .fine { font-size: 14px; line-height: 1.4; }
.mys :where(.mys-body) :where(button:not(.linkish):not(.sw-row)) { min-height: 44px; }  /* low weight: rows and chips set their own */
.mys .mys-tools button { min-width: 44px; min-height: 44px; }
.mys .mys-body .linkish { font-size: 15px; }
.mys .mys-body select, .mys .mys-body input[type=text], .mys .mys-body input[type=search], .mys .mys-body input[type=time], .mys .mys-body textarea {
  box-sizing: border-box; max-width: 100%; min-height: 44px; padding: 8px 10px; font-size: 16px; }
/* each section is a titled card */
.mys .mys-sec { min-width: 0; margin: 0 0 14px; padding: 14px 14px 12px; background: var(--field); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.mys .mys-sec > h3 { margin: 0 0 10px; font: 700 21px/1.2 var(--head); overflow-wrap: anywhere; }
.mys .mys-sec > :last-child { margin-bottom: 0; }
.mys .mys-acts { gap: 8px; margin: 10px 0 0; }
.mys .mys-acts a { min-height: 44px; }
.mys .mys-acts a.primary-act { box-sizing: border-box; padding: 8px 16px; border-radius: var(--r-ctl); background-color: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.mys .mys-jump, .mys .mys-sort { gap: 8px; margin: 0 0 12px; }
.mys .mys-jump .chip, .mys .mys-sort .chip { min-height: 44px; padding: 4px 14px; font-size: 14px; }
.mys .mys-view { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.mys .mys-view button { min-height: 44px; font-size: 16px; font-weight: 700; }
.mys details.mys-fold > summary { display: flex; align-items: center; min-height: 48px; padding: 8px 0; font: 700 18px/1.25 var(--head); }
.mys .mys-stats { gap: 8px; margin-bottom: 10px; }
.mys .mys-stats div { min-width: 0; padding: 10px; border: 0; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: center; }
.mys .mys-stats b { font: 700 26px/1.1 var(--head); font-variant-numeric: tabular-nums; }
.mys .mys-stats span { font-size: 14px; opacity: 1; color: var(--ink-soft); }
.mys .mys-st { font-size: 14px; }
/* plain lists inside the cards: Following, Friends, History */
.mys .mys-body .list li { font-size: 16px; border-bottom-color: var(--line); }
.mys .mys-body .list li:last-child { border-bottom: 0; }
.mys .mys-body .list li strong { font-size: 17px; line-height: 1.3; }
.mys .mys-body .list li span, .mys .mys-body .list li small { font-size: 14px; }
.mys .mys-body .list li.hint { padding-left: 0; font-size: 15px; line-height: 1.4; }
.mys .mys-body .list li.post, .mys .mys-body .list li.mys-hist, .mys .mys-hist li { padding-left: 0; }
.mys .fol-row, .mys .mys-body .list li.fol-row { min-height: 52px; gap: 10px; padding: 6px 0; }
.mys .fol-row .fol-name { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.mys .fol-row .fol-name strong { display: block; font-size: 17px; }
.mys .fol-row .fol-name small { font-size: 14px; }
.mys .fol-row > button, .mys .fol-row .fol-acts button { flex: none; min-height: 44px; }
.mys .fol-row .fol-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.mys .town-chips button { min-height: 44px; font-size: 14px; }
.mys .mys-body .chips button, .mys .mys-body .chip { min-height: 44px; }

/* Saved places: row cards, with the private note and Remove on a quiet line under each */
.sv-list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; min-width: 0; }
.sv-item { display: grid; gap: 2px; min-width: 0; }
.sv-item .mys-note { margin: 6px 2px 0; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.sv-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; padding: 0 2px; }
.mys .mys-body .sv-tools .linkish { min-height: 44px; padding: 0; font-size: 14px; }
.sv-tools .sv-del { color: var(--ink-soft); }
.sv-item .mys-note-edit { margin-top: 8px; }

/* Plans: the day strip, then the day as a timeline */
.mys .mys-week { gap: 6px; padding: 1px 1px 6px; }
.mys .mys-week button { width: 56px; min-height: 60px; font-size: 14px; }
.mys .mys-week button b { font: 700 18px/1.1 var(--head); }
.mys .mys-week button.on, .mys .mys-week button.on:hover { background-color: var(--red); color: #fff; box-shadow: none; }
.plan-line { list-style: none; margin: 0 0 4px; padding: 0; }
.plan-line li { position: relative; display: grid; grid-template-columns: 20px 5em minmax(0, 1fr) 44px; align-items: start; gap: 0 8px; min-height: 52px; }
.plan-line li::before { content: ""; box-sizing: border-box; grid-column: 1; grid-row: 1; width: 12px; height: 12px; margin: 16px 0 0 4px; border-radius: 50%; border: 2px solid var(--ink); background: var(--field); position: relative; z-index: 1; }
.plan-line li::after { content: ""; position: absolute; left: 9px; top: 28px; bottom: -16px; width: 2px; background: var(--line-strong); }
.plan-line li:last-child::after { display: none; }
.plan-line .pl-time { padding-top: 11px; font: 700 16px/1.35 var(--type); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-line .pl-stop { display: grid; gap: 0; min-width: 0; padding-bottom: 4px; }
.mys .mys-body .plan-line .pl-stop .linkish { justify-self: start; min-height: 44px; padding: 0; font: 400 16px/1.35 var(--type); color: var(--ink); text-align: left; white-space: normal; overflow-wrap: anywhere; }
.plan-line .pl-stop small { margin-top: -8px; font-size: 14px; color: var(--ink-soft); }
.plan-line .pl-del { width: 44px; height: 44px; margin-top: 2px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background-color: transparent; box-shadow: none; color: var(--ink-soft); }
.plan-line .pl-del:hover { background-color: rgba(43, 38, 32, .06); box-shadow: none; }
@media (max-width: 360px) {  /* narrow phones: the time sits over the stop */
  .plan-line li { grid-template-columns: 20px minmax(0, 1fr) 44px; }
  .plan-line .pl-time { grid-column: 2; grid-row: 1; padding-top: 11px; }
  .plan-line .pl-stop { grid-column: 2; grid-row: 2; }
  .plan-line .pl-del { grid-column: 3; grid-row: 1 / span 2; }
}
.mys .mys-draft li { border: 0; border-radius: var(--r-ctl); background: var(--field); box-shadow: 0 0 0 1px var(--line); }
.mys .mys-draft li > b { font: 700 16px/1.3 var(--type); }
.mys .mys-draft li strong { font-size: 17px; }
.mys .mys-vibes { display: flex; flex-wrap: wrap; gap: 8px; }

/* Notifications: a switch per setting, label at the left */
.mys .mys-body button.sw-row, .mys .mys-body button.sw-row:hover, .mys .mys-body button.sw-row[aria-pressed="true"], .mys .mys-body button.sw-row[aria-pressed="true"]:hover {
  box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; margin: 0; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background-color: transparent !important; box-shadow: none !important; color: var(--ink) !important; font: 400 16px/1.3 var(--type); text-align: left; transform: none; }
.mys .mys-sec > button.sw-row:last-child { border-bottom: 0; }
.sw-row .sw-t { flex: 1 1 0; min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
.sw-row .sw-t b { font-weight: 700; font-size: 16px; }
.sw-row .sw-t small { font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
.sw { flex: none; position: relative; width: 50px; height: 30px; border-radius: var(--r-pill); background: var(--line-strong); transition: background-color .15s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s; }
.sw-row[aria-pressed="true"] .sw { background: var(--green); }
.sw-row[aria-pressed="true"] .sw::after { transform: translateX(20px); }

/* Journal: the same cards */
.mys .tl-card { padding: 14px; border: 0; border-radius: 16px; background: var(--field); box-shadow: 0 0 0 1px var(--line); }
.mys .tl-card h3 { margin: 0 0 10px; font: 700 21px/1.2 var(--head); }
.mys .tl-script { font: 700 26px/1.15 var(--head); }
.mys .tl-card p { font-size: 16px; }
.mys .tl-news button { min-height: 52px; font-size: 16px; line-height: 1.25; }
.mys .tl-compose textarea { font-size: 16px; }
.mys .tl-entry { border-top: 1px solid var(--line); padding: 12px 0; }
.mys .tl-ev { min-height: 56px; font-size: 16px; }
.mys .tl-ev small { font-size: 14px; color: var(--ink-soft); }
.mys .tl-vibepick button { min-height: 44px; font-size: 14px; border-radius: var(--r-pill); }

/* ---------- 5. Saved and Plan panels (opened from the You rows) ---------- */
#shorenav .panel-back { min-height: 44px; font-size: 16px; }
#shorenav .d-title { margin: 0 0 8px; padding: 0 2px; font: 700 22px/1.2 var(--head); }
/* Saved: section titles, then each place as a row card (following.js adds the map crop and chevron) */
#sn-feed .list li.head { padding: 12px 2px 8px; font: 700 20px/1.2 var(--head); letter-spacing: 0; text-transform: none; color: var(--ink); }
#sn-feed .saved-top > li.head:first-child { padding-top: 2px; font-size: 22px; }
#sn-feed .list li.hint { padding: 2px 2px 10px; font-size: 16px; line-height: 1.4; }
#sn-feed .list li.hint::before { display: none; }
#sn-feed .list li.sv-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; align-content: center; gap: 2px 12px; min-height: 72px; margin: 0 0 8px;
  padding: 8px 10px 8px 8px; border: 0; border-radius: var(--r-ctl); background: var(--field); box-shadow: 0 0 0 1px var(--line); }
#sn-feed .list li.sv-row:hover, #sn-feed .list li.sv-row:focus { background: #fff; box-shadow: 0 0 0 1px var(--line-strong); }
#sn-feed .sv-row .ico { display: none; }
#sn-feed .sv-row .rc-thumb { grid-column: 1; grid-row: 1 / span 4; display: block; width: 72px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
#sn-feed .sv-row .rc-thumb.no-thumb { display: none; }
#sn-feed .sv-row > strong, #sn-feed .sv-row > span:not(.rc-thumb), #sn-feed .sv-row > em { grid-column: 2; min-width: 0; }
#sn-feed .sv-row > em.tag { justify-self: start; }
#sn-feed .sv-row > strong { font: 700 18px/1.25 var(--head); }
#sn-feed .list li.sv-row > span:not(.rc-thumb) { font-size: 14px; line-height: 1.35; }
#sn-feed .sv-row > .sn-ic { grid-column: 3; grid-row: 1 / span 4; color: var(--ink-soft); }
/* Plan: each stop on a line down the left, its icon as the dot, the time in bold */
#sn-trip li.trip-item { padding-top: 8px; padding-bottom: 10px; border-bottom: 0; font-size: 16px; }
#sn-trip li.trip-item::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
#sn-trip li.trip-item .ico { z-index: 1; top: 10px; border-radius: 50%; }
#sn-trip li.trip-item > strong { font-size: 17px; line-height: 1.3; }
#shorenav #sn-trip li.trip-item > span { font-size: 14px; font-weight: 700; color: var(--ink); }
#sn-trip li.leg { font-size: 14px; }
#sn-trip li.hint { padding: 2px 2px 10px; font-size: 16px; line-height: 1.4; }
#sn-trip li.hint::before { display: none; }

/* ---------- 6. Business dashboard (profile.html#biz) ---------- */
#t-biz { font-size: 16px; }
#t-biz .fine { font-size: 14px; line-height: 1.45; }
#t-biz .bizhead h2 { font-size: 22px; line-height: 1.2; }
#t-biz .bizhead .sub { font-size: 14px; }
#t-biz .bizhead select { min-height: 44px; font-size: 16px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--field); }
#t-biz button:not(.linkish):not(.act-row) { min-height: 44px; font-size: 15px; }
#t-biz .biz-pane > * + * { margin-top: 14px; }
#t-biz .biz-back { display: inline-flex; align-items: center; min-height: 44px; padding-left: 0; font-size: 16px; }
#t-biz .biz-tabs [role=tab] { min-height: 44px; border-radius: var(--r-pill); }
#t-biz .biz-dash { display: grid; gap: 14px; max-width: 640px; min-width: 0; }
#t-biz .biz-dash + .kraft { max-width: 640px; box-sizing: border-box; }
/* This week: four tiles, two across */
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.stat-tile { display: grid; justify-items: center; align-content: start; gap: 2px; min-width: 0; padding: 12px 6px 10px; text-align: center; background: var(--surface); border-radius: var(--r-ctl); box-shadow: 0 0 0 1px var(--line); }
.stat-tile .st-ic { display: grid; place-items: center; height: 26px; color: var(--ink); }
.stat-tile .st-ic:empty { display: none; }
.stat-tile .st-l { font: 700 16px/1.25 var(--head); overflow-wrap: anywhere; }
.stat-tile .st-n { font: 700 28px/1.1 var(--head); font-variant-numeric: tabular-nums; }
.stat-tile .st-chg { font-size: 14px; line-height: 1.3; color: var(--ink-soft); }
.stat-tile .st-chg em { font-style: normal; font-weight: 700; }
.stat-tile .st-chg em.up { color: var(--green); } .stat-tile .st-chg em.down { color: #8a5a2a; }
.stat-tile .st-chg em::before { content: none; }
#t-biz .biz-qr { display: grid; justify-items: center; gap: 8px; padding: 14px; text-align: center; background: var(--field); border-radius: var(--r-ctl); box-shadow: 0 0 0 1px var(--line); }
#t-biz .biz-qr[hidden] { display: none; }
#t-biz .biz-qr a { display: inline-flex; align-items: center; min-height: 44px; }
#t-biz .biz-status { margin: 0 2px; }
#t-biz .biz-steps { gap: 0; }
#t-biz .biz-steps li { min-height: 56px; padding: 6px 0; border-top: 1px solid var(--line); }
#t-biz .biz-steps li:first-child { border-top: 0; }
#t-biz .biz-steps li div { min-width: 0; gap: 2px; }
#t-biz .biz-steps li b { font-size: 16px; }
#t-biz .biz-steps li > a, #t-biz .biz-steps li > button { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-ctl);
  background: var(--field); box-shadow: 0 0 0 1px var(--line-strong); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
/* the other dashboard boxes (insights, events, plan, brand, the claim prompt): the same card */
#t-biz .kraft { padding: 16px; border: 0; border-radius: 16px; background: var(--field); box-shadow: 0 0 0 1px var(--line); }
#t-biz .kraft > h3, #t-biz .ledger h3 { margin: 0 0 10px; font: 700 21px/1.2 var(--head); letter-spacing: 0; text-transform: none; }
#t-biz .ledger { outline: 0; border-radius: 16px; background: var(--field); box-shadow: 0 0 0 1px var(--line); padding: 16px; }
#t-biz .ledger dl { font-size: 16px; line-height: 30px; }
#t-biz .ledger dd.chg { font-size: 14px; }
#t-biz .locked { display: grid; justify-items: center; gap: 8px; padding: 24px 16px; }
#t-biz .locked .lock-ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: rgba(139, 58, 58, .1); color: var(--red); }
#t-biz .locked .lock-ic:empty { display: none; }
#t-biz .locked .big { margin: 4px 0 0; font: 700 26px/1.15 var(--head); letter-spacing: 0; }
#t-biz .locked p { margin: 0; max-width: 34em; }
#t-biz .locked .pills a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: var(--r-ctl); background: var(--red); color: #fff; text-decoration: none; }
@media (max-width: 600px) { #t-biz .d-card, #t-biz .kraft { padding: 14px 12px; } }

/* ---- Expected-behaviour pass (Nov 2026): appended, nothing above is changed ---- */
/* Toasts and their Undo sit above You (70), small dialogs (40), Shore Scout and the post flow (85): a message about
   what you just did there must be readable there. They are at the top of the screen, so the tab bar (--dock) is
   clear of them; the max-height keeps a long one out of it on a short phone. */
html.profile-open .toast, body.sc-open .toast, body.posting .toast, body.placing .toast { z-index: 96; }
html .toast { max-height: calc(100dvh - var(--dock, 0px) - var(--stack, 120px) - 24px); overflow: hidden; }
/* Text size (--ui-scale) reaches toasts, You and Shore Scout. A zoomed box multiplies its own px and viewport
   lengths, so those are divided back (as style.css does for the panel and card); percentages are left alone. */
html .toast { font-size: calc(15px * var(--ui-scale, 1)); }
html .toast .toast-undo { font-size: calc(13px * var(--ui-scale, 1)); }
.mys-sheet { zoom: var(--ui-scale, 1); }
html .sc { zoom: var(--ui-scale, 1); width: min(420px, calc((100vw - 16px) / var(--ui-scale, 1))); max-height: calc((100dvh - var(--dock, 0px) - 24px) / var(--ui-scale, 1));
  top: calc((100dvh - var(--dock, 0px)) / 2 / var(--ui-scale, 1)); }
/* headings that take the focus when a page or step opens: no ring on a heading */
.pf .pf-body h2:focus, .mys .mys-h:focus, .mys .mys-title:focus { outline: 0; }
/* Plans: move up, move down and a time for each stop */
.plan-line .pl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 2px 0 6px; }
.plan-line .pl-tools button { flex: none; width: 44px; height: 44px; padding: 0; font-size: 18px; line-height: 1; }
.plan-line .pl-tools button:disabled { opacity: .35; }
.plan-line .pl-tools input[type=time] { flex: 0 1 9em; min-width: 0; min-height: 44px; font-size: 16px; }
.plan-line .pl-time small { display: block; font: 400 13px/1.2 var(--type); color: var(--ink-soft); white-space: nowrap; }
/* sign-in: Send a new code, and the line under the Google button */
#acct .acct-resend, #acct .acct-other { display: block; min-height: 44px; margin: 0 auto; }
#acct .acct-resend:disabled { color: var(--ink-soft); text-decoration: none; cursor: default; }
#acct .acct-g-note:empty { display: none; }
/* Shore Scout: Undo during the pause, Sign in for guests; road report: the waiting line */
.sc .sc-undo, .sc .sc-signin { min-height: 44px; padding: 0 10px; font-size: 16px; font-weight: 700; }
.rr-sheet .rr-note:empty { display: none; }
.rr-sheet .rr-grid button:disabled { opacity: .5; }
.invite-box input[readonly] { width: 100%; box-sizing: border-box; margin-top: 6px; min-height: 44px; font-size: 16px; }
.you-rows .you-signout .you-chev { visibility: hidden; }

/* ---------- Density (2026-11-13): more of the Shore in view, less empty space ----------
   Row cards: one-line titles and meta, so a panel shows 5 or 6 places instead of 3. Post tiles: icon beside the
   name and its one-line description, two columns where there's room. The Explore greeting is one line with the
   date. Wide screens get a wider panel. Taps stay 44px or more. */
.row-cards { gap: 6px; }
button.row-card, summary.row-card { min-height: 60px; gap: 10px; padding: 6px 8px 6px 6px; }
.row-card .rc-thumb { width: 64px; height: 50px; }
.row-card .rc-text, .list li .row-card .rc-text { gap: 1px; }
.row-card .rc-text strong, .list li .row-card .rc-text strong { font-size: 16px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.row-card .rc-meta, .list li .row-card .rc-meta { -webkit-line-clamp: 1; }
#sn-post .pt-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
#sn-post .pt-tile { flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; min-height: 64px; aspect-ratio: auto; padding: 10px 12px; text-align: left; }
#sn-post .pt-tile .pt-ic { flex: none; width: 30px; height: 30px; }
#sn-post .pt-tile .pt-txt { display: grid; gap: 2px; min-width: 0; }
#sn-post .pt-tile strong { font-size: 16px; }
#sn-post .pt-tile small { font-size: 13px; line-height: 1.3; color: var(--ink-soft); }
#sn-post .pt-h { font-size: 22px; }
.pt-grid .pt-tile:last-child:nth-child(odd) { grid-column: auto; }
.explore-head { display: flex !important; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; padding: 0 2px 4px !important; margin-bottom: 0; }
.explore-head b { font-size: 19px; }
.explore-head span, .explore-head.tint-night span { font-size: 13px; }
@media (min-width: 1200px) {
  #shorenav { width: 410px; }
  .today, .alerts { max-width: calc(100vw - 450px); }
}

/* Keyboard (2026-11-13): selected tabs, pressed chips and primary buttons drop their outline above, so the focus ring
   here wins with !important; map pins get a ring of their own; the skip link shows only when focused */
button:focus-visible, [role=tab]:focus-visible, a:focus-visible { outline: 3px solid var(--blue) !important; outline-offset: 2px; }
.mpin:focus-visible { outline: 3px solid var(--blue) !important; outline-offset: 1px; border-radius: 8px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; border-radius: var(--r-ctl); background: var(--ink); color: #fff !important;
  font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
/* plan cards (owners.html, business.html): the button sits at the bottom of each card, one line, same height */
.plans .plan { display: flex; flex-direction: column; }
.plans .plan ul { flex: 1; }
.plans .plan .plan-go { display: block; margin-top: 10px; text-align: center; white-space: nowrap; }

/* ---------- Fishing reports (fishing.js) ---------- */
.fish-mark { width: 30px; height: 30px; padding: 0; border-radius: 50% !important; border: 2px solid #1f6f8b !important; background: #f2fbfd !important; font-size: 16px; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 2px 0 rgba(43, 38, 32, .35); pointer-events: auto; cursor: pointer; }
.fish-mark.fish-slow { border-color: #b98a2e !important; } .fish-mark.fish-none { border-color: #8a8378 !important; filter: grayscale(.6); }
html.screensaver .fish-mark, html.bgmap .fish-mark { display: none !important; }
.fish-sheet { max-height: calc(100dvh - 140px); overflow-y: auto; }
.fish-species { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.fish-species button, .fish-sheet .seg button { min-height: 40px; font-size: 14px; }
.fish-sheet .seg { display: flex; gap: 6px; flex-wrap: wrap; } .fish-sheet .seg button { flex: 1 1 0; }
.fish-sheet input[type=text], .fish-sheet input[type=number] { width: 100%; box-sizing: border-box; min-height: 44px; font-size: 16px; }
.fish-two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: center; }
.fish-exact, .fish-photo-in { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.fish-go { display: grid; gap: 6px; }
.fish-photo { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; }
.fish-card { max-height: calc(100dvh - 140px); overflow-y: auto; }
.fish-flag summary { font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.fish-filter { display: grid; gap: 4px; padding: 0 0 6px; } .fish-filter select { min-height: 40px; }

/* Friends and following rows (friends.js, following.js): the name keeps at least 10em, so it never squeezes to one
   letter a line; when the buttons don't fit beside it they wrap onto their own line under it */
.fol-row, .mys .fol-row, .mys .mys-body .list li.fol-row { flex-wrap: wrap; }
.fol-row .fol-name, .mys .fol-row .fol-name { flex: 1 1 10em; min-width: min(10em, 100%); overflow-wrap: break-word; }
.fol-row .fol-acts, .mys .fol-row .fol-acts { flex: 0 1 auto; margin-left: auto; }
