/* ============================================================================
   SOKOHAI — GLOBAL PROFESSIONAL UI/UX DESIGN SYSTEM
   ----------------------------------------------------------------------------
   "Usibuni kila page upya. Buni lugha moja ya SokoHai, kisha kila module
    izungumze lugha hiyo."

   Faili hii ni LUGHA MOJA ya muonekano kwa SokoHai nzima. Haibadilishi
   functionality yoyote — inaboresha presentation, hierarchy na usability.

   Imepangwa hivi:
     1  Design tokens (§32)
     2  Typography (§1-3)
     3  Spacing rhythm (§4, §17)
     4  Surfaces / background (§14)
     5  Card system (§5-9)
     6  Status badges (§10)
     7  Buttons (§15)
     8  Forms (§22)
     9  Tables & lists (§23)
    10  Stat cards (§24)
    11  Empty states (§25)
    12  Loading skeletons (§26)
    13  Error states (§27)
    14  Micro-interactions (§28)
    15  Sidebar (§21)
    16  Bottom nav (fix + polish)
    17  Modals (§11)
    18  Responsive (§19-20)
    19  Accessibility (§33)
   ============================================================================ */

/* ==========================================================================
   1) DESIGN TOKENS — chanzo kimoja cha ukweli (§32)
   ========================================================================== */
