/* Match operational forms to the approved black ETDx homepage. */
:root,html[data-theme]{color-scheme:dark;--page:#0b0c0e;--surface:#17191d;--soft:#202329;--ink:#f4f5f7;--title:#ff983e;--muted:#c8cbd1;--line:#626973;--teal:#58d8d2;--seeker:#58d8d2;--seeker-bg:#172b2b;--provider:#ffad73;--provider-bg:#2b211b;--consult:#cab0ff;--consult-bg:#292135;--header:#111316;--button-ink:#101719;--copper:#dba070}
html[data-theme] body,body{background:#0b0c0e!important;color:#f4f5f7!important;font-family:Arial,sans-serif}
header,footer,html[data-theme] header,html[data-theme] footer{background:#111316!important;color:#f4f5f7!important}
h1,h2,h3,h4{font-family:Arial,sans-serif;color:#ff983e}
p,li,label,legend,dt,dd,small{color:inherit}
a{color:#65e0db}
input,select,textarea{background:#16191e!important;color:#f4f5f7!important;border:1px solid #77818e!important;max-width:100%;font-size:1rem}
input[type=checkbox],input[type=radio]{accent-color:#57d9d1}
fieldset,.review-card,.result,.saved,.remote,.skill-card,.review-note,.notice,details,th,td{border-color:#626973!important}
.review-card,.result,.saved,.remote,.skill-card,.review-note,.notice{background:#171b20!important;color:#f4f5f7!important}
.button,button:not(.text-button),header nav a,html[data-theme] .button{background:#5cdad2!important;color:#101719!important;border:1px solid #70e4dd!important;font-weight:700;min-height:44px}
button.secondary,.button.secondary{background:#d0b7fa!important;color:#211930!important;border-color:#d0b7fa!important}
button:disabled{opacity:.55}
button:hover:not(:disabled),a.button:hover{filter:brightness(1.1)}
:focus-visible{outline:3px solid #ffb45c!important;outline-offset:3px}
.hint,.fine,.review-time{color:#c6ccd5!important}
.preview{background:#252017!important;color:#ffe1b1!important}
table{border-collapse:collapse;width:100%}th{background:#252a31!important;color:#fff!important}
@media(max-width:600px){main{padding-left:16px!important;padding-right:16px!important}header{padding:16px!important}input,select,textarea{font-size:16px!important}.review-actions{gap:12px}h1{font-size:clamp(1.8rem,8vw,2.5rem)}}

/* Keep the saved-workspace link in one reliable mouse and keyboard target. */
.workspace-link{display:inline-block;margin-left:.35em}
/* Private Expert Help review controls must stay readable on narrow screens. */
.expert-matching,.expert-approvals{min-width:0;overflow-wrap:anywhere}
.expert-matching pre,.expert-approvals pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
.expert-matching input[type=checkbox],.expert-approvals input[type=checkbox]{display:inline-block;width:auto;margin-right:8px;vertical-align:middle}

/* Recruitment surfaces must use the same dark background as their light text. */
.paths article,#workspace,.candidate-section,.candidate-guide,.submission-review{background:#171b20!important;color:#f4f5f7!important;border-color:#626973!important}
.candidate-section summary{color:#ffb45c}
.tag{background:#263c3d;color:#f4f5f7}
