/* Round 7: approved raised card, bright border and soft fade in both themes. */
:root{--walk-ceiling-gap:16px;--walk-card-bg:#322d47;--walk-card-shadow:0 18px 50px rgba(0,0,0,.7),0 4px 12px rgba(0,0,0,.45);--walk-fade-color:rgb(18,16,26);--walk-fade-mid:.82;--walk-fade-end:.96}
:root[data-theme=light]{--walk-card-bg:var(--card);--walk-card-shadow:0 8px 35px #0003;--walk-fade-color:rgb(114,112,114);--walk-fade-mid:.84;--walk-fade-end:.95}
/* The fade behind the guide meets the page as the visitor sees it, as dark mode's always has (dark's fade color is its --bg):
   the dimmed page (light --bg under the scrim) on dimmed steps, the page itself on the undimmed ones (7, 13, the invoice). Light
   mode's darker gray made a heavy band (private tour walk 10/20, item 19; rule 21: light and dark both). */
.walk-undimmed{--walk-fade-color:var(--bg)}
.walk-fade{position:fixed;inset:0;width:100%;height:100%;z-index:100000;pointer-events:none}
.walk-fade stop{stop-color:var(--walk-fade-color)}
.walk-fade-mid{stop-opacity:var(--walk-fade-mid)}.walk-fade-end{stop-opacity:var(--walk-fade-end)}
.walk-scrim{position:fixed;inset:0;width:100%;height:100%;z-index:100000;pointer-events:none;fill:rgba(20,17,24,.58)}
.walk-ring{position:fixed;z-index:100001;pointer-events:none;border:3px solid #c083ff;border-radius:14px;box-shadow:0 0 10px 2px rgba(192,131,255,.35);box-sizing:border-box}
.walk-read-ring{border:2px solid var(--brand-soft,#4a148c);box-shadow:none;animation:none}
.walk-control-glow{outline:3px solid #c083ff;outline-offset:0;box-shadow:0 0 10px 2px rgba(192,131,255,.35)}
.walk-active .walk-tap-target{animation:walk-tap-pulse 1s ease-in-out infinite}
.walk-card{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));max-width:358px;margin:0 auto;z-index:100002;background:var(--walk-card-bg);color:var(--ink,#211d1a);border:1.5px solid var(--brand-soft);border-radius:18px;padding:12px 24px 16px;box-shadow:var(--walk-card-shadow);text-align:center;transition:opacity .25s ease,translate .25s ease;translate:0 0}
.walk-card header{display:flex;align-items:center;justify-content:center;min-height:20px;margin:0 0 8px}
/* Exit: a quiet word in the top right corner, mirroring the round Back's bottom left. Its 44px tap area clears the counter and the text. */
.walk-card:has(>.walk-exit){padding-top:8px}.walk-card:has(>.walk-exit) header{min-height:28px}
.walk-exit{position:absolute;top:0;right:0;min-width:44px;height:44px;padding:0 var(--s-12);display:grid;place-items:center;border:0;border-radius:0 16px 0 12px;background:none;color:var(--muted,#756e65);font:600 15px/1 var(--ui);cursor:pointer}
.walk-exit:focus-visible{outline:2px solid var(--brand-soft);outline-offset:-4px}
.walk-card small{color:var(--muted,#756e65);font-size:15px}
.walk-card p{font-size:18px;line-height:1.4;margin:0 0 12px;white-space:normal;text-wrap:balance}
.walk-card p:last-child{margin-bottom:0}
.walk-card .wide{display:block;width:auto;min-width:168px;min-height:44px;margin-inline:auto}
.book-agreement{display:flex;align-items:center;gap:8px;min-height:44px;margin:8px 0 16px}.book-agreement input{width:20px;height:20px}
.walk-read{overflow:auto;overscroll-behavior:contain}
.walk-active .contact-menu.as-sheet{bottom:calc(var(--walk-reserve,220px) + env(safe-area-inset-bottom));max-height:calc(100dvh - var(--walk-reserve,220px) - 80px);overflow:auto}
.walk-highlight{color:inherit;background:rgba(120,60,185,.22);border-radius:3px}
.walk-welcome .welcome-card{position:relative;gap:8px;padding:24px;max-width:390px;max-height:calc(100dvh - 32px);overflow-y:auto;display:flex;flex-direction:column;align-items:center;text-align:center}
.walk-welcome .welcome-mark{width:124px;height:124px;margin:0}
.walk-welcome .welcome-title{margin:0}
.walk-welcome .welcome-text{font-size:17px;line-height:1.4;margin:0;text-wrap:balance}
.walk-welcome .welcome-demo{font-size:14px;line-height:1.4;color:var(--muted,#756e65);margin:4px 0;text-wrap:balance}
.walk-welcome .btn{width:100%;min-height:48px}
.ip-profile{display:block;font-size:13px;line-height:1.5;color:#6f6861;font-weight:400}   /* the paper keeps paper colors in dark mode (sweep V81) */
@keyframes walk-tap-pulse{0%,100%{scale:1}50%{scale:1.04}}
@media(prefers-reduced-motion:reduce){.walk-active .walk-tap-target{animation:none;scale:1}}
/* A tap that waits on the app (Book, Send, the card's Next and Back; E1): the button shows it is working at once, as a lever chip
   does (styles.css .lever.working), full strength though it is disabled meanwhile. */
.walk-active #view .card .btn.working,#walkthrough [data-walk-control].working,.walk-welcome [data-walk-start].working{opacity:1;animation:poll-blink 1.2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.walk-active #view .card .btn.working,#walkthrough [data-walk-control].working,.walk-welcome [data-walk-start].working{animation:none;outline:2px dashed currentColor;outline-offset:2px}}

.walk-email .quote-wrap,.walk-email .show-orig,.walk-email .addon-chips{display:none}
.walk-email .draft{padding:16px 12px 4px}
.walk-email .draft .text{font-size:15px;line-height:1.4}
.walk-email .attach.files{margin-top:-8px;padding-bottom:0}
.walk-email .attach.files>small{display:none}

.walk-signoff{white-space:pre-line}
.walk-added-paragraph{display:inline-block;box-sizing:content-box;max-width:100%;vertical-align:top;padding:var(--s-4) var(--s-8);margin:0 calc(-1 * var(--s-8))}
.walk-active .contact-menu{overscroll-behavior:contain}

/* The incoming email and full-size draft stay in place throughout typing. Demo only. */
.walk-typing .urow-h,.walk-typing .reply-head,.walk-typing .mb-acts,.walk-typing .show-orig,.walk-typing .addon-chips,.walk-typing .links,
.walk-typing .attach,.walk-typing .signoff,.walk-typing .history-latest>.meta{display:none}
.walk-typing .mb-body,.walk-typing .cblk{padding-top:0}
/* fix4's opened-card side padding adds two reply lines on a 375px phone, pushing its last corners into the scrim.
   Keep the tour's fitted message width; ordinary opened cards retain their padding (rule 21, P4). */
.walk-active .card.mbx.walk-typing .reply-layout>.mb-body{padding-inline:0}
/* Each message highlight extends 6px. The house 12px gap gives both full rings room without clipping either edge. */
.walk-typing .reply-layout>.mb-body{display:grid;gap:var(--s-12)}
.walk-typing .quote-wrap,.walk-typing .quote,.walk-typing .quote .text{color:var(--ink);opacity:1}
.walk-typing .quote .text{font-size:15px;line-height:1.35;white-space:pre-line}
.walk-typing .quote-wrap .quote-handle{display:none}
.walk-active .card.mbx.walk-typing .draft{min-height:0;padding:var(--s-8) var(--s-12);transition:none}
.walk-typing .draft .text{font-size:15px;line-height:1.35;min-height:20px}
.walk-note{display:inline-block;margin-left:8px;color:var(--muted);font-size:13px;font-weight:400;line-height:1.35}
.walk-active #thread-body.walk-read{margin:0 12px;width:calc(100% - 24px)}
.walk-active .toast{display:none}
#walkthrough[data-error="true"] .walk-card .wide+.wide{margin-top:8px}

.walk-choices{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
.walk-choices .btn{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:16px 8px;white-space:normal}
.walk-choices b{font-size:16px}.walk-choices small{font-size:12px;line-height:1.4;font-weight:400;color:var(--muted)}
.walk-question{margin:4px 0 0}.walk-other{margin-top:12px}
.income-summary{background:var(--card);padding:12px;border:1px solid var(--line);border-radius:12px}
.em-summary-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;font-size:14px;line-height:1.4}
.em-summary-row b{white-space:nowrap;font-variant-numeric:tabular-nums}
.em-summary-row small{display:block;font-size:12px;color:var(--muted)}
.em-summary-total{border-top:1px solid var(--line);margin-top:4px;font-weight:700}

.walk-question:focus{outline:none;box-shadow:none}

.walk-public-approved .draft,.walk-public-approved .addon-chips,.walk-public-approved .attach.files{display:none}

.walk-event-fields .fact,.walk-event-fields .ev-weather-slot{padding:8px 8px 4px;align-content:start;align-self:start}
.walk-event-fields .ev-cust{margin:0;min-height:32px}
.walk-event-fields .ev-facts{row-gap:4px}
.walk-event-fields .ev-fees-h,.walk-event-fields .ev-note-row{padding-left:8px;padding-right:8px}

.walk-active .event-earnings{padding-bottom:360px}

/* Round 4, owner-approved exceptions to P3: the guide owns the phone's bottom edge. */
.walk-active #nav{display:none}
.walk-active{--walk-bottom:calc(16px + env(safe-area-inset-bottom));padding-bottom:calc(var(--walk-reserve,220px) + env(safe-area-inset-bottom))}
.walk-active .sheet,.walk-active .sheet.bottom{bottom:calc(var(--walk-reserve,220px) + env(safe-area-inset-bottom))}
.walk-card .walk-other{margin-top:12px}
.walk-foot{position:relative;display:flex;align-items:center;justify-content:flex-start;min-height:44px;margin-inline:calc(-1 * var(--s-12))}
.walk-foot-forward{justify-content:center}
.walk-foot-hold{visibility:hidden;pointer-events:none}
.walk-foot+.wide{margin-top:var(--s-12)}
.walk-back{width:44px;height:44px;flex:none;display:grid;place-items:center;padding:8px;border:1.5px solid var(--raised-line);background:var(--raised);color:var(--ink);border-radius:50%}
.walk-foot-forward .walk-back{position:absolute;left:0;top:50%;transform:translateY(-50%)}
.walk-back svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.walk-active.walk-invoice #inv .sheet-head:has(>[data-inv-close]:only-child){display:none}
/* C19's "New invoice" title (audit 10/20) keeps the tour's invoice as it was: a head with only Back and that title stays hidden. */
.walk-active.walk-invoice #inv .sheet-head:has(>[data-inv-close]):not(:has(>:not([data-inv-close]):not(.sheet-head-title))){display:none}
.walk-active.walk-invoice #inv .inv-sheet{padding-top:var(--s-24)}
/* The sheet's grabber stayed pinned over the invoice's text as it glided (private tour walk 10/20, item 9); the tour's invoice is
   not pulled down, so it has none. */
.walk-active.walk-invoice #inv.sheet.bottom::before{content:none}
.walk-card.walk-end,.walk-card.walk-error{top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;transform:none}
.walk-leaving{opacity:0;translate:0 8px;pointer-events:none}
.walk-ring{transition:opacity .2s ease}
.walk-moving .walk-ring{opacity:0}
.walk-choices .btn{padding:8px;min-height:44px}
.walk-welcome .walk-theme{position:absolute;top:8px;right:8px;width:44px;min-height:44px;padding:0}
.walk-added-paragraph{border-radius:6px;background:color-mix(in srgb,var(--amber) 23%,transparent);animation:walk-added-fade 1.6s ease-out forwards}
@keyframes walk-added-fade{0%,20%{background:color-mix(in srgb,var(--amber) 23%,transparent)}100%{background:transparent}}
.walk-active [data-mail-history].walk-read{padding:8px;scroll-padding:8px;border-radius:12px}
.walk-active [data-mail-history] .history-message{max-width:100%}
.walk-active #inv .inv-paper{margin-bottom:0}
@media(max-height:700px){
 /* Chris's approved mockup (10/18): on a short phone the Money box (step 9) sits 8 from the top. */
 :root{--walk-ceiling-gap:8px}
 /* The welcome card's words since walk note 123 (the tagline's second line, the longer paragraph) ran 45 px past a 375x667
    screen, Public events under the card's fold: 16 at each side, as at its top and foot, keeps the lines short of wrapping. */
 .walk-welcome .welcome-card{padding:16px;gap:8px}
 .walk-welcome .welcome-text{font-size:16px;line-height:1.35}
 .walk-typing .quote .text,.walk-typing .draft .text{font-size:14px;line-height:1.3}
 .walk-typing .quote{padding:8px}
 .walk-active .card.mbx.walk-typing .draft{padding:var(--s-4) var(--s-8)}
}
/* List round 10/20: step 2's longer draft (item 3) ran 4 px under the guide's gap on a 375x667 phone, so its last edge sat dimmed.
   Same 14px text, a touch less line spacing on the narrow short phone only (P4, rule 21). */
@media(max-height:700px) and (max-width:380px){
 .walk-typing .quote .text,.walk-typing .draft .text{line-height:1.25}
}
@media(prefers-reduced-motion:reduce){
 .walk-card,.walk-ring{transition:none}
 .walk-leaving{translate:0 0}
 .walk-added-paragraph{animation:none;background:color-mix(in srgb,var(--amber) 20%,transparent)}
}
.walk-active mark.just-changed{animation:none;background:transparent}
.walk-active #evs::after,.walk-active #inv::after{content:'';position:fixed;left:0;right:0;bottom:0;height:calc(var(--walk-reserve,220px) + env(safe-area-inset-bottom));background:var(--bg);z-index:-1;pointer-events:none}

.walk-event-summary{display:grid;gap:var(--s-8)}
/* Private step 7 on a short phone (private tour walk 10/20, item 5): the card names the location, time and guests, so When, Where
   and Notes all sit in the ring above the guide on a 375x667 phone. Their spacing closes up there only (rule 21, --s scale). */
@media(max-height:700px){
 .walk-event-summary{gap:var(--s-4)}
 .walk-event-fields .walk-event-summary .ep-box{padding-top:var(--s-4);padding-bottom:var(--s-4);min-height:0}
 .walk-event-fields .walk-event-summary .ev-weather-slot{padding:0}
 .walk-event-fields .walk-event-summary .ep-weather.ev-weather{margin-top:0}
}

/* The tour's one rule (walk1017b, the owner 10/17): everything but the card's buttons and the step's one ask is inert in both tours
   (walkthrough.js tourAllows). The editable controls in view are greyed out the standard way so that reads at a glance: fields,
   the Money box's amounts, x, + Add and chevrons, the event type switch. Words and links stay as they are and do nothing. */
.walk-active :is(#view,#evs,#inv,#asg,#pick,#contact,#thread) :is(input:not([type=hidden]),select,textarea):not(.walk-tap-target),
.walk-active .ep-money :is(button:not(.ep-money-label):not(.ep-fold),.rchev),
.walk-active .ep-type button{opacity:.4;pointer-events:none}
.walk-active .ep-money :is(.ep-money-label,.ep-fold){cursor:default}
/* The Money box's amounts stay full strength so they read (Chris, 10/18), still not editable (pointer-events above). */
.walk-active :is(#view,#evs,#inv) .ep-money :is(input.ep-amount,input[data-ep-money],input[data-ep-custom-key]){opacity:1;color:var(--ink);-webkit-text-fill-color:var(--ink)}
.walk-active a{-webkit-touch-callout:none}
/* Public step 9 (Chris's approved mockup, 10/18): the Money box floats over the top bar and the Back row, bottom anchored
   just above the guide (app.js walkLiftMoney), and its rows sit a little tighter, so Gross sales to Net income show whole.
   The sheet rises above the top bar only while it holds the floating box; it starts below the bar, so the bar stays put. */
.walk-active #evs:has(.walk-money-up){z-index:21!important}   /* over raise()'s inline z-index */
.walk-money-hold{pointer-events:none}
/* The box over the top bar hides the bar's pills, so no pill edge peeks out behind its corner (final tour round 10/18). */
.walk-money-over-top .top .head-line{visibility:hidden}
/* The sheet's bottom fade would lie over the floating box's last row: it goes while the box floats. */
.walk-active:has(#evs .walk-money-up) .scroll-fade[data-scroll-source="evs"]{visibility:hidden}
.walk-active #evs .walk-money-up{position:fixed;z-index:5;left:var(--money-left);width:var(--money-width);bottom:calc(100% - var(--money-bottom));
 max-height:max(0px,calc(var(--money-bottom) - var(--money-ceiling) - var(--walk-ceiling-gap) - env(safe-area-inset-top)));
 box-sizing:border-box;margin:0!important;overflow-y:auto;overscroll-behavior:contain}
.walk-active #evs .walk-money-up .ep-money-body{gap:var(--s-4)}
.walk-active #evs .walk-money-up .ep-money-line{min-height:36px}
.walk-active #evs .walk-money-up .ep-money-line :is(.ep-money-label,.ep-remove,.ep-money-chevron){min-height:36px!important;height:36px}   /* the chevron button too (b24, audit 10/20) */
/* Assign crew, when the tour asks for it (Chris, final tour round 10/18): full-strength text like every other control the tour
   asks the visitor to tap, never the link's gray. */
.walk-active #evs [data-ev-assign].walk-tap-target{color:var(--ink)}
/* Crew step, both tours (Chris, 10/18): the ring hugs the people chips, not the sheet's full row (P4, rule 21). */
.walk-active #asg .asg-people{width:fit-content;max-width:100%}
/* The crew sheet's lit shift times (public tour walk 10/20, item 10): room inside the lit box, so its rounded corners never
   clip Starts or the hours; the margin takes it back, so nothing moves. */
.walk-active #asg .asg-times{padding:var(--s-4) var(--s-8);margin:0}
/* Public step 8 (Chris, final tour round 10/18): Karen's three short emails show whole between the top bar and the guide, at
   the tour's text size. Their bubbles say who wrote each (hers gray, Mike's purple), so the sender lines, the Earlier messages
   fold and Less step aside here, and the bubbles sit a little closer (P4, rule 21). */
.walk-active.walk-convo-whole [data-mail-history] :is(.earlier-messages>summary,.meta,.quote-handle){display:none}
.walk-active.walk-convo-whole [data-mail-history] .earlier-messages{border:0;margin:0}
/* Private step 11 (private tour walk 10/20, items 6 and 8): "Every message with Marcus, in order": the fold's count named three
   over the four it showed, and Less sat inside Mike's last bubble. The sender lines stay (P1, P4). */
.walk-active.walk-convo-all [data-mail-history] :is(.earlier-messages>summary,.history-long[open]>summary){display:none}
.walk-active.walk-convo-all [data-mail-history] .earlier-messages{border:0;margin:0}
.walk-active.walk-convo-whole #view [data-mail-history].walk-read{margin-inline:calc(-1 * var(--s-8));padding:var(--s-4)}
.walk-active.walk-convo-whole [data-mail-history] .history-list{gap:6px;padding-bottom:6px}
.walk-active.walk-convo-whole [data-mail-history] .history-message{max-width:100%}
.walk-active.walk-convo-whole [data-mail-history] :is(.history-message .bubble,.quote){padding:6px var(--s-12)}
.walk-active.walk-convo-whole [data-mail-history] .quote-wrap .pv{margin:0}
.walk-active.walk-convo-whole [data-mail-history] .quote-wrap .quote{width:100%;margin:0;padding:6px var(--s-12)}
.walk-active.walk-convo-whole [data-mail-history] :is(.history-message .bubble,.history-message .text,.quote,.quote .text){font-size:15px;line-height:1.35}
@media(max-height:700px){
 .walk-active.walk-convo-whole [data-mail-history] :is(.history-message .bubble,.history-message .text,.quote,.quote .text){font-size:14px;line-height:1.25}
}
/* List round 10/20 (item 3's longer reply from Mike): on the short phones (375x667, 390x664) the three emails ran up to ~30 px
   past the room and the box scrolled. Same 14px text; the lines and bubbles sit closer so all three still show whole (P4, rule 21). */
@media(max-height:700px){
 .walk-active.walk-convo-whole [data-mail-history] :is(.history-message .bubble,.history-message .text,.quote,.quote .text){line-height:1.15}
 .walk-active.walk-convo-whole [data-mail-history] :is(.history-message .bubble,.quote),.walk-active.walk-convo-whole [data-mail-history] .quote-wrap .quote{padding:var(--s-4) var(--s-12)}
 .walk-active.walk-convo-whole [data-mail-history] .history-list{gap:var(--s-4)}
}

/* Cleanup 10/19: opaque cover for the gap above the guide, and a visible Money heading while the box scrolls. */
.walk-active #evs .walk-money-up::after{content:'';position:fixed;left:0;right:0;top:var(--money-bottom);height:var(--s-32);background:var(--bg);pointer-events:none}
.walk-active #evs .walk-money-up>.ep-fold{position:sticky;top:0;z-index:1;background:var(--field,var(--card));color:var(--ink)}
/* Step 10 shares step 9's fixed panel, opaque cover, and viewport ceiling. */
.walk-active #evs .ep-report-card.walk-money-up{background:var(--field,var(--card))}
.walk-active #evs .ep-report-card.walk-money-up>.ep-label{position:sticky;top:0;z-index:1;background:var(--field,var(--card))}
/* The open Mailbox card's head row sticks under the top bar (styles.css), and the tour's scroll puts its tap targets 16 under the
   top bar, as the tour was built: so the ringed Book (public 3) and Send (private 5) sat under the stuck row, with the ring on the
   row (sweep 10/22 V175, V189). During the tour the row scrolls with its card, and the targets show where the tour puts them.
   The opened reply's head (reply round 2) took the row's place and its pin, so it scrolls with its card too. */
.walk-active .card.mbx.open > .urow-h,.walk-active .card.mbx.open > .reply-head { position: relative; top: auto; }
/* Layout item 43: the end card's two doors, 8 apart (rule 21). */
.walk-card [data-walk-control="rules"]{margin-top:8px}
.walk-card [data-walk-hold]+.btn{margin-top:var(--s-8)}
/* Approved first-run guide. Rules 21, P2, P10: real fields stay reachable above
   both the guide and the software keyboard, in light and dark. */
.first-quote-active #nev,.first-quote-active #evs,.first-quote-active #dsend{padding-bottom:calc(var(--first-guide-reserve,200px) + env(safe-area-inset-bottom));scroll-padding-bottom:calc(var(--first-guide-reserve,200px) + 24px)}
.first-quote-active .nav{visibility:hidden}
/* Keep messages clear of the ringed action; only Undo catches taps (rules 7, 21, P12). */
.first-quote-active .toast{display:block;z-index:100003;top:calc(env(safe-area-inset-top) + var(--s-8));bottom:auto;pointer-events:none}
.first-quote-active .toast button{pointer-events:auto}
#first-quote-guide .first-guide-actions{display:flex;gap:var(--s-8);justify-content:center}
#first-quote-guide.typing .walk-card{padding:var(--s-4) var(--s-48);min-height:44px}
#first-quote-guide.typing .walk-card header{margin:0;min-height:36px}
#first-quote-guide.typing .walk-card p,#first-quote-guide.typing .first-guide-actions{display:none}
#first-quote-guide .walk-card.pulse{animation:first-guide-pulse .6s ease}
:root[data-theme=dark] #first-quote-guide .walk-exit,:root[data-theme=dark] #first-quote-guide small{color:#ddd7ef}
@keyframes first-guide-pulse{35%{transform:scale(1.025);box-shadow:0 0 0 4px #c083ff88,var(--walk-card-shadow)}}
@media(prefers-reduced-motion:reduce){#first-quote-guide .walk-card.pulse{animation:none;outline:3px solid #c083ff}}

/* Owner practice, approved first-tour mockup. Rules 15 to 17 and 21. */
.in-practice .nav{display:none}
.in-practice .view{padding-bottom:var(--s-24)}
.practice-tag{background:var(--amber-bg);color:var(--amber-ink);margin-left:var(--s-8);flex:none}
.practice-dialog{width:min(calc(100vw - 32px),400px);max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:var(--s-24);border:1.5px solid var(--brand-soft);border-radius:18px;background:var(--walk-card-bg);color:var(--ink);box-shadow:var(--walk-card-shadow);text-align:center}
.practice-dialog::backdrop{background:#0009}
.practice-dialog h2:focus{outline:none;box-shadow:none}
.practice-dialog img{width:64px;height:64px;margin:0 auto var(--s-16)}
.practice-dialog h2,.in-practice .walk-card h2{font:800 1.35rem/1.25 var(--ui);margin:0 0 var(--s-12)}
.practice-dialog p{font-size:1rem;line-height:1.4;margin:0 0 var(--s-16);text-wrap:balance}
.practice-dialog .btn,.practice-dialog .linkish{width:100%;min-height:44px;margin-top:var(--s-8)}
.practice-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--s-12)}
.practice-choice small{font-weight:400;color:var(--muted);margin-top:var(--s-4)}
.practice-quiet,.in-practice .walk-card .practice-quiet{color:var(--muted);font-size:.84rem;line-height:1.4}
.practice-pair{display:flex;align-items:stretch;justify-content:center;gap:var(--s-8)}
.practice-pair .btn{flex:1;min-width:0;min-height:44px;white-space:normal;display:flex;align-items:center;justify-content:center}
.in-practice .walk-card .linkish{min-height:44px}
.in-practice .walk-card{left:var(--s-16);right:var(--s-16);bottom:calc(var(--s-16) + env(safe-area-inset-bottom));margin-inline:auto}
.in-practice .head-poll{display:none}
/* Keep the reply's first lines and Send together, even when a short phone needs to scroll the rest of the draft. */
.in-practice .practice-reply .draft{max-height:max(80px,calc(100dvh - var(--walk-reserve,220px) - var(--head-h,60px) - 100px));overflow:auto}
.in-practice .tenant-badge{background:#ece3f7}
.in-practice .tenant-badge img{width:26px;height:26px}
.in-practice .tenant-btn>.rchev{display:none}
.in-practice .practice-tag{height:26px;font-weight:800;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin-left:0}
/* A computer's Mailbox scrolls in its two panes, not the page: room under each so the thing to tap scrolls above the card.
   Every tour (walk 1117c): the demo's private step 3 left Travel fee under the guide, with no room to scroll it up. */
@media(min-width:900px){.walk-active .split .list,.walk-active .split .detail{padding-bottom:calc(var(--walk-reserve,220px) + var(--s-24))}}
/* A computer's event and invoice sheets sit centered (top 50%); the walk's bottom reserve squeezed them to a sliver. Anchor
   them under the top bar instead, ending above the card, so steps 4 and 5 show the event and the invoice. Centered without a
   transform: a transform would make the lifted Money box's position:fixed measure from the sheet, not the screen. Every tour
   since walk 1117c: the demo's public step 10 put the rating a sheet's offset to the right, clipped and out of reach. The
   top bar includes its awning (styles.css --awning-depth). */
@media(min-width:900px){.walk-active .sheet.bottom{top:calc(var(--top-h) + var(--awning-depth,0px) + var(--s-16));left:0;right:0;margin-inline:auto;transform:none;max-height:none}}

/* Demo walk 11/13, rules 3, 8, 21, P3, P4: the guide owns Back during both tours. */
.walk-active :is(#evs,#asg) .sheet-head{display:none}
.walk-active #evs .cal-sheet.ev-full.ep-event{border-left:0}
.walk-active .contact-menu [data-contact-done]{display:none}
.walk-card.walk-end:has(>.walk-exit){padding-top:8px}
.walk-card.walk-end>.walk-back{position:absolute;left:12px;top:0}

/* The app's .card.mbx action grid outranks the old .walk-typing hide rule.
   The tour's typing screen shows the message and reply, then its own Send. */
.walk-active #view .card.mbx.walk-typing .actions.mb-acts{display:none}

/* Phone re-check 11/14, rules 8, 21, P4, P9. The tour's hidden sheet head no longer
   reserves room for the sticky grabber. Like the tour invoice, crew has no grabber. */
.walk-active #asg.sheet.bottom::before{content:none}
/* The opened reply switched to block layout, losing the 12px gap the tour's
   scroll placement relied on. Restore it for Send, including space outside its ring. */
.walk-active.walk-send-read #view .reply-layout>.mb-body{display:grid}
/* Keep the invoice's top through Bill to above the sheet's 24px house fade.
   Only short tour screens compact the paper, without changing its words or type. */
@media(max-height:700px){
 .walk-active.walk-invoice #inv .inv-sheet{padding-top:var(--s-12);gap:var(--s-8)}
 .walk-active.walk-invoice #inv .inv-paper{padding-top:var(--s-16);gap:var(--s-8)}
 .walk-active.walk-invoice #inv .ip-logo{width:var(--s-40);height:var(--s-40)}
}