:root {
    /* ---- Rangi: identity ya SokoHai (§13) ---- */
    --sh-blue:        var(--sokohai-blue, #4D91AA);
    --sh-blue-soft:   #6DA6BB;
    --sh-blue-deep:   #39779B;
    --sh-green:       var(--sokohai-green, #18A982);
    --sh-green-deep:  var(--sokohai-green-dark, #17604E);
    --sh-gold:        var(--sokohai-gold, #D8B83A);

    --sh-blue-50:     var(--sokohai-blue-soft, #F0F7FA);
    --sh-blue-100:    #D6E8EF;
    --sh-green-50:    var(--sokohai-green-soft, #EAF8F2);
    --sh-gold-50:     var(--sokohai-gold-soft, #FBF7E7);
    --sh-red:         #DC2626;
    --sh-red-50:      #FEF2F2;
    --sh-amber:       #D97706;
    --sh-amber-50:    #FFF7ED;

    /* ---- Surfaces (§14) ---- */
    --sh-bg:          var(--sokohai-background, #FFFFFF); /* page */
    --sh-surface:     var(--sokohai-surface, #FFFFFF);    /* cards */
    --sh-surface-2:   var(--sokohai-surface-soft, #F8FBFA);
    --sh-surface-3:   #F1F8F5;

    /* ---- Maandishi ---- */
    --sh-text:        var(--sokohai-text, #18352D);
    --sh-text-2:      #526962;
    --sh-text-3:      var(--sokohai-text-2, #65757A);
    --sh-text-muted:  #8B9A96;

    /* ---- Mipaka ---- */
    --sh-border:      var(--sokohai-border, #E5ECEC);
    --sh-border-2:    #D5E2DE;

    /* ---- Typography (§1) ---- */
    --sh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --sh-fs-display:  32px;
    --sh-fs-page:     24px;
    --sh-fs-section:  19px;
    --sh-fs-card:     16px;
    --sh-fs-body:     15px;
    --sh-fs-sm:       13px;
    --sh-fs-xs:       12px;

    --sh-fw-bold:     700;
    --sh-fw-semi:     650;
    --sh-fw-med:      600;
    --sh-fw-normal:   500;
    --sh-fw-reg:      400;

    --sh-lh-tight:    1.25;
    --sh-lh-snug:     1.4;
    --sh-lh-base:     1.55;

    /* ---- Spacing (§4) ---- */
    --sh-1:  4px;   --sh-2:  8px;   --sh-3: 12px;  --sh-4: 16px;
    --sh-5: 20px;   --sh-6: 24px;   --sh-8: 32px;  --sh-10: 40px;
    --sh-12: 48px;  --sh-14: 56px;

    /* ---- Radius (§11) ---- */
    --sh-r-sm:  8px;
    --sh-r-md: 12px;
    --sh-r-lg: 16px;
    --sh-r-xl: 20px;
    --sh-r-pill: 999px;

    /* ---- Shadows: soft elevation (§12) ---- */
    --sh-sh-0: none;
    --sh-sh-1: 0 1px 2px rgba(15, 42, 77, .06);
    --sh-sh-2: 0 2px 8px -2px rgba(15, 42, 77, .10);
    --sh-sh-3: 0 6px 18px -8px rgba(15, 42, 77, .16);
    --sh-sh-4: 0 14px 32px -14px rgba(15, 42, 77, .22);

    /* ---- Transitions (§28) ---- */
    --sh-t-fast: 120ms cubic-bezier(.4, 0, .2, 1);
    --sh-t-base: 180ms cubic-bezier(.4, 0, .2, 1);
    --sh-t-slow: 260ms cubic-bezier(.4, 0, .2, 1);
}

/* ==========================================================================
   2) TYPOGRAPHY — hierarchy inayoeleweka (§1-3)
   ========================================================================== */
.sh-display { font-size: var(--sh-fs-display); font-weight: var(--sh-fw-bold);
              line-height: var(--sh-lh-tight); color: var(--sh-text); letter-spacing: -.02em; }
.sh-page-title { font-size: var(--sh-fs-page); font-weight: var(--sh-fw-bold);
              line-height: var(--sh-lh-tight); color: var(--sh-text); letter-spacing: -.015em; margin: 0; }
.sh-section-title { font-size: var(--sh-fs-section); font-weight: var(--sh-fw-semi);
              line-height: var(--sh-lh-snug); color: var(--sh-text); margin: 0; }
.sh-card-title { font-size: var(--sh-fs-card); font-weight: var(--sh-fw-med);
              line-height: var(--sh-lh-snug); color: var(--sh-text); }
.sh-body { font-size: var(--sh-fs-body); font-weight: var(--sh-fw-reg);
              line-height: var(--sh-lh-base); color: var(--sh-text-2); }
.sh-secondary { font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-reg);
              line-height: var(--sh-lh-snug); color: var(--sh-text-3); }
.sh-meta { font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-normal);
              line-height: 1.35; color: var(--sh-text-muted); }

/* §3 — ACHA ALL CAPS. Vichwa vikuu virudi herufi za kawaida.
   (Labels ndogo sana pekee ndizo zinaruhusiwa kuwa caps.) */
h1, h2, h3, h4,
.section-title, .page-title,
.pm-sec-title, .skh-sec-title, .sh-section-title,
.dash-section-title, .form-title {
    text-transform: none !important;
    letter-spacing: -.01em;
}

/* Kichwa cha sehemu + maelezo mafupi + "Ona zote" (§18) */
.sh-sec-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: var(--sh-3); margin: 0 0 var(--sh-4);
}
.sh-sec-head .sh-sec-copy { min-width: 0; }
.sh-sec-head .sh-sec-sub {
    font-size: var(--sh-fs-sm); color: var(--sh-text-3);
    margin-top: 2px; line-height: var(--sh-lh-snug);
}
.sh-sec-head .sh-see-all {
    flex: 0 0 auto; font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med);
    color: var(--sh-blue); background: transparent; border: none; cursor: pointer;
    padding: var(--sh-1) var(--sh-2); border-radius: var(--sh-r-sm);
    display: inline-flex; align-items: center; gap: 4px;
}
.sh-sec-head .sh-see-all:hover { background: var(--sh-blue-50); }

/* ==========================================================================
   3) SPACING RHYTHM — mpangilio wa page (§4, §17, §31)
   ========================================================================== */
.sh-page { padding: var(--sh-4); background: var(--sh-bg); }
.sh-page-head { margin-bottom: var(--sh-6); }
.sh-section { margin-bottom: var(--sh-8); }
.sh-section + .sh-section { margin-top: 0; }
.sh-section--major { margin-bottom: var(--sh-12); }
.sh-stack   { display: flex; flex-direction: column; gap: var(--sh-3); }
.sh-stack-2 { display: flex; flex-direction: column; gap: var(--sh-2); }
.sh-row     { display: flex; align-items: center; gap: var(--sh-2); }
.sh-row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sh-3); }

/* ==========================================================================
   4) SURFACES (§14) — tabaka laini, si flat nyeupe kila mahali
   ========================================================================== */
.sh-surface   { background: var(--sh-surface);   border-radius: var(--sh-r-lg); }
.sh-surface-2 { background: var(--sh-surface-2); border-radius: var(--sh-r-lg); }
.sh-surface-3 { background: var(--sh-surface-3); border-radius: var(--sh-r-lg); }
.sh-highlight {
    background: linear-gradient(135deg, var(--sh-blue-50) 0%, var(--sh-green-50) 100%);
    border-radius: var(--sh-r-lg);
}

/* ==========================================================================
   5) CARD SYSTEM (§5) — variants zote, lugha moja
   ========================================================================== */
.sh-card {
    background: var(--sh-surface);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-lg);
    box-shadow: var(--sh-sh-1);
    overflow: hidden;
    transition: box-shadow var(--sh-t-base), transform var(--sh-t-base), border-color var(--sh-t-base);
}
.sh-card:hover { box-shadow: var(--sh-sh-3); border-color: var(--sh-border-2); }
.sh-card--flat  { box-shadow: none; }
.sh-card--pad   { padding: var(--sh-4); }
.sh-card--click { cursor: pointer; }
.sh-card--click:active { transform: scale(.995); }
.sh-card-body { padding: var(--sh-3) var(--sh-4) var(--sh-4); }

/* --- Kadi ya bidhaa/huduma/usafiri iliyopo: ipewe lugha ile ile --- */
.feed-card-box.skh-card {
    border-radius: var(--sh-r-lg) !important;
    border: 1px solid var(--sh-border) !important;
    box-shadow: var(--sh-sh-1) !important;
    background: var(--sh-surface) !important;
    transition: box-shadow var(--sh-t-base), transform var(--sh-t-base) !important;
}
.feed-card-box.skh-card:hover {
    box-shadow: var(--sh-sh-3) !important;
    transform: translateY(-2px);
}
.skh-card .skh-body { padding: var(--sh-3) !important; }
.skh-card .skh-title {
    font-size: var(--sh-fs-card) !important;
    font-weight: var(--sh-fw-med) !important;
    line-height: var(--sh-lh-snug) !important;
    color: var(--sh-text) !important;
    text-transform: none !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin: 0 0 var(--sh-1);
}
.skh-card .skh-price {
    font-size: 18px !important; font-weight: var(--sh-fw-bold) !important;
    color: var(--sh-green) !important; letter-spacing: -.01em;
}
.skh-card .skh-price-prefix {
    font-size: var(--sh-fs-sm) !important; font-weight: var(--sh-fw-normal) !important;
    color: var(--sh-text-3) !important;
}
.skh-card .skh-seller-row { margin-top: var(--sh-2); }
.skh-card .skh-seller-name {
    font-size: var(--sh-fs-sm) !important; color: var(--sh-text-2) !important;
    font-weight: var(--sh-fw-normal) !important;
}
.skh-card .skh-meta-row {
    margin-top: var(--sh-2); padding-top: var(--sh-2);
    border-top: 1px solid var(--sh-border);
    display: flex; align-items: center; gap: var(--sh-2); flex-wrap: wrap;
}
.skh-card .skh-loc, .skh-card .skh-pinloc, .skh-card .skh-views {
    font-size: var(--sh-fs-xs) !important; color: var(--sh-text-muted) !important;
}
.skh-card .skh-card-sub {
    font-size: var(--sh-fs-sm) !important; color: var(--sh-text-3) !important;
    margin: 2px 0 var(--sh-1);
}

/* §8 — transport isionekane kama product: mstari wa njia uwe wazi */
.skh-card--transport .skh-card-sub {
    color: var(--sh-blue) !important; font-weight: var(--sh-fw-normal) !important;
}
.skh-route-overlay {
    font-size: var(--sh-fs-xs) !important; font-weight: var(--sh-fw-med);
    border-radius: var(--sh-r-sm);
}

/* ==========================================================================
   6) STATUS BADGES (§10) — mfumo mmoja, rangi zenye maana
   ========================================================================== */
.sh-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: var(--sh-r-pill);
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
    line-height: 1.4; white-space: nowrap; border: 1px solid transparent;
}
/* Kijani: mafanikio */
.sh-badge--completed, .sh-badge--paid, .sh-badge--delivered,
.sh-badge--verified, .sh-badge--success, .sh-badge--accepted {
    background: var(--sh-green-50); color: #0F7A5E; border-color: #BFE8DA;
}
/* Bluu: taarifa / inaendelea */
.sh-badge--active, .sh-badge--in-progress, .sh-badge--info, .sh-badge--shipped {
    background: var(--sh-blue-50); color: var(--sh-blue-deep); border-color: var(--sh-blue-100);
}
/* Njano: inasubiri */
.sh-badge--pending, .sh-badge--attention, .sh-badge--warning {
    background: var(--sh-amber-50); color: #9A5B06; border-color: #FBDDB5;
}
/* Nyekundu: hitilafu tu (§10) */
.sh-badge--failed, .sh-badge--cancelled, .sh-badge--rejected, .sh-badge--disputed {
    background: var(--sh-red-50); color: #B91C1C; border-color: #FBD5D5;
}
/* Kijivu: kumbukumbu */
.sh-badge--archived, .sh-badge--neutral {
    background: #F1F5F9; color: var(--sh-text-3); border-color: #E2E8F0;
}

/* Badges zilizopo zifuate mfumo huu */
.skh-badge {
    border-radius: var(--sh-r-pill) !important;
    font-size: var(--sh-fs-xs) !important;
    font-weight: var(--sh-fw-med) !important;
    padding: 3px 9px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* ==========================================================================
   7) BUTTONS (§15)
   ========================================================================== */
.sh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sh-2);
    padding: 11px var(--sh-5);
    border-radius: var(--sh-r-md);
    font-family: var(--sh-font);
    font-size: 14px; font-weight: var(--sh-fw-med); line-height: 1;
    border: 1px solid transparent; cursor: pointer;
    transition: background var(--sh-t-fast), box-shadow var(--sh-t-fast), transform var(--sh-t-fast);
    min-height: 44px;             /* touch target (§20, §33) */
    white-space: nowrap;
}
.sh-btn:active { transform: scale(.98); }
.sh-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.sh-btn--primary {
    background: var(--sh-green); color: #fff;
    box-shadow: 0 2px 8px -2px rgba(24, 169, 130, .34);
}
.sh-btn--primary:hover { background: var(--sh-green-deep); box-shadow: 0 4px 14px -4px rgba(24, 169, 130, .42); }

.sh-btn--success { background: var(--sh-green); color: #fff; }
.sh-btn--success:hover { background: #149470; }

.sh-btn--secondary {
    background: var(--sh-surface); color: var(--sh-blue);
    border-color: var(--sh-border-2);
}
.sh-btn--secondary:hover { background: var(--sh-blue-50); border-color: var(--sh-blue-100); }

.sh-btn--ghost { background: transparent; color: var(--sh-text-2); }
.sh-btn--ghost:hover { background: #F1F5F9; }

.sh-btn--danger { background: var(--sh-red); color: #fff; }
.sh-btn--danger:hover { background: #B91C1C; }

.sh-btn--sm { padding: 8px var(--sh-3); font-size: var(--sh-fs-sm); min-height: 36px; }
.sh-btn--block { width: 100%; }
.sh-btn:disabled, .sh-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ==========================================================================
   8) FORMS (§22)
   ========================================================================== */
.sh-field { margin-bottom: var(--sh-4); }
.sh-label {
    display: block; font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med);
    color: var(--sh-text); margin-bottom: 6px;
}
.sh-input, .sh-select, .sh-textarea {
    width: 100%; padding: 11px var(--sh-3);
    border: 1px solid var(--sh-border-2); border-radius: var(--sh-r-md);
    font-family: var(--sh-font); font-size: 16px;  /* 16px = iOS haizoom */
    color: var(--sh-text); background: var(--sh-surface);
    transition: border-color var(--sh-t-fast), box-shadow var(--sh-t-fast);
    min-height: 46px;
}
.sh-input:focus, .sh-select:focus, .sh-textarea:focus {
    outline: none; border-color: var(--sh-green);
    box-shadow: 0 0 0 3px rgba(24, 169, 130, .12);
}
.sh-help { font-size: var(--sh-fs-xs); color: var(--sh-text-3); margin-top: 5px; }
.sh-field--error .sh-input { border-color: var(--sh-red); }
.sh-field--error .sh-help { color: var(--sh-red); }
.sh-field--ok .sh-input { border-color: var(--sh-green); }

/* Inputs zilizopo kwenye mfumo zipate focus state ile ile */
input:not([type=checkbox]):not([type=radio]):focus,
select:focus, textarea:focus {
    outline: none;
    border-color: var(--sh-green) !important;
    box-shadow: 0 0 0 3px rgba(24, 169, 130, .12) !important;
}

/* ==========================================================================
   9) TABLES & LISTS (§23)
   ========================================================================== */
.sh-table-wrap {
    background: var(--sh-surface); border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-lg); overflow: auto; -webkit-overflow-scrolling: touch;
}
.sh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sh-table thead th {
    text-align: left; padding: var(--sh-3) var(--sh-4);
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
    color: var(--sh-text-3); background: var(--sh-surface-3);
    border-bottom: 1px solid var(--sh-border); white-space: nowrap;
}
.sh-table tbody td {
    padding: var(--sh-3) var(--sh-4);
    border-bottom: 1px solid var(--sh-border); color: var(--sh-text-2);
}
.sh-table tbody tr:last-child td { border-bottom: none; }
.sh-table tbody tr:hover { background: var(--sh-surface-2); }

.sh-list { background: var(--sh-surface); border: 1px solid var(--sh-border);
           border-radius: var(--sh-r-lg); overflow: hidden; }
.sh-list-item {
    display: flex; align-items: center; gap: var(--sh-3);
    padding: var(--sh-3) var(--sh-4); border-bottom: 1px solid var(--sh-border);
    transition: background var(--sh-t-fast); min-height: 56px;
}
.sh-list-item:last-child { border-bottom: none; }
.sh-list-item:hover { background: var(--sh-surface-2); }

/* ==========================================================================
   10) STAT CARDS (§24) — namba ndiyo hero
   ========================================================================== */
.sh-stat {
    background: var(--sh-surface); border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-lg); padding: var(--sh-4); box-shadow: var(--sh-sh-1);
}
.sh-stat-label { font-size: var(--sh-fs-sm); color: var(--sh-text-3); font-weight: var(--sh-fw-normal); }
.sh-stat-value {
    font-size: 26px; font-weight: var(--sh-fw-bold); color: var(--sh-text);
    line-height: 1.15; margin: 6px 0 4px; letter-spacing: -.02em;
}
.sh-stat-delta { font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med); }
.sh-stat-delta--up   { color: var(--sh-green); }
.sh-stat-delta--down { color: var(--sh-red); }
.sh-stat-grid {
    display: grid; gap: var(--sh-3);
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* ==========================================================================
   11) EMPTY STATES (§25)
   ========================================================================== */
.sh-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: var(--sh-12) var(--sh-5); gap: var(--sh-2);
}
.sh-empty-ico {
    width: 64px; height: 64px; border-radius: var(--sh-r-xl);
    background: var(--sh-green-50); color: var(--sh-green);
    display: flex; align-items: center; justify-content: center; margin-bottom: var(--sh-2);
}
.sh-empty-ico svg { width: 28px; height: 28px; }
.sh-empty-title { font-size: var(--sh-fs-card); font-weight: var(--sh-fw-med); color: var(--sh-text); }
.sh-empty-text  { font-size: var(--sh-fs-sm); color: var(--sh-text-3); max-width: 280px; line-height: var(--sh-lh-base); }
.sh-empty .sh-btn { margin-top: var(--sh-3); }

/* Empty states zilizopo */
.skh-empty { padding: var(--sh-10) var(--sh-5) !important; color: var(--sh-text-3); }

/* ==========================================================================
   12) LOADING SKELETONS (§26)
   ========================================================================== */
@keyframes sh-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.sh-sk {
    background: linear-gradient(90deg, #EEF3F8 25%, #F7FAFD 50%, #EEF3F8 75%);
    background-size: 800px 100%;
    animation: sh-shimmer 1.3s linear infinite;
    border-radius: var(--sh-r-sm);
}
.sh-sk-img   { width: 100%; aspect-ratio: 1/1; border-radius: var(--sh-r-lg) var(--sh-r-lg) 0 0; }
.sh-sk-line  { height: 12px; margin-bottom: var(--sh-2); }
.sh-sk-line--60 { width: 60%; } .sh-sk-line--40 { width: 40%; } .sh-sk-line--80 { width: 80%; }
.sh-sk-card  { border: 1px solid var(--sh-border); border-radius: var(--sh-r-lg); overflow: hidden; background: var(--sh-surface); }
.sh-sk-card .sh-sk-body { padding: var(--sh-3); }
@media (prefers-reduced-motion: reduce) { .sh-sk { animation: none; } }

/* ==========================================================================
   13) ERROR STATES (§27)
   ========================================================================== */
.sh-error {
    display: flex; gap: var(--sh-3); align-items: flex-start;
    background: var(--sh-red-50); border: 1px solid #FBD5D5;
    border-radius: var(--sh-r-md); padding: var(--sh-3) var(--sh-4);
}
.sh-error-ico { color: var(--sh-red); flex-shrink: 0; margin-top: 1px; }
.sh-error-title { font-size: 14px; font-weight: var(--sh-fw-med); color: #991B1B; }
.sh-error-text  { font-size: var(--sh-fs-sm); color: #B91C1C; margin-top: 2px; line-height: var(--sh-lh-snug); }

/* ==========================================================================
   14) MICRO-INTERACTIONS (§28) — smooth, si flashy
   ========================================================================== */
button, .btn, a[role="button"], .skh-card, .nav-tab, .sh-list-item {
    transition: background var(--sh-t-fast), color var(--sh-t-fast),
                box-shadow var(--sh-t-base), transform var(--sh-t-base),
                border-color var(--sh-t-fast);
}
@keyframes sh-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sh-animate-in { animation: sh-fade-up var(--sh-t-slow) both; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   15) SIDEBAR (§21) — clean, si dark
   ========================================================================== */
.sh-side-section {
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
    color: var(--sh-text-muted); text-transform: uppercase; letter-spacing: .05em;
    padding: var(--sh-4) var(--sh-4) var(--sh-2);
}
.sh-side-item {
    display: flex; align-items: center; gap: var(--sh-3);
    padding: 11px var(--sh-4); border-radius: var(--sh-r-md); margin: 0 var(--sh-2) 2px;
    font-size: 14px; font-weight: var(--sh-fw-normal); color: var(--sh-text-2);
    cursor: pointer; transition: background var(--sh-t-fast), color var(--sh-t-fast);
    min-height: 44px;
}
.sh-side-item:hover { background: var(--sh-surface-3); color: var(--sh-text); }
.sh-side-item.active {
    background: var(--sh-green-50); color: var(--sh-green-deep); font-weight: var(--sh-fw-med);
}
.sh-side-item.active svg { color: var(--sh-green); }
.sh-side-divider { height: 1px; background: var(--sh-border); margin: var(--sh-2) var(--sh-4); }

/* ==========================================================================
   16) BOTTOM NAV — FIX + POLISH
   Tatizo lililokuwepo: labels ("NYUMBANI", "CHAT NAYE") zilikatika kwenye
   simu za 320-360px kwa sababu ya UPPERCASE + font-weight 900.
   ========================================================================== */
.bottom-nav-main {
    background: #fff !important;
    border-top: 1px solid var(--sh-border) !important;
    border-radius: var(--sh-r-xl) var(--sh-r-xl) 0 0 !important;
    box-shadow: 0 -5px 20px -12px rgba(24, 53, 45, .28) !important;
}
.main-nav-icons { min-height: 58px; }
.nav-tab {
    position: relative;
    min-width: 0; padding: var(--sh-1) 2px;
    color: #788A85 !important;
    transform: none !important;
}
.nav-tab.active { color: var(--sh-green-deep) !important; }
.nav-tab.active::before {
    content: '';
    position: absolute;
    top: 1px;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--sh-green);
}
.nav-tab span {
    /* Labels 5 lazima zitoshe hata kwenye 320px (tabu ~62px).
       "Nyumbani" ni ndefu zaidi — clamp inashusha hadi 10px pale tu
       inapohitajika, na inarudi 12px kwenye skrini kubwa. */
    font-size: clamp(10px, 2.9vw, 12px) !important;
    font-weight: var(--sh-fw-med) !important;
    text-transform: none !important;     /* §3 — si CAPS */
    letter-spacing: -.01em !important;
    line-height: 1.15 !important;
    max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: clip;
}
/* Simu finyu sana: punguza padding ili herufi zipate nafasi */
@media (max-width: 374px) {
    .main-nav-icons { padding-left: 0 !important; padding-right: 0 !important; }
    .nav-tab { padding-left: 0; padding-right: 0; }
    .nav-tab span { font-size: 10px !important; }
}
.nav-tab svg { width: 20px; height: 20px; margin-bottom: 3px; }

/* ==========================================================================
   17) MODALS (§11)
   ========================================================================== */
.modal-content, .overlay-menu > div, .sh-modal {
    border-radius: var(--sh-r-xl) !important;
}
.skd-box { border-radius: var(--sh-r-xl) !important; box-shadow: var(--sh-sh-4) !important; }

/* ==========================================================================
   18) RESPONSIVE (§19-20)
   ========================================================================== */
.sh-grid { display: grid; gap: var(--sh-3); }
.sh-grid--cards { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

@media (max-width: 480px) {
    :root { --sh-fs-display: 26px; --sh-fs-page: 21px; --sh-fs-section: 17px; }
    .sh-page { padding: var(--sh-3); }
    .sh-section { margin-bottom: var(--sh-6); }
    .sh-grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sh-2); }
    .sh-stat-value { font-size: 22px; }
}
@media (min-width: 481px) and (max-width: 900px) {
    .sh-grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 901px) {
    .sh-grid--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sh-page { padding: var(--sh-6); max-width: 1240px; margin: 0 auto; }
}

/* ==========================================================================
   19) ACCESSIBILITY (§33)
   ========================================================================== */
:focus-visible {
    outline: 2px solid var(--sh-blue);
    outline-offset: 2px;
    border-radius: var(--sh-r-sm);
}
.sh-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;
}
/* Touch targets (§20) */
button, .nav-tab, .sh-list-item, a[role="button"] { min-height: 40px; }

/* Page background */
body { background: var(--sh-bg); color: var(--sh-text); }

/* ==========================================================================
   20) UPAU WA ENEO — "Inasoma eneo lako..." ilikuwa inakatika ("lal") kwenye
   simu finyu kwa sababu dropdown ya mikoa ilichukua nafasi kubwa.
   ========================================================================== */
#locationFilterBar {
    gap: var(--sh-2) !important;
    padding: var(--sh-2) var(--sh-3) !important;
    background: var(--sh-surface-3) !important;
    border-bottom: 1px solid var(--sh-border) !important;
    font-size: var(--sh-fs-sm) !important;
}
#userLocationStatus {
    font-size: var(--sh-fs-sm) !important;
    font-weight: var(--sh-fw-normal) !important;
    color: var(--sh-blue) !important;
    min-width: 0; flex: 1 1 auto;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#locationFilterBar select {
    font-size: var(--sh-fs-sm) !important;
    padding: 6px var(--sh-2) !important;
    border-radius: var(--sh-r-sm) !important;
    border: 1px solid var(--sh-border-2) !important;
    background: var(--sh-surface) !important;
    color: var(--sh-text-2) !important;
    max-width: 46%; min-width: 0;
}
@media (max-width: 360px) {
    #userLocationStatus { font-size: var(--sh-fs-xs) !important; }
    #locationFilterBar select { font-size: var(--sh-fs-xs) !important; max-width: 44%; }
}

