/* amBE home, v2 (0.5.0; approved mockups v2-ambe-home-web-light and -dark, 12 Nov 2026).
   The canonical canvas gradient behind everything; the briefing and Today are flat on it; glass only on what can be
   tapped (the day hero, the two-up tiles, Needs you, the rails' dots). Cores and operations are dots down the left,
   rooms are dots down the right; below 860 both fold into slim edge tabs. No address label above the title, no pill
   row, no Core and Hub tabs. Every value is a token of the one ΔMBI theme sheet (ambi-theme.css), so light and dark follow data-theme. Copyright © 2026 Slate HQ Ltd. All rights reserved and asserted. */
body:has(#aosh),body:has(#aosr){--aosh-glass:color-mix(in srgb,var(--aos-ground) 55%,transparent);--aosh-glass-2:var(--aos-glass-chrome);--aosh-rim:color-mix(in srgb,var(--aos-ground) 75%,transparent);
  --aosh-ink:var(--aos-ink);--aosh-ink2:var(--aos-ink-2);--aosh-sep:var(--aos-sep);--aosh-track:color-mix(in srgb,var(--aos-ink) 15%,transparent);--aosh-btn:var(--aos-ink);--aosh-btn-ink:var(--aos-ground);
  color:var(--aosh-ink)}
/* The canvas behind everything is the plane of the one ΔMBI theme stylesheet (ambi-theme.css). */
/* The theme's masthead, pill row and Core / Hub edge tabs give way to the rails on this page. */
body:has(#aosh) .aos-mast,body:has(#aosh) .aos-edge,body:has(#aosh) .aos-edge-menu{display:none!important}
body:has(#aosh) .aos-footer{background:transparent}
body:has(#aosh) .aosb{padding-bottom:48px}
/* The band behind the bar is the bar's own (ambi-bar BAND_CSS), the same on every site. */
.aosh{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr) 150px;gap:0 24px;max-width:1440px;margin:0 auto;padding:44px 24px 24px;box-sizing:border-box;color:var(--aosh-ink)}
.aosh a{color:inherit}
.aosh h1{font-size:34px;letter-spacing:-.025em;line-height:1.1;margin:0}
.aosh h2{font-size:20px;letter-spacing:-.015em;margin:0 0 10px}
.aosh-who{position:absolute;top:16px;right:24px;z-index:3}
/* One ΔMBI session (16 Nov 2026): what the server prints for a signed-out visitor stays out of sight until backend.js
   has read the saved session, so a signed-in person never sees "Sign in" while it arrives. */
html:not([data-ambi-session]) [data-signed-out],html[data-ambi-session="arriving"] [data-signed-out]{visibility:hidden}
.aosh-me,.aosh-signin{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:14px;font-weight:600;color:var(--aosh-ink)}
.aosh-me b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--aosh-btn);color:var(--aosh-btn-ink);font-size:12px}
.aosh-signin{padding:8px 14px;border-radius:999px;background:var(--aosh-glass);box-shadow:inset 0 0 0 .75px var(--aosh-rim);-webkit-backdrop-filter:blur(24px) saturate(1.4);backdrop-filter:blur(24px) saturate(1.4)}

/* Rails: a vertical list of dots. Left: label right of the dot; right: label left of the dot. */
.aosh-left,.aosh-right{position:sticky;top:max(24px,calc(50vh - 290px));align-self:start;display:flex;align-items:center;margin-top:120px}
.aosh-right{justify-content:flex-end}
.aosh-rail-in{display:flex;flex-direction:column;gap:4px}
.aosh-right .aosh-rail-in{align-items:flex-end}
.aosh-rail-h{font-size:12px;color:var(--aosh-ink2);margin:12px 0 4px;padding:0 4px}
.aosh-rail-h:first-child{margin-top:0}
.aosh-dot{display:flex;align-items:center;gap:10px;min-height:40px;padding:0;border:0;background:none;font:500 13px var(--aos-font);color:var(--aosh-ink);text-decoration:none;cursor:pointer;text-align:left}
.aosh-dot-c{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--aosh-glass-2);box-shadow:inset 0 0 0 .75px var(--aosh-rim),0 1px 3px rgba(20,24,32,.06);color:var(--aosh-ink2);transition:background .15s,color .15s}
.aosh-dot:hover .aosh-dot-c,.aosh-dot:focus-visible .aosh-dot-c{color:var(--aosh-ink)}
.aosh-dot[aria-current] ,.aosh-dot[aria-pressed="true"]{font-weight:700}
.aosh-dot[aria-current] .aosh-dot-c,.aosh-dot[aria-pressed="true"] .aosh-dot-c{background:var(--aosh-track);color:var(--aosh-ink)}
.aosh-dot:focus-visible{outline:none}.aosh-dot:focus-visible .aosh-dot-c{outline:2px solid var(--aosh-ink);outline-offset:2px}
.aosh-edge{display:none}

