/* ============================================================
   Labour Chownk — Production CSS  v3.0
   Design tokens from Google Stitch.
   To recompile: npm run build (uses tailwind.config.js)
   ============================================================ */

/* === 1. FONT FACES (self-hosted Inter, fallback to Google CDN) ===
   Run: node download-fonts.js  OR  npm run fonts
   to download .woff2 into /fonts/                              */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
}

/* === 2. DESIGN TOKENS === */
:root {
  --clr-primary:               #091426;
  --clr-on-primary:            #ffffff;
  --clr-primary-container:     #1e293b;
  --clr-on-primary-container:  #8590a6;
  --clr-primary-fixed:         #d8e3fb;
  --clr-primary-fixed-dim:     #bcc7de;
  --clr-on-primary-fixed:      #111c2d;
  --clr-on-primary-fixed-var:  #3c475a;
  --clr-inverse-primary:       #bcc7de;

  --clr-secondary:             #855300;
  --clr-on-secondary:          #ffffff;
  --clr-secondary-container:   #fea619;
  --clr-on-secondary-container:#684000;
  --clr-secondary-fixed:       #ffddb8;
  --clr-secondary-fixed-dim:   #ffb95f;
  --clr-on-secondary-fixed:    #2a1700;
  --clr-on-secondary-fixed-var:#653e00;

  --clr-error:                 #ba1a1a;
  --clr-on-error:              #ffffff;
  --clr-error-container:       #ffdad6;
  --clr-on-error-container:    #93000a;

  --clr-surface:               #f7f9fb;
  --clr-on-surface:            #191c1e;
  --clr-on-surface-variant:    #45474c;
  --clr-surface-lowest:        #ffffff;
  --clr-surface-low:           #f2f4f6;
  --clr-surface-container:     #eceef0;
  --clr-surface-high:          #e6e8ea;
  --clr-surface-highest:       #e0e3e5;
  --clr-surface-dim:           #d8dadc;
  --clr-inverse-surface:       #2d3133;
  --clr-inverse-on-surface:    #eff1f3;
  --clr-background:            #f7f9fb;
  --clr-on-background:         #191c1e;

  --clr-outline:               #75777d;
  --clr-outline-variant:       #c5c6cd;

  --clr-action-blue:           #2563eb;
  --clr-amber:                 #F59E0B;
  --clr-orange:                #FF7E1D;
  --clr-deep-indigo:           #1E293B;

  --shadow-card:               0 4px 20px rgba(30,41,59,0.05);
  --shadow-card-hover:         0 8px 30px rgba(30,41,59,0.12);
  --shadow-nav:                0 -4px 20px rgba(30,41,59,0.05);
  --shadow-modal:              0 8px 30px rgba(30,41,59,0.12);
  --shadow-btn:                0 4px 14px rgba(9,20,38,0.2);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  32px;

  --header-h:  64px;
  --nav-h:     68px;
}

/* === 3. RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.5;
  color: var(--clr-on-surface); background: var(--clr-background);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  padding-top: var(--header-h); padding-bottom: var(--nav-h);
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* === 4. TYPOGRAPHY === */
.t-display { font-size: 36px; line-height: 44px; letter-spacing: -0.02em; font-weight: 800; }
.t-h1      { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; font-weight: 700; }
.t-h1-mob  { font-size: 24px; line-height: 30px; font-weight: 700; }
.t-h2      { font-size: 20px; line-height: 28px; font-weight: 600; }
.t-body-lg { font-size: 18px; line-height: 28px; }
.t-body    { font-size: 16px; line-height: 24px; }
.t-label   { font-size: 14px; line-height: 20px; letter-spacing: 0.02em; font-weight: 600; }
.t-caption { font-size: 12px; line-height: 16px; letter-spacing: 0.04em; font-weight: 500; }
.fw-black  { font-weight: 900; }
.fw-bold   { font-weight: 700; }
.fw-semi   { font-weight: 600; }

