/* ═══════════════════════════════════════════════
   ASTRAMETRIC — BOTTOM-UP PROTOTYPE — DESIGN SYSTEM
   ═══════════════════════════════════════════════ */

:root {
    --primary: #0052cc;
    --primary-dark: #003d99;
    --primary-light: #e8f0fe;
    --secondary: #1a1a2e;
    --secondary-2: #16213e;
    --accent: #00b894;
    --accent-orange: #f5a623;
    --accent-red: #ee5a24;
    --accent-purple: #6c5ce7;
    --whatsapp: #25D366;
    --whatsapp-dark: #075E54;
    --whatsapp-bg: #E5DDD5;
    --text-dark: #2d3436;
    --text-mid: #636e72;
    --text-light: #a4adb6;
    --bg: #ffffff;
    --bg-tinted: #f6f8fb;
    --bg-dark: #0f1424;
    --border: #e3e7ec;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 8px 28px rgba(0,0,0,0.08);
    --shadow-lg: 0 18px 60px rgba(0,0,0,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg-tinted);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── TOPBAR (each tier page has one) ─── */
.proto-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.proto-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-mid);
    transition: all 0.2s;
}
.proto-back:hover { background: var(--primary-light); color: var(--primary); }
.proto-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 13px;
    color: var(--secondary);
}
.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}
.proto-title {
    flex: 1;
    font-weight: 700;
    font-size: 16px;
    color: var(--secondary);
}
.proto-title small {
    color: var(--text-mid);
    font-weight: 400;
    margin-left: 8px;
    font-size: 13px;
}
.proto-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tier-sasa { background: #f5a62318; color: #b97608; }
.tier-duka { background: #6c5ce718; color: #4a3fa8; }
.tier-biashara { background: #00b89418; color: #008a6d; }
.tier-pro { background: #0052cc18; color: var(--primary); }

/* ─── LAUNCHER (index.html) ─── */
.launcher {
    min-height: 100vh;
    background: radial-gradient(1200px 600px at 20% -20%, rgba(108, 92, 231, 0.10), transparent 60%),
                radial-gradient(1000px 600px at 100% 0, rgba(0, 184, 148, 0.08), transparent 60%),
                #fcfdff;
    padding: 60px 24px 80px;
}
.launcher-header {
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: center;
}
.launcher-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.launcher-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--secondary);
    margin-bottom: 14px;
}
.launcher-title-grad {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple) 60%, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.launcher-sub {
    font-size: 17px;
    color: var(--text-mid);
    max-width: 720px;
    margin: 0 auto;
}

.pyramid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 0;
}
.pyramid-tier {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.pyramid-tier::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--tier-color);
}
.pyramid-tier:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--tier-color);
}
.tier-num {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--tier-bg);
    color: var(--tier-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}