/* Main: the briefing column and the glass column */
.aosh-main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px 40px;align-items:start;min-width:0}
.aosh-head{margin-bottom:22px}
.aosh-strip{display:flex;align-items:center;gap:8px;min-width:0;margin-top:8px}
.aosh-strip .aosh-stamp{flex:0 1 auto;min-width:0;margin:0!important}
.aosh-stamp{margin:8px 0 0!important;font-size:13px;color:var(--aosh-ink2)}
.aosh-days{margin-bottom:30px;max-width:540px}
.aosh-days-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.aosh-grow{flex:1}
.aosh-datepill{font-size:15px;padding:7px 14px;border-radius:999px;background:var(--aosh-track)}
.aosh-now{border:0;background:none;font:600 14px var(--aos-font);color:var(--aosh-ink);cursor:pointer;padding:6px 4px}
.aosh-now[aria-pressed="false"]{color:var(--aosh-ink2);font-weight:500}
.aosh-arrow{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:none;color:var(--aosh-ink);cursor:pointer}
.aosh-arrow:hover{background:var(--aosh-track)}
.aosh-week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;text-align:center}
.aosh-day{display:flex;flex-direction:column;align-items:center;gap:8px;border:0;background:none;color:var(--aosh-ink);font:400 16px var(--aos-font);cursor:pointer;padding:4px 0}
.aosh-day span{font-size:12px;color:var(--aosh-ink2)}
.aosh-day b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-weight:400}
.aosh-day.is-today b{font-weight:700}
.aosh-day[aria-pressed="true"] b{background:var(--aosh-track);box-shadow:inset 0 0 0 1.5px var(--aosh-ink);font-weight:700}
.aosh-asof{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin-top:16px;font-size:14px}
.aosh-asof output{font-variant-numeric:tabular-nums}
.aosh-asof input{-webkit-appearance:none;appearance:none;width:100%;height:28px;background:transparent;cursor:pointer;--fill:50%}
.aosh-asof input::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,var(--aosh-ink) var(--fill),var(--aosh-track) var(--fill))}
.aosh-asof input::-moz-range-track{height:4px;border-radius:2px;background:var(--aosh-track)}
.aosh-asof input::-moz-range-progress{height:4px;border-radius:2px;background:var(--aosh-ink)}
.aosh-asof input::-webkit-slider-thumb{-webkit-appearance:none;width:34px;height:22px;margin-top:-9px;border-radius:999px;background:#fff;box-shadow:0 1px 4px rgba(20,24,32,.25),inset 0 0 0 .5px rgba(0,0,0,.08)}
.aosh-asof input::-moz-range-thumb{width:34px;height:22px;border:0;border-radius:999px;background:#fff;box-shadow:0 1px 4px rgba(20,24,32,.25)}
.aosh-asof input:focus-visible{outline:2px solid var(--aosh-ink);outline-offset:4px;border-radius:6px}
.aosh-tense{position:relative;display:flex;justify-content:space-between;font-size:12px;color:var(--aosh-ink2);margin:2px 0 0 calc(3.2em + 14px);margin-right:calc(3em + 14px);height:16px}
.aosh-tense span.is-hidden{visibility:hidden}
.aosh-tense [data-tense-now]{position:absolute;transform:translateX(-50%);font-weight:600;color:var(--aosh-ink)}
.aosh-brief{margin-bottom:26px}
.aosh-brief-body p{font-size:16px;line-height:1.55;max-width:62ch;margin:0}
.aosh-brief-body a,.aosh-agenda a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;font-weight:600}
.aosh-today h2{font-size:15px;font-weight:600;color:var(--aosh-ink2);margin-bottom:6px}
.aosh-agenda{list-style:none;margin:0;padding:0;max-width:600px}
.aosh-agenda li{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;align-items:baseline;padding:11px 0}
.aosh-agenda time{font-size:14px;color:var(--aosh-ink2);font-variant-numeric:tabular-nums}
.aosh-agenda b{display:block;font-size:15px;font-weight:600}
.aosh-agenda small{display:block;font-size:12px;color:var(--aosh-ink2);margin-top:2px}
.aosh-agenda .aosh-when{font-size:12px;color:var(--aosh-ink2);white-space:nowrap}
.aosh-agenda li.is-past b{color:var(--aosh-ink2);font-weight:500}
.aosh-agenda li.aosh-empty{display:block;color:var(--aosh-ink2);font-size:14px}

/* Glass, only on what can be tapped */
.aosh-glass{display:block;text-decoration:none;color:var(--aosh-ink);background:var(--aosh-glass);-webkit-backdrop-filter:blur(24px) saturate(1.4);backdrop-filter:blur(24px) saturate(1.4);box-shadow:inset 0 0 0 .75px var(--aosh-rim);border-radius:24px}
a.aosh-glass:hover,a.aosh-glass:focus-visible{background:var(--aosh-glass-2)}
a.aosh-glass:focus-visible{outline:2px solid var(--aosh-ink);outline-offset:2px}
.aosh-side{display:flex;flex-direction:column;gap:12px;max-width:380px;width:100%;justify-self:end}
.aosh-hero{display:flex;gap:18px;align-items:center;padding:18px 20px}
.aosh-hero b{display:block;font-size:17px}
.aosh-hero b+span{display:block;font-size:13px;line-height:1.45;color:var(--aosh-ink2);margin-top:4px}
.aosh-ring{position:relative;flex:none;width:64px;height:64px}
.aosh-ring svg{transform:rotate(-90deg)}
.aosh-ring circle{fill:none;stroke-width:5}
.aosh-ring-bg{stroke:var(--aosh-track)}
.aosh-ring-fg{stroke:var(--aosh-ink);stroke-linecap:round;transition:stroke-dasharray .4s}
.aosh-ring-fg[stroke-dasharray^="0 "],.aosh-ring-fg[stroke-dasharray^="0.0 "]{stroke:none}
.aosh-ring b{position:absolute;inset:0;display:grid;place-items:center;font:600 24px var(--aos-font-rounded,var(--aos-font));font-variant-numeric:tabular-nums}
.aosh-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.aosh-stat{padding:14px 16px;border-radius:18px;min-height:96px}
.aosh-stat-h{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600}
.aosh-stat>b{display:block;font:600 26px var(--aos-font-rounded,var(--aos-font));letter-spacing:-.01em;margin:6px 0 2px;font-variant-numeric:tabular-nums}
.aosh-stat>span:last-child{display:block;font-size:12px;color:var(--aosh-ink2)}
.aosh-bars{display:flex;align-items:flex-end;gap:3px;height:18px}
.aosh-bars i{display:block;width:6px;border-radius:2px;background:var(--aosh-ink2)}
.aosh-bars:empty{display:none}
.aosh-needs{padding:16px 18px;border-radius:24px}
.aosh-needs h2{font-size:15px;margin:0 0 6px}
.aosh-needs ul{list-style:none;margin:0;padding:0}
.aosh-needs li{display:flex;align-items:center;gap:12px;padding:9px 0}
.aosh-needs li>span{flex:1;min-width:0}
.aosh-needs b{display:block;font-size:15px;font-weight:600}
.aosh-needs small{display:block;font-size:12px;color:var(--aosh-ink2);margin-top:2px}
.aosh-act{flex:none;font-size:13px;font-weight:600;padding:7px 13px;border-radius:999px;background:var(--aosh-track);text-decoration:none;color:var(--aosh-ink)}
.aosh-act:hover,.aosh-act:focus-visible{background:var(--aosh-btn);color:var(--aosh-btn-ink)}
.aosh-scrim{position:fixed;inset:0;z-index:45;background:rgba(10,12,16,.18)}

/* SLΔTE's composition (lead review, 16 Nov 2026). go.slate: the title strip, the week and as-of, the briefing and Today;
   the right column holds Your day, the two figures, Needs you (only when something needs you) and the Retrieve tile.
   retrieve.slate ([data-core="retrieve"]): Your writes and Exports in place of the day. The fold spacer (home.js) keeps
   the first screen clear of the bar at rest. */
.aosh [hidden]{display:none!important}
/* The shared rails clear fully once the footer reaches them (assets/shell-bar.js sets data-ambe-clear). */
ambientos-rails[data-ambe-clear]:not([open]){opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .15s}
/* Width 100% tiles include their padding (the 390 overflow of 0.5.20). */
.aosh-glass{box-sizing:border-box}
.aosh-fold{grid-column:1/-1;height:0}
.aosh-more{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px 40px;align-items:start}
.aosh-more>.aowr{order:0}.aosh-more>.aox-exports{order:1}
.aosh-more>.aosh-rfull{grid-column:1/-1;order:-1;min-width:0}
.aosh-more>section{margin-top:0}
#aosh:not([data-core="retrieve"]) .aosh-more{display:none}
/* configure.<hub> (assets/configure.js): the bar's Configure canvas in place of the day. */
#aosh:not([data-core="configure"]) .aosh-configure{display:none}
#aosh[data-core="configure"] .aosh-configure{grid-column:1/-1;min-width:0}
#aosh[data-core="configure"] :is(.aosh-col,.aosh-days,.aosh-strip,.aosh-side,.aosh-fold,.aosh-more){display:none!important}
#aosh[data-core="retrieve"] :is(.aosh-col>.aosh-brief,.aosh-col>.aosh-today,.aosh-col>.aosh-suggest,.aosh-days,.aosh-strip,.aosh-side,.aosh-fold){display:none!important}
/* retrieve.slate is the shell's Retrieve shape: its record of writes, as-of scrubber and rolodex scroll stand in for the day's week and as-of. */
.aosh-rtile{padding:16px 18px;border-radius:24px}
.aosh-rtile[data-mini]{padding:0}
.aosh-rtile-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.aosh-rtile-head h2{font-size:15px;margin:0 0 6px}
.aosh-rtile-head a{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0;font-size:13px;font-weight:600;text-underline-offset:3px}
.aosh-rtile-sum{font-size:13px;color:var(--aosh-ink2);margin:0 0 6px}
.aosh-rtile-list{list-style:none;margin:0;padding:0}
.aosh-rtile-list li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;padding:6px 0;font-size:14px}
.aosh-rtile-list time{color:var(--aosh-ink2);font-variant-numeric:tabular-nums}
.aosh-rtile-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aosh-rtile-list:empty{display:none}
/* Below 1180 one column: the title and the day strip first, then the glass, then the briefing and Today. */
@media (max-width:1180px){
  .aosh{grid-template-columns:118px minmax(0,1fr) 118px;gap:0 16px}
  .aosh-main{display:flex;flex-direction:column;gap:22px}
  .aosh-main>.aosh-col{display:contents}
  .aosh-main>.aosh-col>.aosh-head{order:0;margin:0;padding-right:150px}
  .aosh-main>.aosh-col>.aosh-days{order:1;margin:0;max-width:none;width:100%;align-self:stretch}
  .aosh-main>.aosh-side{order:2;max-width:none;width:100%;justify-self:stretch;display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .aosh-hero{grid-column:1/-1}.aosh-pair{grid-column:1}.aosh-needs{grid-column:2;grid-row:2}.aosh-rtile{grid-column:1/-1}
  /* With nothing needing you, the two figures take the full row. */
  .aosh-side:has(>.aosh-needs[hidden]) .aosh-pair{grid-column:1/-1}
  .aosh-main>.aosh-col>.aosh-head{order:0}.aosh-main>.aosh-col>.aosh-days{order:10}
  .aosh-main>.aosh-col>.aosh-brief{order:20;margin:0}
  .aosh-main>.aosh-col>.aosh-suggest{order:25;margin-top:-12px}
  .aosh-main>.aosh-col>.aosh-today{order:30}
  .aosh-main>.aosh-side{order:40}
  .aosh-main>.aosh-more{order:70;grid-template-columns:minmax(0,1fr)}
}
/* Below 860 the rails fold into slim edge tabs, clear of the tiles; a tab opens its list over the page. */
@media (max-width:860px){
  .aosh{display:block;padding:18px 34px 24px}
  .aosh-who{top:22px;right:34px}
  .aosh-main>.aosh-col>.aosh-head{padding-right:120px}
  /* Phones follow the mockup (v2-ambe-home-web, 390): the day hero and tiles, then the briefing, then Needs you. */
  .aosh-main>.aosh-side{display:contents}
  .aosh-main>.aosh-side>.aosh-hero{order:40}.aosh-main>.aosh-side>.aosh-pair{order:50}
  .aosh-main>.aosh-side>.aosh-pair{margin-top:-10px}
  .aosh-main>.aosh-side>*{width:100%;max-width:none;align-self:stretch;grid-column:auto;grid-row:auto}
  .aosh-main>.aosh-side>.aosh-needs{order:55}
  .aosh-main>.aosh-side>.aosh-rtile{order:60}
  .aosh-left,.aosh-right{position:fixed;top:0;bottom:auto;margin-top:0;height:100vh;height:100dvh;align-self:auto;justify-self:auto;z-index:46;width:0;align-items:center}
  /* Every rail, on every page: a fixed box the viewport's height, so its tab and list sit at mid-height. align-self
     applies to fixed boxes too, and the wide layout's align-self:start would shrink a rail to its (absolute) content. */
  .aosh-left,.aosh-right,.aosr-rail{inset-block:0 auto!important;height:100dvh!important;align-self:auto!important}
  .aosh-left{left:0}.aosh-right{right:0}
  .aosh-rail-in{position:absolute;top:50%;transform:translateY(-50%);padding:14px;border-radius:24px;background:var(--aosh-glass-2);-webkit-backdrop-filter:blur(24px) saturate(1.4);backdrop-filter:blur(24px) saturate(1.4);box-shadow:inset 0 0 0 .75px var(--aosh-rim),0 12px 40px rgba(20,24,32,.18);visibility:hidden;opacity:0;transition:opacity .15s}
  .aosh-left .aosh-rail-in{left:8px}.aosh-right .aosh-rail-in{right:8px}
  .aosh-left.is-open .aosh-rail-in,.aosh-right.is-open .aosh-rail-in{visibility:visible;opacity:1}
  .aosh-edge{display:flex;position:absolute;top:50%;transform:translateY(-50%);writing-mode:vertical-rl;gap:6px;align-items:center;border:0;padding:12px 4px;font:500 10px var(--aos-font);color:var(--aosh-ink2);background:var(--aosh-glass-2);box-shadow:inset 0 0 0 .75px var(--aosh-rim);cursor:pointer;min-height:96px}
  .aosh-edge b{font-size:12px;color:var(--aosh-ink)}
  .aosh-edge-l{left:0;border-radius:0 12px 12px 0;transform:translateY(-50%) rotate(180deg)}
  .aosh-edge-r{right:0;border-radius:12px 0 0 12px}
  .aosh-left.is-open .aosh-edge,.aosh-right.is-open .aosh-edge{visibility:hidden}
}
@media (max-width:420px){.aosh{padding:16px 26px 24px}.aosh-who{right:26px}.aosh-day b{width:34px;height:34px}.aosh-head{padding-right:56px}.aosh-me span{display:none}}
@media (prefers-reduced-motion:reduce){.aosh-ring-fg,.aosh-rail-in{transition:none}}

/* In a v2 room the shell sits in the room's own slots. */
.aosr-days .aosh-days{margin-bottom:26px;max-width:540px}
@media (max-width:1180px){.aosr-days .aosh-days{max-width:none}}
/* Below 860 the edge tabs stay on the viewport edges; the footer keeps its text clear of them too. */
@media (max-width:860px){body:has(#aosh) .aos-footer .aos-wrap,body:has(#aosr) .aos-footer .aos-wrap{padding-left:48px;padding-right:48px}}
@media (max-width:420px){body:has(#aosh) .aos-footer .aos-wrap,body:has(#aosr) .aos-footer .aos-wrap{padding-left:30px;padding-right:30px}.aosh{padding-left:30px;padding-right:30px}}

/* Operations (0.5.1): the chosen operation shifts the canvas for this scope. The picker sits flat on the canvas under
   the title; each Tilt is a tappable glass row. Share prints a clean PDF of the view. */
/* The operation tint (data-aos-op on <html>) is part of the plane in the one ΔMBI theme stylesheet. */
.aosh,.aosr{position:relative;z-index:1}
.aosx{margin:0 0 24px;max-width:600px}
.aosx h2{font-size:20px;margin:0 0 10px}
.aosx-list{display:flex;flex-direction:column;gap:8px}
.aosx-tilt{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:12px 16px;border:0;border-radius:18px;text-decoration:none;color:var(--aosh-ink);background:var(--aosh-glass);-webkit-backdrop-filter:blur(24px) saturate(1.4);backdrop-filter:blur(24px) saturate(1.4);box-shadow:inset 0 0 0 .75px var(--aosh-rim);font:inherit;cursor:pointer}
.aosx-tilt:hover,.aosx-tilt:focus-visible{background:var(--aosh-glass-2)}
.aosx-tilt:focus-visible{outline:2px solid var(--aosh-ink);outline-offset:2px}
.aosx-tilt>span:first-child{flex:1;min-width:0}
.aosx-tilt b{display:block;font-size:15px}
.aosx-tilt small{display:block;font-size:12px;color:var(--aosh-ink2);margin-top:2px}
.aosx-go{flex:none;font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;background:var(--aosh-track)}
.aosx-none{color:var(--aosh-ink2);font-size:14px}
.aosx-h{font-size:13px;font-weight:600;color:var(--aosh-ink2);margin:18px 0 8px}
.aosx-sugg{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.aosx-sugg .aosx-chip{width:auto;padding:9px 14px;border-radius:999px}
.aosx-sugg .aosx-chip small,.aosx-sugg .aosx-chip .aosx-go{display:none}
.aosx-graph{display:flex;align-items:center;gap:12px;padding:8px 14px;border-radius:18px;text-decoration:none;color:var(--aosh-ink);background:var(--aosh-glass);box-shadow:inset 0 0 0 .75px var(--aosh-rim)}
.aosx-graph svg rect{fill:var(--aosh-ink2)}
.aosx-graph b{display:block;font-size:14px}.aosx-graph small{display:block;font-size:12px;color:var(--aosh-ink2)}
/* On wide screens Suggested sits in the right column under Retrieve (home.js): the week graph takes the row, chips follow. */
.aosh-side>.aosh-suggest .aosx-h{margin-top:6px}
.aosh-side>.aosh-suggest .aosx-graph{flex:1 1 100%}
@media print{
  body:has(#aosh),body:has(#aosr){background:#fff!important;color:#000}
  body:has(#aosh)::before,body:has(#aosr)::before,.aosh-left,.aosh-right,.aosr-rail,.aos-dock,.aos-footer,.aosx,.aosh-scrim,.aosh-who,.aosr-who,.aosh-days{display:none!important}
  .aosh,.aosr{display:block;padding:0}
  .aosh-glass,.aosx-tilt{box-shadow:0 0 0 1px #ccc;background:#fff}
}

/* On the narrowest phones the bar's crumb keeps the operation; the room is already the page title. */
@media (max-width:380px){.aos-bar-path .aosh-crumb-room,.aos-bar-path .aosh-crumb-room+.aos-bar-dot{display:none}}
.aosx-all{align-self:flex-start;border:0;background:none;color:var(--aosh-ink);font:600 14px var(--aos-font);text-decoration:underline;text-underline-offset:3px;padding:8px 4px;cursor:pointer}

/* With the AmbientOS shell bar mounted (assets/shell-bar.js), the theme's dock gives way to it. */
html.aosb-shell #aos-ambi{display:none!important}
html.aosb-shell body:has(#aosh) .aosb,html.aosb-shell body:has(#aosr) .aosb{padding-bottom:48px}

.aox-exports{margin-top:26px}
.aox-findl{display:inline-flex;align-items:center;margin-top:10px;padding:8px 14px;border-radius:999px;font-size:13px;font-weight:600;color:var(--aosh-ink);background:var(--aosh-track);cursor:pointer}
.aox-findl:hover,.aox-findl:focus-within{background:var(--aosh-glass-2)}
.aox-findl:focus-within{outline:2px solid var(--aosh-ink);outline-offset:2px}
.aosh .aox-findl{position:relative;overflow:hidden}
.aosh .aox-file{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.aox-found{font-size:13px;color:var(--aosh-ink2);margin:6px 0 0}
.aowr{margin-top:26px}
.aowr .aowr-note{font-size:13px;color:var(--aosh-ink2);margin:0 0 8px;max-width:62ch}
/* Your writes: the Sync switch is the person's choice (off until they turn it on); glass on the switch only. */
.aowr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.aowr-head h2{margin:0}
.aowr-switch{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 14px 0 8px;border:0;border-radius:999px;cursor:pointer;
  font:500 14px var(--aos-font);color:var(--aosh-ink,#171a20);background:var(--aosh-glass-2,rgba(255,255,255,.82));-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);
  box-shadow:inset 0 0 0 .75px var(--aosh-rim,rgba(255,255,255,.75)),0 1px 3px rgba(20,24,32,.06)}
.aowr-switch b{font-weight:700;min-width:2.2em;text-align:left}
.aowr-switch:disabled{cursor:default;opacity:.55}
.aowr-switch:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.aowr-track{position:relative;width:40px;height:24px;border-radius:12px;background:var(--aosh-track,rgba(120,124,134,.28));transition:background .15s}
.aowr-knob{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.aowr-switch[aria-checked="true"] .aowr-track{background:var(--aosh-ink,#171a20)}
.aowr-switch[aria-checked="true"] .aowr-knob{transform:translateX(16px)}
@media (prefers-reduced-motion:reduce){.aowr-track,.aowr-knob{transition:none}}
/* Remove on one write: a quiet text button, then an inline hard confirm across the row (Keep takes focus first). */
.aowr-rm{justify-self:end}
.aowr-rm:has(.aowr-rm-confirm){grid-column:1/-1;justify-self:stretch}
.aowr-rm button{min-height:44px;padding:0 14px;border:0;border-radius:999px;cursor:pointer;font:500 14px var(--aos-font);color:var(--aosh-ink,#171a20);background:transparent}
.aowr-rm .aowr-rm-ask{text-decoration:underline;text-underline-offset:3px;color:var(--aosh-ink2)}
.aowr-rm-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.aowr-rm-confirm small{flex:1 1 100%;font-size:13px;color:var(--aosh-ink2)}
.aowr-rm .aowr-rm-keep{background:var(--aosh-glass-2,rgba(255,255,255,.82));box-shadow:inset 0 0 0 .75px var(--aosh-rim,rgba(255,255,255,.75))}
.aowr-rm .aowr-rm-yes{color:var(--aosh-btn-ink);background:var(--aosh-btn)}
.aowr-rm button:disabled{opacity:.55;cursor:default}
.aowr-rm button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
/* App permission and command-line sign-in sit on the live Home canvas as the bar's answer: no footer behind them. */
body:has(#aosh[data-room="connect"]) .aos-footer{display:none!important}

/* Core 1.7.0's shared chrome (<ambientos-rails>, <ambientos-sheet>) replaces amBE's own rails, edge tabs and switcher
   scrim while it is up; amBE's stay in the page for a release without it. */
/* They keep their grid slots (the canvas columns depend on them) and only stop being seen or tapped. */
html.aosb-chrome .aosh-left,html.aosb-chrome .aosh-right,html.aosb-chrome .aosr-rail{visibility:hidden!important;pointer-events:none!important}
html.aosb-chrome .aosh-left *,html.aosb-chrome .aosh-right *,html.aosb-chrome .aosr-rail *{visibility:hidden!important}
html.aosb-chrome .aosh-scrim{display:none!important}

/* Guides (assets/guides.js): a room's guides as flat rows; the reader on the canvas like a Tilt's screen. */
.agd-room{margin-top:26px}
.agd-room-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.agd-room-head h2{margin:0}
.agd-all{font-size:13px;color:var(--aosh-ink2,#5c606a)}
.agd-list{display:flex;flex-direction:column}
.agd-row,.agd-start{display:flex;align-items:center;gap:14px;min-height:52px;padding:8px 0;border-top:1px solid var(--aosh-sep,rgba(20,24,32,.1));color:var(--aosh-ink,#171a20);text-decoration:none}
.agd-row:first-child{border-top:0}
.agd-t{flex:1;min-width:0;display:flex;flex-direction:column}
.agd-t b,.agd-start b{font-size:15px;font-weight:600}
.agd-t small,.agd-start small{font-size:13px;color:var(--aosh-ink2,#5c606a)}
.agd-when{font-size:12px;color:var(--aosh-ink2,#5c606a);white-space:nowrap}
.agd-dot{flex:none;width:36px;height:36px;border-radius:50%;background:var(--aosh-glass-2,rgba(255,255,255,.82)) center/18px no-repeat;box-shadow:inset 0 0 0 .75px var(--aosh-rim,rgba(255,255,255,.75));
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c606a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4.5h5.5a2 2 0 0 1 2 2V20a1.8 1.8 0 0 0-1.8-1.8H5z'/%3E%3Cpath d='M19 4.5h-5.5a2 2 0 0 0-2 2V20a1.8 1.8 0 0 1 1.8-1.8H19z'/%3E%3C/svg%3E")}
.agd-start{margin:-6px 0 6px;border-top:0;padding:10px 14px;border-radius:999px;background:var(--aosh-glass-2,rgba(255,255,255,.82));box-shadow:inset 0 0 0 .75px var(--aosh-rim,rgba(255,255,255,.75))}
.agd-start>span:last-child{display:flex;flex-direction:column}
.agd-start[hidden],.agd-room[hidden]{display:none}
.agd-lede{font-size:16px;color:var(--aosh-ink2,#5c606a);margin:0 0 14px}
.agd-body p,.agd-body li{font-size:16px;line-height:1.5}
.agd-steps{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:18px}
.agd-step{padding-top:14px;border-top:1px solid var(--aosh-sep,rgba(20,24,32,.1))}
.agd-step-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.agd-step h3{font-size:18px;margin:0}
.agd-done{font-size:14px;display:inline-flex;align-items:center;gap:6px;min-height:44px}
.agd-step ul{margin:6px 0 0;padding-left:1.2em}
.agd-show{margin-top:8px;min-height:44px;padding:0 16px;border:0;border-radius:999px;cursor:pointer;font:600 14px var(--aos-font);color:var(--aosh-ink,#171a20);background:var(--aosh-glass-2,rgba(255,255,255,.82));
  box-shadow:inset 0 0 0 .75px var(--aosh-rim,rgba(255,255,255,.75)),0 1px 3px rgba(20,24,32,.06)}
.agd-ask{margin-top:22px;padding-top:14px;border-top:1px solid var(--aosh-sep,rgba(20,24,32,.1))}
.agd-ask h3{font-size:15px;margin:0 0 4px;color:var(--aosh-ink2,#5c606a)}
