/* ── Showing Itinerary (itinerary.html; owner 2026-11-11, beta "showing_itinerary") ─────────
   The approved mockups app-1 (desktop), app-2 (phone) and app-5 (Suggest fastest order), in the
   app's own tokens (styles.css), so auto dark mode follows. The map keeps its fixed cream / ink /
   brass (maps.css). Every class and id here starts with si- (Showing Itinerary).
   Layout: two columns from 1000px (the day on the left, the route and the PDF on the right);
   under it one column in the phone's order (the route first, a sticky Make bar at the bottom).
   ------------------------------------------------------------------------------------------ */

#si-card { max-width: 1180px; padding: 2rem 2.5rem 2.1rem; --si-px: 2.5rem; --si-pb: 2.1rem; }
#si-card h1 { margin-bottom: 0.3rem; }
#si-card .tagline { margin-bottom: 1.35rem; line-height: 1.45; }
#si-card .back-row { text-align: left; margin: 0 0 0.5rem; }
#si-card .back { color: var(--muted); text-decoration: none; font-size: 0.85rem; }
#si-card .back:hover { color: var(--ink); }

/* Phone words and desktop words (≤ 480px is a phone). */
.si-narrow, .si-narrow-i { display: none; }
@media (max-width: 480px) {
  .si-wide, .si-wide-i { display: none; }
  .si-narrow { display: inline; }
  .si-narrow-i { display: inline; }
}
.si-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.si-gate { margin: 0 0 1.1rem; padding: 0.85rem 1rem; border-radius: 8px; background: var(--soft);
  border: 1px solid var(--soft-line); color: var(--ink); font-size: 0.92rem; line-height: 1.5; text-align: left; }
.si-gate a { color: var(--accent); font-weight: 700; text-decoration: none; }

#si-tool { text-align: left; }
#si-tool svg, .si-modal svg, .si-pop svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; }
#si-tool .si-mini svg { stroke: none; }
#si-tool button { font-family: inherit; }

/* ---- the saved itineraries (quiet) ---- */
.si-saved-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.6rem; margin: -0.4rem 0 0.9rem;
  font-size: 0.8rem; color: var(--muted); }
.si-saved-row label { font-weight: 700; letter-spacing: 0.02em; }
.si-saved-row select { padding: 0.3rem 0.5rem; font-size: 0.82rem; max-width: 100%; min-width: 0; border-radius: 6px;
  flex: 0 1 auto; }
@media (max-width: 480px) {
  /* The menu on its own full-width line, so a day's buyers aren't cut ("Jordan & S"); New itinerary beside the label. */
  .si-saved-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .si-saved-row label { grid-column: 1; grid-row: 1; }
  .si-saved-row .si-linkbtn { grid-column: 2; grid-row: 1; justify-self: end; }
  .si-saved-row select { grid-column: 1 / -1; grid-row: 2; width: 100%; }
}
.si-linkbtn { background: none; border: 0; padding: 0.3rem 0.2rem; color: var(--accent); font-weight: 700; font-size: 0.82rem;
  cursor: pointer; }
.si-linkbtn:hover:not(:disabled) { background: none; text-decoration: underline; }

/* ---- the day: For, Date, Starting from, First showing | My office | Buyers' home | Other address ---- */
.si-day { margin: 0 0 1.25rem; }
/* Two columns at every width from 1000px (For | Date, then Starting from | the four choices): the four choices
   (Other address, owner 2026-11-12) and the field beside them don't fit the old one-row desktop line. */
.si-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.6rem; align-items: center; }
.si-field { position: relative; display: flex; align-items: center; gap: 0.55rem; height: 48px; padding: 0 0.85rem 0 1rem;
  border: 1.5px solid var(--field-line); border-radius: 6px; background: var(--field); min-width: 0; cursor: text; }
.si-field:focus-within { border-color: var(--accent); }
.si-field > span:first-child, .si-field > label { font-size: 0.8rem; font-weight: 700; color: var(--muted); white-space: nowrap;
  letter-spacing: 0.02em; }
.si-field input { flex: 1; min-width: 0; border: 0; padding: 0; height: 100%; background: transparent; font-size: 1rem;
  color: var(--ink); border-radius: 0; }
.si-field input:focus { outline: none; }
.si-field input::placeholder { color: var(--muted); opacity: 0.85; }
.si-field .si-i { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
/* The date: the day's label in words over an invisible date box that opens the picker. */
.si-datefield { cursor: pointer; }
.si-date-label { flex: 1; min-width: 0; font-size: 1rem; color: var(--ink); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.si-date-label.empty { color: var(--muted); }
.si-datefield input[type="date"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; z-index: 1; }
.si-pinbtn { display: inline-flex; align-items: center; gap: 0.3rem; flex-shrink: 0; margin: 0 -0.45rem 0 -0.2rem; padding: 0.35rem;
  border: 1px solid transparent; border-radius: 999px; background: none; color: var(--accent); font-size: 0.78rem;
  font-weight: 700; white-space: nowrap; cursor: pointer; }
.si-pinbtn:hover:not(:disabled) { background: var(--soft); }
.si-pinbtn svg { width: 17px; height: 17px; }
.si-pinbtn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.si-pin-hint { margin: 0.5rem 0 0; font-size: 0.8rem; font-weight: 700; color: var(--accent); }
/* The first showing (owner 2026-11-12): the field only says where the day starts — nothing to type, no pin. */
.si-field.si-first { cursor: default; background: var(--soft); }
.si-field.si-first input { cursor: default; }
.si-field.si-first input::placeholder { color: var(--ink); opacity: 0.8; }
.si-pinbtn[hidden] { display: none; }
/* The Morning reminder (owner 2026-11-12, beta "itinerary_drive"): a switch under the day's fields, the app's own
   switch (settings.html) in this page's brass. */
.si-remind { display: flex; align-items: center; gap: 0.65rem; margin: 0.6rem 0 0; }
.si-remind[hidden] { display: none; }
.si-switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; }
.si-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
/* A finger-sized hit area (52 x 44) around the drawn 44 x 26 switch, into the empty space beside and under it; the
   label and the Settings link get a little more room the same way. Nothing moves. */
.si-switch input { inset: -2px -4px -16px -4px; width: auto; height: auto; }
.si-remind-label { padding: 4px 0; }
.si-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--pill); transition: background 0.2s;
  pointer-events: none; }