/* === 5. LAYOUT UTILITIES === */
.container {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-inline: var(--space-sm);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-lg); } }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-1       { flex: 1 1 0%; }
.flex-none    { flex: none; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-around  { justify-content: space-around; }
.justify-end     { justify-content: flex-end; }

.gap-1 { gap: 4px; }   .gap-2 { gap: 8px; }   .gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }  .gap-5 { gap: 20px; }  .gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.grid { display: grid; }
.g-2  { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.g-3  { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.g-4  { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (min-width: 768px) { .g-3 { grid-template-columns: repeat(3, 1fr); } }

.w-full    { width: 100%; }
.max-w-md  { max-width: 28rem; }
.mx-auto   { margin-inline: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.relative  { position: relative; }
.absolute  { position: absolute; }
.inset-0   { inset: 0; }
.z-10      { z-index: 10; }
.z-50      { z-index: 50; }
.shrink-0  { flex-shrink: 0; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.text-center { text-align: center; }
.clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hidden  { display: none !important; }
.md-show { display: none; }
@media (min-width: 768px) {
  .md-show  { display: flex; }
  .md-hide  { display: none !important; }
  .md-block { display: block; }
  .md-grid  { display: grid; }
}

/* Spacing */
.mt-1 { margin-top: 4px; }   .mt-2 { margin-top: 8px; }   .mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }  .mt-6 { margin-top: 24px; }  .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.ml-1 { margin-left: 4px; }
.p-3  { padding: 12px; } .p-4 { padding: 16px; } .p-5 { padding: 20px; }
.px-3 { padding-inline: 12px; } .px-4 { padding-inline: 16px; } .px-6 { padding-inline: 24px; }
.py-2 { padding-block: 8px; }   .py-3 { padding-block: 12px; }  .py-4 { padding-block: 16px; }
.pb-4 { padding-bottom: 16px; }

/* Color helpers */
.c-primary { color: var(--clr-primary); }
.c-muted   { color: var(--clr-on-surface-variant); }
.c-blue    { color: var(--clr-action-blue); }
.c-amber   { color: var(--clr-amber); }
.c-orange  { color: var(--clr-orange); }
.c-error   { color: var(--clr-error); }
.c-white   { color: #fff; }
.c-on-primary-fixed { color: var(--clr-on-primary-fixed); }
.bg-lowest    { background: var(--clr-surface-lowest); }
.bg-surface   { background: var(--clr-surface); }
.bg-low       { background: var(--clr-surface-low); }
.bg-container { background: var(--clr-surface-container); }
.bg-primary   { background: var(--clr-primary); }
.bg-amber     { background: var(--clr-amber); }
.bg-blue      { background: var(--clr-action-blue); }
.bg-sec-container { background: var(--clr-secondary-container); }
.bg-pri-container { background: var(--clr-primary-container); }

.border-variant { border: 1px solid var(--clr-outline-variant); }
.border-surface { border: 1px solid var(--clr-surface-container); }
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-card  { box-shadow: var(--shadow-card); }
.shadow-modal { box-shadow: var(--shadow-modal); }

/* === 6. TOP BAR === */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h); z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--space-sm);
  background: var(--clr-surface-lowest);
  box-shadow: 0 1px 0 var(--clr-outline-variant);
}
.top-bar__logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 900; color: var(--clr-primary); letter-spacing: -0.03em;
}
.top-bar__logo svg { width: 22px; height: 22px; flex-shrink: 0; }
.top-bar__lang {
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--clr-primary);
  padding: 6px 14px; border-radius: var(--radius-full); background: var(--clr-surface-low);
  transition: background 0.15s; min-height: 44px;
}
.top-bar__lang:hover { background: var(--clr-surface-container); }

/* === 7. BOTTOM NAV === */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-around; align-items: center;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  background: var(--clr-surface-lowest);
  border-top: 1px solid var(--clr-outline-variant);
  box-shadow: var(--shadow-nav); border-radius: 16px 16px 0 0;
}
@media (min-width: 768px) { .bottom-nav { display: none; } }
.bnav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--clr-on-surface-variant); transition: color 0.15s, background 0.15s;
  min-width: 56px; min-height: 44px; justify-content: center; text-decoration: none;
}
.bnav-item svg { width: 24px; height: 24px; }
.bnav-item--active { background: var(--clr-secondary-container); color: var(--clr-on-secondary-container); font-weight: 700; }
.bnav-item:hover:not(.bnav-item--active) { color: var(--clr-primary); }

/* === 8. PAGE CANVAS === */
.page-canvas {
  max-width: 1200px; margin-inline: auto;
  padding-inline: var(--space-sm); padding-block: var(--space-md);
  display: flex; flex-direction: column; gap: var(--space-lg);
}
@media (min-width: 768px) { .page-canvas { padding-inline: var(--space-lg); } }
.section { display: flex; flex-direction: column; gap: var(--space-sm); }

/* === 9. CARDS === */
.card {
  background: var(--clr-surface-lowest);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197,198,205,0.3);
  box-shadow: var(--shadow-card); transition: box-shadow 0.2s; overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-card-hover); }
