/* Tiệm & Thợ — nail salon job board
   Palette: lacquer cherry accent, porcelain-pink neutrals, plum ink. */
/* Bright theme (default on light devices), in the style of the owner's NailKolors site but softer (no white):
   sage-grey page, light sage cards, deep green buttons, amber highlights. Dark theme below. theme.js sets data-theme; the header button switches. */
:root {
  --bg: #DCE5D9;
  --surface: #E9EFE6;
  --surface-2: #D3DDCF;
  --ink: #232B21;
  --ink-2: #434F3F;
  --ink-3: #535F4E;
  --line: #C2D0BE;
  --accent: #2A6A30;
  --accent-hover: #215626;
  --accent-ink: #FFFFFF;
  --accent-soft: #C9DCC8;
  --nude: #E4C3B2;
  --gold: #A86F00;
  --gold-soft: #EFE3C2;
  --vip-bg: #1E3A22;
  --vip-ink: #F4FBF4;
  --vip-ink-2: #C5DEC7;
  --ok: #1D7A4B;
  --ok-soft: #CFE4D5;
  --warn: #9A5B06;
  --warn-soft: #EEDFC2;
  --bad: #B42318;
  --bad-soft: #EFD3CF;
  --shadow: 0 1px 2px rgba(35, 60, 35, .08), 0 4px 18px rgba(35, 60, 35, .10);
  --radius: 14px;
  --display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161013; --surface: #201A1D; --surface-2: #2A2126; --ink: #F6ECEF; --ink-2: #CDBAC3; --ink-3: #9C8991;
    --line: #3A2E34; --accent: #F0587A; --accent-hover: #F57A95; --accent-ink: #25070F; --accent-soft: #3E1722;
    --nude: #8C6A59; --gold: #E0B25E; --gold-soft: #3A2C14; --vip-bg: #321A2E; --vip-ink: #FBEFF4; --vip-ink-2: #D9BDD0;
    --ok: #5FCB90; --ok-soft: #173325; --warn: #F0B45A; --warn-soft: #3A2A12; --bad: #F58A7E; --bad-soft: #3F1B17;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161013; --surface: #201A1D; --surface-2: #2A2126; --ink: #F6ECEF; --ink-2: #CDBAC3; --ink-3: #9C8991;
  --line: #3A2E34; --accent: #F0587A; --accent-hover: #F57A95; --accent-ink: #25070F; --accent-soft: #3E1722;
  --nude: #8C6A59; --gold: #E0B25E; --gold-soft: #3A2C14; --vip-bg: #321A2E; --vip-ink: #FBEFF4; --vip-ink-2: #D9BDD0;
  --ok: #5FCB90; --ok-soft: #173325; --warn: #F0B45A; --warn-soft: #3A2A12; --bad: #F58A7E; --bad-soft: #3F1B17;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.55 var(--body); font-feature-settings: "tnum" 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
/* Full-width layout: listings use the whole screen; reading pages keep their own max widths below. */
.wrap { max-width: 2400px; margin-inline: auto; padding-inline: clamp(16px, 2.5vw, 48px); }
.post-page { max-width: 1440px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Muse assistant ---------- */
.muse-fab { position: fixed; z-index: 75; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 15px var(--body); cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); }
.muse-fab:hover { transform: translateY(-1px); }
.muse-dot { width: 10px; height: 10px; border-radius: 50%; background: #5FCB90; box-shadow: 0 0 0 4px rgba(95,203,144,.25); }
.muse-panel { position: fixed; z-index: 75; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 78px); width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); overflow: hidden; animation: slide .2s; }
.muse-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; background: var(--vip-bg); color: var(--vip-ink); }
.muse-head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.muse-head strong { font-family: var(--display); font-size: 20px; }
.muse-head span { font-size: 12px; color: var(--vip-ink-2); }
.muse-head .btn { color: var(--vip-ink); }
.muse-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.muse-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.muse-msg.assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.muse-msg.user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.muse-typing { display: inline-flex; gap: 4px; }
.muse-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.muse-typing span:nth-child(2) { animation-delay: .15s; } .muse-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.muse-ads { display: flex; flex-direction: column; gap: 6px; }
.muse-ad { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13px; color: var(--ink-2); }
.muse-ad:hover { border-color: var(--accent); }
.muse-ad b { color: var(--ink); font-size: 14px; }
.muse-ad-pay { color: var(--ok); font-weight: 700; }
.muse-human { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); font-size: 14px; }
.muse-human .num { font-size: 18px; font-weight: 700; user-select: all; }
.muse-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.muse-chips .chip { font-size: 13px; padding: 5px 11px; }
.muse-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.muse-form textarea { flex: 1; min-height: 40px; max-height: 120px; resize: none; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; }
.muse-form textarea:focus { outline: none; border-color: var(--accent); }
.muse-note { margin: 0; padding: 6px 14px 10px; font-size: 11px; color: var(--ink-3); background: var(--surface); }
.muse-write { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--vip-bg); color: var(--vip-ink); }
.muse-write .hint { color: var(--vip-ink-2); margin-top: 4px; }
.muse-write .textarea { background: var(--surface); color: var(--ink); }
.muse-write .btn { align-self: flex-start; background: #E0B25E; border-color: #E0B25E; color: #1d1206; }
.muse-screen-cta { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 520px) { .muse-panel { right: 8px; left: 8px; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 74px); height: calc(100vh - 110px); } }