.si-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.si-switch input:checked + span { background: var(--accent); }
.si-switch input:checked + span::after { transform: translateX(18px); }
.si-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.si-switch input:disabled { cursor: default; }
.si-switch input:disabled + span { opacity: 0.5; }
.si-remind-text { min-width: 0; font-size: 0.86rem; line-height: 1.35; color: var(--ink); }
.si-remind-label { font-weight: 700; cursor: pointer; }
.si-remind-say { color: var(--muted); font-size: 0.8rem; }
.si-remind-hint { display: block; margin-top: 0.15rem; font-size: 0.78rem; color: var(--muted); }
.si-remind-hint[hidden] { display: none; }
.si-remind-hint a { color: var(--accent); font-weight: 700; padding: 6px 4px; margin: 0 -4px; }
@media (prefers-reduced-motion: reduce) { .si-switch span, .si-switch span::after { transition: none; } }
@media (max-width: 560px) {
  .si-remind { align-items: flex-start; }
  .si-remind-say { display: block; }
}
.si-seg { display: flex; width: 100%; padding: 3px; border: 1.5px solid var(--field-line); border-radius: 999px;
  background: var(--field); height: 48px; align-items: center; container: si-seg / inline-size; }
/* Four choices share the row: as wide as each other where the row has room, never narrower than their words. */
.si-seg button { border: 0; background: transparent; color: var(--muted); font-size: 0.82rem; font-weight: 700; line-height: 1;
  padding: 0 0.5rem; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.35rem; white-space: nowrap; cursor: pointer; flex: 1 1 0; min-width: max-content; }
.si-seg button:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.si-seg button svg { width: 14px; height: 14px; stroke-width: 2.6; display: none; }
.si-seg button.active, .si-seg button.active:hover:not(:disabled) { background: var(--btn-bg); color: var(--btn-fg); }
.si-seg button.active svg { display: inline; }
/* A narrow row of four (a 1000px window, the help guide docked, a small tablet): no check mark — the chosen one is
   filled in anyway — so the words keep room to spare. */
@container si-seg (max-width: 479px) {
  .si-seg button { font-size: 0.78rem; }
  .si-seg button.active svg { display: none; }
}
/* Under 1000px the page is at most 720px wide, so half a row is too narrow for the choices (First showing, owner
   2026-11-12; review F1: "Buyers' home" spilled out of its pill, and at 600-680px the page scrolled sideways): the
   start's field and its choices each take a whole row, as on a phone. From 1000px (and with the help guide docked,
   which needs 1000px of page) half a row holds the four. */
@media (max-width: 999px) {
  .si-startfield, .si-seg { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .si-fields { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .si-field { height: 46px; padding: 0 0.7rem 0 0.9rem; }
  /* Four choices don't fit a phone's one row (Other address, owner 2026-11-12): two by two, the same pills — 40px tall
     with a 4px gap (owner 2026-11-12: "Make them taller"), so a tap a little high on Buyers' home doesn't land on First
     showing. */
  .si-seg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; height: auto; border-radius: 25px; }
  .si-seg button { height: 40px; min-width: 0; padding: 0 0.5rem; gap: 0.25rem; font-size: 0.82rem; }
  .si-seg button svg { width: 12px; height: 12px; }
  .si-seg button.active svg { display: inline; }
}
/* The narrowest phones (320px): no check mark (the chosen one is filled in anyway), a little smaller. */
@media (max-width: 360px) {
  .si-seg button { padding: 0 0.4rem; font-size: 0.76rem; }
  .si-seg button.active svg { display: none; }
}

/* ---- two columns from 1000px ---- */
.si-cols { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 45%, 500px); gap: 2.25rem; align-items: start; }

/* ---- add a home ---- */
.si-add { display: flex; flex-direction: row; gap: 0.5rem; }
.si-add .addr-wrap { flex: 1; min-width: 0; position: relative; }
.si-add input { width: 100%; height: 48px; padding: 0 1rem; font-size: 1rem; min-width: 0; }
.si-add > input { flex: 1; }
.si-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; height: 48px; padding: 0 1rem;
  border-radius: 6px; white-space: nowrap; font-size: 1rem; font-weight: 600; flex-shrink: 0; }
.si-btn svg { width: 16px; height: 16px; stroke-width: 2.4; }
.si-from { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0.55rem 0 0; padding: 0.25rem 0.3rem; border: 0;
  background: none; color: var(--accent); font-weight: 700; font-size: 0.84rem; cursor: pointer; text-align: left; line-height: 1.3; }
.si-from:hover:not(:disabled) { background: none; text-decoration: underline; }
.si-from svg { width: 17px; height: 17px; stroke-width: 1.6; flex-shrink: 0; }
.si-from i { font-style: normal; color: var(--muted); font-weight: 600; }
.si-from > span { min-width: 0; }
.si-status { margin: 0.5rem 0 0; font-size: 0.84rem; line-height: 1.45; color: var(--muted); white-space: pre-line; }
.si-status.error { color: var(--danger); font-weight: 600; }
.si-status a { color: var(--accent); font-weight: 700; text-decoration: none; }
.si-note { margin: 0.6rem 0 0; padding: 0.55rem 0.75rem; border-radius: 8px; background: var(--soft); border: 1px solid var(--soft-line);
  border-left: 3px solid var(--warn); color: var(--ink); font-size: 0.82rem; line-height: 1.45; }
.si-note .si-linkbtn { padding: 0 0.2rem; font-size: inherit; text-decoration: underline; }
.si-note .si-trying { color: var(--muted); font-weight: 600; }

/* ---- the day's list ---- */
.si-dayhead { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin: 1rem 0 0.2rem; }
.si-eyebrow { margin: 0; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent);
  font-family: inherit; line-height: 1.4; }
.si-eyebrow i { font-style: normal; letter-spacing: 0.02em; text-transform: none; color: var(--muted); font-weight: 600;
  font-size: 0.8rem; margin-left: 0.45rem; }
.si-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; background: none; border: 1.5px solid var(--accent);
  color: var(--accent); border-radius: 999px; padding: 0.42rem 0.9rem; font-size: 0.8rem; font-weight: 800; line-height: 1;
  white-space: nowrap; cursor: pointer; }
