:root {
  --bg: #F6F6F6; --card: #FFFFFF; --ink: #000000; --muted: #545454; --line: #E5E5E5;
  --accent: #276EF1; --good: #048848; --warn: #8A5A00; --bad: #C11600; --gold: #FFC043;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111111; --card: #1C1C1C; --ink: #F5F5F5; --muted: #A8A8A8; --line: #2E2E2E; --accent: #5B92F5; --good: #3DCB87; --warn: #E8B24A; --bad: #FF6B57; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; }
header.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #000; color: #fff; }
header.top .brand { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; }
header.top .brand svg { width: 22px; height: 22px; }
header.top .sp { flex: 1; }
header.top button { background: #1F1F1F; color: #fff; border: 0; border-radius: 16px; padding: 6px 12px; cursor: pointer; }
.live { width: 10px; height: 10px; border-radius: 5px; display: inline-block; }
.live.on { background: #06C167; } .live.off { background: #888; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; display: grid; gap: 14px; }
.grid2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--card); border-radius: 14px; padding: 16px; border: 1px solid var(--line); min-width: 0; }
.card h2, .card h3 { margin: 0 0 10px; }
.card h2 { font-size: 18px; } .card h3 { font-size: 15px; }
.login { max-width: 420px; margin: 40px auto; display: grid; gap: 10px; }
label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
input, select, textarea { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); width: 100%; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 1 1 140px; }
.btn { font: inherit; font-weight: 700; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; padding: 10px 14px; cursor: pointer; min-height: 44px; }
.btn.primary { background: #000; color: #fff; border-color: #000; }
@media (prefers-color-scheme: dark) { .btn.primary { background: #fff; color: #000; border-color: #fff; } }
.btn.blue { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: var(--bad); border-color: var(--bad); }
.btn.small { min-height: 32px; padding: 4px 10px; font-size: 13px; border-radius: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chip.on { background: #000; color: #fff; border-color: #000; }
.chip:disabled { color: var(--muted); opacity: .6; cursor: not-allowed; }
@media (prefers-color-scheme: dark) { .chip.on { background: #fff; color: #000; border-color: #fff; } }
.muted { color: var(--muted); font-size: 13px; margin: 0; }
.big { font-size: 28px; font-weight: 800; }
.kpis { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi b { display: block; font-size: 22px; margin-top: 4px; }
.badge { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: var(--line); white-space: nowrap; }
.st-completed { background: #E8F8EF; color: #04613A; } .st-cancelled, .st-no_driver { background: #FDECEA; color: #C11600; }
.st-searching, .st-awaiting_payment, .st-preparing { background: #FFF6E5; color: #8A5A00; } .st-accepted, .st-arrived, .st-in_progress, .st-picked_up { background: #E8EFFD; color: #1E54B7; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 6px; }
td { border-top: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.scroll { overflow-x: auto; }
.timeline { display: grid; gap: 4px; font-size: 13px; }
.timeline div { display: flex; justify-content: space-between; gap: 8px; border-left: 2px solid var(--line); padding-left: 8px; }
.code { font-size: 26px; font-weight: 800; letter-spacing: .15em; }
.highlight { background: #000; color: #fff; border-radius: 12px; padding: 12px 14px; }
@media (prefers-color-scheme: dark) { .highlight { background: #2A2A2A; } }
.prompt { position: fixed; inset: auto 16px 16px 16px; max-width: 420px; margin: 0 auto; background: #000; color: #fff; border-radius: 16px; padding: 16px; z-index: 20; display: grid; gap: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
#toasts { position: fixed; right: 16px; top: 64px; display: grid; gap: 8px; z-index: 30; max-width: 360px; }
.toast { padding: 10px 14px; border-radius: 10px; background: #000; color: #fff; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.toast.err { background: #C11600; }
.seg { display: inline-flex; background: var(--line); border-radius: 16px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { font: inherit; font-size: 12px; font-weight: 800; border: 0; border-radius: 13px; padding: 5px 10px; background: transparent; color: var(--ink); cursor: pointer; }
.seg button.on { background: #000; color: #fff; }
@media (prefers-color-scheme: dark) { .seg button.on { background: #fff; color: #000; } }
.list { display: grid; gap: 8px; }
.item { display: flex; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; flex-wrap: wrap; }
.offer { border: 3px solid var(--accent); }
a.card { text-decoration: none; color: inherit; display: block; }

/* ===== Xiddig app-shell (macmiil + darawal) — qaabka design-ka ===== */
body.shell { background: #DADADA; }
body.shell header.top { display: none; }
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #fff; color: #000; position: relative; display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(0,0,0,.12); }
.app .map { position: relative; height: 44vh; min-height: 280px; background: #ECECEC; overflow: hidden; }
#vehicles > g { transition: transform 2.9s linear; }
.mapbar { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 8px; align-items: center; z-index: 2; }
.mapbar .pill { background: #fff; border-radius: 22px; padding: 8px 14px; font-weight: 800; font-size: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.15); display: flex; gap: 6px; align-items: center; }
.mapbar .pill svg { width: 18px; height: 18px; }
.mapbar .sp { flex: 1; }
.mapbar button.pill { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 13px; }
.mapnote { position: absolute; left: 12px; bottom: 26px; background: #000; color: #fff; border-radius: 10px; padding: 6px 10px; font-size: 12px; font-weight: 700; z-index: 2; }
.sheet { flex: 1; background: #fff; border-radius: 18px 18px 0 0; margin-top: -16px; position: relative; z-index: 3; padding: 10px 16px 90px; display: grid; gap: 14px; align-content: start; }
.sheet::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: #D6D6D6; justify-self: center; }
.sheet h2 { font-size: 22px; margin: 0; letter-spacing: -.01em; }
.sheet h3 { font-size: 15px; margin: 0; }
.sheet .muted { color: #5E5E5E; }
.where { display: flex; align-items: center; gap: 10px; background: #F3F3F3; border-radius: 14px; padding: 4px 6px 4px 14px; }
.where .dot { width: 10px; height: 10px; border-radius: 50%; background: #000; flex: 0 0 10px; }
.where .sq { width: 10px; height: 10px; background: #000; flex: 0 0 10px; }
.where select, .where input { border: 0; background: transparent; font-weight: 700; font-size: 16px; padding: 10px 4px; color: #000; }
.where small { color: #5E5E5E; font-weight: 600; white-space: nowrap; padding-right: 8px; }
.route { display: grid; gap: 6px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { font: inherit; border: 0; background: #F3F3F3; border-radius: 14px; padding: 10px 4px 8px; display: grid; justify-items: center; gap: 4px; cursor: pointer; color: #000; font-size: 12px; font-weight: 700; position: relative; min-height: 76px; }
.tile svg { width: 36px; height: 30px; }
.tile.on { background: #000; color: #fff; }
.tile.on svg [data-ink] { fill: #fff; }
.tile.soon { opacity: .55; }
.tile .tag { position: absolute; top: 4px; right: 4px; background: #FFC043; color: #000; font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 6px; }
.tile:disabled { opacity: .35; cursor: not-allowed; }
.near { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.near .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #06C167; box-shadow: 0 0 0 4px rgba(6,193,103,.18); }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; border: 2px solid #EEE; border-radius: 14px; padding: 10px 12px; cursor: pointer; background: #fff; font: inherit; text-align: left; color: #000; }
.opt.on { border-color: #000; }
.opt svg { width: 54px; height: 34px; flex: 0 0 54px; }
.opt .t { flex: 1; } .opt .t b { display: block; font-size: 16px; } .opt .t span { font-size: 12px; color: #5E5E5E; }
.opt .p { font-weight: 800; font-size: 17px; }
.cta { position: sticky; bottom: 12px; z-index: 4; }
.cta .btn { width: 100%; min-height: 54px; font-size: 17px; border-radius: 14px; background: #000; color: #fff; border-color: #000; }
.cta .btn:disabled { background: #BDBDBD; border-color: #BDBDBD; }
.shell .btn.primary { background: #000; color: #fff; border-color: #000; }
.shell input, .shell select { background: #F3F3F3; border-color: transparent; color: #000; }
.shell label { color: #5E5E5E; }
.status-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.status-head h2 { font-size: 20px; }
.eta { background: #000; color: #fff; border-radius: 10px; padding: 6px 10px; font-weight: 800; font-size: 14px; text-align: center; line-height: 1.1; }
.eta small { display: block; font-size: 10px; font-weight: 600; opacity: .7; }
.searching-bar { height: 4px; border-radius: 2px; background: #EEE; overflow: hidden; position: relative; }
.searching-bar::after { content: ""; position: absolute; inset: 0 60% 0 0; background: #276EF1; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { left: -40%; right: 100%; } 100% { left: 100%; right: -40%; } }
.vcard { display: flex; gap: 12px; align-items: center; border-top: 1px solid #EEE; border-bottom: 1px solid #EEE; padding: 12px 0; }
.vcard .car { width: 92px; height: 54px; flex: 0 0 92px; }
.vcard .who { flex: 1; min-width: 0; }
.plate { display: inline-block; font-weight: 900; font-size: 22px; letter-spacing: .08em; border: 2px solid #000; border-radius: 8px; padding: 2px 10px; background: #fff; color: #000; }
.vcard .who p { margin: 4px 0 0; font-size: 13px; color: #5E5E5E; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #E2E2E2; display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: 0 0 44px; }
.drv { display: flex; gap: 10px; align-items: center; }
.drv .n { flex: 1; } .drv .n b { display: block; } .drv .n span { font-size: 13px; color: #5E5E5E; }
.circle { width: 44px; height: 44px; border-radius: 50%; background: #F3F3F3; display: grid; place-items: center; text-decoration: none; color: #000; border: 0; cursor: pointer; }
.circle svg { width: 20px; height: 20px; }
.pinbox { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #F3F3F3; border-radius: 14px; padding: 10px 14px; }
.pinbox .lbl { font-size: 13px; font-weight: 700; color: #5E5E5E; }
.pinbox .digits { display: flex; gap: 5px; }
.pinbox .digits span { width: 32px; height: 40px; border-radius: 8px; background: #000; color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 900; }
.trip { display: grid; gap: 8px; font-size: 14px; }
.trip .leg { display: flex; gap: 10px; align-items: center; }
.trip .leg i { width: 8px; height: 8px; background: #000; flex: 0 0 8px; border-radius: 50%; }
.trip .leg i.sq { border-radius: 0; }
.trip .leg b { flex: 1; }
.steps { display: grid; gap: 0; font-size: 13px; }
.steps div { display: flex; gap: 10px; align-items: center; padding: 4px 0; color: #9A9A9A; }
.steps div::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #CFCFCF; flex: 0 0 10px; }
.steps div.done { color: #000; font-weight: 700; } .steps div.done::before { background: #06C167; border-color: #06C167; }
.steps div.now { color: #000; font-weight: 800; } .steps div.now::before { background: #276EF1; border-color: #276EF1; box-shadow: 0 0 0 4px rgba(39,110,241,.2); }
.stars { display: flex; gap: 6px; justify-content: center; }
.stars button { font-size: 30px; background: none; border: 0; cursor: pointer; color: #D0D0D0; padding: 0 2px; }
.stars button:hover, .stars button:hover ~ button { color: #D0D0D0; }
.stars:hover button { color: #FFC043; }
.mcards { display: grid; gap: 12px; }
.mcard { font: inherit; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; color: #000; display: grid; gap: 6px; }
.mcard .ban { height: 96px; border-radius: 14px; display: flex; align-items: flex-end; padding: 10px; font-weight: 900; font-size: 22px; color: #fff; position: relative; overflow: hidden; }
.mcard .ban .badge2 { position: absolute; top: 10px; left: 10px; background: #fff; color: #000; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.mcard .meta { display: flex; justify-content: space-between; font-size: 13px; color: #5E5E5E; }
.mcard .meta b { color: #000; font-size: 15px; }
.mcard:disabled { opacity: .5; cursor: not-allowed; }
.formtabs { display: flex; gap: 6px; overflow-x: auto; }
.formtabs button { font: inherit; font-size: 13px; font-weight: 800; border: 0; border-radius: 18px; padding: 8px 14px; background: #F3F3F3; cursor: pointer; white-space: nowrap; color: #000; }
.formtabs button.on { background: #000; color: #fff; }
.prod { display: grid; gap: 8px; border-bottom: 1px solid #EEE; padding-bottom: 12px; }
.prod.off { opacity: .45; }
.prod .h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.prod .h b { font-size: 15px; } .prod .h .pr { font-weight: 800; white-space: nowrap; }
.prod .sub { font-size: 12px; color: #5E5E5E; }
.radios { display: flex; flex-wrap: wrap; gap: 6px; }
.radios button { font: inherit; font-size: 12px; font-weight: 700; border: 1.5px solid #E2E2E2; border-radius: 16px; padding: 5px 10px; background: #fff; cursor: pointer; color: #000; }
.radios button.on { border-color: #000; background: #000; color: #fff; }
.stepper { display: inline-flex; align-items: center; gap: 0; background: #F3F3F3; border-radius: 18px; }
.stepper button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; font-weight: 800; cursor: pointer; color: #000; }
.stepper span { min-width: 22px; text-align: center; font-weight: 800; }
.unavail { font-size: 12px; font-weight: 800; color: #C11600; }
.hist { display: grid; gap: 0; }
.hist .r { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #F0F0F0; font-size: 14px; }
.hist .r .i { width: 38px; height: 38px; border-radius: 10px; background: #F3F3F3; display: grid; place-items: center; flex: 0 0 38px; }
.hist .r .i svg { width: 26px; height: 22px; }
.hist .r .t { flex: 1; min-width: 0; } .hist .r .t span { display: block; font-size: 12px; color: #5E5E5E; }
details.more summary { cursor: pointer; font-weight: 800; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
details.more summary::after { content: "›"; transform: rotate(90deg); }
.shell .prompt { background: #fff; color: #000; border-radius: 18px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.shell .prompt .op { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.shell .prompt .op span { background: #048848; color: #fff; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.shell .prompt .pinfake { display: flex; gap: 8px; justify-content: center; }
.shell .prompt .pinfake i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #000; }
.loginwrap { padding: 28px 20px; display: grid; gap: 14px; }
.loginwrap .hero { background: #000; color: #fff; border-radius: 18px; padding: 26px 20px; display: grid; gap: 6px; }
.loginwrap .hero b { font-size: 30px; display: flex; gap: 10px; align-items: center; }
.loginwrap .hero b svg { width: 32px; height: 32px; }
.shell .login { margin: 0; max-width: none; border: 0; padding: 0; }

/* Darawal: madow */
body.shell.dark { background: #0A0A0A; }
.dark .app { background: #000; color: #fff; }
.dark .app .map { background: #262626; }
.dark .sheet { background: #111; color: #fff; }
.dark .sheet::before { background: #3A3A3A; }
.dark .sheet .muted, .dark .vcard .who p { color: #A6A6A6; }
.dark .mapbar .pill { background: #111; color: #fff; }
.dark input, .dark select { background: #1F1F1F; color: #fff; }
.dark .btn { background: #1F1F1F; color: #fff; border-color: #2E2E2E; }
.dark .btn.primary, .dark .cta .btn { background: #fff; color: #000; border-color: #fff; }
.dark .btn.blue { background: #276EF1; border-color: #276EF1; color: #fff; }
.dark .btn.green { background: #06C167; border-color: #06C167; color: #000; }
.dark .btn.danger { background: #1F1F1F; color: #FF6B57; border-color: #FF6B57; }
.golive { width: 100%; border: 0; border-radius: 40px; min-height: 62px; font: inherit; font-size: 19px; font-weight: 900; cursor: pointer; background: #276EF1; color: #fff; }
.golive.on { background: #1F1F1F; color: #FF6B57; }
.dkpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dkpi { background: #1A1A1A; border-radius: 14px; padding: 12px; font-size: 12px; color: #A6A6A6; font-weight: 700; }
.dkpi b { display: block; font-size: 22px; color: #fff; margin-top: 2px; }
.dkpi.bad b { color: #FF6B57; }
.debtbar { height: 6px; border-radius: 3px; background: #2A2A2A; overflow: hidden; margin-top: 6px; }
.debtbar i { display: block; height: 100%; background: #FFC043; }
.offercard { background: #fff; color: #000; border-radius: 18px; padding: 16px; display: grid; gap: 10px; box-shadow: 0 0 0 4px #276EF1; }
.offercard .top { display: flex; justify-content: space-between; align-items: center; }
.offercard .ring { width: 54px; height: 54px; }
.offercard .price { font-size: 34px; font-weight: 900; }
.offercard .btn { min-height: 52px; font-size: 16px; }
.offercard .btn.blue { background: #276EF1; color: #fff; border-color: #276EF1; }
.offercard .btn.ghost { background: #F3F3F3; color: #000; border-color: #F3F3F3; }
.dark .trip .leg i { background: #fff; }
.dark .pinbox { background: #1A1A1A; }
.dark .pinbox input { font-size: 22px; font-weight: 900; letter-spacing: .3em; text-align: center; background: #000; }
.dark table td { border-color: #2A2A2A; }
.dark .hist .r { border-color: #222; }
.dark .hist .r .i { background: #1F1F1F; }
.dark details.more summary { color: #fff; }
@media (min-width: 700px) { .app { margin: 20px auto; min-height: calc(100vh - 40px); border-radius: 26px; overflow: hidden; } }

/* Admin + merchant: sidebar iyo qaybaha */
.formhead { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; flex-wrap: wrap; }
.formhead h3 { margin: 0; flex: 0 0 auto; } .formhead .muted { flex: 1; }
@media (min-width: 900px) {
  body[data-app="admin"] main { max-width: 1320px; grid-template-columns: 210px 1fr; align-items: start; }
  body[data-app="admin"] #tabs { position: sticky; top: 70px; flex-direction: column; flex-wrap: nowrap; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; gap: 2px; }
  body[data-app="admin"] #tabs .chip { border: 0; border-radius: 10px; text-align: left; padding: 10px 12px; font-size: 14px; }
  body[data-app="admin"] #view { display: grid; gap: 14px; min-width: 0; }
}
body[data-app="admin"] #view, body[data-app="merchant"] main { display: grid; gap: 14px; }
.kpi { border-radius: 14px; } .kpi b { font-size: 26px; letter-spacing: -.01em; }

.joogso { position: absolute; left: 12px; right: 12px; top: 64px; z-index: 3; background: #C11600; color: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 700; display: grid; gap: 2px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.joogso b { font-size: 18px; letter-spacing: .08em; } .joogso small { font-weight: 600; opacity: .85; }
.dark textarea { background: #1F1F1F; color: #fff; border-color: transparent; }
.dark .radios button { background: #1F1F1F; color: #fff; border-color: #2E2E2E; }
.sos { background: #C11600 !important; color: #fff !important; border-color: #C11600 !important; }
.disc { background: #06C167; color: #000; font-size: 11px; font-weight: 900; padding: 2px 6px; border-radius: 6px; }
s.was { color: #8A8A8A; font-weight: 600; margin-right: 4px; }

.meter { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; background: #000; color: #fff; border-radius: 14px; padding: 12px 14px; }
.meter span { display: grid; gap: 2px; } .meter small { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #9A9A9A; }
.meter b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; } .meter span:first-child b { font-size: 30px; color: #FFC043; }
.meter.dark { background: #1A1A1A; box-shadow: inset 0 0 0 2px #FFC043; }

.meter .waitlive b { color: #FF9F1C; } .meter .waitlive small { color: #FF9F1C; }
.btn.waiton { background: #FF9F1C !important; color: #000 !important; border-color: #FF9F1C !important; }
.bill { background: #fff; color: #000; border-radius: 14px; border: 1.5px dashed #CFCFCF; padding: 14px 16px; display: grid; gap: 8px; font-size: 14px; }
.bill .bhead { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #5E5E5E; border-bottom: 1px solid #EEE; padding-bottom: 8px; flex-wrap: wrap; }
.bill .brow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bill .brow span { display: grid; } .bill .brow small { color: #8A8A8A; font-size: 11px; }
.bill .btotal { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid #000; padding-top: 10px; margin-top: 2px; font-weight: 800; }
.bill .btotal b { font-size: 30px; font-weight: 900; }
.bill .bnote { margin: 0; text-align: center; font-size: 12px; font-weight: 700; color: #048848; }
.billwrap { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 40; display: grid; place-items: center; padding: 16px; }
.billcard { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 16px; display: grid; gap: 12px; }
.billcard .btn { min-height: 56px; font-size: 17px; background: #06C167; color: #000; border-color: #06C167; }

.langbtn { font: inherit; font-size: 12px; font-weight: 900; letter-spacing: .06em; border: 0; border-radius: 16px; padding: 7px 11px; cursor: pointer; background: #FFC043; color: #000; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.plate { white-space: nowrap; }

.linkbtn { font: inherit; font-size: 13px; font-weight: 700; background: none; border: 0; color: var(--accent); cursor: pointer; justify-self: start; padding: 2px 0; }
.orline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.orline::before, .orline::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acct .kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.acct .kp div { background: #F3F3F3; border-radius: 12px; padding: 10px; font-size: 12px; color: #5E5E5E; font-weight: 700; }
.acct .kp b { display: block; font-size: 20px; color: #000; }
.pwbanner { background: #FFF6E5; color: #8A5A00; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700; display: grid; gap: 8px; }
.hist .r { cursor: pointer; }
.odetail { background: #FAFAFA; border-radius: 12px; padding: 10px; display: grid; gap: 8px; margin-bottom: 8px; font-size: 13px; }

.fleetcard { border-radius: 16px; padding: 14px; display: grid; gap: 10px; background: #1A1A1A; box-shadow: inset 0 0 0 2px #C11600; margin-bottom: 12px; }
.fleetcard.on { box-shadow: inset 0 0 0 2px #06C167; }
.fleetcard b { font-size: 16px; }

/* Menu-ga hoose ee app-ka macmiilka */
.tabbar { position: sticky; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid #EEE; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar button { font: inherit; background: none; border: 0; display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: #8A8A8A; cursor: pointer; padding: 4px 0; position: relative; }
.tabbar button svg { width: 24px; height: 24px; }
.tabbar button.on { color: #000; }
.tabbar .dot { position: absolute; top: 2px; right: calc(50% - 18px); width: 9px; height: 9px; border-radius: 50%; background: #06C167; border: 2px solid #fff; }
.app.nomap .sheet { margin-top: 0; border-radius: 0; padding-top: 64px; }
.app.nomap .sheet::before { display: none; }
.app.nomap .mapbar { position: absolute; z-index: 7; }
.app.nomap .mapbar .pill { box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.profile { display: flex; gap: 12px; align-items: center; }
.profile .avatar { width: 56px; height: 56px; flex: 0 0 56px; font-size: 20px; background: #000; color: #fff; }
.sheet { padding-bottom: 24px; }

.tiles.big { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tiles.big .tile { min-height: 112px; font-size: 15px; border-radius: 18px; padding: 16px 8px 12px; gap: 8px; }
.tiles.big .tile svg { width: 64px; height: 44px; }
.tiles.big .tile.on { background: #F3F3F3; color: #000; }
.tiles.big .tile.on svg [data-ink] { fill: currentColor; }
.hello { font-size: 26px; letter-spacing: -.02em; }
.svchead { display: flex; align-items: center; gap: 10px; }
.svchead h2 { margin: 0; }
.svchead .circle { font-size: 24px; font-weight: 800; flex: 0 0 44px; }
@media (min-width: 420px) { .tiles.big { grid-template-columns: repeat(3, 1fr); } }

/* Call center: foom + khariidad */
.ccgrid { display: grid; gap: 14px; }
@media (min-width: 1100px) { .ccgrid { grid-template-columns: 1fr 1fr; align-items: start; } }
.ccinfo { background: #F6F6F6; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; margin: 6px 0; }
.ccinfo.ok { background: #EAF7EF; color: #0B5132; }
.item.picked { box-shadow: inset 0 0 0 2px #276EF1; border-radius: 10px; padding-left: 8px; }

/* Khariidadda dhabta ah (Leaflet) */
.leaflet-container { font: inherit; background: #E8E8E8; }
.vehm { background: none; border: 0; }
.leaflet-marker-icon.vehm { transition: transform 2.8s linear; }
.nozoomtr .leaflet-marker-icon.vehm, .leaflet-zoom-anim .leaflet-marker-icon.vehm { transition: none !important; }
.veh { position: relative; width: 30px; height: 30px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.veh.busy { opacity: .5; }
.veh .vlabel { position: absolute; left: 24px; top: -12px; white-space: nowrap; background: #000; color: #fff; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 8px; }
.veh .vlabel.hot { background: #276EF1; } .veh .vlabel.busy { background: #8A8A8A; }
.mkm { background: none; border: 0; }
.mk { position: relative; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.mk span { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); white-space: nowrap; font-size: 10px; font-weight: 800; background: rgba(255,255,255,.9); color: #000; padding: 0 4px; border-radius: 4px; }
.dest { width: 14px; height: 14px; background: #000; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.basemapbtn { display: flex; background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,.3); overflow: hidden; }
.basemapbtn button { font: inherit; font-size: 12px; font-weight: 800; border: 0; padding: 7px 9px; background: #fff; color: #000; cursor: pointer; }
.basemapbtn button.on { background: #000; color: #fff; }
.disttip { font-size: 12px; }
.leaflet-control-attribution { font-size: 9px; }
.dark .leaflet-container { background: #1E1E1E; }

tr.selrow td { background: #EEF4FF; }

.recenterbtn { display: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: #276EF1; font-size: 22px; font-weight: 900; cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,.3); line-height: 1; }
.recenterbtn.show { display: block; }
.leaflet-container { touch-action: none; }
.leaflet-bar a { width: 34px !important; height: 34px !important; line-height: 34px !important; font-size: 18px !important; }

.roadlbl { background: rgba(255,255,255,.92); border: 1px solid #F5A623; color: #6B4500; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 8px; box-shadow: none; }
.placelbl { background: rgba(255,255,255,.9); border: 0; color: #3D1F66; font-size: 11px; font-weight: 800; padding: 1px 5px; border-radius: 6px; box-shadow: none; }
.roadlbl::before, .placelbl::before { display: none; }
.zoomfar .roadlbl, .zoomfar .placelbl { display: none; }

.xaafadlbl { background: none; border: 0; box-shadow: none; color: #3D1F66; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.xaafadlbl::before { display: none; }
.zoomfar13 .xaafadlbl { display: none; }
.poim { background: none; border: 0; }
.poi { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.poi span { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: #fff; border: 2px solid var(--pc); display: grid; place-items: center; font-size: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.poi b { font-size: 11px; font-weight: 800; color: var(--pc); background: rgba(255,255,255,.9); padding: 0 4px; border-radius: 5px; }
.zoomfar15 .poi b { display: none; }
.zoomfar13 .poim { display: none; }
.dark .xaafadlbl { color: #E5DBFF; text-shadow: 0 0 3px #000, 0 0 3px #000; }

.pfbtn { font: inherit; font-size: 12px; font-weight: 800; border: 0; border-radius: 10px; padding: 7px 10px; background: #fff; color: #000; cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.pfpanel { position: absolute; right: 10px; top: 62px; max-height: calc(100% - 210px); min-height: 120px; z-index: 1000; background: #fff; color: #000; border-radius: 12px; padding: 8px 10px; box-shadow: 0 6px 24px rgba(0,0,0,.3); display: grid; gap: 4px; align-content: start; min-width: 210px; max-width: 70%; overflow: auto; font-size: 13px; font-weight: 700; }
.pfpanel .pfh { font-size: 13px; margin-bottom: 2px; }
.pfpanel label { display: flex; align-items: center; gap: 6px; color: #000; cursor: pointer; }
.pfpanel input { width: auto; }
.pfpanel small { margin-left: auto; color: #8A8A8A; font-weight: 600; }
.pfrow { display: flex; gap: 6px; margin-top: 4px; }
.pfrow button { font: inherit; font-size: 12px; font-weight: 800; border: 1px solid #DDD; background: #F6F6F6; border-radius: 8px; padding: 4px 8px; cursor: pointer; flex: 1; }
.darktiles .leaflet-tile-pane { filter: invert(.92) hue-rotate(180deg) brightness(.95) contrast(.9); }

.arealbl { background: rgba(255,255,255,.85); border: 0; box-shadow: none; color: #7A2E00; font-size: 12px; font-weight: 900; padding: 1px 6px; border-radius: 6px; }
.arealbl::before { display: none; }
.zoomfar13 .arealbl { display: none; }
.drawing, .drawing .leaflet-interactive { cursor: crosshair !important; }
.drawing { touch-action: none; }

.seg { display: inline-flex; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); flex: 0 0 auto; }
.seg button { font: inherit; font-size: 12px; font-weight: 800; border: 0; padding: 6px 10px; background: var(--card); color: var(--ink); cursor: pointer; }
.seg button.on { background: #000; color: #fff; }
/* v0.7.5 — magacyada degmooyinka sida Google */
.distlbl { pointer-events: none; }
.distlbl span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: color-mix(in srgb, var(--dc) 55%, #222); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; }
.distlbl.dk span { color: #fff; text-shadow: 0 0 4px #000, 0 0 4px #000; }
.zoomfar15:not(.zoomfar13) .distlbl span { font-size: 11px; }
/* Wax ka beddelka geesaha xuduudda */
.vhandle i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid; box-sizing: border-box; box-shadow: 0 1px 4px rgba(0,0,0,.35); cursor: grab; }
.mhandle i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; font: 900 12px/1 system-ui; opacity: .75; cursor: copy; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.mhandle i:hover { opacity: 1; }
.distlbl.nodraw span { opacity: .7; font-size: 11px; }
/* Diiwaanka hawlaha */
.stat { background: var(--bg2, #f6f6f6); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.actrow { display: grid; grid-template-columns: minmax(120px, 34%) 1fr 40px; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; cursor: pointer; }
.actrow:hover, .actrow.on { background: #276EF114; }
.actwho { display: flex; flex-direction: column; min-width: 0; } .actwho .muted { font-size: 12px; }
.actbar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: #eee; } .actbar i { display: block; height: 100%; }
.actn { text-align: right; }
.actlegend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: #555; }
.actlegend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.actcols { display: flex; align-items: flex-end; gap: 3px; height: 170px; padding-top: 18px; }
.actcols.hrs { height: 110px; }
.actcol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; position: relative; }
.actstack { width: 100%; max-width: 34px; display: flex; flex-direction: column-reverse; border-radius: 4px 4px 0 0; overflow: hidden; min-height: 0; }
.actstack i { display: block; min-height: 2px; }
.actcol small { font-size: 10px; color: #888; height: 14px; margin-top: 3px; }
.actv { font-size: 10px; color: #555; }
.actgrid { display: grid; } .actgrid > .card { margin: 0 0 14px; }

/* ===== Wada-hadalka shaqaalaha (chat) ===== */
.chat { display: grid; grid-template-columns: 290px 1fr; padding: 0 !important; height: calc(100vh - 120px); min-height: 520px; overflow: hidden; }
.csid { border-right: 1px solid #eee; overflow-y: auto; padding: 12px 8px; background: #fafafa; }
.csearch input { width: 100%; margin-bottom: 8px; }
.csec { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #888; padding: 12px 8px 4px; }
.cplus { border: 0; background: none; font-size: 18px; cursor: pointer; color: #555; padding: 0 4px; }
.crow { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 7px 8px; border-radius: 10px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.crow:hover { background: #0000000a; } .crow.on { background: #276EF11f; }
.crow.un .cname b { font-weight: 900; }
.cname { display: flex; flex-direction: column; min-width: 0; flex: 1; } .cname b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cname small { color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.chash { width: 30px; text-align: center; font-weight: 800; color: #888; font-size: 18px; } .chash.big { font-size: 24px; width: 38px; }
.cbadge { background: #E11900; color: #fff; border-radius: 10px; font-size: 11px; font-weight: 800; padding: 1px 7px; min-width: 18px; text-align: center; }
.ccall { animation: cpulse 1.2s infinite; }
@keyframes cpulse { 50% { opacity: .35; } }
.cav { position: relative; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; flex: 0 0 auto; }
.cav i { position: absolute; right: -1px; bottom: -1px; width: 28%; height: 28%; border-radius: 50%; background: #bbb; border: 2px solid #fff; }
.cav i.on { background: #05A357; }
.csmall { font-size: 12px; padding: 4px 8px; }
.cmain { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
.cmain.drop::after { content: '⬇ Halkan ku dhig faylka'; position: absolute; inset: 0; display: grid; place-items: center; background: #276EF1cc; color: #fff; font-size: 22px; font-weight: 800; border-radius: 0 14px 14px 0; }
.cempty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 30px; }
.chead { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #eee; }
.chtitle { display: flex; flex-direction: column; flex: 1; min-width: 0; } .chtitle small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cic { border: 0; background: #f2f2f2; border-radius: 10px; width: 38px; height: 38px; font-size: 17px; cursor: pointer; flex: 0 0 auto; }
.cic:hover { background: #e6e6e6; } .cic.rec { background: #E11900; color: #fff; width: auto; padding: 0 10px; font-size: 13px; font-weight: 700; animation: cpulse 1.2s infinite; }
.cback { display: none; }
.cjoin { background: #05A357 !important; color: #fff !important; border-color: #05A357 !important; }
.cmsgs { flex: 1; overflow-y: auto; padding: 10px 16px; }
.cday { text-align: center; margin: 14px 0 8px; position: relative; } .cday::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #eee; }
.cday span { position: relative; background: #fff; padding: 0 12px; font-size: 12px; font-weight: 700; color: #888; }
.csys { text-align: center; font-size: 12px; color: #888; margin: 6px 0; }
.cmsg { display: flex; gap: 10px; padding: 6px 8px; border-radius: 10px; position: relative; margin-top: 4px; }
.cmsg.grp { margin-top: 0; padding-top: 1px; }
.cmsg:hover { background: #00000006; } .cmsg:hover .cacts, .cmsg:hover .ctime2 { visibility: visible; }
.ctime2 { width: 36px; font-size: 10px; color: #aaa; visibility: hidden; padding-top: 4px; flex: 0 0 36px; text-align: center; }
.cbody { min-width: 0; flex: 1; }
.cwho { display: flex; gap: 8px; align-items: baseline; } .cwho small { font-size: 11px; }
.ctxt { white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
.cacts { position: absolute; right: 8px; top: -10px; visibility: hidden; background: #fff; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 2px 6px #0001; }
.cacts button { border: 0; background: none; cursor: pointer; padding: 4px 7px; }
.cquote { border-left: 3px solid #276EF1; background: #276EF10d; padding: 4px 8px; border-radius: 4px; font-size: 13px; margin: 2px 0 4px; color: #444; }
.cimg { max-width: min(360px, 100%); max-height: 300px; border-radius: 10px; margin-top: 4px; display: block; border: 1px solid #eee; }
.caudio { margin-top: 4px; max-width: 100%; height: 40px; }
.cfile { display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid #e5e5e5; border-radius: 12px; margin-top: 4px; text-decoration: none; color: inherit; max-width: 100%; }
.cfile span { font-size: 28px; } .cfile div { display: flex; flex-direction: column; min-width: 0; } .cfile b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfile:hover { background: #f7f7f7; }
.ccallmsg { display: inline-flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #f4f4f4; margin-top: 4px; } .ccallmsg > span { font-size: 24px; }
.ccallmsg div { display: flex; flex-direction: column; } .ccallmsg.ongoing { background: #05A35714; border: 1px solid #05A35744; }
.cseen { text-align: right; font-size: 11px; color: #888; padding: 2px 10px; }
.ctyping { min-height: 18px; font-size: 12px; color: #888; padding: 0 18px; font-style: italic; }
.creply { display: flex; justify-content: space-between; align-items: center; margin: 0 14px; padding: 6px 10px; background: #276EF10d; border-left: 3px solid #276EF1; border-radius: 6px; font-size: 13px; }
.creply .cic { width: 28px; height: 28px; font-size: 13px; }
.ccomp { display: flex; gap: 8px; align-items: flex-end; padding: 10px 14px 14px; }
.ccomp textarea { flex: 1; resize: none; min-height: 40px; max-height: 160px; border-radius: 12px; padding: 10px 12px; line-height: 1.35; font: inherit; }
.cmodal { position: fixed; inset: 0; background: #0006; display: grid; place-items: center; z-index: 3000; padding: 16px; }
.cmbox { width: min(460px, 100%); max-height: 86vh; overflow-y: auto; margin: 0 !important; }
.cplist { max-height: 46vh; overflow-y: auto; margin-top: 8px; } .cplist .crow input { width: auto; flex: 0 0 auto; margin: 0; }
/* wicitaanka */
.ccallui { position: fixed; inset: 18px; z-index: 2500; background: #111; color: #fff; border-radius: 18px; display: flex; flex-direction: column; box-shadow: 0 20px 60px #0008; overflow: hidden; }
.ccallui.min { inset: auto 18px 18px auto; width: 320px; height: 240px; }
.cchead { display: flex; gap: 12px; align-items: center; padding: 10px 14px; } .cchead b { flex: 1; } .cchead .muted { color: #aaa; }
.cchead .cic { background: #ffffff1f; color: #fff; width: 32px; height: 32px; }
.vcgrid { flex: 1; display: grid; gap: 8px; padding: 0 10px; min-height: 0; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
.vcgrid.n2 { grid-template-columns: 1fr 1fr; } .vcgrid.n3, .vcgrid.n4 { grid-template-columns: 1fr 1fr; } .vcgrid.n5, .vcgrid.n6 { grid-template-columns: repeat(3, 1fr); } .vcgrid.n7, .vcgrid.n8, .vcgrid.n9 { grid-template-columns: repeat(3, 1fr); }
.ccallui.min .vcgrid { grid-template-columns: 1fr 1fr; }
.cctile { position: relative; background: #222; border-radius: 14px; overflow: hidden; min-height: 0; display: grid; place-items: center; }
.cctile video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cctile.mirror video { transform: scaleX(-1); }
.cctile .ccav { display: none; } .cctile.novid video { visibility: hidden; } .cctile.novid .ccav { display: block; }
.ccname { position: absolute; left: 10px; bottom: 8px; background: #0009; padding: 3px 9px; border-radius: 8px; font-size: 13px; } .ccname small { color: #ffcc66; }
.ccbar { display: flex; justify-content: center; gap: 14px; padding: 14px; }
.ccallui.min .ccbar { padding: 8px; gap: 8px; } .ccallui.min .ccbar .cbtn { width: 40px; height: 40px; font-size: 16px; } .ccallui.min .ccname { font-size: 11px; }
.cbtn { width: 54px; height: 54px; border-radius: 50%; border: 0; background: #ffffff26; color: #fff; font-size: 22px; cursor: pointer; }
.cbtn:hover { background: #ffffff40; } .cbtn.off { background: #fff; color: #111; } .cbtn.on { background: #276EF1; } .cbtn.red { background: #E11900; } .cbtn.green { background: #05A357; }
.cbtn:disabled { opacity: .35; cursor: default; }
.cring { position: fixed; right: 20px; top: 70px; z-index: 2600; }
.cringbox { background: #111; color: #fff; border-radius: 18px; padding: 20px 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 16px 50px #0007; min-width: 260px; animation: cring 1s infinite alternate; }
.cringbox span { color: #bbb; font-size: 14px; } .cringbox .row { gap: 22px; margin-top: 8px; justify-content: center; }
@keyframes cring { to { box-shadow: 0 16px 50px #05A35799; } }
@media (max-width: 760px) {
  .chat { grid-template-columns: 1fr; height: calc(100vh - 150px); }
  .chat .cmain { display: none; } .chat.incon .csid { display: none; } .chat.incon .cmain { display: flex; }
  .cback { display: block; } .ccallui { inset: 0; border-radius: 0; } .vcgrid.n2 { grid-template-columns: 1fr; }
  .cring { left: 12px; right: 12px; } .cringbox { min-width: 0; }
}

/* ===== Odoo-style: 💬 bar-ka sare + daaqadaha wada-hadalka ===== */
.ctray { position: relative; }
.ctray > button { position: relative; background: transparent !important; font-size: 18px; padding: 4px 8px !important; }
.ctray > button .cbadge { position: absolute; top: -4px; right: -4px; font-size: 10px; padding: 0 5px; }
.ctraydrop { position: absolute; right: -60px; top: 40px; width: 380px; max-width: calc(100vw - 20px); color: #111; padding: 0 !important; z-index: 2400; overflow: hidden; box-shadow: 0 12px 40px #0003; margin: 0 !important; }
.ctrayhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #eee; }
.ctrayhead .btn { background: #fff; color: #111; }
.ctraylist { max-height: 420px; overflow-y: auto; padding: 4px; }
.ctraylist .crow { padding: 9px 10px; } .ctraylist .crow.un { background: #276EF10d; }
.ctraymeta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ctrayall { width: 100%; border: 0; border-top: 1px solid #eee; background: #fafafa; padding: 11px; font-weight: 700; cursor: pointer; color: #276EF1; }
#cwins { position: fixed; right: 16px; bottom: 0; z-index: 2300; display: flex; flex-direction: row; align-items: flex-end; gap: 12px; pointer-events: none; }
body.indiscuss #cwins { display: none; }
.cwin { pointer-events: auto; width: 360px; height: 480px; background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 6px 30px #0003; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ddd; border-bottom: 0; position: relative; }
.cwin.fold { height: auto; } .cwin.fold > :not(.cwhead) { display: none !important; }
.cwin.drop::after { content: '⬇ Halkan ku dhig'; position: absolute; inset: 44px 0 0; display: grid; place-items: center; background: #276EF1cc; color: #fff; font-weight: 800; font-size: 18px; }
.cwhead { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #eee; cursor: pointer; background: #fff; }
.cwname { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.cwbtns { display: flex; gap: 4px; align-items: center; }
.cwbtns button { border: 0; background: none; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; color: #555; display: grid; place-items: center; }
.cwbtns button:hover { background: #f0f0f0; }
.cwbtns .cwcall { background: #05A357; color: #fff; font-size: 13px; } .cwbtns .cwcall:hover { background: #04914d; }
.cwbody { flex: 1; overflow-y: auto; padding: 10px 10px 4px; background: #fff; }
.cwintro { display: flex; flex-direction: column; gap: 3px; padding: 18px 4px 8px; } .cwintro b { font-size: 18px; font-weight: 500; } .cwintro .cav { margin-bottom: 4px; }
.cwmsg { display: flex; gap: 8px; align-items: flex-end; margin-top: 3px; } .cwmsg.head { margin-top: 10px; }
.cwmsg.me { justify-content: flex-end; }
.cwsp { width: 28px; flex: 0 0 28px; }
.cwcol { display: flex; flex-direction: column; max-width: 78%; min-width: 0; } .cwmsg.me .cwcol { align-items: flex-end; }
.cwmeta { font-size: 11px; color: #888; margin: 0 4px 2px; }
.cwbub { background: #E6F2F3; border: 1px solid #d3e9eb; padding: 7px 11px; border-radius: 4px 14px 14px 14px; line-height: 1.4; overflow-wrap: anywhere; font-size: 14px; }
.cwmsg.me .cwbub { background: #E8EEFC; border-color: #d6e0fa; border-radius: 14px 4px 14px 14px; }
.cwbub.img { padding: 3px; background: none; border: 0; }
.cwimg { max-width: 100%; max-height: 220px; border-radius: 10px; display: block; }
.cwbub .cfile { margin: 0; background: #fff; padding: 7px 10px; } .cwbub .caudio { width: 230px; margin: 0; }
.cwtyping { font-size: 11px; color: #888; font-style: italic; padding: 0 12px; min-height: 14px; }
.cwcomp { display: flex; align-items: flex-end; gap: 4px; margin: 4px 8px 8px; border: 1px solid #ccc; border-radius: 10px; padding: 3px 4px; }
.cwcomp:focus-within { border-color: #276EF1; box-shadow: 0 0 0 2px #276EF122; }
.cwcomp textarea { flex: 1; border: 0 !important; outline: 0; resize: none; font: inherit; font-size: 14px; padding: 7px 4px; min-height: 34px; max-height: 110px; box-shadow: none !important; background: transparent; }
.cwic { border: 0; background: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 17px; color: #555; flex: 0 0 auto; }
.cwic:hover { background: #f0f0f0; } .cwic.send { color: #276EF1; }
.cwemoji { position: absolute; bottom: 52px; right: 8px; left: 8px; background: #fff; border: 1px solid #ddd; border-radius: 12px; box-shadow: 0 6px 20px #0002; padding: 6px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; z-index: 2; }
.cwemoji[hidden] { display: none; }
.cwemoji button { border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 8px; padding: 3px 0; } .cwemoji button:hover { background: #f2f2f2; }
@media (max-width: 760px) {
  #cwins { right: 0; left: 0; gap: 0; } .cwin { width: 100%; height: 75vh; border-radius: 12px 12px 0 0; } .cwin:not(:last-child) { display: none; }
  .ctraydrop { position: fixed; left: 10px; right: 10px; top: 56px; width: auto; }
}
header.top .ctraydrop button { background: none; color: #111; border-radius: 10px; padding: 9px 10px; }
header.top .ctraydrop .crow:hover { background: #0000000a; } header.top .ctraydrop .crow.un { background: #276EF10d; }
header.top .ctraydrop .seg button { padding: 5px 12px; border-radius: 999px; } header.top .ctraydrop .seg button.on { background: #111; color: #fff; }
header.top .ctraydrop .btn { border: 1px solid #ddd; padding: 5px 10px; } header.top .ctraydrop .ctrayall { border-radius: 0; background: #fafafa; color: #276EF1; padding: 11px; }
header.top .ctraydrop .cname small { color: #777; }

/* ===== Icons (v0.8.3) ===== */
.xi { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
#tabs .chip { display: inline-flex; align-items: center; gap: 8px; }
.navic { width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); flex: 0 0 auto; transition: transform .15s; }
.navic .xi { width: 16px; height: 16px; }
.chip.on .navic { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 78%, #fff), var(--c)); box-shadow: 0 3px 8px color-mix(in srgb, var(--c) 40%, transparent); }
.chip:hover .navic { transform: scale(1.08); }
#tabs .chip .cbadge { margin-left: auto; }
@media (min-width: 900px) {
  body[data-app="admin"] #tabs .chip { padding: 7px 10px; gap: 11px; width: 100%; }
  body[data-app="admin"] #tabs .chip.on { background: #F1F3F6; color: #000; }
  body[data-app="admin"] #tabs .chip:not(.on):hover { background: #F7F8FA; }
  body[data-app="admin"] .navic { width: 32px; height: 32px; border-radius: 10px; } body[data-app="admin"] .navic .xi { width: 18px; height: 18px; }
}
.navl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* chat icons */
.cic, .cwic, .cbtn, .cplus { display: inline-grid; place-items: center; }
.cic .xi, .cwic .xi { color: #3f4650; } .cic:hover .xi { color: #000; }
.ccallbtn { background: #E9F7EF !important; } .ccallbtn .xi { color: #05A357 !important; } .ccallbtn:hover { background: #d6f1e1 !important; }
.cplus { color: #777; width: 24px; height: 24px; border-radius: 6px; } .cplus:hover { background: #0000000d; color: #111; }
.chash { display: inline-grid; place-items: center; color: #8a8f98; height: 30px; }
.chash.big { height: 38px; width: 38px; background: #F1F3F6; border-radius: 50%; color: #555; }
.csearch { position: relative; } .csearch .xi { position: absolute; left: 11px; top: 11px; color: #999; } .csearch input { padding-left: 34px; }
.cemptyic { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #34C77B, #05A357); box-shadow: 0 10px 24px #05A35744; margin-bottom: 6px; }
.csend { display: inline-flex !important; align-items: center; gap: 6px; height: 40px; padding: 0 16px !important; border-radius: 12px !important; }
.ccall { display: inline-grid; color: #05A357; }
.ccmic { width: 40px; height: 40px; border-radius: 50%; display: grid !important; place-items: center; background: #276EF1; color: #fff; font-size: 0 !important; }
.ccallmsg.ongoing .ccmic { background: #05A357; }
.cacts button { display: inline-grid; place-items: center; color: #555; } .cacts button:hover { color: #000; }
.cseen { display: flex; justify-content: flex-end; align-items: center; gap: 4px; } .cseen.seen { color: #276EF1; }
.fbadge { position: relative; display: inline-grid; place-items: center; width: 40px; height: 44px; color: var(--fc); flex: 0 0 auto; }
.fbadge .xi { width: 40px; height: 44px; stroke-width: 1.4; fill: color-mix(in srgb, var(--fc) 10%, #fff); }
.fbadge b { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); background: var(--fc); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .04em; padding: 1px 4px; border-radius: 3px; line-height: 1.3; }
.cfile { align-items: center; }
.ctray > button { display: inline-grid !important; place-items: center; width: 36px; height: 36px; border-radius: 50% !important; padding: 0 !important; }
.ctray > button:hover { background: #ffffff1f !important; }
.ctray > button .xi { color: #fff; }
.ctrayhead .btn { display: inline-flex; align-items: center; gap: 4px; }
.cwbtns .cwcall .xi { color: #fff; } .cwbtns button .xi { color: #555; } .cwbtns .cwcall { width: 30px; height: 30px; }
.cwbtns .cwcall.v { background: linear-gradient(135deg, #2ECC71, #05A357); } .cwbtns .cwcall.a { background: linear-gradient(135deg, #2ECC71, #05A357); }
.cwic .xi { color: #555; } .cwic.send .xi { color: #276EF1; } .cwic:hover .xi { color: #111; }
.cbtn .xi { color: currentColor; }
.cbtn { transition: transform .12s, background .12s; } .cbtn:hover { transform: scale(1.06); }
.cchead b { display: inline-flex; align-items: center; gap: 8px; } .cchead .cic .xi { color: #fff; }
.cringbox span { display: inline-flex; align-items: center; gap: 6px; }
.cbtn.red { background: linear-gradient(135deg, #FF5A4E, #E11900); box-shadow: 0 6px 16px #E1190055; }
.cbtn.green { background: linear-gradient(135deg, #34C77B, #05A357); box-shadow: 0 6px 16px #05A35755; }
@media (min-width: 900px) { body[data-app="admin"] main { grid-template-columns: 250px 1fr; } }
.cback { display: none !important; }
@media (max-width: 760px) { .cback { display: inline-grid !important; } }
.cringbox .row { flex-wrap: nowrap; gap: 26px; } .cringbox .row > .cbtn { flex: 0 0 58px; width: 58px; height: 58px; }
.ccallmsg { display: inline-flex; width: auto; max-width: 100%; }
.ccallmsg > div { flex: 0 1 auto; min-width: 130px; }
.ccallmsg .btn { flex: 0 0 auto; min-height: 34px; padding: 6px 14px; }
.ccallmsg .ccmic { flex: 0 0 40px; }
.cringbox .cav { color: #fff !important; font-size: 24px !important; }
.sysok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.sysok.ok { background: #E9F7EF; color: #05A357; } .sysok.bad { background: #FDECEC; color: #E11900; }
.stat small { font-size: 12px; } .stat .muted .xi { margin-right: 2px; }
.sysgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px; }
.sysrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #F7F8FA; }
.sysrow .xi-check { color: #05A357; } .sysrow .xi-alert { color: #E8590C; }
/* PWA: rakibid + internet la'aan */
.xinstall { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 2000; max-width: 460px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: #fff; color: #111; border-radius: 16px; padding: 12px 14px; box-shadow: 0 12px 40px #0003; animation: xup .3s ease-out; }
.xinstall img { width: 44px; height: 44px; border-radius: 12px; } .xinstall div { flex: 1; display: flex; flex-direction: column; } .xinstall small { color: #666; font-size: 12px; }
.xinstall .btn { min-height: 38px; } .xinsx { border: 0; background: none; font-size: 16px; cursor: pointer; color: #888; }
.xnet { position: fixed; top: 0; left: 0; right: 0; z-index: 4000; text-align: center; padding: 8px; font-size: 13px; font-weight: 700; background: #E11900; color: #fff; animation: xdown .25s ease-out; }
.xnet.ok { background: #05A357; }
@keyframes xup { from { transform: translateY(30px); opacity: 0; } } @keyframes xdown { from { transform: translateY(-100%); } }
/* Ctrl+K */
.kbtn { display: inline-flex !important; align-items: center; gap: 8px; background: #1F1F1F !important; color: #bbb !important; border-radius: 10px !important; padding: 6px 10px !important; font-size: 13px; min-width: 190px; }
.kbtn span { flex: 1; text-align: left; } .kbtn:hover { color: #fff !important; }
kbd { font: 700 11px/1 system-ui, sans-serif; background: #ffffff1a; border: 1px solid #ffffff2a; border-radius: 5px; padding: 3px 5px; color: inherit; }
.kpal { position: fixed; inset: 0; z-index: 3500; background: #0007; backdrop-filter: blur(2px); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; animation: kfade .12s ease-out; }
@keyframes kfade { from { opacity: 0; } }
.kbox { width: min(640px, 100%); background: #fff; border-radius: 16px; box-shadow: 0 24px 70px #0005; overflow: hidden; display: flex; flex-direction: column; max-height: 72vh; animation: kpop .14s ease-out; }
@keyframes kpop { from { transform: translateY(-8px) scale(.98); } }
.kin { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #eee; color: #888; }
.kin input { flex: 1; border: 0 !important; outline: 0; font-size: 17px; padding: 4px 0; background: transparent; box-shadow: none !important; }
.kin kbd, .kfoot kbd { background: #F1F3F6; border-color: #e3e6ea; color: #555; }
.klist { overflow-y: auto; padding: 6px; }
.khead { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #999; text-transform: uppercase; padding: 10px 10px 4px; }
.kitem { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; padding: 9px 10px; border-radius: 10px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.kitem.on { background: #276EF114; } .kitem.on .kgo { opacity: 1; }
.kic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); flex: 0 0 auto; }
.kt { display: flex; flex-direction: column; flex: 1; min-width: 0; } .kt small { color: #888; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kgo { opacity: 0; color: #276EF1; font-weight: 800; }
.kfoot { display: flex; gap: 16px; padding: 9px 16px; border-top: 1px solid #eee; font-size: 12px; color: #888; background: #fafafa; }
.kfoot kbd { margin-right: 3px; }
@media (max-width: 760px) { .kbtn { min-width: 0; } .kbtn span, .kbtn kbd { display: none; } .kfoot { display: none; } }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

/* ===================== v0.9.1 · App-ka macmiilka: qaab cusub ===================== */
body[data-app="customer"] #logout { display: none; }
.whoav { width: 40px; height: 40px; border-radius: 50% !important; display: inline-grid !important; place-items: center; padding: 0 !important; background: linear-gradient(135deg, #2b2b2b, #000) !important; color: #FFC043 !important; font-weight: 900; font-size: 14px; letter-spacing: .02em; }
.sec { font-size: 15px; font-weight: 800; letter-spacing: -.01em; margin: 6px 2px -4px; display: flex; align-items: baseline; gap: 6px; }
.sec small { font-weight: 600; font-size: 12px; }
/* hero */
.hero2 { position: relative; overflow: hidden; border-radius: 22px; padding: 18px 18px 16px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #3a2c00 0%, #111 45%, #000 100%); display: flex; gap: 12px; align-items: flex-end; justify-content: space-between; box-shadow: 0 10px 30px #0002; }
.hero2::after { content: ''; position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5 L14.9 8.6 L21.5 9.3 L16.6 13.8 L18 20.3 L12 17 L6 20.3 L7.4 13.8 L2.5 9.3 L9.1 8.6 Z' fill='%23FFC043' opacity='.22'/%3E%3C/svg%3E") no-repeat center / contain; transform: rotate(12deg); }
.hero2 .h2t { position: relative; z-index: 1; min-width: 0; }
.hero2 small { color: #FFC043; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.hero2 .hello { color: #fff; margin: 4px 0 2px; font-size: 24px; }
.hero2 p { margin: 0; color: #c9c9c9; font-size: 14px; }
.heroloc { position: relative; z-index: 1; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ffffff2e; background: #ffffff14; color: #fff; border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; backdrop-filter: blur(4px); }
.heroloc:hover { background: #ffffff24; }
/* tiles */
.tiles.big { gap: 12px; }
.tiles.big .tile { background: color-mix(in srgb, var(--tc) 9%, #fff); border: 1px solid color-mix(in srgb, var(--tc) 16%, #fff); min-height: 128px; justify-items: start; text-align: left; padding: 14px; gap: 2px; border-radius: 20px; transition: transform .12s ease, box-shadow .15s ease; overflow: hidden; }
.tiles.big .tile:not(:disabled):hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--tc) 22%, transparent); transform: translateY(-2px); }
.tiles.big .tile:not(:disabled):active { transform: scale(.97); }
.tiles.big .tile .tico { width: 58px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 3px 10px color-mix(in srgb, var(--tc) 18%, transparent); margin-bottom: 8px; }
.tiles.big .tile .tico svg { width: 44px; height: 32px; }
.tiles.big .tile b { font-size: 16px; font-weight: 800; color: #111; }
.tiles.big .tile small { font-size: 12px; color: color-mix(in srgb, var(--tc) 70%, #333); font-weight: 700; }
.tiles.big .tile.soon { opacity: .6; } .tiles.big .tile .tag { top: 10px; right: 10px; font-size: 10px; padding: 2px 7px; }
/* mar kale dalbo */
.recent { display: grid; gap: 8px; }
.recent button { display: flex; align-items: center; gap: 12px; border: 1px solid #eee; background: #fff; border-radius: 16px; padding: 10px 12px; font: inherit; cursor: pointer; text-align: left; color: inherit; }
.recent button:hover { background: #fafafa; } .recent .xi-back { transform: rotate(180deg); color: #aaa; }
.recent .ri { width: 48px; height: 36px; background: #F4F5F7; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; } .recent .ri svg { width: 36px; height: 26px; }
.recent .rt { flex: 1; display: flex; flex-direction: column; min-width: 0; } .recent .rt small { color: #888; font-size: 12px; }
/* adeegga furan */
.svchead { gap: 12px; } .svchead .circle { display: inline-grid; place-items: center; }
.svcic { width: 52px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--tc) 12%, #fff); display: grid; place-items: center; flex: 0 0 auto; } .svcic svg { width: 40px; height: 30px; }
.svct { display: flex; flex-direction: column; min-width: 0; } .svct small { color: #777; font-size: 12.5px; line-height: 1.3; }
.near { background: #F1FBF5; border: 1px solid #d5f2e1; color: #05663a; border-radius: 12px; padding: 9px 12px; font-weight: 600; line-height: 1.35; }
.near:has(.live-dot[style]) { background: #F6F6F6; border-color: #ececec; color: #555; }
.near:empty { display: none; }
.gpsmini { border: 0; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #276EF1; display: grid; place-items: center; cursor: pointer; flex: 0 0 34px; margin-left: 6px; box-shadow: 0 1px 4px #0001; }
.fcard { background: #fff; border: 1px solid #eee; border-radius: 18px; padding: 14px; display: grid; gap: 10px; box-shadow: 0 1px 2px #0000000a; }
.fch { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; } .fch .xi { color: #276EF1; }
.dsteps { display: flex; gap: 6px; } .dsteps span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 800; padding: 6px 4px; border-radius: 999px; background: #F2F3F5; color: #999; transition: all .2s; }
.dsteps span.on { background: #E8590C; color: #fff; }
.chipsel { display: flex; flex-wrap: wrap; gap: 6px; }
.chipsel button { font: inherit; font-size: 13px; font-weight: 700; border: 1px solid #e5e5e5; background: #fff; border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.chipsel button.on { background: #111; color: #fff; border-color: #111; }
.infonote { display: flex; gap: 10px; align-items: flex-start; background: #F3F7FF; border: 1px solid #dfe8fd; border-radius: 14px; padding: 11px 12px; font-size: 13px; color: #334; line-height: 1.45; } .infonote .xi { color: #276EF1; margin-top: 1px; }
/* dalabyada */
.panehead { display: flex; justify-content: space-between; align-items: baseline; } .panehead h2 { margin: 0; }
.hist .r { border: 1px solid #eee; border-radius: 16px; padding: 12px; background: #fff; gap: 12px; }
.hist .r .i { background: #F4F5F7; border-radius: 12px; width: 52px; height: 42px; display: grid; place-items: center; }
.hist .r .rr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 40px 20px; }
.empty > .xi { width: 70px; height: 70px; padding: 18px; border-radius: 22px; background: #F2F4F7; color: #888; margin-bottom: 8px; box-sizing: border-box; }
.empty .btn { margin-top: 12px; min-width: 180px; }
/* caawimaad */
.callcard { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #0aa35a, #05813f); border-radius: 20px; padding: 16px; box-shadow: 0 10px 24px #05A35733; }
.callcard .cci { width: 48px; height: 48px; border-radius: 50%; background: #ffffff26; display: grid; place-items: center; flex: 0 0 auto; }
.callcard .cct { flex: 1; display: flex; flex-direction: column; } .callcard .cct b { font-size: 16px; } .callcard small { color: #d9ffe9; }
.callcard .ccgo { transform: rotate(180deg); opacity: .8; }
.sosnote { display: flex; gap: 10px; background: #FFF4F2; border: 1px solid #ffd9d3; color: #8a1c0b; border-radius: 14px; padding: 12px; font-size: 13.5px; line-height: 1.45; } .sosnote .xi { color: #E11900; flex: 0 0 auto; }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid #eee; border-radius: 14px; background: #fff; padding: 0 14px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 13px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; font-size: 18px; color: #999; } .faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 13px; color: #555; font-size: 14px; line-height: 1.5; }
/* akoonka */
.pcard { background: radial-gradient(120% 140% at 100% 0%, #3a2c00 0%, #111 50%, #000 100%); color: #fff; border-radius: 22px; padding: 18px; }
.pcard .avatar { background: #FFC043 !important; color: #000 !important; }
.pcard .muted { color: #bbb !important; } .pcard h2 { color: #fff; }
.kp3 > div { display: flex !important; flex-direction: column; gap: 2px; background: color-mix(in srgb, var(--kc) 8%, #fff) !important; border: 1px solid color-mix(in srgb, var(--kc) 15%, #fff); border-radius: 16px !important; padding: 12px !important; font-size: 12px; color: #666; }
.kp3 .xi { color: var(--kc); margin-bottom: 4px; } .kp3 b { color: #111; font-size: 19px !important; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #F2F3F5; padding: 4px; border-radius: 14px; }
.seg2 button { font: inherit; font-weight: 800; border: 0; background: none; border-radius: 11px; padding: 11px; cursor: pointer; color: #666; }
.seg2 button.on { background: #fff; color: #111; box-shadow: 0 1px 4px #0002; }
details.more.fcard summary { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.acct .btn.danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
/* menu-ga hoose */
.tabbar button.on svg { stroke-width: 2.4; } .tabbar button.on { color: #000; }
.tabbar button.on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: #FFC043; }
.tabbar button { position: relative; }
.pwbanner2 { background: #fff; border: 1px solid #f1e3bf; border-radius: 18px; padding: 12px; display: grid; gap: 10px; box-shadow: 0 4px 14px #F5A40014; }
.pwh { display: flex; gap: 10px; align-items: center; } .pwh > div { flex: 1; display: flex; flex-direction: column; } .pwh small { color: #777; font-size: 12.5px; }
.pwi { width: 38px; height: 38px; border-radius: 12px; background: #FFF4D6; color: #B07A00; display: grid; place-items: center; flex: 0 0 auto; }
.pwx { border: 0; background: none; color: #999; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; } .pwx:hover { background: #f2f2f2; }
.pwbanner2 .row input { min-width: 0; }
.hero2 .hello { font-size: 22px; line-height: 1.15; }
/* iibiyayaasha + menu-ga */
.mcard { background: #fff; border: 1px solid #eee; border-radius: 20px; overflow: hidden; gap: 0; box-shadow: 0 2px 8px #0000000a; transition: transform .12s, box-shadow .15s; }
.mcard:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 10px 24px #00000014; }
.mcard .ban { height: 104px; border-radius: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--bc) 70%, #fff), var(--bc)); align-items: center; justify-content: center; }
.mcard .ban::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 10%, #ffffff33, transparent 60%); }
.mcard .ban .mlogo { width: 62px; height: 62px; font-size: 22px; }
.mcard .ban .badge2 { border-radius: 999px; padding: 4px 10px; } .mcard .ban .badge2.open { color: #05A357; }
.mcard > .muted { padding: 8px 14px 0; }
.mcard .meta { padding: 10px 14px 12px; align-items: center; } .mcard .meta span { display: inline-flex; align-items: center; gap: 4px; }
.mlogo { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--bc, #111); display: grid; place-items: center; font-weight: 900; font-size: 18px; box-shadow: 0 4px 14px #0002; flex: 0 0 auto; position: relative; z-index: 1; }
.mhero { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--bc) 75%, #fff), var(--bc)); box-shadow: 0 8px 22px color-mix(in srgb, var(--bc) 30%, transparent); }
.mhero .circle { background: #ffffff2b !important; color: #fff; display: grid; place-items: center; flex: 0 0 44px; border: 0; }
.mhero .mht { min-width: 0; } .mhero h2 { margin: 0; color: #fff; font-size: 20px; } .mhero small { display: inline-flex; align-items: center; gap: 4px; opacity: .9; }
.promo { background: #F1FBF5; color: #05663a; border: 1px dashed #9bdcb7; border-radius: 12px; padding: 9px 12px; font-weight: 700; font-size: 13.5px; }
.prod { background: #fff; border: 1px solid #eee !important; border-radius: 16px; padding: 12px !important; transition: border-color .15s, box-shadow .15s; }
.prod.in { border-color: #111 !important; box-shadow: 0 4px 14px #0000000f; }
.prod .h { align-items: center; gap: 12px; }
.pthumb { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, #FFF7E6, #FDEBD3); display: grid; place-items: center; font-size: 28px; flex: 0 0 auto; }
.pinfo { flex: 1; min-width: 0; }
.prod .stepper { background: #F3F4F6; }
.prod.in .stepper { background: #111; color: #fff; } .prod.in .stepper button { color: #fff; }
.receipt { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 12px 14px; display: grid; gap: 6px; color: #444; }
.receipt div { display: flex; justify-content: space-between; } .receipt .tot { border-top: 1px dashed #ddd; padding-top: 8px; font-size: 16px; color: #111; }
.receipt small { display: flex; align-items: center; gap: 5px; color: #05803f; font-size: 12px; }
/* ===== App-ka darawalka (taxi · bajaaj · mooto delivery) ===== */
.dark .dmenu { background: #161616; border: 1px solid #262626; border-radius: 18px; padding: 0 14px; }
.dark .dmenu summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 13px 0; cursor: pointer; }
.dark .dmenu summary::-webkit-details-marker { display: none; }
.dark .dmenu summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid #777; border-bottom: 2px solid #777; transform: rotate(45deg); margin-left: auto; transition: transform .2s; flex: 0 0 auto; }
.dark .dmenu[open] summary::after { transform: rotate(-135deg); }
.dark .dmenu[open] { padding-bottom: 14px; }
.dmi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--mc); background: color-mix(in srgb, var(--mc) 16%, #111); flex: 0 0 auto; }
.dmt { display: flex; flex-direction: column; min-width: 0; } .dmt b { font-size: 15.5px; } .dmt small { color: #8a8a8a; font-size: 12.5px; font-weight: 500; }
.dark .dkpi { position: relative; background: linear-gradient(160deg, color-mix(in srgb, var(--kc) 12%, #161616), #141414) !important; border: 1px solid #262626; }
.dki { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--kc) 20%, #111); color: var(--kc); margin-bottom: 8px; }
.golive { display: flex !important; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important; box-shadow: 0 10px 26px #2563eb55; position: relative; }
.golive:not(.on)::before { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid #3b82f655; animation: glpulse 2s infinite; }
@keyframes glpulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.04, 1.25); opacity: 0; } }
.golive.on { background: linear-gradient(135deg, #2a2a2a, #1a1a1a) !important; box-shadow: none; border: 1px solid #333 !important; }
.glic { display: grid; place-items: center; }
.ondot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #666; margin-right: 9px; vertical-align: 3px; }
.ondot.on { background: #22c55e; box-shadow: 0 0 0 5px #22c55e33; animation: cpulse 1.6s infinite; }
/* ===== v0.9.2 · Sawirrada alaabta + sos/cabitaan ===== */
.pthumb.img { padding: 0; overflow: hidden; background: #eee; } .pthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pthumb, .pinfo { cursor: pointer; } .pthumb { width: 64px; height: 64px; }
.pdesc { font-size: 12.5px; color: #777; line-height: 1.35; margin: 2px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pchosen { font-size: 12.5px; color: #05803f; font-weight: 700; padding: 6px 2px 0; }
.linkbtn { border: 0; background: none; color: #276EF1; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 0 2px; display: inline-flex; align-items: center; gap: 3px; }
.isheet { position: fixed; inset: 0; z-index: 3000; background: #0008; display: flex; align-items: flex-end; justify-content: center; animation: kfade .15s; }
.isbox { position: relative; width: min(520px, 100%); max-height: 92vh; background: #fff; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; overflow: hidden; animation: xup .22s ease-out; }
@media (min-width: 700px) { .isheet { align-items: center; } .isbox { border-radius: 24px; } }
.isx { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px #0003; display: grid; place-items: center; cursor: pointer; }
.isimg { height: 230px; background: linear-gradient(135deg, #FFF7E6, #FDEBD3); display: grid; place-items: center; flex: 0 0 auto; } .isimg img { width: 100%; height: 100%; object-fit: cover; } .isimg span { font-size: 90px; }
.isbody { padding: 16px 18px; overflow-y: auto; display: grid; gap: 12px; } .isbody h2 { margin: 0; } .isbody p { margin: -6px 0 0; line-height: 1.5; }
.isprice { font-size: 16px; }
.isg { border-top: 8px solid #F4F5F7; margin: 0 -18px; padding: 12px 18px 4px; }
.isgh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; } .isgh small { color: #888; font-weight: 700; font-size: 12px; background: #F2F3F5; padding: 3px 9px; border-radius: 999px; } .isgh small.req { background: #FFF1E6; color: #C2410C; }
.ischo { display: flex !important; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f1f1f1; cursor: pointer; font-weight: 600; flex-direction: row !important; }
.ischo input { width: 20px; height: 20px; accent-color: #111; flex: 0 0 auto; margin: 0; } .ischo span { flex: 1; } .ischo small { color: #666; font-weight: 700; }
.ischo.dis { opacity: .4; cursor: not-allowed; }
.isnote input { margin-top: 4px; }
.isfoot { display: flex; gap: 12px; padding: 12px 18px 18px; border-top: 1px solid #eee; align-items: center; } .isfoot .btn { flex: 1; } .isfoot .stepper { background: #F3F4F6; }
/* iibiyaha */
.addgrid { display: grid; grid-template-columns: 170px 1fr; gap: 12px; } @media (max-width: 600px) { .addgrid { grid-template-columns: 1fr; } }
.photopick { border: 2px dashed #d5d5d5; background: #fafafa; border-radius: 16px; min-height: 150px; display: grid; place-items: center; align-content: center; gap: 4px; cursor: pointer; font: inherit; color: #666; overflow: hidden; position: relative; padding: 0; }
.photopick span { font-weight: 800; color: #111; } .photopick small { font-size: 11.5px; color: #888; }
.photopick.has { border-style: solid; border-color: #eee; } .photopick.has img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photopick.has small { position: absolute; bottom: 8px; left: 8px; right: 8px; background: #000a; color: #fff; border-radius: 8px; padding: 4px; z-index: 1; }
.photopick:hover { border-color: #111; }
.ithumb { width: 56px; height: 56px; border-radius: 12px; border: 2px dashed #ccc; background: #fafafa; display: grid; place-items: center; cursor: pointer; overflow: hidden; padding: 0; color: #888; }
.ithumb.has { border: 0; } .ithumb img { width: 100%; height: 100%; object-fit: cover; } .ithumb:hover { border-color: #111; color: #111; }
.adprev { display: flex; flex-wrap: wrap; gap: 6px; } .adprev:empty { display: none; }
.adg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; background: #F6F7F9; border-radius: 10px; padding: 5px 8px; font-size: 12.5px; }
.adg small { color: #888; } .adg i { font-style: normal; background: #fff; border: 1px solid #e6e6e6; border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.adprev.sm { margin-top: 4px; } .itab td { vertical-align: middle; }
.ordad { color: #05803f; font-weight: 700; } .ordnote { color: #B45309; font-weight: 700; font-style: italic; }
.isimg { position: relative; overflow: hidden; } .isimg img { position: absolute; inset: 0; }
.pthumb.img { padding: 0; overflow: hidden; background: #f2f2f2; width: 72px; height: 72px; border-radius: 16px; }
.pthumb.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdesc { color: #777; font-size: 12.5px; line-height: 1.35; margin: 2px 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adgrp { margin-top: 10px; display: grid; gap: 6px; } .adgrp small { color: #666; font-size: 12px; } .adgrp small b { color: #111; }
.adgrp .radios button.on { background: #05A357; border-color: #05A357; color: #fff; }
.mcard .ban.cover { background-size: cover !important; background-position: center !important; }
.mlogo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.mhero.cover { background: linear-gradient(180deg, #0004, #000a), var(--cv) center / cover !important; }
.shopimg { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 12px; position: relative; }
.coverpick { grid-column: 1 / -1; height: 150px; border: 2px dashed #d5d5d5; border-radius: 18px; background: #fafafa center / cover no-repeat; display: grid; place-items: center; align-content: center; gap: 4px; cursor: pointer; font: inherit; color: #666; }
.coverpick span { font-weight: 800; color: #111; } .coverpick small { font-size: 12px; color: #888; } .coverpick.has { border: 0; }
.logopick { position: absolute; left: 18px; top: 100px; width: 84px; height: 84px; border-radius: 22px; border: 4px solid #fff; background: #f3f3f3; box-shadow: 0 6px 18px #0002; display: grid; place-items: center; align-content: center; cursor: pointer; font: inherit; color: #666; overflow: hidden; padding: 0; z-index: 1; }
.logopick img { width: 100%; height: 100%; object-fit: cover; } .logopick small { font-size: 11px; font-weight: 700; }
.shopf { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr auto; gap: 10px; align-items: end; padding-top: 40px; }
@media (max-width: 700px) { .shopf { grid-template-columns: 1fr; } }
.golive.locked { background: #222 !important; color: #999 !important; box-shadow: none !important; } .golive.locked::before { display: none; }
/* v0.9.4 · saxitaanno: gelitaanka (padding) + foomamka taleefanka (ma ka baxaan shaashadda) */
.shell .login { padding: 20px 18px; border-radius: 20px; }
.dark .shell .login { background: #161616; color: #f2f2f2; border: 1px solid #262626; }
.dark .shell .login .muted { color: #9a9a9a; }
.dark .shell .login .chip { background: #222; color: #eee; border-color: #333; }
.row > label { min-width: 0; }
.row > label input, .row > label select { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 560px) { .row { flex-wrap: wrap; } .row > label { flex: 1 1 140px; } }
body[data-app="driver"] .login { background: #161616 !important; color: #f2f2f2; border: 1px solid #262626 !important; }
body[data-app="driver"] .login h2:empty { display: none; }
body[data-app="driver"] .login .muted { color: #9a9a9a; }
body[data-app="driver"] .login .chip { background: #202020; color: #eee; border-color: #333; }
body[data-app="driver"] .login .btn.primary { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; border: 0; }
body[data-app="driver"] .login .btn:not(.primary) { background: #222; color: #fff; border-color: #333; }
body[data-app="driver"] .login .linkbtn { color: #8ab4ff; }
body[data-app="driver"] .login .orline span { background: #161616; color: #888; }

/* ---------- ERP (admin) ---------- */
.erp { display: grid; gap: 14px; }
.esub { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.esub button { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font: inherit; font-size: 13px; font-weight: 700; padding: 8px 13px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.esub button .xi { color: var(--c); }
.esub button.on { background: var(--c); border-color: var(--c); color: #fff; }
.esub button.on .xi { color: #fff; }
#ebody { display: grid; gap: 14px; }
.ehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ehead h2 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.ehead p { margin: 4px 0 0; }
.ebtns { gap: 6px; flex-wrap: wrap; } .ebtns .btn { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; width: auto; }
.ekpis { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ekpi { display: flex; gap: 11px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; position: relative; overflow: hidden; }
.ekpi::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--c); }
.ekic { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.ekpi > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ekpi .muted { font-size: 12px; } .ekpi b { white-space: nowrap; font-size: 20px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; } .ekpi small { font-size: 11.5px; }
.egrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: start; }
.egrid.wide1 { grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr); }
@media (max-width: 900px) { .egrid.wide1 { grid-template-columns: 1fr; } }
.egrid h3, .erp .card > h3 { margin: 0 0 10px; font-size: 15px; }
.elist { display: grid; gap: 2px; }
.erow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 14px; }
.erow:last-child { border-bottom: 0; }
.erow > span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.erow > span.r { display: block; text-align: right; }
.erow b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.erow.tot { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 800; }
.erow.hd { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 12px; }
.erow.click { cursor: pointer; border-radius: 8px; } .erow.click:hover { background: var(--bg); }
.erow.void, tr.void { opacity: .5; } tr.void td { text-decoration: line-through; } tr.void td:last-child { text-decoration: none; }
.pos { color: var(--good, #05A357); } .neg { color: var(--bad, #E5484D); }
.epill { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 20px; background: var(--line); color: var(--ink); white-space: nowrap; }
.epill.good { background: #DCFCE7; color: #166534; } .epill.bad { background: #FEE2E2; color: #991B1B; } .epill.warn { background: #FEF3C7; color: #92400E; } .epill.acc { background: #DBEAFE; color: #1E40AF; }
.ebars { display: flex; gap: 8px; align-items: flex-end; height: 210px; padding-top: 6px; }
.ebar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; min-width: 0; }
.ebcol { flex: 1; width: 100%; display: flex; gap: 3px; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--line); }
.ebcol i { width: 38%; max-width: 22px; border-radius: 5px 5px 0 0; min-height: 2px; transition: height .4s; }
.ebar small { font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ehb { display: grid; grid-template-columns: minmax(90px, 1.2fr) 2fr auto; gap: 10px; align-items: center; font-size: 13px; padding: 5px 0; }
.ehbt, .ebud, .eshare { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }
.ehbt i, .ebud i, .eshare i { display: block; height: 100%; border-radius: 6px; background: #E5484D; }
.ebud i { background: #05A357; } .ebud i.over { background: #E5484D; } .eshare { margin-bottom: 3px; }
.eaging { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.eaging small { font-size: 11.5px; }
.eaging > div { background: var(--bg); border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; }
.eaging.big b { font-size: 22px; }
.edonut { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.edonut .elist { flex: 1; min-width: 160px; }
.ering { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.ering span { width: 96px; height: 96px; border-radius: 50%; background: var(--card); display: grid; place-content: center; text-align: center; }
.ering b { font-size: 19px; } .ering small { color: var(--muted); font-size: 11px; }
.edot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.etable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.etable th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 800; padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.etable td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.etable .r { text-align: right; font-variant-numeric: tabular-nums; }
.etable .nowrap { white-space: nowrap; }
.etable tr.hd td { font-weight: 800; padding-top: 16px; border-bottom: 2px solid currentColor; }
.etable tr.tot td { font-weight: 800; background: var(--bg); }
.etable tr.grand td { font-weight: 900; font-size: 16px; border-top: 2px solid var(--ink); border-bottom: 3px double var(--ink); }
.etable.rep { max-width: 760px; }
.ebin { width: 110px; text-align: right; padding: 6px 8px; font-variant-numeric: tabular-nums; }
.eempty { display: grid; place-items: center; gap: 4px; padding: 26px 10px; color: var(--muted); text-align: center; }
.eempty p { margin: 0; max-width: 340px; }
.eload { display: grid; place-items: center; padding: 60px; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: espin .8s linear infinite; display: inline-block; }
@keyframes espin { to { transform: rotate(360deg); } }
.ejl { display: grid; gap: 6px; margin-top: 12px; }
.ej { border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; }
.ej summary { display: flex; gap: 10px; align-items: center; padding: 10px 0; cursor: pointer; list-style: none; flex-wrap: wrap; }
.ej summary::-webkit-details-marker { display: none; }
.ej[open] { background: var(--bg); } .ej[open] summary { border-bottom: 1px solid var(--line); }
.ej .ejd { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; }
.ej .ejm { flex: 1; min-width: 160px; font-size: 14px; }
.ej.rev { opacity: .65; }
.ej table { margin: 6px 0 10px; } .ej .row { padding-bottom: 10px; }
.ejln { display: grid; grid-template-columns: minmax(180px, 2fr) 1fr 1fr 1.5fr auto; gap: 6px; margin-top: 6px; }
@media (max-width: 640px) { .ejln { grid-template-columns: 1fr 1fr; } .ejln select, .ejln [data-m] { grid-column: 1 / -1; } }
.erpov { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 3000; display: grid; place-items: center; padding: 16px; animation: efade .15s; }
@keyframes efade { from { opacity: 0; } }
.erpdlg { background: var(--card); color: var(--ink); border-radius: 16px; width: min(480px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.erpdlg.wide { width: min(980px, 100%); }
.erphd { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 16px; }
.erpx { border: 0; background: var(--line); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.erpbd { padding: 16px; overflow: auto; }
.erpbd h3 { margin: 16px 0 8px; font-size: 15px; }
.erpft { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.erpform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.erpform label { grid-column: 1 / -1; display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.erpform label.half { grid-column: auto; }
.erpform label i { color: var(--bad, #E5484D); font-style: normal; }
.erpform label[hidden] { display: none; }
.erpform small { font-weight: 500; }
@media (max-width: 520px) { .erpform label.half { grid-column: 1 / -1; } .eaging { grid-template-columns: 1fr 1fr; } }
.eprint { display: none; }
@media print {
  body.eprinting * { visibility: hidden; }
  body.eprinting #erep, body.eprinting #erep * { visibility: visible; }
  body.eprinting #erep { position: absolute; inset: 0; padding: 20px; background: #fff; color: #000; }
  body.eprinting .eprint { display: block; }
  .erpov { position: absolute; background: #fff; } .erpft, .erpx { display: none; }
}
/* ERP: badhamada / pills / label-yada ha fidin */
.erp .row > *, .erpdlg .row > * { flex: 0 0 auto; }
.erp .row > input, .erp .row > select { flex: 1 1 150px; }
.erp .row > input[type="date"] { flex: 0 0 auto; width: auto; }
.erp .row > label, .erpdlg .row > label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.erp .row > label input, .erpdlg .row > label input { width: auto; }
.erp .ehead { align-items: center; }
@media (max-width: 560px) { .erp .row > label { flex: 1 1 140px; } .erp .ehead .ebtns { width: 100%; } .erp .ehead .ebtns .btn { flex: 1 1 auto; } }
@media (max-width: 480px) { body[data-app="admin"] header.top #who { display: none; } body[data-app="admin"] header.top { gap: 6px; } }
/* Isku xirka (integrations) */
.igrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); align-items: start; }
@media (max-width: 520px) { .igrid { grid-template-columns: 1fr; } }
.icard { border-top: 3px solid var(--c); display: grid; gap: 12px; }
.ihd { display: flex; gap: 12px; align-items: flex-start; }
.ihd h3 { margin: 0 0 3px; font-size: 16px; } .ihd p { margin: 0; font-size: 13px; }
.ihd .ekic { flex: 0 0 40px; height: 40px; }
.icard code, .isteps code { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 12px; word-break: break-all; }
.itog { display: flex !important; flex-direction: row; align-items: center; gap: 8px; font-weight: 600 !important; }
.itog input { width: 18px; height: 18px; }
.icode { display: grid; gap: 4px; background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.icode code { background: var(--card); }
.ilast { display: flex; gap: 8px; align-items: flex-start; border-radius: 10px; padding: 9px 11px; font-size: 13px; background: #DCFCE7; color: #14532D; }
.ilast.bad { background: #FEF2F2; color: #7F1D1D; } .ilast .xi { flex: 0 0 auto; margin-top: 2px; }
.ibtns > * { flex: 0 0 auto; } .ibtns .btn { display: inline-flex; align-items: center; gap: 5px; }
.isteps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
/* Xaadiriska */
.adot { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; display: inline-block; flex: 0 0 auto; }
.adot.on { background: #05A357; box-shadow: 0 0 0 3px #05A35733; }
.acal th.ad { padding: 6px 0; text-align: center; min-width: 22px; font-size: 10.5px; }
.acal th.ad.we { color: #CBD5E1; }
.acal td.ac { padding: 4px 1px; text-align: center; }
.acal td.ac i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-style: normal; font-size: 11px; font-weight: 900; color: #fff; }
.acal .click { cursor: pointer; text-decoration: underline dotted; }
.linkbtn { background: none; border: 0; color: var(--bad, #E5484D); cursor: pointer; padding: 0 2px; font: inherit; }
.erow.adev > span:first-child { flex-wrap: nowrap; align-items: flex-start; flex: 1; }
.erow.adev > span:first-child .adot { margin-top: 6px; }
.erow.adev > span.r { flex: 0 0 auto; }
/* ===== Admin menu: kooxo (v1.2) ===== */
body[data-app="admin"] #tabs { display: block; }
.navmenu { display: none; }
.navgh { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 0; background: none; color: var(--muted); font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 12px 10px 5px; cursor: pointer; }
.navgh i { display: inline-grid; transform: rotate(-90deg); transition: transform .15s; opacity: .6; }
.navg.closed .navgh i { transform: rotate(0deg); }
.navg.closed .navgi { display: none; }
.navg:first-child .navgh { padding-top: 4px; }
.navgi { display: grid; gap: 2px; }
@media (min-width: 900px) { body[data-app="admin"] #tabs { max-height: calc(100vh - 86px); overflow-y: auto; scrollbar-width: thin; } }
@media (max-width: 899px) {
  body[data-app="admin"] #tabs { position: sticky; top: 0; z-index: 50; margin: -4px 0 10px; }
  .navmenu { display: flex; width: 100%; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; padding: 11px 14px; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
  .navmenu small { color: var(--muted); font-weight: 600; margin-left: auto; font-size: 12px; }
  .navgroups { display: none; }
  #tabs.open .navgroups { display: block; position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.18); max-height: 72vh; overflow-y: auto; }
  #tabs.open .navgi { grid-template-columns: 1fr 1fr; }
  #tabs .navgi .chip { width: 100%; border: 0; justify-content: flex-start; padding: 8px; }
  #tabs .navgi .chip.on { background: #F1F3F6; }
}
@media (max-width: 899px) { #tabs .navgi .chip.on { color: var(--ink); } #tabs .navgi .chip { min-width: 0; } }
@media (min-width: 900px) { body[data-app="admin"] main { grid-template-columns: 236px 1fr; } }
.esub { flex-wrap: wrap; overflow: visible; }
.iln { grid-template-columns: minmax(180px, 2.4fr) 70px 110px minmax(150px, 1.6fr) auto; }
/* Hubinta nidaamka */
.ckscore { border-radius: 12px; padding: 6px 12px; font-size: 13px; } .ckscore b { font-size: 20px; }
.ckscore.good { background: #DCFCE7; color: #14532D; } .ckscore.warn { background: #FEF3C7; color: #78350F; } .ckscore.bad { background: #FEE2E2; color: #7F1D1D; }
.ckcounts { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 12px; }
.ckgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); align-items: start; }
@media (max-width: 520px) { .ckgrid { grid-template-columns: 1fr; } }
.ckg { border: 1px solid var(--line); border-radius: 12px; padding: 12px; border-top: 3px solid #05A357; }
.ckg.warn { border-top-color: #E8B24A; } .ckg.bad { border-top-color: #E5484D; }
.ckg h3 { margin: 0 0 6px; font-size: 14px; }
.ckrow { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ckrow:last-child { border-bottom: 0; }
.ckrow > div { flex: 1; min-width: 0; display: grid; gap: 2px; } .ckrow b { font-size: 13.5px; } .ckrow small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.ckrow .btn { flex: 0 0 auto; }
.ckdot { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #05A357; margin-top: 1px; }
.ckrow.warn .ckdot { background: #E8B24A; } .ckrow.bad .ckdot { background: #E5484D; } .ckrow.off .ckdot { background: #CBD5E1; }
.erp .seg { flex-wrap: wrap; flex: 0 1 auto; overflow: visible; }
body[data-app="admin"] .card.login { grid-column: 1 / -1; justify-self: center; width: min(440px, 100%); margin-top: 4vh; }
