:root {
  --page: #f4f5f0;
  --surface: #ffffff;
  --surface-soft: #eef2eb;
  --ink: #17231d;
  --muted: #65746c;
  --muted-light: #8c9891;
  --line: #dfe5de;
  --green: #17623f;
  --green-dark: #0f4d31;
  --green-soft: #e6f2ea;
  --mint: #bde7ca;
  --yellow: #f7edc7;
  --yellow-ink: #7a5f06;
  --red-soft: #f8e9e7;
  --red: #8b3d35;
  --shadow: 0 18px 50px rgba(27, 48, 37, .08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: hidden; background: var(--page); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--page); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 52px); line-height: 1.03; letter-spacing: -.055em; }
h2 { margin-bottom: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
h3 { margin-bottom: 0; }

.site-header {
  position: sticky; top: 0; z-index: 30; height: 74px; border-bottom: 1px solid var(--line);
  background: rgba(244, 245, 240, .92); backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1120px, calc(100% - 40px)); height: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px;
  color: white; background: var(--green); font-weight: 900; box-shadow: 0 8px 20px rgba(23, 98, 63, .18);
}
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 14px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions form { margin: 0; }
.focus-badge, .system-status {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
  font-size: 11px; font-weight: 700;
}
.focus-badge { margin-right: 8px; padding: 7px 10px; border-radius: 99px; background: var(--green-soft); color: var(--green); }
.focus-badge span, .system-status span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 98, 63, .08);
}
.header-button, .text-button {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 9px; min-height: 36px; padding: 0 12px; cursor: pointer;
  font-size: 11px; font-weight: 750;
}
.header-button:hover, .text-button:hover { border-color: #b8c6bd; }
.muted-button { color: var(--muted); background: transparent; }

.main-stage { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 55px 0 90px; }
.eyebrow {
  margin: 0 0 9px; color: var(--green); text-transform: uppercase;
  font-size: 10px; letter-spacing: .14em; font-weight: 850;
}
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 34px; }
.page-intro > div:first-child { max-width: 720px; }
.page-intro > div:first-child > p:last-child, .review-intro > p:last-child {
  margin: 0; max-width: 660px; color: var(--muted); font-size: 15px; line-height: 1.6;
}
.system-status { flex: 0 0 auto; margin-bottom: 7px; }
.system-status:not(.online) span { background: #bd9a2f; }

.process-strip {
  display: flex; align-items: center; padding: 16px 18px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, .62);
}
.process-step { display: flex; align-items: center; gap: 10px; min-width: 145px; }
.process-step > span {
  display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%;
  background: var(--surface-soft); color: var(--muted); font-size: 10px; font-weight: 850;
}
.process-step.active > span { color: white; background: var(--green); }
.process-step strong, .process-step small { display: block; }
.process-step strong { font-size: 11px; }
.process-step small { margin-top: 2px; color: var(--muted-light); font-size: 9px; }
.process-line { flex: 1; height: 1px; margin: 0 14px; background: var(--line); }

