/* ================================================================
   Zentara v4 "Atlas" — Design System
   Professional community platform for Nepali Australians
   Redesigned 2026-04-16 | Clean · Precise · Trustworthy
   ================================================================ */

/* ---------------------------------------------------------------
   0. BASE RESET & GLOBAL
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
    background: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.app-main { padding-bottom: 2rem; }
.app-page-shell { min-height: calc(100vh - 180px); }

/* ---------------------------------------------------------------
   1. DESIGN TOKENS (CSS CUSTOM PROPERTIES)
--------------------------------------------------------------- */
:root {
    /* Brand */
    --z-blue:         #3D3859;
    --z-blue-hover:   #2D2849;
    --z-blue-light:   #EDE8F7;
    --z-blue-border:  #C4B5E8;

    /* Accent (peach) */
    --z-peach:        #F2B999;
    --z-peach-light:  #FFF3E8;
    --z-peach-border: #F8D4B5;

    /* Surfaces */
    --z-bg:           #f8fafc;
    --z-surface:      #ffffff;
    --z-surface-2:    #f8fafc;
    --z-surface-3:    #f1f5f9;

    /* Text */
    --z-ink:          #0f172a;
    --z-ink-2:        #1e293b;
    --z-muted:        #475569;
    --z-subtle:       #94a3b8;
    --z-placeholder:  #cbd5e1;

    /* Borders */
    --z-border:       #e2e8f0;
    --z-border-2:     #f1f5f9;

    /* Semantic */
    --z-success:      #059669;
    --z-success-bg:   #ecfdf5;
    --z-success-border:#a7f3d0;
    --z-warn:         #d97706;
    --z-warn-bg:      #fffbeb;
    --z-warn-border:  #fde68a;
    --z-danger:       #dc2626;
    --z-danger-bg:    #fef2f2;
    --z-danger-border:#fecaca;
    --z-info:         #0284c7;
    --z-info-bg:      #f0f9ff;
    --z-info-border:  #bae6fd;

    /* Elevation shadows */
    --z-shadow-xs:    0 1px 2px rgba(15, 23, 42, 0.06);
    --z-shadow-sm:    0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --z-shadow-md:    0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --z-shadow-lg:    0 10px 28px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);
    --z-shadow-xl:    0 20px 48px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);

    /* Border radius */
    --z-r-xs:  4px;
    --z-r-sm:  6px;
    --z-r-md:  8px;
    --z-r-lg:  12px;
    --z-r-xl:  16px;
    --z-r-2xl: 20px;
    --z-r-pill: 9999px;

    /* Spacing scale (8px grid) */
    --z-1: 4px;   --z-2: 8px;   --z-3: 12px;  --z-4: 16px;
    --z-5: 20px;  --z-6: 24px;  --z-7: 28px;  --z-8: 32px;
    --z-10: 40px; --z-12: 48px; --z-16: 64px;

    /* Legacy aliases — keep pages working without HTML changes */
    --zt-brand:     var(--z-blue);
    --zt-brand-2:   var(--z-blue-hover);
    --zt-brand-ink: var(--z-ink);
    --zt-accent:    var(--z-blue);
    --zt-accent-2:  var(--z-blue-hover);
    --zt-flag:      var(--z-blue);
    --zt-surface:   var(--z-surface);
    --zt-bg:        var(--z-bg);
    --zt-ink:       var(--z-ink);
    --zt-muted:     var(--z-muted);
    --zt-line:      var(--z-border);
    --zt-success:   var(--z-success);
    --zt-warn:      var(--z-warn);
    --zt-danger:    var(--z-danger);
    --zt-radius:    var(--z-r-xl);
    --zt-radius-sm: var(--z-r-md);
    --zt-shadow:    var(--z-shadow-md);
    --zt-shadow-lg: var(--z-shadow-lg);
}

/* ---------------------------------------------------------------
   2. TYPOGRAPHY
--------------------------------------------------------------- */
.zt { font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif; color: var(--z-ink); }
.zt h1, .zt h2, .zt h3, .zt h4 {
    font-family: 'Sora', 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
    color: var(--z-ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------
   3. LAYOUT CONTAINERS
--------------------------------------------------------------- */
.zt-shell        { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.zt-shell--narrow { max-width: 760px; }
.zt-shell--mid   { max-width: 960px; }
.zt-section      { padding: 48px 0; }
.zt-section--tight { padding: 28px 0; }

/* ---------------------------------------------------------------
   4. NAVIGATION — Professional flat header
--------------------------------------------------------------- */
.curve-header-shell {
    background: var(--z-surface);
    border-bottom: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-xs);
}

.curve-header-shell .max-w-7xl { max-width: 1280px; }
.curve-header-wrap { background: transparent; border: none; border-radius: 0; padding: 0; box-shadow: none; gap: 0; }
.curve-nav-shell   { background: transparent; border: none; border-radius: 0; padding: 0; gap: 2px; }

.curve-nav-item {
    color: var(--z-ink-2);
    border-radius: var(--z-r-sm);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 12px;
    transition: color 0.14s, background 0.14s;
    text-decoration: none;
    letter-spacing: 0;
}
.curve-nav-item:hover {
    color: var(--z-blue);
    background: var(--z-blue-light);
}
.curve-nav-item.is-active {
    color: #fff;
    background: var(--z-blue);
    font-weight: 700;
}

.curve-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--z-ink-2);
    border-radius: var(--z-r-sm);
    transition: all 0.14s;
}
.curve-more-btn:hover { background: var(--z-blue-light); color: var(--z-blue); }

