/* Opt-in palette experiment. Default Ocean remains unchanged. */
html[data-colour-test="violet"]{--text:#211936;--muted:#5d526f;--navy:#211936;--deep:#191328;--blue:#6542c8;--sky:#9c82ec;--mint:#087b59;--red:#b32f50;--amber:#885810;--line:#ded6ef;--surface:#f6f2fc;--soft:#eee6fc;--blue-soft:#eee6fc;--card:#fff;--panel:#fff;--shadow:0 12px 36px #4022780c}
html[data-colour-test="violet"] .working-beta,html[data-colour-test="violet"] .report-experience{--text:#211936;--muted:#5d526f;--beta-ink:#211936;--beta-muted:#5d526f;--beta-deep:#211936;--beta-line:#ded6ef;--beta-accent:#6542c8;--surface:#f6f2fc;--bg:#f6f2fc;--card:#fff;--panel:#fff;--line:#ded6ef;--blue:#6542c8;--blue-soft:#eee6fc}
html[data-colour-test="violet"] body{background:#f6f2fc;color:#211936}
html[data-colour-test="violet"] .main-shell{background:radial-gradient(ellipse at 88% 0%,#fcecf480,transparent 42%),radial-gradient(ellipse at 10% 5%,#e8dcff90,transparent 40%),#f8f5fd;background-attachment:fixed}
html[data-colour-test="violet"] .sidebar{background:#fff;border-color:#e4dcf1}
html[data-colour-test="violet"] .topbar{background:#fffffff2;border-color:#e4dcf1;box-shadow:0 2px 18px #38225605;backdrop-filter:blur(18px)}
html[data-colour-test="violet"] :is(h1,h2,h3,h4,.health-company strong,.health-task-row strong,.fund-company-cell strong){color:#211936}
html[data-colour-test="violet"] :is(.subtitle,.company-meta,.source-note,.stat-desc,.card-header p,.breadcrumbs,.fund-asof,.report-company-meta,.action-source-label,.health-table th,.health-table td>span,.health-company>span>span,.health-confidence>span>span,.health-task-row>div>span,.health-attention h2>span,.health-baseline,.health-delta,.health-evidence-extra,.evidence-coverage>span,.evidence-score>span>span){color:#5d526f}
html[data-colour-test="violet"] :is(.health-attention,.health-companies,.card,.company-evidence,.fund-hero,.report-section,.discover-cluster){background:#fff;border-color:#ded6ef;box-shadow:0 10px 32px #40227808}
html[data-colour-test="violet"] .health-attention{border-radius:22px}
html[data-colour-test="violet"] .health-attention:first-child{border-top:3px solid #9676de}
html[data-colour-test="violet"] .ocean-work{background:linear-gradient(115deg,#f0e8ff,#fff 75%);border-color:#d8c9ef}
html[data-colour-test="violet"] :is(.health-task-row,.health-table th,.health-table td){border-color:#e5ddef}
html[data-colour-test="violet"] .health-table thead{background:#f1ebfa}
html[data-colour-test="violet"] .health-table tbody tr:hover{background:#f9f6fd}
html[data-colour-test="violet"] :is(.nav-item.active,.desk-section-menu button.active,.fund-tabs button[aria-current="page"],.report-nav button.active){background:#ede4fc;color:#5935b5;box-shadow:inset 3px 0 #7650d6;border-color:#7650d6}
html[data-colour-test="violet"] :is(.button.primary,.primary-button){background:linear-gradient(135deg,#7953db,#6035bd);color:#fff;border-color:#6542c8;box-shadow:0 5px 14px #6a45c52b}
html[data-colour-test="violet"] :is(.text-button,.health-task-actions button,.health-table td:last-child button,button[data-action-desk="delegate"],.dd-history-link){color:#5935b5!important}
html[data-colour-test="violet"] :is(.health-task-actions button,.text-button):hover{text-decoration:underline;text-underline-offset:4px}
html[data-colour-test="violet"] :is(.action-priority.urgent,.health-badge.off,.health-delta.down){color:#a32245;background:#fff0f4}
html[data-colour-test="violet"] .health-badge.off{background:transparent}
html[data-colour-test="violet"] .action-priority.today{background:#eee5fc;color:#5935b5}
html[data-colour-test="violet"] :is(.health-badge.on,.health-delta.up){color:#087b59}
html[data-colour-test="violet"] .health-badge.risk{color:#885810}
html[data-colour-test="violet"] .financial-bar{color:#5d526f}
html[data-colour-test="violet"] .evidence-gauge circle[stroke="#3153ef"]{stroke:#7650d6}
html[data-colour-test="violet"] .evidence-track{color:#e5dcf3}
html[data-colour-test="violet"] :is(input,textarea,.select,.discover-filter-trigger){background:#fff;border-color:#d9cdeb;color:#211936}
html[data-colour-test="violet"] ::placeholder{color:#6c607b;opacity:1}
html[data-colour-test="violet"] :focus-visible{outline:3px solid #7650d6!important;outline-offset:3px}
html[data-colour-test="violet"] .modal{background:#fff;border:1px solid #d8c9ef;box-shadow:0 24px 90px #29133a30}
html[data-colour-test="violet"] .chat-panel{background:#fff;border-color:#dacdf0;box-shadow:0 24px 70px #43227025}
html[data-colour-test="violet"][data-colour-strength="soft"] .main-shell{background:#f8f6fc}
html[data-colour-test="violet"][data-colour-strength="soft"] :is(.card,.health-attention,.health-companies){box-shadow:none}
html[data-colour-test="violet"][data-colour-strength="soft"] .ocean-work{background:#f6f1ff}
html[data-theme="night"][data-colour-test="violet"] .working-beta,html[data-theme="night"][data-colour-test="violet"]{--text:#f4eefc;--muted:#cabddf;--card:#251d34;--panel:#251d34;--surface:#1b1427;--line:#49395f;--blue:#c4a8ff;--blue-soft:#3a2854}
html[data-theme="night"][data-colour-test="violet"] :is(body,.main-shell){background:#1b1427;color:#f4eefc}
html[data-theme="night"][data-colour-test="violet"] :is(.sidebar,.topbar,.card,.health-attention,.health-companies,.company-evidence,.modal,.chat-panel){background:#251d34;border-color:#49395f}
html[data-theme="night"][data-colour-test="violet"] :is(h1,h2,h3,h4,.health-company strong,.health-task-row strong,.health-confidence,.health-company,.health-table td>strong){color:#f4eefc}
html[data-theme="night"][data-colour-test="violet"] :is(.health-table th,.health-table td>span,.health-company>span>span,.health-confidence>span>span,.health-task-row>div>span,.health-attention h2>span,.health-baseline,.health-evidence-extra){color:#cabddf}
html[data-theme="night"][data-colour-test="violet"] :is(.text-button,.health-task-actions button,.health-table td:last-child button){color:#c4a8ff!important}
html[data-theme="night"][data-colour-test="violet"] :is(.health-table thead,.ocean-work){background:#302141}
.colour-test-controls{position:fixed;bottom:18px;left:90px;z-index:1200;display:flex;align-items:center;gap:8px;padding:9px 12px;background:#fff;color:#211936;border:1px solid #dacdf0;border-radius:999px;box-shadow:0 8px 30px #38225624;font:14px system-ui,sans-serif}.colour-test-controls[hidden]{display:none}.colour-test-controls strong{font-size:14px;margin-right:8px}.colour-test-dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#7953db,#ee69a0)}.colour-test-controls button{background:transparent;border:0;color:#5d526f;border-radius:20px;padding:7px 10px;font:600 13px system-ui,sans-serif;cursor:pointer}.colour-test-controls button[aria-pressed="true"]{background:#ede4fc;color:#5935b5}.colour-test-controls button:focus-visible{outline:2px solid #6542c8;outline-offset:2px}@media(max-width:600px){.colour-test-controls{left:12px;bottom:12px;gap:3px;padding:7px}.colour-test-controls strong{margin-right:2px}}
/* Second experiment: firmer type, stronger surfaces and a broader accent palette. */
html[data-colour-test="violet"][data-colour-strength="bold"]{--blue:#5630b5;--muted:#493d60;--beta-muted:#493d60;--line:#cfbfE5}
html[data-colour-test="violet"][data-colour-strength="bold"] .working-beta{--text:#1b1230;--muted:#493d60;--beta-muted:#493d60;--beta-ink:#1b1230;--blue:#5630b5;--beta-accent:#5630b5;--line:#d5c6e8}
html[data-colour-test="violet"][data-colour-strength="bold"] .main-shell{background:radial-gradient(ellipse at 90% 0%,#ffd8eb80,transparent 45%),radial-gradient(ellipse at 6% 8%,#d6bfff90,transparent 48%),#f4effc}
html[data-colour-test="violet"][data-colour-strength="bold"] :is(.health-attention,.health-companies,.card){border:1px solid #cdbce4;box-shadow:0 10px 30px #4022780f}
html[data-colour-test="violet"][data-colour-strength="bold"] :is(h1,h2,h3){color:#1b1230;font-weight:780;letter-spacing:-.025em}
html[data-colour-test="violet"][data-colour-strength="bold"] :is(.health-company strong,.health-task-row strong,.workspace-company-list h2,.fund-company-cell strong){font-weight:750}
html[data-colour-test="violet"][data-colour-strength="bold"] :is(.health-table th,.health-table td>span,.health-company>span>span,.health-confidence>span>span,.health-task-row>div>span,.health-baseline,.health-attention h2>span,.company-meta,.geo-basis){color:#493d60;font-weight:550}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-table th{background:#e9def9;color:#372348;font-size:16px;font-weight:750}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-task-row{border-color:#d9cbe9}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-attention:first-child{border-top:5px solid #7548d1}
html[data-colour-test="violet"][data-colour-strength="bold"] .ocean-work{background:linear-gradient(110deg,#e9ddff,#f9f5ff 80%);border-left:5px solid #7548d1}
html[data-colour-test="violet"][data-colour-strength="bold"] .action-priority.urgent{background:#ffdfeb;color:#941d3f;font-weight:750;border:1px solid #f2b4c9}
html[data-colour-test="violet"][data-colour-strength="bold"] .action-priority.today{background:#ddcdfa;color:#4f289d;font-weight:750}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-badge.off{color:#aa2147;font-weight:750}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-badge.on{color:#067758;font-weight:750}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-badge.risk{color:#885208;font-weight:750}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-badge{gap:8px}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-meter i{width:7px;height:22px;background:#dfd5eb}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-meter i.lit{background:currentColor}
html[data-colour-test="violet"][data-colour-strength="bold"] .financial-bar{font-size:15px;color:#493d60;gap:6px;flex-wrap:wrap;font-weight:600}
html[data-colour-test="violet"][data-colour-strength="bold"] .financial-bar strong{font-size:15px;color:#372348}
html[data-colour-test="violet"][data-colour-strength="bold"] .financial-dots i{width:10px;height:10px}
html[data-colour-test="violet"][data-colour-strength="bold"] .dd-project-strip{background:#f2eafa;padding:14px;border-radius:12px;border:1px solid #d9c7ee;margin-top:12px}
html[data-colour-test="violet"][data-colour-strength="bold"] .dd-project-strip strong{color:#452478;font-weight:750}
html[data-colour-test="violet"][data-colour-strength="bold"] .dd-project-strip span{color:#493d60;font-size:15px;font-weight:550}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-map-stage{background:radial-gradient(ellipse at 75% 25%,#eee4ff,#f1f8fc 70%);border:1px solid #c9b7e2;border-radius:22px;overflow:hidden}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-land path{fill:#e4e3ef;stroke:#a99ab9;stroke-width:.12}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-land path.geo-active-country{fill:#bfabe9;stroke:#7954b4;stroke-width:.3}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-land path.geo-selected-country{fill:#f2b6d0;stroke:#b44173;stroke-width:.35}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-node text{fill:#211236;font-weight:750;paint-order:stroke;stroke:#f7f3fb;stroke-width:.7;stroke-linejoin:round}
html[data-colour-test="violet"][data-colour-strength="bold"] :is(.geo-market,.geo-subsidiary){fill:#7650c7;stroke:#fff;stroke-width:.35}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-node.selected :is(.geo-market,.geo-subsidiary,.geo-hq){fill:#be386d;stroke:#fff;stroke-width:.45}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-hq{fill:#0b876a;stroke:#fff;stroke-width:.4}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-ownership-route{stroke:#7650c7;stroke-width:.5;stroke-dasharray:2 1;opacity:.8}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-fact-card{background:#fff;border-color:#d8c8eb;border-left:4px solid #7650c7;box-shadow:0 5px 20px #40227809}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-fact-card.selected{background:#fbedf4;border-color:#e9bfd1;border-left:4px solid #be386d}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-fact-card :is(strong,b){color:#211236;font-weight:750}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-fact-card :is(span,small){color:#493d60;font-weight:550}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-map-caption{background:#2b1948;color:#fff;border:0;padding:14px 18px}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-map-caption :is(span,b){color:#fff;font-size:15px}
html[data-colour-test="violet"][data-colour-strength="bold"] .geography-layers button.selected{background:#5d35b6;color:#fff;border-color:#5d35b6;font-weight:700}
html[data-colour-test="violet"][data-colour-strength="bold"] .geo-selected-reading{background:#eee3fc;border:1px solid #cdb7e8;border-radius:14px}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-table-wrap{background:#fff;border:1px solid #d5c6e8;border-radius:20px;box-shadow:0 10px 30px #4022780d}
html[data-colour-test="violet"][data-colour-strength="bold"] .health-table td{padding:22px 16px}

/* Reference contrast: nearly white surfaces, dark ink, accents kept small. */
html[data-colour-test="violet"]{--text:#17152b;--muted:#625e75;--navy:#17152b;--deep:#17152b;--blue:#6253bd;--line:#e6e2ed;--surface:#faf9fd;--soft:#f4f1fa;--blue-soft:#f4f1fa}
html[data-colour-test="violet"] .working-beta,html[data-colour-test="violet"] .report-experience{--text:#17152b;--beta-ink:#17152b;--beta-deep:#17152b;--muted:#625e75;--beta-muted:#625e75;--beta-line:#e6e2ed;--beta-accent:#6253bd;--surface:#faf9fd;--bg:#faf9fd;--line:#e6e2ed;--blue:#6253bd;--blue-soft:#f4f1fa}
html[data-colour-test="violet"] body{background:#faf9fd;color:#17152b}
html[data-colour-test="violet"] .main-shell{background:linear-gradient(120deg,#f5f2fc,#fcfbfe 65%);background-attachment:fixed}
html[data-colour-test="violet"][data-colour-strength="soft"] .main-shell{background:#faf9fd}
html[data-colour-test="violet"][data-colour-strength="bold"] .main-shell{background:linear-gradient(120deg,#f4f0fc,#fcfbfe 65%)}
html[data-colour-test="violet"] :is(.health-attention,.health-companies,.card,.company-evidence,.fund-hero,.report-section,.discover-cluster,.health-table-wrap){background:#fff;border-color:#e6e2ed;box-shadow:0 8px 28px #29213a05}
html[data-colour-test="violet"] .health-attention:first-child{border-top:1px solid #e6e2ed}
html[data-colour-test="violet"] .ocean-work{background:#fcfbfe;border-color:#e6e2ed;border-left:1px solid #e6e2ed}
html[data-colour-test="violet"] .health-table thead,html[data-colour-test="violet"][data-colour-strength="bold"] .health-table th{background:#f7f5fb;color:#302b45}
html[data-colour-test="violet"] :is(.nav-item.active,.desk-section-menu button.active,.fund-tabs button[aria-current="page"],.report-nav button.active){background:#f3f0fa;color:#302b45;box-shadow:inset 3px 0 #8274bd;border-color:#dcd5ea}
html[data-colour-test="violet"] :is(.button.primary,.primary-button){background:#29243f;border-color:#29243f;box-shadow:none;color:#fff}
html[data-colour-test="violet"] :is(h1,h2,h3,h4,.health-company strong,.health-task-row strong,.fund-company-cell strong){color:#17152b}
html[data-theme="night"][data-colour-test="violet"] :is(body,.main-shell){background:#17152b;color:#f4eefc}
html[data-theme="night"][data-colour-test="violet"] :is(.health-attention,.health-companies,.card,.company-evidence,.fund-hero,.report-section,.discover-cluster,.health-table-wrap,.ocean-work){background:#251f34;border-color:#49395f}
html[data-theme="night"][data-colour-test="violet"] :is(h1,h2,h3,h4,.health-company strong,.health-task-row strong,.fund-company-cell strong){color:#f4eefc}
html[data-colour-test="violet"] :focus-visible{outline:2px solid #9589b4!important;outline-offset:3px}
html[data-colour-test="violet"] .surface-agent-form input:focus-visible{outline:none!important}
