/* Mason Ventures Eclipse theme layer (2026-10-12). Loaded after polish.css. Colours, depth and type sizes only. ?theme=classic switches it off. */
/* GENERATED colour neutralisation (blue/violet/cyan/pink -> monochrome; status greens/ambers/reds untouched) */
:root[data-theme="eclipse"]{--black:#040405;--bg:#050505;--bg-elevated:#0c0c0d;--surface-1:#0e0f10;--surface-2:#121315;--surface-3:#17181a;--text-1:#f8f8f9;--border-quiet:rgba(201,204,208,.07);--border-card:rgba(201,204,208,.12);--border-strong:rgba(201,204,208,.20);--border-active:rgba(166,171,178,.40);--blue:#9a9fa7;--blue-bright:#aaaeb5;--purple:#abafb6;--pink:#a6abb2;--st-running:#a6abb2;--st-idle:#b1b6bb;--st-validating:#abb0b6;--st-building:#a2a7ae;--glow-blue:0 0 8px rgba(166,170,177,.45), 0 0 22px rgba(151,157,165,.20), 0 0 48px rgba(90,96,104,.10);--ui-glow:0 0 8px rgba(166,170,177,.45), 0 0 22px rgba(151,157,165,.20);--brand-glow:0 0 10px rgba(174,179,185,.25), 0 0 32px rgba(141,147,156,.10);--logo-primary:#f8f8f9;--surface:rgba(14,15,16,.82);--surface-hover:rgba(23,24,26,.9);--accent-glow:rgba(154,159,167,.35)}
:root[data-theme="eclipse"] body{background:#050505}
:root[data-theme="eclipse"] ::selection{background:rgba(154,159,167,.4)}
:root[data-theme="eclipse"] .mark.lit{filter:drop-shadow(0 0 5px rgba(169,174,181,.45)) drop-shadow(0 0 15px rgba(155,160,168,.18))}
:root[data-theme="eclipse"] .shell.earth-app::before{background-color:#050505;background-image:linear-gradient(90deg, rgba(5,5,5,.58) 0%, rgba(5,5,5,.22) 36%, rgba(5,5,5,0) 70%),
    linear-gradient(180deg, rgba(5,5,5,.12) 0%, rgba(5,5,5,0) 16%, rgba(5,5,5,.38) 40%, rgba(5,5,5,.82) 62%, #050505 76%),
    linear-gradient(transparent,transparent),
    linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .shell.earth-app.earth-detail::before{background-image:linear-gradient(180deg, rgba(5,5,5,.42) 0%, rgba(5,5,5,.66) 34%, rgba(5,5,5,.92) 78%, #050505 100%),
    linear-gradient(90deg, rgba(5,5,5,.8) 0%, rgba(5,5,5,.35) 45%, rgba(5,5,5,.1) 100%),
    linear-gradient(transparent,transparent),
    linear-gradient(transparent,transparent)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .shell.earth-app.earth-detail::before{background-image:linear-gradient(180deg, rgba(5,5,5,.38) 0%, rgba(5,5,5,.62) 34%, rgba(5,5,5,.92) 78%, #050505 100%),
      linear-gradient(90deg, rgba(5,5,5,.86) 0%, rgba(5,5,5,.5) 30%, rgba(5,5,5,.12) 62%, transparent 100%),
      linear-gradient(transparent,transparent),
      linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .shell.earth-app::before{background-image:linear-gradient(90deg, rgba(5,5,5,.84) 0%, rgba(5,5,5,.62) 22%, rgba(5,5,5,.22) 42%, transparent 62%),
      linear-gradient(180deg, transparent 32%, rgba(5,5,5,.16) 58%, #050505 84%),
      linear-gradient(transparent,transparent),
      linear-gradient(transparent,transparent)}
}
:root[data-theme="eclipse"] .glass{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.10)}
:root[data-theme="eclipse"] .bottom-nav{background:rgba(8,8,9,.86)}
:root[data-theme="eclipse"] .bottom-nav a[aria-current="page"] .nav-ic{background:rgba(155,160,168,.2)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .sidebar{border-right:1px solid rgba(191,195,200,.10);background:rgba(8,8,9,.78)}
:root[data-theme="eclipse"] .sidebar a.nav[aria-current="page"]{background:linear-gradient(90deg, rgba(155,160,168,.24), rgba(155,160,168,.07));border-color:rgba(172,176,183,.28);box-shadow:inset 0 0 20px rgba(140,146,155,.08), 0 0 20px rgba(139,145,154,.05)}
:root[data-theme="eclipse"] .sidebar .count{background:#898f98}
:root[data-theme="eclipse"] .searchbar{border:1px solid rgba(191,195,200,.12);background:rgba(15,16,17,.80)}
}
:root[data-theme="eclipse"] .card{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.10)}
:root[data-theme="eclipse"] .card.quiet{background:rgba(15,16,17,.80);border-color:rgba(191,195,200,.08)}
:root[data-theme="eclipse"] a.card:hover,:root[data-theme="eclipse"] button.card:hover{border-color:rgba(171,176,182,.28)}
:root[data-theme="eclipse"] .card.glow{box-shadow:var(--shadow-card), 0 0 24px rgba(153,158,166,.08)}
:root[data-theme="eclipse"] .card.tone-violet{border-color:rgba(171,175,182,.28)}
:root[data-theme="eclipse"] .hero::before{background:linear-gradient(90deg, rgba(8,8,9,.88) 0%, rgba(8,8,9,.42) 26%, rgba(8,8,9,.08) 52%, rgba(8,8,9,0) 78%),
    linear-gradient(180deg, rgba(8,8,9,0) 70%, var(--bg) 100%),
    var(--hero-img, linear-gradient(transparent,transparent)) right top / cover no-repeat,
    linear-gradient(transparent,transparent) right top / cover no-repeat,
    linear-gradient(transparent,transparent) right top / cover no-repeat}
:root[data-theme="eclipse"] .hero.intel{--hero-img:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.research{--hero-img:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.agents{--hero-img:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.archive{--hero-img:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.briefing{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.director{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.ventures{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.opportunity{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.experiment{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.experiments{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.money{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.settings{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.activity{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.authority{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.decision{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.search{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.needs{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.system{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.incident{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .hero::before{background:linear-gradient(90deg, rgba(8,8,9,.78) 0%, rgba(8,8,9,.22) 30%, rgba(8,8,9,0) 62%),
      var(--hero-img-wide, linear-gradient(transparent,transparent)) right top / cover no-repeat,
      linear-gradient(transparent,transparent) right top / cover no-repeat}
:root[data-theme="eclipse"] .hero.intel{--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.research{--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.agents{--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.archive{--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .hero.archive::before{background:linear-gradient(90deg, rgba(8,8,9,.70) 0%, rgba(8,8,9,.22) 38%, rgba(8,8,9,.06) 72%, rgba(8,8,9,.35) 100%),
      linear-gradient(transparent,transparent) right 72% / cover no-repeat}
:root[data-theme="eclipse"] .hero.quiet::before{background:linear-gradient(90deg, rgba(8,8,9,.72) 0%, rgba(8,8,9,.18) 34%, rgba(8,8,9,0) 68%),
      var(--hero-img-wide, linear-gradient(transparent,transparent)) right top / cover no-repeat,
      linear-gradient(transparent,transparent) right top / cover no-repeat}
}
:root[data-theme="eclipse"] .venture-image::after{background:linear-gradient(180deg, rgba(5,6,6,.02), rgba(5,6,6,.12) 55%, rgba(5,6,6,.85) 100%)}
:root[data-theme="eclipse"] .btn{border:1px solid rgba(210,213,216,.16)}
:root[data-theme="eclipse"] .btn.primary,:root[data-theme="eclipse"] .btn.accent{background:linear-gradient(180deg, #abb0b6, #9da2aa);border:1px solid rgba(198,201,205,.55);box-shadow:0 0 12px rgba(157,162,170,.28), inset 0 1px 0 rgba(255, 255, 255, .22)}
:root[data-theme="eclipse"] .btn.primary:hover,:root[data-theme="eclipse"] .btn.accent:hover{background:linear-gradient(180deg, #b1b6bb, #9da2aa)}
:root[data-theme="eclipse"] .tab[aria-selected="true"]{background:rgba(155,160,168,.18);border-color:rgba(172,176,183,.4);box-shadow:0 0 14px rgba(151,157,165,.16)}
:root[data-theme="eclipse"] .tab[aria-selected="true"] .n{background:#898f98}
:root[data-theme="eclipse"] .stat{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.10)}
:root[data-theme="eclipse"] a.stat:hover{border-color:rgba(171,176,182,.32)}
:root[data-theme="eclipse"] .agent-card{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.10)}
:root[data-theme="eclipse"] .bar > i{box-shadow:0 0 8px rgba(166,170,177,.35)}
:root[data-theme="eclipse"] .funnel-row .fbar i{background:linear-gradient(90deg, rgba(141,147,156,.55), rgba(141,147,156,.2));box-shadow:0 0 8px rgba(141,147,156,.3)}
:root[data-theme="eclipse"] .notice.info{border-color:rgba(170,174,181,.24);color:#e3e4e6}
:root[data-theme="eclipse"] .scrim{background:rgba(3,3,3,.72)}
:root[data-theme="eclipse"] .sheet{background:#0d0d0e;border:1px solid rgba(210,213,216,.17);box-shadow:0 30px 90px rgba(0, 0, 0, .65), 0 0 60px rgba(87,92,100,.05)}
:root[data-theme="eclipse"] .msg.owner .bubble{background:rgba(157,162,170,.34);border:1px solid rgba(198,201,205,.36)}
:root[data-theme="eclipse"] .msg.director .bubble{background:rgba(15,16,17,.82);border:1px solid rgba(191,195,200,.16)}
:root[data-theme="eclipse"] .msg.director .bubble.card-reply{background:rgba(15,16,17,.80)}
:root[data-theme="eclipse"] .composer{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.12)}
:root[data-theme="eclipse"] .composer:focus-within{border-color:rgba(166,170,177,.45);box-shadow:0 0 0 3px rgba(158,164,171,.07), 0 0 24px rgba(151,157,165,.08)}
:root[data-theme="eclipse"] .composer .send{background:linear-gradient(180deg, #abb0b6, #9da2aa);box-shadow:0 0 12px rgba(157,162,170,.28)}
:root[data-theme="eclipse"] .suggest button{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.10)}
:root[data-theme="eclipse"] .suggest button:hover{border-color:rgba(171,176,182,.32)}
@media (max-width: 1023px){
:root[data-theme="eclipse"] body.kb-open .shell.is-director .director-compose{background:linear-gradient(0deg, rgba(5,5,5,.92) 80%, transparent)}
}
:root[data-theme="eclipse"] .director-chips button{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.12)}
:root[data-theme="eclipse"] .director-chips button:hover{border-color:rgba(171,176,182,.32)}
:root[data-theme="eclipse"] .director-compose{background:linear-gradient(0deg, rgba(5,5,5,.55) 70%, transparent)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .director-id > .row,:root[data-theme="eclipse"] .director-tagline{text-shadow:0 1px 2px rgba(5,5,5,.9), 0 0 14px rgba(5,5,5,.95)}
:root[data-theme="eclipse"] .director-log,:root[data-theme="eclipse"] .director-compose{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.12)}
}
:root[data-theme="eclipse"] .director-col.glass{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.12)}
@media (max-width: 1023px){
:root[data-theme="eclipse"] .director-col.glass{background:rgba(15,16,17,.80)}
}
:root[data-theme="eclipse"] .director-qa .list-row{border-bottom:1px solid rgba(191,195,200,.08)}
:root[data-theme="eclipse"] .home-syschip .chip-bar i{background:linear-gradient(90deg, #20d9a3, #abb0b6)}
:root[data-theme="eclipse"] .home-qa button.list-row,:root[data-theme="eclipse"] .home-qa a.list-row{border-bottom:1px solid rgba(191,195,200,.08)}
:root[data-theme="eclipse"] .home-kv{border-bottom:1px solid rgba(191,195,200,.08)}
:root[data-theme="eclipse"] .home-ring{border:1px solid rgba(191,195,200,.08)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .home-greet{text-shadow:0 1px 12px rgba(5,5,5,.85)}
:root[data-theme="eclipse"] .home-syschip{background:rgba(15,16,17,.80);border:1px solid rgba(191,195,200,.10)}
:root[data-theme="eclipse"] .home-panel{background:linear-gradient(180deg, rgba(17,18,20,.70), rgba(11,12,13,.64));border:1px solid rgba(184,188,194,.10)}
:root[data-theme="eclipse"] .home-panel > .card.flush{background:rgba(18,19,20,.52)}
}
:root[data-theme="eclipse"] .search-input{background:rgba(17,18,20,.92);border:1px solid rgba(206,208,212,.14)}
:root[data-theme="eclipse"] .search-input:focus-within{border-color:rgba(166,170,177,.45);box-shadow:0 0 0 3px rgba(158,164,171,.07)}
:root[data-theme="eclipse"] .ios-install{background:rgba(15,16,17,.82);border:1px solid rgba(191,195,200,.14)}
:root[data-theme="eclipse"] .auth::before{background:linear-gradient(180deg, rgba(4,4,5,.15), rgba(4,4,5,.55) 72%, var(--black)), linear-gradient(transparent,transparent) center / cover no-repeat, var(--black)}
:root[data-theme="eclipse"] .code-input{border:1px solid rgba(206,208,212,.14);background:rgba(17,18,20,.92)}
:root[data-theme="eclipse"] .code-input:focus{border-color:rgba(166,170,177,.45);box-shadow:0 0 0 3px rgba(158,164,171,.07)}
:root[data-theme="eclipse"] .auth-input{border:1px solid rgba(206,208,212,.14);background:rgba(17,18,20,.92)}
:root[data-theme="eclipse"] .auth-input:focus{border-color:rgba(166,170,177,.45);box-shadow:0 0 0 3px rgba(158,164,171,.07)}
:root[data-theme="eclipse"] .pair-code{background:rgba(17,18,20,.92)}
:root[data-theme="eclipse"] .v-road-step i{background:rgba(201,204,208,.25)}
:root[data-theme="eclipse"] .v-road-step.cur i{box-shadow:0 0 0 3px rgba(154,159,167,.2)}
:root[data-theme="eclipse"] a.card.oa-card{background:linear-gradient(180deg, rgba(31,33,36,.55), rgba(15,16,17,.70))}
:root[data-theme="eclipse"] a.card.oa-card.is-hold{background:rgba(15,16,17,.80)}
:root[data-theme="eclipse"] .ex-step i{background:rgba(201,204,208,.22)}
:root[data-theme="eclipse"] .sl-person{background:rgba(18,19,20,.52)}
:root[data-theme="eclipse"] .brief-step i{background:rgba(201,204,208,.16)}
:root[data-theme="eclipse"] .brief-step.cur i{box-shadow:0 0 10px rgba(170,174,181,.45)}
:root[data-theme="eclipse"] .lr-band{--hero-img:linear-gradient(transparent,transparent);--hero-img-wide:linear-gradient(transparent,transparent)}
:root[data-theme="eclipse"] .ow-empty::before{background:linear-gradient(180deg, var(--surface-1) 0%, transparent 60%), linear-gradient(transparent,transparent) center bottom / 100% auto no-repeat}
:root[data-theme="eclipse"] .sy-band:not(.hero)::before{background:linear-gradient(90deg, var(--surface-1) 30%, transparent 85%), linear-gradient(transparent,transparent) right center / cover no-repeat}
:root[data-theme="eclipse"] .sy-incident-band:not(.hero)::before{background:linear-gradient(90deg, var(--surface-1) 40%, transparent), linear-gradient(0deg, var(--surface-1), transparent 60%), linear-gradient(transparent,transparent) right center / cover no-repeat}
:root[data-theme="eclipse"] .mo-qr{box-shadow:0 0 24px rgba(153,158,166,.12)}
:root[data-theme="eclipse"]{--info-text:#c2c5ca;--violet-text:#ccced2;--btn-primary-1:#8e949d;--btn-primary-2:#60666e;--focus:#c9ccd0}
:root[data-theme="eclipse"] .btn.primary,:root[data-theme="eclipse"] .btn.accent{border-color:rgba(201,204,208,.55)}
:root[data-theme="eclipse"] .btn.primary:hover,:root[data-theme="eclipse"] .btn.accent:hover{background:linear-gradient(180deg, #9ba1a8, #676d76)}
:root[data-theme="eclipse"] .notice.info{color:#eaebed}
:root[data-theme="eclipse"] .card.card-primary{background:linear-gradient(180deg, rgba(154,159,167,.14), rgba(15,16,17,.9))}
:root[data-theme="eclipse"] .card.card-quiet{background:rgba(15,16,17,.6)}
:root[data-theme="eclipse"] body .ac-item{background:rgba(9,9,10,.72)}
:root[data-theme="eclipse"] .fold-head{background:rgba(15,16,17,.8)}
:root[data-theme="eclipse"] .fold-nav{background:rgba(5,5,5,.92)}
:root[data-theme="eclipse"] .truth-ic{background:rgba(155,160,168,.16)}
:root[data-theme="eclipse"] .avatar .av-chip{color:#0f1011;border:2px solid var(--bg, #0f1011)}
/* GENERATED type remap (every font-size/font shorthand in app.css + css/*.css mapped onto --fs-*) */
:root[data-theme="eclipse"] body{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .wordmark{font-size:var(--fs-xl)}
:root[data-theme="eclipse"] .wordmark.sm{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .logo-subtitle{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .bottom-nav a{font-size:var(--fs-xs)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .sidebar .brand .wordmark.sm{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .sidebar a.nav{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .sidebar .count{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .searchbar kbd{font-size:var(--fs-xs)}
}
:root[data-theme="eclipse"] .display{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .display.xl{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .h-title{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .h-sec{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] .card-title{font-size:var(--fs-md)}
:root[data-theme="eclipse"] .eyebrow{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .mono{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .small{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .tiny{font-size:var(--fs-xs)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .display{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .display.xl{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .h-title{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .h-sec{font-size:var(--fs-xl)}
:root[data-theme="eclipse"] .card-title{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] .eyebrow{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .tiny{font-size:var(--fs-xs)}
}
:root[data-theme="eclipse"] .section-head a,:root[data-theme="eclipse"] .link{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .btn{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .btn.sm{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .pill{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .chip{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .status-dot{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .tab{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .tab .n{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .stat .v{font-size:var(--fs-2xl)}
:root[data-theme="eclipse"] .stat .v.unknown{font-size:var(--fs-md)}
:root[data-theme="eclipse"] .stat .l{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .stat .sub{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .t-when{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .day-label{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .funnel-row{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .empty h3{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .notice{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .freshness{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .banner{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .bubble .sec{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .msg-meta{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ctx-chip{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .composer textarea{font-size:var(--fs-lg)}
@media (max-width: 1023px){
:root[data-theme="eclipse"] body.kb-open .shell.is-director .director-page.is-idle .director-id .display{font-size:var(--fs-xl)}
:root[data-theme="eclipse"] .director-page.is-idle .director-id .display{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .director-page.has-msgs .director-id .display{font-size:var(--fs-2xl)}
}
@media (max-width: 1023px) and (orientation: landscape){
:root[data-theme="eclipse"] .director-page.is-idle .director-id .display{font-size:var(--fs-2xl)}
:root[data-theme="eclipse"] .display.xl{font-size:var(--fs-3xl)}
}
:root[data-theme="eclipse"] .director-chips button{font-size:var(--fs-xs)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .director-page.has-msgs .director-id .display,:root[data-theme="eclipse"] .director-page.is-idle .director-id .display{font-size:var(--fs-3xl)}
}
:root[data-theme="eclipse"] .director-rail-card > .eyebrow,:root[data-theme="eclipse"] .director-rail-card > .row > .eyebrow{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .home-syschip .chip-k{font-size:var(--fs-xs)}
@media (max-width: 639px){
:root[data-theme="eclipse"] .home-stats .stat .v{font-size:var(--fs-xl)}
:root[data-theme="eclipse"] .home-stats .stat .l{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .home-stats .stat .sub{font-size:var(--fs-xs)}
}
:root[data-theme="eclipse"] .home-page .agent-tile .card-title{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .home-page .agent-tile .status-dot{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .home-kv{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .home-ring-n{font-size:var(--fs-lg)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .home-sky .display.xl{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .home-panel .h-sec{font-size:var(--fs-md)}
:root[data-theme="eclipse"] .home-page .agent-tile .card-title{font-size:var(--fs-sm)}
}
@media (min-width: 1024px) and (max-width: 1279px){
:root[data-theme="eclipse"] .home-sky .display.xl{font-size:var(--fs-3xl)}
}
:root[data-theme="eclipse"] .search-input input{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] .ios-install{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .code-input{font-size:var(--fs-2xl);font-size:var(--fs-2xl)}
:root[data-theme="eclipse"] .auth-field span{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .auth-input{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] .pair-code{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .kv{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .quote{font-size:var(--fs-xl)}
:root[data-theme="eclipse"] .v-road-step{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .oa-title{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] .oa-chips .chip{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .reality-l{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .reality-v{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ex-step{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .sl-q{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .sl-draft{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .v-search input{font-size:var(--fs-sm)}
@media (max-width: 639px){
:root[data-theme="eclipse"] .v-search input{font-size:var(--fs-lg)}
}
:root[data-theme="eclipse"] .x-crit-l{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .x-crit-t{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .x-funnel .x-fbasis{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .brief-h{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .brief-p{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .brief-ul{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .brief-step em{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .brief-kv{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ip-count{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ip-val{font-size:var(--fs-2xl)}
:root[data-theme="eclipse"] .ip-val .tag-unknown{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ip-concept{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ip-ext{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ip-chip{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ip-evtitle{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ip-unknowns{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ip-verdict-h{font-size:var(--fs-xl)}
:root[data-theme="eclipse"] .ip-keyfind{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ip-finding-text{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ip-strength{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ip-rel{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ip-integrity{font-size:var(--fs-xs)}
@media (max-width: 639px){
:root[data-theme="eclipse"] .ip-verdict-h{font-size:var(--fs-lg)}
}
:root[data-theme="eclipse"] .wf-spec{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .lr-chip{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .act-count{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .dc-total{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ow-empty .display{font-size:var(--fs-3xl)}
:root[data-theme="eclipse"] .ow-when .list-row{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ow-ask{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] .ow-count-line{font-size:var(--fs-md)}
:root[data-theme="eclipse"] .ow-title{font-size:var(--fs-2xl)}
:root[data-theme="eclipse"] .ow-why-line{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ow-steps li{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ow-step-n{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .ow-acct-name{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] .ow-copy-val,:root[data-theme="eclipse"] .ow-mono{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ow-mono{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ow-after li{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ow-l2 summary,:root[data-theme="eclipse"] .ow-tech summary{font-size:var(--fs-xs)}
@media (max-width: 430px){
:root[data-theme="eclipse"] .ow-title{font-size:var(--fs-xl)}
}
:root[data-theme="eclipse"] .ow-chip{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .sy-headline{font-size:var(--fs-2xl)}
:root[data-theme="eclipse"] .sy-basis{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .sy-unit{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .sy-mod{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .sy-did ul{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .cn-login .auth-input{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .ac-svc{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .wordmark.sm{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .wordmark{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] kbd{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .logo-subtitle{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .bottom-nav a{font-size:var(--fs-xs)}
@media (min-width: 1024px){
:root[data-theme="eclipse"] .small{font-size:var(--fs-sm)}
}
:root[data-theme="eclipse"] .btn{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .btn.sm{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .tab{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] button.chip,:root[data-theme="eclipse"] a.chip,:root[data-theme="eclipse"] .chip[role="button"]{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .chip{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .auth-input,:root[data-theme="eclipse"] input[type="text"],:root[data-theme="eclipse"] input[type="search"],:root[data-theme="eclipse"] input[type="number"],:root[data-theme="eclipse"] select,:root[data-theme="eclipse"] textarea{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] body .ac-ask-title{font-size:var(--fs-xl)}
@media (max-width: 480px){
:root[data-theme="eclipse"] body .ac-ask-title{font-size:var(--fs-xl)}
:root[data-theme="eclipse"] .h-title{font-size:var(--fs-2xl)}
:root[data-theme="eclipse"] .section-head .link,:root[data-theme="eclipse"] .section-head a{font-size:var(--fs-sm)}
}
:root[data-theme="eclipse"] .section-head a,:root[data-theme="eclipse"] .link{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .fold-title{font-size:var(--fs-lg)}
:root[data-theme="eclipse"] .fold-count{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .fold-chip{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .fold-chip b{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .truth-n{font-size:var(--fs-2xl)}
:root[data-theme="eclipse"] .sidebar .brand .wordmark.sm{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .searchbar kbd{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .home-page .agent-tile .card-title{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .chip,:root[data-theme="eclipse"] .fold-count,:root[data-theme="eclipse"] .tag-unknown{font-size:var(--fs-sm)}
@media (max-width: 720px){
:root[data-theme="eclipse"] .home-page .agent-tile .card-title{font-size:var(--fs-sm)}
}
:root[data-theme="eclipse"] .avatar .av-chip{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .avatar.is-alias.sz-md .av-chip{font-size:var(--fs-xs)}
:root[data-theme="eclipse"] .avatar.is-alias.sz-lg .av-chip{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .says-name{font-size:var(--fs-sm)}
:root[data-theme="eclipse"] .says-text{font-size:var(--fs-sm)}

/* ===================================================================
   ECLIPSE hand-written layer: tokens, depth, buttons, hero orb.
   Everything is scoped to :root[data-theme="eclipse"]; ?theme=classic removes it.
   =================================================================== */
:root {
  --fs-xs: 12px;    /* labels, nav, chips, captions (floor) */
  --fs-sm: 14px;    /* secondary text */
  --fs-md: 15px;    /* body, buttons */
  --fs-lg: 16px;    /* card titles */
  --fs-xl: 18px;    /* section headings */
  --fs-2xl: 24px;   /* big stat numbers */
  --fs-3xl: 32px;   /* page greeting (serif) */
}
:root[data-theme="eclipse"] {
  color-scheme: dark;
  --fs-caption: var(--fs-xs); --fs-small: var(--fs-sm); --fs-body: var(--fs-md);
  --fs-title: var(--fs-lg); --fs-section: var(--fs-xl); --fs-page: var(--fs-3xl);
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Palatino, Georgia, serif;

  --black: #030406; --bg: #06070a; --bg-elevated: #0b0d11;
  --surface-1: #0d1015; --surface-2: #11141a; --surface-3: #171a21;
  --text-1: #f2f4f8; --text-2: #b9c0cc; --text-3: #a3abb8; --text-disabled: #5b6270; --nav-idle: #a3abb8;
  --border-quiet: rgba(255,255,255,.06); --border-card: rgba(255,255,255,.11);
  --border-strong: rgba(255,255,255,.20); --border-active: rgba(255,255,255,.42);
  --blue: #e6e9ef; --blue-bright: #f2f4f8; --cyan: #c9cfd9; --teal: #c9cfd9;
  --purple: #b9c0cc; --pink: #b9c0cc; --violet: #b9c0cc;
  --success: #3fd99a; --warning: #f0b44c; --danger: #f26a78;
  --st-online: #3fd99a; --st-working: #f0b44c; --st-warning: #f0b44c; --st-blocked: #f26a78;
  --st-running: #c9cfd9; --st-idle: #9aa2b0; --st-offline: #8d95a3; --st-measuring: #c9cfd9;
  --st-validating: #b9c0cc; --st-building: #c9cfd9;
  --ok-text: #5fe0ac; --warn-text: #f5c56b; --bad-text: #ff8d99; --info-text: #d3d8e1; --violet-text: #d3d8e1; --neutral-text: #a9b1bf;
  --accent: #f2f4f8; --accent-2: #ffffff; --accent-glow: rgba(255,255,255,.22);
  --btn-primary-1: #f2f4f8; --btn-primary-2: #f2f4f8; --focus: #ffffff;
  --r-md: 14px; --r-lg: 18px;
  --shadow-card: 0 18px 44px -22px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.05);
  --shadow-float: 0 28px 70px rgba(0,0,0,.6);
  --glow-blue: 0 0 24px -6px rgba(255,255,255,.22); --ui-glow: 0 0 18px -6px rgba(255,255,255,.28);
  --brand-glow: 0 0 24px -8px rgba(255,255,255,.2);
  --surface: rgba(14,16,21,.66); --surface-hover: rgba(24,27,34,.8);
}
:root[data-theme="eclipse"] body { background: #06070a; color: var(--text-1); line-height: 1.45; font-size: var(--fs-md); }
:root[data-theme="eclipse"] :focus-visible { outline-color: #fff; }

/* serif greeting / headings */
:root[data-theme="eclipse"] .display, :root[data-theme="eclipse"] .display.xl, :root[data-theme="eclipse"] .h-title,
:root[data-theme="eclipse"] .empty h3, :root[data-theme="eclipse"] .ow-empty .display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; }
:root[data-theme="eclipse"] .home-sky .display.xl, :root[data-theme="eclipse"] .display.xl { font-size: 32px; }

/* glass cards, 18px radius, hairline border */
:root[data-theme="eclipse"] .card, :root[data-theme="eclipse"] .glass, :root[data-theme="eclipse"] .agent-card, :root[data-theme="eclipse"] .card.quiet {
  background: linear-gradient(180deg, rgba(20,23,30,.62), rgba(11,13,18,.72));
  border: 1px solid var(--border-card); border-radius: 18px;
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
:root[data-theme="eclipse"] .card.glow { border-color: var(--border-strong); box-shadow: var(--shadow-card), 0 0 40px -20px rgba(255,255,255,.35); }
:root[data-theme="eclipse"] .card.tone-warn { border-color: rgba(240,180,76,.30); }
:root[data-theme="eclipse"] .card.tone-bad { border-color: rgba(242,106,120,.30); }
:root[data-theme="eclipse"] .card.tone-violet { border-color: var(--border-strong); }

/* buttons: white pill primary, ghost pill secondary */
:root[data-theme="eclipse"] .btn { border-radius: 999px; font-size: var(--fs-md); font-weight: 600; min-height: 44px; background: rgba(255,255,255,.04); border-color: var(--border-strong); color: var(--text-1); }
:root[data-theme="eclipse"] .btn:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.32); }
:root[data-theme="eclipse"] .btn.sm { font-size: var(--fs-sm); min-height: 44px; border-radius: 999px; }
:root[data-theme="eclipse"] .btn.primary, :root[data-theme="eclipse"] .btn.accent {
  background: #f2f4f8; color: #07080a; border-color: #f2f4f8;
  box-shadow: 0 10px 28px -12px rgba(255,255,255,.5), inset 0 1px 0 rgba(255,255,255,.9);
}
:root[data-theme="eclipse"] .btn.primary:hover, :root[data-theme="eclipse"] .btn.accent:hover { background: #ffffff; }
:root[data-theme="eclipse"] .btn.primary svg, :root[data-theme="eclipse"] .btn.accent svg { color: #07080a; }
:root[data-theme="eclipse"] .btn.danger, :root[data-theme="eclipse"] .btn.destructive { color: var(--bad-text); border-color: rgba(242,106,120,.45); background: rgba(242,106,120,.08); }
:root[data-theme="eclipse"] .btn.ow-decide { background: rgba(255,255,255,.05); }
:root[data-theme="eclipse"] .btn.ghost { background: transparent; border-color: transparent; }

/* chips / status pills: translucent tints, the dot carries the colour */
:root[data-theme="eclipse"] .pill { font-size: var(--fs-xs); }
:root[data-theme="eclipse"] .chip { border-radius: 999px; background: rgba(255,255,255,.04); border-color: var(--border-card); font-size: var(--fs-xs); }

/* nav */
:root[data-theme="eclipse"] .bottom-nav { background: rgba(8,9,12,.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--border-card); }
:root[data-theme="eclipse"] .bottom-nav a { font-size: var(--fs-xs); }
:root[data-theme="eclipse"] .bottom-nav a[aria-current="page"] .nav-ic { color: #06070a; background: #f2f4f8; box-shadow: 0 0 18px -4px rgba(255,255,255,.55); }
:root[data-theme="eclipse"] .sidebar { background: rgba(6,7,10,.7); border-right: 1px solid var(--border-card); }

/* agent characters: artwork untouched, framed with a thin light ring + soft glow */
:root[data-theme="eclipse"] .avatar::before { background: radial-gradient(circle, rgba(255,255,255,var(--aura,.10)), transparent 70%); }
:root[data-theme="eclipse"] .avatar::after {
  content: ""; position: absolute; inset: 4%; border-radius: 50%; pointer-events: none; z-index: 2;
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: 0 0 22px -6px rgba(255,255,255,.35), inset 0 0 14px -8px rgba(255,255,255,.25);
}
:root[data-theme="eclipse"] .avatar.sz-sm::after { inset: 2%; }

/* faint moonlit horizon + orb behind the Home hero only (pure CSS, no images) */
:root[data-theme="eclipse"] .shell.earth-app::before { background-image: none; background-color: #06070a; }
:root[data-theme="eclipse"] body:has(.home-page) .shell.earth-app::before {
  background-color: #06070a;
  background-image:
    radial-gradient(60% 1.5px at 50% 246px, rgba(255,255,255,.8), transparent 70%),
    radial-gradient(ellipse 85% 300px at 50% 246px, rgba(255,255,255,.10), transparent 72%),
    radial-gradient(circle 210px at 50% 30px, #4a4e59 0%, #23262d 45%, #101216 68%, rgba(6,7,10,0) 76%),
    linear-gradient(180deg, #0a0b0f 0%, #06070a 60%);
  background-repeat: no-repeat; background-size: auto; background-position: 0 0;
}
@media (min-width: 1024px) {
  :root[data-theme="eclipse"] body:has(.home-page) .shell.earth-app::before {
    background-position: 0 0; background-size: auto;
    background-image:
      radial-gradient(40% 1.5px at 46% 190px, rgba(255,255,255,.75), transparent 70%),
      radial-gradient(ellipse 50% 260px at 46% 190px, rgba(255,255,255,.08), transparent 72%),
      radial-gradient(circle 300px at 46% 0px, #4a4e59 0%, #23262d 45%, #101216 68%, rgba(6,7,10,0) 76%),
      linear-gradient(180deg, #0a0b0f 0%, #06070a 60%);
  }
}

/* nested glass: no double blur / double shadow */
:root[data-theme="eclipse"] .card .card, :root[data-theme="eclipse"] .card .glass, :root[data-theme="eclipse"] .glass .card, :root[data-theme="eclipse"] .glass .glass,
:root[data-theme="eclipse"] .card .agent-card, :root[data-theme="eclipse"] .glass .agent-card {
  background: rgba(255,255,255,.03); border-radius: 14px; border-color: rgba(255,255,255,.07); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* consistent page titles */
:root[data-theme="eclipse"] .h-title { font-size: var(--fs-3xl); }

/* inline style="font-size:.." in screen JS mapped onto the scale (no JS edited) */
:root[data-theme="eclipse"] [style*="font-size:22px"] { font-size: var(--fs-2xl) !important; }
:root[data-theme="eclipse"] [style*="font-size:13px"] { font-size: var(--fs-sm) !important; }
:root[data-theme="eclipse"] [style*="font-size:11px"] { font-size: var(--fs-xs) !important; }
:root[data-theme="eclipse"] [style*="font-size: 22px"] { font-size: var(--fs-2xl) !important; }
:root[data-theme="eclipse"] [style*="font-size: 13px"] { font-size: var(--fs-sm) !important; }
:root[data-theme="eclipse"] [style*="font-size: 11px"] { font-size: var(--fs-xs) !important; }
:root[data-theme="eclipse"] .mo-switch { position: relative; }
:root[data-theme="eclipse"] .mo-switch::after { content: ""; position: absolute; inset: -8px -2px; }

/* Home desktop trio: sane column minimums, wrap by words (never mid-word) */
@media (min-width: 1024px) and (min-width: 1200px) {
  :root[data-theme="eclipse"] .home-tri { grid-template-columns: minmax(0, 1.3fr) minmax(200px, 1fr) minmax(200px, 1fr); }
}
:root[data-theme="eclipse"] .home-tri > * { min-width: 0; }
:root[data-theme="eclipse"] .home-focus .row.between { flex-wrap: wrap; gap: 8px; }
:root[data-theme="eclipse"] .home-focus .card-title, :root[data-theme="eclipse"] .home-qa .list-row .grow, :root[data-theme="eclipse"] .list-row .grow {
  overflow-wrap: break-word; word-break: normal; hyphens: none; min-width: min(100%, 10ch);
}
:root[data-theme="eclipse"] .home-qa { padding-left: 4px !important; padding-right: 4px !important; }
:root[data-theme="eclipse"] .home-qa .list-row { gap: 10px; }
/* agent art glow: white, not per-agent blue */
:root[data-theme="eclipse"] .avatar .av-stage { filter: drop-shadow(0 0 8px rgba(255,255,255,.18)) !important; }
/* Home agent tiles: names/status never clipped, words never split */
:root[data-theme="eclipse"] .agent-tile { padding-left: 2px; padding-right: 2px; min-width: 0; }
:root[data-theme="eclipse"] .agent-tile .card-title { font-size: var(--fs-sm); overflow-wrap: break-word; word-break: normal; }
:root[data-theme="eclipse"] .agent-tile .status-dot { white-space: normal; text-align: center; max-width: 100%; }
:root[data-theme="eclipse"] .agent-tile .tiny { overflow-wrap: normal; word-break: normal; hyphens: none; max-width: 100%; }
@media (min-width: 1024px) {
  :root[data-theme="eclipse"] .home-agents { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
}

/* Glass buttons (owner request 2026-10-12): black glass with a soft white glow instead of solid white pills */
:root[data-theme="eclipse"] .btn {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)), rgba(8,9,12,.72);
  border: 1px solid rgba(255,255,255,.18); color: #f2f4f8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
:root[data-theme="eclipse"] .btn:hover { border-color: rgba(255,255,255,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 18px -8px rgba(255,255,255,.5); }
:root[data-theme="eclipse"] .btn.primary, :root[data-theme="eclipse"] .btn.accent {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.04) 55%, rgba(255,255,255,.1)), rgba(6,7,10,.86);
  border: 1px solid rgba(255,255,255,.5); color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -10px 18px -12px rgba(255,255,255,.28), 0 0 24px -6px rgba(255,255,255,.5), 0 8px 24px -14px rgba(0,0,0,.9);
  text-shadow: 0 0 12px rgba(255,255,255,.35);
}
:root[data-theme="eclipse"] .btn.primary:hover, :root[data-theme="eclipse"] .btn.accent:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.06) 55%, rgba(255,255,255,.14)), rgba(6,7,10,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -10px 18px -12px rgba(255,255,255,.34), 0 0 30px -4px rgba(255,255,255,.6), 0 8px 24px -14px rgba(0,0,0,.9);
}
:root[data-theme="eclipse"] .btn.primary svg, :root[data-theme="eclipse"] .btn.accent svg { color: #ffffff; }
:root[data-theme="eclipse"] .btn.danger, :root[data-theme="eclipse"] .btn.destructive { background: linear-gradient(180deg, rgba(242,106,120,.14), rgba(242,106,120,.04)), rgba(8,9,12,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
:root[data-theme="eclipse"] .btn.ghost { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root[data-theme="eclipse"] .bottom-nav a[aria-current="page"] .nav-ic { color: #ffffff; background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.05)), rgba(6,7,10,.86); border: 1px solid rgba(255,255,255,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 18px -4px rgba(255,255,255,.55); }
@media (prefers-reduced-motion: reduce) { :root[data-theme="eclipse"] .btn { transition: none; } }