.curve-icon-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--z-ink-2);
    border-radius: var(--z-r-sm);
    transition: all 0.14s;
}
.curve-icon-btn:hover { background: var(--z-blue-light); color: var(--z-blue); }

.curve-auth-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--z-ink-2);
    padding: 6px 12px;
    border-radius: var(--z-r-sm);
    transition: all 0.14s;
}
.curve-auth-link:hover { background: var(--z-blue-light); color: var(--z-blue); }

.curve-auth-btn {
    background: var(--z-blue);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--z-r-md);
    box-shadow: 0 2px 8px rgba(61, 56, 89, 0.28);
    transition: all 0.14s;
    letter-spacing: -0.01em;
}
.curve-auth-btn:hover {
    background: var(--z-blue-hover);
    box-shadow: 0 4px 14px rgba(61, 56, 89, 0.36);
    transform: translateY(-1px);
}

/* Mobile nav pill items */
.mobile-nav-pill {
    border-radius: var(--z-r-sm);
    padding: 8px 14px;
    color: var(--z-ink-2);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.14s;
    display: block;
}
.mobile-nav-pill:hover { background: var(--z-surface-3); color: var(--z-ink); }
.mobile-nav-pill.is-active {
    background: var(--z-blue);
    color: #fff;
}

@media (max-width: 1024px) {
    .curve-nav-item    { font-size: 0.84rem; padding: 5px 10px; }
    .curve-more-btn    { font-size: 0.84rem; }
    .curve-auth-link   { font-size: 0.84rem; }
    .curve-auth-btn    { font-size: 0.84rem; padding: 7px 13px; }
}

/* ---------------------------------------------------------------
   5. BUTTONS
--------------------------------------------------------------- */
.zt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--z-r-pill);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: transform 0.14s, background 0.14s, box-shadow 0.14s, color 0.14s, border-color 0.14s;
    cursor: pointer;
    border: 0;
    min-height: 40px;
    white-space: nowrap;
}
.zt-btn--primary {
    background: var(--z-blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(61,56,89,0.28);
}
.zt-btn--primary:hover {
    background: var(--z-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(61,56,89,0.36);
}
.zt-btn--brand   { background: var(--z-ink); color: #fff; }
.zt-btn--brand:hover { background: var(--z-ink-2); }
.zt-btn--ghost   { background: rgba(255,255,255,0.10); color: #fff; border: 1px solid rgba(255,255,255,0.30); }
.zt-btn--ghost:hover { background: rgba(255,255,255,0.18); }
.zt-btn--outline {
    background: var(--z-surface);
    color: var(--z-ink);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-xs);
}
.zt-btn--outline:hover {
    border-color: var(--z-blue);
    color: var(--z-blue);
    box-shadow: var(--z-shadow-sm);
}
.zt-btn--sm { padding: 6px 14px; font-size: 0.8rem; min-height: 32px; }
.zt-btn--danger { background: var(--z-danger); color: #fff; }
.zt-btn--danger:hover { background: #b91c1c; }

/* Page CTAs (used on hero banners) */
.page-cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--z-r-pill);
    padding: 9px 18px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.2s;
}
.page-cta-btn.primary {
    background: var(--z-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(61,56,89,0.30);
}
.page-cta-btn.primary:hover { background: var(--z-blue-hover); transform: translateY(-1px); }
.page-cta-btn.soft {
    border: 1px solid var(--z-border);
    color: var(--z-ink);
    background: var(--z-surface);
}
.page-cta-btn.soft:hover { background: var(--z-surface-3); }

/* ---------------------------------------------------------------
   6. CARDS
--------------------------------------------------------------- */
.zt-card {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl);
    box-shadow: var(--z-shadow-sm);
}
.zt-card--pad    { padding: 20px; }
.zt-card--hover  { transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.zt-card--hover:hover {
    border-color: var(--z-blue-border);
    box-shadow: var(--z-shadow-lg);
    transform: translateY(-2px);
}
.zt-card h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.zt-card p  { font-size: 0.875rem; color: var(--z-muted); line-height: 1.6; }

/* Generic lift animation for content cards */
.lift-card { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.lift-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--z-shadow-lg);
    border-color: var(--z-blue-border);
}

/* ---------------------------------------------------------------
   7. FORM ELEMENTS
--------------------------------------------------------------- */
.zt-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--z-ink);
    margin-bottom: 6px;
    letter-spacing: -0.005em;
}
.zt-input, .zt-select, .zt-textarea {
    width: 100%;
    padding: 10px 13px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-md);
    background: var(--z-surface);
    color: var(--z-ink);
    transition: border-color 0.14s, box-shadow 0.14s;
    outline: none;
}
.zt-input::placeholder, .zt-textarea::placeholder { color: var(--z-placeholder); }
.zt-input:focus, .zt-select:focus, .zt-textarea:focus {
    border-color: var(--z-blue);
    box-shadow: 0 0 0 3px rgba(61, 56, 89, 0.12);
}
.zt-textarea { min-height: 120px; resize: vertical; }

