.gd-section-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0;padding:5px 0;border-bottom:1px solid #dce3ed}.gd-section-tabs button{font:11px/1.2 Arial,sans-serif;padding:5px 9px;border:1px solid #dce3ed;border-radius:5px;background:#fff;color:#53617b;cursor:pointer}.gd-section-tabs button.active{background:#eeebff;color:#6150ae;border-color:#c9c0ef}.gd-section-tabs b{font-size:9px;margin-left:3px}
#direct-applications-panel[hidden]{display:none!important}#candidate-panel[hidden]{display:none!important}
.gc-direct{padding:9px;border:1px solid #dce3ed;border-radius:7px;background:#fff;margin:6px 0;color:#243650;font:11px/1.3 Arial,sans-serif}.gc-direct .gd-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}.gc-direct h3{font-size:13px;margin:0}.gc-direct p{margin:5px 0}.gc-direct .gd-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:7px 0}.gc-direct .gd-tools label{display:flex;align-items:center;gap:5px}.gc-direct input,.gc-direct select,.gc-direct button{font:inherit;border:1px solid #d7dfed;border-radius:5px;padding:4px 7px;min-height:24px;background:#fff;color:inherit}.gc-direct button{cursor:pointer}.gc-direct button[data-status=accepted],.gc-direct .is-accepted{background:#e6f8ee;color:#167549}.gc-direct button[data-status=postponed],.gc-direct .is-postponed{background:#fff5da;color:#906208}.gc-direct button[data-status=rejected],.gc-direct .is-rejected{background:#fff0f3;color:#b13154}.gc-direct .gd-status{display:inline-flex;padding:2px 5px;border-radius:4px}.gc-direct .gd-scroll{overflow:auto}.gc-direct table{width:100%;border-collapse:collapse;font-size:10px;min-width:620px}.gc-direct td,.gc-direct th{padding:5px 6px;text-align:left;border-bottom:1px solid #e4e9f2;vertical-align:top}.gc-direct th{color:#7c8ba1;font-size:9px;background:#f8faff}.gc-direct .gd-error{color:#b13154}.gc-direct .gd-muted{color:#7c8ba1;font-size:9px}.gc-direct .gd-actions{display:flex;gap:4px;flex-wrap:wrap}.gc-direct .gd-comment{max-width:400px;white-space:pre-wrap;overflow-wrap:anywhere}.gc-direct a{color:#6150ae;overflow-wrap:anywhere}
@media(max-width:600px){.gc-direct{padding:7px}.gc-direct input,.gc-direct select{font-size:12px;min-height:28px}.gc-direct input:focus,.gc-direct select:focus{font-size:16px}.gc-direct button,.gd-section-tabs button{min-height:28px;padding:4px 7px}.gc-direct .gd-scroll{overflow:visible}.gc-direct table{min-width:0;display:block}.gc-direct thead{display:none}.gc-direct tbody{display:grid;gap:6px}.gc-direct tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;border:1px solid #e4e9f2;border-radius:5px;padding:6px}.gc-direct td{padding:1px;border:0;min-width:0}.gc-direct td:nth-child(2){grid-column:1/-1;grid-row:2}.gc-direct td:last-child{grid-column:1/-1}.gc-direct .gd-actions{margin-top:4px}}
@media(prefers-color-scheme:dark){.gd-section-tabs button,.gc-direct{background:#1d293a;border-color:#3a4961;color:#e3eafb}.gd-section-tabs button.active{background:#3a3256;color:#cfc1ff;border-color:#79689e}.gc-direct input,.gc-direct select,.gc-direct button{background:#25334a;border-color:#46546d;color:#e3eafb}.gc-direct th{background:#25334a;color:#acb9d1}.gc-direct td,.gc-direct th{border-color:#3a4961}.gc-direct a{color:#bcb0f0}.gc-direct .gd-muted{color:#a5b2c9}.gc-direct button[data-status=accepted],.gc-direct .is-accepted{background:#1d4238;color:#9bdfbd}.gc-direct button[data-status=postponed],.gc-direct .is-postponed{background:#443b25;color:#edcb86}.gc-direct button[data-status=rejected],.gc-direct .is-rejected{background:#462e3c;color:#f3adbe}}

/* Match the partner site's selected theme, independently of the device theme. */
html[data-theme="light"] .gc-direct{background:#fff;border-color:#e6dcd3;color:#2f2a26;font-family:"Golos Text",system-ui,sans-serif;border-radius:12px;box-shadow:0 5px 16px rgba(41,31,24,.03)}
html[data-theme="light"] .gc-direct :is(input,select,button),html[data-theme="light"] .gd-section-tabs button{background:#fff;border-color:#e0d7cf;color:#423b35;font-family:"Golos Text",system-ui,sans-serif;border-radius:7px}
html[data-theme="light"] .gd-section-tabs{border-color:#e6dcd3}
html[data-theme="light"] .gd-section-tabs button.active{background:#fff2ea;border-color:#f47740;color:#ab421d}
html[data-theme="light"] .gc-direct :is(td,th){border-color:#f0e9e3}
html[data-theme="light"] .gc-direct th{background:#f8f5f1;color:#857b73}
html[data-theme="light"] .gc-direct .gd-muted{color:#7d756e;font-size:10px}
html[data-theme="light"] .gc-direct a{color:#b64d21}
html[data-theme="light"] .gc-direct button:hover,html[data-theme="light"] .gd-section-tabs button:hover{border-color:#f47740}
html[data-theme="light"] .gc-direct :is(button[data-status="accepted"],.is-accepted){background:#e7f6ed;color:#1e7144}
html[data-theme="light"] .gc-direct :is(button[data-status="postponed"],.is-postponed){background:#fff3e8;color:#a84a23}
html[data-theme="light"] .gc-direct :is(button[data-status="rejected"],.is-rejected){background:#fae9e7;color:#9b3737}
html[data-theme="dark"] .gc-direct{background:#28231f;border-color:#51453c;color:#f3eee8;font-family:"Golos Text",system-ui,sans-serif;border-radius:12px}
html[data-theme="dark"] .gc-direct :is(input,select,button),html[data-theme="dark"] .gd-section-tabs button{background:#332a24;border-color:#51453c;color:#f3eee8;font-family:"Golos Text",system-ui,sans-serif;border-radius:7px}
html[data-theme="dark"] .gd-section-tabs{border-color:#51453c}
html[data-theme="dark"] .gd-section-tabs button.active{background:#3e2a20;border-color:#e87943;color:#ffbb98}
html[data-theme="dark"] .gc-direct :is(td,th){border-color:#453b34}
html[data-theme="dark"] .gc-direct th{background:#332a24;color:#b7aaa0}
html[data-theme="dark"] .gc-direct .gd-muted{color:#b7aaa0;font-size:10px}
html[data-theme="dark"] .gc-direct a{color:#ffbb98}
html[data-theme="dark"] .gc-direct button:hover,html[data-theme="dark"] .gd-section-tabs button:hover{border-color:#e87943}
html[data-theme="dark"] .gc-direct :is(button[data-status="accepted"],.is-accepted){background:#1d4238;color:#9bdfbd}
html[data-theme="dark"] .gc-direct :is(button[data-status="postponed"],.is-postponed){background:#443b25;color:#edcb86}
html[data-theme="dark"] .gc-direct :is(button[data-status="rejected"],.is-rejected){background:#462e3c;color:#f3adbe}
