:root {
  color-scheme: light;
  --ink: #18272c;
  --muted: #4d6267;
  --line: #dce6e5;
  --surface: #fff;
  --bg: #f3f7f6;
  --accent: #006957;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  scroll-padding-top: 5rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--accent); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #0a8f78; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-size: 1.22rem; font-weight: 750; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--accent); font-weight: 800; }
nav { display: flex; align-items: center; gap: 1.35rem; }
nav a { text-decoration: none; color: var(--ink); font-size: .875rem; font-weight: 650; white-space: nowrap; }
nav a:hover { color: var(--accent); }
.count { display: inline-grid; min-width: 1.45rem; min-height: 1.45rem; place-items: center; padding-inline: .25rem; border-radius: 1rem; background: #e2f2ed; color: #075847; }
.skip-link { position: absolute; transform: translateY(-150%); background: white; padding: .65rem; }
.skip-link:focus { transform: translateY(0); z-index: 2; }
.hero { margin-block: 1.7rem 1.15rem; position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.6rem, 5vw, 3.3rem); border-radius: 20px; background: linear-gradient(110deg, #112c30 35%, #154b44 100%); color: #f4faf9; }
.hero-content { position: relative; z-index: 1; max-width: 39rem; }
.eyebrow { color: var(--accent); font-weight: 720; letter-spacing: .06em; font-size: .875rem; }
.hero .eyebrow { color: #8ce5ce; }
h1 { margin-block: .65rem .85rem; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.18; letter-spacing: -.045em; }
.hero p:last-child { color: #daebe7; max-width: 34rem; }
.hero-art { position: absolute; inset: -4rem 0 -4rem auto; width: 43%; pointer-events: none; opacity: .66; background: repeating-linear-gradient(90deg, transparent 0 33px, #9dd0c217 34px 35px), repeating-linear-gradient(0deg, transparent 0 33px, #9dd0c217 34px 35px); mask-image: linear-gradient(90deg, transparent, black 37%); }
.hero-art i { position: absolute; bottom: 26%; width: 13%; border: 1px solid #7adac490; border-radius: 12px 12px 2px 2px; background: linear-gradient(#73e0c066, #73e0c006); }
.hero-art i:nth-child(1) { left: 19%; height: 15%; }
.hero-art i:nth-child(2) { left: 37%; height: 25%; }
.hero-art i:nth-child(3) { left: 55%; height: 36%; }
.hero-art i:nth-child(4) { left: 73%; height: 48%; background: linear-gradient(#9af8ddaa, #73e0c015); }
.mobile-break { display: none; }
.panel, .job-card, .empty { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.target { padding: 1.3rem 1.45rem 1.5rem; }
h2 { font-size: 1.3rem; line-height: 1.35; }
.target h2 { margin-bottom: 1rem; }
.target form { display: grid; align-items: end; gap: .8rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) repeat(2, minmax(0, .85fr)) auto; }
.checkbox { display: flex; align-items: center; gap: .55rem; grid-column: 1 / -1; width: fit-content; }
.checkbox input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); margin: 0; }
#more-jobs { margin-top: .8rem; }
label { display: grid; gap: .38rem; font-size: .875rem; font-weight: 650; color: var(--ink); }
.city-picker { position: relative; display: grid; gap: .38rem; min-width: 0; }
.field-label { font-size: .875rem; font-weight: 650; }
.city-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .55rem; border: 1px solid #baccc9; padding: .65rem .75rem; border-radius: 9px; color: var(--ink); background: white; line-height: 1.45; }
.city-trigger::after { content: ""; width: .48rem; height: .48rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.city-menu { position: absolute; z-index: 3; inset: calc(100% + .4rem) auto auto 0; width: min(19rem, calc(100vw - 3.5rem)); padding: .65rem; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 32px #142d3226; }
.city-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; margin-top: .45rem; max-height: 14rem; overflow: auto; padding: .25rem; }
.city-options p { grid-column: 1 / -1; }
.city-options button { padding: .45rem .25rem; border: 0; border-radius: 7px; font-size: .875rem; color: var(--ink); background: #f3f7f6; }
.city-options button:hover, .city-options button[aria-pressed="true"] { color: #075847; background: #e2f2ed; }
input, textarea { width: 100%; min-width: 0; border: 1px solid #baccc9; padding: .65rem .75rem; color: var(--ink); background: #fff; border-radius: 9px; line-height: 1.45; font-size: 1rem; }
textarea { resize: vertical; }
.button { min-height: 44px; padding: .63rem 1rem; border: 1px solid transparent; border-radius: 9px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: #005445; }
.secondary { background: white; border-color: #bcd3cc; color: #075847; }
.secondary:hover { background: #e9f5f1; }
.section { margin-top: 2.15rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: .95rem; gap: .8rem; }
.section-head p, .muted, .location, .footnote { color: var(--muted); }
.section-head p { margin-top: .26rem; font-size: .9rem; }
.job-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.job-card { display: flex; flex-direction: column; min-width: 0; padding: 1rem; }
.job-top { display: flex; align-items: start; gap: .65rem; min-width: 0; }
.company-mark { flex: 0 0 38px; min-height: 38px; display: grid; place-items: center; border-radius: 10px; font-weight: 800; }
.amber { background: #fff0d5; color: #744704; }
.teal { background: #dff4ed; color: #006553; }
.blue { background: #e5efff; color: #164b8a; }
.violet { background: #eee8fd; color: #593b8d; }
.company, .location, .job-source { font-size: .875rem; color: var(--muted); }
h3 { font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.location { margin-top: .85rem; }
.salary { font-size: .875rem; font-weight: 700; margin-top: .2rem; }
.salary-fit { color: var(--accent); }
.background { margin: .7rem 0 .9rem; font-size: .875rem; flex: 1; }
.job-source { border-top: 1px solid var(--line); padding-top: .65rem; }
.job-source p { font-size: .8125rem; }
.source-link { display: inline-block; text-underline-offset: .2em; overflow-wrap: anywhere; }
.job-source a { margin-top: .3rem; font-weight: 650; }
.job-source .index-link { margin-inline-start: .65rem; font-weight: 500; }
.footnote { margin-top: .75rem; font-size: .8125rem; }
.segmented { display: inline-flex; align-items: stretch; padding: 3px; border: 1px solid var(--line); background: white; border-radius: 10px; flex-shrink: 0; }
.segmented button { font-size: .875rem; padding: .49rem .7rem; min-height: 38px; white-space: nowrap; border: 0; border-radius: 7px; color: var(--muted); background: none; }
.segmented button[aria-pressed="true"] { color: #075847; font-weight: 700; background: #e2f2ed; }
.skill-row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: .7rem 1rem; padding: .95rem 1.15rem; }
.skill-row + .skill-row { border-top: 1px solid var(--line); }
.skill-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.badge { border-radius: 1rem; color: #465c67; background: #edf1f4; font-size: .8125rem; padding: .09rem .52rem; }
.badge-shared { background: #e1f3ec; color: #075847; }
.skill-companies { font-size: .875rem; color: var(--muted); margin-top: .23rem; }
details { margin-top: .24rem; font-size: .875rem; }
summary { cursor: pointer; width: fit-content; color: var(--accent); }
details ul { padding-inline-start: 1.25rem; margin: .35rem 0 0; }
details li + li { margin-top: .4rem; }
.empty { padding: 1rem 1.2rem; color: var(--muted); }
.goal-grid { display: grid; gap: .85rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.goal-card { padding: 1.15rem; overflow-wrap: anywhere; }
.goal-card h3 { margin-block: .35rem; font-size: 1.12rem; }
.goal-card h4 { margin-top: .75rem; }
.goal-card .deliverable { white-space: pre-wrap; margin-block: .25rem .65rem; }
.goal-card .button { margin-top: .7rem; }
.notice { margin-top: .85rem; color: #075847; }
.footer { margin-block: 2rem 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-weight: 650; font-size: .875rem; }
dialog { color: var(--ink); width: min(520px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); border-radius: 16px; border: 1px solid var(--line); padding: 1.25rem; box-shadow: 0 20px 65px #0a212b38; }
dialog::backdrop { background: #0a212ba3; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
dialog label { margin-top: .85rem; }
.dialog-head + p { margin-top: .4rem; }
.close { height: 40px; width: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); font-size: 1.3rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .55rem; margin-top: 1rem; }
#goal-error { color: #97421d; margin-top: .65rem; }

@media (max-width: 900px) {
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 1.5rem); }
  .target form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .target form > button { grid-column: 1 / -1; }
  .hero { margin-top: 1rem; }
  .hero-art { opacity: .4; }
  .section-head { align-items: start; flex-direction: column; }
  .goal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .topbar-inner { min-height: 60px; gap: .45rem; }
  nav { gap: .6rem; }
  .brand { font-size: 1.1rem; gap: .4rem; }
  .brand-mark { width: 29px; height: 29px; }
  .hero-content { max-width: 21rem; }
  .hero h1 { font-size: 2rem; }
  .mobile-break { display: initial; }
  .target, .skill-row { padding-inline: .9rem; }
  .job-grid, .skill-row { grid-template-columns: 1fr; }
  .skill-action { justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