.tier-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}
.tier-info h3 .tier-name {
    color: var(--tier-color);
}
.tier-info p {
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.55;
    max-width: 580px;
}
.tier-info .tier-surfaces {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.surface-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--bg-tinted);
    color: var(--text-mid);
    border: 1px solid var(--border);
}
.surface-pill i { font-size: 10px; }
.tier-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.tier-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.3px;
}
.tier-price small {
    font-size: 11px;
    color: var(--text-mid);
    font-weight: 500;
}
.tier-launch {
    font-size: 12px;
    font-weight: 600;
    color: var(--tier-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pyramid-tier.t-sasa     { --tier-color: #f5a623; --tier-bg: #fff3e0; }
.pyramid-tier.t-duka     { --tier-color: #6c5ce7; --tier-bg: #f0ebff; }
.pyramid-tier.t-biashara { --tier-color: #00b894; --tier-bg: #e6f9f0; }
.pyramid-tier.t-pro      { --tier-color: #0052cc; --tier-bg: #e8f0fe; }
.pyramid-tier.t-ent      { --tier-color: #1a1a2e; --tier-bg: #e3e7ec; }
.pyramid-tier.t-plat     { --tier-color: #ee5a24; --tier-bg: #fde6df; }

.pyramid-tier.dimmed {
    opacity: 0.55;
    cursor: default;
}
.pyramid-tier.dimmed:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

.launcher-foot {
    max-width: 1000px;
    margin: 50px auto 0;
    padding: 24px;
    background: linear-gradient(135deg, #fafbff, #f5f8ff);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 18px;
}
.launcher-foot-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.launcher-foot p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}
.launcher-foot p strong { color: var(--text-dark); }

/* ─── DEVICE FRAMES ─── */
.proto-stage {
    padding: 32px 24px;
    max-width: 1500px;
    margin: 0 auto;
}
.surfaces-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 12px;
}
.surface-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.surface-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 18px;
    text-align: center;
}
.surface-label .pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    margin-left: 6px;
    background: var(--primary-light);
    color: var(--primary);
    letter-spacing: 0.5px;
}

/* phone */
.phone-frame {
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 0 0 2px rgba(255,255,255,0.05) inset;
    position: relative;
    width: 320px;
}
.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 22px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}
.phone-screen {
    background: #fff;
    border-radius: 28px;
    height: 600px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* tablet */
.tablet-frame {
    background: #1a1a2e;
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    width: 580px;
    position: relative;
}
.tablet-screen {
    background: #fff;
    border-radius: 16px;
    height: 420px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* USSD console */
.ussd-frame {
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    width: 280px;
}
.ussd-screen {
    background: #1a1f2e;
    border-radius: 28px;
    height: 540px;
    padding: 28px 22px;
    color: #87ee9d;
    font-family: 'Courier New', monospace;
    font-size: 13.5px;
    line-height: 1.6;
    overflow: hidden;
    position: relative;
}
.ussd-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255,255,255,0.02) 0px,
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}
.ussd-header {
    font-size: 11px;
    color: #b8c1cb;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    border-bottom: 1px dashed rgba(135,238,157,0.25);
    padding-bottom: 10px;
}
.ussd-line { white-space: pre-wrap; word-break: break-word; }
.ussd-prompt {
    margin-top: 14px;
    border-top: 1px dashed rgba(135,238,157,0.25);
    padding-top: 10px;
    color: #fff;
    font-size: 12px;
}
.ussd-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(135,238,157,0.4);
    color: #87ee9d;
    border-radius: 4px;
    padding: 6px 10px;
    width: 100%;
    margin-top: 8px;
    font-family: inherit;
    font-size: 12.5px;
    letter-spacing: 1px;
}

/* WhatsApp UI */
.wa-frame {
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    width: 320px;
    position: relative;
}
.wa-screen {
    background: var(--whatsapp-bg);
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' fill='%23E5DDD5'/%3E%3Cpath d='M20 8 L24 16 L32 16 L26 22 L28 30 L20 26 L12 30 L14 22 L8 16 L16 16 Z' fill='%23d3c8b9' opacity='0.3'/%3E%3C/svg%3E");
    border-radius: 28px;
    height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.wa-header {
    background: var(--whatsapp-dark);
    color: #fff;
    padding: 38px 14px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}
.wa-name {
    font-size: 14px;
    font-weight: 600;
}
.wa-online {
    font-size: 11px;
    opacity: 0.85;
}
.wa-icons {
    margin-left: auto;
    display: flex;
    gap: 12px;
    color: #fff;
    opacity: 0.85;
}
.wa-msgs {
    flex: 1;
    overflow-y: auto;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wa-day {
    align-self: center;
    background: rgba(225,245,254,0.92);
    color: #54656f;
    font-size: 10.5px;
    padding: 4px 10px;
    border-radius: 8px;
    margin: 6px 0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.wa-msg {
    max-width: 78%;
    padding: 7px 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.13);
    position: relative;
    word-wrap: break-word;
}
.wa-msg.user {
    align-self: flex-end;
    background: #d9fdd3;
    border-top-right-radius: 0;
}
.wa-msg.bot {
    align-self: flex-start;
    background: #fff;
    border-top-left-radius: 0;
}
.wa-msg .wa-time {
    position: absolute;
    bottom: 3px;
    right: 8px;
    font-size: 9.5px;
    color: rgba(0,0,0,0.45);
}
.wa-msg.user .wa-time::after {
    content: ' ✓✓';
    color: #53bdeb;
}
.wa-msg strong { font-weight: 700; }
.wa-msg-buttons {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 6px;
}
.wa-msg-btn {
    text-align: center;
    color: #00a884;
    padding: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
}
.wa-msg-btn:last-child { border-bottom: none; }
.wa-msg-btn:hover { background: rgba(0,168,132,0.08); }
.wa-msg-card {
    background: #fff;
    border-radius: 6px;
    padding: 8px 0 0;
    margin: 4px 0;
}
.wa-msg-card-header {
    padding: 0 10px 6px;
    font-size: 12px;
    color: #667781;
}
.wa-msg-card-body {
    padding: 0 10px 8px;
    font-size: 13px;
    color: #111b21;
    line-height: 1.45;
}
.wa-msg-card-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.wa-compose {
    padding: 8px 10px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wa-compose-input {
    flex: 1;
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text-light);
}
.wa-compose-mic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--whatsapp-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Lite Android UI (Sasa) */
.android-screen {
    background: #fafbfc;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.android-statusbar {
    background: #fff;
    padding: 28px 16px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-mid);
}
.android-header {
    background: var(--primary);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.android-header h1 {
    font-size: 17px;
    font-weight: 700;
    flex: 1;
}
.android-content {
    padding: 16px;
    flex: 1;
}
.android-tabbar {
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 8px 10px;
    display: flex;
    justify-content: space-around;
}
.android-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 10px;
    color: var(--text-mid);
    font-size: 10px;
    font-weight: 500;
    border-radius: 8px;
    flex: 1;
}
.android-tab.active { color: var(--primary); background: var(--primary-light); }
.android-tab i { font-size: 18px; }

.balance-card {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 14px;
}
.balance-card-label {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.balance-card-value {
    font-size: 26px;
    font-weight: 800;
    margin: 4px 0;
    letter-spacing: -0.5px;
}
.balance-card-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.18);
    font-size: 11px;
    opacity: 0.85;
}
.balance-card-row strong { display: block; font-size: 14px; opacity: 1; margin-top: 2px; }

.android-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    margin: 14px 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.android-section-title a {
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
}

.list-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.list-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.list-item-body { flex: 1; min-width: 0; }
.list-item-title { font-size: 13px; font-weight: 600; color: var(--secondary); }
.list-item-sub { font-size: 11px; color: var(--text-mid); margin-top: 2px; }
.list-item-trail { text-align: right; font-size: 12px; }
.list-item-trail strong { display: block; color: var(--secondary); font-size: 13px; }

.action-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 14px 0;
}
.action-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.action-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.action-tile-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.alert-card {
    background: linear-gradient(135deg, #fff5e6, #fff);
    border: 1px solid #f5a62330;
    border-left: 3px solid var(--accent-orange);
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.alert-card strong { color: var(--accent-orange); }
.alert-card-title { font-weight: 700; margin-bottom: 4px; color: var(--secondary); }

/* Duka Mobile POS */
.pos-screen {
    background: #fafbfc;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.pos-header {
    background: linear-gradient(135deg, var(--accent-purple), var(--primary));
    color: #fff;
    padding: 28px 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.pos-header-staff {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}
.pos-header-info { flex: 1; }
.pos-header-info .name { font-size: 13px; font-weight: 700; }
.pos-header-info .role { font-size: 11px; opacity: 0.85; }

.pos-totals {
    background: #fff;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}
.pos-total-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-mid);
}
.pos-total-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}

.pos-cart {
    padding: 12px 14px;
    flex: 1;
    overflow-y: auto;
}
.pos-cart-empty {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    padding: 40px 20px;
}
.cart-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-item-name { flex: 1; font-size: 13px; font-weight: 600; }
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--bg-tinted);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}
.cart-item-price { font-size: 13px; font-weight: 700; color: var(--secondary); width: 70px; text-align: right; }

.pos-search {
    background: #fff;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pos-search input {
    flex: 1;
    border: none;
    background: var(--bg-tinted);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--text-dark);
    outline: none;
}

