/* v4.37 — shared day/night palette. Generated by bin/build-theme-css.py. */
:root{color-scheme:light;--tvm-bg:#f4ecde;--tvm-panel:#fffcf6;--tvm-soft:#eee2cd;--tvm-ink:#332a23;--tvm-text:#584b3e;--tvm-muted:#786958;--tvm-border:#d9c7a8;--tvm-gold:#99703a;--tvm-accent:#9d3028;--tvm-on-accent:#fff8eb;--tvm-header:#fcf8ef;--tvm-calendar-red:#ff1616;--tvm-kim:#646b75;--tvm-moc:#24713e;--tvm-thuy:#193a6a;--tvm-hoa:#b23429;--tvm-tho:#916509}
:root[data-theme=night]{--tvm-bg:#17151d;--tvm-panel:#211d26;--tvm-soft:#302734;--tvm-ink:#f1e5d2;--tvm-text:#d0bfaa;--tvm-muted:#ac9987;--tvm-border:#4d3c3d;--tvm-gold:#d5b67a;--tvm-accent:#cf795f;--tvm-on-accent:#17151d;--tvm-header:#1c1821;--tvm-calendar-red:#ff8c7b;--tvm-kim:#bdc3d0;--tvm-moc:#87d1a0;--tvm-thuy:#8cc0fa;--tvm-hoa:#ff9d8e;--tvm-tho:#e4c576;color-scheme:dark}
html[data-theme] :is(body,#tvmGlobalShell,#tvmGlobalFooter,.classic-view,.legacy-admin-host){--paper:var(--tvm-bg);--white:var(--tvm-panel);--ink:var(--tvm-ink);--muted:var(--tvm-muted);--line:var(--tvm-border);--gold:var(--tvm-gold);--brown:var(--tvm-accent);--green:var(--tvm-accent);--light:var(--tvm-soft);--amber:var(--tvm-gold);--bz-ink:var(--tvm-ink);--bz-gold:var(--tvm-gold);--bz-border:var(--tvm-border);--bz-muted:var(--tvm-muted);--ak-ink:var(--tvm-ink);--ak-gold:var(--tvm-gold);--ak-line:var(--tvm-border);--ak-soft:var(--tvm-soft)}
html[data-theme] body{background-color:var(--tvm-bg);color:var(--tvm-ink)}
html[data-theme] input,html[data-theme] select,html[data-theme] textarea{accent-color:var(--tvm-accent)}


/* public/style.css */
:where(html[data-theme][data-tvm-page="portal"]) button:hover,:where(html[data-theme][data-tvm-page="portal"]) a:hover{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .topline{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) header{background:color-mix(in srgb,var(--tvm-panel) 93.33%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .dropdown{background:var(--var(--tvm-panel));box-shadow:0 12px 30px color-mix(in srgb,var(--tvm-ink) 7.84%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .dropdown a:hover,:where(html[data-theme][data-tvm-page="portal"]) .submenu>button:hover{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .submenu-list{background:var(--var(--tvm-panel));box-shadow:0 12px 30px color-mix(in srgb,var(--tvm-ink) 7.84%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .intro>p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .cosmos:before{background:radial-gradient(circle,color-mix(in srgb,var(--tvm-accent) 7.45%,transparent),transparent 68%)}
:where(html[data-theme][data-tvm-page="portal"]) .orbit{border:1px solid color-mix(in srgb,var(--tvm-border) 26.67%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .orbit2{border-color:color-mix(in srgb,var(--tvm-border) 33.33%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .wheel{background:repeating-conic-gradient(from -15deg,transparent 0 29.65deg,color-mix(in srgb,var(--tvm-accent) 33.33%,transparent) 29.65deg 30deg);box-shadow:inset 0 0 0 7px var(--paper),inset 0 0 0 8px color-mix(in srgb,var(--tvm-ink) 33.33%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .zodiac{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .inner-ring{box-shadow:0 0 0 9px var(--paper),0 0 0 10px color-mix(in srgb,var(--tvm-ink) 40.00%,transparent),inset 0 0 0 9px var(--paper),inset 0 0 0 10px color-mix(in srgb,var(--tvm-ink) 26.67%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .hero-caption{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .calendar{background:var(--var(--tvm-panel));border:1px solid var(--tvm-border);box-shadow:0 10px 40px color-mix(in srgb,var(--tvm-ink) 2.35%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .cal-head button{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .date-toolbar>button{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .smallcaps{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .date-display>div>span:last-child{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .day-tag{border:1px solid var(--tvm-border);background:var(--tvm-bg);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) .day-tag.dark{background:var(--tvm-bg);color:var(--tvm-gold);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .pillars{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .pillars small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .hours span{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) .hours span.current{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .summary-icon{background:var(--tvm-bg);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) .summary-icon.avoid{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .summary-icon.clash{background:var(--tvm-bg);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .summary p span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .cal-bottom>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .cal-note{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .section-aside{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .feature-card{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) .feature-card:hover{box-shadow:0 10px 25px color-mix(in srgb,var(--tvm-ink) 6.27%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .feature-card:first-child{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .feature-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .feature-card:first-child p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .corner-arrow{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .directory{background:var(--tvm-bg);border-top:1px solid var(--tvm-border);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .searchbox{background:var(--var(--tvm-panel));border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .searchbox>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) kbd{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .filter-tabs button{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .filter-tabs button.selected{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .category{background:var(--var(--tvm-panel));border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .category-title{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .category-title small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .category-links a{color:var(--tvm-accent);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .category-links a span{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .category-footer{background:var(--tvm-panel);color:var(--tvm-muted);border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .closing>p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) footer{background:var(--tvm-soft);border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .footer-inner p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .footer-inner p small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .footer-bottom{border-top:1px solid var(--tvm-border);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .week-label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .month-day.chosen{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .monthlegend{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) #holidayNames{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .back-home{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .tool-preview{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) .tool-preview .badge{border:1px solid var(--tvm-border);background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .tool-preview p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .tool-related a{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) #empty{border:1px dashed var(--tvm-border);color:var(--tvm-muted)}
@media(max-width:850px){
:where(html[data-theme][data-tvm-page="portal"]) nav{background:var(--var(--tvm-panel));box-shadow:0 12px 20px color-mix(in srgb,var(--tvm-ink) 6.27%,transparent)}
}
:where(html[data-theme][data-tvm-page="portal"]) .day-god{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) .cal-bottom>a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-group{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-group summary{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .legacy-admin-host #legacyToast{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .legacy-admin-host dialog{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) .auto-star-link{color:var(--tvm-accent);border-bottom:1px dotted var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .auto-star-link:hover{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .legacy-admin-host .topic-palace-checks label{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .home-birth-card{background:var(--var(--tvm-panel));box-shadow:0 12px 36px color-mix(in srgb,var(--tvm-ink) 1.96%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .home-birth-card input:not([type=checkbox]),:where(html[data-theme][data-tvm-page="portal"]) .home-birth-card select{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) .home-birth-caption>p{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) .nav-toggle:focus-visible,:where(html[data-theme][data-tvm-page="portal"]) .nav-parent:focus-visible{outline:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .nav-label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .nav-parent:hover{color:var(--tvm-gold)}

/* public/cms.css */
:where(html[data-theme][data-tvm-page="portal"]) .account-link{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .btn{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .btn:hover{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .btn.secondary{border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card:nth-child(2){background:var(--tvm-soft);color:var(--tvm-ink);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card:hover{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card:nth-child(2):hover{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card .eyebrow{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card:nth-child(2) .eyebrow{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card:nth-child(2) p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-card .card-cta{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .primary-art{border:1px solid color-mix(in srgb,var(--tvm-border) 31.37%,transparent);box-shadow:0 0 0 15px color-mix(in srgb,var(--tvm-ink) 1.57%,transparent),0 0 0 16px color-mix(in srgb,var(--tvm-ink) 12.55%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .category-links a{background:var(--tvm-panel);border:1px solid var(--tvm-border);color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .category-links a:hover{background:var(--tvm-bg);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .knowledge .section-top>a{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .article-visual{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) .article-visual:before,:where(html[data-theme][data-tvm-page="portal"]) .article-visual:after{border:1px solid color-mix(in srgb,var(--tvm-border) 18.82%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .article-visual .toolicon{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .article-card:nth-child(2) .article-visual{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) .article-card:nth-child(3) .article-visual{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) .article-card:nth-child(4) .article-visual{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) .article-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .article-meta{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .page-intro{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .news-tabs .selected{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .article-detail .lead{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .article-body{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) .login-card{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) .login-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .account-card{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) .account-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .chip{background:var(--tvm-bg);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) .chip.draft{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .chip.blocked{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-shell{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-sidebar{background:var(--tvm-accent);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-sidebar a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-sidebar a.selected,:where(html[data-theme][data-tvm-page="portal"]) .admin-sidebar a:hover{background:color-mix(in srgb,var(--tvm-panel) 8.24%,transparent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-sidebar .toolicon{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-user{border-top:1px solid color-mix(in srgb,var(--tvm-border) 12.55%,transparent);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-user b{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-title p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-panel{background:var(--var(--tvm-panel));border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-panel p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .stat{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) .stat span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-table-wrap{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) .admin-table th{background:var(--tvm-bg);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-table td{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-table small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .row-actions button,:where(html[data-theme][data-tvm-page="portal"]) .text-button{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .row-actions button:hover{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .table-toolbar input{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) .table-toolbar label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .empty-state{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .field>span{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) .field input,:where(html[data-theme][data-tvm-page="portal"]) .field textarea,:where(html[data-theme][data-tvm-page="portal"]) .field select{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .field small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .form-actions .hint{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .permission-group{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .permission-group label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-breadcrumb{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .settings-tabs button{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .settings-tabs button.selected{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .media-item{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="portal"]) .media-item img{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .media-item code{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .toast{background:var(--tvm-accent);color:var(--tvm-on-accent);box-shadow:0 7px 25px color-mix(in srgb,var(--tvm-ink) 12.55%,transparent);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .content-summary small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .admin-note{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) .loading{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .article-body h2,:where(html[data-theme][data-tvm-page="portal"]) .article-body h3,:where(html[data-theme][data-tvm-page="portal"]) .article-body h4{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) .article-body blockquote{border-left:3px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .article-body a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) .article-body figcaption{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .article-body td,:where(html[data-theme][data-tvm-page="portal"]) .article-body th{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .article-body th{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-editor{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-toolbar{background:var(--tvm-bg);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-toolbar button,:where(html[data-theme][data-tvm-page="portal"]) .rt-toolbar select{border:1px solid var(--tvm-border);background:var(--tvm-panel);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-toolbar button:hover{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-toolbar button:focus-visible,:where(html[data-theme][data-tvm-page="portal"]) .rt-toolbar select:focus-visible{outline:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-surface:focus{box-shadow:inset 0 0 0 2px var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-surface:empty:before{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-status{background:var(--tvm-bg);border-top:1px solid var(--tvm-border);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-dialog{border:1px solid var(--tvm-border);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-dialog input{border:1px solid var(--tvm-border);color:var(--tvm-ink);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-media button{background:var(--tvm-bg);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) .rt-media button.selected{border-color:var(--tvm-border);background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-builder-toolbar>input{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-tree-row{border:1px solid var(--tvm-border);background:var(--tvm-panel);box-shadow:0 2px 3px color-mix(in srgb,var(--tvm-ink) 1.18%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-tree-row[draggable=true]:hover{border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-drag{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-tree-label b{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-tree-label small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-tree-label code{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-builder-footer{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) .menu-builder-footer span{color:var(--tvm-muted)}

/* public/legacy-admin.css */
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) button,:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) a.btn{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .ghost{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) input,:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) select,:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) textarea{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .sidebar{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .sidebar nav a.active{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .card{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .wallet.paid{border-top-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .pill{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .pill.lock{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .notice{background:var(--tvm-soft);border-left:3px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .auth{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .auth-intro{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) th{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .tabs button{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .tabs .active{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) #toast{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .chart{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .cell{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .cell:hover,:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .cell.related{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .cell h3{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .public-header{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .landing-story h1{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .landing-story>p{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .landing-form{background:var(--tvm-panel);border-color:var(--tvm-border);box-shadow:0 18px 65px color-mix(in srgb,var(--tvm-ink) 7.45%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .free-features{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .free-features span{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .celestial{background:radial-gradient(circle,color-mix(in srgb,var(--tvm-soft) 33.33%,transparent),transparent 70%)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .orbital{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .celestial-core{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .zodiac{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .saved-card{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .saved-card.primary-chart{background:linear-gradient(115deg,var(--tvm-bg),var(--tvm-bg));border:2px solid var(--tvm-border);box-shadow:inset 0 0 0 4px var(--tvm-ink),inset 0 0 0 5px var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .zodiac-badge{border:1px solid var(--tvm-border);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .sidebar{background:var(--tvm-accent);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .brand,:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .brand b{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .sidebar nav a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .sidebar nav a.active{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .sidebar small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .card{background:var(--tvm-panel);box-shadow:0 2px 6px color-mix(in srgb,var(--tvm-ink) 1.57%,transparent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .bottom{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .admin-shell .bottom a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="portal"]) :where(.legacy-admin-host) .staff-login{background:var(--tvm-panel)}

/* public/cms.css */
:where(html[data-theme][data-tvm-page="library"]) .account-link{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .btn{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .btn:hover{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .btn.secondary{border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card:nth-child(2){background:var(--tvm-soft);color:var(--tvm-ink);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card:hover{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card:nth-child(2):hover{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card .eyebrow{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card:nth-child(2) .eyebrow{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card:nth-child(2) p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .primary-card .card-cta{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .primary-art{border:1px solid color-mix(in srgb,var(--tvm-border) 31.37%,transparent);box-shadow:0 0 0 15px color-mix(in srgb,var(--tvm-ink) 1.57%,transparent),0 0 0 16px color-mix(in srgb,var(--tvm-ink) 12.55%,transparent)}
:where(html[data-theme][data-tvm-page="library"]) .category-links a{background:var(--tvm-panel);border:1px solid var(--tvm-border);color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .category-links a:hover{background:var(--tvm-bg);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .knowledge .section-top>a{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .article-visual{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="library"]) .article-visual:before,:where(html[data-theme][data-tvm-page="library"]) .article-visual:after{border:1px solid color-mix(in srgb,var(--tvm-border) 18.82%,transparent)}
:where(html[data-theme][data-tvm-page="library"]) .article-visual .toolicon{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .article-card:nth-child(2) .article-visual{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="library"]) .article-card:nth-child(3) .article-visual{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="library"]) .article-card:nth-child(4) .article-visual{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="library"]) .article-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .article-meta{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .page-intro{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .news-tabs .selected{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .article-detail .lead{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .article-body{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="library"]) .login-card{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="library"]) .login-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .account-card{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="library"]) .account-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .chip{background:var(--tvm-bg);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="library"]) .chip.draft{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .chip.blocked{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .admin-shell{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="library"]) .admin-sidebar{background:var(--tvm-accent);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .admin-sidebar a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .admin-sidebar a.selected,:where(html[data-theme][data-tvm-page="library"]) .admin-sidebar a:hover{background:color-mix(in srgb,var(--tvm-panel) 8.24%,transparent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .admin-sidebar .toolicon{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .admin-user{border-top:1px solid color-mix(in srgb,var(--tvm-border) 12.55%,transparent);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .admin-user b{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .admin-title p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .admin-panel{background:var(--var(--tvm-panel));border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .admin-panel p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .stat{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="library"]) .stat span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .admin-table-wrap{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="library"]) .admin-table th{background:var(--tvm-bg);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .admin-table td{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .admin-table small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .row-actions button,:where(html[data-theme][data-tvm-page="library"]) .text-button{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .row-actions button:hover{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="library"]) .table-toolbar input{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="library"]) .table-toolbar label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .empty-state{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .field>span{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="library"]) .field input,:where(html[data-theme][data-tvm-page="library"]) .field textarea,:where(html[data-theme][data-tvm-page="library"]) .field select{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .field small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .form-actions .hint{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .permission-group{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .permission-group label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .admin-breadcrumb{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .settings-tabs button{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .settings-tabs button.selected{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .media-item{background:var(--var(--tvm-panel))}
:where(html[data-theme][data-tvm-page="library"]) .media-item img{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="library"]) .media-item code{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .toast{background:var(--tvm-accent);color:var(--tvm-on-accent);box-shadow:0 7px 25px color-mix(in srgb,var(--tvm-ink) 12.55%,transparent);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .content-summary small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .admin-note{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .loading{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .article-body h2,:where(html[data-theme][data-tvm-page="library"]) .article-body h3,:where(html[data-theme][data-tvm-page="library"]) .article-body h4{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .article-body blockquote{border-left:3px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="library"]) .article-body a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .article-body figcaption{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .article-body td,:where(html[data-theme][data-tvm-page="library"]) .article-body th{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .article-body th{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="library"]) .rt-editor{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="library"]) .rt-toolbar{background:var(--tvm-bg);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .rt-toolbar button,:where(html[data-theme][data-tvm-page="library"]) .rt-toolbar select{border:1px solid var(--tvm-border);background:var(--tvm-panel);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .rt-toolbar button:hover{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="library"]) .rt-toolbar button:focus-visible,:where(html[data-theme][data-tvm-page="library"]) .rt-toolbar select:focus-visible{outline:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .rt-surface:focus{box-shadow:inset 0 0 0 2px var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .rt-surface:empty:before{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .rt-status{background:var(--tvm-bg);border-top:1px solid var(--tvm-border);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .rt-dialog{border:1px solid var(--tvm-border);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .rt-dialog input{border:1px solid var(--tvm-border);color:var(--tvm-ink);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="library"]) .rt-media button{background:var(--tvm-bg);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .rt-media button.selected{border-color:var(--tvm-border);background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="library"]) .menu-builder-toolbar>input{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="library"]) .menu-tree-row{border:1px solid var(--tvm-border);background:var(--tvm-panel);box-shadow:0 2px 3px color-mix(in srgb,var(--tvm-ink) 1.18%,transparent)}
:where(html[data-theme][data-tvm-page="library"]) .menu-tree-row[draggable=true]:hover{border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .menu-drag{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .menu-tree-label b{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .menu-tree-label small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .menu-tree-label code{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .menu-builder-footer{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .menu-builder-footer span{color:var(--tvm-muted)}

/* public/astro-library.css */
:where(html[data-theme][data-tvm-page="library"]) .ak-breadcrumb{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-breadcrumb a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .ak-heading p:not(.ak-kicker){color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-seal{border:1px solid var(--tvm-border);outline:1px solid var(--tvm-border);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .ak-tools label>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-tools input,:where(html[data-theme][data-tvm-page="library"]) .ak-tools select{border:1px solid var(--tvm-border);background:var(--tvm-panel);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .ak-tools input:focus,:where(html[data-theme][data-tvm-page="library"]) .ak-tools select:focus{outline:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .ak-tools p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-index-nav{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="library"]) .ak-index-nav h2{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-index-nav a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .ak-index-nav a:hover{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="library"]) .ak-index-nav a.selected{background:var(--tvm-soft);color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .ak-index-nav a.ak-child{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .ak-section-title>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-card{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="library"]) .ak-card:hover{border-color:var(--tvm-border);box-shadow:0 5px 15px color-mix(in srgb,var(--tvm-ink) 2.35%,transparent)}
:where(html[data-theme][data-tvm-page="library"]) .ak-card-symbol{background:var(--tvm-bg);border:1px solid var(--tvm-border);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .ak-card h3{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="library"]) .ak-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-card small{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="library"]) .ak-card-arrow{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-bottom{border:1px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="library"]) .ak-bottom p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-article{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="library"]) .ak-lead{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-article .article-body{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="library"]) .ak-reading-note{border-left:3px solid var(--tvm-border);background:var(--tvm-bg);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-side-card{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="library"]) .ak-side-card dt{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-side-card dd{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="library"]) .ak-side-card>a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .ak-small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-dignities>span{border:1px solid var(--tvm-border);background:var(--tvm-panel);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-dignities b{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="library"]) .ak-side-card>a.ak-related{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="library"]) .ak-related span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-cta{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="library"]) .ak-empty{background:var(--tvm-panel);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="library"]) .ak-article .article-body a[href]{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="library"]) .ak-article .article-body a[href]:hover{color:var(--tvm-accent)}

/* public/bazi.css */
:where(html[data-theme][data-tvm-page="bazi"]) body{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-seal{border:1px solid var(--tvm-border);outline:1px solid var(--tvm-border);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-card{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-section-head>span{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-wrap input:not([type=checkbox]),:where(html[data-theme][data-tvm-page="bazi"]) .bz-wrap select{border:1px solid var(--tvm-border);background:var(--tvm-panel);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-wrap input:focus,:where(html[data-theme][data-tvm-page="bazi"]) .bz-wrap select:focus,:where(html[data-theme][data-tvm-page="bazi"]) .bz-button:focus-visible,:where(html[data-theme][data-tvm-page="bazi"]) .bz-outline:focus-visible{outline:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-button{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-button:hover{background:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-outline{border:1px solid var(--tvm-border);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-outline:hover{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-method{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-method h2{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-method li{border-top:1px solid color-mix(in srgb,var(--tvm-border) 14.51%,transparent)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-method li:before{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-method li span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-anchor-nav{background:color-mix(in srgb,var(--tvm-bg) 93.33%,transparent)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-anchor-nav a{color:var(--tvm-accent);background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-anchor-nav a:hover{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-pillar{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-pillar h3 small{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-pillar-chi{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-daymaster{border:1px solid var(--tvm-border);background:var(--tvm-bg);box-shadow:inset 0 3px var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-god{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-hidden{border-top:1px dashed var(--tvm-border)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-phase{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-markers{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-track{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-notice{background:var(--tvm-bg);border-left:3px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-fortune-grid summary{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-selected{background:var(--tvm-bg);border-color:var(--tvm-border)!important}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-month-table th{background:var(--tvm-bg);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-glossary summary>span{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-dialog{border:1px solid var(--tvm-border);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="bazi"]) .bz-close{color:var(--tvm-ink)}

/* modules/calendar/style.css */
:where(html[data-theme][data-tvm-page="calendar"]) button:focus-visible,:where(html[data-theme][data-tvm-page="calendar"]) a:focus-visible{outline:3px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) header{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .navlink{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .outline{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) h1 em{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .hero p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .hero-meta{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .art{background:radial-gradient(ellipse at center,var(--tvm-soft),transparent 70%)}
:where(html[data-theme][data-tvm-page="calendar"]) .sun{background:var(--tvm-soft);color:var(--tvm-gold);box-shadow:0 0 0 10px color-mix(in srgb,var(--tvm-ink) 20.00%,transparent)}
:where(html[data-theme][data-tvm-page="calendar"]) .orbit{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .artcaption{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .search-panel{background:var(--tvm-panel);box-shadow:0 7px 20px color-mix(in srgb,var(--tvm-ink) 1.96%,transparent)}
:where(html[data-theme][data-tvm-page="calendar"]) .icon{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) input,:where(html[data-theme][data-tvm-page="calendar"]) select{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .primary{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .arrows button{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .filters .selected{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .viewtoggle .selected{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .daycard{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .daycard:hover{box-shadow:0 6px 18px color-mix(in srgb,var(--tvm-ink) 6.27%,transparent)}
:where(html[data-theme][data-tvm-page="calendar"]) .dateblock small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .lunar b{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .badge{background:var(--tvm-bg);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .badge.consider{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="calendar"]) .dayinfo .hours{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .detailsbtn{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .subnote{color:var(--tvm-gold)!important}
:where(html[data-theme][data-tvm-page="calendar"]) .aside-card{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .minigrid small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .minigrid button{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .minigrid button.current{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .legend{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .legend i{background:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .feature{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .feature p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .feature button{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .listline{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .empty{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .gridcalendar .weekday{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .gridcalendar .cell{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .gridcalendar .blank{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .breadcrumbs{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .detailhero{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .bigdate.lunarbig{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .bigdate p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .verdict{border:1px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .verdict.consider{background:var(--tvm-bg);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .verdict p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .detailsection{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .detailsection h3{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .drow{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .drow>strong{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .houritem{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .houritem b{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .houritem small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .prose{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .prose p,:where(html[data-theme][data-tvm-page="calendar"]) .prose li{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .statusnote{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) footer p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) footer small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .footlinks button{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .footlinks a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) #toast{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .daysearch{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .minicontrols button{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .minigrid .minilunar{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .minigrid button.today{background:var(--tvm-accent)!important;color:var(--tvm-on-accent)!important}
:where(html[data-theme][data-tvm-page="calendar"]) .minigrid button.today b,:where(html[data-theme][data-tvm-page="calendar"]) .minigrid button.today .minilunar{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .cell.today{box-shadow:inset 0 0 0 2px var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="calendar"]) .daycard.today{border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .todaylabel{color:var(--tvm-on-accent);background:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .holidaylabel{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .holidayrow{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .minigrid button.today:after{background:var(--tvm-panel)!important}
:where(html[data-theme][data-tvm-page="calendar"]) .month-chart-axis{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .month-chart-bars{background:repeating-linear-gradient(to top,transparent 0,transparent 69px,var(--tvm-bg) 70px,var(--tvm-bg) 71px)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-calendar-head{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-calendar-head>div:nth-child(2){background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-featured{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-featured-grid article{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-featured-grid article>b{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-group{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-time-chip{background:var(--tvm-bg);color:var(--tvm-ink);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-time-chip.uncertain{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-system-table thead{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-good{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-neutral{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-method{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-uncertainty{color:var(--tvm-gold)!important}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-featured,:where(html[data-theme][data-tvm-page="calendar"]) .hour-group,:where(html[data-theme][data-tvm-page="calendar"]) .hour-featured-grid article{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-activities>b{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-featured-grid .hour-activities>b{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .hour-featured-grid .hour-activities li{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-tabs{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-tabs button{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-tabs button[aria-selected=true]{background:var(--tvm-soft);color:var(--tvm-accent);box-shadow:inset 0 0 0 1px var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-jump select{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-month{background:var(--tvm-panel);border:1px solid var(--tvm-border);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-month>header button{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-month>header small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-weekday{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-cell{color:var(--tvm-on-accent);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-cell:hover{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--tvm-ink) 53.33%,transparent)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-cell:focus-visible{outline:3px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-god{color:var(--tvm-accent);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-level{background:color-mix(in srgb,var(--tvm-panel) 87.45%,transparent);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-event{color:var(--tvm-text);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-today{outline:3px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-today-tag{background:var(--tvm-soft);color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-summary{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-events a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-events b{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-legend{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-legend i{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-note{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="calendar"]) .compact .almanac-cell{border-color:color-mix(in srgb,var(--tvm-border) 27.06%,transparent)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-term{background:var(--tvm-soft);color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="calendar"]) .day-god-name.auspicious{color:var(--tvm-muted)!important}
:where(html[data-theme][data-tvm-page="calendar"]) .day-god-name.inauspicious{color:var(--tvm-ink)!important}
:where(html[data-theme][data-tvm-page="calendar"]) .day-work-summary{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="calendar"]) .day-work-summary small{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-day-line>b,:where(html[data-theme][data-tvm-page="calendar"]) .almanac-lunar{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-cell .day-work-summary{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .almanac-god-name{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="calendar"]) .day-detail-nav a{background:var(--tvm-bg);color:var(--tvm-accent);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .day-star-section,:where(html[data-theme][data-tvm-page="calendar"]) .day-conclusion{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="calendar"]) .detail-scope{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="calendar"]) .day-conclusion{background:var(--tvm-bg)}

/* public/la-so/assets/portal.css */
:where(html[data-theme][data-tvm-page="tuvi"]) button,:where(html[data-theme][data-tvm-page="tuvi"]) a.btn{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .ghost{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) input,:where(html[data-theme][data-tvm-page="tuvi"]) select,:where(html[data-theme][data-tvm-page="tuvi"]) textarea{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .sidebar{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .sidebar nav a.active{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .card{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .wallet.paid{border-top-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .pill{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .pill.lock{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .notice{background:var(--tvm-soft);border-left:3px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .auth{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .auth-intro{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) th{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .tabs button{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .tabs .active{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) #toast{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .chart{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .cell{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .cell:hover,:where(html[data-theme][data-tvm-page="tuvi"]) .cell.related{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .cell h3{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .public-header{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .landing-story h1{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .landing-story>p{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .landing-form{background:var(--tvm-panel);border-color:var(--tvm-border);box-shadow:0 18px 65px color-mix(in srgb,var(--tvm-ink) 7.45%,transparent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .free-features{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .free-features span{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .celestial{background:radial-gradient(circle,color-mix(in srgb,var(--tvm-soft) 33.33%,transparent),transparent 70%)}
:where(html[data-theme][data-tvm-page="tuvi"]) .orbital{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .celestial-core{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .zodiac{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .saved-card{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .saved-card.primary-chart{background:linear-gradient(115deg,var(--tvm-bg),var(--tvm-bg));border:2px solid var(--tvm-border);box-shadow:inset 0 0 0 4px var(--tvm-ink),inset 0 0 0 5px var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .zodiac-badge{border:1px solid var(--tvm-border);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .classic-view .palace-bottom b,:where(html[data-theme][data-tvm-page="tuvi"]) .classic-view .palace-bottom a{color:var(--tvm-accent)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .opposite-inventory,:where(html[data-theme][data-tvm-page="tuvi"]) .advanced-section{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .advanced-section .source-meta{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .advanced-domain-grid article{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .study-source{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .study-source pre{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-position-banner{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid .located-star{border:2px solid var(--tvm-border)!important;background:var(--tvm-bg)!important;box-shadow:0 3px 12px color-mix(in srgb,var(--tvm-ink) 9.41%,transparent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-location-badge{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) #focusedStar{border-left:4px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .month-outlook{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .month-number{background:var(--tvm-soft);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .month-date{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .month-domain small{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .month-action{background:var(--tvm-bg)}

/* public/la-so/assets/classic-styles.css */
:where(html[data-theme][data-tvm-page="tuvi"]) button:focus-visible,:where(html[data-theme][data-tvm-page="tuvi"]) a:focus-visible,:where(html[data-theme][data-tvm-page="tuvi"]) summary:focus-visible{outline:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .header{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .brand small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .nav-item{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) #savedCount{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .header-note{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .eyebrow>span{background:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .page-heading p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .heading-decoration{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .heading-decoration span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .form-card{background:var(--tvm-panel);box-shadow:0 3px 8px color-mix(in srgb,var(--tvm-ink) 1.18%,transparent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .card-title{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .title-icon{color:var(--tvm-gold);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .card-title p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .optional{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) input:not([type=radio]):not([type=checkbox]),:where(html[data-theme][data-tvm-page="tuvi"]) select{background:var(--tvm-panel);border:1px solid var(--tvm-border);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) input:focus,:where(html[data-theme][data-tvm-page="tuvi"]) select:focus{border-color:var(--tvm-border)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--tvm-ink) 8.24%,transparent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .segmented{border:1px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .segmented span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .segmented input:checked+span{background:var(--tvm-panel);box-shadow:0 1px 3px color-mix(in srgb,var(--tvm-ink) 6.27%,transparent);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .hour-note{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .hour-note b{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .divider{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .check{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .options{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .primary{color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .primary:hover{background:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .sample{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-card{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-card .eyebrow{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-card h3{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-card p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .book-icon{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-card button{border-top:1px solid var(--tvm-border);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .privacy{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .privacy>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .result-label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .outline{background:var(--tvm-panel);border:1px solid var(--tvm-border);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .outline:hover{border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .result-subline{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .result-subline b{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .status-dot{background:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .chart{border:1px solid var(--tvm-border);background:var(--tvm-panel);box-shadow:0 3px 20px color-mix(in srgb,var(--tvm-ink) 1.57%,transparent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace{border-right:1px solid var(--tvm-border);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace:hover{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace.selected{background:var(--tvm-bg);box-shadow:inset 0 0 0 1px var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace.related{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace-meta{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace-meta strong{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace-title{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .than-tag{color:var(--tvm-gold);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .empty-major{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star.difficult{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace-bottom{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .empty-note{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center{background:var(--tvm-bg);border-right:1px solid var(--tvm-border);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center-decor{border:1px solid color-mix(in srgb,var(--tvm-border) 60.00%,transparent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center-decor:before,:where(html[data-theme][data-tvm-page="tuvi"]) .center-decor:after{color:var(--tvm-muted);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center-top{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center h2{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center-pill{background:var(--tvm-soft);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center-info dt{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center-info dd{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center-seal{border:2px double var(--tvm-border);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .center-bottom p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .chart-legend{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .element{background:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .pointer{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .detail-card{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .detail-head h3 small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .detail-head>span{color:var(--tvm-muted);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .detail-card>p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .detail-info{border-bottom:1px solid var(--tvm-border);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .detail-info b{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .detail-card details{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-table td,:where(html[data-theme][data-tvm-page="tuvi"]) .star-table th{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-table th{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .result-foot{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) footer{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) footer button{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) dialog{border:1px solid var(--tvm-border);background:var(--tvm-panel);box-shadow:0 20px 90px color-mix(in srgb,var(--tvm-ink) 25.10%,transparent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .close{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .dialog-body h3{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .saved-item p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .toast{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-tabs{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-tabs button{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-tabs button[aria-selected=true]{color:var(--tvm-gold);border-bottom-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-panel p{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-overview p{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .main-readings>article{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .main-readings small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .dignity.lit{color:var(--tvm-text);background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .dignity.dim{color:var(--tvm-gold);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-section-head>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-rule{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .rule-top{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-rule.support .rule-top>span:first-child{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-rule.caution .rule-top>span:first-child{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-rule.mixed .rule-top>span:first-child{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-rule details{border-top:1px dashed var(--tvm-border);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .evidence{color:var(--tvm-muted)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-synthesis{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-synthesis .topic-note{border-top:1px solid var(--tvm-border);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-field{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-field>div{border-right:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-field span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-field small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-field em{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .field-note{color:var(--tvm-muted)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .coverage-empty{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .coverage-box{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-table td small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .natal-comparison>article{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .natal-comparison article>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .natal-note{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .natal-note h4 small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-limits{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .suppressed summary{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .suppressed p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) #webSources a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) #webSources p{color:var(--tvm-muted)}
@media(max-width:650px){
:where(html[data-theme][data-tvm-page="tuvi"]) .reading-field>div:nth-child(-n+2){border-bottom:1px solid var(--tvm-border)}
}
:where(html[data-theme][data-tvm-page="tuvi"]) .dignity-explanation{color:var(--tvm-muted)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-overview{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-overview-head h3{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-overview-head>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-model-label{color:var(--tvm-muted)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-card{border:1px solid var(--tvm-border);background:var(--tvm-panel);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-card:hover{border-color:var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-card>span small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-card>strong small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-card>p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .score-track{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-card.challenging{color:var(--tvm-gold);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-card.balanced{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-overview-foot{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-reading-hero{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-reading-hero h4{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-band{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-big strong{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-big>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-score-big small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-reading-hero.balanced{background:var(--tvm-bg);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-reading-hero.balanced h4,:where(html[data-theme][data-tvm-page="tuvi"]) .life-reading-hero.balanced strong{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-reading-hero.challenging{background:var(--tvm-bg);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-reading-hero.challenging h4,:where(html[data-theme][data-tvm-page="tuvi"]) .life-reading-hero.challenging strong{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-prose p{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-prose p:first-child{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-facets article{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-facets article>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-facets strong{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-facets strong small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-facets p{color:var(--tvm-muted)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .score-method,:where(html[data-theme][data-tvm-page="tuvi"]) .source-comparison{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .score-method summary,:where(html[data-theme][data-tvm-page="tuvi"]) .source-comparison summary{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .score-breakdown td,:where(html[data-theme][data-tvm-page="tuvi"]) .score-breakdown th{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .score-breakdown th{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .score-breakdown tfoot{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-comparison article{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-comparison h4 small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-final-note,:where(html[data-theme][data-tvm-page="tuvi"]) .life-boundary{color:var(--tvm-muted)!important;border-left:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-impacts{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-impacts article{border-left:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-impacts h5{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-impacts small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .back-link{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .explorer-heading h1{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .explorer-heading h1 em{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .explorer-heading>p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .explorer-aside{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .explorer-aside a{color:var(--tvm-accent);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .explorer-aside a:hover{color:var(--tvm-accent);background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .explorer-aside small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .catalog-note{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .lookup-panel,:where(html[data-theme][data-tvm-page="tuvi"]) .palace-inventory,:where(html[data-theme][data-tvm-page="tuvi"]) .star-profile,:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-section,:where(html[data-theme][data-tvm-page="tuvi"]) .star-context,:where(html[data-theme][data-tvm-page="tuvi"]) .than-explanation{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .lookup-filters label{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .lookup-filters input,:where(html[data-theme][data-tvm-page="tuvi"]) .lookup-filters select{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .classification-note{color:var(--tvm-muted)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .lookup-summary{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-link{border:1px solid var(--tvm-border);color:var(--tvm-accent);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-link:hover{border-color:var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-link small{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-link i{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-tags>span{background:var(--tvm-soft);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-tags .tag-sat,:where(html[data-theme][data-tvm-page="tuvi"]) .star-tags .tag-hung{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-tags .tag-phuc,:where(html[data-theme][data-tvm-page="tuvi"]) .star-tags .tag-cat{background:var(--tvm-soft);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .inventory-head h2,:where(html[data-theme][data-tvm-page="tuvi"]) .star-profile h2,:where(html[data-theme][data-tvm-page="tuvi"]) .star-context h2{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .inventory-head>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace-inventory h3{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace-inventory h3 small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .empty-state{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .profile-top>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .profile-fields{border-top:1px solid var(--tvm-border);border-left:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .profile-fields>div{border-bottom:1px solid var(--tvm-border);border-right:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .profile-fields dt{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .profile-fields dd{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-profile p,:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-section>p,:where(html[data-theme][data-tvm-page="tuvi"]) .star-context p,:where(html[data-theme][data-tvm-page="tuvi"]) .than-explanation p{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .dignity-grid>div{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .dignity-grid b{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .dignity-grid span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .dignity-grid .current{border-color:var(--tvm-border);background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-profile>small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid article{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid article.current{background:var(--tvm-bg);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid article.chosen{outline:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid h3{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid article>div span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid article p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid article small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-palace-grid article a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-context{border-left:3px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-context article{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-context small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .explorer-reading a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .than-explanation b{color:var(--tvm-gold)}

/* public/la-so/assets/classic-advanced.css */
:where(html[data-theme][data-tvm-page="tuvi"]) .star.unclassified{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace.opposite-related{box-shadow:inset 0 0 0 1px var(--tvm-ink);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .palace.pair-related{box-shadow:inset 0 0 0 1px var(--tvm-ink);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .aspect-key{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .aspect-key>span:before{border-top:2px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .aspect-key>.opposite-key:before{border-top:2px dashed var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .aspect-key>.pair-key:before{border-top:2px dotted var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .aspect-key small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .vcd-context{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .vcd-context h4{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .vcd-context p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .vcd-context small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-heading h1{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-heading>p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-nav a{border:1px solid var(--tvm-border);color:var(--tvm-accent);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-nav a:hover{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-section,:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-lead,:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-method{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-section>h2,:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-lead h2,:where(html[data-theme][data-tvm-page="tuvi"]) .element-layers h2{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-section p,:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-lead p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-section a,:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-lead a,:where(html[data-theme][data-tvm-page="tuvi"]) .year-prev-next a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-stat-row>div{background:var(--tvm-soft);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-stat-row b{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-stat-row span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .period-card{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .period-card.current{border-color:var(--tvm-border);background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .period-card>small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .period-card h3{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .period-card>span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .period-layer span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .element-layers article{background:var(--tvm-soft);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .element-layers small{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .element-layers p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-field>div{border:1px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-field h3{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-field small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .transit-card,:where(html[data-theme][data-tvm-page="tuvi"]) .pattern-card,:where(html[data-theme][data-tvm-page="tuvi"]) .topic-impact{border-left:2px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .transit-card h3,:where(html[data-theme][data-tvm-page="tuvi"]) .pattern-card h3,:where(html[data-theme][data-tvm-page="tuvi"]) .topic-impact h3{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .transit-card h3 small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .transit-card>small,:where(html[data-theme][data-tvm-page="tuvi"]) .pattern-card>small,:where(html[data-theme][data-tvm-page="tuvi"]) .unmatched-pattern small{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .pattern-card h2{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .pattern-card li{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .unmatched-pattern{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .unmatched-pattern h3{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .timeline-controls label{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .year-table th{color:var(--tvm-muted);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .year-table td{border-bottom:1px solid var(--tvm-border);color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .year-table tr.current{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-stars article{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-stars b{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-stars span{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-stars small{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-link-grid a{border:1px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-link-grid span{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-method summary{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-method p,:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-method li{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .analysis-method a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-grid>a{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-grid small{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-grid h2{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-grid p{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-grid span{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .vcd-note{background:var(--tvm-bg);border-left:3px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .principal-strengths section{border:1px solid var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .principal-strengths section+section{border-color:var(--tvm-border);background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .principal-strengths small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .principal-strengths h2{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .principal-strengths li{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .principal-grid>a>b{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .principal-deep-link{background:var(--tvm-soft);border:1px solid var(--tvm-border);color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .life-topic-links a{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-impact small{color:var(--tvm-gold)}

/* public/la-so/assets/classic-bridge.css */
:where(html[data-theme][data-tvm-page="tuvi"]) .classic-view .main-readings article{background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .classic-view .deep-gate{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .classic-view .reading-alert{background:var(--tvm-soft);border-left:3px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .classic-view .reading-rules article{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .classic-view .reading-rules details{border-top:1px dashed var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .knowledge-article{border-top:1px solid var(--tvm-border)}

/* public/module-shared.css */
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-shared{background:var(--tvm-panel);border-bottom:1px solid var(--tvm-border);color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-brand{color:var(--tvm-ink)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-brand small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-seal{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-shared nav a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-account{border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-shared-footer{background:var(--tvm-soft);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-shared-footer strong{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-shared-footer a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-return{background:var(--tvm-accent);color:var(--tvm-on-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .portal-return:hover{background:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .module-localnav{background:var(--tvm-bg);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .module-name{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .chart-section-tabs{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .chart-section-tabs a{border:1px solid var(--tvm-border);background:var(--tvm-panel);color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .chart-section-tabs a.active{background:var(--tvm-accent);color:var(--tvm-on-accent);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .integrated-tuvi .palace-meta,:where(html[data-theme][data-tvm-page="tuvi"]) .integrated-tuvi .palace-meta strong{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .integrated-tuvi .palace-bottom{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .integrated-tuvi .empty-major{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .integrated-tuvi .center-info dt{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .integrated-tuvi .center-info dd{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .product-accordion{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .product-accordion summary:before{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .price-chip{background:var(--tvm-soft);color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .product-unavailable{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .quick-star-search>label{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .quick-star-search>input{background:var(--tvm-panel)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .quick-star-results{background:var(--tvm-panel);border:1px solid var(--tvm-border);box-shadow:0 12px 25px color-mix(in srgb,var(--tvm-ink) 10.20%,transparent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .quick-star-results a{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .quick-star-results a:hover{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .wave-card,:where(html[data-theme][data-tvm-page="tuvi"]) .annual-free-card{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .wave-heading h3{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .wave-card>p,:where(html[data-theme][data-tvm-page="tuvi"]) .annual-free-card>p{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .wave-score-grid>a{background:var(--tvm-bg)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-free-grid article{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-free-title>b{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-free-title>span{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-free-stars{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-detail-link{color:var(--tvm-accent);border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .auto-star-link{color:var(--tvm-accent)!important;border-bottom:1px dotted var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .auto-star-link:hover{color:var(--tvm-accent)!important}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-reference{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .star-reference article{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reference-facts>div{background:var(--tvm-panel);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reference-facts dt{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reference-facts dd{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reference-facts small,:where(html[data-theme][data-tvm-page="tuvi"]) .source-meta small{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-meta a{color:var(--tvm-accent)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-parent{border:1px solid var(--tvm-border);background:var(--tvm-panel)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-parent>summary{color:var(--tvm-ink)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-parent>summary small{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-description{color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .topic-child{border-top:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reference-comparison th{background:var(--tvm-soft);color:var(--tvm-text)}
:where(html[data-theme][data-tvm-page="tuvi"]) .reference-comparison .source-variant{background:var(--tvm-soft)}
:where(html[data-theme][data-tvm-page="tuvi"]) .source-variant td:last-child{color:var(--tvm-gold)}
:where(html[data-theme][data-tvm-page="tuvi"]) .free-reference-facts{background:var(--tvm-bg);border-color:var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .free-reference-facts>div{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .annual-moving-stars{color:var(--tvm-muted)}
:where(html[data-theme][data-tvm-page="tuvi"]) .legacy-topic-receipts{background:var(--tvm-bg);border:1px solid var(--tvm-border)}
:where(html[data-theme][data-tvm-page="tuvi"]) .legacy-topic-receipts a{color:var(--tvm-accent)}

/* public/global-shell.css */
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) button:hover,:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) a:hover{color:var(--tvm-accent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .topline{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) header{background:color-mix(in srgb,var(--tvm-panel) 93.33%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .dropdown{background:var(--var(--tvm-panel));box-shadow:0 12px 30px color-mix(in srgb,var(--tvm-ink) 7.84%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .dropdown a:hover,:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .submenu>button:hover{background:var(--tvm-bg)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .submenu-list{background:var(--var(--tvm-panel));box-shadow:0 12px 30px color-mix(in srgb,var(--tvm-ink) 7.84%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .intro>p{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .cosmos:before{background:radial-gradient(circle,color-mix(in srgb,var(--tvm-accent) 7.45%,transparent),transparent 68%)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .orbit{border:1px solid color-mix(in srgb,var(--tvm-border) 26.67%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .orbit2{border-color:color-mix(in srgb,var(--tvm-border) 33.33%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .wheel{background:repeating-conic-gradient(from -15deg,transparent 0 29.65deg,color-mix(in srgb,var(--tvm-accent) 33.33%,transparent) 29.65deg 30deg);box-shadow:inset 0 0 0 7px var(--paper),inset 0 0 0 8px color-mix(in srgb,var(--tvm-ink) 33.33%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .zodiac{color:var(--tvm-gold)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .inner-ring{box-shadow:0 0 0 9px var(--paper),0 0 0 10px color-mix(in srgb,var(--tvm-ink) 40.00%,transparent),inset 0 0 0 9px var(--paper),inset 0 0 0 10px color-mix(in srgb,var(--tvm-ink) 26.67%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .hero-caption{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .calendar{background:var(--var(--tvm-panel));border:1px solid var(--tvm-border);box-shadow:0 10px 40px color-mix(in srgb,var(--tvm-ink) 2.35%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .cal-head button{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .date-toolbar>button{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .smallcaps{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .date-display>div>span:last-child{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .day-tag{border:1px solid var(--tvm-border);background:var(--tvm-bg);color:var(--tvm-text)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .day-tag.dark{background:var(--tvm-bg);color:var(--tvm-gold);border-color:var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .pillars{background:var(--tvm-bg)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .pillars small{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .hours span{color:var(--tvm-text)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .hours span.current{background:var(--tvm-bg)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .summary-icon{background:var(--tvm-bg);color:var(--tvm-text)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .summary-icon.avoid{background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .summary-icon.clash{background:var(--tvm-bg);color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .summary p span{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .cal-bottom>span{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .cal-note{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .section-aside{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .feature-card{background:var(--var(--tvm-panel))}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .feature-card:hover{box-shadow:0 10px 25px color-mix(in srgb,var(--tvm-ink) 6.27%,transparent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .feature-card:first-child{color:var(--tvm-on-accent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .feature-card p{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .feature-card:first-child p{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .corner-arrow{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .directory{background:var(--tvm-bg);border-top:1px solid var(--tvm-border);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .searchbox{background:var(--var(--tvm-panel));border:1px solid var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .searchbox>span{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) kbd{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .filter-tabs button{border:1px solid var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .filter-tabs button.selected{color:var(--tvm-on-accent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .category{background:var(--var(--tvm-panel));border:1px solid var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .category-title{border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .category-title small{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .category-links a{color:var(--tvm-accent);border-bottom:1px solid var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .category-links a span{color:var(--tvm-accent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .category-footer{background:var(--tvm-panel);color:var(--tvm-muted);border-top:1px solid var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .closing>p{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) footer{background:var(--tvm-soft);border-top:1px solid var(--tvm-border)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .footer-inner p{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .footer-inner p small{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .footer-bottom{border-top:1px solid var(--tvm-border);color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .week-label{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .month-day.chosen{color:var(--tvm-on-accent)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .monthlegend{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) #holidayNames{color:var(--tvm-gold)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .back-home{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .tool-preview{background:var(--var(--tvm-panel))}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .tool-preview .badge{border:1px solid var(--tvm-border);background:var(--tvm-bg);color:var(--tvm-gold)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .tool-preview p{color:var(--tvm-muted)}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) .tool-related a{background:var(--var(--tvm-panel))}
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) #empty{border:1px dashed var(--tvm-border);color:var(--tvm-muted)}
@media(max-width:850px){
:where(html[data-theme]) :is(#tvmGlobalShell,#tvmGlobalFooter) nav{background:var(--var(--tvm-panel));box-shadow:0 12px 20px color-mix(in srgb,var(--tvm-ink) 6.27%,transparent)}
}
:where(html[data-theme]) .nav-toggle:focus-visible,:where(html[data-theme]) .nav-parent:focus-visible{outline:2px solid var(--tvm-border)}
:where(html[data-theme]) .nav-label{color:var(--tvm-muted)}
:where(html[data-theme]) .nav-parent:hover{color:var(--tvm-gold)}
html[data-theme] dialog{background:var(--tvm-panel);color:var(--tvm-ink);border-color:var(--tvm-border)}
/* Shared shell, including pages rendered by PHP rather than the homepage app. */
html[data-theme] :is(body>header,#tvmGlobalShell header){background:var(--tvm-header);border-color:var(--tvm-border)}
html[data-theme] :is(body>header,#tvmGlobalShell) .header{gap:16px}
html[data-theme] :is(body>header,#tvmGlobalShell) .brand{color:var(--tvm-ink);font-size:23px}
html[data-theme] :is(body>header,#tvmGlobalShell) .brandseal{color:var(--tvm-accent);border-color:var(--tvm-gold)}
html[data-theme] :is(body>header,#tvmGlobalShell) .brand small{color:var(--tvm-muted)}
html[data-theme] :is(body>header,#tvmGlobalShell) nav{gap:16px;font-size:11px}
html[data-theme] :is(body>header,#tvmGlobalShell) .dropdown,html[data-theme] :is(body>header,#tvmGlobalShell) .submenu-list{background:var(--tvm-panel);border-color:var(--tvm-border)}
html[data-theme] :is(body>header,#tvmGlobalShell) .dropdown a:hover{background:var(--tvm-soft);color:var(--tvm-accent)}
html[data-theme] :is(body>.topline,#tvmGlobalShell .topline){background:var(--tvm-soft);color:var(--tvm-muted);border-color:var(--tvm-border)}
html[data-theme] :is(footer,#tvmGlobalFooter){background:var(--tvm-soft);color:var(--tvm-muted);border-color:var(--tvm-border)}
html[data-theme] .theme-switch[hidden]{display:none!important}
html[data-theme] .theme-switch{display:flex;align-items:center;flex-shrink:0;gap:2px;border:1px solid var(--tvm-border);padding:3px;border-radius:6px;background:var(--tvm-header);color:var(--tvm-muted)}
html[data-theme] :is(body,#tvmGlobalShell) .theme-switch button{font:500 11px Arial,sans-serif;padding:6px 8px;border-radius:3px;display:flex;align-items:center;gap:5px;min-height:30px;width:auto;background:transparent;color:var(--tvm-muted);border:0;cursor:pointer}
html[data-theme] :is(body,#tvmGlobalShell) .theme-switch button[aria-pressed=true]{background:var(--tvm-soft);color:var(--tvm-ink);box-shadow:0 0 0 1px var(--tvm-border)}
html[data-theme] .theme-switch svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}
html[data-theme] .tvm-theme-floating{position:fixed;right:15px;top:12px;z-index:1000;box-shadow:0 2px 12px #0002}
html[data-theme] .bz-method{background:var(--tvm-accent);color:var(--tvm-on-accent)}
html[data-theme] .bz-method :is(h2,p,b,li,li span,.bz-eyebrow),html[data-theme] .bz-method li:before{color:var(--tvm-on-accent)}
html[data-theme] .bz-method :is(li span,.bz-eyebrow){opacity:.86}
html[data-theme] .primary-card:not(:nth-child(2)) :is(p,.eyebrow){color:var(--tvm-on-accent)}
html[data-theme] .palace.related{background:color-mix(in srgb,var(--tvm-moc) 14%,var(--tvm-panel));border-color:var(--tvm-moc)}
html[data-theme] .palace.opposite-related{background:color-mix(in srgb,var(--tvm-hoa) 12%,var(--tvm-panel));border-color:var(--tvm-hoa)}
html[data-theme] .palace.pair-related{background:color-mix(in srgb,var(--tvm-thuy) 12%,var(--tvm-panel));border-color:var(--tvm-thuy)}
html[data-theme] .palace.selected{background:color-mix(in srgb,var(--tvm-gold) 16%,var(--tvm-panel));border-color:var(--tvm-gold)}
/* Sidebar navigation uses the same surfaces, not a second brand palette. */
html[data-theme] :is(.admin-sidebar,.sidebar,.legacy-admin-host .sidebar,.admin-shell .sidebar){background:var(--tvm-panel);border-color:var(--tvm-border);color:var(--tvm-ink)}
html[data-theme] :is(.admin-sidebar,.sidebar,.legacy-admin-host .sidebar) :is(a,h2,b,.brand,summary){color:var(--tvm-ink)}
html[data-theme] :is(.admin-sidebar,.sidebar,.legacy-admin-host .sidebar) :is(small,.admin-user,.bottom){color:var(--tvm-muted);border-color:var(--tvm-border)}
html[data-theme] :is(.admin-sidebar a.selected,.admin-sidebar a:hover,.sidebar nav a.active,.sidebar nav a:hover){background:var(--tvm-soft);color:var(--tvm-accent)}
html[data-theme] .admin-user b{color:var(--tvm-ink)}
/* Neutral containers may surround semantic scores; the score labels stay untouched. */
html[data-theme][data-tvm-page=calendar] .verdict[class*=level]{background:var(--tvm-soft);border-color:var(--tvm-border);color:var(--tvm-ink)}
html[data-theme][data-tvm-page=calendar] .verdict[class*=level]>p{color:var(--tvm-text)}
html[data-theme=night][data-tvm-page=calendar] .bigdate .num{color:var(--tvm-ink)!important}
html[data-theme=night][data-tvm-page=calendar] :is(.bigdate.sunday .num,.bigdate.holiday .num,.daycard.sunday .solar b,.daycard.holiday .solar b,.cell.sunday>b,.cell.holiday>b,.sunday-title){color:#ff8c7b!important}
html[data-theme=night][data-tvm-page=calendar] :is(.cell.holiday,.minigrid button.holiday){background:var(--tvm-soft)}
html[data-theme=night][data-tvm-page=calendar] :is(.minigrid .sunday,.minigrid .holiday,.minigrid .sunday b,.minigrid .holiday b,.almanac-weekday.sunday,.legendred,.holidaylabel){color:#ff8c7b}
html[data-theme=night] :is(.form-error,.rt-error,.bz-error,.row-actions button.danger,.amount-minus){color:var(--tvm-hoa)}
html[data-theme=night] .amount-plus{color:var(--tvm-moc)}
html[data-theme][data-tvm-page=calendar] .art svg path:nth-child(1){fill:var(--tvm-soft)}
html[data-theme][data-tvm-page=calendar] .art svg path:nth-child(2){fill:color-mix(in srgb,var(--tvm-gold) 25%,var(--tvm-bg))}
html[data-theme][data-tvm-page=calendar] .art svg path:nth-child(3){fill:color-mix(in srgb,var(--tvm-gold) 45%,var(--tvm-bg))}
/* Preserve the five element families; lift their contrast on dark surfaces. */
html[data-theme=night] :is(.star.kim,.star-link[data-element="Kim"] b,.principal-grid>a[data-element="Kim"] h2){color:var(--tvm-kim)!important}
html[data-theme=night] :is(.star.moc,.star-link[data-element="Mộc"] b,.principal-grid>a[data-element="Mộc"] h2){color:var(--tvm-moc)!important}
html[data-theme=night] :is(.star.thuy,.star-link[data-element="Thủy"] b,.principal-grid>a[data-element="Thủy"] h2){color:var(--tvm-thuy)!important}
html[data-theme=night] :is(.star.hoa,.star-link[data-element="Hỏa"] b,.principal-grid>a[data-element="Hỏa"] h2){color:var(--tvm-hoa)!important}
html[data-theme=night] :is(.star.tho,.star-link[data-element="Thổ"] b,.principal-grid>a[data-element="Thổ"] h2){color:var(--tvm-tho)!important}
html[data-theme=night] .element.kim{background:var(--tvm-kim)}html[data-theme=night] .element.moc{background:var(--tvm-moc)}html[data-theme=night] .element.thuy{background:var(--tvm-thuy)}html[data-theme=night] .element.hoa{background:var(--tvm-hoa)}html[data-theme=night] .element.tho{background:var(--tvm-tho)}
html[data-theme] :is(input,select,textarea,button,a):focus-visible{outline-color:var(--tvm-gold)}
@media(max-width:1200px){html[data-theme] :is(body,#tvmGlobalShell) .theme-switch button{padding:5px}html[data-theme] .theme-switch button span{display:none}html[data-theme] :is(body>header,#tvmGlobalShell) .header{gap:12px}html[data-theme] :is(body>header,#tvmGlobalShell) nav{gap:12px;font-size:10px}}
@media(max-width:850px){html[data-theme] :is(body>header,#tvmGlobalShell) .header{gap:12px}html[data-theme] :is(body>header,#tvmGlobalShell) #nav.mobile-open{background:var(--tvm-panel);border-color:var(--tvm-border)}html[data-theme] :is(body>header,#tvmGlobalShell) #nav.mobile-open>.navgroup.has-link{display:grid;grid-template-columns:minmax(0,1fr) 36px;height:auto}html[data-theme] :is(body>header,#tvmGlobalShell) .header-search{display:none}}
@media(max-width:480px){html[data-theme] :is(body>header,#tvmGlobalShell) .brand{font-size:19px}html[data-theme] :is(body>header,#tvmGlobalShell) .brandseal{width:32px;height:32px;font-size:28px}html[data-theme] :is(body>header,#tvmGlobalShell) .brand small{font-size:5.2px;letter-spacing:.8px}html[data-theme] :is(body>header,#tvmGlobalShell) .account-link{font-size:0;padding:6px;width:29px;height:29px;display:grid;place-items:center}html[data-theme] :is(body>header,#tvmGlobalShell) .account-link:after{content:'↗';font-size:15px}html[data-theme] :is(body,#tvmGlobalShell) .theme-switch button{padding:5px;min-height:26px}html[data-theme] .theme-switch svg{width:13px;height:13px}}
@media print{html[data-theme]{--tvm-bg:#fff;--tvm-panel:#fff;--tvm-soft:#f5f0e6;--tvm-ink:#222;--tvm-text:#333;--tvm-muted:#555;--tvm-border:#bbb;--tvm-gold:#805d2b;--tvm-accent:#9d3028;--tvm-on-accent:#fff;--tvm-kim:#646b75;--tvm-moc:#24713e;--tvm-thuy:#193a6a;--tvm-hoa:#b23429;--tvm-tho:#916509;color-scheme:light}html[data-theme] body{background:#fff!important;color:#222!important}html[data-theme] .theme-switch{display:none!important}}