.zt-filter-bar {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-lg);
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    box-shadow: var(--z-shadow-sm);
}
.zt-filter-bar .zt-label {
    margin: 0 0 4px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--z-subtle);
}
.zt-filter-bar .field { flex: 1 1 160px; min-width: 140px; }

/* ---------------------------------------------------------------
   8. CHIPS & FILTER PILLS
--------------------------------------------------------------- */
.zt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zt-chip {
    padding: 6px 14px;
    border-radius: var(--z-r-pill);
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--z-ink);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.14s;
}
.zt-chip:hover { border-color: var(--z-blue); color: var(--z-blue); }
.zt-chip--active { background: var(--z-blue); color: #fff; border-color: var(--z-blue); }

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--z-r-pill);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--z-border);
    color: var(--z-muted);
    background: var(--z-surface);
    cursor: pointer;
    transition: all 0.14s;
}
.filter-chip:hover  { border-color: var(--z-blue); color: var(--z-blue); }
.filter-chip.active { background: var(--z-ink); color: #fff; border-color: var(--z-ink); }

/* ---------------------------------------------------------------
   9. TAGS & BADGES
--------------------------------------------------------------- */
.zt-tag {
    display: inline-flex;
    align-items: center;
    background: var(--z-surface-3);
    color: var(--z-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--z-r-pill);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--z-border);
}
.zt-tag--brand { background: var(--z-blue-light);  color: var(--z-blue);    border-color: var(--z-blue-border); }
.zt-tag--green { background: var(--z-success-bg);  color: var(--z-success); border-color: var(--z-success-border); }
.zt-tag--red   { background: var(--z-danger-bg);   color: var(--z-danger);  border-color: var(--z-danger-border); }
.zt-tag--amber { background: var(--z-warn-bg);     color: var(--z-warn);    border-color: var(--z-warn-border); }

.zt-meta { font-size: 0.75rem; color: var(--z-subtle); }

/* Status badges (used in tables and user cards) */
.status-badge {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: var(--z-r-pill);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.status-badge.active  { background: var(--z-success-bg);  color: var(--z-success); }
.status-badge.pending { background: var(--z-warn-bg);     color: var(--z-warn);    }
.status-badge.paused  { background: var(--z-surface-3);   color: var(--z-muted);   }
.status-badge.banned  { background: var(--z-danger-bg);   color: var(--z-danger);  }

/* ---------------------------------------------------------------
   10. ALERTS
--------------------------------------------------------------- */
.zt-alert {
    padding: 12px 14px;
    border-radius: var(--z-r-md);
    font-size: 0.875rem;
    border: 1px solid;
}
.zt-alert--err { background: var(--z-danger-bg); color: var(--z-danger); border-color: var(--z-danger-border); }
.zt-alert--ok  { background: var(--z-success-bg); color: var(--z-success); border-color: var(--z-success-border); }
.zt-alert--warn { background: var(--z-warn-bg); color: var(--z-warn); border-color: var(--z-warn-border); }
.zt-alert--info { background: var(--z-info-bg); color: var(--z-info); border-color: var(--z-info-border); }

/* ---------------------------------------------------------------
   11. PAGE HERO
--------------------------------------------------------------- */
.zt-phero {
    background: var(--z-surface);
    border-bottom: 1px solid var(--z-border);
    color: var(--z-ink);
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}
.zt-phero::after {
    content: "";
    position: absolute;
    right: -8%;
    top: -40%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61,56,89,0.06), rgba(61,56,89,0) 65%);
    pointer-events: none;
}
.zt-phero .zt-shell    { position: relative; z-index: 1; }
.zt-phero h1           { color: var(--z-ink); font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.1; }
.zt-phero h1 em        { color: var(--z-blue); font-style: normal; }
.zt-phero p.sub        { color: var(--z-muted); font-size: 1rem; line-height: 1.6; margin-top: 10px; max-width: 640px; }
.zt-phero .zt-pill     {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--z-blue-light); color: var(--z-blue);
    border: 1px solid var(--z-blue-border);
    padding: 5px 12px; border-radius: var(--z-r-pill);
    font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; margin-bottom: 14px;
}

.page-hero-card {
    background: linear-gradient(125deg, #f8fafc 0%, #f1f5f9 60%, #EDE8F7 100%);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl);
    padding: 20px;
}

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: var(--z-r-pill);
    border: 1px solid rgba(61,56,89,0.18);
    background: var(--z-blue-light);
    color: var(--z-blue);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
}