/* ==========================================================================
   21) FILTER BAR YA HOME — ifuate design tokens
   ========================================================================== */
#skhHomeFilterBar { padding: var(--sh-3) var(--sh-3) var(--sh-2) !important; gap: var(--sh-2) !important; }
.skh-hf {
    border-radius: var(--sh-r-pill) !important;
    border: 1px solid var(--sh-border-2) !important;
    background: var(--sh-surface) !important;
    color: var(--sh-text-2) !important;
    font-size: var(--sh-fs-sm) !important;
    font-weight: var(--sh-fw-normal) !important;
    padding: 8px var(--sh-3) !important;
    min-height: 38px;
}
.skh-hf.active {
    background: var(--sh-blue) !important; border-color: var(--sh-blue) !important;
    color: #fff !important; font-weight: var(--sh-fw-med) !important;
    box-shadow: 0 3px 10px -3px rgba(18,104,168,.45) !important;
}
.skh-hf .skh-hf-n { font-size: var(--sh-fs-xs) !important; font-weight: var(--sh-fw-med) !important; }

/* Banner ya karibisho — isiwe kubwa kupita kiasi */
.welcome-banner, #welcomeBanner {
    border-radius: var(--sh-r-lg) !important;
    font-size: var(--sh-fs-card) !important;
    font-weight: var(--sh-fw-med) !important;
}

