:root {
  color-scheme: dark;
  --bg: #09130f;
  --panel: #111f18;
  --panel-raised: #17271f;
  --line: #253a2f;
  --text: #edf5ef;
  --muted: #99aca0;
  --green: #39d6a0;
  --green-dark: #0d6c51;
  --lime: #d1f27a;
  --danger: #f18d83;
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 78% 0%, #15291e 0, transparent 34rem), var(--bg); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.topbar { height: 74px; display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(20px, 5vw, 76px); border-bottom: 1px solid #203329; background: #09130fe8; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 17px "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px 9px 9px 3px; color: #082217; background: var(--green); font: 700 17px "Space Grotesk", sans-serif; }
.top-actions { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--muted); font-size: 14px; }
.nav-link:hover, .text-action:hover { color: var(--green); }
.account-button { border: 1px solid #3a5145; border-radius: 999px; background: transparent; color: var(--text); padding: 9px 17px; font-size: 13px; font-weight: 600; cursor: pointer; }
.account-button:hover { border-color: var(--green); }
main { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.hero { position: relative; min-height: 365px; display: flex; align-items: center; justify-content: space-between; padding: 46px 7% 48px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; max-width: 580px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.pulse { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px #d1f27a99; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
h1 { margin-bottom: 18px; font-size: clamp(49px, 7vw, 79px); line-height: .96; letter-spacing: -.075em; }
h1 em { color: var(--lime); font-style: normal; }
.hero-subtitle { max-width: 420px; margin-bottom: 0; color: #adbbb1; font-size: 15px; line-height: 1.65; }
.orbit { position: relative; width: 240px; height: 240px; margin-right: 7%; border: 1px solid #294534; border-radius: 50%; box-shadow: 0 0 0 22px #14261a35, 0 0 0 48px #14261a22; }
.orbit::before, .orbit::after { position: absolute; content: ""; inset: 28px; border: 1px dashed #345740; border-radius: 50%; }
.orbit::after { inset: 64px; border-style: solid; opacity: .7; }
.orbit-core { position: absolute; inset: 82px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(140deg, #b7ec70, #38d6a1); color: #082217; font: 700 23px "Space Grotesk", sans-serif; letter-spacing: -.06em; box-shadow: 0 0 46px #39d6a044; }
.orbit-dot { position: absolute; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px #39d6a099; }
.dot-one { top: 27px; left: 142px; }.dot-two { right: 17px; bottom: 72px; width: 7px; height: 7px; background: var(--lime); }.dot-three { bottom: 22px; left: 48px; width: 6px; height: 6px; }
.search-panel { position: relative; margin: -5px 0 67px; padding: 21px; border: 1px solid #2d4739; border-radius: 16px; background: linear-gradient(125deg, #14251b, #101c16 65%); box-shadow: 0 20px 55px #0003; }
#searchForm { display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.search-box { display: flex; min-width: 0; align-items: center; gap: 13px; padding: 0 18px; border: 1px solid #355041; border-radius: 10px; background: #0b1711; color: var(--green); font-size: 25px; }
.search-box input { width: 100%; height: 52px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.search-box:focus-within { outline: 3px solid var(--lime); outline-offset: 3px; border-color: var(--green); }
.search-box input:focus-visible { outline: none; }
.search-box input::placeholder, .filter-row input::placeholder { color: #718579; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; border: 0; border-radius: 9px; padding: 0 19px; cursor: pointer; font-size: 13px; font-weight: 700; transition: transform .15s, background .15s, border-color .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(110deg, #27bb8a, #4bdaa2); color: #062317; box-shadow: 0 9px 24px #23b8832b; }
.button-primary:hover { background: #67e1ae; }
.filter-row { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.filter-row label { display: grid; gap: 7px; color: #8fa398; font-size: 11px; line-height: 1.35; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter-row input, .filter-row select, .full-control { width: 100%; min-height: 42px; border: 1px solid #2e4236; border-radius: 8px; outline: 0; background: #101d16; color: #e6eee8; padding: 0 12px; font-size: 12px; letter-spacing: normal; text-transform: none; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.profile-grid label { display: grid; gap: 6px; color: #9aada0; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.check-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: #aebdb2; font-size: 11px; line-height: 1.45; }
.check-row input { flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--green); }
.json-control { min-height: 110px; resize: vertical; padding: 10px 12px; font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.device-section { margin-top: 18px; padding-top: 10px; border-top: 1px solid #2a3c31; }
.device-list { display: grid; gap: 9px; }
.device-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #aebdb2; font-size: 11px; }
.device-row button { border: 1px solid #754c43; border-radius: 6px; padding: 5px 8px; background: transparent; color: #d98d83; font-size: 10px; cursor: pointer; }
.filter-row input:focus, .filter-row select:focus, .full-control:focus { border-color: var(--green); }
.filter-row input:focus-visible, .filter-row select:focus-visible, .full-control:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.results-section { padding: 0 2.5% 62px; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.results-heading .eyebrow { margin-bottom: 8px; }
h2 { margin-bottom: 0; font-size: 31px; letter-spacing: -.05em; }
.result-summary { min-height: 20px; margin: 10px 0 20px; color: var(--muted); font-size: 12px; }
.button-subtle { min-height: 38px; border: 1px solid #355342; background: #122219; color: var(--green); }
.job-list { display: grid; gap: 10px; }
.job-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 15px; min-width: 0; padding: 20px 21px; border: 1px solid #263a2e; border-radius: 12px; background: #101c16; transition: border-color .15s, background .15s; }
.job-card:hover { border-color: #47765d; background: #14231b; }
.company-line { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #9bad9f; font-size: 11px; }
.company-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.job-title { display: inline-block; max-width: 100%; margin: 0 0 9px; font: 600 18px "Space Grotesk", sans-serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.job-title:hover { color: var(--lime); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; color: #94a69a; font-size: 11px; }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-note { margin: 12px 0 0; color: #abb9b0; font-size: 12px; line-height: 1.55; }
.job-actions { display: flex; align-items: center; gap: 9px; }
.small-button { min-height: 34px; border: 1px solid #365040; border-radius: 7px; padding: 0 11px; background: transparent; color: #d9e5dc; font-size: 11px; font-weight: 600; cursor: pointer; }
.small-button:hover { border-color: var(--green); color: var(--green); }
.small-button.saved { border-color: #24765c; background: #15382b; color: var(--green); }
.apply-button { border-color: transparent; background: #d0f17b; color: #142410; }
.match-score { align-self: start; border-radius: 999px; background: #1e3327; color: var(--lime); padding: 5px 9px; font-size: 10px; font-weight: 700; }
.empty-state { padding: 58px 20px; border: 1px dashed #314638; border-radius: 13px; text-align: center; }
.empty-icon { color: var(--green); font-size: 30px; }.empty-state h3 { margin: 10px 0 6px; font-size: 19px; }.empty-state p { margin: 0; color: var(--muted); font-size: 13px; }
.button-more { display: flex; min-width: 190px; margin: 23px auto 0; border: 1px solid #395342; background: transparent; color: #c9d7ce; }
.coverage-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 25px; border: 1px solid #20372a; border-radius: 13px; background: #0e1a13; }
.coverage-copy .eyebrow { margin-bottom: 7px; }.coverage-copy p:last-child { margin: 0; color: #c0cdc4; font-size: 12px; }
.coverage-stats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }.coverage-chip { padding: 7px 10px; border: 1px solid #2a4234; border-radius: 999px; color: #a9bbad; font-size: 10px; }
.coverage-details { flex-basis: 100%; margin-top: 18px; border-top: 1px solid #20372a; padding-top: 14px; }
.coverage-details summary { cursor: pointer; color: #5ce0b3; font-weight: 650; }
.coverage-sources { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 10px; margin-top: 14px; }
.coverage-source { min-width: 0; border: 1px solid #20372a; border-radius: 12px; padding: 14px; background: rgba(4,15,11,.35); }
.coverage-source-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.coverage-source-heading strong { color: #e7f1eb; }
.coverage-state,.coverage-meta { color: #91a69a; font-size: .78rem; }
.coverage-scope { color: #c0cdc4; font-size: .88rem; line-height: 1.5; }
.coverage-source a,.model-credit { color: #5ce0b3; font-size: .8rem; }
.model-credit { text-align: right; }
footer { display: flex; align-items: center; gap: 24px; width: min(1140px, calc(100% - 40px)); min-height: 84px; margin: 0 auto; color: #82958a; font-size: 10px; }.footer-brand { margin-right: auto; color: var(--text); font-size: 13px; }.footer-brand .brand-mark { width: 23px; height: 23px; font-size: 13px; }
.account-dialog { width: min(475px, calc(100% - 28px)); max-height: min(86vh, 780px); overflow-y: auto; border: 1px solid #344c3d; border-radius: 16px; padding: 23px; background: #101d16; color: var(--text); box-shadow: 0 25px 80px #0009; }
.account-dialog::backdrop { background: #020805bb; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }.dialog-heading .eyebrow { margin-bottom: 7px; }.dialog-heading h2 { font-size: 26px; }
.icon-button { width: 33px; height: 33px; border: 1px solid #31483a; border-radius: 8px; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
.dialog-copy { max-width: 340px; color: #aebdb2; font-size: 13px; line-height: 1.6; }
.google-button { width: 100%; min-height: 48px; margin: 7px 0 10px; }
.small-note { color: #8fa196; font-size: 11px; line-height: 1.5; }
.user-line { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px; border: 1px solid #273e30; border-radius: 10px; background: #14231a; }.user-line img { width: 38px; height: 38px; border-radius: 50%; background: #2b4535; object-fit: cover; }.user-line div { display: grid; gap: 3px; }.user-line strong { font-size: 13px; }.user-line span { color: var(--muted); font-size: 11px; }
.field-label { display: block; margin: 14px 0 6px; color: #9aada0; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.profile-editor { margin-top: 21px; padding-top: 8px; border-top: 1px solid #2a3c31; }.full-button { width: 100%; margin-top: 17px; }
.account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; padding-top: 17px; border-top: 1px solid #2a3c31; }
.text-action { border: 0; padding: 0; background: transparent; color: #aebdb2; text-align: left; font-size: 11px; cursor: pointer; }.text-action.danger { color: #d98d83; }.back-action { margin-bottom: 22px; }.pairing-panel { padding: 4px 0; }.pairing-panel .eyebrow { margin: 15px 0 7px; }.pairing-panel h3 { margin-bottom: 17px; }.pairing-code { padding: 15px 10px; border: 1px dashed #47765d; border-radius: 10px; background: #15251b; color: var(--lime); text-align: center; font: 700 27px "Space Grotesk", sans-serif; letter-spacing: .13em; }
.toast { position: fixed; z-index: 5; right: 24px; bottom: 22px; max-width: calc(100% - 48px); transform: translateY(14px); opacity: 0; pointer-events: none; border: 1px solid #3b5a45; border-radius: 9px; padding: 12px 16px; background: #14241a; color: var(--text); font-size: 12px; transition: .2s; }.toast.visible { transform: translateY(0); opacity: 1; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .hero { min-height: 306px; padding: 37px 4%; }.orbit { position: absolute; right: -70px; width: 210px; height: 210px; opacity: .42; }.orbit-core { inset: 72px; }
  .hero-copy { max-width: 94%; }.hero-subtitle { max-width: 330px; font-size: 13px; }
  .search-panel { margin-bottom: 52px; padding: 14px; }.filter-row { grid-template-columns: 1fr 1fr; }.search-box input { height: 47px; }.button-primary { padding: 0 13px; gap: 8px; }
  .results-section { padding: 0 0 47px; }.job-card { grid-template-columns: 1fr; padding: 16px; }.job-actions { justify-content: flex-start; }.coverage-strip { align-items: flex-start; flex-direction: column; }.coverage-stats { justify-content: flex-start; }
  .profile-grid { grid-template-columns: 1fr; }
  footer { flex-wrap: wrap; gap: 12px; padding: 18px 0; }.footer-brand { width: 100%; }
}
@media (max-width: 520px) {
  main, footer { width: calc(100% - 28px); }
  .topbar { height: 66px; padding: 0 14px; }
  .top-actions { gap: 14px; }
  .hero { min-height: 280px; padding: 32px 2%; }
  h1 { font-size: clamp(40px, 11vw, 56px); }
  .search-panel { padding: 13px; }
  #searchForm { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .button-primary { width: 100%; min-height: 46px; }
  .filter-row { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .results-heading { align-items: flex-start; flex-direction: column; }
  .job-actions { flex-wrap: wrap; }
  .job-actions .small-button { min-height: 40px; }
  .coverage-strip { padding: 18px; }
  .coverage-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .coverage-chip { text-align: center; overflow-wrap: anywhere; }
  .coverage-sources { grid-template-columns: minmax(0, 1fr); }
  .coverage-source-heading { flex-wrap: wrap; }
  .model-credit { text-align: left; overflow-wrap: anywhere; }
}
