/* GENERATED by tools/build-dash-bundle.mjs from <template data-dash-bundle="/receptionist/app-desktop/dash-bundle.css"> in site/receptionist/app-desktop/index.html. Do not edit: edit the listed files, then run the tool. */
/* ==== /receptionist/app-desktop/flow-onepage.css ==== */
/* THE ONE-PAGE CALL FLOW (FLOW_ONEPAGE). Tokens only (the page's own --alg-*), so AskMuse blue, light and dark come for free. */
.fo{max-width:760px;margin:0 auto;padding-bottom:96px;font-family:var(--alg-font)}
.fo *{box-sizing:border-box}
.fo :where(button,select,input,textarea){font:inherit;color:inherit}
.fo-grow{flex:1 1 auto}
.fo-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--alg-text-secondary);margin:2px 0 12px}
.fo-pill{display:inline-flex;align-items:center;min-height:22px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600;background:var(--alg-surface-variant);color:var(--alg-text-secondary);border:1px solid var(--alg-card-border);white-space:nowrap}
.fo-pill.is-soon{margin-left:8px}
.fo-seg{display:inline-flex;border:1px solid var(--alg-btn-border,var(--alg-card-border));border-radius:10px;overflow:hidden;background:var(--alg-card)}
.fo-seg button{min-height:44px;padding:0 14px;border:0;background:transparent;cursor:pointer;font-size:14px;color:var(--alg-text-secondary)}
.fo-seg button[aria-pressed=true]{background:var(--alg-brand);color:var(--alg-on-brand);font-weight:600}
.fo-seg button:disabled{opacity:.5;cursor:not-allowed}
.fo-bar{display:flex;align-items:center;gap:6px;margin:0 0 14px;position:relative}
.fo-icon{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:0 12px;justify-content:center;border:1px solid var(--alg-card-border);border-radius:10px;background:var(--alg-card);cursor:pointer;color:var(--alg-text-primary);font-size:14px}
.fo-icon:disabled{opacity:.45;cursor:not-allowed}
.fo-icon:focus-visible,.fo-btn:focus-visible,.fo-plus:focus-visible,.fo-grip:focus-visible,.fo-main:focus-visible,.fo-chip:focus-visible,.fo-subbtn:focus-visible,.fo-foldbtn:focus-visible,.fo-mi:focus-visible,.fo-link:focus-visible,.fo-status:focus-visible,.fo-publish:focus-visible,.fo-seg button:focus-visible{outline:3px solid var(--alg-brand);outline-offset:2px}
.fo-state{font-size:13px;color:var(--alg-text-muted)}
.fo-morewrap{position:relative}
.fo-menu{position:absolute;right:0;top:50px;z-index:30;min-width:250px;background:var(--alg-card);border:1px solid var(--alg-card-border);border-radius:12px;box-shadow:var(--alg-shadow-toast);padding:6px}
.fo-mi{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 12px;border:0;background:transparent;border-radius:8px;cursor:pointer;text-align:left;color:var(--alg-text-primary);font-size:14px}
.fo-mi:hover{background:var(--alg-card-hover)}
.fo-panel{background:var(--alg-card);border:1px solid var(--alg-brand);border-radius:14px;padding:14px;margin:0 0 14px}
.fo-panelt{font-weight:700;margin-bottom:8px;color:var(--alg-text-primary)}
.fo-hrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--alg-subtle-border);font-size:14px;color:var(--alg-text-primary)}
.fo-hrow small{color:var(--alg-text-muted)}
.fo-bubble{background:var(--alg-surface-variant);border-radius:12px;padding:12px;font-size:15px;color:var(--alg-text-primary);margin-bottom:8px}
.fo-list{display:flex;flex-direction:column}
.fo-item{position:relative}
.fo-card{background:var(--alg-card);border:1px solid var(--alg-card-border);border-radius:14px;box-shadow:0 1px 2px rgba(15,23,42,.05)}
.fo-card.is-open{border-color:var(--alg-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--alg-brand) 18%,transparent)}
.fo-card.is-off .fo-title{color:var(--alg-text-muted);text-decoration:line-through;text-decoration-color:var(--alg-text-muted)}
.fo-cardhead{display:flex;align-items:stretch}
.fo-grip,.fo-lock{flex:0 0 48px;width:48px;min-height:64px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--alg-text-muted);border-radius:14px 0 0 14px}
.fo-grip{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
.fo-grip:hover,.fo-grip.is-held{color:var(--alg-brand);background:var(--alg-surface-variant)}
.fo-grip.is-held{cursor:grabbing}
.fo-main{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 12px 8px 0;border:0;background:transparent;cursor:pointer;text-align:left;color:var(--alg-text-primary);border-radius:0 14px 14px 0}
.fo-ico{position:relative;flex:0 0 40px;height:40px;border-radius:12px;background:var(--alg-surface-variant);color:var(--alg-brand);display:flex;align-items:center;justify-content:center}
.fo-num{position:absolute;top:-7px;left:-7px;min-width:20px;height:20px;border-radius:10px;background:var(--alg-brand);color:var(--alg-on-brand);font:700 12px/20px var(--alg-font);text-align:center;font-style:normal;padding:0 4px}
.fo-txt{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.fo-title{font-size:16px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.fo-subt{font-size:13px;color:var(--alg-text-muted);margin-top:2px}
.fo-chev{color:var(--alg-text-muted);display:flex;transition:transform .15s}
[aria-expanded=true]>.fo-chev{transform:rotate(90deg)}
.fo-edit{border-top:1px solid var(--alg-subtle-border);padding:14px;display:flex;flex-direction:column;gap:12px}
.fo-row{display:flex;align-items:center;gap:10px;justify-content:space-between}
.fo-rowtop,.fo-rowwrap{flex-wrap:wrap;justify-content:flex-start}
.fo-rowend{justify-content:flex-start;flex-wrap:wrap}
.fo-lbl{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--alg-text-secondary)}
.fo-ta,.fo-in,.fo-sel{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--alg-input-border);border-radius:10px;background:var(--alg-input-bg);color:var(--alg-text-primary);font-size:16px;font-weight:400}
.fo-ta{resize:vertical;line-height:1.4}
.fo-ta:focus,.fo-in:focus,.fo-sel:focus{outline:3px solid var(--alg-brand);outline-offset:1px;border-color:var(--alg-brand)}
.fo-hear{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:var(--alg-surface-variant);border-radius:12px;padding:10px 12px}
.fo-hearq{font-size:14px;color:var(--alg-text-primary);flex:1 1 220px}
.fo-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 18px;border:1px solid transparent;border-radius:10px;background:var(--alg-brand);color:var(--alg-on-brand);font-weight:600;font-size:14px;cursor:pointer}
.fo-btn.is-ghost{background:var(--alg-card);color:var(--alg-brand);border-color:var(--alg-btn-border,var(--alg-card-border))}
.fo-btn:disabled{opacity:.5;cursor:not-allowed}
.fo-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 6px;border:0;background:transparent;color:var(--alg-brand);font-weight:600;font-size:14px;cursor:pointer;text-align:left}
.fo-link.is-danger{color:var(--alg-danger)}
.fo-switch{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:14px;cursor:pointer;color:var(--alg-text-primary)}
.fo-switch input{position:absolute;opacity:0;width:44px;height:44px;margin:0;left:0;cursor:pointer}
.fo-sw{position:relative;flex:0 0 42px;height:24px;border-radius:12px;background:var(--alg-input-border);transition:background .15s}
.fo-sw:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s}
.fo-switch input:checked+.fo-sw{background:var(--alg-brand)}
.fo-switch input:checked+.fo-sw:after{transform:translateX(18px)}
.fo-switch input:disabled+.fo-sw{opacity:.55}
.fo-switch input:focus-visible+.fo-sw{outline:3px solid var(--alg-brand);outline-offset:2px}
.fo-swrow{display:flex;width:100%}
.fo-hint{font-size:13px;color:var(--alg-text-muted)}
/* branches: indented under the question they belong to */
.fo-subs{margin:0 0 0 34px;border-left:2px solid var(--alg-card-border);padding-bottom:2px}
.fo-sub{position:relative;margin:0;padding:8px 0 0 22px}
.fo-subline{position:absolute;left:0;top:32px;width:18px;border-top:2px solid var(--alg-card-border)}
.fo-subbtn{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:6px 12px;border:1px dashed var(--alg-btn-border,var(--alg-card-border));border-radius:12px;background:var(--alg-surface-variant);cursor:pointer;text-align:left;color:var(--alg-text-primary);font-size:14px}
.fo-sub.is-open .fo-subbtn{border-style:solid;border-color:var(--alg-brand)}
.fo-subico{color:var(--alg-brand);display:flex}
.fo-subtxt{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.fo-arrow{color:var(--alg-text-muted)}
.fo-subedit{margin-top:8px;padding:12px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-card);display:flex;flex-direction:column;gap:10px}
/* + between cards */
.fo-plusrow{position:relative;display:flex;flex-direction:column;align-items:center;min-height:36px;justify-content:center}
.fo-conn{position:absolute;left:50%;top:0;bottom:0;border-left:2px solid var(--alg-card-border);transform:translateX(-1px)}
.fo-plus{position:relative;z-index:1;width:44px;height:44px;border-radius:50%;border:1px solid var(--alg-btn-border,var(--alg-card-border));background:var(--alg-card);color:var(--alg-brand);display:flex;align-items:center;justify-content:center;cursor:pointer;margin:-4px 0;transform:scale(.72);opacity:.8;transition:transform .12s,opacity .12s}
.fo-plusrow:hover .fo-plus,.fo-plus:focus-visible,.fo-plusrow.is-open .fo-plus{transform:none;opacity:1;background:var(--alg-brand);color:var(--alg-on-brand);border-color:transparent}
@media (hover:none){.fo-plus{transform:none;opacity:1}}
.fo-plusrow.is-open{margin:6px 0 10px}
.fo-add{position:relative;z-index:1;width:100%;margin-top:10px;background:var(--alg-card);border:1px solid var(--alg-brand);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px}
.fo-addt{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--alg-text-muted)}
.fo-chip{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 14px;border:1px solid var(--alg-btn-border,var(--alg-card-border));border-radius:12px;background:var(--alg-surface-variant);cursor:pointer;text-align:left;font-size:15px;color:var(--alg-text-primary)}
.fo-chip svg{flex:0 0 auto;color:var(--alg-brand)}
.fo-chip:hover{border-color:var(--alg-brand)}
.fo-chip.is-quiet{background:transparent;font-size:14px}
.fo-chip:disabled{opacity:.5}
/* drag */
.fo-list.is-dragging .fo-plusrow{min-height:10px;height:10px}
.fo-list.is-dragging .fo-plus,.fo-list.is-dragging .fo-add,.fo-list.is-dragging .fo-conn{display:none}
.fo-item.is-slot{position:relative}
.fo-item.is-slot>*{visibility:hidden}
.fo-item.is-slot .fo-subs{display:none}
.fo-item.is-slot:before{content:attr(data-slot);position:absolute;inset:0;visibility:visible;display:flex;align-items:center;justify-content:center;border:2px dashed var(--alg-brand);border-radius:14px;background:color-mix(in srgb,var(--alg-brand) 8%,transparent);color:var(--alg-brand);font-weight:700;font-size:14px}
.fo-float{position:fixed;z-index:200;pointer-events:none;box-shadow:0 18px 40px rgba(15,23,42,.28);transform:rotate(-1deg) scale(1.02);border-color:var(--alg-brand)}
.fo-float .fo-edit{display:none}
/* fold rows, publish bar */
.fo-fold{margin-top:14px;background:var(--alg-card);border:1px solid var(--alg-card-border);border-radius:14px}
.fo-fold+.fo-fold{margin-top:10px}
.fo-foldbtn{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 14px;border:0;background:transparent;cursor:pointer;text-align:left;color:var(--alg-text-primary)}
.is-static .fo-foldbtn{cursor:default}
.fo-foldbody{border-top:1px solid var(--alg-subtle-border);padding:10px 14px 14px;display:flex;flex-direction:column;gap:2px}
.fo-pub{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;padding:12px;background:var(--alg-surface);border:1px solid var(--alg-card-border);border-radius:14px;box-shadow:0 -4px 18px rgba(15,23,42,.08)}
.fo-status{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 6px;border:0;background:transparent;cursor:pointer;font-size:14px;font-weight:600;text-align:left}
.fo-status.is-good{color:var(--alg-success)}
.fo-status.is-bad{color:var(--alg-danger)}
.fo-status.is-bad:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--alg-danger);color:#fff;font-size:13px;flex:0 0 22px}
.fo-publish{min-height:48px;padding:0 28px;border:0;border-radius:12px;background:var(--alg-brand);color:var(--alg-on-brand);font-weight:700;font-size:16px;cursor:pointer}
.fo-publish[aria-disabled=true]{background:var(--alg-input-border);color:var(--alg-text-secondary)}
.fo-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.fo-toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);z-index:300;max-width:calc(100vw - 32px);background:var(--alg-text-primary);color:var(--alg-bg);padding:12px 18px;border-radius:12px;font-size:14px;box-shadow:var(--alg-shadow-toast)}
@media (max-width:520px){
  .fo-plus{transform:none;opacity:1}
  .fo-icon span{display:none}
  .fo-tryform .fo-btn span{display:none}
  .fo-icon{padding:0}
  .fo-state{display:none}
  .fo-subs{margin-left:20px}
  .fo-subbtn{flex-wrap:wrap}
  .fo-pill.is-soon{margin-left:30px}
  .fo-pub{flex-direction:column;align-items:stretch}
  .fo-publish{width:100%}
  .fo-status{justify-content:center}
  .fo-note .fo-seg{width:100%}
  .fo-note .fo-seg button{flex:1}
}
@media (prefers-reduced-motion:reduce){.fo *{transition:none!important}}

/* ---- the real page (2026-10-28): Ask Muse to change it, the proposed change, Try a call, messages ---- */
.fo{max-width:760px}
.fo.has-try{max-width:1180px}
.fo-cols{display:block}
@media (min-width:1000px){.fo.has-try .fo-cols{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:20px;align-items:start}.fo.has-try .fo-try{position:sticky;top:12px}}
.fo-ai{background:var(--alg-card);border:1px solid var(--alg-card-border);border-radius:14px;padding:14px;margin:0 0 14px}
.fo-desc{background:var(--alg-card);border:1px solid var(--alg-brand);border-radius:14px;padding:14px;margin:0 0 14px}
.fo-desc .fo-hint{margin:0 0 10px}
.fo-desctext{width:100%;min-height:76px;resize:vertical;box-sizing:border-box;margin-bottom:10px}
.fo-desc .fo-row{justify-content:flex-end;gap:8px}
.fo-ailbl{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--alg-text-primary);margin-bottom:8px}
.fo-aiico{display:inline-flex;color:var(--alg-brand)}
.fo-airow{display:flex;gap:8px;align-items:stretch}
.fo-airow .fo-in{flex:1 1 auto;min-width:0}
.fo-ex{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.fo-exb{min-height:44px;padding:6px 12px;font-size:14px;border-radius:999px}
.fo-aimsg{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--alg-surface-variant);font-size:14px;color:var(--alg-text-primary)}
.fo-aimsg.is-bad{border:1px solid var(--alg-danger)}
.fo-prop{margin-top:12px;padding:12px;border-radius:12px;border:2px solid var(--alg-brand);background:color-mix(in srgb,var(--alg-brand) 7%,var(--alg-card));display:flex;flex-direction:column;gap:8px}
.fo-propt{font-weight:700;color:var(--alg-text-primary)}
.fo-proplist{margin:0;padding-left:20px;color:var(--alg-text-primary);font-size:15px;display:flex;flex-direction:column;gap:4px}
.fo-prop .fo-row{justify-content:flex-end}
.fo-list.is-review{opacity:1}
.fo-list.is-review .fo-grip,.fo-list.is-review .fo-plus{pointer-events:none}
.fo-card.is-added,.fo-sub.is-added .fo-subbtn{border-color:var(--alg-success);background:color-mix(in srgb,var(--alg-success) 11%,var(--alg-card));box-shadow:0 0 0 3px color-mix(in srgb,var(--alg-success) 22%,transparent)}
.fo-card.is-changed,.fo-sub.is-changed .fo-subbtn,.fo-card.is-moved{border-color:var(--alg-brand);background:color-mix(in srgb,var(--alg-brand) 9%,var(--alg-card));box-shadow:0 0 0 3px color-mix(in srgb,var(--alg-brand) 20%,transparent)}
.fo-card.is-removed{border-color:var(--alg-danger);background:color-mix(in srgb,var(--alg-danger) 8%,var(--alg-card));opacity:.85}
.fo-card.is-removed .fo-title{text-decoration:line-through}
.fo-pill.is-mark{background:var(--alg-brand);color:var(--alg-on-brand);border-color:transparent;margin-left:8px}
.fo-item.is-added .fo-pill.is-mark,.fo-sub.is-added .fo-pill.is-mark{background:var(--alg-success);color:#fff}
.fo-item.is-removed .fo-pill.is-mark{background:var(--alg-danger);color:#fff}
.fo-addans{gap:8px}
.fo-addans .fo-in{flex:1 1 auto;min-width:0}
.fo-msg{margin-top:14px;padding:10px 12px;border-radius:10px;font-size:14px;background:var(--alg-surface-variant);color:var(--alg-text-primary);border:1px solid var(--alg-card-border)}
.fo-msg.is-ok{border-color:var(--alg-success)}
.fo-msg.is-bad{border-color:var(--alg-danger)}
.fo-msg.is-warn{border-color:var(--alg-card-border)}
.fo-lock{cursor:default}
/* Try a call */
.fo-try{background:var(--alg-card);border:2px solid var(--alg-brand);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:10px;margin-top:14px}
@media (min-width:1000px){.fo-try{margin-top:0}}
.fo-tryhead{display:flex;align-items:center;gap:6px}
.fo-tryt{font-weight:700;font-size:16px;flex:1 1 auto;color:var(--alg-text-primary)}
.fo-trylog{display:flex;flex-direction:column;gap:8px;max-height:320px;min-height:120px;overflow-y:auto;padding:2px}
.fo-bub{padding:10px 12px;border-radius:12px;font-size:15px;line-height:1.4;max-width:92%;overflow-wrap:anywhere;color:var(--alg-text-primary)}
.fo-bub.is-muse{background:var(--alg-surface-variant);align-self:flex-start}
.fo-bub.is-caller{background:var(--alg-brand);color:var(--alg-on-brand);align-self:flex-end}
.fo-bub b{display:block;font-size:12px;opacity:.8;margin-bottom:2px}
.fo-on{display:block;margin-top:4px;font-size:12px;color:var(--alg-text-muted);overflow-wrap:anywhere}
.fo-tryform{display:flex;gap:8px;align-items:stretch}
.fo-tryform .fo-in{flex:1 1 auto;min-width:0}
.fo-tryspeak{min-height:44px}
.fo-card.is-now,.fo-sub.is-now .fo-subbtn{border-color:var(--alg-brand);background:color-mix(in srgb,var(--alg-brand) 14%,var(--alg-card));box-shadow:0 0 0 4px color-mix(in srgb,var(--alg-brand) 35%,transparent)}
.fo-card.is-now:before{content:"";position:absolute}
@media (max-width:999px){
  .fo-try{position:fixed;left:8px;right:8px;bottom:8px;z-index:60;margin:0;max-height:52vh;box-shadow:0 -6px 28px rgba(15,23,42,.28)}
  .fo-trylog{max-height:22vh;min-height:70px}
  .fo.has-try{padding-bottom:56vh}
  .fo.has-try .fo-pub{position:static}
  .fo-airow{flex-direction:column}
  .fo-tryhint{display:none}
}
@media (max-width:520px){
  .fo-bar .fo-icon[data-act="m-try"] span{display:none}
}

.fo-btn,.fo-publish{white-space:nowrap}
/* the phone's tab bar (700px and down) is fixed at the bottom: the Publish bar and the Try a call panel sit above it, never under it */
@media (max-width:700px){
  .fo-pub{bottom:calc(var(--tabbar-h,60px) + var(--safe-b,0px) + 8px)}
  /* nothing to publish: the bar is not a floating card over the Recommended strip, it sits in the page after the steps (and the page keeps room under it for the tab bar) */
  .fo-pub.is-same{position:static;box-shadow:none}
  .fo{padding-bottom:calc(var(--tabbar-h,60px) + var(--safe-b,0px) + 96px)}
  .fo-card.is-now,.fo-sub.is-now{scroll-margin-top:84px;scroll-margin-bottom:calc(46vh + var(--tabbar-h,60px) + 16px)}
  .fo-try{bottom:calc(var(--tabbar-h,60px) + var(--safe-b,0px) + 8px)}
  .fo.has-try .fo-ai{display:none}
  .fo-try{max-height:46vh}
  .fo-trylog{max-height:18vh}
  .fo.has-try{padding-bottom:52vh}
}

/* RECOMMENDED FOR <business type> (2026-10-28): a collapsible strip above the steps. Tokens only; every control 44px or more. */
.fo-rec{margin:0 0 14px;background:var(--alg-card);border:1px solid var(--alg-card-border);border-radius:14px;box-shadow:0 1px 2px rgba(15,23,42,.05)}
.fo-recbtn{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 14px;border:0;background:transparent;cursor:pointer;text-align:left;color:var(--alg-text-primary);border-radius:14px}
.fo-recbtn:focus-visible,.fo-recadd:focus-visible{outline:3px solid var(--alg-brand);outline-offset:2px}
.fo-rec.is-collapsed{margin-bottom:10px}
.fo-rec.is-collapsed .fo-recbtn{min-height:52px}
.fo-recbody{border-top:1px solid var(--alg-subtle-border);padding:10px 14px 14px;display:flex;flex-direction:column;gap:8px}
.fo-reclist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.fo-recrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--alg-subtle-border)}
.fo-recrow:first-child{border-top:0}
.fo-recrow:focus{outline:none}
.fo-recrow:focus-visible{outline:3px solid var(--alg-brand);outline-offset:2px;border-radius:8px}
.fo-rectxt{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 auto}
.fo-rectag{font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--alg-text-muted)}
.fo-recq{font-size:15px;line-height:1.35;color:var(--alg-text-primary);overflow-wrap:anywhere}
.fo-recrow.is-in .fo-recq{color:var(--alg-text-secondary)}
.fo-recadd{flex:0 0 auto;min-width:96px}
.fo-pill.is-in{flex:0 0 auto;gap:5px;min-height:32px;padding:0 12px;color:var(--alg-success,var(--alg-brand));border-color:currentColor;background:transparent}
.fo-pill.is-in svg{width:16px;height:16px}
@media (max-width:520px){.fo-recrow{align-items:flex-start}.fo-recadd{min-width:88px;padding:0 12px}}

/* per-agent call flows (2026-10-29): the switcher, the "Use for" choice, the new-agent card */
.fo-agent{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 12px}
.fo-agentlbl{font-size:14px;font-weight:600;color:var(--alg-text-secondary)}
.fo-agent .fo-sel{width:auto;min-width:200px;max-width:100%;flex:0 1 320px}
.fo-agentnote{flex:1 1 100%;margin:0}
.fo-use{border:0;margin:0 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.fo-use legend{padding:0;margin:0 0 6px;font-size:13px;font-weight:600;color:var(--alg-text-secondary)}
.fo-opt{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--alg-input-border);border-radius:10px;background:var(--alg-input-bg);color:var(--alg-text-primary);font-size:14px;cursor:pointer}
.fo-opt input{width:20px;height:20px;margin:0;accent-color:var(--alg-brand)}
.fo-opt.is-on{border-color:var(--alg-brand);background:var(--alg-card)}
.fo-opt.is-dis{opacity:.5;cursor:not-allowed}
.fo-opt:focus-within{outline:3px solid var(--alg-brand);outline-offset:1px}
.fo-newagent .fo-lbl{margin:10px 0}
@media (max-width:520px){.fo-agent .fo-sel{flex:1 1 100%;min-width:0}.fo-opt{flex:1 1 100%}}
/* ==== /receptionist/app-desktop/flow-map.css ==== */
/* THE FLOW MAP (2026-11-01, design E "Flow map", approved: "this is good"). Drawn by flow-map.js inside the one-page Call flow
   (flow-onepage.js). Every class is fe- so nothing here can touch the rest of the dashboard, and every colour is one of the
   dashboard's own tokens (--alg-*), so the light, the dark and the brand themes all follow by themselves.
   Contract: D:/androidtools/wdeploy/callflow-pro-1101/design-E.html (src/E.html + src/core.css). Gate: tests/flow-map.cjs */

/* the Call flow column is wider than the other form screens: a map with a side panel needs the room */
#main.narrow .col:has(.fe){max-width:1180px}

.fe,.fe-float{
  --fe-bg:var(--alg-bg); --fe-surface:var(--alg-surface); --fe-subtle:var(--alg-surface-variant); --fe-hover:var(--alg-card-hover);
  --fe-border:var(--alg-subtle-border); --fe-border-2:var(--alg-input-border);
  --fe-ink:var(--alg-text-primary); --fe-ink-2:var(--alg-text-secondary); --fe-ink-3:var(--alg-text-muted);
  --fe-accent:var(--alg-fill); --fe-accent-hover:var(--alg-brand-strong,var(--alg-fill)); --fe-on-accent:var(--alg-fill-ink,#fff);
  --fe-accent-soft:var(--alg-accent-surface); --fe-line:var(--alg-input-border);
  --fe-ok:var(--alg-success); --fe-warn:var(--alg-amber); --fe-danger:var(--alg-danger);
  --fe-sw-off:var(--alg-input-border); --fe-scrim:rgba(16,24,40,.32);
  --fe-pop:0 1px 2px rgba(16,24,40,.05),0 8px 24px -4px rgba(16,24,40,.12);
  --fe-focus:0 0 0 3px color-mix(in srgb,var(--fe-accent) 30%,transparent);
  font-family:'Outfit',var(--alg-font,system-ui),sans-serif;font-size:15px;line-height:1.5;color:var(--fe-ink);font-feature-settings:"tnum" 1}
/* the query container is the page body; the fixed things (bar, sheets, menu, toast) live in .fe-float, OUTSIDE it, because a container
   is also the containing block of anything position:fixed inside it */
.fe{max-width:1120px;gap:0;container-type:inline-size;container-name:fe}
:root[data-theme*="dark"] .fe,:root[data-theme*="dark"] .fe-float{--fe-scrim:rgba(0,0,0,.55);--fe-pop:0 1px 2px rgba(0,0,0,.4),0 12px 32px -6px rgba(0,0,0,.6)}
.fe *,.fe-float *{box-sizing:border-box}
:where(.fe,.fe-float) :where(button,input,textarea,select){font:inherit;color:inherit}
:where(.fe,.fe-float) :where(button){cursor:pointer;background:none;border:0;padding:0;min-height:0}
:where(.fe,.fe-float) :focus-visible{outline:none;box-shadow:var(--fe-focus);border-radius:6px}
.fe svg.fe-i,.fe-float svg.fe-i{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.fe svg.fe-i.f,.fe-float svg.fe-i.f{fill:currentColor;stroke:none}
.fe-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* buttons */
.fe-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 14px;border-radius:8px;font-size:14px;font-weight:500;white-space:nowrap;border:1px solid var(--fe-border-2)!important;background:var(--fe-surface)!important;color:var(--fe-ink);transition:background .12s,border-color .12s}
.fe-btn:hover{background:var(--fe-hover)!important}
.fe-btn.is-primary{background:var(--fe-accent)!important;border-color:var(--fe-accent)!important;color:var(--fe-on-accent)}
.fe-btn.is-primary:hover{background:var(--fe-accent-hover)!important;border-color:var(--fe-accent-hover)!important}
.fe-btn.is-ghost{border-color:transparent!important;background:transparent!important;color:var(--fe-ink-2)}
.fe-btn.is-ghost:hover{background:var(--fe-hover)!important;color:var(--fe-ink)}
.fe-btn.is-danger{color:var(--fe-danger)}
.fe-btn.is-sm{height:32px;padding:0 10px;font-size:13px}
.fe-btn.is-icon{width:36px;padding:0}
.fe-btn.is-icon.is-sm{width:32px}
.fe-btn[disabled]{opacity:.45;cursor:default;pointer-events:none}
.fe-btn.is-primary[disabled]{opacity:1;background:var(--fe-subtle)!important;border-color:var(--fe-border)!important;color:var(--fe-ink-3)}
@container fe (max-width:639px){.fe-btn{height:44px}.fe-btn.is-icon{width:44px}.fe-btn.is-sm{height:44px}.fe-btn.is-icon.is-sm{width:44px}}
@media (max-width:639px){.fe-float .fe-btn{height:44px}.fe-float .fe-btn.is-icon{width:44px}.fe-float .fe-btn.is-sm{height:44px}.fe-float .fe-btn.is-icon.is-sm{width:44px}.fe-float .fe-seg button{height:40px}}

/* switch */
.fe-sw{position:relative;width:40px;height:24px;flex:none;border-radius:12px;background:var(--fe-sw-off)!important;transition:background .15s}
.fe-sw::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.2);transition:transform .18s cubic-bezier(.2,.8,.2,1)}
.fe-sw[aria-checked="true"]{background:var(--fe-accent)!important}
.fe-sw[aria-checked="true"]::after{transform:translateX(16px)}
.fe-sw[disabled]{opacity:.45;cursor:default}
.fe-sw::before{content:"";position:absolute;inset:-10px -4px}