/* Route-aware hero backgrounds */
body[data-route^='questions'] .page-hero-card,
body[data-route^='jobs']       .page-hero-card,
body[data-route^='housing']    .page-hero-card,
body[data-route^='marketplace'].page-hero-card,
body[data-route^='community']  .page-hero-card,
body[data-route^='events']     .page-hero-card,
body[data-route^='directory']  .page-hero-card,
body[data-route^='guides']     .page-hero-card,
body[data-route^='calculator/'].page-hero-card {
    background: linear-gradient(130deg, #0f172a 0%, #2D2849 55%, #3D3859 100%);
    color: #f8fafc;
    border: none;
    box-shadow: var(--z-shadow-xl);
}

body[data-route^='questions'] .page-hero-card .page-hero-eyebrow,
body[data-route^='jobs']       .page-hero-card .page-hero-eyebrow,
body[data-route^='housing']    .page-hero-card .page-hero-eyebrow,
body[data-route^='marketplace'].page-hero-card .page-hero-eyebrow,
body[data-route^='community']  .page-hero-card .page-hero-eyebrow,
body[data-route^='events']     .page-hero-card .page-hero-eyebrow,
body[data-route^='directory']  .page-hero-card .page-hero-eyebrow,
body[data-route^='guides']     .page-hero-card .page-hero-eyebrow,
body[data-route^='calculator/'].page-hero-card .page-hero-eyebrow {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.18);
}

/* Page shells with refined background */
body[data-route^='login']      .app-page-shell,
body[data-route^='register']   .app-page-shell,
body[data-route^='questions']  .app-page-shell,
body[data-route^='jobs']       .app-page-shell,
body[data-route^='housing']    .app-page-shell,
body[data-route^='marketplace'].app-page-shell,
body[data-route^='community']  .app-page-shell,
body[data-route^='events']     .app-page-shell,
body[data-route^='directory']  .app-page-shell,
body[data-route^='guides']     .app-page-shell,
body[data-route^='calculator/'].app-page-shell {
    background: var(--z-surface);
    border-radius: var(--z-r-xl);
    margin: 12px auto;
    max-width: 96rem;
    box-shadow: var(--z-shadow-md);
    border: 1px solid var(--z-border);
}

/* ---------------------------------------------------------------
   12. LAYOUT GRIDS & SIDEBARS
--------------------------------------------------------------- */
.zt-grid    { display: grid; gap: 18px; }
.zt-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.zt-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.zt-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.zt-with-sidebar         { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; }
.zt-with-sidebar--right  { grid-template-columns: minmax(0,1fr) 300px; }

.zt-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.zt-head h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.025em; }
.zt-link { color: var(--z-blue); font-weight: 700; font-size: 0.875rem; }
.zt-link:hover { color: var(--z-blue-hover); }

.zt-empty { padding: 40px 20px; text-align: center; color: var(--z-muted); font-size: 0.875rem; }
.zt-empty b { display: block; color: var(--z-ink); font-size: 1rem; font-weight: 700; margin-bottom: 6px; font-family: 'Sora', sans-serif; }