/* ==========================================================================
   22) UPAU WA CHINI WA TANGAZO — uruhusiwe KUGAWANYIKA
   --------------------------------------------------------------------------
   Tatizo: `.pm-bar` ilikuwa safu MOJA isiyokunjika (nowrap), hivyo kwenye
   bidhaa (Chat + Weka Kikapuni + Lipa Sasa TSh 35,000) ilihitaji 404px
   kwenye skrini ya 390px — maandishi yakabanwa na muonekano ukavurugika.

   Suluhisho: vitufe vinaruhusiwa kwenda mstari wa pili. Bora vitufe viwili
   juu-chini vinavyosomeka kuliko vitatu vilivyobanwa mstari mmoja.
   ========================================================================== */
.pm-bar {
    flex-wrap: wrap !important;
    gap: var(--sh-2) !important;
    padding: var(--sh-2) var(--sh-3) !important;
    padding-bottom: calc(var(--sh-2) + env(safe-area-inset-bottom, 0px)) !important;
    align-items: stretch !important;
}
.pm-bar-actions {
    flex: 1 1 100%;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: var(--sh-2) !important;
    min-width: 0;
}
.pm-bar-btn {
    flex: 1 1 auto;
    min-width: 116px;              /* chini ya hapa maandishi hubanwa */
    height: auto !important;
    min-height: 46px !important;
    padding: 10px var(--sh-3) !important;
    border-radius: var(--sh-r-md) !important;
    font-size: var(--sh-fs-sm) !important;
    font-weight: var(--sh-fw-med) !important;
    line-height: 1.25 !important;
    white-space: normal !important;   /* maandishi yakunje badala ya kubanwa */
}
.pm-bar-btn .pm-bar-lbl {
    white-space: normal !important;
    display: inline !important;       /* isifichwe tena kwenye simu ndogo */
    overflow: visible !important;
}
/* Bei ndani ya "Lipa Sasa": iende chini ya neno, isisukume upana */
.pm-bar-btn .pm-bar-total {
    display: block; width: 100%;
    font-size: var(--sh-fs-xs) !important;
    font-weight: var(--sh-fw-bold) !important;
    opacity: .95; margin-top: 2px; line-height: 1.2;
}
.pm-bar-btn { flex-direction: column; gap: 1px !important; }
.pm-bar-btn .pm-bar-ic { display: inline-flex; }

/* Chat ni kitendo cha pili: kisichukue nafasi sawa na kitendo kikuu */
.pm-bar-chat { flex: 0 1 104px; min-width: 96px; }

/* Kiasi (qty) kikae mstari wake wenyewe kikiwa na vitufe vingi */
.pm-qty-area, #pmQtyArea { flex: 0 0 auto; }

/* Simu ndogo: vitufe viwili kwa mstari, vikiwa vitatu cha tatu kinashuka */
@media (max-width: 400px) {
    .pm-bar-btn { min-width: calc(50% - var(--sh-1)); font-size: var(--sh-fs-xs) !important; }
    .pm-bar-chat { flex: 1 1 calc(50% - var(--sh-1)); }
    .pm-bar-buy, .pm-bar-cart { flex: 1 1 calc(50% - var(--sh-1)); }
}
/* Kitendo kikuu kipewe nafasi kamili kikiwa peke yake kwenye mstari */
.pm-bar-actions > .pm-bar-btn:last-child:nth-child(2) { flex: 1 1 auto; }

/* ==========================================================================
   23) KITUFE CHA FOLLOW — hali ionekane wazi (si rangi pekee)
   ========================================================================== */
.follow-btn, #btnFollow {
    display: inline-flex !important;
    align-items: center; gap: 6px;
    padding: 7px 12px !important;
    border: 1px solid #D4E0EC;
    border-radius: var(--sh-r-pill) !important;
    font-size: var(--sh-fs-sm) !important;
    font-weight: var(--sh-fw-med) !important;
    background: #fff; color: var(--sh-blue);
    cursor: pointer; min-height: 36px; white-space: nowrap;
    transition: background var(--sh-t-fast), color var(--sh-t-fast),
                border-color var(--sh-t-fast), transform var(--sh-t-fast);
}
.follow-btn:active, #btnFollow:active { transform: scale(.97); }
.follow-btn .eng-ico svg, #btnFollow .eng-ico svg { width: 14px; height: 14px; }
.follow-btn .eng-lbl, #btnFollow .eng-lbl {
    font-size: var(--sh-fs-sm) !important; font-weight: var(--sh-fw-med) !important;
}
/* Idadi ya wafuasi */
.follow-btn .eng-count, #btnFollow .eng-count {
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-bold);
    background: rgba(15, 23, 42, .07); color: inherit;
    border-radius: var(--sh-r-pill); padding: 1px 7px; margin-left: 2px;
}
/* Hali: ANAFUATA */
.follow-btn.is-following, #btnFollow.is-following {
    background: var(--sh-green-50) !important;
    color: #0F7A5E !important;
    border-color: #BFE8DA !important;
}
.follow-btn.is-following .eng-count, #btnFollow.is-following .eng-count {
    background: rgba(15, 122, 94, .14);
}

/* Neno la follow lilikuwa limefichwa (18-product-showcase.css:770), hivyo
   kitufe kilikuwa ikoni tupu — mtumiaji hakujua ni cha nini wala hali yake. */
#btnFollow .eng-lbl { display: inline !important; }
#btnFollow { width: auto !important; min-width: 0 !important; padding: 7px 12px !important; }

/* ==========================================================================
   24) SMART SEARCH BAR (§1, §14, §16, §24)
   Header ilikuwa na DP kubwa ikishindana na search (search ilikuwa 75% tu).
   Sasa: search ndiyo kipaumbele, DP ni ndogo (profile kamili iko sidebar).
   ========================================================================== */
