.theme-switch{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #333;border-radius:6px;background:#151515}
.theme-switch button{border:0;border-radius:4px;background:transparent;color:#919191;font-size:11px;font-weight:600;padding:6px 10px;line-height:1;min-height:25px}
.theme-switch button:hover{color:#f5f5f5}
.theme-switch button[aria-pressed="true"]{background:#343434;color:#fff}
.theme-switch button:focus-visible{outline:2px solid #60cdb9;outline-offset:2px}
html[data-theme="light"]{color-scheme:light;background:#fafafa;color:#1a1a1a;--bg:#fafafa;--panel:#fff;--panel2:#f7f7f7;--line:#e3e3e3;--line2:#e9e9e9;--muted:#626262;--subtle:#727272;--text:#1a1a1a;--cyan:#047f6c}
html[data-theme="light"] body{background:#fafafa;color:#1a1a1a}
html[data-theme="light"] ::selection{background:#1a1a1a;color:#fff}
html[data-theme="light"] .sidebar{background:#f6f6f6}
html[data-theme="light"] .workspace-mark{background:#171717;color:#fff}
html[data-theme="light"] .side-search-hint,html[data-theme="light"] .side-search-hint kbd,html[data-theme="light"] .search-box kbd{border-color:#d9d9d9;color:#696969}
html[data-theme="light"] .side-label,html[data-theme="light"] .nav-count,html[data-theme="light"] .nav-icon,html[data-theme="light"] .source-item small,html[data-theme="light"] .side-foot{color:#6f6f6f}
html[data-theme="light"] .nav-item{color:#575757}
html[data-theme="light"] .nav-item:hover{background:#e9e9e9;color:#151515}
html[data-theme="light"] .nav-item.active{background:#e4e4e4;color:#151515}
html[data-theme="light"] .nav-item.active .nav-icon{color:#242424}
html[data-theme="light"] .file-icon{border-color:#d7d7d7;color:#178361}
html[data-theme="light"] .local-indicator,html[data-theme="light"] .topbar-status{color:#5f5f5f}
html[data-theme="light"] .breadcrumb,html[data-theme="light"] .breadcrumb span{color:#767676}
html[data-theme="light"] .breadcrumb strong{color:#222}
html[data-theme="light"] .avatar{background:#ededed;border-color:#d4d4d4;color:#333}
html[data-theme="light"] .user-menu{background:#fff;border-color:#ddd;box-shadow:0 12px 28px #0002}
html[data-theme="light"] .user-menu-name{border-bottom-color:#e7e7e7;color:#666}
html[data-theme="light"] .user-menu button{color:#333}
html[data-theme="light"] .user-menu button:hover{background:#f1f1f1;color:#111}
html[data-theme="light"] .theme-switch{background:#f4f4f4;border-color:#dedede}
html[data-theme="light"] .theme-switch button{color:#666}
html[data-theme="light"] .theme-switch button:hover{color:#111}
html[data-theme="light"] .theme-switch button[aria-pressed="true"]{background:#fff;color:#111;box-shadow:0 1px 3px #0002}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .page-heading p,html[data-theme="light"] .map-heading p,html[data-theme="light"] .panel-heading p,html[data-theme="light"] .panel-caption{color:#666}
html[data-theme="light"] .primary-button{background:#1b1b1b;border-color:#1b1b1b;color:#fff}
html[data-theme="light"] .primary-button:hover{background:#3b3b3b}
html[data-theme="light"] .stat,html[data-theme="light"] .data-panel,html[data-theme="light"] .map-panel{background:#fff}
html[data-theme="light"] .stat-top,html[data-theme="light"] .stat-icon,html[data-theme="light"] .stat small,html[data-theme="light"] .bottom-note{color:#676767}
html[data-theme="light"] .search-box,html[data-theme="light"] .select-wrap,html[data-theme="light"] .ghost-button{background:#fff;border-color:#d8d8d8;color:#515151}
html[data-theme="light"] .search-box:focus-within,html[data-theme="light"] .select-wrap:focus-within{border-color:#7b7b7b}
html[data-theme="light"] .search-box input,html[data-theme="light"] .select-wrap select{color:#242424}
html[data-theme="light"] .search-box input::placeholder{color:#868686}
html[data-theme="light"] .select-wrap option{background:#fff;color:#242424}
html[data-theme="light"] .ghost-button:hover{border-color:#777;color:#111}
html[data-theme="light"] th{background:#f8f8f8;color:#777}
html[data-theme="light"] td{border-bottom-color:#ebebeb;color:#555}
html[data-theme="light"] tbody tr[data-id]:hover{background:#f6f6f6}
html[data-theme="light"] .company-avatar{background:#f3f3f3;border-color:#dedede;color:#555}
html[data-theme="light"] .company-copy strong{color:#202020}
html[data-theme="light"] .company-copy span,html[data-theme="light"] .row-arrow,html[data-theme="light"] .table-footer{color:#686868}
html[data-theme="light"] .industry-chip{background:#f6f6f6;border-color:#ddd;color:#4f4f4f}
html[data-theme="light"] .status-badge{color:#4b4b4b}
html[data-theme="light"] .pagination button{background:#fff;border-color:#ddd;color:#444}
html[data-theme="light"] .pagination button:hover:not(:disabled){color:#111;border-color:#777}
html[data-theme="light"] .pagination span{color:#555}
html[data-theme="light"] .drawer-backdrop{background:#0c1c1880}
html[data-theme="light"] .drawer{background:#fff;border-left-color:#dedede;box-shadow:-18px 0 55px #0002}
html[data-theme="light"] .drawer-header p,html[data-theme="light"] .drawer-tab,html[data-theme="light"] .drawer-tab span{color:#6a6a6a}
html[data-theme="light"] .icon-button{border-color:#dadada;color:#555}
html[data-theme="light"] .icon-button:hover{color:#111}
html[data-theme="light"] .drawer-tab.active{color:#171717;border-bottom-color:#171717}
html[data-theme="light"] .drawer-scroll .drawer-tabs{background:#fff}
html[data-theme="light"] .drawer-message{background:#fff3f1;border-color:#e4a49e;color:#9d2d24}
html[data-theme="light"] .detail-section,html[data-theme="light"] .log-form{border-color:#dedede;background:#fff}
html[data-theme="light"] .section-heading{border-bottom-color:#e5e5e5}
html[data-theme="light"] .section-heading small,html[data-theme="light"] .detail-actions .source-hint,html[data-theme="light"] .field label,html[data-theme="light"] .log-form label{color:#666}
html[data-theme="light"] .field input,html[data-theme="light"] .field textarea,html[data-theme="light"] .field select,html[data-theme="light"] .log-form textarea,html[data-theme="light"] .log-form select,html[data-theme="light"] .log-form input{background:#fff;border-color:#d8d8d8;color:#222}
html[data-theme="light"] .field input:disabled,html[data-theme="light"] .field textarea:disabled,html[data-theme="light"] .field select:disabled{border-color:transparent;background:transparent;color:#242424;-webkit-text-fill-color:#242424}
html[data-theme="light"] .field input::placeholder,html[data-theme="light"] .field textarea::placeholder,html[data-theme="light"] .log-form textarea::placeholder{color:#8b8b8b}
html[data-theme="light"] .secondary-button,html[data-theme="light"] .contact-links a{background:#fff;border-color:#d4d4d4;color:#333}
html[data-theme="light"] .secondary-button:hover,html[data-theme="light"] .contact-links a:hover{border-color:#888;color:#111}
html[data-theme="light"] .link-value{color:#225ca6}
html[data-theme="light"] .activity-intro,html[data-theme="light"] .timeline-heading,html[data-theme="light"] .timeline-meta{color:#666}
html[data-theme="light"] .timeline{border-left-color:#d7d7d7}
html[data-theme="light"] .timeline-item:before{background:#fff;border-color:#777}
html[data-theme="light"] .timeline-meta strong{color:#2b2b2b}
html[data-theme="light"] .timeline-item p{color:#434343}
html[data-theme="light"] .timeline-item.completed p{color:#737373}
html[data-theme="light"] .empty-activity{border-color:#d5d5d5;color:#666}
html[data-theme="light"] .toast{background:#222;color:#fff;box-shadow:0 10px 30px #0003}
html[data-theme="light"] .world-map-wrap{background:radial-gradient(ellipse at 45% 45%,#f0f5f3 0%,#f7f9f8 55%,#fff 100%)}
html[data-theme="light"] .map-grid path{stroke:#dde5e2}
html[data-theme="light"] .map-region path{fill:#c9d8d3;stroke:#99b0a9}
html[data-theme="light"] .map-region:hover path,html[data-theme="light"] .map-region:focus-visible path{fill:#9cbcb1;stroke:#5a8e7d}
html[data-theme="light"] .map-region.active path,html[data-theme="light"] .map-region.active:hover path{fill:#4e8877;stroke:#2b6957}
html[data-theme="light"] .map-region .map-label,html[data-theme="light"] .map-region .map-count{fill:#18342c;stroke:#e9f1ee}
html[data-theme="light"] .map-region.active .map-label,html[data-theme="light"] .map-region.active .map-count{fill:#fff;stroke:#386e5c}
html[data-theme="light"] .continent-side-head span,html[data-theme="light"] .continent-option strong,html[data-theme="light"] .continent-side p{color:#666}
html[data-theme="light"] .continent-option{color:#4c4c4c}
html[data-theme="light"] .continent-option:hover,html[data-theme="light"] .continent-option:focus-visible{background:#edf4f0;border-color:#c7d7cf;color:#173c2d}
html[data-theme="light"] .continent-option.active{background:#dceee5;border-color:#79ad92;color:#174d37}
html[data-theme="light"] .continent-option.active strong{color:#276348}
html[data-theme="light"] .overview-label,html[data-theme="light"] .no-contact-links{color:#62736b}
html[data-theme="light"] .overview-links .contact-links a,html[data-theme="light"] .drawer-links .contact-links a{background:#edf5f1;border-color:#b8d0c3;color:#1d513a}
html[data-theme="light"] .overview-links .contact-links a:hover,html[data-theme="light"] .drawer-links .contact-links a:hover{background:#e0eee6;border-color:#78aa8f}
html[data-theme="light"] .overview-summary{background:#f5faf7;border-color:#cbded2}
html[data-theme="light"] .overview-summary-head,html[data-theme="light"] .next-step-card{border-bottom-color:#dbe9df}
html[data-theme="light"] .next-step-heading,html[data-theme="light"] .next-step-heading button{color:#286b4d}
html[data-theme="light"] .next-step-card strong,html[data-theme="light"] .last-contact strong{color:#1c3025}
html[data-theme="light"] .due-date,html[data-theme="light"] .last-contact>span,html[data-theme="light"] .last-contact p{color:#50675a}
html[data-theme="light"] .last-contact strong i{color:#81958a}
html[data-theme="light"] .overdue-panel{background:#fff;border-color:#ecd7d4}
html[data-theme="light"] .overdue-heading{border-bottom-color:#f0dfdc}
html[data-theme="light"] .overdue-heading h2 span{background:#fff0ee;border-color:#eabcb6;color:#a84339}
html[data-theme="light"] .overdue-heading p,html[data-theme="light"] .overdue-empty,html[data-theme="light"] .overdue-person{color:#666}
html[data-theme="light"] .overdue-item{background:#fffbfa;border-color:#edddd9;border-left-color:#b86c64}
html[data-theme="light"] .overdue-open strong{color:#292322}
html[data-theme="light"] .overdue-open p{color:#514644}
html[data-theme="light"] .overdue-date{color:#a74439}
html[data-theme="light"] .overdue-type{border-color:#e9d9d5;color:#6a5c59}
html[data-theme="light"] .overdue-complete,html[data-theme="light"] .log-complete{background:#fff;border-color:#d7c8c3;color:#5c403b}
html[data-theme="light"] .overdue-complete:hover,html[data-theme="light"] .log-complete:hover{border-color:#9f706a;color:#382723}
html[data-theme="light"] .log-due{background:#f3f7f4;border-color:#d3dfd6;color:#49624f}
html[data-theme="light"] .log-due.overdue{background:#fff0ee;border-color:#eabcb6;color:#a84339}
html[data-theme="light"] .log-due.complete{background:#edf8ef;border-color:#b9d5be;color:#31724a}
html[data-theme="light"] .hold-button__fill,html[data-theme="light"] .hold-button__crest{background:#59c3a1;color:#073b29}
html[data-theme="light"] .mobile-menu{color:#242424}
@media(max-width:700px){.topbar-right{gap:9px}.theme-switch button{padding:6px 8px}.avatar{display:none}}