.pos-products {
    padding: 12px;
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.pos-product {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
}
.pos-product-icon {
    height: 44px;
    background: var(--bg-tinted);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 6px;
}
.pos-product-name { font-size: 11.5px; font-weight: 600; color: var(--text-dark); }
.pos-product-price { font-size: 12px; color: var(--primary); font-weight: 700; margin-top: 3px; }

.pos-footer {
    padding: 12px;
    background: #fff;
    border-top: 1px solid var(--border);
}
.pos-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), #00a37e);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pos-checkout-btn small { font-weight: 500; opacity: 0.9; }

.pin-pad {
    padding: 24px 20px;
    background: linear-gradient(180deg, var(--secondary), var(--secondary-2));
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pin-pad-title {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin: 14px 0 6px;
}
.pin-pad-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    text-align: center;
    margin-bottom: 26px;
}
.pin-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}
.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.25);
}
.pin-dot.filled { background: var(--accent); border-color: var(--accent); }
.pin-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex: 1;
    align-content: end;
    padding-bottom: 16px;
}
.pin-num {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.staff-switcher {
    padding: 16px;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
}
.staff-chip {
    flex: 1;
    background: var(--bg-tinted);
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}
.staff-chip.active {
    background: var(--primary-light);
    color: var(--primary);
}
.staff-chip-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Biashara Web Admin */
.bia-app {
    display: grid;
    grid-template-columns: 240px 1fr;
    height: calc(100vh - 65px);
    background: var(--bg-tinted);
}
.bia-side {
    background: var(--secondary);
    color: rgba(255,255,255,0.85);
    overflow-y: auto;
    padding-bottom: 20px;
}
.bia-side-brand {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}
.bia-side-brand .brand-mark {
    width: 32px;
    height: 32px;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}
.bia-side-brand-name {
    color: #fff;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 13px;
}
.bia-side-brand-tag {
    color: var(--accent);
    font-size: 9.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1px;
}
.bia-side-section {
    padding: 14px 22px 6px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}
.bia-side-item {
    padding: 9px 22px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.2s;
}
.bia-side-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.bia-side-item.active {
    background: rgba(0, 184, 148, 0.18);
    color: #fff;
    border-right: 3px solid var(--accent);
}
.bia-side-item i { width: 16px; text-align: center; font-size: 13px; }
.bia-badge {
    margin-left: auto;
    background: var(--accent-orange);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

.bia-main {
    overflow-y: auto;
    padding: 24px 32px;
}
.bia-pageheader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}
.bia-pageheader h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--secondary);
    margin-bottom: 4px;
}
.bia-pageheader p { font-size: 13.5px; color: var(--text-mid); }
.bia-actions { display: flex; gap: 8px; }

