/* MyanMyanGo / by ZAMA — ivory, charcoal and lime. Loaded last on every portal. */
:root{--bg:#f7f8f2;--surface:#fff;--raised:#f0f2e8;--text:#1b1d19;--ink:#1b1d19;--muted:#626958;--line:#dce1d2;--border:#dce1d2;--panel:#fff;--paper:#fff;--white:#1b1d19;--green:#687600;--accent:#657200;--on-accent:#1b1d19;--focus:#687600;--brand-lime:#d8e600;--brand-lime-ink:#1b1d19;--button-selected:#d8e600;--button-selected-ink:#1b1d19;--button-disabled:#e4e7dc;--button-disabled-ink:#62695b;--route-color:#7c8900}
:root[data-theme=night]{color-scheme:dark;--bg:#141712;--surface:#20251d;--raised:#2a3025;--text:#f2f4ea;--ink:#f2f4ea;--muted:#b7bead;--line:#424a39;--border:#424a39;--panel:#20251d;--paper:#20251d;--white:#f2f4ea;--green:#d8e600;--accent:#d8e600;--on-accent:#1b1d19;--focus:#d8e600;--button-disabled:#353c2e;--button-disabled-ink:#b9c1ab;--route-color:#d8e600}
:root body{background:var(--bg);color:var(--text)}:root .brand-lockup{display:inline-flex;align-items:center;gap:10px;text-decoration:none;letter-spacing:0;min-width:0;color:var(--text)}:root .brand-lockup .brand-mark{display:block;width:44px;height:44px;object-fit:contain;border-radius:12px;flex-shrink:0;border:1px solid #363a2c}:root .brand-lockup .brand-copy{display:grid;gap:0;color:var(--text);line-height:1.15}:root .brand-lockup strong{font-size:1.4rem;letter-spacing:-.8px;font-weight:800;color:var(--text)}:root .brand-lockup small{font-size:.68rem;letter-spacing:.04em;color:var(--muted);font-weight:600;line-height:1.5}
:root body.compact-app button:is(.primary,.price-btn,.driver-main-action),:root #membership-panel button.primary,:root #feedback-panel button.primary,:root #app-install-dialog button.primary,:root body.compact-app .driver-online-switch[aria-checked=true]{background:var(--brand-lime);color:var(--brand-lime-ink);border-color:var(--brand-lime)}
:root .shell-service-switch a[aria-current=page]{background:var(--brand-lime);color:var(--brand-lime-ink)}:root .shell-bottom-nav button[aria-current=page]{color:var(--brand-lime-ink)}:root .shell-unread{background:var(--brand-lime);color:var(--brand-lime-ink)}:root .shell-bottom-nav button[aria-current=false]{color:var(--muted)}
:root :is(.console-queue b,.console-stats strong,.trip-communication button,.driver-navigate,.console-queue button,.app-install-note){color:var(--text)}:root .console-queue b{background:var(--raised);color:var(--accent)}:root .driver-navigate{color:var(--accent)}:root .availability-dot.busy{background:var(--brand-lime)}
:root body button:not(:disabled):active,:root body button[data-pressed=true]:not(:disabled){background:var(--brand-lime)!important;color:var(--brand-lime-ink)!important;border-color:var(--brand-lime)!important}
:root body button[data-feedback-state=pending],:root body button[aria-busy=true]{background:var(--brand-lime)!important;color:var(--brand-lime-ink)!important;border-color:var(--brand-lime)!important}
:root body button[data-feedback-state=success]{background:var(--button-ok)!important;color:#fff!important;border-color:var(--button-ok)!important}:root body button[data-feedback-state=error]{background:var(--button-failed)!important;color:#fff!important;border-color:var(--button-failed)!important}
:root body :is(button,a,input,select,textarea):focus-visible{outline-color:var(--focus)}:root body button:is([aria-pressed=true],[aria-current=step])>.field-number,:root body button[aria-current=step]>span{background:#1b1d19;color:#d8e600}
:root .compact-app :is(input,textarea,select){accent-color:#7f8b00}:root .compact-app :is(.driver-pin-field input,.driver-auth input:not([type=checkbox])){color:var(--text);background:var(--surface);border-color:var(--line)}
:root .compact-app.sequence-layout .fare-card.selected{border-color:var(--brand-lime)}:root .compact-app .trip-safety>summary{color:var(--accent)}:root .compact-app .live-steps li.done{border-color:#7c8900;color:var(--text)}:root .compact-app .live-steps li.current{background:var(--raised)}:root[data-theme=night] .compact-app .live-steps li.done{border-color:var(--brand-lime)}
:root #communication-panel :is(.chat-bubble.mine,.chat-message.mine .chat-bubble){background:var(--brand-lime);color:#1b1d19}:root #communication-panel .chat-quick button{color:var(--accent);border-color:var(--line)}:root #communication-panel button.primary{background:var(--brand-lime);color:#1b1d19}
:root :is(#map,#driver-live-map,#console-live-map) .leaflet-tile-pane{filter:saturate(.5) sepia(.10) contrast(.94) brightness(1.03)}:root[data-theme=night] :is(#map,#driver-live-map,#console-live-map) .leaflet-tile-pane{filter:grayscale(.65) invert(1) hue-rotate(180deg) sepia(.18) saturate(.7) brightness(1.25) contrast(.78)}
:root .brand-road-line{stroke:var(--route-color)}:root .brand-road-casing{stroke:#485013}:root[data-theme=night] .brand-road-casing{stroke:#141712}
#brand-about-dialog{width:min(420px,calc(100% - 28px));max-width:100%;max-height:90dvh;border:1px solid var(--line);border-radius:20px;padding:24px;background:var(--surface);color:var(--text);color-scheme:inherit;overflow:auto;text-align:center}#brand-about-dialog::backdrop{background:#0007}#brand-about-dialog h2{font-size:1.1rem;line-height:1.8}#brand-about-dialog p{font-size:.9rem;line-height:1.9;color:var(--muted)}#brand-about-dialog button{min-height:48px;padding:10px 24px;border:1px solid var(--line);background:var(--raised);color:var(--text);border-radius:12px;font:inherit}.brand-full{width:min(280px,100%);margin:18px auto;overflow:hidden;border-radius:16px}.brand-full img{display:block;width:100%;height:auto}.brand-full.night{display:none}:root[data-theme=night] .brand-full.day{display:none}:root[data-theme=night] .brand-full.night{display:block}
@media(max-width:600px){:root .compact-app>header{padding-left:12px!important;gap:8px!important}:root .brand-lockup{gap:7px}:root .brand-lockup .brand-mark{width:40px;height:40px}:root .brand-lockup strong{font-size:1.15rem}:root .brand-lockup small{font-size:.6rem}:root .shell-service-switch a{padding:7px 8px;font-size:.7rem}}
:root #communication-panel .chat-message.mine{background:var(--brand-lime);border-color:#bbc600;color:#1b1d19}:root #communication-panel .chat-message.mine :is(small,footer){color:#485000}:root #communication-panel :is(button.chat-primary,a.chat-primary){background:var(--brand-lime);color:#1b1d19;border-color:var(--brand-lime)}:root .feedback-new{background:#edf1c9;color:#4c5700}:root[data-theme=night] .feedback-new{background:#3b4220;color:#e1ea89}
@media(max-width:600px){:root .brand-lockup .brand-mark{width:44px;height:44px}}


/* Approved MyanMyanGo identity, sized for every portal and small screens. */
:root .brand-lockup .brand-mark{border:0;border-radius:12px;width:44px;height:44px;object-fit:contain}
:root .brand-lockup .brand-copy{display:flex;flex-direction:column;gap:1px;line-height:1.15}
:root .brand-lockup .brand-copy strong{font-size:1.3rem;font-style:italic;font-weight:800;letter-spacing:-.7px;color:var(--text)}
:root .brand-lockup .brand-copy small{font-size:.62rem;letter-spacing:.02em;color:var(--muted)}
@media(max-width:600px){:root .brand-lockup{gap:7px}:root .brand-lockup .brand-copy strong{font-size:1.1rem}:root .brand-lockup .brand-mark{width:40px;height:40px}}

/* Uploaded day avatar; preserve the approved night artwork. */
:root .brand-lockup .brand-mark-night{display:none}
:root[data-theme=night] .brand-lockup .brand-mark-day{display:none}
:root[data-theme=night] .brand-lockup .brand-mark-night{display:block}

/* Explicit Day overrides inherited dark native controls and browser auto-darkening. */
:root[data-theme=day]{color-scheme:only light}
:root[data-theme=day] :is(dialog,input,select,textarea){color-scheme:only light}
/* Updated approved identity. Scope branding so selected app themes remain intact. */
:root .brand-lockup .brand-lockup-art{display:block;width:270px;max-width:100%;height:auto;object-fit:contain;border-radius:12px}:root .brand-lockup{flex:0 1 270px;min-width:0;max-width:48vw}:root .compact-app>header{min-height:82px!important;height:auto!important;align-items:center}#brand-about-dialog{width:min(560px,calc(100% - 28px))}.brand-full.brand-updated{display:block!important;width:100%;max-width:100%;margin:14px auto;border-radius:14px}.brand-updated img{display:block;width:100%;height:auto}.brand-service-links{display:grid;gap:8px;margin:16px 0}.brand-service-links a{display:flex;justify-content:center;align-items:center;min-height:46px;border:1px solid var(--line);border-radius:10px;padding:10px;color:var(--text);background:var(--raised);text-decoration:none;font-weight:700}.brand-support{display:grid;gap:7px;padding:14px;margin-top:16px;border:1px solid var(--line);border-radius:12px;font-size:.9rem}.brand-support span{font-size:1.2rem;font-weight:800;font-variant-numeric:tabular-nums}@media(max-width:600px){:root .brand-lockup{flex-basis:200px;max-width:48vw}:root .brand-lockup .brand-lockup-art{width:200px;border-radius:9px}:root .compact-app>header{min-height:70px!important}#brand-about-dialog{padding:16px}}
