/* SideJobWorks — base styles. Tokens match the approved mockup. */
:root {
  --green: #0b2e28;
  --green-2: #12140f;
  --green-line: #2b5a50;
  --green-soft: #1f4a41;
  --lime: #c8f169;
  --lime-soft: #e9f7c9;
  --lime-ink: #2f5a0c;
  --amber: #f2c27a;
  --amber-soft: #fcefd9;
  --amber-ink: #8a4b08;
  --coral-soft: #fbe3dd;
  --coral-ink: #a12c1f;
  --blue-soft: #dcebfb;
  --blue-ink: #1b4c86;
  --violet-soft: #ede3fa;
  --violet-ink: #5b2e91;
  --mint-soft: #dff2ec;
  --mint-ink: #145c4b;
  --cream: #f4f1ea;
  --paper: #ffffff;
  --ink: #12140f;
  --ink-2: #454b45;
  --muted: #5e655f;
  --on-dark: #f4f1ea;
  --on-dark-muted: #c5d3ce;
  --on-dark-quiet: #8fa79f;
  --line: #e6e3da;
  --line-2: #d9d5ca;
  --chip: #f1efe7;
  --ok: #1d6b2a;
  --radius: 22px;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: var(--green); }
a:hover { color: #1d5a4d; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding-top: 48px; padding-bottom: 8px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--lime); color: var(--green); padding: 10px 14px; border-radius: 10px; }

/* Layout helpers */
.row { display: flex; align-items: center; }
.wrap-row { flex-wrap: wrap; }
.gap-12 { gap: 12px; }
.space-between { justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.push-right { margin-left: auto; }
.stack-2 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.stack-18 { display: flex; flex-direction: column; gap: 18px; }
.stack-20 { display: flex; flex-direction: column; gap: 20px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.align-end { align-items: flex-end; }
.center { text-align: center; }
.top-rule { border-top: 1px solid #eceae2; padding-top: 20px; }
.top-line { border-top: 1px solid #eceae2; padding-top: 12px; }
.strong { font-weight: 700; }
.ink { color: var(--ink); }
.muted { color: var(--muted); }
.muted-dark { color: var(--on-dark-muted); }
.small { font-size: 14px; }
.xsmall { font-size: 12px; }
.ok { color: var(--ok); font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: none; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: var(--green); }
.btn-lime:hover { background: #b9e555; color: var(--green); }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: #134238; color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); font-weight: 700; }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border: 1px solid var(--green-line); font-weight: 700; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.link-btn { background: none; border: none; padding: 10px 0; font-weight: 700; cursor: pointer; color: var(--green); }
.link-strong { font-weight: 700; text-decoration: none; padding: 10px 0; }
.link-danger { color: var(--coral-ink); font-weight: 700; font-size: 14px; text-decoration: none; padding: 10px 0; }

/* Header band */
.band { background: var(--green); color: var(--on-dark); position: relative; overflow: hidden; }
.band--hero::before { content: ""; position: absolute; right: -260px; top: -220px; width: 900px; height: 900px; border-radius: 50%; box-shadow: 0 0 0 1.5px #1f4a41 inset; opacity: .6; pointer-events: none;
  background: radial-gradient(circle, transparent 139px, #1f4a41 140px, transparent 141.5px, transparent 229px, #1f4a41 230px, transparent 231.5px, transparent 319px, #1f4a41 320px, transparent 321.5px); }
.header { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { height: 38px; padding: 0 9px; border-radius: 11px; background: var(--lime); color: var(--green); display: inline-flex; align-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; flex: 1 1 300px; font-size: 15px; font-weight: 600; }
.nav-link { color: #b9c9c3; text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: #fff; border-bottom-color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.account { position: relative; }
.account summary { list-style: none; cursor: pointer; }
.account summary::-webkit-details-marker { display: none; }
.avatar-chip { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--lime); background: var(--amber); color: #3d2306; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.account-menu { position: absolute; right: 0; top: 52px; z-index: 5; min-width: 220px; background: var(--paper); color: var(--ink); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.25); padding: 14px 16px; }
.account-name { font-weight: 700; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.account-name span { font-weight: 500; font-size: 13px; color: var(--muted); word-break: break-all; }

/* Hero */
.hero { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill-outline { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--lime); border: 1px solid var(--green-line); border-radius: 999px; padding: 7px 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero-title { font-family: var(--display); font-size: clamp(44px, 7vw, 68px); line-height: .98; font-weight: 800; letter-spacing: -0.045em; }
.highlight { color: var(--green); background: var(--lime); border-radius: 14px; padding: 0 14px; display: inline-block; transform: rotate(-1.5deg); }
.hero-sub { font-size: 19px; color: var(--on-dark-muted); max-width: 520px; }
.search { background: var(--paper); border-radius: 18px; padding: 8px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 600px; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.search-field { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--muted); }
.search-field input { flex: 1; min-width: 0; height: 52px; border: none; outline: none; background: transparent; font-size: 16px; color: var(--ink); }
.search-compact { box-shadow: none; max-width: 720px; }
.search-compact .search-field input { height: 46px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark-quiet); }
.popular a { color: var(--on-dark); text-decoration: none; border: 1px solid var(--green-line); border-radius: 999px; padding: 8px 14px; }
.popular a:hover { border-color: var(--lime); }
.hero-art { flex: 1 1 420px; min-width: 0; position: relative; height: 470px; }
.float-card { position: absolute; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.float-job { left: 4%; top: 10px; width: 78%; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: rotate(-2.5deg); }
.float-title { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.float-pay { right: 0; top: 218px; width: 64%; background: var(--green-2); color: var(--on-dark); border: 1px solid var(--green-line); box-shadow: 0 24px 60px rgba(0,0,0,.4); transform: rotate(2deg); }
.float-note { left: 0; bottom: 18px; background: var(--lime); color: var(--green); padding: 14px 18px; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.3); transform: rotate(-3deg); }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--on-dark-quiet); text-transform: uppercase; letter-spacing: .08em; }
.eyebrow-dark { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--body); }
.mini-cta { font-size: 13px; font-weight: 800; color: var(--green); background: var(--lime); border-radius: 10px; padding: 9px 14px; }
.segments { display: flex; gap: 5px; }
.segments i { height: 9px; border-radius: 99px; background: #2e3a35; }
.segments .seg-lime { background: var(--lime); }
.segments .seg-amber { background: var(--amber); }

/* Value props */
.props-wrap { position: relative; margin-top: -34px; }
.props { display: flex; flex-wrap: wrap; background: var(--paper); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(11,46,40,.10); }
.prop { flex: 1 1 280px; display: flex; gap: 16px; align-items: flex-start; padding: 26px 28px; border-right: 1px solid #eceae2; }
.prop:last-child { border-right: none; }
.prop strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.prop p { font-size: 14px; color: var(--muted); }
.prop-icon, .cat-icon { flex: none; width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; }
.tone-lime { background: var(--lime-soft); color: var(--lime-ink); }
.tone-amber { background: var(--amber-soft); color: var(--amber-ink); }
.tone-coral { background: var(--coral-soft); color: var(--coral-ink); }
.tone-blue { background: var(--blue-soft); color: var(--blue-ink); }
.tone-violet { background: var(--violet-soft); color: var(--violet-ink); }
.tone-mint { background: var(--mint-soft); color: var(--mint-ink); }

/* Sections */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 22px; }
.section-head h2, .section > h2 { font-size: 36px; }
.section > h2 { margin-bottom: 22px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 14px; }
.cat-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.cat-tile:hover { border-color: var(--green); color: var(--ink); }
.cat-tile .cat-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; }
.cat-name { font-size: 17px; font-weight: 800; }

/* Job cards */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.job-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.job-card.is-featured { border: 2px solid var(--lime); box-shadow: 0 10px 30px rgba(11,46,40,.06); }
.job-card-head { display: flex; align-items: center; gap: 12px; }
.job-card-client { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.job-card-client .muted { font-size: 13px; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 13px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.avatar-lg { width: 50px; height: 50px; border-radius: 14px; }
.job-title { font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.job-title a { color: var(--ink); text-decoration: none; }
.job-title a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.job-excerpt { font-size: 15px; color: var(--ink-2); }
.job-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #eceae2; padding-top: 14px; margin-top: auto; }
.price { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.price-light { font-size: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 5px 10px; }
.badge-lime { color: var(--lime-ink); background: var(--lime-soft); }
.badge-coral { color: var(--coral-ink); background: var(--coral-soft); }
.badge-amber { color: var(--amber-ink); background: var(--amber-soft); }
.badge-outline { color: var(--lime); border: 1px solid var(--green-line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; font-weight: 600; background: var(--chip); color: var(--ink); border-radius: 8px; padding: 6px 10px; text-decoration: none; }
a.chip:hover { background: var(--lime-soft); color: var(--ink); }
.chip-lg { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 10px; }
.chip-outline { background: transparent; border: 1px solid var(--line-2); }
.ad-slot { grid-column: 1 / -1; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #ece9e0 0 12px, #f1eee6 12px 24px); border: 1px solid #ddd9ce; padding: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; font-size: 14px; color: var(--ink-2); text-align: center; }
.ad-tag { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; background: var(--paper); border-radius: 6px; padding: 4px 8px; }
.empty { grid-column: 1 / -1; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.empty h3 { font-family: var(--display); font-size: 24px; font-weight: 800; }
.empty p { color: var(--muted); max-width: 440px; }

/* Steps & CTA */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.steps li strong { font-size: 19px; font-weight: 800; }
.steps li p { color: var(--muted); font-size: 15px; }
.steps .is-dark { background: var(--green); color: var(--on-dark); border-color: var(--green); }
.steps .is-dark p { color: var(--on-dark-muted); }
.step-n { font-family: var(--display); font-size: 56px; font-weight: 800; line-height: 1; color: var(--green); }
.steps .is-dark .step-n { color: var(--lime); }
.cta-band { background: var(--lime); border-radius: 28px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.05; color: var(--green); }
.cta-band p { color: #24452a; font-size: 17px; margin-top: 10px; }

/* Page heads (dark band) */
.page-head { position: relative; display: flex; flex-direction: column; gap: 16px; padding-top: 14px; padding-bottom: 40px; }
.page-head h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.job-h1 { max-width: 880px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-dark-quiet); }
.crumbs a { color: var(--lime); text-decoration: none; font-weight: 700; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.subfilters { margin-top: -6px; }
.filter-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.filter-chip:hover { border-color: var(--green); color: var(--ink); }
.filter-chip.is-on { background: var(--green); color: #fff; border-color: var(--green); font-weight: 700; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
select { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; font-weight: 600; }
.pager { display: flex; justify-content: center; gap: 12px; margin: 28px 0 56px; }

/* Job detail */
.two-col { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-bottom: 56px; }
.col-main { flex: 999 1 560px; min-width: 0; }
.col-side { flex: 1 1 340px; max-width: 100%; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel-accent { border: 2px solid var(--lime); box-shadow: 0 24px 60px rgba(11,46,40,.12); }
.h-display { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.fact dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.fact dd { margin: 0; font-size: 17px; font-weight: 800; }
.fact-dark { background: var(--green); border-color: var(--green); }
.fact-dark dt { color: var(--on-dark-quiet); }
.fact-dark dd { color: var(--lime); font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 12px; white-space: pre-line; }
.questions { margin: 0; padding-left: 22px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; }
.tip { font-size: 13px; line-height: 1.5; color: var(--ink-2); background: var(--cream); border-radius: 12px; padding: 12px 14px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; border: none; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 700; padding: 0; }
.field input, .field textarea, .field select, .tag-picker { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #faf9f5; font-size: 16px; }
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--coral-ink); }
.hint { font-size: 13px; color: var(--muted); }
.field-error { font-size: 13px; font-weight: 700; color: var(--coral-ink); }
.form-error { background: var(--coral-soft); color: #7a1d12; border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.radio-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; cursor: pointer; background: #faf9f5; }
.radio-card:has(input:checked) { border: 2px solid var(--green); background: var(--paper); }
.radio-card input { width: 18px; height: 18px; min-height: 0; padding: 0; margin-top: 3px; flex: none; accent-color: var(--green); }
.radio-card small { display: block; color: var(--muted); font-size: 13px; }

/* Tag picker */
.tag-picker { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px; height: auto; }
.tag-picker:focus-within { outline: 3px solid var(--lime); outline-offset: 1px; }
.tag-list { display: contents; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; border-radius: 9px; padding: 6px 6px 6px 10px; font-size: 14px; font-weight: 700; }
.tag button { border: none; background: rgba(255,255,255,.15); color: #fff; width: 26px; height: 26px; border-radius: 7px; cursor: pointer; font-size: 16px; line-height: 1; }
.tag-picker input[data-input] { flex: 1 1 180px; border: none; background: transparent; min-height: 38px; padding: 0 6px; outline: none; }
.suggest { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.suggest:empty { display: none; }
.suggest button { border: 1px dashed var(--line-2); background: var(--paper); border-radius: 9px; padding: 6px 10px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 34px; }
.suggest button:hover, .suggest button:focus-visible { border-style: solid; border-color: var(--green); }

/* Footer */
.footer { background: var(--green); color: #b9c9c3; margin-top: 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-top: 36px; padding-bottom: 36px; font-size: 14px; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--on-dark); letter-spacing: -0.03em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { color: #b9c9c3; }
.footer-nav a:hover { color: #fff; }

@media (max-width: 720px) {
  .hero-art { display: none; }
  .hero { padding-bottom: 72px; }
  .prop { border-right: none; border-bottom: 1px solid #eceae2; }
  .cta-band { padding: 28px; }
  .panel { padding: 20px; }
  .inline-form { margin-left: 0; }
  .header-actions .btn-lime { padding: 0 14px; }
}

/* ---------- Work: proposals, hire, tracker, chat, dashboard ---------- */
.back-link { color: var(--lime); font-size: 14px; font-weight: 700; text-decoration: none; align-self: flex-start; padding: 6px 0; }
.lime-link { color: var(--lime); }
.lime { color: var(--lime-ink); }
.amber { color: var(--amber-ink); }
.grow { flex: 1 1 auto; min-width: 0; }
.align-start { align-items: start; }
.pre { white-space: pre-line; color: var(--ink-2); }
.badge-outline-light { color: var(--ink-2); background: var(--chip); }
.answers { margin: 0; display: grid; gap: 4px 0; }
.answers dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.answers dd { margin: 0 0 8px; }
.input-inline { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #faf9f5; font-size: 15px; }

.plan-list { display: grid; gap: 10px; }
.plan-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; background: #faf9f5; cursor: pointer; }
.plan-card:has(input:checked) { border: 2px solid var(--green); background: var(--paper); }
.plan-card input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--green); }
.manual { border: 1px dashed var(--line-2); border-radius: 14px; padding: 16px; margin: 0; }
.manual[hidden] { display: none; }
.manual-row { display: flex; gap: 10px; }
.manual-row > input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #faf9f5; }
.pct { display: flex; align-items: center; gap: 6px; flex: 0 0 104px; }
.pct input { width: 72px; min-height: 46px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line-2); background: #faf9f5; text-align: right; }

.tracker-head { gap: 14px; padding-bottom: 0; }
.tracker-top { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.tracker-stat { flex: 0 1 360px; background: var(--green-2); border: 1px solid var(--green-line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-top: 6px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px 12px 0 0; color: var(--on-dark-muted); text-decoration: none; font-weight: 700; white-space: nowrap; }
.tab:hover { color: #fff; }
.tab.is-on { background: var(--cream); color: var(--green); font-weight: 800; }
.tab-badge { font-size: 12px; font-weight: 800; background: var(--amber); color: #3d2306; border-radius: 999px; padding: 2px 8px; }

.next-step { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: #fff7e8; border: 2px solid var(--amber); border-radius: var(--radius); padding: 20px; }
.eyebrow-amber { font-size: 12px; font-weight: 800; color: var(--amber-ink); text-transform: uppercase; letter-spacing: .08em; }
.stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.stage { border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); background: var(--paper); }
.stage-done { background: var(--cream); border-color: var(--cream); }
.stage-attention { background: #fff7e8; border: 2px solid var(--amber); }
.stage-waiting { border: 2px solid var(--blue-soft); }
.stage-idle { border-style: dashed; }
.stage-head { display: flex; gap: 14px; align-items: center; }
.stage-n { flex: none; width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; border: 2px solid var(--line-2); color: var(--muted); }
.stage-done .stage-n { background: var(--green); border-color: var(--green); color: var(--lime); }
.stage-attention .stage-n { background: var(--amber); border-color: var(--amber); color: #3d2306; }
.stage-amt { font-family: var(--display); font-size: 20px; font-weight: 800; white-space: nowrap; }
.stage-actions { display: flex; flex-direction: column; gap: 10px; }
.stage-form { display: flex; flex-wrap: wrap; gap: 10px; }
.stage-form input { flex: 1 1 220px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); }
.note { font-size: 14px; color: var(--ink-2); background: var(--paper); border-radius: 10px; padding: 8px 12px; }
.late { color: var(--coral-ink); font-weight: 700; }
.stages.compact .stage-actions, .stages.compact .note { display: none; }
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; }
.panel-dark { background: var(--green); color: var(--on-dark); border-color: var(--green); }
.panel-dark .lime { color: var(--lime); }
.panel-dark .amber { color: var(--amber); }
.activity { list-style: none; margin: 0; padding: 0; }
.activity li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid #f0eee6; font-size: 14px; }
.activity li:last-child { border-bottom: none; }
.when { flex: 0 0 150px; color: var(--muted); font-weight: 600; }
.stars { display: flex; flex-wrap: wrap; gap: 8px; }
.stars label { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.review { border-top: 1px solid #eceae2; padding-top: 12px; }

.chat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.chat-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid #eceae2; }
.evidence { font-size: 12px; font-weight: 800; color: var(--green); background: var(--lime-soft); border-radius: 999px; padding: 6px 12px; }
.chat-log { background: #faf8f2; padding: 20px; display: flex; flex-direction: column; gap: 14px; max-height: 560px; overflow-y: auto; }
.msg { align-self: flex-start; max-width: 80%; display: flex; flex-direction: column; gap: 4px; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.bubble { background: var(--paper); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 14px; white-space: pre-line; word-break: break-word; }
.msg.mine .bubble { background: var(--green); color: var(--on-dark); border-color: var(--green); border-radius: 16px 16px 4px 16px; }
.msg-meta { font-size: 12px; color: var(--muted); }
.warn-note { font-size: 13px; background: #fff7e8; border: 1px solid #ebcb97; color: #4a3210; border-radius: 12px; padding: 8px 12px; }
.chat-form { display: flex; gap: 10px; align-items: flex-end; padding: 14px; border-top: 1px solid #eceae2; }
.chat-form textarea { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #faf9f5; resize: vertical; }
.chat-locked { padding: 14px 20px; border-top: 1px solid #eceae2; }

.list { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 16px 20px; border-bottom: 1px solid #f0eee6; color: var(--ink); text-decoration: none; }
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: #faf8f2; color: var(--ink); }
.proposal .price { font-size: 26px; }

/* ---------- Build 3: profiles, talent, settings, notifications, disputes, admin ---------- */
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.stack-4 { display: flex; flex-direction: column; gap: 4px; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.top-gap { margin-top: 8px; }
.avatar-img { object-fit: cover; background: var(--chip); padding: 0; }
.avatar-xl { width: 96px; height: 96px; border-radius: 26px; font-size: 30px; }
.avatar-chip.avatar-img { display: block; }

/* Header bell + account menu links */
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--on-dark); border: 1px solid var(--green-line); }
.bell:hover { color: var(--lime); }
.bell-dot { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--amber); color: #3d2306; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--green); }
.account-menu a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.account-menu a:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 520px) { .bell { width: 40px; height: 40px; } }

/* Profile */
.profile-head { padding-bottom: 44px; }
.profile-top { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; }
.profile-top .avatar-xl { border: 3px solid var(--lime); }
.profile-headline { font-size: 19px; font-weight: 600; color: var(--on-dark); }
.profile-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-left: auto; }
@media (max-width: 720px) { .profile-actions { align-items: flex-start; margin-left: 0; } }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.portfolio-item { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #faf9f5; display: flex; flex-direction: column; }
.portfolio-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--chip); }
.portfolio-blank { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 48px; font-weight: 800; color: var(--green); background: var(--lime-soft); }
.portfolio-item figcaption { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; word-break: break-word; }
.stars-inline { font-weight: 800; }

/* Find talent */
.talent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.talent-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.talent-card:hover { border-color: var(--line-2); box-shadow: 0 14px 34px rgba(11,46,40,.08); }
.talent-name { color: var(--ink); text-decoration: none; font-size: 17px; }
.talent-name:hover { text-decoration: underline; }
.talent-headline { font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.talent-card .top-rule { padding-top: 12px; margin-top: auto; }

/* Settings */
.prefix-input { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 12px; background: #faf9f5; overflow: hidden; }
.prefix-input span { display: flex; align-items: center; padding: 0 4px 0 12px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.field .prefix-input input { border: none; background: transparent; padding-left: 2px; min-width: 0; }
.lang-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lang-row select { flex: 1 1 180px; min-height: 46px; }
.field input[type="file"] { min-height: 0; padding: 10px; background: var(--paper); }
.ok-note { font-size: 14px; font-weight: 700; color: var(--lime-ink); background: var(--lime-soft); border-radius: 12px; padding: 10px 14px; }
.strike-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.strike-list li { border-top: 1px solid #eceae2; padding-top: 14px; }
.strike-list li:first-child { border-top: none; padding-top: 0; }
.strike-removed { text-decoration: line-through; }

/* Notifications */
.list-row.is-unread { background: #fbfdf4; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lime-ink); }
.dot-off { background: var(--line-2); }

/* Files */
.file-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--chip); border-radius: 10px; padding: 8px 12px; text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip:hover { background: var(--lime-soft); color: var(--ink); }
.msg-img img { display: block; max-width: min(320px, 100%); max-height: 260px; border-radius: 14px; border: 1px solid var(--line); }
.attach { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); cursor: pointer; }
.attach:hover, .attach:focus-within { border-color: var(--green); color: var(--green); }
.attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-input { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.file-input input { font-size: 13px; max-width: 100%; }
.file-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.file-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #faf9f5; display: flex; flex-direction: column; }
.file-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.file-card .stack-2 { padding: 10px 12px; word-break: break-word; }
.file-ext { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--green); background: var(--chip); }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

/* Disputes */
.issue-banner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: var(--amber-soft); border: 1px solid #ebcb97; border-radius: 18px; padding: 16px 20px; }
.issue-banner.is-urgent { background: var(--coral-soft); border-color: #eab3a8; }
.rule-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--on-dark-muted); }
.rule-list strong { color: var(--on-dark); }
.case-entry { display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--line-2); padding: 2px 0 2px 16px; }
.case-reply { border-left-color: var(--amber); }
.case-decision { border-left-color: var(--lime-ink); background: #fbfdf4; border-radius: 0 12px 12px 0; padding: 12px 16px; }
.transcript { max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; font-size: 14px; background: #faf8f2; border-radius: 12px; padding: 14px; }

/* Admin */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.stat-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.stat-tile:hover { border-color: var(--green); color: var(--ink); }
.stat-tile.is-hot { background: var(--amber-soft); border-color: #ebcb97; }
.stat-n { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.admin-actions { display: flex; flex-direction: column; gap: 10px; }
.admin-actions > input { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #faf9f5; }
.btn.danger { color: var(--coral-ink); border-color: #eab3a8; }
.legal h2 { font-size: 21px; }
.attach.has-file { background: var(--lime-soft); border-color: var(--lime-ink); color: var(--lime-ink); }
.attach-name { font-size: 12px; color: var(--muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; align-self: center; }
.field .check { font-weight: 500; font-size: 15px; }
.field .check input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; }
.change-panel { background: var(--blue-soft); border: 1px solid #b9d3f0; border-radius: 18px; padding: 18px 20px; }
.change-list { margin: 0; padding-left: 18px; }
.msg-edit summary { font-size: 12px; color: var(--muted); cursor: pointer; list-style: none; }
.msg-edit summary::-webkit-details-marker { display: none; }
.msg-edit[open] summary { margin-bottom: 6px; }
.msg-edit textarea { width: min(420px, 80vw); min-height: 60px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #faf9f5; }
.suggest .suggest-new { border-style: solid; border-color: var(--green); color: var(--green); background: var(--lime-soft); }
.suggest-note { font-size: 13px; color: var(--ink-2); padding: 4px 0; }
.btn-google { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); gap: 10px; }
.btn-google:hover { background: #f7f6f1; color: var(--ink); border-color: var(--ink-2); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------------- Articles ---------------- */
.post-card h2 { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.article-body { font-size: 17px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.article-body > * + * { margin-top: 16px; }
.article-body h2 { font-family: var(--display); font-size: clamp(23px, 3vw, 28px); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); margin-top: 36px; scroll-margin-top: 16px; }
.article-body h3 { font-size: 19px; color: var(--ink); margin-top: 26px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 8px; }
.article-body blockquote { border-left: 4px solid var(--lime-soft); padding: 4px 0 4px 18px; color: var(--ink); font-weight: 600; }
.article-body code { font-size: .9em; background: #f1eee6; border-radius: 6px; padding: 1px 6px; }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.article-body a { text-decoration: underline; }
.article-body .ad-slot { margin: 28px 0; }
.toc ol { padding-left: 22px; margin-top: 8px; }
.toc li + li { margin-top: 4px; }
.cta-panel { background: #f7f9ee; }
textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; }
@media (max-width: 600px) { .article-body { font-size: 16px; } }
.post-card.has-cover { padding: 0; overflow: hidden; }
.post-card .post-text { padding: 26px; }
.post-cover img, .article-cover { display: block; width: 100%; height: auto; }
.post-cover { display: block; border-bottom: 1px solid var(--line); }
.article-cover { border-radius: var(--radius); border: 1px solid var(--line); }
.article-body figure { margin: 28px 0; }
.article-body figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.article-body figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
@media (max-width: 640px) { .post-card .post-text { padding: 20px; } }
