/* ==========================================================================
   Labor Hall — public site
   Shared design system for landing, auth, jobs, workers and dashboards.
   ========================================================================== */

:root {
  --ink: #101827;
  --ink-2: #344054;
  --ink-3: #475467;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e4e7ec;
  --line-2: #d0d5dd;
  --bg: #f8f7f3;
  --bg-2: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #fcfcfb;
  --navy: #0b1524;
  --navy-2: #122036;
  --navy-3: #1b2b45;
  --brand: #f6b51e;
  --brand-2: #ffcf5c;
  --brand-strong: #d98a06;
  --brand-soft: #fff5dc;
  --success: #0d9f6e;
  --success-soft: #e6f8f0;
  --danger: #d92d20;
  --danger-soft: #fef0ef;
  --info: #1570ef;
  --info-soft: #eaf2ff;
  --violet: #6941c6;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 12px 30px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 28px 60px -24px rgba(11, 21, 36, .28);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: var(--info); text-decoration: none; }
a:hover { color: #0b5bcd; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
::selection { background: var(--brand); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(246, 181, 30, .65); outline-offset: 2px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -.025em; line-height: 1.16; }
p { color: var(--ink-3); }
small { font-size: .8125rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
.lede { font-size: 1.0625rem; color: var(--ink-3); line-height: 1.65; }
.muted { color: var(--muted); }
.tiny { font-size: .75rem; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; }
.gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }
.grow { flex: 1; min-width: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- icons ---------- */
.ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 18px; height: 18px; }
.ico svg { width: 100%; height: 100%; display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 18px; border-radius: 12px;
  border: 1px solid transparent; background: var(--surface); color: var(--ink);
  font-size: .9375rem; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  border-color: #e3a20a; color: #231a04;
  box-shadow: 0 8px 18px -10px rgba(246, 181, 30, .9), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary:hover { background: linear-gradient(180deg, #ffd671, #f8ba29); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #1f2a3d; color: #fff; }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { background: #fff; border-color: #98a2b3; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: #f4f6f8; }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: #fecdca; }
.btn-danger:hover { background: #fee4e2; }
.btn-sm { min-height: 36px; padding: 0 13px; border-radius: 9px; font-size: .8125rem; gap: 6px; }
.btn-lg { min-height: 52px; padding: 0 24px; border-radius: 13px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn .ico { width: 18px; height: 18px; }
.btn.loading { color: transparent !important; pointer-events: none; position: relative; }
.btn.loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(16, 24, 40, .22); border-top-color: var(--ink);
  animation: spin .7s linear infinite;
}
.btn-dark.loading::after, .btn-primary.loading::after { border-color: rgba(255, 255, 255, .35); border-top-color: currentColor; }

.text-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: .875rem; color: var(--ink); }
.text-link .ico { width: 15px; height: 15px; transition: transform .15s; }
.text-link:hover { color: var(--brand-strong); }
.text-link:hover .ico { transform: translateX(3px); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label {
  font-size: .78rem; font-weight: 700; color: var(--ink-2); letter-spacing: .01em;
}
.field .hint { font-size: .75rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 13px;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: #fff; color: var(--ink); font-size: .9375rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
  appearance: none;
}
.textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 4px rgba(246, 181, 30, .18);
}
.input:disabled, .select:disabled, .textarea:disabled { background: var(--bg-2); color: var(--muted); cursor: not-allowed; }
.field.error .input, .field.error .select, .field.error .textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(217, 45, 32, .1); }
.field-error { font-size: .75rem; color: var(--danger); font-weight: 600; }
.input-wrap { position: relative; }
.input-wrap .input { padding-left: 42px; }
.input-wrap .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input-wrap .input.has-action { padding-right: 46px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--muted);
  display: grid; place-items: center;
}
.pw-toggle:hover { background: var(--bg-2); color: var(--ink); }
.pw-toggle .ico { width: 18px; height: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-3); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: 0 0 auto; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track { width: 44px; height: 26px; border-radius: 20px; background: #d0d5dd; position: relative; transition: background .18s; flex: 0 0 auto; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s; }
.switch input:checked + .track { background: var(--success); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid rgba(246, 181, 30, .65); outline-offset: 2px; }

/* segmented control */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--bg-2); border-radius: 13px; }
.segmented button {
  min-height: 42px; border: 1px solid transparent; border-radius: 9px; background: transparent;
  color: var(--muted); font-size: .875rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.segmented button .ico { width: 17px; height: 17px; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 243, .86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(228, 231, 236, .9);
}
.nav-shell { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand-2), var(--brand));
  color: #2a1d03; box-shadow: 0 6px 14px -8px rgba(217, 138, 6, .8), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-size: 1.06rem; font-weight: 900; letter-spacing: -.035em; }
.brand-name span { font-size: .58rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 9px 12px; border-radius: 9px; color: var(--ink-3);
  font-size: .9rem; font-weight: 650; transition: background .15s, color .15s;
}
.site-nav a:hover { background: rgba(16, 24, 40, .055); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: rgba(16, 24, 40, .06); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-signin { font-size: .9rem; font-weight: 700; color: var(--ink); padding: 9px 10px; border-radius: 9px; }
.nav-signin:hover { background: rgba(16, 24, 40, .055); color: var(--ink); }
.nav-user { display: flex; align-items: center; gap: 9px; }
.nav-user .avatar { width: 34px; height: 34px; font-size: .75rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 11px;
  background: #fff; color: var(--ink); place-items: center;
}
.menu-toggle .ico { width: 22px; height: 22px; }
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: var(--bg); padding: 18px 24px 36px; overflow: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink);
  font-size: 1.05rem; font-weight: 700;
}
.mobile-nav .mobile-actions { display: grid; gap: 10px; margin-top: 24px; }
body.nav-open { overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c3ccda; margin-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 58px 0 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-name span { color: #98a6ba; }
.footer-about { margin-top: 16px; max-width: 300px; color: #98a6ba; font-size: .875rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: #b3c0d1; font-size: .875rem; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8b9bb0; font-size: .8rem;
}
.footer-bottom .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #b3c0d1; }
.footer-bottom a:hover { color: #fff; }

/* ---------- page headers ---------- */
.page-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.page-band::after {
  content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 181, 30, .24), transparent 68%);
  pointer-events: none;
}
.page-band .wrap { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 42px; }
.page-band h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.75rem); margin: 10px 0 8px; }
.page-band p { color: #aebbd0; max-width: 620px; font-size: 1.01rem; }
.page-band .eyebrow { color: var(--brand); }
.page-band .eyebrow::before { background: var(--brand); }
.breadcrumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: #8191a8; font-size: .8rem; margin-bottom: 14px; }
.breadcrumbs a { color: #b3c0d1; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs.light { color: var(--muted); }
.breadcrumbs.light a { color: var(--ink-3); }
.breadcrumbs.light a:hover { color: var(--brand-strong); }

/* search inside page bands */
.band-search {
  display: flex; align-items: center; gap: 8px; max-width: 760px; margin-top: 26px;
  padding: 7px; background: #fff; border-radius: 15px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .3);
}
.band-search .input-wrap { flex: 1; min-width: 0; }
.band-search .input {
  min-height: 48px; border-color: transparent; background: transparent;
  box-shadow: none !important; font-size: .95rem;
}
.band-search .input:focus { border-color: transparent; }
.band-search .btn { min-height: 48px; padding: 0 20px; border-radius: 10px; }
@media (max-width: 640px) {
  .band-search { flex-direction: column; align-items: stretch; background: transparent; padding: 0; box-shadow: none; gap: 9px; }
  .band-search .input-wrap { background: #fff; border-radius: 11px; }
  .band-search .input { background: #fff; border-color: var(--line-2); }
  .band-search .btn { width: 100%; }
}

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding: 74px 0 86px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 25% 10%, #000 10%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -320px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 181, 30, .2), rgba(246, 181, 30, .04) 45%, transparent 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.35rem); line-height: 1.02; letter-spacing: -.045em; margin: 18px 0 20px; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .1em;
  background: linear-gradient(90deg, rgba(246, 181, 30, .55), rgba(246, 181, 30, 0)); border-radius: 8px;
}
.hero .lede { color: #b6c2d4; font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-actions .btn { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 7px; color: #c8d2e1; font-size: .82rem; font-weight: 600; }
.hero-points .ico { width: 16px; height: 16px; color: var(--brand); }
.hero-visual { position: relative; min-height: 430px; min-width: 0; }
.mock-card {
  position: relative; z-index: 2; background: #fff; color: var(--ink); border-radius: 20px; min-width: 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  padding: 20px; transform: rotate(-1.4deg);
}
.mock-top { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-dots { display: flex; gap: 5px; }
.mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: #e4e7ec; }
.mock-title { font-size: .78rem; font-weight: 800; color: var(--ink-2); margin-left: 4px; }
.mock-pill { margin-left: auto; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--success); background: var(--success-soft); border-radius: 20px; padding: 3px 8px; }
.mock-search { display: flex; gap: 8px; margin: 14px 0; }
.mock-search > span { flex: 1; min-width: 0; height: 36px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 10px; font-size: .7rem; color: var(--muted); overflow: hidden; white-space: nowrap; }
.mock-search > span .ico { width: 14px; height: 14px; margin-right: 6px; flex: 0 0 auto; }
.mock-search .mock-btn { flex: 0 0 auto; width: 38px; background: var(--brand); border-color: var(--brand); }
.mock-job { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 8px; background: var(--surface-2); }
.mock-job:last-child { margin-bottom: 0; }
.mock-job .logo { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: .72rem; font-weight: 900; color: #fff; flex: 0 0 auto; }
.mock-job .j-t { font-size: .76rem; font-weight: 800; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-job .j-s { font-size: .64rem; color: var(--muted); margin-top: 2px; }
.mock-job .j-p { margin-left: auto; font-size: .72rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.mock-job .j-p small { display: block; font-size: .56rem; font-weight: 600; color: var(--muted); text-align: right; }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px;
  background: #fff; color: var(--ink); border-radius: 13px; padding: 10px 14px;
  font-size: .75rem; font-weight: 750; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55);
  animation: float 5s ease-in-out infinite;
}
.float-chip .ok { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); }
.float-chip .ok .ico { width: 15px; height: 15px; }
.float-chip small { display: block; color: var(--muted); font-size: .62rem; font-weight: 600; }
.float-chip.a { top: -18px; right: -10px; }
.float-chip.b { bottom: 22px; left: -34px; animation-delay: -2.4s; }
.float-chip.c { bottom: -20px; right: 34px; animation-delay: -1.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- home sections ---------- */
.trust-strip { position: relative; z-index: 2; margin-top: -34px; }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 22px 44px -26px rgba(16, 24, 40, .35); overflow: hidden;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item .trust-ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 8px;
}
.trust-item .trust-ico .ico { width: 18px; height: 18px; }
.trust-item b { font-size: 1.4rem; font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
.trust-item span { color: var(--muted); font-size: .76rem; }
.section { padding: 76px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 560px; }
.section-head .text-link { margin-bottom: 4px; }
.trade-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.trade-card {
  display: flex; flex-direction: column; gap: 9px; align-items: flex-start;
  padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff;
  color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.trade-card:hover { color: var(--ink); border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.trade-card .ico { width: 25px; height: 25px; color: var(--brand-strong); }
.trade-card b { font-size: .84rem; font-weight: 750; }
.trade-card small { color: var(--muted); font-size: .68rem; }
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.role-card {
  position: relative; overflow: hidden; padding: 34px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.role-card.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.role-card.dark h3 { color: #fff; }
.role-card.dark p { color: #aebbd0; }
.role-card.dark .check-list li { color: #c8d2e1; }
.role-card::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 210px; height: 210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 181, 30, .2), transparent 68%);
  pointer-events: none;
}
.role-card .role-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 20px;
}
.role-card.dark .role-ico { background: rgba(246, 181, 30, .16); color: var(--brand); }
.role-card .role-ico .ico { width: 26px; height: 26px; }
.role-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.role-card p { font-size: .92rem; max-width: 420px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 22px 0 26px; }
.check-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .875rem; color: var(--ink-3); }
.check-list .ico { width: 18px; height: 18px; color: var(--success); margin-top: 1px; }
.role-card.dark .check-list .ico { color: var(--brand); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -14px; left: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: var(--ink);
  font-size: .68rem; font-weight: 900;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .84rem; color: var(--muted); line-height: 1.55; }
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 75% 50%, #000, transparent 75%);
}
.cta-band .wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 30px; justify-content: space-between; flex-wrap: wrap; padding-top: 58px; padding-bottom: 58px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: #aebbd0; margin-top: 8px; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- job / worker cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 22px; }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.job-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d1dc; }
.job-card-head { display: flex; align-items: flex-start; gap: 12px; }
.company-logo {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  font-size: .85rem; font-weight: 900; color: #fff; flex: 0 0 auto; letter-spacing: -.02em;
}
.job-card-head .co { min-width: 0; }
.job-card-head .co b { display: block; font-size: .8rem; font-weight: 750; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-card-head .co small { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }
.job-card .save {
  margin-left: auto; width: 32px; height: 32px; border: 1px solid var(--line); background: #fff;
  border-radius: 9px; display: grid; place-items: center; color: var(--muted); flex: 0 0 auto;
}
.job-card .save:hover { color: var(--danger); border-color: #fecdca; }
.job-card .save .ico { width: 16px; height: 16px; }
.job-card h3 { font-size: 1.06rem; line-height: 1.3; letter-spacing: -.015em; }
.job-card h3 a { color: var(--ink); }
.job-card h3 a:hover { color: var(--brand-strong); }
.job-card .job-meta { display: flex; flex-wrap: wrap; gap: 7px 13px; color: var(--muted); font-size: .78rem; }
.job-card .job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-card .job-meta .ico { width: 14px; height: 14px; color: var(--muted-2); }
.job-card .job-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); margin-top: auto; }
.pay { display: flex; flex-direction: column; }
.pay b { font-size: 1.13rem; font-weight: 850; color: var(--ink); letter-spacing: -.02em; }
.pay small { color: var(--muted); font-size: .67rem; font-weight: 600; }
.job-card .job-foot .btn { min-height: 36px; padding: 0 12px; font-size: .78rem; border-radius: 9px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 7px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-3);
  font-size: .7rem; font-weight: 650; white-space: nowrap;
}
.tag.amber { background: var(--brand-soft); border-color: #f7dfa0; color: #8a5a00; }
.tag.green { background: var(--success-soft); border-color: #b7ebd5; color: #067a54; }
.tag.blue { background: var(--info-soft); border-color: #c7dcff; color: #0b5bcd; }
.tag.red { background: var(--danger-soft); border-color: #fecdca; color: #b42318; }
.tag.gray { background: var(--bg-2); border-color: var(--line); color: var(--muted); }
.tag.violet { background: #f4f0ff; border-color: #ddd2ff; color: var(--violet); }

.worker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.worker-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 24px 18px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.worker-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d1dc; }
.worker-card .avatar { width: 74px; height: 74px; font-size: 1.4rem; margin-bottom: 3px; }
.worker-card h3 { font-size: 1rem; }
.worker-card h3 a { color: var(--ink); }
.worker-card .trade { color: var(--muted); font-size: .78rem; }
.worker-card .rating { display: flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.worker-card .rating .ico { width: 14px; height: 14px; color: var(--brand-strong); }
.worker-card .rate { font-size: .82rem; color: var(--ink-3); }
.worker-card .rate b { font-size: 1rem; color: var(--ink); }
.worker-card .foot { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding-top: 13px; border-top: 1px dashed var(--line); }
.worker-card .foot .btn { min-height: 34px; padding: 0 11px; font-size: .76rem; }

.avatar {
  position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  flex: 0 0 auto; overflow: hidden; font-weight: 800; font-size: .85rem;
  background: hsl(var(--h, 210) 50% 91%); color: hsl(var(--h, 210) 42% 28%);
  border: 1px solid rgba(16, 24, 40, .06);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 84px; height: 84px; font-size: 1.6rem; }
.avatar.xl { width: 118px; height: 118px; font-size: 2.2rem; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(13, 159, 110, .16); display: inline-block; flex: 0 0 auto; }
.online-dot.off { background: var(--muted-2); box-shadow: none; }
.rating-stars { display: inline-flex; gap: 2px; color: var(--brand-strong); font-size: .85rem; letter-spacing: 1px; }
.rating-stars .off { color: #d8dde5; }

/* ---------- listings / filters ---------- */
.listing { padding: 36px 0 70px; }
.listing-shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters {
  position: sticky; top: calc(var(--header-h) + 20px); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.filters-head h2 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.filters-head h2 .ico { width: 17px; height: 17px; color: var(--brand-strong); }
.filters-head .reset { border: 0; background: none; padding: 0; color: var(--muted); font-size: .76rem; font-weight: 700; }
.filters-head .reset:hover { color: var(--ink); }
.filter-group { padding: 15px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group .label { display: block; margin-bottom: 8px; }
.filter-actions { display: grid; gap: 8px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.filter-toggle { display: none; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.results-head h2 { font-size: 1.05rem; }
.results-head .count { color: var(--muted); font-size: .85rem; font-weight: 500; }
.results-head .sort { display: flex; align-items: center; gap: 8px; }
.results-head .sort .select { min-height: 38px; width: auto; min-width: 170px; font-size: .82rem; padding: 6px 34px 6px 11px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters .tag button { border: 0; background: transparent; padding: 0; margin-left: 2px; color: inherit; display: grid; place-items: center; }
.active-filters .tag .ico { width: 12px; height: 12px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pagination button {
  min-width: 38px; height: 38px; border: 1px solid var(--line-2); background: #fff;
  border-radius: 9px; font-size: .84rem; font-weight: 700; color: var(--ink-2);
}
.pagination button:hover:not(:disabled) { border-color: #98a2b3; }
.pagination button[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pagination .ellipsis { color: var(--muted); padding: 0 4px; }

/* ---------- skeleton / empty / alert ---------- */
.skeleton { position: relative; overflow: hidden; background: #e9edf2; border-radius: 8px; }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: translateX(-100%); animation: shimmer 1.4s infinite;
}
.skeleton-card { height: 214px; border-radius: var(--radius); }
.skeleton-row { height: 76px; border-radius: 12px; margin-bottom: 10px; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius);
  background: rgba(255, 255, 255, .6); color: var(--muted);
}
.empty .empty-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 16px;
}
.empty .empty-ico .ico { width: 27px; height: 27px; }
.empty h3 { font-size: 1.05rem; margin-bottom: 6px; }
.empty p { font-size: .875rem; max-width: 380px; }
.empty .btn { margin-top: 18px; }
.alert {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px;
  border-radius: 11px; font-size: .85rem; line-height: 1.5;
  background: var(--info-soft); border: 1px solid #c7dcff; color: #1849a9;
}
.alert .ico { width: 18px; height: 18px; margin-top: 1px; }
.alert.warn { background: var(--brand-soft); border-color: #f7dfa0; color: #7a5000; }
.alert.err { background: var(--danger-soft); border-color: #fecdca; color: #b42318; }
.alert.ok { background: var(--success-soft); border-color: #b7ebd5; color: #067a54; }
.alert b { font-weight: 800; }
.alert a { color: inherit; text-decoration: underline; font-weight: 700; }
.spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(16, 24, 40, .14); border-top-color: var(--ink);
  animation: spin .7s linear infinite; flex: 0 0 auto;
}
.spinner.light { border-color: rgba(255, 255, 255, .25); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-loader { display: grid; place-items: center; min-height: 340px; gap: 14px; color: var(--muted); font-size: .875rem; }
.page-loader .spinner { width: 30px; height: 30px; border-width: 3px; }

/* ---------- detail pages ---------- */
.detail { padding: 34px 0 70px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.detail-card h2 { font-size: 1.08rem; margin-bottom: 13px; }
.detail-card h3 { font-size: .94rem; margin: 18px 0 7px; }
.detail-card p { font-size: .9rem; line-height: 1.65; }
.job-hero-card { padding: 28px; }
.job-hero-card .top { display: flex; gap: 15px; align-items: flex-start; }
.job-hero-card .company-logo { width: 56px; height: 56px; font-size: 1rem; border-radius: 14px; }
.job-hero-card h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2px 0 6px; }
.job-hero-card .co { color: var(--muted); font-size: .87rem; }
.job-hero-card .co b { color: var(--ink-2); }
.job-hero-card .meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.meta-item .l { font-size: .68rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.meta-item .v { font-size: .94rem; font-weight: 750; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.meta-item .v .ico { width: 15px; height: 15px; color: var(--muted); }
.side-pay { display: flex; align-items: baseline; gap: 7px; margin-bottom: 3px; }
.side-pay b { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; }
.side-pay span { color: var(--muted); font-size: .82rem; }
.side-facts { display: grid; gap: 11px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.side-fact { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-3); }
.side-fact .ico { width: 17px; height: 17px; color: var(--brand-strong); }
.side-fact b { margin-left: auto; color: var(--ink); font-weight: 750; }
.side-card .btn + .btn { margin-top: 9px; }
.side-note { text-align: center; font-size: .72rem; color: var(--muted); margin-top: 12px; }
.side-card h2 { font-size: 1rem; margin-bottom: 14px; }
.contractor-box { display: flex; gap: 12px; align-items: center; }
.contractor-box .grow b { display: block; font-size: .9rem; }
.contractor-box .grow small { color: var(--muted); font-size: .75rem; }
.detail-section-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.detail-section-nav a { font-size: .8rem; font-weight: 700; color: var(--muted); padding: 6px 10px; border-radius: 7px; }
.detail-section-nav a:hover { background: var(--bg-2); color: var(--ink); }
.prose { font-size: .93rem; line-height: 1.7; color: var(--ink-3); white-space: pre-line; }
.prose ul { padding-left: 20px; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; list-style: none; }
.benefit-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .87rem; color: var(--ink-3); }
.benefit-list .ico { width: 16px; height: 16px; color: var(--success); margin-top: 2px; }
.map-box {
  height: 190px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden;
  background-color: #eef2f6;
  background-image: linear-gradient(rgba(16, 24, 40, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 24, 40, .045) 1px, transparent 1px);
  background-size: 28px 28px; display: grid; place-items: center; position: relative;
}
.map-box .pin { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-3); font-size: .78rem; font-weight: 700; }
.map-box .pin .ico { width: 32px; height: 32px; color: var(--danger); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .15)); }
.worker-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.worker-hero .avatar.xl { flex: 0 0 auto; }
.worker-hero .who { flex: 1; min-width: 220px; }
.worker-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
.worker-hero .trade-line { color: var(--muted); margin-top: 4px; font-size: .92rem; }
.worker-hero .badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.review { padding: 18px 0; border-top: 1px solid var(--line); }
.review:first-of-type { border-top: 0; padding-top: 0; }
.review-head { display: flex; align-items: center; gap: 10px; }
.review-head .who b { display: block; font-size: .86rem; }
.review-head .who small { color: var(--muted); font-size: .72rem; }
.review-head .rating-stars { margin-left: auto; }
.review p { margin-top: 9px; font-size: .87rem; line-height: 1.6; }
.review-empty { color: var(--muted); font-size: .87rem; }

/* ---------- auth ---------- */
.auth-page { background: var(--bg); }
.auth-shell { display: grid; grid-template-columns: 1.02fr .98fr; min-height: calc(100vh - var(--header-h)); }
.auth-aside {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding: 56px clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.auth-aside::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 25% 10%, #000, transparent 75%);
}
.auth-aside::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -220px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 181, 30, .22), transparent 68%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); max-width: 480px; margin-top: 22px; line-height: 1.08; }
.auth-aside h2 .hl { color: var(--brand); }
.auth-aside p { color: #aebbd0; max-width: 440px; margin-top: 14px; font-size: .95rem; }
.auth-aside .check-list { max-width: 430px; margin: 28px 0 0; }
.auth-aside .check-list li { color: #c8d2e1; }
.auth-aside .check-list .ico { color: var(--brand); }
.auth-aside .quote {
  border-left: 3px solid var(--brand); padding-left: 16px; color: #d8e0ec; font-size: .9rem; line-height: 1.65;
}
.auth-aside .quote small { display: block; color: #8b9bb0; margin-top: 8px; font-size: .75rem; }
.auth-aside .aside-foot { display: flex; gap: 20px; flex-wrap: wrap; color: #8b9bb0; font-size: .75rem; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px clamp(20px, 5vw, 72px); }
.auth-card { width: 100%; max-width: 430px; }
.auth-card h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.auth-card .sub { color: var(--muted); margin-top: 8px; font-size: .93rem; }
.auth-card form { margin-top: 26px; }
.auth-card .form-stack { gap: 15px; }
.auth-card .btn-lg { margin-top: 4px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-slot { min-height: 44px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.google-slot > div { width: 100% !important; }
.google-fallback {
  width: 100%; min-height: 46px; border: 1px solid var(--line-2); background: #fff; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--ink-2);
}
.google-fallback:hover:not(:disabled) { background: var(--bg-2); }
.google-fallback svg { width: 19px; height: 19px; }
.auth-fine { margin-top: 18px; text-align: center; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.auth-fine a { color: var(--ink-2); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.auth-switch { margin-top: 24px; text-align: center; color: var(--muted); font-size: .88rem; }
.auth-switch a { font-weight: 750; color: var(--ink); }
.auth-role { margin-bottom: 2px; }
.auth-role > .label { display: block; margin-bottom: 7px; }
.auth-role-note { font-size: .74rem; color: var(--muted); margin-top: 6px; }
.auth-top-link { display: flex; justify-content: flex-end; margin-bottom: 30px; }
.auth-top-link a { font-size: .82rem; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.auth-top-link a:hover { color: var(--ink); }
.auth-top-link .ico { width: 14px; height: 14px; }

/* auth compact header */
.auth-header { border-bottom: 1px solid var(--line); background: rgba(248, 247, 243, .9); position: relative; z-index: 2; }
.auth-header .nav-shell { height: 68px; }
.auth-header .back { margin-left: auto; font-size: .84rem; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.auth-header .back:hover { color: var(--ink); }
.auth-header .back .ico { width: 15px; height: 15px; }

/* ---------- dashboard ---------- */
.dash { padding: 32px 0 72px; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.dash-head p { color: var(--muted); margin-top: 6px; font-size: .93rem; }
.dash-head .actions { display: flex; gap: 9px; flex-wrap: wrap; }
.role-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px;
  background: var(--brand-soft); border: 1px solid #f7dfa0; color: #8a5a00;
  font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.role-chip.contractor { background: var(--info-soft); border-color: #c7dcff; color: #0b5bcd; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card {
  position: relative; overflow: hidden; padding: 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.stat-card .s-ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 14px;
}
.stat-card .s-ico .ico { width: 20px; height: 20px; }
.stat-card .s-ico.blue { background: var(--info-soft); color: var(--info); }
.stat-card .s-ico.green { background: var(--success-soft); color: var(--success); }
.stat-card .s-ico.violet { background: #f4f0ff; color: var(--violet); }
.stat-card .s-val { font-size: 1.85rem; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.stat-card .s-label { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.stat-card .s-sub { margin-top: 10px; font-size: .72rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.stat-card .s-sub .ico { width: 13px; height: 13px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1rem; }
.panel-head .count { font-size: .72rem; font-weight: 800; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 1px 8px; }
.panel-head .link { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.panel-head .link:hover { color: var(--brand-strong); }
.panel-body { padding: 20px; }
.panel-body.flush { padding: 0; }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: .8rem; }
.tab-bar { display: flex; gap: 4px; padding: 5px; border-radius: 10px; background: var(--bg-2); margin-bottom: 18px; overflow-x: auto; }
.tab-bar button {
  border: 0; background: transparent; padding: 7px 12px; border-radius: 7px; font-size: .78rem; font-weight: 700;
  color: var(--muted); white-space: nowrap;
}
.tab-bar button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.app-list { display: flex; flex-direction: column; }
.app-row { display: flex; align-items: center; gap: 13px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.app-row:last-child { border-bottom: 0; }
.app-row:hover { background: #fcfcfb; }
.app-row .grow { min-width: 0; }
.app-row .t { font-size: .87rem; font-weight: 750; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row .t a { color: inherit; }
.app-row .t a:hover { color: var(--brand-strong); }
.app-row .s { font-size: .74rem; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row .date { font-size: .72rem; color: var(--muted-2); white-space: nowrap; }
.status {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px;
  font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.APPLIED { background: var(--info-soft); border-color: #c7dcff; color: #0b5bcd; }
.status.APPROVED, .status.OPEN, .status.COMPLETED { background: var(--success-soft); border-color: #b7ebd5; color: #067a54; }
.status.PENDING, .status.IN_PROGRESS { background: var(--brand-soft); border-color: #f7dfa0; color: #8a5a00; }
.status.REJECTED, .status.CANCELLED { background: var(--danger-soft); border-color: #fecdca; color: #b42318; }
.status.WITHDRAWN { background: var(--bg-2); border-color: var(--line); color: var(--muted); }
.job-mini { display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.job-mini:last-child { border-bottom: 0; }
.job-mini .grow { min-width: 0; }
.job-mini .t { font-size: .87rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-mini .t a { color: var(--ink); }
.job-mini .s { font-size: .73rem; color: var(--muted); margin-top: 2px; }
.job-mini .pay-sm { font-size: .8rem; font-weight: 800; white-space: nowrap; }
.job-mini .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.profile-snap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.profile-snap .avatar { width: 72px; height: 72px; font-size: 1.3rem; margin-bottom: 12px; }
.profile-snap h3 { font-size: 1.02rem; }
.profile-snap .sub { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.profile-snap .snap-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin: 18px 0; }
.profile-snap .snap-stats div { background: var(--bg-2); border-radius: 10px; padding: 9px; }
.profile-snap .snap-stats b { display: block; font-size: 1rem; }
.profile-snap .snap-stats small { color: var(--muted); font-size: .68rem; }
.progress { height: 8px; border-radius: 20px; background: var(--bg-2); overflow: hidden; width: 100%; }
.progress .bar { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--brand), var(--brand-strong)); transition: width .4s; }
.progress-label { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; color: var(--muted); margin: 7px 0 4px; }
.progress-label b { color: var(--ink); }
.note { display: flex; gap: 9px; padding: 11px 13px; border-radius: 10px; background: var(--bg-2); color: var(--ink-3); font-size: .78rem; line-height: 1.5; }
.note .ico { width: 16px; height: 16px; color: var(--muted); margin-top: 1px; }
.billing-empty { padding: 34px 20px; text-align: center; color: var(--muted); font-size: .82rem; }

/* ---------- apply form / modals ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 15, 28, .58); backdrop-filter: blur(4px); animation: fade .18s ease; }
.modal-card {
  position: relative; z-index: 1; width: min(560px, 100%); max-height: min(88vh, 860px); overflow: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
  animation: pop .2s cubic-bezier(.2, .8, .3, 1); display: flex; flex-direction: column;
}
.modal-card.wide { width: min(760px, 100%); }
.modal-head { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.13rem; }
.modal-head p { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.modal-close {
  margin-left: auto; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; display: grid; place-items: center; color: var(--muted); flex: 0 0 auto;
}
.modal-close:hover { background: var(--bg-2); color: var(--ink); }
.modal-close .ico { width: 17px; height: 17px; }
.modal-body { padding: 20px 22px; overflow: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 15px 22px; border-top: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.modal-foot .btn { min-width: 96px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.stars-input label { font-size: 1.75rem; line-height: 1; color: #d8dde5; cursor: pointer; transition: color .12s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--brand-strong); }
.applicant-card { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.applicant-card:last-child { margin-bottom: 0; }
.applicant-card .grow { min-width: 0; }
.applicant-card .top { display: flex; gap: 10px; align-items: center; }
.applicant-card .top b { font-size: .9rem; }
.applicant-card .cover { margin-top: 9px; padding: 9px 11px; background: var(--bg-2); border-radius: 8px; font-size: .78rem; color: var(--ink-3); line-height: 1.5; white-space: pre-line; }
.applicant-card .actions { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; }

/* ---------- toast ---------- */
.toast-root { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: min(390px, calc(100vw - 40px)); }
.toast {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ink);
  border-radius: 11px; box-shadow: var(--shadow-lg); font-size: .84rem; animation: slidein .25s ease;
}
.toast.ok { border-left-color: var(--success); }
.toast.err { border-left-color: var(--danger); }
.toast.warn { border-left-color: var(--brand); }
.toast .ico { width: 18px; height: 18px; margin-top: 1px; flex: 0 0 auto; }
.toast.ok .ico { color: var(--success); }
.toast.err .ico { color: var(--danger); }
.toast.warn .ico { color: var(--brand-strong); }
.toast .msg { flex: 1; color: var(--ink-2); line-height: 1.45; }
.toast .x { border: 0; background: none; color: var(--muted); padding: 0; }
.toast .x .ico { width: 14px; height: 14px; margin: 0; }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } }

/* ---------- profile / forms pages ---------- */
.form-page { padding: 34px 0 72px; }
.form-shell { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 28px; align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-panel-head { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.form-panel-head h2 { font-size: 1.05rem; }
.form-panel-head p { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.form-panel-body { padding: 24px; }
.form-section + .form-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-section h3 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 15px; }
.form-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-actions .left { margin-right: auto; }
.preview-job { padding: 20px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--surface-2); }
.preview-job .label { margin-bottom: 12px; }
.preview-job h3 { font-size: 1rem; }
.preview-job .muted { font-size: .78rem; }
.preview-job .pay { margin-top: 10px; }
.preview-job .tag-row { margin-top: 12px; }
.tip-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tip-list li { display: flex; gap: 9px; font-size: .8rem; color: var(--ink-3); line-height: 1.5; }
.tip-list .ico { width: 15px; height: 15px; color: var(--brand-strong); margin-top: 1px; }
.danger-zone { border-color: #fecdca; }
.danger-zone .form-panel-head { background: #fffbfa; }
.danger-zone h2 { color: var(--danger); }

/* ---------- 404 ---------- */
.error-page { min-height: calc(100vh - var(--header-h) - 340px); display: grid; place-items: center; padding: 80px 0; text-align: center; }
.error-page .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; letter-spacing: -.08em; color: var(--brand); line-height: .9; }
.error-page h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 10px 0 10px; }
.error-page p { color: var(--muted); max-width: 480px; margin: 0 auto 26px; }
.error-page .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .float-chip { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero .wrap { gap: 34px; }
  .trade-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col.extra { display: none; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 310px; }
  .detail-side { position: static; }
  .dash-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-nav, .nav-actions .desktop-only { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .nav-actions { margin-left: 0; }
  .nav-actions .btn { display: none; }
  .nav-user { display: none; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 16px 18px; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { padding: 54px 0 66px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; max-width: 560px; width: 100%; margin: 10px auto 0; }
  .hero h1 .hl { white-space: normal; }
  .section { padding: 58px 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .split-cta { grid-template-columns: 1fr; }
  .trade-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing-shell { grid-template-columns: minmax(0, 1fr); }
  .filters {
    position: static; display: none;
  }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .filters-head { margin-bottom: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side .side-card { position: static; }
  .auth-shell { grid-template-columns: 1fr; min-height: 0; }
  .auth-aside { display: none; }
  .auth-main { padding: 42px 24px 64px; }
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { position: static; order: -1; }
  .job-hero-card .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-about { max-width: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .wrap { padding: 0 18px; }
  body { font-size: 15px; }
  .nav-actions { display: none; }
  .brand-name span { display: none; }
  .brand-mark { width: 35px; height: 35px; border-radius: 10px; }
  .hero { padding: 42px 0 54px; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.1rem); margin-top: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 16px; }
  .hero-points li { font-size: .78rem; }
  .hero-visual { min-height: 330px; margin-top: 18px; }
  .mock-card { padding: 15px; transform: none; }
  .float-chip { font-size: .68rem; padding: 8px 11px; }
  .float-chip.a, .float-chip.b { display: none; }
  .float-chip.c { bottom: -14px; right: 12px; }
  .section { padding: 46px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .trade-card { padding: 13px; }
  .trade-card b { font-size: .8rem; }
  .job-grid { grid-template-columns: minmax(0, 1fr); }
  .worker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .worker-card { padding: 18px 12px 14px; }
  .worker-card .avatar { width: 62px; height: 62px; font-size: 1.15rem; }
  .worker-card .foot { flex-direction: column; align-items: stretch; }
  .worker-card .foot .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .role-card { padding: 24px 20px; }
  .role-card h3 { font-size: 1.25rem; }
  .cta-band .wrap { padding-top: 44px; padding-bottom: 44px; }
  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 42px 0 30px; }
  .footer-top > .footer-brand { grid-column: span 2; }
  .site-footer { margin-top: 54px; }
  .footer-bottom { justify-content: flex-start; gap: 12px; }
  .page-band .wrap { padding-top: 34px; padding-bottom: 32px; }
  .listing { padding: 24px 0 54px; }
  .results-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .results-head .sort { width: 100%; }
  .results-head .sort .select { flex: 1; width: 100%; }
  .pagination button { min-width: 34px; height: 34px; }
  .detail { padding: 22px 0 54px; }
  .detail-card, .job-hero-card { padding: 18px; }
  .job-hero-card .top { gap: 11px; }
  .job-hero-card .company-logo { width: 46px; height: 46px; }
  .job-hero-card .meta-grid { gap: 13px 10px; }
  .benefit-list { grid-template-columns: 1fr; }
  .worker-hero { gap: 15px; }
  .worker-hero .avatar.xl { width: 82px; height: 82px; font-size: 1.5rem; }
  .worker-hero .who { min-width: 0; flex-basis: 100%; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-grid .span-2 { grid-column: auto; }
  .form-panel-body { padding: 18px; }
  .form-panel-head { padding: 18px; }
  .dash { padding: 24px 0 54px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card .s-val { font-size: 1.5rem; }
  .stat-card .s-ico { width: 32px; height: 32px; margin-bottom: 10px; }
  .stat-card .s-sub { display: none; }
  .dash-head .actions { width: 100%; }
  .dash-head .actions .btn { flex: 1; }
  .app-row { padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
  .app-row .date { display: none; }
  .job-mini { padding: 12px 14px; flex-wrap: wrap; }
  .job-mini .actions { width: 100%; justify-content: flex-start; }
  .panel-body { padding: 15px; }
  .panel-head { padding: 14px 15px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-card { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  .modal-head, .modal-body, .modal-foot { padding-left: 18px; padding-right: 18px; }
  .modal-foot .btn { flex: 1; }
  .toast-root { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .auth-main { padding: 30px 20px 50px; }
  .auth-header .nav-shell { gap: 10px; }
  .auth-top-link { margin-bottom: 20px; }
  .google-slot { min-height: 42px; }
  .error-page { padding: 60px 0; }
}

@media (max-width: 420px) {
  .worker-grid { grid-template-columns: minmax(0, 1fr); }
  .worker-card .foot { flex-direction: row; align-items: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > .footer-brand { grid-column: auto; }
  .segmented button { font-size: .8rem; padding: 0 6px; }
}