.search-nav-row {
    display: flex; align-items: center; gap: var(--sh-2);
    padding: var(--sh-2) var(--sh-3) !important;
    background: var(--sh-surface);
}
/* DP ndogo — si kubwa, bila jina wala role (§14) */
.user-dp-wrapper { flex: 0 0 auto; }
.user-dp {
    width: 30px !important; height: 30px !important;
    border-radius: 50% !important; border: 1.5px solid var(--sh-border-2) !important;
    object-fit: cover;
}
/* Search ipate nafasi kamili (§16) */
.search-wrap {
    position: relative !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}
.search-wrap input {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px;
    border-radius: var(--sh-r-md) !important;
    border: 1px solid var(--sh-border-2) !important;
    background: var(--sh-surface) !important;
    box-shadow: var(--sh-sh-1);
    padding: 0 76px 0 var(--sh-4) !important;   /* nafasi ya vitufe viwili */
    font-size: 15px !important;
    color: var(--sh-text);
    transition: border-color var(--sh-t-fast), box-shadow var(--sh-t-fast);
}
.search-wrap input::placeholder { color: var(--sh-text-muted); }
.search-wrap input:focus {
    border-color: var(--sh-blue) !important;
    box-shadow: 0 0 0 3px rgba(18,104,168,.12) !important;
}
/* Vitufe vya picha + sauti ndani ya upau */
.skh-ss-tools {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; gap: 2px;
}
.skh-ss-tool {
    width: 34px; height: 34px; border: none; background: transparent;
    border-radius: var(--sh-r-sm); cursor: pointer; color: var(--sh-text-3);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background var(--sh-t-fast), color var(--sh-t-fast);
}
.skh-ss-tool:hover { background: var(--sh-blue-50); color: var(--sh-blue); }
.skh-ss-tool svg { width: 17px; height: 17px; }

/* ---- Dropdown ---- */
.skh-ss {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    background: var(--sh-surface); border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-lg); box-shadow: var(--sh-sh-4);
    z-index: 9000; max-height: 72vh; overflow: auto; -webkit-overflow-scrolling: touch;
    padding: var(--sh-2);
}
.skh-ss.open { display: block; animation: sh-fade-up 160ms both; }
.skh-ss-body { }
.skh-ss-grp { padding: var(--sh-1) 0 var(--sh-2); }
.skh-ss-grp + .skh-ss-grp { border-top: 1px solid var(--sh-border); margin-top: var(--sh-1); padding-top: var(--sh-3); }
.skh-ss-gh {
    display: flex; align-items: center; gap: 6px;
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
    color: var(--sh-text-3); text-transform: none; padding: 0 var(--sh-2) var(--sh-2);
}
.skh-ss-gh span { color: var(--sh-text-muted); font-weight: var(--sh-fw-reg); }
.skh-ss-clear {
    margin-left: auto; background: none; border: none; cursor: pointer;
    color: var(--sh-blue); font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
}
/* Safu ya matokeo */
.skh-ss-row {
    display: flex; align-items: center; gap: var(--sh-3); width: 100%;
    padding: var(--sh-2); border: none; background: transparent; cursor: pointer;
    border-radius: var(--sh-r-md); text-align: left; min-height: 52px;
    transition: background var(--sh-t-fast);
}
.skh-ss-row:hover { background: var(--sh-surface-3); }
.skh-ss-row img, .skh-ss-ph {
    width: 40px; height: 40px; border-radius: var(--sh-r-sm); object-fit: cover;
    flex-shrink: 0; background: var(--sh-surface-3);
    display: inline-flex; align-items: center; justify-content: center; color: var(--sh-text-muted);
}
.skh-ss-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.skh-ss-tx b {
    font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med); color: var(--sh-text);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.skh-ss-tx small { font-size: var(--sh-fs-xs); color: var(--sh-text-muted); }
.skh-ss-price {
    flex: 0 0 auto; font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-bold);
    color: var(--sh-green); white-space: nowrap;
}
/* Tabs */
.skh-ss-tabs {
    display: flex; gap: var(--sh-1); overflow-x: auto; padding: var(--sh-1) var(--sh-1) var(--sh-2);
    scrollbar-width: none; border-bottom: 1px solid var(--sh-border); margin-bottom: var(--sh-2);
}
.skh-ss-tabs::-webkit-scrollbar { display: none; }
.skh-ss-tab {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
    padding: 6px var(--sh-3); border-radius: var(--sh-r-pill);
    border: 1px solid var(--sh-border-2); background: var(--sh-surface);
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
    color: var(--sh-text-2); cursor: pointer; white-space: nowrap;
}
.skh-ss-tab.active { background: var(--sh-blue); border-color: var(--sh-blue); color: #fff; }
.skh-ss-tab i { font-style: normal; opacity: .75; font-size: 10.5px; }
/* Chips + recent */
.skh-ss-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--sh-2); }
.skh-ss-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px var(--sh-3); border-radius: var(--sh-r-pill);
    border: 1px solid var(--sh-border-2); background: var(--sh-surface-2);
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-normal);
    color: var(--sh-text-2); cursor: pointer;
}
.skh-ss-chip:hover { background: var(--sh-blue-50); border-color: var(--sh-blue-100); color: var(--sh-blue); }
.skh-ss-chip-row { display: flex; align-items: center; gap: 2px; }
.skh-ss-rec {
    flex: 1 1 auto; display: flex; align-items: center; gap: var(--sh-2);
    padding: 9px var(--sh-2); border: none; background: transparent; cursor: pointer;
    font-size: var(--sh-fs-sm); color: var(--sh-text-2); text-align: left; border-radius: var(--sh-r-sm);
}
.skh-ss-rec:hover { background: var(--sh-surface-3); }
.skh-ss-x {
    flex: 0 0 auto; width: 30px; height: 30px; border: none; background: transparent;
    cursor: pointer; color: var(--sh-text-muted); border-radius: var(--sh-r-sm);
    display: inline-flex; align-items: center; justify-content: center;
}
.skh-ss-x:hover { background: var(--sh-red-50); color: var(--sh-red); }
/* Suggestions + intent */
.skh-ss-sug { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 var(--sh-2) var(--sh-2); }
.skh-ss-sug button {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 10px; border-radius: var(--sh-r-pill); border: 1px dashed var(--sh-border-2);
    background: transparent; font-size: var(--sh-fs-xs); color: var(--sh-text-3); cursor: pointer;
}
.skh-ss-sug button:hover { border-style: solid; color: var(--sh-blue); border-color: var(--sh-blue-100); }
.skh-ss-intent {
    display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
    padding: 0 var(--sh-2) var(--sh-2); color: var(--sh-text-muted);
}
.skh-ss-intent span {
    background: var(--sh-green-50); color: #0F7A5E; border-radius: var(--sh-r-pill);
    padding: 2px 9px; font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
}
/* Empty / none */
.skh-ss-none { padding: var(--sh-5) var(--sh-4); text-align: center; color: var(--sh-text-3); }
.skh-ss-none-ic {
    width: 52px; height: 52px; margin: 0 auto var(--sh-3); border-radius: var(--sh-r-lg);
    background: var(--sh-blue-50); color: var(--sh-blue);
    display: flex; align-items: center; justify-content: center;
}
.skh-ss-none b { display: block; color: var(--sh-text); font-size: var(--sh-fs-card); margin-bottom: var(--sh-2); }
.skh-ss-none ul { list-style: none; padding: 0; margin: 0 0 var(--sh-3); font-size: var(--sh-fs-sm); line-height: 1.8; }
.skh-ss-empty { padding: var(--sh-5); text-align: center; color: var(--sh-text-muted); font-size: var(--sh-fs-sm); }
.skh-ss-all {
    width: 100%; margin-top: var(--sh-2); padding: 11px; border: none;
    background: var(--sh-blue-50); color: var(--sh-blue); border-radius: var(--sh-r-md);
    font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med); cursor: pointer;
}
.skh-ss-all:hover { background: var(--sh-blue-100); }

/* ---- Matokeo ya utafutaji kwa picha ---- */
.skh-imgres {
    position: fixed; inset: 0; z-index: 9500; background: rgba(15, 23, 42, .55);
    display: flex; align-items: flex-end; justify-content: center;
}
.skh-imgres-sheet {
    background: var(--sh-surface); width: 100%; max-width: 560px;
    max-height: 88vh; overflow: auto; border-radius: var(--sh-r-xl) var(--sh-r-xl) 0 0;
    padding: var(--sh-4); animation: sh-fade-up var(--sh-t-slow) both;
}
.skh-imgres-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sh-3); }
.skh-imgres-head b { font-size: var(--sh-fs-section); font-weight: var(--sh-fw-semi); }
.skh-imgres-x {
    width: 36px; height: 36px; border: none; background: var(--sh-surface-3);
    border-radius: 50%; cursor: pointer; color: var(--sh-text-2);
    display: inline-flex; align-items: center; justify-content: center;
}
.skh-imgres-prev {
    width: 100%; max-height: 190px; object-fit: contain; border-radius: var(--sh-r-md);
    background: var(--sh-surface-3); margin-bottom: var(--sh-3);
}
.skh-imgres-title {
    font-size: var(--sh-fs-card); font-weight: var(--sh-fw-med);
    margin: var(--sh-4) 0 var(--sh-2); color: var(--sh-text);
}

