:root {
  color-scheme: light;
  --ink: #202b25;
  --quiet: #526359;
  --paper: #f4f5f0;
  --line: #d5ddd3;
  --white: #fff;
  --green: #203b30;
  --lime: #d9f59c;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.top {
  background: var(--green);
  color: white;
  padding: 14px clamp(16px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; color: var(--green); background: var(--lime); border-radius: 8px; }
.local { color: #e0eada; font-size: .83rem; }
.local span { color: var(--lime); margin-right: 5px; }
.top-link { color: white; font-size: .9rem; font-weight: 600; text-underline-offset: .18em; }
.finder { display: block; max-width: 1200px; }
.finder-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.finder > .panel { margin-bottom: 16px; }
.finder textarea { min-height: 160px; }
.advert-confirmation { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--green); border-radius: 6px; background: #eef3e9; }
.advert-confirmation p { margin: 3px 0 0; }
.finder-filters { margin-top: 12px; }
.finder-filters p { margin-top: 8px; }
.job-table-wrap { overflow-x: auto; }
.job-table { width: 100%; border-collapse: collapse; min-width: 555px; text-align: left; }
.job-table th { background: var(--paper); font-size: .84rem; }
.job-table th, .job-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.job-table .outline { display: inline-block; white-space: nowrap; }
.job-company { display: block; margin-top: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) {
  .finder-inputs { grid-template-columns: minmax(0, 1fr); }
}
main { max-width: 1440px; margin: auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(18px, 4vw, 56px); padding: 34px clamp(16px, 4vw, 56px); }
.rail { border-right: 1px solid var(--line); padding-right: 20px; }
.rail-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-bottom: 16px; }
.rail h2 { font-size: 1rem; margin: 0; }
.rail-note, .help { font-size: .85rem; color: var(--quiet); }
.job { text-align: left; display: block; width: 100%; background: transparent; border: 1px solid transparent; padding: 10px; overflow-wrap: anywhere; }
.job[aria-current="true"] { background: #e7eddf; border-color: var(--line); }
.job span { display: block; color: var(--quiet); font-size: .8rem; font-weight: 400; }
.intro { margin-bottom: 22px; }
.intro h1 { font-size: clamp(2rem, 5vw, 3.15rem); letter-spacing: -.055em; line-height: 1.1; margin: 4px 0 8px; overflow-wrap: anywhere; }
.intro p, .panel p { margin-top: 0; color: var(--quiet); }
.eyebrow { font-size: .73rem; font-weight: 750; letter-spacing: .12em; margin-bottom: 4px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.steps button { border: 1px solid var(--line); background: #fafbf8; text-align: left; }
.steps button span { margin-right: 5px; font-size: .76rem; font-weight: 600; opacity: .8; }
.steps button[aria-current="step"] { background: var(--green); border-color: var(--green); color: white; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: clamp(17px, 3vw, 30px); box-shadow: 0 10px 28px #273a2610; }
.panel h2 { margin: 0 0 4px; font-size: 1.65rem; letter-spacing: -.04em; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
label { display: block; font-size: .91rem; font-weight: 650; margin-bottom: 5px; }
small { color: var(--quiet); font-size: .75rem; font-weight: 450; margin-left: 4px; }
input, textarea, select, button { font: inherit; color: inherit; }
textarea, input:not([type=file]), select {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #bfcbbd; background: #fbfcf9;
}
textarea { display: block; resize: vertical; min-height: 95px; line-height: 1.5; }
textarea::placeholder, input::placeholder { color: #627068; }
button, .outline, .upload { border-radius: 8px; padding: 9px 13px; font-weight: 650; font-size: .86rem; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
.outline, .upload { color: var(--green); border: 1px solid #bac8b7; background: white; text-decoration: none; }
.primary { border: 1px solid var(--green); background: var(--green); color: white; }
.primary:hover { background: #325445; }
.outline:hover, .upload:hover, .steps button:hover:not([aria-current]) { background: #e9f1e2; }
.danger { background: white; border: 1px solid #e3c8c3; color: #8e3226; }
:focus-visible, .upload:focus-within { outline: 3px solid #51794c; outline-offset: 3px; }
.upload { display: inline-flex; position: relative; margin: 8px 0 0; }
.upload input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.actions.between { justify-content: space-between; }
.actions.exports { justify-content: flex-start; }
.exports .upload { margin: 0; }
.role-actions { margin-top: 0; }
.archive-box { background: #eef3e9; margin: 0 0 20px; padding: 16px; border-radius: 10px; }
.archive-box h3 { margin: 0 0 4px; }
.archive-box p { margin-bottom: 0; }
.archive-box #archive-status:not(:empty) { margin-top: 10px; }
.profile-link { display: inline-block; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 12px; }
.contact-website { grid-column: 1 / -1; }
#contact-check:not(:empty) { margin: 10px 0 0; }
.key-field { flex: 1 1 220px; }
.inline-status:empty { display: none; }
.inline-status:not(:empty) { margin: 10px 0; }
#ai-input-details { margin-top: 10px; }
.builder { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.info { background: #edf3e7; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: .88rem; }
.question { padding: 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.question h3 { margin: 0 0 3px; font-size: 1rem; }
.question p { margin-bottom: 7px; }
.question .match { font-size: .83rem; background: var(--paper); padding: 8px 10px; border-radius: 6px; }
.question select { margin-bottom: 10px; max-width: 22rem; }
.handoff { background: #eef3e9; margin-top: 24px; padding: 18px; border-radius: 10px; }
.handoff h3 { margin: 0 0 4px; }
summary { cursor: pointer; font-weight: 650; }
pre { max-height: 360px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px; background: white; font-size: .85rem; }
#status, #storage-error { font-size: .88rem; }
#storage-error { color: #8e3226; }
@media (max-width: 780px) {
  main { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .rail { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; }
  #job-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .rail-note { margin-bottom: 0; }
}
@media (max-width: 540px) {
  .columns, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns { grid-template-columns: minmax(0, 1fr); }
}
