/* Hooshi Stellar V23 - premium living interface + isolated site work mode */
:root{
  --stellar-bg:#070914;--stellar-surface:rgba(16,20,39,.72);--stellar-surface-2:rgba(22,27,52,.82);
  --stellar-line:rgba(255,255,255,.095);--stellar-text:#f7f8ff;--stellar-muted:#9ca7c4;
  --stellar-violet:#8b5cf6;--stellar-blue:#4f8cff;--stellar-cyan:#35d5ff;--stellar-rose:#ff5ca8;
  --stellar-work:#ffb44a;--stellar-work-2:#ff6b6b;--stellar-shadow:0 28px 90px rgba(0,0,0,.34);
}
html[data-theme="light"]{--stellar-bg:#f3f5fb;--stellar-surface:rgba(255,255,255,.78);--stellar-surface-2:rgba(255,255,255,.92);--stellar-line:rgba(31,41,71,.1);--stellar-text:#15192b;--stellar-muted:#66708c;--stellar-shadow:0 28px 80px rgba(60,72,110,.14)}
html{background:var(--stellar-bg)}
body{background:
 radial-gradient(70rem 42rem at 86% -8%,rgba(79,140,255,.15),transparent 62%),
 radial-gradient(56rem 36rem at -10% 32%,rgba(139,92,246,.14),transparent 62%),
 var(--stellar-bg);color:var(--stellar-text)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.65),transparent 88%)}