/* Simu: dropdown ichukue nafasi nzuri bila kugusa bottom nav (§16) */
@media (max-width: 480px) {
    .skh-ss { max-height: 64vh; }
    .search-wrap input { height: 40px !important; font-size: 15px !important; }
}

/* ==========================================================================
   25) TRANSPORT INBOX PANEL (§1, §12, §16, §18)
   Kadi ya muktadha + vitendo vinavyohusiana na HALI na NAFASI ya mtumiaji.
   ========================================================================== */
.tx-panel { display: none; padding: var(--sh-2) var(--sh-3) 0; background: transparent; }
.tx-card {
    background: var(--sh-surface); border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-lg); box-shadow: var(--sh-sh-2);
    padding: var(--sh-3); margin-bottom: var(--sh-2);
}
.tx-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sh-2); margin-bottom: var(--sh-2); }
.tx-kind {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
    color: var(--sh-text-3); text-transform: none;
}
.tx-route {
    display: flex; align-items: center; gap: var(--sh-2); flex-wrap: wrap;
    font-size: var(--sh-fs-card); font-weight: var(--sh-fw-med); color: var(--sh-text);
    padding-bottom: var(--sh-2);
}
.tx-route span { color: var(--sh-blue); display: inline-flex; }
.tx-rows { display: flex; flex-direction: column; gap: 4px; padding: var(--sh-2) 0; border-top: 1px solid var(--sh-border); }
.tx-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sh-3); font-size: var(--sh-fs-sm); }
.tx-row span { color: var(--sh-text-3); }
.tx-row b { color: var(--sh-text); font-weight: var(--sh-fw-med); }

/* Token — contextual, si namba peke yake (§18) */
.tx-token {
    margin: var(--sh-2) 0; padding: var(--sh-3);
    background: linear-gradient(135deg, var(--sh-blue-50), var(--sh-green-50));
    border: 1px dashed var(--sh-blue-100); border-radius: var(--sh-r-md); text-align: center;
}
.tx-token-h {
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med); color: var(--sh-text-3);
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.tx-token-code {
    font-size: 26px; font-weight: var(--sh-fw-bold); letter-spacing: .12em;
    color: var(--sh-blue-deep); margin: 6px 0 2px; font-variant-numeric: tabular-nums;
}
.tx-token-ctx { font-size: var(--sh-fs-xs); color: var(--sh-text-3); margin-bottom: var(--sh-2); }

.tx-actions { display: flex; flex-wrap: wrap; gap: var(--sh-2); padding-top: var(--sh-2); border-top: 1px solid var(--sh-border); }
.tx-actions .sh-btn { flex: 1 1 auto; min-width: 128px; }
.tx-wait, .tx-done {
    display: flex; align-items: center; gap: 6px; width: 100%;
    font-size: var(--sh-fs-sm); color: var(--sh-text-3); padding: var(--sh-2) 0;
}
.tx-done { color: #0F7A5E; font-weight: var(--sh-fw-med); }

/* Ujumbe wa mfumo ndani ya chat (§17) */
.ch-msg[data-system="1"] .chat-bubble, .chat-bubble.system {
    background: var(--sh-surface-3) !important; color: var(--sh-text-2) !important;
    font-size: var(--sh-fs-sm) !important; text-align: center;
    border: 1px dashed var(--sh-border-2) !important; box-shadow: none !important;
}

/* ==========================================================================
   26) TEST / SANDBOX MODE (§12) — lazima ionekane wazi ni majaribio
   ========================================================================== */
.sbx-badge {
    position: fixed; left: 50%; transform: translateX(-50%);
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    z-index: 2147482500; display: inline-flex; align-items: center; gap: 6px;
    background: #7C2D12; color: #FEF3C7; border: 1px solid #9A3412;
    border-radius: var(--sh-r-pill); padding: 7px 14px;
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-bold);
    letter-spacing: .04em; cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(124, 45, 18, .7);
}
.sbx-badge:hover { background: #9A3412; }
/* Ukanda wa juu ili isiwezekane kusahau uko kwenye test */
body.sbx-on::before {
    content: ''; position: fixed; top: 0; left: 0; right: 0; height: 3px;
    background: repeating-linear-gradient(90deg, #D97706 0 14px, #7C2D12 14px 28px);
    z-index: 2147482600; pointer-events: none;
}

.sbx-modal {
    position: fixed; inset: 0; z-index: 9600; background: rgba(15, 23, 42, .58);
    display: flex; align-items: flex-end; justify-content: center;
}
.sbx-sheet {
    background: var(--sh-surface); width: 100%; max-width: 480px;
    max-height: 90vh; overflow: auto; padding: var(--sh-4);
    border-radius: var(--sh-r-xl) var(--sh-r-xl) 0 0;
    animation: sh-fade-up var(--sh-t-slow) both;
}
.sbx-sheet--wide { max-width: 560px; }
.sbx-banner {
    display: flex; align-items: flex-start; gap: 7px;
    background: #FFF7ED; color: #7C2D12; border: 1px solid #FBDDB5;
    border-radius: var(--sh-r-md); padding: var(--sh-2) var(--sh-3);
    font-size: var(--sh-fs-xs); line-height: 1.5; margin-bottom: var(--sh-3);
}
.sbx-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sh-3); }
.sbx-head b { font-size: var(--sh-fs-section); font-weight: var(--sh-fw-semi); }
.sbx-x {
    width: 34px; height: 34px; border: none; background: var(--sh-surface-3);
    border-radius: 50%; cursor: pointer; color: var(--sh-text-2);
    display: inline-flex; align-items: center; justify-content: center;
}
.sbx-ref { font-size: var(--sh-fs-sm); color: var(--sh-text-3); margin-bottom: 4px; }
.sbx-amt {
    font-size: 28px; font-weight: var(--sh-fw-bold); color: var(--sh-text);
    margin-bottom: var(--sh-4); letter-spacing: -.02em;
}
.sbx-amt span {
    font-size: var(--sh-fs-xs); background: #FFF7ED; color: #9A5B06;
    border-radius: var(--sh-r-pill); padding: 2px 8px; vertical-align: middle; margin-left: 6px;
}
.sbx-opts { display: flex; flex-direction: column; gap: var(--sh-2); }
.sbx-opt {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: var(--sh-3); border: 1px solid var(--sh-border-2);
    border-radius: var(--sh-r-md); background: var(--sh-surface); cursor: pointer; text-align: left;
    transition: border-color var(--sh-t-fast), background var(--sh-t-fast);
}
.sbx-opt:hover { border-color: var(--sh-blue); background: var(--sh-blue-50); }
.sbx-opt b { font-size: var(--sh-fs-body); font-weight: var(--sh-fw-med); color: var(--sh-text); }
.sbx-opt small { font-size: var(--sh-fs-xs); color: var(--sh-text-3); }

.sbx-toggle-row {
    display: flex; align-items: center; justify-content: space-between; gap: var(--sh-3);
    padding: var(--sh-3); border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-md); margin-bottom: var(--sh-3);
}
.sbx-toggle-row b { display: block; font-size: var(--sh-fs-body); font-weight: var(--sh-fw-med); }
.sbx-toggle-row small { font-size: var(--sh-fs-xs); color: var(--sh-text-3); }

.sbx-wallet {
    background: linear-gradient(135deg, var(--sh-blue-deep), var(--sh-blue));
    color: #fff; border-radius: var(--sh-r-lg); padding: var(--sh-4); margin-bottom: var(--sh-3);
}
.sbx-wallet-h { font-size: var(--sh-fs-xs); opacity: .85; display: flex; align-items: center; gap: 5px; }
.sbx-wallet-b { font-size: 26px; font-weight: var(--sh-fw-bold); margin: 6px 0 2px; letter-spacing: -.02em; }
.sbx-wallet-b span { font-size: var(--sh-fs-xs); background: rgba(255,255,255,.2); border-radius: var(--sh-r-pill); padding: 2px 8px; vertical-align: middle; }
.sbx-wallet-m { font-size: var(--sh-fs-sm); opacity: .9; }
.sbx-wallet-note { font-size: var(--sh-fs-xs); opacity: .7; margin-top: 4px; }
.sbx-wallet-acts { display: flex; gap: var(--sh-2); margin-top: var(--sh-3); }
.sbx-wallet-acts .sh-btn { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.28); }
.sbx-wallet-acts .sh-btn:hover { background: rgba(255,255,255,.26); }