.next-action {
  padding: 28px; border: 1px solid #cbd8cf; border-radius: 22px; background: var(--surface);
  box-shadow: var(--shadow);
}
.next-label { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step-number {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  color: white; background: var(--green); font-size: 11px; font-weight: 900;
}
.next-label .eyebrow { margin-bottom: 5px; }
.priority-job {
  padding: 26px; border-radius: 17px; border: 1px solid var(--line);
  background: linear-gradient(135deg, #f2f8f3, #fbfcfa 62%);
}
.priority-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.location-pill, .match-pill {
  display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px;
  border-radius: 99px; font-size: 10px; font-weight: 800;
}
.location-pill { color: var(--green); background: var(--green-soft); }
.match-pill { color: var(--ink); background: var(--mint); }
.priority-job h3 { max-width: 780px; margin-bottom: 8px; font-size: clamp(22px, 3vw, 32px); line-height: 1.14; letter-spacing: -.04em; }
.job-company { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.reason-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.reason-list > div {
  display: flex; align-items: flex-start; gap: 8px; padding: 11px;
  border: 1px solid #dfe9e1; border-radius: 10px; background: rgba(255, 255, 255, .66);
  color: #405047; font-size: 10px; line-height: 1.5;
}
.reason-list span { color: var(--green); font-weight: 900; }
.reason-list .caution { color: var(--yellow-ink); background: #fffaf0; border-color: #ede1b8; }
.reason-list .caution span { color: var(--yellow-ink); }
.decision-row { display: flex; align-items: center; gap: 9px; }
.primary-button, .secondary-button {
  min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font-size: 11px; font-weight: 850; transition: 150ms ease;
}
.primary-button { color: white; background: var(--green); box-shadow: 0 10px 24px rgba(23, 98, 63, .16); }
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.secondary-button { color: var(--ink); background: var(--surface); border-color: var(--line); }
.secondary-button:hover { border-color: #b8c6bd; background: #fafbf9; }
.large-button { min-height: 47px; padding: 0 20px; font-size: 12px; }
.approval-note { margin: 11px 0 0; color: var(--muted-light); font-size: 9px; }
.searching-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px;
  padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-soft);
}
.searching-card strong { display: block; font-size: 13px; }
.searching-card p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.searching-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(23, 98, 63, .08); }

.today-summary {
  display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-items: end;
  padding: 32px 0; margin: 30px 0 0; border-bottom: 1px solid var(--line);
}
.today-summary .eyebrow { margin-bottom: 5px; }
.summary-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.summary-numbers > div { padding-left: 17px; border-left: 1px solid var(--line); }
.summary-numbers strong, .summary-numbers span { display: block; }
.summary-numbers strong { margin-bottom: 5px; font-size: 24px; letter-spacing: -.05em; }
.summary-numbers span { color: var(--muted); font-size: 9px; line-height: 1.35; }

.simple-section { margin-top: 30px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading > span { color: var(--muted); font-size: 10px; }
.compact-job-list, .backup-content { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--surface); }
.compact-job {
  min-height: 74px; display: grid; grid-template-columns: 38px 1fr auto; gap: 14px;
  align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.compact-job:last-child { border-bottom: 0; }
.compact-job:hover { background: #fafbf9; }
.compact-score, .country-code {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 900;
}
.country-code.sweden { color: #315f88; background: #e8f1f8; }
.compact-job strong, .compact-job small { display: block; }
.compact-job strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.compact-job small { margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 9px; }
.compact-arrow { color: var(--muted-light); }
.backup-section { margin-top: 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, .5); }
.backup-section > summary {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 15px 17px; cursor: pointer; list-style: none;
}
.backup-section > summary::-webkit-details-marker { display: none; }
.backup-section > summary strong, .backup-section > summary small { display: block; }
.backup-section > summary strong { font-size: 12px; }
.backup-section > summary small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.backup-section > summary > span:last-child { color: var(--green); font-size: 10px; font-weight: 800; }
.backup-content { margin: 0 10px 10px; }

.detail-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.back-link, .text-link { color: var(--green); font-size: 11px; font-weight: 750; }
.detail-nav > span { color: var(--yellow-ink); background: var(--yellow); border-radius: 99px; padding: 7px 10px; font-size: 9px; font-weight: 800; }
.review-intro { max-width: 780px; margin-bottom: 28px; }
.review-job {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 22px;
  margin-bottom: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.review-job-main { min-width: 0; }
.review-job .priority-topline { justify-content: flex-start; margin-bottom: 11px; }
.review-job h2 { margin-bottom: 7px; }
.review-job p { margin: 0; color: var(--muted); font-size: 11px; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.review-main { display: grid; gap: 16px; }
.plain-card, .decision-card, .listing-details {
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.plain-card { padding: 21px; }
.card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-heading .eyebrow { margin-bottom: 4px; }
.card-step {
  display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px;
  color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 900;
}
.fit-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.fit-row { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 10px; color: #445249; font-size: 11px; line-height: 1.5; }
.fit-row span { color: var(--green); font-weight: 900; }
.check-box { min-width: 200px; padding: 13px; border-radius: 11px; color: var(--yellow-ink); background: #fffaf0; border: 1px solid #ede1b8; }
.check-box strong { display: block; margin-bottom: 9px; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.check-box p { margin: 0 0 7px; font-size: 9px; line-height: 1.45; }
.check-box p:last-child { margin-bottom: 0; }
.check-box span { margin-right: 6px; font-weight: 900; }
.field-label { display: block; margin: 0 0 7px; color: var(--muted); font-size: 9px; font-weight: 800; }
textarea {
  width: 100%; min-height: 280px; resize: vertical; padding: 14px; outline: none;
  color: var(--ink); background: #fafbf9; border: 1px solid var(--line);
  border-radius: 11px; font-size: 11px; line-height: 1.65;
}
textarea:focus, input:focus { border-color: #8eb39d; box-shadow: 0 0 0 4px rgba(23, 98, 63, .06); }
.message-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 10px; color: var(--muted); font-size: 9px; }
.message-footer strong { color: var(--green); }
.text-button { min-height: 31px; }
.prepare-prompt { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px; margin-bottom: 14px; border-radius: 10px; background: var(--yellow); }
.prepare-prompt p { margin: 0; color: var(--yellow-ink); font-size: 10px; }
.listing-details { overflow: hidden; }
.listing-details summary { padding: 17px 20px; cursor: pointer; color: var(--green); font-size: 11px; font-weight: 800; }
.job-description { max-height: 650px; overflow: auto; padding: 0 20px 22px; white-space: pre-line; color: #526158; font-size: 10px; line-height: 1.75; }
.decision-card { position: sticky; top: 92px; padding: 22px; box-shadow: var(--shadow); }
.decision-card h2 { margin-bottom: 11px; }
.decision-copy { color: var(--muted); font-size: 10px; line-height: 1.6; }
.decision-card > .primary-button, .decision-card > .secondary-button { width: 100%; margin-top: 9px; }
.approve-button { min-height: 48px !important; }
.decision-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 15px; color: var(--muted-light); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.decision-divider::before, .decision-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.decision-card textarea { min-height: 100px; padding-right: 42px; }
.voice-field { position: relative; }
.voice-button {
  width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 9px;
  color: var(--green); background: var(--surface); cursor: pointer; font-size: 8px;
}
.voice-field .voice-button { position: absolute; right: 8px; bottom: 8px; }
.voice-button.listening { color: var(--red); box-shadow: 0 0 0 5px rgba(139, 61, 53, .08); }
.safety-note { margin: 11px 0 0; text-align: center; color: var(--muted-light); font-size: 8px; }

.login-shell {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(circle at 15% 10%, #dcefe2, transparent 32rem), var(--page);
}
.login-panel {
  width: min(430px, 100%); padding: 34px; border: 1px solid var(--line);
  border-radius: 20px; background: var(--surface); box-shadow: var(--shadow);
}
.login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 42px; }
.login-brand strong, .login-brand small { display: block; }
.login-brand strong { font-size: 14px; }
.login-brand small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.login-copy h1 { margin-bottom: 10px; font-size: 32px; }
.login-copy > p:last-child { margin-bottom: 26px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.login-form { display: grid; gap: 14px; }
.login-form label > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 750; }
.login-form input {
  width: 100%; height: 44px; padding: 0 12px; outline: none;
  color: var(--ink); background: #fafbf9; border: 1px solid var(--line); border-radius: 10px;
}
.login-form .primary-button { width: 100%; margin-top: 4px; }
.login-error { margin: 0; color: var(--red); font-size: 10px; }
.login-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 23px 0 0; color: var(--muted-light); font-size: 9px; }
.login-footnote span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.chat-panel {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: min(370px, calc(100vw - 28px));
  height: 490px; display: grid; grid-template-rows: auto 1fr auto; opacity: 0;
  pointer-events: none; transform: translateY(12px) scale(.98); transition: 160ms ease;
  border: 1px solid var(--line); border-radius: 17px; background: var(--surface);
  box-shadow: 0 28px 85px rgba(25, 45, 34, .22);
}
.chat-panel.open { opacity: 1; pointer-events: auto; transform: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 11px; }
.chat-head > div { display: flex; align-items: center; gap: 8px; }
.assistant-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.icon-button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; }
.chat-body { overflow: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.chat-message { max-width: 88%; padding: 10px 11px; border-radius: 12px; white-space: pre-line; font-size: 10px; line-height: 1.55; }
.chat-message.assistant { align-self: flex-start; color: #45534b; background: var(--surface-soft); border-bottom-left-radius: 4px; }
.chat-message.user { align-self: flex-end; color: white; background: var(--green); border-bottom-right-radius: 4px; }
.chat-form { display: grid; grid-template-columns: 32px 1fr auto; gap: 7px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; outline: 0; font-size: 10px; }
.chat-form button[type="submit"] { border: 0; border-radius: 9px; padding: 0 12px; color: white; background: var(--green); font-size: 9px; font-weight: 850; }
.toast-stack { position: fixed; right: 24px; top: 86px; z-index: 100; display: grid; gap: 8px; }
.toast { min-width: 230px; padding: 12px 14px; border: 1px solid #bdd0c3; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); font-size: 10px; }

@media (max-width: 880px) {
  .reason-list { grid-template-columns: 1fr; }
  .today-summary { grid-template-columns: 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .decision-card { position: static; }
}

@media (max-width: 650px) {
  .site-header { height: auto; }
  .header-inner { width: min(100% - 28px, 1120px); min-height: 66px; }
  .brand-copy small, .focus-badge, .muted-button { display: none; }
  .main-stage { width: min(100% - 28px, 1120px); padding-top: 36px; }
  .page-intro { display: block; }
  .system-status { margin-top: 18px; }
  .process-strip { overflow-x: auto; }
  .process-step { min-width: 125px; }
  .process-step small { display: none; }
  .process-line { min-width: 24px; }
  .next-action { padding: 18px; }
  .priority-job { padding: 18px; }
  .decision-row { align-items: stretch; flex-direction: column; }
  .summary-numbers { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .summary-numbers > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .review-job { align-items: flex-start; flex-direction: column; gap: 14px; }
  .fit-grid { grid-template-columns: 1fr; }
  .check-box { min-width: 0; }
  .compact-job strong, .compact-job small { max-width: 60vw; }
}

/* Single-decision interface */
.single-task { width: min(820px, 100%); margin: 34px auto 0; }
.single-task-intro { margin-bottom: 34px; }
.single-task-intro .eyebrow { margin-bottom: 14px; font-size: 13px; }
.single-task-intro h1 {
  max-width: 760px; margin-bottom: 18px; font-size: clamp(52px, 7vw, 78px);
  line-height: .98; letter-spacing: -.065em;
}
.single-task-intro > p:last-child {
  max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 20px; line-height: 1.55;
}
.single-job {
  padding: 42px; border: 1px solid #cbd8cf; border-radius: 24px;
  background: var(--surface); box-shadow: var(--shadow);
}
.single-job-meta { margin-bottom: 16px; color: var(--green); font-size: 17px; font-weight: 800; line-height: 1.45; }
.single-job h2 {
  max-width: 720px; margin-bottom: 26px; font-size: clamp(31px, 4.5vw, 44px);
  line-height: 1.12; letter-spacing: -.045em;
}
.single-reason {
  display: flex; align-items: flex-start; gap: 12px; max-width: 650px; margin: 0 0 32px;
  color: #405047; font-size: 17px; line-height: 1.55;
}
.single-reason span { color: var(--green); font-weight: 900; }
.single-primary {
  min-width: 300px; min-height: 62px; padding: 0 25px; font-size: 17px;
  border-radius: 13px;
}
.single-skip, .clear-skip, .save-link {
  border: 0; padding: 0; color: var(--muted); background: transparent;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-weight: 750;
}
.single-skip { margin-left: 24px; font-size: 15px; }
.single-skip:hover, .clear-skip:hover, .save-link:hover { color: var(--green); }
.single-safety { margin: 18px 0 0; color: var(--muted-light); font-size: 13px; }
.automatic-note {
  display: flex; align-items: center; gap: 10px; margin: 24px 0 0;
  color: var(--muted); font-size: 15px;
}
.automatic-note span {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 5px rgba(23, 98, 63, .08);
}
.brand-copy strong { font-size: 16px; }
.brand-copy small { font-size: 11px; }
.header-button { min-height: 40px; padding: 0 15px; font-size: 13px; }

.large-back { display: inline-block; margin: 10px 0 44px; font-size: 16px; }
.approval-intro { max-width: 900px; margin-bottom: 36px; }
.approval-intro .eyebrow { margin-bottom: 14px; font-size: 13px; }
.approval-intro h1 {
  margin-bottom: 16px; font-size: clamp(50px, 6vw, 72px); line-height: 1; letter-spacing: -.06em;
}
.approval-intro > p:last-child { margin: 0; color: var(--muted); font-size: 20px; line-height: 1.5; }
.clear-approval-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; align-items: start; }
.approval-content { min-width: 0; display: grid; gap: 20px; }
.application-message-card, .job-brief-card, .clear-decision-card {
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
}
.application-message-card, .job-brief-card { padding: 30px; }
.job-brief-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.job-brief-head .eyebrow { margin-bottom: 7px; font-size: 11px; }
.job-brief-head h2 { font-size: 30px; }
.job-brief-head a { flex: 0 0 auto; color: var(--green); font-size: 14px; font-weight: 800; }
.job-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 22px 0 4px;
}
.job-facts > div { padding: 15px; border-radius: 12px; background: var(--surface-soft); }
.job-facts dt {
  margin-bottom: 6px; color: var(--muted); text-transform: uppercase;
  font-size: 10px; letter-spacing: .1em; font-weight: 850;
}
.job-facts dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.45; font-weight: 750; }
.brief-sections { margin-top: 8px; }
.brief-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.brief-section:last-child { padding-bottom: 4px; border-bottom: 0; }
.brief-section h3 {
  margin: 0 0 16px; color: var(--ink); text-transform: none;
  font-size: 22px; line-height: 1.25; letter-spacing: -.025em;
}
.brief-section p { margin: 0 0 14px; color: #46564d; font-size: 16px; line-height: 1.72; }
.brief-section ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.brief-section li {
  position: relative; padding-left: 24px; color: #46564d; font-size: 16px; line-height: 1.62;
}
.brief-section li::before {
  content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green);
}
.brief-section:nth-child(3) {
  margin: 4px -14px; padding: 24px 14px; border: 0; border-radius: 14px;
  background: #f3f7f3;
}
.brief-more { border-top: 1px solid var(--line); }
.brief-more > summary {
  padding: 22px 0 2px; color: var(--green); cursor: pointer;
  font-size: 17px; line-height: 1.4; font-weight: 800;
}
.brief-more[open] > summary { padding-bottom: 4px; }
.brief-more .brief-section:last-child { padding-bottom: 4px; border-bottom: 0; }
.brief-empty { margin: 22px 0 0; color: var(--muted); font-size: 16px; }
.simple-card-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px;
}
.simple-card-head .eyebrow { margin-bottom: 6px; font-size: 11px; }
.simple-card-head h2 { font-size: 28px; }
.simple-card-head > span {
  max-width: 240px; color: var(--green); font-size: 13px; font-weight: 800; text-align: right;
}
.large-message { min-height: 520px; padding: 22px; font-size: 16px; line-height: 1.75; }
.save-link { margin-top: 14px; font-size: 14px; }
.quiet-details { margin-top: 22px; border-top: 1px solid var(--line); }
.quiet-details + .quiet-details { margin-top: 0; }
.quiet-details summary {
  padding: 20px 0; color: var(--green); cursor: pointer; font-size: 15px; font-weight: 800;
}
.quiet-details > div:not(.job-description) { padding: 0 0 14px; }
.quiet-details p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.quiet-details p span { color: var(--green); margin-right: 8px; font-weight: 900; }
.quiet-details p.caution, .quiet-details p.caution span { color: var(--yellow-ink); }
.quiet-details .job-description { padding: 0 0 22px; font-size: 14px; line-height: 1.7; }
.clear-decision-card {
  position: sticky; top: 94px; padding: 28px; box-shadow: var(--shadow);
}
.decision-recommendation { margin-bottom: 24px; color: var(--ink); font-size: 20px; line-height: 1.45; font-weight: 800; }
.clear-approve { width: 100%; min-height: 62px; font-size: 18px; border-radius: 13px; }
.clear-skip { display: block; margin: 22px auto 0; font-size: 15px; }
.clear-decision-card .single-safety { text-align: center; }
.change-request { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.change-request summary { color: var(--green); cursor: pointer; font-size: 14px; font-weight: 800; }
.change-request .voice-field { margin-top: 15px; }
.change-request textarea { min-height: 130px; font-size: 15px; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.chat-message { font-size: 14px; }
.chat-form input { font-size: 14px; }
.chat-form button[type="submit"] { font-size: 13px; }

@media (max-width: 880px) {
  .clear-approval-layout { grid-template-columns: 1fr; }
  .clear-decision-card { position: static; grid-row: 1; }
}

@media (max-width: 650px) {
  .single-task { margin-top: 10px; }
  .single-task-intro { margin-bottom: 25px; }
  .single-task-intro h1 { font-size: 46px; }
  .single-task-intro > p:last-child { font-size: 18px; }
  .single-job { padding: 25px 21px; border-radius: 19px; }
  .single-job-meta { font-size: 15px; }
  .single-job h2 { font-size: 31px; }
  .single-reason { font-size: 16px; }
  .single-primary { width: 100%; min-width: 0; min-height: 60px; }
  .single-skip { display: block; margin: 22px auto 0; }
  .single-safety { text-align: center; }
  .automatic-note { font-size: 14px; }
  .approval-intro h1 { font-size: 44px; }
  .approval-intro > p:last-child { font-size: 17px; }
  .application-message-card, .job-brief-card, .clear-decision-card { padding: 21px; }
  .job-brief-head { align-items: flex-start; flex-direction: column; }
  .job-facts { grid-template-columns: 1fr; }
  .brief-section h3 { font-size: 21px; }
  .brief-section p, .brief-section li { font-size: 16px; }
  .simple-card-head { display: block; }
  .simple-card-head > span { display: block; margin-top: 12px; text-align: left; }
  .large-message { min-height: 430px; font-size: 15px; }
}
