/* One logo orange across product and marketing. Small accent text uses readable ink. */
:root {
 --rt-canvas:#FFFFFF;--rt-surface:#FFFFFF;--rt-surface-2:#F4F6F8;--rt-line:#DFE3E9;--rt-ink:#151A24;--rt-muted:#58616D;
 --rt-blue:#2553EB;--rt-blue-text:#2553EB;--rt-red:#FF4D3D;--rt-red-text:var(--rt-ink);--rt-accent:var(--rt-red);--rt-on-accent:#151A24;--rt-on-action:#FFFFFF;
 --rt-success:#176044;--rt-warning:#8A5A00;--rt-error:#9B2C20;--rt-selected:#EEF2FE;--rt-error-surface:#FFF1EF;--rt-success-surface:#E8F3EE;
 --rt-space-1:4px;--rt-space-2:8px;--rt-space-3:12px;--rt-space-4:16px;--rt-space-5:20px;--rt-space-6:24px;--rt-space-7:32px;--rt-space-8:48px;
 --rt-radius-s:8px;--rt-radius-m:12px;--rt-radius-l:16px;--rt-radius-pill:999px;
 --rt-text-xs:13px;--rt-text-s:14px;--rt-text-m:16px;--rt-text-l:17px;--rt-text-xl:20px;--rt-text-2xl:24px;--rt-text-3xl:32px;
 --rt-font-body:Inter,'Inter Fallback',system-ui,-apple-system,'Segoe UI',sans-serif;--rt-font-heading:'Plus Jakarta Sans','Plus Jakarta Sans Fallback',Inter,'Inter Fallback',system-ui,sans-serif;
 --rt-control-height:48px;--rt-touch:44px;--rt-focus:2px solid var(--rt-blue-text);
 --rt-shadow-s:0 1px 3px #00000014;--rt-shadow-m:0 8px 24px #0000001f;--rt-shadow-l:0 16px 48px #00000033;
 --appearance-bg:var(--rt-canvas);--appearance-panel:var(--rt-surface-2);--appearance-raised:var(--rt-surface);--appearance-input:var(--rt-surface);--appearance-ink:var(--rt-ink);--appearance-muted:var(--rt-muted);--appearance-line:var(--rt-line);--appearance-blue:var(--rt-blue-text);--appearance-danger:var(--rt-error);

 --rt-link-red:var(--rt-red-text);
 --rt-control-line:#748094;
 --rt-placeholder:#8A94A6;
 --rt-scrim:rgb(17 24 39 / 32%);
 --rt-grabber:#C9CED6;
 --rt-shadow-sheet:0 -8px 24px #1118271F;
 --rt-cover-gradient:linear-gradient(transparent 46%,rgb(17 24 39 / 45%));
 --rt-text-15:15px;
 --rt-text-22:22px;
 --rt-text-30:30px;
 --rt-text-34:34px;
 --rt-space-13:13px;
 --rt-space-18:18px;
 --rt-space-42:42px;
 --rt-space-56:56px;
 --rt-space-64:64px;
 --rt-radius-sheet:20px;
 --rt-disabled-opacity:.55;
}
html[data-theme=dark] {--rt-canvas:#0B0F17;--rt-surface:#111827;--rt-surface-2:#1B2431;--rt-line:#2A3443;--rt-ink:#F5F7FA;--rt-muted:#9AA4B2;--rt-blue:#315BE8;--rt-blue-text:#7A95FF;--rt-success:#8ADDB3;--rt-warning:#F3CF7A;--rt-error:#FFB4A8;--rt-selected:#17233D;--rt-error-surface:#351D24;--rt-success-surface:#123329;
 --rt-control-line:#8995A7;
 --rt-placeholder:#9AA4B2;
 --rt-grabber:#8995A7;
}
html:has(body:is(.righto-candidate,.auth-body,.connected-body,.extra-body,.admin-body,.public-page)),body:is(.righto-candidate,.auth-body,.connected-body,.extra-body,.admin-body,.public-page){background:var(--rt-canvas);color:var(--rt-ink)}
:where(.righto-candidate,.auth-body){--ink:var(--rt-ink);--muted:var(--rt-muted);--line:var(--rt-line);--fill:var(--rt-surface-2);--blue:var(--rt-blue-text);--auth-ink:var(--rt-ink);--auth-muted:var(--rt-muted);--auth-line:var(--rt-line);--auth-blue:var(--rt-blue-text);--auth-action:var(--rt-blue);--auth-error:var(--rt-error)}
:is(#righto-workspace,#workspace-dialog,.rw-shortlist){--action:var(--rt-red);--link:var(--rt-red-text);--muted:var(--rt-muted);--border:var(--rt-line);--rt-focus:2px solid var(--rt-accent)}
.rt-tabular,:is(.candidate-pay,.candidate-results-count,.candidate-progress,.rw-money,.rw-count,[data-intro-clock]){font-variant-numeric:tabular-nums}
:where(.righto-candidate,.auth-body,#righto-workspace,#workspace-dialog,.rw-shortlist) :is(button,a,input,textarea,select,summary):focus-visible{outline:var(--rt-focus);outline-offset:2px}
:where(.righto-candidate,.auth-body,#righto-workspace) :is(h1,h2,h3){text-wrap:balance;letter-spacing:-.02em}
:where(.righto-candidate,.auth-body,#righto-workspace) p{text-wrap:pretty}
@media(pointer:coarse){:where(.righto-candidate,.auth-body,#righto-workspace,#workspace-dialog) :is(input,textarea,select){font-size:16px}:where(.righto-candidate,.auth-body,#righto-workspace,#workspace-dialog) :is(button,summary){min-height:44px}}
@media(prefers-reduced-motion:reduce){:where(.righto-candidate,.auth-body,#righto-workspace) *,:where(.righto-candidate,.auth-body,#righto-workspace) *::before,:where(.righto-candidate,.auth-body,#righto-workspace) *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

:where(.candidate-brand,.auth-brand,.rw-brand){display:inline-flex;align-items:baseline;gap:.1em;font-family:var(--rt-font-heading);font-size:26px;letter-spacing:-.04em}
:where(.candidate-brand,.auth-brand,.rw-brand)>span{display:inline-block;flex:none;width:.23em;height:.23em;background:var(--rt-accent);color:transparent!important;-webkit-text-fill-color:transparent;overflow:hidden;font-size-adjust:none;line-height:0;transform:none}
.rt-slow-loading{visibility:hidden;animation:rt-loading-delay 0s 12s forwards!important;font-size:var(--rt-text-s);color:var(--rt-muted);margin:var(--rt-space-6)}
@keyframes rt-loading-delay{to{visibility:visible}}
:where(.righto-candidate,.auth-body){-webkit-text-size-adjust:100%;font-size-adjust:from-font}
:where(.righto-candidate,.auth-body) button{-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
:where(.righto-candidate,.auth-body) dialog:modal{overscroll-behavior:contain}
:where(.righto-candidate,.auth-body) dialog::backdrop{overflow:hidden;overscroll-behavior:contain}

/* Scoped dark product surfaces. Background colours never replace photographs/media. */
html[data-theme=dark] body{background-color:var(--appearance-bg);color:var(--appearance-ink)}
html[data-theme=dark] .righto-candidate{--ink:var(--appearance-ink);--muted:var(--appearance-muted);--line:var(--appearance-line);--fill:var(--appearance-panel);--blue:var(--appearance-blue);background-color:var(--appearance-bg);color:var(--appearance-ink)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist){--action:var(--rt-red);--link:var(--rt-red-text);--muted:var(--appearance-muted);--border:var(--appearance-line);background-color:var(--appearance-bg);color:var(--appearance-ink)}
html[data-theme=dark] .auth-body{--auth-ink:var(--appearance-ink);--auth-muted:var(--appearance-muted);--auth-line:#748094;--auth-blue:var(--appearance-blue);--auth-error:var(--appearance-danger);background-color:var(--appearance-bg);color:var(--appearance-ink)}
html[data-theme=dark] :is(.connected-body,.extra-body,.admin-body,.utility-page,.reference-stage,.reference-index,.review-entry){background-color:var(--appearance-bg);color:var(--appearance-ink)}
html[data-theme=dark] :is(.candidate-header,.candidate-account-menu,.candidate-context,.candidate-job-page-card,.candidate-cv-card,.candidate-file-row,.candidate-dropzone,.candidate-more-filters[open] .candidate-filter-form,.candidate-more-filters[open]>p,.candidate-setup-preview .candidate-profile-card,.candidate-saved-material>section,.candidate-selection-bar,.candidate-task .candidate-form-actions,.candidate-task .candidate-step-actions,.candidate-session-expired,.candidate-withdraw-confirm,.candidate-review-row.needs-attention,.candidate-signin-dialog,.candidate-file-dialog,.candidate-saved-avatar,.rp-date-pop){background-color:var(--appearance-raised);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] .righto-candidate :is(.candidate-chip,.candidate-oneoff,.candidate-parsed-chip,.candidate-profile-chips span.is-neutral,.candidate-badge[data-tone=muted],.candidate-file-icon,.candidate-file-badge,.candidate-small-button,.candidate-button.secondary,.candidate-save-job,.candidate-search-field button,.candidate-more-filters>summary,.candidate-toggle-row,.candidate-account-menu button,.rp-date-trigger,.rp-date-native){background-color:var(--appearance-panel);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] .righto-candidate :is(h1,h2,h3,h4,.candidate-field,.candidate-profile-card,.candidate-saved-filename,.candidate-review-name,.candidate-ready-title,.candidate-job-title){color:var(--appearance-ink)}
html[data-theme=dark] .righto-candidate :is(.candidate-field input,.candidate-field select,.candidate-field textarea,.candidate-auth-control input,.candidate-question textarea,.candidate-search-input,.candidate-location,.candidate-filter-form input,.candidate-filter-form select){background-color:var(--appearance-input);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] .righto-candidate :is(input,textarea)::placeholder{color:var(--appearance-muted);opacity:1}
html[data-theme=dark] .righto-candidate :is(.candidate-result[aria-current=true],.candidate-application-row:hover,.candidate-saved-row:hover){background-color:#17233d;border-color:var(--appearance-blue)}
html[data-theme=dark] .righto-candidate .candidate-error{background-color:#351d24;color:var(--appearance-danger)}
html[data-theme=dark] .righto-candidate .candidate-auth-brand{color:#fff}html[data-theme=dark] .righto-candidate .candidate-auth-brand :is(h1,h2,h3,p){color:#fff}
html[data-theme=dark] :is(.rw-header,.rw-account-menu,.rw-job,.rw-job-menu>div,.rw-list button,.rw-column,.rw-column button,.rw-pipeline-top,.rw-pipeline-profile,.rw-pipeline-actions,.rw-person-row,.rw-foot-actions,.rw-invite-foot,.rw-selection-dock,.rw-plan-card,.rw-listing-preview article,.rw-first-job,.rw-company-preview article,.rw-recruiter-topbar,.rw-recruiter-metrics>section,.rw-recruiter-panel,.rw-recruiter-client-card,.rw-recruiter-client-explainer,.rw-shortlist-header,.rw-shortlist-card,.rw-admin-queue-row,.rw-admin-subheader,.rw-admin-confirm,.rw-admin-decisions,.rw-written li,.rw-dialog,.rw-admin-note,.rw-saved-search){background-color:var(--appearance-raised);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] :is(.rw-monogram,.rw-chip:not(.success):not(.live),.rw-tabs,.rw-segmented,.rw-company-logo,.rw-company-preview-media,.rw-person-thumb,.rw-talent-photo,.rw-review-sample,.rw-sample-note,.rw-soon,.rw-match,.rw-fixture-note,.rw-agency-contact,.rw-example,.rw-people-ai-field,.rw-question-progress .rw-progress){background-color:var(--appearance-panel);color:var(--appearance-muted);border-color:var(--appearance-line)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(h1,h2,h3,h4,.rw-field,.rw-job-bottom,.rw-company-logo,.rw-job-detail,.rw-status,.rw-invitation-photo,.rw-team-row){color:var(--appearance-ink)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(p,small,.rw-text-muted,.rw-company-logo-row p,.rw-listing-description,.rw-job-description){color:var(--appearance-muted)}
html[data-theme=dark] :is(.rw-field input,.rw-field textarea,.rw-field select,.rw-search,.rw-talent-filters select,.rw-recruiter-topbar form,.rw-recruiter-topbar input,.rw-is-recruiter .rw-talent-search input,.rw-start-date input,.rw-duties input,.rw-describe textarea,.rw-admin-note textarea,.rw-admin-confirm textarea,.rw-agency-invite input,.rw-agency-invite select,.rw-money,.rw-written textarea){background-color:var(--appearance-input);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog) :is(input,textarea)::placeholder{color:var(--appearance-muted);opacity:1}
html[data-theme=dark] :is(.rw-button:not(.primary),.rw-icon-button,.rw-job-menu>summary,.rw-invite-days button,.rw-invite-slots button,.rw-clip-tabs button,.rw-recruiter-needs-row>button,.rw-recruiter-topbar>div>button,.rw-pick-bar button,.rw-role-select,.rw-people-ai-button,.rw-card-edit,.rw-suggestion-chip){background-color:var(--appearance-panel);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] :is(.rw-button.primary,.candidate-button:not(.secondary),.auth-primary){color:#fff}
/* Employer selected states use the employer accent (8% orange tint, orange edge), never the job-seeker blue. */
html[data-theme=dark] :is(.rw-tabs button[aria-pressed=true],.rw-admin-queue-row[aria-current=true],.rw-recruiter-client-filter button[aria-pressed=true],.rw-segmented input:checked+span){background-color:var(--rw-selected,color-mix(in srgb,var(--rt-red) 8%,var(--appearance-raised)));color:var(--appearance-ink);border-color:var(--rt-red)}
html[data-theme=dark] .rw-list button[aria-current=true]{background-color:var(--rw-selected,color-mix(in srgb,var(--rt-red) 8%,var(--appearance-raised)));color:var(--appearance-ink);border-left-color:var(--rt-red)}
html[data-theme=dark] :is(.rw-error,.rw-admin-error){color:var(--appearance-danger)}html[data-theme=dark] :where(.rw-notice){background-color:#352c18;color:#f5d999}
html[data-theme=dark] .auth-body :is(.auth-field input,.auth-field input:disabled,.auth-skip,.auth-connection-state){background-color:var(--appearance-input);color:var(--appearance-ink);border-color:#748094}
html[data-theme=dark] .auth-body :is(.auth-field input,.auth-field input:disabled){-webkit-text-fill-color:var(--appearance-ink)}html[data-theme=dark] .auth-body input::placeholder{color:var(--appearance-muted);opacity:1}
html[data-theme=dark] .auth-body :is(h1,h2,h3,.auth-label,.auth-heading,.auth-field){color:var(--appearance-ink)}html[data-theme=dark] .auth-body :is(.auth-detail,.auth-subtitle,.auth-status,.auth-quiet){color:var(--appearance-muted)}
html[data-theme=dark] .auth-body .auth-visual :is(h1,h2,h3,p){color:#fff}html[data-theme=dark] .auth-body .auth-status[data-kind=error]{color:var(--appearance-danger)}
html[data-theme=dark] :is(.connected-header,.connected-auth,.connected-footer,.policy-document,.job-list,.plan-status,.billing-pending,.extra-panel,.extra-job-header,.extra-prompt,.extra-assistant-message,.extra-region-options,.admin-topbar,.admin-panel,.admin-queue,.admin-row,.admin-table-wrap,.admin-table th,.admin-table tr,.admin-report,.admin-dialog,.reference-toolbar,.mobile-menu,.mobile-site-nav,dialog){background-color:var(--appearance-raised);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] :is(.connected-body,.extra-body,.admin-body) :is(input,textarea,select){background-color:var(--appearance-input);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] :is(.review-centre,.review-card,.review-card-actions,.review-confirm,.review-chip,.review-button,.review-lock,.review-close){background-color:var(--appearance-raised);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] :is(.review-centre-head,.review-centre-foot,.review-row,.review-section){border-color:var(--appearance-line)}html[data-theme=dark] :is(.review-centre p,.review-hint,.review-row-label small,.review-action small){color:var(--appearance-muted)}html[data-theme=dark] :is(.review-centre h2,.review-centre h3,.review-action,.review-role-tabs a,.review-roles a,.review-chip){color:var(--appearance-ink)}html[data-theme=dark] :is(.review-chip[aria-pressed=true],.review-chips-fill .review-chip[aria-pressed=true]){background-color:#17233d;border-color:var(--appearance-blue);color:var(--appearance-blue)}
html[data-theme=dark] :is(.candidate-skeleton-line,.candidate-skeleton-card,.candidate-skeleton-mark,.rw-skeleton i,.rw-skeleton article>div,.rw-admin-queue-loading span,.rw-admin-queue-loading i,.rw-admin-detail-loading span,.rw-admin-detail-loading b,.rw-admin-detail-loading i){background-color:#1b2431;background-image:linear-gradient(100deg,#1b2431 35%,#273344 50%,#1b2431 65%);border-color:var(--appearance-line)}

html[data-theme=dark] .righto-candidate .candidate-auth-actions .candidate-button{background-color:var(--appearance-panel);color:var(--appearance-ink);border-color:var(--appearance-line)}

/* Flow footers are inline actions, not raised cards. Keep mobile fixed controls opaque. */
html[data-theme=dark] #righto-workspace.rw-is-flow .rw-flow-foot{background-color:transparent}
html[data-theme=dark] #righto-workspace.rw-is-wizard .rw-wizard .rw-foot-actions{background-color:transparent}
html[data-theme=dark] #righto-workspace .rw-listing-skeleton{background-color:transparent}
@media(max-width:720px){html[data-theme=dark] #righto-workspace.rw-is-wizard .rw-wizard .rw-foot-actions{background-color:var(--appearance-bg)}}

/* Workspace forms and evidence use the same dark tokens as their containing panels. */
html[data-theme=dark] #righto-workspace.rw-is-recruiter{background-color:var(--appearance-bg)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(
 .rw-header nav a,.rw-account summary,.rw-account-menu a,.rw-account-menu button,.rw-footer a,
 .rw-tabs button,.rw-pipeline-stages button,.rw-breadcrumb strong,.rw-recruiter-crumbs strong,
 legend,.rw-segmented span,.rw-share-list li>label,.rw-sq-head>label,.rw-sq-required,
 .rw-written-answers dd,.rw-account-details dd,.rw-admin-fields dd,.rw-invitation-details dd,.rw-job-facts dd,
 .rw-selection-dock strong,.rw-selection-dock .rw-text,.rw-start-option,.rw-flow-head strong,
 .rw-review-rows small,.rw-found-value,.rw-found-row>strong,.rw-inline-pay label,
 .rw-team-role,.rw-agency-row strong,.rw-agency-clients,.rw-agency-role,.rw-admin-note-label,
 .rw-admin-text,.rw-admin-gate-link,.rw-admin-subheader-back,.rw-admin-your-note strong,
 .rw-admin-queue-note strong,.rw-admin-support,.rw-saved-search button,.rw-recruiter-client-pipelines td,
 .rw-job-summary:not(.muted),.rw-job-columns aside ul,.rw-recent-copy strong,.rw-no-video-note strong,
 .rw-plan-price strong,.rw-plan-zero,.rw-plan-usage>div:first-child,.rw-promote-total,.rw-pick-progress strong
){color:var(--appearance-ink)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(
 .rw-written-answers dt,.rw-written-answers dd em,.rw-account-details dt,.rw-admin-fields dt,.rw-job-facts dt,
 .rw-pipeline-note summary,.rw-people-meta>span,.rw-profile-fit span,.rw-keyboard-hint,.rw-find-people,
 .rw-wizard-progress span,.rw-money b,.rw-review-rows strong,.rw-share-list li>small,.rw-invite-chosen,.rw-invite-zone,
 .rw-talent-toolbar>span,.rw-talent-photo>span,.rw-card-timing,.rw-recent-fit,.rw-recent-when,
 .rw-plan-recommended,.rw-plan-price span,.rw-plan-foot,.rw-team-note,.rw-role-chevron,
 .rw-agency-contact a,.rw-agency-clients,.rw-people-ai-notice,.rw-share-table small,.rw-breadcrumb a,
 .rw-recruiter-crumbs a,.rw-recruiter-client-card dd,.rw-recruiter-client-card footer,.rw-job-section-head span,
 .rw-pick-note,.rw-client-pick q,.rw-admin-label,.rw-admin-decision-context,.rw-admin-pane-hint,.rw-admin-pane-select
){color:var(--appearance-muted)}
/* Employer text buttons and inline links (.rw-text, .rw-describe-ai, summaries, .rw-card-review, .rw-pick-ask …)
   take their colour from the light rules, whose tokens (--rt-red-text, --rt-ink, --link, --rt-error) already
   resolve to the dark values. No dark override here: blue belongs to job-seeker surfaces only. */
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(
 .rw-money input,.rw-people-ai-field input,.rw-inline-pay input,.rw-pick-note textarea,.rw-duties li input
){background-color:var(--appearance-input);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(
 .rw-foot-actions,.rw-all-foot,.rw-invite-foot,.rw-admin-decision-actions,.rw-job>.rw-choice,
 .rw-admin-gate,.rw-plan-outline,.rw-dialog .rw-option,.rw-recruiter-needs-row>button:hover
){background-color:var(--appearance-raised);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(
 .rw-no-video-note,.rw-plan-sample,.rw-shortlist-note,.rw-talent-tags span,.rw-pipeline-stages button span,
 .rw-role-select:disabled,.rw-pipeline-bar,.rw-plan-meter,.rw-media-status,.rw-cover-library button,
 .rw-recruiter-client-card em:not(.hiring),.rw-pick-pass,.rw-pick-passed
){background-color:var(--appearance-panel);color:var(--appearance-muted);border-color:var(--appearance-line)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(
 .rw-pipeline-stages button[aria-pressed=true],.rw-invite-slots button[aria-pressed=true],.rw-invite-days button[aria-pressed=true]
){color:var(--appearance-ink);border-color:var(--rt-red)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(
 .rw-pipeline-stages button[aria-pressed=true] span,.rw-clip-tabs button[aria-pressed=true]
){background-color:var(--rw-selected,color-mix(in srgb,var(--rt-red) 8%,var(--appearance-raised)));color:var(--appearance-ink)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog,.rw-shortlist) :is(
 .rw-fit-evidence li,.rw-review-rows,.rw-review-rows li,.rw-account-sections>section,.rw-notification-row,
 .rw-pipeline-note,.rw-application-activity,.rw-written-answers,.rw-company-layout section,
 .rw-invite-jobs label,.rw-segmented,.rw-suggestion-choice
){border-color:var(--appearance-line)}
html[data-theme=dark] #righto-workspace :is(.rw-plan-held,.rw-plan-link){color:var(--appearance-ink)!important}
html[data-theme=dark] #righto-workspace .rw-plan-meter i{background-color:var(--rt-red)}
html[data-theme=dark] #righto-workspace .rw-person-fit.low{color:var(--appearance-muted)}
html[data-theme=dark] #righto-workspace.rw-is-recruiter .rw-talent-person:has(.rw-talent-photo>span) .rw-talent-person-copy :is(h2 .rw-text,p,small){color:var(--appearance-ink)}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog) .rw-talent-photo>.rw-text{color:#fff}
html[data-theme=dark] :is(#righto-workspace,#workspace-dialog) :is(.rw-account-danger .rw-text,.rw-selection-dock .rw-text.rw-delete,.rw-error){color:var(--appearance-danger)}
/* Interview scheduling is embedded in the workspace, not a separate light card. */
html[data-theme=dark] #righto-workspace .interview-offer{background-color:var(--appearance-raised);color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] #righto-workspace .interview-offer :is(.io-field,.io-choice-list label){color:var(--appearance-ink);border-color:var(--appearance-line)}
html[data-theme=dark] #righto-workspace .interview-offer :is(.io-field input,.io-field select,.io-field textarea){background-color:var(--appearance-input);color:var(--appearance-ink);border-color:var(--appearance-line);color-scheme:dark}
html[data-theme=dark] #righto-workspace .interview-offer .io-button{background-color:var(--appearance-panel);color:var(--appearance-ink);border-color:var(--appearance-line)}
#righto-workspace .interview-offer .io-primary{background-color:var(--action);border-color:var(--action);color:var(--rt-on-action)}
html[data-theme=dark] #righto-workspace .interview-offer .io-primary{background-color:var(--action);border-color:var(--action);color:var(--rt-on-action)}
/* interview-offer.css is shared with the job-seeker portal (blue); inside the employer workspace its
   secondary buttons, links and focus ring follow the employer ink/orange in both themes. */
#righto-workspace .interview-offer :is(.io-button:not(.io-primary),.io-confirmed a){color:var(--rt-ink)}
#righto-workspace .interview-offer :focus-visible{outline:var(--rt-focus)}
html[data-theme=dark] #righto-workspace .interview-offer .io-notice{background-color:#352c18;border-color:#725d32;color:#f5d999}
html[data-theme=dark] #righto-workspace .interview-offer .io-notice :is(p,small){color:#f5d999}
html[data-theme=dark] #righto-workspace .interview-offer .io-confirmed{background-color:#103b2a;border-color:#236748}
html[data-theme=dark] #righto-workspace .interview-offer .io-confirmed :is(h3,p,small){color:#b5ecd0}
html[data-theme=dark] #righto-workspace .interview-offer .io-error{color:var(--appearance-danger)!important}

/* Candidate marketing uses the hero canvas for every full-width section.
   Keep nested cards, device mock-ups, photographs and the light-locked employer pages intact. */
html[data-theme=dark] body[data-marketing=candidate] .marketing-board[data-theme=dark]{--marketing-canvas:var(--appearance-bg);background-color:var(--marketing-canvas)!important}
html[data-theme=dark] body[data-marketing=candidate] .marketing-board[data-theme=dark]>:is(header,section,footer,.marketing-header,.sam-footer,.sam-faq-section,.sam-final-cta),html[data-theme=dark] body[data-marketing=candidate] .marketing-board[data-theme=dark]>.marketing-main>:is(section,.sam-faq-section,.sam-final-cta){background-color:var(--marketing-canvas)!important}

:is(.candidate-header,.candidate-footer,.rw-header,.rw-footer,.auth-header){background:var(--rt-canvas)!important;border-color:var(--rt-line)}
:is(.candidate-skeleton-line,.candidate-skeleton-mark,.rw-skeleton-line,.rw-skeleton-block){background:var(--rt-surface-2)!important;color:var(--rt-line)}
:is(.candidate-monogram,.candidate-logo,.candidate-badge[data-tone=neutral],.rw-monogram){background:var(--rt-surface-2);color:var(--rt-ink)}
:is(.candidate-file-dialog,.rw-dialog){background:var(--rt-surface);color:var(--rt-ink);max-height:calc(100dvh - 32px)}
html[data-theme=dark] .rw-button.primary{background:var(--rt-red);color:var(--rw-primary-label,#fff)}

/* One compact appearance control on every product header; preferences live in account settings. */
.rt-appearance-toggle{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:var(--rt-theme-control-radius,50%);background:transparent;position:relative;isolation:isolate;color:var(--rt-ink,var(--appearance-ink));cursor:pointer;line-height:1}
.rt-appearance-toggle::before{content:"";position:absolute;inset:4px;border:1px solid var(--rt-line,var(--appearance-line));border-radius:var(--rt-theme-control-radius,50%);z-index:-1}
.rt-appearance-toggle>svg{grid-area:1/1;display:block;flex:none}
.rt-appearance-toggle[data-theme=dark]>[data-theme-icon=moon],.rt-appearance-toggle[data-theme=light]>[data-theme-icon=sun]{display:none}
.rt-appearance-toggle:focus-visible{outline:var(--rt-focus,2px solid var(--appearance-blue));outline-offset:3px}
.rw-appearance-control:has(.rt-appearance-toggle){display:flex;flex:none;align-items:center;gap:0;width:44px;min-width:44px;margin-left:0}
@media(hover:hover) and (pointer:fine){.rt-appearance-toggle:hover{background:var(--rt-surface-2,var(--appearance-panel))}}

/* Native selects share a readable arrow inset in every role and theme. */
:is(.righto-candidate,.auth-body,#righto-workspace,#workspace-dialog,.public-page) select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;padding-right:40px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23737E8D' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px}
:is(.rw-header,.rw-recruiter-sidebar) .rw-brand>span{background:#FF4D3D!important}
.rw-header .rw-account{min-width:0;flex:none}.rw-header .rw-account summary>span:not(.rw-avatar){min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rw-header .rw-account summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rw-header>nav{min-width:0}.rw-header>nav a{white-space:nowrap}
@media(min-width:721px) and (max-width:1050px){.rw-header{gap:16px}.rw-header>nav{gap:18px}.rw-header .rw-account summary>span:not(.rw-avatar){max-width:120px}}
@media(forced-colors:active){:is(.righto-candidate,.auth-body,#righto-workspace,#workspace-dialog,.public-page) select:not([multiple]):not([size]){appearance:auto;-webkit-appearance:auto;background-image:none;padding-right:12px!important}}

/* Provider buttons share presentation, never account-role or OAuth state. The
   container stays transparent; only the controls receive a surface colour. */
html :is(.auth-body .auth-provider,.righto-candidate .candidate-auth .candidate-auth-actions,.righto-candidate .candidate-signin-dialog .candidate-auth-actions) button.rt-auth-provider-button{
 --provider-bg:var(--rt-surface);--provider-ink:var(--rt-ink);--provider-border:#748094; /* 4:1 on white; --rt-line is only 1.3:1 */
 display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:48px;min-height:48px;
 margin:0;padding:12px 20px;border:1px solid var(--provider-border);border-radius:12px;
 background:var(--provider-bg);color:var(--provider-ink);font:600 15px/22px Inter,'Inter Fallback',sans-serif;
 text-decoration:none;box-shadow:none;transition:background-color 120ms ease-out,border-color 120ms ease-out;
}
html[data-theme=dark] :is(.auth-body .auth-provider,.righto-candidate .candidate-auth .candidate-auth-actions,.righto-candidate .candidate-signin-dialog .candidate-auth-actions) button.rt-auth-provider-button{
 --provider-bg:var(--appearance-input);--provider-ink:var(--appearance-ink);--provider-border:#748094; /* matches the dark auth inputs; 4.8:1 on the dark canvas */
}
html :is(.auth-body .auth-provider,.righto-candidate .candidate-auth .candidate-auth-actions,.righto-candidate .candidate-signin-dialog .candidate-auth-actions) button.rt-auth-provider-button:is([data-auth-provider=apple],[data-action=apple],[data-dialog-provider=apple]){
 --provider-bg:#111827;--provider-ink:#fff;--provider-border:#748094;
}
html :is(.auth-body .auth-provider,.righto-candidate .candidate-auth .candidate-auth-actions,.righto-candidate .candidate-signin-dialog .candidate-auth-actions) button.rt-auth-provider-button svg{
 flex:none;width:20px;height:20px;stroke:none;
}
html :is(.auth-body .auth-provider,.righto-candidate .candidate-auth .candidate-auth-actions,.righto-candidate .candidate-signin-dialog .candidate-auth-actions) button.rt-auth-provider-button:focus-visible{
 outline:3px solid var(--rt-blue-text);outline-offset:3px;
}
html :is(.auth-body .auth-provider,.righto-candidate .candidate-auth .candidate-auth-actions,.righto-candidate .candidate-signin-dialog .candidate-auth-actions) button.rt-auth-provider-button:disabled{
 opacity:.55;cursor:wait;
}
@media(hover:hover) and (pointer:fine){
 html :is(.auth-body .auth-provider,.righto-candidate .candidate-auth .candidate-auth-actions,.righto-candidate .candidate-signin-dialog .candidate-auth-actions) button.rt-auth-provider-button:hover:not(:disabled){
  background:color-mix(in srgb,var(--provider-bg) 94%,var(--provider-ink));
 }
}

/* Use the landing-page header wordmark on both signed-in products and their entry screens. */
:is(.rw-header .rw-brand:not(.rw-employer-wordmark),.rw-setup-header .rw-brand,.righto-candidate .candidate-header .candidate-brand,.auth-header .auth-brand){display:inline-flex!important;align-items:baseline!important;gap:3px!important;flex-shrink:0;height:auto!important;font:800 32px/38px 'Plus Jakarta Sans','Plus Jakarta Sans Fallback',sans-serif!important;letter-spacing:-.04em!important;color:#2553eb!important;white-space:nowrap;text-decoration:none!important}
:is(.rw-header .rw-brand:not(.rw-employer-wordmark),.rw-setup-header .rw-brand,.righto-candidate .candidate-header .candidate-brand,.auth-header .auth-brand)>span{display:block!important;flex:none;width:7px!important;height:7px!important;margin:0!important;padding:0;border:0;border-radius:0;font-size:0!important;line-height:0!important;transform:none!important;background:#ff4d3d!important}
html[data-theme=dark] :is(.rw-header .rw-brand:not(.rw-employer-wordmark),.rw-setup-header .rw-brand,.righto-candidate .candidate-header .candidate-brand,.auth-header .auth-brand){color:#7a95ff!important}
@media(max-width:1099px){:is(.rw-header .rw-brand:not(.rw-employer-wordmark),.rw-setup-header .rw-brand,.righto-candidate .candidate-header .candidate-brand,.auth-header .auth-brand){font-size:30px!important;line-height:36px!important}}

/* Pay-basis choices are neutral controls, not inline links. */
html[data-theme=dark] #righto-workspace .rw-guided-pay-basis button.rw-text[data-action=pay-basis]{color:var(--appearance-ink)}

/* Pricing belongs to the same dark marketing canvas as the home page.
   Keep raised offer cards distinct; the soft panel token is not a page canvas. */
html[data-theme=dark] body[data-marketing=pricing] .marketing-board[data-theme=dark]{--marketing-canvas:var(--appearance-bg);background-color:var(--marketing-canvas)!important}
html[data-theme=dark] body[data-marketing=pricing] .marketing-board[data-theme=dark] .rt-pricing{background-color:var(--marketing-canvas)}
/* Account deletion becomes an action only after the exact confirmation is entered. */
html :is(#workspace-dialog,.righto-candidate dialog) button.rt-account-delete-confirm{background:#FF4D3E!important;color:#FFFFFF!important;border-color:#FF4D3E!important;opacity:1!important}
html :is(#workspace-dialog,.righto-candidate dialog) button.rt-account-delete-confirm:disabled{background:var(--rt-line)!important;color:var(--rt-muted)!important;border-color:var(--rt-line)!important;cursor:not-allowed}
/* Native checkboxes, radios and sliders in the employer workspace use the employer accent instead of the
   browser-default blue. Zero-ID specificity (0,1,1) so any component rule in workspace.css can still refine it. */
:where(#righto-workspace,#workspace-dialog,.rw-shortlist) input:is([type=checkbox],[type=radio],[type=range]){accent-color:var(--rt-red)}
