/* Shared ZConnect Live / Proximity Share theme control */
.theme-switch{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid var(--theme-switch-border,#514a37);border-radius:999px;background:var(--theme-switch-bg,#1c1a15);color:var(--theme-switch-text,#e9d9ad);font:700 10px/1 inherit;letter-spacing:.04em;cursor:pointer;white-space:nowrap}
.theme-switch:hover{border-color:var(--live-gold,#c9ad67)}
.theme-switch:focus-visible{outline:2px solid var(--live-gold,#c9ad67);outline-offset:3px}
.theme-switch .theme-icon{font-size:14px;line-height:1}
html[data-theme="light"]{color-scheme:light}
html[data-theme="light"] body.live-page{background:#f5f5f2;color:#171717}
html[data-theme="light"] .live-top,html[data-theme="light"] .live-footer{border-color:#deded7}
html[data-theme="light"] .live-brand{color:#111}
html[data-theme="light"] .live-brand small{color:#777}
html[data-theme="light"] .back-link{color:#806a2c}
html[data-theme="light"] .live-hero{border-color:#e2dfd3;background:radial-gradient(circle at 82% 48%,#f2e9cf 0,#f7f4e9 28%,#fff 72%)}
html[data-theme="light"] .hero-copy p,html[data-theme="light"] .section-head p{color:#666}
html[data-theme="light"] .hero-pills span{border-color:#d9d2bf;color:#555}
html[data-theme="light"] .signal-caption{color:#806b37}
html[data-theme="light"] .live-notice{border-color:#e5d8b1;background:#fbf7e9;color:#705a21}
html[data-theme="light"] .live-notice.success{border-color:#b9d7bf;background:#eff8f0;color:#276238}
html[data-theme="light"] .live-notice.error{border-color:#e6c1bd;background:#fff1ef;color:#9a332b}
html[data-theme="light"] .section-index{color:#806b37}
html[data-theme="light"] .control-panel,html[data-theme="light"] .content-panel,html[data-theme="light"] .media-stage{background:#fff;border-color:#e2e2dc;color:#333}
html[data-theme="light"] .field-group label{color:#777}
html[data-theme="light"] .field-group select{background:#fafaf8;border-color:#d9d9d2;color:#171717}
html[data-theme="light"] .session,html[data-theme="light"] .request{border-color:#e7e7e1}
html[data-theme="light"] .session b,html[data-theme="light"] .request b{color:#171717}
html[data-theme="light"] .small,html[data-theme="light"] .media-status{color:#777}
html[data-theme="light"] .btn{background:#f5f0e2;border-color:#d8c99e;color:#59491e}
html[data-theme="light"] .btn:hover{background:#eee5ce}
html[data-theme="light"] .perm{color:#555}
html[data-theme="light"] .live-indicator{color:#76632e}
html[data-theme="light"] .media-stage{background:#f7f7f3}
html[data-theme="light"] .video-frame,html[data-theme="light"] .remote-frame{background:#e9e9e4;border-color:#d8d8d1}
html[data-theme="light"] .video-label{background:#fffE;color:#5f4e20}
html[data-theme="light"] .btn-control{background:#fff;border-color:#d8d8d2;color:#222}
html[data-theme="light"] .btn-leave{border-color:#d9aaa4;color:#9a332b}
html[data-theme="light"] .live-footer{color:#827d70}
html[data-theme="light"] .theme-switch{--theme-switch-border:#d8d1bf;--theme-switch-bg:#fff;--theme-switch-text:#55451c}
html[data-theme="light"] body.connect-page{background:radial-gradient(ellipse at 50% 25%,#f3ead1 0,#f7f6f0 42%,#f1f1ed 100%);color:#171717}
html[data-theme="light"] .connect-top{border-color:#deded7}
html[data-theme="light"] .connect-brand{color:#111}
html[data-theme="light"] .connect-brand small{color:#777}
html[data-theme="light"] .secure-mark{color:#78642e}
html[data-theme="light"] .connect-card{border-color:#e1ddcf;background:linear-gradient(145deg,#fff,#f8f7f1);box-shadow:0 22px 70px #0000000d}
html[data-theme="light"] .connect-art{background:radial-gradient(circle at 87% 35%,#f1e5c4 0,#f8f5eb 30%,transparent 65%)}
html[data-theme="light"] .connect-art h1{color:#171717}
html[data-theme="light"] .connect-art h1 em{color:#927638}
html[data-theme="light"] .intro{color:#666}
html[data-theme="light"] .permission-title{color:#806a32}
html[data-theme="light"] .permission-title small{color:#888}
html[data-theme="light"] .permission-option{border-color:#e1e0d8;background:#fafaf7}
html[data-theme="light"] .permission-option b{color:#222}
html[data-theme="light"] .permission-option small{color:#777}
html[data-theme="light"] .permission-icon{background:#f1ead7;color:#806a32}
html[data-theme="light"] .connect-status{color:#666}
html[data-theme="light"] .join-panel{border-color:#e2e2dc}
html[data-theme="light"] .join-ready{border-color:#c7dec9;background:#f0f8f0}
html[data-theme="light"] .join-ready b{color:#245a30}
html[data-theme="light"] .join-ready small{color:#637966}
html[data-theme="light"] .visitor-media video{background:#e8e8e3;border-color:#d8d8d2}
html[data-theme="light"] .connect-footnote,html[data-theme="light"] .connect-footer{color:#827d70}
@media(max-width:520px){.theme-switch{min-height:33px;padding:0 9px;font-size:9px}.live-top .theme-switch{margin-left:auto}.connect-top{gap:8px}.connect-top .theme-switch{margin-left:auto}}

/* Shared theme controls and platform-wide surfaces */
.theme-switch{font-family:inherit}
.profile-theme-switch{position:fixed;top:20px;right:22px;z-index:1000}
html[data-theme="dark"] body.workspace-page{background:#090909;color:#f2f0e9}
html[data-theme="dark"] .workspace-page .topbar,html[data-theme="dark"] .workspace-page .sidebar{background:#101010;border-color:#2b2b2b}
html[data-theme="dark"] .workspace-page .brand-lockup{color:#f4f1e8}
html[data-theme="dark"] .workspace-page .brand-word small{color:#aaa}
html[data-theme="dark"] .workspace-page .nav-item{color:#c4c1b8}
html[data-theme="dark"] .workspace-page .nav-item:hover{background:#24231f;color:#fff}
html[data-theme="dark"] .workspace-page .nav-item.active{background:#e0c15f;color:#111}
html[data-theme="dark"] .workspace-page .sidebar-note span{color:#f4f1e8}
html[data-theme="dark"] .workspace-page .panel,html[data-theme="dark"] .workspace-page .history-section{background:#141414;border-color:#303030;color:#eee}
html[data-theme="dark"] .workspace-page .history-section>summary{color:#eee}
html[data-theme="dark"] .workspace-page .field,html[data-theme="dark"] .workspace-page input,html[data-theme="dark"] .workspace-page select,html[data-theme="dark"] .workspace-page textarea{background:#1b1b1b;border-color:#3b3b3b;color:#f4f1e8}
html[data-theme="dark"] .workspace-page .field::placeholder,html[data-theme="dark"] .workspace-page input::placeholder,html[data-theme="dark"] .workspace-page textarea::placeholder{color:#858585}
html[data-theme="dark"] .workspace-page .btn.ghost{color:#e7e2d5;border-color:#414141}
html[data-theme="dark"] .workspace-page .btn.ghost:hover{background:#242424}
html[data-theme="dark"] .workspace-page .asset-search-results{background:#171717;border-color:#383838}
html[data-theme="dark"] .workspace-page .asset-search-result{color:#eee}
html[data-theme="dark"] .workspace-page .asset-search-result:hover,html[data-theme="dark"] .workspace-page .asset-search-result:focus-visible{background:#252525}
html[data-theme="dark"] .workspace-page .asset-search-detail-cover{background:#242424}
html[data-theme="dark"] .workspace-page .modal-dialog,html[data-theme="dark"] .workspace-page .pin-manager-dialog{background:#151515;color:#f2f0e9;border-color:#383838}
html[data-theme="dark"] .workspace-page .pin-manager-dialog label{color:#c7c1b2}
html[data-theme="dark"] .workspace-page .pin-manager-dialog input{background:#202020;color:#fff;border-color:#444}
html[data-theme="dark"] .workspace-page .history-section>summary::-webkit-details-marker{color:#ddd}
html[data-theme="dark"] body.hosted-profile-page{background:#090909;color:#f2f0e9}
html[data-theme="dark"] .hosted-profile-page .brand-lockup{color:#f2f0e9}
html[data-theme="dark"] .hosted-profile-page .brand-word small{color:#aaa}
html[data-theme="dark"] .hosted-profile-page .profile{background:#141414;border-color:#303030;box-shadow:0 18px 55px #0008}
html[data-theme="dark"] .hosted-profile-page .profile-body>.eyebrow{background:#211f18;border-color:#4a4028;color:#d6bd72}
html[data-theme="dark"] .hosted-profile-page .profile-body>.name,html[data-theme="dark"] .hosted-profile-page .name,html[data-theme="dark"] .hosted-profile-page .price{color:#f5f2e9}
html[data-theme="dark"] .hosted-profile-page .profile-body>.tagline,html[data-theme="dark"] .hosted-profile-page .tagline{color:#d0cdc4}
html[data-theme="dark"] .hosted-profile-page .profile-body>.muted,html[data-theme="dark"] .hosted-profile-page .muted{color:#aaa79f}
html[data-theme="dark"] .hosted-profile-page .asset-identifier,html[data-theme="dark"] .hosted-profile-page .chip{border-color:#393939;color:#aaa}
html[data-theme="dark"] .hosted-profile-page .profile-body>.meta,html[data-theme="dark"] .hosted-profile-page .profile-body>.gallery,html[data-theme="dark"] .hosted-profile-page .profile-body>.asset-video{border-color:#333;background:#141414}
html[data-theme="dark"] .hosted-profile-page .profile-body>.gallery:before{background:#141414;color:#d0b65d}
html[data-theme="dark"] .hosted-profile-page .whatsapp-icon-link{background:#1c1c1c;border-color:#444}
html[data-theme="dark"] .hosted-profile-page .textlink{color:#e2d7b5}
html[data-theme="dark"] .hosted-profile-page .panel{background:#141414;border-color:#333;color:#eee}
html[data-theme="dark"] .hosted-profile-page .panel .eyebrow{color:#d0bd83}
html[data-theme="dark"] .hosted-profile-page input,html[data-theme="dark"] .hosted-profile-page select,html[data-theme="dark"] .hosted-profile-page textarea{background:#1b1b1b;border-color:#444;color:#f4f1e8}
html[data-theme="dark"] .hosted-profile-page label{color:#d0cdc4}
html[data-theme="dark"] .hosted-profile-page .pin-access-card,html[data-theme="dark"] .hosted-profile-page .request-unlock-panel{background:#191919;border-color:#414141}
html[data-theme="dark"] .hosted-profile-page .pin-access-card h2{color:#f5f2e9}
html[data-theme="dark"] .hosted-profile-page .pin-access-copy,html[data-theme="dark"] .hosted-profile-page .pin-access-foot{color:#aaa}
html[data-theme="dark"] .hosted-profile-page .pin-input-wrap{background:#1b1b1b;border-color:#444}
html[data-theme="dark"] .hosted-profile-page .pin-visibility{background:#303030;color:#eee}
html[data-theme="dark"] .hosted-profile-page .request-unlock-trigger{background:#1d1d1d;border-color:#414141;color:#f2f0e9}
html[data-theme="dark"] .hosted-profile-page .request-unlock-trigger small{color:#aaa}
html[data-theme="dark"] .hosted-profile-page .foot{color:#888}
@media(max-width:640px){.profile-theme-switch{top:12px;right:12px}.hosted-profile-page .brand-lockup{padding-right:118px}}

/* ZCONNECT DISPLAY MODE — shared across every first-party workspace. */
.zc-global-theme-switch{position:fixed;top:14px;right:14px;z-index:3000;box-shadow:0 5px 18px #0002}
.zc-wordmark{display:grid;gap:4px;font-family:Manrope,Inter,ui-sans-serif,system-ui,sans-serif;font-size:24px;font-weight:800;letter-spacing:-.085em;line-height:.9}
.zc-wordmark small{font:750 8px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:.19em;text-transform:uppercase;opacity:.7;margin-top:3px}
.zc-brand-mark{width:36px;height:36px;object-fit:contain;flex:0 0 auto;background:transparent!important;border-radius:0!important}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page){background-color:#090909!important;color:#f2f0e9}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(header,.top,.topbar,.sidebar,.nav,.panel,.card,.tile,.stat,.module,.form-card,.section,.workspace-card,.content-panel,.table-wrap,.modal-dialog,.modal-content,.box,.surface){background-color:#141414;border-color:#303030;color:#f2f0e9}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(h1,h2,h3,h4,strong,b,label,.title,.brand){color:#f4f1e8}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(p,small,.muted,.hint,.description,.eyebrow,.subtitle){color:#aaa69b}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(input,select,textarea){background:#1b1b1b!important;border-color:#414141!important;color:#f4f1e8!important}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(input,textarea)::placeholder{color:#858178}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(a:not(.btn):not(.button)){color:#e0cc92}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(table th,table td,hr){border-color:#333}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(.btn.primary,.btn.gold,.btn.gold-btn,.submit,.cta){background:#e0c15f!important;border-color:#e0c15f!important;color:#111!important}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) :is(.btn.secondary,.btn.ghost){background:#202020!important;border-color:#444!important;color:#eee!important}
html[data-theme="dark"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page) .zc-wordmark{color:inherit}
html[data-theme="light"] body:not(.live-page):not(.connect-page):not(.hosted-profile-page){color-scheme:light}
@media(max-width:640px){.zc-global-theme-switch{top:10px;right:10px}.zc-wordmark{font-size:20px}.zc-brand-mark{width:34px;height:34px}}
/* Header utility placement: keep the display control visible even when a page's mobile nav collapses. */
.zc-header-utilities{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex:0 0 auto!important;min-width:0!important;margin-left:auto!important}.zc-header-utilities>*{flex:0 0 auto!important;min-width:0!important}.zc-header-theme-switch{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0 11px!important;position:relative!important;z-index:25!important}
@media(max-width:520px){.zc-header-theme-switch{width:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:50%!important}.zc-header-theme-switch>span:not(.theme-icon){display:none!important}.zc-header-theme-switch .theme-icon{font-size:15px!important}.project-utilities{gap:6px!important}.project-theme-switch{width:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:50%!important}.project-theme-switch>span:not(.theme-icon){display:none!important}}
.zc-global-theme-switch{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;right:12px!important;z-index:9999!important;min-width:44px!important;min-height:44px!important}