/* ---------------------------------------------------------------
   13. AUTH PAGES (login / register split layout)
--------------------------------------------------------------- */
.zt-auth {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    min-height: 560px;
    max-width: 1100px;
    margin: 40px auto;
    background: var(--z-surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--z-shadow-xl);
    border: 1px solid var(--z-border);
}
.zt-auth__brand {
    background: linear-gradient(160deg, #0f172a 0%, #2D2849 50%, #3D3859 100%);
    color: #f8fafc;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.zt-auth__brand::after {
    content: "";
    position: absolute;
    inset: auto -12% -32% auto;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.07), rgba(255,255,255,0) 65%);
    pointer-events: none;
}
.zt-auth__brand h2  { color: #fff; font-size: 30px; font-weight: 800; line-height: 1.08; }
.zt-auth__brand p   { color: rgba(248,250,252,0.72); }
.zt-auth__form {
    padding: 48px 40px;
    background: var(--z-surface);
}
.zt-auth__panel       { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.zt-auth__panel-list  { display: grid; gap: 10px; margin-top: 20px; }
.zt-auth__panel-item  {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 11px 12px; border-radius: var(--z-r-lg);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(248,250,252,0.85);
    font-size: 0.8125rem; line-height: 1.5;
}
.zt-auth__panel-item strong { display: block; color: #fff; font-size: 0.75rem; letter-spacing: 0.02em; }
.zt-auth__panel-dot {
    width: 9px; height: 9px; margin-top: 6px;
    border-radius: var(--z-r-pill);
    background: var(--z-blue);
    box-shadow: 0 0 0 4px rgba(61,56,89,0.25);
    flex-shrink: 0;
}
.zt-auth__safety {
    margin-top: 22px; padding: 14px 16px;
    border-radius: var(--z-r-lg);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}
.zt-auth__safety p { margin: 0; color: rgba(248,250,252,0.65); font-size: 0.75rem; line-height: 1.6; }

/* ---------------------------------------------------------------
   14. HOME FEED / COMMUNITY SECTION
--------------------------------------------------------------- */
.community-home-wrap {
    --c-smoke: var(--z-surface-2);
    --c-ink:   var(--z-ink);
    --c-accent: var(--z-blue);
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 28px;
    padding: 1.45rem;
}

.community-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 1.15rem;
}

.community-lang-pills { display: inline-flex; gap: 8px; margin-bottom: 11px; }
.community-lang-pills a, .community-lang-pills span {
    border-radius: var(--z-r-pill);
    border: 1px solid var(--z-border);
    background: var(--z-surface);
    color: var(--z-muted);
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
    padding: 3px 10px;
}
.community-lang-pills span.flag { padding: 3px 8px; }
.community-lang-pills a.is-active, .community-lang-pills span.is-active {
    color: #fff; background: var(--z-blue); border-color: var(--z-blue);
}

.community-kicker {
    color: var(--z-subtle); font-size: 0.72rem; letter-spacing: 0.14em;
    text-transform: uppercase; font-weight: 700; margin-bottom: 10px;
}
.community-title {
    color: var(--z-ink);
    font-family: 'Sora', 'Noto Sans Devanagari', sans-serif;
    font-size: clamp(1.86rem, 4.5vw, 3.2rem);
    line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; margin: 0;
}
.community-subtitle {
    color: var(--z-muted); margin-top: 1rem; max-width: 56ch; line-height: 1.65;
}
.community-actions { margin-top: 1.35rem; display: flex; flex-wrap: wrap; gap: 10px; }

.community-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border-radius: var(--z-r-pill);
    font-weight: 700; font-size: 0.84rem; letter-spacing: 0.01em;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.community-btn:hover { transform: translateY(-1px); }
.community-btn-main  { background: var(--z-ink); color: #fff; box-shadow: 0 6px 18px rgba(15,23,42,0.20); }
.community-btn-main:hover { background: var(--z-ink-2); }
.community-btn-frost { background: var(--z-surface); color: var(--z-ink); border: 1px solid var(--z-border); box-shadow: var(--z-shadow-sm); }
.community-btn-outline { background: transparent; color: var(--z-ink); border: 1px solid rgba(15,23,42,0.22); }
.community-btn-outline:hover { background: var(--z-surface-3); }

.community-panel {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl);
    padding: 1rem 1rem 1.1rem;
    align-self: center;
    box-shadow: var(--z-shadow-sm);
}
.community-panel h2 { margin: 0; font-size: 1rem; color: var(--z-ink); font-weight: 700; }

.community-trust-stack { margin-top: 12px; display: grid; gap: 8px; }
.community-trust-item {
    border-radius: var(--z-r-lg); border: 1px solid var(--z-border);
    background: var(--z-surface); color: var(--z-muted);
    font-size: 0.85rem; line-height: 1.5; padding: 9px 11px;
}

.community-stat-card {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl); padding: 16px 12px;
    box-shadow: var(--z-shadow-sm);
}
.community-latest-grid { align-items: stretch; }
.community-latest-card {
    display: flex; flex-direction: column; min-height: 100%;
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl); padding: 16px;
    box-shadow: var(--z-shadow-sm);
}
.community-latest-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.community-empty {
    margin-top: auto; border: 1px dashed var(--z-border);
    border-radius: var(--z-r-md); padding: 12px; text-align: center;
}
.community-feature-wrap {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-2xl); padding: 1.1rem;
}
.community-feature-head h2 {
    margin: 0; color: var(--z-ink); font-size: 1.3rem;
    font-family: 'Sora', 'Noto Sans Devanagari', sans-serif;
    font-weight: 700; letter-spacing: -0.02em;
}
.community-feature-head p { margin: 5px 0 0; color: var(--z-muted); font-size: 0.92rem; }
.community-feature-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.community-feature-card {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-lg); padding: 1rem;
    display: flex; flex-direction: column; min-height: 180px;
}
.community-feature-card h3 { margin: 0; color: var(--z-ink); font-size: 1rem; font-weight: 700; }
.community-feature-card p  { margin: 7px 0 0; color: var(--z-muted); font-size: 0.88rem; line-height: 1.55; }
.community-feature-card a  { margin-top: auto; color: var(--z-blue); font-size: 0.82rem; font-weight: 700; }
.community-flow {
    margin-top: 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px;
}
.community-flow article {
    background: var(--z-surface); border: 1px dashed var(--z-border);
    border-radius: var(--z-r-lg); padding: 1rem;
}
.community-flow span { color: var(--z-blue); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }
.community-flow h4   { margin: 5px 0 0; color: var(--z-ink); font-size: 1rem; }
.community-flow p    { margin: 7px 0 0; color: var(--z-muted); font-size: 0.88rem; line-height: 1.5; }

