
/* ---- the type scale (expert review item 3, 12 Oct): eight steps and a label floor, in rem, so the phone's text size
   (iOS Larger Text, Android font size, the browser's) carries through. 1u is 1px at the default size. ---- */
:root { --u: calc(1rem / 16); }
@supports (font: -apple-system-body) { html { font: -apple-system-body; } :root { --u: calc(1rem / 17); } }
:root { --t-11: calc(11 * var(--u)); --t-12: calc(12 * var(--u)); --t-13: calc(13.5 * var(--u)); --t-15: calc(15 * var(--u)); --t-17: calc(17 * var(--u)); --t-20: calc(20 * var(--u)); --t-24: calc(24 * var(--u)); --t-30: calc(30 * var(--u)); --t-44: calc(44 * var(--u)); }
/* Volo Travel · the language, from the wireframe the two of them approved. */

/* =========================================================================
   VOLO TRAVEL · ITALY · WIREFRAME
   The language: an itinerary card from a house like Abercrombie & Kent.
   Cream paper, a display serif for anything that must be read at a glance,
   a tracked small-caps eyebrow for everything that labels it, one gold rule
   where the eye should land, and air where anyone else would draw a box.
   Dark follows the device. It is not a different design; it is the same
   card printed on black stock with gold hairlines, which is Montana.
   ========================================================================= */

:root {
  --paper:   #F6F1E8;
  --raised:  #FCFAF5;
  --sunken:  #ECE6DA;
  --panel:   #ECE6DA;
  --champagne:#EBDCB8;
  --on-champagne:#1B1A17;
  --ink:     #1B1A17;
  --ink-2:   #55524A;
  --ink-3:   #6B665C;   /* 5.1:1 on paper, 4.6:1 on sunken (was #8A857A, 3.3:1) */
  --hair:    rgba(27,26,23,.12);
  --rule:    rgba(27,26,23,.30);
  --edge:    rgba(27,26,23,.55);
  --gold:    #DEA726;
  --gold-ink:#7A5810; --cap-me:#2F6FB3; --cap-them:#6FB3E0;          /* gold you can read: 4.6:1 on paper */

  --ok:      #4E6B3A;
  --hold:    #7E5A1C;   /* 4.7:1 on paper (was #B07D2A, 3.2:1) */
  --alert:   #A8461B;
  --scrim:   linear-gradient(to top, rgba(14,11,8,.84) 0%, rgba(14,11,8,.6) 32%, rgba(14,11,8,.18) 62%, transparent 82%);   /* words on a photo: about 7:1 on a bright sky (expert review item 9, 12 Oct) */   /* burnt orange: an alert, never a wine region (Michael, 12 Oct) */
  --out:     #8A4A3E;
  --on-fill: #F5F0E8;   /* text on --ok and --out fills */

  --rome:    #6E3F6B;
  --wine:    #3F5F86;
  --florence:#2F7674;
  --transit: #6A6A62;

  --display: 'ivypresto-display', 'Iowan Old Style', Georgia, serif;
  --ui: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;

  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px;
  --index-w: 236px;
  --panel-w: 420px;
  --mast-base: 60px;
  /* On an iPad or iPhone opened from the Home Screen the status bar is drawn
     over the top of the page. The masthead grows by that inset so the wordmark
     and the buttons sit below it instead of under it. */
  --mast-h: calc(var(--mast-base) + env(safe-area-inset-top, 0px));
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-scheme="light"]) {
    --paper:   #0A0A0A;
    --raised:  #141311;
    --sunken:  #050505;
    --panel:   #23221E;
    --champagne:#E6D5AE;
    --on-champagne:#1B1A17;
    --ink:     #F5F0E8;
    --ink-2:   #C8C0B0;
    --ink-3:   #8F887A;
    --hair:    rgba(222,167,38,.16);
    --rule:    rgba(222,167,38,.38);
    --edge:    rgba(222,167,38,.6);
    --gold-ink:#E2B04A;
    --ok:      #9DBB7C;
    --hold:    #E0B25A;
    --alert:   #EE8A5A;
    --out:     #D98C7E;
    --on-fill: #1B1A17;
    --rome:    #C58BBE;
    --wine:    #8FAAD3;
    --florence:#7CC0BC;
    --transit: #A3AEB8;
  }
}
:root[data-theme="dark"], :root[data-scheme="dark"] {
  --paper:#0A0A0A; --raised:#141311; --sunken:#050505; --panel:#23221E; --champagne:#E6D5AE; --on-champagne:#1B1A17;
  --ink:#F5F0E8; --ink-2:#C8C0B0; --ink-3:#8F887A;
  --hair:rgba(222,167,38,.16); --rule:rgba(222,167,38,.38); --edge:rgba(222,167,38,.6);
  --gold-ink:#E2B04A; --ok:#9DBB7C; --hold:#E0B25A; --alert:#EE8A5A; --out:#D98C7E; --on-fill:#1B1A17;
  --rome:#C58BBE; --wine:#8FAAD3; --florence:#7CC0BC; --transit:#A3AEB8;
}

* { box-sizing:border-box; }
html, body { margin:0; height:100%; }
body {
  background:var(--paper); color:var(--ink); font-family:var(--ui);
  font-size:var(--t-15); line-height:1.5; -webkit-font-smoothing:antialiased;
}
body.shell { overflow:hidden; }
/* The app never scrolls as a page: iPad Safari and Chrome would scroll the whole document when something asked to be
   scrolled into view, and the masthead went off the top (Michael, 30 Sep, iPad Pro 12.9). The shell is pinned to the
   window, so there is nothing above it to scroll to; only #main, the rail and the panels scroll. */
body.shell #app { position:fixed; inset:0; height:auto; }
button { font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; }
a { color:inherit; }
img { display:block; }

/* ---- type ---- */
.display { font-family:var(--display); font-weight:400; letter-spacing:-.012em; }
.eyebrow {
  font-size:var(--t-11); font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-3);
}
.eyebrow.gold { color:var(--gold-ink); }
h1, h2, h3 { margin:0; font-weight:400; }
h1 { font-family:var(--display); font-size:var(--t-44); line-height:1.05; }
h2 { font-family:var(--display); font-size:var(--t-30); line-height:1.15; }
h3 { font-family:var(--display); font-size:var(--t-20); line-height:1.2; }
.dim { color:var(--ink-3); }
.mid { color:var(--ink-2); }
.small { font-size:var(--t-13); }
.num { font-variant-numeric:tabular-nums; }

/* ---- shell ---- */
#app { display:grid; grid-template-rows:var(--mast-h) 1fr; height:100%; position:relative; overflow:clip; }
#mast {
  display:flex; align-items:center; gap:var(--s5); padding:env(safe-area-inset-top, 0px) var(--s5) 0;
  border-bottom:1px solid var(--hair);
}
#mast .brand { display:flex; align-items:center; gap:10px; font-family:var(--display); font-size:var(--t-24); line-height:1; }
#mast .brand .mark { width:26px; height:26px; flex:none; }
#mast .brand a.home { display:inline-flex; align-items:center; color:inherit; text-decoration:none; border-radius:50%; }
@media (hover:hover) { #mast .brand a.home:hover .mark { color:var(--gold-ink); } }
#mast .brand .pipe { color:var(--gold); font-weight:300; }
#mast .brand .wm { letter-spacing:.14em; text-transform:uppercase; font-size:var(--t-24); }
#mast .brand .trip { font-style:italic; font-size:var(--t-24); margin-left:2px; }
#mast .mode { margin-left:auto; display:flex; border:1px solid var(--rule); border-radius:100px; padding:2px; }
#mast .mode button {
  padding:6px 16px; border-radius:100px; font-size:var(--t-13); font-weight:500; color:var(--ink-3);
}
#mast .mode button[aria-pressed="true"] { background:var(--ink); color:var(--paper); }
#mast .ask {
  display:flex; align-items:center; gap:8px; padding:8px 14px; border-radius:100px;
  border:1px solid var(--gold); color:var(--gold-ink); font-size:var(--t-13); font-weight:600;
}
#mast .ask svg { width:16px; height:16px; }
#mast .mode + .letters { margin-left:12px; }
#mast .letters { margin-right:10px; border-color:var(--rule); color:var(--ink); position:relative; }
#mast .letters[hidden] { display:none; }
#mast .letters .n[hidden] { display:none; }
#mast .letters .n { min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--gold); color:#1a1408; font-size:var(--t-11); font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
.flyenv { position:fixed; z-index:10000; width:32px; height:32px; border-radius:50%; background:var(--gold); color:#1a1408; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(0,0,0,.25); pointer-events:none; }
.flyenv svg { width:18px; height:18px; }
.letter { border:1px solid var(--hair); border-radius:8px; padding:var(--s4) var(--s4) var(--s2); margin-top:var(--s5); background:var(--raised); }
.letter .lhead { display:flex; align-items:center; gap:10px; } .letter .lhead svg { width:18px; height:18px; color:var(--gold-ink); }
.letter .lhead h3 { margin:0; font-family:var(--display); font-weight:400; font-size:var(--t-24); flex:1; }
.letter .chips { margin:12px 0 4px; }
@media (hover:hover) { .chip.lq .lx:hover { color:var(--stop); background:color-mix(in srgb, var(--stop) 10%, transparent); } }
.mk[data-k="mail"][aria-pressed="true"] { background:var(--gold); border-color:var(--gold); color:#1a1408; }
#index .wf { margin-top:auto; padding:var(--s4) var(--s5) 0; border-top:1px solid var(--hair); font-size:var(--t-11); color:var(--ink-3); display:flex; gap:8px; align-items:center; }
#index .wf button { color:var(--ink-2); text-decoration:underline; text-underline-offset:3px; }

#body { display:grid; grid-template-columns:var(--index-w) 1fr; min-height:0; position:relative; overflow:clip; }
#app[data-tray="closed"] #body { grid-template-columns:72px 1fr; }
#app[data-tray="closed"] #index a span:not(.n), #app[data-tray="closed"] #index .eyebrow, #app[data-tray="closed"] #index .wf span { display:none; }
#app[data-tray="closed"] #index a { justify-content:center; padding:14px 0; }
/* collapsed, the icons stand alone: a count only reads beside its word (round 3) */
#app[data-tray="closed"] #index a .n { display:none; }
#app[data-tray="closed"] #index .wf { justify-content:center; padding-left:0; padding-right:0; }
#index a[data-more] { display:none; }
.morelist { display:flex; flex-direction:column; padding-top:var(--s4); }
.morerow { display:flex; align-items:center; gap:var(--s4); padding:16px 0; border-bottom:1px solid var(--hair); font-size:var(--t-17); text-align:left; width:100%; }
.morerow svg { width:20px; height:20px; color:var(--ink-2); }
.morerow[aria-current="page"] { color:var(--gold-ink); }
.morerow .n { margin-left:auto; font-size:var(--t-12); font-weight:600; }
.morerow .n.hot { color:var(--stop); }
#index .grip {
  position:absolute; right:-14px; top:14px; width:28px; height:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--ink-2);
  border:1px solid var(--rule); background:var(--panel); z-index:3; transition:color .15s, border-color .15s;
}
@media (hover:hover) { #index .grip:hover { color:var(--ink); border-color:var(--gold); } }
#index a { position:relative; }

#index {
  position:relative; border-right:1px solid var(--hair); padding:var(--s6) 0 var(--s4); overflow:visible;
  display:flex; flex-direction:column;
}
#body { transition:grid-template-columns .28s var(--ease); }
#index .grps { flex:1 1 auto; min-height:0; overflow-y:auto; scrollbar-width:thin; }
#index { min-height:0; overflow:visible; z-index:5; }
/* fourteen doors on a short screen: tighter rows so Settings stays in view */
@media (max-height:900px) { #index a { padding:9px var(--s5); font-size:var(--t-15); } #index .grp { margin-bottom:var(--s4); } #index { padding-top:var(--s5); } }
#index .grp { margin-bottom:var(--s5); }
#index .grp .eyebrow { padding:0 var(--s5); margin-bottom:var(--s3); }
#index a {
  display:flex; align-items:center; gap:var(--s4); padding:12px var(--s5);
  font-size:var(--t-17); color:var(--ink-2); text-decoration:none; border-left:2px solid transparent;
}
@media (hover:hover) { #index a:hover { color:var(--ink); } }
#index a[aria-current="page"] { color:var(--ink); border-left-color:var(--gold); font-weight:500; background:linear-gradient(to right, color-mix(in srgb, var(--gold) 16%, transparent), transparent 85%); }
#index a .n.hot { color:var(--out); }
#index a .n { margin-left:auto; font-size:var(--t-12); color:var(--gold-ink); font-weight:600; }
#index svg { width:21px; height:21px; color:var(--ink-3); flex:none; }

#main { overflow:auto; min-width:0; scroll-behavior:smooth; }
#main > .surface { padding:var(--s7) var(--s7) var(--s8); max-width:1180px; }
#main > .surface.wide { max-width:none; padding:0; height:100%; position:relative; }
/* ---- desktop: the page fills to a standing right rail; the detail panel slides over that rail, flush ---- */
#rail { display:none; }
@media (min-width:1100px) {
  :root { --panel-w:clamp(380px, 26vw, 600px); }
  #main > .surface:not(.wide) { max-width:none; padding-right:calc(var(--panel-w) + var(--s7)); }
  #main > .surface:not(.wide) > * { max-width:1400px; }
  #app[data-rail="off"] #main > .surface:not(.wide) { padding-right:var(--s7); }
  /* Days: the calendar takes the width and the day pane stands where the rail would, so the detail slides over it flush */
  .dayswrap[data-mode="split"] { grid-template-columns:minmax(0,1fr) calc(var(--panel-w) - var(--s7) - var(--s5)); gap:var(--s6); }
  /* and it scales with the window, the way the rail does: no cap on the width, taller cells and larger type on a big screen */
  #main > .surface:not(.wide) > .dayswrap, #main > .surface:not(.wide) > .dsec:has(.dayswrap) { max-width:none; }
  .dayswrap[data-mode="split"] .calcell { min-height:clamp(132px, 13vh, 190px); } .dayswrap[data-mode="split"] .calcell .nn { font-size:clamp(40px, 2.7vw, 58px); }
  .dayswrap[data-mode="split"] .calcell .wh { font-size:clamp(13px, .85vw, 16px); }
  .dayswrap[data-mode="split"] .month .mh h2 { font-size:clamp(26px, 1.9vw, 36px); }
  .daypane h3, .daypane .dn { font-size:clamp(26px, 1.8vw, 34px); }
  #rail { display:block; position:absolute; top:var(--mast-h); right:0; bottom:0; width:var(--panel-w); border-left:1px solid var(--rule); background:var(--paper); overflow:auto; padding:var(--s6) var(--s5) var(--s7); z-index:10; }
  #rail[hidden] { display:none; }
  #main > .surface.wide ~ #rail { display:none; }
  .rail-sec { margin-top:var(--s6); } .rail-sec:first-child { margin-top:0; }
  .rail-sec .eyebrow { margin-bottom:var(--s3); }
  .rail-row { display:grid; grid-template-columns:1fr auto; gap:var(--s3); align-items:baseline; padding:9px 0; border-top:1px solid var(--hair); font-size:var(--t-13); text-align:left; width:100%; }
  .rail-row:first-of-type { border-top:0; }
  .rail-row .nm { color:var(--ink); } .rail-row .sub { display:block; font-size:var(--t-12); color:var(--ink-3); margin-top:2px; } .rail-row .rt { font-size:var(--t-12); color:var(--gold-ink); letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
  @media (hover:hover) { .rail-row:hover .nm { color:var(--gold-ink); } }
  .callout { border:1px solid var(--out); border-left-width:4px; border-radius:4px; padding:var(--s4); display:grid; grid-template-columns:28px 1fr; gap:var(--s3); align-items:start; background:color-mix(in srgb, var(--out) 7%, transparent); }
  .callout .bang { width:24px; height:24px; border-radius:50%; border:1.5px solid var(--out); color:var(--out); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:var(--t-13); position:relative; }
  .callout .bang::after { content:''; position:absolute; inset:-4px; border-radius:50%; border:1.5px solid var(--out); animation:bangring 2.4s ease-out infinite; }
  @keyframes bangring { 0% { transform:scale(.7); opacity:.9; } 70% { transform:scale(1.35); opacity:0; } 100% { transform:scale(1.35); opacity:0; } }
  @media (prefers-reduced-motion:reduce) { .callout .bang::after { animation:none; display:none; } }
  .callout .nm { font-family:var(--display); font-size:var(--t-20); line-height:1.2; } .callout .sub { font-size:var(--t-13); color:var(--ink-2); margin-top:4px; line-height:1.45; } .callout .btn { margin-top:10px; }
  .thead { display:grid; grid-template-columns:56px 1fr 140px 180px 84px; gap:var(--s4); padding:6px 0; font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); }
}
@media (max-width:1099px) { .thead { display:none; } }

/* ---- the panel: detail is always over the surface, never instead of it ---- */
#scrim { position:absolute; left:0; right:0; bottom:0; top:var(--mast-h); background:rgba(27,26,23,.10); opacity:0; pointer-events:none; transition:opacity .25s; z-index:20; }
#app[data-panel="open"] #scrim { opacity:1; pointer-events:auto; }
/* on a wide screen the page stays live under an open panel: one click on another row swaps the detail */
/* A detail open over the page dims the page behind it, at every width, so the card is what you read (Michael, iPad
   Pro, 30 Sep: the Gigi card was hard to read over the calendar). On a wide screen the dim is only visual: the page
   stays live, as before. Travel keeps its map bright, the card there is a second tray beside it. */
#scrim { background:rgba(27,26,23,.22); }
:root[data-theme="dark"] #scrim, :root[data-scheme="dark"] #scrim { background:rgba(0,0,0,.55); }
@media (min-width:1100px) { #app[data-panel="open"] #scrim { pointer-events:none; } #app[data-mode="travel"][data-panel="open"] #scrim { opacity:0; } }
#app[data-panel="open"] #panel { box-shadow:-18px 0 50px rgba(0,0,0,.35); }
#panel {
  position:absolute; top:var(--mast-h); right:0; bottom:0; width:var(--panel-w); max-width:100%;
  background:var(--panel); border-left:1px solid var(--rule); box-shadow:-12px 0 40px rgba(0,0,0,.25);
  transform:translateX(100%); transition:transform .32s var(--ease); z-index:30;
  display:flex; flex-direction:column; overflow:hidden;
}
#app[data-panel="open"] #panel { transform:none; }
#app:not([data-panel="open"]) #panel, #app:not([data-ask="open"]) #ask { box-shadow:none; }
#panel, #ask { z-index:60; } #scrim { z-index:50; }
/* the tray's head: the title at the left, the way out at the right edge,
   pointing the way the tray leaves; the whole strip is the one button. A back
   chevron stands at the left only when there is a card to go back to. */
#panel .phead { display:flex; align-items:stretch; border-bottom:1px solid var(--hair); flex:none; min-height:56px; }
#panel .phead .close { flex:1; display:flex; align-items:center; justify-content:space-between; gap:var(--s3); padding:0 var(--s4) 0 var(--s5); min-height:56px; color:var(--ink-3); text-align:left; cursor:pointer; transition:color .15s, background .15s; }
@media (hover:hover) { #panel .phead .close:hover { color:var(--ink); background:color-mix(in srgb, var(--ink) 4%, transparent); } }
#panel .phead .close svg { width:20px; height:20px; flex:none; transition:transform .2s; }
@media (hover:hover) { #panel .phead .close:hover svg { transform:translateX(3px); } }
#panel .phead .back { flex:none; width:52px; display:flex; align-items:center; justify-content:center; color:var(--ink-2); border-right:1px solid var(--hair); }
#panel .phead .back[hidden] { display:none; }
#panel .phead .back svg { width:20px; height:20px; }
#panel .phead .back + .close { padding-left:var(--s4); }
/* the way out points the way the tray leaves: right where it slides in from the side, down where it rises from the bottom (a phone) */
/* phones and tablets: the close steps back, so a card with one under it has one control, named for where it goes (2 Oct) */
@media (max-width:1099px) {
  #panel .phead .back:not([hidden]) { display:none; }
  #panel .phead .back:not([hidden]) + .close { justify-content:flex-start; gap:6px; padding-left:var(--s3); color:var(--ink-2); }
  #panel .phead .back:not([hidden]) + .close svg.out { display:none; }
  @media (hover:hover) { #panel .phead .back:not([hidden]) + .close:hover svg.stepin { transform:translateX(-3px); } }
  #panel .phead .back:not([hidden]) + .close #panelKind { text-transform:none; letter-spacing:0; font-size:var(--t-15); font-weight:500; color:var(--ink-2); }
}
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #panel .phead .close svg.out { transform:rotate(90deg); } @media (hover:hover) { #panel .phead .close:hover svg.out { transform:rotate(90deg) translateY(-2px); } } }
/* the swap: the new card slides in over the old, which recedes behind it */
#panel .pbody { position:relative; z-index:1; background:var(--panel); }
#panel .pbody.enter { animation:cardin .34s var(--ease) both; }
#panel .pghost { position:absolute; left:0; right:0; bottom:0; z-index:0; overflow:hidden; pointer-events:none; animation:cardout .34s var(--ease) both; }
@keyframes cardin { from { transform:translateX(100%); box-shadow:-18px 0 40px rgba(0,0,0,.28); } to { transform:none; box-shadow:-18px 0 40px rgba(0,0,0,0); } }
@keyframes cardout { from { transform:none; opacity:1; } to { transform:translateX(-8%) scale(.98); opacity:.35; } }
/* one motion everywhere (Michael, 2 Oct): a card opened from a card slides in from the right; going back, it leaves to the right
   and the card under it returns from the left. The tray itself rises from the bottom on a phone (#panel, below). */
#panel .pbody.enter.back { animation:cardback .34s var(--ease) both; }
#panel .pghost.back { z-index:2; animation:cardoutr .34s var(--ease) both; }
@keyframes cardback { from { transform:translateX(-22%); opacity:.35; } to { transform:none; opacity:1; } }
@keyframes cardoutr { from { transform:none; } to { transform:translateX(100%); } }
@media (prefers-reduced-motion:reduce) { #panel .pbody.enter { animation:fadein .2s both; } #panel .pghost { animation:fadeout .2s both; } }
@keyframes fadein { from { opacity:0; } to { opacity:1; } } @keyframes fadeout { to { opacity:0; } }
#panel .pbody { overflow:auto; flex:1; padding:0 var(--s5) var(--s7); }
#panel .pbody .hero { margin:0 calc(var(--s5) * -1); aspect-ratio:3/2; background:var(--raised); overflow:hidden; }
#panel .pbody .hero img { width:100%; height:100%; object-fit:cover; }
#panel .pmap { margin:var(--s4) calc(var(--s5) * -1) 0; } #panel .pmap .map { height:220px; background:var(--sunken); } #panel .pmap .eyebrow { padding:8px var(--s5) 0; }
#panel .pbody .hero.none { display:flex; align-items:end; padding:var(--s4) var(--s5); background:
  var(--sunken) repeating-linear-gradient(135deg, rgba(27,26,23,.06) 0 1px, transparent 1px 8px); }
#panel h2 { margin-top:var(--s5); }
#panel .lede { margin-top:var(--s2); color:var(--ink-2); }
#panel .facts { margin-top:var(--s5); display:grid; grid-template-columns:auto 1fr; gap:var(--s2) var(--s4); font-size:var(--t-13); }
#panel .facts dt { color:var(--ink-3); font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; padding-top:3px; }
#panel .facts dd { margin:0; color:var(--ink-2); }
#panel .acts { margin-top:var(--s6); display:flex; flex-direction:column; gap:var(--s2); }
#panel .section { margin-top:var(--s6); }
#panel .section .eyebrow { margin-bottom:var(--s3); }

/* ---- controls ---- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px;
  padding:0 var(--s4); border:1px solid var(--rule); border-radius:4px; font-size:var(--t-13); font-weight:500;
  transition:border-color .15s, background .15s, color .15s;
}
@media (hover:hover) { .btn:hover { border-color:var(--ink); } }
.btn.solid { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.btn.gold { border-color:var(--gold); color:var(--gold-ink); }
.btn.quiet { border-color:transparent; color:var(--ink-3); }
.btn.wide { width:100%; }
.btn svg { width:15px; height:15px; }
.btn[data-on="1"] { background:var(--ink); color:var(--paper); border-color:var(--ink); }

.chips { display:flex; flex-wrap:wrap; gap:6px; }
.chip {
  display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:0 12px; border-radius:100px;
  border:1px solid var(--hair); font-size:var(--t-12); color:var(--ink-2); white-space:nowrap;
}
.chip[aria-pressed="true"] { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.chip .dot { width:7px; height:7px; border-radius:50%; background:currentColor; }
.chip[data-k="ok"]   { color:var(--ok); }
.chip[data-k="hold"] { color:var(--hold); }
.chip[data-k="out"]  { color:var(--out); }

.mark { display:inline-flex; align-items:center; gap:7px; font-size:var(--t-12); font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.mark i { width:8px; height:8px; border-radius:50%; background:currentColor; }
.mark[data-s="booked"] { color:var(--ok); }
.mark[data-s="held"]   { color:var(--hold); }
.mark[data-s="out"]    { color:var(--out); }
.mark[data-s="open"]   { color:var(--ink-3); }
.mark[data-s="open"] i { background:none; border:1.5px solid currentColor; }

.rulebar { height:2px; background:var(--gold); width:40px; margin:var(--s3) 0 var(--s5); }
.hr { height:1px; background:var(--hair); margin:var(--s6) 0; }

/* ---- overview ---- */
@media (hover:hover) { .ov-leg:hover .ph img { transform:scale(1.03); } }
.ov-leg[data-leg="rome"]{--leg:var(--rome)} .ov-leg[data-leg="wine"]{--leg:var(--wine)} .ov-leg[data-leg="florence"]{--leg:var(--florence)}
@media (hover:hover) { .ov-list li:hover .t { color:var(--gold-ink); } }
.ov-list li .under .l { color:var(--gold-ink); } .ov-list li .under .r { color:var(--ink-3); }
@media (hover:hover) { .ov-list li:hover .hov { display:flex; } .ov-list li .under { display:none; } }

textarea.why { width:100%; resize:vertical; border:1px solid var(--rule); border-radius:4px; background:var(--paper); color:var(--ink); font:inherit; font-size:var(--t-15); line-height:1.5; padding:12px 14px; margin-top:8px; }
textarea.why:focus { outline:none; border-color:var(--gold); }

.crumb { display:inline-flex; align-items:center; gap:10px; font-size:var(--t-13); font-weight:500; color:var(--ink); margin-bottom:var(--s5); padding:10px 16px 10px 12px; background:var(--panel); border:1px solid var(--rule); border-radius:4px; }
.crumb svg { width:16px; height:16px; color:var(--gold-ink); }
@media (hover:hover) { .crumb:hover { border-color:var(--gold); } }
.crumb.inpanel { margin:0 0 var(--s3); }
.surface.wide .crumb { position:absolute; left:var(--s4); top:calc(var(--s4) + 44px); z-index:6; margin:0; box-shadow:0 4px 16px rgba(0,0,0,.2); }
input.search { width:100%; border:1px solid var(--rule); border-radius:4px; background:var(--raised); color:var(--ink); font:inherit; font-size:var(--t-15); padding:11px 14px; }
input.search:focus { outline:none; border-color:var(--gold); }
.picklist { display:flex; flex-direction:column; }
.pick { display:grid; grid-template-columns:56px 1fr auto; gap:var(--s3); align-items:center; padding:var(--s2) 0; border-top:1px solid var(--hair); cursor:pointer; }
.pick .ph { aspect-ratio:1; background:var(--raised); overflow:hidden; display:block; } .pick .ph img { width:100%; height:100%; object-fit:cover; }
.pick .nm { display:block; font-family:var(--display); font-size:var(--t-17); line-height:1.2; }
.pick .sub { display:block; font-size:var(--t-12); color:var(--ink-3); }
.pick .btn { min-height:36px; padding:0 12px; font-size:var(--t-13); }
.pick[data-done] .nm { color:var(--ok); }
@media (hover:hover) { .pick:hover .nm { color:var(--gold-ink); } }

/* ---- calendar ---- */
.month { margin-top:var(--s6); }
.month + .month { margin-top:var(--s8); }
.month .mh { display:flex; align-items:baseline; gap:var(--s3); margin-bottom:var(--s4); }
.month .mh h2 { font-size:var(--t-30); }
.month .mh .yr { font-size:var(--t-12); letter-spacing:.14em; color:var(--ink-3); }
.calgrid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border-top:1px solid var(--rule); border-left:1px solid var(--hair); }
.calgrid .head {
  font-size:var(--t-12); font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2);
  padding:var(--s3) var(--s3); border-right:1px solid var(--hair); border-bottom:1px solid var(--rule);
}
.calcell {
  position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:2px; overflow:hidden;
  min-height:150px; padding:var(--s3) var(--s3) var(--s4); text-align:left;
  border-right:1px solid var(--hair); border-bottom:1px solid var(--hair);
}
.calcell::before { content:''; position:absolute; left:0; right:0; top:0; height:3px; background:var(--leg); transition:height .35s var(--ease); z-index:0; }
.calcell > * { position:relative; z-index:1; }
.calcell[data-empty] { background:repeating-linear-gradient(135deg, transparent 0 6px, var(--hair) 6px 7px); opacity:.35; }
.calcell[data-empty]::before { display:none; }
.calcell[data-leg="rome"]{--leg:var(--rome)} .calcell[data-leg="wine"]{--leg:var(--wine)} .calcell[data-leg="florence"]{--leg:var(--florence)} .calcell[data-leg="transit"]{--leg:var(--transit)}
.calcell .dl { display:flex; align-items:baseline; gap:7px; width:100%; }
.calcell .nn { font-family:var(--display); font-size:var(--t-44); line-height:1; letter-spacing:-.02em; }
.calcell .mv { margin-left:auto; color:var(--ink-3); } .calcell .mv svg { width:18px; height:18px; }
.calcell .wh { margin-top:var(--s2); font-size:var(--t-15); font-weight:600; line-height:1.25; }
.calcell .ld { font-size:var(--t-12); line-height:1.4; color:var(--ink-3); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
/* Hover: the rule along the top unfolds and fills the day. */
/* Hover only where there is a pointer that hovers. On a phone a tap left the
   cell flooded in its leg colour for hours, which read as an alarm. */
@media (hover:hover) {
.calcell:hover::before, .calcell:focus-visible::before { height:100%; }
.calcell:hover, .calcell:focus-visible { color:var(--paper); }
.calcell:hover .ld, .calcell:hover .mv, .calcell:focus-visible .ld { color:var(--paper); opacity:.8; }
}
.calcell[data-today]::before { background:var(--gold); }
.calcell[data-today] .nn { color:var(--gold-ink); }
@media (hover:hover) { .calcell[data-today]:hover .nn { color:#0A0A0A; } .calcell[data-today]:hover { color:#0A0A0A; } .calcell:hover .nn { color:inherit; } }

/* the three treatments */
.dayshead { display:flex; align-items:flex-end; justify-content:space-between; gap:var(--s4); }
.seg2 { display:inline-flex; border:1px solid var(--rule); border-radius:100px; padding:2px; }
.seg2 button { padding:6px 14px; border-radius:100px; font-size:var(--t-13); font-weight:500; color:var(--ink-3); }
.seg2 button[aria-pressed="true"] { background:var(--ink); color:var(--paper); }
.dayswrap { display:grid; grid-template-columns:1fr; gap:var(--s7); align-items:start; }
.dayswrap[data-mode="split"] { grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr); }
.dayswrap[data-mode="split"] .calcell { min-height:112px; padding:var(--s2) var(--s2) var(--s3); }
.dayswrap[data-mode="split"] .calcell .nn { font-size:var(--t-30); }
.dayswrap[data-mode="split"] .calcell .wh { font-size:var(--t-13); }
.dayswrap[data-mode="split"] .month .mh h2 { font-size:var(--t-24); }
.dayswrap[data-mode="board"] .calcell { min-height:220px; }
.dayswrap[data-mode="board"] .calcell .nn { font-size:var(--t-44); }
/* the open day is inked, not flooded in its leg's colour: red meant Rome,
   and on a phone it looked like something was wrong with the 28th */
/* the chosen day fills with its own leg's colour, the same colour the hover peels down */
.calcell[data-sel]::before { height:100%; background:var(--leg); }
.calcell[data-sel] { color:#F5F0E8; }
.calcell[data-sel] .nn { color:#F5F0E8; }
.calcell[data-sel] .ld, .calcell[data-sel] .wh, .calcell[data-sel] .density span, .calcell[data-sel] .stops .st { color:#F5F0E8; opacity:.9; }
.calcell[data-sel] .density i { outline:1px solid rgba(245,240,232,.7); }
.daypane.empty .legsum { display:flex; flex-direction:column; margin-top:var(--s4); border-top:1px solid var(--hair); }
.daypane.empty .legrow { display:grid; grid-template-columns:1fr auto; gap:var(--s3); align-items:center; min-height:56px; padding:10px 0 10px 14px; border-bottom:1px solid var(--hair); border-left:3px solid var(--leg); text-align:left; }
.daypane.empty .legrow[data-leg="rome"]{--leg:var(--rome)} .daypane.empty .legrow[data-leg="wine"]{--leg:var(--wine)} .daypane.empty .legrow[data-leg="florence"]{--leg:var(--florence)}
.daypane.empty .legrow .nm { display:block; font-family:var(--display); font-size:var(--t-20); } .daypane.empty .legrow .sub { display:block; font-size:var(--t-12); color:var(--ink-3); margin-top:2px; } .daypane.empty .legrow .rt { font-size:var(--t-12); color:var(--ink-2); }
@media (hover:hover) { .daypane.empty .legrow:hover .nm { color:var(--gold-ink); } }
.daypane.empty h3 { margin-top:6px; } .daypane.empty > .dim { margin-top:var(--s4); }
.calcell.over { outline:2px dashed var(--gold); outline-offset:-4px; }
.calcell .density { display:flex; gap:3px; align-items:center; margin-top:auto; padding-top:var(--s2); flex-wrap:wrap; }
.calcell .density i { width:9px; height:9px; border-radius:2px; display:block; }
.calcell .density span { font-size:var(--t-11); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.calcell .density .open { color:var(--gold-ink); }
.calcell .stops { display:flex; flex-direction:column; gap:3px; margin-top:var(--s2); width:100%; }
.calcell .stops .st { display:flex; align-items:center; gap:6px; font-size:var(--t-12); line-height:1.3; color:var(--ink-2); cursor:grab; padding:2px 0; }
.calcell .stops .st i { width:7px; height:7px; border-radius:50%; background:var(--k); flex:none; }
.calcell .stops .st.dragging { opacity:.4; }
.calcell .stops .open { font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; color:var(--gold-ink); margin-top:4px; }
.calcell[data-sel] .stops .st { color:inherit; } @media (hover:hover) { .calcell:hover .stops .st { color:inherit; } }

.daypane { position:sticky; top:var(--s4); border-left:2px solid var(--leg); padding-left:var(--s5); }
.daypane[data-leg="rome"]{--leg:var(--rome)} .daypane[data-leg="wine"]{--leg:var(--wine)} .daypane[data-leg="florence"]{--leg:var(--florence)} .daypane[data-leg="transit"]{--leg:var(--transit)}
.daypane .ph { aspect-ratio:16/9; overflow:hidden; background:var(--sunken) repeating-linear-gradient(135deg, rgba(27,26,23,.06) 0 1px, transparent 1px 8px); position:relative; margin-bottom:var(--s4); }
.daypane .ph img { width:100%; height:100%; object-fit:cover; }
.daypane .ph::after { content:''; position:absolute; inset:0; background:var(--scrim); }
.daypane .ph .nn { position:absolute; left:var(--s4); bottom:var(--s2); font-family:var(--display); font-size:calc(64 * var(--u)); line-height:1; color:#F5F0E8; z-index:1; }
.daypane h2 { margin-top:4px; }
.daypane .meta { display:flex; align-items:center; gap:8px; margin-top:var(--s2); color:var(--ink-2); font-size:var(--t-13); }
.daypane .meta .bi svg { width:16px; height:16px; color:var(--ink-3); display:block; }
.daypane .load { display:flex; align-items:baseline; gap:10px; margin-top:var(--s4); padding:10px 14px; border:1px solid var(--hair); border-radius:4px; font-size:var(--t-13); color:var(--ink-2); }
.daypane .load .n { font-family:var(--display); font-size:var(--t-20); color:var(--ink); }
.daypane .load[data-s="open"] { border-color:var(--gold); } .daypane .load[data-s="out"] { border-color:var(--out); }
.daypane .section { margin-top:var(--s5); } .daypane .section .eyebrow { margin-bottom:var(--s2); }
.daypane .sechead { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:var(--s2); }
.daypane .sechead .hint { font-size:var(--t-11); color:var(--ink-3); }
.daypane .planlist { min-height:60px; }
.daypane .stop { cursor:grab; grid-template-columns:34px 1fr auto auto; }
.daypane .stop .ki { color:var(--ink-2); display:flex; align-items:center; padding-top:2px; }
.daypane .stop { touch-action:pan-y; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; position:relative; background:var(--paper); transition:transform .18s var(--ease), box-shadow .18s; }
.daypane .stop .go { cursor:grab; color:var(--ink-3); opacity:.45; padding:4px 2px; }
@media (hover:hover) { .daypane .stop:hover .go { opacity:1; color:var(--gold-ink); } }
@media (hover:none) { .daypane .stop .go { display:none; } .daypane .stop { grid-template-columns:34px 1fr auto; } }
.daypane .stop.lift { z-index:5; background:var(--raised); box-shadow:0 10px 28px rgba(0,0,0,.22); transform:scale(1.02); border-top-color:transparent; border-radius:4px; transition:none; cursor:grabbing; }
.daypane .planlist.lifting .stop:not(.lift) { transition:transform .18s var(--ease); }
.daypane .stop.flash { animation:stopflash 1.8s var(--ease) 1; }
@keyframes stopflash { 0% { background:color-mix(in srgb, var(--gold) 45%, var(--paper)); } 60% { background:color-mix(in srgb, var(--gold) 28%, var(--paper)); } 100% { background:var(--paper); } }
.daypane .stop.dragging { opacity:.35; }
.daynote { background:var(--champagne); color:var(--on-champagne); border-left:3px solid var(--gold); padding:var(--s3) var(--s4); border-radius:0 4px 4px 0; }
.daynote ul { margin:0; padding-left:18px; font-family:var(--display); font-size:var(--t-17); line-height:1.55; color:var(--on-champagne); outline:none; min-height:26px; }
.daynote ul li { margin:2px 0; }
.daynote ul li::marker { color:#8A6414; }
.daynote ul[data-empty]::before { content:'Your notes for the day. Sunrise, what to skip, who to call.'; color:rgba(27,26,23,.5); font-style:italic; position:absolute; margin-left:-18px; pointer-events:none; }
.daynote { position:relative; }
.daynote.preview { display:block; width:100%; text-align:left; cursor:pointer; max-height:150px; overflow:hidden; }
.daynote.preview.tall { max-height:220px; }
.daynote.preview::after { content:''; position:absolute; left:0; right:0; bottom:0; height:44px; background:linear-gradient(to top, var(--champagne), transparent); pointer-events:none; }
.daynote.preview .open { position:absolute; right:10px; bottom:8px; z-index:1; display:inline-flex; align-items:center; gap:5px; font-size:var(--t-11); font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#8A6414; background:var(--champagne); padding:4px 8px; border-radius:100px; border:1px solid rgba(138,100,20,.4); }
@media (hover:hover) { .daynote.preview:hover .open { background:#1B1A17; color:#F5F0E8; border-color:#1B1A17; } }
.daynote.preview ul[data-empty]::before { content:'Your notes. Tap to write.'; }
.noteed { margin:0; padding:var(--s4) var(--s4) var(--s4) 34px; min-height:52vh; font-family:var(--display); font-size:var(--t-20); line-height:1.6; color:var(--on-champagne); background:var(--champagne); border-left:3px solid var(--gold); border-radius:0 4px 4px 0; outline:none; }
.noteed li { margin:4px 0; } .noteed li::marker { color:#8A6414; }
.dayhero { position:relative; margin:0 calc(var(--s5) * -1); min-height:210px; display:flex; align-items:flex-end; overflow:hidden; background:var(--ink); color:#F5F0E8; }
.dayhero .half { position:absolute; inset:0; background:var(--sunken); }
.dayhero .half img { width:100%; height:100%; object-fit:cover; display:block; }
.dayhero .half.ink { background:linear-gradient(135deg, #2A2823, #1B1A17); }
.dayhero.split .half.a { clip-path:polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.dayhero.split .half.b { clip-path:polygon(50% 0, 100% 0, 100% 100%, 50% 100%); }
.dayhero::after { content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(10,10,10,.82) 0%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.05) 100%); }
.dayhero .tx { position:relative; z-index:2; padding:var(--s6) var(--s5) var(--s4); width:100%; }
.dayhero .tx .eyebrow { color:#EBDCB8; display:inline-block; padding-bottom:6px; border-bottom:1px solid var(--gold); }
.dayhero .tx h2 { color:#F5F0E8; margin:6px 0 0; font-size:var(--t-44); }
.dayhero .tx .lede { color:#F1E8D6 !important; opacity:1; margin:4px 0 0; font-size:var(--t-17); }
.dayhero .tx .mvi { position:absolute; right:var(--s5); bottom:var(--s5); color:#F5F0E8; opacity:.9; }
.dayhero .tx .mvi svg { width:26px; height:26px; }
#panel .pbody > .dayhero { margin-top:0; }
.notetools { display:flex; gap:4px; margin:20px 0 8px; position:sticky; top:0; z-index:2; background:var(--panel); padding:8px 0; }
.notetools .tb { width:36px; height:36px; border:1px solid var(--rule); border-radius:4px; font-size:var(--t-13); font-family:var(--display); }
.notetools .tb.bold { font-weight:700; } .notetools .tb.italic { font-style:italic; }
@media (hover:hover) { .notetools .tb:hover { border-color:var(--gold); } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .noteed { min-height:30vh; font-size:var(--t-20); } .dayhero { min-height:180px; } .dayhero .tx h2 { font-size:var(--t-30); } }
.daypane .planlist.over { outline:2px dashed var(--gold); outline-offset:4px; }
.daypane .acts { margin-top:var(--s5); display:flex; flex-direction:column; gap:var(--s2); }
@media (max-width:1100px) { .dayswrap[data-mode="split"] { grid-template-columns:1fr; } .daypane { position:static; border-left:0; padding-left:0; border-top:2px solid var(--leg); padding-top:var(--s5); } }

/* ---- place cards ---- */
.filters { display:flex; flex-wrap:wrap; gap:var(--s4); align-items:center; margin:var(--s5) 0 var(--s6); }
.filters .grp { display:flex; gap:6px; align-items:center; }
.filters .grp .eyebrow { margin-right:4px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:var(--s5) var(--s4); }
.card { text-align:left; display:flex; flex-direction:column; gap:var(--s2); }
.card .ph { aspect-ratio:4/3; background:var(--sunken) repeating-linear-gradient(135deg, rgba(27,26,23,.06) 0 1px, transparent 1px 8px); overflow:hidden; border-bottom:2px solid var(--leg); position:relative; }
.card .ph img { width:100%; height:100%; object-fit:cover; }
.card .ph .on { position:absolute; left:8px; top:8px; background:var(--paper); color:var(--ink); font-size:var(--t-11); font-weight:700; letter-spacing:.1em; padding:3px 8px; text-transform:uppercase; }
.card .nm { font-family:var(--display); font-size:var(--t-20); line-height:1.2; }
.card .kd { font-size:var(--t-12); color:var(--ink-3); letter-spacing:.08em; text-transform:uppercase; }
@media (hover:hover) { .card:hover .nm { color:var(--gold-ink); } }
.card[data-leg="rome"]{--leg:var(--rome)} .card[data-leg="wine"]{--leg:var(--wine)} .card[data-leg="florence"]{--leg:var(--florence)}

/* ---- things to do: tabs, selects, search ---- */
/* the rule under the tabs is drawn inside the strip, so the active tab's gold sits exactly on it (a border here would be clipped by the scroller and the gold would float above the line) */
.tabs { display:flex; gap:var(--s5); box-shadow:inset 0 -1px 0 var(--rule); margin-top:var(--s5); overflow-x:auto; scrollbar-width:none; }
.tab { display:flex; align-items:baseline; gap:8px; padding:10px 2px 12px; min-height:44px; font-family:var(--display); font-size:var(--t-20); color:var(--ink-3); border-bottom:2px solid transparent; white-space:nowrap; }
.tab .n { font-family:var(--ui); font-size:var(--t-11); font-weight:600; letter-spacing:.06em; color:var(--ink-3); }
.tab[aria-current="true"] { color:var(--ink); border-bottom-color:var(--gold); } .tab[aria-current="true"] .n { color:var(--gold-ink); }
.tab[data-hot] { color:var(--out); } .tab[data-hot] .n { color:var(--out); } .tab[data-hot][aria-current="true"] { border-bottom-color:var(--out); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .tabs { scroll-snap-type:x proximity; padding-right:var(--s6); -webkit-mask-image:linear-gradient(to right, #000 88%, transparent); mask-image:linear-gradient(to right, #000 88%, transparent); } .tab { scroll-snap-align:start; white-space:nowrap; flex:none; } }
.fbar { display:flex; gap:var(--s3); align-items:center; margin:var(--s4) 0 var(--s5); flex-wrap:wrap; }
/* search first, filters behind one button, on every screen (Michael chose B, 4 Oct): the box keeps the row */
.fbar .fq { order:-3; flex:1 1 320px; min-width:0; max-width:none; font-size:var(--t-17); padding:13px 16px; }
.fbar .fbtn { order:-2; } .fbar .fclr { order:-1; }
.fbar .fsel { display:none !important; }
.fbar .fbtn[data-on] { border-color:var(--gold); color:var(--gold-ink); }
.fbar.shotbar { flex-direction:column; align-items:stretch; gap:var(--s3); }
.fbar.shotbar .chips .sep { width:1px; height:22px; background:var(--rule); margin:0 4px; align-self:center; }
.fbar.shotbar .chip .n { color:var(--gold-ink); font-size:var(--t-11); font-weight:600; }
.airnote { margin:var(--s4) 0; padding:var(--s4); border:1px solid var(--gold); border-radius:4px; }
.airnote .kfacts { margin-top:var(--s2); }
.shotr .sub.got { color:var(--ok); }
.fsel { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.fbtn { display:inline-flex; }
.pm { position:relative; }
.pmb { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:0 12px 0 14px; border:1px solid var(--rule); border-radius:4px; font-size:var(--t-13); }
.pmb .lb { color:var(--ink-3); font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; }
.pmb .val { font-weight:500; } .pmb svg { color:var(--ink-3); }
.pmb[data-on] { border-color:var(--gold); } .pmb[data-on] .val { color:var(--gold-ink); }
.pmm { position:absolute; top:calc(100% + 6px); left:0; z-index:20; min-width:200px; background:var(--panel); border:1px solid var(--rule); border-radius:4px; box-shadow:0 12px 32px rgba(0,0,0,.28); padding:6px; }
.pmo { display:flex; justify-content:space-between; gap:16px; width:100%; text-align:left; padding:9px 10px; border-radius:3px; font-size:var(--t-13); }
@media (hover:hover) { .pmo:hover { background:color-mix(in srgb, var(--gold) 12%, transparent); } }
.pmo[aria-pressed="true"] { color:var(--gold-ink); font-weight:600; }
.pmo .n { color:var(--ink-3); font-size:var(--t-12); }
.card .ph .flag { position:absolute; right:8px; top:8px; display:inline-flex; align-items:center; gap:5px; background:var(--out); color:var(--on-fill); font-size:var(--t-11); font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:4px 8px; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .fbar .fq { flex-basis:100%; } .tabs { gap:var(--s4); } .tab { font-size:var(--t-17); } }

.outreach { display:flex; align-items:center; gap:12px; margin-top:16px; padding:10px 14px; border:1px solid var(--rule); border-radius:4px; }
.outreach .st { font-size:var(--t-13); }
.outreach[data-s="sent"] { border-color:var(--hold); } .outreach[data-s="sent"] .st { color:var(--hold); }
.outreach[data-s="replied"] { border-color:var(--ok); } .outreach[data-s="replied"] .st { color:var(--ok); }
#panel .askview .prop.mail { border-color:var(--rule); }
#panel .askview .prop.mail input.search { font-size:var(--t-13); padding:8px 12px; background:var(--raised); }

/* ---- tastings ---- */
.wlist { border-top:1px solid var(--rule); margin-top:var(--s4); }
@media (max-width:1100px) { .whead { grid-template-columns:56px 1fr 100px 150px; } .whead span:nth-child(3), .whead span:nth-child(6) { display:none; } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .whead { display:none; } }
.wrow .ph { aspect-ratio:1; overflow:hidden; background:var(--sunken); display:block; } .wrow .ph img { width:100%; height:100%; object-fit:cover; }
.wrow .dist .v { font-family:var(--display); font-size:var(--t-20); line-height:1; display:flex; align-items:center; gap:6px; } .wrow .dist .v svg { width:16px; height:16px; color:var(--ink-3); }
.wrow:focus-within .qa { opacity:1; } @media (hover:hover) { .wrow:hover .qa { opacity:1; } }
@media (hover:hover) { .wrow:hover .nm { color:var(--gold-ink); } }
@media (max-width:1100px) { .wrow { grid-template-columns:56px 1fr 100px 150px; } .wrow .chip, .wrow .qa { display:none; } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .wrow { grid-template-columns:48px 1fr 120px; } .wrow .dist { display:none; } .wrow .status.big { font-size:var(--t-11); } }
.outreach[data-s="pending"] { border-color:var(--hold); } .outreach[data-s="pending"] .st { color:var(--hold); }
.outreach[data-s="booked"] { border-color:var(--ok); } .outreach[data-s="booked"] .st { color:var(--ok); }
.outreach[data-s="out"] { opacity:.7; }
.passwhy .chips { margin-top:8px; }
.passwhy .btn { margin-top:10px; }

/* ---- places: status first ---- */
.psec { margin-top:var(--s7); }
.psec:first-of-type { margin-top:var(--s5); }
.psech { display:flex; align-items:baseline; gap:var(--s3); margin-bottom:var(--s4); padding-bottom:var(--s2); border-bottom:1px solid var(--rule); }
.psech h3 { font-size:var(--t-24); }
.psech .chip { margin-left:auto; }
.psec[data-collapsed] .grid { display:none; }
/* an iPad in portrait gets three cards across, not two posters */
@media (max-width:1100px) { .grid { grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:var(--s4) var(--s3); } .card .nm { font-size:var(--t-20); } }
.card .ph[data-stock] img { filter:saturate(.55) contrast(.95); opacity:.85; }
.card .ph .qa { position:absolute; right:8px; bottom:8px; display:flex; gap:6px; opacity:0; transition:opacity .15s; }
.card .ph .qa .mk { width:34px; height:34px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--paper); color:var(--ink); border:1.5px solid transparent; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .15s, background .15s, color .15s; }
@media (hover:hover) { .card .ph .qa .mk:hover { transform:scale(1.08); } }
.card .ph .qa .mk[data-k="ok"] { color:var(--ok); border-color:var(--ok); } .card .ph .qa .mk[data-k="out"] { color:var(--out); border-color:var(--out); }
.card .ph .qa .mk[data-k="ok"][aria-pressed="true"] { background:var(--ok); color:var(--on-fill); } .card .ph .qa .mk[data-k="out"][aria-pressed="true"] { background:var(--out); color:var(--on-fill); }
.card:focus-within .ph .qa { opacity:1; } @media (hover:hover) { .card:hover .ph .qa { opacity:1; } }
.card .ph .qa .mk[data-k="mail"] { color:var(--gold-ink); border-color:var(--gold); }
.card .ph .qa .mk[data-k="mail"][aria-pressed="true"] { background:var(--gold); color:#1a1408; }
.card .ph .qa:has(.mk[aria-pressed="true"]) { opacity:1; }
/* a delicacy says what it is before you read a word: the glyph on the picture, or on its own plate */
.card .ph .glyph { position:absolute; left:8px; top:8px; width:34px; height:34px; border-radius:50%; background:color-mix(in srgb, var(--paper) 88%, transparent); color:var(--ink); display:flex; align-items:center; justify-content:center; box-shadow:0 1px 3px rgba(0,0,0,.2); }
.card .ph .glyph svg { width:20px; height:20px; }
.card .ph.plate { display:flex; align-items:center; justify-content:center; background:color-mix(in srgb, var(--gold) 14%, var(--sunken)); }
.card .ph.plate .big { width:56%; height:56%; color:var(--gold-ink); opacity:.8; }
.card .ph.plate .big svg { width:100%; height:100%; }
.card .ph .flag.call { background:var(--hold); }
.card[data-st="out"] { opacity:.5; }
.card[data-st="shortlist"] .nm { color:var(--gold-ink); }
.card .kd { display:flex; justify-content:space-between; gap:8px; }
.card .kd .src { color:var(--gold-ink); letter-spacing:.06em; }
@media (hover:none) { .card .ph .qa { opacity:1; } }

/* ---- stays: four addresses ---- */
/* the four chapters of the stay */
.chapters { display:flex; flex-direction:column; gap:var(--s5); margin-top:var(--s5); }
.chapter { display:grid; grid-template-columns:minmax(280px, 42%) 1fr; gap:var(--s6); align-items:start; padding-bottom:var(--s5); border-bottom:1px solid var(--rule); }
.chapter .ph { position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--sunken) repeating-linear-gradient(135deg, rgba(27,26,23,.06) 0 1px, transparent 1px 8px); border-bottom:3px solid var(--leg); padding:0; cursor:pointer; }
.chapter .ph img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); display:block; } @media (hover:hover) { .chapter:hover .ph img { transform:scale(1.03); } }
.chapter .ph .k { position:absolute; left:var(--s4); top:var(--s4); width:30px; height:30px; border-radius:50%; background:var(--leg); color:#F5F0E8; display:flex; align-items:center; justify-content:center; font-size:var(--t-13); font-weight:700; }
.chapter .city { font-family:var(--display); font-style:italic; font-size:clamp(34px, 3.6vw, 52px); line-height:1; color:var(--ink); }
.chapter .nm { font-family:var(--display); font-weight:400; font-size:clamp(24px, 2.2vw, 32px); line-height:1.1; margin:6px 0 0; }
.chapter .tx .eyebrow { margin-top:8px; } .chapter .mark { margin-top:12px; }
.chapter .facts { margin-top:var(--s4); display:grid; grid-template-columns:auto 1fr; gap:var(--s2) var(--s4); font-size:var(--t-13); }
.chapter .facts dt { color:var(--ink-3); font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; padding-top:3px; } .chapter .facts dd { margin:0; color:var(--ink-2); }
.chapter .acts.row { display:flex; flex-wrap:wrap; gap:var(--s2); margin-top:var(--s4); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .chapter { grid-template-columns:1fr; gap:var(--s4); } .chapter .city { font-size:var(--t-44); } }
.addresses { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s5); }
.address { text-align:left; display:flex; flex-direction:column; }
.address .ph { position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--sunken) repeating-linear-gradient(135deg, rgba(27,26,23,.06) 0 1px, transparent 1px 8px); border-bottom:3px solid var(--leg); }
.address .ph img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
@media (hover:hover) { .address:hover .ph img { transform:scale(1.03); } }
.address .ph::after { content:''; position:absolute; inset:0; background:var(--scrim); }
.address .cap { position:absolute; left:var(--s5); right:var(--s5); bottom:var(--s4); z-index:1; color:#F5F0E8; }
.address .cap .eyebrow { color:rgba(245,240,232,.75); }
.address .cap .nm { font-family:var(--display); font-size:var(--t-30); line-height:1.05; margin-top:4px; text-shadow:0 1px 3px rgba(0,0,0,.35); }
.address .foot { display:flex; justify-content:space-between; align-items:center; padding:var(--s3) 0 0; }
.address .foot .pl { font-size:var(--t-13); color:var(--ink-2); }
.address[data-leg="rome"]{--leg:var(--rome)} .address[data-leg="wine"]{--leg:var(--wine)} .address[data-leg="florence"]{--leg:var(--florence)}
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .addresses { grid-template-columns:1fr; } .address .cap .nm { font-size:var(--t-24); } }

/* ---- the stay as a dossier ---- */
.dossier { --leg:var(--transit); }
.dossier[data-leg="rome"]{--leg:var(--rome)} .dossier[data-leg="wine"]{--leg:var(--wine)} .dossier[data-leg="florence"]{--leg:var(--florence)}
.dhero { position:relative; aspect-ratio:21/8; overflow:hidden; background:var(--sunken) repeating-linear-gradient(135deg, rgba(27,26,23,.06) 0 1px, transparent 1px 8px); border-bottom:3px solid var(--leg); }
.dhero img { width:100%; height:100%; object-fit:cover; }
.dhero::after { content:''; position:absolute; inset:0; background:var(--scrim); }
.dhero .cap { position:absolute; left:var(--s6); right:var(--s6); bottom:var(--s5); z-index:1; color:#F5F0E8; }
.dhero .cap .eyebrow { color:rgba(245,240,232,.75); }
.dhero .cap h1 { font-size:calc(52 * var(--u)); color:#F5F0E8; margin-top:6px; text-shadow:0 1px 4px rgba(0,0,0,.35); }
.dhero .cap .when { margin-top:8px; font-size:var(--t-15); color:rgba(245,240,232,.9); }
.dlede { max-width:70ch; font-size:var(--t-17); line-height:1.55; color:var(--ink-2); margin:var(--s5) 0 0; }
/* the dossier's parts */
.dsh { display:flex; align-items:baseline; gap:var(--s3); margin-bottom:var(--s4); }
.dsh h3 { font-size:var(--t-24); }
.dsh .dim { font-size:var(--t-13); }
.dstrip { display:grid; grid-template-columns:repeat(4,1fr); margin-top:var(--s6); border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.dstrip .f { padding:var(--s4) var(--s5); border-right:1px solid var(--hair); }
.dstrip .f:last-child { border-right:0; }
.dstrip .v { font-family:var(--display); font-size:var(--t-30); line-height:1.05; }
.dstrip .k { font-size:var(--t-11); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); margin-top:6px; }
.dsec, .ov-sec { margin-top:var(--s7); padding-top:var(--s5); border-top:1px solid var(--rule); }
.dsec .dsh h3::before, .ov-sec .dsh h3::before { content:''; display:block; width:28px; height:2px; background:var(--gold); margin-bottom:10px; }
.dstrip .f[data-hot] .v { color:var(--out); } .dstrip .f[data-hot] .v::after { content:'!'; margin-left:6px; font-size:.8em; vertical-align:top; }
.pagenote { margin-top:var(--s4); max-width:60ch; color:var(--ink-2); font-size:var(--t-13); line-height:1.55; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .dstrip { grid-template-columns:1fr 1fr; background:var(--raised); border:1px solid var(--hair); } .dstrip .f { padding:var(--s4); border-bottom:1px solid var(--hair); } .dstrip .f:nth-child(2n) { border-right:0; } .dstrip .f:nth-last-child(-n+2) { border-bottom:0; } .dstrip .v { font-size:var(--t-30); } .dsec, .ov-sec { margin-top:var(--s6); } }
.dsec.narrow { max-width:820px; }
.dsec.quiet .facts dd { color:var(--ink-3); }
.dpair { display:grid; grid-template-columns:1fr 1fr; gap:var(--s5); margin-top:var(--s7); }
.dside { padding:var(--s5); border:1px solid var(--rule); border-radius:4px; }
.dside.in { border-left:4px solid var(--leg); } .dside.out { border-right:4px solid var(--leg); text-align:right; }
.dside .top { display:flex; align-items:center; gap:8px; color:var(--ink-3); margin-bottom:var(--s3); }
.dside.out .top { justify-content:flex-end; }
.dside .big { font-family:var(--display); font-size:var(--t-44); line-height:1; }
.dside .bigd { font-family:var(--display); font-size:var(--t-20); color:var(--ink-2); margin-top:4px; margin-bottom:var(--s4); }
.dossier .facts { margin-top:var(--s3); display:grid; grid-template-columns:auto 1fr; gap:var(--s2) var(--s4); font-size:var(--t-13); }
.dossier .facts dt { color:var(--ink-3); font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; padding-top:3px; } .dossier .facts dd { margin:0; color:var(--ink-2); }
.dside .facts { grid-template-columns:auto 1fr; }
/* the date and the facts side by side, so the door boxes stay short */
.dside .bd { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--s4) var(--s5); align-items:start; }
.dside .bigd { margin-bottom:0; } .dside .fx .facts { margin-top:0; font-size:var(--t-13); }
.dside.out .bd { grid-template-columns:minmax(0,1fr) auto; } .dside.out .bd .dt { order:2; } .dside.out .bd .fx { order:1; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .dside .bd, .dside.out .bd { grid-template-columns:1fr; } .dside.out .bd .dt { order:1; } .dside.out .bd .fx { order:2; } }
.ourdays { margin-top:var(--s5); }
.dtiles.big { grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:var(--s4); }
.dtiles.big .dtile { min-height:170px; padding:var(--s4) var(--s5); gap:6px; }
.dtiles.big .dtile .hd { display:flex; align-items:baseline; gap:10px; } .dtiles.big .dtile .nn { font-size:var(--t-44); } .dtiles.big .dtile .wd { font-family:var(--display); font-size:var(--t-20); color:var(--ink-2); }
.dtiles.big .dtile .stops { display:flex; flex-direction:column; gap:2px; margin-top:4px; } .dtiles.big .dtile .st { font-size:var(--t-13); color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .dtiles.big .dtile .st.dim { color:var(--ink-3); }
.ourdays > .btn { margin-top:var(--s4); }
.dside.out .facts { grid-template-columns:1fr auto; direction:rtl; } .dside.out .facts dt, .dside.out .facts dd { direction:ltr; text-align:right; }
.dwarm { display:grid; grid-template-columns:1fr 1fr; gap:var(--s5); margin-top:var(--s5); }
/* 2.77 (Michael, 13 Oct): champagne is reserved for note pads you write in. The room and Who to contact are not boxes:
   two columns split by one hairline, the facts ruled, headings like the rest of the page (designer's option B, approved) */
.dwarm{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:var(--s3) 0 var(--s5);border-bottom:1px solid var(--rule)}
.dwarm .dcard{background:none;border:0;box-shadow:none;border-radius:0;padding:var(--s3) var(--s6) 0 0;display:flex;flex-direction:column;gap:var(--s4)}
.dwarm .dcard+.dcard{border-left:1px solid var(--hair);padding:var(--s3) 0 0 var(--s6)}
.dwarm .dcard .dsh h3{font-family:var(--display);font-weight:400;font-size:26px;line-height:1.1;margin:0;color:var(--ink)}
.dwarm .dcard .facts{display:grid;grid-template-columns:max-content 1fr;column-gap:var(--s4);margin:0}
.dwarm .dcard .facts dt,.dwarm .dcard .facts dd{padding:8px 0;border-top:1px solid var(--hair);margin:0}
.dwarm .dcard .facts dt:first-of-type,.dwarm .dcard .facts dd:first-of-type{border-top:0}
.dwarm .dcard .facts dt{font:600 11px/1.9 var(--ui);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.dwarm .dcard .facts dd{font:15px/1.6 var(--ui);color:var(--ink)}
.dwarm .dcard .btn{background:transparent;border:1px solid var(--rule);color:var(--ink)}
.dwarm .dcard .btn.solid{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.dwarm .dcard a:not(.btn){color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--ink-3)}
@media (max-width:719px){.dwarm{grid-template-columns:1fr}.dwarm .dcard,.dwarm .dcard+.dcard{padding:var(--s4) 0;border-left:0;border-top:1px solid var(--hair)}.dwarm .dcard:first-child{border-top:0}}
.dcard.hoff{background:var(--raised);border:1px solid var(--rule);border-radius:8px;padding:var(--s5)}
.dcheck li .t { font-size:var(--t-15); } .dcheck li .when { font-size:var(--t-12); letter-spacing:.08em; text-transform:uppercase; color:var(--gold-ink); }
.dtiles { display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:var(--s3); }
.dtiles.five { grid-template-columns:repeat(5, minmax(0, 1fr)); }
@media (max-width:560px) { .dtiles.five { grid-template-columns:repeat(3, minmax(0, 1fr)); } }
.dtile { text-align:left; padding:var(--s3) var(--s4); border:1px solid var(--hair); border-top:3px solid var(--leg); display:flex; flex-direction:column; gap:4px; min-height:110px; }
.dtile[data-leg="rome"]{--leg:var(--rome)} .dtile[data-leg="wine"]{--leg:var(--wine)} .dtile[data-leg="florence"]{--leg:var(--florence)}
.dtile .nn { font-family:var(--display); font-size:var(--t-30); line-height:1; }
.dtile .density { margin-top:auto; display:flex; gap:3px; flex-wrap:wrap; }
.dtile .density i { width:9px; height:9px; border-radius:2px; display:block; }
.dtile .density .open { font-size:var(--t-11); letter-spacing:.08em; text-transform:uppercase; color:var(--gold-ink); }
@media (hover:hover) { .dtile:hover { border-color:var(--gold); } }
.dnotes { margin-top:var(--s7); }
.daynote.tall { padding:var(--s5) var(--s6); }
.daynote.tall ul { min-height:160px; font-size:var(--t-20); line-height:1.6; }
.daynote ul[data-empty]::before { position:static; margin:0; display:list-item; list-style:none; margin-left:-18px; }
@media (max-width:1100px) { .dstrip { grid-template-columns:1fr 1fr; } .dstrip .f:nth-child(2) { border-right:0; } .dstrip .f:nth-child(-n+2) { border-bottom:1px solid var(--hair); } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .dpair, .dwarm { grid-template-columns:1fr; } .dside.out { text-align:left; border-right:0; border-left:4px solid var(--leg); } .dside.out .top { justify-content:flex-start; } .dside.out .facts { direction:ltr; grid-template-columns:auto 1fr; } .dside.out .facts dt, .dside.out .facts dd { text-align:left; } .dhero { aspect-ratio:4/3; } .dhero .cap { left:var(--s4); right:var(--s4); } .dhero .cap h1 { font-size:var(--t-30); } .dstrip .v { font-size:var(--t-24); } }

/* ---- stays / hotels ---- */
.stays { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--s5); }
.stay { border-top:2px solid var(--leg); padding-top:var(--s4); text-align:left; }
.stay .nm { font-family:var(--display); font-size:var(--t-24); line-height:1.15; }
.stay .pl { color:var(--ink-3); font-size:var(--t-13); margin-top:2px; }
.stay .mark { margin-top:var(--s3); }
.stay[data-leg="rome"]{--leg:var(--rome)} .stay[data-leg="wine"]{--leg:var(--wine)} .stay[data-leg="florence"]{--leg:var(--florence)}
.hotels { margin-top:var(--s7); }
.hrow { display:grid; grid-template-columns:84px 1fr auto; gap:var(--s4); align-items:center; padding:var(--s4) 0; border-top:1px solid var(--hair); text-align:left; width:100%; }
.hrow .ph { aspect-ratio:1; background:var(--sunken); overflow:hidden; } .hrow .ph img { width:100%; height:100%; object-fit:cover; }
.hrow .nm { font-family:var(--display); font-size:var(--t-20); }
.hrow .wh { font-size:var(--t-13); color:var(--ink-3); }
.hrow .chips { margin-top:6px; }
.hrow[data-st="out"] { opacity:.45; }
.hrow[data-st="shortlist"] .nm { color:var(--gold-ink); }
@media (hover:hover) { .hrow:hover .nm { color:var(--gold-ink); } }

/* ---- journey ---- */
.journey { list-style:none; margin:0; padding:0; max-width:760px; }
.seg { display:grid; grid-template-columns:28px 1fr auto; gap:var(--s4); padding:var(--s4) 0; border-top:1px solid var(--hair); text-align:left; width:100%; align-items:start; }
.seg .rail { display:flex; flex-direction:column; align-items:center; gap:4px; padding-top:4px; }
.seg .rail i { width:10px; height:10px; border-radius:50%; border:1.5px solid var(--ink-3); }
.seg .rail i[data-s="booked"] { background:var(--ok); border-color:var(--ok); }
.seg .rail i[data-s="held"] { background:var(--hold); border-color:var(--hold); }
.seg .rail i[data-s="open"] { border-style:dashed; }
.seg .t { font-family:var(--display); font-size:var(--t-20); line-height:1.2; }
.seg .w { font-size:var(--t-13); color:var(--ink-3); margin-top:2px; }
.seg .m svg { width:18px; height:18px; color:var(--ink-3); }
@media (hover:hover) { .seg:hover .t { color:var(--gold-ink); } }

/* ---- transfers ----
   One colour says where (the ring round the mode). One word says how it
   stands, and the word carries its own colour. Nothing else on the row is
   coloured. Eight rows fit a desktop without scrolling. */
.status { display:inline-flex; align-items:center; gap:7px; font-size:var(--t-11); font-weight:700; letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
.status i { width:8px; height:8px; border-radius:50%; background:currentColor; }
.status[data-s="booked"] { color:var(--ok); } .status[data-s="pending"] { color:var(--hold); } .status[data-s="settled"] { color:var(--ink-3); } .status[data-s="open"] { color:var(--out); }
.status[data-s="settled"] i { background:none; border:1.5px solid currentColor; }
/* the status chip: every one the same width, the word centred, the left end
   of the oval filled with the status colour, a half moon, in place of a dot */
.status.big { position:relative; justify-content:center; width:132px; height:30px; box-sizing:border-box; padding:0 10px 0 24px; font-size:var(--t-12); border:1.5px solid currentColor; border-radius:100px; overflow:hidden; }
.status.big i { display:none; }
.status.big::before { content:''; position:absolute; left:0; top:0; bottom:0; width:15px; background:currentColor; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .status.big { width:116px; height:28px; font-size:var(--t-11); } }
.tally { display:flex; gap:var(--s4); flex-wrap:wrap; }
.tlist { display:flex; flex-direction:column; border-top:1px solid var(--rule); max-width:1240px; }
.tlist:has(> .thead) { border-top:0; } .tlist > .thead { border-bottom:1px solid var(--hair); }
.trow {
  display:grid; grid-template-columns:56px 1fr 140px 180px 84px; gap:var(--s4); align-items:center;
  padding:9px 0; border-bottom:1px solid var(--hair); text-align:left; transition:background .15s;
}
@media (hover:hover) { .trow:hover { background:color-mix(in srgb, var(--ink) 4%, transparent); } }
.trow[data-leg="rome"]{--leg:var(--rome)} .trow[data-leg="wine"]{--leg:var(--wine)} .trow[data-leg="florence"]{--leg:var(--florence)} .trow[data-leg="transit"]{--leg:var(--transit)}
.trow .mode { width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--leg); border:2px solid var(--leg); }
.trow .tb { display:flex; flex-direction:column; gap:3px; min-width:0; }
.trow .tt { font-family:var(--display); font-size:var(--t-24); line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (max-width:1500px) { .trow { grid-template-columns:48px 1fr 136px 150px 64px; gap:var(--s3); } .trow .tt { font-size:var(--t-20); } .trow .ph { aspect-ratio:3/2; } .thead { grid-template-columns:48px 1fr 136px 150px 64px; gap:var(--s3); } }
.trow .tb .eyebrow { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.trow .tb .lead { text-transform:none; letter-spacing:0; font-weight:400; font-size:var(--t-12); color:var(--ink-3); }
.trow .snote { font-size:var(--t-12); color:var(--ink-3); }
.trow .ph { aspect-ratio:3/2; overflow:hidden; border-radius:2px; background:none; }
.trow .ph img { width:100%; height:100%; object-fit:cover; }
@media (hover:hover) { .trow:hover .tt { color:var(--gold-ink); } }
@media (max-width:1100px) { .trow { grid-template-columns:48px 1fr 136px; } .trow .snote, .trow .ph { display:none; } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .trow { grid-template-columns:40px 1fr; gap:var(--s3); } .trow .status.big { grid-column:2; justify-self:start; margin-top:4px; } .trow .mode { width:36px; height:36px; } .trow .tt { font-size:var(--t-20); } .tally { gap:var(--s3); } }

.choices { display:flex; flex-direction:column; gap:var(--s2); }
.choice { display:grid; grid-template-columns:28px 1fr; gap:10px; align-items:start; text-align:left; padding:12px 14px; border:1px solid var(--rule); border-radius:4px; font-size:var(--t-13); line-height:1.4; }
.choice .n { width:24px; height:24px; border-radius:50%; border:1px solid var(--rule); display:flex; align-items:center; justify-content:center; font-size:var(--t-12); font-weight:600; }
.choice[aria-pressed="true"] { border-color:var(--gold); background:color-mix(in srgb, var(--gold) 10%, transparent); }
.choice[aria-pressed="true"] .n { background:var(--gold); border-color:var(--gold); color:#0A0A0A; }
.facts dd.notyet { color:var(--ink-3); font-style:italic; }
.needs { list-style:none; margin:0; padding:0; }
.needs li { display:flex; flex-direction:column; gap:2px; padding:10px 0 10px 14px; border-left:3px solid var(--ink-3); margin-bottom:8px; }
.needs li[data-u="1"] { border-left-color:var(--out); } .needs li[data-u="2"] { border-left-color:var(--hold); }
.needs .w { font-weight:600; font-size:var(--t-13); } .needs .y { font-size:var(--t-13); color:var(--ink-2); line-height:1.45; }
.opt { padding:10px 0; border-top:1px solid var(--hair); }
.opt .w { display:block; font-weight:600; font-size:var(--t-13); } .opt .y { display:block; font-size:var(--t-13); color:var(--ink-2); line-height:1.45; margin-top:2px; }
@media (max-width:900px) { .transfer { grid-template-columns:48px 1fr; } .transfer .ph { display:none; } .transfer .mode { width:48px; height:48px; } .transfer .tt { font-size:var(--t-24); } }

/* ---- decisions ---- */
.dlist { list-style:none; margin:0; padding:0; max-width:760px; }
.drow { display:grid; grid-template-columns:24px 1fr; gap:var(--s3); padding:var(--s4) 0; border-top:1px solid var(--hair); text-align:left; width:100%; }
.drow .q { font-size:var(--t-17); line-height:1.4; }
.drow .b { color:var(--out); font-weight:700; font-size:var(--t-20); line-height:1.2; }
.drow .acts { display:flex; gap:6px; margin-top:var(--s3); flex-wrap:wrap; }
.drow .acts .chip { min-height:30px; }
.drow[data-v="doing"] .q { color:var(--ok); } .drow[data-v="declined"] .q { color:var(--ink-3); text-decoration:line-through; }

/* ---- map ---- */
.mapwrap { position:relative; height:100%; }
.mapwrap .map { position:absolute; inset:0; }
.maplibregl-popup-content { background:var(--raised) !important; color:var(--ink) !important; border-radius:4px !important; padding:12px 14px !important; box-shadow:0 8px 24px rgba(0,0,0,.18) !important; font-family:var(--ui) !important; min-width:200px; }
.maplibregl-popup-tip { border-top-color:var(--raised) !important; }
.maplibregl-popup-close-button::after { content:''; position:absolute; inset:-8px; }
.maplibregl-popup-close-button { position:absolute; top:12px; right:12px; width:30px; height:30px; z-index:2; box-shadow:0 1px 4px rgba(0,0,0,.18); padding:0 !important; display:flex; align-items:center; justify-content:center; color:var(--ink-2) !important; background:var(--raised) !important; border:1px solid var(--rule) !important; border-radius:50% !important; font-size:0 !important; line-height:0; }
.maplibregl-popup-close-button svg { width:14px; height:14px; transition:transform .25s ease, color .2s; }
@media (hover:hover) and (pointer:fine) { .maplibregl-popup-close-button:hover { border-color:var(--gold) !important; color:var(--gold-ink) !important; } .maplibregl-popup-close-button:hover svg { transform:rotate(90deg); } }
@media (pointer:coarse) { .maplibregl-popup-close-button { border:0 !important; width:34px; height:34px; top:10px; right:10px; } .maplibregl-popup-close-button svg { width:16px; height:16px; } }
.pop .nm { font-family:var(--display); font-size:var(--t-20); line-height:1.2; padding-right:40px; } .pop.rich .nm { padding-right:0; }
.pop .kd { font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); margin-top:2px; }
.pop .st { margin-top:8px; font-size:var(--t-12); color:var(--ink-2); }
.pop .btn { margin-top:10px; min-height:36px; font-size:var(--t-13); width:100%; }
.pin { width:14px; height:14px; border-radius:50%; background:var(--pc); border:2px solid var(--paper); box-shadow:0 0 0 1.5px var(--pc); cursor:pointer; }
.pin[data-on] { width:18px; height:18px; }
.pin.pulse { animation:pinpulse 1.6s ease-out infinite; z-index:3; }
.pin.pulse::after { content:''; position:absolute; inset:-6px; border-radius:inherit; border:2px solid var(--pc); animation:pinring 1.6s ease-out infinite; }
.pin { position:relative; }
@keyframes pinpulse { 0%,100% { box-shadow:0 0 0 1.5px var(--pc); } 50% { box-shadow:0 0 0 4px var(--pc); } }
@keyframes pinring { 0% { transform:scale(.6); opacity:.9; } 100% { transform:scale(2.4); opacity:0; } }
.pop { width:232px; }
/* the richer card: a photograph on top, the hours line with its dot, a line of the paragraph */
.pop.rich { width:272px; }
.pop .ph { margin:-12px -14px 10px; height:120px; overflow:hidden; background:var(--sunken); border-radius:4px 4px 0 0; } .pop .ph img { width:100%; height:100%; object-fit:cover; display:block; }
.pop .hrs { display:flex; align-items:center; gap:7px; margin-top:8px; font-size:var(--t-12); color:var(--ink-2); } .pop .hrs i { width:7px; height:7px; border-radius:50%; background:var(--ok); flex:none; } .pop .hrs.shut { color:var(--out); } .pop .hrs.shut i { background:var(--out); }
.pop .bl { margin-top:8px; font-size:var(--t-12); line-height:1.45; color:var(--ink-2); }
.pop .q { margin-top:6px; font-size:var(--t-12); color:var(--ink-3); line-height:1.4; }
.pop .acts { flex-wrap:wrap; } .pop .acts .btn { flex:1 1 auto; }
.pop .flags { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:8px; }
.pop .flag { display:inline-flex; align-items:center; gap:5px; font-size:var(--t-11); font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--out); } .pop .flag.lt { color:var(--gold-ink); }
.pop .acts { display:flex; gap:6px; margin-top:10px; } .pop .acts .btn { flex:1; margin-top:0; }
a.btn { text-decoration:none; }
.maplibregl-popup { z-index:8; }
.pin.hotel { border-radius:2px; transform:translate(-50%,-50%) rotate(45deg); }

/* ---- the ledger ---- */
.ledger { border:1px solid var(--gold); border-radius:6px; padding:var(--s4) var(--s5) var(--s5); margin-top:var(--s5); }
.ledger[data-st="open"] { border-style:dashed; }
.ltiles { display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(0, 1fr); gap:var(--s3); margin-top:var(--s3); }
/* the cellar book's stat row, and the paragraph behind Read more */
.wstats { display:grid; grid-template-columns:repeat(4, 1fr); gap:var(--s3); margin-top:var(--s4); }
.wstats .wt { padding:12px 14px; border:1px solid var(--rule); border-radius:4px; background:var(--panel); }
.wstats .wt .n { display:block; font-family:var(--display); font-size:var(--t-24); line-height:1.1; } .wstats .wt .l { display:block; font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); margin-top:4px; }
.wmore { margin-top:var(--s3); } .wmore summary { list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:6px; font-size:var(--t-12); letter-spacing:.1em; text-transform:uppercase; color:var(--gold-ink); padding:6px 0; } .wmore summary::-webkit-details-marker { display:none; }
.wmore summary svg { transition:transform .2s; } .wmore[open] summary svg { transform:rotate(90deg); } .wmore .pagenote { margin-top:var(--s2); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .wstats { grid-template-columns:1fr 1fr; } .wstats .wt .n { font-size:var(--t-24); } }
.credit a { color:var(--gold-ink); }
.ltiles .lt .v { font-family:var(--display); font-size:var(--t-24); line-height:1.1; word-break:break-all; } .ltiles .lt .k { font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); margin-top:4px; }
.ledger dl.facts { margin-top:var(--s4); } .ledger .acts { margin-top:var(--s4); }
.fld2 { display:grid; grid-template-columns:1fr 110px; gap:var(--s3); }
.dfield summary { list-style:none; cursor:pointer; } .dfield summary::-webkit-details-marker { display:none; }
.dfield summary .dsh h3::after { content:' ›'; color:var(--ink-3); font-weight:400; display:inline-block; transition:transform .2s; }
.dfield[open] summary .dsh h3::after { transform:rotate(90deg); }
.dfield:not([open]) { opacity:.75; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .ltiles .lt .v { font-size:var(--t-20); } }
.ltiles .lt { min-width:0; } .ltiles .lconf .v { display:block; max-width:100%; padding:0; border:0; background:none; color:inherit; text-align:left; cursor:pointer; white-space:nowrap; word-break:normal; overflow-wrap:normal; overflow:hidden; text-overflow:ellipsis; font-size:var(--t-20); -webkit-tap-highlight-color:transparent; }

/* ---- the shot list ---- */
.shotr .far { display:flex; align-items:center; gap:10px; }
.shotr .qa { display:flex; gap:6px; }
.shotr .qa .mk { width:30px; height:30px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--raised); border:1.5px solid transparent; }
.shotr .qa .mk[data-k="ok"] { color:var(--ok); border-color:var(--ok); } .shotr .qa .mk[data-k="out"] { color:var(--out); border-color:var(--out); }
.shotr .qa .mk[data-k="ok"][aria-pressed="true"] { background:var(--ok); color:var(--on-fill); } .shotr .qa .mk[data-k="out"][aria-pressed="true"] { background:var(--out); color:var(--on-fill); }
.shotr .sub.lt { color:var(--gold-ink); -webkit-line-clamp:2; }
.shotr[data-st="got"] .nm { color:var(--ink-3); } .shotr[data-st="skip"] { opacity:.55; }
.addform select { border:1px solid var(--hair); border-radius:4px; background:var(--raised); color:var(--ink); font:inherit; padding:10px 12px; min-height:44px; }

/* ---- arranging the phone bar ---- */
.barlist { display:flex; flex-direction:column; margin-top:8px; }
.barrow { display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid var(--hair); }
.barrow .nm { flex:1; font-size:var(--t-13); } .barrow[data-on] .nm { font-weight:600; }
.barrow .chip { min-height:28px; font-size:var(--t-12); padding:0 9px; }

/* ---- the inbox ---- */
.ibox .iex { margin-top:10px; } .ibox .iex summary { cursor:pointer; font-size:var(--t-12); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.drow .acts a.chip { text-decoration:none; }

/* ---- the book's maps ---- */
.wmap .map { position:relative; height:420px; border-radius:6px; overflow:hidden; border:1px solid var(--hair); margin-top:var(--s3); background:var(--sunken); }
.wmap .tabs.small .tab { font-size:var(--t-15); }
.zone { display:flex; flex-direction:column; align-items:center; gap:2px; cursor:pointer; --zc:var(--wine); }
.zone .dot { width:14px; height:14px; border-radius:50%; background:var(--zc); opacity:.78; border:2px solid #F6F1E8; box-shadow:0 0 0 1px var(--zc), 0 2px 6px rgba(0,0,0,.25); transition:transform .15s; }
.zone[data-size="2"] .dot { width:22px; height:22px; } .zone[data-size="3"] .dot { width:32px; height:32px; }
.zone[data-band="north"] { --zc:#5B7DB1; } .zone[data-band="centre"] { --zc:#B8452E; } .zone[data-band="south"] { --zc:#C98A2B; }
.zone[data-band="chianti"] { --zc:#8C2F39; } .zone[data-band="coast"] { --zc:#3F7A8A; }
.zone[data-ours] .dot { box-shadow:0 0 0 3px var(--gold), 0 2px 6px rgba(0,0,0,.25); }
.zone .lbl { font-size:var(--t-11); font-weight:600; letter-spacing:.03em; color:#1B1A17; background:rgba(246,241,232,.85); padding:1px 6px; border-radius:3px; white-space:nowrap; max-width:150px; overflow:hidden; text-overflow:ellipsis; }
.zone[data-size="1"]:not([data-ours]) .lbl { display:none; }
.zone:focus .dot { transform:scale(1.15); } @media (hover:hover) { .zone:hover .dot { transform:scale(1.15); } } .zone:focus .lbl { display:block; background:var(--gold); } @media (hover:hover) { .zone:hover .lbl { display:block; background:var(--gold); } }
.zone[data-size="1"]:not([data-ours]) .dot { opacity:.6; }
.zone[data-sel] .dot, .zone[data-mate] .dot { transform:scale(1.15); opacity:1; } .zone[data-sel] .lbl, .zone[data-mate] .lbl { display:block; } .zone[data-sel] .lbl { background:var(--gold); }
.wmap .wshow { margin-top:var(--s2); } .wmap .wshow .chip { vertical-align:middle; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .wmap .map { height:320px; } .zone .lbl { font-size:var(--t-11); max-width:110px; } }

/* the credit line: shown for a moment after the map draws, then behind the (i) */

/* ---- the map as an advisor ---- */
.mapstrip { position:absolute; left:calc(var(--s4) + 40px); right:var(--s4); top:var(--s4); z-index:6; display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; pointer-events:none; }
.mapstrip::-webkit-scrollbar { display:none; }
.mapstrip .dp { pointer-events:auto; flex:none; display:flex; flex-direction:column; align-items:center; min-width:44px; padding:6px 8px 5px; background:var(--raised); border:1px solid var(--hair); border-radius:4px; color:var(--ink-2); position:relative; box-shadow:0 2px 8px rgba(0,0,0,.12); }
.mapstrip .dp .n { font-family:var(--display); font-size:var(--t-17); line-height:1; } .mapstrip .dp .w { font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; margin-top:3px; color:var(--ink-3); }
.mapstrip .dp::after { content:''; position:absolute; left:8px; right:8px; bottom:0; height:2px; background:var(--leg, var(--hair)); border-radius:2px 2px 0 0; }
.mapstrip .dp[data-leg="rome"]{--leg:var(--rome)} .mapstrip .dp[data-leg="wine"]{--leg:var(--wine)} .mapstrip .dp[data-leg="florence"]{--leg:var(--florence)} .mapstrip .dp[data-leg="transit"]{--leg:var(--transit)}
.mapstrip .dp[aria-pressed="true"] { background:var(--ink); color:var(--paper); border-color:var(--ink); } .mapstrip .dp[aria-pressed="true"] .w { color:var(--paper); opacity:.7; }
.mapstrip .dp:first-child { padding:6px 12px; justify-content:center; } .mapstrip .dp:first-child .n { font-size:var(--t-13); letter-spacing:.08em; text-transform:uppercase; font-family:var(--ui); font-weight:600; }
.pin.num { width:24px; height:24px; background:var(--pc); color:#F5F0E8; font-size:var(--t-12); font-weight:700; display:flex; align-items:center; justify-content:center; border:2px solid var(--paper); box-shadow:0 0 0 1.5px var(--pc), 0 2px 6px rgba(0,0,0,.25); font-family:var(--ui); z-index:2; }
.pin.ghost { width:9px; height:9px; opacity:.38; border-width:1.5px; box-shadow:0 0 0 1px var(--pc); z-index:0; }
.pin.stay { width:20px; height:20px; border-radius:3px; transform:translate(-50%,-50%) rotate(45deg); background:var(--gold); border:2px solid var(--paper); box-shadow:0 0 0 1.5px var(--gold), 0 2px 6px rgba(0,0,0,.3); z-index:2; }
.pin.cap { width:16px; height:16px; background:var(--pc); border:2px solid var(--paper); box-shadow:0 0 0 1.5px var(--pc), 0 2px 6px rgba(0,0,0,.25); z-index:2; }
.pin.frame { width:22px; height:22px; background:var(--gold); color:#1B1A17; border:2px solid var(--paper); box-shadow:0 0 0 1.5px var(--gold), 0 2px 6px rgba(0,0,0,.28); display:flex; align-items:center; justify-content:center; z-index:2; } .pin.frame svg { fill:#1B1A17; stroke:none; }
.pin.notering { width:13px; height:13px; background:transparent; border:2.5px solid var(--pc); box-shadow:0 0 0 1.5px var(--paper); z-index:2; }
.pop.capcard .ph { margin:-12px -14px 10px; aspect-ratio:4/3; overflow:hidden; background:var(--sunken); border-radius:4px 4px 0 0; } .pop.capcard .ph img { width:100%; height:100%; object-fit:cover; display:block; }
.pop.capcard textarea.why { margin-top:8px; min-height:44px; font-size:var(--t-13); }
.lrow .sw { display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:6px; vertical-align:middle; }
.lrow.dim .nm { color:var(--ink-3); }
.capture { display:flex; gap:var(--s2); margin-top:var(--s3); } .capture .btn { flex:1; }
.pinit { display:flex; align-items:center; gap:8px; margin-top:10px; font-size:var(--t-13); } .pinit .hint { font-size:var(--t-12); color:var(--ink-3); margin-left:0; text-align:left; } .lrow.pinit { display:grid; grid-template-columns:18px 1fr; align-items:start; } .lrow.pinit .hint { grid-column:2; line-height:1.35; }
textarea { padding:12px 14px; box-sizing:border-box; }
.pin.struck::after { content:''; position:absolute; left:-4px; right:-4px; top:50%; height:2px; background:var(--out); transform:rotate(-35deg); }
.pin.struck { opacity:.75; }
.pin[data-light]::before { content:''; position:absolute; right:-5px; top:-5px; width:9px; height:9px; border-radius:50%; background:var(--gold); border:1.5px solid var(--paper); }
.minchip { font-size:var(--t-11); font-weight:600; letter-spacing:.04em; background:var(--raised); color:var(--ink); border:1px solid var(--gold); border-radius:10px; padding:2px 7px; white-space:nowrap; box-shadow:0 1px 4px rgba(0,0,0,.18); pointer-events:none; }
.minchip.ring { color:var(--gold-ink); border-style:dashed; }
.mapsheet { position:absolute; left:var(--s4); top:calc(var(--s4) + 60px); bottom:var(--s4); width:330px; z-index:6; background:var(--raised); border:1px solid var(--hair); border-radius:6px; box-shadow:0 8px 28px rgba(0,0,0,.18); display:flex; flex-direction:column; overflow:hidden; }
.mapsheet .msh { text-align:left; padding:var(--s4) var(--s4) var(--s3); border-bottom:1px solid var(--hair); display:flex; flex-direction:column; gap:4px; cursor:default; }
.mapsheet .msh h2 { font-family:var(--display); font-weight:400; font-size:var(--t-24); line-height:1.15; margin:0; }
.mapsheet .msh .grab { display:none; }
.mapsheet .peek { display:flex; flex-direction:column; gap:3px; margin-top:4px; font-size:var(--t-12); color:var(--ink-2); }
.mapsheet .peek .sun { display:flex; align-items:center; gap:6px; color:var(--gold-ink); }
.mapsheet .peek .nx { color:var(--ink-3); }
.mapsheet .msb { overflow:auto; padding:var(--s3) var(--s4) var(--s4); }
.mstops { list-style:none; margin:0; padding:0; }
.stopr { display:grid; grid-template-columns:26px 1fr auto; gap:10px; align-items:center; padding:9px 0; border-bottom:1px solid var(--hair); cursor:pointer; }
.stopr .k { width:24px; height:24px; border-radius:50%; background:var(--pc, var(--ink)); color:#F5F0E8; font-size:var(--t-12); font-weight:700; display:flex; align-items:center; justify-content:center; }
.stopr.stayr .k { background:none; color:var(--gold); font-size:var(--t-17); } .stopr.stayr .sub { color:var(--gold-ink); }
.stopr .tb { display:flex; flex-direction:column; min-width:0; } .stopr .nm { font-size:var(--t-15); } .stopr .sub { font-size:var(--t-12); color:var(--ink-3); }
.stopr[data-closed] .nm { text-decoration:line-through; color:var(--ink-3); } .stopr[data-closed] .sub { color:var(--out); }
.stopr .mn { display:flex; align-items:center; gap:4px; font-size:var(--t-11); color:var(--ink-3); white-space:nowrap; }
.mleg .row { display:flex; justify-content:space-between; align-items:baseline; width:100%; padding:10px 0; border-bottom:1px solid var(--hair); border-left:3px solid var(--leg, var(--hair)); padding-left:10px; margin-top:6px; text-align:left; }
.mleg .row[data-leg="rome"]{--leg:var(--rome)} .mleg .row[data-leg="wine"]{--leg:var(--wine)} .mleg .row[data-leg="florence"]{--leg:var(--florence)}
.mleg .row .nm { font-family:var(--display); font-size:var(--t-20); } .mleg .row .sub { font-size:var(--t-12); color:var(--ink-3); }
.mtravel { padding-bottom:8px; }
.mapsheet .acts { margin-top:var(--s4); }
.mapedge { position:absolute; right:var(--s4); top:calc(var(--s4) + 60px); z-index:6; display:flex; flex-direction:column; gap:6px; align-items:flex-end; }
.mapedge .chip { background:var(--raised); box-shadow:0 2px 8px rgba(0,0,0,.15); }
.layersbtn { position:absolute; right:var(--s4); bottom:calc(var(--s4) + 44px); z-index:6; background:var(--raised); box-shadow:0 2px 10px rgba(0,0,0,.18); }
.layers { position:absolute; right:var(--s4); bottom:calc(var(--s4) + 96px); z-index:7; width:250px; background:var(--raised); border:1px solid var(--hair); border-radius:6px; padding:var(--s3) var(--s4) var(--s4); box-shadow:0 8px 28px rgba(0,0,0,.2); }
.layers .eyebrow { margin:8px 0 4px; } .layers .eyebrow:first-child { margin-top:0; }
.lrow { display:grid; grid-template-columns:18px 1fr; gap:4px 10px; align-items:center; padding:5px 0; cursor:pointer; }
.lrow input { width:16px; height:16px; accent-color:var(--gold); margin:0; }
.lrow .nm { font-size:var(--t-13); } .lrow .sub { grid-column:2; font-size:var(--t-11); color:var(--ink-3); line-height:1.3; }
.surface.wide .crumb { top:calc(var(--s4) + 60px); left:calc(var(--s4) + 340px); z-index:9; }
.mapwrap .maplibregl-ctrl-bottom-right { right:0; bottom:calc(var(--s4) + 96px); }
.mapwrap .maplibregl-ctrl-bottom-left { left:calc(var(--s4) + 336px); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .mapstrip { left:var(--s3); right:0; top:var(--s3); padding-right:var(--s3); }
  .mapsheet { left:0; right:0; top:auto; bottom:0; width:auto; border-radius:14px 14px 0 0; transition:height .3s var(--ease, ease); height:var(--sheet-h, 150px); }
  .mapwrap { --sheet-h:150px; } .mapwrap[data-sheet="half"] { --sheet-h:50vh; } .mapwrap[data-sheet="full"] { --sheet-h:calc(100% - 70px); }
  .mapsheet .msh { cursor:pointer; padding-top:8px; } .mapsheet .msh .grab { display:block; width:36px; height:4px; border-radius:2px; background:var(--hair); margin:0 auto 6px; }
  .mapsheet .msh h2 { font-size:var(--t-20); }
  .mapsheet[data-pos="peek"] .msb { display:none; }
  .surface.wide .crumb { left:var(--s3); top:calc(var(--s3) + 58px); }
  .mapedge { top:calc(var(--s3) + 58px); right:var(--s3); }
  .layersbtn { bottom:calc(var(--sheet-h, 150px) + var(--s3)); right:var(--s3); width:48px; height:48px; border-radius:50%; padding:0; } .layersbtn span { display:none; }
  .layers { bottom:calc(var(--sheet-h, 150px) + 60px); right:var(--s3); }
  .mapwrap .maplibregl-ctrl-bottom-right { display:none; }
  .mapwrap .maplibregl-ctrl-bottom-left { left:0; bottom:calc(var(--sheet-h, 150px)); }

}

/* ---- notes: the journal ---- */
.ncomp { background:var(--champagne); color:var(--on-champagne); padding:var(--s5); border-radius:4px; max-width:820px; margin-top:var(--s5); }
.ncomp .eyebrow { color:rgba(27,26,23,.75); }
.ncomp .dim { color:rgba(27,26,23,.72); }
.ncomp textarea.why { background:rgba(255,255,255,.55); color:var(--on-champagne); border-color:rgba(27,26,23,.2); font-family:var(--display); font-size:var(--t-17); }
.ncomp .nrow { display:flex; gap:var(--s3); align-items:flex-start; margin-top:var(--s3); flex-wrap:wrap; }
.ncomp .chips { flex:1; } .ncomp .chip { border-color:rgba(27,26,23,.3); color:var(--on-champagne); }
.ncomp .chip[aria-pressed="true"] { background:#1B1A17; color:#F5F0E8; border-color:#1B1A17; }
.ncomp .btn.solid { background:#1B1A17; color:#F5F0E8; border-color:#1B1A17; }
.nstream { max-width:820px; display:flex; flex-direction:column; gap:var(--s3); }
.ncard { padding:var(--s4) var(--s5); border:1px solid var(--hair); border-radius:4px; border-left:3px solid var(--ink-3); }
.ncard[data-kind="day"] { border-left-color:var(--gold); } .ncard[data-kind="stay"] { border-left-color:var(--wine); } .ncard[data-kind="place"] { border-left-color:var(--rome); }
.ncard .nhead { display:flex; align-items:center; gap:8px; font-size:var(--t-12); margin-bottom:8px; }
.ncard .nhead .who { font-weight:600; letter-spacing:.06em; text-transform:uppercase; font-size:var(--t-11); }
.ncard .nhead .chip { margin-left:auto; min-height:26px; font-size:var(--t-12); }
.ncard .nhead .chip:disabled { opacity:.6; cursor:default; }
.ncard .ntext { margin:0; font-family:var(--display); font-size:var(--t-17); line-height:1.5; }

.tagpick { margin-top:var(--s3); position:relative; }
.tagpick .chips { margin-bottom:8px; min-height:32px; align-items:center; }
.tagpick .chip .x { margin-left:4px; opacity:.7; }
.tagpick input.search { font-size:var(--t-13); padding:9px 12px; }
.tagpick .suggest { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-bottom:8px; }
.tagpick .suggest .eyebrow { margin-right:4px; }
.tagpick .chip.sug { border-style:dashed; }
@media (hover:hover) { .tagpick .chip.sug:hover { border-style:solid; background:color-mix(in srgb, var(--gold) 12%, transparent); } }
.tagmenu { position:absolute; left:0; right:0; z-index:5; background:var(--panel); border:1px solid var(--rule); border-radius:4px; box-shadow:0 10px 30px rgba(0,0,0,.25); overflow:hidden; }
.tagmenu .hit { display:flex; gap:10px; align-items:center; width:100%; text-align:left; padding:10px 12px; font-size:var(--t-13); border-bottom:1px solid var(--hair); color:var(--ink); }
@media (hover:hover) { .tagmenu .hit:hover { background:color-mix(in srgb, var(--gold) 12%, transparent); } }
.tagmenu .hit .k { font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; color:var(--gold-ink); min-width:62px; }
.chip[data-kind="day"] { border-color:var(--gold); } .chip[data-kind="stay"] { border-color:var(--wine); } .chip[data-kind="place"] { border-color:var(--rome); } .chip[data-kind="transfer"] { border-color:var(--florence); }
.ncard .ntags { margin-left:auto; display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.ncard .ntags .chip { min-height:26px; font-size:var(--t-12); }
.ncard .ntags .chip.add { border-style:dashed; color:var(--ink-3); }
.ncard .tagpick { margin-top:var(--s3); }

/* ---- notes ---- */
.notes { max-width:720px; }
.note { padding:var(--s4) 0; border-top:1px solid var(--hair); }
.note .by { font-size:var(--t-12); color:var(--ink-3); letter-spacing:.08em; text-transform:uppercase; }
.note .body { margin-top:var(--s2); }

/* ---- ask (Claude) ---- */
#panel .askview .thread { flex:1; overflow:auto; padding:var(--s5); display:flex; flex-direction:column; gap:var(--s4); }
#panel .askview .msg { max-width:92%; font-size:var(--t-15); line-height:1.5; }
#panel .askview .msg.me { align-self:flex-end; background:var(--raised); padding:10px 14px; border-radius:14px 14px 2px 14px; }
#panel .askview .msg.ai { align-self:flex-start; }
#panel .askview .msg.ai .who { font-size:var(--t-11); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); font-weight:600; margin-bottom:4px; }
.ibox .prop, #panel .askview .prop { border:1px solid var(--gold); border-radius:4px; padding:var(--s4); margin-top:var(--s2); }
#panel .askview .prop .eyebrow, .ibox .prop .eyebrow { color:var(--gold-ink); }
#panel .askview .prop .row, .ibox .prop .row { display:grid; grid-template-columns:auto 1fr; gap:4px 12px; font-size:var(--t-13); margin-top:var(--s3); }
#panel .askview .prop .row b, .ibox .prop .row b { color:var(--ink-3); font-weight:600; font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; }
#panel .askview .prop .acts { display:flex; gap:6px; margin-top:var(--s4); }
#panel .askview .prop .acts .btn { flex:1; min-height:40px; }
#panel .askview .starter { display:flex; flex-direction:column; gap:8px; align-items:flex-start; margin-top:var(--s3); }
#panel .askview .starter .chip { white-space:normal; text-align:left; }

/* ---- travel mode ---- */
#travel { display:none; position:absolute; left:0; right:0; bottom:0; top:var(--mast-h); background:var(--paper); }
#app[data-mode="travel"] #body { display:none; }
#app[data-mode="travel"] #travel { display:grid; grid-template-rows:auto 1fr; }
.belt { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; border-bottom:1px solid var(--hair); background:var(--raised); scrollbar-width:none; }
.belt::-webkit-scrollbar { display:none; }
.belt button { flex:0 0 auto; min-width:64px; padding:10px 6px 8px; scroll-snap-align:center; display:flex; flex-direction:column; align-items:center; gap:3px; border-bottom:3px solid transparent; }
.belt button .n { font-family:var(--display); font-size:var(--t-24); line-height:1; }
.belt button .w { font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.belt button i { width:18px; height:3px; border-radius:2px; background:var(--leg); opacity:.6; }
.belt button[aria-pressed="true"] { border-bottom-color:var(--gold); } .belt button[aria-pressed="true"] i { opacity:1; }
.belt button[data-leg="rome"]{--leg:var(--rome)} .belt button[data-leg="wine"]{--leg:var(--wine)} .belt button[data-leg="florence"]{--leg:var(--florence)} .belt button[data-leg="transit"]{--leg:var(--transit)}
.tstage { position:relative; min-height:0; }
.tstage .map { position:absolute; inset:0; }
.tstage .fab { position:absolute; right:var(--s4); bottom:calc(var(--sheet-peek, 180px) + var(--s4)); z-index:6; display:flex; flex-direction:column; gap:var(--s2); }
.tstage .fab .btn { width:48px; height:48px; border-radius:50%; background:var(--raised); padding:0; }
.tstage .fab .btn.ask { border-color:var(--gold); color:var(--gold-ink); }
.sheet {
  position:absolute; left:0; right:0; bottom:0; height:100%; z-index:8;
  background:var(--raised); border-top:1px solid var(--rule); border-radius:14px 14px 0 0;
  transform:translateY(calc(100% - var(--sheet-peek, 180px))); transition:transform .32s var(--ease);
  display:flex; flex-direction:column; box-shadow:0 -8px 30px rgba(0,0,0,.12);
}
.sheet[data-open="1"] { transform:translateY(60px); }
.sheet.dragging, .mapsheet.dragging { transition:none !important; }
/* desktop: the travel sheet is a column beside the map, not a tray over it. 2.81.5 (Michael, 16 Oct: on an iPad everything
   opens in the right tray; the sheet that rises from the bottom is for phones only): a tablet in either orientation too, from 1000 px wide; a narrower tablet held upright keeps the sheet, as the map
   beside a column would be too narrow to use */
@media (min-width:1100px), (min-width:1000px) and (min-height:520px) {
  .tstage { display:grid; grid-template-columns:minmax(0,1fr) var(--panel-w); }
  .tstage .map { position:relative; inset:auto; min-height:0; }
  .sheet, .sheet[data-open="1"] { position:relative; transform:none !important; height:auto; min-height:0; border-radius:0; border-top:0; border-left:1px solid var(--rule); box-shadow:none; background:var(--paper); }
  .sheet .grab { display:none; }
  .tstage .fab { right:calc(var(--panel-w) + var(--s4)); bottom:var(--s4); }
}
/* 2.83.2 (Michael, 20 Oct): no second tray beside the day's column on any width; a card in Travel opens over the column, with Back to the day */
.sheet .grab { flex:none; padding:10px 0 4px; display:flex; justify-content:center; cursor:grab; }
.sheet .grab i { width:40px; height:4px; border-radius:2px; background:var(--rule); }
.sheet .shead { flex:none; padding:4px var(--s5) var(--s3); border-bottom:1px solid var(--hair); display:flex; align-items:baseline; gap:var(--s3); }
.sheet .shead h2 { font-size:var(--t-24); }
.sheet .sbody { overflow:auto; flex:1; padding:0 var(--s5) var(--s7); }
.stop { display:grid; grid-template-columns:34px 1fr auto; gap:var(--s3); align-items:start; padding:var(--s3) 0; border-top:1px solid var(--hair); text-align:left; width:100%; }
.stop .k { width:26px; height:26px; border-radius:50%; background:var(--pc); color:var(--paper); display:flex; align-items:center; justify-content:center; font-size:var(--t-12); font-weight:700; }
.stop .nm { display:block; font-family:var(--display); font-size:var(--t-20); line-height:1.2; }
.stop .sub { display:block; font-size:var(--t-12); color:var(--ink-3); }
.stop .go { color:var(--ink-3); } .stop .go svg { width:18px; height:18px; }
@media (hover:hover) { .stop:hover .nm { color:var(--gold-ink); } }
.sheet .shead { flex-direction:column; align-items:stretch; gap:4px; }
.sheet .shead .ht { display:flex; align-items:baseline; gap:var(--s3); flex-wrap:wrap; }
.sheet .tpeek { display:flex; flex-wrap:wrap; gap:4px 14px; font-size:var(--t-12); color:var(--ink-2); }
.sheet .tpeek .sun { display:flex; align-items:center; gap:6px; color:var(--gold-ink); } .sheet .tpeek .nx { color:var(--ink-3); }
.tsec { padding-top:var(--s4); } .tsec + .tsec { margin-top:var(--s3); border-top:1px solid var(--hair); }
.tsec .tsh { display:flex; align-items:baseline; gap:var(--s3); justify-content:space-between; } .tsec .tsh .nm { font-family:var(--display); font-size:var(--t-20); }
.tsec .acts { margin-top:10px; display:flex; gap:8px; } .tsec .acts .btn { flex:1; min-height:42px; }
.stop[data-closed] .nm { text-decoration:line-through; color:var(--ink-3); }
.stop .sub.lt { color:var(--gold-ink); }
.stop .go { display:flex; align-items:center; gap:4px; font-size:var(--t-11); white-space:nowrap; padding-top:4px; }
/* the sequence: a number for a place on the ground, a glyph for the way there, the bed last in gold */
.stop.seq .k.glyph, .stopr.seq .k.glyph { background:none; color:var(--ink-2); box-shadow:none; }
.stop.seq .k.glyph svg, .stopr.seq .k.glyph svg { width:16px; height:16px; }
.stop.seq[data-bed] .k.glyph, .stopr.seq[data-bed] .k.glyph { color:var(--gold); }
.stop.seq[data-bed] .k:not(.glyph), .stopr.seq[data-bed] .k:not(.glyph) { background:var(--gold); color:#1B1A17; }
.stop.seq[data-bed] .nm, .stopr.seq[data-bed] .nm { color:var(--gold-ink); }
.stop.seq[data-bed] .k svg, .stopr.seq[data-bed] .k svg { width:16px; height:16px; }
.stop.seq .go svg { width:16px; height:16px; }
.daypane .stop.seq.bedrow { cursor:pointer; } .daypane .stop.seq.bedrow .go { display:none; }
.daypane .stop.seq { grid-template-columns:34px 1fr auto; }
/* the day as a shape: a band head before the first stop of each part of the day */
.band { display:flex; align-items:center; gap:8px; font-size:var(--t-12); font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); padding:16px 0 6px; list-style:none; }
.band svg { flex:none; }
@media (min-width:1100px) { .band { font-size:var(--t-13); gap:10px; padding:20px 0 8px; } .band svg { width:20px; height:20px; } }
.band:first-child { padding-top:4px; }
.mstops .band { padding:12px 0 2px; } .mstops .band:first-child { padding-top:0; }
.stop.road .k { background:none; color:var(--gold); font-size:var(--t-20); }

/* ---- phone ---- */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  :root { --mast-base: 52px; }
  /* 2.85.5 (Michael, 21 Oct: the iPhone app put the header under the clock and the Dynamic Island). The phone rule dropped
     the top padding, so the header was centred in a bar that included the area under the status bar. A home-screen icon
     reports no inset, so it never showed there; the app draws edge to edge and does. */
  #mast { padding:env(safe-area-inset-top, 0px) var(--s4) 0; gap:var(--s3); }
  #mast .brand { gap:8px; }
  #mast .brand .wm, #mast .brand .pipe { display:none; }
  #mast .brand .trip { font-size:var(--t-20); margin-left:0; }
  /* the demo's tag sits under the trip's name on a phone: in the row it pushed the concierge off the screen (2.78) */
  #mast .brand { position:relative; }
  #mast .brand .demotag { position:absolute; left:34px; top:100%; margin:0; padding:0 5px; font-size:8px; line-height:11px; letter-spacing:.14em; background:var(--paper); }
  #mast .mode button { padding:6px 12px; font-size:var(--t-13); }
  #index .grip { display:none; }
  #mast .ask span { display:none; }
  #mast .letters { margin-right:6px; }
  #mast .ask { padding:8px 10px; }
  #body { grid-template-columns:1fr; grid-template-rows:1fr auto; }
  #index { border-right:0; border-top:1px solid var(--hair); padding:0; display:flex; flex-direction:row; grid-row:2; background:var(--raised); padding-bottom:max(6px, env(safe-area-inset-bottom)); overflow:visible; position:relative; z-index:30; }
  #index .wf { display:none; }
  #index .grps { display:contents; } #index .grp { margin:0; display:contents; }
  #index .grp .eyebrow { display:none; }
  #index a { flex:1 1 0; min-width:0; min-height:52px; flex-direction:column; gap:3px; padding:8px 2px 6px; font-size:var(--t-11); letter-spacing:.02em; border-left:0; border-top:2px solid transparent; justify-content:center; }
  #index a span { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  #index a span[data-phone] { font-size:0; } #index a span[data-phone]::before { content:attr(data-phone); font-size:var(--t-11); }
  #index a[aria-current="page"] { border-top-color:var(--gold); }
  #index a .n { display:none; }
  #index a[data-more] { display:flex; order:100; }
  #index a { order:var(--ord, 50); }
  #index a.hide-phone { display:none; }
  #main > .surface { padding:var(--s5) var(--s4) var(--s8); }
  .month .mh h2 { font-size:var(--t-30); }
  .dayshead { flex-direction:column; align-items:flex-start; }
  .calcell .density { grid-column:2; margin-top:4px; padding-top:0; }
  .dayswrap[data-mode="board"] .calcell { display:flex; flex-direction:column; align-items:flex-start; min-height:0; }
  .dayswrap[data-mode="board"] .calcell .dl { grid-row:auto; }
  .dayswrap[data-mode="board"] .calcell .density { display:none; }
  .dayswrap[data-mode="split"] .calcell .stops { display:none; }
  .daypane { display:none; }
  .calgrid { grid-template-columns:1fr; border:0; }
  .calgrid .head, .calcell[data-empty] { display:none; }
  .calcell { min-height:0; padding:10px 0 10px var(--s3); border:0; border-top:1px solid var(--hair); display:grid; grid-template-columns:auto 1fr auto; column-gap:var(--s4); align-items:center; }
  .calcell::before { left:0; top:0; bottom:0; right:auto; width:3px; height:auto; transition:width .38s var(--ease); }
  .calcell.go::before { width:100%; }
  /* on the phone the day you last opened keeps only a gold edge, not a flood */
  .calcell[data-sel]::before { width:4px; background:var(--gold); }
  .calcell[data-sel] { color:inherit; } .calcell[data-sel] .nn { color:var(--gold-ink); } .calcell[data-sel] .ld, .calcell[data-sel] .density span { color:var(--ink-3); opacity:1; }
  .calcell.go { color:var(--paper); }
  .calcell.go .ld, .calcell.go .density span { color:var(--paper); }
  .calcell.go .mv svg { animation:mvfly .46s var(--ease) both; }
  @keyframes mvfly { 0% { transform:translateX(-40vw) translateY(6px) rotate(-8deg); opacity:0; } 60% { opacity:1; } 100% { transform:none; opacity:1; } }
  .calcell.go .nn { animation:nnpop .46s var(--ease) both; }
  @keyframes nnpop { 0% { transform:scale(.9); } 55% { transform:scale(1.08); } 100% { transform:none; } }
  .calcell .dl { grid-row:1/span 2; width:auto; min-width:64px; }
  .calcell .nn { font-size:var(--t-30); }
  .calcell .wh { grid-column:2; margin:0; font-size:var(--t-15); }
  .calcell .ld { grid-column:2; -webkit-line-clamp:1; }
  .calcell .density { margin-top:2px; }
  .calcell .mv { grid-column:3; grid-row:1/span 2; margin:0; padding-right:var(--s3); }
  .calcell .mv svg { width:22px; height:22px; }
  .month { margin-top:var(--s5); } .month h3 { font-size:var(--t-24); }
  .stays { grid-template-columns:1fr 1fr; }
  .hrow { grid-template-columns:64px 1fr; } .hrow .mark { grid-column:2; }
  #panel, #ask { top:auto; height:88%; width:100%; border-left:0; border-top:1px solid var(--rule); border-radius:14px 14px 0 0; transform:translateY(100%); }
  #app[data-panel="open"] #panel, #app[data-ask="open"] #ask { transform:none; }
  .filters { gap:var(--s2); } .filters .grp { overflow-x:auto; max-width:100%; scrollbar-width:none; }
}
@media (min-width:720px) and (min-height:520px), (min-width:1001px) { #index a[data-more] { display:none; } }

/* ---- aliases the lock screen and the portfolio page still use ---- */
:root { --safe-hb:max(env(safe-area-inset-bottom, 0px), var(--hb-min, 0px)); }
:root { --hairline:var(--hair); --accent:var(--gold-ink); --stop:var(--out); --gut:var(--s5); --gut-r:var(--s5); --safe-b:env(safe-area-inset-bottom); --r-ctl:4px; --r-box:2px; }
:root[data-glare="1"] { --ink-2:var(--ink); --ink-3:var(--ink-2); --hair:rgba(27,26,23,.3); }

/* ---- pieces the real app adds to the wireframe's language ---- */
.pin-shell { width:0; height:0; }
.pin-shell .pin { transform:translate(-50%,-50%); }
.pin-shell .pin.stay, .pin-shell .pin.hotel { transform:translate(-50%,-50%) rotate(45deg); }
#index a.warn { color:var(--out); font-weight:600; }
#index a.warn svg { color:var(--out); }
.deadrow { padding:10px 0; border-top:1px solid var(--hair); }
.deadrow .w { display:block; font-size:var(--t-13); } .deadrow .y { display:block; font-size:var(--t-12); color:var(--ink-3); }
.deadrow .chips { margin-top:8px; }
#askPhoto, #askPick { display:none; }
.empty { padding:var(--s7) var(--s4); text-align:center; color:var(--ink-3); }

/* ---- retained for the lock screen ---- */
.display { font-family:var(--display); font-weight:400; letter-spacing:-.012em; }
.btn:active { transform:translateY(1px); }
.btn:disabled { opacity:.4; cursor:default; transform:none; }
.btn.ghost { background:none; color:var(--ink); border-color:var(--edge); }
.btn.quiet { background:none; color:var(--ink-2); border-color:transparent; }
.btn.danger { background:none; color:var(--stop); border-color:var(--stop); }
.btn.wide { width:100%; }
.btn.big { min-height:64px; font-size:var(--t-17); border-radius:var(--r-box); }
.field { margin-bottom:var(--s4); }
.field label { display:block; margin-bottom:6px; }

/* ---- the cellar book ---- */
.klist { display:flex; flex-direction:column; }
.klist .ksec { margin:var(--s5) 0 var(--s2); }
.krow { display:grid; grid-template-columns:1fr auto; gap:var(--s4); align-items:center; padding:12px 0; border-bottom:1px solid var(--hair); cursor:pointer; text-align:left; }
.krow .tb { display:flex; flex-direction:column; min-width:0; gap:2px; }
.krow .nm { font-family:var(--display); font-size:var(--t-20); line-height:1.15; }
.krow[data-k="field"] .nm { font-family:var(--ui); font-size:var(--t-15); line-height:1.4; }
.krow .sub { font-size:var(--t-12); color:var(--ink-3); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media (hover:hover) { .krow:hover .nm { color:var(--gold-ink); } }
.kfacts { margin:var(--s4) 0 0; padding:0; list-style:none; }
.kfacts li { padding:10px 0 10px 18px; border-bottom:1px solid var(--hair); position:relative; font-size:var(--t-15); line-height:1.5; }
.kfacts li::before { content:''; position:absolute; left:0; top:19px; width:6px; height:6px; background:var(--gold); border-radius:50%; }
.kquote { margin:var(--s5) 0; padding:0 0 0 var(--s4); border-left:2px solid var(--gold); }
.kquote p { font-family:var(--display); font-size:var(--t-20); line-height:1.3; margin:0 0 6px; }
.kquote cite { font-style:normal; font-size:var(--t-12); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.ksub { font-family:var(--ui); font-size:var(--t-12); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); margin:var(--s5) 0 var(--s3); }
.panel .small.dim { margin-top:var(--s5); }
/* a delicacy's right column: how far, and whether to call, in a column that
   does not run the width of the page */
.krow[data-k="delicacies"] .far { display:flex; flex-direction:column; align-items:flex-end; gap:6px; max-width:30ch; text-align:right; font-size:var(--t-12); color:var(--ink-3); }
.krow[data-k="delicacies"] .far .chip { min-height:24px; font-size:var(--t-11); padding:0 8px; }
@media (max-width:720px) { .krow .nm { font-size:var(--t-20); } .krow[data-k="delicacies"] { grid-template-columns:1fr; } .krow[data-k="delicacies"] .far { align-items:flex-start; text-align:left; max-width:none; flex-direction:row; flex-wrap:wrap; } }

/* ---- adding a place ---- */
.addform { display:flex; flex-direction:column; gap:var(--s4); margin-top:var(--s5); }
.addform .fld { display:flex; flex-direction:column; gap:6px; }
.addform .fld .k { font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.addform textarea.why { min-height:0; }
.fbar .btn { white-space:nowrap; }

/* ---- decisions with context ---- */
.drow[data-v="urgent"] .b { color:var(--out); } .drow[data-v="done"] .b { color:var(--ok); font-size:var(--t-15); }
.drow[data-v="done"] .q { color:var(--ink-2); }
.drow[data-v="know"] .b { color:var(--gold-ink); } .drow[data-v="know"] .q { color:var(--ink-2); }
.drow .why { font-size:var(--t-13); color:var(--ink-3); margin-top:4px; line-height:1.45; max-width:62ch; }
.dlist .dsep { padding:var(--s6) 0 var(--s2); }
.ans .free { display:flex; gap:8px; align-items:stretch; margin-top:10px; max-width:560px; }
.ans .free textarea { flex:1; min-height:44px; padding:11px 12px; font-size:var(--t-13); box-sizing:border-box; }
.ans .free .btn { height:auto; min-height:46px; padding-top:0; padding-bottom:0; margin:0; align-self:stretch; box-sizing:border-box; }
/* the box and Save are one height, top and bottom aligned; the box sets it */
.ans .free textarea, .ans .free textarea.why { height:46px; min-height:46px; margin:0; line-height:22px; padding:11px 12px; resize:vertical; }
.recform { display:flex; flex-direction:column; gap:10px; margin-top:10px; max-width:560px; }
.recform .fld { display:flex; flex-direction:column; gap:6px; } .recform .fld .k { font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.recform input.search { padding:9px 12px; font-size:var(--t-13); }
/* the shots page: the road first, as a marked band, then the list */
.road { margin:var(--s5) 0 var(--s6); padding:var(--s4) var(--s5); border:1px solid var(--rule); border-left:3px solid var(--gold); background:var(--raised); border-radius:4px; }
.road .dsh { margin-bottom:var(--s3); } .road .chips { margin-bottom:var(--s2); }
.krow.roadr { grid-template-columns:auto 1fr auto; }
.krow.roadr .k.star { width:24px; height:24px; border-radius:50%; background:var(--gold); color:#1B1A17; display:flex; align-items:center; justify-content:center; flex:none; } .krow.roadr .k.star svg { fill:#1B1A17; stroke:none; }
.krow.roadr .far { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
@media (max-width:720px) { .krow.roadr { grid-template-columns:auto 1fr; } .krow.roadr .far { grid-column:2; justify-content:flex-start; } }
/* hit areas: every control answers to at least 44 px, whatever the glyph's
   drawn size; the extra is invisible padding round it */
.chip, .shotr .qa .mk, .card .ph .qa .mk, .pin-shell .pin { position:relative; }
.chip::after { content:''; position:absolute; left:-2px; right:-2px; top:-6px; bottom:-6px; }
.shotr .qa .mk::after, #index .grip::after { content:''; position:absolute; inset:-8px; border-radius:50%; }
.card .ph .qa .mk::after { content:''; position:absolute; inset:-5px; border-radius:50%; }
.pin-shell .pin:not([data-light])::before { content:''; position:absolute; inset:-10px; border-radius:50%; }
.rail-row { min-height:44px; padding:11px 0 !important; }
.sheet .grab { min-height:28px; padding:12px 0 10px; }
/* the kit, in the buckets he thinks in */
.kitgroups { display:flex; flex-direction:column; gap:var(--s6); margin-top:var(--s4); }
.kgroup .khead { display:flex; align-items:center; gap:12px; padding:0 0 10px; border-bottom:1px solid var(--rule); }
.kgroup .khead .ki { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--gold-ink); border:1.5px solid var(--edge); }
.kgroup .khead .nm { font-family:var(--display); font-size:var(--t-24); line-height:1; }
.kgroup .khead .ct { margin-left:auto; font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); }
.krow.kitr { grid-template-columns:32px 1fr auto; }
.krow.kitr .ki.sm { width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--ink-2); background:var(--raised); }
.krow.kitr .far { display:flex; align-items:center; gap:8px; }
.krow.kitr .who { font-size:var(--t-11); font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2); border:1px solid var(--hair); border-radius:100px; padding:4px 10px; }
/* a gap in a record is the way to fill it */
.fixlink { display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:0 2px; color:var(--gold-ink); font-size:var(--t-13); text-decoration:underline; text-decoration-color:var(--rule); text-underline-offset:3px; position:relative; }
.fixlink::after { content:''; position:absolute; inset:-6px -4px; }
@media (hover:hover) { .fixlink:hover { text-decoration-color:var(--gold); } }
.heroadd { margin:8px 0 0; }
.fixin { display:flex; gap:6px; align-items:stretch; } .fixin input { flex:1; min-width:0; min-height:40px; } .fixin .btn { min-height:40px; }
.ncard.editable { cursor:pointer; transition:border-color .15s, background .15s; }
@media (hover:hover) { .ncard.editable:hover { border-color:var(--edge); } }
.ncard .nedit { margin-top:6px; font-size:var(--t-12); color:var(--ink-3); font-style:italic; }
.ntrail { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:10px; padding:8px 12px; border-radius:4px; background:color-mix(in srgb, var(--gold) 8%, transparent); color:var(--gold-ink); font-size:var(--t-12); }
.ntrail svg { flex:none; }
#panel .noteed { margin-top:var(--s4); min-height:160px; padding:12px 14px; border:1px solid var(--rule); border-radius:4px; background:var(--paper); font-size:var(--t-15); line-height:1.55; outline:none; }
#panel .noteed:focus { border-color:var(--gold); }
#panel textarea.why { margin-top:var(--s4); }
/* a stop on a day it is shut: no number, a red ! that asks for a decision */
.pin.shut { width:24px; height:24px; background:var(--paper); color:var(--out); border:2px solid var(--out); box-shadow:0 0 0 2px var(--paper), 0 2px 6px rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:var(--t-13); font-family:var(--ui); z-index:2; }
.pin.shut::after { content:''; position:absolute; inset:-5px; border-radius:50%; border:1.5px solid var(--out); animation:shutring 2.4s ease-out infinite; }
@keyframes shutring { 0% { transform:scale(.8); opacity:.9; } 70% { transform:scale(1.5); opacity:0; } 100% { opacity:0; } }
.stop.seq[data-closed] .k.shut, .k.shut { background:transparent !important; color:var(--out) !important; border:2px solid var(--out) !important; font-weight:800; }
.stop.seq[data-closed] .nm { text-decoration:none; color:var(--ink-2); }
.stop.seq[data-closed] .sub { color:var(--out); }
.pop .shutask { display:flex; gap:8px; align-items:flex-start; margin-top:8px; padding:8px 10px; border:1px solid var(--out); border-radius:4px; font-size:var(--t-12); color:var(--ink); }
.pop .shutask .bang { flex:none; width:18px; height:18px; border-radius:50%; border:1.5px solid var(--out); color:var(--out); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:var(--t-11); }
.pin.frame svg, .krow.roadr .k.star svg { fill:none !important; stroke:#1B1A17 !important; }
#panel .callout.inpanel { display:grid; grid-template-columns:28px 1fr; gap:var(--s3); border:1px solid var(--out); border-left-width:4px; border-radius:4px; padding:var(--s4); }
#panel .callout.inpanel .bang { width:24px; height:24px; border-radius:50%; border:1.5px solid var(--out); color:var(--out); display:flex; align-items:center; justify-content:center; font-weight:800; }
#panel .callout.inpanel .nm { font-family:var(--display); font-size:var(--t-20); } #panel .callout.inpanel .sub { font-size:var(--t-13); color:var(--ink-2); margin-top:3px; }
#panel .callout.inpanel .chips { margin-top:10px; } #panel .callout.inpanel .btn { margin-top:10px; }
/* Travel: the Full trip button leads the belt */
.belt button.all { min-width:78px; border-right:1px solid var(--hair); margin-right:4px; } .belt button.all .n { display:flex; height:22px; align-items:center; } .belt button.all i { background:var(--gold); }
.legcard { border-left:3px solid var(--leg); padding:4px 0 12px 14px; margin-top:12px; }
.legcard[data-leg="rome"]{--leg:var(--rome)} .legcard[data-leg="wine"]{--leg:var(--wine)} .legcard[data-leg="florence"]{--leg:var(--florence)}
.legcard .lhead { display:block; width:100%; text-align:left; min-height:44px; padding:6px 0; }
.legcard .lhead .nm { display:block; font-family:var(--display); font-style:italic; font-size:var(--t-24); line-height:1.1; } .legcard .lhead .sub { display:block; font-size:var(--t-12); color:var(--ink-3); margin-top:3px; }
@media (hover:hover) { .legcard .lhead:hover .nm { color:var(--gold-ink); } }
.legcard .chips { margin-top:6px; }
/* My Day */
.tsec.myday .first { font-family:var(--display); font-size:var(--t-24); margin-top:6px; } .tsec.myday .btn { margin-top:12px; width:100%; min-height:48px; }
/* the day column's grip, desktop only */
.colgrip { display:none; }
@media (min-width:1100px) {
  .colgrip { display:flex; position:absolute; top:50%; right:calc(var(--panel-w) - 15px); width:30px; height:30px; margin-top:-15px; border-radius:50%; align-items:center; justify-content:center; background:var(--panel); border:1px solid var(--rule); color:var(--ink-2); z-index:12; transition:right .32s var(--ease), color .15s, border-color .15s; }
  .colgrip::after { content:''; position:absolute; inset:-8px; border-radius:50%; }
  @media (hover:hover) { .colgrip:hover { color:var(--ink); border-color:var(--gold); } }
  .tstage { transition:grid-template-columns .32s var(--ease); }
  #app[data-tcol="hidden"] .tstage { grid-template-columns:minmax(0,1fr) 0px; }
  #app[data-tcol="hidden"] .sheet { overflow:hidden; border-left:0; }
  #app[data-tcol="hidden"] .colgrip { right:12px; } #app[data-tcol="hidden"] .colgrip svg { transform:rotate(180deg); }
  #app[data-tcol="hidden"] .tstage .fab { right:var(--s4); }
  #app[data-mode="travel"][data-tcol="hidden"] #panel { right:0; }
}
/* Driving in Italy, on the Transfers rail */
.rail-sec.drive .drivehead { display:flex; align-items:center; gap:10px; } .rail-sec.drive .drivehead .dim { font-size:var(--t-12); }
.rail-sec.drive .dx { margin-left:auto; flex:none; width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--ink-3); border:1px solid var(--hair); position:relative; }
.rail-sec.drive .dx::after { content:''; position:absolute; inset:-8px; border-radius:50%; }
@media (hover:hover) { .rail-sec.drive .dx:hover { color:var(--ink); border-color:var(--gold); } }
.rail-sec.drive .dgroup { margin-top:14px; font-size:var(--t-11); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); }
.rail-sec.drive .dfact { display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-top:1px solid var(--hair); }
.rail-sec.drive .dfact .tb { flex:1; min-width:0; } .rail-sec.drive .dfact .nm { font-family:var(--display); font-size:var(--t-17); line-height:1.25; } .rail-sec.drive .dfact .sub { font-size:var(--t-13); color:var(--ink-2); margin-top:4px; line-height:1.45; }
.rail-sec.drive .dfact .src { display:inline-block; margin-top:5px; font-size:var(--t-11); color:var(--ink-3); text-decoration:underline; text-decoration-color:var(--hair); }
.drivefold { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border:1px solid var(--rule); border-radius:100px; color:var(--ink-2); font-size:var(--t-13); }
@media (hover:hover) { .drivefold:hover { border-color:var(--gold); color:var(--ink); } }
/* documents on file */
.doctiles { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:6px; }
.doctile { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-height:96px; padding:12px; border:1px dashed var(--rule); border-radius:6px; text-align:left; color:var(--ink-2); }
.doctile.on { border-style:solid; border-color:var(--edge); color:var(--ink); background:color-mix(in srgb, var(--gold) 6%, transparent); }
.doctile .di { color:var(--gold-ink); } .doctile .nm { font-size:var(--t-13); line-height:1.3; font-weight:600; } .doctile .st { font-size:var(--t-11); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); margin-top:auto; }
@media (hover:hover) { .doctile:hover { border-color:var(--gold); } }
#panel .docview { margin-top:var(--s4); } #panel .docview img { width:100%; border-radius:4px; background:var(--sunken); } #panel .docview iframe { width:100%; height:60vh; border:1px solid var(--hair); border-radius:4px; background:#fff; } #panel .docview .btn { margin-top:10px; }
/* the rail's content at the foot of the page on a phone or a narrow window */
.rail-inline { margin-top:var(--s7); padding-top:var(--s5); border-top:1px solid var(--rule); display:flex; flex-direction:column; gap:var(--s5); }
.rail-inline .rail-sec > .eyebrow { margin-bottom:var(--s3); }
.rail-inline .callout { border:1px solid var(--out); border-left-width:4px; border-radius:4px; padding:var(--s4); display:grid; grid-template-columns:28px 1fr; gap:var(--s3); margin-bottom:8px; background:color-mix(in srgb, var(--out) 5%, transparent); }
.rail-inline .callout .bang { width:24px; height:24px; border-radius:50%; border:1.5px solid var(--out); color:var(--out); display:flex; align-items:center; justify-content:center; font-weight:800; }
.rail-inline .callout .nm { font-family:var(--display); font-size:var(--t-20); line-height:1.2; } .rail-inline .callout .sub { font-size:var(--t-13); color:var(--ink-2); margin-top:4px; line-height:1.45; } .rail-inline .callout .btn { margin-top:10px; }
.rail-inline .rail-row { display:grid; grid-template-columns:1fr auto; gap:var(--s3); align-items:baseline; padding:11px 0; border-top:1px solid var(--hair); font-size:var(--t-13); text-align:left; width:100%; min-height:44px; }
.rail-inline .rail-row .nm { display:block; } .rail-inline .rail-row .sub { display:block; font-size:var(--t-12); color:var(--ink-3); } .rail-inline .rail-row .rt { font-size:var(--t-11); color:var(--ink-3); }

/* A hint never looks like an answer: lighter, and in italic. */
input::placeholder, textarea::placeholder { color:var(--ink-3); opacity:.72; font-style:italic; }

/* an empty band still stands: the word, and that nothing is in it yet */
.band[data-empty] { opacity:.62; }
.band .none { margin-left:auto; font-size:var(--t-11); letter-spacing:.04em; text-transform:none; font-weight:400; font-style:italic; color:var(--ink-3); }
[data-misfit] .sub { color:var(--hold); }

/* ---- the cover screen (the Flip's Flex Window, or #today) ----
   Five doors, big enough for a thumb; the lower edge stays clear for the
   Flip's cameras (data-flex), a forced #today on a phone uses all of it. */
body.cover #app, body.cover #panel, body.cover #ask { display:none !important; }
#cover { position:fixed; inset:0; z-index:500; background:var(--paper); color:var(--ink); display:flex; flex-direction:column; padding:calc(10px + env(safe-area-inset-top, 0px)) 12px 12px; overflow:hidden; }
/* the FlexWindow, edge to edge: no reserve at the foot. The doors fill down to the lenses; the strip left of them is the foot */
#cover[data-flex="1"] { padding:calc(8px + env(safe-area-inset-top, 0px)) 10px 0 10px; }
#cover[data-flex="1"] .ch { padding:0 8px; }
#cover[data-flex="1"] .cbody { padding-bottom:6px; }
#cover .cfoot { flex:none; display:flex; align-items:flex-end; justify-content:space-between; gap:8px; padding:6px 4px 10px 6px; }
#cover[data-flex="1"] .cfoot { height:var(--band, 17vh); width:var(--bandw, 55vw); box-sizing:border-box; flex-direction:column; align-items:flex-start; justify-content:center; gap:2px; padding:4px 0 max(10px, env(safe-area-inset-bottom, 0px)) 10px; }
#cover .cclock { display:flex; flex-direction:column; min-width:0; }
#cover .cclock .ct { font-family:var(--display); font-size:34px; line-height:1; font-variant-numeric:tabular-nums; }
#cover .cclock .cn { font-size:12px; color:var(--ink-2); line-height:1.25; margin-top:3px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#cover .cfull { display:inline-flex; align-items:center; gap:2px; margin:0; padding:4px 0; font-size:12px; color:var(--ink-3); text-decoration:none; letter-spacing:.04em; }
#cover .cfull svg { width:14px; height:14px; }
#cover[data-flex="1"] .cfull { margin-top:4px; }
/* the lens rings: gauges round the cameras */
#cover .clenswrap { position:absolute; inset:0; pointer-events:none; z-index:2; }
#cover .clens { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
/* a gauge you can read at arm's length: a pale gold track is the whole, the solid gold on it is how far along */
#cover .clens .lbase { fill:none; stroke:color-mix(in srgb, var(--gold) 24%, transparent); stroke-width:5; }
#cover .clens .larc.hot { stroke:var(--out); } #cover .clens .larc.gold { stroke:var(--gold-ink); }
#cover .clens .ltext { font-family:var(--ui); font-size:12px; font-weight:800; letter-spacing:.08em; fill:var(--ink); }
#cover .clens .lhit { fill:transparent; pointer-events:auto; touch-action:none; }
#cover[data-adjust] .clens .lbase { stroke:var(--gold); stroke-width:4; stroke-dasharray:5 4; }
#cover[data-adjust] .clens .lhit { fill:color-mix(in srgb, var(--gold) 12%, transparent); }
#cover .cadjust { position:absolute; left:10px; right:10px; top:44px; padding:12px; border-radius:14px; background:var(--raised); border:1px solid var(--rule); box-shadow:0 8px 24px rgba(0,0,0,.2); pointer-events:auto; display:flex; flex-direction:column; gap:8px; }
#cover .cadjust p { margin:0; font-size:13px; color:var(--ink-2); }
#cover .cadjrow, #cover .cadjsz { display:flex; gap:8px; } #cover .cadjrow .cbtn, #cover .cadjsz .cbtn { flex:1; min-height:44px; font-size:15px; }
#cover .ch { display:flex; align-items:center; gap:10px; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); font-weight:600; min-height:34px; }
#cover .cwhere { margin-left:auto; color:var(--gold-ink); }
#cover .cback { display:inline-flex; align-items:center; gap:4px; padding:6px 10px 6px 4px; font:inherit; color:var(--ink); letter-spacing:.04em; text-transform:none; font-size:15px; }
#cover .cback svg { width:18px; height:18px; }
#cover .cbody { flex:1; min-height:0; overflow:auto; display:flex; flex-direction:column; gap:10px; padding-top:6px; }
#cover .cpre { font-size:13px; color:var(--ink-3); }
#cover .ctiles { flex:1; display:grid; grid-template-columns:repeat(3, 1fr); grid-template-rows:1fr 1fr; gap:8px; min-height:0; }
#cover .ctile { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:3px; padding:9px 10px; border-radius:14px; background:var(--raised); border:1px solid var(--hair); text-align:left; color:var(--ink); min-height:0; overflow:hidden; }
#cover .ctile svg { width:20px; height:20px; color:var(--gold-ink); flex:none; }
#cover .ctile .tw { font-family:var(--display); font-size:22px; line-height:1; margin-top:2px; }
#cover .ctile .ts { font-size:12px; line-height:1.25; color:var(--ink-3); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#cover .ctile.lead { background:var(--ink); color:var(--paper); border-color:var(--ink); }
#cover .ctile.lead svg, #cover .ctile.lead .ts { color:color-mix(in srgb, var(--paper) 75%, transparent); }
#cover .ctile:active { transform:scale(.97); }
#cover .cname { font-family:var(--display); font-size:26px; line-height:1.05; }
#cover .cbig { font-family:var(--display); font-size:26px; line-height:1.1; }
#cover .ceyebrow { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-ink); font-weight:600; }
#cover .csub { color:var(--ink-2); font-size:14px; }
#cover .cbtn { display:flex; align-items:center; justify-content:center; gap:10px; min-height:56px; border-radius:12px; border:1px solid var(--rule); font-size:17px; font-weight:600; color:var(--ink); text-decoration:none; background:var(--raised); }
#cover .cbtn.solid { background:var(--ink); color:var(--paper); border-color:var(--ink); }
#cover .cbtn svg { width:22px; height:22px; }
#cover .cthen { font-size:14px; color:var(--ink-2); } #cover .cthen .k { font-weight:600; margin-right:6px; color:var(--ink-3); text-transform:uppercase; font-size:11px; letter-spacing:.12em; }
#cover .clist { display:flex; flex-direction:column; }
#cover .crow { display:flex; gap:10px; align-items:center; padding:10px 2px; border-bottom:1px solid var(--hair); font-size:15px; color:var(--ink); text-decoration:none; min-height:48px; }
#cover .crow .k { width:24px; height:24px; border-radius:50%; background:var(--ink); color:var(--paper); font-size:12px; display:inline-flex; align-items:center; justify-content:center; flex:none; }
#cover .crow .k:empty { background:none; }
#cover .crow .nm { flex:1; display:flex; flex-direction:column; } #cover .crow .km { font-size:12px; color:var(--ink-3); }
#cover .crow > svg { width:16px; height:16px; color:var(--ink-3); }
#cover .crow.shot[data-got] .nm { color:var(--ink-3); text-decoration:line-through; }
#cover .cgot { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 14px; border-radius:22px; border:1.5px solid var(--ok); color:var(--ok); font-weight:600; font-size:14px; }
#cover .crow.shot[data-got] .cgot { background:var(--ok); color:#F5F0E8; }
#cover .cgot svg { width:18px; height:18px; }
#cover .cnote { width:100%; box-sizing:border-box; flex:1; min-height:90px; font:inherit; font-size:17px; padding:12px; border:1px solid var(--rule); border-radius:10px; background:var(--raised); color:var(--ink); resize:none; }
#cover .band { padding:8px 0 2px; }


.synclog { margin-top:14px; } .synclog summary { cursor:pointer; font-size:var(--t-13); color:var(--ink-2); padding:6px 0; }
.deadrow.solved .fx { display:block; font-size:var(--t-13); color:var(--ok); margin-top:2px; }
/* approving: what is already on the record and different, old beside new */
.prop .conflicts { margin-top:10px; padding:10px 12px; border:1px solid color-mix(in srgb, var(--hold) 50%, transparent); border-radius:6px; background:color-mix(in srgb, var(--hold) 7%, transparent); }
.prop .where .wherepick { width:100%; margin-top:8px; min-height:44px; padding:8px 10px; border:1px solid var(--rule); border-radius:8px; background:var(--raised); color:var(--ink); font:inherit; }
.prop .cfl { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:start; padding:6px 0; font-size:var(--t-13); }
.prop .cfl input { margin-top:3px; width:18px; height:18px; }
.prop .cfl b { display:block; font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.prop .cfl .was, .prop .cfl .new { display:block; } .prop .cfl .new { color:var(--ink); font-weight:500; }

/* ---- the letters: a writing desk, not a side note ----
   On a computer the tray widens to a real composing width; on a tablet it
   takes most of the screen; on a phone all of it. */
@media (min-width:720px) and (min-height:520px), (min-width:1001px) { #app[data-pkind="letters"] #panel { width:min(880px, 92vw); } }
@media (min-width:1100px) { #app[data-pkind="letters"] #panel { width:min(880px, 62vw); } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #app[data-pkind="letters"] #panel { height:100%; top:0; border-radius:0; } }
#app[data-pkind="letters"] #panel .pbody { padding-left:clamp(20px, 3vw, 40px); padding-right:clamp(20px, 3vw, 40px); }
.mailed { border:1px solid var(--rule); border-radius:6px; background:var(--paper); overflow:hidden; }
.mailed:focus-within { border-color:var(--gold); box-shadow:0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
@media (hover:hover) { .mailbar .mb:hover { background:color-mix(in srgb, var(--ink) 7%, transparent); color:var(--ink); } }
.mailbody p { margin:0 0 12px; } .mailbody ul, .mailbody ol { margin:0 0 12px; padding-left:22px; } .mailbody li { margin:3px 0; } .mailbody a { color:var(--gold-ink); }
@media (min-width:720px) and (min-height:520px), (min-width:1001px) { .mailbody { min-height:360px; } }

/* resolving: one row per differing field, a three-way switch, or its own record */
.prop .cfl { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 14px; align-items:center; padding:8px 0; border-top:1px solid color-mix(in srgb, var(--hold) 25%, transparent); font-size:var(--t-13); }
.prop .cfl:first-child { border-top:0; }
.prop .cfl > span { flex:1 1 200px; }
.prop .seg { display:inline-flex; border:1px solid var(--rule); border-radius:100px; padding:2px; background:var(--paper); }
.prop .seg .sg { padding:6px 12px; border-radius:100px; font-size:var(--t-12); font-weight:600; color:var(--ink-3); min-height:32px; }
.prop .seg .sg[aria-checked="true"] { background:var(--ink); color:var(--paper); }
.prop .cfields[data-off] { opacity:.4; pointer-events:none; }
.prop .cown { display:flex; gap:10px; align-items:flex-start; margin-top:10px; padding-top:10px; border-top:1px solid color-mix(in srgb, var(--hold) 25%, transparent); font-size:var(--t-13); color:var(--ink-2); }
.prop .cown input { width:18px; height:18px; margin-top:1px; flex:none; }

/* a stay's own picture */
.dhero { position:relative; }
.dhero .dpic { position:absolute; right:12px; top:12px; z-index:2; display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:100px; background:color-mix(in srgb, var(--paper) 88%, transparent); color:var(--ink); font-size:var(--t-12); font-weight:600; box-shadow:0 1px 4px rgba(0,0,0,.2); }
.dhero .dpic svg { width:14px; height:14px; }
.dhero .dpicf { position:absolute; left:12px; right:12px; top:52px; z-index:3; display:flex; flex-wrap:wrap; gap:8px; padding:10px; border-radius:8px; background:var(--raised); box-shadow:0 8px 24px rgba(0,0,0,.25); }
.dhero .dpicf input { flex:1 1 240px; }

/* ---- round 3: a sheet or a tray you can swipe away ---- */
#panel[data-dragging], .daypane[data-dragging] { user-select:none; }
#panel .phead { cursor:grab; }
.daypane .sheethead { display:none; }
@media (min-width:720px) and (max-width:1099px) and (orientation:portrait) and (min-height:520px) {
  .dayswrap[data-mode="split"] { grid-template-columns:minmax(0,1fr); }
  .daypane.sheet { position:absolute; left:0; right:0; bottom:0; top:auto; height:70vh; height:70dvh; z-index:45; overflow-y:auto; overscroll-behavior:contain;
    background:var(--paper); border-left:0; border-top:3px solid var(--leg); border-radius:16px 16px 0 0; padding:0 var(--s6) calc(var(--s7) + env(safe-area-inset-bottom)); box-shadow:0 -18px 50px rgba(0,0,0,.22); transition:transform .3s var(--ease); }
  .daypane.sheet.rise { animation:sheetrise .32s var(--ease) both; }
  .daypane.sheet { transition:transform .3s var(--ease), height .3s var(--ease); }
  .daypane.sheet[data-pos="half"] { height:56vh; height:56dvh; }
  .daypane.sheet[data-pos="full"] { height:calc(100vh - 64px); height:calc(100dvh - 64px); }
  .daypane.sheet .sheethead { display:flex; position:sticky; top:0; z-index:3; align-items:flex-start; justify-content:center; flex:none; height:52px; min-height:52px; box-sizing:border-box; padding-top:14px; margin:0 calc(var(--s6) * -1) var(--s2); background:var(--paper); cursor:grab; touch-action:none; }
  .daypane.sheet .sgrip { width:44px; height:5px; border-radius:3px; background:#DEA726; }
  .daypane.sheet .schev, .daypane.sheet .sclose { position:absolute; top:8px; width:40px; height:40px; display:flex; align-items:center; justify-content:center; color:var(--ink-2); border-radius:50%; }
  .daypane.sheet .schev { right:calc(var(--s4) + 44px); } .daypane.sheet .sclose { right:var(--s4); }
  .daypane.sheet .schev svg { transform:rotate(-90deg); transition:transform .25s var(--ease); }
  .daypane.sheet[data-pos="full"] .schev svg { transform:rotate(90deg); }
  .daypane.sheet .ph { aspect-ratio:21/9; }
}
@keyframes sheetrise { from { transform:translateY(100%); } to { transform:none; } }
@media (prefers-reduced-motion:reduce) { .daypane.sheet.rise { animation:fadein .2s both; } }

/* the four addresses: the site is a link beside the address, the two doors share a row */
.facts a.weblink, .chapter .facts a.weblink { color:var(--ink); text-decoration:underline; text-decoration-color:var(--gold); text-underline-offset:3px; word-break:break-all; }
.chapter .acts.row { flex-wrap:nowrap; } .chapter .acts.row .btn { flex:0 1 auto; white-space:nowrap; }
@media (min-width:720px) and (max-width:1099px) and (min-height:520px) { .chapter { grid-template-columns:minmax(200px, 38%) 1fr; gap:var(--s5); } }

/* the dossier on a tablet: arrival and departure each take the full width, date on the left, facts with room on the right; the stay's days share one row */
@media (min-width:720px) and (max-width:1099px) and (min-height:520px) {
  .dpair { grid-template-columns:1fr; }
  .dside .bd, .dside.out .bd { grid-template-columns:minmax(150px, 34%) minmax(0,1fr); } .dside.out .bd .dt { order:1; } .dside.out .bd .fx { order:2; }
  .dside .fx .facts, .dside.out .fx .facts { grid-template-columns:auto minmax(0,1fr); direction:ltr; }
  .dside.out .facts dt, .dside.out .facts dd { text-align:left; }
  .dside.out { text-align:left; border-right:1px solid var(--rule); border-left:4px solid var(--leg); } .dside.out .top { justify-content:flex-start; }
}
@media (min-width:720px) and (min-height:520px), (min-width:1001px) {
  .ourdays .dtiles.big { grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:var(--s3); }
}
@media (min-width:720px) and (max-width:1099px) and (min-height:520px) {
  .ourdays .dtiles.big .dtile { padding:var(--s3); min-height:150px; }
  .ourdays .dtiles.big .dtile .hd { flex-direction:column; align-items:flex-start; gap:2px; }
  .ourdays .dtiles.big .dtile .nn { font-size:var(--t-30); } .ourdays .dtiles.big .dtile .wd { font-size:var(--t-15); }
}

/* ---- inbox: room under How it works, and Settled as an archive of lines ---- */
.settled .ibq { width:100%; margin:var(--s3) 0 var(--s3); padding:11px 14px; font:inherit; font-size:var(--t-15); border:1px solid var(--rule); border-radius:6px; background:var(--raised); color:var(--ink); }
.iblist { border-top:1px solid var(--hair); }
.ibrow { border-bottom:1px solid var(--hair); }
.ibline { width:100%; display:grid; grid-template-columns:64px minmax(90px, 160px) minmax(0,1fr) auto 18px; gap:var(--s3); align-items:center; min-height:52px; padding:8px 4px; text-align:left; font-size:var(--t-13); color:var(--ink-2); }
@media (hover:hover) { .ibline:hover { background:color-mix(in srgb, var(--ink) 3%, transparent); } }
.ibline .ibd { font-size:var(--t-12); color:var(--ink-3); letter-spacing:.04em; font-variant-numeric:tabular-nums; }
.ibline .ibf { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--ink-3); }
.ibline .ibs { color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ibline .ibm { display:inline-flex; align-items:center; gap:6px; font-size:var(--t-11); font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); white-space:nowrap; }
.ibline .ibm i { width:7px; height:7px; border-radius:50%; background:var(--ink-3); } .ibline .ibm[data-s="booked"] { color:var(--ok, var(--booked)); } .ibline .ibm[data-s="booked"] i { background:currentColor; }
.ibline svg { width:16px; height:16px; color:var(--ink-3); transform:rotate(90deg); transition:transform .2s; }
.ibline[aria-expanded="true"] svg { transform:rotate(-90deg); }
.ibbody { padding:0 0 var(--s4); } .ibbody .ibox { margin-top:0; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .ibline { grid-template-columns:52px minmax(0,1fr) 16px; grid-template-rows:auto auto; row-gap:2px; } .ibline .ibd { grid-row:1 / span 2; } .ibline .ibf { grid-column:2; grid-row:2; font-size:var(--t-12); } .ibline .ibs { grid-column:2; grid-row:1; } .ibline .ibm { display:none; } .ibline svg { grid-column:3; grid-row:1 / span 2; } }

/* ---- Settings: a card per concern, a shared label grid, actions at the foot ---- */
.setgrid { display:grid; grid-template-columns:1fr; gap:var(--s5); margin-top:var(--s6); }
@media (min-width:1100px) { .setgrid { grid-template-columns:repeat(2, minmax(0,1fr)); align-items:start; } }
.setgrid > .setcard { margin:0; padding:var(--s5) var(--s5) var(--s5); border:1px solid var(--rule); border-radius:8px; background:var(--raised); }
.setgrid > .setcard::before { display:none; }
.seth { display:grid; grid-template-columns:40px minmax(0,1fr); gap:var(--s3); align-items:center; padding-bottom:var(--s4); border-bottom:1px solid var(--hair); }
.setic { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:color-mix(in srgb, var(--gold) 14%, transparent); color:var(--gold-ink); }
.sett h3 { margin:0; font-family:var(--display); font-weight:400; font-size:var(--t-24); line-height:1.1; }
.sets { margin-top:3px; font-size:var(--t-13); color:var(--ink-3); }
.sets[data-s="booked"] { color:var(--ok); } .sets[data-s="held"] { color:var(--gold-ink); } .sets[data-s="out"] { color:var(--out); }
.setb { padding-top:var(--s4); }
.setrows { margin:0; display:grid; grid-template-columns:minmax(120px, 34%) minmax(0,1fr); }
.setrow { display:contents; }
.setrow dt, .setrow dd { padding:10px 0; border-bottom:1px solid var(--hair); margin:0; }
.setrow:last-child dt, .setrow:last-child dd { border-bottom:0; }
.setrow dt { font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding-top:13px; padding-right:var(--s3); }
.setrow dd { font-size:var(--t-15); color:var(--ink); line-height:1.45; }
.setacts { display:flex; flex-wrap:wrap; gap:var(--s2); align-items:center; margin-top:var(--s4); }
.setacts .setaway { margin-left:auto; }
.setnote { margin-top:var(--s3); font-size:var(--t-13); color:var(--ink-2); }
.setd { font-size:var(--t-13); color:var(--ink-2); line-height:1.5; margin:0; }
.setd + .setd { margin-top:var(--s3); }
.setk { font-size:var(--t-15); color:var(--ink); }
.setline { display:flex; align-items:center; justify-content:space-between; gap:var(--s4); padding:12px 0; border-bottom:1px solid var(--hair); }
.setline:last-child { border-bottom:0; } .setline:first-child { padding-top:0; }
.setline .setd { font-size:var(--t-13); color:var(--ink-3); margin-top:2px; }
.setseg { display:inline-flex; flex:none; border:1px solid var(--rule); border-radius:999px; padding:3px; background:var(--paper); }
.setseg button { padding:8px 14px; border-radius:999px; font-size:var(--t-13); color:var(--ink-2); white-space:nowrap; }
.setseg button[aria-checked="true"] { background:var(--ink); color:var(--paper); }
.setswitch { flex:none; width:50px; height:30px; border-radius:15px; background:var(--rule); position:relative; transition:background .2s; }
.setswitch i { position:absolute; left:3px; top:3px; width:24px; height:24px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .2s var(--ease); }
.setswitch[aria-checked="true"] { background:var(--gold); } .setswitch[aria-checked="true"] i { transform:translateX(20px); }
.setbar { height:6px; border-radius:3px; background:var(--hair); overflow:hidden; margin-top:var(--s3); } .setbar i { display:block; height:100%; background:var(--gold); transition:width .3s; }
.setcard .synclog { margin-top:var(--s3); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .setgrid > .setcard { padding:var(--s4); }
  .setrows { grid-template-columns:1fr; } .setrow dt { padding:10px 0 0; border-bottom:0; } .setrow dd { padding:2px 0 10px; }
  .setline { flex-wrap:wrap; } .setline .setseg { width:100%; } .setseg button { flex:1; padding:8px 6px; }
}
.setline.stack { flex-direction:column; align-items:flex-start; gap:var(--s3); }
/* a tablet upright: the two overview columns stack rather than run off the right edge */
@media (max-width:1099px) { .ov-cols { grid-template-columns:minmax(0,1fr); gap:var(--s6); } .ov-cols > * { min-width:0; } }
@media (min-width:1100px) { .ov-cols { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); } }

/* ---- the map, round 3 ---- */
/* our hotel: the gold diamond carries its name */
.pin-shell .plabel { position:absolute; left:16px; top:-14px; display:flex; flex-direction:column; padding:3px 8px 4px; background:var(--raised); border:1px solid color-mix(in srgb, var(--gold) 55%, var(--hair)); border-radius:4px; box-shadow:0 2px 8px rgba(0,0,0,.18); white-space:nowrap; pointer-events:none; line-height:1.15; }
.pin-shell .plabel b { font-size:var(--t-11); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); font-weight:700; }
.pin-shell .plabel span { font-size:var(--t-12); color:var(--ink); font-family:var(--display); }
/* the bed row wears the same diamond */
.seq .k.bedk { background:transparent !important; border:0 !important; }
.seq .k.bedk .dia, .ksw[data-k="stay"] { display:block; width:11px; height:11px; border-radius:2px; transform:rotate(45deg); background:var(--gold); box-shadow:0 0 0 1.5px var(--paper), 0 0 0 2.5px var(--gold); }
/* the key in Layers */
.mkey { display:flex; flex-direction:column; gap:8px; margin-bottom:6px; }
.mkey .krow { display:grid; grid-template-columns:20px 1fr; column-gap:10px; align-items:center; }
.mkey .krow .sub { grid-column:2; font-size:var(--t-12); color:var(--ink-3); line-height:1.35; }
.mkey .krow .nm { font-size:var(--t-13); color:var(--ink); }
.ksw { justify-self:center; }
.ksw[data-k="num"] { width:18px; height:18px; border-radius:50%; background:var(--rome); position:relative; } .ksw[data-k="num"]::after { content:'1'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:var(--t-11); font-weight:700; }
.ksw[data-k="route"] { width:20px; height:4px; border-radius:2px; background:var(--gold); }
.ksw[data-k="shut"] { width:18px; height:18px; border-radius:50%; background:var(--out); position:relative; } .ksw[data-k="shut"]::after { content:'!'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:var(--t-11); font-weight:700; }
.minchip.trace { background:var(--ink); color:var(--paper); border-color:var(--ink); font-weight:600; }
/* a tablet on its side: the card on the right, where there is room */
.mapwrap[data-layout="right"] .mapsheet { left:auto; right:var(--s4); }
.mapwrap[data-layout="right"] .layersbtn, .mapwrap[data-layout="right"] .layers { right:calc(var(--s4) + 346px); }
.mapwrap[data-layout="right"] .maplibregl-ctrl-bottom-right { right:346px; }
.mapwrap[data-layout="right"] .maplibregl-ctrl-bottom-left { left:0; }
.mapwrap[data-layout="right"] .mapedge { right:calc(var(--s4) + 346px); }
/* a tablet upright: the phone's sheet, peeking with the title and the legs */
@media (min-width:720px) and (min-height:520px), (min-width:1001px) {
  .mapwrap[data-layout="sheet"] { --sheet-h:176px; } .mapwrap[data-layout="sheet"][data-sheet="half"] { --sheet-h:50%; } .mapwrap[data-layout="sheet"][data-sheet="full"] { --sheet-h:calc(100% - 70px); }
  .mapwrap[data-layout="sheet"] .mapsheet { left:0; right:0; top:auto; bottom:0; width:auto; border-radius:14px 14px 0 0; transition:height .3s var(--ease, ease); height:var(--sheet-h); border-left:0; border-right:0; border-bottom:0; }
  .mapwrap[data-layout="sheet"] .mapsheet .msh { cursor:pointer; padding:10px var(--s5) var(--s3); }
  .mapwrap[data-layout="sheet"] .mapsheet .msh .grab { display:block; width:40px; height:5px; border-radius:3px; background:var(--hair); margin:0 auto 8px; }
  .mapwrap[data-layout="sheet"] .mapsheet[data-pos="peek"] .msb { display:none; }
  .mapwrap[data-layout="sheet"] .mapsheet .msb { padding:var(--s3) var(--s5) var(--s5); }
  .mapwrap[data-layout="sheet"] .layersbtn { bottom:calc(var(--sheet-h) + var(--s3)); }
  .mapwrap[data-layout="sheet"] .layers { bottom:calc(var(--sheet-h) + 64px); }
  .mapwrap[data-layout="sheet"] .maplibregl-ctrl-bottom-right { bottom:calc(var(--sheet-h) + 70px); }
  .mapwrap[data-layout="sheet"] .maplibregl-ctrl-bottom-left { left:0; bottom:var(--sheet-h); }
}
.mapsheet > .mleg { display:flex; gap:8px; padding:var(--s3) var(--s4); border-bottom:1px solid var(--hair); flex:none; overflow-x:auto; }
.mapsheet > .mleg .row { flex:1 0 96px; min-width:0; flex-direction:column; align-items:flex-start; gap:1px; margin:0; padding:6px 8px 6px 10px; border-bottom:0; background:color-mix(in srgb, var(--ink) 3%, transparent); border-radius:0 4px 4px 0; }
.mapsheet > .mleg .row .nm { font-size:var(--t-17); }
.mapwrap[data-bare] .layersbtn { bottom:calc(var(--s4) + 44px); }
/* the blue dot, and the button that turns it on */
.pin.me { width:18px; height:18px; border-radius:50%; background:#2F7BF6; border:3px solid #fff; box-shadow:0 0 0 1px rgba(0,0,0,.15), 0 2px 6px rgba(0,0,0,.3); position:relative; z-index:4; }
.pin.me i { position:absolute; inset:-9px; border-radius:50%; background:rgba(47,123,246,.22); animation:mepulse 2s ease-out infinite; }
@keyframes mepulse { from { transform:scale(.5); opacity:1; } to { transform:scale(1.6); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .pin.me i { animation:none; } }
.locbtn { position:absolute; right:var(--s4); bottom:calc(var(--s4) + 172px); z-index:6; width:48px; height:48px; padding:0; border-radius:50%; background:var(--raised); box-shadow:0 2px 10px rgba(0,0,0,.18); justify-content:center; }
.locbtn svg { width:22px; height:22px; } .locbtn[aria-pressed="true"] { color:#2F7BF6; border-color:#2F7BF6; }
.mapwrap[data-layout="right"] .locbtn { right:calc(var(--s4) + 346px); }
.mapwrap .layers { z-index:8; }
@media (min-width:720px) and (min-height:520px), (min-width:1001px) { .mapwrap[data-layout="sheet"] .locbtn { bottom:calc(var(--sheet-h) + 146px); } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .locbtn { bottom:calc(var(--sheet-h, 150px) + 72px); right:var(--s3); } }
/* the way here, from: on a stop's card */
#cover .ctiles .ctile.lead { grid-column:span 2; }
#cover .ctiles .ctile.lead .tw { font-size:26px; }
#cover .ctiles .ctile.lead .ts { font-size:14px; }
/* a chip that carries its own X: the X takes the tap, not the chip's enlarged hit area */
/* more than one letter: the count and a way to each, before the first */
.lnavb .t { font-family:var(--display); font-size:var(--t-17); color:var(--ink); } .lnavb .q { font-size:var(--t-12); color:var(--ink-3); }
@media (hover:hover) { .lnavb:hover { border-color:var(--gold); } }
.letter { scroll-margin-top:12px; }
#cover .cdiag { position:absolute; left:10px; right:10px; top:40px; z-index:5; padding:12px; border-radius:14px; background:var(--raised); border:1px solid var(--rule); box-shadow:0 8px 24px rgba(0,0,0,.25); display:flex; flex-direction:column; gap:8px; }
#cover .cdiag dl { margin:0; display:grid; grid-template-columns:auto 1fr; gap:4px 10px; font-size:12.5px; }
#cover .cdiag dt { color:var(--ink-3); font-weight:600; } #cover .cdiag dd { margin:0; color:var(--ink); font-variant-numeric:tabular-nums; }
/* a phone number is a link you tap to call */
a.tel { color:var(--ink); text-decoration:underline; text-decoration-color:var(--gold); text-underline-offset:3px; white-space:nowrap; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .chapter .acts.row { flex-wrap:wrap; } }
/* ---- the cover, round 4: before the trip, and the day as cards ---- */
#cover .ctiles.before { grid-template-rows:1.25fr 1fr; }
#cover .chero { justify-content:flex-end; gap:0; }
#cover .chero .cnum { font-family:var(--display); font-size:54px; line-height:.9; color:var(--paper); }
#cover .chero .tw { font-size:18px !important; margin-top:2px; }
#cover .chero .ts { margin-top:6px; }
#cover .ctile.hot svg { color:var(--out); }
#cover .cstrip svg:first-child { color:var(--gold-ink); } #cover .cstrip span { flex:1; } #cover .cstrip svg:last-child { color:var(--ink-3); width:16px; height:16px; }
#cover[data-mode="trip"] .cbody { gap:6px; }
#cover .cday { flex:1 1 auto; min-height:140px; display:flex; gap:8px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; padding-bottom:2px; }
#cover .cday::-webkit-scrollbar { display:none; }
#cover .ccard { flex:0 0 86%; scroll-snap-align:start; display:flex; flex-direction:column; gap:3px; padding:10px 12px 12px; border-radius:14px; background:var(--raised); border:1px solid var(--hair); min-height:0; overflow:hidden; text-align:left; color:var(--ink); }
#cover .ccard.now { background:var(--ink); color:var(--paper); border-color:var(--ink); }
#cover .ccard .cct { display:flex; justify-content:space-between; gap:8px; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-ink); }
#cover .ccard.now .cct { color:#E2B04A; } #cover .ccard .ccn { color:var(--ink-3); } #cover .ccard.now .ccn { color:color-mix(in srgb, var(--paper) 65%, transparent); }
#cover .ccard .ccname { font-family:var(--display); font-size:24px; line-height:1.05; margin-top:2px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#cover .ccard .ccsub { font-size:12.5px; color:var(--ink-3); } #cover .ccard.now .ccsub { color:color-mix(in srgb, var(--paper) 70%, transparent); }
#cover .ccard .cbtn { margin-top:auto; min-height:44px; font-size:15px; }
#cover .ccard.now .cbtn.solid { background:var(--paper); color:var(--ink); border-color:var(--paper); }
#cover .ccard.bed .cct { color:var(--gold-ink); }
#cover .ccard.call { align-items:flex-start; justify-content:center; gap:6px; flex-basis:60%; }
#cover .ccard.call svg { color:var(--gold-ink); }
#cover .cdots { flex:none; display:flex; justify-content:center; gap:5px; height:8px; align-items:center; }
#cover .cdots i { width:5px; height:5px; border-radius:50%; background:var(--hair); } #cover .cdots i[data-on] { background:var(--ink); width:14px; border-radius:3px; }
#cover .ctiles.trip { flex:0 0 auto; grid-template-rows:auto; min-height:84px; }
#cover .ctiles.trip .ctile { padding:8px 10px; } #cover .ctiles.trip .ctile .tw { font-size:19px; }
#cover .crow[data-hot] .k { background:var(--out); }
#cover .cnrow { display:flex; gap:8px; } #cover .cnrow .cbtn { flex:1; min-height:52px; }
#cover .cdiag .cadjrow { flex-wrap:wrap; } #cover .cdiag .cadjrow .cbtn { flex:1 1 30%; font-size:13px; }
/* the cover's words are not for selecting: a tap on text must not wake Chrome's Touch to Search, which slid Google results up from the foot */
#cover { -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; -webkit-tap-highlight-color:transparent; }
#cover textarea, #cover input { -webkit-user-select:text; user-select:text; -webkit-touch-callout:default; }
/* ---- the cover, round 4b: picture cards, the whole-day sliver, rings you can ask ---- */
#cover .cday { gap:8px; }
#cover .cwhole { flex:0 0 30px; scroll-snap-align:start; border-radius:12px; background:var(--ink); color:var(--paper); display:flex; align-items:center; justify-content:center; padding:0; }
#cover .cwhole span { writing-mode:vertical-rl; transform:rotate(180deg); font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; white-space:nowrap; }
#cover .ccard { position:relative; justify-content:space-between; font:inherit; border:1px solid var(--hair); }
#cover .ccard.pic { background:#222; border-color:transparent; color:#F5F0E8; }
#cover .ccard.pic > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
#cover .ccard.pic::after { content:''; position:absolute; inset:0; z-index:0; background:linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); }
#cover .ccard > .cct, #cover .ccard > .ccf, #cover .ccard > .ccgo { position:relative; z-index:1; }
#cover .ccard .cct { align-items:center; }
#cover .ccard .cctime { font-size:15px; letter-spacing:.04em; font-weight:700; font-variant-numeric:tabular-nums; color:inherit; }
#cover .ccard .ccn { font-size:10.5px; letter-spacing:.14em; padding:3px 7px; border-radius:10px; }
#cover .ccard.now .ccn { background:var(--gold); color:#1a1408; }
#cover .ccard.pic .ccn { color:#F5F0E8; } #cover .ccard.pic.now .ccn { color:#1a1408; }
#cover .ccard.now { outline:2.5px solid var(--gold); outline-offset:-2.5px; }
#cover .ccard.pic .ccsub, #cover .ccard.pic .cct { color:#F5F0E8; }
#cover .ccard .ccf { padding-right:52px; }
#cover .ccard .ccname { font-size:23px; }
#cover .ccard .ccgo { position:absolute; right:10px; bottom:10px; width:44px; height:44px; border-radius:50%; background:var(--gold); color:#1a1408; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.3); }
#cover .ccard .ccgo svg { width:20px; height:20px; }
#cover .cstopimg { flex:none; height:110px; border-radius:12px; overflow:hidden; background:var(--sunken); } #cover .cstopimg img { width:100%; height:100%; object-fit:cover; }
#cover .clens .lbase, #cover .clens .larc { fill:none; stroke-linecap:round; }
#cover .clens .lbase { stroke-width:5; } #cover .clens .larc { stroke-width:5.5; }

/* ---- round 4: Defer, For you, the same verbs on every tray ---- */
.dpick { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:var(--s3) 0 var(--s3) 32px; }
.dpick .k { font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); }
.dpick .chips { display:flex; flex-wrap:wrap; gap:6px; }
.ov-list li .due.back, .backtag { color:var(--gold-ink); }
.backtag { font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; margin-bottom:4px; }
.drow[data-back] .b { color:var(--gold-ink); }
.drow .acts.more { margin-top:6px; }
.drow .acts.more .chip { min-height:28px; font-size:var(--t-12); }
.dsec.deferred { max-width:760px; margin-top:var(--s6); }
.dflist { list-style:none; margin:0; padding:0; }
.dflist li { display:grid; grid-template-columns:110px 1fr auto; gap:var(--s3); align-items:baseline; padding:var(--s3) 0; border-top:1px solid var(--hair); }
.dflist .when { font-size:var(--t-12); color:var(--ink-3); white-space:nowrap; }
.dflist .chip { min-height:28px; font-size:var(--t-12); }
@media (max-width:560px) { .dflist li { grid-template-columns:1fr auto; } .dflist .when { grid-column:1 / -1; } }

.hocols { display:grid; grid-template-columns:1fr; gap:var(--s5); }
@media (min-width:1100px) { .hocols { grid-template-columns:1fr 1fr; align-items:start; } }
.hosec { margin-top:var(--s4); }
.hoff { border:1px solid var(--hair); border-radius:12px; padding:var(--s4); margin-top:var(--s3); background:var(--paper); }
.hoff[data-mine] { border-color:var(--gold); box-shadow:inset 3px 0 0 var(--gold); }
.hoff h3 { margin:4px 0 0; font-size:var(--t-17); line-height:1.3; }
/* a For you card sits on paper, not champagne, so its words follow the ink (on black they were #1B1A17: invisible) */
.dcard.hoff, .dcard.hoff h3, .dcard.hoff .dsh h3, .dcard.hoff .facts dd, .dcard.hoff .btn:not(.solid) { color:var(--ink); }
.dcard.hoff .btn.solid { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.dcard.hoff .dsh .dim, .dcard.hoff .facts dt, .dcard.hoff .dim { color:var(--ink-3); }
.dcard.hoff .btn:not(.solid) { border-color:var(--rule); }
.honote { margin:var(--s3) 0 0; padding:0 0 0 var(--s3); border-left:2px solid var(--hair); font-size:var(--t-15); line-height:1.45; color:var(--ink); }
.hothread { list-style:none; margin:var(--s3) 0 0; padding:0; display:grid; gap:6px; }
.hothread li { display:grid; gap:2px; font-size:var(--t-13); }
.hothread .w { font-size:var(--t-11); font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.hoff .acts.row { display:flex; flex-wrap:wrap; gap:8px; margin-top:var(--s3); }
.hobox { display:grid; gap:8px; margin-top:var(--s3); }
.hoff[data-st="done"], .hoff[data-st="dropped"] { opacity:.8; }

.section.verbs .acts.row.wrap { display:flex; flex-wrap:wrap; gap:8px; margin-top:var(--s2); }
.section.verbs .daypick { display:flex; flex-wrap:wrap; gap:6px; margin-top:var(--s3); }
.section.verbs .daypick[hidden] { display:none; }
/* Ready to fly */
@media (max-width:560px) { .preflight li { grid-template-columns:22px 1fr; } .preflight .btn { grid-column:2; justify-self:start; } }
/* the demo says so, once, beside the trip name */
#mast .demotag { margin-left:10px; padding:2px 8px; border:1px solid var(--gold); border-radius:999px; font-size:var(--t-11); font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); align-self:center; }
.hobox[hidden] { display:none; }

/* tap a euro amount: it flips to dollars at today's ECB rate, and back */
.eur { cursor:pointer; border-bottom:1px dotted color-mix(in srgb, var(--gold) 70%, transparent); white-space:nowrap; display:inline-block; perspective:300px; }
.eur:focus-visible { outline:2px solid var(--gold); outline-offset:2px; border-radius:2px; }
.eur[data-usd] { color:var(--gold-ink); }
.eur[data-busy] { opacity:.6; }
.eur .fc { display:inline-block; transform-origin:50% 60%; animation:fxflip .42s cubic-bezier(.3,.7,.3,1) both; backface-visibility:hidden; }
@keyframes fxflip { 0% { transform:rotateX(-90deg); opacity:0; } 60% { opacity:1; } 100% { transform:rotateX(0); opacity:1; } }
@media (prefers-reduced-motion: reduce) { .eur .fc { animation:none; } }
/* ---- the cover, round 7: doors that are pictures, and the rings to the spec ---- */
#cover .ctile.photo { position:relative; background:#2A2825; border-color:transparent; color:#fff; }
#cover .ctile.photo .tph { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
#cover .ctile.photo::after { content:""; position:absolute; inset:0; z-index:0; background:linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.66) 100%); }
#cover .ctile.photo > :not(.tph) { position:relative; z-index:1; }
#cover .chero.photo .tph { object-position:62% 38%; }
#cover .chero.photo::after { background:linear-gradient(90deg, rgba(8,22,48,.58) 0%, rgba(8,22,48,0) 58%), linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.5) 100%); }
#cover .chero.photo .cnum, #cover .chero.photo .tw { color:#fff; text-shadow:0 1px 8px rgba(0,0,0,.35); }
#cover .chero.photo .ts { color:rgba(255,255,255,.88); }
#cover .ctile.door { justify-content:flex-end; padding:8px 10px; }
#cover .ctile.door .dt { display:flex; flex-direction:column; gap:2px; }
#cover .ctile.door .tw { font-family:Georgia, var(--display), serif; font-size:23px; line-height:1; color:#fff; letter-spacing:-.01em; }
#cover .ctile.door .ts { font-size:11.5px; color:rgba(255,255,255,.9); -webkit-line-clamp:1; }
#cover .cbadge { position:absolute !important; right:7px; top:7px; z-index:2 !important; min-width:22px; height:22px; padding:0 6px; border-radius:11px; background:#DEA726; color:#1B1A17; font:800 12.5px/22px var(--ui); text-align:center; box-shadow:0 1px 4px rgba(0,0,0,.3); }
#cover .cbadge.hot { background:#C0492F; color:#fff; }
#cover .clight { display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--ink-2, var(--ink)); padding:4px 2px 2px; }
#cover .clight svg { color:var(--gold-ink); flex:none; }
#cover .clens .lticks line { stroke-width:1.3; stroke-opacity:.35; stroke-linecap:round; }
#cover .clens .lticks line.on { stroke:#1B1A17; stroke-width:1.6; }
#cover .clens .lticks line.hand { stroke:#1B1A17; stroke-width:2.2; stroke-opacity:1; }
#cover .clens .ltext { font-family:var(--ui); font-size:9.4px; font-weight:800; letter-spacing:.4px; fill:var(--ink); }
#cover .clens .ltext.hot { fill:#C0492F; }
#cover .clens .lbase { fill:none; }
#cover .chero.photo { padding-bottom:9px; }
#cover .chero.photo .cnum { font-size:46px; }
#cover .chero.photo .tw { font-size:17px !important; }
#cover .chero.photo .ts { font-size:11.5px; margin-top:3px; -webkit-line-clamp:1; }
/* ---- the cover, round 8 (29 Sep): a size up on every word and number (a happy medium between round 7 and the mockup),
   the doors lifted off a faint gold contour map, one spacing rule (8 between doors, 12 between groups and from the edges) ---- */
#cover { background:url(/img/cover/topo.svg) center/cover no-repeat, radial-gradient(120% 90% at 30% 15%, #FAF6EE 0%, #F2EBDF 60%, #EAE1D2 100%); }
:root[data-scheme="dark"] #cover { background:url(/img/cover/topo-dark.svg) center/cover no-repeat, radial-gradient(120% 90% at 30% 15%, #17191C 0%, #111315 70%, #0C0D0F 100%); }
#cover[data-flex="1"] { padding-left:12px; padding-right:12px; }
#cover[data-flex="1"] .ch { padding:0 4px; }
#cover .ch { font-size:13.5px; font-weight:700; letter-spacing:.11em; min-height:36px; }
#cover .ch .cdate { color:var(--ink-2); }
#cover .cback { font-size:16px; font-weight:600; padding-left:0; }
#cover .ctitle { font-weight:700; }
#cover .cbody { gap:12px; padding-top:4px; }
/* lifted: a lit top edge and a soft shadow */
#cover .ctile, #cover .cstrip, #cover .ccard, #cover .lift { box-shadow:0 1px 0 rgba(255,255,255,.55) inset, 0 0 0 1px rgba(40,30,10,.06), 0 10px 18px -10px rgba(50,35,10,.5), 0 3px 6px -3px rgba(50,35,10,.28); }
:root[data-scheme="dark"] #cover .ctile, :root[data-scheme="dark"] #cover .cstrip, :root[data-scheme="dark"] #cover .ccard, :root[data-scheme="dark"] #cover .lift { box-shadow:0 1px 0 rgba(255,255,255,.06) inset, 0 0 0 1px rgba(255,255,255,.05), 0 10px 18px -10px rgba(0,0,0,.8); }
#cover .ctile:not(.photo), #cover .cstrip, #cover .lift:not(.photo):not(.pic):not(.on) { background:linear-gradient(180deg, var(--raised) 0%, color-mix(in srgb, var(--raised) 88%, var(--sunken)) 100%); border-color:transparent; }
#cover .ctile.door .tw { font-size:24px; } #cover .ctile.door .ts { font-size:12.5px; font-weight:500; }
#cover .chero.photo .cnum { font-size:50px; } #cover .chero.photo .tw { font-size:18px !important; } #cover .chero.photo .ts { font-size:12.5px; }
/* the bubble: a true circle with the number dead centre */
#cover .cbadge { width:26px; height:26px; min-width:0; padding:0; border-radius:50%; display:grid !important; place-items:center; font:700 14px/1 var(--ui); font-variant-numeric:tabular-nums; text-align:center; box-shadow:0 2px 6px rgba(0,0,0,.35), 0 0 0 2px rgba(255,255,255,.85); }
#cover .cbadge.ok { background:#DEA726; color:#1B1A17; } #cover .cbadge.ok svg { width:14px; height:14px; }
/* Preview a day: a pill, not a bar */
/* the clock beside the lenses */
#cover .cclock .ct { font-size:40px; } #cover .cclock .cn { font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; }
#cover .cfull { font-size:14px; }
/* lists: rows at 16 px, two lines at most, cards on the map */
#cover .cscroll { position:relative; flex:1; min-height:0; display:flex; }
#cover .cscroll > .clist { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; gap:6px; padding:2px 2px 8px; scrollbar-width:none; }
#cover .cscroll > .clist::-webkit-scrollbar { display:none; }
#cover .cmore { position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:30px; height:22px; border-radius:11px; display:grid; place-items:center; background:#DEA726; color:#1B1A17; box-shadow:0 2px 6px rgba(0,0,0,.25); opacity:0; transition:opacity .25s; pointer-events:none; }
#cover .cscroll[data-more="1"] .cmore { opacity:1; }
#cover .cend { display:flex; flex-direction:column; align-items:center; gap:8px; padding:14px 0 18px; color:var(--ink-3); font-size:14px; }
#cover .cend i { width:60%; border-top:1px solid var(--hair); }
#cover .crow2 { position:relative; display:flex; align-items:center; gap:10px; width:100%; min-height:52px; padding:7px 12px; border-radius:13px; text-align:left; font-size:16px; line-height:1.25; color:var(--ink); touch-action:pan-y; transition:transform .18s ease; }
#cover .crow2 .tx { flex:1; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#cover .crow2 .tx .km, #cover .crow2 .km { display:block; font-size:12.5px; color:var(--ink-3); }
#cover .crow2 .from { position:absolute; left:12px; top:5px; font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-ink); }
#cover .crow2 .from ~ .tx { margin-top:10px; }
#cover .crow2 .k { width:24px; height:24px; border-radius:50%; flex:none; display:grid; place-items:center; background:var(--out); color:var(--on-fill); font:800 13px/1 var(--ui); }
/* the swipe: gold under the thumb to send, red for later */
#cover .cswipe { position:relative; border-radius:13px; flex:none; }
#cover .cunder { position:absolute; inset:0; border-radius:13px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; font-size:13px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
#cover .cunder .ul, #cover .cunder .ur { display:flex; align-items:center; gap:8px; opacity:0; }
#cover .cswipe[data-dir="r"] .cunder { background:linear-gradient(90deg, #C99419, #DEA726); color:#1B1A17; } #cover .cswipe[data-dir="r"] .ul { opacity:1; }
#cover .cswipe[data-dir="l"] .cunder { background:linear-gradient(270deg, #A83A22, #C0492F); color:#fff; } #cover .cswipe[data-dir="l"] .ur { opacity:1; }
#cover .cdefer { position:absolute; inset:0; z-index:2; border-radius:13px; display:grid; grid-template-columns:repeat(4, 1fr) 34px; gap:5px; padding:6px; background:#C0492F; }
#cover .cdefer button { border-radius:9px; background:rgba(255,255,255,.95); color:#7A2716; font:700 13.5px/1.1 var(--ui); }
#cover .cdefer button.x { background:transparent; color:#fff; display:grid; place-items:center; }
#cover .cundo { position:absolute; left:12px; right:12px; top:44px; z-index:8; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:0 8px 0 14px; min-height:44px; border-radius:12px; background:var(--ink); color:var(--paper); font-size:15px; box-shadow:0 8px 20px rgba(0,0,0,.3); }
#cover .cundo button { color:#DEA726; font:700 15px var(--ui); padding:8px 10px; }
/* open the phone: a card over the page, tap to dismiss */
#cover .cask { position:absolute; inset:0; z-index:9; display:grid; place-items:start center; padding-top:70px; background:color-mix(in srgb, var(--paper) 55%, transparent); backdrop-filter:blur(3px); }
#cover .caskin { width:calc(100% - 48px); padding:18px 16px; border-radius:16px; background:var(--raised); text-align:center; box-shadow:0 14px 34px rgba(0,0,0,.28); display:flex; flex-direction:column; align-items:center; gap:6px; }
#cover .caskph { width:54px; height:54px; border-radius:50%; display:grid; place-items:center; background:#DEA726; color:#1B1A17; }
#cover .caskin .csub { font-size:14.5px; }
/* all done: a gold tick that fills the page */
#cover .cdone { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding-bottom:12px; }
#cover .cdonetick { width:92px; height:92px; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle at 35% 30%, #F2C75A, #DEA726 60%, #B98516); color:#1B1A17; box-shadow:0 10px 24px -8px rgba(120,80,10,.6); }
#cover .cdone .cname { font-size:24px; }
/* Kit */
#cover .ckitsw { margin-left:auto; display:grid; grid-template-columns:1fr 1fr; padding:3px; border-radius:15px; background:color-mix(in srgb, var(--ink) 8%, transparent); }
#cover .ckitsw button { height:26px; padding:0 11px; border-radius:12px; font:600 13px/1 var(--ui); letter-spacing:.01em; text-transform:none; color:var(--ink-2); }
#cover .ckitsw button.on { background:var(--ink); color:var(--paper); }
#cover .ccount { font-size:12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-ink); padding:0 4px; }
#cover .cgroup { border-radius:13px; flex:none; overflow:hidden; }
#cover .cghead { width:100%; display:flex; align-items:center; gap:10px; min-height:52px; padding:7px 12px; text-align:left; color:var(--ink); }
#cover .cghead .gi { width:32px; height:32px; border-radius:9px; flex:none; display:grid; place-items:center; background:color-mix(in srgb, #DEA726 22%, transparent); color:var(--gold-ink); }
#cover .cghead .gt { flex:1; min-width:0; display:flex; flex-direction:column; }
#cover .cghead .gn { font-size:16px; font-weight:600; } #cover .cghead .gs { font-size:12.5px; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#cover .cghead > svg { width:16px; height:16px; color:var(--ink-3); flex:none; }
#cover .ckrow { width:100%; display:flex; align-items:center; gap:10px; min-height:44px; padding:6px 12px 6px 54px; border-top:1px solid var(--hair); font-size:15.5px; text-align:left; color:var(--ink); }
#cover button.ckrow { padding-left:12px; }
#cover .tick { width:26px; height:26px; border-radius:50%; flex:none; border:2px solid color-mix(in srgb, var(--ink) 22%, transparent); display:grid; place-items:center; }
#cover .tick.on { background:#DEA726; border-color:#DEA726; }
#cover .tick.on::after { content:""; width:10px; height:5px; border-left:2.4px solid #1B1A17; border-bottom:2.4px solid #1B1A17; transform:rotate(-45deg) translate(1px,-1px); }
/* Note */
#cover .cnbox { position:relative; border-radius:14px; padding:10px; display:flex; gap:10px; min-height:96px; }
#cover .cnbox .cnote { flex:1; min-height:76px; border:0; background:transparent; padding:2px; font-size:16.5px; box-shadow:none; }
#cover .cnph { position:relative; width:76px; height:76px; flex:none; border-radius:10px; overflow:hidden; }
#cover .cnph img { width:100%; height:100%; object-fit:cover; }
#cover .cnph .x { position:absolute; right:3px; top:3px; width:22px; height:22px; border-radius:50%; background:rgba(0,0,0,.6); color:#fff; display:grid; place-items:center; }
#cover .c3 { height:54px; border-radius:13px; display:flex; align-items:center; justify-content:center; gap:8px; font:600 15.5px var(--ui); color:var(--ink); }
#cover .c3 svg { width:20px; height:20px; color:var(--gold-ink); }
#cover .c3.on { background:linear-gradient(180deg, #E8B53A, #D19A1C) !important; color:#1B1A17; } #cover .c3.on svg { color:#1B1A17; }
#cover .ckeep { min-height:48px; font-size:16px; }
#cover .ckeep:disabled { opacity:.45; }
#cover .cpick { position:absolute; left:12px; right:12px; top:150px; z-index:7; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px; border-radius:14px; }
#cover .cpick button { height:52px; border-radius:11px; display:flex; align-items:center; justify-content:center; gap:8px; font:600 15px var(--ui); color:var(--ink); background:color-mix(in srgb, #DEA726 16%, transparent); }
#cover .cother { display:flex; gap:8px; } #cover .cother .cnote { min-height:48px; font-size:16px; }
/* Letters */
#cover .cempty { flex:1; display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; }
#cover .cenv { width:74px; height:54px; color:#B8862A; } #cover .cenv .p { fill:var(--raised); } #cover .cenv .g { fill:#DEA726; stroke:none; }
#cover .cempty .cname { font-size:22px; margin-top:2px; } #cover .cempty .csub { font-size:14px; margin-bottom:8px; }
#cover .cgo3 { width:100%; display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; }
#cover .cgo3 button { position:relative; height:74px; border-radius:13px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; font:400 17px/1 var(--display); color:var(--ink); overflow:hidden; background-size:cover; background-position:center; }
#cover .cgo3 button svg { width:24px; height:24px; color:var(--gold-ink); }
#cover .cgo3 button.pic { color:#fff; justify-content:flex-end; padding-bottom:9px; }
#cover .cgo3 button.pic::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.65)); }
#cover .cgo3 button.pic span { position:relative; z-index:1; }
/* the boarding pass */
#cover .cpass { border-radius:16px; overflow:hidden; background:var(--raised); flex:none; }
#cover .cpt { position:relative; height:70px; background-size:cover; background-position:62% 40%; color:#fff; }
#cover .cpt::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(8,22,48,.62), rgba(8,22,48,0) 72%); }
#cover .cpt b { position:absolute; left:12px; top:9px; z-index:1; font-size:12.5px; letter-spacing:.14em; }
#cover .cpt em { position:absolute; left:12px; bottom:8px; z-index:1; font-style:normal; font-size:13.5px; font-weight:600; }
#cover .cplegs { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:8px 14px 0; }
#cover .cplegs .iata { font:400 40px/1 var(--display); letter-spacing:.02em; } #cover .cplegs .iata.r { text-align:right; }
#cover .cplegs .pl { font-size:20px; color:var(--gold-ink); padding:0 8px; }
#cover .cptm .r { text-align:right; } #cover .cptm .k { display:block; font-size:12.5px; color:var(--ink-3); }
#cover .cpstub { position:relative; display:grid; grid-template-columns:auto auto 1fr auto auto; align-items:baseline; gap:6px; padding:10px 14px 11px; border-top:1.5px dashed color-mix(in srgb, var(--ink) 18%, transparent); background:color-mix(in srgb, #DEA726 10%, var(--raised)); font-size:13.5px; color:var(--ink-2); }
#cover .cpstub::before, #cover .cpstub::after { content:""; position:absolute; top:-9px; width:16px; height:16px; border-radius:50%; background:var(--paper); }
#cover .cpstub::before { left:-8px; } #cover .cpstub::after { right:-8px; }
#cover .cpstub b { font:700 17px var(--ui); color:var(--gold-ink); font-variant-numeric:tabular-nums; margin-right:10px; }
#cover .csub.big { font-size:15px; padding:8px 4px; }
/* unfolded, taking the photo for a note begun on the cover */
.ccamsheet { position:fixed; left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom, 0px)); z-index:600; padding:18px 16px; border-radius:18px; background:var(--raised); box-shadow:0 18px 44px rgba(0,0,0,.35); }
.ccamsheet h3 { margin:4px 0 6px; font:400 var(--t-24)/1.1 var(--display); }
.ccamsheet .acts { display:flex; gap:10px; margin-top:12px; }
#cover .chero.photo .cnum { font-size:44px; }
#cover .cscroll { padding-bottom:18px; }
#cover .cmore { bottom:-3px; }
#cover .cghead { min-height:46px; padding:5px 12px; }
#cover .cghead .gi { width:28px; height:28px; }
#cover .cgroup + .cgroup, #cover .ckit > .cgroup { margin-bottom:0; }
#cover .cpstub { display:flex; align-items:baseline; gap:6px; }
#cover .cpstub b { margin-right:16px; }
#cover .cday { min-height:118px; }
#cover .crow2 { font-size:15.5px; line-height:1.2; padding:6px 11px; min-height:48px; }
#cover .cscroll { padding-bottom:14px; }
#cover .cscroll > .clist { padding-bottom:2px; }
#cover .ch { min-height:32px; }
/* ---- the cover, round 9 (29 Sep, Michael on the Flip: "everything needs to be bigger… fill the screen in a beautiful
   and refined way"). About 40% up on every word, box and target: the header, the doors, the lists, the pass, the letters,
   the clock. Preview a day moves beside the clock so the doors can take the whole page. ---- */
#cover .ch { min-height:44px; font-size:18.5px; letter-spacing:.1em; gap:12px; }
#cover .cback { font-size:22px; gap:4px; } #cover .cback svg { width:22px; height:22px; }
#cover .cbody { gap:10px; padding-top:6px; }
/* home, before the trip: two rows of doors, the countdown the size of the page */
#cover .ctiles.before { grid-template-rows:1.3fr 1fr; gap:9px; }
#cover .ctile { border-radius:16px; padding:10px 12px; }
#cover .chero.photo .cnum { font-size:74px; line-height:.9; }
#cover .chero.photo .tw { font-size:25px !important; }
#cover .chero.photo .ts { font-size:15.5px; }
#cover .ctile.door .tw { font-size:32px; line-height:1; }
#cover .ctile.door .ts { font-size:15px; }
#cover .cbadge { width:34px; height:34px; font-size:18px; }
#cover .cbadge.ok svg { width:18px; height:18px; }
/* beside the lenses: the clock, then Preview a day as a pill, then the way to the full app */
#cover .cclock .ct { font-size:50px; line-height:1; }
#cover .cclock .cn { font-size:16.5px; }
#cover .cfull { font-size:16.5px; }
/* the day as cards */
#cover .ccard { border-radius:16px; padding:12px 14px 14px; }
#cover .ccard .cctime { font-size:20px; }
#cover .ccard .ccn { font-size:13px; padding:4px 9px; border-radius:12px; }
#cover .ccard .ccname { font-size:32px; }
#cover .ccard .ccsub { font-size:16px; }
#cover .ccard .ccgo { width:54px; height:54px; } #cover .ccard .ccgo svg { width:24px; height:24px; }
#cover .ccard .ccf { padding-right:62px; }
#cover .ctiles.trip { min-height:92px; }
#cover .ctiles.trip .ctile { padding:9px 12px; }
#cover .ctiles.trip .ctile .tw { font-size:25px; }
#cover .ctiles.trip .ctile .ts { font-size:15px; }
#cover .ctiles.trip .ctile > svg { width:26px; height:26px; }
/* lists: Decide and Kit */
#cover .crow2 { min-height:64px; padding:9px 14px; border-radius:15px; font-size:20px; gap:12px; }
#cover .crow2 .from { left:14px; top:6px; font-size:13px; }
#cover .crow2 .from ~ .tx { margin-top:14px; }
#cover .crow2 .k { width:32px; height:32px; font-size:17px; }
#cover .crow2 .tx .km, #cover .crow2 .km { font-size:15.5px; }
#cover .cscroll > .clist { gap:8px; }
#cover .cmore { width:38px; height:28px; border-radius:14px; } #cover .cmore svg { width:22px; height:22px; }
#cover .cend { font-size:17px; }
#cover .cunder { font-size:15.5px; padding:0 16px; border-radius:15px; } #cover .cswipe { border-radius:15px; }
#cover .cdefer { border-radius:15px; grid-template-columns:repeat(4, 1fr) 40px; gap:6px; padding:7px; }
#cover .cdefer button { font-size:16.5px; border-radius:11px; }
#cover .cundo { min-height:54px; font-size:18px; top:52px; } #cover .cundo button { font-size:18px; }
#cover .caskin .cname { font-size:28px; } #cover .caskin .csub { font-size:17px; } #cover .caskph { width:64px; height:64px; }
#cover .ckitsw { padding:4px; border-radius:18px; }
#cover .ckitsw button { height:36px; padding:0 14px; border-radius:15px; font-size:16.5px; }
#cover .ccount { font-size:15px; }
#cover .cghead { min-height:66px; padding:8px 14px; gap:12px; }
#cover .cghead .gi { width:40px; height:40px; border-radius:11px; } #cover .cghead .gi svg { width:22px; height:22px; }
#cover .cghead .gn { font-size:20px; } #cover .cghead .gs { font-size:15.5px; }
#cover .cghead > svg { width:20px; height:20px; }
#cover .ckrow { min-height:56px; font-size:19px; padding:8px 14px 8px 66px; }
#cover button.ckrow { padding-left:14px; }
#cover .tick { width:32px; height:32px; }
#cover .tick.on::after { width:12px; height:6px; }
#cover .csub, #cover .csub.big { font-size:18px; line-height:1.45; }
/* Note */
#cover .cnbox { min-height:112px; padding:12px; border-radius:16px; }
#cover .cnbox .cnote { min-height:88px; font-size:21px; }
#cover .cnph { width:88px; height:88px; }
#cover .c3 { height:64px; border-radius:15px; font-size:19.5px; gap:9px; } #cover .c3 svg { width:24px; height:24px; }
#cover .ckeep { min-height:58px; font-size:20px; }
#cover .cpick button { height:62px; font-size:18px; }
#cover .cother .cnote { min-height:58px; font-size:20px; }
/* Letters: the envelope, the words and three picture doors fill the page */
#cover .cempty { gap:6px; justify-content:center; }
#cover .cenv { width:112px; height:82px; }
#cover .cempty .cname { font-size:31px; margin-top:4px; }
#cover .cempty .csub { font-size:17.5px; margin-bottom:10px; }
#cover .cgo3 { gap:9px; }
#cover .cgo3 button { height:100px; border-radius:16px; font-size:23px; gap:9px; }
#cover .cgo3 button svg { width:32px; height:32px; }
/* the boarding pass: the whole 787 across the top, airports and times you can read at arm's length */
#cover .cpass { border-radius:18px; }
#cover .cpt { height:92px; background-size:cover; background-position:55% 45%; }
#cover .cpt b { left:14px; top:10px; font-size:15.5px; }
#cover .cpt em { left:14px; bottom:9px; font-size:16.5px; }
#cover .cplegs { padding:8px 16px 0; }
#cover .cplegs .iata { font-size:60px; }
#cover .cplegs .pl { font-size:28px; }
#cover .cptm > div { display:flex; align-items:baseline; gap:8px; } #cover .cptm .r { justify-content:flex-end; }
#cover .cpstub { padding:11px 16px 12px; font-size:16.5px; gap:8px; }
#cover .cpstub b { font-size:23px; margin-right:18px; }
/* round 9, fitting: nothing clipped at the larger size */
#cover .cclock, #cover .cclock .cn, #cover .cfull { max-width:100%; }
#cover .chero.photo .cnum { font-size:66px; }
#cover .chero.photo .ts { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
#cover .cpt { height:76px; }
#cover .cplegs .iata { font-size:50px; }
#cover .cpstub { padding:9px 16px 10px; }
#cover .cpstub b { font-size:21px; }
#cover .cnbox { min-height:86px; } #cover .cnbox .cnote { min-height:62px; }
#cover .c3 { height:58px; } #cover .ckeep { min-height:54px; }
#cover .cenv { width:84px; height:62px; }
#cover .cgo3 button { height:90px; }
#cover[data-view="home"] .ctiles.trip { min-height:0; grid-template-rows:auto; }
#cover .ctiles.trip .ctile .ts { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
#cover[data-view="home"] .cday { min-height:0; }
/* the countdown: the number with its words beside it, the flight under both */
#cover .chero.photo { display:grid; grid-template-columns:auto 1fr; grid-template-rows:1fr auto auto; column-gap:8px; align-items:end; }
#cover .chero.photo .cnum { grid-column:1; grid-row:2; font-size:64px; }
#cover .chero.photo .tw { grid-column:2; grid-row:2; align-self:end; padding-bottom:7px; line-height:1.05; }
#cover .chero.photo .ts { grid-column:1 / span 2; grid-row:3; margin-top:3px; }
#cover .cempty { justify-content:flex-start; gap:4px; }
#cover .cgo3 button { height:80px; }
#cover .ccard .ccname { font-size:28px; }
/* Decide: three decisions at a glance at the larger size */
#cover[data-view="decide"] .crow2 { min-height:56px; padding:7px 14px; font-size:18.5px; line-height:1.22; }
#cover[data-view="decide"] .cscroll > .clist { gap:7px; }
/* the demo's countdown: an evening sky instead of a real airline's plane */
#cover .chero.nophoto { background:linear-gradient(120deg, #0F2A52 0%, #2F5F9C 70%, #6C93C4 100%) !important; }
/* with the photographer tools off there is no Kit door: Letters takes its place and its own */
/* who added it, quieter: a small grey word, not a gold label (Michael, 29 Sep) */
.card .kd .src { color:var(--ink-3); letter-spacing:.02em; text-transform:none; font-size:var(--t-12); }
#cover .chint .r { color:var(--gold-ink); font-weight:700; } #cover .chint .l { color:#C0492F; font-weight:700; }
/* ---- the cover fits its panel (30 Sep): the header and the page scale together to the panel's size, a touch under
   round 9; grids never grow wider than the panel, and long words give way with an ellipsis instead of pushing ---- */
#cover .ch, #cover .cbody { zoom:var(--cz, 1); }
#cover .ch > *, #cover .ch .cwhere, #cover .ch .ctitle, #cover .ch .cdate { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#cover .ch .cback { flex:none; }
#cover .ctiles { grid-template-columns:repeat(3, minmax(0, 1fr)); }
#cover .ctile, #cover .ctile .tw, #cover .ctile .ts { min-width:0; max-width:100%; }
#cover .ctile .tw, #cover .ctile .ts { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#cover .cbody, #cover .cscroll, #cover .clist { min-width:0; max-width:100%; }
#cover .crow2 .tx { min-width:0; }
#cover .ccard .ccname { font-size:26px; }
/* ---- Settings, round 10: a list of jobs, one page each; on a computer the list is a tray beside the page ---- */
.settings2 .setlist { margin-top:var(--s5); background:var(--raised); border:1px solid var(--rule); border-radius:14px; overflow:hidden; }
.settings2 .setli { position:relative; width:100%; display:flex; align-items:center; gap:14px; padding:14px 16px 14px 18px; text-align:left; color:var(--ink); border-top:1px solid var(--hair); background:transparent; }
.settings2 .setlist .setli:first-child { border-top:0; }
.settings2 .setli .setic, .settings2 .setcard .setic { width:40px; height:40px; border-radius:11px; flex:none; display:grid; place-items:center; background:color-mix(in srgb, #DEA726 16%, transparent); color:var(--gold-ink); }
.settings2 .setli .tx { flex:1; min-width:0; display:flex; flex-direction:column; }
.settings2 .setli .k { font-weight:600; font-size:var(--t-17); }
.settings2 .setli .v { color:var(--ink-3); font-size:var(--t-13); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.settings2 .setli .chev { color:var(--ink-3); flex:none; }
/* the state as a coloured left edge, as on the pills */
.settings2 .setli[data-s]::before, .settings2 .prow[data-s]::before { content:""; position:absolute; left:0; top:10px; bottom:10px; width:4px; border-radius:0 3px 3px 0; background:var(--ok); }
.settings2 .setli[data-s="warn"]::before, .settings2 .prow[data-s="warn"]::before { background:#DEA726; }
.settings2 .setli[data-s="bad"]::before, .settings2 .prow[data-s="bad"]::before { background:#C0492F; }
.settings2 .setwrap { display:grid; grid-template-columns:260px minmax(0, 1fr); gap:var(--s6); align-items:start; margin-top:var(--s3); }
.settings2 .settray { position:sticky; top:12px; display:flex; flex-direction:column; gap:2px; }
.settings2 .settray .setli { border:0; border-radius:10px; padding:10px 10px 10px 14px; }
.settings2 .settray .setli .setic { width:34px; height:34px; }
.settings2 .settray .setli .k { font-size:var(--t-15); } .settings2 .settray .setli .v { font-size:var(--t-12); }
.settings2 .settray .setli[aria-current="true"] { background:var(--raised); box-shadow:0 0 0 1px var(--rule); }
.settings2 .setpage { min-width:0; max-width:720px; }
.settings2 .setgrid.one { grid-template-columns:1fr; margin-top:var(--s5); }
.settings2 .setb.plain { padding:0; }
.settings2 .crumb { margin-bottom:var(--s3); }
/* Ready for the trip: the hero with one bar, then the lines */
/* one dark panel in both themes, with its own cream text: never the page's ink, which is dark in dark mode (Jenny's iPhone, 1 Oct) */
.settings2 .readyhero { background:#1B1A17; color:#F5F0E8; border-radius:16px; padding:20px; border:1px solid rgba(222,167,38,.28); }
.settings2 .readyhero .big { font:400 var(--t-30)/1.12 var(--display); color:#F5F0E8; }
.settings2 .readyhero .sm { margin-top:6px; font-size:var(--t-15); color:rgba(245,240,232,.74); }
.settings2 .readyhero .rbar { height:10px; border-radius:6px; background:rgba(255,255,255,.14); overflow:hidden; margin-top:16px; }
.settings2 .readyhero .rbar i { display:block; height:100%; width:0; background:linear-gradient(90deg, #E8B53A, #DEA726); border-radius:6px; transition:width .4s ease; }
.settings2 .readyhero[data-s="ok"] .rbar i { background:linear-gradient(90deg, #5E9A68, #3F7A4A); }
.settings2 .readyhero .meta { display:flex; justify-content:space-between; gap:10px; margin-top:8px; font-size:var(--t-13); color:rgba(245,240,232,.74); }
.settings2 .readyhero .btn { margin-top:16px; width:100%; justify-content:center; }
.settings2 .readyhero[data-s="run"] .btn, .settings2 .readyhero .btn:not(.solid) { background:transparent; color:#F5F0E8; border:1px solid rgba(245,240,232,.4); }
.settings2 .readyhero .btn.solid { background:#DEA726; color:#0A0A0A; border-color:#DEA726; }
.settings2 .readyhero .rtried { color:rgba(245,240,232,.6); }
.settings2 .prows { background:var(--raised); border:1px solid var(--rule); border-radius:14px; overflow:hidden; }
.settings2 .prow { position:relative; display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:14px 16px 14px 20px; border-top:1px solid var(--hair); }
.settings2 .prow:first-child { border-top:0; }
.settings2 .prow .tx { flex:1; min-width:0; } .settings2 .prow .k { font-weight:600; font-size:var(--t-17); } .settings2 .prow .v { color:var(--ink-3); font-size:var(--t-15); }
.settings2 .prow .mini { flex:1 1 100%; height:6px; border-radius:4px; background:var(--hair); overflow:hidden; }
.settings2 .prow .mini i { display:block; height:100%; width:0; background:#DEA726; transition:width .4s ease; }
.settings2 .prow[data-s="ok"] .mini i { background:var(--ok); }
@media (max-width:899px) { .settings2 .setwrap { grid-template-columns:1fr; } }
/* the tray fits a 900-tall laptop without cutting the last door under Settings (persona review: Kit half hidden) */
@media (min-width:720px) and (min-height:520px) and (max-height:960px) { #index a { padding:7px var(--s5); font-size:var(--t-15); } #index .grp { margin-bottom:var(--s3); } #index .grp .eyebrow { margin-bottom:4px; } }
@media (min-width:720px) and (min-height:520px), (min-width:1001px) { #index .grps { -webkit-mask-image:linear-gradient(to bottom, #000 calc(100% - 22px), transparent); mask-image:linear-gradient(to bottom, #000 calc(100% - 22px), transparent); padding-bottom:18px; } }
.settings2 .readyhero .btn, .settings2 .readyhero .btn.solid { background:#DEA726; color:#1B1A17; border:0; font-weight:700; }
.settings2 .readyhero[data-s="run"] .btn.solid { background:transparent; color:var(--paper); border:1px solid rgba(255,255,255,.35); }
/* on a day's plan: booked, or book ahead, beside the name */
.stop .bk { display:inline-block; margin-left:8px; padding:1px 7px; border-radius:10px; font-size:var(--t-11); line-height:1.5; vertical-align:1px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.stop .bk.ok { background:color-mix(in srgb, var(--ok) 14%, transparent); color:var(--ok); }
.stop .bk.need { background:color-mix(in srgb, #C0492F 12%, transparent); color:#A83A22; }
/* Tastings: the name column never collapses (persona review: one word per line on a laptop with the rail open).
   The table sizes itself to its own width, not the window's. */
.wlist { container-type:inline-size; }
@container (max-width:820px) { .wrow { grid-template-columns:52px minmax(160px, 1fr) 100px minmax(120px, 150px); } .wrow .chip, .wrow .qa { display:none; } }
@container (max-width:520px) { .wrow { grid-template-columns:48px minmax(0, 1fr) 120px; } .wrow .dist { display:none; } }
/* Travel mode: the zoom sits above the camera and note buttons, never under them (persona review) */
@media (min-width:1100px) { .tstage .maplibregl-ctrl-bottom-right { bottom:calc(var(--s4) + 128px) !important; } }
/* Layers never runs up under the header: it scrolls instead */
.layers { max-height:calc(100% - 150px); overflow-y:auto; overscroll-behavior:contain; }

/* ---- the master plan: every day side by side, cards carried from day to day (30 Sep) ---- */
.mboard { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(210px, 1fr); gap:10px; overflow-x:auto; padding:6px 2px 18px; margin-top:var(--s4); scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; }
@media (min-width:1100px) { .mboard { grid-auto-columns:minmax(200px, calc((100% - 50px) / 6)); } }
.mcol { scroll-snap-align:start; display:flex; flex-direction:column; min-height:60vh; background:var(--raised); border:1px solid var(--rule); border-top:3px solid var(--leg, var(--ink-3)); border-radius:10px; padding:10px; transition:background .15s, box-shadow .15s; }
.mcol[data-leg="rome"] { --leg:var(--rome); } .mcol[data-leg="wine"] { --leg:var(--wine); } .mcol[data-leg="florence"] { --leg:var(--florence); } .mcol[data-leg="transit"] { --leg:var(--transit); }
.mcol[data-today] { box-shadow:0 0 0 2px var(--gold) inset; }
.mcol.over { background:color-mix(in srgb, var(--gold) 10%, var(--raised)); }
.mhd { display:flex; align-items:center; gap:10px; padding:2px 2px 10px; border-bottom:1px solid var(--hair); margin-bottom:8px; }
.mhd .dn { font-family:var(--display); font-size:var(--t-30); line-height:1; }
.mhd .dw { display:flex; flex-direction:column; min-width:0; } .mhd .dw b { font-size:var(--t-12); letter-spacing:.12em; text-transform:uppercase; } .mhd .dw span { font-size:var(--t-13); color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mhd .mv { margin-left:auto; color:var(--ink-3); }
.mlist { display:flex; flex-direction:column; gap:6px; flex:1; }
.mcard { position:relative; display:grid; grid-template-columns:auto 1fr; column-gap:8px; padding:8px 10px 8px 12px; border-radius:8px; background:var(--paper); border:1px solid var(--hair); border-left:3px solid var(--k, var(--ink-3)); cursor:grab; touch-action:pan-x pan-y; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
.mcard .mt { grid-row:1 / span 2; font-size:var(--t-12); font-variant-numeric:tabular-nums; color:var(--ink-3); min-width:36px; padding-top:2px; }
.mcard .mn { font-family:var(--display); font-size:var(--t-17); line-height:1.2; min-width:0; overflow:hidden; text-overflow:ellipsis; }
.mcard .ms { font-size:var(--t-12); color:var(--ink-3); min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mcard .bk { grid-column:2; justify-self:start; margin:4px 0 0; }
.mcard[data-lock] { cursor:not-allowed; background:color-mix(in srgb, var(--ok) 6%, var(--paper)); }
.mcard .mlock { position:absolute; top:6px; right:8px; color:var(--ok); }
.mcard.fixed { cursor:default; border-left-color:var(--transit); background:transparent; border-style:dashed; }
.mcard.mlifted { opacity:.3; }
.mghost { position:fixed; z-index:200; pointer-events:none; box-shadow:0 14px 30px rgba(0,0,0,.25); transform:rotate(-1.5deg) scale(1.03); background:var(--paper); }
.mmark { height:3px; border-radius:2px; background:var(--gold); margin:2px 0; }
.mempty { color:var(--ink-3); font-size:var(--t-13); font-style:italic; padding:6px 2px; }
.madd { display:flex; align-items:center; gap:6px; margin-top:10px; padding:8px 10px; border-radius:8px; border:1px dashed var(--rule); color:var(--ink-2); font-size:var(--t-13); justify-content:center; }
@media (hover:hover) { .madd:hover { border-color:var(--gold); color:var(--gold-ink); } }

/* the trip check (30 Sep) */
.chkcard { margin-bottom:var(--s6); padding-bottom:var(--s5); border-bottom:1px solid var(--hair); }
.chklist { display:flex; flex-direction:column; gap:8px; margin-top:10px; }
.chkrow { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:8px; background:var(--raised); border:1px solid var(--hair); border-left:3px solid var(--gold); }
.chkrow[data-s="bad"] { border-left-color:#C0492F; }
.chkrow .t { flex:1; font-size:var(--t-13); }
.chkrow .btn { flex:none; }

/* ---- cover tiles, per phone (round 11, 30 Sep): more than fit scroll at the same size; Edit wiggles them ---- */
#cover .ctiles.before.more { overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none; }
#cover .ctiles.trip.more { grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:calc((100% - 16px) / 3); overflow-x:auto; overscroll-behavior:contain; scrollbar-width:none; }
#cover .ctiles.more::-webkit-scrollbar { display:none; }
#cover .ctile.door.noimg { background:linear-gradient(160deg, #3B4A45, #1F2926); }
#cover[data-editing] .ctile[data-tile] { animation:cwig .32s ease-in-out infinite alternate; touch-action:none; }
#cover[data-editing] .ctile[data-tile]:nth-child(2n) { animation-delay:-.16s; }
#cover[data-editing] .ctile[data-tile].lift { animation:none; z-index:5; box-shadow:0 10px 24px rgba(0,0,0,.35); }
#cover[data-editing] .ctile[data-tile] .cbadge { display:none !important; }
@keyframes cwig { from { transform:rotate(-1.1deg); } to { transform:rotate(1.1deg); } }
@media (prefers-reduced-motion: reduce) { #cover[data-editing] .ctile[data-tile] { animation:none; outline:2px dashed rgba(222,167,38,.8); outline-offset:-3px; } }
#cover .cx { position:absolute !important; left:6px; top:6px; z-index:3 !important; width:30px; height:30px; border-radius:50%; background:#1B1A17; color:#fff; display:grid; place-items:center; font:700 20px/1 var(--ui); box-shadow:0 0 0 2px rgba(255,255,255,.9), 0 2px 6px rgba(0,0,0,.35); }
#cover .cedit[hidden] { display:none; }
#cover[data-editing] .cedit { color:#DEA726; font-weight:700; }
/* a tile's short list */
#cover .clist { display:flex; flex-direction:column; gap:6px; overflow-y:auto; min-height:0; flex:1; }
#cover .clrow { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px; background:var(--card, rgba(255,255,255,.06)); border-left:4px solid transparent; }
#cover .clrow.ok { border-left-color:#5E8C61; } #cover .clrow.hot { border-left-color:#C0492F; }
#cover .clt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
#cover .cln { font-size:19px; font-weight:600; line-height:1.15; }
#cover .cls { font-size:14px; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* Settings, Cover tiles */
.ctset { margin:14px 0 6px; display:flex; flex-direction:column; gap:4px; }
.ctrow { display:flex; align-items:center; gap:6px; padding:8px 10px; border-radius:10px; border:1px solid var(--line); background:var(--surface); }
.ctrow:not(.on) { opacity:.72; }
.ctrow .ctl { flex:1; display:flex; align-items:center; gap:10px; font-size:var(--t-15); cursor:pointer; }
.ctrow .ctl input { width:20px; height:20px; accent-color:var(--gold, #DEA726); }
.ctmv { width:36px; height:36px; border-radius:8px; display:grid; place-items:center; border:1px solid var(--line); background:transparent; color:var(--ink-2); }
.ctmv:disabled { opacity:.3; }
/* ---- Note on the cover, round 11: a big box, two picture tiles, chips, Save in gold once there is something ---- */
#cover[data-view="note"] .cbody { gap:8px; }
#cover[data-view="note"] .cnbox { flex:1 1 auto; min-height:104px; }
#cover[data-view="note"] .cnbox .cnote { font-family:Georgia, var(--display), serif; font-size:20px; line-height:1.25; min-height:0; }
#cover .cnbox.live { box-shadow:0 0 0 2px #C0492F inset; }
#cover .cmeter { position:absolute; right:12px; bottom:10px; display:flex; gap:3px; align-items:flex-end; height:20px; }
#cover .cmeter i { width:3px; height:6px; border-radius:2px; background:#C0492F; animation:cmet .9s ease-in-out infinite alternate; }
#cover .cmeter i:nth-child(2) { animation-delay:-.2s; } #cover .cmeter i:nth-child(3) { animation-delay:-.5s; } #cover .cmeter i:nth-child(4) { animation-delay:-.1s; }
#cover .cmeter i:nth-child(5) { animation-delay:-.7s; } #cover .cmeter i:nth-child(6) { animation-delay:-.35s; } #cover .cmeter i:nth-child(7) { animation-delay:-.6s; }
@keyframes cmet { from { height:4px; } to { height:19px; } }
@media (prefers-reduced-motion: reduce) { #cover .cmeter i { animation:none; height:12px; } }
#cover .cn2 { display:grid; grid-template-columns:1fr 1fr; gap:8px; flex:0 0 auto; }
#cover .c2 { position:relative; height:82px; border-radius:14px; overflow:hidden; display:flex; align-items:flex-end; padding:8px 10px; text-align:left; background:linear-gradient(160deg, #3B4A45, #1F2926); color:#fff; }
#cover .c2 img.tph { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
#cover .c2::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.62)); z-index:1; }
#cover .c2 .dt { position:relative; z-index:2; display:flex; flex-direction:column; gap:1px; }
#cover .c2 .tw { font-family:Georgia, var(--display), serif; font-size:22px; line-height:1; color:#fff; }
#cover .c2 .ts { font-size:12px; color:rgba(255,255,255,.9); }
#cover .c2.on { box-shadow:0 0 0 3px #C0492F; }
#cover .c2.on .tw::before { content:'● '; color:#E0634A; font-size:15px; vertical-align:3px; }
#cover .cchips { display:flex; gap:6px; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; flex:0 0 auto; }
#cover .cchips::-webkit-scrollbar { display:none; }
#cover .cchip { flex:0 0 auto; font:600 14px var(--ui); padding:8px 12px; border-radius:18px; border:1px solid var(--rule); background:var(--raised); color:var(--ink-2); white-space:nowrap; }
#cover .cchip.on { background:var(--ink); color:var(--paper, #fff); border-color:var(--ink); }
#cover .cchip.more { color:var(--ink-3); }
#cover .ckeep[hidden] { display:none; }
#cover .ckeep.gold { background:linear-gradient(180deg, #E8B53A, #D19A1C); color:#1B1A17; border-color:transparent; }
/* ---- Decide on the cover, round 11: bigger cards that open in place ---- */
#cover .cdecide .crow2.cdec { display:block; padding:12px 12px 12px 14px; }
#cover .cdtop { display:flex; align-items:flex-start; gap:8px; cursor:pointer; }
#cover .cdtop .tx { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
#cover .cdtop .from { font:700 11.5px var(--ui); letter-spacing:.08em; text-transform:uppercase; color:var(--gold-ink); }
#cover .cdtop .q { font-family:Georgia, var(--display), serif; font-size:19px; line-height:1.2; color:var(--ink); }
#cover .cdchev { flex:0 0 auto; color:var(--ink-3); padding-top:2px; }
#cover .cswipe.open .crow2 { box-shadow:0 0 0 2px #DEA726, 0 6px 18px rgba(0,0,0,.12); }
#cover .cans { margin-top:10px; display:flex; flex-direction:column; gap:8px; }
#cover .cachips { display:flex; flex-wrap:wrap; gap:6px; }
#cover .cachip { font:600 14.5px var(--ui); padding:9px 13px; border-radius:18px; border:1px solid var(--rule); background:var(--raised); color:var(--ink); }
#cover .cachip.ok { background:#E7F0E4; border-color:#8FB58C; color:#244A27; }
#cover .cachip.out { color:#8E3A26; }
#cover .capp { min-height:42px; font-size:14.5px; }
#cover .cswipe.peek .crow2 { animation:cpeek 1.2s ease-in-out; }
@keyframes cpeek { 0% { transform:none; } 25% { transform:translateX(72px); } 45% { transform:none; } 70% { transform:translateX(-72px); } 100% { transform:none; } }
@media (prefers-reduced-motion: reduce) { #cover .cswipe.peek .crow2 { animation:none; } }
/* ---- Departure, round 11: the pass stays put; the tips scroll under it and stop above the lenses ---- */
#cover[data-view="flight"] .cbody { display:flex; flex-direction:column; gap:8px; min-height:0; }
#cover[data-view="flight"] .cpass { flex:0 0 auto; position:relative; z-index:2; }
#cover[data-view="flight"] .cscroll { flex:1 1 auto; min-height:0; }
#cover .ctips { gap:6px; }
#cover .ctip { position:relative; display:flex; align-items:flex-start; gap:10px; padding:10px 12px; border-radius:12px; background:var(--raised); color:var(--ink); text-decoration:none; }
#cover .ctip .ti { flex:0 0 auto; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:rgba(222,167,38,.18); color:var(--gold-ink); }
#cover .ctip .tt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; font-size:14px; line-height:1.3; color:var(--ink-2); }
#cover .ctip .tt b { font-size:16px; color:var(--ink); }
#cover .ctip.link .tgo { align-self:center; color:var(--ink-3); }
#cover .ctipw .cunder .ul { color:#244A27; }
/* round 11 fixes: compact pass, decide card header, note tiles and Save in the box */
#cover .cpass.cpass2 .cpt { height:40px; }
#cover .cpass.cpass2 .cpt b { top:50%; transform:translateY(-50%); font-size:14px; }
#cover .cpass.cpass2 .cplegs { grid-template-columns:1fr auto 1fr; padding:8px 14px 6px; align-items:end; }
#cover .cpass.cpass2 .cplegs .ap { display:flex; flex-direction:column; gap:2px; min-width:0; }
#cover .cpass.cpass2 .cplegs .ap.r { align-items:flex-end; text-align:right; }
#cover .cpass.cpass2 .cplegs .iata { font:400 34px/1 var(--display); }
#cover .cpass.cpass2 .cplegs .st { font-size:13.5px; font-weight:600; color:var(--ink-2); white-space:nowrap; }
#cover .cpass.cpass2 .cplegs .pl { display:flex; flex-direction:column; align-items:center; font-size:18px; padding:0 6px 4px; }
#cover .cpass.cpass2 .cplegs .du { font-size:12px; color:var(--ink-3); }
#cover .cpass.cpass2 .cpstub { padding:7px 14px; }
#cover .cdtop .k { position:static; flex:none; width:26px; height:26px; font-size:14px; margin-top:1px; }
#cover .cdtop .from { position:static; left:auto; top:auto; font-size:11.5px; }
#cover .cdtop .from ~ .q { margin-top:0; }
#cover .c2, #cover .c2.lift { background:linear-gradient(160deg, #3B4A45, #1F2926) !important; }
#cover .c2 > svg { position:absolute; left:50%; top:42%; transform:translate(-50%, -50%); color:rgba(255,255,255,.55); z-index:0; }
#cover .c2 img.tph { z-index:0; }
#cover[data-view="note"] .cn2 .c2 { height:76px; }
#cover[data-view="note"] .cnbox { flex-direction:column; min-height:96px; padding-bottom:8px; }
#cover[data-view="note"] .cnbox .ckeep { align-self:flex-end; min-height:40px; padding:0 16px; font-size:15px; border-radius:20px; margin-top:4px; }
#cover[data-view="note"] .cnbox .cmeter { right:auto; left:14px; bottom:14px; }
#cover .c2 > svg { left:auto; right:12px; top:10px; transform:none; width:30px; height:30px; }
#cover .cpass.cpass2 .cpt { background-position:58% 32%; }
/* ---- the page never scrolls or rubber-bands (iPad, 30 Sep): only the panes inside it do, and they keep their scroll to themselves ---- */
html:has(> body.shell) { overflow:hidden; overscroll-behavior:none; height:100%; }
body.shell { position:fixed; inset:0; overscroll-behavior:none; }
body.shell #main, body.shell #index .grps, body.shell #panel .pbody, body.shell #ask .thread, body.shell .sheet .sbody, body.shell #rail { overscroll-behavior:contain; }
/* ---- cover edit, round 2 (30 Sep): the wiggle turns the tile without taking its transform, so the others can slide
   out of the way while one is carried; a + tile at the end adds ---- */
@keyframes cwig { from { rotate:-1.1deg; } to { rotate:1.1deg; } }
#cover[data-editing] .ctile[data-tile].lift { rotate:0deg; transition:none !important; }
#cover .ctile.cadd { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; border:2px dashed rgba(222,167,38,.8); background:transparent !important; box-shadow:none !important; color:var(--gold-ink); }
#cover .ctile.cadd .cplus { font:300 34px/1 var(--ui); }
#cover .ctile.cadd .tw { font:600 15px var(--ui) !important; color:var(--gold-ink) !important; }
#cover .caddp { position:absolute; inset:8px 8px auto 8px; z-index:12; max-height:calc(100% - 16px); overflow:auto; background:var(--raised); border-radius:16px; padding:14px; box-shadow:0 12px 36px rgba(0,0,0,.35); display:flex; flex-direction:column; gap:10px; }
#cover .caddl { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
#cover .caddi { display:flex; align-items:center; gap:8px; padding:12px; border-radius:12px; border:1px solid var(--rule); background:var(--paper); font:600 16px var(--ui); color:var(--ink); text-align:left; }
#cover .caddi .cplus { color:var(--gold-ink); font-size:20px; line-height:1; }
#cover .cadde { grid-column:1 / -1; color:var(--ink-3); font-size:15px; }
.ctrow .ctpos { flex:0 0 auto; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font:700 var(--t-13) var(--ui); color:#1B1A17; background:#DEA726; }
.ctrow .ctpos:empty { background:transparent; border:1px dashed var(--line); }
.ctrow.full { opacity:.45; }
.ctfull { font-size:var(--t-13); color:var(--ink-3); margin:2px 0 4px; }
/* ---- a tile's list, round 2 (30 Sep): rows open in place with big actions ---- */
#cover .clrows { gap:6px; }
#cover .clrow { display:block; padding:0; overflow:hidden; }
#cover .clrow .cltop { width:100%; display:flex; align-items:center; gap:8px; padding:10px 12px; text-align:left; background:none; color:inherit; }
#cover .clrow.gold { border-left-color:#DEA726; }
#cover .clrow.open { box-shadow:0 0 0 2px #DEA726; }
#cover .clch { flex:0 0 auto; color:var(--ink-3); }
#cover .clbody { padding:0 12px 12px; display:flex; flex-direction:column; gap:10px; }
#cover .clfacts { display:grid; grid-template-columns:auto 1fr; gap:3px 12px; font-size:14.5px; }
#cover .clf { display:contents; } #cover .clf .k { color:var(--ink-3); } #cover .clf .v { color:var(--ink); }
#cover .clnote { font-size:15px; line-height:1.35; color:var(--ink-2); }
#cover .clacts { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px; }
#cover .clact { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:58px; padding:6px 4px; border-radius:12px; border:1px solid var(--rule); background:var(--paper); color:var(--ink); font:600 13px var(--ui); text-decoration:none; text-align:center; }
#cover .clact svg { color:var(--gold-ink); }
#cover .clact.on { background:#DEA726; border-color:#DEA726; color:#1B1A17; } #cover .clact.on svg { color:#1B1A17; }
#cover .clact.out { color:#8E3A26; } #cover .clact.out svg { color:#8E3A26; }
#cover .clact.ok { background:#E7F0E4; border-color:#8FB58C; color:#244A27; }
#cover .clact.phone { grid-column:1 / -1; flex-direction:row; min-height:44px; gap:8px; }
#cover .clrows > .clrow { flex:0 0 auto; }
#cover .clrows > .clrow { background:var(--raised); border-radius:12px; }
/* Ready: the pictures that would not come down, named, with a way to leave them out */
.readyhero .btn.rstuck { margin-top:8px; background:transparent; color:#F6F1E8; border:1px solid rgba(246,241,232,.35); }
.readyhero .rtried { margin-top:8px; font-size:var(--t-12); color:rgba(246,241,232,.6); }
#cover .c2.mic img.tph { object-position:36% 45%; } #cover .c2.mic > svg { display:none; }
.holtag { margin:6px 0 2px; font-size:var(--t-13); color:var(--gold-ink); }
/* the small map card's close (Michael, 1 Oct: too big and tight in the corner): smaller, set in from the corner,
   and the card's first line keeps clear of it */
.maplibregl-popup .maplibregl-popup-close-button { top:10px; right:10px; width:26px; height:26px; border-radius:50%; background:var(--paper) !important; border:1px solid var(--rule) !important; box-shadow:none; }
.maplibregl-popup .maplibregl-popup-close-button svg { width:11px; height:11px; }
.maplibregl-popup .maplibregl-popup-close-button::after { inset:-9px; }
@media (pointer:coarse) { .maplibregl-popup .maplibregl-popup-close-button { top:10px; right:10px; width:28px; height:28px; border:1px solid var(--rule) !important; } .maplibregl-popup .maplibregl-popup-close-button svg { width:12px; height:12px; } }
.maplibregl-popup .maplibregl-popup-content { padding-top:14px !important; }
.maplibregl-popup .pop > .nm, .maplibregl-popup .pop > .kd:first-child { padding-right:30px; }
.drow.flash { animation:stopflash 1.8s var(--ease) 1; }
/* cover edit, round 3 (1 Oct): a held tile stays legible, softly lifted, never a white long-press flash */
#cover[data-editing] .ctile[data-tile] img { -webkit-user-drag:none; user-select:none; -webkit-touch-callout:none; pointer-events:none; }
#cover[data-editing] .ctile[data-tile] { -webkit-touch-callout:none; -webkit-tap-highlight-color:transparent; }
#cover[data-editing] .ctile[data-tile].held { animation:none; rotate:0deg; }
#cover[data-editing] .ctile[data-tile].held::after { content:''; position:absolute; inset:0; border-radius:inherit; background:rgba(222,167,38,.12); pointer-events:none; z-index:1; }
#cover[data-editing] .ctile[data-tile].dragging { animation:none; rotate:0deg; z-index:6; opacity:.94; box-shadow:0 14px 30px rgba(0,0,0,.35), 0 0 0 2px #DEA726; transition:none !important; }
#cover .ctoast { position:absolute; left:14px; right:14px; top:48px; z-index:9; pointer-events:none; padding:10px 14px; border-radius:12px; background:rgba(27,26,23,.9); color:#F6F1E8; font:600 15px/1.35 var(--ui); animation:ctoastin .25s ease-out; }
@keyframes ctoastin { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

/* =========================================================================
   Touch targets (30 Sep, Michael: invisible hit areas).
   Every control keeps the size it is drawn at; the tappable box is at least
   44 x 44 (Apple's measure), centred on it, laid over it as an invisible
   ::after. This supersedes the per-control insets above (chips were 42 tall,
   card marks 44, driving-note Hide 44) so there is one rule to keep.
   e2e/helpers/luxury-checks.js measures the same box.
   ========================================================================= */
#mast .brand a.home, #mast .mode button, #mast .ask, #askClose,
.barpick summary, .wmore summary, .rail-sec.drive .dfact .src, .eur,
.seg2 button, .setseg button, .maplibregl-ctrl-group button, #cover .cedit { position:relative; }

.chip::after, .shotr .qa .mk::after, #index .grip::after, .card .ph .qa .mk::after, .rail-sec.drive .dx::after,
#mast .brand a.home::after, #mast .mode button::after, #mast .ask::after, #askClose::after,
.barpick summary::after, .wmore summary::after, .rail-sec.drive .dfact .src::after, .eur::after,
.seg2 button::after, .setseg button::after, .maplibregl-ctrl-group button::after,
.zone.maplibregl-marker::after, #cover .cedit::after {
  content:''; position:absolute; inset:auto; left:50%; top:50%;
  width:max(100%, 44px); height:max(100%, 44px); transform:translate(-50%, -50%);
  border-radius:0; background:none;
}
/* where a box cannot carry a layer, it is simply drawn tall enough */
.tagpick input.search { min-height:44px; }
.tsec .acts .btn { min-height:44px; }
/* a sideways-scrolling row clips anything that pokes out of it, hit areas included:
   give the phone's filter rows room above and below for the 44 px layer, without moving them */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .filters .grp { padding-block:6px; margin-block:-6px; } }

/* the winery drawer inside the one "not asked yet" card on the Tastings and Sommelier rail */
/* the four addresses (Michael, 1 Oct, iPad mini portrait): every card the same shape. The colour bar, the picture,
   the status on the picture, the nights on one line, the hotel in at most two; two across when the column is narrow */
@container (max-width:620px) { .ov-legs { grid-template-columns:repeat(2, minmax(0, 1fr)); row-gap:var(--s5); } }

/* Inbox v2 (1 Oct): short rows, one job each, actions on the row; a row opens in the tray */
.mgroup .mrow { border-top:1px solid var(--rule); padding:10px 0 12px; }
.mgroup .mrow:first-of-type { border-top:0; }
.mtop { width:100%; display:grid; grid-template-columns:10px minmax(0,1fr) auto; column-gap:10px; row-gap:2px; text-align:left; padding:4px 0; color:var(--ink); }
.mtop .mdot { width:8px; height:8px; border-radius:50%; margin-top:6px; background:var(--ink-3); }
.mdot.rec { background:var(--gold); } .mdot.rem { background:var(--hold, #B8862B); } .mdot.ans { background:var(--ok); } .mdot.wait, .mdot.none { background:transparent; border:1.5px solid var(--ink-3); }
.mtop .mwho { font-weight:600; font-size:var(--t-13); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mtop .mwhen { font-size:var(--t-12); color:var(--ink-3); white-space:nowrap; }
.mtop .msub, .mtop .msay { grid-column:2 / 4; overflow:hidden; text-overflow:ellipsis; }
.mtop .msub { font-size:var(--t-13); white-space:nowrap; color:var(--ink-2); }
.mtop .msay { font-size:var(--t-13); color:var(--ink-3); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.mfoot { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding-left:20px; margin-top:6px; }
.mjob { font-size:var(--t-11); letter-spacing:.08em; text-transform:uppercase; font-weight:600; color:var(--ink-3); }
.mjob.rec { color:var(--gold-ink, var(--gold)); } .mjob.rem { color:var(--hold, #B8862B); } .mjob.ans { color:var(--ok); }
.mcount { font-size:var(--t-12); color:var(--ink-3); }
.mqa { margin-left:auto; display:flex; gap:6px; }
.mq { min-height:34px; padding:0 12px; border-radius:17px; border:1px solid var(--rule); font-size:var(--t-13); color:var(--ink-2); background:transparent; }
.mq.pri { background:var(--ink); color:var(--paper, #fff); border-color:var(--ink); }
.mq.q { color:var(--ink-3); }
.mq:disabled { opacity:.5; }
.mchips { display:flex; gap:10px; align-items:center; margin:8px 0 4px; }
.mbox { margin-top:var(--s5); padding-top:var(--s4); border-top:1px solid var(--rule); }
.mbox.mdo { border-top:2px solid var(--gold); }
.mbox .acts { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.mthread .mmsg { border-top:1px solid var(--rule); padding:8px 0; }
.mthread .mmsg summary { cursor:pointer; font-size:var(--t-13); display:flex; gap:6px; align-items:baseline; flex-wrap:wrap; }
.mthread .mmsg summary .mjob { margin-left:auto; }
.mthread .mmsg.cur summary .w { font-weight:600; }
.mignored summary { cursor:pointer; color:var(--ink-3); font-size:var(--t-13); }
.mign { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; border-top:1px solid var(--rule); font-size:var(--t-13); color:var(--ink-3); }
@media (max-width:520px) { .mfoot { padding-left:0; } .mqa { margin-left:0; width:100%; } .mq { flex:1; } }
/* Alerts (1 Oct) */
.alertlist { margin:10px 0 4px; }
.alertnote:empty { display:none; }
.remrow { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; padding:8px 0; border-top:1px solid var(--rule); font-size:var(--t-13); }
.remrow .rw { color:var(--ink-3); white-space:nowrap; } .remrow .rt { color:var(--ink-2); }

/* the phone in the Home Screen app runs edge to edge (viewport-fit=cover): keep everything clear of the notch sides in landscape */
body.shell { padding-left:env(safe-area-inset-left); padding-right:env(safe-area-inset-right); box-sizing:border-box; }

/* the four stays on a phone, and on any iPad smaller than the 12.9-inch held upright (Michael, 1 Oct): one banner each,
   stacked. The city and its dates on the picture, the nights and the status on the right of it */
@media (max-width:1023px) {
}
/* Remind me (1 Oct) */
.rpick .rnote { flex-basis:100%; margin-top:4px; }
.chip.remset { display:inline-flex; align-items:center; gap:5px; color:var(--gold-ink, var(--gold)); border-color:color-mix(in srgb, var(--gold) 45%, transparent); }
.chip[aria-pressed="true"] { background:var(--ink); color:var(--paper); }
.remopt { display:flex; align-items:flex-start; gap:8px; margin-top:10px; font-size:var(--t-13); color:var(--ink-2); cursor:pointer; }
.remopt input { margin-top:3px; accent-color:#DEA726; }
/* a row that opens nothing (1 Oct): no press, no way-on glyph */
.stop.seq[data-plain], .stopr.seq[data-plain] { pointer-events:none; cursor:default; }
.stop.seq[data-plain] .go, .stop.seq[data-plain] .mn, .stopr.seq[data-plain] .mn { visibility:hidden; }
.kfacts li.mine { color:var(--gold-ink, var(--gold)); }
/* the card's grip (1 Oct): on a phone every rising card wears the gold bar, and the bar's header always drags it */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #panel .phead { position:relative; }
  #panel .phead::before { content:''; position:absolute; top:6px; left:50%; width:40px; height:5px; border-radius:3px; background:#DEA726; transform:translateX(-50%); pointer-events:none; z-index:3; }
}
/* 2.64: the grip is a button on a sheet that has a half stop: a tap toggles half and full (Michael, 12 Oct) */
.pgrip { display:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #panel .pgrip:not([hidden]) { display:block; position:absolute; top:0; left:50%; transform:translateX(-50%); width:96px; height:24px; z-index:2; padding:0; border:0; background:none; cursor:grab; -webkit-tap-highlight-color:transparent; }
  #panel .pgrip:focus-visible { outline:2px solid var(--gold-ink); outline-offset:-2px; border-radius:6px; }
}
/* the Stays chapters on a phone (Michael, 1 Oct): the picture says where, when, how long and booked, like the Overview;
   under it the hotel is the headline, then the facts and the doors. The bare number goes. */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .chapter .ph { aspect-ratio:16/9; border-radius:0 0 8px 8px; }
  .chapter .ph::after { content:''; position:absolute; inset:0; background:var(--scrim); pointer-events:none; }
  .chapter .ph .k { display:none; }
  .chapter .tx > .city, .chapter .tx > .eyebrow, .chapter .tx > .mark { display:none; }
  .chapter .nm { margin-top:0; }
}
/* notes on a transfer that can be put away (1 Oct) */
.putaway .pa { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:start; padding:10px 0; border-top:1px solid var(--hair); }
.putaway .pa:first-of-type { border-top:0; }
.putaway .pt .w { display:block; font-weight:600; font-size:var(--t-13); color:var(--ink); } .putaway .pt .y { display:block; font-size:var(--t-13); color:var(--ink-2); margin-top:2px; }
.putaway .pax { min-width:32px; min-height:32px; border-radius:16px; border:1px solid var(--rule); color:var(--ink-3); display:inline-flex; align-items:center; justify-content:center; font-size:var(--t-12); padding:0 8px; background:transparent; }
.putaway .pa.away { opacity:.6; }
.putaway .pamore { margin-top:8px; font-size:var(--t-12); color:var(--ink-3); text-decoration:underline; text-underline-offset:3px; background:none; border:0; padding:6px 0; }
/* meals on the day (1 Oct): lighter than the plan, a dashed edge; an open dinner wears the gold, once, gently */
.stop.seq.meal, .stopr.seq.meal { border-left:2px dashed var(--rule); }
.stop.seq.meal .nm, .stopr.seq.meal .nm { font-family:var(--ui, inherit); font-size:var(--t-15); font-weight:600; color:var(--ink-2); }
.stop.seq.meal .k.glyph, .stopr.seq.meal .k.glyph { color:var(--ink-3); }
.stop.seq.meal.open, .stopr.seq.meal.open { border-left:2px solid #DEA726; animation:mealcue 2.4s ease-in-out 1 .6s; }
.stop.seq.meal.open .sub, .stopr.seq.meal.open .sub { color:var(--gold-ink, #B8862B); }
@keyframes mealcue { 0%,100% { background:transparent; } 40% { background:color-mix(in srgb, #DEA726 14%, transparent); } }
@media (prefers-reduced-motion: reduce) { .stop.seq.meal.open, .stopr.seq.meal.open { animation:none; } }
.mealopts { margin-top:var(--s4); }
.mopt { width:100%; display:grid; grid-template-columns:34px 1fr 16px; gap:12px; align-items:center; padding:12px 0; border-top:1px solid var(--hair); text-align:left; background:none; color:var(--ink); }
.mopt .ic { width:32px; height:32px; border-radius:9px; background:var(--sunken); display:flex; align-items:center; justify-content:center; color:var(--ink-2); }
.mopt .t { display:block; font-size:var(--t-15); font-weight:600; } .mopt .d { display:block; font-size:var(--t-13); color:var(--ink-3); margin-top:1px; }
.mopt.on .t { color:var(--gold-ink, #B8862B); } .mopt.on .ic { color:#DEA726; }
.mopt .go { color:var(--ink-3); }
.mcand .mcn { text-align:left; background:none; color:var(--ink); padding:0; } .mcand .nm { display:block; font-weight:600; font-size:var(--t-15); } .mcand .sub { display:block; font-size:var(--t-12); color:var(--ink-3); }
.dinners .dnlist { list-style:none; margin:0; padding:0; }
.dinners .dnlist li { padding:12px 0; border-top:1px solid var(--hair); }
.dinners .dnt { display:block; width:100%; text-align:left; background:none; padding:0; color:var(--ink); }
.dinners .dnt .q { display:block; font-family:var(--display); font-size:var(--t-20); } .dinners .dnt .why { display:block; font-size:var(--t-12); color:var(--ink-3); margin-top:2px; }
.dinners .words { display:flex; align-items:center; margin-top:8px; white-space:nowrap; }
.dinners .word { background:none; border:0; padding:6px 12px; font-size:var(--t-13); color:var(--ink-2); min-height:36px; }
.dinners .word:first-child { padding-left:0; color:var(--gold-ink, #B8862B); font-weight:600; }
.dinners .word + .word::before { content:''; display:inline-block; width:1.5px; height:14px; background:#DEA726; margin:0 12px 0 -12px; vertical-align:-2px; }
/* a day's reminders, on the day (1 Oct): a gold bell, the time, what it says, and a way to take it off */
.dayrem { margin:var(--s4) 0 var(--s2); border:1px solid color-mix(in srgb, #DEA726 45%, var(--rule)); border-radius:8px; padding:2px 12px; background:color-mix(in srgb, #DEA726 6%, var(--paper)); }
.dayrem .remrow { grid-template-columns:auto auto minmax(0,1fr) auto; border-top:1px solid var(--hair); font-size:var(--t-13); }
.dayrem .remrow:first-child { border-top:0; }
.dayrem .ri { color:#DEA726; display:inline-flex; } .dayrem .rw { font-variant-numeric:tabular-nums; color:var(--ink-2); font-weight:600; }
.alerttest[hidden] { display:none; }
/* where a page stands, first thing on it (1 Oct): a quiet line, green when there is nothing to do */
.pagestatus { display:flex; align-items:center; gap:10px; margin:var(--s3) 0 var(--s4); padding:10px 14px; border-radius:8px; font-size:var(--t-15); color:var(--ink-2); background:color-mix(in srgb, var(--ink) 4%, transparent); }
.pagestatus[data-s="booked"] { background:color-mix(in srgb, #4E7A3A 10%, var(--paper)); color:var(--ink); } .pagestatus[data-s="booked"] svg { color:#4E7A3A; }
.pagestatus[data-s="open"] { background:color-mix(in srgb, #DEA726 10%, var(--paper)); } .pagestatus[data-s="open"] svg { color:#B8861B; }
.rail-inline.top { margin:0 0 var(--s5); padding-top:0; border-top:0; }
.drivehid { margin-top:6px; } .drivehid summary { cursor:pointer; list-style:none; } .drivehid summary::-webkit-details-marker { display:none; }
.drivehid .pa { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; padding:8px 0; border-top:1px solid var(--hair); opacity:.75; font-size:var(--t-13); }
.drivehid .pax { min-height:30px; border-radius:15px; border:1px solid var(--rule); color:var(--ink-2); font-size:var(--t-12); padding:0 10px; background:transparent; }
/* Sync (1 Oct): refused and waiting first, the check's button fixed at its top right, each finding with what to do */
.syncstate { margin-bottom:var(--s5); padding-bottom:var(--s4); border-bottom:1px solid var(--hair); }
.syncstate[data-s="out"] { border:1px solid color-mix(in srgb, #C0492F 40%, var(--rule)); border-left:4px solid #C0492F; border-radius:8px; padding:var(--s4); background:color-mix(in srgb, #C0492F 5%, var(--paper)); }
.syncstate[data-s="held"] { border:1px solid color-mix(in srgb, #DEA726 45%, var(--rule)); border-left:4px solid #DEA726; border-radius:8px; padding:var(--s4); }
.chkhead { display:flex; align-items:center; justify-content:space-between; gap:var(--s3); flex-wrap:wrap; }
.chkhead .ksub { margin:0; }
.chksum { font-size:var(--t-13); color:var(--ink-2); margin:4px 0 2px; }
.chkrow .tx { flex:1; display:flex; flex-direction:column; gap:3px; min-width:0; }
.chkrow .tx .t { flex:none; }
.chkrow .todo { font-size:var(--t-12); color:var(--ink-3); }

/* ---- the meal tray, round 18 (2 Oct) ---- */
#panel .mealtitle { margin-top:6px; font-size:var(--t-30); line-height:1.1; }
#panel .mealwhere { display:flex; align-items:center; gap:6px; margin-top:6px; color:var(--ink-3); font-size:var(--t-13); }
#panel .mealwhere svg { width:14px; height:14px; color:var(--gold-ink, #8A6A18); }
#panel .mlede { margin:var(--s4) 0 var(--s3); font-size:var(--t-15); }
.mealopts { display:flex; flex-direction:column; gap:9px; }
.mealopts .mopt { width:100%; display:flex; align-items:center; gap:14px; padding:13px 14px; text-align:left; border:1px solid var(--rule); border-radius:12px; background:var(--raised); color:var(--ink); cursor:pointer; transition:background .25s, border-color .25s, box-shadow .25s; }
.mealopts .mopt .ic { width:34px; height:34px; flex:none; border-radius:50%; display:grid; place-items:center; background:color-mix(in srgb, var(--ink) 6%, transparent); color:var(--ink-2); transition:background .25s, color .25s; }
.mealopts .mopt .ic svg { width:16px; height:16px; }
.mealopts .mopt .tx { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.mealopts .mopt .t { font-size:var(--t-17); font-weight:600; }
.mealopts .mopt .d { font-size:var(--t-12); color:var(--ink-3); }
.mealopts .mopt .go { color:var(--ink-3); flex:none; } .mealopts .mopt .go svg { width:14px; height:14px; }
.mealopts .mopt.on { background:color-mix(in srgb, #DEA726 26%, var(--raised)); border-color:#DEA726; box-shadow:inset 4px 0 0 #DEA726; animation:mopton .35s var(--ease); }
.mealopts .mopt.on .ic { background:#DEA726; color:#fff; }
.mealopts .mopt.on .go { color:var(--gold-ink, #8A6A18); } .mealopts .mopt.on .go svg { width:16px; height:16px; }
.mealopts .mopt.on .d { color:var(--ink-2); }
@keyframes mopton { from { box-shadow:inset 0 0 0 #DEA726; } }
.mealopts .msub { margin:-3px 0 6px 18px; padding-left:12px; border-left:2px solid #DEA726; display:flex; flex-direction:column; }
.mealopts .msub[hidden] { display:none; }
.mealopts .mres { display:flex; align-items:center; gap:10px; padding:10px 0; border:0; border-bottom:1px solid var(--hair); background:none; text-align:left; color:var(--ink); cursor:pointer; }
.mealopts .mres:disabled { opacity:.45; cursor:default; }
.mealopts .mres .tx { flex:1; display:flex; flex-direction:column; gap:2px; } .mealopts .mres .t { font-weight:600; font-size:var(--t-15); } .mealopts .mres .d { font-size:var(--t-12); color:var(--ink-3); }
.mealopts .mres .rb { width:18px; height:18px; border-radius:50%; border:1.5px solid var(--ink-3); flex:none; transition:border .2s; }
.mealopts .mres.on .rb { border:5px solid #DEA726; }
.mealopts .mresx { display:flex; gap:8px; margin-top:8px; }
.mealopts .mresx input { flex:1; min-width:0; height:40px; border:1px solid var(--rule); border-radius:8px; background:var(--paper); color:var(--ink); padding:0 10px; font:inherit; font-size:var(--t-13); }
/* our dining list */
#panel .mpq { width:100%; height:44px; margin-top:var(--s4); border:1px solid var(--rule); border-radius:10px; background:var(--paper); color:var(--ink); padding:0 12px; font:inherit; font-size:var(--t-15); box-sizing:border-box; }
#panel .mpchips { margin:10px 0 4px; }
.mplist .mprow { display:flex; align-items:center; gap:10px; padding:11px 0; border-bottom:1px solid var(--hair); }
.mplist .mpn { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; text-align:left; background:none; border:0; color:var(--ink); cursor:pointer; padding:0; }
.mplist .mpn .nm { font-size:var(--t-15); } .mplist .mpn .sub { font-size:var(--t-12); color:var(--ink-3); }
.mplist .mpick { flex:none; padding:7px 11px; border-radius:16px; border:1px solid #DEA726; background:transparent; color:var(--gold-ink, #8A6A18); font:inherit; font-size:var(--t-12); font-weight:600; cursor:pointer; }
/* the wheel */
#panel .mspinsub { margin-top:6px; }
.wstage { position:relative; margin-top:var(--s4); display:flex; flex-direction:column; align-items:center; }
.wwrap { position:relative; width:min(300px, 76vw); aspect-ratio:1; margin-top:12px; }
.wwrap::before { content:''; position:absolute; left:7%; right:7%; bottom:-5%; height:9%; border-radius:50%; background:rgba(27,26,23,.18); filter:blur(10px); pointer-events:none; }
.wrotor { position:absolute; inset:0; will-change:transform; }
.wrotor svg { display:block; width:100%; height:100%; }
.wrotor .wtn { font-family:var(--ui); font-weight:600; letter-spacing:.08em; }
.wrotor .wwalk { font-family:var(--display); font-style:italic; font-weight:500; font-size:var(--t-13); opacity:.72; }
.wrotor .wwedge, .wrotor text { transition:fill .45s; }
.wrotor .wdim { opacity:0; transition:opacity .45s; pointer-events:none; }
.wrotor .wsl.dim .wdim { opacity:.5; }
.wptr { position:absolute; left:50%; top:-12px; width:28px; height:44px; margin-left:-14px; z-index:3; transform-origin:14px 10px; filter:drop-shadow(0 2px 2px rgba(0,0,0,.45)); }
.wptr svg { display:block; width:100%; height:100%; }
.wptr.flick { animation:wflick .14s ease-out; }
@keyframes wflick { 35% { transform:rotate(-16deg); } }
.whub { position:absolute; left:50%; top:50%; width:29%; aspect-ratio:1; transform:translate(-50%,-50%); border-radius:50%; border:2px solid #DEA726; background:#1B1A17; color:#F5F0E8; font:inherit; font-size:var(--t-12); font-weight:600; letter-spacing:.2em; padding:0 0 0 .2em; box-shadow:0 0 0 5px #1B1A17, 0 0 0 6px rgba(222,167,38,.55), 0 8px 18px rgba(0,0,0,.45); z-index:2; cursor:pointer; }
.whub:disabled { cursor:default; }
.wline { position:relative; margin-top:16px; font-size:var(--t-12); color:var(--ink-3); }
.wres { margin-top:14px; border-radius:16px; background:color-mix(in srgb, #DEA726 26%, var(--raised)); border:1px solid #DEA726; padding:14px 16px; animation:wrise .45s cubic-bezier(.2,.8,.2,1) both; }
.wres[hidden] { display:none; }
.wres .wname { font-family:var(--display); font-size:var(--t-30); line-height:1.1; margin-top:2px; } .wres .wmeta { font-size:var(--t-13); color:var(--ink-2); margin-top:3px; }
@keyframes wrise { from { transform:translateY(20px); opacity:0; } }
.wacts { display:flex; gap:10px; margin-top:14px; }
.wacts .wgo, .wacts .wsec { flex:1; height:50px; border-radius:12px; font:inherit; font-size:var(--t-15); font-weight:600; cursor:pointer; }
.wacts .wgo { border:0; background:#DEA726; color:#0A0A0A; } .wacts .wgo:disabled { opacity:.55; cursor:default; }
.wacts .wgo.dark { background:#0A0A0A; color:#F5F0E8; }
.wacts .wsec { border:1px solid var(--rule); background:var(--raised); color:var(--ink); }
@media (prefers-reduced-motion: reduce) { .wptr.flick, .wres, .mealopts .mopt.on { animation:none; } }
/* a note to the concierge */
#panel .mctx { display:inline-flex; align-items:center; gap:6px; margin-top:var(--s3); padding:5px 11px; border:1px solid #DEA726; border-radius:14px; color:var(--gold-ink, #8A6A18); font-size:var(--t-12); }
#panel .mctx svg { width:13px; height:13px; }
#panel textarea.mnote { width:100%; box-sizing:border-box; margin-top:var(--s3); min-height:42vh; padding:14px; border:1px solid var(--rule); border-radius:12px; background:var(--paper); color:var(--ink); font-family:var(--display); font-size:var(--t-20); line-height:1.45; resize:vertical; outline:none; }
#panel textarea.mnote:focus { border-color:#DEA726; }
.mstatus .mst { display:flex; gap:12px; align-items:flex-start; margin-top:12px; padding:13px 14px; border-radius:12px; font-size:var(--t-13); line-height:1.45; animation:wrise .35s var(--ease) both; }
.mstatus .mst.ok { background:color-mix(in srgb, #6F9A4F 14%, var(--paper)); border:1px solid #9DBB7C; }
.mstatus .mst.wait { background:color-mix(in srgb, #DEA726 12%, var(--paper)); border:1px solid #E6CF92; }
.mstatus .mst.bad { background:color-mix(in srgb, #C0492F 10%, var(--paper)); border:1px solid #D99A86; }
.mstatus .dot { width:26px; height:26px; border-radius:50%; flex:none; display:grid; place-items:center; color:#fff; font-weight:700; }
.mstatus .ok .dot { background:#6F9A4F; } .mstatus .wait .dot { background:#DEA726; } .mstatus .bad .dot { background:#C0492F; }
.mstatus .dot svg { width:14px; height:14px; }
.mstatus .mstlink { margin-top:4px; padding:0; border:0; background:none; color:var(--gold-ink, #8A6A18); text-decoration:underline; text-underline-offset:3px; font:inherit; font-size:var(--t-13); cursor:pointer; }

/* the once-per-device question: which maps app Directions open in (3 Oct) */
.mapsask { position:fixed; inset:0; z-index:9000; background:rgba(10,10,10,.5); display:flex; align-items:flex-end; justify-content:center; padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
@media (min-width:720px) and (min-height:520px), (min-width:1001px) { .mapsask { align-items:center; } }
.mapsbox { width:100%; max-width:420px; background:var(--raised); color:var(--ink); border-radius:18px; border-top:3px solid #DEA726; padding:20px 18px 12px; box-shadow:0 20px 50px rgba(0,0,0,.3); display:flex; flex-direction:column; gap:10px; }
.mapsbox h3 { margin:0; font-family:var(--display); font-weight:400; font-size:var(--t-24); line-height:1.15; }
.mapsbox p { margin:0 0 4px; color:var(--ink-2); font-size:var(--t-13); }
.mapsbox .mapsopt { height:50px; border-radius:12px; border:1px solid var(--rule); background:var(--paper); color:var(--ink); font:inherit; font-size:var(--t-17); font-weight:600; cursor:pointer; }
.mapsbox .mapsopt:first-of-type { background:#DEA726; border-color:#DEA726; color:#0A0A0A; }
.mapsbox .mapsno { height:44px; border:0; background:transparent; color:var(--ink-2); font:inherit; font-size:var(--t-15); cursor:pointer; }

/* the time picker: hour and minutes as lists, never greyed (3 Oct) */
.tpick { display:flex; align-items:center; gap:6px; }
.tpick select { min-height:46px; border:1px solid var(--rule); border-radius:4px; background:var(--raised); color:var(--ink); font:inherit; font-size:var(--t-17); padding:0 10px; -webkit-text-fill-color:var(--ink); opacity:1; }
.tpick select:disabled { color:var(--ink-2); -webkit-text-fill-color:var(--ink-2); }
.tpick select:first-child { min-width:92px; }
.tpick .tsep { font-size:var(--t-20); color:var(--ink-2); }
.addform input[type="date"], .addform input[type="time"], .addform input[type="datetime-local"] { color:var(--ink); -webkit-text-fill-color:var(--ink); opacity:1; min-height:46px; }
.alertask .mapsbox .eyebrow { margin:0; }
.alertask .alertbody { white-space:pre-line; color:var(--ink); font-size:var(--t-15); line-height:1.45; margin:2px 0 6px; max-height:45vh; overflow:auto; }


/* the tasting flag (Michael, 4 Oct): where a tasting stands, in the colours the app already uses for status */
.outreach.tflag { display:grid; gap:3px; align-items:start; padding:12px 14px; border-radius:4px; }
.outreach.tflag .eyebrow { color:inherit; margin:0; }
.outreach.tflag .st { font-size:var(--t-15); color:var(--ink); }
.outreach.tflag[data-tone="ok"]   { border-color:var(--ok);   color:var(--ok);   background:color-mix(in srgb, var(--ok) 14%, transparent); }
.outreach.tflag[data-tone="hold"] { border-color:var(--hold); color:var(--hold); background:color-mix(in srgb, var(--hold) 14%, transparent); }
.outreach.tflag[data-tone="out"]  { border-color:var(--out);  color:var(--out);  background:color-mix(in srgb, var(--out) 12%, transparent); opacity:1; }
.outreach.tflag[data-tone="none"] { color:var(--ink-3); }

/* recognition (4 Oct): a gold line on the card, a list in the panel */
.card .acc { margin-top:4px; font-size:var(--t-12); font-weight:600; letter-spacing:.02em; color:var(--gold-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.recog .recl { list-style:none; margin:8px 0 0; padding:0; }
.recog .recl li { padding:10px 0; border-bottom:1px solid var(--hair); font-size:var(--t-15); }
.recog .recl .top { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.recog .recl .by { font-weight:600; }
.recog .recl .aw { color:var(--ink-2); margin-top:2px; line-height:1.45; }
.recog .recl .yr { color:var(--ink-3); font-variant-numeric:tabular-nums; }
.recog .recl a.src { color:var(--gold-ink); text-decoration:underline; text-underline-offset:3px; font-size:var(--t-13); }
/* the hotel's own restaurants (4 Oct): the recognition list's shape, on the stay */
.hoteleat .eatl { list-style:none; margin:0; padding:0; max-width:760px; }
.hoteleat .eatl li { padding:12px 0; border-bottom:1px solid var(--hair); }
.hoteleat .eatl .top { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.hoteleat .eatl .nm { all:unset; cursor:pointer; font-family:var(--display); font-size:var(--t-20); color:var(--ink); border-bottom:1px solid var(--gold); }
.hoteleat .eatl .ml { font-size:var(--t-12); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); white-space:nowrap; }
.hoteleat .eatl .acc { color:var(--gold-ink); font-weight:600; font-size:var(--t-13); margin-top:4px; }
.hoteleat .eatl .nt { color:var(--ink-2); font-size:var(--t-15); line-height:1.45; margin-top:4px; }
.hoteleat .eatl .st { color:var(--ok, #5a7a3a); font-size:var(--t-13); margin-top:4px; }
.chapter .facts .eatline .weblink { all:unset; cursor:pointer; border-bottom:1px solid var(--gold); }
.facts button.weblink { all:unset; cursor:pointer; border-bottom:1px solid var(--gold); }
/* pull down to check for new (5 Oct): one quiet pill under the masthead, in the app's own colours */
.ptr { position:fixed; left:50%; top:calc(env(safe-area-inset-top, 0px) + 56px); z-index:80; transform:translate(-50%, -40px); background:var(--raised); color:var(--ink-2); border:1px solid var(--rule); border-radius:18px; padding:8px 14px; font-size:var(--t-13); box-shadow:0 6px 18px rgba(0,0,0,.12); pointer-events:none; transition:transform .12s ease-out; white-space:nowrap; }
.ptr[data-s="ready"], .ptr[data-s="busy"] { color:var(--gold-ink); border-color:var(--gold); }
.ptr[data-s="done"] { color:var(--ok, var(--ink)); }

/* ---- 2.49: what needs solving, on the way, the wider day (Michael, 5 Oct) ---- */
/* the attention line under the day's header: closed by default, the plan stays first */
.attn { margin-top:var(--s3); border:1px solid color-mix(in srgb, var(--out) 45%, var(--hair)); border-radius:4px; background:var(--raised); }
.attn .attnh { all:unset; box-sizing:border-box; width:100%; display:flex; align-items:center; gap:10px; padding:10px 14px; cursor:pointer; color:var(--out); font-size:var(--t-13); font-weight:600; }
.attn .attnh:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.attn .attnh .tt { flex:1; } .attn .attnh svg:last-child { color:var(--ink-3); transition:transform .2s; } .attn[data-open="1"] .attnh svg:last-child { transform:rotate(180deg); }
.attn .attnl { display:none; } .attn[data-open="1"] .attnl { display:block; }
.attn .attnr { position:relative; overflow:hidden; border-top:1px solid var(--hair); font-size:var(--t-13); color:var(--ink-2); line-height:1.4; }
.attn .attnr > .sw { display:flex; align-items:center; gap:10px; padding:10px 14px; position:relative; z-index:1; background:var(--raised); transition:transform .2s; }
.attn .attnr .ti { flex:none; display:inline-flex; color:var(--out); } .attn .attnr .tt { flex:1; }
.attn .attnr .chip.act { flex:none; white-space:nowrap; }
/* swipes speak the overview list's language: quiet small capitals revealed under the row, no blocks of colour */
.attn .attnr .under, .onway .owr .under { position:absolute; inset:0; display:flex; justify-content:space-between; align-items:center; padding:0 12px; font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; visibility:hidden; }
.attn .attnr.swiping .under, .onway .owr.swiping .under { visibility:visible; }
.attn .attnr .under .l, .onway .owr .under .l { color:var(--gold-ink); } .attn .attnr .under .r, .onway .owr .under .r { color:var(--ink-3); }
.attn .attnr .hov, .onway .owr .hov { display:none; gap:6px; }
@media (hover:hover) { .attn .attnr:hover .hov { display:flex; } .attn .attnr:hover .chip.act { display:none; }
  .onway .owr:hover .hov { display:inline-flex; position:absolute; right:8px; top:50%; transform:translateY(-50%); } }
/* the foot of the day */
.worth .wkr { display:flex; gap:10px; align-items:flex-start; padding:8px 0; border-top:1px solid var(--hair); font-size:var(--t-13); color:var(--ink-3); line-height:1.45; }
.worth .wkr .ti { flex:none; display:inline-flex; margin-top:2px; }
/* the marks on the stops, and the counts on the calendar and the master plan */
.rflags { display:inline-flex; gap:4px; margin-left:8px; vertical-align:middle; } .rflag { display:inline-flex; color:var(--ink-3); } .rflag[data-s="out"] { color:var(--out); }
.needn { display:inline-flex; align-items:center; gap:3px; margin-top:6px; font-size:var(--t-11); font-weight:700; color:var(--out); }
.calcell[data-sel] .needn { color:inherit; }
.mhd .needn.mcount { margin:0 0 0 auto; padding:2px 7px; border-radius:10px; border:1px solid color-mix(in srgb, var(--out) 45%, var(--hair)); align-self:center; }
.mcol [data-id] { position:relative; } .mcol [data-id] > .rflags { position:absolute; right:10px; top:30px; margin:0; flex-direction:column; gap:4px; }
.calb { all:unset; cursor:pointer; display:inline-flex; margin-left:8px; color:var(--ink-3); vertical-align:middle; } @media (hover:hover) { .calb:hover { color:var(--ink); } }
/* on the way: one quiet line under the stop the drive leaves from, folded until wanted */
.planlist .onway, #panelBody .section > .onway { display:flex; flex-direction:column; align-items:stretch; gap:2px; margin:0 0 6px 17px; padding:4px 0 8px 28px; font-size:var(--t-12); color:var(--ink-3); }
.onway .owh { all:unset; box-sizing:border-box; display:block; cursor:pointer; font-size:var(--t-12); line-height:1.5; color:var(--ink-3); padding:2px 0; }
.onway .owh:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.onway .owh svg { vertical-align:-2px; margin-right:6px; } .onway .owh svg:last-child { margin:0 0 0 4px; transition:transform .2s; } .onway[data-open="1"] .owh svg:last-child { transform:rotate(180deg); }
.onway .owh .owc::before { content:'·'; margin:0 6px 0 4px; }
.onway .owr, .onway .owmore { display:none; } .onway[data-open="1"] .owr { display:block; } .onway[data-open="1"] .owmore { display:inline-block; }
/* each place its own swipeable card: the app's card tone, with room inside so the words never touch its edge */
.onway .owr { position:relative; overflow:hidden; margin:4px 0 0; border-radius:4px; cursor:pointer; }
.onway { --owbg:var(--paper); } #panelBody .onway { --owbg:var(--panel, var(--paper)); }
.onway .owr > .sw { display:block; position:relative; z-index:1; background:color-mix(in srgb, var(--ink) 4.5%, var(--owbg)); border:1px solid var(--hair); border-left:2px dotted var(--ink-3); border-radius:4px; padding:7px 12px 7px 12px; transition:transform .25s var(--ease, ease); }
.onway .owr .tb { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.onway .owr .nm { font-size:var(--t-13); color:var(--ink-2); } .onway .owr .sub { font-size:var(--t-12); color:var(--ink-3); }
.onway .owr[data-sl="1"] .nm { color:var(--gold-ink); }
.onway .owmore { all:unset; cursor:pointer; align-self:flex-start; margin:6px 0 0 2px; font-size:var(--t-12); color:var(--ink-3); border-bottom:1px dotted var(--ink-3); }
/* the map: places on the way are quiet grey dots with a slow pulse; one dismissed is a plain dot; the one chosen in the tray pulses green */
.pin.onw { width:10px; height:10px; background:var(--ink-3); border:2px solid var(--paper); box-shadow:none; opacity:.85; cursor:pointer; }
.pin.onw::after { content:''; position:absolute; inset:-7px; border-radius:50%; border:1.5px solid var(--ink-3); animation:pinring 2.6s ease-out infinite; }
.pin.onw.off { opacity:.5; } .pin.onw.off::after { display:none; }
.pin.onw.sel { width:14px; height:14px; background:var(--ok); opacity:1; z-index:3; } .pin.onw.sel::after { display:block; border-color:var(--ok); inset:-9px; border-width:2px; animation-duration:1.8s; }
@media (prefers-reduced-motion:reduce) { .pin.onw::after { animation:none; opacity:.4; } }
.owmap .map { height:260px; border-radius:4px; }
.owname { display:flex; align-items:center; gap:10px; } .owname .seldot { flex:none; width:12px; height:12px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
/* a short line with Undo, where the app's own messages appear */
.undoline { position:fixed; left:var(--gut); bottom:calc(var(--safe-b) + 16px); z-index:81; display:flex; align-items:center; gap:14px; font-size:var(--t-13); font-weight:600; color:var(--ink-2); background:var(--raised); border:1px solid var(--hairline, var(--hair)); border-radius:6px; padding:8px 12px; box-shadow:var(--shadow-1, 0 2px 10px rgba(0,0,0,.12)); max-width:min(440px,88vw); }
.undoline[hidden] { display:none; } .undoline button { all:unset; cursor:pointer; color:var(--gold-ink); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:var(--t-12); }
/* the wider day on iPad and desktop: one gripper on the divider. Drag for any width, double-tap for the whole width and back */
@media (min-width:1100px) {
  .dayswrap[data-mode="split"][style*="--pw"] { grid-template-columns:minmax(0,1fr) var(--pw); }
  .dayswrap[data-mode="split"][data-full="1"] { grid-template-columns:0 1fr; gap:0; } .dayswrap[data-mode="split"][data-full="1"] > :first-child { visibility:hidden; overflow:hidden; }
  .daypane .pgrip { display:block; position:absolute; left:-11px; top:300px; width:20px; height:96px; border-radius:10px; background:var(--raised); border:1px solid var(--leg, var(--hair)); box-shadow:0 1px 4px rgba(0,0,0,.12); cursor:col-resize; z-index:2; touch-action:none; }
  .daypane .pgrip::before { content:''; position:absolute; left:6px; right:6px; top:30px; bottom:30px; border-left:2px dotted var(--ink-2); border-right:2px dotted var(--ink-2); }
  .daypane .pgrip:active, .daypane .pgrip:focus-visible { border-color:var(--gold); background:color-mix(in srgb, var(--gold) 12%, var(--raised)); outline:none; } @media (hover:hover) { .daypane .pgrip:hover { border-color:var(--gold); background:color-mix(in srgb, var(--gold) 12%, var(--raised)); outline:none; } }
  @media (hover:hover) { .daypane:has(.pgrip:hover) { border-left-color:var(--gold); } }
  .dayswrap[data-full="1"] .daypane { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); column-gap:var(--s6); align-items:start; }
  .dayswrap[data-full="1"] .daypane > * { grid-column:1; } .dayswrap[data-full="1"] .daypane > .pgrip { grid-column:auto; }
  .dayswrap[data-full="1"] .daypane .ph { height:240px; aspect-ratio:auto; }
  .dayswrap[data-full="1"] .daypane > .fullmap { grid-column:2; grid-row:1 / span 40; position:sticky; top:var(--s4); height:calc(100vh - var(--mast-h) - 48px); border-radius:4px; overflow:hidden; border:1px solid var(--hair); }
  .dayswrap[data-full="1"] .daypane > .fullmap .map { height:100%; }
}
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .attn .attnr > .sw { flex-wrap:wrap; } .attn .attnr .tt { flex:1 1 calc(100% - 30px); } .attn .attnr .chip.act { margin-left:25px; } }
.onway:not([data-open="1"]) .owr, .onway:not([data-open="1"]) .owmore { display:none; }

/* ---- 2.49: the concierge, what it can do, its question chips, drafts, memory ---- */
#panel .askview .asktools { display:flex; gap:8px; justify-content:flex-end; margin-bottom:calc(-1 * var(--s2)); }
#panel .askview .asktools .chip { font-size:var(--t-12); }
#panel .askview .askgap { text-align:center; letter-spacing:.12em; text-transform:uppercase; font-size:var(--t-11); }
#panel .askview .askcan { border:1px solid var(--hair); border-radius:4px; padding:var(--s4); font-size:var(--t-13); line-height:1.45; max-width:92%; }
#panel .askview .askcan .eyebrow { color:var(--gold-ink); margin-top:var(--s3); }
#panel .askview .askcan .eyebrow:first-child { margin-top:0; }
#panel .askview .askcan ul { margin:6px 0 0; padding-left:18px; }
#panel .askview .askcan li { margin:3px 0; }
#panel .askview .askcan ul.cant li { color:var(--ink-2); }
#panel .askview .askcan .dim { margin-top:var(--s3); }
#panel .askview .msg .mt { white-space:pre-line; }
#panel .askview .askopts { display:flex; flex-wrap:wrap; gap:8px; margin-top:var(--s3); }
#panel .askview .askopts .chip { white-space:normal; text-align:left; }
#panel .askview .draft { border:1px solid var(--gold); border-radius:4px; padding:var(--s4); margin-top:var(--s3); }
#panel .askview .draft .eyebrow { color:var(--gold-ink); }
#panel .askview .draft .row { display:grid; grid-template-columns:auto 1fr; gap:4px 12px; font-size:var(--t-13); margin-top:var(--s3); }
#panel .askview .draft .row b { color:var(--ink-3); font-weight:600; font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; }
#panel .askview .draft .dbody { white-space:pre-line; font-size:var(--t-13); margin-top:var(--s3); padding-top:var(--s3); border-top:1px solid var(--hair); }
#panel .askview .draft.lcard .lsubj { display:block; margin-top:6px; font-size:var(--t-15); font-weight:600; color:var(--ink); }
#panel .askview .draft.lcard .dbody { white-space:normal; color:var(--ink-2); }
#panel .askview .draft.lcard .acts { margin-top:var(--s3); }
#panel .askview .draft .acts { display:flex; gap:6px; margin-top:var(--s4); }
#panel .askview .draft .acts .btn { flex:1; min-height:40px; }
#panel .askview .remembered { display:flex; align-items:center; gap:8px; margin-top:var(--s3); font-size:var(--t-12); color:var(--ink-2); }
#panel .askview .remembered svg { color:var(--gold-ink); flex:none; }
#panel .askview .remembered .fixlink { min-height:28px; font-size:var(--t-12); }
#panel .askview .askopen { margin-top:var(--s3); }
#panel .askview .asksrc { margin-top:var(--s3); }
#panel .askview .asksrc a { color:var(--ink-2); text-decoration:underline; text-decoration-color:var(--hair); text-underline-offset:3px; }
#panel .askview .askmore { display:inline-flex; margin-top:var(--s2); font-size:var(--t-12); }
#panel .askview .askwrong { display:inline-flex; margin:var(--s2) 0 0 var(--s3); font-size:var(--t-12); color:var(--ink-3); }
#panel .askview .askwrongf { display:flex; gap:8px; align-items:center; margin-top:var(--s2); }
#panel .askview .askwrongf .search { flex:1; min-width:0; height:36px; font-size:var(--t-13); }
#panel .askview .askwrongd { margin-top:var(--s2); }
.memlist { list-style:none; margin:var(--s3) 0 0; padding:0; }
.memlist li { display:flex; align-items:baseline; gap:var(--s3); padding:10px 0; border-bottom:1px solid var(--hair); font-size:var(--t-13); }
.memlist li .who { font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; color:var(--gold-ink); font-weight:600; min-width:56px; }
.memlist li .tx { flex:1; }

/* ---- 2.49: the inbox card reads cleanly (Michael, 5 Oct) ---- */
.prop .chg { margin-top:var(--s3); }
.prop .chg:first-child { margin-top:0; }
.prop .chgw { margin:4px 0 0; font-size:var(--t-12); color:var(--ink-3); letter-spacing:.01em; }
.prop .chgw.none { color:var(--out); }
.prop .chgh { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; font-size:var(--t-13); line-height:1.4; }
.prop .chgk { font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); }
.prop .chgt { color:var(--ink); }
.prop dl.chgf { display:grid; grid-template-columns:minmax(96px, auto) 1fr; gap:6px 14px; margin:8px 0 0; font-size:var(--t-13); }
.prop dl.chgf dt { color:var(--ink-3); }
.prop dl.chgf dd { margin:0; color:var(--ink); overflow-wrap:anywhere; }
.prop .cfl .was, .prop .cfl .new { display:flex; gap:8px; align-items:baseline; margin-top:4px; font-weight:400; overflow-wrap:anywhere; }
.prop .cfl .was { color:var(--ink-2); }
.prop .cfl .new { color:var(--ink); }
.prop .cfl .cvk { flex:none; font-style:normal; font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; padding:1px 6px; border-radius:3px; }
.prop .cfl .was .cvk { color:var(--ink-3); background:color-mix(in srgb, var(--ink) 7%, transparent); }
.prop .cfl .new .cvk { color:var(--ok); background:color-mix(in srgb, var(--ok) 14%, transparent); }
.prop .cfl .seg .sg[data-v="new"][aria-checked="true"] { background:var(--ok); border-color:var(--ok); }
.prop .where .wherelist { display:flex; flex-direction:column; gap:6px; margin-top:8px; }
.prop .where .wopt { display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:2px; padding:8px 12px; border:1px solid var(--rule); border-radius:6px; background:var(--raised); color:var(--ink); font:inherit; font-size:var(--t-13); cursor:pointer; }
.prop .where .wopt .sub { font-size:var(--t-12); color:var(--ink-3); }
.prop .where .wopt[aria-pressed="true"] { border-color:var(--ok); box-shadow:inset 3px 0 0 var(--ok); }
.prop .where .whereres { margin:10px 0 0; color:var(--ink-2); }
.mbox .msays p { margin:0 0 6px; }
.mbox .msays p:last-child { margin-bottom:0; }
.prop .whereself[hidden] { display:none; }
.prop .where .wopt.wnone .nm { color:var(--ink-2); }
/* the alert, in the tray (2.49): slides up from the bottom on a phone, swipe down to close */
.palert .alertbody { white-space:pre-line; color:var(--ink); font-size:var(--t-15); line-height:1.5; margin:var(--s3) 0 0; }
.palert .acts { display:flex; flex-direction:column; gap:8px; margin-top:var(--s5); }
.palert .acts .btn { width:100%; min-height:48px; justify-content:center; }
/* the alert is a short sheet: as tall as what it says, never the whole screen */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #app[data-pkind="alert"] #panel { height:auto; max-height:78%; } }
@media (min-width:720px) and (min-height:520px), (min-width:1001px) { #app[data-pkind="alert"] #panel { width:min(var(--panel-w), 440px); } }
.palert h2 { margin-top:var(--s4); }

/* ---- 2.50: the day beside the calendar scrolls on its own ---- */
@media (min-width:1100px) {
  .dayswrap[data-mode="split"]:not([data-full="1"]) > .daypane.dpscroll { display:flex; flex-direction:column; max-height:calc(100dvh - var(--mast-h) - 2 * var(--s4)); padding-right:0; }
  .daypane.dpscroll > .dpin { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding-right:var(--s3); scrollbar-width:thin; scrollbar-color:var(--rule) transparent; }
}
/* the master plan runs past the edge: a fade and a chevron each side, and wider columns for the long names */
.mbwrap { position:relative; }
.mbwrap::before, .mbwrap::after { content:''; position:absolute; top:6px; bottom:18px; width:44px; pointer-events:none; opacity:0; transition:opacity .2s; z-index:2; }
.mbwrap::before { left:0; background:linear-gradient(to right, var(--paper), transparent); }
.mbwrap::after { right:0; background:linear-gradient(to left, var(--paper), transparent); }
.mbwrap[data-l="1"]::before, .mbwrap[data-r="1"]::after { opacity:1; }
.mbnav { position:absolute; top:180px; width:36px; height:36px; border-radius:50%; border:1px solid var(--rule); background:var(--raised); color:var(--ink); display:none; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.14); cursor:pointer; z-index:3; }
.mbnav.prev { left:4px; } .mbnav.next { right:4px; }
.mbwrap[data-l="1"] .mbnav.prev, .mbwrap[data-r="1"] .mbnav.next { display:inline-flex; }
@media (hover:hover) { .mbnav:hover { border-color:var(--gold); } }
@media (min-width:1100px) { .mboard { grid-auto-columns:minmax(232px, calc((100% - 40px) / 5)); } }
/* the original email, as a person reads it */
#panel .iex, .ibox .iex { margin-top:var(--s5); border-top:1px solid var(--rule); padding-top:var(--s3); }
#panel .iex > summary, #panel .iexraw > summary { cursor:pointer; font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding:6px 0; }
.iex .iexbody { white-space:pre-line; font-size:var(--t-13); line-height:1.55; color:var(--ink-2); margin-top:var(--s2); overflow-wrap:anywhere; }
.iex .iexraw { margin-top:var(--s3); } .iex .iexraw p { white-space:pre-line; overflow-wrap:anywhere; font-size:var(--t-12); color:var(--ink-3); }
/* the Tastings numbers open their lists */
button.f { all:unset; box-sizing:border-box; cursor:pointer; }
.dstrip button.f { padding:var(--s4) var(--s5); border-right:1px solid var(--hair); }
.dstrip button.f:last-child { border-right:0; }
.dstrip button.f:focus-visible .k { color:var(--gold-ink); } @media (hover:hover) { .dstrip button.f:hover .k { color:var(--gold-ink); } }
.dstrip button.f[aria-pressed="true"] { box-shadow:inset 0 -3px 0 var(--gold); }
.dstrip button.f:focus-visible { outline:2px solid var(--gold); outline-offset:-2px; }
/* the rail's next steps, a row each with its button */
@media (hover:hover) { .callout .nagrow2 .nm:hover > span:first-child { text-decoration:underline; text-underline-offset:3px; } }
/* not asked yet: the status column offers the next step instead of a pill */
@media (hover:hover) { .wrow .sc .reqchip:hover { background:color-mix(in srgb, var(--gold) 12%, transparent); } }
/* the place card: the next step, then More */
#panel .moreacts { margin-top:2px; }
#panel .moreacts > summary { list-style:none; display:flex; align-items:center; justify-content:center; gap:6px; min-height:44px; border:1px dashed var(--rule); border-radius:4px; color:var(--ink-2); font-size:var(--t-13); cursor:pointer; }
#panel .moreacts > summary::-webkit-details-marker { display:none; }
#panel .moreacts[open] > summary svg { transform:rotate(180deg); }
#panel .moreacts > .acts { margin-top:var(--s2); }
#panel .addedby { margin-top:var(--s6); }
#panel details.addedby > summary { cursor:pointer; font-size:var(--t-11); font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding:6px 0; }
#panel details.addedby .chips { margin-top:var(--s2); }
/* the head row follows the same container widths as the rows, and Request a tasting is never hidden */
@container (max-width:820px) { .whead { grid-template-columns:52px minmax(160px, 1fr) 100px minmax(120px, 150px); } .whead span:nth-child(3), .whead span:nth-child(6) { display:none; } }
@container (max-width:520px) { .whead { display:none; } }

/* ---- 2.51: AI usage and the daily limit ---- */
.usebox { margin:var(--s3) 0 var(--s5); padding:var(--s4); border:1px solid var(--rule); border-radius:4px; }
.usebox .eyebrow { margin-top:var(--s3); } .usebox .eyebrow:first-child { margin-top:0; }
.userow { display:grid; grid-template-columns:190px 1fr 64px; gap:12px; align-items:center; padding:6px 0; font-size:var(--t-13); }
.userow .k { color:var(--ink-2); } .userow .v { color:var(--ink); font-variant-numeric:tabular-nums; }
.usebar { position:relative; height:6px; border-radius:3px; background:color-mix(in srgb, var(--ink) 10%, transparent); overflow:hidden; }
.usebar i { position:absolute; left:0; top:0; bottom:0; background:var(--gold); border-radius:3px; }
.usebar[data-near="1"] i { background:var(--out); }
.usebox .usesum { margin:6px 0 4px; font-size:var(--t-13); color:var(--ink); }
.userow .v { text-align:right; }

/* 2.52: the right column hides (Michael, 5 Oct). A round grip on its edge, the twin of the index's; hidden, a tab on the
   window's edge with how many things need doing */
#railtab { display:none; }
@media (min-width:1100px) {
  #railtab { position:absolute; z-index:12; top:calc(var(--mast-h) + 14px); display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; color:var(--ink-2); background:var(--panel); border:1px solid var(--rule); transition:color .15s, border-color .15s, right .2s; }
  #railtab[hidden] { display:none; }
  @media (hover:hover) { #railtab:hover { color:var(--ink); border-color:var(--gold); } }
  #railtab[data-open="1"] { right:calc(var(--panel-w) - 14px); width:28px; height:28px; border-radius:50%; }
  #railtab[data-open="1"]::after { content:''; position:absolute; inset:-8px; border-radius:50%; }
  #railtab[data-open="0"] { right:0; height:40px; min-width:40px; padding:0 8px 0 10px; gap:4px; border-right:0; border-radius:20px 0 0 20px; }
  #railtab[data-open="0"][data-n="0"] { color:var(--ink-3); }
  #railtab .bang { min-width:24px; height:24px; padding:0 6px; border-radius:12px; background:var(--out); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:var(--t-12); font-variant-numeric:tabular-nums; }
  #railtab .tl { font-size:var(--t-13); font-weight:600; color:var(--ink); white-space:nowrap; }
  #railtab[data-open="0"]:not([data-n="0"]) { border-color:color-mix(in srgb, var(--out) 55%, var(--rule)); background:color-mix(in srgb, var(--out) 6%, var(--panel)); }
  #app[data-panel="open"] #railtab { display:none; }
  #app[data-rail="off"] #main > .surface:not(.wide) { padding-right:max(var(--s7), 72px); }
}
/* the overview's two lists stack when the right column leaves them too little room (an iPad across), and a status never wraps */
@media (min-width:1100px) and (max-width:1500px) { #app[data-rail="on"] .ov-cols { grid-template-columns:1fr; } }
#railtab .tl.quiet { font-weight:500; color:var(--ink-3); }

/* 2.52: the round grips, lifted off the page (Michael, 5 Oct: "more stylish, not so flat"): a soft raised disc with a
   light top edge and a shadow under it, a firmer chevron, and a press that sinks */
#index .grip, #railtab { width:34px; height:34px; border-radius:50%; color:var(--ink-2);
  background:linear-gradient(180deg, color-mix(in srgb, var(--panel) 80%, #fff) 0%, var(--panel) 100%);
  border:1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  box-shadow:0 1px 0 rgba(255,255,255,.75) inset, 0 1px 2px rgba(20,15,5,.10), 0 6px 16px -4px rgba(20,15,5,.18);
  transition:transform .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease; }
#index .grip { right:-17px; top:16px; }
@media (hover:hover) { #index .grip:hover, #railtab:hover { color:var(--gold-ink); border-color:color-mix(in srgb, var(--gold) 55%, transparent); transform:translateY(-1px);
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset, 0 2px 4px rgba(20,15,5,.10), 0 10px 22px -6px rgba(20,15,5,.24); } }
#index .grip:active, #railtab:active { transform:translateY(0) scale(.94); box-shadow:0 1px 2px rgba(20,15,5,.14) inset, 0 1px 2px rgba(20,15,5,.08); }
#index .grip:focus-visible, #railtab:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
@media (min-width:1100px) {
  #railtab[data-open="1"] { right:calc(var(--panel-w) - 17px); width:34px; height:34px; border-radius:50%; padding:0; }
  #railtab[data-open="0"] { right:20px; width:34px; height:34px; min-width:0; padding:0; border-radius:50%; border-right:1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
  #railtab[data-open="0"]:not([data-n="0"]) { background:linear-gradient(180deg, color-mix(in srgb, var(--panel) 80%, #fff) 0%, var(--panel) 100%); border-color:color-mix(in srgb, var(--ink) 12%, transparent); }
  #railtab .bang { position:absolute; top:-7px; left:-9px; min-width:20px; height:20px; padding:0 5px; border-radius:10px; font-size:var(--t-12); box-shadow:0 0 0 2px var(--paper), 0 2px 6px rgba(140,40,30,.35); }
  #railtab { top:calc(var(--mast-h) + 16px); }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #index .grip, :root:not([data-theme="light"]) #railtab { box-shadow:0 1px 0 rgba(255,255,255,.08) inset, 0 6px 16px -4px rgba(0,0,0,.5); } }
:root[data-theme="dark"] #index .grip, :root[data-theme="dark"] #railtab { box-shadow:0 1px 0 rgba(255,255,255,.08) inset, 0 6px 16px -4px rgba(0,0,0,.5); }

/* 2.52: editing the menu */
#index .grp .eyebrow:has(.menued) { display:flex; align-items:center; justify-content:space-between; padding-right:28px; }
#index .menued { font:600 var(--t-12) var(--sans, system-ui); letter-spacing:.01em; text-transform:none; color:var(--gold-ink); padding:4px 8px; margin:-4px -8px; border-radius:8px; }
@media (hover:hover) { #index .menued:hover { background:color-mix(in srgb, var(--gold) 12%, transparent); } }
#index .edh { display:flex; align-items:center; justify-content:space-between; padding:0 22px 10px var(--s5); }
#index .edh b { font-weight:600; font-size:var(--t-13); color:var(--ink-2); }
#index .eddone { height:32px; padding:0 15px; border-radius:16px; background:var(--ink); color:var(--paper); font-weight:600; font-size:var(--t-13); }
#index .eg { margin-top:var(--s3); } #index .eg .eyebrow { margin-bottom:6px; }
#index .ehint { padding:10px var(--s5) 6px; font-size:var(--t-12); line-height:1.45; color:var(--ink-3); }
#index .fixlink { margin:2px var(--s5) 10px; }
.erow { display:flex; align-items:center; gap:8px; height:46px; margin:3px 10px; padding:0 4px 0 2px; border-radius:12px; background:color-mix(in srgb, var(--ink) 4%, transparent); color:var(--ink); font-size:var(--t-15); box-sizing:border-box; }
.erow > svg { width:20px; height:20px; color:var(--ink-2); flex:none; }
.erow .nm { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.erow .mg { width:30px; height:40px; display:flex; align-items:center; justify-content:center; color:var(--ink-3); cursor:grab; touch-action:none; border-radius:8px; flex:none; }
.erow .mg:focus-visible { outline:2px solid var(--gold); }
.erow .meye { width:34px; height:34px; display:flex; align-items:center; justify-content:center; color:var(--ink-3); border-radius:10px; flex:none; }
@media (hover:hover) { .erow .meye:hover { color:var(--ink); background:color-mix(in srgb, var(--ink) 6%, transparent); } }
.erow .meye:disabled { opacity:.35; }
.erow.off .nm, .erow.off > svg { opacity:.42; } .erow.off .meye { color:var(--out); }
.erow.lift { background:var(--paper); cursor:grabbing; box-shadow:0 14px 30px rgba(20,15,5,.2), 0 0 0 1px color-mix(in srgb, var(--gold) 60%, transparent); transform:scale(1.03); margin:0; }
.erow.lift .mg { color:var(--gold-ink); cursor:grabbing; }
.erow.gap { background:transparent; border:1.5px dashed color-mix(in srgb, var(--gold) 55%, transparent); }
/* the hidden pages, at the foot */
#index .moreg { margin-top:var(--s3); }
#index .moreh { display:flex; align-items:center; gap:8px; width:100%; padding:6px 22px 6px var(--s5); color:var(--ink-2); text-align:left; }
#index .moreh .eyebrow { margin:0; padding:0; }
#index .moreh .mh { margin-left:auto; font-size:var(--t-12); color:var(--ink-3); }
#index .moreh .n { font-size:var(--t-12); font-weight:600; }
#index .moreh > svg { width:14px; height:14px; transition:transform .2s; }
#index .moreh[aria-expanded="true"] > svg { transform:rotate(90deg); }
#index .moreh .mi { display:none; }
#app[data-tray="closed"] #index .moreh > *:not(.mi) { display:none; }
#app[data-tray="closed"] #index .moreh .mi { display:flex; margin:0 auto; color:var(--ink-3); }
#app[data-tray="closed"] #index .moreh { padding:14px 0; justify-content:center; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #index .moreg, #index .menued { display:none; } }
/* the concierge log (beta, 7 Oct) */
.ailscores { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:14px; }
.ailscore .userow { display:flex; justify-content:space-between; gap:12px; padding:4px 0; border-bottom:1px solid var(--rule); font-size:var(--t-13); }
.ailscore .userow:last-child { border-bottom:0; }
.ailscore .userow .v { font-variant-numeric:tabular-nums; color:var(--ink); }
.ailchips { margin:18px 0 6px; }
.aillist { display:flex; flex-direction:column; }
.ailit { padding:14px 0; border-top:1px solid var(--rule); }
.ailhd { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; font-size:var(--t-12); color:var(--mid); }
.ailwhen { color:var(--ink); font-weight:600; }
.ailsrc { flex:1; min-width:0; }
.ailout { font-size:var(--t-12); letter-spacing:.06em; text-transform:uppercase; padding:2px 8px; border-radius:999px; border:1px solid var(--rule); color:var(--mid); }
.ailout[data-s="ok"] { color:var(--ok); border-color:color-mix(in srgb, var(--ok) 45%, transparent); }
.ailout[data-s="warn"] { color:var(--gold-ink); border-color:color-mix(in srgb, var(--gold) 55%, transparent); }
.ailout[data-s="bad"] { color:var(--out); border-color:color-mix(in srgb, var(--out) 45%, transparent); }
.ailq { margin-top:6px; font-style:italic; color:var(--mid); font-size:var(--t-13); }
.ails { margin-top:4px; font-size:var(--t-15); line-height:1.45; }
.ailc { margin-top:6px; font-size:var(--t-13); }
.ailfix { font-size:var(--t-12); color:var(--gold-ink); margin-top:2px; }
.ailmark { font-size:var(--t-12); margin-top:6px; color:var(--ink-3); }
.aillist .askwrongf { display:flex; gap:8px; align-items:center; margin-top:6px; }
.aillist .askwrongf .search { flex:1; min-width:0; height:36px; font-size:var(--t-13); }
.ailwrong { font-size:var(--t-12); color:var(--out); margin-top:4px; font-weight:600; }

/* the map's key (2.55.2, 11 Oct): shape is the kind, fill is where it stands, and the rows switch groups on and off */
.pin[data-st="plan"] { background:color-mix(in srgb, var(--pc) 42%, var(--paper)); }
.pin[data-st="option"] { background:var(--paper); }
.mapkey { position:absolute; top:74px; right:14px; z-index:5; width:236px; background:var(--raised); border:1px solid var(--hair); border-radius:10px; box-shadow:0 6px 20px rgba(0,0,0,.14); font-family:var(--ui); }
.mapkey:not([data-open]) { width:auto; }
.mapkey .mkh { display:flex; align-items:center; gap:6px; width:100%; padding:9px 12px; background:none; border:0; font:600 var(--t-12)/1 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); cursor:pointer; }
.mapkey .mkh svg { margin-left:auto; transition:transform .2s; }
.mapkey[data-open] .mkh svg { transform:rotate(180deg); }
.mapkey .mkb { display:none; padding:0 12px 12px; }
.mapkey[data-open] .mkb { display:block; }
.mapkey .eyebrow { margin:8px 0 4px; font-size:var(--t-11); }
.mapkey .mkr { display:flex; align-items:center; gap:10px; width:100%; min-height:34px; padding:4px 6px; margin:0 -6px; background:none; border:0; border-radius:6px; color:var(--ink); font:var(--t-13)/1.2 var(--ui); text-align:left; cursor:pointer; }
@media (hover:hover) { .mapkey button.mkr:hover { background:color-mix(in srgb, var(--ink) 6%, transparent); } }
.mapkey .mkr[aria-pressed="false"] { opacity:.42; }
.mapkey .mkr[aria-pressed="false"] .nm { text-decoration:line-through; }
.mapkey .mkr .nm { flex:1; }
.mapkey .mkr .n { font-size:var(--t-12); color:var(--ink-3); font-variant-numeric:tabular-nums; }
.mapkey .mkr.still { cursor:default; }
.mapkey p { margin:8px 0 0; font-size:var(--t-12); line-height:1.35; }
.ksw { --pc:var(--ink-2); flex:none; width:13px; height:13px; border-radius:50%; background:var(--pc); border:2px solid var(--paper); box-shadow:0 0 0 1.5px var(--pc); margin:0 3px; }
.ksw[data-shape="square"] { border-radius:3px; }
.ksw[data-shape="diamond"] { border-radius:2px; transform:rotate(45deg) scale(.9); }
.ksw[data-shape="stay"] { border-radius:3px; transform:rotate(45deg); background:var(--gold); box-shadow:0 0 0 1.5px var(--gold); }
.ksw[data-st="tint"] { background:color-mix(in srgb, var(--pc) 42%, var(--paper)); }
.ksw[data-st="hollow"] { background:var(--paper); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .mapkey { top:70px; right:10px; } .mapkey[data-open] { width:min(250px, calc(100vw - 20px)); } }

/* the Open on chip wraps inside its column instead of running under the drive (11 Oct) */

/* ---- 2.56.1: the expert review (11 Oct) ---- */
/* a field under 16px makes iOS zoom the page on focus */
@media (pointer:coarse), (max-width:1023px) { input:not([type=checkbox]):not([type=radio]):not([type=range]), textarea, select { font-size:var(--t-17) !important; } }
/* the concierge's compose bar and the map sheet clear the home indicator */
.mapsheet .msb { padding-bottom:calc(var(--s4) + env(safe-area-inset-bottom)); }
/* one visible focus ring, readable on cream and in the dark */
:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline:2px solid var(--gold-ink); outline-offset:1px; }
/* a map card on a phone never runs past the screen: it scrolls inside */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .maplibregl-popup-content { overflow:auto; overscroll-behavior:contain; } }
/* the day's reminder rows: the words get the width on a phone */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .dayrem .remrow { grid-template-columns:auto minmax(0,1fr) auto; } .dayrem .remrow .rt { grid-column:1 / -1; grid-row:2; } }
/* the segmented controls never wrap a label */
.seg2 button, .seg button { white-space:nowrap; }
/* small links and rows given a full tap area */
a.tel, button.weblink { min-height:44px; display:inline-flex; align-items:center; }
.onway .owh, details > summary { min-height:44px; }
.chip.quiet { min-height:40px; }
/* the map key's header is a full-size target */
.mapkey .mkh { min-height:44px; }
/* reduced motion: sheets appear, they do not slide */
@media (prefers-reduced-motion:reduce) { #panel, #ask, .sheet { transition:none !important; } }
/* pressed chip counts readable in both themes */
.chip[aria-pressed="true"] .n { color:var(--champagne, #F2E6C9); }

/* grouped pins on the whole-trip map (12 Oct): a disc in the region's colour, a paper ring, then a ring in the region's
   colour, or in gold when something inside is booked (Michael: "a gold ring, not a bubble on the outside") */
.pin.clu { width:var(--sz, 36px); height:var(--sz, 36px); border-radius:50%; background:var(--pc); color:#F5F0E8; border:0; box-shadow:0 0 0 2.5px var(--paper), 0 0 0 4.5px var(--pc), 0 3px 10px rgba(0,0,0,.26); display:flex; align-items:center; justify-content:center; font:700 var(--t-13)/1 var(--ui); cursor:pointer; padding:0; z-index:3; }
.pin.clu[data-booked] { box-shadow:0 0 0 2.5px var(--paper), 0 0 0 5.5px var(--gold), 0 3px 10px rgba(0,0,0,.26); }
.pin.clu::before { content:''; position:absolute; inset:-6px; border-radius:50%; }
/* the region cards under the map read as the discs above them (Michael, 12 Oct: the bars were too thin to tell apart) */
.mapsheet > .mleg .row { border-left-width:6px; background:color-mix(in srgb, var(--leg) 9%, transparent); }
.mapsheet > .mleg .row .nm::before { content:''; display:inline-block; width:12px; height:12px; border-radius:50%; background:var(--leg); box-shadow:0 0 0 2px var(--paper), 0 0 0 3.5px var(--leg); margin:0 9px 0 3px; vertical-align:1px; }

/* the folded "Needs you" line at the top of a page on a phone or tablet (proposal, 12 Oct) */
.rail-inline.attnbar { gap:0; border:1px solid color-mix(in srgb, var(--alert) 40%, var(--hair)); border-radius:10px; background:var(--raised); overflow:hidden; }
.attnbar .attnh { display:flex; align-items:center; gap:12px; width:100%; min-height:56px; padding:10px 14px; background:none; border:0; text-align:left; cursor:pointer; color:var(--ink); }
.attnbar .attnh .cnt { flex:none; position:relative; width:32px; height:29px; color:var(--alert); font:700 var(--t-12)/1 var(--ui); text-align:center; }
.attnbar .attnh .cnt svg { position:absolute; inset:0; width:32px; height:29px; transform:none !important; color:var(--alert); }
.attnbar .attnh .cnt b { position:relative; display:block; padding-top:12px; color:var(--paper); }
.attnbar .attnh .tx { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.attnbar .attnh .k { font:700 var(--t-11)/1.2 var(--ui); letter-spacing:.12em; text-transform:uppercase; color:var(--alert); }
.attnbar .attnh .line { font-size:var(--t-15); line-height:1.3; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.attnbar .attnh svg { flex:none; color:var(--ink-3); transition:transform .2s; }
.attnbar[data-open] .attnh svg { transform:rotate(180deg); }
.attnbar .attnb { display:none; padding:0 14px 6px; border-top:1px solid var(--hair); }
.attnbar[data-open] .attnb { display:block; }
.attnbar .attnb .rail-sec > .eyebrow { display:none; }
.attnbar .attnb .callout { border:0; border-bottom:1px solid var(--hair); border-radius:0; padding:14px 0; margin:0; background:none; grid-template-columns:22px 1fr; }
.attnbar .attnb .callout:last-child { border-bottom:0; }
.attnbar .attnb .callout .bang { width:18px; height:18px; font-size:var(--t-11); }
.attnbar .attnb .callout .nm { font-size:var(--t-17); }

/* ---- Tastings in four stages (2.57, Michael 12 Oct). Two buttons side by side are always the same size ---- */
.tboard { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; align-items:start; margin:var(--s4) 0 var(--s6); }
.tcol { background:color-mix(in srgb, var(--ink) 3%, transparent); border-radius:12px; padding:12px; min-width:0; }
.tcolh { display:flex; align-items:baseline; justify-content:space-between; gap:8px; padding:4px 4px 10px; }
.tcolh h3 { font-size:var(--t-20); margin:0; }
.tcolh .sub { display:block; font-size:var(--t-12); color:var(--ink-3); margin-top:2px; }
.tcolh .n { font:600 var(--t-13)/1 var(--ui); color:var(--ink-3); }
.tcard { position:relative; background:var(--raised); border:1px solid var(--hair); border-radius:10px; padding:12px 12px 10px; margin-bottom:10px; touch-action:pan-y; }
.tcard.walk { border:1.5px dashed color-mix(in srgb, var(--ok) 55%, var(--hair)); }
.tcol[data-stage="done"] .tcard { cursor:pointer; }
.tcol[data-stage="off"] .tcard { background:color-mix(in srgb, var(--raised) 60%, transparent); }
.tcard .tname { display:block; width:100%; text-align:left; background:none; border:0; padding:0; color:var(--ink); cursor:pointer; min-height:44px; }
.tcard .tname .nm { display:block; font:400 var(--t-20)/1.25 var(--display); }
.tcard .tname .where { display:block; font-size:var(--t-12); color:var(--ink-3); margin-top:2px; }
.tcard .tline { font-size:var(--t-13); color:var(--ink-2); margin:6px 0 0; }
.tcard .twhen { font-size:var(--t-15); margin:6px 0 0; } .tcard .twhen b { font-weight:600; } .tcard .twhen span { color:var(--ink-2); }
.tcard .tok { display:block; margin-top:6px; color:var(--ok); font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.1em; text-transform:uppercase; }
.tacts { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; margin-top:10px; }
.tacts[data-one] { grid-template-columns:minmax(0,1fr); }
.tacts:has(> :nth-child(3)) { grid-template-columns:repeat(2, minmax(0,1fr)); }
.tacts > :nth-child(3) { grid-column:1 / -1; }
.tb2 { min-height:44px; padding:6px 10px; border:1px solid var(--rule); border-radius:8px; background:var(--raised); color:var(--ink); font:600 var(--t-13)/1.2 var(--ui); text-align:center; cursor:pointer; }
@media (hover:hover) { .tb2:hover { border-color:var(--ink); } }
.tb2.solid { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.tb2.gold { border-color:var(--gold); color:var(--gold-ink); }
.tb2.quiet { color:var(--ink-2); }
.tb2.danger { color:var(--alert); border-color:color-mix(in srgb, var(--alert) 45%, var(--hair)); }
.tb2.danger[data-sure] { background:var(--alert); color:#fff; border-color:var(--alert); }
.tcard .tlink { display:block; margin-top:6px; min-height:44px; padding:0; background:none; border:0; color:var(--ink-2); font-size:var(--t-13); text-decoration:underline; text-underline-offset:3px; cursor:pointer; text-align:left; }
.talert { display:flex; gap:8px; align-items:flex-start; margin-top:10px; padding:9px 10px; border-radius:8px; background:color-mix(in srgb, var(--alert) 8%, var(--raised)); border:1px solid color-mix(in srgb, var(--alert) 35%, var(--hair)); font-size:var(--t-13); color:var(--ink); }
.talert svg, .alertmark { flex:none; width:18px; height:17px; margin-top:1px; fill:var(--alert); }
.talert svg .m, .alertmark .m { stroke:var(--paper); stroke-width:2.4; stroke-linecap:round; fill:none; }
.tempty { color:var(--ink-3); font-size:var(--t-13); margin:4px 4px 8px; }
.tswipe { position:absolute; top:0; bottom:0; width:240px; display:none; align-items:center; padding:0 16px; border-radius:10px; font:700 var(--t-12)/1 var(--ui); letter-spacing:.1em; text-transform:uppercase; color:#fff; pointer-events:none; }
.tcard[data-swipe] .tswipe, .card[data-swipe] .tswipe { display:flex; }
[data-swipe="r"] > .tswipe { right:calc(100% + 6px); justify-content:flex-end; background:var(--ok); }
[data-swipe="l"] > .tswipe { left:calc(100% + 6px); justify-content:flex-start; background:var(--alert); }
[data-swipe] > .tswipe:empty { display:none; }
@media (pointer:coarse) { .grid > .card { position:relative; touch-action:pan-y; } .grid > .card[data-swipe] { z-index:2; } }
@media (max-width:1099px) { .tboard { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .tboard { grid-template-columns:minmax(0,1fr); gap:12px; } .tcol { padding:10px; overflow:hidden; } }

/* words on photos (item 9, 12 Oct): the small line in bold, a soft shadow under every word */
.ov-leg .ph .nm, .address .cap, .dhero .cap, .chapter .ph .phinfo, .daypane .ph .cap { text-shadow:0 1px 6px rgba(0,0,0,.45); }
.chapter .ph .phd, .address .cap .eyebrow, .dhero .cap .when, .dhero .cap .eyebrow { font-weight:600; color:#F5F0E8; }

/* the margin's alerts in the 2.57 alert style (12 Oct): a burnt-orange triangle, never the red of a wine region */
.callout, .rail-inline .callout { border-color:color-mix(in srgb, var(--alert) 38%, var(--hair)); border-left-color:var(--alert); background:color-mix(in srgb, var(--alert) 6%, var(--raised)); }
.callout .bang, .rail-inline .callout .bang { border:0; border-radius:0; width:24px; height:22px; }
.callout .bang::after { display:none; }
.callout .bang svg { width:24px; height:22px; fill:var(--alert); }
.callout .bang svg .m { stroke:var(--paper); stroke-width:2.4; stroke-linecap:round; fill:none; }

/* ---- large text (item 3, 12 Oct): at the phone's biggest sizes the page grows downward, never off the side ---- */
#mast .mode button { font-size:min(var(--t-15), 18px); }
#mast .brand .trip, #mast .brand .wm { font-size:min(var(--t-24), 28px); }
#main input, #main textarea, #main select, #panel input, #panel textarea, #panel select { max-width:100%; min-width:0; }
dl dd, .facts dd { min-width:0; overflow-wrap:anywhere; }
dl dd a, .facts dd a { white-space:normal; overflow-wrap:anywhere; }

.chapter .facts { grid-template-columns:minmax(0, auto) minmax(0, 1fr); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #index a, #index a span, #index a span[data-phone]::before { font-size:min(var(--t-11), 12.5px); }
  .chapter .ph { aspect-ratio:auto; min-height:50vw; }
  /* the words on a stay photo sit in the flow, so a bigger size makes the card taller instead of piling the lines up */
  .chapter .ph, .ov-legsec .ov-leg .ph { display:flex; flex-direction:column; justify-content:flex-end; }
  .chapter .ph img, .ov-legsec .ov-leg .ph img { position:absolute; inset:0; }
}
.seg2 { max-width:100%; overflow-x:auto; scrollbar-width:none; }

/* ---- 2.60: one sheet, and the place card (expert review items 4 and 5, approved 12 Oct) ---- */
/* the photo on top, its kind and name on it */
#panel .phero { position:relative; margin:0 calc(var(--s5) * -1); }
#panel .phero .hero { margin:0; }
#panel .phero:not(.nophoto) .hero::after { content:''; position:absolute; inset:0; background:var(--scrim); pointer-events:none; }
#panel .phero:not(.nophoto) .phcap { position:absolute; left:var(--s5); right:var(--s5); bottom:var(--s4); z-index:2; color:#F5F0E8; text-shadow:0 1px 6px rgba(0,0,0,.45); }
#panel .phero:not(.nophoto) .phcap .eyebrow { color:#F1E8D6; font-weight:700; }
#panel .phero:not(.nophoto) .phcap h2 { color:#F5F0E8; margin:4px 0 0; }
#panel .phero.nophoto .hero { display:none; }
#panel .phero.nophoto .phcap { padding:var(--s5) var(--s5) 0; }
#panel .phero.nophoto .phcap h2 { margin-top:4px; }
/* one next step, the only black button */
#panel .nextstep { margin-top:var(--s4); background:var(--raised); border:1px solid color-mix(in srgb, var(--gold) 55%, var(--hair)); border-radius:12px; padding:12px 14px; }
#panel .nextstep[data-s="booked"] { border-color:color-mix(in srgb, var(--ok) 45%, var(--hair)); }
#panel .nextstep .k { font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); }
#panel .nextstep[data-s="booked"] .k { color:var(--ok); }
#panel .nextstep p { margin:4px 0 0; font-size:var(--t-13); color:var(--ink-2); }
#panel .acts.pair2 { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; margin-top:12px; }
#panel .acts.pair2[data-one] { grid-template-columns:minmax(0, 1fr); }
#panel .acts.pair2 > .btn { width:100%; justify-content:center; text-align:center; }
#panel .btn.ok { color:var(--ok); border-color:color-mix(in srgb, var(--ok) 55%, var(--rule)); }
/* the days, the best one said */
#panel .daysec .chip.best { border-color:var(--gold); background:color-mix(in srgb, var(--gold) 14%, var(--raised)); }
#panel .daysec .chip.best small { color:var(--ink-3); font-size:var(--t-12); }
/* four quick buttons, all the same size */
#panel .quick { display:grid; grid-template-columns:repeat(var(--qn, 4), minmax(0, 1fr)); gap:8px; margin-top:var(--s4); align-items:stretch; }
#panel .quick[data-n="3"] { --qn:3; } #panel .quick[data-n="2"] { --qn:2; }
#panel .quick > .qb, #panel .quick > .moreacts > summary { min-height:58px; flex-direction:column; gap:3px; padding:6px 4px; font-size:var(--t-12); font-weight:600; justify-content:center; text-align:center; width:100%; border:1px solid var(--rule); border-radius:8px; background:var(--raised); color:var(--ink); display:flex; align-items:center; }
#panel .quick > .qb svg { width:18px; height:18px; }
#panel .quick > .moreacts { margin:0; position:static; }
#panel .quick > .moreacts > summary { list-style:none; cursor:pointer; }
#panel .quick > .moreacts > summary::-webkit-details-marker { display:none; }
#panel .quick > .moreacts > summary svg { order:-1; width:18px; height:18px; transform:none; }
/* More: a list that rises over the card on a phone, a small menu beside it on a computer */
#panel .quick > .moreacts > .acts { position:absolute; z-index:40; right:var(--s4); left:var(--s4); margin-top:8px; background:var(--raised); border:1px solid var(--hair); border-radius:14px; box-shadow:0 12px 40px rgba(0,0,0,.25); padding:4px 0; gap:0; }
#panel .quick > .moreacts > .acts > .btn { border:0; border-bottom:1px solid var(--hair); border-radius:0; justify-content:flex-start; min-height:48px; padding:0 18px; background:none; width:100%; }
#panel .quick > .moreacts > .acts > .btn:last-child { border-bottom:0; border-top:6px solid var(--panel); color:var(--gold-ink); }
#panel .quick > .moreacts > .acts > .btn .mhint { margin-left:auto; font-style:normal; font-size:var(--t-12); color:var(--ink-3); font-weight:400; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #panel .quick > .moreacts[open]::before { content:''; position:fixed; inset:0; background:rgba(27,26,23,.35); z-index:39; }
  #panel .quick > .moreacts > .acts { position:fixed; left:12px; right:12px; bottom:calc(14px + env(safe-area-inset-bottom)); margin:0; max-height:70vh; overflow-y:auto; }
  /* half height: the page stays in view until the card is scrolled */
  #panel[data-detent="half"] { height:58%; }
  #panel { transition:transform .32s var(--ease), height .25s var(--ease); }
}
/* the concierge: one close, the day's count in its title */
/* stays: three equal buttons, the black one only on the next stay; the name opens the dossier */
.chapter .acts.tri { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; }
.chapter .acts.tri > .btn { width:100%; justify-content:center; padding:0 6px; }
.chapter .nm .nmlink { all:unset; cursor:pointer; } @media (hover:hover) { .chapter .nm .nmlink:hover { text-decoration:underline; text-underline-offset:4px; } } .chapter .nm .nmlink:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .chapter .facts { display:none; } }
#panel .phero .phcap .eyebrow { display:none; } /* the sheet header says the kind and the town (item 5) */
#panel .quick > .moreacts { display:flex; } #panel .quick > .moreacts > summary { height:100%; flex:1; }
#panel .quick { position:relative; } @media (min-width:720px) and (min-height:520px), (min-width:1001px) { #panel .quick > .moreacts > .acts { top:calc(100% + 8px); left:auto; right:0; width:min(340px, 100%); margin:0; } }
/* ---- 2.61: decision cards (expert review, approved 12 Oct). One line each on the list; a tap opens the sheet ---- */
.dlist .drow.dline { grid-template-columns:22px minmax(0, 1fr) auto; align-items:start; cursor:pointer; padding:12px 0; }
.dlist .drow.dline:focus-visible { outline:2px solid var(--gold); outline-offset:2px; border-radius:6px; }
@media (hover:hover) { .dlist .drow.dline:hover .q { text-decoration:underline; text-decoration-color:var(--rule); text-underline-offset:4px; } }
.dlist .drow .b .alertmark { display:block; width:18px; height:17px; margin-top:3px; }
.dlist .drow .c { font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.12em; text-transform:uppercase; color:var(--gold-ink); margin-top:4px; }
.dlist .drow[data-v="done"] .c { color:var(--ok); font-weight:600; letter-spacing:0; text-transform:none; font-size:var(--t-13); }
.dlist .drow .due { font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.1em; text-transform:uppercase; color:var(--alert); white-space:nowrap; margin-top:4px; }
.dlist .drow .chev { color:var(--ink-3); font-size:var(--t-20); line-height:1.1; }
#panel .dhead { padding-top:var(--s5); }
#panel .dhead h2 { margin:4px 0 0; }
#panel .dq { margin:8px 0 0; font-size:var(--t-15); line-height:1.45; color:var(--ink-2); }
#panel .dwhy { margin:6px 0 0; font-size:var(--t-13); line-height:1.45; color:var(--ink-3); }
#panel .dans { display:grid; gap:8px; margin-top:10px; }
#panel .dans > .btn { width:100%; justify-content:center; text-align:center; white-space:normal; min-height:46px; height:auto; }
#panel .dnext .dlbl { margin-top:12px; font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
#panel .dset { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
#panel .hotelf { background:var(--panel); border:1px solid var(--hair); border-radius:10px; padding:10px 12px; margin-top:10px; display:block; }
#panel .hotelf .hn { display:flex; justify-content:space-between; gap:8px; font-size:var(--t-15); }
#panel .hotelf .hn span { color:var(--ink-3); font-size:var(--t-13); }
#panel .hotelf .f3 { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; margin-top:8px; }
#panel .hotelf .f3 input { width:100%; min-width:0; box-sizing:border-box; margin:0; }
#panel .hotelf .f3 input.w { grid-column:1 / -1; }
#panel .recform .acts.pair2 { margin-top:12px; }
#panel .free.say { display:flex; gap:8px; align-items:center; margin-top:var(--s4); }
#panel .free.say textarea { flex:1; min-width:0; height:46px; min-height:46px; margin:0; border-radius:23px; padding:11px 16px; line-height:22px; resize:none; font-size:var(--t-15); box-sizing:border-box; }
#panel .free.say .go { flex:none; width:46px; height:46px; min-height:46px; padding:0; border-radius:50%; justify-content:center; margin:0; }
#panel .dpick { margin-top:10px; }
.dlist .drow.dline .q { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#panel .hotelf .f3 input { font-size:var(--t-15); padding:10px 12px; }
#panel .recform .acts.pair2 { grid-template-columns:minmax(0, 3fr) minmax(0, 2fr); }
#panel .recform .acts.pair2 > .btn { padding:0 10px; white-space:nowrap; }
/* ---- 2.61: no silent failures. What did not save says so at the top of the page and on the item ---- */
.deadbar { display:grid; grid-template-columns:20px minmax(0, 1fr) auto; gap:10px; align-items:center; margin:0 0 var(--s4); padding:10px 12px; border-radius:10px; background:color-mix(in srgb, var(--alert) 8%, var(--raised)); border:1px solid color-mix(in srgb, var(--alert) 40%, var(--hair)); }
.deadbar .alertmark { width:18px; height:17px; fill:var(--alert); }
.deadbar .alertmark .m { stroke:var(--paper); stroke-width:2.4; stroke-linecap:round; fill:none; }
.deadbar .t { display:flex; flex-direction:column; font-size:var(--t-13); line-height:1.35; min-width:0; }
.deadbar .t b { font-size:var(--t-15); color:var(--ink); }
.deadbar .t span { color:var(--ink-2); overflow:hidden; text-overflow:ellipsis; }
.deadbar .btn { min-height:40px; height:40px; }
.deadbar .t .fixlink { align-self:flex-start; margin-top:2px; padding:4px 0; min-height:0; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #index .warn { display:none; } }
.unsaved { display:inline-flex; gap:8px; align-items:center; font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.08em; text-transform:uppercase; color:var(--alert); margin-top:6px; }
.unsaved .fixlink { text-transform:none; letter-spacing:0; font-size:var(--t-13); }
.drow .unsaved { grid-column:2 / -1; }
.rail-row[data-failed] .rt { color:var(--alert); }
/* ---- 2.62: the Overview, rebuilt (the review panel, 12 Oct): the place first, one list of what needs you, status by exception ---- */
#main > .surface.ovx { max-width:1500px; padding-top:0; }
.ovx-hero { position:relative; margin:0 calc(var(--s7) * -1); height:clamp(300px, 34vw, 460px); overflow:hidden; background:#1a1814; }
.ovx-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 60%; }
.ovx-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,10,10,.05) 28%, rgba(10,10,10,.7) 86%, var(--paper)); pointer-events:none; }
:root[data-theme="light"] .ovx-hero::after { background:linear-gradient(180deg, rgba(10,10,10,.05) 28%, rgba(10,10,10,.72) 92%, rgba(10,10,10,.8)); }
.ovx-hero .tx { position:absolute; left:var(--s7); right:var(--s7); bottom:var(--s5); z-index:1; display:flex; justify-content:space-between; align-items:flex-end; gap:var(--s5); color:#F5F0E8; }
.ovx-hero .eyebrow { color:#F1E3BE; font-weight:700; text-shadow:0 1px 6px rgba(0,0,0,.4); }
.ovx-hero h1 { font-size:calc(var(--t-44) * 2.2); line-height:.92; margin:10px 0 0; color:#F7F2EA; text-shadow:0 2px 18px rgba(0,0,0,.35); }
.ovx-hero .r { text-align:right; } .ovx-hero .big { font-family:var(--display); font-size:var(--t-44); line-height:1; margin-top:6px; color:#F7F2EA; }
.ovx-facts { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); }
.ovx-facts > div { padding:var(--s4) var(--s4) var(--s4) var(--s5); border-left:1px solid var(--hair); min-width:0; } .ovx-facts > div:first-child { border-left:0; padding-left:0; }
.ovx-facts .k { font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.16em; text-transform:uppercase; color:var(--ink-3); }
.ovx-facts .v { font-family:var(--display); font-size:var(--t-24); line-height:1.25; margin-top:4px; }
.ovx-h { display:flex; align-items:baseline; gap:14px; margin:var(--s7) 0 var(--s4); }
.ovx-h::before { content:''; width:28px; height:2px; background:var(--gold); align-self:center; flex:none; }
.ovx-h h2 { font-size:var(--t-30); margin:0; } .ovx-h .dim { font-size:var(--t-13); color:var(--ink-3); }
.ovx-cols { display:grid; grid-template-columns:minmax(0, 7fr) minmax(0, 5fr); gap:var(--s7); }
.ovx-list { border-top:1px solid var(--hair); }
.ovx-r { display:grid; grid-template-columns:96px minmax(0, 1fr) auto; gap:var(--s4); align-items:center; padding:var(--s4) 0; border-bottom:1px solid var(--hair); cursor:pointer; }
.ovx-r .when { font:700 var(--t-11)/1.35 var(--ui); letter-spacing:.12em; text-transform:uppercase; color:var(--gold-ink); }
.ovx-r .when.hot, .ovx-r[data-back] .when { color:var(--alert); }
.ovx-r .t { font-size:var(--t-15); line-height:1.45; } .ovx-r .t small { display:block; color:var(--ink-3); font-size:var(--t-13); margin-top:2px; }
.ovx-r .who { display:inline-grid; place-items:center; width:20px; height:20px; border-radius:50%; border:1px solid var(--rule); font:700 10px var(--ui); color:var(--ink-2); margin-right:8px; vertical-align:2px; }
.ovx-r .btn.sm, .dm .btn.sm { min-height:34px; height:auto; padding:6px 12px; font-size:var(--t-13); }
@media (hover:hover) { .ovx-r:hover .tt { text-decoration:underline; text-decoration-color:var(--rule); text-underline-offset:4px; } }
.ovx-calm { display:flex; gap:10px; align-items:center; margin:var(--s4) 0 0; font-size:var(--t-13); color:var(--ink-2); }
.ovx-calm i { width:7px; height:7px; border-radius:50%; background:var(--ok); flex:none; }
.ovx-foot { display:flex; gap:var(--s5); margin-top:var(--s4); flex-wrap:wrap; }
.ovx-stand .big { display:flex; align-items:baseline; gap:10px; } .ovx-stand .big b { font-family:var(--display); font-weight:400; font-size:var(--t-44); line-height:1; } .ovx-stand .big span { color:var(--ink-2); font-size:var(--t-15); }
.ovx-stand .bar { height:3px; background:var(--hair); border-radius:2px; margin:var(--s3) 0 var(--s4); overflow:hidden; } .ovx-stand .bar i { display:block; height:100%; background:var(--ok); }
.ovx-stl { list-style:none; margin:0; padding:0; }
.ovx-stl li { display:flex; justify-content:space-between; gap:var(--s3); padding:var(--s3) 0; border-top:1px solid var(--hair); cursor:pointer; font-size:var(--t-15); grid-template-columns:none; }
.ovx-stl li.calm { color:var(--ink-2); cursor:default; }
.ovx-stays { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:var(--s5); }
.ovx-st { all:unset; cursor:pointer; display:block; min-width:0; }
.ovx-st:focus-visible { outline:2px solid var(--gold); outline-offset:4px; border-radius:6px; }
.ovx-st .ph { position:relative; aspect-ratio:4 / 3; border-radius:6px; overflow:hidden; background:linear-gradient(150deg, #8a7457, #3c3025); }
.ovx-st .ph img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
@media (hover:hover) { .ovx-st:hover .ph img { transform:scale(1.03); } }
.ovx-st .ph::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 45%, rgba(10,10,10,.72)); }
.ovx-st .ph .nm { position:absolute; left:16px; bottom:10px; z-index:1; font-family:var(--display); font-size:var(--t-30); color:#F7F2EA; }
.ovx-st .ph .tag { position:absolute; left:12px; top:12px; z-index:1; background:rgba(255,255,255,.92); color:#8a3a12; border-radius:12px; padding:4px 9px; font:700 10.5px var(--ui); letter-spacing:.12em; text-transform:uppercase; }
.ovx-st .d { margin-top:var(--s3); font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.ovx-st .p { font-family:var(--display); font-size:var(--t-20); line-height:1.25; margin-top:4px; }
.ovx-st .ph .ln, .ovx-st .ph .tn { display:none; }
.ovx-route { display:flex; gap:4px; align-items:center; margin-top:var(--s5); }
.ovx-route > div { height:3px; border-radius:2px; background:var(--gold); opacity:.8; } .ovx-route > div[data-now] { opacity:1; height:5px; }
.ovx-route .g { width:9px; height:9px; border:1px solid var(--gold-ink); border-radius:50%; flex:none; }
.ovx-routel { display:flex; gap:4px; margin-top:8px; font-size:var(--t-12); color:var(--ink-3); } .ovx-routel span:last-child { text-align:right; }
.ovx-next { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:var(--s5); }
.ovx-next .nx { all:unset; display:block; border:1px solid var(--hair); border-radius:10px; padding:var(--s4); background:var(--raised); }
.ovx-next button.nx { cursor:pointer; } .ovx-next button.nx:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.ovx-next .w { font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); }
.ovx-next .t { font-family:var(--display); font-size:var(--t-20); line-height:1.25; margin:8px 0 6px; } .ovx-next .s { font-size:var(--t-13); color:var(--ink-2); line-height:1.5; }
.ovx-quiet { margin:var(--s6) 0 0; font-size:var(--t-13); color:var(--ink-3); }
.ovx-now { border:1px solid color-mix(in srgb, var(--gold) 55%, var(--hair)); border-radius:12px; padding:var(--s4); background:var(--raised); margin-top:var(--s5); }
.ovx-now .w { font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); }
.ovx-now h3 { font-family:var(--display); font-size:var(--t-30); margin:6px 0 4px; } .ovx-now p { margin:0; font-size:var(--t-13); color:var(--ink-2); }
.ovx-now .acts.pair2 { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; margin-top:var(--s3); } .ovx-now .acts.pair2 > * { width:100%; justify-content:center; }
.ovx-tl .r { all:unset; display:grid; grid-template-columns:56px minmax(0, 1fr); gap:var(--s3); padding:var(--s3) 0; border-bottom:1px solid var(--hair); cursor:pointer; width:100%; }
.ovx-tl .h { font:600 var(--t-13) var(--ui); color:var(--ink-2); } .ovx-tl .n { display:block; font-family:var(--display); font-size:var(--t-20); line-height:1.25; } .ovx-tl .s { display:block; font-size:var(--t-12); color:var(--ink-3); margin-top:2px; }
.ovx-hotel { display:flex; gap:var(--s3); align-items:center; padding:var(--s4); border:1px solid var(--hair); border-radius:12px; margin-top:var(--s4); }
.ovx-hotel .t { flex:1; min-width:0; } .ovx-hotel .t b { display:block; font-family:var(--display); font-weight:400; font-size:var(--t-20); } .ovx-hotel .t span { font-size:var(--t-12); color:var(--ink-3); }
@media (max-width:1180px) { .ovx-cols { grid-template-columns:1fr; gap:0; } }
@media (max-width:1100px) and (min-width:720px) { .ovx-stays { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .ovx-hero { margin:0 calc(var(--s4) * -1); height:300px; }
  .ovx-hero .tx { left:var(--s5); right:var(--s5); bottom:var(--s4); display:block; }
  .ovx-hero h1 { font-size:calc(var(--t-44) * 1.6); }
  .ovx-hero .r { display:none; }
  .ovx-facts { display:block; border:0; padding:var(--s3) 0 0; font-size:var(--t-13); color:var(--ink-2); }
  .ovx-facts > div { display:inline; padding:0; border:0; } .ovx-facts > div + div::before { content:' · '; color:var(--ink-3); }
  .ovx-facts .k { display:none; } .ovx-facts .v { display:inline; font:500 var(--t-13) var(--ui); }
  .ovx-facts > div:nth-child(2) { display:none; }
  .ovx-h { margin:var(--s6) 0 var(--s3); } .ovx-h h2 { font-size:var(--t-24); }
  .ovx-r { grid-template-columns:72px minmax(0, 1fr); gap:var(--s3); } .ovx-r .btn { grid-column:2; justify-self:start; }
  /* 2.66: the stays as photograph bands, one above the other, all four on one screen (Michael, 12 Oct) */
  .ovx-stays { display:flex; flex-direction:column; gap:10px; }
  .ovx-st .ph { aspect-ratio:auto; height:136px; }
  .ovx-st .ph::after { background:linear-gradient(180deg, rgba(14,11,8,0) 20%, rgba(14,11,8,.72) 100%); }
  .ovx-st .ph .nm { left:16px; right:16px; bottom:32px; font-size:var(--t-30); line-height:1; }
  .ovx-st .ph .ln { display:block; position:absolute; left:16px; right:16px; bottom:12px; z-index:1; font:500 var(--t-13)/1.2 var(--ui); color:rgba(247,242,234,.92); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .ovx-st .ph .tn { display:block; position:absolute; right:10px; top:10px; z-index:1; background:var(--gold); color:#1B1A17; border-radius:12px; padding:5px 9px; font:700 10px/1 var(--ui); letter-spacing:.14em; text-transform:uppercase; }
  .ovx-st .d, .ovx-st .p { display:none; }
  .ovx-route, .ovx-routel { display:none; }
  .ovx-next { grid-template-columns:1fr; gap:var(--s3); }
  .ovx-stl.ovx-open { margin-top:0; }
}
/* the Desk: every conversation in one place, over the page */
#app[data-pkind="desk"] #panel .pbody { display:flex; flex-direction:column; padding-bottom:0; }
#panel .deskhd { padding-top:var(--s4); } #panel .deskhd h2 { margin:0; }
#panel .deskf { display:flex; gap:6px; flex-wrap:wrap; margin:var(--s3) 0 var(--s2); }
#panel .desklist { flex:1; }
#panel .dm { padding:var(--s4) 0; border-bottom:1px solid var(--hair); }
#panel .dm .f { display:flex; align-items:center; gap:10px; font:600 var(--t-13) var(--ui); min-width:0; }
#panel .dm .f .av { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font:700 11px var(--ui); background:color-mix(in srgb, var(--gold) 16%, var(--raised)); color:var(--gold-ink); flex:none; }
#panel .dm .f .av.j { background:color-mix(in srgb, #6f8fbf 22%, var(--raised)); color:#9fb6d9; }
#panel .dm .f .nm { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#panel .dm .f .k { font:700 9.5px var(--ui); letter-spacing:.14em; color:var(--ink-3); text-transform:uppercase; white-space:nowrap; }
#panel .dm .f time { margin-left:auto; font-weight:400; color:var(--ink-3); white-space:nowrap; }
#panel .dm.new .f .av { box-shadow:0 0 0 2px var(--gold); }
#panel .dm p { margin:8px 0 0 40px; font-size:var(--t-15); line-height:1.5; color:var(--ink-2); }
#panel .dm .a { display:flex; gap:8px; margin:var(--s3) 0 0 40px; flex-wrap:wrap; }
#mast .desk .n[hidden] { display:none; }
#mast .desk .n { min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--gold); color:#1a1408; font-size:var(--t-11); font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #mast .desk { position:relative; } #mast .desk .n { position:absolute; top:-5px; right:-5px; } }
/* ---- 2.63: the phone tab bar on modern phones (Michael, 12 Oct: the gold stopped short of the bottom, and Overview sat
   in the iPhone's rounded corner). The bar is the page's paper, so it runs on into the strip under it on Android; the
   home-bar space belongs to each button, so the gold runs to the bottom edge; the ends keep clear of rounded corners. ---- */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #index { background:var(--paper); padding-bottom:0; padding-left:max(10px, env(safe-area-inset-left), calc(var(--safe-hb) * .5)); padding-right:max(10px, env(safe-area-inset-right), calc(var(--safe-hb) * .5)); }
  #index a { padding-bottom:calc(8px + var(--safe-hb)); min-height:calc(54px + var(--safe-hb)); }
  #index a[aria-current="page"] { border-left:0; background:none; border-radius:0; }
}
/* ---- 2.66: five tabs (Michael, 12 Oct, the phone panel): Overview, Days, Map, the Desk, More. The page you are on
   wears a short gold rule over a gold icon, set inside the button, so a rounded corner can never clip it. ---- */
#index a[data-desk] { display:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #index a[data-desk] { display:flex; order:95; position:relative; }
  #index a[data-more] { order:100; }
  #index a { border-top:0 !important; position:relative; color:var(--ink-3); font-weight:500; }
  #index a svg { width:22px; height:22px; }
  #index a[aria-current="page"] { color:var(--ink); font-weight:600; }
  #index a[aria-current="page"] svg { color:var(--gold-ink); stroke-width:1.8; }
  #index a[aria-current="page"]::before { content:''; position:absolute; top:-1px; left:50%; transform:translateX(-50%); width:28px; height:2px; border-radius:0 0 2px 2px; background:var(--gold); }
  #index a[data-desk] .dn { position:absolute; top:4px; left:calc(50% + 6px); min-width:16px; height:16px; border-radius:8px; background:var(--gold); color:#1B1A17; font:700 9.5px/16px var(--ui); text-align:center; padding:0 4px; }
  #index a[data-desk] .dn[hidden] { display:none; }
}
/* ---- 2.63: fields read in both themes (Michael, 12 Oct: the day's note was dark ink on a dark box, and its first
   bullet sat on the border). One set of field colours per theme; every input, textarea and editor uses them. ---- */
:root { --field-bg:var(--raised); --field-ink:var(--ink); --field-ph:var(--ink-3); --field-line:var(--rule); }
input, textarea, select { color:var(--field-ink); }
input::placeholder, textarea::placeholder { color:var(--field-ph); opacity:1; }
#panel .noteed { color:var(--field-ink); background:var(--field-bg); border:1px solid var(--field-line); padding:12px 14px 12px 36px; }
#panel .noteed:focus { border-color:var(--gold); }
#panel .noteed li { padding-left:2px; } #panel .noteed li::marker { color:var(--gold-ink); }
#panel .noteed ul, #panel .noteed ol { margin:0; padding-left:20px; }
/* ---- 2.63: Defer and Remind me as a tray, and a calendar that is the same everywhere ---- */
#panel .quick > .qtray { position:absolute; z-index:41; left:0; right:0; top:calc(100% + 8px); background:var(--raised); border:1px solid var(--hair); border-radius:14px; box-shadow:0 12px 40px rgba(0,0,0,.28); padding:var(--s4); }
#panel .qtray .dpick, #panel .qtray .rpick { margin:0; padding:0; border:0; background:none; }
#panel .qtray .k { display:block; font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); margin-bottom:var(--s3); }
#panel .qtray .chips { display:flex; flex-wrap:wrap; gap:8px; }
#panel .qtray .chip { min-height:40px; padding:0 14px; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #panel .quick > .qtray { position:fixed; left:12px; right:12px; top:auto; bottom:calc(14px + env(safe-area-inset-bottom)); max-height:72vh; overflow-y:auto; }
  #panel .quick:has(> .qtray)::after { content:''; position:fixed; inset:0; background:rgba(27,26,23,.35); z-index:40; }
}
.calpick { margin-top:var(--s3); max-width:340px; }
.calpick .cphd { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.calpick .cpm { font-family:var(--display); font-size:var(--t-20); }
.calpick .cpnav { width:40px; height:40px; border-radius:50%; border:1px solid var(--rule); background:none; color:var(--ink); font-size:var(--t-20); cursor:pointer; }
.calpick .cpnav:disabled { opacity:.3; cursor:default; }
.calpick .cpgrid { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:4px; text-align:center; }
.calpick .cpdow { font:700 var(--t-11) var(--ui); color:var(--ink-3); padding:4px 0; }
.calpick .cpd { position:relative; height:40px; border-radius:8px; border:1px solid transparent; background:none; color:var(--ink); font:500 var(--t-15) var(--ui); cursor:pointer; }
@media (hover:hover) { .calpick .cpd:hover:not(:disabled) { border-color:var(--rule); } }
.calpick .cpd:disabled { color:var(--ink-3); opacity:.45; cursor:default; }
.calpick .cpd[data-trip]::after { content:''; position:absolute; left:50%; bottom:5px; width:5px; height:5px; margin-left:-2.5px; border-radius:50%; background:var(--gold); }
.calpick .cpd[data-today] { border-color:var(--rule); }
.calpick .cpd[aria-pressed="true"] { background:var(--ink); color:var(--paper); }
.calpick .cpd:focus-visible, .calpick .cpnav:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.rwhen .rtk { margin-top:var(--s3); }
.rwhen .rtimes { margin-top:6px; }
/* ---- 2.63: links on the champagne cards read in the card's own ink (Michael: the front desk and email were white on cream) ---- */
.dcard a:not(.btn), .dcard .facts dd a:not(.btn) { color:var(--ink); text-decoration:underline; text-decoration-color:var(--rule); text-underline-offset:3px; }
/* the bookings this stay holds: a row is the record's word, and opens it */
/* ---- 2.64: typing on a phone (Michael, 12 Oct: the keyboard covered the box). While the keyboard is up the shell is
   fitted above it (keepMast): the open sheet takes the whole height under the masthead, and the tab bar steps aside
   so the field has the room. ---- */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #app[data-kb] #panel, #app[data-kb] #ask { height:calc(100% - var(--mast-h)) !important; transition:none; }
  #app[data-kb] #index { display:none; }
  #app[data-kb] #panel .pbody, #app[data-kb] #ask .pbody { scroll-padding-bottom:24px; }
}
/* ---- 2.64: the stay page (Michael, 12 Oct). The facts strip reads nights and status, then check in and check out;
   on a wide screen it is one row in the order nights, check in, check out, status. The booking folds to one line. ---- */
@media (min-width:1101px) { .dstrip .f.st { order:4; border-right:0; } .dstrip .f.out { border-right:1px solid var(--hair); } }
.ledger .dsh.ltoggle { display:flex; align-items:baseline; gap:var(--s3); width:100%; padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; flex-wrap:wrap; }
.ledger .dsh.ltoggle h3 { margin:0; }
.ledger .dsh.ltoggle .dim { flex:1; min-width:0; }
.ledger .dsh.ltoggle > svg { flex:none; align-self:center; width:18px; height:18px; color:var(--ink-3); transform:rotate(90deg); transition:transform .2s; }
.ledger[data-fold] .dsh.ltoggle > svg { transform:rotate(0deg); }
.ledger[data-fold] > :not(.dsh) { display:none; }
.ledger .dsh.ltoggle:focus-visible { outline:2px solid var(--gold-ink); outline-offset:4px; border-radius:4px; }
/* ---- 2.64: the Needs you bar is a warm tint, not a white card (Michael, 12 Oct): the gold wash of the old status
   line, edged in the alert red. The text keeps its contrast in both themes. ---- */
.rail-inline.attnbar { background:color-mix(in srgb, #DEA726 13%, var(--paper)); border-color:color-mix(in srgb, var(--alert) 55%, transparent); }
.rail-inline.attnbar .attnb { background:var(--paper); }
.ledger[data-fold] .dsh { margin-bottom:0; } .ledger[data-fold] { padding-bottom:var(--s4); }
/* ---- 2.66: the way back (Michael, 12 Oct). No boxed button: a frosted round chevron on a photograph (a pill with
   the page's name on a tablet), a quiet trail above the title on a computer, a quiet text link anywhere else. ---- */
.crumb.quiet { background:none; border:0; box-shadow:none; padding:8px 0; min-height:44px; gap:6px; color:var(--ink-2); font-size:var(--t-13); letter-spacing:.02em; margin-bottom:var(--s3); }
.crumb.quiet svg { width:16px; height:16px; }
@media (hover:hover) { .crumb.quiet:hover { color:var(--ink); } }
@media (min-width:720px) { .crumb.onphoto { width:auto; padding:0 14px 0 10px; border-radius:18px; gap:6px; font-size:var(--t-13); font-weight:500; } .crumb.onphoto span { display:inline; } }
.trail { display:flex; align-items:center; gap:10px; margin:0 0 var(--s4); font-size:var(--t-11); font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.trail .tr { background:none; border:0; padding:6px 0; min-height:32px; font:inherit; letter-spacing:inherit; text-transform:inherit; color:var(--gold-ink); cursor:pointer; }
@media (hover:hover) { .trail .tr:hover { text-decoration:underline; text-underline-offset:3px; } }
.trail .sep { color:var(--ink-3); font-weight:400; }
.trail .cur { color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:50ch; }
.surface.wide .trail { position:absolute; left:var(--s4); top:calc(var(--s4) + 44px); z-index:6; margin:0; padding:4px 12px; border-radius:16px; background:color-mix(in srgb, var(--paper) 88%, transparent); }
/* 2.66: on a phone the stay's photograph sits straight under the masthead, edge to edge */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #main > .surface > .dhero:first-child { margin:calc(var(--s5) * -1) calc(var(--s4) * -1) 0; }
}
/* ---- 2.67: the day's map and My day on the phone (Michael, 12 Oct). A stop on the route is a numbered drop, so it
   is never mistaken for a group of places (those stay round). Done stops fade, the next one is gold and larger, a
   booked time rides beside it. Tapping a stop opens its row in My day, on its photograph; the next stop is always
   at the top of the sheet with a gold Go. ---- */
.pin.num { width:26px; height:26px; border-radius:50%; }
.pin.num::after { content:''; position:absolute; left:50%; bottom:-6px; width:10px; height:10px; background:inherit; transform:translateX(-50%) rotate(45deg); border-right:2px solid var(--paper); border-bottom:2px solid var(--paper); z-index:-1; }
.pin-shell .pin.num { transform:translate(-50%, calc(-100% - 6px)); }
.pin.num[data-ts="done"] { background:var(--paper); color:var(--ink-3); box-shadow:0 0 0 1.5px var(--ink-3), 0 1px 3px rgba(0,0,0,.18); }
.pin.num[data-ts="done"]::after { background:var(--paper); border-color:var(--ink-3); }
.pin.num[data-ts="next"] { width:32px; height:32px; background:var(--gold); color:#1B1A17; font-size:var(--t-15); box-shadow:0 0 0 1.5px var(--gold), 0 3px 10px rgba(0,0,0,.3); z-index:4; animation:pinpulse 1.6s ease-out 1; }
.pin.num[data-ts="next"]::after { width:12px; height:12px; bottom:-7px; }
@keyframes pinpulse { 0% { box-shadow:0 0 0 1.5px var(--gold), 0 0 0 0 color-mix(in srgb, var(--gold) 55%, transparent); } 100% { box-shadow:0 0 0 1.5px var(--gold), 0 0 0 16px transparent; } }
.pin.num .tchip { position:absolute; left:calc(100% + 4px); top:50%; transform:translateY(-50%); background:var(--gold); color:#1B1A17; font:700 10.5px/1 var(--ui); padding:4px 6px; border-radius:10px; white-space:nowrap; box-shadow:0 1px 4px rgba(0,0,0,.2); }
@media (prefers-reduced-motion:reduce) { .pin.num[data-ts="next"] { animation:none; } }
@media (max-width:1099px) { .sheet[data-open="h"] { transform:translateY(54%); } }
.sheet .btn.go, .pop .acts.lean .btn.go, .tfocus .btn.go { background:var(--gold); border-color:var(--gold); color:#1B1A17; font-weight:600; }
.sheet #sheetHead[data-next] .tpeek .nx { display:none; }
.tfocus { padding-top:0; }
.tfocus .fcard { position:relative; border-radius:10px; overflow:hidden; padding:16px; background:var(--panel); border:1px solid color-mix(in srgb, var(--gold) 45%, var(--hair)); }
.tfocus .fcard[data-img] { background:#1B1A17 var(--img) center / cover no-repeat; color:#F7F2EA; border:0; }
.tfocus .fcard[data-img]::before { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(14,11,8,.45), rgba(14,11,8,.82)); }
.tfocus .fcard > * { position:relative; }
.tfocus .fk { font:700 var(--t-11)/1.3 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); }
.tfocus .fcard[data-img] .fk { color:var(--gold); }
.tfocus h3 { font-family:var(--display); font-size:var(--t-24); font-weight:500; margin:6px 0 8px; line-height:1.15; }
.tfocus .fs { display:flex; align-items:flex-start; gap:8px; font-size:var(--t-15); line-height:1.45; } .tfocus .fs i { width:8px; height:8px; border-radius:50%; background:#4E8A3A; flex:none; margin-top:.55em; }
.tfocus .fs.shut i { background:var(--alert); }
.oline { display:block; margin-top:6px; font-size:var(--t-15); line-height:1.45; } .oline .ochange { margin-left:8px; }
.origin .ochange, .tfocus .ochange { background:none; border:0; padding:6px 0; min-height:32px; font:inherit; font-weight:600; color:inherit; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--gold); cursor:pointer; }
.tfocus .fcard[data-img] .oline { color:rgba(247,242,234,.92); }
.origin .olist { margin-top:12px; border-top:1px solid var(--hair); }
.origin .olist[hidden] { display:none; }
.origin .orow { all:unset; box-sizing:border-box; display:flex; align-items:center; gap:12px; width:100%; min-height:56px; padding:10px 0; border-bottom:1px solid var(--hair); cursor:pointer; }
.origin .orow .tx { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; } .origin .orow .t { font-size:var(--t-15); color:var(--ink); } .origin .orow .s { font-size:var(--t-13); color:var(--ink-3); }
.origin .orow svg { width:16px; height:16px; color:var(--gold-ink); flex:none; }
.origin .orow:focus-visible { outline:2px solid var(--gold-ink); outline-offset:2px; }
.tfocus .facts2 { display:grid; grid-template-columns:1fr; gap:10px; margin-top:12px; }
.tfocus .facts2 .btn { width:100%; min-height:48px; justify-content:center; }
.pop .oline { font-size:var(--t-13); margin-top:8px; color:var(--ink-2); }
.pop .origin .orow { min-height:44px; }
.pop .acts.lean { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pop .acts.lean .btn { width:100%; justify-content:center; }
/* with a stop open in My day, the sheet's head steps back to one line so the stop, Go and Details show at half height */
@media (max-width:1099px) {
  .sheet #sheetHead[data-focus] .tpeek, .sheet #sheetHead[data-focus] .tnext, .sheet #sheetHead[data-focus] .thero, .sheet #sheetHead[data-focus] .toff { display:none; }
  .sheet #sheetHead[data-focus] h2 { font-size:var(--t-20); }
  /* 2.84.2 (Michael, 21 Oct): with a stop chosen the card is the title, so the head above it says nothing twice */
  .sheet #sheetHead[data-focus] { padding:0; border-bottom:0; min-height:0; }
  .sheet #sheetHead[data-focus] .ht { display:none; }
  .tstage:has(#sheetHead[data-focus]) .fab { visibility:hidden; }
  .sheet .tfocus { margin-top:4px; }
}
/* ---- 2.68: every stay in the Club House layout (Michael, 12 Oct). The photograph runs the full width with the city
   and the hotel on it; beneath, the dates fill a strip beside a line in the host's voice, then the address, the
   website and where to eat, and three equal buttons that sit in the same place on every card. ---- */
.stroute { display:flex; gap:4px; margin:var(--s5) 0 6px; } .stroute span { height:3px; border-radius:2px; background:var(--rule); } .stroute span[data-on] { background:var(--ink); }
.stroutel { display:flex; gap:4px; margin:0 0 var(--s6); } .stroutel span { font-size:var(--t-12); color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; } .stroutel b { font-weight:600; color:var(--ink); }
.chapters.cards { gap:28px; }
.chapter.cfeat { display:block; padding:0; border:1px solid var(--hair); border-radius:4px; overflow:hidden; background:var(--raised); }
.chapter.cfeat .ph { position:relative; height:clamp(260px, 32vw, 470px); aspect-ratio:auto; border-bottom:0; cursor:pointer; }
.chapter.cfeat .ph img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.chapter.cfeat .ph::before { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(to top, rgba(14,11,8,.82) 0%, rgba(14,11,8,.55) 26%, rgba(14,11,8,.12) 52%, rgba(14,11,8,0) 66%); pointer-events:none; }
.chapter.cfeat .cap { position:absolute; left:40px; right:40px; bottom:32px; z-index:2; color:#F5F0E8; }
.chapter.cfeat .cap .city { font:600 var(--t-11)/1.3 var(--ui); font-style:normal; letter-spacing:.16em; text-transform:uppercase; color:#F1DFAE; text-shadow:0 1px 8px rgba(0,0,0,.45); }
.chapter.cfeat .cap .nm { font-family:var(--display); font-size:clamp(40px, 4.6vw, 68px); line-height:1.04; margin:10px 0 0; color:#F5F0E8; }
.chapter.cfeat .cap .nm .nmlink { color:inherit; }
.chapter.cfeat .cap .tonight { display:inline-flex; align-items:center; gap:8px; margin-top:10px; font:600 var(--t-11) var(--ui); letter-spacing:.14em; text-transform:uppercase; color:#F1DFAE; }
.chapter.cfeat .cap .tonight i { width:7px; height:7px; border-radius:50%; background:var(--gold); }
.chapter.cfeat .cband { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.15fr); }
.chapter.cfeat .cband .tx { padding:30px 40px 34px; display:flex; flex-direction:column; min-width:0; }
.chapter.cfeat .cband .tx.r { border-left:1px solid var(--hair); }
.chapter.cfeat .top { display:flex; justify-content:flex-start; }
.chapter.cfeat .mark { display:inline-flex; align-items:center; gap:6px; margin:0; font-size:var(--t-12); font-weight:500; color:var(--ink-3); }
.chapter.cfeat .mark svg { width:13px; height:13px; color:#4E6B3A; stroke-width:2; } .chapter.cfeat .mark[data-s="open"] svg { color:var(--alert); }
.chapter.cfeat .mark i { display:none; }
.chapter.cfeat .when { display:grid; grid-template-columns:1fr 1fr auto; border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); margin:14px 0 20px; }
.chapter.cfeat .when > div { padding:14px 0 14px 18px; border-left:1px solid var(--hair); display:flex; flex-direction:column; gap:5px; min-width:0; }
.chapter.cfeat .when > div:first-child { border-left:0; padding-left:0; }
.chapter.cfeat .when .k { font:600 10.5px var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.chapter.cfeat .when .v { font-family:var(--display); font-size:30px; line-height:1.05; font-variant-numeric:lining-nums; white-space:nowrap; }
.chapter.cfeat .when .v small { font:500 15px var(--ui); color:var(--ink-3); margin-right:6px; letter-spacing:.02em; }
.chapter.cfeat .when .nn { padding-right:4px; text-align:right; align-items:flex-end; } .chapter.cfeat .when .nn .v { font-size:52px; line-height:.9; }
.chapter.cfeat .host { font-family:var(--display); font-style:italic; font-size:21px; line-height:1.42; color:var(--ink-2); margin:0; }
.chapter.cfeat .facts { margin:0 0 24px; grid-template-columns:96px minmax(0, 1fr); font-size:var(--t-15); }
.chapter.cfeat .acts.tri { margin-top:auto; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; }
.chapter.cfeat .acts.tri > .btn { width:100%; min-height:46px; justify-content:center; padding:0 8px; white-space:nowrap; }
.chapter.cfeat .acts.tri > .btn.ghost { visibility:hidden; }
.chapter.cfeat[data-past] { opacity:.62; } .chapter.cfeat[data-past] .ph img { filter:grayscale(.5); }
@media (max-width:1180px) {
  .chapter.cfeat .cap { left:28px; right:28px; bottom:26px; }
  .chapter.cfeat .cband { grid-template-columns:minmax(0, 1fr) minmax(0, 1.3fr); }
  .chapter.cfeat .cband .tx { padding:26px 26px; }
  .chapter.cfeat .when .v { font-size:23px; } .chapter.cfeat .when .v small { font-size:12px; margin-right:4px; } .chapter.cfeat .when .nn .v { font-size:40px; }
  .chapter.cfeat .host { font-size:18px; }
  .chapter.cfeat .facts { grid-template-columns:78px minmax(0, 1fr); font-size:var(--t-13); }
  .chapter.cfeat .acts.tri { gap:8px; } .chapter.cfeat .acts.tri > .btn { min-height:44px; padding:0 6px; }
}
@media (max-width:900px) {
  .chapter.cfeat .cband { grid-template-columns:1fr; }
  .chapter.cfeat .cband .tx.r { border-left:0; padding-top:0; }
  .chapter.cfeat .cband .tx.l { padding-bottom:22px; }
  .chapter.cfeat .when .v { font-size:27px; } .chapter.cfeat .when .nn .v { font-size:46px; }
}
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .chapters.cards { gap:18px; }
  .chapter.cfeat .ph { height:220px; }
  .chapter.cfeat .cap { left:18px; right:18px; bottom:16px; } .chapter.cfeat .cap .nm { font-size:var(--t-30); margin-top:6px; }
  .chapter.cfeat .cband .tx { padding:18px 16px; } .chapter.cfeat .cband .tx.r { padding-top:0; }
  .chapter.cfeat .when { margin:10px 0 14px; } .chapter.cfeat .when > div { padding:10px 0 10px 12px; }
  .chapter.cfeat .when .v { font-size:22px; } .chapter.cfeat .when .v small { font-size:12px; } .chapter.cfeat .when .nn .v { font-size:34px; }
  .chapter.cfeat .host { font-size:17px; }
  .chapter.cfeat .facts { display:none; }
  .stroute, .stroutel { display:none; }
}
/* ---- 2.69: Tastings, Days · Board · List (Michael, 12 Oct). The Days view is five columns across the width; each
   item, free time included, is one row: a rule, the time, the title. Columns never squeeze: they scroll, with the
   same edge chevrons as the Days board. Every pair of buttons shares one width. ---- */
.thead .hostline { margin:8px 0 0; color:var(--ink-2); font-size:var(--t-15); max-width:62ch; }
.texc .xt p { margin:0; } .texc .xt .t { font-size:var(--t-15); color:var(--ink); } .texc .xt .s { font-size:var(--t-13); color:var(--ink-3); margin-top:2px; }
.tdays { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(190px, 1fr); gap:16px; overflow-x:auto; scroll-snap-type:x proximity; padding:4px 0 12px; margin-top:var(--s4); scrollbar-width:none; }
.tdays::-webkit-scrollbar { display:none; }
.tday { scroll-snap-align:start; min-width:0; border-top:2px solid var(--hair); padding-top:12px; }
.tday .tdh { display:flex; align-items:baseline; gap:8px; }
.tday .tdh .dn { font-family:var(--display); font-size:var(--t-30); line-height:1; font-variant-numeric:lining-nums; }
.tday .tdh .dw { font:600 var(--t-11)/1 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.tday .tdh .st { font:700 var(--t-11)/1 var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-ink); margin-left:-4px; }
.tday .tdh[data-st="free"] .st, .tday .tdh[data-st="open"] .st { color:#4E6B3A; }
.tday .tdn { margin:8px 0 12px; font-size:var(--t-13); color:var(--ink-2); line-height:1.5; }
.tdl { display:flex; flex-direction:column; gap:10px; }
.tdl .it { all:unset; box-sizing:border-box; display:grid; grid-template-columns:44px minmax(0, 1fr); gap:10px; padding:2px 0 2px 12px; border-left:2px solid var(--rule); cursor:pointer; }
.tdl .it[disabled] { cursor:default; }
.tdl .it[data-k="taste"] { border-left-color:var(--gold); }
.tdl .it[data-k="meal"] { border-left-color:var(--hair); }
.tdl .it.free { border-left:2px dashed #6E8F55; cursor:default; }
.tdl .it .tm { font:600 var(--t-12)/1.5 var(--ui); color:var(--ink-3); font-variant-numeric:tabular-nums; }
.tdl .it .tx { display:flex; flex-direction:column; gap:2px; min-width:0; }
.tdl .it .nm { font-family:var(--display); font-size:var(--t-17); line-height:1.25; color:var(--ink); }
.tdl .it.free .nm { font-family:var(--ui); font-size:var(--t-11); font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#4E6B3A; padding-top:2px; }
.tdl .it .sub { font-size:var(--t-12); color:var(--ink-3); }
.tdl .fits { display:flex; flex-direction:column; margin-top:6px; }
.tdl .fit { all:unset; box-sizing:border-box; display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:8px; align-items:baseline; padding:8px 0; border-top:1px solid var(--hair); cursor:pointer; }
.tdl .fit .l { display:flex; flex-direction:column; min-width:0; } .tdl .fit .n { font-size:var(--t-13); color:var(--ink); font-weight:500; } .tdl .fit .s { font-size:var(--t-12); color:var(--ink-3); }
.tdl .fit .w { font:700 10.5px/1 var(--ui); letter-spacing:.12em; text-transform:uppercase; color:var(--gold-ink); white-space:nowrap; }
.tdl .addhere { all:unset; cursor:pointer; margin-top:8px; padding:6px 0; font-size:var(--t-13); font-weight:600; color:var(--gold-ink); }
.tdl .addhere::after { content:' \2192'; }
.edgecue .mbnav { top:84px; }
/* the board keeps its columns: 300 px each, scrolling when the window (or the tray) leaves less */
.edgecue .tboard { display:grid; grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:minmax(300px, 1fr); overflow-x:auto; scrollbar-width:none; }
.edgecue .tboard::-webkit-scrollbar { display:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .texc .xr { grid-template-columns:auto minmax(0, 1fr); } .texc .xa { grid-column:2; grid-template-columns:1fr 1fr; }
  .tdays { grid-auto-columns:86%; gap:14px; }
  .edgecue .tboard { grid-auto-columns:86%; }
  .edgecue .mbnav { display:none !important; }
}
.thead > div:first-child { text-transform:none; letter-spacing:normal; }
.thead h2 { text-transform:none; letter-spacing:normal; font-family:var(--display); font-size:var(--t-44); font-weight:400; color:var(--ink); margin:6px 0 0; line-height:1.05; }
.thead .hostline { text-transform:none; letter-spacing:normal; font-weight:400; font-family:var(--ui); }
.tdl .fit { grid-template-columns:minmax(0, 1fr); gap:2px; }
.tdl .fit .w { font-size:10px; }
/* ---- 2.70: whole-trip search. In the masthead on every device; a palette over the page on a computer or an iPad,
   the whole screen on a phone. ---- */
#mast .srchbtn { display:inline-flex; align-items:center; gap:8px; min-height:38px; padding:0 12px 0 14px; border:1px solid var(--rule); border-radius:20px; background:var(--raised); color:var(--ink-3); font-size:var(--t-13); margin-left:0; margin-right:10px; cursor:pointer; }
#mast .srchbtn svg { width:16px; height:16px; color:var(--ink-2); }
#mast .srchbtn kbd { font:600 11px var(--ui); color:var(--ink-3); border:1px solid var(--hair); border-radius:5px; padding:2px 6px; margin-left:18px; background:var(--paper); }
@media (hover:hover) { #mast .srchbtn:hover { border-color:var(--gold); color:var(--ink); } }
@media (max-width:1099px) { #mast .srchbtn kbd { display:none; } #mast .srchbtn span { display:none; } #mast .srchbtn { width:40px; height:40px; padding:0; justify-content:center; border-radius:50%; margin-right:8px; } }
.srch { position:fixed; inset:0; z-index:900; display:flex; justify-content:center; align-items:flex-start; padding:9vh 16px 16px; }
.srch .sback { position:absolute; inset:0; background:rgba(14,11,8,.42); }
.srch .sbox { position:relative; width:min(680px, 100%); max-height:78vh; display:flex; flex-direction:column; background:var(--raised); border-radius:14px; box-shadow:0 24px 70px rgba(0,0,0,.35); overflow:hidden; }
.srch .stop { display:flex; align-items:center; gap:10px; padding:12px 14px 12px 18px; border-bottom:1px solid var(--hair); }
.srch .sic svg { width:18px; height:18px; color:var(--ink-3); display:block; }
.srch input { flex:1; min-width:0; border:0; outline:none; background:none; font:400 18px var(--ui); color:var(--ink); padding:8px 0; -webkit-appearance:none; appearance:none; }
.srch input::-webkit-search-cancel-button { display:none; }
.srch .scancel { flex:none; border:1px solid var(--hair); border-radius:6px; background:var(--paper); color:var(--ink-3); font:600 12px var(--ui); padding:6px 10px; min-height:32px; cursor:pointer; }
.srch .sres { overflow-y:auto; padding:6px 8px 10px; overscroll-behavior:contain; }
.srch .sgh { display:flex; justify-content:space-between; align-items:center; padding:12px 10px 6px; font:700 var(--t-11) var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.srch .sclr { border:0; background:none; font:600 var(--t-12) var(--ui); letter-spacing:0; text-transform:none; color:var(--gold-ink); cursor:pointer; padding:6px 2px; min-height:32px; }
.srch .srow { all:unset; box-sizing:border-box; display:grid; grid-template-columns:32px minmax(0, 1fr) 14px; gap:10px; align-items:center; width:100%; min-height:52px; padding:8px 10px; border-radius:8px; cursor:pointer; }
.srch .srow.on { background:color-mix(in srgb, var(--gold) 12%, transparent); } @media (hover:hover) { .srch .srow:hover { background:color-mix(in srgb, var(--gold) 12%, transparent); } }
.srch .srow:focus-visible { outline:2px solid var(--gold-ink); outline-offset:-2px; }
.srch .srow .sk { width:32px; height:32px; border-radius:8px; background:var(--paper); display:grid; place-items:center; color:var(--ink-2); } .srch .srow .sk svg { width:16px; height:16px; }
.srch .srow .st { display:flex; flex-direction:column; min-width:0; } .srch .srow .sn { font-size:var(--t-15); color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .srch .srow .ss { font-size:var(--t-12); color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.srch .srow > svg { width:14px; height:14px; color:var(--ink-3); }
.srch .srow.ask { margin-top:8px; border-top:1px solid var(--hair); border-radius:0 0 8px 8px; padding-top:12px; }
.srch .srow.ask .sk { background:var(--ink); color:var(--paper); } .srch .srow.ask .sn { color:var(--gold-ink); font-weight:600; }
.srch .snone { margin:14px 10px 4px; font-size:var(--t-15); color:var(--ink-2); }
.srch .shint { margin:16px 10px; font-size:var(--t-13); color:var(--ink-3); line-height:1.5; }
.srch .smore { all:unset; cursor:pointer; padding:8px 10px 8px 52px; font-size:var(--t-13); font-weight:600; color:var(--gold-ink); }
.srch .srec { display:grid; grid-template-columns:minmax(0, 1fr) 44px; align-items:center; }
.srch .srq { all:unset; cursor:pointer; padding:10px; font-size:var(--t-15); color:var(--ink); border-radius:8px; } @media (hover:hover) { .srch .srq:hover { background:color-mix(in srgb, var(--gold) 10%, transparent); } }
.srch .sx { border:0; background:none; width:44px; height:44px; display:grid; place-items:center; color:var(--ink-3); cursor:pointer; } .srch .sx svg { width:14px; height:14px; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .srch { padding:0; }
  .srch .sback { display:none; }
  .srch .sbox { width:100%; max-height:none; height:100%; border-radius:0; box-shadow:none; padding-top:env(safe-area-inset-top); }
  .srch .stop { padding:10px 12px 10px 16px; }
  .srch input { font-size:17px; }
  .srch .scancel { border:0; background:none; font-size:var(--t-15); color:var(--gold-ink); padding:8px 4px; }
  .srch .sres { flex:1; padding-bottom:calc(16px + env(safe-area-inset-bottom)); }
}
/* 2.70 critique fixes: equal clash buttons, Go and Details side by side, 44 px targets */
.tfocus .facts2 { grid-template-columns:1fr 1fr; }
@media (max-width:1099px) { #mast .srchbtn { width:44px; height:44px; } }
.srch .scancel { min-height:44px; min-width:44px; }
.oline .ow { white-space:normal; }
/* ---- 2.71: the day sheet's times. A booked time sits in the right-hand slot, so the times read down one column; a
   request the venue has not confirmed says so under its time. The drive to the next stop moves under the name. */
.stop.seq .go.tm { flex-direction:column; align-items:flex-end; gap:3px; padding-top:2px; }
.stop.seq .go.tm b { font-family:var(--ui); font-size:var(--t-17, 17px); font-weight:600; font-variant-numeric:tabular-nums; color:var(--ink); letter-spacing:0; line-height:1.15; }
.stop.seq .go.tm small { font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-ink); }
.stop.seq .sub .drv { color:var(--ink-3); }
.onway .owh .owc { white-space:nowrap; } /* 2.71: the count and its chevron never part (Michael: the chevron wrapped onto a line of its own) */
/* ---- 2.71: the place card. The time leads, in one block under the picture; two buttons of one width under it; the
   picture shorter at the half rest so both show without scrolling; moving or removing it waits at the foot. */
#panel .whenb { margin-top:var(--s4); background:var(--raised); border:1px solid var(--hair); border-left:3px solid var(--ok); border-radius:10px; padding:13px 16px 12px; }
#panel .whenb[data-s="held"] { border-left-color:var(--gold); }
#panel .whenb .big { font:400 var(--t-28, 28px)/1.1 var(--display); color:var(--ink); font-variant-numeric:lining-nums; }
#panel .whenb .big em { font-style:normal; font-size:.7em; color:var(--ink-3); }
#panel .whenb .st { display:flex; flex-wrap:wrap; align-items:center; gap:0 8px; margin-top:7px; font:600 var(--t-13)/1.4 var(--ui); color:var(--ok); }
#panel .whenb[data-s="held"] .st { color:var(--gold-ink); }
#panel .whenb .st i { width:8px; height:8px; border-radius:50%; background:currentColor; flex:none; }
#panel .whenb .st .x { font-weight:400; color:var(--ink-2); }
#panel .whenb .wt { margin-top:3px; font-size:var(--t-13); color:var(--ink-2); }
#panel .whenb .nt { margin-top:5px; font-size:var(--t-12); line-height:1.45; color:var(--ink-3); }
#panel .acts.whenpair { margin-top:var(--s3); }
#panel .acts.planpair { margin-top:var(--s3); }
#panel .acts.planpair .btn { background:transparent; color:var(--ink-2); font-weight:500; }
#panel .daysec + .acts.planpair { margin-top:var(--s3); }
@media (max-width:1099px) {
  #panel[data-detent="half"] .phero:not(.nophoto) .hero { aspect-ratio:auto; height:150px; }
  #panel .phero:not(.nophoto) .hero img { width:100%; height:100%; object-fit:cover; }
}
#panel .whenpair + .lede, #panel .nextslot + .lede { margin-top:var(--s4); }
/* ---- 2.71: the phone sheet at full height reaches the top of the screen, just under the clock, over the masthead,
   the way Apple Maps and Find My do (Michael, 12 Oct). Its own header is the way back down. */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #app[data-panel="open"] #panel:not([data-detent="half"]) { height:calc(100% - env(safe-area-inset-top, 0px) - 10px); z-index:60; }
  #app[data-panel="open"] #panel[data-detent="half"] { z-index:60; }
}
/* ---- 2.72: one look for every place on every map (Michael, 12 Oct, with the Fable panel; mockup m271/gold B).
   The icon says what it is; the outline says where it stands; colour is the region only on the groups seen zoomed out;
   gold is only ever our hotel. Map colours are fixed, so a dark phone theme never turns the pins black on a light map. */
:root { --map-paper:#F6F1E8; --map-ink:#0A0A0A; --map-grey:#8E877B; }
.pin.ico { width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--map-paper); color:var(--map-ink); border:2.2px solid var(--map-ink); box-shadow:0 1px 3px rgba(0,0,0,.25); }
.pin.ico svg { width:14px; height:14px; flex:none; stroke:currentColor; }
.pin.ico[data-on] { width:26px; height:26px; }
.pin.ico[data-st="booked"] { background:var(--map-ink); color:var(--map-paper); border-color:var(--map-ink); }
.pin.ico[data-st="plan"] { background:var(--map-paper); color:var(--map-ink); border:2.5px solid var(--map-ink); }
.pin.ico[data-st="option"] { background:var(--map-paper); color:#6B665C; border:2px dashed #6B665C; box-shadow:0 1px 2px rgba(0,0,0,.15); }
.pin-shell .pin.ico { transform:translate(-50%,-50%); }
.pin.ico.pulse::after { border-color:var(--map-ink); }
/* our hotel: the one gold thing on the map, a disc with a bed */
.pin.stay { width:30px; height:30px; border-radius:50%; transform:none; display:flex; align-items:center; justify-content:center; background:var(--gold); color:var(--map-ink); border:1.5px solid var(--map-ink); box-shadow:0 1px 4px rgba(0,0,0,.3); }
.pin.stay svg { width:16px; height:16px; stroke:currentColor; }
.pin-shell .pin.stay { transform:translate(-50%,-50%); }
/* the day's stops: the same numbered circle as the day list, one size; no tail */
.pin.num, .pin.num[data-ts="next"] { width:26px; height:26px; border-radius:50%; background:var(--pc); color:var(--map-paper); font-size:var(--t-12); border:1.5px solid var(--map-paper); box-shadow:0 1px 3px rgba(0,0,0,.28); animation:none; }
.pin.num::after, .pin.num[data-ts="next"]::after { display:none; content:none; }
.pin-shell .pin.num { transform:translate(-50%,-50%); }
.pin.num[data-ts="done"] { background:var(--map-paper); color:var(--map-grey); border:1.5px solid var(--map-grey); box-shadow:0 1px 2px rgba(0,0,0,.12); }
.pin.num[data-ts="here"] { background:var(--map-paper); color:var(--map-ink); border:2.2px solid var(--map-ink); z-index:4; }
.pin.num .tchip { background:var(--map-paper); color:var(--map-ink); border:1px solid var(--map-ink); }
/* groups: the region colour, zoomed out; a booked place inside rings it in ink, not gold */
.pin.clu[data-booked] { box-shadow:0 0 0 2.5px var(--map-paper), 0 0 0 5px var(--map-ink), 0 3px 10px rgba(0,0,0,.26); }
/* photo spots and good light leave gold */
.pin.frame { background:var(--map-paper); color:var(--map-ink); box-shadow:0 0 0 1.5px var(--map-ink), 0 2px 6px rgba(0,0,0,.22); }
.pin[data-light]::before { background:var(--map-ink); border-color:var(--map-paper); }
/* the key draws with the map's own pins */
.ksw.kpin { width:30px; height:30px; display:flex; align-items:center; justify-content:center; background:none; border:0; box-shadow:none; border-radius:0; transform:none; margin:0; }
.ksw.kpin .pin { position:static; transform:none; cursor:default; }
.ksw.kpin .pin.stay { width:26px; height:26px; } .ksw.kpin .pin.stay svg { width:14px; height:14px; }
.ksw.kring { width:18px; height:18px; border-radius:50%; margin:0 6px; background:transparent; transform:none; box-shadow:none; border:2.2px solid currentColor; color:var(--ink); }
.ksw.kring[data-st="booked"] { background:currentColor; }
.ksw.kring[data-st="option"] { border-style:dashed; color:var(--ink-3); }
.ksw[data-k="route"] { background:var(--ink); }
.ksw[data-k="stay"] { width:16px; height:16px; border-radius:50%; transform:none; background:var(--gold); box-shadow:0 0 0 1.5px var(--map-ink); }
.ksw[data-k="num"] { background:var(--wine); }
.minchip { border-color:var(--map-grey); color:var(--map-ink); background:var(--map-paper); }
.minchip.ring { color:var(--map-grey); }
/* 2.72 critique fixes */
.pin.clu { box-shadow:0 0 0 2.5px var(--map-paper), 0 0 0 4.5px var(--pc), 0 3px 10px rgba(0,0,0,.26); }
.pin.clu[data-booked] { box-shadow:0 0 0 2.5px var(--map-paper), 0 0 0 5px var(--map-ink), 0 3px 10px rgba(0,0,0,.26); }
.pin.ico.onw { width:24px; height:24px; opacity:1; cursor:pointer; }
.pin.ico.onw::after { display:none; }
.pin.ico.onw.off { opacity:.5; }
.pin.ico.onw.sel { border:2.5px solid var(--map-ink); color:var(--map-ink); z-index:3; }
.pin.num[data-ts="done"] { color:#6B665C; }
.pin-shell .plabel.here { left:-30px; top:16px; background:var(--map-paper); border:1px solid var(--map-ink); }
.pin-shell .plabel.here span { color:var(--map-ink); font-family:var(--ui); font-weight:600; font-size:var(--t-12); }
.seq .k.bedk .bedd, .stopr .k.bedk .bedd { display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--gold); color:#0A0A0A; box-shadow:0 0 0 1px #0A0A0A; }
.seq .k.bedk .bedd svg, .stopr .k.bedk .bedd svg { width:12px; height:12px; stroke:currentColor; }
.ksw[data-k="stay"] { background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18v-8h18v8M3 13h18M6 10V7h5v3' fill='none' stroke='%230A0A0A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
/* ---- 2.73: one swipe for every row. Right is the positive thing on gold; left the parting thing on cream. ---- */
.swu[data-tone="gold"] { background:var(--gold) !important; color:#0A0A0A !important; }
.swu[data-tone="cream"] { background:#F5F0E8 !important; color:#0A0A0A !important; border:1px solid var(--rule); }
.swu[data-tone="red"] { background:var(--alert) !important; color:#fff !important; }
li .under.swu, .attnr .under.swu, .owr .under.swu { visibility:visible; justify-content:flex-start; }
li .under.swu[data-side="l"], .attnr .under.swu[data-side="l"], .owr .under.swu[data-side="l"] { justify-content:flex-end; }
li .under.swu:empty:not([data-open]) { background:transparent !important; border:0; }
[data-swipe] > .tswipe { display:flex; }
[data-swipe="r"] > .tswipe.swu { right:calc(100% + 6px); justify-content:flex-end; }
[data-swipe="l"] > .tswipe.swu { left:calc(100% + 6px); justify-content:flex-start; }
.tswipe.swu[data-open] { pointer-events:auto; width:90px; padding:0; justify-content:center !important; }
.swbtn { all:unset; box-sizing:border-box; width:100%; height:100%; display:flex; align-items:center; justify-content:center; font:700 var(--t-12)/1.2 var(--ui); letter-spacing:.08em; text-transform:uppercase; text-align:center; padding:0 6px; cursor:pointer; color:inherit; }
.under.swu[data-open] { pointer-events:auto; }
.dcard.hoff { position:relative; }
/* the day's picture moves between days: two quiet chevrons say so */
.dayhero .dpg { position:absolute; top:50%; width:22px; height:22px; margin-top:-11px; border-radius:50%; background:rgba(246,241,232,.55); z-index:3; pointer-events:none; }
.dayhero .dpg::after { content:''; position:absolute; inset:7px; border:solid #0A0A0A; border-width:0 1.6px 1.6px 0; transform:rotate(135deg); }
.dayhero .dpg.l { left:8px; } .dayhero .dpg.r { right:8px; } .dayhero .dpg.r::after { transform:rotate(-45deg); }
@media (hover:hover) and (min-width:1100px) { .dayhero .dpg { display:none; } }
/* the cover's Later is a parting action, not a destructive one: cream, not red (Michael, 12 Oct) */
#cover .cswipe[data-dir="l"] .cunder { background:#F5F0E8; color:#0A0A0A; }
@media (prefers-reduced-motion:reduce) { .dayhero { transition:none !important; } }

/* ===== 2.74 · the Travel Wallet ===== */
#main .surface.wallet { max-width: 720px; }
.wallet .wey { margin: var(--s6) 0 var(--s2); }
.wsos { display:flex; justify-content:space-between; align-items:center; gap:var(--s3); margin-top:var(--s4); padding:14px 16px; border-radius:12px; background:#A8461B; color:#fff; text-decoration:none; }
.wsos b { display:block; font:700 var(--t-30)/1 var(--ui); font-variant-numeric:tabular-nums; }
.wsos small { display:block; margin-top:4px; font:var(--t-13)/1.35 var(--ui); opacity:.94; }
.wsos .call { flex:none; display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 16px; border-radius:22px; background:#fff; color:#A8461B; font:700 var(--t-13) var(--ui); }
.wnums { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:8px; }
.wnums a { display:block; min-height:44px; padding:8px 10px; border:1px solid var(--hair); border-radius:10px; color:var(--ink-2); text-decoration:none; font:var(--t-12)/1.3 var(--ui); }
.wnums b { display:block; color:var(--ink); font:700 var(--t-17) var(--ui); font-variant-numeric:tabular-nums; }
.wtaxi { background:#0A0A0A; color:#F5F0E8; border-radius:12px; padding:16px; }
.wtaxi .t { font:600 var(--t-11) var(--ui); letter-spacing:.18em; text-transform:uppercase; color:var(--gold); }
.wtaxi .n { font:400 var(--t-24)/1.15 var(--display); margin-top:6px; }
.wtaxi .a { font:var(--t-15)/1.4 var(--ui); margin-top:4px; }
.wtaxi .i { font:var(--t-13)/1.4 var(--ui); color:#C9C1B2; margin-top:4px; font-variant-numeric:tabular-nums; }
.wtaxi .btn { border-color:rgba(245,240,232,.4); color:#F5F0E8; background:transparent; }
.wl-acts { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.wl-acts .btn { min-height:44px; text-decoration:none; }
.wl-acts .btn.off { opacity:.45; cursor:not-allowed; }
.wcard { background:var(--raised); border:1px solid var(--hair); border-radius:12px; padding:12px 14px; }
.wcard + .wcard { margin-top:8px; }
.wcard .n { font:400 var(--t-17)/1.25 var(--display); }
.wcard .s { font:var(--t-13)/1.45 var(--ui); color:var(--ink-2); margin-top:2px; }
.wlock { display:flex; flex-wrap:wrap; gap:8px; align-items:flex-start; padding:8px 10px; border-radius:8px; background:rgba(78,107,58,.09); color:var(--ok); font:var(--t-13)/1.4 var(--ui); }
.wlock svg { flex:none; margin-top:2px; }
.wlock span { flex:1 1 220px; }
.wlock.warn { background:rgba(168,70,27,.08); color:var(--alert); }
.wins { margin-top:8px; background:var(--raised); border:1px solid var(--hair); border-radius:12px; padding:12px 14px; }
.wins.sample { border:1px dashed var(--gold); }
.wsample { display:inline-block; margin-bottom:8px; padding:3px 6px; border-radius:4px; background:none; border:1px solid var(--rule); color:var(--ink-2); font:700 var(--t-11) var(--ui); letter-spacing:.12em; text-transform:uppercase; }
.wkv { margin:0; }
.wkv > div { display:grid; grid-template-columns:92px 1fr; gap:4px 10px; padding:4px 0; }
.wkv dt { font:600 var(--t-11) var(--ui); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding-top:3px; }
.wkv dd { margin:0; font:var(--t-15)/1.4 var(--ui); overflow-wrap:anywhere; }
.wform { margin-top:8px; background:var(--raised); border:1px solid var(--hair); border-radius:12px; padding:12px 14px; }
.wform .eyebrow { margin:14px 0 6px; }
.wform .eyebrow:first-child { margin-top:0; }
.wl-f { display:block; margin-bottom:8px; }
.wl-f span { display:block; font:var(--t-12) var(--ui); color:var(--ink-2); margin-bottom:3px; }
.wform input { width:100%; box-sizing:border-box; min-height:44px; padding:8px 10px; border:1px solid var(--hair); border-radius:8px; background:var(--paper); color:var(--ink); font:16px var(--ui); }
.wx { display:grid; grid-template-columns:1fr 1fr 44px; gap:6px; align-items:center; margin-bottom:10px; padding-bottom:10px; border-bottom:1px solid var(--hair); }
.wx input:nth-child(1) { grid-column:1 / 3; }
.wx .chip { grid-column:3; grid-row:1; min-width:44px; min-height:44px; padding:0; justify-content:center; }
.wx input:nth-child(3) { grid-column:2 / 4; }
.werr { color:var(--alert); font:var(--t-13)/1.4 var(--ui); }
.wwipe { margin-top:12px; color:var(--alert); }
.wl-list { border-top:1px solid var(--hair); }
.wl-row { display:flex; align-items:center; gap:12px; min-height:52px; padding:6px 0; border-bottom:1px solid var(--hair); }
.wl-row .tx { flex:1; min-width:0; }
.wl-row .n { font:var(--t-15)/1.3 var(--ui); }
.wl-row .s { font:var(--t-12)/1.35 var(--ui); color:var(--ink-3); font-variant-numeric:tabular-nums; }
.wfoot { margin-top:var(--s6); }
.drvcard { position:fixed; inset:0; z-index:200; background:#0A0A0A; color:#F5F0E8; display:flex; flex-direction:column; justify-content:center; gap:14px; padding:calc(24px + env(safe-area-inset-top)) 28px calc(24px + env(safe-area-inset-bottom)); outline:none; }
.drvcard .t { font:600 var(--t-13) var(--ui); letter-spacing:.16em; text-transform:uppercase; color:var(--gold); }
.drvcard .n { font:400 clamp(30px, 8vw, 56px)/1.1 var(--display); }
.drvcard .a { font:600 clamp(28px, 7.5vw, 52px)/1.15 var(--ui); }
.drvcard .c { font:clamp(20px, 5vw, 32px)/1.2 var(--ui); color:#C9C1B2; }
.drvcard .p { font:clamp(20px, 5vw, 30px)/1.2 var(--ui); font-variant-numeric:tabular-nums; }
.drvcard .x { position:absolute; left:0; right:0; bottom:calc(18px + env(safe-area-inset-bottom)); text-align:center; font:var(--t-12) var(--ui); color:#8F887B; }
[data-scheme="dark"] .wtaxi { border:1px solid rgba(222,167,38,.35); }
.wallet .linkish { background:none; border:0; padding:0; min-height:44px; font:600 var(--t-13) var(--ui); color:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }

/* ===== 2.75 · Wine: one page, two tabs; the Visits list as one fixed grid ===== */
.twl { margin-top:var(--s4); container-type:inline-size; }
.twl-h, .twl-r { display:grid; grid-template-columns:56px minmax(200px, 1.4fr) 128px 96px 112px 152px minmax(160px, 1fr) 96px; column-gap:16px; align-items:center; }
.twl-h { padding:0 0 8px; border-bottom:1px solid var(--rule); font:600 var(--t-11) var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.twl-r { min-height:72px; padding:8px 0; border-bottom:1px solid var(--hair); cursor:pointer; }
@media (hover:hover) { .twl-r:hover { background:color-mix(in srgb, var(--gold) 5%, transparent); } }
.twl-r .ph { width:56px; height:56px; border-radius:6px; overflow:hidden; background:var(--sunken); display:block; }
.twl-r .ph img { width:100%; height:100%; object-fit:cover; display:block; }
.twl-r .tb { display:flex; flex-direction:column; min-width:0; }
.twl-r .nm { font:400 var(--t-17)/1.2 var(--display); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.twl-r .sub { font:var(--t-12)/1.35 var(--ui); color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.twl-r .when, .twl-r .drv { display:flex; flex-direction:column; font:var(--t-13)/1.35 var(--ui); font-variant-numeric:tabular-nums; white-space:nowrap; }
.twl-r .when b, .twl-r .drv b { font-weight:600; color:var(--ink); }
.twl-r .when span, .twl-r .drv span { color:var(--ink-3); }
.twl-r .when .pencil { color:var(--hold); }
.twl-r .none { color:var(--ink-3); }
.twl-r .twl-s { justify-self:start; white-space:nowrap; }
.twl-r .open { font:var(--t-13) var(--ui); white-space:nowrap; color:var(--ink-2); display:flex; align-items:center; gap:6px; }
.twl-r .open::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--ink-3); flex:none; }
.twl-r .open[data-k="ok"]::before { background:var(--ok); }
.twl-r .open[data-k="hold"]::before { background:var(--hold); }
.twl-r .open[data-k="ask"]::before { background:var(--alert); }
.twl-r .tnote { font:var(--t-13)/1.35 var(--ui); color:var(--ink-2); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.twl-r .qa { display:flex; align-items:center; justify-content:flex-end; gap:8px; color:var(--ink-3); }
.twl-r .qa .btn { white-space:nowrap; }
.twl-r[data-st="out"] { opacity:.55; }
@container (max-width:1100px) { .twl-h, .twl-r { grid-template-columns:56px minmax(180px, 1fr) 124px 92px 104px 96px; } .twl-h span:nth-child(6), .twl-h span:nth-child(7), .twl-r .open, .twl-r .tnote { display:none; } }
@container (max-width:640px) {
  .twl-h { display:none; }
  .twl-r { grid-template-columns:52px minmax(0, 1fr) auto; grid-template-areas:"ph tb st" "ph when st"; row-gap:2px; }
  .twl-r .ph { grid-area:ph; width:52px; height:52px; } .twl-r .tb { grid-area:tb; } .twl-r .twl-s { grid-area:st; align-self:center; }
  .twl-r .when { grid-area:when; flex-direction:row; gap:6px; } .twl-r .drv, .twl-r .qa { display:none; }
}
/* 2.75 prototype: the Desk absorbs For you and the Inbox; the letters button leaves the masthead; the wider sheet (item 13) */
#lettersBtn { display:none !important; }
.deskfoot { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; padding:12px 0 4px; border-top:1px solid var(--hair); margin-top:8px; }
.deskfoot p { margin:0; flex:1 1 220px; }
@media (min-width:1440px) { :root { --panel-w: clamp(480px, 34vw, 640px); } }
.deskhd { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.deskfw { margin:16px 0 8px; }
/* 2.75 prototype: the menu foot, Wallet beside Settings and a quiet pencil to arrange the menu */
#app:not([data-tray="closed"]) #index .wf { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; row-gap:2px; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #app #index .wf { display:none !important; } }
#index .wf .wfw { grid-column:1 / -1; }
#index .wf .wfed { margin-right:8px; width:32px; height:32px; display:grid; place-items:center; background:none; border:0; border-radius:50%; color:var(--ink-3); opacity:.7; cursor:pointer; }
@media (hover:hover) { #index .wf .wfed:hover { opacity:1; background:color-mix(in srgb, var(--ink) 8%, transparent); } }
.wtaxi .hint { font:var(--t-12) var(--ui); color:#8F887B; margin-top:10px; }

/* ===== 2.75 · Gold means "you are here" or "this needs you" (designer, 13 Oct) =====
   No decorative gold bars under titles or before section heads; hierarchy by type and space; hairlines neutral. */
.rulebar { display:none; }
.dsec .dsh h3::before, .ov-sec .dsh h3::before { display:none; }
.ovx-h::before { display:none; }
.ovx-h { border-top:1px solid var(--rule); padding-top:var(--s5); }
:root { --hair:rgba(27,26,23,.10); --rule:rgba(27,26,23,.26); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-scheme="light"]) { --hair:rgba(245,240,232,.10); --rule:rgba(245,240,232,.22); } }
:root[data-scheme="dark"], :root[data-theme="dark"] { --hair:rgba(245,240,232,.10); --rule:rgba(245,240,232,.22); }


/* To settle: one quiet line that opens */
.settle { margin:var(--s5) 0 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.settle .sh { display:flex; align-items:center; gap:12px; width:100%; min-height:44px; background:none; border:0; padding:0; cursor:pointer; color:var(--ink); text-align:left; }
.settle .sh .eyebrow { flex:none; color:var(--ink-2); }
.settle .sh .cnt { flex:none; min-width:20px; height:20px; padding:0 6px; border-radius:10px; display:grid; place-items:center; font:600 var(--t-12) var(--ui); color:var(--out); background:color-mix(in srgb, var(--out) 16%, transparent); }
.settle .sh .first { flex:1; min-width:0; font:var(--t-13) var(--ui); color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.settle .sh svg { flex:none; color:var(--ink-3); transform:rotate(90deg); transition:transform .15s; }
.settle[data-open] .sh svg { transform:rotate(-90deg); }
.settle[data-open] .sh .first { visibility:hidden; }
.settle .xr { display:grid; grid-template-columns:10px minmax(0,1fr) auto; gap:12px; align-items:start; padding:12px 0; border-top:1px solid var(--hair); }
.settle .xr > i { width:8px; height:8px; border-radius:50%; background:var(--out); margin-top:7px; }
.settle .xt p { margin:0; } .settle .xt .t { font:var(--t-15)/1.4 var(--ui); color:var(--ink); } .settle .xt .s { font:var(--t-13)/1.4 var(--ui); color:var(--ink-3); margin-top:2px; }
.settle .xa { display:flex; gap:16px; padding-top:2px; }
.settle .lk { background:none; border:0; padding:0; min-height:32px; font:600 var(--t-13) var(--ui); color:var(--gold-ink); cursor:pointer; white-space:nowrap; }
.settle .lk.quiet { color:var(--ink-2); font-weight:500; }
:root[data-scheme="dark"] .settle .lk:not(.quiet) { color:var(--gold); }

/* the Visits table: Winery, Status, When, Drive, Note */
.twl-h, .twl-r { grid-template-columns:56px minmax(220px, 1.4fr) 128px 128px 104px minmax(180px, 1fr) 24px; }
.twl-r .twl-req { justify-self:start; white-space:nowrap; }
@container (max-width:1100px) { .twl-h, .twl-r { grid-template-columns:56px minmax(180px, 1fr) 112px 124px 92px 24px; } .twl-h span:nth-child(6), .twl-r .tnote { display:none; } }

/* the Desk: what it is, and three views */
.deskhd { align-items:flex-start; }
.deskwhat { margin:6px 0 0; font:var(--t-15)/1.45 var(--ui); color:var(--ink-2); max-width:460px; }
/* 2.81: the three views never wrap; a view with something in it wears a 6px gold dot, centred on the label (design review, 15 Oct) */
.deskseg { display:flex; gap:22px; margin:var(--s4) 0 var(--s2); border-bottom:1px solid var(--rule); }
.deskseg button { background:none; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; padding:0 0 10px; min-height:40px; font:500 var(--t-15) var(--ui); color:var(--ink-3); cursor:pointer; display:flex; align-items:center; gap:6px; white-space:nowrap; flex:0 0 auto; }
.deskseg button[aria-selected="true"] { color:var(--ink); border-bottom-color:var(--gold); }
.deskseg .dot { width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:var(--gold); }
.deskseg .sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
@media (max-width:380px) { .deskseg { gap:16px; } }
.deskcount { font:400 18px/1.35 var(--display); color:var(--ink); margin:var(--s3) 0 var(--s2); }
.deskempty { font:400 22px/1.35 var(--display); color:var(--ink-2); padding:28px 0 8px; text-align:center; margin:0; }
.deskf { margin-bottom:var(--s3); }

/* the Wallet fills the screen on a computer or tablet */
.wgrid { display:block; }
@media (min-width:1100px) {
  #main .surface.wallet { max-width:1480px; }
  .wgrid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:24px; align-items:start; margin-top:var(--s5); }
  .wsec { background:var(--raised); border:1px solid var(--hair); border-radius:12px; padding:var(--s5); }
  .wcol { display:flex; flex-direction:column; gap:24px; min-width:0; }
  .wsec .wey:first-child, .wsec > .eyebrow:first-child { margin-top:0; }
  .wsec .wsos { margin-top:0; }
  .wsec .wcard { background:transparent; }
}
@media (min-width:720px) and (max-width:1099px) { .wgrid { display:grid; grid-template-columns:1fr 1fr; gap:20px; } .wcol { display:contents; } .wsec.emer { order:1; } .wsec.tonight { order:2; } .wsec.posts { order:3; } .wsec.moves { order:4; } .wsec.mine { order:5; } .wsec.papers { order:6; } }

/* one home for arranging: the menu; the phone bar is its first three */

.settle + .dsec { margin-top:var(--s5); }
@media (max-width:719px) {
  .settle .xr { grid-template-columns:10px minmax(0,1fr); }
  .settle .xa { grid-column:2; padding-top:4px; }
}
@media (max-width:719px) { .thead { flex-wrap:wrap; } .thead > div:first-child { min-width:0; width:100%; } }
.deskhd .btn { white-space:nowrap; flex:none; }
@media (min-width:1100px) { .wsec { padding:var(--s4) var(--s5); } .wgrid { gap:20px; } .wcol { gap:20px; } }
@media (max-width:719px) { .deskhd { flex-direction:column; align-items:stretch; gap:12px; } .deskhd .btn { align-self:flex-start; } }
/* round three (Michael, 13 Oct) */
.settle + .dsec { border-top:0; margin-top:0; padding-top:var(--s5); }
.wtitle { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.wtitle h2 { margin:0; }
.desktask { display:flex; padding:10px 0 6px; border-top:1px solid var(--hair); }
.desktask .lk { display:inline-flex; align-items:center; gap:8px; background:none; border:0; padding:0; min-height:40px; font:500 var(--t-15) var(--ui); color:var(--ink-2); cursor:pointer; }
@media (hover:hover) { .desktask .lk:hover { color:var(--ink); } }
@media (max-width:719px) {
  #tcands .dsh { flex-wrap:wrap; } #tcands .dsh .dim { display:none; }
  #tcands .tabs .tab { font-size:var(--t-17); }
  #tcands .fbar { flex-wrap:nowrap; gap:8px; margin:var(--s3) 0; }
  #tcands .fbar .fq { flex:1 1 auto; font-size:16px; padding:10px 12px; }
  #tcands .fbar .btn { flex:none; width:44px; height:44px; padding:0; justify-content:center; }
  #tcands .fbar .btn span { display:none; }
  .wtitle .seg2 button { padding:6px 10px; font-size:var(--t-13); }
  .wineh, .thead { margin-bottom:0; }
}
/* the Wallet on a computer: sized to fit one screen */
@media (min-width:1100px) {
  .wallet h2 { font-size:var(--t-30); }
  .wsec { padding:16px 18px; }
  .wsec .wsos { padding:10px 14px; } .wsec .wsos b { font-size:26px; } .wsec .wsos small { font-size:12.5px; } .wsec .wsos .call { min-height:36px; padding:0 12px; }
  .wsec .wnums a { min-height:0; padding:6px 10px; } .wsec .wnums b { font-size:15px; }
  .wsec .wtaxi { padding:12px 14px; } .wsec .wtaxi .n { font-size:20px; } .wsec .wtaxi .a { font-size:14px; } .wsec .wtaxi .hint { margin-top:6px; }
  .wsec .wl-acts { margin-top:8px; } .wsec .wl-acts .btn { min-height:36px; padding:0 12px; font-size:13px; }
  .wsec .wcard { padding:10px 12px; } .wsec .wcard .n { font-size:16px; } .wsec .wcard .s { font-size:12.5px; }
  .wsec .wlock { font-size:12.5px; padding:6px 8px; } .wsec .wlock .linkish { min-height:0; }
  .wsec .wins { padding:10px 12px; } .wsec .wkv > div { padding:2px 0; grid-template-columns:80px 1fr; } .wsec .wkv dd { font-size:13.5px; }
  .wsec .doctile { min-height:0; padding:10px; } .wsec .doctile .nm { font-size:13px; }
  .wsec p.small, .wsec .dim.small { font-size:12px; margin:8px 0 0; }
  .wsec .wl-row { min-height:40px; } .wsec .wl-row .n { font-size:14px; }
  .wsec .wey { margin:0 0 8px; }
}
@media (min-width:720px) and (max-width:1099px) { .wsec { background:var(--raised); border:1px solid var(--hair); border-radius:12px; padding:var(--s4); } .wsec .wey:first-child, .wsec > .eyebrow:first-child { margin-top:0; } .wsec .wsos { margin-top:0; } .wgrid { align-items:start; } }
@media (min-width:1100px) {
  .wsec.papers .doctiles { grid-template-columns:1fr; gap:0; }
  .wsec.papers .doctile { display:grid; grid-template-columns:22px 1fr auto; align-items:center; gap:10px; min-height:38px; padding:6px 0; border:0; border-bottom:1px solid var(--hair); border-radius:0; background:none; text-align:left; }
  .wsec.papers .doctile .di { margin:0; } .wsec.papers .doctile .nm { font-size:13.5px; } .wsec.papers .doctile .st { font-size:11px; margin:0; }
}
/* round four (Michael, 13 Oct) */
.thead > div:first-child { flex:1 1 auto; min-width:0; }
.wtitle { width:100%; }
#mast .mode button[aria-pressed="true"] { background:var(--gold); color:#0A0A0A; }
#app[data-pkind="desk"] #panelKind { font:400 var(--t-30)/1.1 var(--display); letter-spacing:0; text-transform:none; color:var(--ink); }
#app[data-pkind="desk"] .deskhd { margin-top:0; }
.deskwhat { margin-top:0; }
.settle.inrail { border:0; margin:0; }
.settle.inrail .xr { grid-template-columns:10px minmax(0,1fr); padding:12px 0; }
.settle.inrail .xa { grid-column:2; padding-top:6px; }
.settle.inrail .xr:first-child { border-top:0; }
@media (min-width:720px) and (max-width:1099px) { .wgrid.two { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; } .wgrid.two .wcol { display:flex; flex-direction:column; gap:20px; min-width:0; } }
.thead + .dsec { border-top:0; margin-top:var(--s5); padding-top:0; }
/* round five: the rail's actions sit on the right, apart from the task */
.settle.inrail .xa { justify-content:flex-end; gap:8px; }
.settle.inrail .lk { border:1px solid var(--rule); border-radius:8px; padding:0 12px; min-height:32px; }
.settle.inrail .lk:not(.quiet) { border-color:rgba(222,167,38,.55); }

/* the page switch (designer, 13 Oct; Michael chose A, the medallion): two pages of one place */
.pswitch { display:flex; gap:8px; width:100%; max-width:720px; margin-top:var(--s4); }
.pcell { flex:1 1 0; min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:14px; align-items:center; text-align:left; background:none; border:1px solid transparent; border-radius:12px; padding:16px 18px; cursor:pointer; color:var(--ink-2); transition:background .15s, border-color .15s; }
.pcell .ptx { display:flex; flex-direction:column; gap:4px; min-width:0; }
.pcell .pt { display:flex; align-items:baseline; gap:12px; min-width:0; }
.pcell .pn { font:400 var(--t-24)/1.1 var(--display); color:var(--ink-2); }
.pcell .pc { font:500 var(--t-13) var(--ui); color:var(--ink-3); font-variant-numeric:tabular-nums; white-space:nowrap; }
.pcell .pd { font:14px/20px var(--ui); color:var(--ink-3); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pcell .pi { width:40px; height:40px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--hair); color:var(--ink-2); flex:none; }
.pcell[aria-selected="true"] { background:color-mix(in srgb, var(--ink) 4%, transparent); border-color:var(--hair); }
.pcell[aria-selected="true"] .pn { color:var(--ink); }
.pcell[aria-selected="true"] .pi { background:var(--gold); border-color:var(--gold); color:#0A0A0A; }
@media (hover:hover) { .pcell:not([aria-selected="true"]):hover .pn { color:var(--ink); } }
@media (hover:hover) { .pcell:not([aria-selected="true"]):hover .pi { border-color:var(--ink-3); } }
.pcell:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.thead .seg2 { align-self:flex-end; }
@media (max-width:719px) {
  .pswitch { display:grid; grid-template-columns:1fr 1fr; position:sticky; top:0; z-index:5; background:var(--paper); padding:6px 0; }
  .pcell { padding:12px; column-gap:10px; }
  .pcell .pi { width:32px; height:32px; } .pcell .pi svg { width:18px; height:18px; }
  .pcell .pt { flex-direction:column; align-items:flex-start; gap:2px; }
  .pcell .pn { font-size:var(--t-20); } .pcell .pc { font-size:11px; } .pcell .pd { display:none; }
}
/* the in-page strip takes the rail's cues: actions on the right, as buttons */
.settle .xa { justify-content:flex-end; gap:8px; }
.settle .lk { border:1px solid var(--rule); border-radius:8px; padding:0 12px; }
.settle .lk:not(.quiet) { border-color:rgba(222,167,38,.55); }

/* 2.75: every sheet's name is its title in the header bar (the Desk's style, Michael 13 Oct) */
#panel .phead #panelKind.ttl { font:400 var(--t-30)/1.15 var(--display); letter-spacing:0; text-transform:none; color:var(--ink); white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-width:0; flex:1; padding:12px 0; transition:opacity .18s; }
#panel .phead #panelKind.ttl.long { font-size:var(--t-24); }
@media (max-width:1099px) { #panel .phead #panelKind.ttl { font-size:var(--t-24); } }
#panel .phead.late #panelKind.ttl { opacity:0; }
#panel .phead.late.shown #panelKind.ttl { opacity:1; }
#panelBody h1.inhead, #panelBody h2.inhead { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; margin:0; padding:0; }
#app[data-pkind="desk"] #panelKind { font:400 var(--t-30)/1.1 var(--display); }

/* 2.75: papers with pages */
#panel .docopts { display:flex; flex-direction:column; margin-top:var(--s4); border-top:1px solid var(--hair); }
#panel .docopt { display:flex; align-items:center; gap:14px; min-height:60px; padding:8px 0; border-bottom:1px solid var(--hair); text-align:left; color:var(--ink); cursor:pointer; }
#panel .docopt:disabled { opacity:.45; cursor:default; }
#panel .docopt .ic { width:40px; height:40px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--hair); color:var(--ink-2); flex:none; }
@media (hover:hover) { #panel .docopt:not(:disabled):hover .ic { border-color:var(--gold); color:var(--gold-ink); } }
#panel .docopt .tx { display:flex; flex-direction:column; gap:2px; } #panel .docopt .l { font:500 var(--t-15) var(--ui); } #panel .docopt .s { font:var(--t-13) var(--ui); color:var(--ink-3); }
#panel .docpg { margin-top:10px; text-align:center; font:600 var(--t-12) var(--ui); color:var(--ink-3); letter-spacing:.04em; }
#panel .docstrip { display:flex; gap:8px; margin-top:12px; overflow-x:auto; padding:4px 2px; }
#panel .docstrip .pg { flex:none; width:44px; height:58px; border:1px solid var(--rule); border-radius:4px; overflow:hidden; display:grid; place-items:center; background:var(--sunken); color:var(--ink-3); cursor:pointer; }
#panel .docstrip .pg img { width:100%; height:100%; object-fit:cover; }
#panel .docstrip .pg.on { outline:2px solid var(--gold); outline-offset:2px; }
#panel .docstrip .pg.add { background:none; border-style:dashed; }
#panel .docstrip .pg .pdf { font:700 10px var(--ui); letter-spacing:.08em; }
#panel .docpdf { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; min-height:180px; border:1px solid var(--hair); border-radius:6px; color:var(--ink-3); font:var(--t-13) var(--ui); }
#panel .docview + .docpg + .docstrip, #panel .docview + .docstrip { margin-top:10px; }
.warnline { color:var(--warn, var(--gold-ink)); }
/* 2.75: the menu editor marks the three pages on the phone bar */
.erow .nm { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.erow .bartag { display:none; flex:none; margin-right:6px; color:var(--ink-3); }
.erow.onbar .bartag { display:inline-block; }
.seg2.ghost { visibility:hidden; pointer-events:none; }

/* 2.76: the side panel (item 13, Fable's seven recommendations, approved 13 Oct) */
/* widths: a small laptop, a large screen, the iPad upright; the phone stays full width */
@media (min-width:720px) and (max-width:1099px) { #app:not([data-mode="travel"]):not([data-pkind="letters"]):not([data-pkind="alert"]) #panel { width:min(480px, 100%); } }
@media (min-width:1100px) { #app:not([data-mode="travel"]):not([data-pkind="letters"]):not([data-pkind="alert"]) #panel { width:clamp(440px, 38vw, 520px); } }
@media (min-width:1440px) { #app:not([data-mode="travel"]):not([data-pkind="letters"]):not([data-pkind="alert"]) #panel { width:clamp(480px, 34vw, 640px); } }
/* a computer or an iPad across: a panel beside a live page, no dimming; a hairline and a soft shadow mark its edge */
@media (min-width:1100px) { #app[data-panel="open"] #scrim { opacity:0 !important; pointer-events:none; } #app[data-panel="open"] #panel { box-shadow:-10px 0 32px rgba(0,0,0,.22); border-left:1px solid var(--rule); } }
/* the iPad upright, the iPad mini and the phone: the page dims and a tap on it closes the sheet */
@media (max-width:1099px) { #scrim { background:rgba(10,10,10,.4) !important; } }
/* the header: the title, a named step back, and an X */
#panel .phead { display:flex; align-items:center; gap:6px; padding:0 8px 0 var(--s5); min-height:64px; position:relative; }
#panel .phead #panelKind { flex:1; min-width:0; }
#panel .phead #panelKind:not(.ttl) { font:600 var(--t-11) var(--ui); letter-spacing:.16em; text-transform:uppercase; color:var(--ink-3); }
#panel .phead #panelKind.ttl { padding:10px 0; }
#app #panel .phead .close { flex:none; width:44px; height:44px; min-height:44px; padding:0; border-radius:50%; display:grid; place-items:center; color:var(--ink-2); }
@media (hover:hover) { #app #panel .phead .close:hover { color:var(--ink); background:color-mix(in srgb, var(--ink) 7%, transparent); } }
#app #panel .phead .close svg { width:20px; height:20px; transform:none; }
#app #panel .phead .back { flex:none; display:inline-flex; align-items:center; gap:4px; width:auto; min-width:44px; height:44px; padding:0 8px 0 4px; margin-left:-10px; border:0; border-radius:22px; color:var(--ink-2); }
#app #panel .phead .back[hidden] { display:none; }
@media (hover:hover) { #app #panel .phead .back:hover { color:var(--ink); background:color-mix(in srgb, var(--ink) 7%, transparent); } }
#app #panel .phead .back svg { width:20px; height:20px; flex:none; }
#app #panel .phead .back .bt { font:500 var(--t-14, 14px) var(--ui); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:220px; }
@media (min-width:720px) { #app #panel .phead .back .bt { display:none; } #app #panel .phead .back { padding:0; justify-content:center; width:44px; } }
@media (max-width:719px) { #app #panel .phead .back:not([hidden]) { display:inline-flex; } #app #panel .phead .back:not([hidden]) ~ #panelKind { flex:1; } }
/* a reply or a note half written: asked before it goes */
#panel .phead .discard { position:absolute; left:0; right:0; top:100%; z-index:5; display:flex; align-items:center; gap:8px; padding:10px var(--s5); background:var(--panel); border-bottom:1px solid var(--rule); box-shadow:0 6px 16px rgba(0,0,0,.18); font:500 var(--t-14, 14px) var(--ui); }
#panel .phead .discard span { flex:1; }

/* 2.77 prototype: the Overview (item 12) */
.ovx-foot { align-items:center; gap:var(--s3); }
.ovx-foot .ovx-see { display:inline-flex; align-items:center; gap:6px; }
.ovx-stand .ovx-kind { display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:10px 0; border:0; border-top:1px solid var(--hair); background:none; color:var(--ink); text-align:left; cursor:pointer; font:inherit; }
.ovx-stand .ovx-kind .kn { flex:1; font:500 var(--t-15, 15px) var(--ui); }
.ovx-stand .ovx-kind .kc { font:500 var(--t-13) var(--ui); color:var(--ink-3); font-variant-numeric:tabular-nums; }
.ovx-stand .ovx-kind svg { color:var(--ink-3); }
@media (hover:hover) { .ovx-stand .ovx-kind:hover .kn { color:var(--gold-ink); } }
.ovx-stand .ovx-kind + .ovx-open { margin:0 0 6px; }
.ovx-stand .bar { margin-bottom:var(--s4); }
/* 2.77 prototype: With the hotel (item 6) */
.dhotel .hreq { list-style:none; margin:var(--s3) 0 0; padding:0; border-top:1px solid var(--hair); }
.dhotel .hreq > li { display:grid; grid-template-columns:118px minmax(0,1fr) auto; gap:12px; align-items:center; padding:12px 0; border-bottom:1px solid var(--hair); }
.dhotel .hst { display:inline-flex; align-items:center; gap:6px; font:600 10.5px var(--ui); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); white-space:nowrap; }
.dhotel .hst i { width:8px; height:8px; border-radius:50%; border:1.5px solid currentColor; flex:none; }
.dhotel .hst[data-s="arranged"] { color:var(--ok); } .dhotel .hst[data-s="arranged"] i { background:currentColor; }
.dhotel .hst[data-s="asked"], .dhotel .hst[data-s="letter"] { color:var(--ink-2); } .dhotel .hst[data-s="asked"] i { background:linear-gradient(90deg, currentColor 50%, transparent 50%); }
.dhotel .t { display:flex; flex-direction:column; gap:2px; min-width:0; } .dhotel .t .nm { font:500 var(--t-15, 15px) var(--ui); } .dhotel .t .sub { font-size:var(--t-13); color:var(--ink-3); }
.dhotel .ha { display:flex; align-items:center; gap:6px; }
.dhotel .hx { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:var(--ink-3); background:none; border:0; cursor:pointer; }
@media (hover:hover) { .dhotel .hx:hover { color:var(--ink); background:color-mix(in srgb, var(--ink) 7%, transparent); } }
.dhotel .harr, .dhotel .hadd { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.dhotel .hadd { margin-top:10px; } .dhotel .harr select, .dhotel .harr input, .dhotel .hadd input { min-height:40px; }
.dhotel .hadd input { flex:1 1 260px; }
.dhotel > .btn { margin-top:var(--s3); }
@media (max-width:719px) { .dhotel .hreq > li { grid-template-columns:minmax(0,1fr) auto; } .dhotel .hst { grid-column:1 / -1; } }
.ovx-stand .ovx-kind + .ovx-open li { padding-left:16px; }
/* 2.77: the hotel pin, centred, larger, with a cream ring (Michael chose B, 13 Oct). The stay page's .stay padding no longer reaches it */
.pin.stay { padding:0 !important; width:38px; height:38px; border:2px solid #F5F0E8; box-shadow:0 0 0 1px rgba(10,10,10,.7), 0 2px 6px rgba(0,0,0,.35); }
.pin.stay svg { width:22px; height:22px; stroke-width:1.9; margin-top:-1px; }
.ksw.kpin .pin.stay { width:28px; height:28px; border-width:1.5px; } .ksw.kpin .pin.stay svg { width:16px; height:16px; }
/* 2.77: choose the phone bar on the phone */
/* 2.77 (Michael, 13 Oct: "Before we go takes up too much space on the phone"; designer's compact row): the date and the
   verb as one small line, the title under it in at most two lines, a chevron, no sub line, three rows */
@media (max-width:719px){
  .ovx-needs .ovx-r{display:grid;grid-template-columns:auto 1fr 16px;grid-template-areas:"when verb chev" "t t chev";align-items:center;column-gap:8px;row-gap:3px;padding:12px 0;border-top:1px solid var(--hair);position:relative}
  .ovx-needs .ovx-r:first-child{border-top:0}
  .ovx-needs .ovx-r .when{grid-area:when;font:600 11px/1.4 var(--ui);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);white-space:nowrap}
  .ovx-needs .ovx-r .when.hot{color:var(--gold)}
  .ovx-needs .ovx-r .btn.sm{grid-area:verb;justify-self:start;background:none;border:0;padding:0;min-height:0;font:600 11px/1.4 var(--ui);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2)}
  .ovx-needs .ovx-r .btn.sm::before{content:"\00b7";margin-right:8px;color:var(--ink-3)}
  .ovx-needs .ovx-r .t{grid-area:t;min-width:0}
  .ovx-needs .ovx-r .tt{font:16px/1.35 var(--ui);color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .ovx-needs .ovx-r .who{display:inline;font-size:16px;color:var(--ink-2)}
  .ovx-needs .ovx-r small{display:none}
  .ovx-needs .ovx-r::after{grid-area:chev;content:"";width:8px;height:8px;border-right:1.5px solid var(--ink-3);border-bottom:1.5px solid var(--ink-3);transform:rotate(-45deg);justify-self:end}
  .ovx-needs .ovx-list>.ovx-r:nth-child(n+4){display:none}
  .ovx-needs .ovx-foot{padding-top:12px;display:flex;gap:16px;align-items:center}
  .ovx-needs .ovx-foot .btn{padding:8px 14px;min-height:40px}
}

/* 2.78: an email being read. The page dims and cannot be pressed; a card says it can be closed and an alert will come */
#panelBody.veiled { pointer-events:none; filter:blur(1.5px); opacity:.45; transition:opacity .2s; }
.mveil { position:absolute; left:0; right:0; bottom:0; z-index:40; display:flex; align-items:flex-start; justify-content:center; padding:96px var(--s5) 0; background:color-mix(in srgb, var(--paper) 55%, transparent); }
.mveil-card { width:100%; max-width:360px; background:var(--raised); border:1px solid var(--hair); border-radius:18px; padding:28px 24px 20px; text-align:center; box-shadow:0 18px 50px rgba(0,0,0,.14); }
.mveil-card h3 { font-family:var(--display); font-weight:400; font-size:var(--t-24); margin:0 0 10px; color:var(--ink); }
.mveil-card p { font-size:var(--t-15); line-height:1.5; color:var(--ink-2); margin:0 0 8px; }
.mveil-card .btn { width:100%; margin-top:14px; }
.mveil-card .small { margin-top:10px; }
.mspin { width:40px; height:40px; margin:0 auto 18px; border-radius:50%; border:3px solid var(--hair); border-top-color:var(--gold); animation:mspin 1s linear infinite; }
@keyframes mspin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mspin { animation-duration:3s; } }
.mjob.reading::before { content:''; display:inline-block; width:9px; height:9px; margin-right:6px; vertical-align:-1px; border-radius:50%; border:2px solid var(--hair); border-top-color:var(--gold); animation:mspin 1s linear infinite; }
/* a reading that failed: what happened, in a quiet box above the ways forward */
.mfail { border:1px solid var(--hair); border-radius:14px; padding:16px 18px; margin:8px 0 4px; background:var(--raised); }
.mfail b { display:block; font-size:var(--t-15); color:var(--ink); margin-bottom:6px; font-weight:600; }
.mfail p { font-size:var(--t-15); line-height:1.5; color:var(--ink-2); margin:0 0 6px; }
/* 2.79: a leg the router could not give. Calm, on the line itself, and pressable */
.minchip.unrouted { pointer-events:auto; cursor:pointer; display:inline-flex; align-items:center; gap:8px; border-color:var(--hair); color:var(--ink-2); font-weight:500; padding:4px 10px; min-height:28px; }
.minchip.unrouted b { color:var(--gold-ink); font-weight:700; }

/* 2.81.1: said in place of a map when the device cannot draw one (MapLibre 6 needs WebGL2) */
.mapfail { margin:0; padding:24px 16px; text-align:center; font:400 var(--t-15) var(--ui); color:var(--ink-2); }

/* ===== 2.81.2 (15 Oct) ===== */
/* items 6 and 18: one close everywhere, the X centred in a visible circle; 44 px to tap, 36 px to see */
#app #panel .phead .close, #ask .phead .close, .daypane.sheet .sclose { flex:none; position:relative; width:44px; height:44px; min-height:44px; padding:0; margin:0; display:grid; place-items:center; place-content:center; justify-content:center; border:0; border-radius:50%; background:none; color:var(--ink-2); }
/* Michael, 16 Oct: the same close as the map's card, everywhere: a shaded disc (a shade darker than the surface it sits on,
   never white), a rule-coloured edge, and on a computer the edge turns gold and the X turns a quarter on hover */
#app #panel .phead .close::before, #ask .phead .close::before, .daypane.sheet .sclose::before { content:''; position:absolute; top:4px; left:4px; width:36px; height:36px; box-sizing:border-box; border-radius:50%; border:1px solid var(--rule); background:color-mix(in srgb, var(--ink) 6%, transparent); transition:border-color .2s; }
#app #panel .phead .close svg, #ask .phead .close svg, .daypane.sheet .sclose svg { position:relative; width:16px; height:16px; transform:none; transition:transform .25s ease, color .2s; }
@media (hover:hover) and (pointer:fine) { #app #panel .phead .close:hover, #ask .phead .close:hover, .daypane.sheet .sclose:hover { color:var(--gold-ink); background:none; } #app #panel .phead .close:hover::before, #ask .phead .close:hover::before, .daypane.sheet .sclose:hover::before { border-color:var(--gold); } #app #panel .phead .close:hover svg, #ask .phead .close:hover svg, .daypane.sheet .sclose:hover svg { transform:rotate(90deg); } }
/* item 15: the gold grabbers sit 3 px lower, off the sheet's edge */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #panel .phead::before { top:9px; } }
.sheet .grab { padding-top:15px; padding-bottom:7px; }
.mapsheet .msh { padding-top:11px; }
/* item 19: titles keep the space their gold rule used to give */
.rulebar { display:block; height:0; width:auto; background:none; margin:0 0 var(--s4); }
/* item 9: the Desk's three tabs span the width; each gold bar stays the width of its label */
.deskseg { justify-content:space-between; gap:16px; }
/* items 22 and 24: phone pages scroll up and down only; single-line serif titles keep their descenders */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #main { overflow-x:hidden; overscroll-behavior-x:none; } }
.trow .tt, .transfer .tt { line-height:1.25; padding-bottom:2px; }
/* item 23: Settled is a decision made: green, with the hollow dot that tells it from Booked */
.status[data-s="settled"] { color:var(--ok); }
.trow .tb .tsub { display:block; margin-top:6px; font-size:var(--t-15); color:var(--ink-2); line-height:1.35; }
.legform .fld2 { display:grid; grid-template-columns:1fr 1fr; gap:var(--s3); }
.legform .fld2 .fld { margin:0; }
.legacts { margin-top:var(--s4); }
/* item 12: one way back. No photo: the round chevron at the top left of the page head, never a boxed button */
.crumb.disc { position:relative; display:inline-grid; place-items:center; width:36px; height:36px; min-height:0; padding:0; margin:0 0 var(--s3) -2px; gap:0; border-radius:50%; border:1px solid var(--hair); background:var(--raised); color:var(--ink); box-shadow:none; }
.crumb.disc svg { width:18px; height:18px; }
.crumb.disc::after { content:''; position:absolute; inset:-4px; }
@media (hover:hover) { .crumb.disc:hover { border-color:var(--ink-3); } }
#cover .cback, #cover .cback:is(*) { display:inline-grid; place-items:center; width:36px; height:36px; padding:0; gap:0; border-radius:50%; border:1px solid var(--hair); background:var(--raised); color:var(--ink); }
#cover .cback svg { width:18px; height:18px; }
/* item 4: the day opened from its stay: no photo, the date and the city */
.dayhead.compact { padding:var(--s5) 0 var(--s3); }
.dayhead.compact h2 { font-family:var(--display); font-size:var(--t-28, 28px); line-height:1.2; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding-bottom:2px; }
.dayhead.compact .city { margin:6px 0 0; font-size:var(--t-20); color:var(--ink-2); }
/* item 26: the travel sheet rests wherever it is let go; the list can always scroll to its end */
.sheet[data-open="1"] { transform:translateY(4px); }
.sheet[data-open="f"] { transform:translateY(var(--sheet-y, 54%)); }
@media (max-width:1099px) { .sheet[data-open="f"] .sbody { padding-bottom:calc(var(--sheet-y, 0px) + 24px); } .sheet[data-open="h"] .sbody { padding-bottom:50dvh; } }
@media (min-width:1100px) { .sheet[data-open="f"] { transform:none; } }
/* 2.84.4: one gesture. With a stop chosen, the day rises over the stop's card at the pace of the finger (--cover, set
   from the sheet's height), and the card dims under it (--dim) */
.tlhead { display:none; }
@media (max-width:1099px) {
  .sheet .sbody { overscroll-behavior:contain; }
  /* the browser never scrolls the list while the sheet is still rising: the finger moves the sheet (2.85.0 review) */
  .sheet:not([data-open="1"]) .sbody { touch-action:pan-x; }
  .sheet[data-open="1"] .sbody { overscroll-behavior:none; }
  .sheet .sbody[data-focus] .tfocus { position:relative; z-index:0; opacity:calc(1 - var(--dim, 0) * .7); transition:opacity .32s var(--ease); }
  .sheet .sbody[data-focus] .tlayer { position:relative; z-index:1; margin:0 calc(var(--s5) * -1); padding:2px var(--s5) 0; background:var(--raised); border-radius:14px 14px 0 0; box-shadow:0 -12px 24px -20px rgba(0,0,0,.45); transform:translateY(calc(var(--cover, 0px) * -1)); transition:transform .32s var(--ease); }
  .sheet.dragging .sbody[data-focus] .tlayer, .sheet.dragging .sbody[data-focus] .tfocus { transition:none; }
  .sheet .sbody[data-focus] .tlhead { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px var(--s3); padding:16px 0 6px; border-bottom:1px solid var(--hair); }
  .sheet .sbody[data-focus] .tlhead h2 { font-size:var(--t-24); margin:0; }
}
/* item 26: the chosen stop on the travel map sends out the radar ring, in its own colour */
.pin.radar { z-index:4; }
.pin.radar::before, .pin.radar::after, .pin.num.radar::after { content:""; display:block; position:absolute; top:-3px; right:-3px; bottom:-3px; left:-3px; width:auto; height:auto; transform-origin:50% 50%; background:none; border-radius:50%; border:2px solid var(--pc, var(--gold)); pointer-events:none; animation:pinradar 2s ease-out infinite; }
.pin.radar::after { animation-delay:1s; }
@keyframes pinradar { 0% { transform:scale(1); opacity:.85; } 100% { transform:scale(2.8); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .pin.radar::before, .pin.radar::after { animation:none; transform:scale(1.5); opacity:.6; } }
/* item 21: the count tiles are equal buttons; the one in use is marked like a chosen tab */
.wstats.wtiles { align-items:stretch; }
.wstats.wtiles .wt { font:inherit; color:inherit; text-align:left; cursor:pointer; display:flex; flex-direction:column; gap:4px; min-height:84px; }
.wstats.wtiles .wt .l { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wstats.wtiles .wt[aria-pressed="true"] { border-color:var(--gold); background:color-mix(in srgb, var(--gold) 10%, var(--panel)); box-shadow:inset 0 -2px 0 var(--gold); }
@media (hover:hover) { .wstats.wtiles .wt:hover { border-color:var(--ink-3); } }
/* ---- F. the mode field and its sheet ---- */
.legform .modebtn { display:flex; align-items:center; gap:12px; width:100%; min-height:52px; padding:0 12px 0 14px; border:1px solid var(--rule); border-radius:4px; background:var(--raised); color:var(--ink); font:inherit; font-size:var(--t-15); text-align:left; }
.legform .modebtn .v { flex:1; }
.legform .modebtn svg:first-child { color:var(--ink-2); }
.legform .modebtn svg:last-child { color:var(--ink-3); }
.msheet-scrim { position:fixed; inset:0; background:rgba(10,10,10,.42); z-index:60; }
.msheet { position:fixed; left:0; right:0; bottom:0; top:max(12px, env(safe-area-inset-top)); z-index:61; background:var(--panel); border-radius:14px 14px 0 0; box-shadow:0 -10px 40px rgba(0,0,0,.28); display:flex; flex-direction:column; overflow:hidden; }
.msheet::before { content:''; position:absolute; top:9px; left:50%; width:40px; height:4px; margin-left:-20px; border-radius:2px; background:var(--gold); }
.msheet .mhd { display:flex; align-items:center; justify-content:space-between; padding:20px var(--s4) 0; }
.msheet .mhd .ttl { font-family:var(--display); font-size:var(--t-24); color:var(--ink); }
.msheet .mhd .x { width:36px; height:36px; border-radius:50%; border:1px solid var(--hair); display:grid; place-items:center; place-content:center; color:var(--ink-2); background:none; padding:0; }
.msheet .mlist { overflow-y:auto; padding:0 var(--s4) calc(var(--s4) + env(safe-area-inset-bottom)); }
.msheet .mg { font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding:10px 0 0; line-height:16px; }
.msheet .mg.other { padding:6px 0 0; border-top:1px solid var(--rule); margin-top:4px; }
.msheet .mrow { display:flex; align-items:center; gap:14px; width:100%; min-height:44px; height:44px; padding:0 2px; line-height:1.2; border-top:1px solid var(--hair); background:none; color:var(--ink); font:inherit; font-size:var(--t-15); text-align:left; }
.msheet .mg + .mrow { border-top:0; }
.msheet .mrow svg:first-child { color:var(--ink-2); flex:none; }
.msheet .mrow .l { flex:1; }
.msheet .mrow[aria-selected="true"] { color:var(--ink); font-weight:600; }
.msheet .mrow[aria-selected="true"] svg { color:var(--gold-ink); }
.msheet .mrow { height:44px !important; min-height:44px !important; max-height:44px; padding:0 2px !important; margin:0 !important; box-sizing:border-box; }
.msheet .mg { height:26px; box-sizing:border-box; padding:9px 0 0 !important; margin:0 !important; }
.msheet .mg.other { height:14px; padding:0 !important; margin-top:6px !important; }
.msheet .mhd { padding:18px var(--s4) 0 !important; }
.msheet .mhd .ttl { font-size:var(--t-22); }
.msheet .mlist { display:block !important; gap:0 !important; }
.msheet .mg { height:22px; padding:6px 0 0 !important; line-height:14px; }
.msheet .mhd { padding:14px var(--s4) 0 !important; }
.msheet .mg.other { height:10px; margin-top:4px !important; }
.legform .sugg { margin:-6px 0 0; font-size:var(--t-13); color:var(--ink-2); line-height:1.45; }
.legform .sugg .lnk { all:unset; cursor:pointer; color:var(--gold-ink); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.legform .fld + .sugg { margin-top:8px; }
.legform .sugg[hidden], .legform .fld[hidden] { display:none; }
.msheet .mrow svg:last-child:not(:first-child) { color:var(--gold-ink); }
@media (min-width:720px) { .msheet { left:auto; right:0; top:0; width:min(420px, 100%); border-radius:0; } }
/* ---- A. the phone bar: 8 px taller, labels one step up, icons sized by the number of picks ---- */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #index a { min-height:calc(67px + var(--safe-hb)) !important; padding:8px 2px calc(6px + var(--safe-hb)) !important; gap:4px !important; }
  #index a span:not(.n):not([data-phone]), #index a span[data-phone]::before { font-size:var(--t-12) !important; letter-spacing:.01em; }
  #index a svg { width:26px !important; height:26px !important; }
  #index[data-picks="1"] a svg, #index[data-picks="2"] a svg { width:28px !important; height:28px !important; }
  #index[data-picks="4"] a svg { width:24px !important; height:24px !important; }
  #index a[aria-current="page"]::before { width:30px; }
  #index a[data-desk] .dn { top:5px; }
}

/* ---- A. "On the bar": the picker at the top of More, open ---- */
.onbar { padding-top:var(--s4); }
.onbar .eyebrow { margin-bottom:6px; }
.onbar p.lead { font-size:var(--t-13); color:var(--ink-3); margin:0 0 var(--s3); line-height:1.45; }
.barlist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; position:relative; }
.barrow { display:grid; grid-template-columns:24px 1fr auto auto; align-items:center; gap:14px; min-height:58px; padding:0 0 0 2px; border-bottom:1px solid var(--hair); font-size:var(--t-17); }
.barlist .barrow:first-child { border-top:1px solid var(--hair); }
.barrow .ico svg { width:22px; height:22px; color:var(--ink-2); display:block; }
.barrow .nm { color:var(--ink); }
.barrow .nm small { display:block; font-size:var(--t-12); color:var(--ink-3); margin-top:1px; }
.barrow .rm, .barrow .plus { width:30px; height:30px; display:grid; place-items:center; place-content:center; border-radius:50%; border:1px solid var(--hair); color:var(--ink-2); background:none; padding:0; }
.barrow .rm svg, .barrow .plus svg { width:14px; height:14px; }
.barrow .plus[aria-disabled="true"] { opacity:.3; }
.barrow .drag { width:36px; height:44px; display:grid; place-items:center; place-content:center; color:var(--ink-3); margin-right:-8px; touch-action:none; }
.barrow .drag svg { width:22px; height:22px; }
.barrow.lift { position:absolute; left:-10px; right:-10px; z-index:5; background:var(--raised); box-shadow:0 14px 30px rgba(0,0,0,.24), 0 0 0 1px rgba(27,26,23,.06); transform:scale(1.02); border-radius:8px; border:0; padding:0 10px 0 12px; }
.barrow.lift .drag { color:var(--gold-ink); }
.barrow.gap { background:color-mix(in srgb, var(--gold) 9%, transparent); border-radius:4px; }
.barrow.gap > * { visibility:hidden; }
.onbar .full { font-size:var(--t-13); color:var(--hold); margin:var(--s3) 0 0; }
.onbar .restore { display:flex; align-items:center; gap:10px; margin:var(--s4) 0 var(--s2); font-size:var(--t-13); min-height:44px; }
.onbar .restore button { all:unset; cursor:pointer; color:var(--gold-ink); font-weight:500; text-decoration:underline; text-underline-offset:3px; text-decoration-color:color-mix(in srgb, var(--gold-ink) 40%, transparent); }
.onbar .restore span { color:var(--ink-3); }
.onbar .morehead { margin-top:var(--s5); padding-top:var(--s3); border-top:1px solid var(--hair); }
.morelist.withadd .morerow { padding-right:0; }
.morelist.withadd .morerow .plus { margin-left:auto; width:30px; height:30px; display:grid; place-items:center; place-content:center; border-radius:50%; border:1px solid var(--hair); color:var(--ink-2); background:none; padding:0; }
.morelist.withadd .morerow .plus svg { width:14px; height:14px; color:var(--ink-2); }
.morelist.withadd .morerow .plus[aria-disabled="true"] { opacity:.3; }
.morelist.withadd .morerow .n { margin-left:auto; margin-right:12px; }
.morelist.withadd .morerow .n + .plus { margin-left:0; }
.barlist .barrow { transition:transform .18s var(--ease, ease); background:var(--panel); }
.barlist.dragging .barrow.lifting { transition:none; position:relative; z-index:5; background:var(--raised); box-shadow:0 14px 30px rgba(0,0,0,.24); border-radius:8px; }
.barlist.dragging .barrow.lifting .drag { color:var(--gold-ink); }
.barrow .drag { border:0; background:none; cursor:grab; }

/* ---- B. the Letter sheet ---- */
.lsheet { padding-top:var(--s2); }
.lsheet .meta { display:flex; flex-direction:column; border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); margin-top:var(--s4); }
.lsheet .meta .mrow { display:grid; grid-template-columns:52px 1fr; gap:10px; align-items:baseline; min-height:40px; padding:9px 0; font-size:var(--t-15); border-top:1px solid var(--hair); }
.lsheet .meta .mrow:first-child { border-top:0; }
.lsheet .meta .k { font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.lsheet .meta .v { color:var(--ink); min-width:0; overflow-wrap:anywhere; }
.lsheet .meta .v small { display:block; font-size:var(--t-13); color:var(--ink-3); }
.lsheet .where { display:flex; align-items:flex-start; gap:8px; margin:var(--s3) 0 0; font-size:var(--t-13); line-height:1.4; color:var(--ink-2); }
.lsheet .where i { width:8px; height:8px; border-radius:50%; border:1.5px solid var(--hold); flex:none; margin-top:5px; }
.lsheet .thread { margin-top:var(--s5); }
.lsheet .trow { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; min-height:48px; padding:8px 0; border-top:1px solid var(--hair); font-size:var(--t-13); color:var(--ink-2); width:100%; text-align:left; }
.lsheet .trow:last-child { border-bottom:1px solid var(--hair); }
.lsheet .trow .d { color:var(--ink-3); white-space:nowrap; font-variant-numeric:tabular-nums; }
.lsheet .trow .s { color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lsheet .trow .s b { font-weight:600; }
.lsheet .trow svg { width:14px; height:14px; color:var(--ink-3); }
.lsheet .draft { margin-top:var(--s5); }
.lsheet .draft .fld { display:flex; flex-direction:column; gap:6px; margin-top:var(--s3); }
.lsheet .draft .fld .k { font-size:var(--t-11); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.lsheet .draft textarea.search { width:100%; border:1px solid var(--rule); border-radius:4px; background:var(--raised); color:var(--ink); font:inherit; font-size:var(--t-15); line-height:1.45; padding:12px 14px; min-height:150px; resize:none; overflow:hidden; }
.lsheet .draft input.search { font-size:var(--t-15); }
.lsheet .draft textarea.search.warm { border-color:var(--gold); }
.lsheet .ask { margin-top:var(--s4); }
.lsheet .ask .box { display:flex; align-items:center; gap:8px; border:1px solid var(--hair); border-radius:100px; background:var(--raised); padding:4px 4px 4px 14px; min-height:46px; }
.lsheet .ask .box svg.star { width:16px; height:16px; color:var(--gold-ink); flex:none; }
.lsheet .ask .box input { flex:1; min-width:0; border:0; background:none; font:inherit; font-size:var(--t-15); color:var(--ink); padding:0; }
.lsheet .ask .box input::placeholder { color:var(--ink-3); }
.lsheet .ask .box .go { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; place-content:center; background:var(--ink); color:var(--paper); padding:0; flex:none; }
.lsheet .ask .box .go svg { width:16px; height:16px; }
.lsheet .ask .eg { font-size:var(--t-12); color:var(--ink-3); margin:8px 0 0 14px; }
.lsheet .done { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:var(--s3) 0 10px; padding:10px 14px; border-radius:6px; background:color-mix(in srgb, var(--gold) 12%, transparent); font-size:var(--t-13); color:var(--ink-2); }
.lsheet .done svg { width:14px; height:14px; color:var(--gold-ink); margin-right:6px; vertical-align:-2px; }
.lsheet .done button { all:unset; cursor:pointer; color:var(--gold-ink); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:var(--t-12); padding:6px 2px; }
.lsheet .acts { display:flex; flex-direction:column; gap:10px; margin-top:var(--s5); padding-bottom:var(--s4); }
.lsheet .tfull { margin:0 0 var(--s3); padding:10px 12px; font-size:var(--t-13); line-height:1.5; color:var(--ink-2); background:var(--raised); border-radius:4px; white-space:pre-wrap; }
.lsheet .tfull[hidden], .lsheet .done[hidden] { display:none; }
.lsheet .trow.open svg { transform:rotate(90deg); }
.lsheet h2 { margin:var(--s1) 0 0; }
/* 2.85.0: the one composer. What it is about, what it was written from, the address, Discard as a text link */
.lsheet .meta .v .laddr { display:block; width:100%; margin:8px 0 2px; font-size:var(--t-15); }
.lsheet .meta .v .lchg { display:inline; min-height:0; padding:0; font-size:inherit; }
.lsheet .lpurp { margin-top:var(--s5); }
.lsheet .lpurp .chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.lsheet .lpurp .chip[aria-pressed="true"] { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.lsheet .lfacts { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; margin:var(--s3) 0 0; font-size:var(--t-13); color:var(--ink-2); }
.lsheet .lfacts[hidden] { display:none; }
.lsheet .lfacts .k { color:var(--ink-3); margin-right:2px; }
.lsheet .lfacts .fx { padding:3px 10px; border-radius:100px; background:color-mix(in srgb, var(--gold) 14%, transparent); color:var(--ink); }
.lsheet .trow .tst { font-size:var(--t-12); letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); }
.lsheet .trow[data-failed] .tst { color:var(--alert, #B3261E); }
.lsheet .ldrop { align-self:center; margin-top:2px; }
.lwho { display:flex; flex-direction:column; margin-top:6px; border-bottom:1px solid var(--hair); }
.lwho .lrow { display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px; width:100%; min-height:58px; padding:10px 0; border:0; border-top:1px solid var(--hair); background:none; font:inherit; color:var(--ink); text-align:left; cursor:pointer; }
.lwho .lrow .nm { display:block; font-size:var(--t-15); font-weight:500; }
.lwho .lrow .sub { display:block; margin-top:2px; font-size:var(--t-13); color:var(--ink-3); }
.lwho .lrow .rt { font-size:var(--t-12); letter-spacing:.06em; text-transform:uppercase; color:var(--gold-ink); }
.lwho .lrow[data-failed] .rt { color:var(--alert); }
.lwho .lrow > svg { width:14px; height:14px; color:var(--ink-3); }
@media (hover:hover) { .lwho .lrow:hover .nm { text-decoration:underline; text-underline-offset:3px; } }
.desktask { gap:24px; flex-wrap:wrap; }
.desktask .lk.newletter svg { color:var(--gold-ink); }
/* D (approved 15 Oct): the Desk says "something needs you" with a letter in the tray and a gold dot, never a number on a phone */
#index a[data-desk] { position:relative; }
#index a[data-desk] .dn { display:none !important; }
#index a[data-desk] .ddot { position:absolute; top:9px; left:calc(50% + 10px); width:9px; height:9px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 2px var(--paper); }
#askBtn, #deskBtn { position:relative; }
#deskBtn .ddot.mast { display:none; position:absolute; top:-2px; right:-2px; width:10px; height:10px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 2px var(--paper); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { #deskBtn .n { display:none !important; } #deskBtn .ddot.mast { display:block; } }
.ddot[data-arrive]::after { content:''; position:absolute; inset:-2px; border-radius:50%; border:1.5px solid var(--gold); animation:ddotring .9s ease-out 1; }
@keyframes ddotring { from { transform:scale(1); opacity:.8; } to { transform:scale(2.6); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .ddot[data-arrive]::after { animation:none; display:none; } }
/* E (Michael's choice, 15 Oct): Add a transfer is a gold disc with a plus, floating at the lower right */
.tfab { position:fixed; right:max(16px, env(safe-area-inset-right)); bottom:calc(var(--safe-hb, 0px) + 84px); z-index:20; width:56px; height:56px; border-radius:50%; border:0; display:grid; place-items:center; place-content:center; background:var(--gold); color:#0A0A0A; box-shadow:0 6px 18px rgba(0,0,0,.22); cursor:pointer; }
.tfab svg { width:26px; height:26px; stroke-width:2; }
@media (hover:hover) { .tfab:hover { filter:brightness(1.05); } }
/* on an iPad or a computer the disc rides at the foot of the list column (sticky), clear of the rail, the side panel and the demo's own button */
@media (min-width:720px) { .tfab { position:relative; right:auto; bottom:auto; margin:12px 0 var(--s5) auto; } .surface.hasfab .tlist { padding-bottom:0; margin-bottom:0; } }
@media (max-width:719px) { .surface.hasfab .tlist { padding-bottom:88px; } } /* the phone's floating disc never covers the last row */
/* the mode list inside the panel (16 Oct): the same rows as the sheet, under the panel's own head */
#panelBody .mlist.inpanel { padding:var(--s2) 0 var(--s5); }
#panelBody .mlist.inpanel .mg { font-size:var(--t-11); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); padding:14px 0 4px; }
#panelBody .mlist.inpanel .mg.other { padding:0; margin-top:6px; border-top:1px solid var(--rule); height:0; }
#panelBody .mlist.inpanel .mrow { display:flex; align-items:center; gap:14px; width:100%; min-height:48px; padding:0 2px; border-top:1px solid var(--hair); background:none; color:var(--ink); font:inherit; font-size:var(--t-15); text-align:left; cursor:pointer; }
#panelBody .mlist.inpanel .mg + .mrow { border-top:0; }
#panelBody .mlist.inpanel .mrow svg:first-child { color:var(--ink-2); flex:none; }
#panelBody .mlist.inpanel .mrow .l { flex:1; }
#panelBody .mlist.inpanel .mrow[aria-selected="true"] { font-weight:600; }
#panelBody .mlist.inpanel .mrow svg:last-child:not(:first-child) { color:var(--gold-ink); }
@media (hover:hover) { #panelBody .mlist.inpanel .mrow:hover { background:color-mix(in srgb, var(--ink) 4%, transparent); } }

/* ===== 2.82.1 (16 Oct) ===== */
/* Bug B (Michael, iPad Pro upright): the one-close rule above put the day sheet's X back into the head's flow, so it sat
   in the middle under the grip. It belongs at the top right beside the chevron, as it did before 2.81.2; the 44 px tap
   area, the shaded disc, the 16 px X and the hover stay. The chevron keeps its place to the left of it. */
.daypane.sheet .sclose { position:absolute; top:6px; right:var(--s4); margin:0; }
.daypane.sheet .schev { top:8px; right:calc(var(--s4) + 48px); }
/* Bug C: the four counts on Shots and Kit are buttons now (the Tastings' button.f look); on a phone they keep the strip's tighter padding */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .dstrip button.f { padding:var(--s4); } }

/* ---- 2.81.4 (Michael, 16 Oct, iPad) ---- */
/* the close keeps the agreed shaded disc when focus lands on it (a sheet opening moves focus there): no dark ring from the
   global :focus-visible; the keyboard's focus shows as a gold edge on the disc instead */
#app #panel .phead .close:focus-visible, #ask .phead .close:focus-visible, .daypane.sheet .sclose:focus-visible { outline:none; }
#app #panel .phead .close:focus-visible::before, #ask .phead .close:focus-visible::before, .daypane.sheet .sclose:focus-visible::before { border:2px solid var(--gold); }
/* the stay card's Arrive and Leave stay inside their boxes on a tablet: the weekday sits above the date */
@media (max-width:1180px) { .chapter.cfeat .when .v small { display:block; margin:0 0 3px; } }
/* the wine rows' quick actions show on a touch screen, where there is no hover to reveal them (2.81.2 made them hover only) */
@media (hover:none) { .wrow .qa { opacity:1; } }

/* ---- 2.81.5 (Michael, 16 Oct) ---- */
/* Days on a tablet held upright: the day opens in the right tray, as Dining does, over the calendar; the calendar stays
   tappable to change the day. The bottom sheet with a grip is for phones only. */
.daypane .trayhead { display:none; }
@media (min-width:720px) and (max-width:1099px) and (orientation:portrait) and (min-height:520px) {
  .daypane.tray { position:absolute; top:0; right:0; bottom:0; left:auto; width:min(480px, 62%); z-index:45; overflow-y:auto; overscroll-behavior:contain;
    background:var(--paper); border-left:3px solid var(--leg, var(--gold)); border-top:0; border-radius:0; padding:0 var(--s5) calc(var(--s7) + env(safe-area-inset-bottom)); box-shadow:-18px 0 50px rgba(0,0,0,.18); }
  .daypane.tray.rise { animation:trayin .28s var(--ease) both; }
  .daypane.tray .trayhead { display:flex; justify-content:flex-end; position:sticky; top:0; z-index:3; height:52px; margin:0 calc(var(--s5) * -1) 0; padding:4px var(--s3) 0 0; background:var(--paper); }
  .daypane.tray .sclose { flex:none; position:relative; width:44px; height:44px; padding:0; margin:0; display:grid; place-items:center; border:0; border-radius:50%; background:none; color:var(--ink-2); }
  .daypane.tray .sclose::before { content:''; position:absolute; top:4px; left:4px; width:36px; height:36px; box-sizing:border-box; border-radius:50%; border:1px solid var(--rule); background:color-mix(in srgb, var(--ink) 6%, transparent); }
  .daypane.tray .sclose svg { position:relative; width:16px; height:16px; }
  .daypane.tray .sclose:focus-visible { outline:none; } .daypane.tray .sclose:focus-visible::before { border:2px solid var(--gold); }
  .daypane.tray .ph { aspect-ratio:16/9; margin-top:0; }
}
@keyframes trayin { from { transform:translateX(100%); } to { transform:none; } }
@media (prefers-reduced-motion:reduce) { .daypane.tray.rise { animation:fadein .2s both; } }

/* Overview, Before we go: folded to its heading before the trip; the heading and its Show / Hide are one tap */
.ovx-h.foldh { cursor:pointer; }
.ovx-fold { margin-left:auto; display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 4px 0 12px; border:0; background:none; color:var(--gold-ink); font:600 var(--t-13) var(--ui); letter-spacing:.04em; cursor:pointer; }
.ovx-fold svg { width:14px; height:14px; transform:rotate(90deg); transition:transform .2s var(--ease); }
.ovx-fold[aria-expanded="true"] svg { transform:rotate(-90deg); }
.ovx-needs[data-fold="closed"] > :not(.ovx-h) { display:none; }
.ovx-needs[data-fold="closed"] .ovx-h { margin-bottom:0; }

/* Where we stand: the kinds (Hotels, Transfers, Tickets) read as headings, with what is still open set under each */
.ovx-stand .ovx-kind { border-top:1px solid var(--rule); padding:14px 0 8px; }
.ovx-stand .ovx-kind .kn { font:400 var(--t-20, 20px)/1.2 var(--display); letter-spacing:0; }
.ovx-stand .ovx-kind .kc { font-size:var(--t-13); }
.ovx-stand .ovx-kind + .ovx-open { margin:0 0 10px; }
.ovx-stand .ovx-kind + .ovx-open li { padding:8px 0 8px 18px; font-size:var(--t-14, 14px); border-top:0; }
.ovx-stand .ovx-kind + .ovx-open li + li { border-top:1px solid var(--hair); }
/* folded, Before we go is one line across the page and Where we stand takes the full width under it */
.ovx-cols:has(> .ovx-needs[data-fold="closed"]) { grid-template-columns:minmax(0, 1fr); gap:0; }
.ovx-needs[data-fold="closed"] { padding-bottom:var(--s2); }
/* ---- 2.81.8 (Michael, 17 Oct): sheets on the phone (items 1, 3, 10, 12, 13) ---- */

/* item 3: the day opened from a stay. On a phone the date is already the sheet's title, so the body starts with the
   city as one small line, and The plan follows straight after. The iPad and the computer keep the date and city. */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #panel .dayhead.compact { padding:10px 0 0; }
  #panel .dayhead.compact .city { margin:0; font:400 var(--t-15) var(--ui); letter-spacing:0; color:var(--ink-2); }
  #panel .dayhead.compact + .section { margin-top:var(--s5); }
  #panel .dayhead.compact + .attn { margin-top:var(--s3); }
}

/* item 10: the day card's arrows are real buttons. A 44 px target, a 28 px disc drawn inside it, quiet on the photo. */
.dayhero .dpg { all:unset; box-sizing:border-box; position:absolute; top:50%; width:44px; height:44px; margin-top:-22px; border-radius:50%; background:none; z-index:3; pointer-events:auto; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.dayhero .dpg::before { content:''; position:absolute; top:8px; left:8px; width:28px; height:28px; border-radius:50%; background:rgba(10,10,10,.38); border:1px solid rgba(245,240,232,.45); box-sizing:border-box; transition:background .2s, border-color .2s; }
.dayhero .dpg::after { content:''; position:absolute; top:50%; left:50%; width:7px; height:7px; margin:-4px 0 0 -2px; border:solid #F5F0E8; border-width:0 1.6px 1.6px 0; transform:rotate(135deg); }
.dayhero .dpg.l { left:4px; } .dayhero .dpg.r { right:4px; } .dayhero .dpg.r::after { margin-left:-5px; transform:rotate(-45deg); }
.dayhero .dpg:active::before { background:rgba(10,10,10,.6); }
.dayhero .dpg:focus-visible::before { border:2px solid var(--gold); }
@media (hover:hover) and (pointer:fine) { .dayhero .dpg:hover::before { border-color:var(--gold); } }
@media (hover:hover) and (min-width:1100px) { .dayhero .dpg { display:none; } }

/* item 10: on a phone the day card opens on its photograph with no empty band above it. The sheet head floats over the
   top of the picture (grip and X over a soft scrim) and takes its paper background only once the title has scrolled
   away under it. The iPad and the computer keep the head in the flow. */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #app[data-pkind="day"] #panel .phead.late { position:absolute; top:0; left:0; right:0; z-index:6; background:transparent; border-bottom-color:transparent; transition:background .2s, border-color .2s; }
  #app[data-pkind="day"] #panel .phead.late.shown { background:var(--panel); border-bottom-color:var(--hair); }
  #app[data-pkind="day"] #panel .phead.late:not(.shown) .close { color:#F5F0E8; }
  #app[data-pkind="day"] #panel .phead.late:not(.shown) .close::before { background:rgba(10,10,10,.42); border-color:rgba(245,240,232,.45); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
  #app[data-pkind="day"] #panel .phead.late:not(.shown) .close:focus-visible::before { border:2px solid var(--gold); }
  #app[data-pkind="day"] #panel .pbody > .dayhero { min-height:236px; }
  /* the arrows sit in the clear band between the floating head and the date, not over the day's name */
  #app[data-pkind="day"] #panel .pbody > .dayhero .dpg { top:76px; margin-top:0; }
  #app[data-pkind="day"] #panel .pbody > .dayhero::before { content:''; position:absolute; left:0; right:0; top:0; height:96px; z-index:1; pointer-events:none; background:linear-gradient(to bottom, rgba(10,10,10,.55), rgba(10,10,10,0)); }
}

/* item 13: a note field that saves itself. The field fills the row; on a phone a small Done button stands beside it
   while it has focus; a quiet line under it says Saved, or that it was not saved, with Retry. */
.autosave .asrow { display:flex; align-items:flex-end; gap:8px; }
.autosave .asrow textarea.why { flex:1; min-width:0; }
.autosave .asdone { display:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .autosave .asrow:focus-within .asdone { display:inline-flex; flex:none; min-height:44px; padding:0 14px; margin-bottom:2px; border-color:var(--gold); color:var(--gold-ink); font-weight:600; }
}
.autosave .asstate { min-height:18px; margin-top:6px; font:500 var(--t-12) var(--ui); letter-spacing:.04em; color:var(--ink-3); transition:opacity .2s; }
.autosave .asstate:empty { opacity:0; }
.autosave .asstate.ok { color:var(--ok); }
.autosave .asstate.ok::before { content:''; display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--ok); margin:0 6px 1px 0; }
.autosave .asstate.err { color:var(--alert); }
.autosave .asstate .lnk { all:unset; cursor:pointer; color:var(--gold-ink); font-weight:600; text-decoration:underline; text-underline-offset:3px; padding:8px 4px; }
.autosave .asstate .lnk:focus-visible { outline:2px solid var(--gold); outline-offset:2px; border-radius:3px; }

/* item 13: the close guard with a way to save: Save first, then Discard, then Keep writing */
#panel .phead .discard { flex-wrap:wrap; }
#panel .phead .discard:has(button:nth-of-type(3)) > span { flex:1 1 100%; }
/* ---- 2.81.8 (Michael, 17 Oct): the back control, list headings, section rhythm, the Needs you line ---- */

/* item 8: the one way back lives in the masthead below a wide screen. Roots have none. */
#mast .brand .crumb.mastback { display:inline-flex; align-items:center; gap:8px; margin:0; padding:0; min-height:44px; background:none; border:0; border-radius:22px; box-shadow:none; font:500 15px/1.2 var(--ui); letter-spacing:0; color:var(--ink); max-width:150px; }
#mast .brand .crumb.mastback .disc { flex:none; display:inline-grid; place-items:center; width:36px; height:36px; border-radius:50%; border:1px solid var(--hair); background:var(--raised); color:var(--ink); }
#mast .brand .crumb.mastback .disc svg { width:18px; height:18px; color:var(--ink); }
#mast .brand .crumb.mastback .bl { min-width:0; max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#mast .brand .crumb.mastback:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
@media (hover:hover) { #mast .brand .crumb.mastback:hover .disc { border-color:var(--ink-3); } }
/* no second chevron on a photograph, on any screen: the masthead carries it */
.crumb.onphoto, .surface > .crumb.disc { display:none; }
/* the phone: the back control takes the logo's slot while a drill-down is open; the logo returns on a root */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #mast[data-back] .brand > :not(.crumb.mastback) { display:none; }
  #mast[data-back] .brand { gap:0; min-width:0; flex:1 1 auto; }
  #mast .brand .crumb.mastback { margin-left:-4px; }
  /* every page: the gold eyebrow sits 24 px under the masthead, then the title, with no empty row above it */
  #main > .surface { padding-top:var(--s5); }
}
/* the iPad: the logo stays and a compact pill sits after it */
@media (min-width:720px) and (max-width:1099px) and (min-height:520px) {
  #mast .brand .crumb.mastback { margin-left:6px; min-height:36px; padding:0 14px 0 4px; border:1px solid var(--rule); border-radius:18px; font-size:var(--t-13); max-width:220px; }
  #mast .brand .crumb.mastback .disc { width:28px; height:28px; border:0; background:none; }
  #mast .brand .crumb.mastback .disc svg { width:16px; height:16px; }
  #mast .brand .crumb.mastback .bl { max-width:150px; }
}

/* item 14: a list section's heading is its title and its count on one line that never wraps ("To review · 3");
   the title never shrinks; a hint, where one is kept, is a quiet line of its own under the heading, iPad and computer only */
.psech { flex-wrap:wrap; row-gap:2px; }
.psech h3 { flex:none; white-space:nowrap; }
.psech h3 .n { color:var(--ink-3); font-size:var(--t-20); }
.psech .hint { flex:1 1 100%; min-width:0; font-size:var(--t-13); color:var(--ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.psech .chip { margin-left:auto; flex:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .psech .hint { display:none; }
}

/* item 16: one rhythm between sections on a phone, 32 px, so a section's foot, the rule and the next section's head
   never add up to a tall black gap (the Sommelier, Overview, Stays, Shots). */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .dsec, .ov-sec { margin-top:var(--s4); padding-top:var(--s4); }
  .dsec.deferred { margin-top:var(--s4); }
  .settle + .dsec, .thead + .dsec { margin-top:var(--s4); padding-top:var(--s4); }
  .settle + .dsec { padding-top:var(--s4); }
  .ovx-h { padding-top:var(--s4); }
  .dsh { margin-bottom:var(--s3); }
  .wmore { margin-top:var(--s2); }
  .wmore .pagenote { margin-top:var(--s2); }
  .wmap .map { margin-top:var(--s2); }
  .rail-inline { margin-top:var(--s4); padding-top:var(--s4); gap:var(--s4); }
  .chapters { gap:var(--s4); margin-top:var(--s4); }
  .chapter { padding-bottom:var(--s4); }
  /* the Sommelier's map tab: the title only on a phone; the long hint wrapped to three lines */
  .wmap .dsh .dim { display:none; }
  .wmap .dsh { flex-wrap:wrap; }
  /* tabs at the head of a section keep no margin of their own on top of the section's: the rule to the tabs is 16 px */
  .dsec > .dsh > .tabs, .dsec > .tabs:first-child { margin-top:0; }
}

/* item 6: the page's Needs you bar on a phone is one slim line: a small orange dot, Needs you, the first item, a chevron;
   tapping it opens the list as before. The iPad and the computer keep the full card. */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .rail-inline.attnbar { margin:20px 0; border:0; border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); border-radius:0; background:none; }
  .rail-inline.attnbar .attnh { min-height:44px; padding:6px 0; gap:10px; }
  .rail-inline.attnbar .attnh .cnt { display:none; }
  .rail-inline.attnbar .attnh::before { content:''; flex:none; width:8px; height:8px; border-radius:50%; background:var(--alert); box-shadow:0 0 0 3px color-mix(in srgb, var(--alert) 22%, transparent); margin-left:3px; }
  .rail-inline.attnbar .attnh .tx { flex-direction:row; align-items:baseline; gap:8px; }
  .rail-inline.attnbar .attnh .k { flex:none; font-size:var(--t-12); letter-spacing:.10em; }
  .rail-inline.attnbar .attnh .line { font-size:var(--t-14, 14px); color:var(--ink-2); }
  .rail-inline.attnbar .attnh .more { flex:none; font:600 var(--t-12)/1 var(--ui); color:var(--alert); }
  .rail-inline.attnbar .attnb { background:none; padding:0 0 6px; }
  /* the same space under the line as above it: what follows (the tabs, a section) keeps no larger margin of its own */
  .rail-inline.attnbar + * { margin-top:20px; }
}
/* ---- 2.81.8 (Michael, 17 Oct): one status style (item 18), Transfers rows on a phone (7), Days rows on a phone (9), facts lists (2), the booking card (5) ---- */

/* ---- item 18: one status style across the app, option F from the panel vote ----
   A dot and a word in capitals, 12 px, weight 600, tracking .10em. The usual states are quiet: Booked is a green dot
   with the word in grey, Settled (and anything ruled out or withdrawn) a grey dot. Asked, pending and held are gold.
   Not booked and open are a hollow terracotta ring. Needs you is the only bold state: a terracotta dot with a halo.
   The canonical class is .stat[data-s]; the older class names (.mark, .status, .ibm) keep their names in the DOM for
   the test selectors and for anything another builder draws, and take the same rules here. Every row keeps its word. */
.stat, .mark[data-s], .status[data-s], .ibm[data-s] { display:inline-flex; align-items:center; gap:8px; font-family:var(--ui); font-size:var(--t-12); font-weight:600; letter-spacing:.10em; text-transform:uppercase; line-height:1.3; color:var(--ink-3); white-space:nowrap; }
.stat > i, .mark[data-s] > i, .status[data-s] > i, .ibm[data-s] > i { display:block; width:7px; height:7px; border-radius:50%; background:currentColor; border:0; box-shadow:none; flex:none; }
/* booked and done: a green dot, a quiet word (--ink-3 is 5.1:1 on paper in light mode) */
.stat[data-s="booked"], .mark[data-s="booked"], .status[data-s="booked"], .ibm[data-s="booked"],
.stat[data-s="done"], .mark[data-s="done"], .status[data-s="done"], .ibm[data-s="done"] { color:var(--ink-3); }
.stat[data-s="booked"] > i, .mark[data-s="booked"] > i, .status[data-s="booked"] > i, .ibm[data-s="booked"] > i,
.stat[data-s="done"] > i, .mark[data-s="done"] > i, .status[data-s="done"] > i, .ibm[data-s="done"] > i { background:var(--ok); }
/* settled, ruled out, withdrawn: a grey dot, a quiet word */
.stat[data-s="settled"], .mark[data-s="settled"], .status[data-s="settled"], .ibm[data-s="settled"],
.stat[data-s="out"], .mark[data-s="out"], .status[data-s="out"], .ibm[data-s="out"] { color:var(--ink-3); }
.stat[data-s="settled"] > i, .mark[data-s="settled"] > i, .status[data-s="settled"] > i, .ibm[data-s="settled"] > i,
.stat[data-s="out"] > i, .mark[data-s="out"] > i, .status[data-s="out"] > i, .ibm[data-s="out"] > i { background:var(--ink-3); }
/* asked, pending, held: gold */
.stat[data-s="held"], .mark[data-s="held"], .status[data-s="held"], .ibm[data-s="held"],
.stat[data-s="pending"], .mark[data-s="pending"], .status[data-s="pending"], .ibm[data-s="pending"],
.stat[data-s="asked"], .mark[data-s="asked"], .status[data-s="asked"], .ibm[data-s="asked"] { color:var(--gold-ink); }
.stat[data-s="held"] > i, .mark[data-s="held"] > i, .status[data-s="held"] > i, .ibm[data-s="held"] > i,
.stat[data-s="pending"] > i, .mark[data-s="pending"] > i, .status[data-s="pending"] > i, .ibm[data-s="pending"] > i,
.stat[data-s="asked"] > i, .mark[data-s="asked"] > i, .status[data-s="asked"] > i, .ibm[data-s="asked"] > i { background:var(--gold); }
/* not booked, open, not arranged: a hollow terracotta ring */
.stat[data-s="open"], .mark[data-s="open"], .status[data-s="open"], .ibm[data-s="open"],
.stat[data-s="idea"], .mark[data-s="idea"], .status[data-s="idea"], .ibm[data-s="idea"] { color:var(--out); }
.stat[data-s="open"] > i, .mark[data-s="open"] > i, .status[data-s="open"] > i, .ibm[data-s="open"] > i,
.stat[data-s="idea"] > i, .mark[data-s="idea"] > i, .status[data-s="idea"] > i, .ibm[data-s="idea"] > i { background:none; border:0; box-shadow:inset 0 0 0 1.5px var(--out); }
/* needs you: the one bold state */
.stat[data-s="alert"], .mark[data-s="alert"], .status[data-s="alert"], .ibm[data-s="alert"],
.stat[data-s="need"], .mark[data-s="need"], .status[data-s="need"], .ibm[data-s="need"] { color:var(--alert); font-weight:700; }
.stat[data-s="alert"] > i, .mark[data-s="alert"] > i, .status[data-s="alert"] > i, .ibm[data-s="alert"] > i,
.stat[data-s="need"] > i, .mark[data-s="need"] > i, .status[data-s="need"] > i, .ibm[data-s="need"] > i { width:8px; height:8px; background:var(--alert); box-shadow:0 0 0 3px color-mix(in srgb, var(--alert) 30%, transparent); }
/* the pill with the shaded end is retired: Transfers and the tickets read as a dot and a word like everything else */
.status.big, .wrow .status.big, .trow .status.big { position:static; justify-content:flex-start; width:auto; max-width:none; height:auto; padding:0; border:0; border-radius:0; overflow:visible; font-size:var(--t-12); }
.status.big::before { content:none; }
.status.big > i { display:block; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .status.big, .wrow .status.big { width:auto; height:auto; font-size:var(--t-12); } }

/* ---- item 7: Transfers rows on a phone, two lines and a status on the right of the name ----
   The name, then one short line with the day and the time. No running small capitals, no notes; the detail is one
   tap away in the leg's card. The icon is 32 px and the row about 72 px, so nine legs fit one screen. Wider screens
   keep the fuller rows. */
.trow .twhen { display:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .trow { grid-template-columns:32px minmax(0,1fr) auto; column-gap:var(--s3); row-gap:0; align-items:start; padding:12px 0; min-height:72px; box-sizing:border-box; }
  .trow .mode { width:32px; height:32px; border-width:1.5px; align-self:center; grid-row:1; }
  .trow .mode svg { width:16px; height:16px; }
  .trow .tb { grid-column:2; gap:2px; }
  .trow .tt { font-size:var(--t-20); line-height:1.25; }
  .trow .tb .eyebrow, .trow .tb .tsub, .trow .snote, .trow .ph { display:none; }
  .trow .twhen { display:block; font-size:var(--t-13); line-height:1.4; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .trow .status.big { grid-column:3; grid-row:1; justify-self:end; align-self:start; margin:6px 0 0; }
}

/* ---- item 9: Days, Grid and day, on a phone: a row that says something before you open it ----
   The desktop rule .dayswrap[data-mode="split"] .calcell { min-height:112px } won against the phone rule; here it is
   scoped. The row: the weekday in small capitals over the date in the display serif, the place or the move, up to three
   anchors, and one more line only when something applies (attention, a holiday, pace, a new bed). The coloured squares
   and the bare count stay on the iPad grid; on the phone the words carry it. */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .dayswrap[data-mode="split"] .calcell { min-height:0; padding:10px 0 10px var(--s3); }
  .dayswrap[data-mode="split"] .calcell.pr { grid-template-columns:56px minmax(0,1fr) auto; column-gap:var(--s3); align-items:start; row-gap:1px; padding:10px var(--s2) 10px var(--s3); min-height:58px; }
  .calcell.pr .dl { grid-row:1 / span 3; display:flex; flex-direction:column; align-items:flex-start; gap:0; min-width:0; width:auto; padding-top:2px; }
  .calcell.pr .wd { font-size:var(--t-11); line-height:1.2; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
  .calcell.pr .nn { font-size:28px; line-height:1; margin-top:1px; }
  .calcell.pr .wh { grid-column:2; margin:0; font-size:var(--t-15); font-weight:600; line-height:1.25; }
  .calcell.pr .la { grid-column:2; font-size:var(--t-13); line-height:1.35; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .calcell.pr .la.none { color:var(--gold-ink); }
  .calcell.pr .lc { grid-column:2; margin-top:1px; font-size:var(--t-12); line-height:1.3; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .calcell.pr .lc[data-k="need"] { color:var(--out); font-weight:600; }
  .calcell.pr .lc[data-k="holiday"], .calcell.pr .lc[data-k="pace"] { color:var(--hold); }
  .calcell.pr .mv { grid-column:3; grid-row:1 / span 3; align-self:center; margin:0; padding:0 var(--s2) 0 0; color:var(--ink-3); }
  .calcell.pr .mv svg { width:22px; height:22px; }
  .calcell.pr .density, .calcell.pr .needn { display:none; }
  .calcell.pr[data-sel] .wd, .calcell.pr[data-sel] .la, .calcell.pr[data-sel] .lc { color:var(--ink-3); opacity:1; }
  .calcell.pr[data-sel] .lc[data-k="need"] { color:var(--out); }
  .calcell.pr.go .wd, .calcell.pr.go .la, .calcell.pr.go .lc, .calcell.pr.go .wh { color:var(--paper); }
}

/* ---- item 2: label and value lists (.facts) ----
   Each label sits on its value's first line, and the rule under a row is one continuous line. In the contact card the
   label and the value share one line height, with the label's padding tuned so the two baselines meet; the column gap
   moves into the label's right padding so the two borders join. The other lists have no rules and take a baseline
   alignment directly. */
.dwarm .dcard .facts { column-gap:0; align-items:stretch; }
.dwarm .dcard .facts dt, .dwarm .dcard .facts dd { padding:8px 0; border-top:1px solid var(--hair); margin:0; }
.dwarm .dcard .facts dt { padding-right:var(--s4); font:600 11px/24px var(--ui); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); padding-top:9px; }
.dwarm .dcard .facts dd { font:15px/24px var(--ui); color:var(--ink); }
.dwarm .dcard .facts dt:first-of-type, .dwarm .dcard .facts dd:first-of-type { border-top:0; }
#panel .facts, .chapter .facts, .dossier .facts, .ledger dl.facts { align-items:baseline; }
#panel .facts dt, .chapter .facts dt, .dossier .facts dt { padding-top:0; }

/* ---- item 5: the booking card ----
   The card's actions are one quiet row along its foot: Edit (or Record) and Add to calendar, equal, with icons. The
   photograph is a small round camera at the top right, beside the chevron. When a picture of the confirmation is on
   file it shows as a thumbnail there and opens the picture. */
.ledger { position:relative; }
.ledger .dsh.ltoggle, .ledger > .dsh { padding-right:52px; }
.ledger .lcam { position:absolute; top:calc(var(--s4) - 2px); right:var(--s5); width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--rule); background:var(--paper); color:var(--ink-2); cursor:pointer; padding:0; overflow:hidden; transition:border-color .15s, color .15s; }
.ledger .lcam svg { width:18px; height:18px; }
.ledger .lcam img { width:100%; height:100%; object-fit:cover; display:block; }
.ledger .lcam.pic { border-color:var(--gold); }
@media (hover:hover) { .ledger .lcam:hover { border-color:var(--ink); color:var(--ink); } }
.ledger .lcam:focus-visible { outline:2px solid var(--gold-ink); outline-offset:3px; }
.ledger .acts { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:0; margin:var(--s4) calc(-1 * var(--s5)) calc(-1 * var(--s5)); border-top:1px solid var(--hair); }
.ledger .acts .btn { min-height:50px; border:0; border-radius:0; background:none; color:var(--ink-2); font-weight:500; box-shadow:none; }
.ledger .acts .btn + .btn { border-left:1px solid var(--hair); }
.ledger .acts .btn.solid { color:var(--gold-ink); font-weight:600; }
.ledger .acts .btn svg { color:var(--ink-3); }
.ledger .acts .btn.solid svg { color:var(--gold-ink); }
@media (hover:hover) { .ledger .acts .btn:hover { color:var(--ink); background:color-mix(in srgb, var(--ink) 4%, transparent); } }
.ledger .acts .btn:focus-visible { outline:2px solid var(--gold-ink); outline-offset:-3px; }
/* ---- 2.81.8 (Michael, 17 Oct): the maps (items 17, 19, 20, 21) ---- */

/* item 17: a map inside a scrolling page. The cooperative-gesture overlay in the brand: a dark scrim, cream words in
   the UI face. The Expand control sits in the top right corner of every embedded map, 44 px, and the overlay that
   opens is the same map full screen with a Close in the same corner. */
.maplibregl-cooperative-gesture-screen { background:rgba(10,10,10,.58); color:#F5F0E8; font:600 var(--t-15)/1.35 var(--ui); letter-spacing:.02em; text-align:center; padding:var(--s5); }
.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message, .maplibregl-cooperative-gesture-screen .maplibregl-mobile-message { max-width:260px; }
.map .mapx { position:absolute; top:10px; right:10px; z-index:9; width:44px; height:44px; padding:0; border-radius:50%; border:1px solid var(--rule); background:var(--raised); color:var(--ink); box-shadow:0 2px 10px rgba(0,0,0,.18); display:flex; align-items:center; justify-content:center; cursor:pointer; }
@media (hover:hover) { .map .mapx:hover { border-color:var(--ink); } }
.map .mapx:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.mapfull { position:fixed; inset:0; z-index:200; background:var(--paper); }
.mapfull > .map.maplibregl-map { position:absolute; inset:0; height:auto !important; width:auto; margin:0; border:0; border-radius:0; }
.mapfull .mapx { display:none; }
.mapfull .mapfx { position:absolute; top:calc(12px + env(safe-area-inset-top)); right:calc(12px + env(safe-area-inset-right)); z-index:10; width:48px; height:48px; min-height:48px; padding:0; border-radius:50%; background:var(--raised); box-shadow:0 2px 10px rgba(0,0,0,.22); justify-content:center; }
.mapfull .mapfx svg { width:18px; height:18px; }
.mapfull .maplibregl-ctrl-bottom-right { bottom:calc(var(--s4) + env(safe-area-inset-bottom)); right:var(--s3); }

/* item 20: the day sheet's body stays rendered at peek; the sheet's height alone clips it, so pulling the sheet up
   reveals the day under the finger (it was display:none until the drag ended) */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .mapwrap .mapsheet[data-pos="peek"] .msb { display:block; } }
@media (min-width:720px) and (min-height:520px), (min-width:1001px) { .mapwrap[data-layout="sheet"] .mapsheet[data-pos="peek"] .msb { display:block; } }
.mapsheet .msh { flex:none; }

/* item 19: the key on a phone is its own sheet from the bottom, in place of the trip sheet, with a title and an X; the
   map buttons hide while it is open. The iPad and the computer keep the floating card. */
.mapkey .mkx { display:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .mapwrap[data-key] .mapsheet, .mapwrap[data-key] .locbtn, .mapwrap[data-key] .layersbtn, .mapwrap[data-key] .layers, .mapwrap[data-key] .mapedge { display:none; }
  .mapwrap[data-key] .mapkey[data-open] { top:auto; right:0; left:0; bottom:0; width:auto; max-height:min(62%, 520px); border-radius:14px 14px 0 0; border-left:0; border-right:0; border-bottom:0; box-shadow:0 -8px 28px rgba(0,0,0,.18); display:flex; flex-direction:column; z-index:7; }
  .mapwrap[data-key] .mapkey[data-open] .mkh { flex:none; padding:14px var(--s5) 8px; font-family:var(--display); font-weight:400; font-size:var(--t-20); letter-spacing:0; text-transform:none; color:var(--ink); border-bottom:1px solid var(--hair); }
  .mapwrap[data-key] .mapkey[data-open] .mkh svg { display:none; }
  .mapwrap[data-key] .mapkey[data-open] .mkx { display:flex; position:absolute; top:6px; right:8px; width:44px; height:44px; align-items:center; justify-content:center; padding:0; border:0; border-radius:50%; background:none; color:var(--ink-2); cursor:pointer; }
  .mapwrap[data-key] .mapkey[data-open] .mkb { overflow:auto; overscroll-behavior:contain; padding:4px var(--s5) calc(var(--s5) + env(safe-area-inset-bottom)); }
}

/* item 21: a pin on a phone in the sheet, in short form: the square photograph, the name, one line, two buttons. The
   picked pin keeps a steady gold ring until another is chosen. */
.pin.picked { z-index:5; }
.pin.picked::before { content:''; position:absolute; inset:-6px; border-radius:50%; border:2.5px solid var(--gold); box-shadow:0 0 0 2px var(--paper); pointer-events:none; }
.pin.stay.picked::before { border-radius:5px; }
.pin.num.picked::before { inset:-7px; }
.mapwrap[data-pin][data-sheet="peek"] { --sheet-h:196px; }
.mapsheet[data-pin] .msh > :not(.grab) { display:none; }
.mapsheet[data-pin] .msh { padding-bottom:0; border-bottom:0; }
.mapsheet[data-pin] .msb, .mapsheet[data-pin] > .mleg { display:none !important; }
.mpin { position:relative; flex:none; padding:4px var(--s5) calc(var(--s4) + env(safe-area-inset-bottom)); }
.mpin .mpx { position:absolute; top:-6px; right:8px; width:44px; height:44px; display:flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:50%; background:none; color:var(--ink-2); cursor:pointer; z-index:2; }
.mpin .mprow { display:flex; gap:12px; align-items:flex-start; padding-right:40px; min-height:64px; }
.mpin .ph { flex:none; width:64px; height:64px; border-radius:6px; overflow:hidden; background:var(--sunken); }
.mpin .ph img { width:100%; height:100%; object-fit:cover; display:block; }
.mpin .tx { min-width:0; flex:1; }
.mpin .nm { font-family:var(--display); font-weight:400; font-size:var(--t-20); line-height:1.15; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.mpin .ln { margin-top:4px; font:var(--t-12)/1.35 var(--ui); color:var(--ink-2); overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.mpin .ln.shut { color:var(--out); }
.mpin .acts { display:flex; gap:8px; margin-top:10px; }
.mpin .acts .btn { flex:1; min-height:44px; margin:0; }
/* ---- 2.81.8 (Michael, 17 Oct): the wine board on a phone, one count tile everywhere, the Shots filters on a phone ---- */
/* item 15: a finger on a board card scrolls the board sideways as well as the page up and down (the card had pan-y only,
   set for a swipe gesture the board never used). On a phone the columns snap one at a time, as the Days view does. */
.tboard .tcard { touch-action:pan-x pan-y; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  .edgecue .tboard { scroll-snap-type:x mandatory; scroll-padding-left:0; }
  .edgecue .tboard > .tcol { scroll-snap-align:start; }
}
/* item 22: Shots and Kit use the Sommelier's count tile (.wstats.wtiles .wt); nothing to add, the strip rules no longer apply */
/* item 23: Shots on a phone. One Filters button, as on Dining, with what is on as a short line beside it and an X to clear */
.shotfl { display:flex; align-items:center; gap:var(--s3); flex-wrap:wrap; }
.shotfl .on { display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:var(--t-13); color:var(--gold-ink); }
.shotfl .on .x { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; border:1px solid var(--rule); background:var(--raised); color:var(--ink-2); padding:0; cursor:pointer; }
.shotfl .on .x:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
/* the day strip in Along the route: the Map page's belt, one line, inside the road band */
.road .belt.shotbelt { margin:0 calc(-1 * var(--s5)) var(--s3); padding:0 var(--s4); border-top:1px solid var(--hair); border-bottom:1px solid var(--hair); background:transparent; }
.road .belt.shotbelt button { min-width:56px; padding:8px 4px 6px; }
.road .belt.shotbelt button .n { font-size:var(--t-20); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  /* the heading stays one line, with no hint on the phone */
  .road .dsh { flex-wrap:nowrap; }
  .road .dsh h3 { white-space:nowrap; }
  .road .dsh .dim { display:none; }
}

/* ---- 2.81.9 (Michael, 18 Oct): Chrome on the iPad ---- */
/* the full-page map on a wide screen was sized from 100vh, which Chrome on iPadOS reads from the layout viewport it can
   leave behind after a turn; dvh follows the window as it really is (the only shell-height use of vh; the day sheet
   already has its dvh line). Browsers without dvh keep the vh line above. */
@media (min-width:1100px) {
  .dayswrap[data-full="1"] .daypane > .fullmap { height:calc(100dvh - var(--mast-h) - 48px); }
}

/* ---- 2.81.9 (Michael, 18 Oct) ---- */
/* the day card: pulling past the top no longer drags the photograph down and shows the empty sheet above it */
#panel .pbody { overscroll-behavior-y:none; }
/* the day card's previous and next arrows covered the weekday; the swipe on the photograph moves between days. The two
   buttons stay for VoiceOver and the keyboard, out of sight until a keyboard reaches them */
.dayhero .dpg:not(:focus-visible) { opacity:0; pointer-events:none; }
#app[data-pkind="day"] #panel .pbody > .dayhero .dpg:focus-visible { opacity:1; }
/* every card that opens on its photograph (a restaurant, a winery, a stay, a day): on a phone the photograph takes the
   whole top of the card, inside its rounded corners, with the grip and the X floating over a soft shade. The head takes
   its paper background only once the title has scrolled away under it. */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #panel .phead.late.float { position:absolute; top:0; left:0; right:0; z-index:6; background:transparent; border-bottom-color:transparent; transition:background .2s, border-color .2s; }
  #panel .phead.late.float.shown { background:var(--panel); border-bottom-color:var(--hair); }
  #panel .phead.late.float:not(.shown) .close { color:#F5F0E8; }
  #panel .phead.late.float:not(.shown) .close::before { background:rgba(10,10,10,.42); border-color:rgba(245,240,232,.45); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
  #panel .phead.late.float:not(.shown) .close:focus-visible::before { border:2px solid var(--gold); }
  #panel .phead.late.float:not(.shown) #panelKind { opacity:0; }
  #panel .phead.late.float ~ .pbody > .phero:not(.nophoto):first-child .hero { min-height:300px; }
  #panel .phead.late.float ~ .pbody > .phero:not(.nophoto):first-child::before { content:''; position:absolute; left:0; right:0; top:0; height:96px; z-index:1; pointer-events:none; background:linear-gradient(to bottom, rgba(10,10,10,.55), rgba(10,10,10,0)); }
}
/* a reminder being removed fades while it saves */
.remrow.leaving, .chip.remset.leaving { opacity:.4; transition:opacity .2s; }
.chip.busy { opacity:.6; }
/* the map's day strip (Michael, 18 Oct): the chosen pill, Trip or a day, was cream on a cream map and could not be found.
   It is now gold, as the Plan switch is, on a light map and a dark one alike */
.mapstrip .dp[aria-pressed="true"] { background:var(--gold); color:#0A0A0A; border-color:var(--gold); box-shadow:0 2px 10px rgba(0,0,0,.28); }
.mapstrip .dp[aria-pressed="true"] .w { color:#0A0A0A; opacity:.72; }
/* the whole-trip map on a phone (option A, Michael 18 Oct): a fixed journey bar floating over the map, nothing to pull */
.mapwrap[data-layout="sheet"][data-journey]:not([data-pin]) { --sheet-h:128px; }
.mapwrap[data-layout="sheet"][data-journey]:not([data-pin]) .mapsheet { left:10px; right:10px; bottom:10px; height:auto; border:1px solid var(--hair); border-radius:14px; background:color-mix(in srgb, var(--raised) 94%, transparent); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:0 8px 24px rgba(0,0,0,.28); }
.mapwrap[data-journey]:not([data-pin]) .mapsheet .msh { cursor:default; border-bottom:0; padding:10px 14px 4px; }
.mapwrap[data-journey]:not([data-pin]) .mapsheet .msh .grab { display:none; }
.mapsheet .jhd { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.mapsheet .jhd .jn { font-size:var(--t-12); color:var(--ink-2); }
.mapwrap[data-journey][data-pin] .mapsheet .jhd { display:none; }
.mapsheet > .mjr { display:flex; padding:2px 6px 8px; flex:none; }
.mapsheet > .mjr[hidden] { display:none; }
.mjr .jleg { all:unset; box-sizing:border-box; flex:1 1 0; min-width:0; min-height:56px; display:flex; flex-direction:column; align-items:flex-start; padding:6px 8px; border-radius:8px; position:relative; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.mjr .jleg + .jleg::before { content:''; position:absolute; left:-4px; top:16px; width:8px; height:1px; background:var(--ink-3); opacity:.6; }
.mjr .jleg .jd { width:10px; height:10px; border-radius:50%; border:2px solid var(--leg, var(--hair)); margin-bottom:6px; box-sizing:border-box; }
.mjr .jleg[data-leg="rome"]{--leg:var(--rome)} .mjr .jleg[data-leg="wine"]{--leg:var(--wine)} .mjr .jleg[data-leg="florence"]{--leg:var(--florence)} .mjr .jleg[data-leg="transit"]{--leg:var(--transit)}
.mjr .jleg .nm { font-family:var(--display); font-size:var(--t-17); line-height:1.1; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.mjr .jleg .sub { font-size:11.5px; color:var(--ink-2); margin-top:3px; white-space:nowrap; }
.mjr .jleg:active { background:color-mix(in srgb, var(--ink) 7%, transparent); }
.mjr .jleg:focus-visible { outline:2px solid var(--gold); outline-offset:-2px; }
.mapwrap[data-journey]:not([data-pin]) .mapsheet .msb { display:none; }
.mjr .jleg + .jleg::before { top:11px; }
/* the booking card's head (Michael, 18 Oct, Android): the confirmation line wrapped into two lines beside the camera
   and the chevron sat on top of it. The title and the chevron share the first line, clear of the camera; the
   confirmation sits on one line under them, and only while the card is folded (open, the tiles already show it) */
.ledger .dsh { padding-right:52px; flex-wrap:wrap; row-gap:4px; }
.ledger .dsh h3 { flex:none; }
.ledger .dsh.ltoggle > svg { order:2; }
.ledger .dsh .dim { order:3; flex:1 0 100%; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ledger:not([data-fold]) .dsh.ltoggle .dim { display:none; }
#app #panel .phead.late.float:not(.shown) .close { color:#F5F0E8; }
#app #panel .phead.late.float:not(.shown) .close svg { color:#F5F0E8; stroke:#F5F0E8; }

/* ---- 2.81.10 (Michael, 18 Oct): design A for the card's controls, and the card over the whole screen ---- */
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  /* over the photograph: two matching smoked-glass circles, a chevron on the left and an X on the right, bright marks */
  #app #panel .phead.late.float:not(.shown) .close::before,
  #app #panel .phead.late.float:not(.shown) .back:not([hidden])::before { content:''; position:absolute; top:2px; left:2px; width:40px; height:40px; box-sizing:border-box; border-radius:50%; background:rgba(10,10,10,.46); border:0; box-shadow:inset 0 0 0 1px rgba(245,240,232,.24), 0 2px 10px rgba(0,0,0,.28); -webkit-backdrop-filter:blur(14px) saturate(140%); backdrop-filter:blur(14px) saturate(140%); }
  #app #panel .phead.late.float:not(.shown) .close, #app #panel .phead.late.float:not(.shown) .close svg { color:#F5F0E8; stroke:#F5F0E8; }
  #app #panel .phead.late.float:not(.shown) .close svg { width:18px; height:18px; stroke-width:2; }
  #app #panel .phead.late.float .back:not([hidden]) { position:relative; width:44px; min-width:44px; height:44px; padding:0; margin:0; justify-content:center; gap:0; background:none; border:0; border-radius:50%; -webkit-backdrop-filter:none; backdrop-filter:none; align-self:center; }
  #app #panel .phead.late.float .back:not([hidden]) .bt { display:none; }
  #app #panel .phead.late.float .back:not([hidden]) { margin-left:-16px; }
  #app #panel .phead.late.float .back:not([hidden]) svg { position:relative; width:20px; height:20px; stroke-width:2; }
  #app #panel .phead.late.float:not(.shown) .back:not([hidden]) { color:#F5F0E8; }
  #app #panel .phead.late.float.shown .back:not([hidden]) { color:var(--ink); }
  /* the title sits in the middle of the head once the photograph has scrolled away */
  #app #panel .phead.late.float .back:not([hidden]) ~ #panelKind { flex:1; text-align:center; }
  /* the line over the title says where the card came from (a day) or what it is and where */
  #panel .phead.late.float ~ .pbody .phero:not(.nophoto) .phcap .eyebrow { display:block; font-size:var(--t-11); letter-spacing:.16em; text-transform:uppercase; font-weight:600; color:#F1E8D6; margin-bottom:6px; }
  /* the card rises to just under the clock and covers the header; the page behind dims, header and all */
  #panel { position:fixed; }
  #app[data-panel="open"] #panel:not([data-detent="half"]) { top:auto; bottom:0; height:calc(100dvh - env(safe-area-inset-top, 0px) - 10px); }
  #scrim { position:fixed; top:0; }
}

/* ---- 2.81.11 (Michael, 18 Oct: the Galleria Doria Pamphilj card moved left and right on the iPhone) ----
   The photograph was given a 300 px minimum height in 2.81.9 while keeping its 3:2 shape, so it grew to 450 px wide and
   the card could be dragged sideways. The photograph now keeps the card's width and is cropped to fill the height, and
   no card scrolls sideways: rows meant to scroll sideways (day chips, photo strips) still do, inside themselves. */
#panel .pbody { overflow-x:hidden; overscroll-behavior-x:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #panel .phead.late.float ~ .pbody > .phero:not(.nophoto):first-child .hero { width:100%; aspect-ratio:auto; height:300px; min-height:0; }
  #panel[data-detent="half"] .phead.late.float ~ .pbody > .phero:not(.nophoto):first-child .hero { height:150px; }
}

/* ---- 2.82.0: one way to ask the concierge ---- */
/* the two doors in the header: the Desk with its count (an iPad and a computer; a phone keeps the Desk in its bar) and
   the gold star for the concierge. The star alone on a phone, the words beside it on a wider screen. */
#mast #deskBtn { border-color:var(--rule); color:var(--ink); margin-right:8px; }
#mast #deskBtn .n { margin-left:2px; }
#mast #askBtn { border-color:var(--gold); color:var(--gold-ink); }
#mast #askBtn svg { fill:none; }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) {
  #mast #deskBtn { display:none; }
  #mast #askBtn { width:44px; height:44px; padding:0; justify-content:center; border-radius:50%; }
  #mast #askBtn svg { width:18px; height:18px; }
}
@media (min-width:720px) { #mast #askBtn span { display:inline; } #mast #deskBtn span { display:inline; } }
@media (hover:hover) { #mast #askBtn:hover { background:color-mix(in srgb, var(--gold) 14%, transparent); } #mast #deskBtn:hover { border-color:var(--ink-3); } }
/* the concierge card: the sheet's body scrolls, the thread fills it and the composer stays at its foot */
#app[data-pkind="concierge"] #panel .pbody { display:flex; flex-direction:column; padding:0; }
#app[data-pkind="concierge"] #panelKind { font:400 var(--t-30)/1.1 var(--display); letter-spacing:0; text-transform:none; color:var(--ink); }
#app[data-pkind="concierge"] #panel .phead .back .bt { display:none; }
@media (max-width:719px) { #app[data-pkind="concierge"] #panel .phead .back:not([hidden]) ~ #panelKind { text-align:center; padding-right:34px; } #app[data-pkind="concierge"] #panelKind { font-size:var(--t-24); } }
#panel .askview { display:flex; flex-direction:column; flex:1 0 auto; min-height:0; }
#panel .askview .thread { flex:1 0 auto; overflow:visible; padding:var(--s4) var(--s5) var(--s5); display:flex; flex-direction:column; gap:var(--s4); }
#panel .askview .msg .mimg { margin:-4px -8px 8px; }
#panel .askview .msg .mimg img { display:block; max-width:min(100%, 220px); max-height:180px; border-radius:10px; object-fit:cover; }
#panel .askview .msg .mimg span { display:inline-flex; align-items:center; gap:6px; font-size:var(--t-12); color:var(--ink-2); padding:0 8px; }
/* the composer: a box that grows, a camera at its left, a black send button with a gold arrow at its right */
#panel .composer { position:sticky; bottom:0; z-index:2; flex:none; padding:var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom)); background:var(--panel); border-top:1px solid var(--hair); }
#panel .composer .crow { display:flex; align-items:flex-end; gap:8px; }
#panel .composer textarea { flex:1; min-width:0; min-height:44px; max-height:none; resize:none; border:1px solid var(--rule); border-radius:22px; padding:11px 16px; line-height:22px; font:inherit; font-size:var(--t-15); line-height:22px; font-family:var(--ui); background:var(--raised); color:var(--ink); box-sizing:border-box; margin:0; overflow-y:hidden; }
#panel .composer textarea:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 2px color-mix(in srgb, var(--gold) 28%, transparent); }
#panel .composer textarea::placeholder { color:var(--ink-3); font-style:normal; }
#panel .composer .cbtn { flex:none; width:42px; height:42px; min-height:42px; margin:1px 0; padding:0; border-radius:50%; display:grid; place-items:center; cursor:pointer; position:relative; }
#panel .composer .cbtn::after { content:''; position:absolute; inset:-1px; border-radius:50%; } /* 44 px target */
#panel .composer .ccam { border:1px solid var(--rule); background:var(--raised); color:var(--ink-2); }
#panel .composer .csend { border:1px solid var(--ink); background:var(--ink); color:var(--gold); }
#panel .composer .csend svg { stroke-width:2; }
#panel .composer .csend:disabled { opacity:.45; cursor:default; }
@media (hover:hover) { #panel .composer .ccam:hover { border-color:var(--gold); color:var(--ink); } #panel .composer .csend:not(:disabled):hover { background:#000; } }
#panel .composer .cbtn:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
#panel .composer input[type="file"] { display:none; }
/* what the question is about: a small gold chip above the box, with its own × */
#panel .composer .cabout { display:inline-flex; align-items:center; gap:4px; margin:0 0 8px 2px; padding:4px 6px 4px 10px; border-radius:100px; background:color-mix(in srgb, var(--gold) 18%, var(--raised)); color:var(--gold-ink); font:600 var(--t-12) var(--ui); max-width:100%; }
#panel .composer .cabout[hidden] { display:none; }
#panel .composer .cabout .cn { color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
#panel .composer .cabout .cx { width:24px; height:24px; min-height:0; padding:0; border-radius:50%; display:grid; place-items:center; color:var(--gold-ink); background:none; border:0; cursor:pointer; }
@media (hover:hover) { #panel .composer .cabout .cx:hover { background:color-mix(in srgb, var(--gold) 30%, transparent); color:var(--ink); } }
#panel .composer .cabout .cx:focus-visible { outline:2px solid var(--gold); }
/* a photograph or a PDF waiting to go: a small thumbnail, its name and Remove */
#panel .composer .cattach { display:flex; align-items:center; gap:10px; margin:0 0 10px 2px; font-size:var(--t-12); color:var(--ink-2); }
#panel .composer .cattach[hidden] { display:none; }
#panel .composer .cattach .cth { flex:none; width:40px; height:40px; border-radius:8px; overflow:hidden; background:var(--raised); border:1px solid var(--hair); display:grid; place-items:center; color:var(--ink-2); }
#panel .composer .cattach .cth img { width:100%; height:100%; object-fit:cover; display:block; }
#panel .composer .cattach .cl { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#panel .composer .cattach .cwarn { flex:1; color:var(--out); }
#panel .composer .cattach .crm { min-height:30px; font-size:var(--t-12); }
/* the chooser on a phone: the camera, the photos or files, or not now */
#panel .composer .csource { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:0 0 10px; font-size:var(--t-12); color:var(--ink-3); }
#panel .composer .csource[hidden] { display:none; }
#panel .composer .csource .dim { flex:1 1 100%; }
/* the Desk: the pinned Concierge row and the foot */
#panel .dm.cxrow { display:block; width:100%; text-align:left; cursor:pointer; background:none; border:0; border-bottom:1px solid var(--hair); font:inherit; color:inherit; padding:var(--s4) 0; border-radius:0; }
#panel .dm.cxrow .f .av.cx { background:var(--ink); color:var(--gold); box-shadow:none; }
#panel .dm.cxrow .f .k.st { color:var(--out); font-weight:700; }
#panel .dm.cxrow .f .cxchev { flex:none; color:var(--ink-3); display:inline-flex; margin-left:auto; }
#panel .dm.cxrow .f time { margin-left:auto; }
#panel .dm.cxrow .f time + .cxchev { margin-left:4px; }
#panel .dm.cxrow p { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (hover:hover) { #panel .dm.cxrow:hover .f .nm { color:var(--gold-ink); } }
#panel .dm.cxrow:focus-visible { outline:2px solid var(--gold); outline-offset:-2px; border-radius:6px; }
#panel .deskfoot { position:sticky; bottom:0; z-index:2; background:var(--panel); border-top:1px solid var(--hair); margin-top:var(--s4); padding:0 0 calc(var(--s4) + env(safe-area-inset-bottom)); }
#panel .deskfoot .desktask { border-top:0; }
#panel .deskfoot .btn.deskask { width:100%; justify-content:center; min-height:50px; border-radius:100px; font-size:var(--t-15); font-weight:600; background:var(--ink); color:var(--paper); border-color:var(--ink); gap:10px; margin-top:4px; }
#panel .deskfoot .btn.deskask svg { color:var(--gold); }
@media (hover:hover) { #panel .deskfoot .btn.deskask:hover { background:#000; } }

/* ---- 2.82.3: list rows. One state, on the name's line, and the name always wins (Michael, 19 Oct) ----
   The status shares the name's line so the details below get the whole width. The name may wrap to two lines beside
   it; if it would need more, fitRows() adds .stack and the status moves under the name. Nothing can overlap. */
.krow.has-st { grid-template-columns:minmax(0, 1fr) auto; grid-template-areas:"nm st" "sub sub"; column-gap:var(--s3, 12px); row-gap:2px; align-items:baseline; }
.krow.has-st > .tb { display:contents; }
.krow.has-st .nm { grid-area:nm; min-width:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:normal; }
.krow.has-st .sub { grid-area:sub; }
.krow.has-st > .stat { grid-area:st; justify-self:end; }
.krow.has-st.stack { grid-template-columns:minmax(0, 1fr); grid-template-areas:"nm" "sub"; }
/* 2.83.1: when it cannot sit beside the name, the status leads the details line, never a line of its own */
.krow.has-st.stack .sub > .stat { display:inline-flex; vertical-align:baseline; margin-right:.3em; white-space:nowrap; }
.krow.has-st.stack .sub > .stat::after { content:"\00b7"; margin-left:.15em; color:var(--ink-3); font-weight:400; letter-spacing:0; }
.krow.has-st.stack > .stat { justify-self:start; }
/* a status alone on its own line (a card's flag) may wrap rather than run past the edge */
div.mark[data-s], div.stat { white-space:normal; }
/* names wrap to two lines rather than cut to one: a transfer's title was clipped to "Rome to the wine …" at a larger
   text size (found by the 2.82.3 large-text check) */
.trow .tt { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:normal; }

/* ---- 2.82.3: iPad mini fixes (Michael, 19 Oct) ---- */
/* a card opened from a day keeps the day's leg line down its side, as the day tray has */
#panel[data-leg="rome"]{--leg:var(--rome)} #panel[data-leg="wine"]{--leg:var(--wine)} #panel[data-leg="florence"]{--leg:var(--florence)} #panel[data-leg="transit"]{--leg:var(--transit)}
#panel[data-leg]::before { content:''; position:absolute; left:0; top:0; bottom:0; width:2px; background:var(--leg, transparent); z-index:5; pointer-events:none; }
/* the header never wraps: when space runs short the concierge is the round gold star, then the Desk keeps its icon and count */
#mast #askBtn, #mast #deskBtn { white-space:nowrap; flex:none; }
#mast.tight #askBtn { width:44px; height:44px; padding:0; justify-content:center; border-radius:50%; }
#mast.tight #askBtn span { display:none !important; }
#mast.tighter #deskBtn > span:not(.n) { display:none !important; }
/* the Days switch is never clipped: when it does not fit beside the title it takes its own line */
.dayshead { flex-wrap:wrap; row-gap:var(--s3); }
.dayshead .seg2 { flex:none; overflow:visible; }
/* the camera's sheet: what we are looking for, then Take a photo or Choose a photo or a file */
.psheet-scrim { position:fixed; inset:0; z-index:90; background:rgba(10,10,10,.35); }
.psheet { position:fixed; z-index:91; left:50%; bottom:max(16px, env(safe-area-inset-bottom)); transform:translateX(-50%); width:min(440px, calc(100vw - 32px)); box-sizing:border-box; background:var(--panel, var(--paper)); color:var(--ink); border-radius:20px; padding:22px 22px 16px; box-shadow:0 24px 60px rgba(0,0,0,.28); }
@media (min-width:720px) { .psheet { top:50%; bottom:auto; transform:translate(-50%, -50%); } }
.psheet-t { font-family:var(--display); font-weight:400; font-size:var(--t-24); margin:0 0 8px; }
.psheet-why { margin:0 0 18px; font-size:var(--t-15); line-height:1.45; color:var(--ink-2); }
.psheet-acts { display:flex; flex-direction:column; gap:10px; }
.psheet-acts .btn { width:100%; justify-content:center; min-height:48px; }

/* ---- 2.82.3: count tiles, one style everywhere (Michael, 19 Oct) ----
   Every tile in a row is the same size and the row fills the width. fitTiles() picks the columns: all tiles on one line
   when each can be at least 150 points wide, otherwise two lines (4 tiles make 2 by 2, never 3 and 1). The number grows
   with the tile, and a label wraps to a second line rather than being cut. */
.wstats { grid-template-columns:repeat(var(--cols, 4), minmax(0, 1fr)); }
@media (max-width:719px), (max-height:519px) and (max-width:1000px) { .wstats { grid-template-columns:repeat(var(--cols, 2), minmax(0, 1fr)); } }
.wstats .wt { container-type:inline-size; min-width:0; }
.wstats.wtiles .wt { justify-content:space-between; min-height:96px; padding:14px 16px; }
.wstats .wt .n { font-size:clamp(calc(28 * var(--u)), 26cqi, calc(48 * var(--u))); line-height:1; }
.wstats.wtiles .wt .l { white-space:normal; overflow:visible; text-overflow:clip; line-height:1.3; }
/* 2.82.3: the narrow Wine list (an iPad mini upright with the menu open, and phones). The later column rules above
   overrode the narrow layout, leaving dead space on the right and no chevron (Michael, 19 Oct). Photo, name and when on
   the left; the status and the drive on the right; the chevron at the edge. */
/* the phone keeps its rows until Michael approves a phone mockup (19 Oct) */
@media (min-width:720px) {
@container (max-width:640px) {
  .twl-h { display:none; }
  .twl-r { grid-template-columns:52px minmax(0, 1fr) auto 14px; grid-template-areas:"ph tb st qa" "ph when drv qa"; column-gap:12px; row-gap:4px; }
  .twl-r .ph { grid-area:ph; width:52px; height:52px; } .twl-r .tb { grid-area:tb; }
  .twl-r > .twl-s, .twl-r > .twl-req { grid-area:st; justify-self:end; align-self:end; }
  .twl-r .when { grid-area:when; flex-direction:row; gap:6px; align-self:start; }
  .twl-r .drv { display:flex; grid-area:drv; flex-direction:row; gap:6px; justify-self:end; align-self:start; }
  .twl-r .qa { display:flex; grid-area:qa; justify-content:center; } .twl-r .qa > :not(.chev) { display:none; }
  .twl-r .tnote, .twl-r .open { display:none; }
}
}
/* 2.82.3: the Needs you bar has the same space above and below on every page (Michael, 19 Oct: it sat hard against the
   Wine page's cards with a wide gap under it). The block after it gives up its own top margin. */
.rail-inline.top.attnbar { margin:var(--s5) 0; }
.rail-inline.top.attnbar + * { margin-top:0 !important; }
/* 2.82.3: the add-a-winery row (Wine, "Add from the books") had its field and buttons touching */
.nrow { display:flex; flex-wrap:wrap; gap:var(--s2); align-items:center; }
.nrow > .search { flex:1 1 100%; }
/* 2.82.3: Needs you looks the same upright and across (Michael, 19 Oct). Upright there is no tray, so the quiet notice
   opens in place; it is the wide screen's .pagestatus line, with a chevron. */
.rail-inline.attnbar { border:0; border-radius:8px; background:color-mix(in srgb, #DEA726 10%, var(--paper)); }
.attnbar .attnh { min-height:44px; padding:10px 14px; gap:10px; }
.attnbar .attnh .cnt { width:16px; height:16px; color:#B8861B; }
.attnbar .attnh .cnt svg { position:static; width:16px; height:16px; color:#B8861B; }
.attnbar .attnh .k { display:none; }
.attnbar .attnh .line { font-size:var(--t-15); color:var(--ink-2); }
.attnbar .attnb { border-top:1px solid color-mix(in srgb, #DEA726 30%, var(--hair)); }
/* the last step, at a large text size with the menu open: the wordmark keeps only the Volo mark, and Back only its chevron */
#mast.tightest .brand .pipe, #mast.tightest .brand .wm { display:none; }
#mast.tightmost .mastback > .bl { display:none; }
/* 2.82.3 (Michael, 19 Oct, wine-phone-mockup-2): on a phone the Wine row shows its status and a chevron, and no drive
   time; the list is already sorted nearest first */
@media (max-width:719px) {
  @container (max-width:640px) {
    .twl-h { display:none; }
    .twl-r { grid-template-columns:52px minmax(0, 1fr) auto 14px; grid-template-areas:"ph tb st qa" "ph when when qa"; column-gap:12px; row-gap:4px; }
    .twl-r .ph { grid-area:ph; } .twl-r .tb { grid-area:tb; }
    .twl-r > .twl-s, .twl-r > .twl-req { grid-area:st; justify-self:end; align-self:center; }
    .twl-r .when { grid-area:when; flex-direction:row; gap:6px; }
    .twl-r .drv { display:none; }
    .twl-r .qa { display:flex; grid-area:qa; justify-content:center; align-self:center; } .twl-r .qa > :not(.chev) { display:none; }
    .twl-r .tnote, .twl-r .open { display:none; }
  }
}

/* ---------- 2.83.0 Today: one hero, a round gold Go, done stops folded, the iPad upright band ---------- */
.thero { display:flex; align-items:center; gap:var(--s3); margin-top:var(--s2); }
.thero .tx { flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:2px; text-align:left; background:none; border:0; padding:0; color:inherit; font:inherit; cursor:pointer; }
.thero .lab { font-size:var(--t-12); font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-ink); }
.thero .hn { font-family:var(--display); font-size:var(--t-24); line-height:1.15; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; max-width:100%; }
.thero .hf { font-size:var(--t-13); color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.thero .tgo { flex:none; width:56px; height:56px; border-radius:50%; background:var(--gold); color:#1B1A17; display:grid; place-items:center; text-decoration:none; box-shadow:0 2px 8px rgba(0,0,0,.14); }
.thero .tgo svg { display:block; margin:0; }
.thero .tgo:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.sheet .shead[data-next] .tpeek .nx { display:none; }
.toff { font-size:var(--t-12); color:var(--ink-3); margin-top:var(--s2); }
.tfold { display:flex; justify-content:space-between; align-items:center; width:100%; min-height:44px; padding:var(--s2) 0; background:none; border:0; border-bottom:1px solid var(--hair); font:inherit; font-size:var(--t-13); color:var(--ink-3); cursor:pointer; text-align:left; }
.tfold .sh { color:var(--gold-ink); font-weight:600; }
.tsec[data-fold="1"] > [data-done] { display:none; }
.stop[data-done] .k { opacity:.55; }
/* 2.95.1 (approved 11 Nov, the ordered day): one column of numbered discs; done fades back with a gold check; here now
   is gold; next is black; later is outlined. The dots open the stop's actions; open stops are held and dragged. */
.stop.seq[data-st] { align-items:center; border-top:0; border-radius:12px; padding:8px 4px 8px 8px; margin:2px 0; border:1px solid transparent; }
.stop.seq[data-st] .k { width:28px; height:28px; font-size:13px; font-weight:600; box-sizing:border-box; }
.stop.seq[data-st="done"] { opacity:.7; padding-top:4px; padding-bottom:4px; }
.stop.seq[data-st="done"] .k { opacity:1; background:color-mix(in srgb, var(--ink) 10%, var(--paper)); color:var(--ink-2); }
.stop.seq[data-st="done"] .nm { font-family:var(--ui); font-size:var(--t-15); color:var(--ink-2); }
.stop.seq[data-st="done"] .go.tdone { color:var(--gold-ink, #B88A1C); padding:0 8px 0 0; }
.stop.seq[data-st="here"] { background:color-mix(in srgb, var(--gold) 22%, var(--paper)); border-color:color-mix(in srgb, var(--gold) 55%, var(--paper)); }
.stop.seq[data-st="here"] .k { background:var(--gold); color:#0A0A0A; box-shadow:0 0 0 4px color-mix(in srgb, var(--gold) 30%, transparent); }
.stop.seq[data-st="next"] { border-color:var(--hair); }
.stop.seq[data-st="next"] .k { background:var(--ink); color:var(--paper); }
.stop.seq[data-st="up"] .k { background:transparent; color:var(--ink); border:1.5px solid var(--ink-3); }
.stop.seq[data-st] .teb { display:block; font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:600; color:var(--ink-2); margin-bottom:1px; }
.stop.seq[data-st="here"] .teb { color:var(--gold-ink, #6B4E0E); }
.stop.seq[data-st] .go:has(.tdots) { padding:0; }
.stop.seq .tdots { width:44px; height:44px; display:grid; place-items:center; color:var(--ink); border-radius:22px; cursor:pointer; }
.stop.seq .tdots:focus-visible { outline:2px solid var(--gold); }
.stop.seq.lift { background:var(--paper); box-shadow:0 10px 28px rgba(0,0,0,.18); position:relative; z-index:2; }
.lifting { user-select:none; -webkit-user-select:none; }
.toffday { margin-top:var(--s3); display:flex; flex-direction:column; gap:2px; }
.toffday .tofr { display:grid; grid-template-columns:28px 1fr auto; gap:var(--s3); align-items:center; padding:6px 4px 6px 8px; background:none; border:0; text-align:left; font:inherit; color:var(--ink-2); cursor:pointer; }
.toffday .tofr .nm { font-size:var(--t-15); } .toffday .tofr .sub { font-size:var(--t-12); color:var(--ink-3); }
.thint { margin:var(--s3) 0 0; font-size:var(--t-12); color:var(--ink-2); text-align:center; }
.btn.tadd { width:100%; min-height:48px; margin-top:var(--s3); border-radius:24px; }
.sahead { display:grid; grid-template-columns:36px 1fr auto; gap:var(--s3); align-items:center; margin:var(--s5) 0 var(--s4); }
.sahead .k { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-weight:600; background:var(--ink); color:var(--paper); }
.sahead .k[data-st="here"] { background:var(--gold); color:#0A0A0A; } .sahead .k[data-st="up"] { background:transparent; color:var(--ink); border:1.5px solid var(--ink-3); } .sahead .k[data-st="done"] { background:color-mix(in srgb, var(--ink) 10%, var(--paper)); color:var(--ink-2); }
.sahead h2 { margin:0; } .sahead .salink { background:none; border:0; font:inherit; color:var(--gold-ink); font-weight:600; min-height:44px; padding:0 4px; cursor:pointer; }
.salist { display:flex; flex-direction:column; border-top:1px solid var(--hair); }
.sarow { display:flex; align-items:center; gap:var(--s3); min-height:60px; padding:var(--s2) 4px; border:0; border-bottom:1px solid var(--hair); background:none; text-align:left; font:inherit; color:var(--ink); cursor:pointer; }
.sarow .tx { display:flex; flex-direction:column; } .sarow .t { font-size:var(--t-16, 16px); font-weight:500; } .sarow .s { font-size:var(--t-12); color:var(--ink-3); }
.satime[hidden], .samove[hidden] { display:none; }
.satime, .samove { padding:var(--s3) 4px; border-bottom:1px solid var(--hair); display:flex; flex-wrap:wrap; gap:var(--s2); }
.satime input[type=time] { font:inherit; font-size:18px; min-height:44px; padding:0 12px; border:1px solid var(--hair); border-radius:10px; background:var(--paper); color:var(--ink); }
.satime .acts { display:flex; gap:var(--s2); width:100%; }
.adtabs { margin:var(--s3) 0; } .adlist { display:flex; flex-direction:column; gap:2px; }
.adrow { display:flex; align-items:center; justify-content:space-between; gap:var(--s3); padding:var(--s3) 0; border-bottom:1px solid var(--hair); }
.adrow .tx { display:flex; flex-direction:column; min-width:0; } .adrow .nm { font-family:var(--display); font-size:var(--t-17, 17px); } .adrow .sub { font-size:var(--t-12); color:var(--ink-3); }
.adrow .btn { flex:none; white-space:nowrap; }
.adlist .adq { width:100%; box-sizing:border-box; min-height:48px; font:inherit; font-size:16px; padding:0 14px; border:1px solid var(--hair); border-radius:12px; background:var(--paper); color:var(--ink); margin-bottom:var(--s2); }
#tband { display:none; }
@media (min-width:720px) and (max-width:1099px) and (orientation:portrait) and (min-height:520px) {
  #app[data-mode="travel"] #travel:has(#tband:not(:empty)) { grid-template-rows:auto auto 1fr; }
  #tband:not(:empty) { display:flex; flex-direction:column; justify-content:flex-end; gap:var(--s2); min-height:240px; max-height:34vh; padding:var(--s5) var(--s6); color:#F5F0E8;
    background:linear-gradient(180deg, rgba(10,10,10,.20), rgba(10,10,10,.84)), var(--img, linear-gradient(135deg, #3a342b, #1B1A17)) center / cover no-repeat; }
  #tband .eyebrow { color:#E9DFC8; }
  #tband .thero { margin-top:0; gap:var(--s4); }
  #tband .thero .lab { color:#F1CF7A; }
  #tband .thero .hn { font-size:var(--t-44); line-height:1.08; color:#F5F0E8; }
  #tband .thero .hf { font-size:var(--t-15); color:#EFE6D4; }
  #tband .tsun { display:flex; align-items:center; gap:6px; font-size:var(--t-13); color:#F1CF7A; }
  #travel:has(#tband:not(:empty)) .sheet .shead .thero, #travel:has(#tband:not(:empty)) .sheet .shead .tpeek .sun { display:none; }
}

/* 2.83.2 (Michael, 20 Oct, iPad mini): the day tray's photograph fills the tray from edge to edge and from the top, as a
   card's does, with the close over its corner; no inset tile under a separate row */
.daypane.tray .trayhead { margin-bottom:-52px; background:transparent; pointer-events:none; }
.daypane.tray .trayhead .sclose { pointer-events:auto; color:#F5F0E8; }
.daypane.tray .trayhead .sclose::before { background:rgba(10,10,10,.42); border-color:rgba(245,240,232,.45); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.daypane.tray .ph { margin:0 calc(var(--s5) * -1) var(--s4); aspect-ratio:3/2; }
.daypane.tray .ph::before { content:''; position:absolute; left:0; right:0; top:0; height:96px; z-index:1; pointer-events:none; background:linear-gradient(to bottom, rgba(10,10,10,.35), rgba(10,10,10,0)); }

/* 2.83.3: the car icon is wider than it is tall; the square sizes set for icons give it its height only */
svg.wide { width:auto !important; aspect-ratio:1.7; flex:none; }

/* 2.91.0: the opening says what is slow instead of staying black (boot.js watchdog) */
.boot-stall { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 56px); transform: translateX(-50%); width: min(320px, calc(100% - 48px)); text-align: center; color: #F5F0E8; font: 400 15px/1.45 Inter, system-ui, sans-serif; z-index: 5; animation: bootStallIn .4s ease both; }
.boot-stall p { margin: 0 0 16px; }
.boot-stall-btn { appearance: none; border: 1px solid #DEA726; background: transparent; color: #DEA726; font: 600 15px/1 Inter, system-ui, sans-serif; padding: 12px 28px; border-radius: 999px; cursor: pointer; }
.boot-stall-btn:active { background: rgba(222, 167, 38, .15); }
.boot-stall small { display: block; margin-top: 14px; font-size: 11px; letter-spacing: .02em; color: rgba(245, 240, 232, .45); }
@keyframes bootStallIn { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 2.92.0: the lock choice in Settings (Immediately, 30 minutes, 1 hour), and a short status line at the foot */
.lockseg { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.lockopt { appearance: none; border: 1px solid rgba(10,10,10,.22); background: transparent; color: inherit; font: 500 14px/1 Inter, system-ui, sans-serif; padding: 11px 16px; border-radius: 999px; min-height: 44px; cursor: pointer; }
.lockopt.on { background: #0A0A0A; color: #F5F0E8; border-color: #0A0A0A; }
[data-scheme="dark"] .lockopt { border-color: rgba(245,240,232,.3); }
[data-scheme="dark"] .lockopt.on { background: #DEA726; color: #0A0A0A; border-color: #DEA726; }
.notebar { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); transform: translateX(-50%); max-width: min(420px, calc(100% - 32px)); background: #0A0A0A; color: #F5F0E8; font: 500 14px/1.4 Inter, system-ui, sans-serif; padding: 12px 18px; border-radius: 14px; z-index: 9500; }

/* 2.94.0 (item 33): a stop at the hotel shows as the hotel pin with the stop's number */
.pin.stay .pbadge { position:absolute; top:-6px; right:-6px; min-width:17px; height:17px; padding:0 4px; border-radius:9px; background:#1F4E8C; color:#fff; font:600 10px/17px Inter, system-ui, sans-serif; text-align:center; border:1.5px solid #F5F0E8; box-sizing:border-box; }
.pin.stay .pbadge[data-ts="done"] { background:#7A8794; }

/* 2.94.0 (item 10): the pull hint is a small ring, never words over the day strip */
.ptr[data-s="pull"], .ptr[data-s="ready"] { width:26px; height:26px; min-width:0; padding:0; border-radius:50%; background:var(--paper, #F5F0E8); border:2px solid rgba(10,10,10,.18); box-shadow:0 1px 4px rgba(0,0,0,.18); font-size:0; }
.ptr[data-s="ready"] { border-color:#DEA726; }

/* 2.94.0 (item 34): the pin-a-note row: box, then the words as one block that wraps */
.pinit { align-items:flex-start; } .pinit input { flex:0 0 auto; margin-top:2px; } .pinit .pw { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 auto; } .pinit .pw .hint { white-space:normal; }
/* 2.94.0 (Michael, 27 Oct: words against the edges of the note box): every text box has room inside */

/* 2.94.0 (item 16): the meal tray says what is set */
.msaid { margin:var(--s3, 12px) 0 0; font-size:var(--t-14, 14px); color:var(--gold-ink, #8A6412); font-weight:500; }

/* 2.94.0 (screen 3): share, a round icon on the place's photo */
#panel .phero .pshare { position:absolute; top:max(16px, env(safe-area-inset-top, 0px)); right:72px; width:40px; height:40px; border-radius:20px; border:none; background:rgba(245,240,232,.92); color:#0A0A0A; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 4px rgba(0,0,0,.2); z-index:2; }

/* 2.94.0 (screen 5): Free until dinner */
.freec .fct { font-family:var(--serif, 'ivypresto-display', Georgia, serif); font-size:26px; font-weight:400; margin:4px 0 2px; }
.freec .fcs { font-size:14px; color:var(--ink-2); }
.freec .fce { margin-top:14px; }
.freec .fcr { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--rule); }
.freec .fcn { flex:1; min-width:0; text-align:left; background:none; border:none; padding:0; display:flex; flex-direction:column; gap:2px; color:inherit; }
.freec .fcn .nm { font-family:var(--serif, Georgia, serif); font-size:18px; }
.freec .fcn .sub { font-size:13px; color:var(--ink-2); }
.freec .fcgo { min-height:36px; padding:0 14px; border-radius:18px; display:inline-flex; align-items:center; }
.freec .fcnext { width:100%; margin-top:14px; display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:14px; border:none; background:#0A0A0A; color:#F5F0E8; text-align:left; }
.freec .fcnext .k { font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:#F1CF7A; font-weight:600; }
.freec .fcnext .nm { flex:1; font-family:var(--serif, Georgia, serif); font-size:18px; }
.freec .fcnext .t { font-weight:600; }
.freec .fcmore { width:100%; margin-top:12px; min-height:46px; border-radius:23px; border:1px solid var(--rule); background:transparent; color:inherit; font:inherit; font-weight:500; }

/* 2.94.0 (screen 1): Did you visit? A floating card, every corner rounded, never styled like a sheet */
.visitq { margin:14px 0; background:#0A0A0A; color:#F5F0E8; border-radius:20px; padding:16px 18px 18px; box-shadow:0 10px 30px rgba(10,10,10,.22); display:flex; flex-direction:column; gap:14px; }
.visitq .vqt { display:flex; gap:14px; align-items:center; }
.visitq .vqi { width:72px; height:72px; border-radius:10px; object-fit:cover; flex:0 0 72px; }
.visitq .vqe { font-size:11px; letter-spacing:2px; text-transform:uppercase; color:#F1CF7A; font-weight:600; }
.visitq .vqh { font-family:var(--serif, Georgia, serif); font-size:22px; line-height:1.2; margin-top:4px; }
.visitq .vqa { display:flex; gap:10px; }
.visitq .vqa button { flex:1; min-height:48px; border-radius:24px; font:inherit; font-weight:500; }
.visitq .vqy { border:none; background:#DEA726; color:#0A0A0A; }
.visitq .vqn { border:1px solid rgba(245,240,232,.35); background:transparent; color:#F5F0E8; }
.visitq .vqf { font-size:12px; color:#B9AF9F; text-align:center; }
/* 2.94.0 (screen 2): the rating */
#panel .rth { font-family:var(--serif, Georgia, serif); font-size:22px; font-weight:400; margin:18px 0 2px; }
#panel .rbox { display:flex; justify-content:space-between; gap:8px; margin-top:12px; }
#panel .rbox button { flex:1; aspect-ratio:1; max-width:62px; border-radius:12px; border:1px solid var(--rule); background:transparent; color:var(--ink-3); display:flex; align-items:center; justify-content:center; }
#panel .rbox button[aria-pressed="true"] { background:#DEA726; border-color:#DEA726; color:#0A0A0A; }
#panel .rbox button[aria-pressed="true"] svg { fill:currentColor; }
#panel .rsaid { min-height:20px; margin-top:8px; font-weight:500; color:var(--gold-ink, #7A5A12); }
#panel .rlab { margin-top:16px; }
#panel .rrec { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; margin-top:8px; }
#panel .rrec button { min-height:44px; border-radius:22px; border:1px solid var(--rule); background:transparent; color:inherit; font:inherit; font-weight:500; }
#panel .rrec button[aria-pressed="true"] { background:#0A0A0A; color:#F5F0E8; border-color:#0A0A0A; }
#panel .rins { display:flex; flex-direction:column; gap:4px; margin-top:16px; }
#panel .rins input { min-height:46px; border-radius:10px; border:1px solid var(--rule); background:var(--raised, #FFFDF8); padding:0 14px; font:inherit; color:inherit; }
#panel .ract2 .btn { flex:1; }
#panel .rlater { margin-top:8px; border:1px solid var(--rule); border-radius:14px; background:var(--raised, #FFFDF8); padding:6px 0; display:flex; flex-direction:column; }
#panel .rlater .eyebrow { padding:8px 16px 4px; }
#panel .rlater button { min-height:44px; border:none; background:transparent; text-align:left; padding:0 16px; font:inherit; color:inherit; }
#panel .rlater[hidden] { display:none; }

/* 2.94.0 (screen 7): Start a new trip at the top; a trip just home stays open with its numbers */
/* 2.95.0 (Michael, 15 Nov): one card for every trip; Start a new trip is a plain outlined button; Ratings carries a star and a dot, never a count */
.pf-add { margin:0 0 var(--s5, 20px); }
.pf-add #addTrip { width:100%; min-height:56px; border-radius:28px; border:1px solid var(--ink, #0A0A0A); border-style:solid; background:transparent; color:var(--ink, #0A0A0A); font:500 16px var(--ui, Inter, sans-serif); display:flex; align-items:center; justify-content:center; gap:10px; }
.pf-add #addTrip svg { width:18px; height:18px; }
@media (hover:hover) { .pf-add #addTrip:hover { border-color:var(--gold, #DEA726); } }
.trips { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap:var(--s5, 20px); align-items:start; }
.thome { margin:0; background:#0A0A0A; color:#F5F0E8; border-radius:18px; overflow:hidden; display:flex; flex-direction:column; }
.thome .thph { position:relative; display:block; height:210px; color:#F5F0E8; text-decoration:none; background:#1E1C19; }
.thome .thph img { width:100%; height:100%; object-fit:cover; display:block; }
.thome .thph::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,.9) 100%); }
.thome .hcap { position:absolute; left:18px; right:18px; bottom:14px; z-index:1; display:flex; flex-direction:column; gap:2px; }
.thome .hcap .eyebrow { color:#F1CF7A; font-size:11px; letter-spacing:2px; font-weight:600; text-transform:uppercase; margin:0; }
.thome .hcap .tnm { font-family:var(--display, Georgia, serif); font-size:32px; line-height:1.1; }
.thome .hcap .tsub { font-size:14px; color:#EDE6D8; }
.thome .hcap .tdates { font-size:13px; color:#CFC6B6; }
.thome .hstats { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); border-top:1px solid rgba(245,240,232,.12); }
.thome .hstats > div { padding:12px 16px; display:flex; flex-direction:column; }
.thome .hstats > div + div { border-left:1px solid rgba(245,240,232,.12); }
.thome .hstats b { font-family:var(--display, Georgia, serif); font-size:22px; font-weight:400; color:#F5F0E8; }
.thome .hstats span { font-size:12px; color:#CFC6B6; }
.thome .hacts { display:flex; gap:10px; padding:6px 16px 18px; }
.thome .hstats + .hacts { padding-top:6px; } .thome .thph + .hacts { padding-top:14px; }
.thome .hbtn { flex:1; min-height:46px; border-radius:23px; display:flex; align-items:center; justify-content:center; gap:8px; padding:0 14px; border:1px solid rgba(245,240,232,.45); color:#F5F0E8; text-decoration:none; font:500 15px var(--ui, Inter, sans-serif); white-space:nowrap; }
.thome .hbtn.gold { flex:1.4; background:#DEA726; border-color:#DEA726; color:#0A0A0A; font-weight:600; }
.thome .hbtn.rate svg { width:16px; height:16px; color:#DEA726; }
.thome .hbtn.rate .due { width:8px; height:8px; border-radius:4px; background:#DEA726; display:inline-block; }

/* 2.94.0 (screen 9): why skip */
.skipwhy { margin:6px 0 10px; padding:12px 14px; border:1px solid var(--rule); border-radius:14px; background:var(--raised, #FFFDF8); }
.skipwhy .q { font-weight:600; font-size:15px; margin-bottom:8px; }
.skipwhy .chips { display:flex; flex-wrap:wrap; gap:8px; }

/* 2.94.0 (screen 3): the place card's foot, pinned */
#panel .pfoot { position:sticky; bottom:0; z-index:3; display:flex; gap:10px; margin:16px calc(var(--s5) * -1) 0; padding:12px var(--s5) calc(12px + env(safe-area-inset-bottom, 0px)); background:var(--paper); border-top:1px solid var(--rule); }
#panel .pfoot .btn { flex:1; min-height:50px; border-radius:25px; justify-content:center; }
#panel .pfoot .pfgo { flex:1.3; }

/* 2.94.0 (screen 9): the swipe shows where it is going */
.krow.shotr { transition:transform .18s ease; }
.krow.shotr[data-sw="shot"] { box-shadow:inset 6px 0 0 #3E6B4F; }
.krow.shotr[data-sw="skip"] { box-shadow:inset -6px 0 0 #8A4B2E; }

/* 2.94.0 (item 9): the note's place, under the title, never in the handle */
#panel .notefor { font-family:var(--serif, Georgia, serif); font-size:18px; color:var(--ink-2); margin-top:2px; }
/* 2.95.2 (approved 11 Nov, screen B2): the alerts this phone makes, one switch each */
.alrules { display:flex; flex-direction:column; margin:var(--s3) 0 var(--s5); }
.alrules .eyebrow { margin:var(--s5) 0 var(--s1, 4px); }
.alrules .setd.need { color:var(--gold-ink); margin-top:2px; }
.alrules .setline.quiet { border-bottom:0; }
.latesaid:empty { display:none; }
.alrules .setline { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:var(--s4); align-items:center; }