.sbx-sec {
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med); color: var(--sh-text-muted);
    text-transform: uppercase; letter-spacing: .05em; margin: var(--sh-4) 0 var(--sh-2);
}
.sbx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--sh-2); }
.sbx-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    padding: var(--sh-3); border: 1px solid var(--sh-border-2); border-radius: var(--sh-r-md);
    background: var(--sh-surface); cursor: pointer; min-height: 74px; text-align: center;
}
.sbx-tile:hover { border-color: var(--sh-blue); background: var(--sh-blue-50); }
.sbx-tile b { font-size: var(--sh-fs-card); color: var(--sh-blue); display: inline-flex; }
.sbx-tile span { font-size: var(--sh-fs-xs); color: var(--sh-text-2); line-height: 1.3; }
.sbx-tile--danger:hover { border-color: var(--sh-red); background: var(--sh-red-50); }
.sbx-tile--danger b { color: var(--sh-red); }

.sbx-steps { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.sbx-step { display: flex; align-items: center; gap: var(--sh-2); font-size: var(--sh-fs-sm); color: var(--sh-text-2); }
.sbx-step i {
    flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
    background: var(--sh-blue-50); color: var(--sh-blue); font-style: normal;
    font-size: 11px; font-weight: var(--sh-fw-bold);
    display: inline-flex; align-items: center; justify-content: center;
}
.sbx-row {
    display: flex; align-items: center; justify-content: space-between; gap: var(--sh-3);
    padding: 8px 0; border-bottom: 1px dashed var(--sh-border); font-size: var(--sh-fs-sm); text-align: left;
}
.sbx-row:last-child { border-bottom: none; }
.sbx-row b { color: var(--sh-text); font-weight: var(--sh-fw-med); }
.sbx-row span { color: var(--sh-text-3); font-size: var(--sh-fs-xs); }

/* Guard: hali ya kupakia kwenye kitufe (§14) */
.skh-spin {
    display: inline-block; width: 13px; height: 13px; vertical-align: -2px;
    border: 2px solid currentColor; border-right-color: transparent;
    border-radius: 50%; animation: skh-spin .7s linear infinite; margin-right: 5px;
}
@keyframes skh-spin { to { transform: rotate(360deg); } }
button.is-loading { opacity: .75; cursor: progress; }

/* ==========================================================================
   27) ESCROW CHECK (§22) — masharti yanayozuia/yanayoruhusu kuachia fedha
   ========================================================================== */
.esc-check { text-align: left; display: flex; flex-direction: column; gap: 7px; }
.esc-row { display: flex; align-items: flex-start; gap: 8px; font-size: var(--sh-fs-sm); line-height: 1.45; }
.esc-row svg { flex-shrink: 0; margin-top: 2px; }
.esc-bad  { color: #B91C1C; }
.esc-warn { color: #9A5B06; }
.esc-ok   { color: #0F7A5E; }
.esc-sum {
    margin-top: var(--sh-2); padding-top: var(--sh-2);
    border-top: 1px solid var(--sh-border);
    font-size: var(--sh-fs-sm); color: var(--sh-text-2);
}
.esc-sum b { color: var(--sh-text); }

/* ==========================================================================
   28) UNIVERSAL BACK BAR — screens 22 hazikuwa na njia ya kurudi
   ========================================================================== */
.skh-backbar {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: var(--sh-2);
    padding: var(--sh-2) var(--sh-3);
    background: var(--sh-surface);
    border-bottom: 1px solid var(--sh-border);
    -webkit-backdrop-filter: saturate(180%) blur(6px);
    backdrop-filter: saturate(180%) blur(6px);
}
.skh-backbar--inline { position: relative; border-radius: var(--sh-r-md); margin-bottom: var(--sh-3); }

/* [FIX 2026-11-04] KITUFE CHA "RUDI" KILIKUWA KINAVUNJA SKRINI NZIMA.
   Kipimo: `css/46-fullscreen-pages.css` ina `#sellerProfileModal > * { height:100% !important }`
   — hivyo bar iliyoingizwa kiotomatiki ikawa PANEL NYEUPE ya skrini nzima (1440x900)
   na DUKA LA MUUZAJI Likaonekana tupu (vitufe viwili pekee: "Rudi" na "✕").
   Sasa bar INAELEA juu ya maudhui: haina height, haina background, haichukui nafasi. */
html body .overlay-menu > .skh-backbar,
html body [id$="Modal"] > .skh-backbar {
    position: absolute !important;
    top: 10px !important; left: 10px !important; right: auto !important;
    width: auto !important; height: auto !important;
    max-height: none !important; min-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    z-index: 60 !important;
}
html body .skh-backbar > .skh-backbtn,
html body .skh-backbar > .skh-closebtn {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .18) !important;
}
/* Skrini iliyo na kitufe chake cha kufunga: cha kiotomatiki kinaondolewa */
html body .skh-backbar.skh-backbar--auto-hidden { display: none !important; }
.skh-backbtn, .skh-closebtn {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--sh-border-2); background: var(--sh-surface);
    color: var(--sh-text-2); border-radius: var(--sh-r-md);
    padding: 8px 12px; min-height: 40px; cursor: pointer;
    font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med);
    transition: background var(--sh-t-fast), color var(--sh-t-fast), border-color var(--sh-t-fast);
}
.skh-backbtn:hover, .skh-closebtn:hover {
    background: var(--sh-blue-50); color: var(--sh-blue); border-color: var(--sh-blue-100);
}
.skh-closebtn { padding: 8px 10px; }
.skh-backbtn svg, .skh-closebtn svg { width: 17px; height: 17px; }

/* Mstari wa "umesajiliwa kupitia wakala" — metadata, si umiliki (§2, §23) */
.skh-agentref {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: var(--sh-fs-xs); color: var(--sh-text-muted);
    background: var(--sh-surface-3); border-radius: var(--sh-r-pill);
    padding: 3px 10px; margin-top: 4px;
}

/* ==========================================================================
   29) CHECKOUT SHEET (§3, §4, §5, §6) — LIPA sasa inapitia hapa
   ========================================================================== */
.co-modal {
    position: fixed; inset: 0; z-index: 9400; background: rgba(15,23,42,.55);
    display: flex; align-items: flex-end; justify-content: center;
}
.co-sheet {
    background: var(--sh-surface); width: 100%; max-width: 520px;
    max-height: 92vh; overflow: auto; padding: 0 var(--sh-4) var(--sh-4);
    border-radius: var(--sh-r-xl) var(--sh-r-xl) 0 0;
    animation: sh-fade-up var(--sh-t-slow) both;
}
.co-head {
    position: sticky; top: 0; z-index: 5; background: var(--sh-surface);
    display: flex; align-items: center; justify-content: space-between; gap: var(--sh-2);
    padding: var(--sh-3) 0; border-bottom: 1px solid var(--sh-border); margin-bottom: var(--sh-3);
}
.co-head b { font-size: var(--sh-fs-section); font-weight: var(--sh-fw-semi); }
.co-back, .co-x {
    width: 36px; height: 36px; border: none; background: var(--sh-surface-3);
    border-radius: 50%; cursor: pointer; color: var(--sh-text-2);
    display: inline-flex; align-items: center; justify-content: center;
}
.co-back:hover, .co-x:hover { background: var(--sh-blue-50); color: var(--sh-blue); }
.co-testbar {
    display: flex; align-items: center; gap: 6px;
    background: #FFF7ED; color: #7C2D12; border: 1px solid #FBDDB5;
    border-radius: var(--sh-r-md); padding: 8px var(--sh-3);
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med); margin-bottom: var(--sh-3);
}
.co-sec {
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med); color: var(--sh-text-muted);
    text-transform: uppercase; letter-spacing: .05em; margin: var(--sh-4) 0 var(--sh-2);
}
.co-item {
    background: var(--sh-surface-2); border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-md); padding: var(--sh-3);
}
.co-item-t { font-size: var(--sh-fs-card); font-weight: var(--sh-fw-med); color: var(--sh-text); }
.co-item-m { font-size: var(--sh-fs-sm); color: var(--sh-text-3); margin-top: 3px; }
.co-totals {
    background: var(--sh-surface-2); border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-md); padding: var(--sh-3);
}
.co-row {
    display: flex; align-items: center; justify-content: space-between; gap: var(--sh-3);
    font-size: var(--sh-fs-sm); color: var(--sh-text-2); padding: 5px 0;
}
.co-row b { color: var(--sh-text); font-weight: var(--sh-fw-med); }
.co-row .co-tbd { font-style: normal; font-size: var(--sh-fs-xs); color: var(--sh-text-muted); font-weight: var(--sh-fw-reg); }
.co-row .co-none { color: var(--sh-text-muted); font-weight: var(--sh-fw-reg); }
.co-grand {
    border-top: 1px solid var(--sh-border); margin-top: 5px; padding-top: var(--sh-2);
    font-size: var(--sh-fs-body);
}
.co-grand b { font-size: var(--sh-fs-xl); font-weight: var(--sh-fw-bold); color: var(--sh-green); }
.co-hint {
    display: flex; align-items: flex-start; gap: 5px; margin-top: var(--sh-2);
    font-size: var(--sh-fs-xs); color: var(--sh-text-muted); line-height: 1.45;
}
.co-pay { margin-top: var(--sh-4); min-height: 52px; font-size: var(--sh-fs-body) !important; }
.co-note {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    font-size: var(--sh-fs-xs); color: var(--sh-text-muted); margin: var(--sh-2) 0 0; text-align: center;
}
/* Sehemu ya delivery ikiwa ndani ya checkout */
#skhCoDelivery .skh-dchoice { margin-top: var(--sh-2); }