/* ---------------------------------------------------------------
   15. JOBS PAGE
--------------------------------------------------------------- */
.jobs-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 60%, #fff8ec 100%);
    border-radius: var(--z-r-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--z-border);
}
.job-card {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl);
    padding: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: var(--z-shadow-xs);
}
.job-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--z-shadow-lg);
    border-color: var(--z-blue-border);
}
.job-badge {
    display: inline-flex; padding: 3px 9px;
    border-radius: var(--z-r-pill);
    font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.job-badge.featured { background: var(--z-warn-bg);    color: var(--z-warn);    }
.job-badge.student  { background: var(--z-success-bg); color: var(--z-success); }
.job-badge.remote   { background: #f5f3ff;             color: #6d28d9;          }

/* ---------------------------------------------------------------
   16. HOUSING PAGE
--------------------------------------------------------------- */
.housing-card {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: var(--z-shadow-xs);
}
.housing-card:hover { transform: translateY(-2px); box-shadow: var(--z-shadow-lg); border-color: var(--z-blue-border); }
.housing-card-img {
    height: 180px;
    background: linear-gradient(135deg, #e8f2fb, #e8f8f7);
    display: flex; align-items: center; justify-content: center;
}
.housing-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.housing-meta span { font-size: 0.8rem; color: var(--z-muted); display: flex; align-items: center; gap: 4px; }
.verified-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: var(--z-r-pill);
    font-size: 0.6875rem; font-weight: 700;
    background: var(--z-success-bg); color: var(--z-success);
}

/* ---------------------------------------------------------------
   17. MARKETPLACE
--------------------------------------------------------------- */
.market-card {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl); overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: var(--z-shadow-xs);
}
.market-card:hover { transform: translateY(-2px); box-shadow: var(--z-shadow-lg); border-color: var(--z-blue-border); }
.market-card-img {
    height: 200px;
    background: linear-gradient(135deg, #f0f7ff, #fff8ec);
    display: flex; align-items: center; justify-content: center;
}
.price-tag { font-size: 1.2rem; font-weight: 800; color: var(--z-ink); letter-spacing: -0.03em; }
.condition-badge {
    display: inline-flex; padding: 2px 8px;
    border-radius: var(--z-r-pill); font-size: 0.6875rem; font-weight: 700;
}

/* ---------------------------------------------------------------
   18. GUIDES
--------------------------------------------------------------- */
.guide-card {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl); overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: var(--z-shadow-xs);
}
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--z-shadow-lg); border-color: var(--z-blue-border); }
.guide-cover {
    height: 160px;
    background: linear-gradient(135deg, #e8f2fb, #eff9ff);
    display: flex; align-items: center; justify-content: center;
}
.reading-time { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--z-subtle); }

/* ---------------------------------------------------------------
   19. BUSINESS DIRECTORY
--------------------------------------------------------------- */
.biz-card {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl); padding: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: var(--z-shadow-xs);
}
.biz-card:hover { transform: translateY(-2px); box-shadow: var(--z-shadow-lg); border-color: var(--z-blue-border); }
.rating-stars { color: #f59e0b; font-size: 0.85rem; }
.biz-logo {
    width: 52px; height: 52px; border-radius: var(--z-r-md);
    background: var(--z-blue-light); display: flex; align-items: center; justify-content: center;
}

/* ---------------------------------------------------------------
   20. PROFILE PAGES
--------------------------------------------------------------- */
.profile-cover {
    height: 220px;
    background: linear-gradient(135deg, #0f172a, #3D3859);
    border-radius: var(--z-r-xl) var(--z-r-xl) 0 0;
    position: relative;
}
.profile-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--z-r-xl) var(--z-r-xl) 0 0; }
.profile-avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 4px solid var(--z-surface);
    box-shadow: var(--z-shadow-md);
    overflow: hidden;
    margin-top: -60px;
    position: relative; z-index: 2;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-tabs {
    display: flex; gap: 4px;
    border-bottom: 2px solid var(--z-border);
    margin-bottom: 1.5rem;
    overflow-x: auto;
}
.profile-tab {
    padding: 10px 18px;
    font-weight: 600; font-size: 0.875rem;
    color: var(--z-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    border-radius: var(--z-r-sm) var(--z-r-sm) 0 0;
}
.profile-tab:hover { color: var(--z-ink); }
.profile-tab.active { color: var(--z-blue); border-bottom-color: var(--z-blue); }
.stat-card {
    text-align: center; padding: 16px; border-radius: var(--z-r-lg);
    background: var(--z-surface-2);
    border: 1px solid var(--z-border);
}
.stat-card .value { font-size: 1.5rem; font-weight: 800; color: var(--z-ink); }
.stat-card .label { font-size: 0.75rem; color: var(--z-muted); margin-top: 4px; }

/* ---------------------------------------------------------------
   21. ADVERTISEMENT COMPONENTS
--------------------------------------------------------------- */
.ad-banner {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-lg); overflow: hidden;
    position: relative; margin: 1rem 0;
    box-shadow: var(--z-shadow-xs);
}
.ad-banner img { width: 100%; height: auto; display: block; }
.ad-banner .ad-label {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.5); color: #fff;
    font-size: 0.6rem; padding: 2px 8px; border-radius: var(--z-r-pill);
    text-transform: uppercase; letter-spacing: 0.1em;
}
.ad-sidebar {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-lg); padding: 12px; text-align: center;
    box-shadow: var(--z-shadow-xs);
}
.ad-inline {
    background: var(--z-surface-2); border: 1px solid var(--z-border);
    border-radius: var(--z-r-md); padding: 1rem;
    display: flex; gap: 1rem; align-items: center;
}

/* ---------------------------------------------------------------
   22. ADMIN STAT CARDS (inline in pages)
--------------------------------------------------------------- */
.admin-stat-card {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-xl); padding: 1.5rem;
    box-shadow: var(--z-shadow-sm);
}
.admin-stat-card .value { font-size: 2rem; font-weight: 800; color: var(--z-ink); }
.admin-stat-card .label {
    font-size: 0.75rem; color: var(--z-subtle);
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}

/* ---------------------------------------------------------------
   23. ADMIN TABLES (inline pages)
--------------------------------------------------------------- */
.admin-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
}
.admin-table th {
    padding: 10px 16px; text-align: left;
    font-size: 0.75rem; font-weight: 700; color: var(--z-subtle);
    text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 2px solid var(--z-border);
    background: var(--z-surface-2);
}
.admin-table td { padding: 10px 16px; border-bottom: 1px solid var(--z-border-2); }
.admin-table tr:hover td { background: var(--z-surface-2); }

