/* Compact Circle review: room-specific color, less text, touch-friendly cards. */
#view-spaces:not(.group-open) #discoverIntroCard{background:transparent!important;border:0!important;box-shadow:none;padding:4px 0 8px;margin:0}
#view-spaces #discoverIntroCard .kicker{font-size:11px;letter-spacing:.16em;color:#886d7c}
#view-spaces #discoverIntroCard .body-copy{font:600 28px/1.2 Georgia,serif;color:#4e3949}
.discover-row-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:22px 0 12px;color:#574650}
.discover-row-heading h2{font-size:14px;margin:0;font-weight:750}.discover-row-heading span{font-size:11px;color:#87717e}
#view-spaces.group-open .discover-row-heading{display:none}
#view-spaces #discoverDestinations,#view-spaces #spacesContainer{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(164px,1fr);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:2px;padding:2px 2px 14px;margin:0;align-items:stretch;scrollbar-width:thin;scrollbar-color:#c5a8bb transparent}
#view-spaces #spacesContainer{grid-auto-columns:minmax(164px,1fr)}
#view-spaces .discover-destination,#view-spaces #spacesContainer .space-card{position:relative;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0;min-height:190px;padding:18px!important;border-radius:22px;border:1px solid #d7bccb!important;background:linear-gradient(145deg,#f4e8ed,#ead8e2)!important;color:#513c4b!important;box-shadow:0 5px 16px #57364708}
#view-spaces .discover-destination.trading-lab-entry{grid-column:auto;background:linear-gradient(145deg,#e4eeeb,#cfdfd9)!important;border-color:#b4cfc5!important}
#view-spaces .classroom-entry73{background:linear-gradient(145deg,#ede9f2,#ddd5e6)!important}
#view-spaces #localResourceEntry69{background:linear-gradient(145deg,#fff7d8,#f5e8b5)!important;border-color:#dfcc8e!important}
#view-spaces .discover-destination h2{font:700 21px/1.15 Georgia,serif;margin:9px 0}
#view-spaces .discover-destination small{font-size:9px;letter-spacing:.08em}
#view-spaces .discover-destination p,#view-spaces .space-desc{font-size:12px!important;line-height:1.45!important;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#view-spaces .destination-status{display:none}
#view-spaces .discover-destination button,#view-spaces .space-btn{background:#ffffff99!important;color:#513c4b!important;-webkit-text-fill-color:#513c4b!important;border:1px solid #bda9b5!important;box-shadow:none!important;border-radius:12px;min-height:44px;width:100%;padding:10px!important;font-size:12px;font-weight:750;margin:0}
#view-spaces #spacesContainer .space-top{min-height:0}
#view-spaces #spacesContainer .space-top>div{flex-direction:column;gap:10px!important}
#view-spaces .space-icon{width:36px;height:36px;border-radius:12px;background:#ffffff85!important;box-shadow:none;color:#74546c}
#view-spaces .space-icon svg{width:21px;height:21px}
#view-spaces .space-title{font:700 19px/1.2 Georgia,serif!important;margin:0 0 7px;color:#513c4b!important;-webkit-text-fill-color:#513c4b!important}
#view-spaces #spacesContainer .space-card:nth-child(2){background:linear-gradient(145deg,#e6efea,#d9e5df)!important}
#view-spaces #spacesContainer .space-card:nth-child(3){background:linear-gradient(145deg,#eee8f2,#e1d9e9)!important}
#view-spaces #spacesContainer .space-card:nth-child(4){background:linear-gradient(145deg,#e5edf0,#d8e3e9)!important}
#view-spaces #spacesContainer .space-card:nth-child(5){background:linear-gradient(145deg,#f3e4e2,#ebd4d5)!important}
#view-spaces .space-card>.space-alert-settings{position:absolute;right:10px;top:9px;padding:0;margin:0;border:0;z-index:2}
#view-spaces .space-alert-settings summary{font-size:0;min-height:32px;width:32px;justify-content:center;border-radius:50%;background:#ffffff70;list-style:none}
#view-spaces .space-alert-settings summary::after{content:'•••';font-size:15px;color:#725268}
#view-spaces .space-alert-settings[open]{left:10px;background:#fff8f4;border:1px solid #cbb2c3;padding:10px;border-radius:14px;box-shadow:0 10px 25px #45293d20}
#view-spaces .space-alert-settings[open] summary{margin-left:auto}
#view-spaces .space-card>.space-alert-settings .queue-meta{display:none}
#view-spaces .space-card>.space-alert-settings .queue-title{font-size:12px}
#view-spaces .space-card .meta-pill{display:none}
#view-spaces .space-card>div:last-child{margin-top:auto!important}
/* Light-mode tabs: misty sage, with clear dark lettering. */
body:not(.dark-mode) :is(.tab-btn,.filter-chip,.filter-btn,.home-intel-filter,.home-filter,.space-filter,.seg-btn,.segment-btn,.notif-tab,.activity-tab){background:#e3ece8!important;color:#3b5b51!important;border-color:#b7cfc5!important}
body:not(.dark-mode) :is(.tab-btn,.filter-chip,.filter-btn,.home-intel-filter,.home-filter,.space-filter,.seg-btn,.segment-btn,.notif-tab,.activity-tab).active{background:#bfd4ca!important;color:#264a3c!important;border-color:#88ad9d!important}
body.dark-mode .discover-row-heading,body.dark-mode #discoverIntroCard .body-copy{color:#eedeea!important}
@media(min-width:900px){#view-spaces #discoverDestinations{grid-auto-columns:minmax(0,1fr)}#view-spaces #spacesContainer{grid-auto-columns:minmax(170px,1fr)}}
@media(prefers-reduced-motion:no-preference){#view-spaces :is(.space-card,.discover-destination){transition:transform .2s ease,box-shadow .2s ease}#view-spaces :is(.space-card,.discover-destination):hover{transform:translateY(-2px);box-shadow:0 9px 22px #57364712}}
/* Match the actual announcement's aqua-to-lilac surface. */
body #homeDailyHostSlot .daily-host-card{background:linear-gradient(120deg,#78e5ef 0%,#8fd9f1 35%,#b9a0f4 72%,#9e82e9 100%)!important;border-color:#b0c7ed!important;color:#25293e!important}
body #homeDailyHostSlot .daily-host-card :is(h3,p,.daily-host-body,.daily-host-status,.daily-host-date,.daily-host-caption,.daily-host-preview){color:#30334b!important;-webkit-text-fill-color:#30334b!important}
body #homeDailyHostSlot .daily-host-card .home-activity-type{color:#414363!important;-webkit-text-fill-color:#414363!important}
body #homeDailyHostSlot .daily-host-reading{background:#ffffff32;border-color:#ffffff80}
body #homeDailyHostSlot .daily-host-reading summary{color:#34344e}
body #homeDailyHostSlot .daily-host-card .home-kendra-actions button{background:#ffffff75!important;border-color:#ffffffb0!important;color:#3e3a58!important;-webkit-text-fill-color:#3e3a58!important}
body:not(.dark-mode) #homeIntelFilters button{background:#e3ece8!important;color:#3b5b51!important;-webkit-text-fill-color:#3b5b51!important;border-color:#b7cfc5!important;box-shadow:none}
body:not(.dark-mode) #homeIntelFilters button.active{background:#bfd4ca!important;color:#264a3c!important;-webkit-text-fill-color:#264a3c!important;border-color:#88ad9d!important}
body #homeDailyHostSlot .daily-host-card{padding:22px!important;border-radius:24px;box-shadow:0 10px 25px #4a284015}
body #homeDailyHostSlot .daily-host-card .home-activity-type{background:transparent!important;padding:0;font-size:10px;letter-spacing:.15em}
body #homeDailyHostSlot .daily-host-card h3{font:700 22px/1.3 Georgia,serif;margin:12px 0}
body #homeDailyHostSlot .daily-host-card .daily-host-caption{font-size:11px;line-height:1.6}
body #homeDailyHostSlot .daily-host-status:empty{display:none}
body #view-spaces :is(.discover-destination,.space-card) :is(p,small,.space-desc){color:#624b5b!important;-webkit-text-fill-color:#624b5b!important}
#view-spaces .discover-row-heading+div:focus-visible{outline:2px solid #86697c;outline-offset:4px}
/* White paper, quiet pastel accents, explicit readable ink. */
body:not(.dark-mode){background:#f8f8fb!important;--circle-paper:#f8f8fb;--circle-card:#ffffff;--circle-ink:#4e3949}
body:not(.dark-mode) .card :is(.h1,.body-copy,.space-title,.space-desc){color:#513c4b!important;-webkit-text-fill-color:#513c4b!important}
body #homeDailyHostSlot .daily-host-card .home-kendra-actions button{font-size:12px!important;padding:10px 12px!important;min-height:44px}
.terminal-brand{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:10px;align-items:center;min-width:0}
.terminal-brand-mark{grid-row:1/4;width:32px;height:32px}.terminal-brand h1,.terminal-brand p{grid-column:2}
.terminal-page>header{gap:10px}.terminal-page #labBack{margin-left:auto;flex:none;font-size:12px;padding:8px 10px;white-space:nowrap}
.terminal-mobile-orders{display:none}.terminal-touch-toggle{min-height:36px;border:1px solid #b29cbf;border-radius:8px;padding:7px 10px;background:#fff4fc;color:#61466d;font-size:12px;cursor:pointer}.terminal-touch-toggle[aria-pressed=true]{background:#62466e;color:#fff}
@media(min-width:801px){.terminal-touch-toggle{display:none}}
@media(max-width:800px){
 body.lab-terminal-open{overflow-x:hidden;overscroll-behavior-y:auto;padding-bottom:env(safe-area-inset-bottom)}
 .terminal-page>header{padding:10px!important;min-height:62px}.terminal-page>header h1{font-size:17px!important}.terminal-page>header p{font-size:9px!important;letter-spacing:.02em;max-width:200px}
 .terminal-page .replay-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}.terminal-page .replay-metrics small{font-size:8px!important;letter-spacing:0;line-height:1.4}.terminal-page .replay-metrics strong{font-size:12px!important;font-weight:500!important}.terminal-page .replay-metrics>div{padding:8px 6px!important}
 .terminal-page .replay-toolbar{flex-wrap:nowrap;gap:5px!important}.terminal-page .replay-toolbar>label{flex:1 1 0;min-width:65px!important}.terminal-page .replay-toolbar>label:first-child{flex:1.4}.terminal-page #labTestSound{font-size:0!important;padding:6px!important;width:36px;flex:none}.terminal-page #labTestSound:after{content:'♪';font-size:18px}
 .terminal-mobile-orders{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px;background:#efe5f0;border-bottom:1px solid #d3bfd8}
 .terminal-mobile-orders .ticket-quantity{flex:0 0 70px;max-width:70px!important;margin:0!important;font-size:9px!important;gap:2px}
 .terminal-mobile-orders #replayUnits{width:70px;min-height:38px;height:38px;padding:4px 7px;font-size:15px!important;background:#fff}
 .terminal-mobile-orders .replay-actions{display:flex;flex:1;margin:0;gap:5px}.terminal-mobile-orders .replay-actions button{min-height:42px!important;padding:7px!important;font-size:11px!important;flex:1;color:white!important;border:0;border-radius:8px}
 .terminal-mobile-orders #ticketSubmit{display:none}.terminal-mobile-orders #replayClose{background:#61466d!important}
 .terminal-mobile-orders .terminal-ticket-toggle{width:auto!important;flex:1 0 100%;padding:7px 8px!important;min-height:32px;font-size:11px!important;border-radius:6px;background:#e2d3e7!important}
 .terminal-page .replay-ticket:not(.ticket-expanded){display:none!important}.terminal-page .replay-ticket.ticket-expanded{display:block!important}
 .terminal-page #replayCanvas{height:clamp(480px,70dvh,820px)!important;min-height:480px;touch-action:pan-y}
 .terminal-page .terminal-draw-tools{max-height:70dvh;touch-action:pan-y}.terminal-page .replay-chart-head strong{font-size:12px!important;font-weight:500!important}
 .terminal-page .chart-reference-legend{font-size:9px}.terminal-menu-bar{gap:5px;padding:6px}.terminal-menu summary{font-size:10px;padding:8px}
}
.terminal-page>header{flex-direction:row!important;align-items:center!important}
.terminal-page .replay-metrics>div:last-child{display:flex!important}
.terminal-page .replay-toolbar>label:nth-child(3){display:flex!important}
.terminal-page .terminal-touch-toggle{background:#f7f0fa!important;color:#61466d!important;border:1px solid #b29cbf!important;border-radius:8px;padding:7px 10px;min-height:36px}
.terminal-page .terminal-touch-toggle[aria-pressed=true]{background:#62466e!important;color:white!important}
@media(max-width:600px){body #view-spaces .discover-header h1,body #view-spaces .discover-title,body #view-spaces>h1{font-size:clamp(25px,7vw,31px)!important;line-height:1.15!important;max-width:100%}}
