:root { color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; color: #172b3b; background: #f2f5f6; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #1c6158; text-decoration: none; }
.workspace { min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { background: #123c41; color: #d2e3e1; padding: 34px 22px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 1.8px; margin: 0 8px 62px; }
.brand small { display: block; font-size: 9px; letter-spacing: 2.6px; color: #a9ceca; margin-top: 4px; font-weight: 500; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; background: #ffffff1c; border: 1px solid #ffffff30; border-radius: 9px; letter-spacing: 0; }
.nav-label { color: #85aca8; font-size: 9px; letter-spacing: 2px; margin: 0 12px 16px; }
.nav-item { background: #ffffff10; border: 1px solid #ffffff18; padding: 13px 15px; border-radius: 8px; color: #fff; font-size: 13px; display: flex; align-items: center; gap: 12px; }
.nav-item span { font-size: 20px; color: #a3d7cc; }
.sidebar-note { margin: auto 10px 0; padding-top: 40px; font-size: 10px; color: #a2c6c1; display: flex; align-items: center; gap: 8px; }
.status-dot { height: 6px; width: 6px; border-radius: 50%; background: #83cdb6; }
main { min-width: 0; }
.topbar { height: 76px; padding: 0 44px; background: white; border-bottom: 1px solid #e4eaec; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: #6c7d87; }
.breadcrumb { color: #a3aeb5; margin-left: 8px; }
.session-user { font-weight: 600; color: #28564e; overflow-wrap: anywhere; }
.page-content { max-width: 1320px; padding: 42px 44px 24px; margin: auto; }
.eyebrow { display: block; color: #467671; font-size: 9px; font-weight: 700; letter-spacing: 2px; }
h1 { font-size: 30px; letter-spacing: -.9px; font-weight: 650; margin: 11px 0; }
.new-badge { font-size: 9px; letter-spacing: 1.2px; color: #56746d; border: 1px solid #d7e4df; border-radius: 6px; padding: 9px 11px; white-space: nowrap; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
form { background: white; border: 1px solid #e1e8ea; border-radius: 12px; overflow: hidden; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-section { padding: 28px 30px; }
.form-section + .form-section { border-top: 1px solid #edf0f2; }
.section-number { display: grid; place-items: center; height: 30px; width: 30px; background: #edf5f2; color: #508276; border-radius: 7px; font-size: 10px; font-weight: 700; flex-shrink: 0; }
h2 { font-size: 16px; margin: 0 0 5px; font-weight: 650; letter-spacing: -.3px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { min-width: 0; }
.full-width { grid-column: 1 / -1; }
label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 9px; }
.required { color: #388073; }
.optional { font-size: 9px; font-weight: 400; color: #94a0a9; margin-left: 5px; }
input, select, textarea { width: 100%; border: 1px solid #dce3e6; border-radius: 7px; padding: 12px; background: #fcfdfd; color: #243946; font: inherit; font-size: 12px; }
input, select { height: 43px; }
textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
input::placeholder, textarea::placeholder { color: #9aa6ad; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #2a756a; box-shadow: 0 0 0 3px #2a756a18; }
[aria-invalid="true"] { border-color: #b64040; }
input:disabled, select:disabled, textarea:disabled { background: #f4f6f7; color: #93a0a8; }
.field-hint { display: block; font-size: 10px; color: #8a979f; line-height: 1.6; margin-top: 7px; }
.form-footer { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid #edf0f2; padding: 20px 30px; }
.form-footer > span { font-size: 10px; color: #8a979f; }
button { background: #1c6158; color: #fff; border: 0; border-radius: 7px; padding: 13px 17px; font: inherit; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; }
button:hover { background: #154d47; }
button:focus-visible, a:focus-visible { outline: 3px solid #89bdb5; outline-offset: 3px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.secondary { background: white; color: #1c6158; border: 1px solid #c9dcd5; }
.secondary:hover { background: #eef7f3; }
.text-button { background: transparent; color: #1c6158; font-size: 10px; padding: 8px 0 0; }
.text-button:hover { background: transparent; text-decoration: underline; }
dl { margin: 24px 0; }
dt { color: #82948b; font-size: 10px; margin: 20px 0 5px; }
dd { margin: 0; font-size: 12px; color: #315c4e; font-weight: 600; overflow-wrap: anywhere; }
.message { font-size: 12px; line-height: 1.6; padding: 13px 16px; margin-bottom: 16px; border: 1px solid #dce7e2; background: #fff; border-radius: 7px; }
.message:empty { display: none; }
.message.error { border-color: #edd2d3; background: #fff6f6; color: #a82e36; }
.recovery-actions { display: flex; align-items: center; gap: 12px; font-size: 12px; margin-bottom: 18px; }
.recovery-actions:has(> [hidden]):not(:has(> :not([hidden]))) { display: none; }
.spinner { width: 14px; height: 14px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.created-job { background: white; border: 1px solid #d1e5dc; border-radius: 12px; padding: 40px; text-align: center; max-width: 760px; margin: 0 auto; }
.success-icon { display: grid; place-items: center; width: 48px; height: 48px; background: #edf7f1; color: #1c6158; border-radius: 50%; font-size: 26px; margin: 0 auto 20px; }
.created-job h2 { font-size: 26px; margin: 16px 0 10px; }
.created-job p { font-size: 13px; color: #74877c; overflow-wrap: anywhere; }
.created-job dl { display: grid; grid-template-columns: 1fr 1fr; text-align: left; gap: 12px; padding: 20px; background: #f5f8f6; border-radius: 8px; }
.created-job dt { margin: 0; }
footer { display: flex; justify-content: space-between; gap: 16px; color: #91a0a7; font-size: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e1e8ea; }
[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
@media (max-width: 1100px) { .workspace { grid-template-columns: 190px minmax(0, 1fr); } .page-content { padding: 30px 24px; } .topbar { padding: 0 24px; } .content-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .workspace { grid-template-columns: 1fr; } .sidebar { padding: 18px 22px; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; } .brand { margin: 0; font-size: 12px; } .nav-label, .sidebar-note { display: none; } .nav-item { padding: 8px 10px; font-size: 11px; } .topbar { height: 62px; font-size: 10px; } .page-content { padding: 28px 18px; } .new-badge { display: none; } h1 { font-size: 26px; } .field-grid { grid-template-columns: 1fr; gap: 20px; } .form-section { padding: 24px 20px; } .form-footer { padding: 20px; flex-wrap: wrap; } .created-job { padding: 28px 20px; } .created-job dl { padding: 16px; } }

.job-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 1px solid #e1e8ea; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }
.toolbar-group { display: flex; gap: 10px; }
.job-toolbar button { min-width: 95px; letter-spacing: .7px; font-size: 11px; }
.record-strip { display: flex; gap: 28px; flex-wrap: wrap; padding: 16px 30px; border-bottom: 1px solid #edf0f2; background: #fafcfb; color: #8a9991; font-size: 10px; }
.record-strip strong { font-size: 11px; color: #315c4e; margin-left: 8px; overflow-wrap: anywhere; }
.message.success { border-color: #bcdccf; background: #edf8f2; color: #285b43; }
dialog { width: min(1160px, calc(100% - 40px)); max-height: calc(100dvh - 48px); border: 1px solid #dce7e2; border-radius: 18px; padding: 0; color: #172b3b; background: #fff; box-shadow: 0 40px 120px #0a252a40; overflow: auto; }
dialog::backdrop { background: #0a242c80; backdrop-filter: blur(5px); }
.dialog-header { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding: 28px 30px 24px; border-bottom: 1px solid #e8eeeb; background: linear-gradient(110deg, #f5faf7, #fff); }
.dialog-header h2 { font-size: 24px; font-weight: 650; letter-spacing: -.7px; margin: 9px 0; }
.dialog-header p { color: #7b8b83; font-size: 12px; margin: 0; line-height: 1.6; }
.close-button { background: #eef4f0; color: #476e5f; padding: 0; width: 32px; height: 32px; font-size: 24px; border: 1px solid #dce8e1; flex-shrink: 0; }
.close-button:hover { background: #e1ede6; }
.browse-filters { display: grid; grid-template-columns: 1.4fr 1.1fr .8fr .9fr 1.1fr; gap: 16px; border: 0; border-bottom: 1px solid #e8eeeb; border-radius: 0; background: #fafcfb; padding: 24px 30px; overflow: visible; }
.browse-filters label { font-size: 10px; color: #648073; }
.browse-filters input, .browse-filters select { background: #fff; font-size: 11px; }
.filter-actions { grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; }
.filter-actions .text-button { padding: 8px; font-size: 11px; }
.browse-message { margin: 16px 30px 0; font-size: 12px; line-height: 1.6; color: #647c70; }
.browse-message:empty { display: none; }
.browse-message.error { color: #a82e36; }
.grid-container { overflow: auto; margin: 20px 30px; border: 1px solid #e2eae5; border-radius: 10px; max-height: 390px; }
.job-grid { width: 100%; min-width: 890px; border-collapse: collapse; text-align: left; font-size: 11px; }
.job-grid th { position: sticky; top: 0; z-index: 1; background: #f0f6f2; color: #668375; font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; padding: 13px 14px; white-space: nowrap; }
.job-grid td { padding: 14px; border-top: 1px solid #eef2ef; color: #526d60; max-width: 220px; overflow-wrap: anywhere; }
.job-grid td:first-child { color: #254f3c; font-weight: 700; }
.job-grid tbody tr:hover { background: #f6faf7; }
.job-grid .grid-empty { text-align: center; padding: 48px 24px; font-size: 12px; color: #8a9b91; }
.dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 30px 24px; color: #809389; font-size: 11px; }
.pagination { display: flex; gap: 14px; align-items: center; }
.pagination button { font-size: 10px; padding: 9px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 800px) { .browse-filters { grid-template-columns: 1fr 1fr; } .company-filter { grid-column: 1 / -1; } dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); } .dialog-header, .browse-filters { padding: 22px; } .grid-container { margin: 16px 22px; } .browse-message { margin: 16px 22px 0; } .dialog-footer { padding: 16px 22px 22px; flex-wrap: wrap; } }
@media (max-width: 480px) { .job-toolbar { padding: 10px; gap: 8px; } .toolbar-group { gap: 6px; } .job-toolbar button { min-width: 72px; padding: 11px 10px; gap: 6px; } .browse-filters { grid-template-columns: 1fr; } .company-filter { grid-column: auto; } .pagination { gap: 8px; } .record-strip { padding: 14px 20px; gap: 16px; } }

.job-grid .job-row { cursor: pointer; }
.job-grid .job-row:hover { background: #edf6f1; }
.job-grid .job-row:focus-visible { outline: 2px solid #2a756a; outline-offset: -2px; background: #edf6f1; }

.custom-date-range { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; border: 1px solid #e2ebe6; background: #f1f7f3; border-radius: 8px; }
@media (max-width: 480px) { .custom-date-range { grid-template-columns: 1fr; } }

.nav-item.nav-secondary { background: transparent; border-color: transparent; color: #c3dcd5; margin-top: 10px; }
.nav-item.nav-secondary:hover { background: #ffffff0b; }