.job-card__head { padding: 1rem; border-bottom: 1px solid var(--clr-surface-container); }
.job-card__foot {
  padding: 1rem; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 0.75rem;
}
.worker-card { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.worker-card__top { display: flex; align-items: flex-start; gap: 1rem; }
.worker-card__actions { display: flex; gap: 0.5rem; }

.car-card {
  flex: none; width: 280px; background: var(--clr-surface-lowest);
  border-radius: var(--radius-xl); border: 1px solid rgba(197,198,205,0.3);
  box-shadow: var(--shadow-card); padding: 1rem; display: flex; flex-direction: column;
  gap: 1rem; cursor: pointer; transition: box-shadow 0.2s; scroll-snap-align: start;
}
.car-card:hover { box-shadow: var(--shadow-card-hover); }

.stats-card {
  flex: none; min-width: 180px; background: var(--clr-surface-lowest);
  border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-card);
  border: 1px solid rgba(197,198,205,0.3); display: flex; align-items: center; gap: 0.75rem;
}
.stats-icon {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stats-icon svg { width: 22px; height: 22px; }
.stats-icon--blue  { background: rgba(37,99,235,0.1);  color: var(--clr-action-blue); }
.stats-icon--amber { background: rgba(245,158,11,0.1); color: var(--clr-amber); }

/* === 10. BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-lg);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; line-height: 20px;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  min-height: 44px; white-space: nowrap; border: none; cursor: pointer; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--clr-primary); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--clr-deep-indigo); }
.btn-primary:active { transform: scale(0.98); }
.btn-amber { background: var(--clr-amber); color: var(--clr-on-secondary-fixed); }
.btn-amber:hover { background: #d97706; }
.btn-blue  { background: var(--clr-action-blue); color: #fff; }
.btn-blue:hover { background: #1d4ed8; }
.btn-outline-blue { background: transparent; border: 2px solid var(--clr-action-blue); color: var(--clr-action-blue); }
.btn-outline-blue:hover { background: rgba(37,99,235,0.05); }
.btn-ghost { background: var(--clr-surface-low); color: var(--clr-primary); border: 1px solid rgba(197,198,205,0.5); }
.btn-ghost:hover { background: var(--clr-surface-container); }
.btn-full { width: 100%; }
.btn-sm   { padding: 8px 16px; font-size: 12px; min-height: 36px; }
.btn-rounded { border-radius: var(--radius-full); }

/* === 11. BADGES === */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px;
  border-radius: var(--radius-full); font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; }
.badge-amber   { background: var(--clr-amber);            color: var(--clr-on-secondary-fixed); }
.badge-blue    { background: var(--clr-action-blue);       color: #fff; }
.badge-surface { background: var(--clr-surface-container); color: var(--clr-on-surface-variant); }
.badge-green   { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.badge-nearby  { background: #e8f5e9; color: #166534; border: 1px solid #bbf7d0; }
.badge-dot::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* === 12. CHIPS === */
.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px;
  border-radius: var(--radius-full); font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; border: 1px solid var(--clr-outline-variant);
  background: var(--clr-surface-lowest); color: var(--clr-on-surface-variant);
  cursor: pointer; transition: background 0.15s; white-space: nowrap;
  min-height: 44px; font-family: inherit;
}
.chip svg { width: 16px; height: 16px; }
.chip:hover { background: var(--clr-surface-container); }
.chip--active { background: var(--clr-primary-container); color: #fff; border-color: var(--clr-primary-container); }

/* === 13. FORMS === */
.form-group  { display: flex; flex-direction: column; gap: 6px; }
.form-label  { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--clr-on-surface); }
.form-input  {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--clr-outline-variant); border-radius: var(--radius-md);
  font-size: 16px; line-height: 24px; color: var(--clr-on-surface);
  background: var(--clr-surface); transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus { outline: none; border-color: var(--clr-primary); box-shadow: 0 0 0 2px rgba(9,20,38,0.12); }
.form-input::placeholder { color: rgba(69,71,76,0.5); }
.form-input-wrap { position: relative; }
.form-input-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--clr-on-surface-variant); pointer-events: none; }
.form-input-wrap .form-input { padding-left: 40px; }
.form-error { font-size: 12px; color: var(--clr-error); margin-top: 4px; }
.form-hint  { font-size: 12px; color: var(--clr-on-surface-variant); margin-top: 4px; }