/* ==========================================================================
   30) REQUEST STATES (§24) — EMPTY vs ERROR zitofautishwe
   ========================================================================== */
.rq-state {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: var(--sh-10) var(--sh-5); gap: var(--sh-2);
}
.rq-ic {
    width: 56px; height: 56px; border-radius: var(--sh-r-lg);
    background: var(--sh-blue-50); color: var(--sh-blue);
    display: flex; align-items: center; justify-content: center; margin-bottom: var(--sh-1);
}
.rq-ic--err { background: var(--sh-red-50); color: var(--sh-red); }
.rq-state b { font-size: var(--sh-fs-card); font-weight: var(--sh-fw-med); color: var(--sh-text); }
.rq-state p { font-size: var(--sh-fs-sm); color: var(--sh-text-3); max-width: 300px; margin: 0; line-height: 1.5; }
.rq-state .sh-btn { margin-top: var(--sh-3); }
.rq-error b { color: #991B1B; }

/* ==========================================================================
   31) TOASTS — hazikuwa zikionekana (07-toasts.js hupakiwa mwisho)
   ========================================================================== */
.skh-toast-wrap {
    position: fixed; left: 50%; transform: translateX(-50%);
    top: calc(12px + env(safe-area-inset-top, 0px));
    z-index: 2147483000; display: flex; flex-direction: column; gap: 8px;
    width: min(92vw, 420px); pointer-events: none;
}
.skh-toast {
    display: flex; align-items: flex-start; gap: 9px;
    background: var(--sh-surface); color: var(--sh-text);
    border: 1px solid var(--sh-border); border-radius: var(--sh-r-md);
    box-shadow: var(--sh-sh-4); padding: 11px var(--sh-3);
    font-size: var(--sh-fs-sm); line-height: 1.45; pointer-events: auto;
    animation: skh-toast-in 200ms cubic-bezier(.4,0,.2,1) both;
}
.skh-toast-ic { display: inline-flex; flex-shrink: 0; margin-top: 1px; }
.skh-toast-ic svg { width: 16px; height: 16px; }
.skh-toast.skh-out { animation: skh-toast-out 240ms ease forwards; }
@keyframes skh-toast-in  { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes skh-toast-out { to { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   32) AGENT MONITORING (§7, §9) — ufuatiliaji, si umiliki
   ========================================================================== */
.am-wrap { max-width: 640px; margin: 0 auto; }
.am-head { margin-bottom: var(--sh-3); }
.am-head b { display: block; font-size: var(--sh-fs-section); font-weight: var(--sh-fw-semi); color: var(--sh-text); }
.am-head small { font-size: var(--sh-fs-sm); color: var(--sh-text-3); }
.am-note {
    display: flex; align-items: flex-start; gap: 7px;
    background: var(--sh-blue-50); color: var(--sh-blue-deep);
    border: 1px solid var(--sh-blue-100); border-radius: var(--sh-r-md);
    padding: var(--sh-2) var(--sh-3); font-size: var(--sh-fs-xs);
    line-height: 1.5; margin-bottom: var(--sh-3);
}
.am-list {
    background: var(--sh-surface); border: 1px solid var(--sh-border);
    border-radius: var(--sh-r-lg); overflow: hidden;
}
.am-row {
    display: flex; gap: var(--sh-3); align-items: flex-start;
    padding: var(--sh-3); border-bottom: 1px solid var(--sh-border);
}
.am-row:last-child { border-bottom: none; }
.am-ic {
    width: 34px; height: 34px; border-radius: var(--sh-r-sm); flex-shrink: 0;
    background: var(--sh-surface-3); color: var(--sh-blue);
    display: inline-flex; align-items: center; justify-content: center;
}
.am-b { flex: 1; min-width: 0; }
.am-t { font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med); color: var(--sh-text); }
.am-s { font-size: var(--sh-fs-sm); color: var(--sh-text-3); margin-top: 2px; }
.am-w { font-size: var(--sh-fs-xs); color: var(--sh-text-muted); margin-top: 3px; }

/* Vitendo viwili kwenye kadi ya kazi: Toa Ofa + Kubali */
.lm-acts { display: flex; gap: var(--sh-2); flex: 1 1 auto; min-width: 0; }
.lm-offer {
    flex: 0 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px var(--sh-3); min-height: 42px;
    border: 1px solid var(--sh-blue); background: var(--sh-surface); color: var(--sh-blue);
    border-radius: var(--sh-r-md); font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med);
    cursor: pointer; white-space: nowrap;
}
.lm-offer:hover { background: var(--sh-blue-50); }
.lm-acts .lm-accept { flex: 1 1 auto; }
@media (max-width: 400px) { .lm-acts { flex-wrap: wrap; } .lm-acts > * { flex: 1 1 100%; } }

/* Kitufe cha "Toa Ofa" kwenye request inbox */
.ri-btn-offer {
    background: var(--sh-surface) !important;
    color: var(--sh-blue) !important;
    border: 1px solid var(--sh-blue) !important;
}
.ri-btn-offer:hover { background: var(--sh-blue-50) !important; }

/* ==========================================================================
   33) KADI YA KUANZISHA MAJADILIANO (chat)
   Kabla: ukichati na mtoa huduma/msafirishaji ulipata ujumbe wa kawaida tu.
   Sasa: kadi ya muktadha + kitufe cha kuanzisha ofa rasmi.
   ========================================================================== */
/* [TASK K 2026-11] Rangi za mfumo: kadi ya kuanzisha majadiliano ilikuwa
   buluu (#4D91AA) — sasa kijani cha SokoHai (#18A982 / #17604E). */
.ch-startnego {
    margin: var(--sh-2) var(--sh-3);
    background: var(--sh-surface);
    border: 1px solid var(--sh-border);
    border-left: 3px solid var(--sh-green);
    border-radius: var(--sh-r-md);
    padding: var(--sh-3);
    box-shadow: var(--sh-sh-1);
}
.ch-sn-head {
    display: flex; align-items: center; gap: 6px;
    font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med);
    color: var(--sh-text-3); margin-bottom: 4px;
}
.ch-sn-tag {
    margin-left: auto; background: var(--sh-amber-50); color: #9A5B06;
    border-radius: var(--sh-r-pill); padding: 2px 8px;
    font-size: 10.5px; font-weight: var(--sh-fw-med);
}
.ch-sn-title {
    font-size: var(--sh-fs-card); font-weight: var(--sh-fw-med);
    color: var(--sh-text); line-height: 1.3;
}
.ch-sn-sub { font-size: var(--sh-fs-sm); color: var(--sh-text-3); margin-top: 2px; }
.ch-sn-price {
    font-size: var(--sh-fs-xl); font-weight: var(--sh-fw-bold);
    color: var(--sh-green); margin: 6px 0 4px;
}
.ch-sn-note {
    display: flex; align-items: flex-start; gap: 5px;
    font-size: var(--sh-fs-xs); color: var(--sh-text-muted);
    line-height: 1.45; margin-bottom: var(--sh-2);
}
.ch-sn-btn {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 44px; padding: 11px var(--sh-4);
    background: var(--sh-green); color: #fff; border: none;
    border-radius: var(--sh-r-md); cursor: pointer;
    font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med);
    transition: background var(--sh-t-fast), transform var(--sh-t-fast);
}
.ch-sn-btn:hover { background: var(--sh-green-deep); }
.ch-sn-btn:active { transform: scale(.98); }

/* ==========================================================================
   34) BANNER YA MWANACHAMA (§20) — akaunti yake, si ya wakala
   ========================================================================== */
.mb-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 2147482900;
    display: flex; align-items: center; justify-content: space-between; gap: var(--sh-3);
    padding: 8px var(--sh-3);
    background: linear-gradient(135deg, var(--sh-blue-deep), var(--sh-blue));
    color: #fff; box-shadow: 0 2px 12px -2px rgba(11,79,122,.5);
}
.mb-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mb-left b { display: block; font-size: var(--sh-fs-sm); font-weight: var(--sh-fw-med); line-height: 1.2; }
.mb-left small { font-size: 11px; opacity: .85; }
.mb-exit {
    flex: 0 0 auto; background: rgba(255,255,255,.18); color: #fff;
    border: 1px solid rgba(255,255,255,.3); border-radius: var(--sh-r-md);
    padding: 7px 14px; font-size: var(--sh-fs-xs); font-weight: var(--sh-fw-med); cursor: pointer;
}
.mb-exit:hover { background: rgba(255,255,255,.28); }
body.mb-on { padding-top: 46px; }
