html{color-scheme:dark}html[data-theme="light"]{color-scheme:light}.theme-toggle{position:fixed;z-index:10000;right:18px;bottom:18px;height:38px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid rgba(148,163,184,.22);border-radius:999px;background:rgba(8,15,29,.82);color:#eaf2ff;box-shadow:0 9px 28px rgba(0,0,0,.22);backdrop-filter:blur(18px);font:600 11px 'DM Sans',sans-serif;cursor:pointer;transition:transform .18s,background .18s,border-color .18s}.theme-toggle:hover{transform:translateY(-1px);border-color:rgba(96,165,250,.48)}.theme-toggle span{font-size:15px;line-height:1}.theme-toggle b{font-weight:700}html[data-theme="light"] .theme-toggle{background:rgba(255,255,255,.88);border-color:#d9e0eb;color:#27334a;box-shadow:0 8px 25px rgba(35,47,70,.12)}.portal-page .toast{bottom:72px}

/* Marketing, authentication, legal, and portal chrome. */
html[data-theme="light"] body:not(.public-site):not(.focus-admin){--ink:#172033;--muted:#68758a;--line:#dfe5ee;--paper:#f5f7fb;--white:#fff;--green:#386df5;--deep:#1f2a39;--mint:#dce7ff;--lime:#e8efff;--shadow:0 20px 55px rgba(33,48,77,.1);background:#f5f7fb;color:#172033}
html[data-theme="light"] body:not(.public-site):not(.focus-admin)::before{background-image:linear-gradient(rgba(43,67,105,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(43,67,105,.035) 1px,transparent 1px)}
html[data-theme="light"] .marketing-page{background:radial-gradient(circle at 10% 4%,rgba(56,109,245,.11),transparent 28%),radial-gradient(circle at 92% 13%,rgba(117,87,239,.08),transparent 26%),#f7f9fc}
html[data-theme="light"] :is(.m-links a,.text-link,.hero-message>p,.proof-line,.section-intro p,.split-copy>p,.split-copy li,.price-card p,.m-footer p){color:#66748a}
html[data-theme="light"] :is(.hero-message h1,.section-intro h2,.split-copy h2){color:#172033}
html[data-theme="light"] :is(.product-window,.floating-chip,.price-card){background:rgba(255,255,255,.94);border-color:#dfe6f0;color:#172033;box-shadow:0 24px 70px rgba(33,48,77,.12)}
html[data-theme="light"] .mini-shell{background:#eef2f7}html[data-theme="light"] .mini-main{color:#172033}html[data-theme="light"] .logo-strip{background:#fff;border-color:#e1e7ef}html[data-theme="light"] :is(.mint-card,.cream-card,.website-card,.workflow-visual){background:linear-gradient(145deg,#fff,#eef3fa);color:#172033;border-color:#dfe6ef}html[data-theme="light"] :is(.feature-card.dark,.broker-section){background:linear-gradient(135deg,#1f2d45,#253657);color:#fff}html[data-theme="light"] .calendar-art{background:#fff;color:#172033;border-color:#dfe6ef}html[data-theme="light"] .flow-step{background:#fff;border-color:#dfe6ef;color:#172033}html[data-theme="light"] .m-footer{background:#edf1f6;border-color:#dfe5ee}
html[data-theme="light"] .auth-page{background:radial-gradient(circle at 18% 20%,rgba(56,109,245,.14),transparent 31%),linear-gradient(135deg,#edf2fa,#f8faff)}html[data-theme="light"] :is(.auth-brand,.auth-message){color:#172033}html[data-theme="light"] .auth-message p{color:#66758a}html[data-theme="light"] .auth-proof span{background:#fff;border-color:#dbe3ef;color:#52627a}html[data-theme="light"] :is(.auth-card,.dialog-card){background:#fff;border-color:#dfe5ee;color:#172033;box-shadow:0 28px 80px rgba(35,49,76,.14)}html[data-theme="light"] :is(.auth-card input,.auth-card select,.dialog-card input,.dialog-card select,.dialog-card textarea){background:#f7f9fc;border-color:#dce3ed;color:#172033}html[data-theme="light"] .demo-note{background:#edf4ff;border-color:#d8e7ff}
html[data-theme="light"] .legal article{background:#fff;border-color:#dfe5ee;color:#172033;box-shadow:0 18px 55px rgba(35,49,76,.08)}html[data-theme="light"] .legal :is(p,li){color:#5f6f85}html[data-theme="light"] .legal nav a{color:#53657e}

/* Authenticated portal and website editor. */
html[data-theme="light"] .portal-page{--ink:#182033;--muted:#687387;--line:#e2e7ef;--paper:#f4f6fa;--white:#fff;--green:#386df5;--deep:#1f2a39;--mint:#eef3ff;--shadow:0 8px 24px rgba(27,39,64,.08);background:#f4f6fa;color:#182033}
html[data-theme="light"] .portal-page .portal-main>header{background:rgba(255,255,255,.94);border-color:#e3e8ef;box-shadow:0 3px 14px rgba(27,39,64,.07)}html[data-theme="light"] .portal-page .portal-main h1{color:#1d2637}html[data-theme="light"] .portal-page :is(.portal-header-actions>a,.button.secondary){background:#fff;border-color:#d8e0eb;color:#40506a}
html[data-theme="light"] .portal-page :is(.command-hero,.command-metrics article,.priority-card,.command-card,.status-row article,.calendar-toolbar,.portal-calendar,.channel-card,.source-grid article,.source-results article,.listings-hero,.mls-card,.crm-hero,.crm-contact-list,.crm-detail,.creator-hero,.asset-library,.generator-panel,.creative-preview,.card-manager-hero,.card-settings,.profile-panel,.profile-photo-panel,.editor-panel,.editor-preview){background:#fff;border-color:#e1e7ef;color:#182033;box-shadow:0 8px 24px rgba(27,39,64,.07)}
html[data-theme="light"] .portal-page .command-hero{background:linear-gradient(135deg,#f7f9ff,#f5f2ff)}html[data-theme="light"] .portal-page :is(.command-hero p,.priority-card p,.priority-card>span,.command-section-head small,.command-row small,.market-brief-card>p,.assistant-card p){color:#748197}html[data-theme="light"] .portal-page :is(.command-row,.market-mini-stats div,.focus-score,.domain-status,.section-toggle,.theme-option,.dns-tutorial){background:#f8fafc;border-color:#e5eaf1;color:#263248}html[data-theme="light"] .portal-page :is(.command-row>b,.command-metrics strong,.focus-score strong){color:#182033}html[data-theme="light"] .portal-page .assistant-card{background:linear-gradient(105deg,#f7f9ff,#f7f4ff);border-color:#dfe4f4}html[data-theme="light"] .portal-page :is(input,select,textarea,.assistant-card input,.editor-fields input,.editor-fields textarea,.domain-input-row,.dns-record){background:#fff;border-color:#dce3ed;color:#182033}html[data-theme="light"] .portal-page .calendar-day.today{background:#f0f5ff}html[data-theme="light"] .portal-page .calendar-day-add{background:#eef4ff;color:#386df5;border-color:#a9bfff}html[data-theme="light"] .portal-page .focus-drawer{background:rgba(39,49,68,.4)}html[data-theme="light"] .portal-page .focus-drawer>div{background:#fff;color:#182033;border-color:#dce5f2;box-shadow:0 30px 80px rgba(35,48,73,.22)}html[data-theme="light"] .portal-page .focus-drawer p{color:#65758c}

/* Public agent website. */
html[data-theme="light"] .public-site{--bg:#f5f8fc;--panel:rgba(255,255,255,.88);--panel2:#f0f4f9;--line:rgba(48,67,96,.13);--text:#14233a;--muted:#687991;background:radial-gradient(circle at 12% 8%,rgba(59,130,246,.1),transparent 29%),radial-gradient(circle at 88% 12%,rgba(34,211,238,.08),transparent 27%),#f7f9fc;color:#14233a}
html[data-theme="light"] .public-site::before{background-image:linear-gradient(rgba(43,67,105,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(43,67,105,.035) 1px,transparent 1px)}html[data-theme="light"] .public-site :is(.site-nav,.trust-row div,.proof-card,.seller-panel,.contact-card,.agent-card,.glass-map,.public-listing-card,.social-post-card,.public-market-panel,.public-ideas-strip article){background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(246,249,253,.86));border-color:rgba(48,67,96,.12);box-shadow:0 20px 55px rgba(34,50,78,.09);color:#14233a}html[data-theme="light"] .public-site :is(.site-brand small,.site-nav nav a,.site-footer a,.hero-sub,.agent-card p,.trust-row small,.seller-panel p,.contact-section p){color:#687991}html[data-theme="light"] .public-site :is(input,select,textarea){background:#fff;color:#14233a;border-color:rgba(48,67,96,.16)}
html[data-theme="dark"] .public-site{--bg:#050914;--panel:rgba(15,23,42,.78);--panel2:rgba(22,33,55,.62);--line:rgba(148,163,184,.14);--text:#f8fafc;--muted:#91a0b8;background:radial-gradient(circle at 12% 8%,rgba(59,130,246,.16),transparent 29%),radial-gradient(circle at 88% 12%,rgba(139,92,246,.14),transparent 27%),#050914;color:#f8fafc}html[data-theme="dark"] .public-site :is(.site-nav,.trust-row div,.proof-card,.seller-panel,.contact-card,.agent-card,.glass-map,.public-listing-card,.social-post-card,.public-market-panel,.public-ideas-strip article){background:linear-gradient(180deg,rgba(15,26,48,.9),rgba(8,15,29,.9));border-color:rgba(148,163,184,.14);box-shadow:0 24px 70px rgba(0,0,0,.25);color:#f8fafc}html[data-theme="dark"] .public-site :is(.site-brand small,.site-nav nav a,.site-footer a,.hero-sub,.agent-card p,.trust-row small,.seller-panel p,.contact-section p){color:#91a0b8}html[data-theme="dark"] .public-site :is(input,select,textarea){background:rgba(3,10,24,.72);color:#edf5ff;border-color:rgba(148,163,184,.17)}

/* Operations admin and legacy command center. */
html[data-theme="light"] body:has(>aside+main){--bg:#f4f6fa;--card:#fff;--line:#e0e6ef;--text:#182033;--muted:#6e7a8d;background:#f4f6fa;color:#182033}html[data-theme="light"] body:has(>aside+main)>aside{background:#fff;border-color:#e0e6ef}html[data-theme="light"] body:has(>aside+main)>aside :is(.brand,.back){color:#27344b}html[data-theme="light"] body:has(>aside+main)>aside nav button{color:#617087}html[data-theme="light"] body:has(>aside+main) :is(.metric-grid article,.health-grid article,main>section>article,.postiz-layout article){background:#fff;border-color:#e0e6ef;color:#182033;box-shadow:0 8px 25px rgba(35,48,73,.06)}html[data-theme="light"] body:has(>aside+main) :is(.settings-form input,.form-actions button){background:#f7f9fc;border-color:#dce3ed;color:#182033}
html[data-theme="light"] .focus-admin{--line:rgba(62,83,119,.13);--glass:rgba(255,255,255,.86);--glass-2:#f3f6fa;background:#f4f7fb;color:#18243a}html[data-theme="light"] .focus-admin:before{background:radial-gradient(circle at 18% 12%,rgba(68,137,255,.12),transparent 32%),linear-gradient(120deg,#f5f8fc,#edf3fa)}html[data-theme="light"] .focus-admin:after{background-image:linear-gradient(rgba(56,75,108,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(56,75,108,.04) 1px,transparent 1px)}html[data-theme="light"] .focus-sidebar{background:rgba(255,255,255,.9);border-color:var(--line)}html[data-theme="light"] .focus-admin :is(.card,.focus-action-card,.risk-item,.queue-item,.workflow-card,.health-item,.content-day,.review-item,.referral-item,.listing-card,.social-account,.preview-card,.week-event){background:#fff;border-color:var(--line);color:#18243a;box-shadow:0 10px 30px rgba(35,50,78,.07)}html[data-theme="light"] .focus-admin :is(p,span,small){text-shadow:none}

/* Business card and video studio. */
html[data-theme="light"] body:has(.card-shell){background:#edf2f8;color:#17243a}html[data-theme="light"] .card-shell{background:#fff;box-shadow:0 0 70px rgba(35,49,75,.14)}html[data-theme="light"] .identity-card{background:linear-gradient(180deg,#f8fbff,#eef3f9);border-color:#dfe6ef}html[data-theme="light"] .portrait{border-color:#fff}html[data-theme="light"] .verified{border-color:#fff}html[data-theme="light"] :is(.role,.license,.tagline,.card-details article>p,.share-panel p){color:#65758d}html[data-theme="light"] .primary-actions a{color:#526783}html[data-theme="light"] .primary-actions i,html[data-theme="light"] .socials a,html[data-theme="light"] .service-grid a{background:#f5f8fc;border-color:#dfe6ef;color:#253650}html[data-theme="light"] .card-details article{border-color:#e3e8ef}
html[data-theme="light"] body:has(.workspace){--ink:#17243a;--muted:#68778d;--line:#dce3ec;--paper:#f2f5f9;--panel:#fff;background:#eef2f7;color:#17243a}html[data-theme="light"] body:has(.workspace)::before{background-image:linear-gradient(rgba(48,67,96,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(48,67,96,.04) 1px,transparent 1px)}html[data-theme="light"] body:has(.workspace) :is(.topbar,.media-panel,.inspector,.timeline-panel,.stage-toolbar,.transport){background:#fff;border-color:#dce3ec;color:#17243a}html[data-theme="light"] body:has(.workspace) .stage-panel{background:#e9eef5}html[data-theme="light"] body:has(.workspace) .stage-wrap{background-color:#f4f7fb;background-image:radial-gradient(#c5d1e1 1px,transparent 1px)}html[data-theme="light"] body:has(.workspace) :is(select,.button.secondary,.media-card,.input-unit,.direction-grid button,.motion-presets button){background:#f7f9fc;border-color:#dce3ec;color:#17243a}html[data-theme="light"] body:has(.workspace) :is(.media-card span,.clip-footer,.timeline-clip,.selected-file,.input-unit input,.segmented){background:#edf2f8;color:#17243a}html[data-theme="light"] body:has(.workspace) dialog{background:#fff;color:#17243a;border-color:#dce3ec;box-shadow:0 30px 80px rgba(35,49,75,.22)}html[data-theme="light"] body:has(.workspace) input[type="number"]{color-scheme:light}
@media(max-width:700px){.theme-toggle{right:10px;bottom:10px;height:34px;padding-inline:9px}.theme-toggle b{display:none}.portal-page .toast{bottom:58px}}
