/* Opt-in business design. Original dark theme remains unchanged. */
.design-switch{font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;padding:10px 12px;min-height:40px;border:1px solid #47637e;border-radius:10px;background:#102339;color:#d6ebff;white-space:nowrap;cursor:pointer}
html[data-design=light]{color-scheme:light;--void:#f5f8fc;--panel:#fff;--panel-solid:#fff;--line:#dce5ef;--line-bright:#8ab2e2;--text:#152d48;--text-soft:#526a80;--text-faint:#657a8f;--blue:#2168cc;--blue-hot:#2168cc;--blue-deep:#1855ad;--cyan:#1269bc;--green:#17815c;--amber:#986005;--danger:#b62b49;--shadow:0 12px 36px #163f6b12;--glow:none;background:#f5f8fc}
html[data-design=light] body{background:linear-gradient(180deg,#eef5fc 0,#f8fafc 700px,#fff 100%);color:#152d48}
html[data-design=light] :is(.ambient-grid,.ambient-glow,.particle-field,.composer-scan),html[data-design=light] body::before{display:none}
html[data-design=light] :is(.product-header,.desktop-nav,.mobile-nav,.section-nav,.business-nav,.header-inner){background:#ffffffed!important;border-color:#d9e3ee!important;box-shadow:0 3px 18px #203c5d08!important}
html[data-design=light] :is(.brand-name,h1,h2,h3,h4,label,legend){color:#17324f!important;text-shadow:none!important}
html[data-design=light] :is(.desktop-nav,.mobile-nav,.section-nav,.business-nav) a{color:#52677c!important}
html[data-design=light] :is(.desktop-nav,.mobile-nav,.section-nav,.business-nav) a[aria-current=page]{background:#e7f0fc!important;color:#1856aa!important;border-color:#bfd4ee!important;box-shadow:none!important}
html[data-design=light] :is(.primary-action,.avatar-button){background:#2168cc!important;border-color:#2168cc!important;color:white!important;box-shadow:0 4px 12px #2168cc20!important;text-shadow:none!important}
html[data-design=light] .primary-action:hover{background:#1855ad!important;box-shadow:0 6px 16px #2168cc28!important}
html[data-design=light] :is(.ghost-action,.tool-button,.design-switch,.preview-card-action){background:#edf3fa!important;color:#22598f!important;border-color:#cedced!important;box-shadow:none!important}
html[data-design=light] :is(input,textarea,select){background:#fff!important;color:#18324b!important;border-color:#cbd9e7!important;box-shadow:none!important;color-scheme:light}
html[data-design=light] :is(input,textarea)::placeholder{color:#6e8194!important;opacity:1}
html[data-design=light] :is(input,textarea,select):focus{border-color:#377acb!important;box-shadow:0 0 0 3px #2168cc17!important;outline:none}
html[data-design=light] :is(.home-need,.business-card,.match-card,.partner-card,.match-composer,.preview-card,.preview-more,.need-resume,.activation-card,.business-dialog,.story-search-dialog,.assistant-chat,.assistant-bubble,.assistant-composer,.interpretation-panel,.detailed-discovery,.story-member,.story-role,.story-stream-card,.story-discovery,.story-join,.story-finale,.story-world){background:#fff!important;border-color:#d8e3ef!important;box-shadow:0 8px 28px #183e6610!important;color:#223e58!important}
html[data-design=light] .home-need{border-color:#b7cfea!important;box-shadow:0 10px 35px #1a539b12!important}
html[data-design=light] #view-match .match-hero h1{color:#132e4b!important;-webkit-text-fill-color:currentColor}
html[data-design=light] .opportunity-accent{color:#2168cc!important;background:none!important;-webkit-text-fill-color:#2168cc!important;text-shadow:none!important}
html[data-design=light] :is(#hero-description,.home-need-help,.business-status,.preview-description,.preview-location,.preview-industry,.preview-reasons,.preview-criteria,.need-consent,.story-slider-footer,.story-resources,.assistant-speaker,.view-heading p,.match-guidance,.homepage-story p){color:#536c82!important}
html[data-design=light] :is(.homepage-story h2,.homepage-story h3,.preview-card h3,.home-recent h2,.home-preview h2,.home-markets>p,.preview-more>strong){color:#193651!important}
html[data-design=light] :is(.story-eyebrow,.homepage-story em,.preview-kind,.preview-relationship,.preview-topic,.story-member-role,.story-member-link,.story-member-arrow,.story-tool-grid span,.story-resources a,.preview-login){color:#2465a9!important}
html[data-design=light] :is(.home-market-options button,.opportunity-route,.story-topics a,.business-tags span,.match-modes button,.story-slider-controls button){background:#f0f5fb!important;border-color:#d2dfed!important;color:#35556f!important;box-shadow:none!important}
html[data-design=light] .home-market-options button[aria-pressed=true]{background:#dcecff!important;border-color:#397bc8!important;color:#174f93!important;box-shadow:0 0 0 2px #2168cc10!important}
html[data-design=light] :is(.opportunity-route-origin,.opportunity-route-target,.story-checks li,.story-stream-card>span:last-child,.need-resume>p,.assistant-bubble p){color:#36566f!important}
html[data-design=light] :is(.story-role-icon,.company-avatar,.partner-symbol){background:#eaf2fc!important;color:#2565a6!important;border-color:#d0e1f1!important;box-shadow:none!important}
html[data-design=light] .story-orbit{opacity:.8}html[data-design=light] .story-orbit-center{background:#e5effa;color:#2168cc;border-color:#b7cfea;box-shadow:0 12px 35px #2168cc14}
html[data-design=light] .story-photo{border-color:#d5e1ec;box-shadow:0 8px 26px #15345210}
html[data-design=light] :is(.story-checks li,.story-how,.story-tool-grid>a,.story-resources){border-color:#dae4ee}
html[data-design=light] .story-trust article{border-color:#71a3da}html[data-design=light] .story-how li>span{color:#3778bd}
html[data-design=light] .assistant-turn-user .assistant-bubble{background:#e8f1fd!important;color:#183f68!important}
html[data-design=light] .assistant-launcher{background:#2168cc!important;color:#fff!important;border-color:#2168cc!important;box-shadow:0 5px 20px #164b8924!important}
html[data-design=light] dialog::backdrop{background:#24476655;backdrop-filter:blur(5px)}
html[data-design=light] .product-footer{color:#637c91;border-color:#d9e4ef}
html[data-design=light] :focus-visible{outline-color:#2468b4}
html[data-design=light] :is(.view-heading,.utility-panel,.utility-item,.saved-company-panel,.assistant-chat-top,.toast){background:#fff!important;border-color:#d6e2ee!important;box-shadow:0 8px 25px #203c5910!important;color:#23415a!important}
html[data-design=light] :is(.utility-item strong,.interpretation-panel strong,.assistant-chat-top>strong,.business-muted,.business-card pre,.section-nav button,.business-dialog .close,.utility-panel>header button){color:#3f5d77!important}
html[data-design=light] .home-preview .discovery-invitation{background:linear-gradient(90deg,#f7fbfff9,#f7fbffec 50%,#f7fbff95),url('/static/assets/global-trade.png') center/cover!important;border-color:#cedfeb!important;box-shadow:0 12px 35px #234b7510!important}
html[data-design=light] .discovery-invitation :is(p,small){color:#4e6a80!important}
html[data-design=light] .business-status.error{color:#aa2540!important}
/* Explanations remain readable; only the identity placeholders are obscured. */
html[data-design=light] .preview-card .preview-reasons{background:#edf4fb!important;color:#274762!important;border:1px solid #d5e3f0;border-radius:12px;padding:15px 18px 15px 32px;line-height:1.65;font-size:14px;opacity:1;filter:none;box-shadow:none}
html[data-design=light] .preview-card .preview-reasons li{color:#274762!important;opacity:1;filter:none;margin:3px 0;overflow-wrap:anywhere}
html[data-design=light] .preview-card .preview-reasons li::marker{color:#2168cc}
html[data-design=light] :is(.preview-more>p,.preview-provenance,.preview-criteria summary){color:#526a80!important}
html[dir=rtl][data-design=light] .preview-card .preview-reasons{padding:15px 32px 15px 18px}
@media(max-width:650px){.design-switch{font-size:10px;padding:8px;min-height:36px}.header-tools{gap:5px!important}html[data-design=light] .homepage-story{gap:42px}}
.design-switch[hidden]{display:none!important}.header-tools .design-switch{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;font-size:23px;line-height:1}.header-tools .design-switch:focus-visible{outline:3px solid #58a7e8;outline-offset:3px}html[data-design=light] #welcome-message{background:#e5f1fd!important;color:#183d5d!important;border-color:#78a9d2!important}html[data-design=light] #view-network .view-heading{background:linear-gradient(90deg,#f7fbfff5 20%,#f7fbffe0 50%,#f7fbff70),url('/static/assets/global-trade.png') center/cover!important}html[data-design=light] #view-network .view-heading p{color:#294e6c!important}
:is(.business-actions,.people-tabs,.business-dialog) a.ghost-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:10px 14px;text-decoration:none;font-family:system-ui,-apple-system,sans-serif;font-size:16px!important;font-weight:600;line-height:1.5;text-align:center;white-space:normal;overflow-wrap:anywhere}:is(.business-actions,.people-tabs) button.ghost-action{font-size:16px!important;min-height:44px;line-height:1.5;font-weight:600}:is(.business-actions,.people-tabs,.business-dialog) a.ghost-action:focus-visible{outline:3px solid #58a7e8;outline-offset:3px}
#match-action-dialog{--mad-bg:#102136;--mad-card:#172e46;--mad-text:#f1f6fc;--mad-muted:#c0d0e0;--mad-accent:#a3d3ff;--mad-line:#647e99;background:var(--mad-bg)!important;color:var(--mad-text)!important;border-color:var(--mad-line)!important;max-height:calc(100dvh - 36px);overflow-y:auto;box-sizing:border-box}
#match-action-dialog #match-action-title,#match-action-dialog .match-action-company-card strong{color:var(--mad-text)!important}
#match-action-dialog #match-action-copy,#match-action-dialog #match-action-note,#match-action-dialog .match-action-company-card p{color:var(--mad-muted)!important;font-size:14px!important;line-height:1.65!important}
#match-action-dialog #match-action-eyebrow,#match-action-dialog .match-action-company-card span{color:var(--mad-accent)!important;font-size:13px!important;line-height:1.5}
#match-action-dialog .match-action-company-card{background:var(--mad-card)!important;border-color:var(--mad-line)!important}
#match-action-dialog label{color:var(--mad-text)!important;font-size:15px!important;line-height:1.5}
#match-action-dialog textarea{background:var(--mad-card)!important;color:var(--mad-text)!important;border:1px solid var(--mad-line)!important;font-size:16px!important;line-height:1.5}
#match-action-dialog textarea::placeholder{color:var(--mad-muted)!important;opacity:1}
#match-action-dialog #match-action-close{color:var(--mad-text)!important;background:var(--mad-card)!important;border-color:var(--mad-line)!important}
#match-action-dialog .primary-action{background:#2567bd!important;color:#fff!important}
#match-action-dialog :is(button,a,textarea):focus-visible{outline:3px solid var(--mad-accent)!important;outline-offset:3px}
html[data-design=light] #match-action-dialog{--mad-bg:#ffffff;--mad-card:#f1f6fb;--mad-text:#18324b;--mad-muted:#455e75;--mad-accent:#285d91;--mad-line:#a7bbce}