.aurora .orb{filter:blur(22px);opacity:.5;animation:stellar-float 18s ease-in-out infinite alternate}.aurora .o2{animation-duration:24s}.aurora .o3{animation-duration:29s}
@keyframes stellar-float{from{transform:translate3d(-2vw,-1vh,0) scale(.96)}to{transform:translate3d(3vw,4vh,0) scale(1.08)}}
.site-header .bar,.app-topbar,.app-sidebar,.chat-history-drawer{background:color-mix(in srgb,var(--stellar-surface-2) 88%,transparent);border-color:var(--stellar-line);backdrop-filter:blur(24px) saturate(145%)}
.site-header .bar{box-shadow:0 14px 45px rgba(0,0,0,.18);border-radius:20px;margin-top:12px;padding-inline:16px}
.app-shell{isolation:isolate}.app-sidebar{border-inline-end:1px solid var(--stellar-line);box-shadow:18px 0 60px rgba(0,0,0,.12)}
.side-brand .mark,.brand-logo .mark,.chat-brand-mark{background:linear-gradient(145deg,var(--stellar-violet),var(--stellar-blue) 56%,var(--stellar-cyan));box-shadow:0 12px 30px rgba(79,140,255,.3)}
.side-nav a,.side-nav summary{border-radius:13px;transition:transform .2s ease,background .2s ease,color .2s ease}.side-nav a:hover,.side-nav summary:hover{transform:translateX(-3px);background:rgba(255,255,255,.06)}.side-nav a.active{background:linear-gradient(135deg,rgba(139,92,246,.22),rgba(79,140,255,.16));border:1px solid rgba(139,92,246,.2);box-shadow:inset 0 1px rgba(255,255,255,.08)}
.app-content{max-width:1540px;width:100%;margin-inline:auto;padding:clamp(16px,2vw,30px)}
.glass,.glass-2,.card,.tool-card,.step,.panel,.dash-card,.suite-card,.help-section,.admin-card,.site-card,.monitor-card,.command-card{background:linear-gradient(145deg,color-mix(in srgb,var(--stellar-surface-2) 92%,transparent),color-mix(in srgb,var(--stellar-surface) 92%,transparent));border:1px solid var(--stellar-line);box-shadow:var(--stellar-shadow);backdrop-filter:blur(22px) saturate(135%)}
[data-live-surface]{transform-style:preserve-3d;will-change:transform;transition:transform .18s ease,box-shadow .25s ease,border-color .25s ease}
[data-live-surface]:hover{border-color:rgba(139,92,246,.28);box-shadow:0 32px 90px rgba(0,0,0,.35),0 0 0 1px rgba(139,92,246,.08)}
[data-live-surface]>*{transform:translateZ(8px)}
.hero{min-height:min(900px,92svh);display:grid;place-items:center;overflow:hidden;perspective:1200px}.hero:before{content:"";position:absolute;width:min(64vw,760px);aspect-ratio:1;border-radius:50%;background:conic-gradient(from 130deg,rgba(53,213,255,.04),rgba(139,92,246,.34),rgba(255,92,168,.18),rgba(79,140,255,.3),rgba(53,213,255,.04));filter:blur(4px);animation:stellar-spin 26s linear infinite;transform:translate3d(0,-10%,0)}.hero:after{content:"";position:absolute;width:min(45vw,560px);aspect-ratio:1;border-radius:38% 62% 53% 47%;background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.22),transparent 13%),linear-gradient(145deg,rgba(139,92,246,.24),rgba(79,140,255,.08));filter:blur(1px);box-shadow:inset 0 0 90px rgba(255,255,255,.06),0 50px 140px rgba(39,49,120,.24);transform:rotateX(62deg) rotateZ(-18deg) translateY(28%);animation:stellar-disc 10s ease-in-out infinite alternate}@keyframes stellar-spin{to{rotate:1turn}}@keyframes stellar-disc{to{transform:rotateX(58deg) rotateZ(15deg) translateY(20%) scale(1.06)}}
.hero .container{position:relative;z-index:2;text-align:center}.h-display{font-size:clamp(3rem,7vw,6.8rem);line-height:.98;letter-spacing:-.045em;text-wrap:balance;text-shadow:0 22px 65px rgba(0,0,0,.38)}.gradient-text{background:linear-gradient(105deg,#fff 0%,#b9c7ff 28%,#9b7bff 56%,#5ee4ff 85%,#fff 100%);background-size:220% auto;-webkit-background-clip:text;background-clip:text;color:transparent;animation:stellar-shine 9s linear infinite}@keyframes stellar-shine{to{background-position:220% center}}
.btn{border-radius:14px;box-shadow:0 12px 32px rgba(79,140,255,.18);transition:transform .2s ease,box-shadow .2s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 18px 45px rgba(79,140,255,.24)}
.tools-grid,.compare-grid,.connect-steps,.steps{gap:clamp(14px,2vw,24px)}.tool-card,.step{border-radius:24px;padding:clamp(20px,2.2vw,30px)}
/* Chat remains focused, work mode becomes visually isolated. */
.chat-shell{--chat-mode-accent:var(--stellar-violet)}
.site-work-toggle{display:inline-flex;align-items:center;gap:9px;min-height:34px;padding:5px 9px 5px 7px;border:1px solid var(--stellar-line);border-radius:12px;background:rgba(255,255,255,.04);color:inherit;cursor:pointer;transition:.2s ease}.site-work-toggle span:nth-child(2){display:grid;text-align:right;line-height:1.1}.site-work-toggle b{font-size:11px}.site-work-toggle small{font-size:9px;color:var(--stellar-muted)}.site-work-toggle>i{width:28px;height:16px;border-radius:99px;background:rgba(255,255,255,.1);position:relative}.site-work-toggle>i:after{content:"";position:absolute;width:12px;height:12px;border-radius:50%;top:2px;right:2px;background:#fff;transition:.22s ease}.site-work-toggle.is-active{border-color:rgba(255,180,74,.42);background:linear-gradient(135deg,rgba(255,180,74,.17),rgba(255,107,107,.12));box-shadow:0 10px 34px rgba(255,107,107,.12)}.site-work-toggle.is-active>i{background:linear-gradient(90deg,var(--stellar-work),var(--stellar-work-2))}.site-work-toggle.is-active>i:after{transform:translateX(-12px)}
.chat-context-bar{gap:7px;flex-wrap:wrap}.composer-box{border-radius:18px!important}.chat-stream{scrollbar-gutter:stable}.msg .bubble{max-width:min(940px,92%)}
/* Dashboard and admin hierarchy */
.app-topbar{height:54px!important;min-height:54px!important;border-bottom:1px solid var(--stellar-line)}.app-topbar h1{font-size:15px}.context-guide-link{border-radius:18px;background:linear-gradient(135deg,rgba(79,140,255,.09),rgba(139,92,246,.07));border:1px solid rgba(139,92,246,.13)}
.table,.admin-table,table{border-radius:18px;overflow:hidden;border-color:var(--stellar-line)}input,textarea,select{border-radius:12px!important;border-color:var(--stellar-line)!important;background:rgba(255,255,255,.045)!important}input:focus,textarea:focus,select:focus{box-shadow:0 0 0 3px rgba(79,140,255,.13)!important;border-color:rgba(79,140,255,.45)!important}
/* WordPress plugin master work-mode card */
.hooshi-work-mode-note{margin-top:14px;padding:14px 16px;border-radius:14px;background:linear-gradient(135deg,#f7f7ff,#fff7ed);border:1px solid #e8e6ff;color:#24243a}.hooshi-work-mode-note p{margin:7px 0;line-height:1.8}.hooshi-work-mode-note ul{margin:8px 18px 0 0;line-height:1.9}
@media(max-width:900px){.hero{min-height:760px}.h-display{font-size:clamp(2.7rem,13vw,4.7rem)}.app-content{padding:14px}.site-work-toggle span:nth-child(2){display:none}.site-work-toggle{padding:7px}.site-work-toggle>i{display:none}.tool-card,.step{border-radius:20px}.chat-context-bar{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}[data-live-surface]{transform:none!important}}
/* Full-page isolation for the explicit site-work studio. */
 radial-gradient(72rem 38rem at 92% -10%,rgba(255,128,92,.16),transparent 62%),
 radial-gradient(58rem 34rem at 4% 46%,rgba(255,180,74,.11),transparent 66%),
 var(--stellar-bg)}