.btn {
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { background: var(--accent); color: #fff; }
.btn-outline { background: #fff; color: var(--text-dark); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 6px 12px; font-size: 12px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.stat-card h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-mid);
    margin-bottom: 8px;
}
.stat-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}
.stat-change {
    font-size: 11.5px;
    margin-top: 4px;
    color: var(--accent);
    font-weight: 600;
}
.stat-change.down { color: var(--accent-red); }
.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.icon-blue { background: var(--primary-light); color: var(--primary); }
.icon-green { background: #e6f9f0; color: var(--accent); }
.icon-orange { background: #fff3e0; color: var(--accent-orange); }
.icon-purple { background: #f0ebff; color: var(--accent-purple); }
.icon-red { background: #fde6df; color: var(--accent-red); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.card-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}
.card-body { padding: 16px 18px; }
.card-body.no-pad { padding: 0; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}
.data-table th {
    background: var(--bg-tinted);
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-mid);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover { background: var(--bg-tinted); }

.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.badge-success { background: #e6f9f0; color: var(--accent); }
.badge-warning { background: #fff3e0; color: var(--accent-orange); }
.badge-danger { background: #fde6df; color: var(--accent-red); }
.badge-info { background: var(--primary-light); color: var(--primary); }
.badge-purple { background: #f0ebff; color: var(--accent-purple); }
.badge-neutral { background: var(--bg-tinted); color: var(--text-mid); }

/* Receipt preview */
.etims-receipt {
    background: linear-gradient(180deg, #fff8f0, #fff);
    padding: 18px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-dark);
    border: 1px dashed var(--border);
    max-width: 280px;
    margin: 0 auto;
}
.etims-receipt-divider {
    border-top: 1px dashed rgba(0,0,0,0.2);
    margin: 8px 0;
}

/* Driver tablet — separate look */
.driver-tablet-screen {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
}
.driver-side {
    background: var(--accent);
    color: #fff;
    padding: 16px 14px;
}
.driver-side-name { font-size: 13px; font-weight: 800; }
.driver-side-tag { font-size: 10px; opacity: 0.85; margin-top: 2px; }
.driver-side-stats { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.2); }
.driver-stat { margin-bottom: 12px; }
.driver-stat-label { font-size: 9.5px; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.5px; }
.driver-stat-val { font-size: 14px; font-weight: 700; }
.driver-content { padding: 14px; overflow-y: auto; }
.driver-stop {
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--border);
}
.driver-stop.done { border-left-color: var(--accent); opacity: 0.7; }
.driver-stop.next { border-left-color: var(--primary); box-shadow: 0 4px 12px rgba(0,82,204,0.12); }
.driver-stop-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-tinted);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.driver-stop.done .driver-stop-num { background: var(--accent); color: #fff; }
.driver-stop.next .driver-stop-num { background: var(--primary); color: #fff; }
.driver-stop-info { flex: 1; min-width: 0; }
.driver-stop-name { font-size: 12px; font-weight: 700; color: var(--secondary); }
.driver-stop-detail { font-size: 10.5px; color: var(--text-mid); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — comprehensive breakpoints
   - Desktop:        ≥ 1280px (default)
   - iPad landscape: 1024px - 1279px
   - iPad portrait:  768px  - 1023px
   - Mobile large:   480px  - 767px
   - Mobile small:   ≤ 479px
   ═══════════════════════════════════════════════ */

/* ── iPad landscape & smaller ── */
@media (max-width: 1279px) {
    .proto-stage { padding: 28px 20px; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .stat-card { padding: 14px; }
    .stat-val { font-size: 19px; }
}

/* ── iPad portrait & smaller ── */
@media (max-width: 1023px) {
    /* Topbar stacks better on iPad */
    .proto-topbar { padding: 12px 18px; gap: 12px; }
    .proto-title { font-size: 14px; }
    .proto-title small { display: block; margin-left: 0; margin-top: 2px; font-size: 11.5px; }
    .proto-tier-badge { display: none; }

    /* Surfaces row — wrap to 2 columns on iPad */
    .surfaces-row { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; gap: 24px; }
    .surface-card { width: 100%; max-width: 360px; margin: 0 auto; }

    /* Biashara web admin — sidebar collapses to icon rail */
    .bia-app { grid-template-columns: 56px 1fr; height: calc(100vh - 56px); }
    .bia-side-item span:not(.bia-badge) { display: none; }
    .bia-side-item { justify-content: center; padding: 12px 8px; }
    .bia-side-item.active { border-right: 3px solid var(--accent); }
    .bia-side-section { display: none; }
    .bia-side-brand-name, .bia-side-brand-tag { display: none; }
    .bia-side-brand { padding: 16px 10px; justify-content: center; }
    .bia-side-brand .brand-mark { margin: 0; }
    .bia-badge { position: absolute; top: 6px; right: 6px; font-size: 8px; padding: 1px 5px; }
    .bia-side-item { position: relative; }
    .bia-main { padding: 18px 22px; }
    .bia-pageheader h1 { font-size: 22px; }
    .bia-pageheader { flex-direction: column; align-items: stretch; gap: 12px; }

    /* Stats grid → 2 cols on iPad portrait */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    /* Grid 2 / 2-1 stack on iPad portrait */
    .grid-2, .grid-2-1 { grid-template-columns: 1fr; }

    /* Tablet frames scale down */
    .tablet-frame { width: 100%; max-width: 580px; }

    /* Launcher pyramid */
    .launcher-title { font-size: 36px; }
}

/* ── Mobile large (phone landscape, small tablets) ── */
@media (max-width: 767px) {
    .proto-topbar {
        padding: 10px 14px;
        gap: 10px;
        flex-wrap: wrap;
    }
    .proto-back span { display: none; }
    .proto-back { padding: 6px 8px; }
    .proto-brand .brand-name { font-size: 11px; }
    .proto-title { font-size: 13px; flex-basis: 100%; order: 3; padding-top: 4px; border-top: 1px solid var(--border); }
    .proto-title small { font-size: 11px; }

    .proto-stage { padding: 20px 12px; }

    /* Launcher */
    .launcher { padding: 36px 16px 50px; }
    .launcher-title { font-size: 28px; line-height: 1.2; }
    .launcher-sub { font-size: 14px; }
    .launcher-eyebrow { font-size: 10px; }
    .pyramid-tier {
        grid-template-columns: 48px 1fr;
        gap: 14px;
        padding: 16px 18px;
        border-radius: 14px;
    }
    .pyramid-tier .tier-cta { grid-column: 1 / span 2; align-items: flex-start; flex-direction: row; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px dashed var(--border); }
    .tier-num { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
    .tier-info h3 { font-size: 16px; }
    .tier-info p { font-size: 12.5px; }
    .tier-info .tier-surfaces { gap: 4px; }
    .surface-pill { font-size: 10px; padding: 2px 8px; }
    .tier-price { font-size: 14px; }
    .tier-price small { font-size: 10px; }
    .tier-launch { font-size: 11px; }

    .launcher-foot { padding: 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .launcher-foot p { font-size: 13px; }

    /* Surfaces row — single column on phone, but allow horizontal scroll for hero rows */
    .surfaces-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    /* Where the row is intentionally horizontal scroll, opt-in via class */
    .surfaces-row.scroll {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 8px 4px 16px;
        -webkit-overflow-scrolling: touch;
    }
    .surfaces-row.scroll .surface-card {
        flex: 0 0 auto;
        scroll-snap-align: center;
    }
    .surface-card { max-width: 100%; }

    /* Phone frames stay close to natural size */
    .phone-frame { width: 280px; padding: 10px; border-radius: 32px; }
    .phone-screen { height: 540px; border-radius: 24px; padding-top: 32px; }
    .phone-notch { width: 80px; height: 18px; top: 14px; }
    .wa-frame, .ussd-frame { width: 280px; padding: 10px; border-radius: 32px; }
    .wa-screen, .ussd-screen { height: 540px; border-radius: 24px; }
    .ussd-screen { padding: 24px 18px; font-size: 12.5px; }

    /* Tablet frames scale to fit */
    .tablet-frame {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        border-radius: 16px;
    }
    .tablet-screen {
        height: auto;
        min-height: 360px;
        border-radius: 12px;
    }
    /* Tablet's internal 2-col layouts go vertical on phone */
    .tablet-screen > div[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
    }
    .driver-tablet-screen {
        grid-template-columns: 1fr;
        max-height: 600px;
        overflow-y: auto;
    }
    .driver-side {
        padding: 12px 14px;
    }
    .driver-side-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; padding-top: 12px; }
    .driver-stat { margin-bottom: 0; }

    /* Biashara web admin */
    .bia-app { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - 56px); position: relative; }
    .bia-side {
        position: fixed;
        top: 56px;
        left: 0;
        bottom: 0;
        width: 240px;
        z-index: 95;
        transform: translateX(-100%);
        transition: transform 0.25s cubic-bezier(.4,0,.2,1);
        box-shadow: 0 8px 28px rgba(0,0,0,0.3);
    }
    .bia-side.open { transform: translateX(0); }
    .bia-side-item span:not(.bia-badge) { display: inline; }
    .bia-side-item { justify-content: flex-start; padding: 9px 22px; }
    .bia-side-section { display: block; }
    .bia-side-brand-name, .bia-side-brand-tag { display: block; }
    .bia-side-brand { justify-content: flex-start; padding: 20px 22px; }

    .bia-main { padding: 18px 14px; }
    .bia-pageheader h1 { font-size: 20px; }
    .bia-actions { flex-wrap: wrap; }

    /* Mobile menu toggle inside topbar */
    .bia-mobile-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        background: var(--secondary);
        color: #fff;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
    }

    /* Stats grid fully stacked */
    .stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .stat-card { padding: 14px 16px; }

    /* Tables — horizontal scroll inside card */
    .card-body.no-pad { overflow-x: auto; }
    .data-table { font-size: 11.5px; }
    .data-table th, .data-table td { padding: 8px 10px; white-space: nowrap; }

    /* M-Pesa modal full-screen on mobile */
    .proto-modal-overlay { padding: 0; align-items: stretch; }
    .mpesa-modal { width: 100%; max-width: 100%; border-radius: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
    .mpesa-body { flex: 1; }

    .toast { font-size: 12.5px; padding: 10px 18px; }

    /* Driver/Counter "other staff surfaces" cards stack */
    .grid-2 { grid-template-columns: 1fr !important; }
}

/* ── Mobile small ── */
@media (max-width: 479px) {
    .launcher-title { font-size: 24px; }
    .pyramid-tier { padding: 14px 14px; }
    .tier-num { width: 40px; height: 40px; font-size: 16px; }
    .tier-info h3 { font-size: 15px; }

    .phone-frame, .wa-frame, .ussd-frame { width: 100%; max-width: 320px; }

    .pos-products { grid-template-columns: 1fr 1fr !important; }
    .pin-numbers { gap: 10px; }
    .pin-num { font-size: 20px; }

    /* Even tighter spacing */
    .proto-stage { padding: 14px 8px; }
    .surfaces-row { gap: 22px; }
}

/* ── Touch & hover hygiene ── */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices — bigger tap targets */
    .pin-num, .cart-qty-btn, .android-tab, .pos-product, .cart-item, .bia-side-item, .staff-chip, .wa-msg-btn { min-height: 40px; }
    .pyramid-tier:hover { transform: none; box-shadow: none; }
}

/* ─── TOAST ─── */
.proto-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: var(--secondary);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 12px 36px rgba(0,0,0,0.25);
    z-index: 1100;
    opacity: 0;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    max-width: 90vw;
}
.proto-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.proto-toast.success { background: var(--accent); }
.proto-toast.warning { background: var(--accent-orange); }
.proto-toast.danger { background: var(--accent-red); }
.proto-toast i { margin-right: 6px; }

/* ─── M-PESA STK MODAL ─── */
.proto-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 36, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: protoFadeIn 0.2s ease;
}
@keyframes protoFadeIn { from { opacity: 0; } to { opacity: 1; } }
.mpesa-modal {
    width: 380px;
    max-width: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0,0,0,0.3);
    animation: protoSlideUp 0.25s ease;
}
@keyframes protoSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.mpesa-header {
    background: #3aae3f;
    color: #fff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mpesa-logo {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
}
.mpesa-close {
    background: rgba(255,255,255,0.2);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.mpesa-body {
    padding: 24px 20px;
    text-align: center;
}
.mpesa-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e8f8e9;
    color: #3aae3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 14px;
}
.mpesa-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #3aae3f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(58,174,63,0.35);
}
.mpesa-spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid #e8f8e9;
    border-top-color: #3aae3f;
    margin: 0 auto 14px;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mpesa-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}
.mpesa-sub {
    font-size: 13px;
    color: var(--text-mid);
    margin-bottom: 18px;
}
.mpesa-rows {
    background: var(--bg-tinted);
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    text-align: left;
}
.mpesa-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-mid);
    border-bottom: 1px dashed var(--border);
}
.mpesa-row:last-child { border-bottom: none; }
.mpesa-label {
    display: block;
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-mid);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mpesa-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 14px;
    outline: none;
    font-family: inherit;
}
.mpesa-input:focus { border-color: #3aae3f; }
.mpesa-btn {
    width: 100%;
    background: #3aae3f;
    color: #fff;
    padding: 13px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all 0.2s;
}
.mpesa-btn:hover { background: #2e8a32; }
.mpesa-btn-ghost {
    width: 100%;
    background: transparent;
    color: var(--text-mid);
    padding: 10px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
}
.mpesa-stk-card {
    background: #1a1f2e;
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    text-align: left;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 10px;
}
.mpesa-stk-line { padding: 2px 0; }
.mpesa-stk-line strong { color: #87ee9d; }
.mpesa-pin-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid #87ee9d;
    color: #87ee9d;
    border-radius: 4px;
    padding: 6px 10px;
    width: 80px;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 4px;
    text-align: center;
}
.mpesa-stk-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.mpesa-stk-actions button {
    background: transparent;
    color: #87ee9d;
    padding: 5px 12px;
    border: 1px solid #87ee9d;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: inherit;
}
.mpesa-stk-actions button:hover { background: rgba(135,238,157,0.15); }

/* ─── INTERACTIVE CURSORS ─── */
.cart-item, .pos-product, .staff-chip, .android-tab, .bia-side-item,
.pin-num, .wa-msg-btn, .pin-dot, .pos-checkout-btn, .driver-stop {
    cursor: pointer;
}
.pos-product:hover, .cart-item:hover { background: var(--primary-light); }
.pin-num:active { background: rgba(255,255,255,0.2); }