/* Range Slider */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 8px; background: var(--clr-surface-highest); border-radius: 4px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 24px; width: 24px; border-radius: 50%; background: var(--clr-orange); margin-top: -8px; border: 2px solid white; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
input[type=range]::-moz-range-track { height: 8px; background: var(--clr-surface-highest); border-radius: 4px; }
input[type=range]::-moz-range-thumb { height: 24px; width: 24px; border-radius: 50%; background: var(--clr-orange); border: 2px solid white; }
input[type=range]:focus { outline: none; }

/* === 14. AVATAR === */
.avatar { border-radius: 50%; object-fit: cover; border: 2px solid var(--clr-surface-container); flex-shrink: 0; }
.avatar-sm { width: 36px; height: 36px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-lg { width: 64px; height: 64px; }
.avatar-placeholder { border-radius: 50%; background: var(--clr-surface-container); display: flex; align-items: center; justify-content: center; color: var(--clr-on-surface-variant); font-weight: 700; flex-shrink: 0; }
.avatar-placeholder.avatar-lg { width: 64px; height: 64px; font-size: 22px; }

/* === 15. SEARCH BAR === */
.search-bar { position: relative; width: 100%; }
.search-bar svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--clr-outline); pointer-events: none; }
.search-bar input {
  width: 100%; padding: 16px 16px 16px 48px;
  border: 1px solid var(--clr-outline-variant); border-radius: var(--radius-full);
  font-size: 16px; background: var(--clr-surface-lowest); color: var(--clr-on-surface);
  box-shadow: var(--shadow-card); transition: box-shadow 0.2s; -webkit-appearance: none;
}
.search-bar input:focus { outline: none; box-shadow: 0 0 0 2px var(--clr-action-blue), var(--shadow-card); border-color: transparent; }
.search-bar input::placeholder { color: var(--clr-on-surface-variant); }

/* === 16. CATEGORY GRID === */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (min-width: 768px) { .category-grid { display: flex; gap: 2rem; } }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: none; cursor: pointer; }
.cat-item__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--clr-surface-lowest); box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: center; color: var(--clr-primary); transition: transform 0.2s, box-shadow 0.2s; }
.cat-item__icon svg { width: 30px; height: 30px; }
.cat-item:hover .cat-item__icon { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.cat-item__label { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--clr-on-surface-variant); }

/* === 17. CAROUSEL === */
.carousel {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; padding-top: 4px;
  margin-inline: calc(-1 * var(--space-sm)); padding-inline: var(--space-sm);
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel { scrollbar-width: none; }
@media (min-width: 768px) { .carousel { margin-inline: 0; padding-inline: 0; } }

/* === 18. STARS === */
.stars { display: flex; align-items: center; gap: 4px; }
.stars svg { width: 14px; height: 14px; color: var(--clr-amber); }
.stars__val { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--clr-on-surface); }
.stars__cnt { font-size: 12px; color: var(--clr-on-surface-variant); }

/* === 19. LOCKED CTA === */
.locked-wrap { position: relative; }
.locked-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  border-radius: var(--radius-md); z-index: 10;
  display: flex; align-items: center; justify-content: center; cursor: not-allowed;
}
.locked-overlay svg { width: 20px; height: 20px; color: var(--clr-outline); }
.locked-blur { filter: blur(1px); }

/* === 20. UNLOCK BANNER === */
.unlock-banner {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  background: var(--clr-primary-container); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
}
.unlock-icon {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--clr-amber); display: flex; align-items: center; justify-content: center;
  color: var(--clr-on-secondary-fixed); flex-shrink: 0;
}
.unlock-icon svg { width: 20px; height: 20px; }
.unlock-title { font-size: 14px; font-weight: 600; color: var(--clr-on-primary); }
.unlock-sub   { font-size: 12px; color: var(--clr-primary-fixed-dim); margin-top: 2px; }

/* === 21. TABS === */
.tab-bar { display: flex; padding: 4px; background: var(--clr-surface-low); border-radius: var(--radius-lg); }
.tab-item {
  flex: 1; padding: 10px 16px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--clr-on-surface-variant); text-align: center;
  transition: background 0.15s, color 0.15s; cursor: pointer;
  border: none; background: none; font-family: inherit;
}
.tab-item:hover:not(.tab-item--active) { color: var(--clr-primary); }
.tab-item--active { background: var(--clr-surface-lowest); color: var(--clr-primary); box-shadow: 0 2px 8px rgba(30,41,59,0.08); }
.tab-panel { display: none; }
.tab-panel--active { display: block; }