/* segmented */
.fe-seg{display:inline-flex;padding:2px;border-radius:8px;background:var(--fe-subtle);border:1px solid var(--fe-border)}
.fe-seg button{height:28px;padding:0 12px;border-radius:6px;font-size:13px;font-weight:500;color:var(--fe-ink-2)}
.fe-seg button[aria-pressed="true"]{background:var(--fe-surface);color:var(--fe-ink);box-shadow:0 1px 2px rgba(16,24,40,.1)}
:root[data-theme*="dark"] .fe-seg button[aria-pressed="true"]{background:var(--fe-border-2)}
@container fe (max-width:639px){.fe-seg button{height:40px}}

/* status pill, tags */
.fe-status{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:12px;font-size:12px;font-weight:500;border:1px solid var(--fe-border)!important;color:var(--fe-ink-2);background:var(--fe-surface)!important;white-space:nowrap}
.fe-status i{width:6px;height:6px;border-radius:50%;background:var(--fe-ok)}
.fe-status.is-draft i{background:var(--fe-warn)}
button.fe-status:hover{background:var(--fe-hover)!important}
.fe-status::after{content:"";position:absolute;inset:-10px -2px}
.fe-status{position:relative}
.fe-tag{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--fe-ink-3);white-space:nowrap}
.fe-tag svg.fe-i{width:12px;height:12px}

/* the page head */
.fe-top{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 0 12px;border-bottom:1px solid var(--fe-border)}
.fe-top h1{margin:0;font-size:16px;font-weight:600;white-space:nowrap;letter-spacing:0}
.fe-top .fe-spc{flex:1}
.fe-top .fe-long{display:none}
.fe-top .fe-desk{display:none}
@container fe (min-width:560px){.fe-top .fe-long{display:inline}}
@container fe (min-width:760px){.fe-top{min-height:60px;padding:12px 0;position:sticky;top:64px;z-index:6;background:var(--fe-bg)}.fe-top h1{font-size:18px}.fe-top .fe-desk{display:inline-flex}}

.fe-wrap{display:block;padding:24px 0 120px}
@container fe (min-width:760px){.fe-wrap{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;padding:28px 0 96px}}
.fe-lead p{margin:0 0 14px;color:var(--fe-ink-2)}
.fe-lead .fe-ctrls{display:flex;align-items:center;gap:8px}
.fe-lead .fe-ctrls .fe-spc{flex:1}
@container fe (min-width:760px){.fe-lead .fe-pvbtn{display:none}}
.fe-key{display:flex;flex-wrap:wrap;gap:6px 18px;margin:16px 0 24px;font-size:12px;color:var(--fe-ink-3)}
.fe-key span{display:inline-flex;align-items:center;gap:6px}
.fe-key svg.fe-i{width:12px;height:12px}

/* ---- the map: a vertical flowchart (Option A, approved 2026-11-19: D:/androidtools/wdeploy/callflow-diagram-1119) ----
   boxes, arrows (CSS only), diamonds for the checks, Yes / No side by side, a grip and a Required chip on every question */
.fe,.fe-float{--fe-arrow:color-mix(in srgb,var(--fe-accent) 45%,var(--fe-border-2));
  --fe-ok-soft:color-mix(in srgb,var(--fe-ok) 12%,var(--fe-surface));--fe-ok-line:color-mix(in srgb,var(--fe-ok) 40%,var(--fe-border));
  --fe-bad-soft:color-mix(in srgb,var(--fe-danger) 10%,var(--fe-surface));--fe-bad-line:color-mix(in srgb,var(--fe-danger) 38%,var(--fe-border));
  --fe-chg-soft:color-mix(in srgb,var(--fe-warn) 12%,var(--fe-surface));--fe-chg-line:color-mix(in srgb,var(--fe-warn) 55%,var(--fe-border))}
.fe-key i{display:inline-block;width:10px;height:10px;border-radius:50%}
.fe-key .k-ask{background:var(--fe-accent)}.fe-key .k-say{background:var(--fe-ok)}.fe-key .k-chg{background:var(--fe-warn)}
.fe-key .k-dia{border-radius:2px;transform:rotate(45deg);background:transparent;border:1.5px solid var(--fe-danger)}
.fe-key svg.fe-i{width:13px;height:13px}
.fe-mapc{container-type:inline-size;container-name:femap}
.fe-fl{position:relative;display:flex;flex-direction:column;align-items:stretch;max-width:760px;margin:0 auto}

/* arrows: a line with a head; a "+" sits on it */
.fe-arr{position:relative;flex:none;height:36px;width:100%}
.fe-arr::before{content:"";position:absolute;left:50%;top:0;bottom:7px;width:2px;margin-left:-1px;background:var(--fe-arrow)}
.fe-arr::after{content:"";position:absolute;left:50%;bottom:0;margin-left:-6px;border:6px solid transparent;border-top:8px solid var(--fe-arrow);border-bottom:0}
.fe-arr.add{height:44px}
.fe-plus{position:absolute;z-index:1;left:50%;top:8px;transform:translateX(-50%);height:26px;min-width:26px;padding:0 6px!important;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:4px;
  background:var(--fe-surface)!important;border:1.5px solid var(--fe-accent)!important;color:var(--fe-accent);font-size:13px;font-weight:600;white-space:nowrap}
.fe-plus svg.fe-i{width:12px;height:12px;stroke-width:2}
.fe-plus::after{content:"";position:absolute;inset:-9px -6px}
.fe-plus:hover,.fe-plus:focus-visible{background:color-mix(in srgb,var(--fe-accent) 12%,var(--fe-surface))!important}
.fe-arr.big .fe-plus{padding:0 12px 0 9px!important;transform:none;left:calc(50% + 14px)}
.fe-arr.add[data-fm-step="tail"] .fe-plus{border-style:dashed!important}

/* a box */
.fe-node{position:relative;display:flex;gap:12px;align-items:flex-start;width:100%;text-align:left;padding:12px 12px 12px 14px;background:var(--fe-surface);border:1.5px solid var(--fe-border);border-radius:14px;
  box-shadow:0 1px 2px rgba(16,24,40,.05);cursor:pointer;transition:border-color .15s,box-shadow .15s,background .2s;-webkit-tap-highlight-color:transparent}
.fe-node:hover{border-color:var(--fe-border-2)}
.fe-node .mk{position:absolute;left:-10px;top:-10px;width:24px;height:24px;border-radius:50%;background:var(--fe-accent);color:var(--fe-on-accent);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid var(--fe-bg)}
.fe-node .ic{flex:none;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--fe-accent-soft);color:var(--fe-accent)}
.fe-node .ic svg.fe-i{width:17px;height:17px}
.fe-node .txt{flex:1;min-width:0}
.fe-node .kd{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:22px}
.fe-node .kw{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--fe-accent)}
.fe-node .ttl{display:block;margin:2px 0 1px}
.fe-node .ttl b{font-size:15.5px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.fe-node .sub{display:block;font-size:13px;color:var(--fe-ink-2);line-height:1.45}
.fe-node .then{display:block;margin-top:6px;padding-top:6px;border-top:1px solid var(--fe-border);font-size:13px;color:var(--fe-ink-2)}
.fe-edit{flex:none;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px!important;border:1px solid var(--fe-border-2)!important;border-radius:9px;background:var(--fe-surface)!important;color:var(--fe-accent);font-size:13px;font-weight:600}
.fe-edit svg.fe-i{width:13px;height:13px}
.fe-edit:hover{background:var(--fe-accent-soft)!important}
.fe-grip{flex:none;align-self:center;display:flex;align-items:center;justify-content:center;width:22px;height:40px;margin:0 -6px 0 -8px;color:var(--fe-ink-3);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:6px}
.fe-grip:hover{background:var(--fe-hover);color:var(--fe-ink-2)}
.fe-node.can-drag{-webkit-user-select:none;user-select:none}
.fe-node.t-say .ic{background:var(--fe-ok-soft);color:var(--fe-ok)}.fe-node.t-say .kw{color:var(--fe-ok)}
.fe-node.t-red{border-color:var(--fe-bad-line)}.fe-node.t-red .ic{background:var(--fe-bad-soft);color:var(--fe-danger)}.fe-node.t-red .kw{color:var(--fe-danger)}
.fe-node.t-grn{border-color:var(--fe-ok-line)}.fe-node.t-grn .ic{background:var(--fe-ok-soft);color:var(--fe-ok)}.fe-node.t-grn .kw{color:var(--fe-ok)}
.fe-node.edited{border-color:var(--fe-chg-line);background:var(--fe-chg-soft)}
.fe-node.off{background:transparent;border-style:dashed;border-color:var(--fe-border-2);box-shadow:none}
.fe-node.off .ttl b{color:var(--fe-ink-3)}
.fe-node.off .mk{display:none}
.fe-node.flash{background:var(--fe-accent-soft);transition:none}
.fe-node.speaking,.fe-node.is-now{border-color:var(--fe-accent)}
.fe-node.picked,.fe-dia.picked,.fe-arow.picked,.fe-offrow.picked{border-color:var(--fe-accent)!important;box-shadow:0 0 0 1px var(--fe-accent)}
.fe-node.is-pressing{transform:scale(.99)}
.fe-node.is-lifted{z-index:5;cursor:grabbing;border-color:var(--fe-accent)!important;box-shadow:0 18px 34px rgba(16,24,40,.28),0 0 0 2px var(--fe-accent)}
.fe-fl.is-reorder .fe-plus{visibility:hidden}
.fe-droprow{position:absolute;left:0;right:0;height:6px;border-radius:3px;background:var(--fe-accent);pointer-events:none;z-index:6;box-shadow:0 0 0 2px var(--fe-surface)}
.fe-droprow::before{content:attr(data-label);position:absolute;left:50%;top:-11px;transform:translateX(-50%);background:var(--fe-accent);color:var(--fe-on-accent);font-size:12.5px;font-weight:700;border-radius:99px;padding:2px 12px;white-space:nowrap}
body.tp-dragging{cursor:grabbing}

/* chips */
.fe-chip,.fe-rq{display:inline-flex;align-items:center;height:22px;padding:0 9px!important;border-radius:99px;font-size:12px;font-weight:600;white-space:nowrap;border:1.5px solid var(--fe-border)!important;color:var(--fe-ink-2);background:var(--fe-subtle)!important}
.fe-rq{cursor:pointer;position:relative}
.fe-rq::after{content:"";position:absolute;inset:-8px -3px}
.fe-rq::before{content:"";order:2;margin-left:5px;border:4px solid transparent;border-top:5px solid currentColor;border-bottom:0;margin-top:2px}
.fe-rq.is-req{color:var(--fe-accent);border-color:color-mix(in srgb,var(--fe-accent) 40%,var(--fe-border))!important;background:var(--fe-accent-soft)!important}
.fe-rq:hover{border-color:var(--fe-accent)!important}
.fe-chip.chg{color:var(--fe-warn);border-color:var(--fe-chg-line)!important;background:var(--fe-chg-soft)!important}
.fe-chip.mine{color:var(--fe-ok);border-color:var(--fe-ok-line)!important;background:var(--fe-ok-soft)!important}
.fe-chip.off{color:var(--fe-ink-3);border-style:dashed!important;background:transparent!important}
.fe-chip.lane{color:var(--fe-ink-2);background:transparent!important}

/* decisions: a diamond, then Yes / No side by side */
.fe-dec{display:flex;flex-direction:column;align-items:stretch}
.fe-dia-w{display:flex;justify-content:center}
.fe-dia{position:relative;width:230px;height:84px;display:flex;align-items:center;justify-content:center;padding:0 46px!important;text-align:center;font-weight:700;font-size:15px;line-height:1.2;color:var(--fe-ink);background:transparent!important}
.fe-dia::before{content:"";position:absolute;inset:0;background:var(--fe-accent);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.fe-dia::after{content:"";position:absolute;inset:2px 3px;background:var(--fe-surface);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.fe-dia .dt{position:relative;z-index:1}
button.fe-dia:hover::after,button.fe-dia:focus-visible::after{background:color-mix(in srgb,var(--fe-accent) 12%,var(--fe-surface))}
.fe-dia:focus-visible{box-shadow:none}
.fe-dia.ro{cursor:default}
.fe-brs{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0}
.fe-brs::before,.fe-brs::after{content:"";position:absolute;left:25%;right:25%;height:2px;background:var(--fe-arrow)}
.fe-brs::before{top:0}.fe-brs::after{bottom:0}
.fe-brs .br{position:relative;display:flex;flex-direction:column;justify-content:center;padding:34px 0}
.fe-brs .br::before,.fe-brs .br::after{content:"";position:absolute;left:50%;margin-left:-1px;width:2px;height:34px;background:var(--fe-arrow)}
.fe-brs .br::before{top:0}.fe-brs .br::after{bottom:0}
.fe-yn{position:absolute;z-index:1;top:6px;left:50%;transform:translateX(-50%);font-size:12.5px;font-weight:700;padding:1px 12px;border-radius:99px;border:1.5px solid}
.fe-yn.y{color:var(--fe-ok);background:var(--fe-ok-soft);border-color:var(--fe-ok-line)}
.fe-yn.n{color:var(--fe-danger);background:var(--fe-bad-soft);border-color:var(--fe-bad-line)}
.fe-carry{border:1.5px dashed var(--fe-border-2);border-radius:12px;color:var(--fe-ink-2);padding:10px 12px;font-size:14px;text-align:center;background:var(--fe-surface)}
.fe-offrow{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:10px 14px!important;border:1.5px dashed var(--fe-border-2)!important;border-radius:12px;background:var(--fe-subtle)!important;font-size:14px;color:var(--fe-ink-2)}
.fe-offrow .t{flex:1;min-width:0}
.fe-offrow .go{flex:none;color:var(--fe-accent);font-weight:600}
.fe-offrow:hover{border-color:var(--fe-accent)!important}

/* why are they calling (read only, real estate) */
.fe-why{display:flex;flex-direction:column;gap:10px;border:1.5px solid var(--fe-border);border-radius:16px;padding:14px;background:var(--fe-subtle)}
.fe-why .fe-dia{width:250px}
.fe-auto{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:13px;color:var(--fe-ink-2);line-height:1.45}
.fe-auto svg.fe-i{width:14px;height:14px;margin-top:2px}
.fe-auto.urg svg.fe-i{color:var(--fe-danger)}
.fe-lanes2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.fe-lane{background:var(--fe-surface);border:1.5px solid var(--fe-border);border-radius:12px;padding:10px 11px;min-width:0}
.fe-lane b{display:block;font-size:14.5px}
.fe-lane small{display:block;font-size:12.5px;color:var(--fe-ink-3);line-height:1.35}
.fe-lane .ln{margin:6px 0 0;font-size:13px;color:var(--fe-ink-2);line-height:1.4}
.fe-lane ul{margin:6px 0 0;padding:0 0 0 16px;font-size:13px;color:var(--fe-ink);line-height:1.5}

/* after the call: one green group */
.fe-after{display:flex;flex-direction:column;gap:8px;border:2px solid var(--fe-ok-line);border-radius:16px;padding:14px;background:var(--fe-ok-soft)}
.fe-after h3{margin:0 0 2px;font-size:15px;font-weight:700;color:var(--fe-ok)}
.fe-arow{display:flex;gap:12px;align-items:flex-start;width:100%;text-align:left;padding:10px 12px!important;border:1.5px solid var(--fe-ok-line)!important;border-radius:12px;background:var(--fe-surface)!important}
.fe-arow .ic{flex:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--fe-ok-soft);color:var(--fe-ok)}
.fe-arow .txt{flex:1;min-width:0}
.fe-arow .ttl{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.fe-arow .ttl b{font-size:15px;font-weight:600}
.fe-arow small{display:block;font-size:13px;color:var(--fe-ink-2)}
.fe-arow .line{display:block}
.fe-arow.off .ttl b{color:var(--fe-ink-3)}

/* the phone (and any narrow column) */
@container femap (max-width:599px){
  .fe-node{padding:10px 10px 10px 12px;gap:9px}
  .fe-node .ic{width:28px;height:28px}.fe-node .ic svg.fe-i{width:15px;height:15px}
  .fe-node .ttl b{font-size:15px}
  .fe-edit{height:28px;padding:0 8px!important}
  .fe-edit span{display:none}
  .fe-brs{gap:8px}
  .fe-brs .fe-node{flex-direction:column;gap:6px}
  .fe-brs .fe-node .ic{display:none}
  .fe-brs .fe-node .ttl b{font-size:14px}
  .fe-brs .fe-node .fe-edit{position:absolute;right:6px;top:6px}
  .fe-brs .fe-node .kd{padding-right:34px}
  .fe-dia{width:200px;height:76px;font-size:14px;padding:0 40px!important}
  .fe-why .fe-dia{width:220px}
  .fe-lanes2{grid-template-columns:1fr 1fr}
  .fe-arr.big .fe-plus{left:calc(50% + 10px)}
}

/* the head: one state badge, and "Nothing waiting to publish" while live */
.fe-status.is-live{color:var(--fe-ok);border-color:var(--fe-ok-line)!important;background:var(--fe-ok-soft)!important}
.fe-status.is-draft{color:var(--fe-warn);border-color:var(--fe-chg-line)!important;background:var(--fe-chg-soft)!important}
.fe-nothing{font-size:14px;color:var(--fe-ink-2);white-space:nowrap}
.fe-key{font-size:13px;color:var(--fe-ink-2)}
.fe-pvlang{display:flex;align-items:center;gap:10px;padding:0 16px 10px;font-size:13px;color:var(--fe-ink-2)}
.fe-sheet .fe-pvlang{padding:0 0 10px}
/* New question */
.fe-goes{margin:0 0 14px}
.fe-goes span{display:inline-block;border:1px solid var(--fe-border-2);border-radius:99px;padding:3px 12px;font-size:13px;font-weight:600;color:var(--fe-ink-2);background:var(--fe-subtle)}
.fe-limit{margin:0 0 14px;padding:10px 12px;border-radius:10px;border:1px solid var(--fe-chg-line);background:var(--fe-chg-soft);color:var(--fe-ink);font-size:14px}
.fe-reqrow{border:1.5px solid color-mix(in srgb,var(--fe-accent) 30%,var(--fe-border));background:var(--fe-accent-soft);border-radius:12px;padding:12px!important}
.fe-sugg{margin-top:12px;padding-top:8px;border-top:1px solid var(--fe-border)}

/* "More options": today's other controls, unchanged, under the map */
.fe-more{margin-top:40px;border-top:1px solid var(--fe-border);padding-top:8px}
.fe-morebtn{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;text-align:left;font-size:15px;font-weight:600}
.fe-morebtn small{display:block;font-size:13px;font-weight:400;color:var(--fe-ink-3)}
.fe-morebtn .chev{margin-left:auto;color:var(--fe-ink-3);transition:transform .15s}
.fe-morebtn[aria-expanded="true"] .chev{transform:rotate(90deg)}
.fe-morebody{display:flex;flex-direction:column;gap:18px;padding:8px 0 0}
.fe-morebody h3{margin:8px 0 0;font-size:14px;font-weight:600}
.fe-morebody .fe-sub{margin:0 0 6px;font-size:13px;color:var(--fe-ink-3)}
.fe-rules{display:flex;flex-direction:column;gap:6px}
.fe-rules .fe-addrow{display:flex;flex-wrap:wrap;gap:8px}
.fe-ansq{font-size:13px;font-weight:500;color:var(--fe-ink-2);margin:6px 0 2px}

/* the phone's publish bar: above the dashboard's tab bar, only while there is something to publish */
.fe-bar{position:fixed;left:0;right:0;bottom:calc(var(--tabbar-h,0px) + var(--safe-b,0px));z-index:65;display:flex;align-items:center;gap:8px;padding:12px 16px;background:var(--fe-surface);border-top:1px solid var(--fe-border)}
.fe-bar .what{flex:1;min-width:0;text-align:left;font-size:13px;color:var(--fe-ink-2);line-height:1.3}
.fe-bar .what b{display:block;color:var(--fe-ink);font-weight:500;font-size:14px}

/* the side panel: the preview, or the box being edited */
.fe-panel{display:none}
@container fe (min-width:760px){.fe-panel{display:block;position:sticky;top:152px;align-self:start}}
.fe-pcard{background:var(--fe-surface);border:1px solid var(--fe-border);border-radius:12px;display:flex;flex-direction:column;max-height:calc(100vh - 176px)}
.fe-pcard>header{display:flex;align-items:center;gap:10px;padding:16px 16px 12px}
.fe-pcard>header h2{margin:0;font-size:15px;font-weight:600;flex:1}
.fe-pcard .scroll-in{overflow-y:auto;padding:0 6px 8px}
.fe-pcard>footer{border-top:1px solid var(--fe-border);padding:12px 16px;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--fe-ink-3)}
.fe-pcard>footer>span{flex:1}
.fe-pcard>footer .fe-spc{flex:1}
.fe-pcard.ed>header{align-items:flex-start;border-bottom:1px solid var(--fe-border);padding-bottom:14px}
.fe-pcard.ed>header>div{flex:1;min-width:0}
.fe-pcard.ed>header p{margin:2px 0 0;font-size:13px;color:var(--fe-ink-3)}
.fe-pcard.ed>header .fe-btn.is-icon{margin:-6px -8px 0 0}
.fe-eyebrow{display:block;font-size:12px;font-weight:500;color:var(--fe-ink-3);margin-bottom:2px}
.fe-pcard.ed .edb{overflow-y:auto;padding:4px 16px 12px}

/* the editor (sheet and panel alike) */
.fe-erow{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--fe-border)}
.fe-erow:first-child{border-top:0}
.fe-erow .t{flex:1;min-width:0}
.fe-erow .t b{display:block;font-weight:500;font-size:15px}
.fe-erow .t small{display:block;font-size:13px;color:var(--fe-ink-3)}
.fe-erow .mv{display:flex;gap:6px}
.fe-elab{font-size:13px;font-weight:600;margin:14px 0 8px;padding-top:14px;border-top:1px solid var(--fe-border)}
.fe-wsave{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:-6px 0 4px}
.fe-ro{margin:0;padding:10px 12px;border-radius:8px;background:var(--fe-subtle);font-size:14px;color:var(--fe-ink-2);line-height:1.45}
.fe-opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 0!important;border-top:1px solid var(--fe-border)!important}
.fe-opt .t{flex:1;min-width:0}
.fe-opt .t b{display:block;font-weight:500;font-size:15px}
.fe-opt .t small{display:block;font-size:13px;color:var(--fe-ink-3)}
.fe-opt .tk{width:20px;height:20px;flex:none;border-radius:50%;border:1px solid var(--fe-border-2);display:flex;align-items:center;justify-content:center}
.fe-opt[aria-checked="true"] .tk{border-color:var(--fe-accent);background:var(--fe-accent);color:var(--fe-on-accent)}
.fe-opt .tk svg.fe-i{width:12px;height:12px;stroke-width:2}
.fe-opt[disabled]{opacity:.5;cursor:default}
.fe-note{font-size:13px;color:var(--fe-ink-3);margin:12px 0 0}
.fe-field{display:block;margin:0 0 16px}
.fe-field>span{display:block;font-size:13px;font-weight:500;margin:0 0 6px;color:var(--fe-ink)}
.fe-field small{display:block;font-size:12px;color:var(--fe-ink-3);margin-top:6px}
.fe-input{width:100%;border:1px solid var(--fe-border-2);background:var(--fe-surface);border-radius:8px;padding:9px 12px;font-size:16px!important;line-height:1.45;resize:vertical;color:var(--fe-ink)}
.fe-input:focus{outline:none;border-color:var(--fe-accent);box-shadow:var(--fe-focus)}
@container fe (min-width:640px){.fe-input{font-size:15px!important}}
@media (min-width:640px){.fe-float .fe-input{font-size:15px!important}}
.fe-count{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--fe-ink-3);margin-top:6px}
.fe-count .over{color:var(--fe-danger)}
.fe-tabs{display:flex;gap:20px;border-bottom:1px solid var(--fe-border);margin:0 0 12px}
.fe-tabs button{height:36px;font-size:14px;font-weight:500;color:var(--fe-ink-3);border-bottom:2px solid transparent!important;margin-bottom:-1px;border-radius:0}
.fe-tabs button[aria-selected="true"]{color:var(--fe-ink);border-bottom-color:var(--fe-accent)!important}
.fe-linkbtn{color:var(--fe-accent);font-size:13px;font-weight:500;min-height:32px}
.fe-linkbtn:hover{text-decoration:underline;text-underline-offset:3px}

/* sheets and dialogs */
.fe-scrim{position:fixed;inset:0;background:var(--fe-scrim);z-index:90;display:flex;align-items:flex-end;justify-content:center;animation:fe-fade .15s ease-out}
.fe-sheet{background:var(--fe-surface);width:100%;max-height:88vh;display:flex;flex-direction:column;border-radius:14px 14px 0 0;box-shadow:var(--fe-pop);animation:fe-up .22s cubic-bezier(.2,.8,.2,1);font-family:'Outfit',var(--alg-font,system-ui),sans-serif;color:var(--fe-ink)}
@media (min-width:640px){.fe-scrim{align-items:center;padding:24px}.fe-sheet{max-width:520px;border-radius:12px;border:1px solid var(--fe-border)}}
.fe-sheet>header{display:flex;align-items:flex-start;gap:12px;padding:20px 20px 12px}
.fe-sheet>header>div{flex:1;min-width:0}
.fe-sheet>header h2{margin:0;font-size:17px;font-weight:600;line-height:1.35}
.fe-sheet>header p{margin:4px 0 0;font-size:14px;color:var(--fe-ink-3);font-weight:400}
.fe-sheet>header .fe-btn.is-icon{margin:-6px -8px 0 0}
.fe-sheet .fe-body{padding:4px 20px 16px;overflow-y:auto}
.fe-sheet>footer{display:flex;align-items:center;gap:8px;padding:12px 20px 16px;border-top:1px solid var(--fe-border)}
.fe-sheet>footer .fe-spc{flex:1}
@media (max-width:639px){.fe-sheet>footer{padding-bottom:calc(16px + env(safe-area-inset-bottom))}}
.fe-sheet .fe-try,.fe-sheet .fo-try{position:static;max-height:none;box-shadow:none;border:0;padding:0;margin:0;background:transparent}
.fe-sheet .fo-tryhead{display:none}
@keyframes fe-fade{from{opacity:0}}
@keyframes fe-up{from{transform:translateY(16px);opacity:0}}
@media (prefers-reduced-motion:reduce){.fe *,.fe-scrim,.fe-sheet{animation:none!important;transition:none!important}}

/* the ⋯ menu */
.fe-menu{position:fixed;z-index:95;min-width:220px;background:var(--fe-surface);border:1px solid var(--fe-border);border-radius:10px;box-shadow:var(--fe-pop);padding:4px;animation:fe-fade .1s ease-out;font-family:'Outfit',var(--alg-font,system-ui),sans-serif}
.fe-menu button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:9px 10px!important;border-radius:6px;font-size:14px;color:var(--fe-ink);min-height:40px}
.fe-menu button:hover,.fe-menu button:focus-visible{background:var(--fe-hover)!important;box-shadow:none}
.fe-menu button[disabled]{color:var(--fe-ink-3);opacity:.55;cursor:default}
.fe-menu button.is-danger{color:var(--fe-danger)}
.fe-menu hr{border:0;border-top:1px solid var(--fe-border);margin:4px 0}
.fe-menu svg.fe-i{color:var(--fe-ink-3)}

/* toast */
.fe-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:96;display:flex;align-items:center;gap:16px;background:var(--fe-ink);color:var(--fe-surface);padding:10px 14px 10px 16px;border-radius:10px;font-size:14px;box-shadow:var(--fe-pop);width:max-content;max-width:calc(100vw - 32px);animation:fe-up .2s cubic-bezier(.2,.8,.2,1)}
.fe-toast button{color:var(--fe-surface);font-weight:600;text-decoration:underline;text-underline-offset:3px;min-height:32px}
@media (max-width:1023px){.fe-toast{bottom:calc(var(--tabbar-h,0px) + var(--safe-b,0px) + 16px)}.fe-float.has-bar .fe-toast{bottom:calc(var(--tabbar-h,0px) + var(--safe-b,0px) + 88px)}}

/* the preview script */
.fe-script{list-style:none;margin:0;padding:0}
.fe-script li{display:grid;grid-template-columns:20px 1fr;gap:1px 10px;padding:9px 10px;border-radius:8px;transition:background .2s}
.fe-script li .k{grid-row:span 2;font-size:12px;color:var(--fe-ink-3);padding-top:1px;text-align:right}
.fe-script li .l{font-size:12px;color:var(--fe-ink-3)}
.fe-script li .w{font-size:15px;color:var(--fe-ink);line-height:1.45;overflow-wrap:anywhere}
.fe-script li .w.dyn{color:var(--fe-ink-3);font-style:italic}
.fe-script li.now{background:var(--fe-accent-soft)}
.fe-script li.now .k,.fe-script li.now .l{color:var(--fe-accent)}
.fe-script li.alt .w{color:var(--fe-ink-2)}
.fe-script li.sep{display:block;padding:14px 10px 2px;margin-top:6px;border-top:1px solid var(--fe-border);border-radius:0;font-size:12px;font-weight:500;color:var(--fe-ink-2)}
.fe-chg{margin:0;padding:0 0 0 18px;font-size:14px;color:var(--fe-ink-2)}
.fe-chg li{padding:3px 0}
.fe-pick{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--fe-border)}
.fe-pick:first-of-type{border-top:0}
.fe-pick .t{flex:1;min-width:0}
.fe-pick .t b{display:block;font-weight:500;font-size:15px}
.fe-pick .t q{display:block;font-size:13px;color:var(--fe-ink-3)}
.fe-subh{font-size:13px;font-weight:600;color:var(--fe-ink);margin:16px 0 4px}
.fe-subh:first-child{margin-top:0}
.fe-msgs:empty{display:none}
.fe-msgs{margin:16px 0 0}
/* ==== /receptionist/app-desktop/support.css ==== */
/* SUPPORT, THE CHAT IN THE DASHBOARD (support.js). Tokens are the dashboard's own --alg-* set, so every theme (light, dark, sapphire) and
   the accent picker carry over. Desktop: a 392px panel above a bottom-right button. Phone (<= 700px): a full-screen sheet with a back arrow;
   the button sits above the tab bar. Nothing here styles anything outside #supwidget, except the one rule below the button
   needs: room at the foot of the page. */
