/* filipinova: plain, flat, square. One blue, one small yellow square, hairline borders. */
:root {
  --ink: #111318;
  --muted: #60646c;
  --line: #e4e5e8;
  --bg: #ffffff;
  --soft: #f7f7f8;
  --blue: #0038a8;
  --sun: #fcd116;
  --green: #16794a;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(28px, 4.4vw, 44px); margin: 0 0 12px; }
.h2, .prose h2, .faq h2 { font-size: 22px; margin: 48px 0 16px; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 20px; }

/* header and footer */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav .btn { color: #fff; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }
.foot { border-top: 1px solid var(--line); margin-top: 80px; padding: 40px 0 24px; background: var(--soft); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--muted); font-size: 14px; max-width: 380px; }
.foot h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 4px 0 10px; }
.foot-in > div > a:not(.brand) { display: block; color: var(--ink); text-decoration: none; font-size: 14px; margin: 6px 0; }
.foot .fine { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; border-radius: 0; }
.btn:hover { background: var(--soft); }
.btn-solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-solid:hover { background: #002d86; }
.btn-block { width: 100%; }
.btn-danger { border-color: #b42318; color: #b42318; }
.btn:disabled { opacity: 0.5; cursor: default; }

/* home */
.hero { padding: 56px 0 32px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.sq { width: 10px; height: 10px; background: var(--sun); outline: 1px solid var(--ink); display: inline-block; }
.stats { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; color: var(--muted); }
.stats b { color: var(--ink); font-size: 20px; }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; }
@media (max-width: 900px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-search { grid-column: 1 / -1; } }
.filters input, .filters select, .field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); background: var(--bg); font: 15px/1.3 var(--font); color: var(--ink); border-radius: 0;
}
.filters input:focus, .filters select:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.count { font-size: 14px; margin: 0 0 12px; }
.empty { padding: 32px 0; color: var(--muted); }
.empty-box { border: 1px solid var(--line); padding: 40px 24px; text-align: center; background: var(--soft); }
.empty-box h2 { margin-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); padding: 20px; background: var(--bg); }
.panel h2 { font-size: 18px; margin: 0 0 8px; }
.panel p { margin: 0 0 12px; color: var(--muted); }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.skill-cloud a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.skill-cloud a:hover { border-color: var(--ink); }
.skill-cloud span { color: var(--muted); margin-left: 4px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.card { border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.card:hover { border-color: var(--ink); }
.card-link { display: flex; flex-direction: column; gap: 12px; padding: 16px; color: inherit; text-decoration: none; height: 100%; }
.card-head { display: flex; align-items: center; gap: 12px; }
.card-who { flex: 1; min-width: 0; }
.card-who h3 { font-size: 17px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-who p { margin: 2px 0 0; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.card-rate { text-align: right; white-space: nowrap; }
.card-rate b { font-size: 20px; }
.card-rate span { color: var(--muted); font-size: 14px; }
.card-headline { margin: 0; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; margin-top: auto; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 13px; padding: 3px 8px; border: 1px solid var(--line); background: var(--soft); }
.chips .chip-more { color: var(--muted); background: var(--bg); }
.chips-lg li { padding: 0; }
.chips-lg a { display: block; padding: 5px 10px; color: var(--ink); text-decoration: none; font-size: 14px; }
.chips-lg a:hover { background: var(--bg); }
.avatar { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.avatar-sm { width: 56px; height: 56px; font-size: 18px; }
.avatar-lg { width: 112px; height: 112px; font-size: 36px; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback { font-weight: 700; color: var(--muted); }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.avail-part-time i { background: var(--sun); outline: 1px solid #b89400; }
.avail-not-available i { background: #9aa0a6; }

/* profile */
.crumbs { font-size: 14px; color: var(--muted); margin: 24px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } }
.profile-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.profile-head h1 { margin: 0 0 4px; }
.profile-headline { font-size: 18px; margin: 0 0 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); margin: 0; }
.facts span { display: inline-flex; align-items: center; gap: 4px; }
.profile-main section h2 { font-size: 18px; margin: 36px 0 12px; }
.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.rates tr:last-child th, .rates tr:last-child td { border-bottom: 1px solid var(--line); }
.rates th { color: var(--muted); width: 96px; font-size: 14px; }
.rates td:last-child { text-align: right; font-size: 14px; white-space: nowrap; }
.offerings { padding-left: 20px; margin: 0; }
.offerings li { margin: 4px 0; }
.bio p { margin: 0 0 12px; }
.profile-side { display: grid; gap: 16px; position: sticky; top: 76px; }
@media (max-width: 860px) { .profile-side { position: static; } }
.side-rate { margin: 0 0 4px !important; color: var(--ink) !important; }
.side-rate b { font-size: 28px; }
.contact .btn { margin: 8px 0 12px; }
.mail-shown { display: block; padding: 10px 12px; border: 1px solid var(--line); background: var(--soft); word-break: break-all; margin: 8px 0 12px; font-weight: 600; }
.socials { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.socials a { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); }
.socials a:hover { border-color: var(--ink); }
.safety ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); font-size: 14px; }
.admin { margin-top: 12px; }
.skill-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .skill-list { columns: 1; } }
.skill-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.more { margin-top: 24px; }
.prose p, .prose li { color: #2b2e35; }

/* join form */
.form { display: grid; gap: 28px; }
.form fieldset { border: 1px solid var(--line); padding: 20px; margin: 0; display: grid; gap: 16px; min-width: 0; }
.form legend { font-weight: 700; padding: 0 6px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-weight: 600; font-size: 14px; }
.field small { color: var(--muted); font-size: 13px; }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money input { padding-left: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--line); min-height: 46px; }
.tags:focus-within { outline: 2px solid var(--blue); outline-offset: -1px; }
.tags input { border: 0 !important; outline: none !important; flex: 1; min-width: 140px; padding: 6px !important; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); background: var(--soft); font-size: 14px; }
.tag button { border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 4px; color: var(--muted); }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { border: 1px dashed var(--line); background: var(--bg); padding: 3px 8px; font: 13px var(--font); cursor: pointer; color: var(--muted); }
.suggest button:hover { border-color: var(--ink); color: var(--ink); }
.pkg { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.pkg .btn { padding: 10px 12px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; cursor: pointer; text-decoration: underline; justify-self: start; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.notice { padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--blue); background: var(--soft); }
.notice.error { border-left-color: #b42318; }
.notice.ok { border-left-color: var(--green); }
.signin { border: 1px solid var(--line); padding: 28px; display: grid; gap: 14px; justify-items: start; }
.signin p { margin: 0; color: var(--muted); }
.me { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.narrow > h1:first-child { margin-top: 40px; }
.profile-main > .notice { margin-top: 24px; }

/* ---------- Owner's design (2026-11-04): flag colours, Plus Jakarta Sans, rounded buttons ---------- */
:root {
  --ink: #0e1a4a;
  --muted: #4a5272;
  --blue: #0038a8;
  --blue-dark: #062a80;
  --red: #ce1126;
  --sun: #fcd116;
  --line: #e2e5ee;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3, .brand { letter-spacing: -0.02em; }
.top { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px); }
.top-in { min-height: 72px; }
.brand { gap: 6px; font-size: 24px; font-weight: 800; color: var(--ink); }
.brand b { color: var(--blue); font-weight: 800; }
.brand .logo { flex: none; }
.nav { gap: 32px; }
.nav a { font-weight: 600; font-size: 16px; color: var(--ink); }
@media (max-width: 640px) { .nav { gap: 16px; } .nav a { font-size: 14px; } .nav a:not(.btn) { display: inline; } .brand { font-size: 19px; } }
@media (max-width: 420px) { .nav a:first-child { display: none; } }

.btn { border-radius: 10px; font-weight: 700; }
.btn-solid { background: linear-gradient(180deg, #0b45c4, var(--blue-dark)); border-color: var(--blue-dark); box-shadow: 0 6px 16px rgba(6, 42, 128, 0.22); }
.btn-solid:hover { background: var(--blue-dark); }
.btn-outline { border: 2px solid var(--blue-dark); color: var(--blue-dark); background: #fff; }
.btn-outline:hover { background: #f2f5fc; }
.btn-lg { padding: 15px 26px; font-size: 18px; gap: 10px; }

.hero { padding: 40px 0 8px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px; align-items: center; }
.hero-text { padding: 24px 0; }
.kicker { display: block; font-size: 18px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin: 0 0 18px; }
.hl { background: linear-gradient(transparent 78%, var(--sun) 78%, var(--sun) 96%, transparent 96%); padding: 0 2px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; line-height: 1.04; margin: 0 0 22px; letter-spacing: -0.035em; }
.hero h1 em { font-style: italic; background: linear-gradient(transparent 82%, var(--sun) 82%, var(--sun) 96%, transparent 96%); }
.hero .lede { font-size: 20px; color: #2a3358; max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: auto auto minmax(0, 1.2fr); }
.perks li { display: flex; gap: 10px; align-items: flex-start; padding: 0 18px; border-left: 1px solid var(--line); }
.perks li:first-child { padding-left: 0; border-left: 0; }
.perks svg { flex: none; margin-top: 2px; }
.perks b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.perks span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.hero-art img { display: block; width: 100%; height: auto; max-width: 483px; margin-left: auto; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art img { max-width: 260px; margin: 0 auto; }
  .perks { grid-template-columns: 1fr; gap: 14px; }
  .perks li { padding: 0; border-left: 0; }
}
.browse { padding-top: 32px; }
.browse .h2 { margin-top: 24px; }

.card { border-radius: 14px; }
.card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(14, 26, 74, 0.08); }
.chips li { border-radius: 999px; }
.panel { border-radius: 14px; }
.filters input, .filters select, .field input, .field select, .field textarea, .tags { border-radius: 10px; }
.empty-box, .notice, .signin, .form fieldset, .socials a, .mail-shown { border-radius: 12px; }
.skill-cloud a { border-radius: 999px; }

.foot { margin-top: 0; padding-top: 0; background: #fffaf0; }
.skyline { height: clamp(120px, 20vw, 280px); background: #fff url(/assets/skyline.webp) center bottom / cover no-repeat; margin-top: 64px; }
.foot-in { padding-top: 40px; }
.foot .fine { border-top-color: #f0e6cf; }

/* ---------- Directory redesign (owner, 2026-11-06: "take inspiration from nomads.com and trustmrr.com") ----------
   Photo-first cards with the facts on them (nomads), a dense table view (trustmrr), filters in a sidebar,
   links and tags visible on every card. Smaller, tighter type than the hero. */
[hidden] { display: none !important; }
body { background: #fafbfd; }
.top { background: rgba(255, 255, 255, 0.92); }
.top-in { min-height: 64px; }
.brand { font-size: 21px; }
.nav a { font-size: 15px; }

/* hero: short, so the directory shows above the fold */
.hero { padding: 48px 0 28px; text-align: center; background: #fff; border-bottom: 1px solid var(--line); }
.hero .kicker { font-size: 13px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); margin: 0 auto 14px; max-width: 820px; }
.hero .lede { font-size: 17px; margin: 0 auto 24px; max-width: 600px; color: var(--muted); }
.hero-search { display: flex; align-items: center; gap: 8px; max-width: 560px; margin: 0 auto; padding: 6px 6px 6px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(14, 26, 74, 0.08); color: var(--muted); }
.hero-search:focus-within { border-color: var(--blue); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 16px var(--font); padding: 10px 4px; background: none; color: var(--ink); }
.hero-search .btn { padding: 11px 20px; }
.stats { justify-content: center; gap: 0; margin: 28px auto 0; max-width: 560px; display: grid; grid-template-columns: repeat(3, 1fr); }
.stats li { padding: 0 12px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.stats span { font-size: 13px; color: var(--muted); }
.hero-join { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.hero-join a { font-weight: 700; }
@media (max-width: 600px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 16px; } .stats li:nth-child(3) { border-left: 0; } }

/* directory: sidebar + results */
.browse { padding-top: 28px; }
.dir { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.side { position: sticky; top: 80px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.side summary { list-style: none; display: none; }
.side summary::-webkit-details-marker { display: none; }
.side-in { padding: 16px; display: grid; gap: 18px; max-height: calc(100vh - 100px); overflow: auto; }
.side-group h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.side-group label { display: block; margin-bottom: 6px; }
.side select, .bar select, .bar input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 14px/1.3 var(--font); color: var(--ink); }
.side select:focus, .bar select:focus, .bar input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.area-list { display: grid; gap: 2px; }
.area-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; font: 600 14px/1.2 var(--font); padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.area-btn span { color: var(--muted); font-weight: 500; font-size: 13px; }
.area-btn:hover { background: #f2f4f9; }
.area-btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
.area-btn[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.8); }
.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { font: 600 12.5px/1 var(--font); padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.chip-btn span { color: var(--muted); font-weight: 500; }
.chip-btn:hover { border-color: var(--blue); }
.chip-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-btn[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.8); }
.side .linkbtn { font-size: 13px; }
@media (max-width: 900px) {
  .dir { grid-template-columns: 1fr; gap: 14px; }
  .side { position: static; }
  .side summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 700; cursor: pointer; }
  .side[open] summary { border-bottom: 1px solid var(--line); }
  .side-in { max-height: none; }
}

.bar { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 8px; align-items: center; }
.f-search { position: relative; display: block; }
.f-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; height: 16px; }
.bar .f-search input { padding-left: 34px; }
.views { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.views button { border: 0; background: none; padding: 9px 11px; cursor: pointer; color: var(--muted); display: flex; }
.views button + button { border-left: 1px solid var(--line); }
.views button[aria-pressed="true"] { color: var(--blue); background: #eef3ff; }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr auto; } .bar .f-search { grid-column: 1 / -1; } }
.active-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; min-height: 28px; }
.count { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.active { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font: 600 12.5px/1 var(--font); padding: 6px 10px; border-radius: 999px; border: 1px solid #c9d6f5; background: #eef3ff; color: var(--blue-dark); cursor: pointer; }
.pill:hover { border-color: var(--blue); }

/* cards: photo on top with name, place and rate on it */
.grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow 0.15s, transform 0.15s; }
.card:hover { border-color: var(--line); box-shadow: 0 14px 32px rgba(14, 26, 74, 0.12); transform: translateY(-2px); }
.cover { position: relative; aspect-ratio: 5 / 4; background: linear-gradient(135deg, #0b45c4, #062a80); overflow: hidden; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .cover img { transform: scale(1.04); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 16, 50, 0) 40%, rgba(6, 16, 50, 0.85)); pointer-events: none; }
.cover-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 800; color: rgba(255, 255, 255, 0.85); }
.cover .rate { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); font-size: 13px; color: var(--ink); }
.cover .rate b { font-size: 14px; }
.rate-ask { color: var(--muted) !important; }
.flag { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 8px; border-radius: 999px; background: rgba(6, 16, 50, 0.6); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.cover-who { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; }
.cover-who h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.15; }
.cover-who p { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.88); }
.cover-who p span { display: inline-flex; align-items: center; gap: 3px; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; flex: 1; }
.card-headline { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-areas { margin: -4px 0 0; font-size: 12px; font-weight: 600; color: var(--blue); }
.vtags { display: flex; flex-wrap: wrap; gap: 5px; }
.vtag { position: relative; z-index: 2; font: 500 12px/1 var(--font); padding: 5px 8px; border-radius: 6px; background: #f2f4f9; color: #2a3358; text-decoration: none; border: 1px solid transparent; }
.vtag:hover { border-color: var(--blue); color: var(--blue); }
.vtag.on { background: var(--blue); color: #fff; }
.vtag-more { font-size: 12px; color: var(--muted); padding: 5px 2px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.card-go { position: relative; z-index: 2; font-size: 13px; font-weight: 700; text-decoration: none; }
.icons { display: flex; gap: 6px; flex-wrap: wrap; }
.ic { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
.ic:hover { border-color: var(--blue); color: var(--blue); background: #eef3ff; }
.icons-lg { margin-top: 12px; }
.icons-lg .ic { width: 40px; height: 40px; border-radius: 10px; }
.icons-lg .ic svg { width: 20px; height: 20px; }
.card .mail-shown, td .mail-shown { position: relative; z-index: 2; flex-basis: 100%; margin: 6px 0 0; padding: 6px 8px; font-size: 13px; border-radius: 8px; }

/* table view */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.lb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.lb th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.lb td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lb tr:last-child td { border-bottom: 0; }
.lb tbody tr:hover { background: #fafbfd; }
.t-n { width: 36px; font-variant-numeric: tabular-nums; }
.t-who a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.t-who b { display: block; font-weight: 700; }
.t-who small { display: block; color: var(--muted); font-size: 12.5px; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-who a:hover b { color: var(--blue); }
.t-rate { white-space: nowrap; }
.t-rate .rate b { font-size: 15px; }
.t-links .ic { width: 28px; height: 28px; }
.avatar-xs { width: 36px; height: 36px; font-size: 13px; }

/* listing page */
.socials a { justify-content: flex-start; font-weight: 600; }
.socials a .go { margin-left: auto; color: var(--muted); }
.profile-main, .profile-side .panel { background: #fff; }
.profile-main { border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 8px; }
.profile-main > .notice:first-of-type { margin-top: 20px; }
.chips-lg a { border-radius: 999px; }
.split .panel { background: #fff; }
.lb .vtags, .lb .icons { flex-wrap: nowrap; }
.lb .vtag { white-space: nowrap; }
.t-who small { max-width: 320px; }
.t-who b i { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-left: 6px; }
.t-who small { max-width: 260px; }
.lb { min-width: 720px; }
.lb .t-who small { max-width: 240px; }

/* ---------- Phones and tablets (owner, 2026-11-06: "super super mobile responsive") ---------- */
.nav-join .short { display: none; }
.contact-bar { display: none; }
.top-in { flex-wrap: nowrap; }
.brand { min-width: 0; white-space: nowrap; }
@media (max-width: 900px) {
  .dir { grid-template-columns: minmax(0, 1fr); }
  .profile { gap: 20px; }
  /* the rate and a contact button stay in reach while reading a listing */
  .contact-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14, 26, 74, 0.08); }
  .contact-bar span { font-size: 14px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .contact-bar b { font-size: 18px; color: var(--ink); }
  .contact-bar .btn { flex: none; padding: 11px 18px; }
  body:has(.contact-bar) .foot { padding-bottom: 80px; }
  .contact { scroll-margin-top: 80px; }
}
@media (max-width: 640px) {
  .top-in { min-height: 56px; gap: 10px; }
  .brand { font-size: 18px; gap: 4px; }
  .brand .logo { width: 34px; height: 28px; }
  .nav { gap: 0; flex-wrap: nowrap; }
  .nav-search { display: none !important; }
  .nav-join { display: inline-flex; align-items: center; padding: 8px 12px; border: 1.5px solid var(--blue-dark); border-radius: 10px; font-size: 14px !important; white-space: nowrap; color: var(--blue-dark) !important; }
  .nav-join .long { display: none; }
  .nav-join .short { display: inline; }

  .hero { padding: 32px 0 24px; }
  .hero .kicker { font-size: 12px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero .lede { font-size: 16px; }
  .hero-search { padding-left: 12px; }
  .hero-search input { font-size: 16px; } /* 16px stops iOS zooming in on focus */
  .hero-search .btn { padding: 11px 14px; }
  .stats { margin-top: 22px; }
  .stats b { font-size: 22px; }

  .browse { padding-top: 16px; }
  .bar input, .bar select, .side select { font-size: 16px; padding: 10px; }
  .grid { gap: 14px; }
  .cover { aspect-ratio: 4 / 3; }

  /* the table becomes a compact list: who and rate on one line, links underneath */
  .lb, .lb tbody { display: block; width: 100%; min-width: 0; }
  .lb thead, .lb .t-n, .lb .t-skills { display: none; }
  .lb tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 12px; border-bottom: 1px solid var(--line); }
  .lb tbody tr:last-child { border-bottom: 0; }
  .lb tr[hidden] { display: none; }
  .lb td { padding: 0; border: 0; }
  .lb .t-who { min-width: 0; overflow: hidden; }
  .lb .t-who a > span { min-width: 0; }
  .lb .t-who small { max-width: none; }
  .lb .t-links { grid-column: 1 / -1; padding-left: 46px; }
  .lb .t-links .ic { width: 34px; height: 34px; }

  .profile-main { padding: 16px; border-radius: 14px; }
  .profile-head { gap: 14px; }
  .profile-head .avatar-lg { width: 84px; height: 84px; font-size: 28px; }
  .profile-head h1 { font-size: 28px; }
  .profile-headline { font-size: 16px; }
  .rates th, .rates td { padding: 8px; }
  .rates th { width: 72px; }
  .rates td:last-child { white-space: normal; }
  .split { margin-top: 32px; }
  .faq summary { padding: 4px 0; }
  .foot-in { gap: 20px; }
  .foot-in > div > a:not(.brand) { padding: 6px 0; margin: 0; }
}
/* fingers, not mouse pointers: bigger tap targets */
@media (pointer: coarse) {
  .vtag { padding: 7px 9px; font-size: 12.5px; }
  .chip-btn { padding: 9px 12px; font-size: 13.5px; }
  .area-btn { padding: 11px 10px; }
  .ic { width: 40px; height: 40px; }
  .views button { padding: 11px 13px; }
  .pill { padding: 9px 12px; }
  .card-go { padding: 8px 0; }
  .crumbs a { padding: 6px 0; }
}

/* Cards with a face circle instead of a big photo (owner, 2026-11-06: "use smaller face circles") */
.grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.card:hover { transform: none; }
.card-top { display: flex; align-items: center; gap: 12px; padding: 16px 16px 0; }
.avatar-md { width: 60px; height: 60px; font-size: 20px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.card-who { flex: 1; min-width: 0; }
.card-who h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-who p { margin: 3px 0 0; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12.5px; color: var(--muted); }
.card-who p span { display: inline-flex; align-items: center; gap: 3px; }
.card-top .rate { flex: none; align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: #f2f4f9; font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.card-top .rate b { font-size: 14px; }
.card-top .card-link { display: inline; padding: 0; height: auto; gap: 0; }
.card-who .flag { position: static; display: inline-block; padding: 2px 7px; border-radius: 999px; background: #fff7d6; color: #6b5300; font-size: 11px; font-weight: 600; }
.card-body { padding: 12px 16px 14px; gap: 10px; }
.card-link::after { border-radius: 16px; }

/* ---------- Colour groups and line icons (owner, 2026-11-06) ----------
   Admin & finance = flag blue, Design & marketing = flag red, Tech = sun yellow. Other skills stay grey. */
.g-ops { --g-bg: #ebf1ff; --g-ink: #0b3a9e; --g-line: #c9d8fb; --g-solid: #0038a8; }
.g-creative { --g-bg: #fdedef; --g-ink: #a50f22; --g-line: #f6c7cd; --g-solid: #ce1126; }
.g-tech { --g-bg: #fff6d1; --g-ink: #6e5200; --g-line: #f1dc8a; --g-solid: #c99a00; }
.g-none { --g-bg: #f2f4f9; --g-ink: #2a3358; --g-line: #dfe3ee; --g-solid: #4a5272; }
.vtag { display: inline-flex; align-items: center; gap: 5px; background: var(--g-bg, #f2f4f9); color: var(--g-ink, #2a3358); border: 1px solid var(--g-line, transparent); }
.vtag svg { flex: none; opacity: 0.9; }
.vtag:hover { border-color: var(--g-solid, var(--blue)); color: var(--g-ink, var(--blue)); }
.vtag.on { background: var(--g-solid, var(--blue)); border-color: var(--g-solid, var(--blue)); color: #fff; }
.vtags-lg .vtag { font-size: 14px; padding: 7px 11px; }
.chip-btn { display: inline-flex; align-items: center; gap: 5px; }
.chip-btn svg { color: var(--g-solid); flex: none; }
.chip-btn[aria-pressed="true"] { background: var(--g-solid, var(--blue)); border-color: var(--g-solid, var(--blue)); }
.chip-btn[aria-pressed="true"] svg { color: #fff; }
.area-btn { gap: 8px; justify-content: flex-start; }
.area-btn span { margin-left: auto; }
.area-btn svg { flex: none; color: var(--muted); }
.area-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.area-group .area-btn svg { color: var(--g-solid); }
.area-parent { font-weight: 800; }
.area-kid { padding-left: 18px; font-weight: 500; }
.area-group .area-btn[aria-pressed="true"] { background: var(--g-solid); color: #fff; }
.area-group .area-btn[aria-pressed="true"] svg, .area-btn[aria-pressed="true"] svg { color: #fff; }
.g-tech .area-btn[aria-pressed="true"], .chip-btn.g-tech[aria-pressed="true"], .vtag.g-tech.on { color: #3d2e00; }
.g-tech .area-btn[aria-pressed="true"] svg, .chip-btn.g-tech[aria-pressed="true"] svg { color: #3d2e00; }
.g-tech .area-btn[aria-pressed="true"] span { color: #5c4500; }

/* claimed check, like X/Twitter; unclaimed shows nothing */
.claimed { display: inline-flex; vertical-align: -2px; margin-left: 4px; position: relative; z-index: 2; }
.profile-head h1 .claimed svg { width: 24px; height: 24px; }
.profile-head h1 .claimed { vertical-align: 0; margin-left: 6px; }
.card-end { display: inline-flex; align-items: center; gap: 14px; }
.claim-link { position: relative; z-index: 2; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.claim-link:hover { color: var(--blue); text-decoration: underline; }
.claim-btn { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 5px 10px; border: 1px dashed var(--line); border-radius: 999px; }
.claim-btn:hover { color: var(--blue); border-color: var(--blue); }
.found-note { margin: 20px 0 0; font-size: 13.5px; color: var(--muted); }

/* Phone hero: short, so the first VAs show sooner (owner, 2026-11-06) */
@media (max-width: 640px) {
  .hero { padding: 20px 0 18px; }
  .hero .kicker { margin-bottom: 8px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 36px); margin-bottom: 10px; }
  .hero .lede { font-size: 14.5px; line-height: 1.45; margin-bottom: 16px; }
  .stats { grid-template-columns: repeat(3, 1fr); margin-top: 16px; row-gap: 0; }
  .stats li { padding: 0 4px; border-left: 1px solid var(--line) !important; }
  .stats li:first-child { border-left: 0 !important; }
  .stats b { font-size: 19px; }
  .stats span { display: block; font-size: 11px; line-height: 1.25; }
  .hero-join { display: none; }
  .browse { padding-top: 14px; }
}
@media (max-width: 640px) {
  .hero .kicker, .hero-search { display: none; }
  .hero { padding-top: 22px; }
  .side summary { padding: 10px 14px; }
  .bar { gap: 6px; }
  .active-row { margin: 10px 0; }
}

/* ---------- Guides (owner, 2026-11-06) ---------- */
.foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }
.guide { padding-bottom: 8px; }
.guide h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.guide h2 { font-size: 22px; margin: 40px 0 12px; scroll-margin-top: 80px; }
.guide p, .guide li { font-size: 16.5px; line-height: 1.65; }
.guide li { margin: 6px 0; }
.guide-kicker { font-size: 13px !important; font-weight: 700; color: var(--blue) !important; text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.guide-kicker .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 8px 0 8px; }
.toc b { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 24px; }
.toc li { font-size: 15px !important; margin: 3px 0 !important; break-inside: avoid; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.areas-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.areas-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0 !important; padding: 10px 12px; border-radius: 10px; background: var(--g-bg); border: 1px solid var(--g-line); }
.areas-list svg { color: var(--g-solid); margin-top: 4px; flex: none; }
.areas-list b { color: var(--g-ink); margin-right: 4px; }
.cta-box { margin: 40px 0 8px; padding: 24px; border-radius: 16px; background: #fff; border: 2px solid var(--blue); box-shadow: 0 10px 30px rgba(6, 42, 128, 0.08); }
.cta-box h2 { margin: 0 0 8px !important; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 10px; }
.cta-box .small { font-size: 13.5px !important; margin: 0; }
.guide .rates { background: #fff; border-radius: 12px; overflow: hidden; }
.guide .rates thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.guide .rates td:last-child { text-align: left; white-space: normal; }
.sample { position: relative; background: #fff; border: 1px dashed #b9c3dd; border-radius: 14px; padding: 18px 20px; }
.sample h3 { margin: 0; font-size: 20px; }
.sample p { margin: 6px 0; font-size: 15px !important; }
.sample-tag { position: absolute; top: 12px; right: 14px; margin: 0 !important; font-size: 11px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.guide .grid { margin: 8px 0; }
.guide-links { padding-left: 20px; }
.guide-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.guide-cards-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.guide-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.guide-cards a:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(14, 26, 74, 0.08); }
.guide-cards small { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
.guide-cards b { font-size: 16.5px; line-height: 1.3; }
.guide-cards span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.ex-list li { margin: 8px 0; }
@media (max-width: 640px) {
  .guide p, .guide li { font-size: 16px; }
  .cta-box { padding: 18px; }
  .cta-row .btn { flex: 1 1 auto; }
}
.template { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font: 13.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-x: auto; color: var(--ink); }

/* Philippine time converter and comparison table (owner, 2026-11-06) */
.tz-tool { background: #fff; border: 2px solid var(--blue); border-radius: 16px; padding: 18px; margin: 16px 0 8px; box-shadow: 0 10px 30px rgba(6, 42, 128, 0.08); }
.tz-clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tz-clocks > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #f2f5fc; }
.tz-clocks b { font-size: clamp(26px, 6vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.tz-form { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; margin: 14px 0 4px; }
.tz-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tz-form input, .tz-form select { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font: 16px var(--font); color: var(--ink); background: #fff; }
.tz-out { margin: 12px 0 0 !important; font-size: 18px !important; }
.tz-out b { color: var(--blue); font-size: 22px; }
.tz-table tr.work td { background: #fff8db; }
.tz-table td:last-child { text-align: left !important; }
@media (max-width: 560px) { .tz-form { grid-template-columns: 1fr 1fr; } .tz-form label:last-child { grid-column: 1 / -1; } }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.cta-pair .cta-box { margin: 0; }
@media (max-width: 700px) { .cta-pair { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; margin: 0 -2px; }
.cmp { min-width: 640px; font-size: 14.5px; }
.cmp th[scope="row"] { width: 150px; font-weight: 700; color: var(--ink); font-size: 14px; }
.cmp td, .cmp th { vertical-align: top; line-height: 1.45; }
.cmp td:last-child { background: #f2f5fc; }

/* ---------- No tint-on-tint (owner, 2026-11-06: "blue on blue makes it look like AI slop") ----------
   Tags and chips are white with dark text and a hairline border; only the line icon carries the group
   colour. Selected = solid group colour with white text. No coloured text on a tint of the same colour. */
.vtag, .chip-btn, .skill-cloud a { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.vtag svg, .chip-btn svg, .skill-cloud a svg, .skill-list svg { color: var(--g-solid, var(--muted)); opacity: 1; flex: none; }
.vtag:hover, .chip-btn:hover, .skill-cloud a:hover { border-color: var(--g-solid, var(--ink)); color: var(--ink); }
.vtag.on, .chip-btn[aria-pressed="true"] { background: var(--g-solid, var(--ink)); border-color: var(--g-solid, var(--ink)); color: #fff; }
.vtag.on svg, .chip-btn[aria-pressed="true"] svg { color: #fff; }
.g-tech.vtag.on, .chip-btn.g-tech[aria-pressed="true"] { color: #1d1600; }
.g-tech.vtag.on svg, .chip-btn.g-tech[aria-pressed="true"] svg { color: #1d1600; }
.skill-cloud a { display: inline-flex; align-items: center; gap: 6px; }
.skill-list a { display: inline-flex; align-items: center; gap: 8px; }
.areas-list li { background: #fff; border: 1px solid var(--line); }
.areas-list b { color: var(--ink); }
.views button[aria-pressed="true"] { color: #fff; background: var(--ink); }
.pill { background: #fff; border-color: var(--ink); color: var(--ink); }
.pill:hover { background: var(--ink); color: #fff; }
.ic:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.tz-clocks > div, .cmp td:last-child { background: #f6f7f9; }

/* ---------- Preset filters (owner, 2026-11-06, after nomads.com) ----------
   White buttons, dark text, the icon carries the colour; pressed = solid. Rows wrap on desktop and
   scroll sideways on phones so the VAs stay near the top. */
.presets { display: grid; gap: 10px; margin: 0 0 14px; }
.preset-group h2 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 600 14px/1.1 var(--font); cursor: pointer; white-space: nowrap; }
.preset svg { flex: none; color: var(--g-solid, var(--ink)); }
.preset small { font-size: 12px; font-weight: 500; color: var(--muted); }
.preset:hover { border-color: var(--g-solid, var(--ink)); }
.preset[aria-pressed="true"] { background: var(--g-solid, var(--ink)); border-color: var(--g-solid, var(--ink)); color: #fff; }
.preset[aria-pressed="true"] svg, .preset[aria-pressed="true"] small { color: #fff; }
.preset.g-tech[aria-pressed="true"], .preset.g-tech[aria-pressed="true"] svg, .preset.g-tech[aria-pressed="true"] small { color: #1d1600; }
@media (max-width: 640px) {
  .presets { gap: 8px; margin-bottom: 10px; }
  .preset-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .preset-row::-webkit-scrollbar { display: none; }
  .preset { padding: 10px 12px; }
}
.results, .presets, .preset-group, .preset-row { min-width: 0; }
/* Phones: all presets in one sideways-scrolling row, no group headings, so cards start sooner. */
@media (max-width: 640px) {
  .presets { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin: 0 -16px 10px; padding: 0 16px 4px; scrollbar-width: none; }
  .presets::-webkit-scrollbar { display: none; }
  .preset-group { display: contents; }
  .preset-group h2 { display: none; }
  .preset-row { display: contents; }
}

/* ---------- Warmth (owner, 2026-11-06: "add some warmth to the site color design") ----------
   Cream page, warm charcoal text, taupe greys and warm hairlines instead of cool blue-greys. The flag
   colours stay the brand: blue buttons and links, red and sun-yellow accents. White cards sit on cream.
   Shadows are warm brown, not navy. */
:root {
  --ink: #241d18;
  --muted: #6e6156;
  --line: #ece4d8;
  --bg: #fffdf9;
  --soft: #f7f1e8;
  --cream: #faf5ee;
}
body { background: var(--cream); color: var(--ink); }
.top { background: rgba(255, 252, 247, 0.93); border-bottom-color: var(--line); }
.hero { background: radial-gradient(ellipse 70% 120% at 50% -20%, rgba(252, 209, 22, 0.16), transparent 62%), #fffaf2; border-bottom-color: var(--line); }
.hero .lede { color: var(--muted); }
.hero-search { box-shadow: 0 10px 30px rgba(92, 60, 24, 0.08); }
.stats li { border-left-color: var(--line); }

.card, .side, .table-wrap, .toc, .cta-box, .tz-tool, .guide-cards a, .profile-main, .panel { background: #fff; }
.card:hover, .guide-cards a:hover { box-shadow: 0 14px 32px rgba(92, 60, 24, 0.10); }
.cta-box, .tz-tool { box-shadow: 0 10px 30px rgba(92, 60, 24, 0.07); }
.card-top .rate { background: var(--soft); color: var(--ink); }
.avatar, .avatar-md { background: var(--soft); }
.avatar-fallback { color: #8a7a6c; }
.area-btn:hover { background: var(--soft); }
.btn-outline:hover { background: #fbf3e6; }
.lb th { background: #fbf7f1; }
.lb tbody tr:hover { background: #fdf9f3; }
.tz-clocks > div, .cmp td:last-child { background: var(--soft); }
.tz-table tr.work td { background: #fff6dc; }
.sample { border-color: #d9ccba; }
.g-none { --g-solid: #8a7a6c; }
.vtag-more, .preset small, .chip-btn span, .area-btn span { color: var(--muted); }
.foot { background: #fbf3e4; }
.foot .fine { border-top-color: #efe2c9; }
.contact-bar { background: rgba(255, 252, 247, 0.97); box-shadow: 0 -6px 20px rgba(92, 60, 24, 0.08); }
.prose p, .prose li { color: #3a3029; }

/* ---------- Sticky filters (owner, 2026-11-07: "make the filter panel sticky when we scroll down") ----------
   Desktop: the sidebar was already sticky. Phones and tablets: the Filters bar pins under the header, shows
   how many filters are on, and when opened the panel scrolls inside itself, with "Show N VAs" to close it. */
.side-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; margin-left: 2px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; }
.side-count[hidden] { display: none; }
.side-chev { display: none; }
.side-done { display: none; }
@media (max-width: 900px) {
  .side { position: sticky; top: 72px; z-index: 6; box-shadow: 0 8px 22px rgba(92, 60, 24, 0.10); }
  .side summary { gap: 10px; }
  .side-chev { display: block; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s; }
  .side[open] .side-chev { transform: rotate(-135deg); }
  .side[open] .side-in { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); overflow: auto; overscroll-behavior: contain; }
  .side-done { display: inline-flex; width: 100%; position: sticky; bottom: 0; }
}
@media (max-width: 640px) {
  .side { top: 64px; }
}
@media (max-width: 900px) { #count, .active-row { scroll-margin-top: 140px; } }

/* ---------- /socials/ (owner, 2026-11-07): hidden page of ready-to-post Instagram content ---------- */
.soc-page { padding-top: 32px; }
.soc-page .soc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 14px 0 34px; }
.soc-page .soc-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: 0 10px 26px rgba(92, 60, 24, 0.06); }
.soc-page .soc-card img, .soc-page .soc-card video { width: 100%; height: auto; display: block; border-radius: 10px; background: var(--soft); }
.soc-page .soc-card h3 { font-size: 16px; margin: 12px 4px 8px; }
.soc-page .soc-dl { margin: 6px 4px 10px; }
.soc-page .soc-dl .btn, .soc-page .soc-cap .btn { border-radius: 999px; font-size: 14px; padding: 8px 14px; }
.soc-page .soc-cap { margin: 0 4px 4px; }
.soc-page .soc-cap p { font-size: 13.5px; line-height: 1.45; max-height: 8.5em; overflow: auto; margin: 0 0 8px; color: var(--muted); }
.soc-page .soc-carousel { margin: 14px 0 34px; }
.soc-page .soc-carousel h3 { font-size: 18px; }
.soc-page .soc-strip { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.soc-page .soc-strip a { flex: 0 0 auto; scroll-snap-align: start; }
.soc-page .soc-strip img { width: 220px; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); }

.soc-page .soc-sub { margin: 26px 0 0; font-size: 20px; }