.admin-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--z-border); margin-bottom: 1.5rem; }
.admin-tab {
    padding: 10px 18px; font-weight: 600; color: var(--z-muted);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    cursor: pointer; transition: all 0.2s;
}
.admin-tab:hover { color: var(--z-ink); }
.admin-tab.active { color: var(--z-blue); border-bottom-color: var(--z-blue); }

/* ---------------------------------------------------------------
   24. SEARCH COMPONENTS
--------------------------------------------------------------- */
.search-result-card {
    background: var(--z-surface); border: 1px solid var(--z-border);
    border-radius: var(--z-r-lg); padding: 1.25rem;
    transition: all 0.2s; box-shadow: var(--z-shadow-xs);
}
.search-result-card:hover { border-color: var(--z-blue-border); box-shadow: var(--z-shadow-md); }
.search-tabs  { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; }
.search-tab   {
    padding: 7px 16px; border-radius: var(--z-r-pill);
    font-size: 0.85rem; font-weight: 600; color: var(--z-muted);
    background: var(--z-surface-3); cursor: pointer; white-space: nowrap;
    transition: all 0.2s; border: 1px solid var(--z-border);
}
.search-tab.active { background: var(--z-ink); color: #fff; border-color: var(--z-ink); }

/* ---------------------------------------------------------------
   25. EMPTY STATE & UTILITY
--------------------------------------------------------------- */
.empty-state {
    padding: 3rem 2rem; text-align: center;
    border: 2px dashed var(--z-border);
    border-radius: var(--z-r-xl);
    background: var(--z-surface-2);
}
.empty-state-icon  { font-size: 2.5rem; margin-bottom: 12px; color: var(--z-subtle); }
.empty-state-title { font-size: 1.0625rem; font-weight: 700; color: var(--z-ink-2); margin-bottom: 6px; }
.empty-state-text  { font-size: 0.875rem; color: var(--z-muted); }

.z-avatar-grad {
    background: linear-gradient(135deg, #EDE8F7, #C4B5E8);
    color: #2D2849;
    font-weight: 700;
}

.z-hover-blue {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.z-hover-blue:hover {
    border-color: var(--z-blue-border) !important;
    box-shadow: var(--z-shadow-md);
    transform: translateY(-1px);
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
    border-radius: var(--z-r-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------------------------------------------------------------
   26. TOAST NOTIFICATIONS
--------------------------------------------------------------- */
#toast-container .toast {
    min-width: 220px; max-width: 320px;
    background: var(--z-ink);
    color: #fff;
    border-radius: var(--z-r-lg);
    padding: 10px 14px;
    font-size: 0.875rem;
    box-shadow: var(--z-shadow-lg);
    animation: toastIn 0.22s ease;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)  scale(1); }
}

/* ---------------------------------------------------------------
   27. PAGE TRANSITIONS & ANIMATIONS
--------------------------------------------------------------- */
.page-transition-enter { animation: pageFadeIn 0.18s ease; }
.page-transition-leave { opacity: 0.35; transform: translateY(6px); transition: all 0.12s ease; }
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

#page-content { transition: opacity 0.15s ease; }
main#main-content { animation: adminPageFadeIn 0.14s ease; }
@keyframes adminPageFadeIn { from { opacity: 0; } to { opacity: 1; } }

#page-loader {
    backdrop-filter: blur(2px);
    background: rgba(255,255,255,0.85);
    transition: opacity 0.2s ease;
}
#page-loader.hidden { pointer-events: none; opacity: 0; }

/* Admin sidebar & card hovers */
.adm-card, .adm-stat { transition: all 0.15s ease; }
.adm-card:hover, .adm-stat:hover { transform: translateY(-1px); }
.adm-qlink { transition: all 0.15s ease; }
.adm-qlink:hover { transform: translateY(-2px); }
#admin-sidebar a, #admin-mobile-menu a { transition: all 0.12s ease; }

/* ---------------------------------------------------------------
   28. ADMIN MOBILE DRAWER ANIMATIONS
--------------------------------------------------------------- */
#admin-mobile-menu .admin-drawer-overlay { transition: opacity 0.18s ease; }
#admin-mobile-menu .admin-drawer-panel {
    transform: translateX(-100%);
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    opacity: 0;
}
#admin-mobile-menu:not(.hidden) .admin-drawer-panel { transform: translateX(0); opacity: 1; }
#admin-mobile-menu:not(.hidden) .admin-drawer-overlay { opacity: 1; }
#admin-mobile-menu.hidden .admin-drawer-overlay { opacity: 0; }
#admin-mobile-menu.hidden .admin-drawer-panel  { opacity: 0; }
#admin-mobile-menu { transition: opacity 0.2s ease; }
#admin-mobile-menu.hidden { pointer-events: none; }
#admin-mobile-menu.hidden > div:first-child { opacity: 0; }
#admin-mobile-menu:not(.hidden) > div:first-child { animation: fadeInBackdrop 0.2s ease forwards; }
#admin-mobile-menu:not(.hidden) > div:last-child  { animation: slideInMenu  0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
#admin-mobile-menu.hidden > div:last-child         { animation: slideOutMenu 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