.si-ghost:hover:not(:disabled) { background: var(--soft); }
.si-ghost svg { width: 15px; height: 15px; stroke-width: 2; }
.si-ghost:disabled { opacity: 0.5; }
.si-daynote { font-size: 0.76rem; color: var(--faint); margin: 0.1rem 0 0.65rem; line-height: 1.45; }
.si-warn { margin: 0 0 0.6rem; padding: 0.5rem 0.75rem; border-radius: 8px; border: 1px solid var(--warn);
  border-left-width: 3px; background: var(--soft); color: var(--ink); font-size: 0.82rem; font-weight: 600; line-height: 1.45; }

.si-list { list-style: none; margin: 0; padding: 0; container-type: inline-size; container-name: si-list; }
.si-list > li { margin: 0; padding: 0; }
.si-row { position: relative; display: grid; grid-template-columns: 16px 26px 86px minmax(0, 1fr) 112px 28px; gap: 0 0.7rem;
  align-items: center; background: var(--field); border: 1.5px solid var(--panel-line); border-radius: 10px;
  padding: 6px 10px 6px 8px; min-height: 74px; }
.si-handle { display: flex; align-items: center; justify-content: center; width: 16px; height: 40px; margin: 0; padding: 0;
  border: 0; border-radius: 4px; background: none; color: var(--muted); opacity: 0.75; cursor: grab; touch-action: none;
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.si-handle:hover:not(:disabled) { background: var(--soft); opacity: 1; }
.si-handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; opacity: 1; }
.si-handle svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.si-num { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--panel); display: flex;
  align-items: center; justify-content: center; font: 700 0.9rem/1 var(--serif);
  box-shadow: inset 0 0 0 2px #B08A45, 0 0 0 2px var(--panel), 0 1px 3px rgba(0,0,0,0.25); flex-shrink: 0; }
.si-num.si-flag { border-radius: 6px; box-shadow: 0 0 0 2px var(--panel), 0 1px 3px rgba(0,0,0,0.25); }
.si-num.si-flag svg { width: 14px; height: 14px; stroke-width: 2; }
.si-thumb { width: 86px; height: 60px; border-radius: 6px; object-fit: cover; display: block; border: 1px solid var(--soft-line);
  background: var(--soft); }