/* ---------- Demo notice ---------- */
.demo-bar { background: #1F1A24; color: #F6ECEF; font-size: 13px; text-align: center; padding-block: 7px; }
.demo-bar b { color: #E8C06A; }

/* ---------- Launch offer ---------- */
.promo-bar { background: var(--accent); color: var(--accent-ink); font-size: 14px; text-align: center; padding-block: 8px; }
.promo-bar a { color: inherit; font-weight: 700; margin-left: 6px; white-space: nowrap; }
.plan-price { flex-wrap: wrap; }
.plan-was { color: var(--ink-3); font-size: 18px; font-variant-numeric: tabular-nums; }
.plan.vip .plan-was { color: var(--vip-ink-2); }
.off-badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.compare thead s { font-weight: 400; opacity: .7; }
.summary-row.discount { color: var(--accent); font-weight: 600; }

.promo-bar .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; }
.promo-sep { opacity: .6; }
@media (max-width: 640px) { .promo-sep { display: none; } .promo-bar .wrap { flex-direction: column; } }

/* ---------- VIP stands out ---------- */
.plan.vip { border: 0; background: radial-gradient(120% 90% at 100% 0%, #5A2A4F 0%, var(--vip-bg) 55%, #1B0C18 100%); box-shadow: 0 0 0 2px #E0B25E, 0 30px 70px -25px rgba(156, 111, 30, .7); transform: translateY(-12px); z-index: 1; }
.plan.vip .plan-name { color: #FBEFF4; }
.plan.vip .plan-price strong { color: #F3D48B; }
.plan.vip .plan-was { color: var(--vip-ink-2); }
.plan.vip .off-badge { background: #F3D48B; color: #1d1206; }
.vip-flag { background: linear-gradient(90deg, #F3D48B, #C9A04A); color: #1d1206; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 16px -6px rgba(201, 160, 74, .8); }
.vip-crown { color: #E8C06A; margin-left: 8px; font-size: .8em; }
.vip-perks { display: flex; flex-direction: column; gap: 9px; padding: 13px 14px; border-radius: 12px; background: rgba(232, 192, 106, .12); border: 1px solid rgba(232, 192, 106, .4); }
.vip-perks div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: #FBEFF4; }
.vip-perks b { font-weight: 600; }
.vip-star { color: #E8C06A; flex-shrink: 0; }
.vip-pick-note { margin: 0; font-size: 13px; color: var(--vip-ink-2); }
.btn-vip, .plan.vip .btn-vip { background: linear-gradient(90deg, #F3D48B, #D4A548); border: 0; color: #1d1206; font-weight: 800; min-height: 50px; box-shadow: 0 10px 24px -10px rgba(212, 165, 72, .8); }
.btn-vip:hover { filter: brightness(1.06); }
.plans-stack .plan.vip { transform: none; }
.plan.vip.selectable[aria-pressed="true"] { outline-color: #E0B25E; }
.addon-vip { color: var(--gold); font-weight: 700; font-size: 13px; }
.compare-plans .col-vip { background: rgba(232, 192, 106, .14); font-weight: 600; }
.compare-plans th.col-vip { background: var(--vip-bg); color: #F3D48B; }
.job-card.is-vip { box-shadow: 0 0 0 1px rgba(232, 192, 106, .45), 0 16px 36px -20px rgba(156, 111, 30, .8); }
.job-card.is-vip:hover { box-shadow: 0 0 0 2px #E0B25E, 0 22px 44px -20px rgba(156, 111, 30, .9); }
@media (max-width: 900px) { .plan.vip { transform: none; } }

/* ---------- Upgrades ---------- */
.upgrade-box { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.upgrade-box p { color: var(--ink-2); font-size: 14px; }
.upgrade-calc { font-weight: 600; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.plan.is-disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }

/* ---------- Monthly pass ---------- */
.pass-block { border: 2px solid var(--ink); background: var(--surface); }
.pass-icon { background: var(--ink); color: var(--bg); font-size: 24px; font-family: var(--body); }
.addon-price .btn { margin-top: 8px; }
.addon-price .tag { margin-top: 8px; }
.addon-price .plan-was { font-size: 15px; }

/* ---------- Accounts, sharing, free offer ---------- */
.acct { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.acct:hover { border-color: var(--ink-3); }
.acct-menu { position: relative; }
.acct-menu > summary { list-style: none; cursor: pointer; }
.acct-menu > summary::-webkit-details-marker { display: none; }
.acct-caret { font-size: 10px; color: var(--ink-3); }
.acct-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); }
.acct-who { display: grid; gap: 2px; padding: 6px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.acct-who b { font-size: 14px; color: var(--ink); }
.acct-pop a, .acct-pop button { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; text-align: left; cursor: pointer; }
.acct-pop a:hover, .acct-pop button:hover, .acct-pop a:focus-visible, .acct-pop button:focus-visible { background: var(--surface-2); }
.acct-pop .acct-out { color: var(--bad); }
.menu-logout { min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--bad); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.acct-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.login-page { max-width: 560px; }
.login-page .card { margin-top: 16px; }
.login-box { display: flex; flex-direction: column; gap: 14px; }
.login-box .verify-row .input { flex: 1; min-width: 0; width: auto; letter-spacing: normal; text-align: left; }
.login-box #lg-code { max-width: 160px; letter-spacing: .2em; text-align: center; }
/* Sign in with Google / Facebook: each in the colors its brand rules ask for */
.social-login { display: flex; flex-direction: column; gap: 10px; }
.btn-social { display: flex; justify-content: center; gap: 10px; width: 100%; min-height: 46px; font-weight: 600; text-decoration: none; }
.btn-google { background: #fff; border-color: #747775; color: #1f1f1f; }
.btn-google:hover { background: #f8f9fa; border-color: #747775; }
.btn-facebook { background: #1877F2; border-color: #1877F2; color: #fff; }
.btn-facebook:hover { background: #166fe5; border-color: #166fe5; }
.btn-facebook-share { background: #1877F2; border-color: #1877F2; color: #fff; text-decoration: none; }
.btn-facebook-share:hover { background: #166fe5; border-color: #166fe5; }
.login-or { display: flex; align-items: center; gap: 10px; margin: 2px 0; color: var(--ink-3); font-size: 13px; }
.login-or::before, .login-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.login-as { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin: 0 0 6px; }
.linkish { background: none; border: 0; padding: 6px 2px; min-height: 32px; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.plan-free-note { margin: -6px 0 0; font-size: 13px; font-weight: 600; color: var(--ok); }
.plan.vip .plan-free-note { color: #9ee0bb; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-box h3 { margin-bottom: 10px; }

/* ---------- Trust, refunds, policy ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(20, 8, 16, .55); animation: fade .2s; }
.modal { position: fixed; z-index: 81; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, calc(100% - 24px)); max-height: calc(100% - 32px); overflow-y: auto; background: var(--bg); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.modal-head h2 { font-family: var(--display); font-size: 22px; }
.modal-body { padding: 20px; }
.radio-list { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.radio-list legend { margin-bottom: 8px; }
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio input { accent-color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.quote { padding: 14px 16px; border-radius: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.quote p { color: var(--ink-2); }
.quote-auto { background: var(--ok-soft); } .quote-auto strong { color: var(--ok); }
.quote-review { background: var(--warn-soft); } .quote-review strong { color: var(--warn); }
.quote-none { background: var(--surface-2); }
.claim-ad { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.claim-hist { display: flex; flex-direction: column; gap: 6px; }
.claim-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 480px) { .claim-row { grid-template-columns: 1fr auto; } }
.verify-box { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.verify-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.verify-row .input { width: 130px; min-height: 36px; letter-spacing: .2em; text-align: center; }
.safety-box { padding: 16px 18px; border-radius: var(--radius); background: var(--warn-soft); }
.safety-box h3 { color: var(--warn) !important; }
.safety-box ul, .mod-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 14px; }
.mod-list { color: inherit; margin-top: 6px; }
.credit-note { margin-bottom: 16px; }
.billing { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.bill-table td, .bill-table th { text-align: left !important; }
.bill-table td.num { white-space: nowrap; }
.policy { max-width: 980px; }
.policy-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.policy-toc a { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); text-decoration: none; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.policy-toc a:hover { color: var(--ink); }
.policy-sec { margin-top: 40px; scroll-margin-top: 90px; }
.policy-sec h2 { font-family: var(--display); font-size: 26px; margin-bottom: 8px; }
.policy-sec .compare-wrap { margin-top: 16px; }
.policy-table { min-width: 680px; }
.policy-table td, .policy-table th { text-align: left !important; vertical-align: top; }
.policy-table td:first-child { color: var(--ink); font-weight: 500; }
/* Phones: each row becomes a card with the column name above each cell, so no column hides off-screen */
@media (max-width: 640px) {
  .policy-sec .compare-wrap { overflow: visible; border: 0; background: none; }
  .compare.policy-table { display: block; min-width: 0; }
  .policy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .policy-table tbody, .policy-table tr, .policy-table td { display: block; }
  .policy-table tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
  .policy-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .policy-table tr td:last-child { border-bottom: 0; }
  .policy-table td:first-child { background: var(--surface-2); font-weight: 600; }
  .policy-table td:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
}
.policy-list { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: block; flex-shrink: 0; }
.brand-mark { border-radius: 10px; }
.brand-name { font-family: var(--body); font-weight: 800; font-size: 24px; letter-spacing: .08em; line-height: 1; white-space: nowrap; color: var(--ink); }
.brand-name b { font-weight: 800; color: #B76E79; } /* rose gold, from the logo */
.brand-tag { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; font-family: var(--body); }
.main-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.main-nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.lang-toggle button { border: 0; background: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; cursor: pointer; color: var(--ink-3); }
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .header-row { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .brand-tag { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 21px; }
  .header-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
  .main-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .main-nav::-webkit-scrollbar { display: none; }
}
@media (min-width: 881px) { .header-tools { display: flex; gap: 10px; align-items: center; } }

/* ---------- Buttons, chips, inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px;
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--ink-3); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: .9; border-color: var(--ink); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-danger { color: var(--bad); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500;
  cursor: pointer; color: var(--ink-2); transition: all .12s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { content: "✓"; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.tag-accent { background: var(--accent-soft); color: var(--accent); }
.tag-gold { background: var(--gold-soft); color: var(--gold); }
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-bad { background: var(--bad-soft); color: var(--bad); }
.tag-urgent { background: var(--accent); color: var(--accent-ink); }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field-label { font-weight: 600; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--ink-3); }
.field .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.input-prefix > .input { padding-left: 28px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; min-height: 28px; padding-block: 2px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero { padding-block: 56px 40px; }
.hero-grid { max-width: 1600px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.02em; margin-top: 14px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); display: block; }
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 34em; margin-top: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 11px; border-radius: 50% 50% 44% 44% / 62% 62% 38% 38%; background: var(--accent); }
.hero-demo { position: relative; }
.hero-demo .job-card { transform: rotate(1.2deg); }
.hero-demo-label { position: absolute; top: -14px; left: 18px; z-index: 2; }
.nail-row { display: flex; gap: 10px; align-items: flex-end; margin-top: 18px; justify-content: flex-end; }
.nail { width: 26px; height: 38px; border-radius: 50% 50% 44% 44% / 62% 62% 38% 38%; position: relative; box-shadow: inset -4px -5px 0 rgba(0,0,0,.14); animation: nail-in .6s cubic-bezier(.2,.8,.2,1) both; }
.nail::after { content: ""; position: absolute; left: 6px; top: 6px; width: 5px; height: 13px; border-radius: 5px; background: rgba(255,255,255,.55); }
.nail:nth-child(2) { height: 44px; animation-delay: .06s; }
.nail:nth-child(3) { height: 48px; animation-delay: .12s; }
.nail:nth-child(4) { height: 44px; animation-delay: .18s; }
.nail:nth-child(5) { width: 22px; height: 32px; animation-delay: .24s; }
@keyframes nail-in { from { transform: translateY(8px); } to { transform: none; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-block: 32px 24px; } .nail-row { justify-content: flex-start; } }

/* ---------- Search bar ---------- */
.search-bar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.search-bar .select { border: 0; background-color: var(--surface-2); }
@media (max-width: 640px) { .search-bar { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding-block: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-title { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.01em; line-height: 1.1; }
.section-sub { color: var(--ink-2); margin-top: 8px; max-width: 60ch; }
.link-more { font-weight: 600; color: var(--accent); text-decoration: none; }
.link-more:hover { text-decoration: underline; }
.band { background: var(--surface-2); }

/* ---------- Job cards ---------- */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.job-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  text-align: left; padding: 0; transition: transform .15s, box-shadow .15s, border-color .15s; width: 100%;
}
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.job-card.is-featured { border: 2px solid var(--accent); }
.job-card.is-vip { background: var(--vip-bg); color: var(--vip-ink); border: 2px solid var(--gold); }
.job-card.is-vip .job-meta, .job-card.is-vip .job-foot { color: var(--vip-ink-2); }
.job-card.is-vip .tag { background: rgba(255,255,255,.1); color: var(--vip-ink); }
.job-card.is-vip .tag-urgent { background: var(--accent); color: #fff; }
.job-cover { position: relative; aspect-ratio: 16 / 7; max-width: 100%; overflow: hidden; background: var(--surface-2); }
.job-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-art { position: absolute; inset: 0; display: grid; place-items: center; }
.cover-art span { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 34px; color: rgba(255,255,255,.92); text-shadow: 0 2px 10px rgba(0,0,0,.18); letter-spacing: -.01em; padding-inline: 16px; text-align: center; line-height: 1.1; }
.cover-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); color: #fff; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.15; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-row .cover-name { padding: 16px 8px 6px; font-size: 13px; }
.report-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.cover-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.plan-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan-badge.vip { background: var(--gold); color: #1d1206; }
.plan-badge.featured { background: var(--accent); color: #fff; }
.plan-badge.basic { background: var(--surface); color: var(--ink-2); }
.job-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.job-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.job-meta { font-size: 13px; color: var(--ink-3); }
.job-pay { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.job-card:not(.is-vip) .job-pay { color: var(--ok); }
.job-card.is-vip .job-pay { color: var(--gold); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-3); margin-top: auto; padding-top: 4px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--display); font-style: italic; font-weight: 700; font-size: 40px; line-height: 1; color: var(--accent); }
.steps h3 { font-size: 17px; }
.steps p { color: var(--ink-2); font-size: 14px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 24px 24px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-align: left;
}
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan.vip { background: var(--vip-bg); color: var(--vip-ink); border-color: var(--gold); }
.plan.vip .plan-desc, .plan.vip .plan-per, .plan.vip li { color: var(--vip-ink-2); }
.plan.selectable { cursor: pointer; }
.plan.selectable[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 3px; }
.plan-top { display: flex; align-items: center; gap: 14px; }
.plan-nail { width: 30px; height: 44px; border-radius: 50% 50% 44% 44% / 62% 62% 38% 38%; flex-shrink: 0; box-shadow: inset -4px -5px 0 rgba(0,0,0,.14); position: relative; }
.plan-nail::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 14px; border-radius: 5px; background: rgba(255,255,255,.55); }
.plan-nail.basic { background: var(--nude); }
.plan-nail.featured { background: var(--accent); }
.plan-nail.vip { background: linear-gradient(160deg, #F3D48B, #B8862F 55%, #8A5E17); }
.plan-name { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.05; }
.plan-name small { display: block; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-family: var(--display); font-size: 48px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-per { color: var(--ink-3); font-size: 14px; }
.plan-desc { color: var(--ink-2); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; flex-shrink: 0; }
.plan.vip li::before { color: var(--gold); }
.plan-flag { position: absolute; top: -12px; right: 20px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.plan.vip .btn { background: var(--gold); border-color: var(--gold); color: #1d1206; }
.plan-note { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 18px; }

.compare-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); background: var(--surface-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare td:first-child { color: var(--ink-2); }
.compare .yes { color: var(--ok); font-weight: 800; }
.compare .no { color: var(--ink-3); }

.faq { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--ink-2); }

/* ---------- Jobs browse ---------- */
.browse { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; padding-block: 28px 64px; align-items: start; }
.filters { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: flex; flex-direction: column; gap: 20px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filters h2 { font-size: 16px; }
.filter-group { display: flex; flex-direction: column; gap: 10px; }
.filter-group > .field-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.results-head h1 { font-family: var(--display); font-size: 30px; }
.results-count { color: var(--ink-3); font-size: 14px; }
.empty { padding: 48px 24px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; align-items: center; }
@media (max-width: 900px) { .browse { grid-template-columns: 1fr; } .filters { position: static; } }

/* ---------- Drawer (job detail) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20, 8, 16, .45); z-index: 60; animation: fade .2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); z-index: 61; background: var(--bg); overflow-y: auto; box-shadow: -20px 0 60px -20px rgba(0,0,0,.35); animation: slide .25s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom, 0px); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: .4; } }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.drawer-body { padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.drawer .job-cover { border-radius: var(--radius); aspect-ratio: 16 / 8; }
.ad-video video, .video-preview { display: block; width: 100%; max-height: 70vh; border-radius: 12px; background: #000; }
.video-field .video-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.video-progress { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.video-progress > i { display: block; height: 100%; background: var(--accent); transition: width .2s; }
.gallery { display: flex; gap: 8px; overflow-x: auto; }
.gallery img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.detail-title { font-family: var(--display); font-size: 28px; line-height: 1.15; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fact { background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.fact dt { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.fact dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.fact.wide { grid-column: 1 / -1; }
.detail-section h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; }
.desc-text { white-space: pre-line; color: var(--ink-2); }
.contact-card { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.contact-phone { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; user-select: all; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
@media (max-width: 420px) { .contact-actions { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } }

/* ---------- Post wizard ---------- */
.post-page { padding-block: 28px 80px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
@media (max-width: 1000px) { .post-layout { grid-template-columns: 1fr; } }
.post-head h1 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.post-head p { color: var(--ink-2); margin-top: 6px; }
.stepper { display: flex; gap: 6px; list-style: none; padding: 0; margin: 22px 0 22px; }
.stepper li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); min-width: 0; }
.stepper li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); }
.stepper li.done::before, .stepper li.current::before { background: var(--accent); }
.stepper li.current { color: var(--ink); }
.stepper li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .stepper li:not(.current) span { display: none; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
@media (max-width: 480px) { .card { padding: 18px; } }
.form-stack { display: flex; flex-direction: column; gap: 22px; }
.form-section-title { font-family: var(--display); font-size: 22px; font-weight: 700; }
.form-note { font-size: 13px; color: var(--ink-3); }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.step-nav .btn-primary { margin-left: auto; }
.inline-alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 14px; background: var(--warn-soft); color: var(--warn); }
.inline-alert.err { background: var(--bad-soft); color: var(--bad); }
.inline-alert.info { background: var(--surface-2); color: var(--ink-2); }
.inline-alert strong { font-weight: 700; }
.photo-drop { border: 2px dashed var(--line); border-radius: 14px; padding: 22px; text-align: center; color: var(--ink-3); cursor: pointer; transition: border-color .15s, background .15s; display: block; }
.photo-drop:hover, .photo-drop.drag { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
/* Plan step of a new ad: compact cards; the bar on later steps */
.plan-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan-pick { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.plan-pick:hover { border-color: var(--accent); }
.plan-pick[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan-pick.vip[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.plan-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 17px; }
.pp-price strong { font-family: var(--display); font-size: 24px; font-variant-numeric: tabular-nums; }
.pp-price s { color: var(--ink-3); margin-left: 4px; }
.pp-facts { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.plan-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.plan-bar .linkish { margin-left: auto; padding: 0 2px; min-height: 0; }
.pp-head .plan-nail, .plan-bar .plan-nail { width: 16px; height: 23px; }
.pp-head .plan-nail::after, .plan-bar .plan-nail::after { left: 4px; top: 4px; width: 3px; height: 7px; }
@media (max-width: 760px) { .plan-picks { grid-template-columns: 1fr; } }
.photo-drop.is-full { border-style: solid; cursor: default; background: var(--surface-2); }
.photo-count { margin-left: 6px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.photo-list { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-item.over img { opacity: .35; outline: 2px dashed var(--bad); outline-offset: -2px; }
.photo-item { position: relative; width: 96px; display: flex; flex-direction: column; gap: 4px; }
.photo-item img { width: 100%; height: 72px; object-fit: cover; border-radius: 8px; }
.photo-item.is-cover img { outline: 2px solid var(--accent); outline-offset: 1px; }
.cover-pos { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.cover-pos-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cover-frame { position: relative; width: 100%; max-width: 520px; aspect-ratio: 16 / 7; border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: grab; touch-action: none; user-select: none; outline-offset: 2px; }
.cover-frame.dragging { cursor: grabbing; }
.cover-frame:focus-visible { outline: 2px solid var(--accent); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cover-badge { font-size: 11px; font-weight: 700; color: var(--accent); text-align: center; }
.cover-btn { border: 0; background: none; padding: 2px 0; font: inherit; font-size: 11px; color: var(--ink-3); text-decoration: underline; cursor: pointer; }
.cover-btn:hover { color: var(--accent); }
.photo-item .photo-rm { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; font-size: 14px; line-height: 1; }
.desc-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.counter { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.post-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1000px) { .post-aside { position: static; } }
.aside-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-3); display: flex; justify-content: space-between; }
.quality { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.quality-top { display: flex; align-items: center; gap: 12px; }
.quality-score { font-family: var(--display); font-size: 36px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.meter { flex: 1; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 8px; transition: width .3s, background .3s; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.checklist li { display: flex; gap: 9px; color: var(--ink-2); }
.checklist li::before { content: "○"; color: var(--ink-3); flex-shrink: 0; width: 14px; text-align: center; }
.checklist li.ok::before { content: "✓"; color: var(--ok); font-weight: 800; }
.checklist li.warn::before { content: "!"; color: var(--warn); font-weight: 800; }
.checklist li.ok { color: var(--ink-3); }
.checklist li b { color: var(--ink); font-weight: 600; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr; gap: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; font-variant-numeric: tabular-nums; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 800; font-size: 18px; }
.summary-row .muted { color: var(--ink-3); }
.pay-methods { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-methods span { font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); background: var(--surface); }
.secure-note { font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.demo-note { font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 12px; }
.success .nail-row { justify-content: center; margin: 0; }
.success h2 { font-family: var(--display); font-size: 32px; }
.receipt { width: 100%; max-width: 420px; text-align: left; padding: 16px 18px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.next-list { text-align: left; color: var(--ink-2); font-size: 14px; display: flex; flex-direction: column; gap: 6px; padding-left: 20px; margin: 0; }

/* ---------- Dashboard ---------- */
.dash-page { padding-block: 28px 80px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-block: 20px 26px; }
@media (max-width: 760px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.stat dd { margin: 4px 0 0; font-family: var(--display); font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ad-list { display: flex; flex-direction: column; gap: 14px; }
.ad-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); align-items: center; }
.ad-row .job-cover { border-radius: 10px; aspect-ratio: 4 / 3; }
.ad-row .cover-art span { font-size: 20px; }
.ad-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ad-info h3 { font-size: 16px; }
.ad-open { display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.ad-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ad-title-link { color: var(--ink); text-decoration: none; text-align: left; padding: 0; min-height: 0; font-size: inherit; font-weight: inherit; }
.ad-title-link:hover { color: var(--accent); text-decoration: underline; }
.ad-id { font-size: 13px; padding: 2px 0; min-height: 0; font-variant-numeric: tabular-nums; }
.owner-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.owner-bar-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.owner-bar-info .form-note { margin: 0; }
.owner-bar-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-line { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-3); align-items: center; }
.ad-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.time-bar { width: 140px; height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.time-bar > i { display: block; height: 100%; background: var(--accent); }
.ad-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 260px; }
.confirm-bar { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); font-size: 14px; }
@media (max-width: 760px) {
  .ad-row { grid-template-columns: 84px minmax(0, 1fr); }
  .ad-actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
}

/* ---------- Footer, toast ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 40px; color: var(--ink-3); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); animation: toast .25s; max-width: calc(100% - 32px); }
@keyframes toast { from { transform: translate(-50%, 10px); opacity: 0; } }

/* ---------- Location ---------- */
.page-pad { padding-top: 24px; }
.loc-bar { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.loc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.loc-pin { width: 14px; height: 14px; margin-inline: 2px; flex-shrink: 0; background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.loc-text { font-size: 16px; color: var(--ink-2); flex: 1; min-width: 0; }
.loc-text b { color: var(--ink); }
.loc-form { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.loc-form .input { background: var(--surface-2); border-color: transparent; }
.loc-chips .field-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-right: 4px; }
.loc-chips .chip { padding: 5px 11px; font-size: 13px; }
.loc-chips:empty { display: none; }
@media (max-width: 640px) { .loc-form { grid-template-columns: 1fr 1fr; } .loc-form .suggest-wrap { grid-column: 1 / -1; } }
.suggest-wrap { position: relative; min-width: 0; }
.suggest { position: fixed; z-index: 95; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 320px; overflow-y: auto; }
.suggest li { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; font-variant-numeric: tabular-nums; }
.suggest li:hover, .suggest li.active { background: var(--accent-soft); color: var(--ink); }
.dist { color: var(--accent); font-weight: 600; }
.job-card.is-vip .dist { color: var(--gold); }

/* ---------- Results tools ---------- */
.results-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.select-sm { min-height: 38px; padding-block: 6px; font-size: 14px; width: auto; }
.results-title { font-family: var(--display); font-size: 26px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.seg button { white-space: nowrap; }

/* ---------- Travel ---------- */
:root { --travel: #1F4E79; --travel-soft: #E3EEF8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --travel: #9CC8F0; --travel-soft: #16283A; } }
:root[data-theme="dark"] { --travel: #9CC8F0; --travel-soft: #16283A; }
.tag-travel { background: var(--travel-soft); color: var(--travel); }
.tag-video { background: rgba(0, 0, 0, .65); color: #fff; }
.cover-badges .tag-travel { background: #1F4E79; color: #fff; }
.travel-line { font-size: 13px; font-weight: 600; color: var(--travel); }
.job-card.is-vip .travel-line { color: #9CC8F0; }
.travel-hero { padding: 8px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.travel-hero .section-title { font-size: clamp(30px, 4vw, 44px); }

/* ---------- Salon for sale ---------- */
:root { --sale: #0F6B5C; --sale-soft: #DDF1EC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sale: #6FD3BE; --sale-soft: #143530; } }
:root[data-theme="dark"] { --sale: #6FD3BE; --sale-soft: #143530; }
.tag-sale { background: var(--sale-soft); color: var(--sale); }
.cover-badges .tag-sale { background: #0F6B5C; color: #fff; }
.sale-line { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.job-card.is-vip .sale-line { color: var(--vip-ink-2); }
.buyer-tips { padding: 16px 18px; border-radius: var(--radius); background: var(--sale-soft); }
.buyer-tips h3 { color: var(--sale) !important; }
.buyer-tips ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 14px; }
.kind-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.field-end { justify-content: flex-end; padding-bottom: 12px; }

/* ---------- Maps ---------- */
.map-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.map-box { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); min-height: max(520px, calc(100vh - 180px)); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.map-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); align-content: start; gap: 14px; max-height: max(760px, calc(100vh - 180px)); overflow-y: auto; padding-right: 4px; }
.map-list .job-cover { aspect-ratio: 16 / 5; }
@media (max-width: 1000px) { .map-split { grid-template-columns: 1fr; } .map-box { position: relative; top: 0; min-height: 0; } .map-list { max-height: none; overflow: visible; } }
.map-mini { position: relative; top: 0; min-height: 220px; height: 220px; margin-top: 10px; }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); }
.svg-map { display: block; width: 100%; height: auto; }
.map-box > .svg-map { position: absolute; inset: 0; height: 100%; }
@media (max-width: 1000px) { .map-box > .svg-map { position: static; height: auto; } }
.svg-map .map-bg { fill: var(--surface-2); }
.svg-map .grid-line { fill: none; stroke: var(--line); stroke-width: 1; }
.svg-map .ring { fill: none; stroke: var(--accent); stroke-opacity: .35; stroke-dasharray: 4 5; }
.svg-map .ring-label, .svg-map .scale text { fill: var(--ink-3); font: 600 12px var(--body); }
.svg-map .scale line { stroke: var(--ink-3); stroke-width: 2; }
.svg-map .you circle { fill: #2B6CB0; }
.svg-map .you .you-halo { fill: #2B6CB0; fill-opacity: .18; }
.svg-map .you text { fill: var(--ink); font: 700 12px var(--body); text-anchor: middle; }
.svg-map .pin { cursor: pointer; outline: none; }
.svg-map .pin rect, .svg-map .pin path { fill: var(--surface); stroke: var(--ink-3); stroke-width: 1; }
.svg-map .pin text { fill: var(--ink); font: 700 12px var(--body); text-anchor: middle; }
.svg-map .pin.featured rect, .svg-map .pin.featured path { fill: var(--accent); stroke: var(--accent); }
.svg-map .pin.featured text { fill: var(--accent-ink); }
.svg-map .pin.vip rect, .svg-map .pin.vip path { fill: var(--vip-bg); stroke: var(--gold); stroke-width: 1.5; }
.svg-map .pin.vip text { fill: var(--gold); }
.svg-map .pin:hover rect, .svg-map .pin:focus-visible rect { stroke: var(--ink); stroke-width: 2; }
.map-note { position: absolute; left: 10px; right: 10px; bottom: 8px; margin: 0; font-size: 12px; color: var(--ink-3); text-align: right; pointer-events: none; }
.map-pill { padding: 4px 10px; border-radius: 999px; background: #fff; color: #241A20; border: 1px solid #8C7B84; font: 700 12px var(--body); white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.2); cursor: pointer; }
.map-pill.featured { background: var(--accent); border-color: var(--accent); color: #fff; }
.map-pill.vip { background: #2C1528; border-color: #C9A04A; color: #E0B25E; }
.map-you { width: 16px; height: 16px; border-radius: 50%; background: #2B6CB0; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(43,108,176,.2); }
.where { color: var(--ink-2); }
.map-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Contact & apply ---------- */
.contact-stack { display: flex; flex-direction: column; gap: 12px; }
.contact-who { display: flex; flex-direction: column; gap: 2px; }
.contact-who .field-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.apply-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid var(--gold); }
.apply-card .input, .apply-card .select { background: var(--surface); }
.inline-alert.ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- VIP options (post flow) ---------- */
.plans-stack { grid-template-columns: 1fr; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.vip-card { border: 2px solid var(--gold); }
.vip-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.vip-card.is-locked fieldset { opacity: .5; }
.vip-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.vip-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.vip-cta { margin-left: auto; background: var(--gold); border-color: var(--gold); color: #1d1206; }
.vip-option { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 12px; background: var(--surface-2); }
.vip-option .input, .vip-option .select, .vip-option .textarea { background: var(--surface); }
.vip-sub { padding-left: 28px; }
@media (max-width: 480px) { .vip-sub { padding-left: 0; } }
.check-lg > span { display: flex; flex-direction: column; gap: 3px; }
.check-lg b { font-size: 15px; }
.check-lg .hint { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.summary-row.sub { font-size: 14px; color: var(--ok); padding-block: 2px; }

/* ---------- Agent add-on ---------- */
.addon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: start; margin-top: 18px; padding: 22px 24px; border-radius: 18px; border: 2px dashed var(--gold); background: var(--gold-soft); }
.addon-body { display: flex; flex-direction: column; gap: 6px; }
.addon-title { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.addon-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.addon-list li::before { content: "✓ "; color: var(--gold); font-weight: 800; }
.addon-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.addon-price strong { font-family: var(--display); font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.addon-price span { color: var(--ink-3); font-size: 14px; }
.addon-price small { color: var(--ink-3); font-size: 12px; max-width: 16em; margin-top: 6px; }
@media (max-width: 700px) { .addon { grid-template-columns: auto minmax(0, 1fr); } .addon-price { grid-column: 1 / -1; align-items: flex-start; text-align: left; } }
.addon-card { border: 2px dashed var(--gold); }
.addon-card .vip-head .addon-price { margin-left: auto; }
.addon-card .addon-price strong { font-size: 28px; }
.btn-gold { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: #1d1206; border-color: var(--gold); }

/* ---------- Agent panel (dashboard) ---------- */
.agent-off { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); margin: 0; }
.agent-panel { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.agent-panel > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; }
.agent-panel > summary::-webkit-details-marker { display: none; }
.agent-panel > summary > span:first-child::before { content: "▸ "; color: var(--gold); }
.agent-panel[open] > summary > span:first-child::before { content: "▾ "; }
.agent-body { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.agent-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px; border-radius: 12px; background: var(--vip-bg); color: var(--vip-ink); }
.agent-card .cand-meta { color: var(--vip-ink-2); }
.agent-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1d1206; font-family: var(--display); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.agent-terms { display: flex; gap: 20px; margin: 0 0 0 auto; flex-wrap: wrap; }
.agent-terms dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--vip-ink-2); }
.agent-terms dd { margin: 2px 0 0; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.pipeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.stage { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: var(--surface-2); min-width: 0; }
.stage h4 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); display: flex; justify-content: space-between; }
.stage h4 span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.stage-offer { background: var(--accent-soft); }
.stage-offer h4 { color: var(--accent); }
.stage-hired { background: var(--ok-soft); }
.stage-hired h4 { color: var(--ok); }
.stage-empty { color: var(--ink-3); font-size: 13px; margin: 0; }
.cand { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.cand.needs { border-color: var(--accent); }
.cand-top { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.cand-meta { color: var(--ink-3); font-size: 12px; }
.cand-meta b { color: var(--ink); }
.cand-agreed { font-weight: 700; color: var(--ok); font-size: 13px; }
.cand-note { color: var(--ink-2); font-size: 12px; margin: 2px 0 0; }
.cand-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.messages { display: flex; flex-direction: column; gap: 10px; }
.messages h4 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.msg-list { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 80%; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.msg.owner { align-self: flex-end; background: var(--ink); color: var(--bg); }
.msg-who { display: block; font-size: 11px; opacity: .7; margin-bottom: 2px; }
.msg-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-demo .job-card { transform: none; }
}

/* Bot trap: a form field people never see (lib/api.js isBot) */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* Muse: support ticket filed */
.muse-ticket { padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); font-size: 14px; }

/* ---------- Plan tiers: higher plans stand out (2026-09 refresh) ---------- */
/* Phones list the best plan first */
@media (max-width: 900px) {
  .plans .plan.vip { order: -2; margin-top: 10px; }
  .plans .plan.featured { order: -1; }
}
/* Basic: plain and quiet */
.plan.basic { background: var(--surface-2, var(--surface)); box-shadow: none; }
.plan.basic .plan-price strong { font-size: 34px; }
.plan.basic .plan-name { font-size: 22px; }
/* Featured: rose glow and ribbon */
.plan.featured { box-shadow: 0 0 0 1px var(--accent), 0 22px 50px -28px color-mix(in srgb, var(--accent) 80%, transparent); }
.plan.featured::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff)); }
.plan.featured .plan-price strong { color: var(--accent); }
/* VIP: gold glow that breathes, shine across the card */
.plan.vip { overflow: hidden; animation: vip-glow 3.2s ease-in-out infinite; }
.plan.vip .plan-flag { z-index: 2; }
.plan.vip::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 236, 190, .16), transparent); transform: skewX(-18deg); animation: vip-shine 4.5s ease-in-out infinite; pointer-events: none; }
.plan.vip .plan-price strong { font-size: 54px; text-shadow: 0 2px 18px rgba(243, 212, 139, .35); }
.plan.vip .vip-flag { top: 12px; right: 14px; }
.plan.vip .plan-top { padding-right: 120px; }
@keyframes vip-glow { 0%, 100% { box-shadow: 0 0 0 2px #E0B25E, 0 26px 60px -26px rgba(156, 111, 30, .7); } 50% { box-shadow: 0 0 0 3px #F3D48B, 0 30px 80px -20px rgba(224, 178, 94, .75); } }
@keyframes vip-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
/* Visibility meter */
.reach { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.reach .bars { display: inline-flex; gap: 4px; }
.reach .bars b { width: 26px; height: 8px; border-radius: 4px; background: var(--line); }
.reach-basic .bars b.on { background: var(--nude); }
.reach-featured .bars b.on { background: var(--accent); }
.reach-vip .bars b.on { background: linear-gradient(90deg, #F3D48B, #D4A548); box-shadow: 0 0 10px rgba(243, 212, 139, .6); }
.reach strong { color: var(--ink); font-size: 13px; }
.plan.vip .reach { color: var(--vip-ink-2); }
.plan.vip .reach strong { color: #F3D48B; }
.plan.vip .reach .bars b:not(.on) { background: rgba(255, 255, 255, .15); }
/* "VIP for only $X more" nudge in the posting flow */
.vip-nudge { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: radial-gradient(120% 120% at 100% 0%, #5A2A4F, var(--vip-bg) 60%); color: var(--vip-ink); box-shadow: 0 0 0 2px #E0B25E; flex-wrap: wrap; }
.vip-nudge p { flex: 1 1 200px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--vip-ink-2); }
.vip-nudge p b { color: #F3D48B; }
.vip-nudge .btn { min-height: 44px; }

/* ---------- Ad cards by plan ---------- */
.job-grid { grid-auto-flow: row dense; }
/* VIP: gold frame, shine over the cover, double width on wide screens */
.job-card.is-vip { border-width: 2px; }
.job-card.is-vip .job-cover { aspect-ratio: 16 / 8; }
.job-card.is-vip .job-cover::after { content: ""; position: absolute; top: 0; bottom: 0; left: -50%; width: 35%; background: linear-gradient(100deg, transparent, rgba(255, 240, 200, .35), transparent); transform: skewX(-18deg); animation: vip-shine 5s ease-in-out infinite; pointer-events: none; }
.job-card.is-vip .plan-badge.vip { background: linear-gradient(90deg, #F3D48B, #D4A548); box-shadow: 0 0 0 2px rgba(29, 18, 6, .25), 0 4px 14px rgba(243, 212, 139, .7); font-size: 12px; padding: 5px 12px; }
.job-card.is-vip .job-title { font-size: 1.12em; }
@media (min-width: 900px) { .job-grid .job-card.is-vip { grid-column: span 2; } }
/* Featured: rose frame with glow */
.job-card.is-featured { box-shadow: 0 14px 34px -22px color-mix(in srgb, var(--accent) 90%, transparent); }
.job-card.is-featured .plan-badge.featured { box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 55%, transparent); }
/* Basic: compact row with a small picture */
.job-card.is-basic { flex-direction: row; align-items: stretch; }
.job-card.is-basic .job-body { flex: 1; min-width: 0; padding-left: 12px; }
.job-thumb { flex: 0 0 100px; padding: 14px 0 14px 14px; position: relative; }
.job-thumb img, .job-thumb span { display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; border-radius: 12px; object-fit: cover; }
/* Salon name on the Basic card's tile, in the same lettering as the big covers */
.job-thumb span { padding: 8px; text-align: center; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 17px; line-height: 1.12; color: rgba(255, 255, 255, .95); text-shadow: 0 1px 6px rgba(0, 0, 0, .2); overflow: hidden; overflow-wrap: anywhere; }
.job-thumb span.long { font-size: 14px; }
.job-thumb .thumb-name { position: absolute; left: 14px; bottom: 14px; width: 100px; padding: 4px 6px; border-radius: 0 0 12px 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.job-card.is-basic .job-title { font-size: .98em; }
.job-card.is-basic .job-tags .tag:nth-child(n+4) { display: none; }

/* ---------- Phones ---------- */
/* Slim filter bar above the ads (replaces the sidebar) */
.fbar { position: relative; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.fbar > * { flex-shrink: 0; }
.fb-sel select, .fb-where select {
  appearance: none; -webkit-appearance: none; height: 38px; max-width: 230px; padding: 0 30px 0 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font: 600 14px var(--body); color: var(--ink); background-color: var(--bg);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.fb-sel.is-on select { border: 2px solid var(--accent); color: var(--accent); background-color: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.fb-chip { height: 38px; }
.fb-loc, .fb-where { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 4px 0 12px; border-radius: 999px; background: var(--bg); }
.fb-loc { flex: 1 1 200px; max-width: 300px; border: 1px solid var(--line); }
.fb-loc input { flex: 1; min-width: 0; border: 0; background: transparent; font: 14px var(--body); color: var(--ink); outline: none; }
.fb-loc:focus-within { border-color: var(--ink); }
.fb-where { border: 2px solid var(--ink); font-size: 14px; }
.fb-where select { height: 30px; padding-left: 10px; border: 0; background-color: var(--surface); }
.fb-where .loc-pin, .fb-loc .loc-pin { transform: scale(.8); }
.fb-go, .fb-gps, .fb-x { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer; font-size: 15px; }
.fb-go { background: var(--ink); color: var(--bg); }
.fb-gps, .fb-x { background: transparent; color: var(--ink-2); }
.fb-clear { margin-left: auto; }
.fb-clear .btn[disabled] { display: none; }
.results-head:has(> .results-tools:only-child) { justify-content: flex-end; margin-bottom: 10px; }
@media (max-width: 700px) {
  .fbar { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: -16px; padding: 8px 16px; border-radius: 0; border-inline: 0; }
  .fbar::-webkit-scrollbar { display: none; }
  .fb-loc { flex: 0 0 210px; }
  .fb-sel select { max-width: 180px; }
  .fb-clear { margin-left: 0; }
}
body { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); }
.fab-icon { display: none; font-size: 22px; line-height: 1; }
@media (max-width: 600px) {
  .muse-fab:not([aria-expanded="true"]) { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .muse-fab .fab-label, .muse-fab .muse-dot { display: none; }
  .muse-fab .fab-icon { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .plan.vip, .plan.vip::after, .job-card.is-vip .job-cover::after { animation: none; }
}
.plan .vip-flag { background: linear-gradient(90deg, #F3D48B, #C9A04A); color: #1d1206; }
@media (min-width: 900px) { .job-grid .job-card.is-vip .job-cover { aspect-ratio: auto; height: 210px; } }
.vip-nudge .btn-vip { background: linear-gradient(90deg, #F3D48B, #D4A548); color: #1d1206; border: 0; }
/* Phones: Call / Text always at hand in an ad */
.call-bar { display: none; }
@media (max-width: 600px) {
  .call-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; position: sticky; bottom: 0; z-index: 3; padding: 10px 16px calc(env(safe-area-inset-bottom, 0px) + 10px); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, .35); }
  .call-bar .btn { min-height: 50px; font-size: 16px; }
  body:has(.drawer) .muse-fab { display: none; }
}
/* Phones: title, count, sort and list/map on as few lines as possible */
@media (max-width: 700px) {
  .results-head { gap: 6px 10px; margin-bottom: 10px; }
  .results-head h1 { font-size: 24px; }
  .results-tools { flex-wrap: nowrap; gap: 6px; width: 100%; }
  .results-tools .select-sm { min-height: 34px; padding-inline: 10px 26px; font-size: 13px; }
  .results-tools .seg { margin-left: auto; padding: 3px; flex-wrap: nowrap; }
  .results-tools .seg button { padding: 6px 10px; font-size: 13px; }
  .results-count { font-size: 13px; white-space: nowrap; }
}
@media (max-width: 700px) { .fb-clear:has(.btn:not([disabled])) { order: -1; } }
@media (min-width: 701px) { .fbar { gap: 6px; } .fb-sel select { max-width: 170px; } }
.map-embed { display: block; width: 100%; height: 240px; border: 0; }
/* Google map view: pins by plan, preview card, list of ads inside the map area */
.gmap { position: absolute; inset: 0; }
.map-box:has(.gmap) { min-height: max(520px, calc(100vh - 200px)); }
.map-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.map-count { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.map-more { grid-column: 1 / -1; text-align: center; color: var(--ink-3); font-size: 14px; }
.map-pill.basic { background: #fff; color: #4A3A42; border-color: #B9AAB2; font-weight: 600; }
.map-pill.featured { font-size: 13px; box-shadow: 0 3px 10px rgba(179, 20, 58, .45); }
.map-pill.vip { font-size: 14px; padding: 5px 12px; background: linear-gradient(90deg, #F3D48B, #D4A548); color: #1d1206; border: 2px solid #1d1206; box-shadow: 0 4px 14px rgba(212, 165, 72, .8); }
.map-pill.hl, .map-pill:hover { transform: scale(1.15); z-index: 99; outline: 3px solid #2B6CB0; }
.map-pill { transition: transform .12s; }
.map-pill.drop { animation: pin-drop .5s cubic-bezier(.3, 1.5, .6, 1) both; }
@keyframes pin-drop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.map-preview { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; font: 14px/1.4 var(--body); color: #241A20; padding: 2px; }
.map-preview .muted { color: #6E5F67; font-size: 13px; }
.map-preview .pay { color: #1F7A4A; }
.map-preview .btn { margin-top: 6px; }
@media (max-width: 1000px) { .map-box:has(.gmap) { min-height: 62vh; } }
@media (prefers-reduced-motion: reduce) { .map-pill.drop { animation: none; } }
.map-cluster { display: grid; place-items: center; width: var(--s, 34px); height: var(--s, 34px); border-radius: 50%; background: rgba(179, 20, 58, .88); color: #fff; font: 800 13px var(--body); border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(179, 20, 58, .25), 0 3px 10px rgba(0, 0, 0, .3); cursor: pointer; }
/* Pins: salon name on top, pay below */
.map-pill { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 150px; padding: 4px 10px 5px; border-radius: 12px; line-height: 1.2; text-align: center; }
.map-pill b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 12px; }
.map-pill span { font-weight: 600; font-size: 11px; opacity: .92; white-space: nowrap; }
.map-pill.vip b { font-size: 13px; }
.map-pill.vip span { font-size: 12px; font-weight: 700; }
.map-pill.basic b { font-weight: 700; }
/* Message form in the chat when the AI can't answer */
.muse-tf { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.muse-tf textarea, .muse-tf input:not(.hp) { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: 15px var(--body); background: var(--bg); color: var(--ink); }
.muse-tf .err { margin: 0; color: var(--accent); font-size: 13px; min-height: 0; }
.muse-tf .err:empty { display: none; }

/* ---------- Color gallery (#colors) ---------- */
.cg-search { max-width: 340px; }
.cg-pick { position: relative; overflow: hidden; }
.cg-pick input[type=color] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }
.cg-families { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 16px; }
.cg-fam { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.cg-fam[aria-pressed="true"] { border: 2px solid var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.cg-famdot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.cg-matchbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 2px solid var(--accent); font-weight: 600; }
.cg-matchdot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.cg-matchbar .btn { margin-left: auto; }
.cg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cg-swatch { position: relative; height: 150px; }
.cg-heart { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: #9a8f95; font-size: 18px; line-height: 1; cursor: pointer; }
.cg-heart.on, .cg-heart:hover { color: #e91e8c; background: #fff; }
.cg-info { display: flex; gap: 10px; align-items: center; padding: 10px 12px 12px; }
.cg-dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(0, 0, 0, .12); }
.cg-info > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cg-info b { font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.cg-info span { font-size: 12px; color: var(--ink-3); }
.cg-info em { align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2, #f3ecef); color: var(--ink-2); }
.cg-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
/* [tryon] */
.cg-try { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 12px var(--body); cursor: pointer; }
.cg-try:hover { border-color: var(--ink-3); }
/* [tryon] Nail try-on (public/tryon.js): full screen, the photo as large as the screen allows */
body.to-open { overflow: hidden; }
.to-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); }
.to-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.to-head b { font-size: 16px; }
.to-body { flex: 1; overflow: auto; padding: 14px 16px 24px; }
.to-start { max-width: 520px; margin: 24px auto; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.to-pick { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.to-work { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
/* [tryon] on the color gallery: a panel at the top that stays in view while the gallery scrolls under it */
.cg-tryon:empty { display: none; }
.cg-tryon { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 30; margin: 10px 0 14px; }
.to-overlay.to-inline { position: static; inset: auto; z-index: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-height: calc(100vh - 90px); overflow: hidden; }
.to-inline .to-head { padding: 8px 12px; }
.to-inline .to-body { padding: 10px 12px 12px; }
.to-inline .to-start { margin: 8px auto; gap: 10px; }
@media (max-width: 600px) { .to-inline .to-head b { font-size: 14px; } .to-inline .to-tools { gap: 6px; } .to-inline .to-tools .btn { padding: 6px 10px; } .to-inline .to-status, .to-inline .to-live-status { font-size: 12px; } }
.to-cur { display: flex; align-items: center; gap: 6px; min-width: 0; margin-left: auto; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.to-cur span:last-child { overflow: hidden; text-overflow: ellipsis; }
.to-from-sample { flex: none; font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.to-cur-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.cg-card.cg-trying { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 12px; }
.to-live { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.to-live-status { min-height: 1.4em; margin: 0; text-align: center; }
.to-colors { max-width: 900px; margin: 10px auto 0; }
.to-stage { position: relative; display: flex; justify-content: center; width: 100%; }
.to-stage canvas { display: block; border-radius: 10px; max-width: 100%; }
.to-handles { position: absolute; top: 0; left: 50%; transform: translateX(-50%); touch-action: none; cursor: crosshair; }
.to-status { min-height: 1.4em; margin: 0; text-align: center; }
.to-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; }
.to-fix[aria-pressed="false"] { opacity: .6; }
.to-fix[aria-pressed="true"] { border-color: #E0B25E; }
.to-range { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.to-range input { width: 120px; }
.to-colors { display: flex; flex-direction: column; gap: 8px; }
.to-swatches { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; }
.to-sw { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.to-sw.on { border-color: var(--ink); }
.to-give { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: left; font-size: 13px; color: var(--ink-2); max-width: 520px; margin: 0 auto; }
.cg-report { align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--ink-3); font: 12px var(--body); text-decoration: underline; cursor: pointer; }
.cg-report:hover { color: var(--ink); }
.cgr-color { display: flex; gap: 12px; align-items: center; }
.cgr-color img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.cgr-color > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cgr-color span:not(.cg-dot) { font-size: 13px; color: var(--ink-3); }
.cgr-suggest { display: flex; gap: 10px; align-items: center; }
.cgr-suggest input[type="color"] { width: 56px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.cg-pages { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 28px 0 8px; }
.cg-pg { min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.cg-pg[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.cg-pg[disabled] { opacity: .35; cursor: default; }
.cg-gap { color: var(--ink-3); }
.cg-range { font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.cg-cam-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(0, 0, 0, .75); padding: 12px; }
.cg-cam-box { width: min(480px, 100%); border-radius: 20px; overflow: hidden; background: #1a1420; color: #fff; }
.cg-cam-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.cg-cam-head .btn { color: #fff; }
.cg-cam-view { position: relative; aspect-ratio: 4 / 3; background: #000; }
.cg-cam-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-reticle { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cg-reticle i { width: 84px; height: 84px; border: 2px solid rgba(255, 255, 255, .75); border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); grid-area: 1 / 1; }
.cg-reticle b { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .5); grid-area: 1 / 1; }
.cg-live { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .65); }
.cg-live-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); background: #888; }
.cg-live code { font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.cg-cam-acts { display: flex; gap: 10px; padding: 14px 16px 6px; }
.cg-cam-acts .btn-primary { flex: 1; }
.cg-cam-tip { margin: 0; padding: 0 16px 14px; font-size: 12px; color: rgba(255, 255, 255, .55); text-align: center; }
@media (max-width: 600px) {
  .cg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cg-swatch { height: 120px; }
  .cg-families { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cg-fam { flex-shrink: 0; }
}

/* ---------- Classes (Lớp học) ---------- */
.tag-class { background: #EDE3F7; color: #5B2D86; }
.job-card.is-vip .tag-class { background: rgba(237, 227, 247, .18); color: #E7D4FA; }
.class-line { font-size: 13px; font-weight: 600; color: #5B2D86; }
.job-card.is-vip .class-line { color: #D7C0F2; }
.travel-hero .btn { margin-top: 10px; }

/* Examples ("Tin mẫu") and "Xem thêm" */
.more-row { display: flex; justify-content: center; margin: 22px 0 6px; }
.more-row .btn { min-width: 220px; }
.example-note { display: block; }
.example-note b { display: block; font-size: 15px; }
.example-note .btn { display: inline-flex; width: auto; }
.tag-example { background: #E9E4E7; color: #5E5058; border: 1px dashed #A99BA3; }

.cg-info b small { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.cg-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.cg-tags .cg-line { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent); }
.cg-credit { text-align: center; margin-top: 4px; }
/* Computer-size header that doesn't fit (fitHeader in app.js): 1 hides the tagline, 2 tightens the spacing,
   3 shortens the post button; after that the least-used menu items move into "More" */
.site-header.fit-1 .brand-tag { display: none; }
.site-header.fit-2 .header-row { gap: 12px; }
.site-header.fit-2 .main-nav a { padding: 8px 9px; }
.site-header.fit-3 .hdr-post .lbl-long { display: none; }
.site-header.fit-3 .hdr-post .lbl-short { display: inline; }
.nav-more { position: relative; flex-shrink: 0; }
.nav-more > summary { list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 14px; white-space: nowrap; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary:hover, .nav-more[open] > summary, .nav-more.has-current > summary { color: var(--ink); background: var(--surface-2); }
.nav-more-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; min-width: 200px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); }
.nav-more-pop a { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.nav-more-pop a:hover, .nav-more-pop a[aria-current="page"] { background: var(--surface-2); }
@media (max-width: 880px) { .nav-more { display: none; } }
@media (min-width: 881px) {
  .main-nav { min-width: 0; flex: 0 1 auto; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .header-tools { flex-shrink: 0; }
}

/* Finish chips: a tiny picture of each finish */
.cg-finishes { margin-bottom: 8px; }
.cg-fam small { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.cg-fin { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex-shrink: 0; background: #d8456b; }
.cg-fin-Solid { background: #d8456b; }
.cg-fin-Shimmer { background: linear-gradient(135deg, #b83a5d 20%, #f4b7c8 50%, #b83a5d 80%); }
.cg-fin-Glitter { background: radial-gradient(circle at 30% 30%, #fff 0 1.5px, transparent 2px), radial-gradient(circle at 70% 60%, #ffe9a8 0 1.5px, transparent 2px), radial-gradient(circle at 40% 75%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 75% 25%, #ffd1e0 0 1px, transparent 1.5px), #9c2a4b; }
.cg-fin-CatEyes { background: linear-gradient(120deg, #1d1440 30%, #c9b6ff 48%, #fff 50%, #c9b6ff 52%, #1d1440 70%); }
.cg-fin-Chrome { background: linear-gradient(135deg, #8e9299, #f4f5f7 40%, #7b8088 60%, #e9ebee); }
.cg-fin-Holographic { background: conic-gradient(#ff6b9a, #ffd36b, #7dffb0, #6bc8ff, #c28bff, #ff6b9a); }
.cg-fin-Jelly { background: rgba(216, 69, 107, .45); border-color: rgba(216, 69, 107, .7); }
.cg-fin-Neon { background: #ff2bd6; box-shadow: 0 0 6px #ff2bd6; }
.cg-fin-Glow { background: #c8ff9e; box-shadow: 0 0 6px #7dff4d; }
.cg-fin-Thermal { background: linear-gradient(90deg, #ff5e7e 50%, #7a5cff 50%); }
.cg-fin-Reflective { background: radial-gradient(circle at 35% 35%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 65% 55%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 45% 70%, #fff 0 1px, transparent 1.5px), #3a3d45; }
.cg-fin-Matte { background: #b98b95; }

/* Theme button (☀️ / 🌙) next to VI/EN */
.theme-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.theme-btn:hover { border-color: var(--accent); }

/* First-visit guide: dimmed page, the step's button lit up, and a card next to it */
.guide { position: fixed; inset: 0; z-index: 90; }
.guide-shade { position: absolute; inset: 0; }
.guide.is-center .guide-shade { background: rgba(6, 2, 4, .74); animation: fade .2s; }
.guide-spot { position: fixed; border-radius: 14px; box-shadow: 0 0 0 3px var(--accent), 0 0 0 9999px rgba(6, 2, 4, .74); pointer-events: none; transition: left .2s, top .2s, width .2s, height .2s; }
.guide-card { position: fixed; width: min(380px, calc(100vw - 32px)); padding: 22px 20px 16px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); animation: fade .2s; }
.guide.is-center .guide-card { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; }
.guide-card.is-sheet { left: 16px; right: 16px; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); top: auto; }
.guide-card h2 { margin: 0 32px 8px 0; font-family: var(--display); font-size: 22px; line-height: 1.2; }
.guide-card p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.guide-card p b { color: var(--ink); }
.guide-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); font-size: 16px; cursor: pointer; }
.guide-x:hover { background: var(--surface-2); color: var(--ink); }
.guide-lang { margin-bottom: 12px; }
.guide-count { margin: 0 0 4px !important; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent) !important; }
.guide-paths { display: grid; gap: 10px; margin-bottom: 8px; }
.guide-path { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.guide-path:hover { border-color: var(--accent); }
.guide-path span { grid-row: span 2; font-size: 28px; }
.guide-path b { font-size: 16px; }
.guide-path small { color: var(--ink-3); font-size: 13px; }
.guide-nav { display: flex; justify-content: space-between; gap: 8px; }

/* ---------- Phones: one-row header, ☰ menu, short banners ---------- */
.bar-short { display: none; }
.menu-btn { display: none; }
.hdr-set { display: flex; gap: 10px; align-items: center; }
.hdr-post .lbl-short { display: none; }
@media (max-width: 880px) {
  .header-row { gap: 6px 8px; padding-block: 8px 0; min-height: 0; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 19px; }
  .header-tools { gap: 8px; }
  .hdr-set, .header-tools .acct { display: none; }
  .menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; flex-shrink: 0; }
  .menu-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
  .main-nav { gap: 2px; padding-block: 2px 6px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .main-nav a { padding: 6px 11px; font-size: 14px; }
}
@media (max-width: 520px) {
  .hdr-post .lbl-long { display: none; }
  .hdr-post .lbl-short { display: inline; }
  .hdr-post { padding-inline: 14px; }
}
@media (max-width: 640px) {
  .demo-bar, .promo-bar { padding-block: 5px; font-size: 12.5px; }
  .demo-bar .bar-long, .promo-bar .bar-long { display: none; }
  .demo-bar .bar-short, .promo-bar .bar-short { display: block; width: 100%; min-height: 24px; line-height: 24px; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
  .promo-bar .bar-short { font-weight: 700; text-decoration: none; margin: 0; }
  .demo-bar.is-open .bar-long { display: block; padding-top: 4px; }
}
body.menu-open { overflow: hidden; }
.site-menu { position: fixed; inset: 0; z-index: 80; }
.menu-shade { position: absolute; inset: 0; background: rgba(10, 6, 8, .5); animation: fade-in .15s ease; }
.menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 88vw); background: var(--surface); color: var(--ink); overflow-y: auto; padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px calc(env(safe-area-inset-bottom, 0px) + 20px); box-shadow: -12px 0 40px rgba(0, 0, 0, .35); animation: menu-in .18s ease; }
@keyframes menu-in { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 18px; }
.menu-x { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; font-size: 15px; }
.menu-panel h3 { margin: 16px 4px 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.menu-acct { display: grid; gap: 6px; padding: 10px; border-radius: 14px; background: var(--surface-2); }
.menu-acct a, .menu-links a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.menu-acct .menu-login { background: var(--accent); color: var(--accent-ink); justify-content: center; }
.menu-links { display: grid; gap: 2px; }
.menu-links a:hover, .menu-acct a:hover { background: var(--surface-2); }
.menu-links a[aria-current="page"], .menu-acct a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.menu-set { display: grid; gap: 8px; }
.mseg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.mseg button { min-height: 40px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 600 14px var(--body); cursor: pointer; }
.mseg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
/* Color gallery on phones: tools as an icon group, shorter heading */
.cg-tools { display: flex; gap: 6px; flex-shrink: 0; }
@media (max-width: 640px) {
  .cg-tools .fb-lbl { display: none; }
  .cg-tools .fb-chip { min-width: 40px; justify-content: center; padding-inline: 10px; }
  .cg-page .results-head h1 { font-size: 24px; line-height: 1.2; }
  .cg-page .results-head .section-sub { display: none; }
  .cg-page .results-head { margin-bottom: 8px; }
}
@media (max-width: 700px) {
  /* Bảng màu on phones: search + tool icons on one row, the two filters under it (nothing hidden off-screen) */
  .cg-page .fbar { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 8px; border-radius: 14px; border-inline: 1px solid var(--line); }
  .cg-page .fbar .cg-search { order: 1; flex: 1 1 150px; min-width: 0; max-width: none; }
  .cg-page .fbar .cg-tools { order: 2; }
  .cg-page .fbar .fb-sel { order: 3; flex: 1 1 40%; min-width: 0; }
  .cg-page .fbar .fb-sel select { width: 100%; max-width: none; }
  .cg-page .results-head h1 { font-size: 21px; }
}
/* Owner ads: less common actions under "⋯ Thêm" */
.more-acts { position: relative; }
.more-acts > summary { list-style: none; cursor: pointer; }
.more-acts > summary::-webkit-details-marker { display: none; }
.more-menu { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; display: grid; gap: 2px; min-width: 220px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.more-menu .btn { justify-content: flex-start; border: 0; background: none; width: 100%; text-align: left; }
.more-menu .btn:hover { background: var(--surface-2); }
@media (max-width: 600px) {
  .dash-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-block: 12px 16px; }
  .dash-stats .stat { padding: 8px 8px 6px; }
  .dash-stats dt { font-size: 10px; letter-spacing: .02em; }
  .dash-stats dd { font-size: 20px; }
}
@media (max-width: 760px) { .more-menu { left: 0; right: auto; top: calc(100% + 6px); bottom: auto; max-width: calc(100vw - 48px); } }

/* Bảng màu: "Cách dùng" button and the one-time hint */
.cg-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.cg-help { white-space: nowrap; }
.cg-hint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--surface); font-size: 14px; }
.cg-hint span { flex: 1 1 200px; }
.cg-hint-x { border: 0; background: none; color: var(--ink-3); font-size: 16px; cursor: pointer; width: 32px; height: 32px; }
.guide-paths { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 640px) {
  .cg-page .results-head { align-items: flex-start; }
  .cg-head-side { flex-direction: row-reverse; align-items: center; }
}
