/* ORBIT SOFT — shared production workspace. Public recruitment pages keep their own styles. */
html[data-or-theme]{color-scheme:light;--or-bg:#e2dfd9;--or-surface:#eeebe5;--or-soft:#d8d3ce;--or-ink:#342f3b;--or-muted:#716975;--or-line:#45364d22;--or-accent:#78578f;--or-on-accent:#faf5ff;--or-scene:#d7d0d8;--or-good:#4f714f;--or-warning:#856025;--or-danger:#a33440;--ink:var(--or-ink);--muted:var(--or-muted);--line:var(--or-line);--canvas:var(--or-bg);--white:var(--or-surface);--green:var(--or-accent);--mint:var(--or-soft);--lime:#d1b7df;--red:var(--or-danger);--amber:var(--or-warning);font-family:Inter,"Segoe UI",Arial,sans-serif}
html[data-or-theme=dark]{color-scheme:dark;--or-bg:#292830;--or-surface:#34323d;--or-soft:#3e3b47;--or-ink:#f0eaf2;--or-muted:#bab0c0;--or-line:#dfcee822;--or-accent:#c7abe1;--or-on-accent:#32263d;--or-scene:#413948;--or-good:#afdab1;--or-warning:#e5c68f;--or-danger:#f4a3ae}
html[data-or-theme] body{background:var(--or-bg);color:var(--or-ink)}
html[data-or-theme] :is(h1,h2,h3){font-family:Inter,"Segoe UI",Arial,sans-serif}
html[data-or-theme] :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--or-accent);outline-offset:3px}
html[data-or-theme] a{color:var(--or-accent)}
html[data-or-theme] :is(label,.breadcrumb b){color:var(--or-ink)}
html[data-or-theme] :is(input,select,textarea){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line);accent-color:var(--or-accent)}
html[data-or-theme] :is(input,textarea)::placeholder{color:var(--or-muted);opacity:1}
html[data-or-theme] :is(.primary,.portal-main button.primary,#portal-dialog button.primary){background:var(--or-accent);color:var(--or-on-accent);border-color:var(--or-accent);border-radius:10px}
html[data-or-theme] :is(.primary:hover,.portal-main button.primary:hover){background:var(--or-accent);filter:brightness(1.07)}
html[data-or-theme] :is(.secondary,.icon-button,.help-button){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] :is(.eyebrow,.muted,.small,.breadcrumb,.date-label,.owner-badge,.field-note){color:var(--or-muted)}
.or-theme-switch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--or-line);border-radius:11px;background:var(--or-soft);width:max-content}
html[data-or-theme] .or-theme-switch button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 11px;margin:0;border:0;border-radius:8px;background:transparent;color:var(--or-muted);font-size:11px;font-weight:500;white-space:nowrap;cursor:pointer}
html[data-or-theme] .or-theme-switch button[aria-pressed=true]{background:var(--or-surface);color:var(--or-ink);box-shadow:0 2px 7px #25202b0d}
.or-theme-switch button span{font-size:16px;line-height:1}
html[data-or-theme] .ui-language{color:var(--or-muted)}
html[data-or-theme] .ui-language select{background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line)}
/* Client workspace: permanent grouped side menu, role-filtered by existing code. */
html[data-or-theme] body[data-owner] .portal-header{background:var(--or-bg);color:var(--or-ink);border-color:var(--or-line);padding:18px 28px;gap:20px;flex-wrap:wrap;min-height:82px}
html[data-or-theme] .portal-header .portal-logo{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:38px;letter-spacing:-3px;color:var(--or-ink)}
html[data-or-theme] .portal-header .portal-logo span{font-size:12px;letter-spacing:0;color:var(--or-ink)}
html[data-or-theme] .portal-header>span{font-size:9px;letter-spacing:1.5px;color:var(--or-muted);margin-right:auto}
html[data-or-theme] .portal-header>a:last-of-type{font-size:11px;color:var(--or-muted)}
html[data-or-theme] body[data-owner] .portal-layout{display:grid;grid-template-columns:236px minmax(0,1fr);align-items:start;min-height:calc(100dvh - 82px)}
html[data-or-theme] body[data-owner] .portal-sidebar{display:flex;flex-direction:column;position:sticky;top:0;align-self:start;background:var(--or-soft);color:var(--or-ink);padding:28px 18px 22px;border-right:1px solid var(--or-line);border-bottom:0;min-height:calc(100dvh - 82px);max-height:100dvh;overflow-y:auto;gap:0}
html[data-or-theme] body[data-owner] .portal-sidebar h2{font-size:14px;line-height:1.5;color:var(--or-ink);margin:0 9px 6px;overflow-wrap:anywhere}
html[data-or-theme] body[data-owner] .portal-sidebar>small{font-size:10px;color:var(--or-muted);margin:0 9px 18px;line-height:1.7;overflow-wrap:anywhere}
html[data-or-theme] body[data-owner] .portal-sidebar nav{display:block;margin:0;padding:0;overflow:visible;max-width:100%}
html[data-or-theme] body[data-owner] .portal-sidebar nav button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:11px 12px;margin:3px 0;min-height:42px;border:0;border-radius:10px;background:transparent;color:var(--or-muted);text-align:left;font-size:12px;font-weight:400;white-space:normal;line-height:1.4}
html[data-or-theme] body[data-owner] .portal-sidebar nav button>span:last-child{display:inline;color:var(--or-muted);font-size:12px}
html[data-or-theme] body[data-owner] .portal-sidebar nav button:is(.active,.selected){background:var(--or-surface);color:var(--or-accent);font-weight:650}
html[data-or-theme] body[data-owner] .portal-sidebar nav button:hover{background:var(--or-surface);color:var(--or-ink)}
.orbit-nav-section{margin-top:21px}
html[data-or-theme] .orbit-nav-section h3{margin:0 12px 8px;font-size:9px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--or-muted);line-height:1.5}
.orbit-nav-section h3 span{margin-right:6px;opacity:.6}
html[data-or-theme] body[data-owner] .portal-sidebar>button{color:var(--or-muted);font-size:11px;border:1px solid var(--or-line);border-radius:9px;padding:11px;margin:25px 0 0;align-self:stretch;background:transparent}
html[data-or-theme] body[data-owner] .portal-main{width:100%;min-width:0;max-width:1440px!important;padding:32px clamp(24px,3vw,48px) 40px;color:var(--or-ink)}
html[data-or-theme] body[data-owner] .portal-main>h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(30px,3vw,46px);font-weight:500;letter-spacing:-1.6px;margin:20px 0 28px;color:var(--or-ink)}
html[data-or-theme] body[data-owner] .portal-main>.eyebrow{color:var(--or-muted);font-size:9px;letter-spacing:1.7px}
html[data-or-theme] .studio-hero{gap:30px;padding:12px 0 28px;align-items:end}
html[data-or-theme] .studio-hero h1{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--or-ink);font-size:clamp(38px,4.2vw,62px);letter-spacing:-2.8px;font-weight:500;line-height:1.1}
html[data-or-theme] .studio-hero h1 em{color:var(--or-accent);font-style:normal}
html[data-or-theme] :is(.studio-hero p,.studio-hero .studio-issue){color:var(--or-muted)}
html[data-or-theme] .studio-hero>div:last-child{max-width:330px}
html[data-or-theme] .studio-hero p{font-size:12px;line-height:1.8}
html[data-or-theme] .studio-stats{background:var(--or-surface);border:1px solid var(--or-line);border-radius:18px;padding:23px 10px;margin:0 0 26px}
html[data-or-theme] .studio-stat{border-color:var(--or-line);padding:0 22px;display:block}
html[data-or-theme] .studio-stat strong{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:42px;color:var(--or-ink);font-weight:500;letter-spacing:-1.5px}
html[data-or-theme] .studio-stat small{color:var(--or-muted);font-size:11px;margin-top:7px}
html[data-or-theme] .studio-desk{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:22px;align-items:stretch}
html[data-or-theme] .studio-desk>section:first-child{background:var(--or-surface);border:1px solid var(--or-line);border-radius:18px;padding:24px;min-width:0}
html[data-or-theme] .studio-section-head{border-color:var(--or-line)}
html[data-or-theme] .studio-section-head h2{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:20px;letter-spacing:-.7px;color:var(--or-ink)}
html[data-or-theme] .studio-section-head>span{color:var(--or-muted)}
html[data-or-theme] .studio-task{border-color:var(--or-line);gap:10px;padding:18px 0}
html[data-or-theme] .studio-task strong{font-size:12px;line-height:1.6;color:var(--or-ink)}
html[data-or-theme] :is(.studio-task p,.studio-task-number){color:var(--or-muted);font-size:10px;line-height:1.6}
html[data-or-theme] .studio-task button{background:transparent!important;border:0!important;font-size:11px!important;color:var(--or-accent)!important;padding:10px 0!important;min-height:44px}
html[data-or-theme] .studio-feature{background:radial-gradient(ellipse at 55% 25%,#b790cb22,transparent 65%),var(--or-scene);color:var(--or-ink);border:1px solid var(--or-line);border-radius:18px;padding:25px;overflow:hidden;min-height:385px;display:flex;flex-direction:column;position:relative;isolation:isolate}
html[data-or-theme] .studio-feature h2{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:28px;line-height:1.15;letter-spacing:-1px;max-width:340px;color:var(--or-ink);margin-top:12px}
html[data-or-theme] .studio-feature p{color:var(--or-muted);font-size:12px;max-width:340px}
html[data-or-theme] .studio-feature small{font-size:9px;color:var(--or-muted);letter-spacing:1.2px}
html[data-or-theme] .studio-feature button{background:var(--or-surface)!important;color:var(--or-accent)!important;border-color:var(--or-line)!important;align-self:flex-start;border-radius:10px!important;font-size:12px!important}
.orbit-art{position:relative;height:190px;order:-1;width:100%;perspective:700px;isolation:isolate;margin-bottom:10px;flex-shrink:0}
.orbit-art i{position:absolute;width:245px;height:175px;border:2px solid #a182ae80;left:50%;top:50%;margin:-87px 0 0 -122px;border-radius:50%;transform:rotateX(65deg) rotateZ(-30deg)}
.orbit-art i:nth-child(2){transform:rotateY(65deg) rotateZ(30deg);border-color:#9a83a880}
.orbit-art i:nth-child(3){transform:rotateY(25deg) rotateX(-25deg);border-color:#a48b9d70;width:200px;margin-left:-100px}
.orbit-art>span{display:grid;place-items:center;position:absolute;left:50%;top:50%;width:98px;height:98px;margin:-49px;border-radius:28px;background:linear-gradient(135deg,#f2e0e0,#cba9c7 40%,#997da1 72%,#c9b6bd);box-shadow:inset 2px 3px 3px #fff9,inset -3px -5px 12px #7b60773d,13px 24px 37px #68507633;transform:rotate(-22deg) rotateY(-25deg) rotateX(18deg);color:#62446e;font-size:35px;letter-spacing:-4px;font-weight:700}
.orbit-art b{position:absolute;left:calc(50% - 115px);top:65%;width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#e5d4ff,#ab7cdb 45%,#675371);box-shadow:5px 7px 12px #5b42652a}
.orbit-art b:last-child{left:calc(50% + 105px);top:23%;width:14px;height:14px}
/* Forms, data and overlays share the selected palette. Semantic status colors stay distinct. */
html[data-or-theme] :is(.portal-card,.portal-auth,.metric,.card,.panel,.table-card,.empty-state,.welcome-card){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line);border-radius:16px;box-shadow:none}
html[data-or-theme] body[data-owner] .portal-card{background:var(--or-surface);border-color:var(--or-line);border-radius:16px;box-shadow:none}
html[data-or-theme] :is(.portal-card p,.portal-auth p,.portal-empty,.portal-footer-note){color:var(--or-muted)}
html[data-or-theme] :is(.portal-main label,#portal-dialog label){color:var(--or-ink)}
html[data-or-theme] :is(.portal-main input,.portal-main select,.portal-main textarea,#portal-dialog input,#portal-dialog select,#portal-dialog textarea){background:var(--or-bg);color:var(--or-ink);border-color:var(--or-line);border-radius:8px}
html[data-or-theme] :is(.portal-main button,#portal-dialog button:not(.close),.portal-main a.button){background:var(--or-surface);color:var(--or-accent);border-color:var(--or-line);border-radius:9px}
html[data-or-theme] :is(.portal-main button.primary,#portal-dialog button.primary){background:var(--or-accent);color:var(--or-on-accent);border-color:var(--or-accent)}
html[data-or-theme] :is(th,.portal-table th){background:var(--or-soft);color:var(--or-muted);border-color:var(--or-line)}
html[data-or-theme] :is(td,.portal-table td){color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] tbody tr:hover{background:var(--or-soft)}
html[data-or-theme] :is(.portal-notice,.portal-main>.portal-notice,.portal-drop,.portal-document,.onboarding-step>span){background:var(--or-soft);color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] :is(.onboarding-step,.portal-empty,.portal-footer-note){border-color:var(--or-line)}
html[data-or-theme] :is(.portal-tag,.badge){background:var(--or-soft);color:var(--or-accent)}
html[data-or-theme] :is(.badge.green){color:var(--or-good);background:color-mix(in srgb,var(--or-good) 12%,var(--or-surface))}
html[data-or-theme] :is(.badge.amber){color:var(--or-warning);background:color-mix(in srgb,var(--or-warning) 12%,var(--or-surface))}
html[data-or-theme] :is(.badge.red,.danger){color:var(--or-danger);background:color-mix(in srgb,var(--or-danger) 12%,var(--or-surface))}
html[data-or-theme] :is(dialog,#portal-dialog,#portal-dialog:has(.workspace-menu-sheet),.modal,.modal-card){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line);border-radius:20px}
html[data-or-theme] :is(dialog::backdrop,#portal-dialog::backdrop){background:#211c2c99;backdrop-filter:blur(5px)}
html[data-or-theme] :is(#portal-dialog .close,.modal-close){background:var(--or-surface);color:var(--or-ink)}
html[data-or-theme] :is(#portal-toast,#toast){background:var(--or-ink);color:var(--or-bg)}
html[data-or-theme] #portal-dialog .workspace-menu-sheet button{color:var(--or-ink);border-color:var(--or-line);background:transparent}
html[data-or-theme] #portal-dialog .workspace-menu-sheet button.selected{color:var(--or-accent)}
html[data-or-theme] :is(.workspace-menu-sheet h3,.workspace-menu-sheet h3 small){color:var(--or-muted)}
html[data-or-theme] #portal-dialog:has(.workspace-menu-sheet) h2{font-family:Inter,"Segoe UI",Arial,sans-serif;font-weight:500;letter-spacing:-1px}
html[data-or-theme] .founders-banner{background:transparent;border-color:var(--or-line)}
html[data-or-theme] .founders-banner h2{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--or-ink)}
html[data-or-theme] :is(.founders-banner p,.founders-banner .eyebrow){color:var(--or-muted)}
/* Recruiter and owner keep the current functional layout and use the same navigation language. */
html[data-or-theme] .sidebar{background:var(--or-soft);color:var(--or-ink);border-right:1px solid var(--or-line);overflow-y:auto}
html[data-or-theme] :is(.sidebar .brand,.user-button){color:var(--or-ink)}
html[data-or-theme] .brand-mark span{color:var(--or-accent)}
html[data-or-theme] :is(.workspace-label,.workspace-label span,nav .nav-section,.operator,.operator small,.user-button small){color:var(--or-muted)}
html[data-or-theme] .nav-link{color:var(--or-muted);border-radius:10px}
html[data-or-theme] .nav-link:is(.active,:hover){background:var(--or-surface);color:var(--or-accent)}
html[data-or-theme] .nav-link .nav-count{background:var(--or-soft);color:var(--or-ink)}
html[data-or-theme] :is(.avatar,.operator){background:var(--or-surface);border-color:var(--or-line);color:var(--or-accent)}
html[data-or-theme] .topbar{background:var(--or-bg);border-color:var(--or-line);height:auto;min-height:82px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
html[data-or-theme] .topbar-right{flex-wrap:wrap;gap:12px}
html[data-or-theme] .app-footer{color:var(--or-muted);border-color:var(--or-line)}
html[data-or-theme] :is(.auth-story,.auth-panel){background:var(--or-bg);color:var(--or-ink)}
html[data-or-theme] .auth-story{background:var(--or-soft)}
html[data-or-theme] .auth-story :is(.eyebrow,p,small,.auth-flow){color:var(--or-muted)}
html[data-or-theme] .auth-story em{color:var(--or-accent)}
html[data-or-theme] .auth-flow{border-color:var(--or-line)}
html[data-or-theme] .auth-card>[data-theme-control]{margin-bottom:30px}
html[data-or-theme] body[data-owner] .portal-auth{max-width:510px!important;margin:45px auto;padding:36px;border:1px solid var(--or-line);border-radius:18px;box-shadow:none;background:var(--or-surface)}
html[data-or-theme] .portal-auth h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-weight:500;letter-spacing:-1.3px}
/* Existing interactive presentation remains functional, recolored to the workspace. */
html[data-or-theme] :is(.journey,.journey-heading h2,.journey-detail h3){color:var(--or-ink)}
html[data-or-theme] :is(.journey-heading p,.journey-kicker,.journey-hint,.journey-detail>p,.journey-example,.journey-footnote){color:var(--or-muted)}
html[data-or-theme] :is(.journey-scene,.journey-detail){background:var(--or-surface);border-color:var(--or-line);box-shadow:none}
html[data-or-theme] .journey-detail .journey-lead{color:var(--or-ink)}
html[data-or-theme] :is(.journey-status,.journey-result){background:var(--or-soft);color:var(--or-ink)}
html[data-or-theme] .journey-node{background:var(--or-surface)!important;color:var(--or-ink)!important;border-color:var(--or-line)!important}
html[data-or-theme] .journey-node.is-current{background:var(--or-soft)!important;border-color:var(--or-accent)!important;box-shadow:0 8px 0 #9d82ad,0 23px 35px #59416430}
html[data-or-theme] .journey .journey-timeline button{background:var(--or-surface);color:var(--or-muted);border-color:var(--or-line)}
html[data-or-theme] .journey .journey-timeline button.is-current{background:var(--or-accent);color:var(--or-on-accent)}
html[data-or-theme] .journey-calculator{background:var(--or-soft);color:var(--or-ink)}
html[data-or-theme] .journey-calculator :is(p,label,small,.journey-kicker){color:var(--or-muted)}
html[data-or-theme] .journey-amounts{border-color:var(--or-line)}
/* Central app entry inherits the preference, including Android WebView. */
html[data-or-theme] .orbit-hub :is(header,footer,.android){border-color:var(--or-line);color:var(--or-muted)}
html[data-or-theme] .orbit-hub header{gap:20px;flex-wrap:wrap}
html[data-or-theme] .orbit-hub .brand{color:var(--or-ink)}
html[data-or-theme] .orbit-hub h1{font-family:Inter,"Segoe UI",Arial,sans-serif;letter-spacing:-3px;font-weight:500}
html[data-or-theme] .orbit-hub h1 em{color:var(--or-accent)}
html[data-or-theme] .orbit-hub :is(.intro,.choice p,.android p,.android small,footer a){color:var(--or-muted)}
html[data-or-theme] .orbit-hub .choice{background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line);border-radius:16px}
html[data-or-theme] .orbit-hub :is(.number,.arrow){color:var(--or-accent)}
html[data-or-theme] .orbit-hub .download{background:var(--or-accent);color:var(--or-on-accent)}
@media(max-width:1100px){html[data-or-theme] .studio-hero{grid-template-columns:1fr;gap:18px}html[data-or-theme] .studio-hero>div:last-child{justify-self:start;max-width:550px}html[data-or-theme] .studio-desk{grid-template-columns:1fr}html[data-or-theme] .studio-feature{min-height:370px}html[data-or-theme] .topbar-right .date-label{display:none}}
@media(max-width:850px){
 html[data-or-theme] body[data-owner] .portal-header{padding:14px 20px;gap:13px;min-height:74px}
 html[data-or-theme] .portal-header .portal-logo{font-size:32px}
 html[data-or-theme] .portal-header>span{display:none}
 html[data-or-theme] .portal-header>[data-theme-control]{margin-left:auto}
 html[data-or-theme] .portal-header .ui-language{order:2;margin:0}
 html[data-or-theme] .portal-header>a:last-of-type{order:3;margin-left:auto}
 html[data-or-theme] body[data-owner] .portal-layout{display:block;min-height:75dvh}
 html[data-or-theme] body[data-owner] .portal-sidebar{position:static;display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:0;max-height:none;padding:15px 20px;border:0;border-bottom:1px solid var(--or-line);gap:4px 12px;overflow:visible}
 html[data-or-theme] body[data-owner] .portal-sidebar h2{margin:0;font-size:12px}
 html[data-or-theme] body[data-owner] .portal-sidebar>small{grid-column:1;margin:0;font-size:10px}
 html[data-or-theme] body[data-owner] .portal-sidebar>button{grid-column:2;grid-row:1/3;margin:0;align-self:center;padding:10px}
 html[data-or-theme] body[data-owner=false] .portal-sidebar nav{display:none}
 html[data-or-theme] body[data-owner=true] .portal-sidebar nav{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}
 html[data-or-theme] body[data-owner=true] .portal-sidebar nav button{width:auto;font-size:11px}
 html[data-or-theme] body[data-owner] .portal-main{padding:26px 20px 115px}
 html[data-or-theme] body[data-owner] .portal-auth{width:calc(100% - 40px);padding:28px;margin:30px 20px}
 html[data-or-theme] .studio-hero{padding:4px 0 24px}
 html[data-or-theme] .studio-hero h1{font-size:42px;letter-spacing:-1.8px}
 html[data-or-theme] .studio-stat{padding:0 13px}
 html[data-or-theme] .studio-stat strong{font-size:34px}
 html[data-or-theme] .studio-stat small{font-size:10px}
 html[data-or-theme] .studio-desk>section:first-child{padding:21px}
 html[data-or-theme] .studio-desk{gap:20px}
 html[data-or-theme] .studio-feature{padding:23px}
 html[data-or-theme] .workspace-dock{background:var(--or-surface);border-color:var(--or-line);box-shadow:0 8px 32px #35284120;border-radius:18px}
 html[data-or-theme] .workspace-dock button{color:var(--or-muted);min-height:56px}
 html[data-or-theme] .workspace-dock button.selected{background:var(--or-soft);color:var(--or-accent)}
 html[data-or-theme] #portal-dialog:has(.workspace-menu-sheet){border-radius:24px 24px 0 0}
 html[data-or-theme] .or-theme-switch button{font-size:10px;padding:8px 9px;min-height:36px}
 html[data-or-theme] .topbar{padding:12px 18px;gap:10px}
 html[data-or-theme] .topbar-right{gap:8px}
 html[data-or-theme] .topbar-right .owner-badge{display:none}
 html[data-or-theme] .orbit-hub h1{letter-spacing:-1.7px}
}
@media(prefers-reduced-motion:reduce){.orbit-art *{animation:none!important;transition:none!important}}
html[data-or-theme] :is(.learn-welcome,.learn-context,.learn-stats>div,.pipeline-step,.notice,.detail-field,.pre,.result-card,.atlas-health,.atlas-reading,.atlas-map-panel){background:var(--or-soft);color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] :is(.learn-progress,.learn-step,.learn-lesson,.learn-readiness,.dialog-head,.atlas-picker,.atlas-detail,.atlas-notes,.atlas-connections button,.atlas-toolbar button,.atlas-toolbar .button){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] :is(.learn-step.selected,.filter-button.active){background:var(--or-accent);color:var(--or-on-accent);border-color:var(--or-accent)}
html[data-or-theme] :is(.learn-step>span:first-child,.metric-icon,.candidate-name .initials,.agent-symbol){background:var(--or-soft);color:var(--or-accent)}
html[data-or-theme] :is(.metric-icon svg,.empty strong,.task-row p){color:var(--or-ink)}
html[data-or-theme] :is(.metric-title,.metric-foot,.pipeline-step span,.task-row small,.learn-welcome p,.learn-context p){color:var(--or-muted)}
html[data-or-theme] :is(.money-panel){background:var(--or-scene);color:var(--or-ink);border:1px solid var(--or-line)}
html[data-or-theme] .money-panel :is(p,small,.eyebrow,.money-note,.money-row,.money-value){color:var(--or-ink)}
html[data-or-theme] .money-panel .secondary{background:var(--or-surface);color:var(--or-accent);border-color:var(--or-line)}
html[data-or-theme] :is(.search-input input,.filter-button,.segmented){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] .segmented .selected{background:var(--or-soft);color:var(--or-accent)}
html[data-or-theme] .atlas-node{background:var(--or-surface)!important;color:var(--or-ink)!important;border-color:var(--or-line)!important;border-left-color:var(--or-accent)!important}
html[data-or-theme] .journey-visual{background:radial-gradient(ellipse at 50% 50%,#bfa3cc22,transparent 75%),var(--or-soft);border-color:var(--or-line)}
html[data-or-theme] .journey-hub{background:var(--or-accent);color:var(--or-on-accent)}
html[data-or-theme] .journey :is(.journey-tools button,.journey-controls button){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] .journey :is(.journey-tools button:first-child,.journey-controls button:last-child){background:var(--or-accent);color:var(--or-on-accent)}
html[data-or-theme] .journey-inputs select{background:var(--or-surface);color:var(--or-ink)}
html[data-or-theme] :is(.founders-timeline article,.founders-timeline article:first-child,.founders-flow article){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] :is(.founders-timeline p,.founders-flow p,.founders-timeline small,.founders-flow small){color:var(--or-muted)}
html[data-or-theme] :is(.founders-dot,.founders-contact){background:var(--or-accent);color:var(--or-on-accent)}
html[data-or-theme] .founders-contact :is(p,a){color:var(--or-on-accent)}
/* Candidate-inspired workspace. Keep text purple and reserve lime for actions. */
html[data-or-theme]{--or-bg:#f0eef9;--or-surface:#fffcf9;--or-soft:#eae4f4;--or-ink:#222038;--or-muted:#686278;--or-line:#76608f26;--or-accent:#7752a2;--or-on-accent:#fff;--or-scene:#e6dcf7;--or-cta:#c4fa69;--or-on-cta:#272b21;--or-glow:#dfd1ff;--or-glow-green:#e5f4c9;--or-shadow:0 12px 36px #45306c08;--lime:var(--or-cta)}
html[data-or-theme=dark]{--or-bg:#211e2d;--or-surface:#2c273b;--or-soft:#373046;--or-ink:#f3effc;--or-muted:#bbb2ce;--or-line:#dac9fa26;--or-accent:#c4a5f0;--or-on-accent:#292038;--or-scene:#3b2e51;--or-glow:#38274f;--or-glow-green:#29352b;--or-shadow:0 12px 36px #00000015}
html[data-or-theme] body{background:radial-gradient(ellipse at 5% 0,var(--or-glow),transparent 48%),radial-gradient(ellipse at 100% 95%,var(--or-glow-green),transparent 45%),var(--or-bg);background-attachment:fixed}
html[data-or-theme] :is(.primary,.portal-main button.primary,#portal-dialog button.primary,.orbit-hub .download){background:var(--or-cta);color:var(--or-on-cta);border-color:transparent;border-radius:15px;font-weight:700;min-height:44px}
html[data-or-theme] :is(.primary:hover,.portal-main button.primary:hover,#portal-dialog button.primary:hover){background:var(--or-cta);filter:brightness(.96)}
html[data-or-theme] :is(.secondary,.icon-button,.help-button,.filter-button){border-radius:13px;min-height:40px}
html[data-or-theme] :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.portal-main input,.portal-main select,.portal-main textarea,#portal-dialog input,#portal-dialog select,#portal-dialog textarea){border-radius:13px;background:color-mix(in srgb,var(--or-soft) 45%,var(--or-surface))}
html[data-or-theme] :is(.portal-card,.metric,.card,.panel,.table-card,.empty-state,.welcome-card,.studio-stats,.studio-desk>section:first-child,.studio-feature),html[data-or-theme] body[data-owner] .portal-card{border-radius:23px;box-shadow:var(--or-shadow);border-color:var(--or-line)}
html[data-or-theme] :is(.sidebar,body[data-owner] .portal-sidebar){background:color-mix(in srgb,var(--or-surface) 72%,var(--or-soft))}
html[data-or-theme] :is(.nav-link,body[data-owner] .portal-sidebar nav button){border-radius:13px;min-height:44px}
html[data-or-theme] .nav-link.active,html[data-or-theme] body[data-owner] .portal-sidebar nav button:is(.active,.selected){background:var(--or-soft);color:var(--or-ink);box-shadow:inset 4px 0 var(--or-accent);font-weight:700}
html[data-or-theme] .nav-link:hover,html[data-or-theme] body[data-owner] .portal-sidebar nav button:hover{background:var(--or-soft)}
html[data-or-theme] :is(.topbar,body[data-owner] .portal-header){background:color-mix(in srgb,var(--or-bg) 94%,transparent);backdrop-filter:blur(12px)}
html[data-or-theme] :is(.page-heading h1,.page-header h1,.studio-hero h1,.portal-auth h1,.orbit-hub h1),html[data-or-theme] body[data-owner] .portal-main>h1{font-weight:750;letter-spacing:-.055em;line-height:1.1}
html[data-or-theme] :is(.metric-value,.studio-stat strong){font-weight:750;letter-spacing:-.05em}
html[data-or-theme] .metric-icon{border-radius:14px;background:var(--or-soft)}
html[data-or-theme] .studio-stats{padding-top:25px;padding-bottom:25px}
html[data-or-theme] .studio-feature{background:radial-gradient(ellipse at 80% 15%,var(--or-glow),transparent 65%),var(--or-scene)}
html[data-or-theme] .studio-feature button{background:var(--or-cta)!important;color:var(--or-on-cta)!important;border-color:transparent!important;border-radius:14px!important}
html[data-or-theme] .or-theme-switch{border-radius:16px;background:var(--or-soft)}
html[data-or-theme] .or-theme-switch button{border-radius:12px}
html[data-or-theme] :is(.auth-story,.auth-panel){background:transparent}
html[data-or-theme] .auth-story h1{font-weight:750;letter-spacing:-.055em}
html[data-or-theme] .auth-card{background:var(--or-surface);border:1px solid var(--or-line);border-radius:28px;padding:clamp(22px,3vw,42px);box-shadow:var(--or-shadow);width:100%;min-width:0}
html[data-or-theme] body[data-owner] .portal-auth{border-radius:28px;box-shadow:var(--or-shadow)}
html[data-or-theme] :is(.orbit-hub .choice,.journey-scene,.journey-detail){border-radius:24px;box-shadow:var(--or-shadow)}
html[data-or-theme] .orbit-hub .choice:hover{border-color:var(--or-accent);background:var(--or-soft)}
html[data-or-theme] :is(.momentum-panel,.next-step-card){background:linear-gradient(120deg,var(--or-soft),var(--or-surface));border-color:var(--or-line);color:var(--or-ink);border-radius:23px}
html[data-or-theme] :is(.momentum-mission,.momentum-badge){background:var(--or-surface);color:var(--or-ink);border-color:var(--or-line)}
html[data-or-theme] .momentum-badge.earned{background:var(--or-cta);color:var(--or-on-cta)}
html[data-or-theme] :is(.momentum-head p,.momentum-mission small,.next-step-card p){color:var(--or-muted)}
html[data-or-theme] :is(.content,.portal-main,.app-body){min-width:0}
@media(max-width:850px){html[data-or-theme] .auth-card{padding:24px;border-radius:23px}html[data-or-theme] :is(.portal-card,.metric,.card,.panel,.table-card,.studio-stats),html[data-or-theme] body[data-owner] .portal-card{border-radius:18px}html[data-or-theme] .studio-hero h1{font-size:clamp(32px,8vw,42px)}html[data-or-theme] .topbar-right{max-width:100%}html[data-or-theme] .workspace-dock button.selected{background:var(--or-cta);color:var(--or-on-cta)}}
