/* DOBBY d208: approved layout. Desktop = big orb centered, fixed floating tile ring, slim conversation bar at the bottom.
   Phone (<=900px) = orb in the upper half, centered chip rows, one-line conversation, pill input, bottom sheets. */
body.dz-ring{--dz-bar:92px;--g:#39ff88;--t:#e8f2ff;--m:#b4c2de;overflow:hidden;
  background:radial-gradient(ellipse 80% 70% at 50% 42%,#151c56 0%,#070a24 52%,#010208 100%) fixed}
body.dz-ring .workspace{display:block!important;position:fixed;inset:0 0 0 var(--dz-rail,76px);padding:0!important;margin:0!important;max-width:none!important;background:none!important}
/* slim icon rail */
body.dz-ring .sidebar{width:76px!important;min-width:0!important;padding:14px 8px!important;background:#050817cc!important;border-right:1px solid #39ff8822!important;position:fixed;inset:0 auto 0 0;z-index:8;overflow:auto}
body.dz-ring .sidebar .brand>span:not(.brand-mark),body.dz-ring .rail-label,body.dz-ring .rail-note,body.dz-ring #fullscreen-toggle span{display:none!important}
body.dz-ring #dashboard-nav button,body.dz-ring .sidebar nav button{font-size:0!important;width:52px;height:48px;padding:0!important;display:grid;place-items:center;margin:4px auto;border-radius:14px}
body.dz-ring #dashboard-nav button span,body.dz-ring .sidebar nav button span{font-size:20px!important}
body.dz-ring .visual-stage{position:absolute!important;inset:0 0 var(--dz-bar) 0;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
body.dz-ring .stage-header{position:absolute;top:14px;left:22px;z-index:3;padding:0;margin:0}
body.dz-ring .stage-header .eyebrow{font-size:10px;letter-spacing:.2em;color:var(--m)}
body.dz-ring .stage-header h1{font:700 18px ui-monospace,monospace;letter-spacing:.24em;color:var(--g);margin:2px 0 0;text-shadow:0 0 12px #39ff8870}
body.dz-ring .engine-tag,body.dz-ring .stage-footer{display:none!important}
body.dz-ring .core-area{position:absolute!important;inset:0!important;display:block!important;margin:0!important;padding:0!important;height:auto!important}
body.dz-ring #core{position:absolute!important;left:50%;top:50%;width:min(58vmin,620px)!important;height:min(58vmin,620px)!important;transform:translate(-50%,-54%)!important;margin:0!important}
body.dz-ring #globe{width:100%!important;height:100%!important}
body.dz-ring #status{position:absolute!important;left:50%;top:calc(50% + min(29vmin,310px) - 6px);transform:translateX(-50%);margin:0;white-space:nowrap;
  font:500 12px ui-monospace,monospace!important;letter-spacing:.2em;color:#7dffb3!important;z-index:2}
/* tiles: fixed spots, a 3px bob, shadow + glow, lift on hover */
.dz-ring-tiles{position:absolute;inset:0;pointer-events:none;z-index:2}
.dz-tile{position:absolute;pointer-events:auto;width:218px;min-height:98px;padding:12px 15px;border-radius:16px;display:flex;flex-direction:column;gap:2px;text-align:left;cursor:pointer;
  color:var(--t);font:inherit;background:linear-gradient(160deg,#17214ce6,#0a0f2ce6);border:1px solid #39ff8840;backdrop-filter:blur(8px);
  box-shadow:0 18px 30px -12px #000c,0 0 18px #39ff8820,inset 0 1px 0 #ffffff14;transform:translate(-50%,-50%);animation:dz-bob 6s ease-in-out infinite;
  transition:translate .25s ease,box-shadow .25s,border-color .25s}
.dz-tile:hover,.dz-tile:focus-visible{translate:0 -6px;border-color:#39ff88b0;box-shadow:0 28px 40px -14px #000e,0 0 28px #39ff8850,inset 0 1px 0 #ffffff22}
.dz-tile:focus-visible{outline:2px solid var(--g)!important;outline-offset:3px}
@keyframes dz-bob{0%,100%{margin-top:0}50%{margin-top:-3px}}
.dz-title{font:600 11px ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--g);display:flex;gap:7px;align-items:center}
.dz-value{font:600 20px/1.2 ui-monospace,monospace;color:var(--t);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.dz-detail{font-size:13px;color:var(--m);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.dz-chip{display:none}
.dz-tile[data-level=alert],.dz-tile[data-level=live]{border-color:#ff7a7a88}.dz-tile[data-level=alert] .dz-title,.dz-tile[data-level=live] .dz-title{color:#ff9d9d}
.dz-tile[data-level=off] .dz-value{color:var(--m)}
.dz-tile[data-tile=elections] .dz-value{font-size:15px}
body.module-open .dz-ring-tiles,body.dz-sheet-open .dz-ring-tiles{opacity:0;pointer-events:none}
body.module-open #core,body.dz-sheet-open #core{opacity:.3}
/* expanded feature: module panels and the DOBBY sheet open as a zoom panel on desktop */
body.dz-ring #module-panel,body.dz-ring #users-panel,body.dz-ring #personality-panel,.dz-sheet{position:fixed!important;left:calc(var(--dz-rail,76px) + 6vw)!important;right:6vw!important;top:6vh!important;bottom:calc(var(--dz-bar) + 18px)!important;
  width:auto!important;max-width:none!important;height:auto!important;margin:0!important;overflow:auto;z-index:20;border-radius:22px!important;padding:26px 32px!important;
  background:linear-gradient(160deg,#121b45,#070b22)!important;border:1px solid #39ff8870!important;box-shadow:0 0 60px #39ff8830,0 40px 80px -20px #000!important;color:var(--t);animation:dz-zoom .28s ease-out}
@keyframes dz-zoom{from{transform:scale(.96)}}
.dz-sheet[hidden]{display:none!important}
.dz-scrim{position:fixed;inset:0;z-index:19;background:#0006}.dz-scrim[hidden]{display:none}
.dz-grab{display:none}
.dz-close{position:absolute;top:16px;right:18px;width:44px;height:44px;border-radius:50%;border:1px solid #5b8cff77;background:#0d1840;color:var(--t);font-size:16px;cursor:pointer}
.dz-sheet-title{margin:0 0 6px;font:700 13px ui-monospace,monospace!important;letter-spacing:.2em;text-transform:uppercase;color:var(--g)}
.dz-big{font:200 76px/1.05 system-ui,sans-serif;margin:8px 0 4px;letter-spacing:-.02em}.dz-big-s{font-size:40px}
.dz-lead{font-size:18px;margin:4px 0 16px}.dz-lead-b{font-weight:600}.dz-muted{color:var(--m)}
.dz-row{display:flex;gap:16px;padding:10px 0;border-top:1px solid #ffffff12}.dz-k{width:130px;flex:none;color:var(--m)}.dz-v{flex:1}
.dz-action{display:inline-flex;align-items:center;min-height:44px;margin:16px 10px 0 0;padding:0 18px;border-radius:99px;border:1px solid #39ff8866;background:#0c1a3a;color:var(--t);font:inherit;cursor:pointer}
.dz-action:hover{border-color:var(--g)}
/* conversation bar */
body.dz-ring #dobby-chat.dz-bar{position:fixed!important;left:calc(50% + var(--dz-rail,76px)/2)!important;bottom:14px!important;top:auto!important;right:auto!important;transform:translateX(-50%);width:min(1000px,calc(100% - var(--dz-rail,76px) - 28px))!important;
  height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:4px 10px 10px!important;border-radius:20px!important;z-index:15;overflow:visible!important;display:flex!important;flex-direction:column;
  background:linear-gradient(180deg,#0f1638f0,#070b22f5)!important;border:1px solid #5b8cff55!important;box-shadow:0 0 24px #5b8cff30,0 -10px 30px -10px #000c!important}
.dz-bar .chat-header,.dz-bar .conversation-picker,.dz-bar .chat-footnote,.dz-bar .history-toolbar,.dz-bar .voice-toolbar #voice-status{display:none!important}
.dz-bar .voice-toolbar{display:contents!important}
.dz-bar #chat-history{order:1;flex:none!important;height:auto!important;min-height:0!important;max-height:46px!important;overflow:hidden!important;margin:0!important;padding:6px 8px 2px!important;border:0!important;background:none!important;cursor:pointer;
  mask-image:linear-gradient(to bottom,transparent,#000 45%);transition:max-height .3s}
.dz-bar #chat-history p{margin:0 0 3px!important;padding:0!important;background:none!important;border:0!important;font-size:14px!important;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:none!important}
.dz-bar.dz-open #chat-history{max-height:58vh!important;overflow:auto!important;mask-image:none;cursor:auto;padding-top:12px!important}
.dz-bar.dz-open #chat-history p{white-space:normal}
.dz-bar.dz-open .chat-header,.dz-bar.dz-open .conversation-picker,.dz-bar.dz-open .history-toolbar{display:flex!important;order:0;gap:10px;align-items:center;margin:6px 6px 0!important;padding:0!important;border:0!important;background:none!important}
.dz-bar.dz-open .chat-header .eyebrow,.dz-bar.dz-open .chat-header h2{display:none}
.dz-bar #owner-login:not([hidden]){order:2;display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 6px!important;padding:0!important;background:none!important;border:0!important}
.dz-pill{order:3;display:flex;align-items:center;gap:4px;height:54px;margin-top:6px;padding:0 6px;border-radius:99px;background:#050818;box-shadow:inset 0 0 0 1px #5b8cff50}
.dz-pill:focus-within{box-shadow:inset 0 0 0 1px #39ff8899,0 0 18px #39ff8830}
.dz-pill #chat-form{flex:1;display:flex!important;align-items:center;gap:4px;margin:0!important;padding:0!important;border:0!important;background:none!important;min-width:0}
.dz-pill #chat-input{flex:1;min-width:0;height:44px;background:none!important;border:0!important;box-shadow:none!important;color:var(--t)!important;font:300 15px system-ui,sans-serif!important;padding:0 10px!important;outline:none}
.dz-pill #chat-input::placeholder{color:#b4c2de!important;opacity:1}
.dz-pill #chat-input:focus-visible{outline:none}
.dz-icon,.dz-more,.dz-pill #dobby-stop{flex:none;width:44px!important;height:44px!important;min-width:44px;padding:0!important;margin:0!important;border-radius:50%!important;display:grid!important;place-items:center;font-size:0!important;
  border:0!important;background:transparent!important;color:var(--t)!important;cursor:pointer;box-shadow:none!important}
.dz-icon svg{width:20px;height:20px}.dz-icon span{display:none!important}
.dz-more{font-size:15px!important;color:var(--m)!important}
.dz-send::before{content:"\2191";font-size:20px;font-weight:600;color:var(--g)}.dz-attach{font-size:16px!important}.dz-send>*{display:none}
#voice-toggle.dz-icon[aria-pressed=true]{background:#39ff8822!important;color:var(--g)!important}
.dz-pill #dobby-stop,.dz-pill #dobby-stop[hidden]{display:grid!important;background:#ff4d5e26!important;color:#ffb0b8!important}
.dz-pill #dobby-stop::before{content:"";width:12px;height:12px;border-radius:3px;background:currentColor}
.dz-icon:hover,.dz-more:hover{background:#ffffff12!important}
.dz-icon:focus-visible,.dz-more:focus-visible,.dz-pill #dobby-stop:focus-visible,.dz-close:focus-visible,.dz-action:focus-visible{outline:2px solid var(--g)!important;outline-offset:2px}
.dz-bar #voice-toggle:disabled,.dz-send:disabled{opacity:.45}

/* ---- phone (fold inner style on every width) ---- */
@media (max-width:900px){
 body.dz-ring{--dz-rail:0px;--dz-bar:128px;background:radial-gradient(ellipse 90% 55% at 50% 30%,#182060 0%,#080b28 55%,#020309 100%) fixed}
 body.dz-ring .sidebar{display:none!important}
 body.dz-ring .workspace{inset:0}
 body.dz-ring .visual-stage{overflow-y:auto!important;overflow-x:hidden!important}
 body.dz-ring .stage-header{left:24px;top:16px}body.dz-ring .stage-header .eyebrow{display:none}
 body.dz-ring .core-area{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;align-items:center;padding:56px 0 24px!important;min-height:100%}
 body.dz-ring #core{position:relative!important;left:auto;top:auto;transform:none!important;width:min(84vw,48vh,560px)!important;height:min(84vw,48vh,560px)!important;filter:drop-shadow(0 0 30px #3a5bff40)}
 body.dz-ring #status{position:static!important;left:auto!important;top:auto!important;transform:none!important;margin:-4px 0 0!important;font-size:11px!important;letter-spacing:.22em}
 .dz-ring-tiles{position:static;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:26px 20px 8px;max-width:720px;pointer-events:auto}
 .dz-tile{position:static;transform:none;width:auto;min-height:44px;padding:0 16px;border-radius:99px;flex-direction:row;align-items:center;gap:8px;animation:none;
   background:#ffffff0d;border:0;box-shadow:0 8px 22px -10px #000,inset 0 0 0 1px #39ff8828}
 .dz-tile:hover,.dz-tile:focus-visible{translate:0 -2px}
 .dz-tile .dz-title{font-size:0;letter-spacing:0;gap:0}.dz-tile .dz-ic{font-size:15px;color:var(--g)}
 .dz-tile .dz-value,.dz-tile .dz-detail{display:none}
 .dz-chip{display:inline;font:400 14px system-ui,sans-serif;white-space:nowrap;color:var(--t)}
 .dz-tile[data-level=alert],.dz-tile[data-level=live]{border:0;box-shadow:0 8px 22px -10px #000,inset 0 0 0 1px #ff7a7a70}
 .dz-tile[data-level=off] .dz-chip{color:var(--m)}
 body.dz-ring #dobby-chat.dz-bar{left:0!important;right:0!important;bottom:0!important;transform:none;width:auto!important;border-radius:0!important;border:0!important;background:linear-gradient(180deg,transparent,#020309 30%)!important;box-shadow:none!important;padding:0 16px 20px!important}
 .dz-bar #chat-history{max-height:28px!important;mask-image:none;padding:0 10px 6px!important;max-width:760px;width:100%;margin:0 auto!important}
 .dz-bar #chat-history p:not(:last-child){display:none}
 .dz-bar.dz-open{top:12vh!important;background:#060a20f8!important;border-radius:24px 24px 0 0!important;box-shadow:0 -20px 60px #000a!important;padding-top:10px!important}
 .dz-bar.dz-open #chat-history{max-height:none!important;flex:1!important}.dz-bar.dz-open #chat-history p{display:block}
 .dz-pill{height:56px;max-width:760px;width:100%;margin:0 auto;background:#0a0f2ccc;backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px #5b8cff40,0 0 26px #3a5bff22;padding:0 6px 0 4px}
 .dz-more{width:40px!important;min-width:40px}
 /* bottom sheets */
 body.dz-ring #module-panel,body.dz-ring #users-panel,body.dz-ring #personality-panel,.dz-sheet{left:0!important;right:0!important;bottom:0!important;top:auto!important;max-height:86vh;max-width:760px!important;margin:0 auto!important;
   border-radius:28px 28px 0 0!important;border:0!important;box-shadow:0 -20px 60px #000a,0 -1px 0 #39ff8840!important;padding:12px 24px 34px!important;animation:dz-up .32s cubic-bezier(.2,.8,.2,1)}
 @keyframes dz-up{from{transform:translateY(100%)}}
 .dz-grab{display:block;width:40px;height:4px;border-radius:4px;background:#ffffff33;margin:0 auto 18px}
 .dz-close{top:10px;right:12px;border:0;background:#ffffff10}
 .dz-big{font-size:72px}.dz-row{flex-direction:column;gap:2px}.dz-k{width:auto;font-size:13px}
}
@media (prefers-reduced-motion:reduce){.dz-tile{animation:none!important;transition:none}.dz-sheet,body.dz-ring #module-panel,body.dz-ring #users-panel,body.dz-ring #personality-panel{animation:none!important}.dz-bar #chat-history{transition:none}}

.dz-pill .voice-talk[hidden]{display:none!important}
/* d208 tidy-ups */
@media (min-width:901px){#core,#core.core-hologram{position:absolute!important;left:50%!important;top:47%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;animation:none!important;margin:0!important}}
#chat-form .dz-send,#chat-form button.dz-send{background:#7ee0b0!important;color:#06121f!important;border:0!important}
#chat-form .dz-send svg,#chat-form .dz-send *{fill:#06121f!important;stroke:#06121f!important;color:#06121f!important}
#voice-talk.dz-icon{font-size:0!important;width:40px!important;min-width:40px!important;flex:0 0 40px!important;padding:0!important}
#voice-talk.dz-icon svg{width:20px;height:20px}
.dz-pill #chat-form{flex:1 1 auto;min-width:0}.dz-pill #chat-form input,.dz-pill #chat-form textarea{min-width:80px;flex:1 1 auto}
#status{width:100%;text-align:center;margin:0 auto;left:0;right:0}
.dz-tile,.dz-chip{border:0!important}
/* d208 Messages panel */
.dz-msgs{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px;max-height:min(60vh,520px);overflow:auto}
.dz-msg{background:#101b30;border-radius:12px;padding:10px 12px}.dz-msg.dz-unread{box-shadow:inset 3px 0 0 #7ee0b0}
.dz-msg-top{display:flex;justify-content:space-between;gap:8px}.dz-msg-from{font-weight:600;color:#e8eefc}.dz-msg-meta{color:#9fb0cf;font-size:.85em}
.dz-msg-text{margin:4px 0 6px;color:#d6def0;white-space:pre-wrap}.dz-action.dz-small{padding:4px 12px;font-size:.85em}
.dz-reply-in{width:100%;box-sizing:border-box;background:#0b1424;color:#e8eefc;border:1px solid #2a3b5c;border-radius:10px;padding:8px}
.dz-reply-in::placeholder{color:#b4c2de}.dz-confirm{border:1px solid #7ee0b0;border-radius:10px;padding:8px 10px;margin-top:6px}

#chat-form .dz-send{position:relative}
#chat-form .dz-send::after{content:"";position:absolute;left:50%;top:50%;width:0;height:0;transform:translate(-35%,-50%);border-left:12px solid #06121f;border-top:7px solid transparent;border-bottom:7px solid transparent}
#chat-form .dz-send>*{display:none!important}#chat-form .dz-send{font-size:0!important}
.dz-msgs{padding-right:44px}.dz-phone .dz-msgs{padding-right:0}
/* d208 orb state colors: status line + accent follow body[data-orb], smooth fade */
body.dz-ring #status{transition:color .6s ease,text-shadow .6s ease}
body[data-orb=idle] #status,body[data-orb=thinking] #status{color:#7dffb3!important;text-shadow:0 0 10px #39ff8860}
body[data-orb=listening] #status{color:#8cc4ff!important;text-shadow:0 0 10px #46a0ff70}
body[data-orb=speaking] #status{color:#ffd36b!important;text-shadow:0 0 10px #ffc43c70}
body[data-orb=server] #status{color:#ff8a8a!important;text-shadow:0 0 10px #ff3c3c80}
body[data-orb=weather] #status{color:#ffb35c!important;text-shadow:0 0 10px #ff8c1e70}
@media (prefers-reduced-motion:reduce){body.dz-ring #status{transition:none}}

/* d208b: compact sign-in in the upper left (Steve 2026-11-03): small voice button, big easy password field */
body:has(#owner-login:not([hidden])) .dz-bar #owner-login:not([hidden]),#owner-login:not([hidden]){position:fixed!important;top:64px;left:92px;z-index:60;width:340px;max-width:calc(100vw - 32px);display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:8px!important;margin:0!important;padding:16px 18px 14px!important;background:rgba(6,18,30,.92)!important;border:1px solid rgba(64,255,160,.35)!important;border-radius:14px!important;box-shadow:0 0 24px rgba(40,255,150,.12),0 8px 30px rgba(0,0,0,.5)!important;backdrop-filter:blur(8px);font-size:15px}
#owner-login:not([hidden])::before{content:"SIGN IN";font:600 11px/1 ui-monospace,monospace;letter-spacing:.2em;color:#4dffa6;margin-bottom:2px}
#owner-login label[for]{font-size:13px!important;color:#9fe9c4!important;margin:4px 0 0!important}
#owner-login #owner-username,#owner-login #owner-password{box-sizing:border-box;width:100%!important;min-width:0;height:48px!important;padding:0 14px!important;font-size:18px!important;color:#eafff4!important;background:#04101c!important;border:1px solid rgba(77,255,166,.45)!important;border-radius:10px!important;flex:none!important}
#owner-login #owner-password{font-size:20px!important;letter-spacing:.12em}
#owner-login #owner-username:focus,#owner-login #owner-password:focus{outline:2px solid #4dffa6!important;outline-offset:1px}
#owner-login .login-fields{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important}
#owner-login .login-fields button[type=submit]{height:44px!important;width:100%!important;font-size:17px!important;font-weight:600;color:#03140c!important;background:linear-gradient(90deg,#2fe38a,#4dffa6)!important;border:0!important;border-radius:10px!important;cursor:pointer}
#owner-login .remember-login{display:flex!important;align-items:center;gap:8px;font-size:13px!important;color:#bcd!important;margin-top:2px!important}
#owner-login .remember-login input{width:18px;height:18px}
#owner-login .remember-note{font-size:11.5px!important;color:#7f93a6!important;margin:0!important;line-height:1.35}
/* voice sign-in: a small pill under the form, not a big button */
.voice-signin-box:not([hidden]){position:static!important;display:flex;align-items:center;gap:10px;width:auto;margin:6px 0 0!important;padding:10px 0 0!important;background:none!important;border:0!important;border-top:1px solid rgba(77,255,166,.15)!important}
.voice-signin-box button{flex:none;height:34px!important;width:auto!important;min-width:0!important;padding:0 14px!important;font-size:13.5px!important;border-radius:999px!important;color:#4dffa6!important;background:rgba(6,18,30,.9)!important;border:1px solid rgba(77,255,166,.5)!important;box-shadow:none!important;transform:none!important}
.voice-signin-box p{margin:0!important;font-size:11.5px!important;color:#7f93a6!important;line-height:1.3}
@media (max-width:700px){
 #owner-login:not([hidden]){top:72px;left:16px;right:16px;width:auto}
}
/* sign-in settings gear (works while signed out; no account data) */
#owner-login .signin-gear{position:absolute;top:8px;right:10px;width:30px!important;height:30px!important;min-width:0!important;padding:0!important;font-size:16px!important;line-height:1;border-radius:8px!important;color:#9fe9c4!important;background:transparent!important;border:1px solid rgba(77,255,166,.25)!important;cursor:pointer}
#owner-login .signin-gear:hover,#owner-login .signin-gear.on{color:#03140c!important;background:#4dffa6!important}
#owner-login .signin-settings:not([hidden]){display:flex;flex-direction:column;gap:10px;margin-top:6px;padding-top:10px;border-top:1px solid rgba(77,255,166,.15);max-height:min(48vh,420px);overflow:auto}
#owner-login .signin-settings h3{margin:0 0 4px;font:600 11px/1.2 ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;color:#4dffa6}
#owner-login .signin-settings p{margin:0 0 6px;font-size:13px;color:#bcd;line-height:1.35}
#owner-login .signin-settings button{height:32px;padding:0 12px;font-size:13px;border-radius:8px;color:#9fe9c4;background:transparent;border:1px solid rgba(77,255,166,.4);cursor:pointer}
#owner-login .signin-settings details{font-size:13px;color:#cde}
#owner-login .signin-settings summary{cursor:pointer;font:600 11px/1.2 ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;color:#4dffa6;margin-bottom:6px}
#owner-login .signin-settings select,#owner-login .signin-settings input[type=range]{max-width:100%}
/* d208c: arrange tiles (drag from the sidebar, move, remove) */
.dz-tile{touch-action:pan-y;-webkit-user-select:none;user-select:none}
.dz-tile .dz-x{position:absolute;top:6px;right:8px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:15px;line-height:1;color:#9fe9c4;background:#0a0f2c;border:1px solid #39ff8855;opacity:0;transition:opacity .15s}
.dz-tile:hover .dz-x,.dz-tile:focus-within .dz-x,body.dz-dragging .dz-lift .dz-x{opacity:1}.dz-tile .dz-x:hover{background:#ff5d5d;color:#fff;border-color:#ff5d5d}
.dz-tile.dz-lift{animation:none;z-index:50;cursor:grabbing;border-color:#39ff88;box-shadow:0 30px 50px -12px #000e,0 0 36px #39ff8880;transition:none}
.dz-ghost{position:fixed;z-index:9999;pointer-events:none;opacity:.92}
body.dz-dragging,body.dz-dragging *{cursor:grabbing!important}
body.dz-dragging .core-area{outline:2px dashed #39ff8855;outline-offset:-12px;border-radius:24px;background-image:radial-gradient(#39ff8822 1px,transparent 1px);background-size:24px 24px}
body.dz-drop-remove aside{box-shadow:inset 0 0 0 2px #ff5d5d,0 0 30px #ff5d5d55}
body.dz-drop-remove .dz-lift{border-color:#ff5d5d;opacity:.7}
.dz-tile.dz-pop{animation:dz-pop .35s ease}@keyframes dz-pop{0%{scale:.85}60%{scale:1.05}100%{scale:1}}
#dashboard-nav [data-panel]{touch-action:pan-y}
/* d208c: sign-in card in the upper right, collapses to a small pill when idle */
#owner-login:not([hidden]){left:auto!important;right:24px!important}
#owner-login.si-collapsed{width:auto!important;padding:0!important;cursor:pointer;border-radius:999px!important}
#owner-login.si-collapsed>*{display:none!important}#owner-login.si-collapsed::before{display:none}
#owner-login.si-collapsed::after{content:"\1F512  Sign in";display:block;padding:9px 18px;font:600 14px/1 system-ui,sans-serif;color:#4dffa6;letter-spacing:.02em}
@media (max-width:700px){#owner-login:not([hidden]){left:16px!important;right:16px!important}#owner-login.si-collapsed{left:auto!important}}
/* d208e: Galaxy Z Flip cover screen (FlexWindow, about 412x448 CSS px, near-square, cameras along the bottom).
   Compact brain with its state colors, 4 chips, one line of conversation and a big mic, all above the camera cutouts. */
@media (max-width:540px) and (max-height:580px) and (min-aspect-ratio:4/5) and (max-aspect-ratio:5/4){
 body.dz-ring{--dz-bar:0px;overflow:hidden}
 body.dz-ring .stage-header,body.dz-ring .stage-footer{display:none!important}
 body.dz-ring .visual-stage{overflow:hidden!important}
 body.dz-ring .core-area{padding:10px 0 0!important;min-height:0!important;height:100vh;justify-content:flex-start}
 body.dz-ring #core{width:min(44vh,60vw)!important;height:min(44vh,60vw)!important}
 body.dz-ring #status{font-size:9px!important;letter-spacing:.2em;margin:-2px 0 0!important}
 .dz-ring-tiles{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;padding:8px 14px 0!important;width:100%;max-width:none!important;box-sizing:border-box}
 .dz-tile{min-height:32px!important;padding:0 10px!important;gap:6px!important;overflow:hidden}
 .dz-tile .dz-ic{font-size:13px!important}.dz-chip{font-size:12px!important;overflow:hidden;text-overflow:ellipsis}
 .dz-tile:not([data-tile=weather]):not([data-tile=texts]):not([data-tile=music]):not([data-tile=phone]){display:none!important}
 .dz-tile[data-tile=weather]{order:0!important}.dz-tile[data-tile=texts]{order:1!important}.dz-tile[data-tile=music]{order:2!important}.dz-tile[data-tile=phone]{order:3!important}
 .dz-tile .dz-x{display:none}
 /* conversation: one line + pill, kept above the camera cutouts */
 body.dz-ring #dobby-chat.dz-bar{padding:0 12px calc(58px + env(safe-area-inset-bottom)) 12px!important;background:linear-gradient(180deg,transparent,#020309 22%)!important}
 body.dz-ring #dobby-chat.dz-bar.dz-open{top:auto!important;background:linear-gradient(180deg,transparent,#020309 22%)!important;box-shadow:none!important;border-radius:0!important}
 .dz-bar #chat-history,.dz-bar.dz-open #chat-history{max-height:24px!important;line-height:20px;overflow:hidden!important;flex:none!important;padding:2px 4px 4px!important;font-size:12px;white-space:nowrap;text-overflow:ellipsis}
 .dz-bar #chat-history p:not(:last-child),.dz-bar.dz-open #chat-history p:not(:last-child){display:none!important}
 .dz-bar #chat-history p:last-child{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .dz-bar .chat-header,.dz-bar .conversation-picker,.dz-bar .chat-footnote,.dz-bar .history-toolbar,.dz-bar .voice-toolbar,.dz-more,.dz-attach{display:none!important}
 .dz-pill{height:46px!important}
 .dz-pill .dz-send{width:36px!important;min-width:36px!important;height:36px!important}
 .dz-pill #voice-toggle,.dz-pill #voice-talk:not([hidden]){width:46px!important;height:46px!important;min-width:46px!important;font-size:20px!important;background:#39ff88!important;color:#03140c!important;border-radius:50%!important;box-shadow:0 0 18px #39ff8866}
 #owner-login:not([hidden]){top:8px!important;left:8px!important;right:8px!important;width:auto!important}
}

/* d208f: Android app (0.5.4+) injects __android/command-redesign.css, which hides #globe (where plexus.js renders)
   and draws the old cyan "D" orb (.hybrid). Undo that so the phone shows the same green plexus brain + state colors. */
html body[data-skin] #globe,html body #globe{visibility:visible!important;pointer-events:auto!important}
html body .core .hybrid,html body[data-skin] .hybrid{display:none!important}
html body[data-skin] .core-hologram #letter{display:none!important}
html body[data-skin]:not(.module-open) .core-area #status{display:block!important}
html body[data-skin] #core.core-hologram{display:block!important}

/* d208g: phone Home control, module-open brain, Customize home */
.dz-home{display:none;position:fixed;right:12px;top:10px;z-index:60;min-height:44px;padding:10px 16px;border-radius:22px;border:1px solid #3bff9a80;background:#0b1438ee;color:#9dffc8;font:600 14px system-ui,sans-serif;box-shadow:0 0 18px #2cff8a40}
@media (max-width:900px){body.dz-need-home .dz-home{display:block}}
.dz-tile.dz-off{display:none!important}
.dz-cust{list-style:none;margin:8px 0 14px;padding:0}.dz-cust-row{display:flex;align-items:center;gap:10px;min-height:48px;border-bottom:1px solid #ffffff14}
.dz-cust-row input{width:22px;height:22px;accent-color:#3bff9a}.dz-cust-name{flex:1;font-size:15px}
.dz-cust-mv{min-width:44px;min-height:44px;border-radius:10px;border:1px solid #3bff9a55;background:#0e1a45;color:#bfffdc;font-size:18px}.dz-cust-mv:disabled{opacity:.3}
.dz-hint{color:#9fb3d9;font-size:13px}
/* APK 0.5.4+ shrinks .core-area into a 72px bubble while a module is open, which left the brain blank. Keep the full brain. */
@media (max-width:900px){
 html body[data-skin].module-open .core-area{position:relative!important;right:auto!important;bottom:auto!important;width:auto!important;height:auto!important;min-height:60vh!important;z-index:1!important;cursor:default}
 html body.module-open #core,html body.dz-sheet-open #core{opacity:.55}
 html body[data-skin].module-open .core-area #status{display:block!important}
}
html body #core #letter,html body.module-open .core-hologram #letter{display:none!important;opacity:0!important}
html body #core.core::after{content:none!important;display:none!important}

/* d208h (phone): no duplicate DOBBY heading inside the app (the app's top bar has it); everything fits 360-412px */
html body[data-skin] .stage-header{display:none!important}
@media (max-width:900px){
 html,body{overflow-x:hidden}
 body #android-email:not([hidden]){inset:8px!important;left:8px!important;right:8px!important;width:auto!important;padding:18px 14px 96px!important}
 body #android-email .mail-row,body #android-email .mail-row details{max-width:100%;box-sizing:border-box}
 body #android-email .mail-toolbar button{flex:1 1 auto}
 #module-panel,#users-panel,#personality-panel,.dz-sheet{max-width:100vw!important;box-sizing:border-box!important;overflow-x:hidden!important}
 #module-panel *,.dz-sheet *{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
 #module-panel img,#module-panel canvas,#module-panel iframe,#module-panel table{max-width:100%!important}
 #module-panel table{display:block;overflow-x:auto}
}

/* d208i Find family */
.dz-fam{border:1px solid #3bff9a40;border-radius:14px;padding:12px;margin:0 0 12px;background:#0b1438cc}
.dz-fam-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.dz-fam-name{font:700 18px system-ui,sans-serif;color:#e8fff2}
.dz-fam-st{padding:4px 10px;border-radius:12px;font-size:14px;background:#22304f;color:#cfe0ff}
.dz-st-online{background:#14532d;color:#b9ffd4}.dz-st-ringing{background:#7c2d12;color:#ffe1c7}.dz-st-away,.dz-st-no-location{background:#3a3a46;color:#e2e2ea}
.dz-fam-btns{display:flex;gap:8px;flex-wrap:wrap}.dz-fam-btns .dz-action{flex:1 1 40%;min-height:48px}
.dz-fam-h{font:700 16px system-ui,sans-serif;margin:14px 0 6px;color:#bfffdc}
.dz-switch{display:flex;justify-content:space-between;align-items:center;min-height:48px;border-bottom:1px solid #ffffff14;font-size:16px}
.dz-switch input{width:26px;height:26px;accent-color:#3bff9a}