/* === 22. AUTH === */
.auth-card { width: 100%; max-width: 28rem; margin-inline: auto; background: var(--clr-surface-lowest); border-radius: var(--radius-lg); box-shadow: var(--shadow-modal); overflow: hidden; }
.auth-hero { height: 128px; background-size: cover; background-position: center; position: relative; }
.auth-hero__grad { position: absolute; inset: 0; background: linear-gradient(to top, var(--clr-surface-lowest), transparent); }
.auth-body { padding: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-md); margin-top: -24px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--clr-surface-lowest); position: relative; z-index: 1; }

/* === 23. UPLOAD ZONE === */
.upload-zone {
  border: 2px dashed var(--clr-outline-variant); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; background: var(--clr-surface);
  cursor: pointer; transition: background 0.15s; text-align: center;
}
.upload-zone:hover { background: var(--clr-surface-container); }
.upload-icon-wrap { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--clr-surface-highest); display: flex; align-items: center; justify-content: center; }
.upload-icon-wrap svg { width: 24px; height: 24px; color: var(--clr-on-surface-variant); }

/* === 24. DIVIDER === */
.divider { display: flex; align-items: center; gap: 1rem; padding-block: 1rem; }
.divider__line { flex: 1; height: 1px; background: rgba(197,198,205,0.5); }
.divider__text { font-size: 12px; font-weight: 500; color: var(--clr-on-surface-variant); text-transform: uppercase; letter-spacing: 0.04em; }

/* === 25. TOAST === */
.toast {
  position: fixed; bottom: calc(var(--nav-h) + 12px); left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--clr-inverse-surface); color: var(--clr-inverse-on-surface);
  padding: 12px 20px; border-radius: var(--radius-lg);
  font-size: 14px; font-weight: 500; white-space: nowrap; z-index: 999;
  transition: transform 0.3s ease; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-error { background: var(--clr-error); color: #fff; }

/* === 26. SKELETON === */
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton {
  background: linear-gradient(90deg, var(--clr-surface-container) 25%, var(--clr-surface-low) 50%, var(--clr-surface-container) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-md);
}
.skel-text   { height: 16px; border-radius: 4px; }
.skel-title  { height: 24px; width: 60%; border-radius: 4px; }
.skel-card   { height: 160px; border-radius: var(--radius-xl); }
.skel-avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }

/* === 27. DESKTOP SIDEBAR LAYOUT === */
.layout-sidebar {
  display: flex; align-items: flex-start; gap: var(--space-md);
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-inline: var(--space-sm); padding-block: var(--space-md);
}
@media (min-width: 768px) { .layout-sidebar { padding-inline: var(--space-lg); } }
.sidebar-nav { display: none; flex-direction: column; width: 240px; flex-shrink: 0; position: sticky; top: calc(var(--header-h) + 16px); }
@media (min-width: 768px) { .sidebar-nav { display: flex; } }
.sidebar-nav__logo { font-size: 22px; font-weight: 900; color: var(--clr-primary); display: flex; align-items: center; gap: 8px; margin-bottom: 2rem; }
.sidebar-nav__logo svg { width: 22px; height: 22px; }
.sidebar-nav__menu { display: flex; flex-direction: column; gap: 4px; }
.sidebar-link { display: flex; align-items: center; gap: 1rem; padding: 12px 16px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--clr-on-surface-variant); transition: background 0.15s, color 0.15s; }
.sidebar-link svg { width: 24px; height: 24px; }
.sidebar-link:hover { background: var(--clr-surface-container); color: var(--clr-primary); }
.sidebar-link--active { background: var(--clr-secondary-container); color: var(--clr-on-secondary-container); font-weight: 700; }
.feed-col { flex: 1; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: var(--space-md); }

/* === 28. DATE CHIP === */
.date-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 500; background: var(--clr-surface-container); color: var(--clr-on-surface-variant); }
.date-chip svg { width: 14px; height: 14px; }
.date-chip--urgent { background: rgba(245,158,11,0.1); color: var(--clr-amber); }

/* === 29. EMPTY STATE === */
.empty-state { text-align: center; padding: 48px 24px; color: var(--clr-on-surface-variant); }
.empty-state svg { width: 48px; height: 48px; margin-inline: auto; margin-bottom: 16px; opacity: 0.4; }
.empty-state p { margin-top: 8px; font-size: 14px; }

/* === 30. GOOGLE TRANSLATE override === */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }

/* === 31. DASHBOARD === */
.profile-header { display: flex; align-items: center; gap: 1rem; margin-bottom: var(--space-md); }
.job-row {
  background: var(--clr-surface-lowest); border: 1px solid rgba(197,198,205,0.3);
  border-radius: var(--radius-lg); padding: 1rem;
  display: flex; flex-direction: column; gap: 0.5rem; box-shadow: var(--shadow-card);
}
.job-row + .job-row { margin-top: 0.75rem; }
.job-row__title { font-size: 16px; font-weight: 600; color: var(--clr-primary); }
.job-row__meta  { font-size: 12px; color: var(--clr-on-surface-variant); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.job-row__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.applicant-row {
  background: var(--clr-surface-low); border-radius: var(--radius-md);
  padding: 0.75rem 1rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap;
}
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.status-open     { background: rgba(37,99,235,0.1);  color: var(--clr-action-blue); }
.status-assigned { background: rgba(245,158,11,0.1); color: var(--clr-amber); }
.status-completed{ background: #dcfce7; color: #166534; }
.status-pending  { background: var(--clr-surface-container); color: var(--clr-on-surface-variant); }
.status-accepted { background: #dcfce7; color: #166534; }
.status-rejected { background: var(--clr-error-container); color: var(--clr-error); }

/* === 32. WAGE DISPLAY === */
.wage-display { font-size: 20px; font-weight: 600; color: var(--clr-orange); }
.wage-bounds  { display: flex; justify-content: space-between; font-size: 12px; color: var(--clr-on-surface-variant); padding-inline: 4px; }
.wage-box { background: var(--clr-surface); border: 1px solid var(--clr-surface-high); border-radius: var(--radius-md); padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }

/* === 33. DASHBOARD TABS (aliases for tab-bar/tab-item) === */
.tabs { display: flex; background: #f0f2f5; border-radius: 12px; padding: 4px; gap: 2px; overflow-x: auto; }
.tab  {
  flex: 1; padding: 10px 14px; border-radius: 9px; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: #6b7280; text-align: center;
  transition: background 0.15s, color 0.15s; cursor: pointer;
  border: none; background: none; font-family: inherit; min-height: 40px;
}
.tab:hover:not(.tab--active) { color: var(--clr-primary); }
.tab--active { background: #fff; color: var(--clr-primary); box-shadow: 0 2px 8px rgba(30,41,59,0.08); }

/* === 34. UPLOAD ZONE DRAG STATE === */
.upload-zone--drag { border-color: var(--clr-action-blue); background: #eff6ff; }

/* === 35. FORM SUCCESS BANNER === */
.form-success { background: #ecfdf5; border: 1px solid #6ee7b7; border-radius: 10px; padding: 12px 16px; color: #065f46; font-size: 14px; }

/* === 36. WORKER CARD v2 — Google Maps style === */
/* Photo strip */
.wcard-photo-wrap {
  position: relative; height: 160px; overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #f3f4f6;
}
.wcard-photo-wrap--empty {
  background: linear-gradient(135deg, #1e3a5f 0%, #091426 100%);
  display: flex; align-items: center; justify-content: center;
}
.wcard-photo-wrap--duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.wcard-photo-wrap--grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 2px;
}
.wcard-photo-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.wcard-photo-main { height: 160px; overflow: hidden; }
.wcard-photo-side { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; height: 160px; }
.wcard-photo-last { position: relative; overflow: hidden; }
.wcard-photo-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.52); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.02em;
}
.wcard-initials-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.03em;
}
.wcard-media-badge {
  position: absolute; bottom: 8px; right: 10px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: 99px; pointer-events: none;
}
/* Card body */
.wcard-body { padding: 12px 14px 8px; }
.wcard-name { font-size: 16px; font-weight: 800; color: var(--clr-primary); line-height: 1.3; }
.wcard-role { font-size: 13px; color: var(--clr-on-surface-variant); margin-top: 2px; }
/* Stars row */
.wcard-stars { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 6px 0; }
.wcard-stars__num { font-size: 14px; font-weight: 700; color: #f59e0b; line-height: 1; }
.wcard-stars__icons { display: flex; align-items: center; gap: 1px; }
.wcard-stars__cnt { font-size: 12px; color: var(--clr-on-surface-variant); }
/* Meta row */
.wcard-meta {
  font-size: 12px; color: var(--clr-on-surface-variant);
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.wcard-meta svg { width: 12px; height: 12px; flex-shrink: 0; }
/* Actions */
.wcard-actions { padding: 0 14px 14px; display: flex; gap: 8px; margin-top: 2px; }