.si-thumb.none { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.si-thumb.none svg { width: 26px; height: 26px; stroke-width: 1.3; opacity: 0.75; }
.si-info { min-width: 0; }
.si-info .si-a { font-weight: 700; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-info .si-p { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.5rem; font-size: 0.8rem; color: var(--muted);
  margin-top: 0.18rem; }
.si-info .si-p > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.si-info .si-p b { color: var(--ink); font-weight: 800; }
.si-info .si-f { font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.si-chip { display: inline-flex; align-items: center; margin-top: 0.25rem; padding: 0.08rem 0.5rem; border-radius: 999px;
  background: var(--pill); color: var(--pill-fg); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.02em; }
.si-chip.warn { background: transparent; border: 1px solid var(--warn); color: var(--ink); }
.si-tm { display: flex; flex-direction: column; gap: 3px; }
.si-tm small { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.si-time { display: flex; align-items: center; gap: 0.4rem; height: 36px; margin: 0; padding: 0 0.55rem; border: 1.5px solid var(--field-line);
  border-radius: 6px; background: var(--field); color: var(--ink); font-size: 0.92rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.si-time:hover:not(:disabled) { background: var(--soft); }
.si-time svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.si-time.unset { color: var(--muted); font-weight: 600; border-style: dashed; }
.si-time.out { border-color: var(--warn); box-shadow: 0 0 0 1.5px var(--warn); }
.si-tpill { display: none; }
.si-rm { width: 28px; height: 28px; margin: 0; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--muted); border: 1px solid var(--soft-line); background: none; cursor: pointer; }
.si-rm:hover:not(:disabled) { background: var(--soft); color: var(--danger); }
.si-rm svg { width: 12px; height: 12px; stroke-width: 2.4; }
/* The start row. */
.si-row.si-startrow { grid-template-columns: 16px 26px minmax(0, 1fr) auto; background: var(--soft); border-color: var(--soft-line);
  border-style: dashed; min-height: 52px; }
.si-startrow .si-a { font-size: 0.88rem; white-space: normal; }
.si-startrow .si-a em { font-style: normal; color: var(--muted); font-weight: 600; }
.si-startrow .si-a.none { font-weight: 600; color: var(--muted); }
.si-leave { font-size: 0.78rem; color: var(--muted); white-space: nowrap; padding-right: 0.3rem; }
.si-leave b { color: var(--ink); }
.si-leave2 { display: none; }
/* The drive between two homes. */
.si-conn { display: flex; align-items: center; flex-wrap: wrap; gap: 0.15rem 0.55rem; min-height: 24px; padding: 2px 0 2px 1.1rem;
  margin-left: calc(8px + 16px + 0.7rem + 12px); border-left: 2px dotted var(--panel-edge); font-size: 0.76rem; color: var(--muted); }
.si-conn > svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.si-conn b { color: var(--ink); font-weight: 700; }
.si-conn.empty { min-height: 12px; }
/* Stop 1 at the first showing: where the day starts, in place of a drive there. */
.si-meet { display: inline-flex; align-items: center; gap: 0.35rem; }
.si-meet svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.si-brk { display: inline-flex; align-items: center; border-radius: 999px; background: var(--soft); border: 1px solid var(--soft-line);
  color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.si-brk-edit { margin: 0; padding: 0.1rem 0.15rem 0.1rem 0.55rem; border: 0; background: none; color: inherit; font: inherit;
  cursor: pointer; border-radius: 999px 0 0 999px; }
.si-brk-edit:hover:not(:disabled) { background: none; color: var(--ink); text-decoration: underline; }
.si-brk-x { margin: 0; padding: 0.1rem 0.45rem 0.1rem 0.25rem; border: 0; background: none; color: inherit; font: inherit;
  cursor: pointer; border-radius: 0 999px 999px 0; line-height: 1; }
.si-brk-x:hover:not(:disabled) { background: none; color: var(--danger); }
.si-addbrk { margin: 0; padding: 0.05rem 0.25rem; border: 0; background: none; color: var(--accent); font-size: 0.7rem; font-weight: 700;
  opacity: 0.8; cursor: pointer; }
.si-addbrk:hover:not(:disabled) { background: none; opacity: 1; text-decoration: underline; }
.si-dirs { display: inline-flex; align-items: center; gap: 0.35rem; }
.si-dirs a { color: var(--accent); font-weight: 700; text-decoration: none; }
.si-dirs a:hover { text-decoration: underline; }
.si-foot { font-size: 0.74rem; color: var(--faint); margin: 0.6rem 0 0; line-height: 1.5; }
.si-grip-i { color: var(--muted); letter-spacing: -1px; }
.si-empty { padding: 0.9rem 1rem; border: 1.5px dashed var(--panel-line); border-radius: 10px; color: var(--muted); font-size: 0.86rem;
  line-height: 1.45; margin-top: 0.4rem; }

/* Dragging: the card follows the pointer above the others. */
.si-list > li.si-dragging { position: relative; z-index: 5; }
.si-list > li.si-dragging .si-row { box-shadow: 0 10px 26px rgba(42,37,34,0.28); border-color: var(--accent); }
.si-list > li.si-dragging .si-conn { visibility: hidden; }
.si-list.si-drag-on { user-select: none; -webkit-user-select: none; }
.si-list.si-drag-on > li:not(.si-dragging) { transition: transform 0.12s; }

/* A narrow list (a phone, or the left column on a smaller desktop): the compact card of app-2. */
@container si-list (max-width: 520px) {
  .si-row { grid-template-columns: 12px 24px 60px minmax(0, 1fr); gap: 0 0.5rem; padding: 7px 8px 7px 5px; min-height: 0; }
  .si-handle { width: 12px; }
  .si-handle svg { width: 12px; height: 16px; }
  .si-num { width: 24px; height: 24px; font-size: 0.76rem; }
  .si-thumb { width: 60px; height: 48px; }
  .si-info .si-a { padding-right: 24px; font-size: 0.9rem; line-height: 1.25; }
  .si-info .si-p { margin-top: 0.15rem; font-size: 0.78rem; }
  .si-info .si-p > span { flex: 1 1 auto; }
  .si-info .si-f { font-size: 0.75rem; }
  .si-tm { display: none; }
  .si-tpill { display: inline-flex; align-items: center; gap: 0.25rem; flex: none; height: auto; margin: 0; border-radius: 999px;
    padding: 0.18rem 0.5rem; font-size: 0.74rem; font-weight: 800; }
  .si-tpill svg { width: 12px; height: 12px; stroke-width: 2.2; }
  .si-rm { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border: 0; }
  .si-row.si-startrow { grid-template-columns: 12px 24px minmax(0, 1fr); row-gap: 0.15rem; padding: 8px 10px 8px 5px; }
  .si-startrow .si-a em, .si-startrow .si-leave { display: none; }
  .si-startrow .si-leave2 { display: block; font-size: 0.76rem; color: var(--muted); font-weight: 400; margin-top: 0.15rem; }
  .si-startrow .si-leave2 b { color: var(--ink); }
  .si-conn { margin-left: calc(5px + 12px + 0.5rem + 11px); padding-left: 1rem; font-size: 0.74rem; }
}
/* A 375px phone and narrower: the street gets two lines rather than being cut ("8412 Sablewood Ben…"). */
@container si-list (max-width: 380px) {
  .si-info .si-a { white-space: normal; overflow: hidden; text-overflow: clip; overflow-wrap: anywhere; display: -webkit-box;
    -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
}

/* ---- the "Only you" strip (owner 2026-11-13, Mockup A: "Build it, use all 8 recs"; beta "showing_rules") ----
   AGENT-ONLY: each home's showing rules from the MLS and her Confirmed mark, at the bottom of the home's card (inside
   its border), on its own cream under a dashed brass edge so it never looks like the buyers' part of the page. One
   piece for the phone and the computer (itinerary.js onlyStrip): the narrow list (a phone) puts the main rules on a
   line of their own and the big Confirmed button inside the open strip. Drawn only while the View carries it. */
:root { --si-only: #F5EFE2; --si-only-line: #B08A45; --si-ok-bg: #E8F1E4; --si-warn-bg: #FBF1DC; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --si-only: #1B1816; --si-only-line: #C9A24B; --si-ok-bg: rgba(111,191,122,0.13);
    --si-warn-bg: rgba(240,180,41,0.12); }
}
:root[data-theme="dark"] { --si-only: #1B1816; --si-only-line: #C9A24B; --si-ok-bg: rgba(111,191,122,0.13);
  --si-warn-bg: rgba(240,180,41,0.12); }
.si-ao { grid-column: 1 / -1; margin: 6px -10px -6px -8px; padding: 6px 10px 7px 12px; background: var(--si-only);
  border-top: 1.5px dashed var(--si-only-line); border-radius: 0 0 8.5px 8.5px; text-align: left; }
/* One line; a long mark ("Time changed · confirm again") moves to its own line, at the right, rather than squeeze
   the rules into a narrow column. */
.si-ao-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; min-height: 32px; }
.si-ao-h > .si-conf { margin-left: auto; }
.si-ao-tag { flex: none; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.si-ao-tag svg { width: 13px; height: 13px; stroke-width: 2.1; }
.si-ao-name { display: none; font-size: 0.78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.si-ao-sum { flex: 1 1 9rem; min-width: 0; display: flex; align-items: flex-start; gap: 0.4rem; margin: 0; padding: 0.2rem 0;
  border: 0; border-radius: 4px; background: none; color: var(--ink); font: inherit; font-size: 0.82rem; font-weight: 400;
  line-height: 1.35; text-align: left; cursor: pointer; }
.si-ao-sum:hover:not(:disabled) { background: none; color: var(--ink); }
.si-ao-sum:focus-visible, .si-ao-more:focus-visible, .si-conf:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.si-ao-sum > span { min-width: 0; overflow-wrap: anywhere; }
.si-ao-sum svg { display: none; width: 15px; height: 15px; stroke-width: 2.4; color: var(--accent); flex: none; margin: 1px 0 0 auto; }
.si-ao-sum.long > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.si-ao-sum.empty { color: var(--muted); cursor: default; }
.si-ao-more { flex: none; display: inline-flex; align-items: center; gap: 0.2rem; margin: 0; padding: 0.35rem 0.15rem; border: 0;
  border-radius: 4px; background: none; color: var(--accent); font-size: 0.78rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.si-ao-more:hover:not(:disabled) { background: none; text-decoration: underline; }
.si-ao-more svg { width: 13px; height: 13px; stroke-width: 2.4; }
.si-conf { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; height: 32px; margin: 0; padding: 0 0.75rem 0 0.45rem;
  border-radius: 999px; border: 1.5px dashed var(--field-line); background: var(--field); color: var(--muted); font-size: 0.8rem;
  font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; }
.si-conf:hover:not(:disabled) { background: var(--field); border-color: var(--accent); color: var(--ink); }
.si-conf-bx { flex: none; width: 17px; height: 17px; border-radius: 50%; border: 1.6px solid var(--muted); display: flex;
  align-items: center; justify-content: center; }
.si-conf-bx svg { width: 11px; height: 11px; stroke-width: 3; }
.si-conf.on, .si-conf.on:hover:not(:disabled) { border: 1.5px solid var(--success); color: var(--success); background: var(--si-ok-bg); }
.si-conf.on .si-conf-bx { background: var(--success); border-color: var(--success); color: var(--panel); }
.si-conf.chg, .si-conf.chg:hover:not(:disabled) { border: 1.5px solid var(--warn); color: var(--ink); background: var(--si-warn-bg); }
.si-conf.chg .si-conf-bx { border-color: var(--warn); }
.si-ao-b { padding: 0 0 0.1rem; }
.si-ao-dl { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0.45rem 0.8rem; margin: 0.5rem 0 0.1rem; font-size: 0.84rem;
  line-height: 1.42; }
.si-ao-dl dt { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
  padding-top: 0.15rem; }
.si-ao-dl dd { margin: 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.si-ao-foot { margin: 0.5rem 0 0; font-size: 0.74rem; line-height: 1.45; color: var(--faint); }
.si-ao-foot svg { width: 12px; height: 12px; vertical-align: -1px; }
.si-ao-big { display: none; }
.si-conf.big { width: 100%; height: 44px; justify-content: center; padding: 0 1.1rem 0 0.75rem; font-size: 0.95rem; }
.si-conf.big .si-conf-bx { width: 21px; height: 21px; }
/* A phone (the narrow list): "Only you · Showing rules" and the mark on the first line, the main rules under them
   (a tap opens the rest); open, "Hide" in the mark's place and the thumb-sized Confirmed button at the end. */
@container si-list (max-width: 520px) {
  .si-ao { margin: 7px -8px -7px -5px; padding: 6px 9px 8px 10px; }
  .si-ao-h { column-gap: 0.45rem; }
  .si-ao-tag { letter-spacing: 0.09em; }
  .si-ao-name { display: inline; font-size: 0.76rem; }
  .si-ao-h .si-conf { margin-left: auto; padding: 0 0.6rem 0 0.4rem; gap: 0.35rem; }
  .si-ao-sum { flex: 1 1 100%; order: 3; }
  .si-ao-sum svg { display: block; }
  .si-ao-more { display: none; }
  .si-ao.open .si-ao-sum, .si-ao.open .si-ao-h .si-conf { display: none; }
  .si-ao.open .si-ao-more { display: inline-flex; margin-left: auto; }
  .si-ao-dl { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; font-size: 0.88rem; }
  .si-ao-dl dt { padding-top: 0.55rem; }
  .si-ao-dl dt:first-child { padding-top: 0.1rem; }
  .si-ao-big { display: block; margin-top: 0.7rem; }
  .si-ao-big .si-ao-foot { margin-top: 0.4rem; text-align: center; }
}
/* The day's count of her Confirmed marks, beside "5 showings" (on a phone, under it). */
.si-cnt { display: inline-flex; align-items: center; gap: 0.3rem; margin-left: 0.6rem; padding: 0.14rem 0.6rem 0.14rem 0.45rem;
  border-radius: 999px; background: var(--si-ok-bg); color: var(--success); font-size: 0.76rem; font-weight: 800; letter-spacing: 0;
  text-transform: none; line-height: 1.3; white-space: nowrap; vertical-align: 1px; }
.si-cnt svg { width: 13px; height: 13px; stroke-width: 2.6; }
.si-cnt.none { background: var(--soft); color: var(--muted); border: 1px dashed var(--field-line); padding-left: 0.6rem; }
.si-cnt.all { background: var(--success); color: var(--panel); }
@media (max-width: 560px) {
  .si-cnt { display: flex; width: fit-content; margin: 0.4rem 0 0; }
}
/* "In the PDF": the strip and the marks never print. */
.si-only { display: flex; align-items: flex-start; gap: 0.45rem; margin: 0.7rem 0 0; padding: 0.45rem 0.6rem; border-radius: 6px;
  background: var(--si-only); border: 1px dashed var(--si-only-line); color: var(--ink); font-size: 0.78rem; line-height: 1.45; }
.si-only svg { flex: none; width: 14px; height: 14px; margin-top: 1px; color: var(--accent); }

/* ---- the route: map, directions ---- */
.si-routebar { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin: 0 0 0.5rem; }
.si-routehead { flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 0.3rem 0.6rem;
  flex-wrap: wrap; }
.si-totals { font-size: 0.8rem; color: var(--ink); font-weight: 700; }
.si-totals span { color: var(--muted); font-weight: 600; }
.si-hide { display: none; align-items: center; gap: 0.25rem; margin: 0; padding: 0.35rem 0.2rem; background: none; border: 0;
  color: var(--accent); font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.si-hide:hover:not(:disabled) { background: none; text-decoration: underline; }
.si-hide svg { width: 14px; height: 14px; stroke-width: 2.2; }
.si-hide[aria-expanded="false"] svg { transform: rotate(180deg); }
.si-map.aiv-map, .si-map { height: 430px; margin: 0; border-radius: 10px; border: 1.5px solid var(--panel-line); background: #F4F1EA; }
.si-mapbtns { margin: 0.6rem 0 0; }
.si-mapbtn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.si-mapbtn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; height: 42px; border-radius: 8px;
  border: 1.5px solid var(--field-line); background: var(--field); font-weight: 700; font-size: 0.86rem; color: var(--ink);
  text-decoration: none; min-width: 0; padding: 0 0.4rem; white-space: nowrap; }
.si-mapbtn:hover { border-color: var(--accent); }
.si-mapbtn svg { color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.si-mapbtn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.si-mapnote { font-size: 0.74rem; color: var(--faint); margin: 0.4rem 0 0; text-align: center; line-height: 1.45; }
.si-mapnote:empty { display: none; }
/* Add to calendar under the map buttons (inside the iPhone app only when the app adds the file itself; owner
   2026-11-12, beta "itinerary_drive"; itinerary.js shows it only when the View carries it). .si-mapbtn sets
   display, so [hidden] is said again. */
.si-calbtn { display: flex; width: 100%; margin-top: 0.5rem; }
.si-calbtn[hidden], .si-calnote[hidden] { display: none; }
/* In the iPhone app the link goes to the app's own calendar handler: no long-press preview (its "Open" would show
   the view-only file viewer). Nothing on screen changes. */
.si-calbtn.si-cal-app { -webkit-touch-callout: none; }
.si-calnote.error { color: var(--danger); font-weight: 600; }
.si-popcard b { display: block; font-size: 0.9rem; }
.si-popcard span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.1rem; }
.aiv-popup .si-popcard { padding: 0.65rem 2rem 0.7rem 0.8rem; }

/* ---- in the PDF, and Make ---- */
.si-inpdf { margin: 1.05rem 0 0; padding: 0.8rem 0.9rem; border: 1px solid var(--soft-line); background: var(--soft); border-radius: 10px; }
.si-inpdf .si-eyebrow { display: block; margin-bottom: 0.55rem; }
.si-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.si-pg { display: flex; gap: 0.55rem; align-items: center; font-size: 0.74rem; color: var(--muted); line-height: 1.3; }
.si-pg b { color: var(--ink); display: block; font-size: 0.78rem; }
.si-mini { width: 34px; height: 44px; flex-shrink: 0; background: #fff; border: 1px solid #D8D0BE; border-radius: 2px; position: relative;
  overflow: hidden; box-shadow: 0 1px 2px rgba(42,37,34,0.12); }
.si-mini::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #82632B; }
.si-mini svg { position: absolute; inset: 0; }
.si-makebar { margin: 1rem 0 0; }
.si-mkrow { display: flex; align-items: center; }
.si-mkrow .si-make { flex: 1; min-width: 0; }
/* The help "?"'s place in the phone's sticky bar (app-2: beside a narrower Make button); help.js puts the
   "?" in it only while it's laid out — on a computer it floats in the corner as on every page. */
.si-help-slot { display: none; }
.si-make { display: flex; align-items: center; justify-content: center; gap: 0.55rem; width: 100%; height: 54px; border-radius: 8px;
  font-size: 1.05rem; font-weight: 700; box-shadow: 0 6px 18px rgba(42,37,34,0.18); }
.si-make svg { width: 19px; height: 19px; }
.si-make-why { text-align: center; font-size: 0.78rem; color: var(--muted); margin: 0.45rem 0 0; line-height: 1.4; }
.si-fine { text-align: center; font-size: 0.8rem; color: var(--muted); margin: 0.5rem 0 0; }
.si-fine b { color: var(--ink); font-weight: 700; }
.si-report { margin: 1rem 0 0; text-align: center; }
.si-report-status { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.si-report-status.error { color: var(--danger); font-weight: 600; }
.si-report-status a { color: var(--accent); font-weight: 700; }
.si-report .download { margin-top: 0.8rem; }

/* ---- one column under 1000px: the phone's order (app-2-phone-full) ---- */
@media (max-width: 999px) {
  #si-card { max-width: 720px; padding: 1.6rem 1.6rem 1.4rem; --si-px: 1.6rem; --si-pb: 1.4rem; }
  #si-tool { display: flex; flex-direction: column; }
  .si-cols, .si-left, .si-right { display: contents; }
  /* The route first, as app-2-phone; the saved itineraries (not in the mockups) after the day's fields. */
  .si-routebar { order: 1; }
  .si-map, .si-map.aiv-map { order: 2; height: 320px; }
  .si-mapbtns { order: 3; }
  .si-day { order: 4; margin: 1rem 0 0; }
  .si-saved-row { order: 5; margin: 0.9rem 0 0; }
  .si-addblock { order: 6; margin-top: 1.1rem; }
  .si-dayblock { order: 7; }
  .si-inpdf { order: 8; margin-top: 1.1rem; }
  .si-report { order: 9; }
  .si-makebar { order: 10; position: sticky; bottom: 0; z-index: 20; margin: 1rem calc(-1 * var(--si-px)) calc(-1 * var(--si-pb));
    padding: 0.7rem var(--si-px) 0.9rem; background: var(--panel); border-top: 1px solid var(--panel-line);
    box-shadow: 0 -8px 20px rgba(42,37,34,0.10); border-radius: 0 0 3px 3px; }
  .si-make { height: 52px; }
  .si-help-slot { display: flex; flex: none; align-items: center; }
  .si-help-slot .hlp-fab { margin-left: 0.6rem; }
  .si-fine { margin-top: 0.4rem; }
  .si-routehead { display: block; }
  .si-routehead .si-eyebrow { display: block; }
  .si-routehead .si-totals { display: block; margin-top: 0.2rem; }
  .si-hide { display: inline-flex; flex-shrink: 0; }
  .si-dayhead { flex-wrap: wrap; }
  .si-pages { grid-template-columns: 1fr; gap: 0.45rem; }
  #si-tool.si-maphidden .si-map { display: none; }
}
@media (max-width: 560px) {
  #si-card { padding: 1.3rem 1rem 1.2rem; --si-px: 1rem; --si-pb: 1.2rem; }
  #si-card h1 { font-size: 1.7rem; }
  #si-card .tagline { font-size: 0.9rem; margin-bottom: 1.1rem; }
  .si-map, .si-map.aiv-map { height: 250px; margin: 0 calc(-1 * var(--si-px)); border-radius: 0; border-left: 0; border-right: 0;
    width: auto; }
  .si-mapbtn { height: 44px; font-size: 0.84rem; }
  .si-add input { height: 46px; padding: 0 0.8rem; font-size: 0.95rem; }
  .si-btn { height: 46px; padding: 0 0.85rem; }
  .si-dayhead .si-ghost { width: 100%; height: 40px; margin: 0.35rem 0 0; }
}

/* ---- the time and break pop-overs ---- */
.si-pop { position: absolute; z-index: 940; width: 236px; padding: 0.75rem 0.8rem 0.8rem; text-align: left; background: var(--panel);
  color: var(--ink); border: 1.5px solid var(--accent); border-radius: 10px; box-shadow: 0 12px 30px rgba(42,37,34,0.28); }
.si-pop label { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 0.3rem; }
.si-pop label + input { margin-bottom: 0.6rem; }
.si-pop input { width: 100%; padding: 0.55rem 0.65rem; font-size: 1rem; min-width: 0; }
.si-pop .si-pop-btns { display: flex; gap: 0.45rem; margin-top: 0.1rem; }
.si-pop .si-pop-btns button { flex: 1; padding: 0.55rem 0.6rem; font-size: 0.9rem; }
.si-pop .si-pop-btns .si-quiet { background: var(--field); color: var(--ink); border: 1.5px solid var(--field-line); }
.si-pop .si-pop-btns .si-quiet:hover:not(:disabled) { background: var(--soft); }
.si-pop .si-pop-err { margin: 0.45rem 0 0; font-size: 0.78rem; color: var(--danger); font-weight: 600; }

/* ---- the dialogs: Suggest fastest order (app-5) and Add from a Compare Homes list ---- */
.si-scrim { position: fixed; inset: 0; z-index: 950; background: var(--overlay); }
.si-modal { position: fixed; z-index: 960; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(780px, calc(100vw - 24px));
  max-height: calc(100vh - 24px); overflow: auto; background: var(--panel); color: var(--ink); text-align: left;
  border: 1px solid var(--panel-edge); border-top: 3px solid var(--accent); border-radius: 3px;
  box-shadow: 0 24px 64px rgba(42,37,34,0.38); padding: 1.55rem 1.9rem 1.45rem; }
.si-modal:focus { outline: none; }
.si-modal .si-close { position: absolute; top: 0.9rem; right: 0.95rem; width: 30px; height: 30px; margin: 0; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--muted); background: none; border: 1px solid var(--soft-line);
  cursor: pointer; }
.si-modal .si-close:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.si-modal .si-close svg { width: 13px; height: 13px; stroke-width: 2.4; }
.si-modal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; margin: 0.35rem 2rem 0.3rem 0; letter-spacing: 0.2px;
  line-height: 1.2; }
.si-modal .si-lede { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.1rem; line-height: 1.45; }
.si-modal .si-lede b { color: var(--ink); font-weight: 700; }
.si-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.si-oc { border: 1.5px solid var(--panel-line); border-radius: 10px; background: var(--field); padding: 0.75rem 0.9rem 0.35rem; min-width: 0; }
.si-oc.sug { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,138,69,0.14); }
.si-oc .si-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.35rem; flex-wrap: wrap; }
.si-oc .si-hd b { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.si-oc.sug .si-hd b { color: var(--accent); }
.si-oc .si-hd span { font-weight: 800; font-size: 0.95rem; white-space: nowrap; }
.si-oc .si-hd span small { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.si-r { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 0.65rem; align-items: center; padding: 0.48rem 0;
  border-top: 1px solid var(--soft-line); }
.si-r .si-ra { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* A drive line may take a second line: in the Suggest popup's two columns (Duo open, ~641–780 px) one
   beside "was stop N" ran under the badge. One that fits stays on one line (check1115 T5). */
.si-r .si-rd { font-size: 0.76rem; color: var(--muted); margin-top: 0.08rem; }
.si-r .si-rd b { color: var(--ink); font-weight: 700; }
.si-r .si-mv { font-size: 0.68rem; font-weight: 800; color: var(--accent); background: var(--soft); border: 1px solid var(--panel-edge);
  border-radius: 999px; padding: 0.1rem 0.45rem; white-space: nowrap; }
.si-r.st { padding: 0.35rem 0 0.45rem; border-top: 0; }
.si-r.st .si-ra { font-size: 0.84rem; }
.si-acts { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.si-acts .si-actnote { flex: 1 1 14rem; font-size: 0.76rem; color: var(--faint); line-height: 1.4; margin: 0; }
.si-acts button { height: 46px; padding: 0 1.15rem; font-size: 0.95rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.45rem; }
.si-acts .si-keep { background: var(--field); color: var(--ink); border: 1.5px solid var(--field-line); }
.si-acts .si-keep:hover:not(:disabled) { background: var(--soft); }
.si-acts button svg { width: 16px; height: 16px; stroke-width: 2.6; }
.si-msg { margin: 0.6rem 0 0; font-size: 0.84rem; color: var(--danger); font-weight: 600; }
.si-msg:empty { display: none; }
/* The Compare Homes picker. */
.si-lists { display: flex; flex-direction: column; gap: 0.9rem; }
.si-lists section h3 { margin: 0 0 0.35rem; font-size: 0.86rem; font-weight: 800; color: var(--ink); }
.si-lists section h3 span { color: var(--muted); font-weight: 600; }
.si-pick { display: grid; grid-template-columns: 20px 56px minmax(0, 1fr); gap: 0.6rem; align-items: center; padding: 0.4rem 0.2rem;
  border-top: 1px solid var(--soft-line); cursor: pointer; font-size: 0.86rem; }
.si-pick input { width: 18px; height: 18px; margin: 0; padding: 0; }
.si-pick img, .si-pick .si-ph { width: 56px; height: 40px; border-radius: 5px; object-fit: cover; display: block; background: var(--soft);
  border: 1px solid var(--soft-line); }
.si-pick b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-pick small { display: block; color: var(--muted); font-size: 0.76rem; }
.si-pick.off { cursor: default; opacity: 0.6; }
.si-pick.off small em { font-style: normal; font-weight: 700; color: var(--ink); }
.si-none { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 0; }
@media (max-width: 640px) {
  .si-modal { padding: 1.2rem 1rem 1rem; top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 92vh;
    border-radius: 12px 12px 0 0; }
  .si-modal h2 { font-size: 1.35rem; }
  .si-cmp { grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
  .si-acts button { flex: 1; justify-content: center; }
  /* Suggest fastest order: "Keep mine" stays one line beside the note (it broke "Keep / mine"; check1115 T6). */
  #si-suggest .si-acts .si-keep { flex: 0 0 auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .si-list.si-drag-on > li:not(.si-dragging) { transition: none; }
}

/* ---- the buyers' notes (owner 2026-11-13, Mockup B; beta "buyer_notes") ----------------------------------------------
   "From the buyers" on each home (read-only for her), her own "My notes · only you" in the strip, the Buyers' notes
   link card under the map's buttons (on a phone above the day's homes) and the "make it again" nudge. Drawn only when
   the View carries them. */
.si-bn { grid-column: 1 / -1; margin: 6px -10px 0 -8px; border-top: 1px solid var(--soft-line); text-align: left; }
.si-bn + .si-ao { margin-top: 0; }
.si-bn-h { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.6rem; width: 100%; min-height: 38px; margin: 0;
  padding: 0.35rem 10px 0.35rem 12px; border: 0; border-radius: 0; background: none; color: var(--ink); text-align: left;
  font-size: 0.86rem; font-weight: 400; cursor: pointer; }
.si-bn-h:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.si-bn-h:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.si-bn-tag { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.si-bn-tag svg { width: 15px; height: 15px; stroke-width: 2; }
.si-bn-stars { display: inline-flex; gap: 1px; color: var(--accent); }
.si-bn-stars i { display: inline-flex; }
#si-tool .si-bn-stars svg { width: 15px; height: 15px; stroke-width: 1.8; fill: none; }
#si-tool .si-bn-stars i.on svg { fill: currentColor; }
.si-bn-take { padding: 0.05rem 0.55rem; border-radius: 999px; background: var(--pill); color: var(--pill-fg); font-size: 0.76rem; font-weight: 800; }
.si-bn-take.love { background: var(--btn-bg); color: var(--btn-fg); }
.si-bn-pre { flex: 1 1 8rem; min-width: 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.si-bn-none { color: var(--muted); }
.si-bn-saved { margin-left: auto; color: var(--muted); font-size: 0.8rem; }
.si-bn-chev { margin-left: auto; display: inline-flex; color: var(--accent); }
.si-bn-saved + .si-bn-chev { margin-left: 0.2rem; }
.si-bn-chev svg { width: 16px; height: 16px; stroke-width: 2.4; }
.si-bn-b { padding: 0 10px 0.6rem 12px; }
.si-bn.open .si-bn-b { margin: 0 6px 6px 4px; padding: 0.55rem 0.7rem 0.6rem; border: 1px solid var(--soft-line); border-radius: 8px;
  background: var(--panel); }
.si-bn-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.2rem; }
.si-bn-cols b { display: block; font-size: 0.86rem; }
.si-bn-cols p { margin: 0.2rem 0 0; font-size: 0.88rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.si-bn-foot, .si-bn-empty { margin: 0.5rem 0 0; font-size: 0.76rem; color: var(--faint); }
.si-bn-empty { margin: 0; }
.si-ao-mine { margin-top: 0; }
.si-mine { margin: 0.45rem 0 0.15rem; padding: 0.5rem 0.6rem 0.55rem; border: 1.5px dashed var(--si-only-line); border-radius: 8px; }
.si-mine-l { display: block; margin: 0 0 0.35rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); }
.si-mine-t { display: block; width: 100%; min-height: 2.6rem; padding: 0.5rem 0.6rem; font: inherit; font-size: 0.9rem; line-height: 1.4;
  color: var(--ink); background: var(--field); border: 1px solid var(--field-line); border-radius: 8px; resize: vertical; }
.si-mine-say { margin: 0.3rem 0 0; font-size: 0.74rem; color: var(--faint); }
.si-mine-say.error { color: var(--danger); font-weight: 600; }

.si-bncard { margin: 1rem 0 0; padding: 0.85rem 0.95rem 0.9rem; border: 1px solid var(--panel-line); border-radius: 12px; background: var(--field); }
.si-bn-hd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.3rem 0.8rem; }
.si-bn-hd h2 { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; font-size: 1rem; font-family: inherit; font-weight: 800;
  color: var(--ink); letter-spacing: 0; text-transform: none; }
.si-bn-hd h2 svg { width: 18px; height: 18px; color: var(--accent); stroke-width: 2; }
.si-bn-st { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.si-bn-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--field-line); }
.si-bn-st.on { color: var(--success); }
.si-bn-st.on::before { background: var(--success); }
.si-bn-lede { margin: 0.4rem 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.si-bn-review { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0.7rem 0 0; padding: 0.55rem 0.65rem; border: 1px solid var(--soft-line);
  border-radius: 8px; background: var(--soft); font-size: 0.84rem; line-height: 1.45; cursor: pointer; }
.si-bn-review input { flex: none; width: 18px; height: 18px; margin: 0.1rem 0 0; accent-color: var(--accent); }
.si-bn-btns { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0.55rem; margin: 0.75rem 0 0; }
.si-bn-btns button { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; height: 44px; margin: 0; padding: 0 0.8rem;
  border-radius: 9px; font-size: 0.92rem; font-weight: 800; }
.si-bn-btns svg { width: 18px; height: 18px; stroke-width: 2; }
.si-bn-copy { background: var(--field); color: var(--ink); border: 1.5px solid var(--field-line); }
.si-bn-copy:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.si-bn-btns button:disabled { opacity: 0.45; cursor: not-allowed; }
.si-bn-until { margin: 0.6rem 0 0; font-size: 0.8rem; color: var(--muted); }
.si-bn-until .si-bn-stop { padding: 0 0.1rem; font-size: inherit; }
.si-bn-say { margin: 0.55rem 0 0; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.si-bn-url { width: 100%; margin: 0.4rem 0 0; padding: 0.45rem 0.55rem; font-size: 0.82rem; }
.si-bn-nudge { margin: 0.9rem 0 0; padding: 0.6rem 0.8rem; border: 1.5px solid var(--accent); border-radius: 8px; background: var(--soft);
  font-size: 0.86rem; font-weight: 700; color: var(--ink); line-height: 1.45; }
@media (max-width: 999px) {
  .si-bncard, .si-bn-nudge { order: 6; }
}
@media (max-width: 560px) {
  .si-bn { margin: 7px -8px 0 -5px; }
  .si-bn-h { padding: 0.35rem 9px 0.35rem 10px; }
  .si-bn-pre { display: none; }
  .si-bn-cols { grid-template-columns: 1fr; }
  .si-bn-btns { grid-template-columns: 1fr 1fr; }
}
.si-bn:last-child { margin-bottom: -6px; border-radius: 0 0 8.5px 8.5px; overflow: hidden; }
@media (max-width: 560px) { .si-bn:last-child { margin-bottom: -7px; } }
