/* Phone setup and audio controls share the stained-glass palette. */
.phone-intro{display:flex;gap:14px;align-items:center;margin:0 0 22px}.phone-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid #dac7f32d;border-radius:15px;background:linear-gradient(135deg,#d9a9e31c,#9faff014);color:#d3bedf}.phone-intro h3{font-family:"Songti SC",serif;font-size:19px;font-weight:400;letter-spacing:1px;margin:0 0 3px}.phone-intro p{font-size:12px;color:var(--muted);margin:0}.phone-steps{list-style:none;margin:0 0 23px;padding:0;display:grid;gap:19px}.phone-steps>li{display:flex;gap:12px}.phone-steps>li>span{flex-shrink:0;border:1px solid #c9bbde35;border-radius:50%;display:grid;place-items:center;width:24px;height:24px;color:#c9bbde;font-size:11px;margin-top:2px}.phone-steps>li>div{min-width:0;flex:1}.phone-steps strong{font-size:12px;font-weight:500;color:#d6cddd}.phone-steps p{font-size:11px;line-height:1.85;color:#9e94ad;margin:4px 0 0}.phone-steps p.setup-needed{color:#c7afcf;margin-top:7px}.mobile-address{display:flex;align-items:center;border:1px solid #c9bbde24;border-radius:8px;background:#17151e80;padding:7px 8px 7px 12px;margin-top:9px;gap:8px}.mobile-address code{overflow-wrap:anywhere;font-size:11px;color:#d2c2e0;flex:1;user-select:all;-webkit-user-select:all}.mobile-address button{display:grid;place-items:center;min-width:35px;min-height:35px;color:#bba7d0}.mobile-address svg{width:16px}.connection-facts,.voice-readiness{background:#17151e50;border:1px solid #c9bbde16;border-radius:10px;padding:4px 14px;margin-bottom:18px}.connection-facts .status-line:last-child,.voice-readiness .status-line:last-child{border:0}.connection-facts .status-line,.voice-readiness .status-line{gap:20px}.connection-facts strong,.voice-readiness strong{text-align:right;color:#cabbd8;max-width:65%;overflow-wrap:anywhere}.phone-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}.phone-actions .text-link{margin:0;padding:10px 4px}.phone-privacy{margin-top:16px}.mobile-result{font-size:12px;line-height:1.8;border:1px solid #c9bbde26;border-radius:8px;background:#c9bbde08;padding:12px;margin:12px 0}.audio-note{font-size:11px;line-height:1.8;color:#ada0bc;margin:8px 0}.message-audio audio{display:block;width:min(100%,360px);height:42px;margin:8px 0 10px}.message-audio:empty{display:none}.voice-hold{-webkit-touch-callout:none}.settings-tabs{scrollbar-width:none}.settings-tabs::-webkit-scrollbar{display:none}.voice-readiness .audio-note{font-size:10px}.voice-readiness+.panel-intro{margin-bottom:15px}
@media(max-width:700px){.app-shell,.app-shell.panel-closed{height:var(--app-height,100dvh)}.topbar{height:calc(64px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.sidebar{padding-top:calc(29px + env(safe-area-inset-top));padding-bottom:calc(16px + env(safe-area-inset-bottom))}.panel-head{height:calc(64px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.composer-tools .icon-btn,.composer .send-btn{width:42px;height:42px}.composer-tools .icon-btn svg,.composer .send-btn svg{width:20px;height:20px}.composer-tools{gap:3px}.compose-mode{padding-left:8px;margin-left:3px}.message-actions button{min-height:40px;padding:6px 8px;font-size:11px}.message-actions{gap:10px}.phone-intro{margin-bottom:23px}.phone-steps{gap:20px}.phone-steps strong{font-size:13px}.phone-steps p{font-size:12px}.connection-facts .status-line{font-size:11px}.phone-actions .primary,.phone-actions .secondary{min-height:44px}.settings-tab{padding:14px 0}.settings-tabs{gap:22px}.modal-overlay{padding:8px}.modal{max-height:calc(100dvh - env(safe-area-inset-top) - 16px)}.modal-content{overscroll-behavior:contain}.mobile-result,.phone-privacy{font-size:12px}.recording-status{font-size:12px;padding:8px 3px}.form-row small{line-height:1.85}.message-audio audio{width:100%}.audio-note{font-size:12px}.composer textarea{font-size:16px}.phone-intro h3{font-size:21px}.sanctuary-nav .icon-btn{width:44px;height:44px}}

.voice-label{display:none}@media(max-width:700px){.composer-tools #voice-hold{width:auto;display:flex;gap:6px;padding:0 9px}.voice-label{display:inline;font-size:11px;white-space:nowrap}.compose-mode{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone-actions .text-link{min-height:44px}}

/* Long-term memory keeps its source and pending changes visible on both screens. */
.settings-tabs{overflow-x:auto;flex-shrink:0}.settings-tab{flex-shrink:0;white-space:nowrap}.memory-card .card-top{flex-wrap:wrap}.memory-source-badge{font-size:9px;border:1px solid #c9bbde24;border-radius:5px;padding:2px 6px;color:#c5b4d6}.memory-sync-note{font-size:10px;line-height:1.8;margin-top:10px;overflow-wrap:anywhere;color:#b3a2c3}.memory-origin-note{font-size:12px;line-height:1.9;background:#c9bbde08;border:1px solid #c9bbde24;border-radius:8px;padding:12px 14px;margin:16px 0;overflow-wrap:anywhere;color:#bdb0cb}.memory-origin-note .text-link{margin:5px 0 0}.memory-source-badge.waiting,.memory-sync-note.waiting,.memory-origin-note.waiting{color:#d4c1a9}.memory-source-badge.danger,.memory-sync-note.danger,.memory-origin-note.danger{color:#e4ada9}.memory-card .card-bottom{gap:10px}.memory-card .card-bottom>span{min-width:0;overflow-wrap:anywhere}.memory-card .card-bottom>button{flex-shrink:0}.memory-connection{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 16px;font-size:11px;line-height:1.8;color:#b0a0bd;border-top:1px solid #c9bbde18;border-bottom:1px solid #c9bbde18;margin:18px 0;padding:7px 0}.memory-connection .text-link{margin:0}.ombre-scope{font-size:12px}.mobile-result{overflow-wrap:anywhere}
@media(max-width:700px){.memory-source-badge,.memory-sync-note{font-size:11px}.memory-connection{align-items:flex-start;flex-direction:column}.memory-connection .text-link{min-height:40px}.memory-card .card-bottom button{min-height:40px;padding:4px 8px}.memory-origin-note{font-size:13px}.ombre-scope{line-height:1.9}}
.memory-remote-version{border:1px solid #c9bbde26;border-radius:8px;margin:16px 0;background:#17151e60}.memory-remote-version summary{cursor:pointer;padding:13px 14px;font-size:12px;color:#cdb9dc}.memory-remote-body{padding:0 14px 14px;user-select:text;-webkit-user-select:text}.memory-remote-body h4{font-size:13px;font-weight:500;color:#d4cbdc;overflow-wrap:anywhere}.memory-remote-body .modal-source{margin-top:10px}.memory-remote-body .panel-intro{margin:0 0 8px}
/* Prepared voice samples compare the same text without changing saved settings. */
.voice-audition-section{margin:0 0 25px;padding:0 0 23px;border-bottom:1px solid #c9bbde24}.voice-audition-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.voice-audition-heading h3{font-family:"Songti SC",serif;font-size:20px;font-weight:400;letter-spacing:1px;margin:0;color:#e0d5e9}.voice-audition-heading .text-link{margin:0;flex-shrink:0;font-size:11px;min-height:40px}.voice-audition-list{display:grid;gap:12px;margin-top:16px}.voice-audition-card{border:1px solid #c9bbde24;background:#17151e55;border-radius:12px;padding:15px;min-width:0}.voice-audition-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.voice-audition-title h4{font-size:14px;font-weight:500;margin:0;min-width:0;color:#d9cce4;overflow-wrap:anywhere}.voice-audition-number{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border-radius:50%;border:1px solid #c9bbde35;color:#cdb8df;font-size:11px}.voice-audition-badge{font-size:10px;color:#b8a3cb;border:1px solid #c9bbde20;border-radius:4px;padding:2px 5px;margin-left:auto}.voice-audition-description{font-size:12px;line-height:1.8;color:#ada0bc;margin:9px 0 10px;overflow-wrap:anywhere}.voice-audition-card audio{display:block;width:100%;max-width:100%;height:42px;margin:12px 0 9px}.voice-audition-meta{font-size:10px;line-height:1.8;color:#998aa9;margin:0;overflow-wrap:anywhere}.voice-audition-error{font-size:11px;line-height:1.8;margin:7px 0 0;overflow-wrap:anywhere}.voice-audition-error:empty{display:none}.voice-audition-text{margin:13px 0;font-size:11px;color:#b6a6c5;line-height:1.9}.voice-audition-text summary{cursor:pointer;min-height:36px;padding:7px 0}.voice-audition-text p{margin:3px 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.voice-audition-card{padding:14px 12px}.voice-audition-heading h3{font-size:21px}.voice-audition-title h4{font-size:15px}.voice-audition-meta,.voice-audition-badge{font-size:11px}.voice-audition-description,.voice-audition-text,.voice-audition-error{font-size:12px}.voice-audition-heading .text-link{min-height:44px}}
/* Response traces contain provider thinking and observed tool events only. */
.response-trace{border:1px solid #cbb8df22;border-radius:13px;background:#c1a6dc06;margin:0 0 18px;overflow:hidden;font-size:13px;color:#b9adca}
.response-trace>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;min-height:46px;padding:10px 14px;font-weight:500}.response-trace>summary::-webkit-details-marker{display:none}.trace-orbit{color:#c1a6da;font-size:20px}.trace-chevron{margin-left:auto;transition:transform .2s}.response-trace[open] .trace-chevron{transform:rotate(180deg)}.trace-preview{font-size:11px;padding:0 14px 11px;color:#a99db8}.trace-content{padding:0 15px 15px}.trace-caption{font-size:10px;color:#91859f}.trace-thinking .message-body{font-size:13px;line-height:1.8;color:#b7aec2;white-space:normal;padding-top:5px}.trace-thinking .message-body p{margin:8px 0}.trace-call{position:relative;display:flex;align-items:flex-start;gap:10px;padding:9px 0}.trace-call strong{font-size:12px;font-weight:500}.trace-call small{display:block;color:#9c91a9;font-size:11px}.trace-dot{width:7px;height:7px;border-radius:50%;background:#b6a4cf;margin-top:7px;flex-shrink:0}.trace-call.success .trace-dot{background:#9fb8ac}.trace-call.error .trace-dot{background:#d69898}.trace-call.running .trace-dot{animation:appear 1s infinite alternate}.connection{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-options{display:grid;gap:8px;margin:12px 0 22px}.profile-option{text-align:left;border:1px solid #c9bbde33;border-radius:10px;padding:12px;background:#c9bbde08}.profile-option strong,.profile-option span{display:block}.profile-option span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.model-switch-intro p{font-size:12px;color:var(--muted)}.model-save-backup{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
@media(max-width:700px){
 html,body{height:100%;overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0;width:100%}#app{height:var(--app-height,100dvh);transform:translateY(var(--viewport-top,0px));overflow:hidden}.app-shell,.app-shell.panel-closed{height:100%;min-height:0}.main{min-height:0}.topbar{flex-shrink:0;height:calc(52px + env(safe-area-inset-top));min-height:52px}.connection{font-size:11px;max-width:170px}.chat-scroll{padding:0 17px;overscroll-behavior:contain;scroll-behavior:auto}.message-list{padding:16px 0 8px}.message-body,.message.user .message-body{font-size:16px;line-height:1.8}.message{margin-bottom:23px}.composer-area{flex-shrink:0;padding:6px 12px calc(8px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#18171e 20%)}.composer{padding:10px 11px 7px}.composer textarea{min-height:25px;max-height:108px;line-height:1.5}.composer-footer{display:none}.composer-tools{margin-top:4px}.response-trace{margin-bottom:13px}.trace-thinking .message-body{font-size:14px}.trace-preview{font-size:12px}.keyboard-open .composer-area{padding-bottom:6px}.keyboard-open .composer-tools .icon-btn,.keyboard-open .composer .send-btn{height:36px}.keyboard-open .topbar{height:calc(46px + env(safe-area-inset-top));min-height:46px}.modal-overlay{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}.modal{max-height:calc(var(--app-height,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}
}

@media(max-width:700px){#app{position:fixed;top:0;left:0;width:100%;transform:none}.keyboard-open .composer-area{padding-bottom:6px}.keyboard-open .composer{padding-top:8px}.keyboard-open .topbar{padding-top:env(safe-area-inset-top)}}

/* With the keyboard closed, let CSS use the full standalone viewport. */
@media(max-width:700px){.composer-area{padding-bottom:max(6px,calc(env(safe-area-inset-bottom) - 12px));padding-top:4px}.keyboard-open .composer-area{padding-bottom:6px}.composer{padding-bottom:6px}.message-list{padding-bottom:2px}.message:last-child{margin-bottom:12px}}

/* Expose the actual iOS inset for the standalone viewport workaround. */
:root{--safe-top:env(safe-area-inset-top,0px)}

/* The OS-owned bottom strip already separates this window from the home indicator. */
@media(max-width:700px){.standalone-inset .composer-area{padding-bottom:6px}}

/* Blend the home scene into the iOS-owned strip without moving interactive controls. */
@media(max-width:700px){
 html{background:var(--bg)}
 .sanctuary-vignette{background:linear-gradient(180deg,#10101a2b 0%,#17141a08 30%,#15121e08 60%,#15121e45 83%,var(--bg) 100%),radial-gradient(ellipse at 50% 48%,transparent 20%,#0b09183b 95%)}
}

/* Keep the composer readable and lightweight on iOS WebKit (no heavy backdrop-filter in chat view) */
.composer-area{background:linear-gradient(180deg,transparent 0%,rgba(23,23,30,.85) 38%,#17171e 100%)}
.composer{background:linear-gradient(135deg,#2c2836,#24212e);border:1px solid rgba(222,206,244,.22);box-shadow:0 12px 30px rgba(8,5,15,.42)}
.composer textarea{background:transparent;color:var(--ink)}
.composer textarea::placeholder{color:#8f879e;opacity:.9}

/* Mobile layout adjustments for Stained-Glass Cathedral Sanctuary & Chat */
@media(max-width:700px){
 .topbar{background:#17161ff5;backdrop-filter:none;-webkit-backdrop-filter:none}
 .sanctuary-nav{padding:calc(18px + env(safe-area-inset-top)) 22px 0}
 .sanctuary-avatar{width:32px;height:32px}
 .brand img{width:36px;height:36px}
 .message.assistant{padding-left:42px}
 .assistant-avatar{width:32px;height:32px}
 .avatar-settings>img{width:84px;height:84px}
 .sanctuary-stage{padding:10px 22px calc(64px + env(safe-area-inset-bottom));gap:0}
 .anniversary.water-island{margin-top:clamp(10px,2.5vh,22px)}
 .anniversary.water-island .anniversary-number{font-size:clamp(76px,12.2vh,108px)}
 .anniversary.water-island .anniversary-caption{font-size:23px;margin-top:8px}
 .anniversary.water-island .anniversary-date{font-size:8px;letter-spacing:3px;margin-top:16px}
 .anniversary.water-island .anniversary-note{font-size:9px;letter-spacing:2px;margin-top:9px}
 .water-horizon{min-height:175px}
 .sanctuary-entry.water-island{gap:12px}
 .enter-chat{min-width:234px;padding:13px 25px;font-size:12px;letter-spacing:2.2px}
 .sanctuary-footer{left:22px;right:22px;bottom:calc(14px + env(safe-area-inset-bottom))}
 .sanctuary-status{font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .quiet-toggle{font-size:8px;padding:4px 10px}
 .scroll-bottom{right:16px;bottom:calc(102px + env(safe-area-inset-bottom));backdrop-filter:none;-webkit-backdrop-filter:none}
 .connection-pill{max-width:195px;padding:5px 9px;font-size:11px;backdrop-filter:none;-webkit-backdrop-filter:none}
 .pill-ombre{display:none}
 .quick-chip{min-height:40px;padding:8px 13px}
}

html[data-theme="marble"]{color-scheme:only light!important}
html[data-theme="marble"] .sanctuary-water{background:#ffffff!important;position:relative;overflow:hidden}
html[data-theme="marble"] .sanctuary-water::before{content:"";position:absolute;inset:-12px;z-index:0;background:url('/sanctuary-marble.jpg?v=20261122-ios-v26') center center/cover no-repeat;filter:blur(1.5px) brightness(1.06);opacity:.72;pointer-events:none}
html[data-theme="marble"] .sanctuary-water-veil{background:radial-gradient(ellipse at 50% 45%,rgba(255,255,255,.06) 0%,rgba(255,255,255,.38) 68%,rgba(255,255,255,.86) 100%),linear-gradient(180deg,rgba(255,255,255,.70) 0%,rgba(255,255,255,.06) 26%,rgba(255,255,255,.16) 72%,rgba(255,255,255,.88) 100%)!important}
html[data-theme="marble"] .sanctuary-vignette{background:none!important}
html[data-theme="marble"] .sanctuary-nav .icon-btn,html[data-theme="marble"] .sanctuary-nav-actions .icon-btn{background:rgba(255,255,255,.42)!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:1px solid rgba(45,42,38,.09)!important;color:#3d3833!important;box-shadow:0 0 18px rgba(255,255,255,.6)!important}
html[data-theme="marble"] .sanctuary .watch-card,html[data-theme="marble"] .watch-card.watch-live,html[data-theme="marble"] .watch-card.watch-whisper{background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;border-top:1px solid rgba(45,42,38,.08)!important;border-bottom:1px solid rgba(45,42,38,.08)!important;border-radius:0!important;padding:12px 2px!important;color:#3d3833!important;box-shadow:none!important}
html[data-theme="marble"] .watch-card .watch-heading,html[data-theme="marble"] .watch-card .watch-heading button{color:#3d3833!important;font-family:"Songti SC","Noto Serif SC",serif;font-weight:400}
html[data-theme="marble"] .watch-card .watch-heading small{color:#8c857d!important}
html[data-theme="marble"] .sanctuary .watch-card .watch-chip,html[data-theme="marble"] .watch-card .watch-chip{background:transparent!important;border:0!important;border-right:1px solid rgba(45,42,38,.07)!important;border-radius:0!important;padding:2px 8px 2px 0!important}
html[data-theme="marble"] .watch-card .watch-chip:last-child{border-right:0!important;padding-right:0!important}
html[data-theme="marble"] .watch-card .watch-chip strong{color:#1f1d1a!important;font-family:"Bodoni 72","Didot","Times New Roman",serif;font-weight:400}
html[data-theme="marble"] .watch-card .watch-chip small,html[data-theme="marble"] .watch-card .watch-chip em,html[data-theme="marble"] .watch-card .watch-chip span{color:#6e6963!important}
html[data-theme="marble"] .enter-chat{background:rgba(255,255,255,.92)!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:1px solid rgba(45,42,38,.16)!important;color:#1f1d1a!important;box-shadow:none!important}
html[data-theme="marble"] .enter-chat svg{color:#1f1d1a!important}
html[data-theme="marble"] .quiet-toggle{background:rgba(255,255,255,.88)!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:1px solid rgba(45,42,38,.12)!important;color:#4f4a44!important}
.obs-scroll{position:relative;z-index:2;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:calc(16px + env(safe-area-inset-top)) 20px calc(86px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto;box-sizing:border-box;font-family:"Songti SC","Noto Serif SC","STSong",serif}
.obs-scroll svg,.sanctuary-tabbar svg,.topbar svg{stroke-width:1.2}
.obs-scroll .sanctuary-stage{width:100%;max-width:100%;min-width:0;padding:0!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important}
.obs-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%;padding-bottom:14px;border-bottom:1px solid rgba(45,42,38,.07)}
.obs-title{min-width:0;flex:1}
.obs-title h1{margin:0;font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-weight:400;font-size:29px;letter-spacing:.3px;line-height:1.1;color:#3d3833}
.obs-title p{margin:6px 0 0;font-size:11px;letter-spacing:1.2px;color:#847e77}
.obs-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}
.obs-tag{font-size:9px;letter-spacing:1.4px;color:#9b958e;text-transform:uppercase}
.obs-constellation{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;width:100%;padding:24px 0 20px;align-items:center}
.obs-constellation::before{content:"";position:absolute;left:50%;top:50%;width:186px;height:186px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(45,42,38,.07);pointer-events:none}
.obs-node{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px;padding:6px 2px;min-width:0;max-width:100%;color:#3d3833;background:transparent!important;transition:transform .16s ease,opacity .16s ease}
.obs-node:active{transform:scale(.96);opacity:.7}
.obs-node i{font-style:normal;font-size:11px;color:#8c857d;line-height:1}
.obs-node strong{font-family:"Songti SC","Noto Serif SC",serif;font-size:12px;font-weight:400;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3d3833;text-shadow:0 0 10px rgba(255,255,255,.9)}
.obs-node em{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:10px;color:#8c857d}
.obs-node.obs-center{width:92px;height:92px;margin:0 auto;border-radius:50%;border:1px solid rgba(45,42,38,.12)!important;background:rgba(255,255,255,.44)!important;color:#3d3833!important;box-shadow:0 0 28px rgba(255,255,255,.78),inset 0 0 16px rgba(255,255,255,.55)!important}
.obs-node.obs-center strong{font-size:13px;letter-spacing:1.2px;font-weight:400;color:#3d3833!important}
.obs-node.obs-node-empty{pointer-events:none;min-height:24px}
.obs-pills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin:4px 0 22px}
.obs-pills button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;padding:8px 6px;border-radius:999px;border:1px solid rgba(45,42,38,.10)!important;background:rgba(255,255,255,.42)!important;color:#3d3833!important;font-size:11px;font-weight:400;white-space:nowrap;box-shadow:0 0 18px rgba(255,255,255,.6)!important}
.obs-pills button em{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:10px;color:#847e77!important}
.obs-liste{width:100%;min-width:0;border-top:1px solid rgba(45,42,38,.08);padding-top:14px}
.obs-liste-head{display:flex;align-items:baseline;gap:8px;margin-bottom:14px}
.obs-liste-head strong{font-family:"Songti SC","Noto Serif SC",serif;font-size:14px;font-weight:400;color:#3d3833}
.obs-liste-head em{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:13px;color:#847e77}
.obs-liste-head span{margin-left:auto;font-size:10px;color:#8c857d}
.obs-sec{width:100%;min-width:0;margin-bottom:18px}
.obs-sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid rgba(45,42,38,.07)}
.obs-sec-head span{font-size:11px;color:#57524c;letter-spacing:.8px}
.obs-sec-head em{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;color:#8c857d;margin-left:3px}
.obs-sec-head button{font-size:11px;color:#78716a;padding:2px 0}
.obs-billet{width:100%;box-sizing:border-box;background:rgba(255,255,255,.42)!important;border:1px solid rgba(45,42,38,.08)!important;border-radius:6px;padding:11px 13px;margin-bottom:8px;color:#3d3833!important;box-shadow:0 0 20px rgba(255,255,255,.65)!important}
.obs-billet-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8c857d!important;margin-bottom:5px}
.obs-billet-top button{font-size:14px;line-height:1;color:#9b958e!important;padding:0 4px}
.obs-billet p{margin:0;font-family:"Songti SC","Noto Serif SC",serif;font-size:13px;font-weight:400;line-height:1.8;color:#3d3833!important;white-space:normal;overflow-wrap:anywhere}
.obs-sec .watch-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
.obs-sec .watch-metrics>div{min-width:0!important}
.obs-mem-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;width:100%;text-align:left;padding:9px 2px;border-bottom:1px solid rgba(45,42,38,.06);background:transparent!important}
.obs-mem-row strong{font-family:"Songti SC","Noto Serif SC",serif;font-size:12px;font-weight:400;color:#3d3833!important;flex-shrink:0;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.obs-mem-row span{font-size:11px;color:#847e77!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.obs-empty{font-size:11px;color:#8c857d;margin:8px 0}
html[data-theme="dark"]{
 color-scheme:dark;
 --bg:#0b0b0d;--side:#0e0e11;--panel:#101013;--surface:#141418;--surface2:#1a1a1f;
 --line:rgba(255,255,255,.08);--line2:rgba(255,255,255,.14);
 --ink:#eae7e2;--muted:#9a9690;--dim:#68645f;--accent:#c4bfb8;--accent-bg:rgba(255,255,255,.06);
 --green:#8ea89a;--red:#d28f8a;
}
html[data-theme="dark"],html[data-theme="dark"] body{background:#0b0b0d!important;color:var(--ink)!important}
html[data-theme="dark"] .sanctuary-water{background:#0b0b0d!important;position:relative;overflow:hidden}
html[data-theme="dark"] .sanctuary-water::before{content:"";position:absolute;inset:-12px;z-index:0;background:url('/sanctuary-dark.jpg?v=20261122-ios-v28') center center/cover no-repeat;filter:blur(1.2px) contrast(1.04);opacity:.66;pointer-events:none}
html[data-theme="dark"] .sanctuary-water-veil{background:radial-gradient(ellipse at 50% 42%,rgba(11,11,13,.18) 0%,rgba(11,11,13,.66) 68%,rgba(11,11,13,.94) 100%),linear-gradient(180deg,rgba(11,11,13,.76) 0%,rgba(11,11,13,.22) 28%,rgba(11,11,13,.38) 72%,rgba(11,11,13,.94) 100%)!important}
html[data-theme="dark"] .sanctuary-vignette{background:none!important}
html[data-theme="dark"] .obs-title h1,html[data-theme="dark"] .obs-node strong,html[data-theme="dark"] .obs-liste-head strong,html[data-theme="dark"] .obs-billet p,html[data-theme="dark"] .obs-mem-row strong{color:#eae7e2!important}
html[data-theme="dark"] .obs-title p,html[data-theme="dark"] .obs-node em,html[data-theme="dark"] .obs-liste-head em,html[data-theme="dark"] .obs-liste-head span,html[data-theme="dark"] .obs-sec-head span,html[data-theme="dark"] .obs-sec-head em,html[data-theme="dark"] .obs-sec-head button,html[data-theme="dark"] .obs-billet-top,html[data-theme="dark"] .obs-mem-row span,html[data-theme="dark"] .obs-tag{color:#9a9690!important}
html[data-theme="dark"] .obs-node i{color:#c4bfb8!important}
html[data-theme="dark"] .obs-head,html[data-theme="dark"] .obs-liste,html[data-theme="dark"] .obs-sec-head,html[data-theme="dark"] .obs-mem-row{border-color:rgba(255,255,255,.09)!important}
html[data-theme="dark"] .sanctuary-nav-actions .icon-btn{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.14)!important;color:#eae7e2!important}
html[data-theme="dark"] .obs-node.obs-center,html[data-theme="dark"] .obs-pills button,html[data-theme="dark"] .obs-billet{background:rgba(18,18,22,.62)!important;border:1px solid rgba(255,255,255,.14)!important;color:#eae7e2!important;box-shadow:0 0 20px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .obs-pills button em{color:#9a9690!important}
html[data-theme="dark"] .sanctuary .watch-card,html[data-theme="dark"] .watch-card.watch-live,html[data-theme="dark"] .watch-card.watch-whisper{background:rgba(18,18,22,.64)!important;border:0!important;border-top:1px solid rgba(255,255,255,.10)!important;border-bottom:1px solid rgba(255,255,255,.10)!important;border-radius:0!important;padding:13px 2px!important;color:#eae7e2!important;box-shadow:none!important}
html[data-theme="dark"] .watch-card .watch-chip{background:transparent!important;border:0!important;border-right:1px solid rgba(255,255,255,.08)!important}
html[data-theme="dark"] .watch-card .watch-chip:last-child{border-right:0!important}
html[data-theme="dark"] .watch-card .watch-chip strong,html[data-theme="dark"] .watch-card .watch-heading,html[data-theme="dark"] .watch-card .watch-heading button{color:#eae7e2!important}
html[data-theme="dark"] .watch-card .watch-chip small,html[data-theme="dark"] .watch-card .watch-chip em,html[data-theme="dark"] .watch-card .watch-chip span{color:#9a9690!important}
.sanctuary-tabbar{position:absolute;left:0;right:0;bottom:0;z-index:4;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid rgba(45,42,38,.09);background:rgba(255,255,255,.94);padding:7px 8px calc(8px + env(safe-area-inset-bottom))}
.sanctuary-tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 2px;color:#847e77}
.sanctuary-tabbar button em{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:13px;line-height:1.1;letter-spacing:.2px}
.sanctuary-tabbar button span{font-size:9px;letter-spacing:1.2px}
.sanctuary-tabbar button.active{color:#1f1d1a}
.sanctuary-tabbar button.active em{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
html[data-theme="dark"] .sanctuary-tabbar{background:rgba(11,11,13,.88)!important;border-top-color:rgba(255,255,255,.10)!important}
html[data-theme="dark"] .sanctuary-tabbar button{color:#8c8780!important}
html[data-theme="dark"] .sanctuary-tabbar button.active{color:#eae7e2!important}
.salon-title{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.salon-title em{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:21px;font-weight:400;color:#1f1d1a;letter-spacing:.3px}
.salon-title small{font-size:10px;color:#8c857d;letter-spacing:.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme="dark"] .salon-title em{color:#eae7e2!important}
html[data-theme="dark"] .salon-title small{color:#9a9690!important}
.topbar [data-action="home"] svg{transform:rotate(180deg)}
.user-quill-tag{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:10px;color:#9b958e;margin-bottom:4px;letter-spacing:.5px}
html[data-theme="marble"] .app-shell{background:#ffffff!important;position:relative}
html[data-theme="marble"] .app-shell::before{content:"";position:absolute;inset:-12px;z-index:0;background:url('/sanctuary-marble.jpg?v=20261122-ios-v26') center center/cover no-repeat;filter:blur(1.5px) brightness(1.07);opacity:.68;pointer-events:none}
html[data-theme="marble"] .app-shell::after{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 50% 46%,rgba(255,255,255,.08) 0%,rgba(255,255,255,.42) 68%,rgba(255,255,255,.88) 100%);pointer-events:none}
html[data-theme="marble"] .main{position:relative;z-index:1;background:transparent!important}
html[data-theme="marble"] .topbar{background:linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.62) 72%,rgba(255,255,255,0) 100%)!important;border-bottom:0!important}
html[data-theme="marble"] .message.assistant{padding-left:0!important}
html[data-theme="marble"] .assistant-avatar{display:none!important}
html[data-theme="marble"] .message.assistant .message-body{background:transparent!important;border:0!important;border-radius:0!important;padding:2px 0!important;box-shadow:none!important;color:#1f1d1a!important;line-height:1.9;text-shadow:0 0 12px rgba(255,255,255,.95)}
html[data-theme="marble"] .assistant-content .segment-row{margin-bottom:7px}
html[data-theme="marble"] .message.assistant .assistant-content .message-body.segment-bubble{display:inline-block;max-width:100%;background:rgba(255,255,255,.52)!important;border:1px solid rgba(45,42,38,.09)!important;border-radius:4px 14px 14px 14px!important;padding:9px 13px!important;box-shadow:0 0 18px rgba(255,255,255,.72)!important;color:#1f1d1a!important;line-height:1.8}
html[data-theme="marble"] .message-meta{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:11px;color:#9b958e!important;margin-bottom:4px}
html[data-theme="marble"] .response-trace{background:transparent!important;border:0!important;border-radius:0!important;margin:0 0 8px!important;color:#8c857d!important}
html[data-theme="marble"] .response-trace[open]{border-bottom:1px dashed rgba(45,42,38,.10)!important;padding-bottom:6px!important;margin-bottom:12px!important}
html[data-theme="marble"] .response-trace>summary{min-height:24px!important;padding:2px 0!important;font-size:11px!important;font-weight:400!important;color:#8c857d!important}
html[data-theme="marble"] .trace-preview,html[data-theme="marble"] .trace-content{padding-left:0!important;padding-right:0!important}
html[data-theme="marble"] .trace-thinking .message-body{font-size:12px!important;line-height:1.75!important;color:#6e6963!important;border-left:1px solid rgba(45,42,38,.14)!important;padding:2px 0 2px 11px!important;margin:4px 0 12px!important;text-shadow:0 0 10px rgba(255,255,255,.95),0 0 4px rgba(255,255,255,.95)!important}
.assistant-content .segment-row{animation:appear .28s ease both}
.assistant-content .segment-row:nth-child(2){animation-delay:.08s}
.assistant-content .segment-row:nth-child(3){animation-delay:.16s}
.assistant-content .segment-row:nth-child(4){animation-delay:.24s}
.message-actions{opacity:.65}
.message-actions button{font-size:10px!important}
html[data-theme="marble"] .message.user .message-body{background:rgba(255,255,255,.52)!important;border:1px solid rgba(45,42,38,.11)!important;border-radius:6px!important;box-shadow:0 0 22px rgba(255,255,255,.85),inset 0 0 14px rgba(255,255,255,.55)!important;padding:11px 14px!important;color:#1f1d1a!important}
html[data-theme="marble"] .composer-area{background:linear-gradient(180deg,transparent 0%,rgba(255,255,255,.84) 38%,rgba(255,255,255,.98) 100%)!important}
html[data-theme="marble"] .composer{background:rgba(255,255,255,.68)!important;border:1px solid rgba(45,42,38,.11)!important;border-radius:20px!important;box-shadow:0 0 20px rgba(255,255,255,.85)!important}
html[data-theme="marble"] .boot{background:linear-gradient(rgba(255,255,255,.62),rgba(255,255,255,.88)),url('/sanctuary-marble.jpg?v=20261122-ios-v27') center center/cover no-repeat!important;color:#4f4a44!important}
html[data-theme="marble"] .boot-title{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:32px;color:#1f1d1a;letter-spacing:.6px;margin-bottom:8px}
html[data-theme="marble"] .boot p{font-family:"Songti SC","Noto Serif SC",serif;font-size:12px;letter-spacing:2px;color:#6e6963}
html[data-theme="marble"] .boot-orbit{border-color:rgba(45,42,38,.10)!important;border-top-color:#1f1d1a!important}
html[data-theme="marble"] .sidebar,html[data-theme="marble"] .right-panel{background:rgba(255,255,255,.96)!important;color:#1f1d1a!important;border-color:rgba(45,42,38,.08)!important}
html[data-theme="marble"] .panel-tab{color:#8c857d!important}
html[data-theme="marble"] .panel-tab.selected{color:#1f1d1a!important}
html[data-theme="marble"] .panel-tab.selected::after{background:#1f1d1a!important}
html[data-theme="marble"] .panel-foot,html[data-theme="marble"] .source-note,html[data-theme="marble"] .panel-intro,html[data-theme="marble"] .history-link,html[data-theme="marble"] .nav-label,html[data-theme="marble"] .user-info small{color:#6e6963!important}
html[data-theme="marble"] .history-link.selected,html[data-theme="marble"] .history-link:hover,html[data-theme="marble"] .user-info strong{color:#1f1d1a!important}
html[data-theme="marble"] .pill-ombre{background:rgba(45,42,38,.05)!important;color:#57524c!important;border-color:rgba(45,42,38,.14)!important}
html[data-theme="marble"] .quick-status-card,html[data-theme="marble"] .connection-facts,html[data-theme="marble"] .voice-readiness,html[data-theme="marble"] .memory-remote-version,html[data-theme="marble"] .voice-audition-card,html[data-theme="marble"] .mobile-address,html[data-theme="marble"] .mobile-result,html[data-theme="marble"] .memory-origin-note{background:rgba(255,255,255,.92)!important;border:1px solid rgba(45,42,38,.10)!important;color:#1f1d1a!important}
html[data-theme="marble"] .quick-label,html[data-theme="marble"] .form-hint,html[data-theme="marble"] .audio-note,html[data-theme="marble"] .phone-steps p,html[data-theme="marble"] .voice-audition-description,html[data-theme="marble"] .voice-audition-meta,html[data-theme="marble"] .voice-audition-text,html[data-theme="marble"] .memory-sync-note,html[data-theme="marble"] .memory-connection{color:#6e6963!important}
html[data-theme="marble"] .connection-facts strong,html[data-theme="marble"] .voice-readiness strong,html[data-theme="marble"] .phone-steps strong,html[data-theme="marble"] .voice-audition-heading h3,html[data-theme="marble"] .voice-audition-title h4,html[data-theme="marble"] .mobile-address code,html[data-theme="marble"] .memory-remote-body h4,html[data-theme="marble"] .memory-remote-version summary{color:#1f1d1a!important}
html[data-theme="marble"] .phone-mark,html[data-theme="marble"] .phone-steps>li>span,html[data-theme="marble"] .voice-audition-number,html[data-theme="marble"] .voice-audition-badge,html[data-theme="marble"] .memory-source-badge{background:#ffffff!important;border-color:rgba(45,42,38,.14)!important;color:#3a3632!important}
html[data-theme="marble"] .quick-chip{background:#ffffff!important;border:1px solid rgba(45,42,38,.12)!important;color:#3a3632!important}
html[data-theme="marble"] .quick-chip.active{background:#f4f3f0!important;border-color:#1f1d1a!important;color:#1f1d1a!important}
html[data-theme="marble"] .settings-tab{color:#8c857d!important}
html[data-theme="marble"] .settings-tab.active{color:#1f1d1a!important;border-bottom-color:#1f1d1a!important}
html[data-theme="marble"] .text-link{color:#4f4a44!important}
html[data-theme="marble"] .hello-kicker,html[data-theme="marble"] .hello-sub{color:#6e6963!important}
html[data-theme="marble"] .hello-kicker::before{background:rgba(45,42,38,.22)!important}
html[data-theme="marble"] .hello-title,html[data-theme="marble"] .hello-title span{color:#1f1d1a!important}
html[data-theme="marble"] .suggestion{background:rgba(255,255,255,.76)!important;border:1px solid rgba(45,42,38,.12)!important;color:#1f1d1a!important}
html[data-theme="marble"] .memory-card .card-top,html[data-theme="marble"] .memory-card .card-bottom,html[data-theme="marble"] .memory-card .card-bottom button{color:#6e6963!important}
html[data-theme="marble"] .settings-group,html[data-theme="marble"] .summary-preview,html[data-theme="marble"] .project-space-row,html[data-theme="marble"] .memory-labels span{background:#ffffff!important;border-color:rgba(45,42,38,.10)!important;color:#3d3833!important}
html[data-theme="marble"] .profile-del{background:#ffffff!important;border-color:rgba(45,42,38,.14)!important;color:#6e6963!important}
html[data-theme="marble"] .error-inline{background:rgba(255,255,255,.92)!important;border:1px solid rgba(176,107,107,.35)!important;color:#8c4a4a!important}
@media(max-width:700px){
 .sanctuary-footer{bottom:calc(62px + env(safe-area-inset-bottom))!important}
 .sanctuary-stage{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
 html[data-theme="marble"] .topbar{background:linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.62) 72%,rgba(255,255,255,0) 100%)!important;border-bottom:0!important}
 html[data-theme="marble"] .composer-area{background:linear-gradient(180deg,transparent 0%,rgba(255,255,255,.84) 38%,rgba(255,255,255,.98) 100%)!important}
 html[data-theme="marble"] .composer{background:rgba(255,255,255,.68)!important;border-color:rgba(45,42,38,.11)!important;box-shadow:0 0 20px rgba(255,255,255,.85)!important}
 html[data-theme="marble"] .composer textarea{color:#1f1d1a!important}
 html[data-theme="marble"] .composer textarea::placeholder{color:#9b958e!important}
}
html[data-theme="dark"] .app-shell{background:#0b0b0d!important;position:relative}
html[data-theme="dark"] .app-shell::before{content:"";position:absolute;inset:-12px;z-index:0;background:url('/sanctuary-dark.jpg?v=20261122-ios-v28') center center/cover no-repeat;filter:blur(1.2px) contrast(1.04);opacity:.62;pointer-events:none}
html[data-theme="dark"] .app-shell::after{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 50% 45%,rgba(11,11,13,.22) 0%,rgba(11,11,13,.70) 68%,rgba(11,11,13,.94) 100%);pointer-events:none}
html[data-theme="dark"] .main{position:relative;z-index:1;background:transparent!important}
html[data-theme="dark"] .topbar{background:linear-gradient(180deg,rgba(11,11,13,.94) 0%,rgba(11,11,13,.62) 72%,rgba(11,11,13,0) 100%)!important;border-bottom:0!important;color:#eae7e2!important}
html[data-theme="dark"] .connection-pill{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;color:#eae7e2!important}
html[data-theme="dark"] .pill-ombre{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.16)!important;color:#c4bfb8!important}
html[data-theme="dark"] .message.assistant{padding-left:0!important}
html[data-theme="dark"] .assistant-avatar{display:none!important}
html[data-theme="dark"] .message.assistant .message-body{background:transparent!important;border:0!important;border-radius:0!important;padding:2px 0!important;box-shadow:none!important;color:#eae7e2!important;line-height:1.9}
html[data-theme="dark"] .assistant-content .segment-row{margin-bottom:7px}
html[data-theme="dark"] .message.assistant .assistant-content .message-body.segment-bubble{display:inline-block;max-width:100%;background:rgba(18,18,22,.58)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:4px 14px 14px 14px!important;padding:9px 13px!important;box-shadow:0 0 18px rgba(0,0,0,.45)!important;color:#eae7e2!important;line-height:1.8}
html[data-theme="dark"] .message-meta{font-family:"Bodoni 72","Didot","Times New Roman",serif;font-style:italic;font-size:11px;color:#8c8780!important}
html[data-theme="dark"] .response-trace{background:transparent!important;border:0!important;margin:0 0 8px!important;color:#9a9690!important}
html[data-theme="dark"] .response-trace[open]{border-bottom:1px dashed rgba(255,255,255,.12)!important;padding-bottom:6px!important;margin-bottom:12px!important}
html[data-theme="dark"] .response-trace>summary{min-height:24px!important;padding:2px 0!important;font-size:11px!important;color:#9a9690!important}
html[data-theme="dark"] .trace-preview,html[data-theme="dark"] .trace-content{padding-left:0!important;padding-right:0!important}
html[data-theme="dark"] .trace-thinking .message-body{font-size:12px!important;line-height:1.75!important;color:#9a9690!important;border-left:1px solid rgba(255,255,255,.16)!important;padding:2px 0 2px 11px!important;margin:4px 0 12px!important;text-shadow:0 0 8px rgba(11,11,13,.9)!important}
html[data-theme="dark"] .message.user .message-body{background:rgba(18,18,22,.60)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:6px!important;box-shadow:0 0 22px rgba(0,0,0,.55),inset 0 0 14px rgba(255,255,255,.04)!important;padding:11px 14px!important;color:#eae7e2!important}
html[data-theme="dark"] .composer-area{background:linear-gradient(180deg,transparent 0%,rgba(11,11,13,.86) 38%,#0b0b0d 100%)!important}
html[data-theme="dark"] .composer{background:rgba(18,18,22,.72)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:20px!important;box-shadow:0 0 20px rgba(0,0,0,.6)!important}
html[data-theme="dark"] .composer textarea{color:#eae7e2!important}
html[data-theme="dark"] .composer textarea::placeholder{color:#78746e!important}
html[data-theme="dark"] .send-btn{background:rgba(255,255,255,.14)!important;color:#eae7e2!important;border:1px solid rgba(255,255,255,.18)!important}
html[data-theme="dark"] .boot{background:linear-gradient(rgba(11,11,13,.62),rgba(11,11,13,.88)),url('/sanctuary-dark.jpg?v=20261122-ios-v29') center center/cover no-repeat!important;color:#9a9690!important}
html[data-theme="dark"] .boot-title{color:#eae7e2!important}
html[data-theme="dark"] .boot p{color:#9a9690!important}
html[data-theme="dark"] .boot-orbit{border-color:rgba(255,255,255,.12)!important;border-top-color:#eae7e2!important}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .right-panel{background:#0e0e11!important;border-color:rgba(255,255,255,.08)!important;color:#eae7e2!important}
html[data-theme="dark"] .new-chat,html[data-theme="dark"] .load-older-messages,html[data-theme="dark"] .suggestion{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.14)!important;color:#eae7e2!important}
html[data-theme="dark"] .nav-link.active{background:rgba(255,255,255,.08)!important;color:#eae7e2!important}
html[data-theme="dark"] .nav-link,html[data-theme="dark"] .history-link,html[data-theme="dark"] .panel-foot,html[data-theme="dark"] .source-note,html[data-theme="dark"] .panel-intro,html[data-theme="dark"] .hello-kicker,html[data-theme="dark"] .hello-sub,html[data-theme="dark"] .text-link,html[data-theme="dark"] .message-actions button{color:#9a9690!important}
html[data-theme="dark"] .hello-title,html[data-theme="dark"] .hello-title span,html[data-theme="dark"] .history-link.selected,html[data-theme="dark"] .user-info strong{color:#eae7e2!important}
html[data-theme="dark"] .avatar{background:#18181d!important;color:#eae7e2!important;border-color:rgba(255,255,255,.14)!important}
html[data-theme="dark"] .trace-orbit{color:#c4bfb8!important}
html[data-theme="dark"] #toast{background:#18181d!important;color:#eae7e2!important;border-color:rgba(255,255,255,.16)!important}
html[data-theme="dark"] .modal,html[data-theme="dark"] .quick-status-card,html[data-theme="dark"] .connection-facts,html[data-theme="dark"] .voice-readiness,html[data-theme="dark"] .voice-audition-card,html[data-theme="dark"] .memory-card,html[data-theme="dark"] .profile-option,html[data-theme="dark"] .field,html[data-theme="dark"] .quick-chip,html[data-theme="dark"] .settings-group,html[data-theme="dark"] .summary-preview,html[data-theme="dark"] .project-space-row,html[data-theme="dark"] .memory-remote-version,html[data-theme="dark"] .mobile-address,html[data-theme="dark"] .mobile-result,html[data-theme="dark"] .memory-origin-note,html[data-theme="dark"] .code-block,html[data-theme="dark"] .scroll-bottom{background:#141418!important;border-color:rgba(255,255,255,.12)!important;color:#eae7e2!important}
html[data-theme="dark"] .profile-option.active-profile{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.32)!important}
html[data-theme="dark"] .profile-del,html[data-theme="dark"] .phone-mark,html[data-theme="dark"] .phone-steps>li>span,html[data-theme="dark"] .voice-audition-number,html[data-theme="dark"] .voice-audition-badge,html[data-theme="dark"] .memory-source-badge,html[data-theme="dark"] .memory-labels span{background:#18181d!important;border-color:rgba(255,255,255,.14)!important;color:#c4bfb8!important}
html[data-theme="dark"] .phone-steps strong,html[data-theme="dark"] .connection-facts strong,html[data-theme="dark"] .voice-readiness strong,html[data-theme="dark"] .voice-audition-heading h3,html[data-theme="dark"] .voice-audition-title h4,html[data-theme="dark"] .mobile-address code,html[data-theme="dark"] .memory-remote-body h4,html[data-theme="dark"] .memory-remote-version summary{color:#eae7e2!important}
html[data-theme="dark"] .phone-steps p,html[data-theme="dark"] .audio-note,html[data-theme="dark"] .voice-audition-description,html[data-theme="dark"] .voice-audition-meta,html[data-theme="dark"] .voice-audition-text,html[data-theme="dark"] .memory-sync-note,html[data-theme="dark"] .memory-connection,html[data-theme="dark"] .memory-card .card-top,html[data-theme="dark"] .memory-card .card-bottom,html[data-theme="dark"] .memory-card .card-bottom button,html[data-theme="dark"] .settings-tab{color:#9a9690!important}
html[data-theme="dark"] .primary{background:#eae7e2!important;color:#0b0b0d!important}
html[data-theme="dark"] .secondary{border-color:rgba(255,255,255,.16)!important;color:#c4bfb8!important}
html[data-theme="dark"] .settings-tab.active,html[data-theme="dark"] .panel-tab.selected{color:#eae7e2!important;border-bottom-color:#eae7e2!important}