@keyframes fadeInBackdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInMenu  { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutMenu { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: 0; } }

.smooth-slide { transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }

/* ---------------------------------------------------------------
   29. SEARCH MODAL
--------------------------------------------------------------- */
#search-results a + a { margin-top: 5px; }

/* ---------------------------------------------------------------
   30. TAILWIND COLOR OVERRIDES
       Force Tailwind primary-* (was green, now blue via config)
       Keep emerald/green semantic for success states only
--------------------------------------------------------------- */
/* Prevent stale forced overrides — let Tailwind config handle colors */
/* (The global color-forcing block from v3 is intentionally removed) */

/* App page shell refinements */
.app-page-shell .max-w-5xl { max-width: 82rem; }
.app-page-shell .max-w-6xl { max-width: 90rem; }
.app-page-shell .max-w-7xl { max-width: 98rem; }
.app-page-shell > section  { position: relative; }

.app-page-shell [class*='bg-white'][class*='rounded-2xl'] {
    box-shadow: var(--z-shadow-md);
    border-color: var(--z-border) !important;
}
.app-page-shell article[class*='rounded-xl'],
.app-page-shell article[class*='rounded-2xl'] {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.app-page-shell article[class*='rounded-xl']:hover,
.app-page-shell article[class*='rounded-2xl']:hover {
    transform: translateY(-2px);
    box-shadow: var(--z-shadow-lg);
    border-color: var(--z-blue-border) !important;
}

/* Mobile icon-only button mode (auto-applied via app.js) */
@media (max-width: 900px) {
    .z-icon-only-mobile {
        font-size: 0 !important;
        line-height: 0 !important;
        gap: 0 !important;
        min-width: 38px;
        padding-left: 10px !important;
        padding-right: 10px !important;
        justify-content: center !important;
    }

    .z-icon-only-mobile > span,
    .z-icon-only-mobile > .zt-btn__text,
    .z-icon-only-mobile > .adm-btn__text,
    .z-icon-only-mobile > .btn-text,
    .z-icon-only-mobile > .label {
        display: none !important;
    }

    .z-icon-only-mobile svg,
    .z-icon-only-mobile i[data-lucide],
    .z-icon-only-mobile .lucide {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        min-height: 18px;
        margin: 0 !important;
    }
}

/* ---------------------------------------------------------------
   31. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1024px) {
    html { font-size: 16px; }
    .zt-with-sidebar, .zt-with-sidebar--right { grid-template-columns: 1fr; }
    .community-hero-layout { grid-template-columns: 1fr; }
    .community-feature-grid, .community-flow { grid-template-columns: 1fr; }
    .zt-grid--3, .zt-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .zt-auth { grid-template-columns: 1fr; margin: 20px; border-radius: 20px; }
    .zt-auth__brand { padding: 32px 24px; }
    .zt-auth__form  { padding: 32px 24px; }
}

@media (max-width: 900px) {
    .zt-shell { padding: 0 14px; }
    .zt-section { padding: 34px 0; }
    .zt-btn { min-height: 38px; }
    .community-home-wrap { padding: 1rem; border-radius: 20px; }
}

@media (max-width: 768px) {
    html { font-size: 15.5px; }
    .app-main { padding-bottom: 1rem; }
    .app-page-shell > section { padding-top: 1.6rem !important; padding-bottom: 1.6rem !important; }
    .app-page-shell [class*='bg-white'][class*='rounded-2xl'] { border-radius: 1rem !important; padding: 1rem !important; }
    .profile-cover  { height: 140px; }
    .profile-avatar { width: 80px; height: 80px; margin-top: -40px; }
    .profile-tabs   { gap: 0; }
    .profile-tab    { padding: 8px 12px; font-size: 0.8rem; }
    .admin-tabs { gap: 0; overflow-x: auto; }
    .admin-tab  { padding: 8px 12px; font-size: 0.8rem; white-space: nowrap; }
    .job-card, .housing-card, .market-card, .guide-card, .biz-card { border-radius: var(--z-r-lg); }
    .search-tabs { gap: 4px; }
}

@media (max-width: 640px) {
    .zt-grid--3, .zt-grid--4, .zt-grid--2 { grid-template-columns: 1fr; }
    .zt-btn { width: auto; max-width: 100%; }
    .zt-phero { padding: 44px 0 48px; }
    .zt-phero h1 { font-size: clamp(24px, 7vw, 32px); }
    .zt-phero p.sub { font-size: 0.9375rem; }
    .zt-card--pad { padding: 14px; }
    .zt-filter-bar { padding: 10px; }
    .zt-filter-bar .field { flex: 1 1 100%; }
    .zt-filter-bar .zt-btn { width: 100%; }
    .jobs-hero { padding: 1.2rem; border-radius: var(--z-r-lg); }
    .market-card-img, .housing-card-img, .guide-cover { height: 150px; }
}

@media (max-width: 480px) {
    .filter-chip { padding: 4px 10px; font-size: 0.75rem; }
    .price-tag   { font-size: 1rem; }
}

/* ---------------------------------------------------------------
   32. REDUCED MOTION
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