/* THE BUTTON MUST NOT SIT ON THE LAST ROW (2026-11-11 audit: it covered a Connect button on Integrations and the "Included" badge on
   Plan & billing). While the button shows (desktop, not open), the page gets a foot as tall as the button and its margin, so the last
   row of any screen can always be scrolled clear of it. */
@media (min-width:701px){body:has(#supwidget:not([hidden]):not(.open)) #main{padding-bottom:72px}}
#supwidget{position:fixed;right:20px;bottom:20px;z-index:900;font-family:var(--alg-font,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif);color:var(--alg-text-primary)}
#supwidget[hidden]{display:none}
#supwidget *{box-sizing:border-box}
.sup-fab{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px 0 16px;border:0;border-radius:999px;cursor:pointer;
  background:var(--alg-fill);color:var(--alg-fill-ink);font:600 15px/1 var(--alg-font,inherit);box-shadow:0 8px 24px -8px rgba(6,9,19,.45),0 2px 6px rgba(6,9,19,.18)}
.sup-fab:hover{filter:brightness(1.07)}
.sup-fab:focus-visible,.sup-x:focus-visible,.sup-back:focus-visible,.sup-send:focus-visible{outline:3px solid var(--alg-accent);outline-offset:2px}
.sup-fab svg{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sup-badge{position:absolute;top:-6px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:flex;align-items:center;justify-content:center;
  background:var(--alg-attention,#E8590C);color:#fff;font:700 12px/1 var(--alg-font,inherit);border:2px solid var(--alg-bg)}
.sup-badge[hidden]{display:none}
#supwidget.open .sup-fab{display:none}

.sup-panel{position:absolute;right:0;bottom:0;width:392px;max-width:calc(100vw - 24px);height:min(600px,calc(100vh - 40px));display:flex;flex-direction:column;overflow:hidden;
  background:var(--alg-surface);border:1px solid var(--alg-card-border);border-radius:20px;box-shadow:0 24px 60px -12px rgba(6,9,19,.45)}
.sup-panel[hidden]{display:none}
.sup-head{display:flex;align-items:flex-start;gap:12px;padding:16px 14px 14px 16px;border-bottom:1px solid var(--alg-card-border)}
.sup-ava{flex:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--alg-brand-soft,var(--alg-surface-variant));color:var(--alg-accent)}
.sup-ava svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sup-ht{flex:1;min-width:0}
.sup-title{margin:0;font:700 17px/1.25 var(--alg-font,inherit)}
.sup-sub{margin:3px 0 0;font-size:13px;line-height:1.4;color:var(--alg-text-secondary)}
.sup-x,.sup-back{flex:none;width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:var(--alg-text-primary);cursor:pointer;display:flex;align-items:center;justify-content:center}
.sup-x:hover,.sup-back:hover{background:var(--alg-surface-variant)}
.sup-x svg,.sup-back svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sup-back{display:none}

.sup-log{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 14px 6px;display:flex;flex-direction:column;gap:12px;background:var(--alg-bg)}
.sup-empty{margin:auto 0;text-align:center;color:var(--alg-text-secondary);font-size:14px;line-height:1.5;padding:0 18px}
.sup-m{display:flex;flex-direction:column;max-width:86%;gap:4px}
.sup-m.me{align-self:flex-end;align-items:flex-end}
.sup-m.them{align-self:flex-start;align-items:flex-start}
.sup-b{margin:0;padding:10px 14px;border-radius:16px;font-size:15px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.sup-m.me .sup-b{background:var(--alg-fill);color:var(--alg-fill-ink);border-bottom-right-radius:6px}
.sup-m.them .sup-b{background:var(--alg-surface);color:var(--alg-text-primary);border:1px solid var(--alg-card-border);border-bottom-left-radius:6px}
.sup-m.team .sup-b{background:var(--alg-brand-soft,var(--alg-surface-variant));border-color:var(--alg-accent)}
.sup-meta{font-size:12px;color:var(--alg-text-secondary);padding:0 4px}
.sup-wait{align-self:stretch;margin:2px 0 0;padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.4;color:var(--alg-text-secondary);background:var(--alg-surface-variant);text-align:center}
.sup-typing{align-self:flex-start;display:flex;gap:5px;padding:12px 14px;border-radius:16px;background:var(--alg-surface);border:1px solid var(--alg-card-border)}
.sup-typing i{width:7px;height:7px;border-radius:50%;background:var(--alg-text-secondary);animation:supdot 1.1s infinite ease-in-out}
.sup-typing i:nth-child(2){animation-delay:.15s}.sup-typing i:nth-child(3){animation-delay:.3s}
@keyframes supdot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.sup-typing i{animation:none;opacity:.7}}

.sup-form{flex:none;padding:10px 14px 0;background:var(--alg-surface);border-top:1px solid var(--alg-card-border)}
.sup-row{display:flex;align-items:flex-end;gap:8px;padding:6px 6px 6px 14px;border:1.5px solid var(--alg-btn-border,var(--alg-card-border));border-radius:16px;background:var(--alg-bg)}
.sup-row:focus-within{border-color:var(--alg-accent)}
.sup-in{flex:1;min-width:0;max-height:120px;resize:none;border:0;outline:0;background:transparent;color:var(--alg-text-primary);font:400 16px/1.45 var(--alg-font,inherit);padding:8px 0}
.sup-in::placeholder{color:var(--alg-text-secondary)}
.sup-send{flex:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--alg-fill);color:var(--alg-fill-ink);cursor:pointer;display:flex;align-items:center;justify-content:center}
.sup-send:disabled{opacity:.45;cursor:not-allowed}
.sup-send svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sup-err{margin:8px 2px 0;font-size:13px;line-height:1.4;color:var(--alg-danger,#c0392b)}
.sup-err[hidden]{display:none}
.sup-note{margin:8px 2px 0;padding-bottom:12px;font-size:12.5px;line-height:1.4;color:var(--alg-text-secondary)}

@media (max-width:700px){
  #supwidget{right:12px;bottom:calc(var(--tabbar-h,60px) + var(--safe-b,0px) + 12px)}
  /* On a phone the floating button covered the Ask Muse box and the Talk to Muse button (2026-10-27): it is hidden
     here and "Write to Support" sits in the drawer the More tab opens. The open panel still shows full screen. */
  #supwidget:not(.open) .sup-fab{display:none}
  #supwidget.open{right:0;bottom:0}
  .sup-panel{position:fixed;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;border-radius:0;border:0;padding-top:env(safe-area-inset-top,0px)}
  .sup-back{display:flex}
  .sup-x{display:none}
  .sup-head{align-items:center;padding:10px 12px 12px 6px}
  .sup-form{padding-bottom:var(--safe-b,0px)}
  .sup-m{max-width:90%}
}
@media (prefers-reduced-motion:no-preference){.sup-panel{animation:supin .16s ease-out}@keyframes supin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
/* ==== /assets/call-flow-render.css ==== */
/* THE CALL FLOW, DRAWN (2026-10-20): the ONE look of a call flow, on the public Templates page
   (site/templates/flow.html) and on the dashboard's Call flow page (site/receptionist/app-desktop/flow-editor.js).
   The markup comes from /assets/call-flow-render.js; this is its stylesheet. Everything is prefixed tp-.

   THE SITE'S OWN COLOURS, NO LITERAL ACCENT HERE. Every colour is a token the site already has, chained from
   the public pages' set (--card --line --ink --mut, the brand accent --org-ink / --org-btn that
   alg-brand.css flips to sapphire / violet on askmuse.ca) to the dashboard's (--alg-brand, --alg-amber,
   --alg-success-*), and every tint is a color-mix of those, so light and dark come from the same variables.
   The dashboard scopes its own --alg-* names onto the base tokens (index.html, ".tp-scope"). A page that
   defines none of them gets a plain blue-and-slate fallback, never orange.
   Gate: tests/call-flows-site.cjs (no orange literal in this file or templates.css; the primary button is
   the site's primary variable) and tests/dash-call-flow.cjs. */
:root,.tp-scope{
  --tp-surf:var(--card,#fff);
  --tp-line:var(--line,#dfe6f1);
  --tp-ink:var(--ink,#16233b);
  --tp-ink2:var(--ink3,#475569);
  --tp-mute:var(--mut,#5a6b85);
  --tp-accent:var(--org-ink,var(--org-deep,var(--alg-brand,#0a3a86)));
  --tp-btn:var(--org-btn,var(--org,var(--alg-brand,#0f52ba)));
  --tp-ok:var(--alg-success-ink,var(--ok,var(--mint,#047857)));
  --tp-amb:var(--alg-amber,var(--amber,#b7791f));
  --tp-bgc:var(--bg,var(--tp-surf));
}
:root,.tp-scope{
  --tp-acc-soft:color-mix(in srgb,var(--tp-accent) 12%,var(--tp-surf));
  --tp-blue:var(--tp-accent);
  --tp-blue-soft:var(--tp-acc-soft);
  --tp-ok-soft:color-mix(in srgb,var(--tp-ok) 13%,var(--tp-surf));
  --tp-amb-soft:color-mix(in srgb,var(--tp-amb) 13%,var(--tp-surf));
  --tp-amb-line:color-mix(in srgb,var(--tp-amb) 48%,var(--tp-surf));
  --tp-ok-line:color-mix(in srgb,var(--tp-ok) 40%,var(--tp-surf));
  --tp-edge:color-mix(in srgb,var(--tp-ink) 40%,var(--tp-surf));
  --tp-dot:color-mix(in srgb,var(--tp-ink) 17%,var(--tp-surf));
  --tp-pill-on-bg:var(--tp-ink);
  --tp-pill-on-fg:var(--tp-surf);
  --tp-shadow:color-mix(in srgb,var(--tp-ink) 14%,transparent);
}

/* the list: a vertical timeline of numbered cards */
.tp-flow{list-style:none;margin:0 0 8px;padding:0;position:relative;max-width:760px}
.tp-step{position:relative;margin:0 0 22px 26px;background:var(--tp-surf);border:1px solid var(--tp-line);border-radius:14px;padding:11px 13px;color:var(--tp-ink)}
.tp-step:before{content:"";position:absolute;left:-17px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:var(--tp-accent);box-shadow:0 0 0 4px var(--tp-acc-soft)}
.tp-step:after{content:"";position:absolute;left:-12px;top:calc(50% + 8px);width:2px;height:calc(100% + 14px);background:repeating-linear-gradient(var(--tp-line) 0 4px,transparent 4px 8px)}
.tp-step:last-child:after{display:none}
.tp-step[data-kind="urgent"]{border-color:var(--tp-amb-line);background:var(--tp-amb-soft)}
.tp-step[data-kind="urgent"]:before{background:var(--tp-amb);box-shadow:0 0 0 4px var(--tp-amb-soft)}
.tp-step[data-kind="after"]{border-color:var(--tp-ok-line)}
.tp-step[data-kind="after"]:before{background:var(--tp-ok);box-shadow:0 0 0 4px var(--tp-ok-soft)}
.tp-step[data-kind="rails"],.tp-step[data-kind="hours"]{border-style:dashed}
.tp-step[data-tap]{cursor:pointer}
.tp-step[data-tap]:hover{border-color:var(--tp-accent)}
.tp-step.is-off{opacity:.6;border-style:dashed}
.tp-k{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--tp-accent);font-weight:800;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tp-step[data-kind="urgent"] .tp-k{color:var(--tp-amb)}
.tp-step[data-kind="after"] .tp-k{color:var(--tp-ok)}
.tp-step b{display:block;font-size:14.5px;margin:2px 0;line-height:1.3;overflow-wrap:anywhere}
.tp-step p{margin:0;font-size:12.5px;color:var(--tp-ink2);line-height:1.4}
.tp-say{margin-top:7px;background:color-mix(in srgb,var(--tp-ink) 5%,var(--tp-surf));border-radius:9px;padding:7px 9px;font-size:12px;font-style:italic;color:var(--tp-ink);line-height:1.4;overflow-wrap:anywhere}
.tp-say i{font-style:normal;font-weight:700;color:var(--tp-mute);margin-right:4px}
.tp-chipsrow{margin-top:7px;display:flex;gap:6px;flex-wrap:wrap;font-size:11.5px}
.tp-pill{border-radius:999px;padding:2px 9px;background:var(--tp-blue-soft);color:var(--tp-blue)}
.tp-pill[data-tone="skip"]{background:var(--tp-amb-soft);color:var(--tp-amb)}
.tp-pill[data-tone="ok"]{background:var(--tp-ok-soft);color:var(--tp-ok)}
.tp-pill[data-tone="cond"]{background:var(--tp-blue-soft);color:var(--tp-blue)}
/* a small badge on a box or a card: Required (locked), Optional, Off */
.nb{display:inline-flex;align-items:center;gap:3px;font-size:9px;letter-spacing:.04em;text-transform:uppercase;font-weight:800;border-radius:999px;padding:1px 7px;background:var(--tp-blue-soft);color:var(--tp-blue);line-height:14px;vertical-align:middle}
.nb[data-tone="off"]{background:color-mix(in srgb,var(--tp-ink) 9%,var(--tp-surf));color:var(--tp-ink2)}
.nb[data-tone="own"]{background:var(--tp-pill-on-bg);color:var(--tp-pill-on-fg)}
.nb svg{width:9px;height:9px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.tp-k .nb{font-size:10px}

/* the diagram */
.tp-canvas{position:relative;height:clamp(400px,calc(100vh - 440px),720px);border:1px solid var(--tp-line);border-radius:16px;overflow:hidden;background-color:var(--tp-surf);
  background-image:radial-gradient(var(--tp-dot) 1px,transparent 1px);background-size:18px 18px}
.tp-svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.tp-svg.is-drag{cursor:grabbing}
.tp-edge{fill:none;stroke:var(--tp-edge);stroke-width:1.5}
.tp-edge[data-tone="warn"]{stroke:var(--tp-amb)}
.tp-arrow{fill:var(--tp-edge)}
.tp-elab rect{fill:var(--tp-surf);stroke:var(--tp-line)}
.tp-elab text{fill:var(--tp-ink2);font:500 10.5px Inter,system-ui,sans-serif}
.tp-elab[data-tone="warn"] rect{fill:var(--tp-amb-soft);stroke:var(--tp-amb-line)}
.tp-elab[data-tone="warn"] text{fill:var(--tp-amb)}
.tp-pt rect{fill:var(--tp-surf);stroke:var(--tp-line)}
.tp-pt text{fill:var(--tp-ink);font:700 12px Inter,system-ui,sans-serif}
.tp-pt[data-end="start"] rect{fill:var(--tp-pill-on-bg);stroke:var(--tp-pill-on-bg)}
.tp-pt[data-end="start"] text{fill:var(--tp-pill-on-fg)}
.tp-node,.tp-measure .tp-node{background:var(--tp-surf);border:1px solid var(--tp-line);border-radius:12px;padding:8px 10px;box-shadow:0 2px 8px var(--tp-shadow);color:var(--tp-ink);font-family:Inter,system-ui,sans-serif;width:100%}
.tp-node .nk{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--tp-accent);font-weight:800}
.tp-node b{display:block;font-size:12.5px;line-height:1.22;margin-top:2px;overflow-wrap:anywhere}
.tp-node small{display:block;font-size:10.5px;color:var(--tp-ink2);margin-top:3px;line-height:1.28;overflow-wrap:anywhere}
.tp-node[data-kind="urgent"]{border-color:var(--tp-amb-line);background:var(--tp-amb-soft)}
.tp-node[data-kind="urgent"] .nk{color:var(--tp-amb)}
.tp-node[data-kind="after"]{background:var(--tp-ok-soft);border-color:var(--tp-ok-line)}
.tp-node[data-kind="after"] .nk{color:var(--tp-ok)}
.tp-node[data-kind="hours"]{background:var(--tp-acc-soft);border-style:dashed}
.tp-node[data-kind="rails"]{border-style:dashed;background:color-mix(in srgb,var(--tp-ink) 5%,var(--tp-surf));box-shadow:none}
.tp-node[data-kind="rails"] .nk{color:var(--tp-ink2)}
.tp-node[data-tap]{cursor:pointer}
.tp-node[data-tap]:hover{border-color:var(--tp-accent)}
.tp-node[data-tap]:focus-visible{outline:2px solid var(--tp-accent);outline-offset:2px}
.tp-node.is-off{opacity:.55;border-style:dashed;box-shadow:none}
.tp-measure{position:absolute;left:-9999px;top:0;width:176px;visibility:hidden;pointer-events:none}
.tp-ctl{position:absolute;left:10px;top:10px;display:flex;flex-direction:column;gap:6px;z-index:2}
.tp-ctl button{width:40px;height:40px;border-radius:10px;border:1px solid var(--tp-line);background:var(--tp-surf);color:var(--tp-ink);font:700 17px Inter,system-ui,sans-serif;cursor:pointer;line-height:1;padding:0}
.tp-add{position:absolute;right:10px;bottom:10px;z-index:2;background:var(--tp-surf);border:1px solid var(--tp-line);border-radius:10px;padding:10px 13px;min-height:40px;font:600 12.5px Inter,system-ui,sans-serif;color:var(--tp-ink2);cursor:pointer;box-shadow:0 2px 8px var(--tp-shadow)}
.tp-add.is-soon{opacity:.75;border-style:dashed}
.tp-addnote{position:absolute;right:10px;bottom:58px;z-index:3;max-width:250px;background:var(--tp-surf);border:1px solid var(--tp-line);border-radius:12px;padding:10px 12px;font-size:12px;line-height:1.4;color:var(--tp-ink2);box-shadow:0 6px 20px var(--tp-shadow)}
.tp-ctl button:focus-visible,.tp-add:focus-visible{outline:2px solid var(--tp-accent);outline-offset:2px}
/* DRAG TO REORDER and the + INSERT POINTS (2026-10-20, the dashboard only: they exist when the page passes opts.reorder / opts.insert).
   Tokens only, like the rest of this file. */
.tp-grip{position:absolute;right:2px;top:2px;width:26px;height:26px;border-radius:8px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;
  display:grid;grid-template-columns:4px 4px;grid-auto-rows:4px;gap:3px 4px;align-content:center;justify-content:center;opacity:.55}
.tp-grip i{display:block;width:4px;height:4px;border-radius:50%;background:var(--tp-ink2)}
.tp-grip:hover,.tp-node:focus-visible .tp-grip{opacity:1;background:var(--tp-acc-soft)}
.tp-node:has(.tp-grip){position:relative}
.tp-node:has(.tp-grip) .nk{padding-right:26px}
.tp-svg.is-reorder,.tp-svg.is-reorder *{cursor:grabbing!important}
.tp-svg foreignObject .tp-node{transition:transform .16s ease,box-shadow .16s ease}
.tp-svg foreignObject.is-lifted .tp-node{box-shadow:0 18px 36px var(--tp-shadow),0 0 0 3px var(--tp-accent);border-color:var(--tp-accent);transform:scale(1.045) rotate(-.8deg)}
.tp-ghost{fill:color-mix(in srgb,var(--tp-ink) 4%,var(--tp-surf));stroke:var(--tp-line);stroke-width:1.5;stroke-dasharray:5 4}
.tp-slot{pointer-events:none}
.tp-drop{fill:color-mix(in srgb,var(--tp-accent) 16%,var(--tp-surf));stroke:var(--tp-accent);stroke-width:2;stroke-dasharray:6 4;pointer-events:none}
.tp-slot-t{fill:var(--tp-accent);font:700 13px Inter,system-ui,sans-serif;pointer-events:none}
.tp-ins{cursor:pointer;outline:none}
.tp-ins-hit{fill:transparent}
.tp-ins-c{fill:var(--tp-surf);stroke:var(--tp-accent);stroke-width:1.5;transition:fill .12s}
.tp-ins path{fill:none;stroke:var(--tp-accent);stroke-width:1.9;stroke-linecap:round}
.tp-ins:hover .tp-ins-c,.tp-ins:focus-visible .tp-ins-c{fill:var(--tp-accent)}
.tp-ins:hover path,.tp-ins:focus-visible path{stroke:var(--tp-surf)}
.tp-ins:focus-visible .tp-ins-c{stroke-width:3.2}
.tp-svg.is-reorder .tp-ins{visibility:hidden}
/* the list */
.tp-flow.has-reorder .tp-step.has-grip{padding-right:52px}
.tp-flow .tp-step .tp-grip{right:4px;top:4px;width:44px;height:44px;border-radius:12px}
.tp-step{transition:transform .16s ease,box-shadow .16s ease}
.tp-step.is-lifted{z-index:4;box-shadow:0 18px 36px var(--tp-shadow),0 0 0 3px var(--tp-accent);border-color:var(--tp-accent);cursor:grabbing;transition:box-shadow .16s ease}
.tp-step.is-pressing,.tp-canvas.is-pressing{transform:scale(.99)}
body.tp-dragging{-webkit-user-select:none;user-select:none;cursor:grabbing}
.tp-flow.is-reorder .tp-insrow{visibility:hidden}
.tp-insrow{position:relative;list-style:none;height:0;margin:0;padding:0}
.tp-insb{position:absolute;left:calc(26px + (100% - 26px)/2 - 22px);top:-33px;width:44px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;z-index:2;color:var(--tp-accent)}
.tp-insb:after{content:"+";position:absolute;inset:8px;border-radius:50%;border:1.5px solid var(--tp-accent);background:var(--tp-surf);display:grid;place-items:center;font:700 17px/1 Inter,system-ui,sans-serif;padding-bottom:2px;box-sizing:border-box}
.tp-insb:hover:after,.tp-insb:focus-visible:after{background:var(--tp-accent);color:var(--tp-surf)}
.tp-insb:focus-visible{outline:2px solid var(--tp-accent);outline-offset:-4px;border-radius:50%}
.tp-droprow{position:absolute;left:26px;right:0;height:6px;border-radius:3px;background:var(--tp-accent);pointer-events:none;z-index:3}
.tp-droprow:after{content:attr(data-label);position:absolute;left:50%;top:-11px;transform:translateX(-50%);background:var(--tp-accent);color:var(--tp-surf);font:700 12px/1 Inter,system-ui,sans-serif;padding:5px 11px;border-radius:999px}
.tp-listnote{margin:0 0 10px;max-width:760px;background:var(--tp-surf);border:1px solid var(--tp-line);border-radius:12px;padding:10px 12px;font-size:12.5px;line-height:1.4;color:var(--tp-ink2)}

/* READABLE MODE (2026-10-20, the dashboard only: opts.big): boxes 250 px wide with 16 px text, so a business owner reads them without
   zooming. Fit never draws them below 90%. The public page does not carry .tp-big and is drawn as it was. */
.tp-big .tp-node,.tp-measure.tp-big .tp-node{border-radius:14px;padding:12px 14px 13px;box-shadow:0 2px 10px var(--tp-shadow)}
.tp-big .tp-node .nk{font-size:12px;gap:7px;letter-spacing:.05em}
.tp-big .tp-node b{font-size:16.5px;line-height:1.28;margin-top:4px}
.tp-big .tp-node small{font-size:15px;line-height:1.35;margin-top:5px}
.tp-big .nb{font-size:11px;line-height:16px;padding:1px 8px}
.tp-big .nb svg{width:11px;height:11px}
.tp-big .tp-elab text{font:600 12.5px Inter,system-ui,sans-serif}
.tp-big .tp-pt text{font:700 14px Inter,system-ui,sans-serif}
.tp-big .tp-node:has(.tp-grip) .nk{padding-right:34px}
.tp-big .tp-grip{width:34px;height:34px;right:3px;top:3px;grid-template-columns:5px 5px;grid-auto-rows:5px;gap:3px 5px;opacity:.7}
.tp-big .tp-grip i{width:5px;height:5px}
.tp-big .tp-node:has(.tp-hear) small{padding-right:40px}
.tp-measure.tp-big{width:250px}
.tp-big.tp-flow .tp-step{padding:14px 16px;min-height:64px;border-radius:16px}
.tp-big.tp-flow .tp-k{font-size:12px}
.tp-big.tp-flow .tp-step b{font-size:17px;line-height:1.3}
.tp-big.tp-flow .tp-step p{font-size:15px;line-height:1.4}
.tp-big.tp-flow .tp-say{font-size:14.5px}
.tp-big.tp-flow.has-reorder .tp-step.has-grip{padding-right:62px}
.tp-big.tp-flow .tp-step .tp-grip{width:48px;height:48px;right:6px;top:8px;opacity:.7}
.tp-big.tp-flow .tp-step .tp-grip i{width:5px;height:5px}
.tp-big.tp-flow .tp-step.has-grip{touch-action:pan-y;-webkit-touch-callout:none}
.tp-big.tp-flow .tp-step.has-grip .tp-grip{touch-action:none}
/* Hear it: a round play button on a question */
.tp-hear{position:absolute;right:8px;bottom:8px;width:34px;height:34px;border-radius:50%;border:1.5px solid var(--tp-accent);background:var(--tp-surf);color:var(--tp-accent);display:grid;place-items:center;padding:0;cursor:pointer}
.tp-hear svg{width:15px;height:15px;fill:currentColor;margin-left:2px}
.tp-hear:hover,.tp-hear:focus-visible,.tp-hear.is-speaking{background:var(--tp-accent);color:var(--tp-surf)}
.tp-hear:focus-visible{outline:2px solid var(--tp-accent);outline-offset:2px}
.tp-node:has(.tp-hear){position:relative}
.tp-step .tp-hear{right:12px;bottom:12px;top:auto;width:44px;height:44px}
.tp-step:has(.tp-hear) .tp-say{margin-right:58px;min-height:44px;box-sizing:border-box}
.tp-step:has(.tp-hear){padding-bottom:14px}
.tp-big.tp-flow .tp-step .tp-hear svg{width:18px;height:18px}
/* a box on screen in the "Try a call" preview */
.tp-node.is-now,.tp-step.is-now{box-shadow:0 0 0 3px var(--tp-accent),0 10px 26px var(--tp-shadow);border-color:var(--tp-accent)}
/* a box being edited right in place (the dashboard builds the editor; see flow-editor.js inlineHTML) */
.tp-node.is-editing,.tp-step.is-editing{border-color:var(--tp-accent);box-shadow:0 0 0 3px var(--tp-acc-soft),0 12px 30px var(--tp-shadow);cursor:default}
.tp-ed{-webkit-user-select:text;user-select:text;cursor:default}
/* a branch lane ("If new caller" ...): a side box with a coloured edge */
.tp-node[data-kind="branch"]{background:var(--tp-acc-soft);border-color:var(--tp-accent);border-style:solid}
.tp-step[data-kind="branch"]{background:var(--tp-acc-soft);border-color:var(--tp-accent)}
.tp-step[data-kind="branch"]:before{background:var(--tp-accent)}
/* + points glow while a question from the palette is being carried */
.tp-canvas.is-placing .tp-ins-c{fill:color-mix(in srgb,var(--tp-accent) 22%,var(--tp-surf));stroke-width:2.6}
.tp-canvas.is-placing .tp-ins.is-target .tp-ins-c{fill:var(--tp-accent)}
.tp-canvas.is-placing .tp-ins.is-target path{stroke:var(--tp-surf)}
.is-placing .tp-insb:after{background:color-mix(in srgb,var(--tp-accent) 22%,var(--tp-surf))}
.is-placing .tp-insb.is-target:after{background:var(--tp-accent);color:var(--tp-surf)}
@media(min-width:1000px){
  .tp-canvas{height:clamp(480px,calc(100vh - 360px),780px)}
}
@media(prefers-reduced-motion:reduce){.tp-canvas *,.tp-step{transition:none!important;animation:none!important}}
/* ==== /receptionist/app-desktop/flow-advanced.css ==== */
/* THE ADVANCED CALL FLOW (phase A, flow-advanced.js). Tokens only: the same --alg-* the rest of the dashboard wears, so light, dark and the
   partner skins follow. Every control a 44px target. Boxes are laid out by /assets/flow-adv-core.js in pixels; the canvas scrolls and zooms. */
[data-screen="flow"] .fl-mode{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:12px}
[data-screen="flow"] .fl-modeseg button{min-height:44px;min-width:96px}
[data-screen="flow"] .fl-new{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--alg-brand);color:var(--alg-on-brand,#fff);font-size:11px;font-weight:700;letter-spacing:.02em;vertical-align:middle}
[data-screen="flow"] .fl-modehint,[data-screen="flow"] .fl-modenote{font-size:14px;line-height:20px;color:var(--alg-text-secondary)}
[data-screen="flow"] .fl-modenote{display:inline-flex;align-items:center;min-height:44px}

[data-screen="flow"] .fa-notice{margin-bottom:12px}
[data-screen="flow"] .fa-tools .fa-tb{position:relative}
[data-screen="flow"] .fa-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--alg-attention);color:#fff;font-size:12px;font-weight:700}

/* the canvas */
[data-screen="flow"] .fa-wrap{position:relative;border:1px solid var(--alg-card-border);border-radius:14px;background:var(--alg-surface);overflow:hidden}
[data-screen="flow"] .fa-canvas{position:relative;overflow:auto;max-height:78vh;min-height:320px;padding:4px;outline:none;-webkit-overflow-scrolling:touch;
  background-image:radial-gradient(var(--alg-card-border) 1px,transparent 1px);background-size:20px 20px}
[data-screen="flow"] .fa-size{position:relative}
[data-screen="flow"] .fa-inner{position:absolute;left:0;top:0;transform-origin:0 0}
[data-screen="flow"] .fa-lines{position:absolute;left:0;top:0;pointer-events:none;overflow:visible}
[data-screen="flow"] .fa-line{fill:none;stroke:var(--alg-text-secondary);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
[data-screen="flow"] .fa-l-gap,[data-screen="flow"] .fa-l-nowhere{stroke:var(--alg-attention);stroke-dasharray:5 5}
[data-screen="flow"] .fa-l-answer,[data-screen="flow"] .fa-l-lane{stroke:var(--alg-brand)}
[data-screen="flow"] .fa-arrow{fill:var(--alg-text-secondary)}
[data-screen="flow"] .fa-arrow.is-bad{fill:var(--alg-attention)}
[data-screen="flow"] .fa-elab{position:absolute;max-width:150px;padding:2px 9px;border-radius:999px;background:var(--alg-surface);border:1px solid var(--alg-card-border);font-size:13px;line-height:18px;font-weight:600;color:var(--alg-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-screen="flow"] .fa-ctl{position:absolute;z-index:3;right:10px;top:10px;display:flex;flex-direction:column;gap:6px}
[data-screen="flow"] .fa-ctl button{min-width:44px;min-height:44px;border-radius:10px;border:1px solid var(--alg-btn-border);background:var(--alg-surface);color:var(--alg-text-primary);font:700 16px/1 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:var(--alg-shadow-card)}
[data-screen="flow"] .fa-ctl button:focus-visible{outline:2px solid var(--alg-brand);outline-offset:2px}
[data-screen="flow"] .fa-ctl .fa-fit{font-size:14px}
[data-screen="flow"] .fa-mini{position:absolute;z-index:3;right:10px;bottom:10px;padding:6px;border-radius:10px;background:var(--alg-surface);border:1px solid var(--alg-card-border);box-shadow:var(--alg-shadow-card);cursor:pointer}
[data-screen="flow"] .fa-mini svg{display:block}
[data-screen="flow"] .fa-mini-n{fill:var(--alg-text-secondary);opacity:.55}
[data-screen="flow"] .fa-mini-v{fill:var(--alg-brand);fill-opacity:.12;stroke:var(--alg-brand);stroke-width:1.5}

/* the boxes */
[data-screen="flow"] .fa-node{position:absolute;box-sizing:border-box;border-radius:14px;border:1px solid var(--alg-card-border);background:var(--alg-surface);color:var(--alg-text-primary);padding:10px 12px;overflow:hidden;text-align:left;font-family:Inter,system-ui,sans-serif;box-shadow:var(--alg-shadow-card)}
[data-screen="flow"] .fa-tap{position:absolute;left:0;right:0;top:0;bottom:0;padding:10px 12px;cursor:pointer;border-radius:14px;outline:none}
[data-screen="flow"] .fa-tap:focus-visible{outline:2px solid var(--alg-brand);outline-offset:-2px}
[data-screen="flow"] .fa-node:focus-visible,[data-screen="flow"] .fa-grip:focus-visible{outline:2px solid var(--alg-brand);outline-offset:2px}
[data-screen="flow"] .fa-node.is-sel{border-color:var(--alg-brand);box-shadow:0 0 0 2px var(--alg-brand-soft),var(--alg-shadow-card);overflow:visible}
[data-screen="flow"] .fa-node.is-off{opacity:.62}
[data-screen="flow"] .fa-node.has-problem{border-color:var(--alg-attention)}
[data-screen="flow"] .fa-node.is-carried{opacity:.45}
[data-screen="flow"] .fa-k-start{display:flex;align-items:center;justify-content:center;background:var(--alg-text-primary);color:var(--alg-surface);border-radius:999px;font-weight:700;font-size:15px;border-color:var(--alg-text-primary)}
[data-screen="flow"] .fa-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-height:22px;padding-right:34px;position:relative}
[data-screen="flow"] .fa-kind{font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--alg-brand)}
[data-screen="flow"] .fa-k-list .fa-kind{color:var(--alg-accent-2,#5A3FC0)}
[data-screen="flow"] .fa-k-faq .fa-kind{color:var(--alg-success-ink)}
[data-screen="flow"] .fa-k-book{border-left:4px solid var(--alg-success-ink)}
[data-screen="flow"] .fa-k-message .fa-kind,[data-screen="flow"] .fa-k-lanestep.fa-k-message .fa-kind{color:var(--alg-attention)}
[data-screen="flow"] .fa-k-message{border-left:4px solid var(--alg-attention)}
[data-screen="flow"] .fa-k-transfer .fa-kind{color:var(--alg-accent-2,#5A3FC0)}
[data-screen="flow"] .fa-k-transfer{border-left:4px solid var(--alg-accent-2,#5A3FC0)}
[data-screen="flow"] .fa-k-greet{border-left:4px solid var(--alg-text-secondary)}
[data-screen="flow"] .fa-k-ask{border-left:4px solid var(--alg-brand)}
[data-screen="flow"] .fa-k-list{border-left:4px solid var(--alg-accent-2,#5A3FC0)}
[data-screen="flow"] .fa-k-faq{border-left:4px solid var(--alg-success-ink)}
[data-screen="flow"] .fa-ttl{font-size:16px;line-height:21px;font-weight:700;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
[data-screen="flow"] .fa-sub{font-size:14px;line-height:18px;color:var(--alg-text-secondary);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-screen="flow"] .fa-pill{display:inline-flex;align-items:center;gap:4px;padding:1px 8px;border-radius:999px;border:1px solid var(--alg-card-border);background:var(--alg-brand-soft);font-size:12px;font-weight:700;color:var(--alg-text-secondary)}
[data-screen="flow"] .fa-pill svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:2}
[data-screen="flow"] .fa-pill.is-bad{border-color:var(--alg-attention);color:var(--alg-attention);background:var(--alg-attention-soft)}
[data-screen="flow"] .fa-pill.is-yours,[data-screen="flow"] .fa-pill.is-edit{color:var(--alg-brand)}
[data-screen="flow"] .fa-tag{padding:1px 8px;border-radius:999px;font-size:12px;font-weight:700}
[data-screen="flow"] .fa-tag.is-add{background:var(--alg-success-soft);color:var(--alg-success-ink)}
[data-screen="flow"] .fa-tag.is-edit{background:var(--alg-brand-soft);color:var(--alg-brand);border:1px solid var(--alg-brand)}
[data-screen="flow"] .fa-tag.is-move{background:var(--alg-attention-soft);color:var(--alg-attention)}
[data-screen="flow"] .fa-grip{position:absolute;right:2px;top:2px;width:44px;height:44px;display:grid;grid-template-columns:4px 4px;gap:3px 4px;place-content:center;cursor:grab;touch-action:none;border-radius:10px}
[data-screen="flow"] .fa-grip i{display:block;width:4px;height:4px;border-radius:50%;background:var(--alg-text-secondary)}
[data-screen="flow"] .fa-grip:hover i{background:var(--alg-brand)}
[data-screen="flow"] .is-dragging .fa-grip{cursor:grabbing}
[data-screen="flow"] .fa-drop{position:absolute;left:12px;width:304px;height:4px;border-radius:2px;background:var(--alg-brand);z-index:2;pointer-events:none}
[data-screen="flow"] .fa-drop.is-same{opacity:.25}
[data-screen="flow"] .fa-x{position:absolute;right:2px;top:2px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--alg-text-secondary);cursor:pointer;border-radius:10px}
[data-screen="flow"] .fa-x svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
[data-screen="flow"] .fa-x:hover{color:var(--alg-attention)}
[data-screen="flow"] .fa-k-side,[data-screen="flow"] .fa-k-lane,[data-screen="flow"] .fa-k-lanestep{padding:6px 12px}
[data-screen="flow"] .fa-k-side{display:flex;flex-direction:column;justify-content:center}
[data-screen="flow"] .fa-sidet{font-size:15px;font-weight:700;line-height:18px}
[data-screen="flow"] .fa-k-lane{display:flex;align-items:center;border-radius:999px;background:var(--alg-brand-soft);border-color:var(--alg-brand);color:var(--alg-brand);font-weight:700;font-size:14px;cursor:pointer}
[data-screen="flow"] .fa-k-lane span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-screen="flow"] .fa-k-lanestep{cursor:pointer;display:flex;flex-direction:column;justify-content:center}

/* answers inside a box */
[data-screen="flow"] .fa-rows{position:absolute;left:0;right:0;padding:2px 10px 0}
[data-screen="flow"] .fa-cap{position:absolute;left:12px;top:-20px;font-size:13px;line-height:16px;font-weight:600;color:var(--alg-text-secondary);pointer-events:none}
[data-screen="flow"] .fa-row{display:flex;align-items:center;gap:8px;border-top:1px solid var(--alg-card-border)}
[data-screen="flow"] .fa-row.is-bad .fa-ans{color:var(--alg-attention)}
[data-screen="flow"] .fa-ans{flex:1 1 auto;min-width:0;font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-screen="flow"] .fa-ans.is-else{font-weight:600;color:var(--alg-text-secondary)}
[data-screen="flow"] .fa-sel{flex:0 0 138px;max-width:138px;min-height:36px;border-radius:10px;border:1px solid var(--alg-btn-border);background:var(--alg-surface);color:var(--alg-text-primary);font-size:13px;padding:0 6px}
[data-screen="flow"] .fa-row.is-bad .fa-sel{border-color:var(--alg-attention)}

/* the plus and the fold */
[data-screen="flow"] .fa-plus{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;cursor:pointer;z-index:2}
[data-screen="flow"] .fa-plus span{width:28px;height:28px;border-radius:50%;background:var(--alg-surface);border:2px solid var(--alg-brand);color:var(--alg-brand);display:inline-flex;align-items:center;justify-content:center}
[data-screen="flow"] .fa-plus svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round}
[data-screen="flow"] .fa-plus:hover span,[data-screen="flow"] .fa-plus:focus-visible span{background:var(--alg-brand);color:var(--alg-on-brand,#fff)}
[data-screen="flow"] .fa-plus:focus-visible{outline:2px solid var(--alg-brand);outline-offset:-4px;border-radius:50%}
[data-screen="flow"] .fa-fold{position:absolute;min-height:44px;padding:0 12px;margin-top:-22px;border-radius:999px;border:1px dashed var(--alg-brand);background:var(--alg-surface);color:var(--alg-brand);font-size:13px;font-weight:700;cursor:pointer;z-index:2}

/* editing in place */
[data-screen="flow"] .fa-ed{display:flex;flex-direction:column;gap:6px;margin-top:6px}
[data-screen="flow"] .fa-lab{font-size:13px;font-weight:700;color:var(--alg-text-secondary);margin-top:2px}
[data-screen="flow"] .fa-ta{width:100%;box-sizing:border-box;min-height:56px;resize:none;font-size:15px;line-height:20px}
[data-screen="flow"] .fa-hint{margin:0;font-size:14px;line-height:20px;color:var(--alg-text-secondary)}
[data-screen="flow"] .fa-hint.is-warn{color:var(--alg-attention)}
[data-screen="flow"] .fa-edrow{display:flex;align-items:center;min-height:44px}
[data-screen="flow"] .fa-req button{min-height:44px;min-width:104px}
[data-screen="flow"] .fa-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;cursor:pointer}
[data-screen="flow"] .fa-check input{width:22px;height:22px;flex:none}
[data-screen="flow"] .fa-acts{display:flex;gap:8px;align-items:center;margin-top:6px;flex-wrap:wrap}
[data-screen="flow"] .fa-b{min-height:44px;padding:0 16px}
[data-screen="flow"] .fa-done{margin-left:auto}
[data-screen="flow"] .fa-b.is-danger{color:var(--alg-attention)}
[data-screen="flow"] .fa-chips{display:flex;flex-wrap:wrap;gap:6px}
[data-screen="flow"] .fa-chip{display:inline-flex;align-items:center;gap:2px;padding:2px 4px 2px 10px;border-radius:999px;background:var(--alg-brand-soft);border:1px solid var(--alg-card-border);font-size:14px;font-weight:600}
[data-screen="flow"] .fa-chip.is-else{padding-right:10px;color:var(--alg-text-secondary)}
[data-screen="flow"] .fa-chip button{min-width:36px;min-height:36px;border:0;background:transparent;color:var(--alg-text-secondary);font-size:18px;cursor:pointer;border-radius:50%}
[data-screen="flow"] .fa-ans-in{width:100%;box-sizing:border-box;min-height:44px;margin-top:6px}

/* the sheet */
.fa-over{position:fixed;inset:0;z-index:150;display:flex;align-items:flex-end;justify-content:center}
.fa-back{position:absolute;inset:0;background:rgba(10,16,30,.45)}
.fa-sheet{position:relative;width:100%;max-width:520px;max-height:86vh;max-height:86dvh;overflow-y:auto;background:var(--alg-surface);color:var(--alg-text-primary);border:1px solid var(--alg-card-border);border-radius:18px 18px 0 0;padding:14px 16px 24px;box-sizing:border-box;box-shadow:var(--alg-shadow-toast);font-family:Inter,system-ui,sans-serif}
@media (min-width:701px){.fa-over{align-items:center}.fa-sheet{border-radius:18px;max-height:80vh}}
.fa-sh-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.fa-sh-t{margin:0;font-size:18px;line-height:24px;font-weight:700}
.fa-sh-x{min-height:44px;flex:none}
.fa-sh-body{display:flex;flex-direction:column;gap:8px}
.fa-opts{display:flex;flex-direction:column;gap:8px}
.fa-opt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;min-height:56px;padding:10px 14px;border-radius:12px;border:1px solid var(--alg-btn-border);background:var(--alg-surface);color:var(--alg-text-primary);cursor:pointer;font-family:inherit}
.fa-opt:hover,.fa-opt:focus-visible{border-color:var(--alg-brand);background:var(--alg-brand-soft);outline:none}
.fa-opt-t{font-size:16px;font-weight:700;overflow-wrap:anywhere}
.fa-opt-w{font-size:14px;color:var(--alg-text-secondary)}
.fa-more{align-self:flex-start;min-height:44px}
.fa-palh{font-size:13px;font-weight:700;color:var(--alg-text-secondary);margin-top:10px}
.fa-search{width:100%;box-sizing:border-box;min-height:44px}
.fa-tpls{max-height:46vh;overflow-y:auto}
.fa-sum{margin:0;font-size:17px;line-height:24px;font-weight:700}
.fa-sum.is-ok{color:var(--alg-success-ink)}
.fa-fixall{align-self:flex-start;min-height:44px;padding:0 20px}
.fa-probs{display:flex;flex-direction:column}
.fa-prob{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--alg-card-border)}
.fa-ptag{flex:none;padding:2px 10px;border-radius:999px;background:var(--alg-attention-soft);color:var(--alg-attention);font-size:12px;font-weight:700;border:1px solid var(--alg-attention)}
.fa-ptag.is-soft{background:var(--alg-brand-soft);color:var(--alg-text-secondary);border-color:var(--alg-card-border)}
.fa-ptxt{font-size:15px;line-height:21px;min-width:0;overflow-wrap:anywhere}
.fa-pfix{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:6px;font-size:14px;color:var(--alg-text-secondary)}
.fa-pfix .am-btn{min-height:44px;flex:none}
.fa-hrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--alg-card-border)}
.fa-htxt{display:flex;flex-direction:column;font-size:14px;min-width:0}
.fa-htxt span{color:var(--alg-text-secondary)}
.fa-hrow .am-btn{min-height:44px;flex:none}
.fa-cmpbox{padding:8px 12px;border-radius:12px;background:var(--alg-brand-soft);font-size:14px;line-height:20px}
.fa-cmprow{margin:2px 0}
@media (max-width:700px){
  [data-screen="flow"] .fa-canvas{max-height:none;overflow-x:auto;overflow-y:visible}
  [data-screen="flow"] .fa-ctl{top:6px;right:6px}
}
@media (prefers-reduced-motion:no-preference){[data-screen="flow"] .fa-node{transition:border-color .15s,box-shadow .15s}}
/* ==== /receptionist/app-desktop/activity.css ==== */
/* THE ACTIVITY PAGE (2026-10-23). Ported from docs/design/activity-log-mock.html; every class is act-prefixed and every colour is a dashboard token,
   so light, dark and the accent themes follow the app. Its own file (activity.js draws it); deleting the <link> removes the styling only. */
.act-page{max-width:1100px}
.act-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.act-ico{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.act-card{background:var(--alg-surface);border:1px solid var(--alg-card-border);border-radius:16px;padding:20px}
.act-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border-radius:10px;border:1px solid var(--alg-btn-border);font:inherit;font-size:13px;font-weight:600;background:var(--alg-surface);color:var(--alg-text-primary);cursor:pointer;white-space:nowrap}
.act-btn .act-ico{width:16px;height:16px}
.act-btn:hover{background:var(--alg-card-hover)}
.act-btn:disabled{opacity:.5;cursor:not-allowed}
.act-btn.sm{min-height:36px;padding:5px 11px;font-size:12px;border-radius:9px}
.act-link{font:inherit;font-size:13px;font-weight:700;color:var(--alg-accent);background:none;border:0;padding:0 2px;min-height:32px;cursor:pointer;text-decoration:underline}
.act-page :focus-visible{outline:2px solid var(--alg-accent);outline-offset:2px;border-radius:6px}

.act-sample{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:10px 14px;border-radius:12px;background:var(--alg-tint-amber);color:var(--alg-on-tint-amber);font-size:13px}

.act-chips{display:flex;flex-wrap:wrap;gap:8px}
.act-chip{border-radius:20px;min-height:40px;padding:7px 13px;font:inherit;font-size:13px;font-weight:500;background:var(--alg-surface-variant);border:1px solid var(--alg-btn-border);color:var(--alg-text-secondary);display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.act-chip:hover{background:var(--alg-card-hover)}
.act-chip.on{background:var(--alg-fill);border-color:var(--alg-fill);color:var(--alg-fill-ink);font-weight:700}
.act-n{font-weight:700;opacity:.9}
.act-ctrls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.act-search{flex:1;min-width:220px;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--alg-input-border);background:var(--alg-input-bg);border-radius:10px;color:var(--alg-text-muted)}
.act-search .act-ico{width:16px;height:16px}
.act-search input{border:0;background:none;outline:0;width:100%;font:inherit;font-size:14px;color:var(--alg-text-primary);min-height:40px}
.act-search:focus-within{outline:2px solid var(--alg-accent);outline-offset:2px}
.act-dsel{position:relative;display:inline-flex;align-items:center}
.act-dsel select{appearance:none;-webkit-appearance:none;min-height:44px;padding:0 34px 0 12px;font:inherit;font-size:13px;font-weight:500;background:var(--alg-surface-variant);color:var(--alg-text-primary);border:1px solid var(--alg-btn-border);border-radius:10px;cursor:pointer}
.act-dsel .act-ico{position:absolute;right:11px;width:14px;height:14px;pointer-events:none}
.act-drange{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:13px;color:var(--alg-text-secondary)}
.act-drange label{display:inline-flex;align-items:center;gap:8px}
.act-drange input{min-height:44px;padding:0 11px;font:inherit;font-size:13px;border-radius:9px;background:var(--alg-surface-variant);border:1px solid var(--alg-btn-border);color:var(--alg-text-primary)}
.act-countline{font-size:13px;color:var(--alg-text-muted);margin:16px 0 4px;min-height:20px}
.act-note{font-size:13px;color:var(--alg-text-secondary);min-height:18px}

.act-day{font-size:12px;font-weight:600;letter-spacing:.7px;text-transform:uppercase;color:var(--alg-text-secondary);background:var(--alg-surface-variant);padding:9px 12px;border-radius:10px;margin-top:14px}
.act-tl{list-style:none;position:relative;margin:0;padding:0}
.act-ev{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:0 14px;padding:14px 12px;border-bottom:1px solid var(--alg-card-border)}
.act-ev:last-child{border-bottom:0}
.act-ev:before{content:"";position:absolute;left:31px;top:0;bottom:0;width:2px;background:var(--alg-card-border);z-index:0}
.act-ev:first-child:before{top:24px}
.act-ev:last-child:before{bottom:calc(100% - 38px)}
.act-node{position:relative;z-index:1;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--alg-surface)}
.act-k-call .act-node{background:var(--alg-tint-blue);color:var(--alg-on-tint-blue)}
.act-k-msg .act-node{background:var(--alg-tint-teal);color:var(--alg-on-tint-teal)}
.act-k-book .act-node{background:var(--alg-tint-violet);color:var(--alg-on-tint-violet)}
.act-k-lead .act-node{background:var(--alg-success-soft);color:var(--alg-success-ink)}
.act-k-chg .act-node{background:var(--alg-sapphire-tint);color:var(--alg-accent);box-shadow:0 0 0 1px var(--alg-border-glow)}
.act-k-sys .act-node{background:var(--alg-surface-variant);color:var(--alg-text-muted)}
.act-body{min-width:0;padding-top:1px}
.act-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px}
.act-kind{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.act-k-call .act-kind{color:var(--alg-on-tint-blue)}
.act-k-msg .act-kind{color:var(--alg-on-tint-teal)}
.act-k-book .act-kind{color:var(--alg-on-tint-violet)}
.act-k-lead .act-kind{color:var(--alg-success-ink)}
.act-k-chg .act-kind{color:var(--alg-accent)}
.act-k-sys .act-kind{color:var(--alg-text-muted)}
.act-sum{font-size:14px;font-weight:600;color:var(--alg-text-primary);line-height:1.45;overflow-wrap:anywhere}
.act-sub{font-size:13px;color:var(--alg-text-secondary);margin-top:2px;overflow-wrap:anywhere}
.act-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
.act-who{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--alg-text-secondary);min-width:0;overflow-wrap:anywhere}
.act-face{width:22px;height:22px;flex:none;border-radius:50%;background:var(--alg-accent-surface);border:1px solid var(--alg-border-glow);display:grid;place-items:center;font-size:10px;font-weight:700;color:var(--alg-accent)}
.act-face.ai{background:var(--alg-tint-violet);border-color:transparent;color:var(--alg-on-tint-violet)}
.act-face.tm{background:var(--alg-tint-amber);border-color:transparent;color:var(--alg-on-tint-amber)}
.act-face.sy{background:var(--alg-surface-variant);border-color:var(--alg-card-border);color:var(--alg-text-muted)}
.act-src{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:2px 9px;font-size:11.5px;font-weight:700}
.act-src .act-ico{width:12px;height:12px}
.act-s-web{background:var(--alg-tint-teal);color:var(--alg-on-tint-teal)}
.act-s-android{background:var(--alg-tint-violet);color:var(--alg-on-tint-violet)}
.act-s-agent{background:var(--alg-tint-rose);color:var(--alg-on-tint-rose)}
.act-s-team{background:var(--alg-tint-amber);color:var(--alg-on-tint-amber)}
.act-s-system{background:var(--alg-surface-variant);color:var(--alg-text-secondary);border:1px solid var(--alg-card-border)}
.act-tag{display:inline-flex;border-radius:99px;padding:2px 9px;font-size:11.5px;font-weight:700;background:var(--alg-surface-variant);color:var(--alg-text-secondary)}
.act-tag.lead{background:var(--alg-success-soft);color:var(--alg-success-ink)}
.act-tag.warn{background:var(--alg-tint-amber);color:var(--alg-on-tint-amber)}
.act-time{text-align:right;white-space:nowrap;font-size:13px;color:var(--alg-text-secondary);padding-top:2px}
.act-time small{display:block;font-size:12px;color:var(--alg-text-muted)}

.act-ba{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px;font-size:13px}
.act-ba .act-b,.act-ba .act-a{padding:3px 9px;border-radius:8px;font-weight:600;overflow-wrap:anywhere}
.act-ba .act-b{background:var(--alg-del-bg);color:var(--alg-del-ink);text-decoration:line-through;text-decoration-thickness:1px}
.act-ba .act-a{background:var(--alg-add-bg);color:var(--alg-add-ink)}
.act-arr{width:16px;height:16px;color:var(--alg-text-muted)}
.act-fld{color:var(--alg-text-secondary);font-weight:600}
.act-gap{width:8px}
.act-empty{font-style:italic;opacity:.8}
.act-more{margin-top:9px;display:inline-flex;align-items:center;gap:6px;min-height:36px;font:inherit;font-size:13px;font-weight:700;color:var(--alg-accent);background:none;border:0;padding:0;cursor:pointer}
.act-more .act-ico{width:14px;height:14px;transition:transform .15s}
.act-more[aria-expanded=true] .act-ico{transform:rotate(180deg)}
.act-undorow{margin-top:8px}

.act-diff{margin-top:10px;border:1px solid var(--alg-card-border);border-radius:12px;overflow:hidden;background:var(--alg-surface)}
.act-dhead{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;background:var(--alg-surface-variant);border-bottom:1px solid var(--alg-card-border);font-size:12px;color:var(--alg-text-secondary)}
.act-dhead b{color:var(--alg-text-primary);font-weight:700}
.act-sp{flex:1}
.act-seg{display:inline-flex;border:1px solid var(--alg-btn-border);border-radius:9px;overflow:hidden}
.act-seg button{min-height:32px;padding:4px 10px;font:inherit;font-size:12px;font-weight:600;background:none;border:0;color:var(--alg-text-secondary);cursor:pointer}
.act-seg button.on{background:var(--alg-sapphire-tint);color:var(--alg-accent)}
.act-row2{display:grid;grid-template-columns:1fr 1fr}
.act-row2+.act-row2,.act-pane+.act-pane{border-top:1px solid var(--alg-card-border)}
.act-pane{padding:12px 14px;min-width:0}
.act-row2 .act-pane+.act-pane{border-top:0;border-left:1px solid var(--alg-card-border)}
.act-pane h4{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin:0 0 7px;display:flex;align-items:center;gap:8px}
.act-pane.before h4{color:var(--alg-del-ink)}
.act-pane.after h4{color:var(--alg-add-ink)}
.act-pane h4 i{font-style:normal;font-weight:500;letter-spacing:0;text-transform:none;color:var(--alg-text-muted)}
.act-pane p{margin:0;font-size:13.5px;line-height:1.6;color:var(--alg-text-primary);overflow-wrap:anywhere}
.act-pane p+p{margin-top:6px}
.act-pane del{background:var(--alg-del-bg);color:var(--alg-del-ink);text-decoration:none;border-radius:4px;padding:0 2px}
.act-pane ins{background:var(--alg-add-bg);color:var(--alg-add-ink);text-decoration:none;border-radius:4px;padding:0 2px;font-weight:600}
.act-dfoot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--alg-card-border);font-size:12px;color:var(--alg-text-muted)}
.act-dfoot code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;background:var(--alg-surface-variant);border-radius:6px;padding:1px 6px;color:var(--alg-text-secondary)}

.act-state{text-align:center;padding:36px 12px;color:var(--alg-text-secondary);font-size:14px;display:flex;flex-direction:column;align-items:center;gap:10px}
.act-state p{margin:0;max-width:52ch}
.act-moreRow{display:flex;justify-content:center;padding:14px 0 2px}
.act-end{text-align:center;padding:18px 0 4px;font-size:12.5px;color:var(--alg-text-muted)}
.act-end b{color:var(--alg-text-secondary)}

@media (max-width:700px){
  .act-card{padding:14px}
  .act-chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -14px;padding:2px 14px 6px;scrollbar-width:none}
  .act-chips::-webkit-scrollbar{display:none}
  .act-chip{min-height:44px;flex:none}
  .act-search{min-width:100%;flex:none;order:-1}
  .act-dsel{flex:1}
  .act-dsel select{width:100%}
  .act-ev{grid-template-columns:36px minmax(0,1fr);gap:0 11px;padding:13px 4px}
  .act-ev:before{left:21px}
  .act-node{width:36px;height:36px;grid-row:1 / span 2}
  .act-time{grid-column:2;grid-row:1;text-align:left;order:-1;font-size:12px;padding:0 0 3px;white-space:normal}
  .act-time small{display:inline;margin-left:6px}
  .act-body{grid-column:2;grid-row:2}
  .act-seg{display:none}
  .act-link{min-height:44px}
  .act-row2{grid-template-columns:1fr}
  .act-row2 .act-pane+.act-pane{border-left:0;border-top:1px solid var(--alg-card-border)}
  .act-drange label{flex:1}
  .act-drange input{flex:1;min-width:0}
}
/* ==== /receptionist/app-desktop/follows.css ==== */
/* WHAT MUSE FOLLOWS (2026-10-23). Every class is fw-prefixed and every colour is a dashboard token, so light, dark and the accent themes follow the app.
   Its own file (follows.js draws it); deleting the <link> removes the styling only. */
.fw-page{max-width:760px}
.fw-page .fw-sec{margin-bottom:14px}
.fw-body{display:flex;flex-direction:column;gap:10px;padding-bottom:16px}
.fw-eyebrow{font-size:12px;font-weight:600;letter-spacing:.7px;text-transform:uppercase;color:var(--alg-text-secondary)}
.fw-tplname{margin:0;font-size:22px;line-height:28px;font-weight:700;color:var(--alg-text-primary);overflow-wrap:anywhere}
.fw-line{margin:0;font-size:15px;line-height:22px;color:var(--alg-text-primary);overflow-wrap:anywhere}
.fw-help{margin:0;font-size:13px;line-height:19px;color:var(--alg-text-secondary);overflow-wrap:anywhere}
.fw-quote{margin:0;padding:12px 16px;border-left:3px solid var(--alg-brand);background:var(--alg-brand-soft);border-radius:0 12px 12px 0;font-size:16px;line-height:24px;color:var(--alg-text-primary);overflow-wrap:anywhere}
.fw-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.fw-step{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:22px;color:var(--alg-text-primary)}
.fw-step.is-off{color:var(--alg-text-secondary);opacity:.7}
.fw-n{display:inline-grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--alg-surface-variant);color:var(--alg-text-secondary);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.fw-st{min-width:0;overflow-wrap:anywhere}
.fw-offtag{font-size:13px;font-weight:600;color:var(--alg-text-secondary)}
.fw-pill{display:inline-flex;align-items:center;min-height:22px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:700;background:var(--alg-surface-variant);color:var(--alg-text-secondary)}
.fw-pill.is-ok{background:var(--alg-tint-green,var(--alg-surface-variant));color:var(--alg-on-tint-green,var(--alg-success-ink))}
.fw-pill.is-warn{background:var(--alg-tint-amber,var(--alg-surface-variant));color:var(--alg-on-tint-amber,var(--alg-attention))}
.fw-pill.is-mine{background:var(--alg-brand-soft);color:var(--alg-brand)}
.fw-det>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:14px;font-weight:600;color:var(--alg-brand)}
.fw-det>summary:focus-visible,.fw-page .am-btn:focus-visible{outline:2px solid var(--alg-brand);outline-offset:2px}
.fw-script{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:21px;color:var(--alg-text-primary);padding:12px 14px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface-variant)}
.fw-rules{margin:0;padding:0 0 0 20px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:22px;color:var(--alg-text-primary)}
.fw-rules li{overflow-wrap:anywhere}
.fw-go,.fw-page .am-btn{min-height:44px}
.fw-go{align-self:flex-start}
.fw-foot{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:4px 0 0}
@media (max-width:480px){.fw-tplname{font-size:20px}}
/* ==== /receptionist/app-desktop/tours.css ==== */
/* GUIDED TOURS (2026-10-27). Every class is tr-prefixed and every colour is a dashboard token, so light, dark and the accent themes follow the app.
   Its own file (tours.js draws it); deleting the <link> removes the styling only. */
.tr-page{max-width:760px}
.tr-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.tr-card{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--alg-card-border);border-radius:16px;background:var(--alg-surface,transparent)}
.tr-card.is-soon{opacity:.92}
.tr-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--alg-brand-soft);color:var(--alg-brand)}
.tr-ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tr-txt{flex:1;min-width:0}
.tr-title{margin:0;font-size:17px;line-height:24px;font-weight:700;color:var(--alg-text-primary);overflow-wrap:anywhere}
.tr-desc{margin:2px 0 0;font-size:14px;line-height:21px;color:var(--alg-text-secondary);overflow-wrap:anywhere}
.tr-meta{margin-top:6px;font-size:12px;font-weight:600;letter-spacing:.3px;color:var(--alg-text-secondary)}
.tr-act{flex:none}
.tr-watch{min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
.tr-watch:focus-visible{outline:2px solid var(--alg-brand);outline-offset:2px}
.tr-soon{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:700;background:var(--alg-surface-variant);color:var(--alg-text-secondary);white-space:nowrap}
.tr-foot{margin:14px 0 0;font-size:13px;line-height:19px;color:var(--alg-text-secondary)}
@media (max-width:560px){
  .tr-card{flex-wrap:wrap;align-items:flex-start;padding:14px}
  .tr-txt{flex:1 1 calc(100% - 60px)}
  .tr-act{flex:1 1 100%;padding-left:58px}
  .tr-watch{width:100%;justify-content:center}
}
/* ==== /receptionist/app-desktop/agents.css ==== */
/* AGENTS (phase 1, 2026-10-28): dashboard tokens only, so light, dark and the accent themes follow the app. Loaded with agents.js; harmless when Agents is off. */
.ag-page{max-width:880px}
.ag-page .ag-sec{margin-bottom:16px}
.ag-page .am-notice{margin:0 0 16px}
.ag-headrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ag-av{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--alg-brand-soft);color:var(--alg-brand);font-weight:700;font-size:16px}
.ag-av-lg{width:52px;height:52px;border-radius:16px;font-size:20px}
.ag-rows{display:flex;flex-direction:column;gap:0;padding-bottom:4px}
.ag-row{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;padding:14px 0;border-top:1px solid var(--alg-card-border);cursor:pointer;min-height:44px}
.ag-row:first-child{border-top:0}
.ag-row:hover .ag-rowtop b{color:var(--alg-brand)}
.ag-row:focus-visible,.ag-job:focus-visible,.ag-opt:focus-visible{outline:2px solid var(--alg-brand);outline-offset:2px}
.ag-row.is-off .ag-av{background:var(--alg-surface-variant);color:var(--alg-text-secondary)}
.ag-rowmid{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.ag-rowtop{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ag-rowtop b{font-size:15px;color:var(--alg-text-primary)}
.ag-rowsub{font-size:13px;line-height:19px;color:var(--alg-text-secondary);overflow-wrap:anywhere}
.ag-rowend{display:flex;flex-direction:column;align-items:flex-end;flex:none;font-size:12px;color:var(--alg-text-secondary);text-align:right}
.ag-rowend b{font-size:18px;color:var(--alg-text-primary)}
.ag-pool{flex-direction:column;align-items:stretch;gap:10px}
.ag-poolt{display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--alg-text-secondary)}
.ag-poolt b{font-size:15px;color:var(--alg-text-primary)}
.ag-bul{margin:6px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:20px;color:var(--alg-text-secondary)}
.ag-back{margin:0 0 6px -8px;min-height:44px}
.ag-jobs{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:20px}
.ag-job,.ag-opt{all:unset;box-sizing:border-box;display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--alg-card-border);border-radius:14px;background:var(--alg-surface);cursor:pointer;min-height:44px}
.ag-job:hover,.ag-opt:hover{border-color:var(--alg-brand)}
.ag-job.on,.ag-opt.on{border-color:var(--alg-brand);background:var(--alg-brand-soft);box-shadow:0 0 0 1px var(--alg-brand) inset}
.ag-opt{flex-direction:column;gap:4px}
.ag-jobt{display:flex;flex-direction:column;gap:3px;min-width:0}
.ag-job b,.ag-opt b{font-size:15px;color:var(--alg-text-primary)}
.ag-job span,.ag-opt span{font-size:13px;line-height:19px;color:var(--alg-text-secondary)}
.ag-job .ag-av{color:var(--alg-brand)}
.ag-reachopts{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:20px}
.ag-actions{display:flex;gap:10px;justify-content:flex-end;margin:4px 0 24px}
.ag-actions .am-btn[disabled]{opacity:.5;cursor:not-allowed}
.ag-ptitle{display:flex;align-items:center;gap:14px;min-width:0}
.ag-swl{font-size:13px;font-weight:600;color:var(--alg-text-secondary)}
.ag-form{display:flex;flex-direction:column;gap:16px;padding-bottom:20px}
.ag-voice{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ag-voice select{flex:1;min-width:180px}
.ag-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ag-steps li{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:22px}
.ag-steps .fw-n{display:inline-grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--alg-surface-variant);color:var(--alg-text-secondary);font-size:12px;font-weight:600}
.ag-note{margin:0;font-size:14px;line-height:21px;color:var(--alg-text-secondary)}
.ag-saved{font-size:13px;color:var(--alg-text-secondary)}
.ag-foot{font-size:13px;color:var(--alg-text-secondary);margin:0 0 24px}
.ag-brows{display:flex;flex-direction:column;padding-bottom:6px}
.ag-brow{display:grid;grid-template-columns:40px minmax(0,1.6fr) 1fr 1.2fr 1.2fr auto;gap:14px;align-items:center;padding:14px 0;border-top:1px solid var(--alg-card-border)}
.ag-brow:first-child{border-top:0}
.ag-bmid{display:flex;flex-direction:column;gap:2px;min-width:0}
.ag-bmid b{font-size:15px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ag-bcell{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--alg-text-secondary)}
.ag-bcell b{font-size:16px;color:var(--alg-text-primary)}
.ag-bst{align-items:flex-start}
#bizmenu{position:fixed;left:12px;right:auto;top:66px;width:264px;max-width:calc(100vw - 24px)}
#bizmenu .ag-mi{display:flex;align-items:center;gap:8px;white-space:nowrap}
#bizmenu .ag-mi.ag-sep{border-top:1px solid var(--alg-card-border);border-radius:0 0 8px 8px;margin-top:4px;padding-top:12px}
.ag-mav{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:var(--alg-brand-soft);color:var(--alg-brand);font-size:12px;font-weight:700;flex:none}
.ag-mplus,.ag-mall{background:var(--alg-surface-variant);color:var(--alg-text-secondary)}
#bizmenu .ag-mi .ag-pv{margin-left:auto}
@media (max-width:700px){
  #bizmenu{width:276px}
  #bizmenu .ag-mi{white-space:normal;gap:6px}
  #bizmenu .ag-mi .ag-pv{font-size:10px;padding:0 6px}
  .ag-jobs,.ag-reachopts{grid-template-columns:1fr}
  .ag-brow{grid-template-columns:40px minmax(0,1fr) minmax(0,1fr);row-gap:10px}
  .ag-brow .ag-bmid{grid-column:2 / 4}
  .ag-brow .ag-bcell:nth-of-type(1){grid-column:1 / 3}
  .ag-row{align-items:flex-start}
  .ag-rowend{flex-direction:row;gap:6px;align-items:baseline}
  .ag-actions .am-btn{flex:1}
  .ag-page .phead .acts{flex-wrap:wrap}
}
.ag-hf{display:grid;grid-template-columns:2fr 1.2fr 1fr auto;gap:12px;align-items:end;padding-bottom:14px;border-bottom:1px solid var(--alg-card-border)}
.ag-hf:last-of-type{border-bottom:0}
.ag-hfx{min-height:44px}
.ag-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ag-consent{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid var(--alg-card-border);border-radius:12px;font-size:14px;line-height:20px;color:var(--alg-text-secondary);cursor:pointer}
.ag-consent b{color:var(--alg-text-primary)}
.ag-consent input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--alg-brand)}
@media (max-width:700px){
  .ag-hf{grid-template-columns:1fr}
  .ag-two{grid-template-columns:1fr}
}
.ag-soon{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;background:var(--alg-surface-variant);color:var(--alg-text-secondary);border:1px solid var(--alg-btn-border);flex:none}
.ag-soonrow{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.ag-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.ag-actl,.ag-actr{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ag-confirm{display:inline-flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--alg-text-primary)}
.ag-delbtn{color:var(--alg-text-secondary)}
.ag-page .ag-err{border-color:var(--alg-error,#b3261e)}
.ag-bopen{grid-column:auto}
.ag-page .ag-note-box{margin-bottom:16px}
@media (max-width:700px){
  .ag-actions{flex-direction:column;align-items:stretch}
  .ag-actl,.ag-actr{flex-direction:column;align-items:stretch}
  .ag-confirm{flex-direction:column;align-items:stretch}
  .ag-bopen{grid-column:2 / 4}
}
.ag-rowend svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.ag-flowlink{display:inline-flex;align-items:center;min-height:44px;margin:-6px 0 6px 54px;padding:0 4px;font-size:14px;font-weight:600;color:var(--alg-brand);text-decoration:none}
.ag-flowlink:hover{text-decoration:underline}
.ag-flowlink:focus-visible{outline:2px solid var(--alg-brand);outline-offset:2px}
.ag-rowacts{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:-6px 0 6px 54px}
.ag-rowacts .ag-flowlink{margin:0}
.ag-rowdel{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;border:0;background:none;font:inherit;font-size:14px;font-weight:600;color:var(--alg-danger,#b42318);cursor:pointer}
.ag-rowdel:hover{text-decoration:underline}
.ag-rowdel:focus-visible{outline:2px solid var(--alg-danger,#b42318);outline-offset:2px}
.ag-rowconfirm{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px}

/* Add a business: copy setup from another business */
.ag-copy{border:1px solid var(--alg-card-border);border-radius:var(--alg-radius-md);background:var(--alg-surface-variant);padding:14px 16px;display:flex;flex-direction:column;gap:12px}
.ag-copyhead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ag-copyhead b{font-size:14px}
.ag-copysel{display:flex;flex-direction:column;gap:6px}
.ag-copynote{margin:0;font-size:13px;line-height:19px;color:var(--alg-text-secondary)}
/* ==== /receptionist/app-desktop/reminders.css ==== */
/* REMINDERS (2026-10-29): dashboard tokens only, so light, dark and the accent themes follow the app. Loaded with reminders.js; harmless when Reminders is off. */
.rem-page{max-width:880px}
.rem-page .rem-sec{margin-bottom:16px}
.rem-page .rem-note{margin:0 0 16px}
.rem-sel{width:auto;min-width:150px;max-width:100%;min-height:44px}
.rem-page .am-setting-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.rem-page .am-section-headrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rem-headact{margin-left:auto}
.rem-page .s4-switch{display:inline-flex;flex-direction:row;align-items:center;gap:8px;white-space:nowrap}
.rem-sec[data-rem-sec="new"] .am-section-body{display:flex;flex-direction:column;gap:16px;padding-bottom:20px}
.rem-sec[data-rem-sec="new"] .am-section-body>p{margin:0}
.rem-help{margin:8px 0 0;font-size:13px;line-height:19px;color:var(--alg-text-secondary)}
.rem-lbl{margin:14px 0 6px;font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--alg-text-secondary)}
.rem-example{padding:4px 0 8px}
.rem-actions{gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0 4px}
.rem-actions .am-btn{min-height:44px}
.rem-actions-col{display:flex;flex-direction:column}
.rem-msg{margin:0;font-size:13px;line-height:19px;color:var(--alg-text-secondary)}
.rem-msg.rem-bad,.rem-bad{color:var(--alg-danger,#b3261e)}
.rem-camps{display:flex;flex-direction:column}
.rem-camp{display:flex;flex-direction:column;gap:8px;padding:16px 0;border-top:1px solid var(--alg-card-border)}
.rem-camp:first-child{border-top:0;padding-top:4px}
.rem-camp-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rem-camp-top b{font-size:15px;color:var(--alg-text-primary);overflow-wrap:anywhere}
.rem-sub{font-size:13px;line-height:19px;color:var(--alg-text-secondary);overflow-wrap:anywhere}
.rem-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px}
.rem-cell{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface)}
.rem-cell b{font-size:20px;line-height:24px;color:var(--alg-text-primary)}
.rem-cell span{font-size:12px;color:var(--alg-text-secondary)}
.rem-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rem-check{display:flex;gap:10px;align-items:flex-start;min-height:44px;margin:8px 0;font-size:14px;line-height:21px;color:var(--alg-text-primary);cursor:pointer}
.rem-check input{margin-top:3px;width:20px;height:20px;flex:none}
.rem-chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}
.rem-chip{font:inherit;font-size:13px;min-height:44px;padding:0 12px;border:1px solid var(--alg-btn-border);border-radius:999px;background:var(--alg-surface);color:var(--alg-text-primary);cursor:pointer}
.rem-chip:hover{border-color:var(--alg-brand);color:var(--alg-brand)}
.rem-chip:focus-visible{outline:2px solid var(--alg-brand);outline-offset:2px}
.rem-count{margin-left:auto;font-size:12px;color:var(--alg-text-secondary)}
.rem-prev{margin:16px 0;padding:16px;border:1px solid var(--alg-card-border);border-radius:14px;background:var(--alg-surface-variant)}
.rem-big{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.rem-big b{font-size:32px;line-height:36px;color:var(--alg-text-primary)}
.rem-big span{font-size:15px;color:var(--alg-text-secondary)}
.rem-page .am-seg{max-width:100%}
.rem-page .am-seg button{min-height:44px}
.rem-page .am-page-sub{overflow-wrap:anywhere}
@media (max-width:700px){
  .rem-counts{grid-template-columns:1fr 1fr}
  .rem-two{grid-template-columns:1fr}
  .rem-page .am-setting{flex-wrap:wrap}
  .rem-page .am-setting-control{justify-content:flex-start;width:100%}
  .rem-sel{flex:1;min-width:0}
  .rem-actions .am-btn{flex:1 1 auto}
}

/* bring in a list + the picture guide (2026-10-30) */
.rem-import,.rem-stage,.rem-unread{padding:12px 14px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface)}
.rem-import .rem-lbl:first-child,.rem-stage .rem-lbl:first-child,.rem-unread .rem-lbl:first-child{margin-top:0}
.rem-stage{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.rem-unread{margin-top:12px}
.rem-import .rem-actions{margin:6px 0 0}
.rem-guide{border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface);overflow:hidden}
.rem-guide-h{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 14px;background:none;border:0;font:inherit;font-weight:600;color:var(--alg-text-primary);text-align:left;cursor:pointer}
.rem-guide-x{font-size:13px;font-weight:500;color:var(--alg-text-secondary)}
.rem-guide-steps{list-style:none;margin:0;padding:4px 14px 14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.rem-gstep{display:flex;gap:12px;align-items:flex-start}
.rem-gart{flex:0 0 56px;color:var(--alg-accent,var(--alg-text-primary))}
.rem-gtxt{display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:19px;color:var(--alg-text-secondary);min-width:0;overflow-wrap:anywhere}
.rem-gtxt b{font-size:14px;color:var(--alg-text-primary)}
.rem-gnum{color:var(--alg-accent,inherit)}
@media (max-width:520px){.rem-guide-steps{grid-template-columns:1fr}.rem-two{grid-template-columns:1fr}}
/* ==== /receptionist/app-desktop/campaigns.css ==== */
/* CAMPAIGNS (2026-11-12): dashboard tokens only, so light, dark and the accent themes follow the app. Loaded with campaigns.js; harmless when Campaigns is off. */
.camp-page{max-width:880px}
.camp-page .camp-sec{margin-bottom:16px}
.camp-page .am-section-headrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.camp-page .am-page-sub{overflow-wrap:anywhere}
.camp-headact{margin-left:auto}
.camp-note{margin:0 0 16px}
.camp-num{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border-radius:999px;background:var(--alg-brand);color:var(--alg-on-brand,#fff);font-size:14px;font-weight:700}
.camp-steps .am-section-body{display:flex;flex-direction:column;gap:14px;padding-bottom:20px}
.camp-steps .am-section-body>p{margin:0}
.camp-sec[data-camp-sec="agent"] .am-section-body{display:flex;flex-direction:column;gap:14px;padding-bottom:20px}
.camp-sec[data-camp-sec="agent"] .am-section-body>p,.camp-sec[data-camp-sec="agent"] .camp-note{margin:0}
.camp-help{margin:0;font-size:13px;line-height:19px;color:var(--alg-text-secondary);overflow-wrap:anywhere}
.camp-lbl{margin:10px 0 6px;font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--alg-text-secondary)}
.camp-msg{margin:8px 0 0;font-size:13px;line-height:19px;color:var(--alg-text-secondary)}
.camp-msg.camp-bad,.camp-bad{color:var(--alg-danger,#b3261e)}
.camp-sel{width:auto;min-width:160px;max-width:100%;min-height:44px}
.camp-num-in{max-width:180px;min-height:44px}
.camp-link{font:inherit;font-size:13px;font-weight:600;background:none;border:0;padding:10px 0;min-height:44px;color:var(--alg-brand);cursor:pointer;text-align:left}
.camp-link:hover{text-decoration:underline}
.camp-link:focus-visible,.camp-purpose:focus-visible,.camp-msgcard:focus-visible,.camp-whobtn:focus-visible,.camp-chip:focus-visible{outline:2px solid var(--alg-brand);outline-offset:2px}

/* step 1: what */
.camp-purposes{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.camp-purpose{display:flex;flex-direction:column;gap:4px;align-items:flex-start;text-align:left;min-height:72px;padding:12px 14px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface);font:inherit;color:var(--alg-text-primary);cursor:pointer}
.camp-purpose b{font-size:14px}
.camp-purpose span{font-size:12px;line-height:17px;color:var(--alg-text-secondary)}
.camp-purpose[aria-checked="true"]{border-color:var(--alg-brand);box-shadow:inset 0 0 0 1px var(--alg-brand);background:var(--alg-surface-variant)}
.camp-ready{display:flex;flex-direction:column;gap:8px}
.camp-msgcard{font:inherit;font-size:14px;line-height:20px;text-align:left;min-height:48px;padding:10px 14px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface);color:var(--alg-text-primary);cursor:pointer;overflow-wrap:anywhere}
.camp-msgcard[aria-checked="true"]{border-color:var(--alg-brand);box-shadow:inset 0 0 0 1px var(--alg-brand)}
.camp-chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}
.camp-chip{font:inherit;font-size:13px;min-height:44px;padding:0 12px;border:1px solid var(--alg-btn-border);border-radius:999px;background:var(--alg-surface);color:var(--alg-text-primary);cursor:pointer}
.camp-chip:hover{border-color:var(--alg-brand);color:var(--alg-brand)}
.camp-len{margin-left:auto;font-size:12px;color:var(--alg-text-secondary)}

/* step 2: who */
/* call campaigns: text or call, the agent box, the attestation */
.camp-chans{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.camp-purpose:disabled{opacity:.6;cursor:not-allowed}
.camp-agent .am-field{margin:0}
.camp-agent .camp-purpose{min-height:48px;justify-content:center}
.camp-agent .camp-purposes{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.camp-attest{padding:12px 14px;border:1px solid var(--alg-brand);border-radius:12px;background:var(--alg-surface-variant)}
.camp-whobtn:disabled{opacity:.5;cursor:not-allowed}
.camp-who{display:flex;flex-wrap:wrap;gap:8px}
.camp-whobtn{font:inherit;font-size:14px;min-height:44px;padding:0 14px;border:1px solid var(--alg-btn-border);border-radius:999px;background:var(--alg-surface);color:var(--alg-text-primary);cursor:pointer}
.camp-whobtn[aria-checked="true"]{border-color:var(--alg-brand);background:var(--alg-brand);color:var(--alg-on-brand,#fff)}
.camp-box{display:flex;flex-direction:column;gap:10px;padding:12px 14px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface)}
.camp-live{min-height:44px}
.camp-count{padding:14px 16px;border:1px solid var(--alg-card-border);border-radius:14px;background:var(--alg-surface-variant)}
.camp-count.camp-stale{opacity:.6}
.camp-big{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.camp-big b{font-size:32px;line-height:36px;color:var(--alg-text-primary)}
.camp-big span{font-size:15px;color:var(--alg-text-secondary)}
.camp-exlist{margin:0;padding:0 0 0 18px;font-size:13px;line-height:21px;color:var(--alg-text-secondary)}
.camp-exlist b{color:var(--alg-text-primary)}
.camp-check{display:flex;gap:10px;align-items:flex-start;min-height:44px;font-size:14px;line-height:21px;color:var(--alg-text-primary);cursor:pointer}
.camp-check input{margin-top:3px;width:20px;height:20px;flex:none}
.camp-pickbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.camp-pickbar .am-input{flex:1 1 200px;min-height:44px}
.camp-people{list-style:none;margin:0;padding:0;max-height:340px;overflow:auto;border-top:1px solid var(--alg-card-border)}
.camp-person{display:flex;gap:10px;align-items:center;min-height:48px;padding:6px 2px;border-bottom:1px solid var(--alg-card-border);cursor:pointer;flex-wrap:wrap}
.camp-person input{width:20px;height:20px;flex:none}
.camp-pname{flex:1 1 140px;font-size:14px;color:var(--alg-text-primary);overflow-wrap:anywhere}
.camp-pphone{font-size:13px;color:var(--alg-text-secondary);font-variant-numeric:tabular-nums}

/* step 3: how */
.camp-hows{display:flex;flex-direction:column;gap:8px}
.camp-how{display:flex;gap:12px;align-items:flex-start;min-height:48px;padding:10px 14px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface);cursor:pointer}
.camp-how input{margin-top:3px;width:20px;height:20px;flex:none}
.camp-how span{display:flex;flex-direction:column;gap:2px;font-size:14px;color:var(--alg-text-primary)}
.camp-how small{font-size:12px;line-height:17px;color:var(--alg-text-secondary)}
.camp-how.camp-dis{opacity:.6;cursor:not-allowed}
.camp-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}

/* step 4: check */
.camp-phone{white-space:pre-wrap;overflow-wrap:anywhere}
.camp-actions{gap:10px;flex-wrap:wrap;align-items:center;margin:4px 0 0}
.camp-actions .am-btn{min-height:44px}
.camp-go{margin-top:10px}

/* the list */
.camp-items{display:flex;flex-direction:column}
.camp-item{display:flex;flex-direction:column;gap:8px;padding:16px 0;border-top:1px solid var(--alg-card-border)}
.camp-item:first-child{border-top:0;padding-top:4px}
.camp-item-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.camp-item-top b{font-size:15px;color:var(--alg-text-primary);overflow-wrap:anywhere}
.camp-sub{font-size:13px;line-height:19px;color:var(--alg-text-secondary);overflow-wrap:anywhere}
.camp-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:10px}
.camp-cell{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--alg-card-border);border-radius:12px;background:var(--alg-surface)}
.camp-cell b{font-size:20px;line-height:24px;color:var(--alg-text-primary)}
.camp-cell span{font-size:12px;color:var(--alg-text-secondary)}
.camp-stop{color:var(--alg-danger,#b3261e)}
.camp-empty p{margin:0 0 8px;font-size:14px;line-height:21px;color:var(--alg-text-secondary)}

@media (max-width:700px){
  .camp-two{grid-template-columns:1fr}
  .camp-counts{grid-template-columns:1fr 1fr 1fr}
  .camp-purposes{grid-template-columns:1fr 1fr}
  .camp-sel{flex:1;min-width:0;width:100%}
  .camp-actions .am-btn{flex:1 1 auto}
  .camp-headact .am-btn{min-height:44px}
}
@media (max-width:420px){
  .camp-purpose{min-height:64px;padding:10px 12px}
  .camp-counts{grid-template-columns:1fr 1fr}
}
/* ==== /receptionist/app-desktop/automations.css ==== */
/* AUTOMATIONS (2026-11-11): dashboard tokens only, so light, dark and the accent themes follow the app. Loaded with automations.js. */
.au-page{max-width:880px}
.au-page .au-sec{margin-bottom:16px}
.au-page .au-row{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;gap:16px}
.au-page .au-row .am-setting-text{min-width:0;flex:1 1 0}
.au-page .au-row .am-setting-control{display:flex;align-items:center;justify-content:flex-end;flex:none;margin-left:auto;width:auto}
.au-page .s4-switch{display:inline-flex;flex-direction:row;align-items:center;gap:8px;white-space:nowrap}
.au-page .au-name{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
.au-set{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
.au-lbl{font-size:13px;color:var(--alg-text-secondary)}
.au-page .au-set .au-sel{width:auto;min-width:160px;max-width:100%;min-height:44px;flex:0 1 auto}
.au-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.au-prev{margin-top:10px}
.au-prev-lbl{margin:0 0 6px;font-size:11.5px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--alg-text-secondary)}
.au-page .au-turn{max-width:520px;overflow-wrap:anywhere;font-size:13.5px;line-height:19px}
.au-page .au-row .msg:empty{display:none}
.au-page .au-row .msg{margin-top:8px}
@media (max-width:700px){
  .au-page .au-row{flex-direction:row;align-items:flex-start;gap:12px}
  .au-page .au-row .am-setting-control{align-self:flex-start}
  .au-page .au-turn{max-width:100%}
  .au-page .s4-switch .am-toggle-state{display:none}
}
/* ==== /receptionist/app-desktop/corrections.css ==== */
/* CORRECTIONS (2026-11-01): the booking card's "Details Muse took down" editor and the "What Muse got wrong" page. corr-prefixed, dashboard
   tokens only, so light, dark and the accent themes follow the app. Its own file (corrections.js draws it). */
.corr-page{max-width:880px}
.corr-none{color:var(--alg-text-muted)}
.corr-facts .btnrow{margin-top:8px}
.corr-edit,.corr-fix,.corr-save,.corr-form .btn,.corr-pill,[data-corr-act="retry"]{min-height:40px}
.corr-form{display:flex;flex-direction:column;gap:10px}
.corr-field{display:flex;flex-direction:column;gap:4px}
.corr-lbl{font-size:12px;font-weight:600;letter-spacing:.4px;color:var(--alg-text-secondary)}
.corr-in{font:inherit;font-size:15px;color:var(--alg-text-primary);background:var(--alg-surface);border:1px solid var(--alg-btn-border,var(--alg-card-border));
  border-radius:10px;padding:9px 12px;min-height:44px;width:100%;box-sizing:border-box;margin:0}
.corr-in:focus{outline:0;border-color:var(--alg-brand,var(--alg-accent));box-shadow:0 0 0 3px var(--alg-brand-soft,var(--alg-sapphire-tint))}
.corr-why{font-size:13px;line-height:19px;color:var(--alg-text-secondary)}
.corr-page .am-section{margin-bottom:12px}
.corr-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.corr-stat{padding:12px 14px;border-radius:12px;background:var(--alg-surface-variant)}
.corr-n{font-size:26px;line-height:32px;font-weight:700;color:var(--alg-text-primary);font-variant-numeric:tabular-nums}
.corr-l{font-size:13px;line-height:18px;color:var(--alg-text-secondary)}
.corr-top{margin:12px 0 0;font-size:15px;line-height:22px;font-weight:600;color:var(--alg-text-primary)}
.corr-weekline{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--alg-text-secondary)}
.corr-filter{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 12px}
.corr-pill{font:inherit;font-size:14px;font-weight:600;padding:0 14px;border-radius:999px;border:1px solid var(--alg-card-border);background:var(--alg-surface);
  color:var(--alg-text-secondary);cursor:pointer}
.corr-pill.on{background:var(--alg-brand-soft,var(--alg-sapphire-tint));border-color:transparent;color:var(--alg-brand,var(--alg-accent))}
.corr-pill:focus-visible,.corr-fix:focus-visible,.corr-edit:focus-visible{outline:2px solid var(--alg-brand,var(--alg-accent));outline-offset:2px}
.corr-list{display:flex;flex-direction:column}
.corr-row .am-section-body{padding-top:14px;padding-bottom:14px}
.corr-row.is-fixed{border-left:3px solid var(--alg-brand,var(--alg-accent))}
.corr-rowhead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.corr-who{min-width:0}
.corr-name{font-size:16px;font-weight:700;color:var(--alg-text-primary);overflow-wrap:anywhere}
.corr-when{font-size:13px;color:var(--alg-text-secondary)}
.corr-chip{flex:none;font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;background:var(--alg-surface-variant);color:var(--alg-text-secondary)}
.corr-chip.is-fixed{background:var(--alg-brand-soft,var(--alg-sapphire-tint));color:var(--alg-brand,var(--alg-accent))}
.corr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.corr-fact{display:flex;flex-direction:column;min-width:0}
.corr-k{font-size:12px;color:var(--alg-text-muted)}
.corr-val{font-size:14px;line-height:20px;color:var(--alg-text-primary);overflow-wrap:anywhere}
.corr-actions{margin-top:10px}
.corr-hist{list-style:none;margin:12px 0 0;padding:10px 0 0;border-top:1px solid var(--alg-card-border);display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:19px;color:var(--alg-text-primary)}
.corr-hist li{overflow-wrap:anywhere}
.corr-was{text-decoration:line-through;color:var(--alg-text-secondary)}
.corr-by{color:var(--alg-text-secondary)}
@media (max-width:700px){
  .corr-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .corr-stat{padding:10px}
  .corr-n{font-size:22px;line-height:28px}
  .corr-grid{grid-template-columns:minmax(0,1fr)}
  .corr-edit,.corr-fix,.corr-save,.corr-form .btn,.corr-pill,[data-corr-act="retry"]{min-height:44px}
}
/* ==== /receptionist/app-desktop/manual-review.css ==== */
/* SEND ONE REVIEW REQUEST BY HAND (2026-11-11): the in-place confirm box and the "Send one by hand" list. mrv-prefixed, dashboard
   tokens only, so light, dark and the accent themes follow the app. Its own file (manual-review.js draws it). */
.mrv-slot:empty{display:none}
.mrv-sheet{display:flex;flex-direction:column;gap:10px;margin:10px 0 4px;padding:12px 14px;border:1px solid var(--alg-card-border);
  border-radius:12px;background:var(--alg-surface);max-width:560px;box-sizing:border-box;width:100%}
.mrv-who{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
.mrv-sheet .am-turn{max-width:100%;padding:10px 12px;border-radius:12px;font-size:14px;line-height:20px;background:var(--alg-surface-variant);
  border:1px solid var(--alg-card-border);overflow-wrap:anywhere;color:var(--alg-text-primary)}
.mrv-sheet .am-turn small{display:block;font-size:12px;color:var(--alg-text-secondary);margin-bottom:2px}
.mrv-tick{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:20px;font-weight:600;color:var(--alg-text-primary);cursor:pointer;min-height:44px}
.mrv-tick input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--alg-brand,var(--alg-accent))}
.mrv-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mrv-actions .am-btn,.mrv-actions .btn,.mrv-open{min-height:40px}
.mrv-sheet .msg{margin:0}
.mrv-rules,.mrv-tickwhy{font-size:12.5px;line-height:18px}
.mrv-list{display:flex;flex-direction:column}
.mrv-li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--alg-border,var(--alg-card-border))}
.mrv-li:last-child{border-bottom:0}
.mrv-li-main{min-width:0;flex:1}
.mrv-li-why{font-size:12.5px}
.mrv-last{margin:0 0 4px;font-weight:600}
.ct-row .mrv-open{white-space:nowrap}
@media (max-width:560px){
  .mrv-sheet{padding:12px}
  .mrv-actions .am-btn,.mrv-actions .btn{flex:1 1 auto}
  /* the name keeps its line; the two buttons drop under it instead of squeezing it to one word a line */
  .ct-row:has(.mrv-open){flex-wrap:wrap}
  .ct-row:has(.mrv-open) .ct-main{flex:1 1 calc(100% - 64px)}
  .ct-row:has(.mrv-open) .mrv-open{margin-left:52px}
}
/* ==== /receptionist/app-desktop/feature-info.css ==== */
/* THE "i" BESIDE EVERY FEATURE (feature-info.js). The page's own small-control language: the badge's 1px ring and
   secondary ink, the brand colour on hover and focus, the page's focus ring. 28x28 to press on a desktop, 40x40 on a touch
   screen, and NO LAYOUT SHIFT: negative margins give back the space beyond the 18px drawn circle, so a label or a switch
   beside it does not move or grow. */
.fi-btn{display:inline-flex;align-items:center;justify-content:center;flex:none;vertical-align:middle;
        width:28px;height:28px;margin:-6px -6px -6px -1px;padding:0;border:0;border-radius:50%;
        background:none;color:var(--alg-text-secondary,#475569);cursor:pointer;font:inherit;line-height:1;
        -webkit-tap-highlight-color:transparent}
.fi-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.fi-btn svg .fi-dot{fill:currentColor;stroke-width:1.4}
.fi-btn:hover,.fi-btn[aria-expanded="true"]{color:var(--alg-brand,#1447B8)}
.fi-btn:hover svg circle:first-child,.fi-btn[aria-expanded="true"] svg circle:first-child{fill:var(--alg-brand-soft,#E9EFFB)}
.fi-btn:focus{outline:none}
.fi-btn:focus-visible{outline:2px solid var(--alg-brand,#1447B8);outline-offset:-3px}
@media (pointer:coarse){ .fi-btn{width:40px;height:40px;margin:-12px -11px -12px -7px} }
/* a heading's own size does not grow the circle */
h1 .fi-btn,h2 .fi-btn,h3 .fi-btn{font-size:16px}
/* on the navy status card (Home) */
.am-status .fi-btn{color:#C9D1EE}
.am-status .fi-btn:hover,.am-status .fi-btn[aria-expanded="true"]{color:#fff}
.am-status .fi-btn:hover svg circle:first-child,.am-status .fi-btn[aria-expanded="true"] svg circle:first-child{fill:rgba(255,255,255,.12)}
.am-status .fi-btn:focus-visible{outline-color:#fff}
.am-status .hs-pill .fi-btn{color:inherit;margin:-6px -8px -6px -4px}
.am-status .hs-row > .fi-btn{margin-left:auto;margin-right:-4px}
.am-status > .fi-btn[data-fi="talk-to-muse"]{display:flex;margin:6px auto -6px}
.am-status .hs-lbl .fi-btn{margin:-6px -6px -6px -2px}
@media (min-width:821px){
  .am-status{grid-template-areas:"mark row" "mark num" "mark who" "mark talk" "mark fi" "mark msg" "mark use"}
  .am-status > .fi-btn[data-fi="talk-to-muse"]{grid-area:fi;justify-self:start;margin:6px 0 -6px 4px}
}

/* ---------- the card: anchored beside the "i" on a desktop, a bottom sheet on a phone ---------- */
.fi-pop{position:fixed;z-index:2147482000;box-sizing:border-box;max-width:360px;overflow:auto;
        background:var(--alg-card,#fff);color:var(--alg-text-primary,#0F172A);
        border:1px solid var(--alg-card-border,rgba(15,23,42,.14));border-radius:14px;
        box-shadow:0 18px 40px -12px rgba(15,23,42,.35),0 2px 6px rgba(15,23,42,.12);
        padding:14px 16px 16px;font-size:14px;line-height:20px;text-align:left}
.fi-pop .fi-head{display:flex;align-items:flex-start;gap:8px}
.fi-pop .fi-title{flex:1;min-width:0;margin:2px 0 0;font-size:16px;line-height:22px;font-weight:700;color:var(--alg-text-primary,#0F172A);overflow-wrap:anywhere}
/* focus moves onto the title (tabindex=-1) so a screen reader starts there; it is not a control, so it draws no ring */
.fi-pop .fi-title:focus,.fi-pop .fi-title:focus-visible{outline:none}
.fi-pop .fi-x{flex:none;width:32px;height:32px;margin:-6px -8px 0 0;border:0;border-radius:50%;background:none;color:var(--alg-text-secondary,#475569);cursor:pointer;display:grid;place-items:center}
.fi-pop .fi-x svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;stroke-linecap:round;fill:none}
.fi-pop .fi-x:hover{background:var(--alg-card-hover,#F1F6FD);color:var(--alg-text-primary,#0F172A)}
.fi-pop .fi-x:focus-visible{outline:2px solid var(--alg-brand,#1447B8);outline-offset:1px}
.fi-pop .fi-state{margin:6px 0 0}
.fi-pop .fi-sec{margin-top:10px}
.fi-pop .fi-sec h3{margin:0 0 2px;font-size:12px;line-height:16px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--alg-text-secondary,#475569)}
.fi-pop .fi-sec p{margin:0;color:var(--alg-text-primary,#0F172A)}
.fi-pop .fi-plan{margin:10px 0 0;padding:8px 10px;border-radius:10px;background:var(--alg-brand-soft,#E9EFFB);color:var(--alg-text-primary,#0F172A)}
.fi-pop .fi-foot{margin-top:12px;display:flex;justify-content:flex-start}
.fi-pop.is-sheet{left:0;right:0;bottom:0;top:auto;width:auto;max-width:none;max-height:80vh;border-radius:18px 18px 0 0;
                 padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px))}
.fi-pop.is-sheet .fi-x{width:40px;height:40px}
.fi-scrim{position:fixed;inset:0;z-index:2147481999;background:rgba(6,9,19,.42)}
@media (prefers-reduced-motion:no-preference){
  .fi-pop{animation:fi-in .12s ease-out}
  .fi-pop.is-sheet{animation:fi-up .18s ease-out}
  @keyframes fi-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
  @keyframes fi-up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
}

/* ---------- the directory on "What your plan includes" ---------- */
.fi-dir .fi-dir-find{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:4px 0 8px}
.fi-dir .fi-dir-find input{flex:1 1 220px;min-width:0;max-width:420px}
.fi-dir .fi-dir-n{font-size:13px;color:var(--alg-text-secondary,#475569)}
.fi-dir .fi-dir-h{margin:14px 0 2px;font-size:13px;line-height:18px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--alg-text-secondary,#475569)}
.fi-dir .fi-dir-row{padding-top:9px;padding-bottom:9px;min-height:0}
.fi-dir .fi-dir-row .am-setting-help{font-size:13px;line-height:18px}
.fi-dir .fi-dir-ctl{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.fi-dir .fi-dir-name{overflow-wrap:anywhere}
.fi-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media (max-width:700px){
  .fi-dir .fi-dir-row{flex-wrap:wrap}
  .fi-dir .fi-dir-ctl{justify-content:flex-start;width:100%}
}
/* ==== /assets/alg-brand.css ==== */
/* alg-brand.css — THE ASKMUSE CLOTHES. /assets/alg-brand.js decides, this dresses.
   ------------------------------------------------------------------------------------------
   Loaded by every page of the signup funnel, AFTER that page's own <style>, so these tokens win:

       <script src="/assets/alg-brand.js"></script>          <- in <head>, blocking, before any CSS
       ...the page's own styles...
       <link rel="stylesheet" href="/assets/alg-brand.css">  <- last

   WHY THIS IS A FILE AND NOT FOUR COPIES. The funnel is four pages -- the wizard, signup, the
   password reset and the dashboard -- and a visitor walks all of them in one sitting. The brand
   breaking halfway through is worse than not having it: a dark AskMuse wizard handing over to an
   orange Affordable Leads Generation signup tells the customer the two are different companies,
   at the exact moment they are typing a card number. Pasting the block into each page would have
   worked today and drifted by the weekend.

   WHAT A PAGE MUST PROVIDE to be dressed by this file:
     * the shared token names (--void --panel --edge --edge2 --org --org-ink --txt --dim --faint
       --fill --grad --ring --shadow, and the site-wide --bg --card --line --ink --mut --field),
       which every funnel page already declares because they share one skin;
     * two lockups in the header, <a class="logo alg"> and <a class="logo askmuse">. Both stay in
       the markup always and exactly one is in the layout -- so tests/header-theme.cjs still finds
       the ALG lockup it is contracted to find, and no page has to re-render its own header.

   THE HOST LIST LIVES IN THE .js, and a second copy decides what the CHAT calls itself
   (site/api/_chat-impl.mjs, BRAND_HOSTS). tests/setup-brand-askmuse.cjs asserts the two agree.

/* AskMuse LIGHT. He asked for both themes on every page ("Make sure dark and light team
   exist. On the top right, always."), which overrides my earlier call to hide the switch here.
   I had hidden it because AskMuse ships no light mode and inventing one is inventing brand --
   but a hidden control was the wrong half of that argument to keep. So this is a real light
   palette in the AskMuse hues rather than a fallback to the orange one: the same violet and
   teal, on paper instead of ink. */
html[data-brand="askmuse"]{
  color-scheme:light;
  --void:#fbfbfe; --panel:#ffffff; --edge:#e6e6f2; --edge2:#cdcde6;
  /* ROYAL SAPPHIRE, his word for the white theme (2026-09-10: "we need to change the royal
     sapphire and white. Then we turn to theme white"). The landing page moved the same night,
     and a visitor who switches to light on the front page and clicks through to the wizard has
     to meet the same colour, not a second one. Dark keeps the violet. */
  --org:#0f52ba; --org-ink:#0a3a86; --txt:#12121c; --dim:#3c3c52; --faint:#5c5c74;
  /* --org-btn: THE ACCENT AT A DEPTH THAT CAN CARRY WHITE TEXT. Measured 2026-09-23 with
     tests/cta-contrast.cjs against askmuse.ca: white on --org read 2.91:1 where WCAG AA asks 4.5,
     on "Start free trial" in the nav of /ai-receptionist, /ai-receptionist/setup and
     /ai-receptionist/compare, on both CTAs of every /for/ trade page, and on the pressed EN/FR
     pill at /receptionist/signup. The primary call to action on the product's own pages.
     --org is NOT changed: it is right for text, borders, rings and glows on ink, and that is most
     of what it does. A fill under white text is a different pair, and it needed its own token —
     this is the same lesson as the compliance pills on /pricing an hour earlier, where an ink
     colour fixed against the CARD was assumed for a tinted PILL.
     Both brands' accents fail the same way (ALG's #F97316 reads 2.80), so both get one. */ 
  --org-btn:#0f52ba;   /* royal sapphire already carries white at 7.15:1 */
  --fill:#f4f6fb; --grid:rgba(15,82,186,.05);
  --grad:linear-gradient(100deg,#1565d8,#0f52ba 55%,#4f8ae8 135%);
  --gradtext:linear-gradient(92deg,#0f52ba,#1565d8 55%,#0f7f8e);
  --ring:0 0 0 4px rgba(15,82,186,.18);
  --shadow:0 1px 2px rgba(18,18,28,.05),0 14px 36px -14px rgba(15,82,186,.18);
  --bg:#fbfbfe; --card:#ffffff; --line:#e6e6f2; --ink:#12121c; --mut:#6b6b85; --field:#ffffff;
  font-family:'Outfit','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
}
html[data-brand="askmuse"][data-theme="dark"]{
  color-scheme:dark;
  --void:#07070b; --panel:#0e0e17; --edge:rgba(255,255,255,.085); --edge2:rgba(255,255,255,.16);
  --org:#8b8cf8; --org-ink:#cfcfff; --txt:#f5f5f8; --dim:#a6a6bb; --faint:#77778f;
  --org-btn:#5b5ce0;   /* the deep end of --grad; white reads 5.18:1 */
  --fill:rgba(255,255,255,.045); --grid:rgba(139,140,248,.06);
  --grad:linear-gradient(100deg,#8b8cf8,#5b5ce0 55%,#b89bfb 135%);
  --gradtext:linear-gradient(92deg,#b89bfb,#8b8cf8 45%,#2dd4bf);
  --ring:0 0 0 4px rgba(139,140,248,.28);
  --shadow:0 1px 2px rgba(0,0,0,.4),0 18px 44px -16px rgba(0,0,0,.7);
  --bg:#07070b; --card:#0e0e17; --line:rgba(255,255,255,.085); --ink:#f5f5f8;
  --mut:#a6a6bb; --field:#0a0a11;
  font-family:'Outfit','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
}
html[data-brand="askmuse"] body,
html[data-brand="askmuse"] h1,
html[data-brand="askmuse"] input,
html[data-brand="askmuse"] select,
html[data-brand="askmuse"] textarea,
html[data-brand="askmuse"] button{font-family:inherit}
/* the two lockups: exactly one of them is in the layout at any time */
html[data-brand="askmuse"] .logo.alg{display:none}
.logo.askmuse{display:none}
html[data-brand="askmuse"] .logo.askmuse{display:flex}
/* THE REACT WORDMARK. The fourteen prerendered receptionist pages render their brand as TEXT in a
   Tailwind span, not as the two .logo lockups above, so nothing here reached them and they read
   "Affordable Leads Generation" on askmuse.ca even with data-brand set correctly. Both names now
   ship in the markup (Navbar.tsx, Footer.tsx) and exactly one is shown — the same contract, in
   their class names. The default hide lives HERE so an ALG page never flashes the other name; the
   askmuse side is repeated in alg-brand.js's pre-paint style so the swap cannot lag the paint. */
/* ═══ THE LOCKUP ITSELF: OUR MARK, AND NOT THEIR TAGLINE ═════════════════════════════════════
   His 2026-09-10: "below our screens logo there is something like Leads... You are still not able
   to update them. Ours is AskMuse. Remove those."

   He means the strapline under the wordmark, LEADS THAT ANSWER, WORLDWIDE. That belongs to
   Affordable Leads Generation — askmuse.ca's own front page carries no strapline at all — and the
   fourteen proxied React pages were still printing it under the AskMuse name. The mark beside it
   was ALG's logo too. I had flagged both as owed and he has now asked for them.

   The tagline is HIDDEN rather than replaced, because inventing a strapline for this brand is
   inventing brand, and his front page does without one.

   `content:` on an <img> swaps the picture a CSS file cannot otherwise reach — the src is written
   by TSX and by a dozen static pages, and this is one rule instead of fourteen edits and a
   rebuild. The static pages' own two-lockup markup is untouched and keeps working as before. */
html[data-brand="askmuse"] .brand-tagline{display:none}
html[data-brand="askmuse"] a[data-brand-lockup] img[src*="alg-logo"]{
  content:url("/assets/askmuse-mark-96.png");border-radius:9px}

/* ═══ TWO LAYOUT FAULTS THAT ONLY APPEAR WHEN THE TEXT IS ENLARGED ═══════════════════════════
   He sent a screenshot of askmuse.ca scrolled sideways with the words clipped at BOTH edges, at
   a very large text size. At 390 and 360 these pages have no horizontal overflow at all, which is
   why the earlier sweeps said "ok" — the fault only appears once the page is zoomed or the phone's
   font size is turned up, which narrows the layout viewport. Measured at 280px, the equivalent of
   his zoom: EVERY one of the eight proxied pages overflowed, all by the same 22px.

   NEITHER OF THESE IS BRAND-SPECIFIC, so neither is scoped to a brand. They are bugs on
   affordableleadsgeneration.ca too and have been all along.

   1. THE HEADER ROW. The lockup will not shrink below its one-line width, so the lockup plus the
      right-hand control group is wider than the row's content box once the viewport is narrow
      enough, and the whole PAGE then scrolls sideways — which is what clips his text on both
      sides. Below 340px the wordmark is allowed to wrap and the lockup to shrink. Above 340 this
      changes nothing, so docs/SITE-HEADER-THEME-CONTRACT.md §1's one-line rule at 390 still holds.

   2. THE COMPARISON TABLES. /ai-receptionist/compare carries a 640px table and /pricing a 700px
      one, inside a 236px content box — 393px and 453px past the edge with nothing to scroll them.
      A wide table should scroll inside its own box rather than take the page with it. */
@media (max-width:340px){
  [data-brand-lockup]{min-width:0}
  [data-brand-lockup] span{min-width:0}
  a.items-center span.font-heading{white-space:normal;word-break:break-word}
}
/* the table scrolls inside itself, at every width, in both brands */
main table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ═══ THE APP'S ACCENT COLOURS FOLLOW THE BRAND TOO ═══════════════════════════════════════════
   His 2026-09-10, two screenshots side by side: "lot of discrepancy", "between pages", "theme
   colour correct it". askmuse.ca's own front page is violet and teal; the fourteen React pages it
   proxies were still painting ALG's ORANGE under the AskMuse name — an orange "Book a time", an
   orange chat bubble, orange headline accents. The brand swap reached the WORDS and stopped at
   the COLOURS.

   MY FIRST ATTEMPT AT THIS OVERRODE THE WRONG FAMILY and is replaced by what follows. I remapped
   --color-orange-* and found the page still orange. The browser explained it: the element painting
   orange carries the class `text-blue-600`. The React app already ships a brand skin of its own,
   src/styles/alg-orange-skin.css, which redefines the BLUE/INDIGO/SKY/VIOLET tokens to orange
   values — deliberately, so that every blue-family class in any component lands on ALG's orange
   without renaming anything. Class names still say "blue"; the tokens say what blue means.

   So the AskMuse skin is the same trick in this brand's colours: the same token list, violet and
   teal instead of orange and amber. Nothing in the TSX changes and no rebuild is needed.

   IT ALSO HAS TO REPEAT THAT FILE'S NINE LITERAL-HEX UTILITIES. Tailwind emits opacity variants
   (bg-blue-500/10 and friends) as literal hex rather than through a token, so a token override
   cannot reach them — the orange skin says so itself and lists them. They are repeated below at
   a higher specificity.

   CYAN AND AMBER are here too: they are the DARK theme's accents (ThemeContext sets
   primaryColor:'text-cyan-400' in dark, 'text-blue-600' in light), so both halves are needed for
   the brand to hold whichever theme he is in.

   EMERALD IS DELIBERATELY LEFT ALONE — it carries success meaning here (live badges, ticks,
   "booked" chips) and the standing rule is that a status colour never becomes a brand colour. */
/* LIGHT IS ROYAL SAPPHIRE, DARK IS VIOLET — the same split this file already applies to the
   funnel pages, and his own instruction ("we need to change the royal sapphire and white").
   My first pass painted violet in both themes; measured on white it came to 2.91:1, under the
   4.5 a body word needs. The sapphire is about 7:1 on the same ground, and it is the colour his
   own askmuse.ca front page uses in light. So this is not a contrast patch bolted on afterwards —
   matching the front page IS the accessible answer. */
html[data-brand="askmuse"]{
  --color-blue-50:#eaf1fb;    --color-blue-200:#bcd4f3;  --color-blue-300:#93b8ea;
  --color-blue-400:#4f8ae8;   --color-blue-500:#1565d8;  --color-blue-600:#0f52ba;
  --color-blue-700:#0a3a86;   --color-blue-800:#0a3172;  --color-blue-900:#08255a;
  --color-blue-950:#05172f;
  --color-indigo-400:#4f8ae8; --color-indigo-500:#1565d8; --color-indigo-600:#0f52ba;
  --color-indigo-700:#0a3a86; --color-indigo-950:#05172f;
  --color-sky-400:#0f7f8e;    --color-sky-500:#0b6a76;
  --color-violet-500:#0f7f8e; --color-violet-600:#0b6a76;
  --color-cyan-50:#eaf1fb;   --color-cyan-200:#bcd4f3;  --color-cyan-300:#93b8ea;
  --color-cyan-400:#0f52ba;  --color-cyan-500:#0f52ba;  --color-cyan-600:#0a3a86;
  --color-cyan-800:#08255a;  --color-cyan-950:#05172f;
  --color-amber-50:#e6f4f5;  --color-amber-200:#a9d9dd; --color-amber-300:#6bbcc3;
  --color-amber-400:#0f7f8e; --color-amber-500:#0b6a76; --color-amber-600:#095760;
  --color-amber-900:#053840; --color-amber-950:#032227;
  --color-orange-500:#0f52ba; --color-orange-600:#0a3a86;
}
/* DARK: the violet the brand is known by. On #07070b it measures well above the floor. */
html[data-brand="askmuse"][data-theme="dark"]{
  --color-blue-50:#f1f0ff;    --color-blue-200:#d9d6ff;  --color-blue-300:#c4bdfd;
  --color-blue-400:#b89bfb;   --color-blue-500:#a0a0fa;  --color-blue-600:#8b8cf8;
  --color-blue-700:#5b5ce0;   --color-blue-800:#4a4bb4;  --color-blue-900:#33347f;
  --color-blue-950:#1a1a44;
  --color-indigo-400:#b89bfb; --color-indigo-500:#a0a0fa; --color-indigo-600:#8b8cf8;
  --color-indigo-700:#5b5ce0; --color-indigo-950:#1a1a44;
  --color-sky-400:#2dd4bf;    --color-sky-500:#14b8a6;
  --color-violet-500:#2dd4bf; --color-violet-600:#14b8a6;
  --color-cyan-50:#f1f0ff;   --color-cyan-200:#d9d6ff;  --color-cyan-300:#c4bdfd;
  --color-cyan-400:#8b8cf8;  --color-cyan-500:#7a7bf0;  --color-cyan-600:#5b5ce0;
  --color-cyan-800:#33347f;  --color-cyan-950:#1a1a44;
  --color-amber-50:#ecfdf9;  --color-amber-200:#a7f3e4; --color-amber-300:#6ee7d4;
  --color-amber-400:#2dd4bf; --color-amber-500:#14b8a6; --color-amber-600:#0d9488;
  --color-amber-900:#134e4a; --color-amber-950:#042f2e;
  --color-orange-500:#8b8cf8; --color-orange-600:#5b5ce0;
}

/* ── ONE GROUND ACROSS THE DOMAIN ────────────────────────────────────────────────────────────
   His "lot of discrepancy / between pages" and "theme colour correct it". The accents were the
   half I fixed first. This is the other half, and it is the one you see before you read anything.
   Measured on the live domain, the background under each page and under its own footer:

       askmuse.ca/                 #07070b   footer #07070b
       askmuse.ca/pricing          #07070b   footer #07070b
       askmuse.ca/ai-receptionist  slate-950 (navy)   footer #060f20 (navy)
       askmuse.ca/websites         #07070b   footer #060f20  <- disagreeing inside one page
       askmuse.ca/for              #07070b   footer #0e0e17

   Four grounds on one domain. The AskMuse pages are black; the app pages are navy because the
   React tree paints itself Tailwind slate-950, and its footer was matched BY HAND to the old
   homepage's navy — Footer.tsx's own comment says so. On /websites the two disagree within a
   single page: a navy footer sitting on a black one.

   slate-950 is a token, so it moves with the other families rather than being chased element by
   element. The two navies Tailwind emits as literal hex get their own rules, the way the nine
   above do — verified against the built bundle, which emits exactly
   `.bg-[#060f20]{background-color:#060f20}`, rather than assumed from the JSX.
   ALG's own domain keeps every one of these: none of this is outside html[data-brand="askmuse"]. */
html[data-brand="askmuse"]{ --color-slate-950:#07070b; }
/* DARK ONLY, all three of these, and that is a measurement not a caution. The AskMuse home
   footer in LIGHT is #f6f6fa with #0e0e18 text — pale, not dark. Repainting every other
   footer #07070b without asking the theme would have put near-black under the light text
   these three footers hard-code, which is a worse discrepancy than the one being fixed and
   an unreadable one. In light they keep exactly what they have today.
   The #090d16 one is the app's SECOND ground, a step up from the first; it moves by the same
   step rather than flattening onto it, or the sections that alternate stop alternating.
   The last rule is for the two footers that are not Tailwind at all: /websites and the trade
   pages each declare `footer{background:...}` as a bare element rule, so no token and no
   utility override reaches them. Measured after the token change alone: /ai-receptionist went
   black and /websites still had a navy footer sitting on a black page. An element selector is
   (0,0,1); this is (0,3,1) and unlayered. */
html[data-brand="askmuse"][data-theme="dark"] .bg-\[\#060f20\]{ background-color:#07070b; }
html[data-brand="askmuse"][data-theme="dark"] .bg-\[\#090d16\]{ background-color:#0b0b12; }
html[data-brand="askmuse"][data-theme="dark"] footer{ background:#07070b; }

/* THE FOOTER'S ACCENT LINK, IN LIGHT. The trade pages', /websites' and /download's footer is navy
   (#060f20, alg-foot.css) in BOTH themes — the block above says why it stays so in light — but
   `.ft-more a` ("How we follow them →", "Every trade we answer for →") takes var(--org), and in light
   --org is royal sapphire: right for text on the pale ground, 2.68:1 on this navy. Measured by
   tests/cta-contrast.cjs the night light became the DEFAULT on askmuse.ca (2026-09-29,
   tests/one-theme-contract.cjs); it had been hidden for as long as these pages opened dark. The link
   keeps the dark theme's accent, the one drawn for this ground: #8b8cf8 on #060f20 reads 6.57:1. */
html[data-brand="askmuse"]:not([data-theme="dark"]) .ft-more a{ color:#8b8cf8; }

/* THE SMALL SLATE LABELS ON THE REACT PAGES, IN LIGHT. "or hear eight example calls first" is 11px/600
   text-slate-500 on the brand's pale ground — #f6f6fa here, not Tailwind's #f8fafc — and reads 4.42:1;
   the ground moved two steps and took the margin with it. One step darker, still slate, restores it
   (#5d6e88 on #f6f6fa: 4.81:1). Light only; dark keeps slate-400 on ink. Same night, same gate. */
/* 2026-11-14 owner: grey body text too light on every public page. slate-500/600 go to #3a465a (8.7:1 on
   #f6f6fa); slate-400/300 are the footer and CTA bands' light-on-dark ink and are left alone. */
html[data-brand="askmuse"]:not([data-theme="dark"]):not([data-surface="app"]) .text-slate-500,
html[data-brand="askmuse"]:not([data-theme="dark"]):not([data-surface="app"]) .text-slate-600{ color:#3a465a; }

/* ── THE TWO BOOKING PAGES ────────────────────────────────────────────────────────────────────
   calendar.html and reschedule.html are the only pages a CUSTOMER of one of his clients ever
   sees, and they carry their own palette under page-local names — `--blue` and friends, which
   hold the ALG orange because a 2026-09-02 pass renamed the values and left the names. Those
   names are used by five files in this tree, so they are overridden here through the page's own
   data-page="booking" hook rather than globally; a bare `--blue` override would reach /v5 and the
   old app shell as well.
   His 2026-09-11 screenshot of askmuse.ca/calendar: the selected day ringed in ALG orange with
   orange "27 times" under it, on an AskMuse page. */
html[data-brand="askmuse"][data-page="booking"]{
  --blue:#0f52ba; --blue-d:#0a3a86; --indigo:#1565d8; --sky:#4f8ae8;
  /* THE REST OF THE BOOKING SKIN, 2026-09-29 — his "it is only black, like it's different, like it's
     new" of the appointment page. The page moved to the site's theme switch that night, and what the
     switch then revealed was every literal the orange skin had left behind under an AskMuse ground:
     an orange haze behind the page, a cream ground under the picked time, an orange hover ring, the
     ALG greys under a disabled button, the ALG red and green for a warning and a "moved" banner, and
     a placeholder at 1.5:1. Each is now the brand's own token — the ones this file already defines
     for the funnel and the dashboard — so nothing here is a colour that did not already exist.
     Measured by tests/reschedule-theme.cjs on every screen the page can draw, in both themes. */
  --nav-bg:rgba(246,246,250,.82);                             /* alg-head.css, the AskMuse bar */
  --glow-a:rgba(15,82,186,.06); --glow-b:rgba(79,138,232,.05); /* sapphire + --sky; .06 keeps --mut at 4.5 where the haze is */
  --on-ground:var(--alg-sapphire-tint); --hover-ground:var(--alg-card-hover); --hover-line:var(--color-blue-300);
  --ok:var(--alg-success); --bad:var(--alg-danger);
  --dis-bg:var(--fill); --dis-ink:var(--mut);
  --ph:var(--faint);
}
html[data-brand="askmuse"][data-page="booking"][data-theme="dark"]{
  --blue:#8b8cf8; --blue-d:#5b5ce0; --indigo:#a0a0fa; --sky:#b89bfb;
  --nav-bg:rgba(7,7,11,.72);
  --glow-a:rgba(139,140,248,.12); --glow-b:rgba(45,212,191,.07);   /* the violet and the teal the dark orbs already use */
  --hover-ground:rgba(255,255,255,.06); --hover-line:rgba(255,255,255,.28);   /* the page's own dark values, restated at this specificity */
  /* the accent AS INK on a picked chip and in the business-time line: --blue-d is the deep FILL here,
     and as text on the card it read 3.7:1; the light violet reads 5.7:1 on the picked ground */
  --on-accent:var(--blue);
  --ph:var(--dim);
}
/* the nine Tailwind emits as literal hex, so no token can reach them (alg-orange-skin.css §2) */
html[data-brand="askmuse"] .border-blue-500\/30{border-color:#1565d84d}
html[data-brand="askmuse"][data-theme="dark"] .border-blue-500\/30{border-color:#a0a0fa4d}
html[data-brand="askmuse"] .border-indigo-500\/30{border-color:#b89bfb4d}
html[data-brand="askmuse"] .bg-blue-500\/10{background-color:#a0a0fa1a}
html[data-brand="askmuse"] .bg-blue-500\/20{background-color:#a0a0fa33}
html[data-brand="askmuse"] .bg-indigo-500\/10{background-color:#b89bfb1a}
html[data-brand="askmuse"] .from-blue-600\/20{--tw-gradient-from:#8b8cf833}
html[data-brand="askmuse"] .via-indigo-500\/15{--tw-gradient-via:#b89bfb26}
html[data-brand="askmuse"] .shadow-blue-600\/20{--tw-shadow-color:#8b8cf833}
html[data-brand="askmuse"] .ring-blue-500\/40{--tw-ring-color:#a0a0fa66}
.brand-askmuse{display:none}
html[data-brand="askmuse"] .brand-alg{display:none}
html[data-brand="askmuse"] .brand-askmuse{display:inline}
.logo.askmuse .logomark{border-radius:9px;overflow:hidden;display:block}
.logo.askmuse .wm{font-weight:600;letter-spacing:-.2px}
.logo.askmuse .wm em{font-style:normal;color:var(--org)}
/* the ambient orbs are orange by default; in this brand they are the accent */
html[data-brand="askmuse"][data-theme="dark"] .orb.a{background:radial-gradient(circle,rgba(139,140,248,.30),transparent 70%)}
html[data-brand="askmuse"][data-theme="dark"] .orb.b{background:radial-gradient(circle,rgba(45,212,191,.20),transparent 70%)}

/* THE ORANGE THE TOKENS DO NOT REACH.
   Most of this page's colour goes through --org / --org-ink / --grad / --ring, so the block above
   moves it. These rules do not: they were written with the literal orange in them, months before
   there was a second brand, and a token swap cannot see them. The screenshot is what found them --
   the ground, the type and the lockup were all correct while REQUIRED badges, the progress rail
   and the selected plan card were still Affordable Leads orange. That is the failure this whole
   brand mode exists to avoid, so every one of them is listed here rather than left for the eye.
   tests/setup-brand-askmuse.cjs now sweeps every visible element's computed colours and fails on
   anything still in the orange family, which is the check that would have caught them. */
html[data-brand="askmuse"] .req,
/* SPLIT BY THEME 2026-09-11 — see the note on .k below. #cfcfff is a near-white violet:
   correct on the dark page it was written for, invisible on the light one. */
html[data-brand="askmuse"] .fl b,
html[data-brand="askmuse"] .pill{
  color:#0a3a86;border-color:rgba(15,82,186,.42);background:rgba(15,82,186,.10)}
html[data-brand="askmuse"][data-theme="dark"] .fl b,
html[data-brand="askmuse"][data-theme="dark"] .pill{
  color:#cfcfff;border-color:rgba(139,140,248,.42);background:rgba(139,140,248,.10)}
html[data-brand="askmuse"] .opt{border-color:rgba(255,255,255,.16)}
html[data-brand="askmuse"] #langsw button:focus-visible,
html[data-brand="askmuse"] .btn:focus-visible{outline-color:#b89bfb}
html[data-brand="askmuse"] .steps span.on::before,
html[data-brand="askmuse"] .steps span.done::before{background:linear-gradient(90deg,#2dd4bf,#8b8cf8)}
html[data-brand="askmuse"] .steps span.on i{box-shadow:0 6px 16px -6px rgba(139,140,248,.6)}
html[data-brand="askmuse"] .lang.on{background:rgba(139,140,248,.12)}
html[data-brand="askmuse"] .readbar{background:linear-gradient(90deg,transparent,#8b8cf8,transparent)}
html[data-brand="askmuse"] .readbar i{background:#8b8cf8}
/* the selected plan card was a cream panel (#FFF7ED) -- a white box in the middle of a dark page */
html[data-brand="askmuse"] .plan.on{
  border-color:#8b8cf8;background:rgba(139,140,248,.10);box-shadow:0 0 0 3px rgba(139,140,248,.18)}
html[data-brand="askmuse"] .plan.on .tick{border-color:#8b8cf8;background:#8b8cf8}
html[data-brand="askmuse"] .btn{box-shadow:0 10px 26px -8px rgba(91,92,224,.55)}
html[data-brand="askmuse"] .vplay.playing{background:rgba(139,140,248,.10)}
html[data-brand="askmuse"] .sumrow .gapv{color:#f5a623}

/* ── THE SIGNUP AND RESET PAGES' OWN LITERALS ────────────────────────────────────────────────
   Same class of leak as the wizard's, found the same way: a screenshot, then a sweep. These two
   pages were written with the orange typed in, so the trial badge, the gradient headline, the plan
   pill and the ambient orbs stayed Affordable Leads orange on a black AskMuse page while the
   ground, the type and the lockup were all correct.

   The EN/FR pill is NOT here and could not be: it was painted by JavaScript as an inline style,
   which beats every stylesheet. That one was fixed at its source, in /assets/i18n/ui-lang.js,
   which now reads --org instead of hard-coding #F97316 -- so it follows any brand and any theme,
   including the light palette, rather than needing a rule here per page. */
/* SPLIT BY THEME, 2026-09-11. This was one unconditional rule and #cfcfff is a near-white violet:
   right on the dark page it was written for, and INVISIBLE on the light one — his screenshot of
   askmuse.ca/receptionist/signup shows "7-DAY FREE TRIAL · $0 TODAY" as pale violet on pale
   violet. I closed this complaint once already after measuring it in DARK, where it reads 8.4:1,
   and he had to send it again: "still not fixed- asked you not visble under white them". Measure
   the theme he is standing in.
   Light is royal sapphire and violet is dark-only — his instruction, recorded at the top of this
   file — so light gets the sapphire ink rather than a darker violet. */
html[data-brand="askmuse"] .k{
  color:#0a3a86;border-color:rgba(15,82,186,.42);background:rgba(15,82,186,.10)}
html[data-brand="askmuse"][data-theme="dark"] .k{
  color:#cfcfff;border-color:rgba(139,140,248,.42);background:rgba(139,140,248,.10)}
/* THE HEADING FOLLOWS THE THEME. This gradient was typed in, unconditionally, so every AskMuse
   h1 em painted the DARK violet even on the light page - which is how his reset page ended up
   with a violet headline sitting on royal sapphire buttons. His words: "password is not
   according to colour design flow", and the mismatch is the heading, not the buttons.
   Royal sapphire in light is HIS instruction from earlier the same day, recorded at the top of
   this file, so the buttons were right and this was the odd one out. --gradtext already carries
   the correct gradient for each theme; reading it is the whole fix. */
html[data-brand="askmuse"] h1 em{
  background:var(--gradtext,linear-gradient(92deg,#b89bfb,#8b8cf8 45%,#2dd4bf));
  -webkit-background-clip:text;background-clip:text;color:transparent}
/* THE ONE HE PHOTOGRAPHED: "plan solo-39.99 where it shwos no redable under white theme".
   The wizard prints the chosen plan as a pill at the top of every step, so on the light
   theme a buyer arriving from /pricing could not read which plan they were buying. */
html[data-brand="askmuse"] .plan-pill{
  border-color:rgba(15,82,186,.42);background:rgba(15,82,186,.10);color:#0a3a86}
html[data-brand="askmuse"][data-theme="dark"] .plan-pill{
  border-color:rgba(139,140,248,.42);background:rgba(139,140,248,.10);color:#cfcfff}
html[data-brand="askmuse"] .steps span.on i{box-shadow:0 6px 16px -6px rgba(139,140,248,.55)}
html[data-brand="askmuse"] .gbtn:hover,
html[data-brand="askmuse"] .alt a{color:var(--org)}
/* the two ambient orbs on signup and reset carry their own orange gradients */
html[data-brand="askmuse"] .orb.a{
  background:radial-gradient(circle at 32% 32%,rgba(139,140,248,.30),rgba(45,212,191,.14) 55%,transparent 72%)}
html[data-brand="askmuse"] .orb.b{
  background:radial-gradient(circle at 60% 40%,rgba(45,212,191,.24),rgba(139,140,248,.12) 60%,transparent 75%)}

/* ── THE DASHBOARD ───────────────────────────────────────────────────────────────────────────
   site/receptionist/app-desktop/index.html has its own token namespace and no dark mode of its
   own. Under this brand the page is dark, because AskMuse is dark; the ALG dashboard is untouched
   and stays the light page it is today. Giving THAT one a light/dark switch is a separate job.

   Read against the AskMuse site's palette: ink #07070b, card white at ~3.5%, hairlines white at
   ~8.5%, text #f5f5f8, muted #a6a6bb, accent #8b8cf8 with #5b5ce0 deep and #b89bfb light, teal
   #2dd4bf. The status colours (success, danger, amber) keep their meaning and are only lifted for
   legibility on a dark ground -- a red that means "failed" must not become a brand colour. */
/* MEASURED, not assumed: html[data-brand="askmuse"] did not win these tokens on the dashboard,
   and :root[data-brand="askmuse"] does. Both were injected live and read back -- the first left
   --alg-bg at the light value, the second took it. There is no !important and no @layer in that
   file, so I cannot name the cause honestly; what I can say is which selector wins, and this is
   it. The funnel block above is left on html[...] because it is proven working there. */
/* ── THE --alg-* FAMILY, LIGHT ─────────────────────────────────────────────────────────────
   His 2026-09-10 photograph of askmuse.ca/hear with the light switch on: a white header bar
   sitting on a black page, and the header's own text still near-white on it.

   Cause, measured rather than reasoned about. The block below defined the whole --alg-* family
   as DARK with no theme condition, because it was written for the dashboard and the dashboard is
   dark-only. But /hear (site/receptionist/preview.html) is a LIGHT-FIRST page that reads the same
   tokens: its own `[data-theme="dark"]` rules correctly switched OFF when he chose light, while
   these tokens stayed dark underneath. Half the page obeyed him and half did not.

   Reading `--bg` proved nothing — that token was correctly light the whole time. `--alg-bg` is a
   different family and it was the one painting the page. When a page ignores a theme, find out
   which token IT reads before concluding the theme is broken.

   So: light first, dark qualified. The dashboard is unaffected because alg-brand.js stamps
   data-theme="dark" on this brand unless a light theme is stored. */
:root[data-brand="askmuse"]{
  --alg-bg:#fbfbfe;
  --alg-surface:#ffffff;
  --alg-surface-variant:#f4f6fb;
  --alg-card:#ffffff;
  --alg-card-hover:rgba(15,82,186,.045);
  --alg-card-border:#e6e6f2;
  --alg-border-glow:rgba(15,82,186,.22);
  --alg-subtle-border:#e6e6f2;
  --alg-text-primary:#12121c;
  --alg-text-secondary:#3c3c52;
  --alg-text-muted:#5c5c74;
  --alg-input-bg:#ffffff;
  --alg-input-border:#cdcde6;
  --alg-btn-border:#cdcde6;
  --alg-input-border-focus:#0f52ba;
  --alg-accent:#0f52ba;
  --alg-primary:#0f52ba;
  --alg-fill:#0f52ba;
  --alg-fill-ink:#ffffff;
  --alg-sapphire:#0f52ba;
  --alg-sapphire-light:#1565d8;
  --alg-cyan:#0f7f8e;
  --alg-cyan-glow:#0284c7;
  --alg-cyan-light:#0369a1;
  --alg-indigo-aura:#0a3a86;
  --alg-violet-aura:#4f8ae8;
  --alg-emerald:#059669;
  --alg-emerald-glow:#047857;
  --alg-amber:#b45309;
  --alg-amber-light:#d97706;
  --alg-amber-gold:#a16207;
  --alg-rose:#be123c;
  --alg-sapphire-tint:rgba(15,82,186,.08);
  --alg-success:#047857;
  --alg-danger:#be123c;
  --alg-success-surface:rgba(4,120,87,.10);
  --alg-danger-surface:rgba(190,18,60,.10);
  --alg-accent-surface:rgba(15,82,186,.10);
  --alg-shadow-toast:0 6px 20px rgba(18,18,28,.18);
  --alg-font:'Outfit','Plus Jakarta Sans','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  color-scheme:light;
}
/* EVERY DARK THEME, not just the one called "dark".
   The dashboard has its own theme system with its own vocabulary and its own storage key
   (alg_desktop_theme): "sapphire" is LIGHT and is his chosen default ("i need platnium and royal
   saphire as dwafult", 2026-08-23), and sapphire-dark, cyber, sunset and emerald are all dark.
   None of them is called "dark". A selector that only matches [data-theme="dark"] therefore never
   matches the dashboard at all, and an AskMuse customer who picked Cyber Indigo would have got
   this brand's LIGHT palette painted over a dark theme — the same defect as /hear, upside down.
   Found by probing the live attribute instead of trusting the name: it read "sapphire". */
:root[data-brand="askmuse"][data-theme="dark"],
:root[data-brand="askmuse"][data-theme="sapphire-dark"],
:root[data-brand="askmuse"][data-theme="cyber"],
:root[data-brand="askmuse"][data-theme="sunset"],
:root[data-brand="askmuse"][data-theme="emerald"]{
  --alg-bg:#07070b;
  --alg-surface:#0e0e17;
  --alg-surface-variant:#12121d;
  --alg-card:#0e0e17;
  --alg-card-hover:#16162340;
  --alg-card-border:rgba(255,255,255,.085);
  --alg-border-glow:rgba(139,140,248,.22);
  --alg-subtle-border:rgba(255,255,255,.085);
  --alg-text-primary:#f5f5f8;
  --alg-text-secondary:#a6a6bb;
  --alg-text-muted:#77778f;
  --alg-input-bg:#0a0a11;
  --alg-input-border:rgba(255,255,255,.16);
  --alg-btn-border:rgba(255,255,255,.22);
  --alg-input-border-focus:#8b8cf8;
  --alg-accent:#8b8cf8;
  /* --alg-primary is READ by the "is ready" wall and DEFINED BY NOBODY, so that heading falls
     back to a hard-coded #175CD3 -- a blue from a palette this product left behind in
     September. Defined here for AskMuse only: giving it a value on the ALG side would change
     a colour he has not asked me to change, so that one is his call and is flagged rather
     than quietly fixed. */
  --alg-primary:#8b8cf8;
  --alg-fill:#5b5ce0;
  --alg-fill-ink:#ffffff;
  --alg-sapphire:#8b8cf8;
  --alg-sapphire-light:#b89bfb;
  --alg-cyan:#2dd4bf;
  --alg-cyan-glow:#38bdf8;
  --alg-cyan-light:#7dd3fc;
  --alg-indigo-aura:#5b5ce0;
  --alg-violet-aura:#b89bfb;
  --alg-emerald:#34d399;
  --alg-emerald-glow:#6ee7b7;
  --alg-amber:#fbbf24;
  --alg-amber-light:#fcd34d;
  --alg-amber-gold:#f5a623;
  --alg-rose:#fb7185;
  --alg-sapphire-tint:rgba(139,140,248,.10);
  --alg-success:#34d399;
  --alg-danger:#fb7185;
  --alg-success-surface:rgba(52,211,153,.14);
  --alg-danger-surface:rgba(251,113,133,.14);
  --alg-accent-surface:rgba(139,140,248,.12);
  --alg-shadow-toast:0 6px 20px rgba(0,0,0,.55);
  --alg-font:'Outfit','Plus Jakarta Sans','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  color-scheme:dark;
}
/* THE MARK, swapped at paint. content:url() on a replaced element means there is never a frame
   with the other brand's logo on screen, which a DOMContentLoaded swap cannot promise. The alt
   text is fixed in alg-brand.js, because CSS cannot reach it and nobody sees it painted. */
/* UNDER /assets/, and that path is load-bearing rather than tidy. The AskMuse site proxies an
   ALLOWLIST of paths to this deployment -- /receptionist, /api, /assets, /js and two named
   images -- so a brand asset at the root 404s on the new domain while working perfectly on
   the old one and in every local test. It did: /askmuse-mark-96.png answered 404 on
   askmuse.ca after a green deploy, which is the whole "the source is right and the artifact
   is wrong" family again. Anything this file references must live under a proxied prefix. */
html[data-brand="askmuse"] img[src="/alg-logo-96.png"]{content:url("/assets/askmuse-mark-96.png")}

/* ── THE TRADE PAGES (/for/*) ─────────────────────────────────────────────────────────────
   His 2026-09-10, about the AskMuse footer: "a lot of references are missing right now. All
   the trades are missing." They were missing because linking them would have shown the other
   company: eighteen generated pages (tools/gen-trade-pages.mjs) carrying only the ALG lockup
   and none of this file.

   They have their OWN token set (site/for/_page.css) — the funnel's names cover about half of
   it, so --org2, --org-deep, --navy, --ink2, --ink3, --mut2 and --mint are named here or the
   page comes out half orange. Everything below is a token; the five rules that paint a literal
   orange follow after, because a token swap cannot see a literal (rule 2 above). */
html[data-brand="askmuse"]{
  --navy:#0e1526; --org2:#0a3a86; --org-deep:#0f52ba; --mint:#0f7f8e;
  --ink2:#243449; --ink3:#3b4c66; --mut2:#5c6c85;
}
html[data-brand="askmuse"][data-theme="dark"]{
  --navy:#0e0e17; --org2:#5b5ce0; --org-deep:#b89bfb; --mint:#2dd4bf;
  --ink2:#d5deec; --ink3:#c0cbdc; --mut2:#a6a6bb;
}
html[data-brand="askmuse"] .m-menu .m-grid a.hot{
  background:rgba(15,82,186,.08); color:var(--org-ink); border-color:rgba(15,82,186,.34);
}
html[data-brand="askmuse"][data-theme="dark"] .m-menu .m-grid a.hot{
  background:rgba(139,140,248,.12); color:#cfcfff; border-color:rgba(139,140,248,.45);
}
html[data-brand="askmuse"] .btn{ box-shadow:0 6px 18px rgba(15,82,186,.28); }
html[data-brand="askmuse"][data-theme="dark"] .btn{ box-shadow:0 6px 18px rgba(139,140,248,.28); }
html[data-brand="askmuse"][data-theme="dark"] .turn.ava{
  background:rgba(139,140,248,.10); border-color:rgba(139,140,248,.35);
}

/* ── /websites ────────────────────────────────────────────────────────────────────────────
   Its own page, its own token names again (--grn/--grn2 for the accent, plus --org/--org2), and
   nine rules that paint the orange as a literal where no token reaches. Same drill as /for. */
html[data-brand="askmuse"]{
  --grn:#0f52ba; --grn2:#0a3a86; --amber:#b7791f;
}
html[data-brand="askmuse"][data-theme="dark"]{
  --grn:#8b8cf8; --grn2:#5b5ce0; --amber:#e0b054;
}
html[data-brand="askmuse"] :focus-visible{ outline-color:rgba(15,82,186,.55); }
html[data-brand="askmuse"][data-theme="dark"] :focus-visible{ outline-color:rgba(139,140,248,.55); }
html[data-brand="askmuse"] .btn:hover{ box-shadow:0 10px 26px rgba(15,82,186,.45); }
html[data-brand="askmuse"][data-theme="dark"] .btn:hover{ box-shadow:0 10px 26px rgba(139,140,248,.45); }
html[data-brand="askmuse"] .kicker{ background:rgba(15,82,186,.10); }
html[data-brand="askmuse"][data-theme="dark"] .kicker{ background:rgba(139,140,248,.14); }
html[data-brand="askmuse"] .plans tr.hot th,
html[data-brand="askmuse"] .plans tr.hot td{ background:rgba(15,82,186,.07); }
html[data-brand="askmuse"][data-theme="dark"] .plans tr.hot th,
html[data-brand="askmuse"][data-theme="dark"] .plans tr.hot td{ background:rgba(139,140,248,.12); }
html[data-brand="askmuse"] .tag{ color:var(--grn2); background:rgba(15,82,186,.10); border-color:rgba(15,82,186,.34); }
html[data-brand="askmuse"][data-theme="dark"] .tag{ color:#cfcfff; background:rgba(139,140,248,.12); border-color:rgba(139,140,248,.45); }
html[data-brand="askmuse"] .off{ background:rgba(15,82,186,.08); border-color:rgba(15,82,186,.35); }
html[data-brand="askmuse"][data-theme="dark"] .off{ background:rgba(139,140,248,.08); border-color:rgba(139,140,248,.35); }
html[data-brand="askmuse"] .inc li .ck{ background:rgba(15,82,186,.14); }
html[data-brand="askmuse"][data-theme="dark"] .inc li .ck{ background:rgba(139,140,248,.14); }
html[data-brand="askmuse"][data-theme="dark"] .kicker,
html[data-brand="askmuse"][data-theme="dark"] .off h3 em,
html[data-brand="askmuse"][data-theme="dark"] .inc li .ck{ color:#cfcfff; }   /* was orange-300 */

/* ── the mark talks, on every branded page ────────────────────────────────────────────────
   His "on all pages logo should me animated". Written against the structure the two lockup
   variants share — the three strokes inside .logomark and the dot after them — because the
   funnel pages already had the drawing inline and the rest have just been given it.

   Three periods, none a multiple of another: bars that rise together read as a level meter on
   a machine, and speech does not do that. */
html[data-brand="askmuse"] .logo.askmuse .logomark path{
  transform-box:fill-box; transform-origin:center;
  animation:am-talk 1.35s ease-in-out infinite alternate;
}
html[data-brand="askmuse"] .logo.askmuse .logomark path:nth-of-type(2){ animation-duration:.95s; animation-delay:-.4s; }
html[data-brand="askmuse"] .logo.askmuse .logomark path:nth-of-type(3){ animation-duration:1.75s; animation-delay:-.8s; }
html[data-brand="askmuse"] .logo.askmuse .logomark circle{ animation:am-dot 2.4s ease-in-out infinite; }
@keyframes am-talk{ from{ transform:scaleY(.42) } to{ transform:scaleY(1) } }
@keyframes am-dot{ 0%,100%{ opacity:1 } 50%{ opacity:.5 } }
@media (prefers-reduced-motion: reduce){
  html[data-brand="askmuse"] .logo.askmuse .logomark path,
  html[data-brand="askmuse"] .logo.askmuse .logomark circle{ animation:none; }
}
/* #uc-banner (the amber "This website is under construction." bar) was deleted
   2026-09-11 with the script that drew it — his condition was Stripe checkout
   working, and it does. */


/* ── /hear, the browser call simulator (site/receptionist/preview.html) ──────────────────
   His 2026-09-10: "hear it answer on trades page take old ui... orange one." It is the page
   the trade pages' main button leads to, and it was the last unbranded room in the house.

   A FOURTH token vocabulary — the --alg-* set — where the accent is confusingly NAMED
   --alg-sapphire and VALUED orange (#EA580C). Renaming that would touch the ALG side; naming
   it here does not. Then the literals: the headline gradient, the primary button (whose orange
   is spelled three different ways) and the dark-theme link colour. */
html[data-brand="askmuse"]{
  --alg-sapphire:#0f52ba; --alg-sapphire-light:#1565d8; --alg-sapphire-deep:#0a3a86;
  --alg-sapphire-tint:rgba(15,82,186,.12); --org-ink:#0a3a86; --grn:#0f52ba;
}
html[data-brand="askmuse"][data-theme="dark"]{
  --alg-sapphire:#8b8cf8; --alg-sapphire-light:#b89bfb; --alg-sapphire-deep:#5b5ce0;
  --alg-sapphire-tint:rgba(139,140,248,.14); --org-ink:#cfcfff; --grn:#8b8cf8;
}
html[data-brand="askmuse"] .hl{
  background-image:linear-gradient(92deg,#0f52ba,#1565d8 55%,#4f8ae8) !important;
}
html[data-brand="askmuse"][data-theme="dark"] .hl{
  background-image:linear-gradient(92deg,#b89bfb,#8b8cf8 55%,#2dd4bf) !important;
}
/* The simulator's primary button spells its orange as a literal gradient. `button.btn` and not
   `.btn`: the trade pages use <a class="btn"> and take their colour from a token, so this
   reaches the one page that needs it and leaves seventeen alone.

   :not(.ghost) — ADDED after screenshotting the journey rather than sweeping it. Every one of
   this page's SECONDARY buttons is a <button class="btn ghost">, so the rule above was filling
   them with the primary gradient too: "Search for a different business" and "Change my details"
   came out solid sapphire with #0a3a86 label text on it, 1.5:1, an unreadable button that also
   looked like a second primary. No colour sweep can see this — every colour on it is a correct
   AskMuse colour, in the wrong place. The old brand never had it: .btn.ghost is white with an
   orange rule there, which is what this now restores. */
/* SCOPED TO THE SIMULATOR'S OWN THREE SECTIONS — his 2026-09-11 "signout on this page no
   vsisble", photographing askmuse.ca/app.
   The comment above says this reaches "the one page that needs it". It did not. `button.btn` is
   an element and a class, not a page, and the DASHBOARD is built out of <button class="btn">
   too: every secondary control in it — Sign out on the trial gate among them — came out as a
   solid sapphire block with --alg-text-primary still on it, which is near-black navy on blue.
   Same mistake as the .ghost one this rule already carries a paragraph about, one level further
   out, and the same cause: a rule scoped by shape instead of by place.
   The three ids are exactly where preview.html keeps all eight of its buttons, and they are the
   scope the box-shadow rule below already uses. Nothing on the simulator changes. */
html[data-brand="askmuse"] #s-find button.btn:not(.ghost),
html[data-brand="askmuse"] #s-check button.btn:not(.ghost),
html[data-brand="askmuse"] #s-hear button.btn:not(.ghost){
  background:linear-gradient(100deg,#0f52ba,#0f52ba 60%,#0a3a86);
}
html[data-brand="askmuse"][data-theme="dark"] #s-find button.btn:not(.ghost),
html[data-brand="askmuse"][data-theme="dark"] #s-check button.btn:not(.ghost),
html[data-brand="askmuse"][data-theme="dark"] #s-hear button.btn:not(.ghost){
  background:linear-gradient(100deg,#5b5ce0,#8b8cf8 60%,#b89bfb);
}
/* and the ghost's own `box-shadow:none` back, which the two brand-wide .btn shadow rules above
   out-specify. Scoped to this page's three sections so the funnel's buttons keep theirs. */
html[data-brand="askmuse"] #s-find .btn.ghost,
html[data-brand="askmuse"] #s-check .btn.ghost,
html[data-brand="askmuse"] #s-hear .btn.ghost{ box-shadow:none; }

/* .k IS TWO DIFFERENT CONTROLS, and the brand only knew about one of them. Up in the signup
   block, `html[data-brand="askmuse"] .k` repaints the trial badge — a pale violet pill with
   near-white #cfcfff text, right on a dark page. This page's `.facts .k` is the little grey
   uppercase FIELD LABEL beside each looked-up detail ("NAME", "PHONE", "HOURS"), and it lost:
   (0,2,1) beats `.facts .k`'s (0,2,0). In light that put #cfcfff on a #f3f3fe pill — 1.1:1,
   a label a sighted visitor simply cannot read. Also invisible to a colour sweep, because
   #cfcfff is a perfectly good AskMuse colour. Handed back to the page's own muted token. */
html[data-brand="askmuse"] #s-check .facts .k,
html[data-brand="askmuse"] #s-hear .facts .k,
/* THE THIRD ONE, found 2026-09-16 by his screenshot: "why there is double box firld looks absurd".
   The fix above was written for preview.html's `.facts .k` and the setup wizard was missed — it
   builds the same field labels as `.sumrow .k` (start.html, the "What Google has on file" step),
   so NAME / ADDRESS / PHONE / HOURS each got the trial badge's filled pill. Worse on a phone than
   on a desktop: the label cell stretches to the row's height, so a listing with a full week of
   hours paints a tall empty blue block beside the text. Same class, same collision, same hand-back
   to the page's own muted token. */
html[data-brand="askmuse"] .sumrow .k{
  color:var(--alg-text-muted); background:none; border-color:transparent;
}

/* THE THREE THE FIRST PASS COULD NOT SEE, because they are not on the page when it loads.
   Found by driving the journey with every step revealed rather than by reading the file: the
   headline, the button and the token tables above were all already correct while steps 2 and 3
   were still Affordable Leads orange, and so was the ring on the very first field a visitor
   touches. A sweep of the resting page reports none of them.

     .card         a WARM DROP SHADOW, rgba(194,65,12,.18), under all six cards. Light only —
                   the page's own dark rule already paints a neutral one, and because these
                   selectors carry an id they would otherwise beat it, so dark is restated.
     input:focus   the focus ring, rgba(194,65,12,.18). The border beside it already reads
                   --org-ink and was right; only the halo was typed in.
     .alert.warn   the whole alert, three literals per theme (#FFF7ED/#FDBA74/#9A3412 light,
                   rgba(249,115,22,…)/#fdba74 dark) — #checkmsg, #hourswarn and #nohours.

   .warn goes to the BRAND ACCENT, not to a gold, because that is the faithful translation
   rather than a new decision: on the ALG side .warn *is* the brand orange, so on this side it
   is the brand sapphire, and it now matches .note, which sits beside it and always was. Severity
   still reads — .alert.bad stays red and .alert.good stays green, in both brands.

   Scoped to #s-find / #s-check / #s-hear, the three sections that exist only on this page,
   because `.card` is also six cards on start.html, two on reset and thirty-five on the
   dashboard, and none of them asked for a new shadow. */
html[data-brand="askmuse"] #s-find .card,
html[data-brand="askmuse"] #s-check .card,
html[data-brand="askmuse"] #s-hear .card{
  box-shadow:0 1px 2px rgba(18,18,28,.05),0 12px 30px -16px rgba(15,82,186,.20);
}
html[data-brand="askmuse"][data-theme="dark"] #s-find .card,
html[data-brand="askmuse"][data-theme="dark"] #s-check .card,
html[data-brand="askmuse"][data-theme="dark"] #s-hear .card{
  box-shadow:0 1px 2px rgba(0,0,0,.35),0 12px 30px -16px rgba(0,0,0,.6);
}
html[data-brand="askmuse"] #s-find :is(input,select):focus,
html[data-brand="askmuse"] #s-check :is(input,select):focus,
html[data-brand="askmuse"] #s-hear :is(input,select):focus{
  box-shadow:0 0 0 4px rgba(15,82,186,.18);
}
html[data-brand="askmuse"][data-theme="dark"] #s-find :is(input,select):focus,
html[data-brand="askmuse"][data-theme="dark"] #s-check :is(input,select):focus,
html[data-brand="askmuse"][data-theme="dark"] #s-hear :is(input,select):focus{
  box-shadow:0 0 0 4px rgba(139,140,248,.22);
}
html[data-brand="askmuse"] #s-check .alert.warn,
html[data-brand="askmuse"] #s-hear .alert.warn{
  background:rgba(15,82,186,.07);
  border-color:rgba(15,82,186,.30);
  color:#0a3a86;                       /* 9.6:1 on the tint over #ffffff, measured */
}
html[data-brand="askmuse"][data-theme="dark"] #s-check .alert.warn,
html[data-brand="askmuse"][data-theme="dark"] #s-hear .alert.warn{
  background:rgba(139,140,248,.12);
  border-color:rgba(139,140,248,.42);
  color:#cfcfff;                       /* 11.0:1 on the tint over #0e0e17, measured */
}

/* ── the legal pages' product line ────────────────────────────────────────────────────────
   His 2026-09-10: "the service update terms of servicw not anymore product of nova scotia."
   That top line is a PRODUCT credit, not the clause naming who you contracted with — the
   clause below it is untouched and still names the party, because renaming that would be a
   false statement rather than a rebrand. Two spans, exactly one in the layout, the same
   contract the two lockups use. */
.brand-askmuse{ display:none; }
html[data-brand="askmuse"] .brand-alg{ display:none; }
html[data-brand="askmuse"] .brand-askmuse{ display:inline; }

/* THE RESET PAGE'S TWO ACCENT-TINTED GLOWS. reset.html spelled the glow under its button and the
   ring on a focused input as raw rgba(249,115,22,...) — an orange halo under a sapphire button,
   which is the half-rebrand that reads as a page somebody took rather than built. The page names
   them now (--accent-glow, --accent-edge); this is where they follow the host. His 2026-09-11:
   "forgot your password buttin colout not matching design". */
html[data-brand="askmuse"]{
  --accent-glow:rgba(15,82,186,.42); --accent-edge:rgba(15,82,186,.55);
}
html[data-brand="askmuse"][data-theme="dark"]{
  --accent-glow:rgba(91,92,224,.5); --accent-edge:rgba(139,140,248,.6);
}

/* THE SOCIAL ICONS COME OFF askmuse.ca UNTIL THE HANDLES EXIST. His 2026-09-11: "make sure- all
   social media links= to askmuse- currently it links to affordableleads generation." He is right
   that askmuse.ca should not be sending people to a profile named after the retiring company.
   I am NOT guessing a handle. Checked before touching anything: instagram.com answers 200 for
   every string behind a login wall, so it proves nothing; facebook.com/askmuseca and
   /askmuse.ca both return Facebook's own not-found page, and facebook.com/askmuse resolves to a
   page that is almost certainly somebody else's. Pointing his customers at a stranger's profile
   is worse than the state he is complaining about.
   So they are hidden on the new host and untouched on the old one, which is reversible in one
   line the moment he sends me the real handles — the two URLs live in tools/sync-footer.mjs and
   in askmuse-front/index.html. */
/* LIFTED 2026-09-23 — THE CONDITION ABOVE IS MET, AND BY PROOF RATHER THAN BY A HANDLE HE
   TYPED. The note above hides these because the AskMuse handles were unknown and it was right
   to: "pointing his customers at a stranger's profile is worse than the state he is
   complaining about." They are known now, and both were checked against something only he
   controls rather than against a URL that loads:
     facebook.com/1285248694676997  ==  META_ASKMUSE_PAGE_ID in ~/.claude/alg.env, exactly.
     instagram.com/askmuse.ca       ==  @askmuse.ca, IG id 17841426792559662, the account
                                        tools/post-ig.py publishes to (site/NEXT.md:1505).
   That is the check the old note asked for: instagram.com answers 200 for any string behind
   its login wall, so a live URL proves nothing — a page id that matches his own credentials
   does.
   WHAT THIS ACTUALLY FIXES: the correct URLs had already been put into the markup by hand,
   so askmuse.ca has been shipping his real Instagram and Facebook links INSIDE A ROW THAT
   CSS HID. Both accounts exist, he posts to them, and nobody on his own site could see them.
   Revert knob: put the two selectors back. */

/* ONE GROUND ON EVERY PAGE, IN BOTH THEMES. His 2026-09-11: "there is diffence in background
   colour for all pages- https://askmuse.ca/ai-receptionist make it same like askmuse.ca".
   Measured at 1280 before touching anything, reading the colour actually PAINTED behind the
   middle of the viewport rather than <body>, because on the React pages body is not the surface:

     light   /                 rgb(246,246,250)
             /ai-receptionist  oklch(.984 .003 247.858)  = slate-50, rgb(248,250,252)
             /websites         rgb(255,255,255) on a rgb(251,251,254) body
     dark    /                 rgb(7,7,11)
             /ai-receptionist  rgb(7,7,11)
             /websites         rgb(14,23,48) — a navy panel on a near-black page

   Three light grounds and a navy panel in dark. The landing page's are the ones everything else
   follows, which is the same call as the footer and the bar.
   Brand-scoped: the old host keeps its own palette untouched. */
/* :not([data-surface="app"]) — THE SIGNED-IN DASHBOARD IS NOT A LANDING PAGE. Everything in this
   block is about the marketing documents, whose theme vocabulary is "dark" or nothing. The
   dashboard loads this sheet too (for the brand tokens) and its five themes are named sapphire,
   sapphire-dark, cyber, sunset and emerald — so `:not([data-theme="dark"])` was true in EVERY one
   of them and this line painted the app's ground #f6f6fa, under #f5f5f8 text in the dark ones.
   Scoped on what the page IS rather than on a list of theme names, which would rot the day a
   sixth theme is added. memory: selector-scope-is-not-page-scope, the second time. */
html[data-brand="askmuse"]:not([data-theme="dark"]):not([data-surface="app"]) body{ background:#f6f6fa; }
/* the React wrapper paints slate-50 as a Tailwind utility; an unlayered rule beats a layered one
   whatever the specificity, which is the same mechanism that made the footer headings stay Sora */
html[data-brand="askmuse"]:not([data-theme="dark"]) .bg-slate-50{ background-color:#f6f6fa; }
html[data-brand="askmuse"]:not([data-theme="dark"]) section.alt{ background:#fff; border-color:rgba(12,12,28,.10); }
/* and the alternating band in dark is a wash over the ground, not a different colour */
html[data-brand="askmuse"][data-theme="dark"] section.alt{
  background:rgba(255,255,255,.035); border-color:rgba(255,255,255,.085); }
html[data-brand="askmuse"][data-theme="dark"] .bg-slate-50{ background-color:#07070b; }

/* LANGUAGE SWITCH IS SHOWN EVERYWHERE — his 2026-11-17: on a phone the French pages showed no EN
   in the header, only inside the menu, while the English home showed FR. The 2026-09-11 rule that
   hid every data-lang-switch control and .lang-sw is deleted; the header must carry the switch on
   every page (static pages get .nav-lang, see alg-head.css). The React bar carries one more copy of
   it, [data-testid="lang-switch-bar"], beside the burger for phones; the desktop copy takes over
   from 640px up (the built stylesheet has no sm:hidden, so it is hidden here). */
@media(min-width:640px){ [data-testid="lang-switch-bar"]{ display:none !important; } }
/* THE REACT BAR'S LINKS FOLD INTO THE BURGER BEFORE THEY OVERFLOW (his 2026-11-17). With the switch
   showing, the bar no longer fits beside seven links at 1024px (English) or below ~1360px (French,
   whose labels are wider). The burger is on the bar at every width, so nothing becomes unreachable. */
@media(min-width:1024px) and (max-width:1099px){ header nav .hidden.lg\:flex{ display:none !important; } }
@media(min-width:1100px) and (max-width:1359px){ html[lang^="fr"] header nav .hidden.lg\:flex{ display:none !important; } }

/* THE ACCENTED HALF OF THE WORDMARK FOLLOWS THE THEME. His 2026-09-11: "muse written not acvording
   to theme color". Measured across nine pages in both themes: the landing page and the static
   family both render "Muse" sapphire in light and violet in dark, because they read var(--org).
   The React lockup hard-codes Tailwind's text-violet-400, so it stayed violet on a white page —
   the only one of the three that did not follow the theme. .wm-em is the hook the React markup
   carries now; .logo.askmuse .wm em is the static family's existing one. One rule, both. */
html[data-brand="askmuse"] .wm-em,
html[data-brand="askmuse"] .logo.askmuse .wm em{ font-style:normal; color:var(--org); }

/* THE LOCKUP MARK ON THE REACT PAGES. They load this sheet and NOT /assets/alg-head.css, which is
   where the other twenty pages get their 46/40. Tailwind would not generate the arbitrary sizes
   (the built CSS contained no 21.12px and no 46px), and an inline style cannot carry a media
   query — so the size belongs here, in plain CSS, next to the rest of the brand. */
img[data-brand-mark]{ width:46px; height:46px; border-radius:11px; flex:0 0 auto; }
@media(max-width:430px){ img[data-brand-mark]{ width:40px; height:40px; } }

/* AND IT HAS TO OUT-SPECIFY THE SWAP. `html[data-brand="askmuse"] img[src="/alg-logo-96.png"]`
   above is (0,3,1); a bare `img[data-brand-mark]` at (0,1,1) loses to whatever also sizes that
   element, which is why the React pages kept a 34px mark after the rule went live. Matched
   specificity, both hosts. */
html[data-brand="askmuse"] img[data-brand-mark],
html img[data-brand-mark]{ width:46px !important; height:46px !important; border-radius:11px; }
@media(max-width:430px){
  html[data-brand="askmuse"] img[data-brand-mark],
  html img[data-brand-mark]{ width:40px !important; height:40px !important; }
}
/* the wizard family writes its own bar CSS and sets the mark at 30 below 430 */
html nav .logo .logomark{ width:46px; height:46px; border-radius:11px; }
@media(max-width:430px){ html nav .logo .logomark{ width:40px; height:40px; } }

/* ═══ THE LIGHT/DARK SWITCH, ONE LOOK ON ASKMUSE.CA ═════════════════════════════════════════════
   His 2026-09-15 phone screenshots, home vs /ai-receptionist/setup in dark: "still button different
   when on dark ... should follow home page". Measured live at 390px, both themes:
     askmuse.ca/                 dark shows a SUN, light shows a MOON (what a click will do);
                                 38px box, r12, faint fill rgba(255,255,255,.04), hairline .16
     /ai-receptionist/* (React)  dark shows a MOON, light a SUN (the current state); 40px, r10,
                                 Tailwind slate-900 / slate-700
     /receptionist/security      already the home page's since this morning's alg-head.css rules
   The React ThemeToggle renders BOTH icons (svg.sun and svg.moon) and leaves the choice to CSS, so
   this is fixable here without rebuilding the bundle. alg-brand.css is loaded by the React pages
   and by every static page, which alg-head.css is not. So the switch rules live here, unscoped from
   `nav`, and alg-head.css no longer carries its own copy. (0,3,1) and up, unlayered, which beats
   the bundle's `[data-theme=dark] .theme-sw .sun{display:none}` (0,3,0) and every Tailwind
   utility on the button. The numbers are the home page's. */
html[data-brand="askmuse"] .theme-sw{width:38px;height:38px;border-radius:12px;border:1px solid rgba(12,12,28,.20);background:rgba(12,12,28,.042);color:#0e0e18}
html[data-brand="askmuse"][data-theme="dark"] .theme-sw{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:#f5f5f8}
html[data-brand="askmuse"] .theme-sw svg{width:17px;height:17px}
html[data-brand="askmuse"] .theme-sw .sun{display:none}
html[data-brand="askmuse"] .theme-sw .moon{display:block}
html[data-brand="askmuse"][data-theme="dark"] .theme-sw .sun{display:block}
html[data-brand="askmuse"][data-theme="dark"] .theme-sw .moon{display:none}
html[data-brand="askmuse"] .theme-sw:hover{border-color:#0f52ba}
html[data-brand="askmuse"][data-theme="dark"] .theme-sw:hover{border-color:#8b8cf8}
/* the React bar's menu button, the home page's box (42px, r11, the softer hairline). It has no class
   of its own (`p-2 rounded-xl border bg-slate-…`) and its aria-label is translated, so it is found as
   the button right after the span that holds the switch, which is how Navbar.tsx lays the pair out.
   The static pages' .burger gets the same numbers from alg-head.css. */
html[data-brand="askmuse"] span:has(> .theme-sw) + button[aria-expanded]{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:11px;border:1px solid rgba(12,12,28,.10);background:rgba(12,12,28,.042);color:#0e0e18}
html[data-brand="askmuse"][data-theme="dark"] span:has(> .theme-sw) + button[aria-expanded]{border-color:rgba(255,255,255,.085);background:rgba(255,255,255,.04);color:#f5f5f8}
html[data-brand="askmuse"] span:has(> .theme-sw) + button[aria-expanded] svg{width:18px;height:18px}

/* THE REACT PAGES' MENU SHEET, THE LANDING PAGE'S (his 2026-09-15 "hamburger menu design, size of tabs
   not same, even colour combination"). Measured at 390px in dark with the sheet open on
   /ai-receptionist/setup: ground bg-slate-950, tabs 34px at 12px on slate-900 with a cyan border for
   the current page, and cyan/indigo/emerald buttons. The landing page's sheet: tabs 46px at
   14.08px/600 on rgba(255,255,255,.06) with a .085 hairline, r12, and one gradient pill. No classes of
   our own exist in that markup (Navbar.tsx is Tailwind), so the hooks are its structure inside the bar:
   the scrolling sheet (.overscroll-contain), the two-column grid of tabs, and the button column after it.
   The static pages' .m-menu gets the same numbers from alg-head.css. */
html[data-brand="askmuse"] nav .overscroll-contain{background:rgba(255,255,255,.98) !important;border-color:rgba(12,12,28,.10) !important;box-shadow:none !important}
html[data-brand="askmuse"][data-theme="dark"] nav .overscroll-contain{background:rgba(7,7,11,.97) !important;border-color:rgba(255,255,255,.085) !important}
html[data-brand="askmuse"] nav .overscroll-contain .grid.grid-cols-2{gap:9px}
html[data-brand="askmuse"] nav .overscroll-contain .grid.grid-cols-2 > a{display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 13px;font-size:14.08px;font-weight:600;line-height:1.25;
  border-radius:12px;background:rgba(12,12,28,.05);color:#0e0e18;border:1px solid rgba(12,12,28,.10)}
html[data-brand="askmuse"][data-theme="dark"] nav .overscroll-contain .grid.grid-cols-2 > a{background:rgba(255,255,255,.06);color:#f5f5f8;border-color:rgba(255,255,255,.085)}
html[data-brand="askmuse"] nav .overscroll-contain .grid.grid-cols-2 > a[aria-current],
html[data-brand="askmuse"] nav .overscroll-contain .grid.grid-cols-2 > a:hover{border-color:#0f52ba}
html[data-brand="askmuse"][data-theme="dark"] nav .overscroll-contain .grid.grid-cols-2 > a[aria-current],
html[data-brand="askmuse"][data-theme="dark"] nav .overscroll-contain .grid.grid-cols-2 > a:hover{border-color:#8b8cf8}
html[data-brand="askmuse"] nav .overscroll-contain > div:last-child a{min-height:46px;border-radius:999px;font-size:14.4px;font-weight:600;
  background:rgba(12,12,28,.05);color:#0e0e18;border:1px solid rgba(12,12,28,.20);box-shadow:none}
html[data-brand="askmuse"][data-theme="dark"] nav .overscroll-contain > div:last-child a{background:rgba(255,255,255,.04);color:#f5f5f8;border-color:rgba(255,255,255,.16)}
html[data-brand="askmuse"] nav .overscroll-contain > div:last-child a:first-child{background:linear-gradient(100deg,#0f52ba,#0f52ba 40%,#1565d8);color:#fff;border-color:transparent;box-shadow:0 10px 34px -12px rgba(139,140,248,.75)}
html[data-brand="askmuse"][data-theme="dark"] nav .overscroll-contain > div:last-child a:first-child{background:linear-gradient(100deg,#8b8cf8,#8b8cf8 40%,#b89bfb);color:#08080d}
html[data-brand="askmuse"] nav .overscroll-contain > div:last-child a svg{color:inherit}

/* NO "MARKETING" IN ASKMUSE'S MENUS. His 2026-09-15 (Discord, phone screenshot of the menu): "why it
   says marketing still? on hamburger menu as it does not make sense". Meta-ads marketing is Affordable
   Leads Generation's service, not the receptionist's. The React bar's phone sheet carries a Marketing
   tile (Navbar.tsx pathFor('marketing')), and changing that needs a bundle rebuild, so on the AskMuse
   brand every in-bar link to the marketing page is hidden here instead. The page itself still answers
   at its address. askmuse.ca's own home menu drops its tile in askmuse-front/index.html. */
html[data-brand="askmuse"] nav a[href$="/ai-receptionist/marketing"]:not([data-lang-switch]),
html[data-brand="askmuse"] nav a[href$="/fr/marketing"]:not([data-lang-switch]),
html[data-brand="askmuse"] .m-menu a[href$="/marketing"]{display:none !important}

/* THE LANDING PAGE'S LOCKUP AND BAR, on every dressed page. 2026-09-17, his screenshot of
   askmuse.ca/hear: "logo at top… and askmuse not as per landing page". Each funnel page sizes its
   own .logo (Sora 800 at 17px and a 34px mark on /hear; Outfit at 21px on signup), and the shared
   rules above only recoloured the "Muse". Measured on askmuse.ca itself: .wordmark is Outfit 600
   at 1.32rem (18.5px), letter-spacing -.2px, the tile 40px with a 12px radius, the bar 72px on
   --head-bg (rgba(7,7,11,.72) dark, rgba(246,246,250,.82) light) under a 16px blur. Outfit itself
   is injected by alg-brand.js, so the family is loaded wherever this rule applies. Scoped to the
   brand and to the page's own header (body > nav) so a dashboard side-nav is not repainted. */
html[data-brand="askmuse"] .logo.askmuse{font-family:'Outfit','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:600;font-size:18.5px;letter-spacing:-.2px;gap:11px;line-height:1.1}
html[data-brand="askmuse"] .logo.askmuse .logomark{width:40px;height:40px;border-radius:12px}
html[data-brand="askmuse"] body > nav{background:rgba(246,246,250,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
html[data-brand="askmuse"][data-theme="dark"] body > nav{background:rgba(7,7,11,.72);border-bottom-color:var(--line)}
html[data-brand="askmuse"] body > nav .nav-in{min-height:72px}

/* ==========================================================================================
   WHITE TEXT NEEDS 4.5:1, AND THE BRAND ACCENT DOES NOT GIVE IT (2026-09-23)

   tests/cta-contrast.cjs, run against the live site: four distinct labels, all white on
   rgb(139,140,248) = --org, all 2.91:1 against a 4.5 floor.

       Start free trial        /ai-receptionist, /ai-receptionist/setup, /ai-receptionist/compare
       Hear it answer →        every /for/ trade page
       Start free for 7 days   every /for/ trade page
       EN                      /receptionist/signup (the pressed language pill)

   That is the primary call to action on the product's own pages. --org is not touched — it is
   correct for text, borders, rings and glows on ink. A FILL under white text is a different pair,
   so it gets --org-btn, defined beside --org in both palettes above.

   SCOPED TO FILLS, never to text. `.btn.ghost` keeps its transparent face; the preview page's
   three sections set their own gradient with an id and out-specify this, which is deliberate —
   nothing on the simulator moves.
   ========================================================================================== */
/* :not([data-surface="app"]) — AND THIS WAS A REGRESSION I SHIPPED, on 2026-09-23, hours after
   fixing the identical mistake on the `body` rule above. He found it on his phone within the hour:
   "blue hutton cant rrad text inside it".
   The signed-in dashboard styles .btn as a NEUTRAL surface with dark text —
       .btn{ background:var(--alg-surface-variant); color:var(--alg-text-primary) }
   — so repainting only the BACKGROUND sapphire left the dark label on top of it. Unreadable, on
   his Copied button, live.
   The lesson is the one already written two rules up and evidently not learned: a selector scoped
   by SHAPE (.btn) is not scoped by PLACE. Everything in this block is about the marketing pages
   and has to say so. memory: selector-scope-is-not-page-scope. */
html[data-brand="askmuse"]:not([data-surface="app"]) .btn:not(.ghost){
  background:var(--org-btn); border-color:var(--org-btn); }
html[data-brand="askmuse"]:not([data-surface="app"]) .btn:not(.ghost):hover{ background:var(--org-btn); }
/* THE BOOKING PAGES' STATE BUTTONS ARE NOT THE PRIMARY. The rule above is scoped by shape, and on
   /r/<code> two more shapes wear .btn: the DISABLED primary ("Pick a new time first" until a time is
   picked) and the ARMED cancel (.danger — red, "Yes, cancel it — tap again"). Both keep their own
   colour tokens for the ink, so the fill above put grey on violet (measured 1.19:1 in dark — the button
   in his 2026-09-29 screenshot) and red on violet. (0,5,1) with the page hook, so these win whatever
   the order; :hover restated because the fill rule has one. The ghost's box-shadow:none is restored
   too — the brand-wide .btn shadow was putting a sapphire glow under the grey "Cancel this appointment". */
html[data-brand="askmuse"]:not([data-surface="app"])[data-page="booking"] .btn[disabled],
html[data-brand="askmuse"]:not([data-surface="app"])[data-page="booking"] .btn[disabled]:hover{
  background:var(--dis-bg); border-color:var(--line); color:var(--dis-ink); box-shadow:none; }
html[data-brand="askmuse"]:not([data-surface="app"])[data-page="booking"] .btn.danger,
html[data-brand="askmuse"]:not([data-surface="app"])[data-page="booking"] .btn.danger:hover{
  background:var(--bad-bg); border-color:var(--bad-line); color:var(--bad); box-shadow:none; }
html[data-brand="askmuse"][data-page="booking"] .btn.ghost{ box-shadow:none; }

/* The React nav's CTA is a Tailwind gradient, not a solid: `bg-gradient-to-r from-blue-600
   via-indigo-600 to-cyan-500`, and the brand override maps all three of those tokens into the
   light violet — so the button is light violet end to end under white text. The stops move to the
   deep end of the same gradient the brand already uses (--grad), which keeps it a violet button
   and not a new colour. */
/* SET THE WHOLE background-image, NOT Tailwind's stop VARIABLES. The first attempt wrote
   `--tw-gradient-from:#5b5ce0 var(--tw-gradient-from-position)`, copying the shape Tailwind
   generates — but `--tw-gradient-from-position` is not defined in this build, so the whole
   declaration was invalid and the gradient resolved to
   `linear-gradient(..., rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%)`: a button with NO fill at all,
   which is worse than the low-contrast one it replaced. Caught by measuring the deployed page
   instead of the stylesheet. Declaring the image outright cannot be broken by Tailwind internals.
   Same violet family, deep end of --grad. */
html[data-brand="askmuse"]:not([data-surface="app"]) .bg-gradient-to-r.from-blue-600.via-indigo-600.to-cyan-500{
  background-image:linear-gradient(to right,#5b5ce0,#5b5ce0 55%,#4f50c9);
}
/* The SECOND "Start free trial" on the same page — the full-width one, a solid `bg-blue-600`
   rather than a gradient, which the brand maps to the light violet. Scoped to `.text-white`
   because this is only wrong where white sits ON it; bg-blue-600 behind dark text is fine. */
html[data-brand="askmuse"]:not([data-surface="app"]) .bg-blue-600.text-white{ background-color:var(--org-btn); }
