:root {
  color-scheme: light;
  --canvas: #f5f6f2;
  --surface: #fff;
  --ink: #17231e;
  --muted: #68756d;
  --lime: #d9f36a;
  --green: #276447;
  --coral: #d97861;
  --line: #e5e9e2;
  --soft: #eef1ea;
  --radius-card: 22px;
  --radius-control: 14px;
  --shadow: 0 8px 28px rgb(27 43 32 / 5%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { background: var(--canvas); min-height: 100%; scrollbar-color: #c6cec2 var(--canvas); scrollbar-width: thin; }
body { margin: 0; background: var(--canvas); color: var(--ink); min-height: 100vh; }
button, input, textarea, select { font: inherit; }
button, a, select, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #65872a; outline-offset: 3px;
}
a { color: inherit; }
.loading-shell { min-height: 100vh; display: grid; place-content: center; justify-items: center; color: var(--muted); }
.mark { width: 52px; height: 52px; border-radius: 17px; display: block; object-fit: contain; }
.app-shell { min-height: 100vh; padding-bottom: calc(94px + var(--safe-bottom)); }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; max-width: 920px; margin: auto; }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; }
.brand .mark { width: 39px; height: 39px; border-radius: 13px; }
.brand-name { font-size: 18px; font-weight: 760; letter-spacing: -.7px; }
.brand-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #eaf0db; color: var(--green); font-size: 13px; font-weight: 750; }
.main { max-width: 920px; margin: auto; padding: 8px 20px 38px; }
.hello { padding: 12px 2px 22px; }
.eyebrow { font-size: 10px; font-weight: 780; color: var(--green); letter-spacing: 1.3px; text-transform: uppercase; }
h1 { font-size: clamp(28px, 6vw, 37px); line-height: 1.08; letter-spacing: -1.5px; margin: 7px 0 8px; }
.hello p, .muted { color: var(--muted); }
.hello p { margin: 0; font-size: 14px; line-height: 1.5; }
.brief-card { overflow: hidden; position: relative; border-radius: 25px; background: var(--ink); color: #fff; padding: 20px 21px; margin-bottom: 23px; min-height: 145px; display: flex; align-items: center; }
.brief-copy { position: relative; z-index: 1; max-width: 72%; }
.brief-card .eyebrow { color: #d9f36a; }
.brief-title { font-size: 21px; line-height: 1.2; font-weight: 720; letter-spacing: -.6px; margin: 7px 0 10px; }
.brief-meta { font-size: 12px; color: #d8e0da; }
.brief-orbit { position: absolute; right: -10px; width: 150px; height: 150px; border-radius: 50%; background: var(--lime); transform: rotate(-18deg); }
.brief-orbit:before { content: ""; position: absolute; width: 105px; height: 105px; border: 18px solid #7eb45d; border-radius: 50%; top: 14px; left: 14px; }
.brief-orbit:after { content: "↗"; position: absolute; display: grid; place-items: center; right: 25px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: white; font-size: 23px; font-weight: 700; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin: 26px 2px 13px; gap: 10px; }
.section-head h2 { font-size: 19px; letter-spacing: -.45px; margin: 0; }
.section-head p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.count { border-radius: 999px; background: #e9eee2; color: var(--green); padding: 7px 10px; font-size: 11px; font-weight: 720; white-space: nowrap; }
.toolbar { display: flex; gap: 9px; margin: 0 0 13px; }
.searchbox { height: 46px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-control); padding: 0 13px; display: flex; gap: 9px; align-items: center; flex: 1; color: var(--muted); }
.searchbox svg { width: 18px; }
.searchbox input { border: 0; outline: 0; background: transparent; min-width: 0; width: 100%; color: var(--ink); font-size: 14px; }
.filter-button { border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); padding: 0 12px; color: var(--ink); font-weight: 650; font-size: 13px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 7px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line); background: var(--surface); color: #56635b; border-radius: 999px; padding: 8px 13px; min-height: 35px; white-space: nowrap; font-size: 12px; font-weight: 640; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.job-list { display: grid; gap: 13px; }
.job-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 17px; box-shadow: var(--shadow); }
.job-topline { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.employer-row { display: flex; gap: 10px; min-width: 0; }
.employer-mark { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; background: var(--soft); font-size: 16px; font-weight: 780; color: var(--green); }
.employer { color: var(--muted); font-size: 11px; font-weight: 650; margin: 1px 0 3px; }
.job-title { margin: 0; font-size: 17px; letter-spacing: -.4px; line-height: 1.25; }
.match { border-radius: 999px; background: #edf6df; color: var(--green); padding: 6px 9px; font-size: 10px; font-weight: 760; white-space: nowrap; }
.job-location { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); margin: 13px 0 11px; }
.job-location svg { width: 15px; height: 15px; }
.job-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: #f7f8f5; border-radius: 14px; padding: 11px 8px; }
.metric { min-width: 0; padding: 0 8px; border-right: 1px solid #e7ebe4; }
.metric:last-child { border: 0; }
.metric-label { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-weight: 720; }
.metric-value { font-size: 12px; font-weight: 740; margin-top: 4px; overflow-wrap: anywhere; }
.job-detail { font-size: 12px; line-height: 1.48; color: #526057; margin-top: 13px; }
.job-detail strong { color: var(--ink); font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-flex; border-radius: 8px; background: #f0f3eb; color: #56655a; padding: 5px 8px; font-size: 10px; font-weight: 650; }
.tag.warn { background: #fff0ec; color: #a34d3a; }
.freshness { margin-top: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.job-actions { display: flex; gap: 8px; margin-top: 14px; }
.button { border: 0; min-height: 43px; border-radius: 13px; padding: 0 14px; font-weight: 710; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; gap: 6px; transition: transform .14s ease, background .14s ease; }
.button:active { transform: scale(.98); }
.button-primary { color: var(--ink); background: var(--lime); }
.button-primary:hover { background: #cce95d; }
.button-quiet { background: var(--soft); color: #4f5e54; }
.button-outline { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.button-danger { background: #fff0ec; color: #a34d3a; }
.job-actions .button { flex: 1; }
.link-button { background: transparent; color: var(--green); text-decoration: none; font-size: 11px; font-weight: 710; padding: 8px 2px; display: inline-flex; gap: 5px; align-items: center; }
.status-line { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 13px; padding-top: 12px; gap: 10px; }
.status-select { border: 1px solid var(--line); background: white; padding: 8px 28px 8px 10px; border-radius: 10px; font-size: 11px; color: var(--ink); max-width: 60%; }
.empty { border: 1px dashed #cfd8cb; background: rgb(255 255 255 / 55%); border-radius: 22px; padding: 27px 20px; text-align: center; }
.empty-icon { width: 49px; height: 49px; margin: auto; display: grid; place-items: center; background: var(--lime); border-radius: 17px; font-size: 23px; }
.empty h3 { margin: 13px 0 6px; font-size: 16px; }
.empty p { max-width: 310px; margin: 0 auto; color: var(--muted); font-size: 12px; line-height: 1.5; }
.empty .button { margin-top: 15px; }
.notice { border-radius: 15px; padding: 13px 14px; background: #edf4e6; color: #465a49; font-size: 12px; line-height: 1.45; margin: 15px 0; }
.notice strong { color: var(--ink); }
.profile-grid { display: grid; gap: 12px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px; box-shadow: var(--shadow); }
.panel h2 { font-size: 17px; margin: 0 0 12px; letter-spacing: -.4px; }
.panel p { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 5px 0 0; }
.profile-head { display: flex; justify-content: space-between; align-items: center; }
.profile-head .mark { width: 44px; height: 44px; border-radius: 15px; font-size: 28px; }
.field-row { margin: 14px 0; display: grid; gap: 7px; }
.field-label { display: block; font-size: 12px; font-weight: 720; color: var(--ink); }
.field-help { font-size: 11px; line-height: 1.4; color: var(--muted); }
.field-input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); padding: 11px 12px; }
textarea { min-height: 80px; resize: none; line-height: 1.4; }
.availability { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 11px; }
.availability-item { background: #f7f8f5; border-radius: 10px; padding: 9px; font-size: 10px; }
.availability-item strong { display: block; font-size: 10px; margin-bottom: 3px; }
.range-row { display: grid; grid-template-columns: 1fr 45px; gap: 10px; align-items: center; }
input[type="range"] { accent-color: var(--green); width: 100%; }
.range-value { border-radius: 9px; background: #f0f3eb; text-align: center; padding: 7px 0; font-size: 12px; font-weight: 700; }
.bottom-nav { position: fixed; z-index: 4; left: 0; right: 0; bottom: 0; background: rgb(255 255 255 / 95%); backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + var(--safe-bottom)); }
.nav-inner { max-width: 640px; display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; margin: auto; }
.nav-item { min-height: 52px; border: 0; background: transparent; color: #859087; border-radius: 13px; display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 9px; font-weight: 670; }
.nav-item svg { width: 20px; height: 20px; }
.nav-item[aria-current="page"] { color: var(--ink); background: #f1f4e9; }
.nav-item[aria-current="page"] svg { color: var(--green); }
.archive-tag { background: #f3f1e9; color: #6c624b; }
.sheet { border: 0; border-radius: 24px 24px 0 0; padding: 0; width: min(100%, 580px); max-width: 100%; max-height: min(90vh, 760px); margin: auto auto 0; background: var(--canvas); color: var(--ink); box-shadow: 0 -15px 60px rgb(20 35 25 / 18%); }
.sheet::backdrop { background: rgb(15 24 19 / 44%); backdrop-filter: blur(2px); }
.sheet-inner { position: relative; padding: 25px 21px calc(21px + var(--safe-bottom)); max-height: min(90vh, 760px); overflow: auto; }
.close-sheet { position: absolute; top: 15px; right: 17px; width: 37px; height: 37px; border: 0; border-radius: 50%; background: #e8ece5; color: var(--ink); font-size: 23px; }
.sheet h2 { font-size: 22px; letter-spacing: -.8px; margin: 8px 44px 6px 0; }
.sheet .muted { font-size: 12px; line-height: 1.45; margin: 0 30px 17px 0; }
.reason-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 16px; }
.reason { position: relative; }
.reason input { position: absolute; opacity: 0; }
.reason span { display: flex; align-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; color: #56635b; background: white; font-size: 11px; font-weight: 650; }
.reason input:checked + span { border-color: #718c45; background: #edf4e1; color: #35573a; }
.reason input:focus-visible + span { outline: 3px solid #65872a; outline-offset: 2px; }
.sheet-actions { display: flex; gap: 9px; margin-top: 15px; }
.sheet-actions .button { flex: 1; }
.toast { position: fixed; z-index: 10; bottom: calc(83px + var(--safe-bottom)); left: 50%; transform: translate(-50%, 10px); background: var(--ink); color: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 11px 15px; width: max-content; max-width: calc(100% - 40px); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 390px); background: white; border: 1px solid var(--line); border-radius: 25px; padding: 24px; box-shadow: var(--shadow); }
.login-card .mark { margin-bottom: 20px; }
.login-card h1 { font-size: 26px; }
.login-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.login-card .button { width: 100%; margin-top: 4px; }
.error-text { color: #a34d3a; font-size: 12px; min-height: 18px; margin: 5px 0; }
.content-stack { display: grid; gap: 12px; }
.application-list { display: grid; gap: 9px; }
.application-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.application-row:first-child { border: 0; padding-top: 0; }
.small-copy { color: var(--muted); font-size: 11px; }
.topline-note { font-size: 11px; color: var(--muted); }
@media (min-width: 700px) {
  .main { padding: 13px 28px 45px; }
  .cards-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
  .job-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brief-card { min-height: 160px; padding-left: 28px; }
  .hello { padding-top: 22px; }
  .availability { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sheet { border-radius: 24px; margin: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
