/* =============================================================================
   TOLA S6 — AD-01 login · session · permissions · table states · Google Maps
   ============================================================================= */

/* ---------- AD-01 Login ---------- */
.ad01 { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 42%) 1fr; background: var(--bg-color); }
.ad01-brand { background: radial-gradient(ellipse at 30% 20%, #2A2F38 0%, #1F2329 45%, #15181D 100%); color: #FFF; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; overflow: hidden; }
.ad01-brand::after { content: ''; position: absolute; inset: auto -120px -120px auto; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(201, 169, 97, 0.18); }
.ad01-logo { width: 64px; height: 64px; border-radius: 16px; background: #15181D; border: 1px solid rgba(201, 169, 97, 0.5); display: flex; align-items: center; justify-content: center; }
/* Official TOLA symbol (from S2 branding) — one-time entrance, shine replays on hover only (§11.8: no looping decoration) */
.ad01-mark { position: relative; width: 104px; height: 140px; margin-bottom: 18px; animation: ad01MarkIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ad01-mark img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; filter: drop-shadow(0 10px 28px rgba(201, 169, 97, 0.28)); animation: ad01MarkReveal 1.5s 0.15s cubic-bezier(0.65, 0, 0.35, 1) both; }
.ad01-mark-halo { position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; transform: translate(-50%, -50%) scale(0.6); border-radius: 50%; background: radial-gradient(circle, rgba(201, 169, 97, 0.22) 0%, rgba(201, 169, 97, 0.07) 45%, transparent 70%); opacity: 0; animation: ad01Halo 1.6s 0.5s ease-out forwards; pointer-events: none; }
.ad01-mark-shine { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url('../assets/branding/tola_symbol_gold.png') center / contain no-repeat; mask: url('../assets/branding/tola_symbol_gold.png') center / contain no-repeat;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 246, 214, 0.95) 50%, transparent 62%); background-size: 260% 100%; background-position: 140% 0; animation: ad01Shine 1.4s 1.55s ease-in-out both; }
.ad01-mark.shine .ad01-mark-shine { animation: ad01Shine2 1.1s ease-in-out both; }
.ad01-mark.static, .ad01-mark.static img, .ad01-mark.static .ad01-mark-halo { animation: none; }
.ad01-mark.static .ad01-mark-halo { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ad01-mark.static:not(.shine) .ad01-mark-shine { animation: none; background-position: 140% 0; }
.ad01-brand h1 { animation: ad01FadeUp 0.7s 0.9s ease-out both; }
.ad01-brand > p, .ad01-brand > ul { animation: ad01FadeUp 0.7s 1.1s ease-out both; }
.ad01-mark.static ~ h1, .ad01-mark.static ~ p, .ad01-mark.static ~ ul { animation: none; }
@keyframes ad01MarkIn { from { opacity: 0; transform: translateY(14px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes ad01MarkReveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ad01Halo { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes ad01Shine { from { background-position: 140% 0; } to { background-position: -40% 0; } }
@keyframes ad01Shine2 { from { background-position: 140% 0; } to { background-position: -40% 0; } }
@keyframes ad01FadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ad01-head-id { display: flex; align-items: center; gap: 12px; }
.ad01-head-mark { display: none; width: 26px; height: 35px; object-fit: contain; }
@media (max-width: 900px) { .ad01-head-mark { display: block; } }
@media (prefers-reduced-motion: reduce) { .ad01-mark, .ad01-mark img, .ad01-mark-halo, .ad01-mark-shine, .ad01-brand h1, .ad01-brand > p, .ad01-brand > ul { animation: none !important; } .ad01-mark-halo { opacity: 1; transform: translate(-50%, -50%); } }
.ad01-brand h1 { margin: 6px 0 0; font-size: 34px; letter-spacing: 1px; }
.ad01-brand p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.ad01-brand ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ad01-brand li { padding-inline-start: 22px; position: relative; color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.ad01-brand li::before { content: '◆'; position: absolute; inset-inline-start: 0; color: #C9A961; font-size: 11px; top: 3px; }
.ad01-host { margin-top: 28px; font-size: 12px; color: #C9A961; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 14px; }
.ad01-panel { display: flex; align-items: center; justify-content: center; padding: 32px; }
.ad01-card { width: 100%; max-width: 460px; background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ad01-card.wide { max-width: 720px; }
.ad01-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 14px; border-bottom: 1px solid var(--border-subtle); }
.ad01-title { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.ad01-muted { color: var(--text-muted); font-size: 12px; }
.ad01-env { display: inline-flex; align-items: center; white-space: nowrap; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: var(--radius-full); border: 1px solid; }
.ad01-env.staging { color: #8A5A00; background: #FEF3C7; border-color: #F5D58A; }
.ad01-env.prod { color: #FFF; background: var(--color-danger); border-color: var(--color-danger); }
.ad01-env.sm { font-size: 9.5px; padding: 1px 6px; margin-inline-start: 6px; }
.ad01-body { padding: 20px 24px; display: grid; grid-template-columns: 1fr; gap: 20px; }
.ad01-card.wide .ad01-body { grid-template-columns: 1fr 240px; align-items: start; }
.ad01-body form { display: flex; flex-direction: column; }
.ad01-step { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.ad01-step span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; background: var(--surface-alt); color: var(--text-muted); border: 1px solid var(--border-color); }
.ad01-step span.cur { background: var(--brand-ink); color: var(--brand-gold); border-color: var(--brand-ink); }
.ad01-step span.done { background: var(--color-ok); color: #FFF; border-color: var(--color-ok); }
.ad01-step i { width: 24px; height: 2px; background: var(--border-color); }
.ad01-step em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); margin-inline-start: 6px; }
.ad01-h2 { margin: 0 0 6px; font-size: 16px; }
.ad01-lead { margin: 0 0 12px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.ad01-pass { position: relative; }
.ad01-pass .tola-input { padding-inline-end: 64px; }
.ad01-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--color-info); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; padding: 4px 6px; }
.ad01-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.ad01-submit { margin-top: 14px; height: 42px; justify-content: center; font-size: 14px; }
.ad01-links { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 12.5px; }
.ad01-otp { font-size: 26px !important; letter-spacing: 10px; text-align: center; height: 54px !important; }
.ad01-banner { padding: 10px 12px; border-radius: var(--radius-md); font-size: 12.5px; line-height: 1.6; margin-bottom: 12px; border: 1px solid; }
.ad01-banner.danger { background: var(--color-danger-bg); border-color: var(--color-danger-border); color: var(--color-danger); }
.ad01-banner.warn { background: var(--color-warn-bg); border-color: var(--color-warn-border); color: var(--text-primary); }
.ad01-banner.info { background: var(--color-info-bg); border-color: var(--color-info-border); color: var(--text-primary); }
.ad01-lock { text-align: center; padding: 10px 0; }
.ad01-lock-icon { font-size: 40px; }
.ad01-lock h2 { margin: 6px 0; font-size: 18px; color: var(--color-danger); }
.ad01-lock p { font-size: 13px; color: var(--text-secondary); }
.ad01-countdown { font-size: 40px; font-weight: 800; text-align: center; color: var(--text-primary); letter-spacing: 2px; margin: 6px 0; }
.ad01-device { background: #15181D; color: #FFF; border-radius: 14px; padding: 14px; border: 1px solid rgba(201, 169, 97, 0.35); }
.ad01-device-head { font-size: 12.5px; font-weight: 700; display: flex; flex-direction: column; gap: 2px; }
.ad01-device-head em { font-style: normal; font-size: 10.5px; color: #FBBF24; font-weight: 600; }
.ad01-device-code { font-size: 32px; font-weight: 800; color: #C9A961; text-align: center; margin: 14px 0 8px; letter-spacing: 3px; direction: ltr; }
.ad01-device-bar { height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden; }
.ad01-device-bar span { display: block; height: 100%; background: #C9A961; width: 100%; transition: width 1s linear; }
.ad01-device-foot { font-size: 10.5px; color: rgba(255, 255, 255, 0.6); margin-top: 8px; line-height: 1.5; }
.ad01-demo { border-top: 1px dashed var(--border-color); padding-top: 12px; font-size: 12.5px; }
.ad01-demo summary { cursor: pointer; color: var(--color-info); font-weight: 600; }
.ad01-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.ad01-demo-grid button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 7px 10px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--surface-alt); cursor: pointer; font: inherit; color: var(--text-primary); text-align: start; }
.ad01-demo-grid button:hover { border-color: var(--brand-gold); background: var(--brand-gold-light); }
.ad01-demo-grid strong { font-size: 12px; }
.ad01-demo-grid bdi { font-size: 11px; color: var(--text-muted); }
.ad01-policy { padding: 12px 24px 16px; font-size: 11px; line-height: 1.7; color: var(--text-muted); background: var(--surface-alt); border-top: 1px solid var(--border-subtle); }
@media (max-width: 900px) { .ad01 { grid-template-columns: 1fr; } .ad01-brand { display: none; } .ad01-card.wide .ad01-body { grid-template-columns: 1fr; } }

/* ---------- Account menu & session ---------- */
.tfa-profile { cursor: pointer; border-radius: var(--radius-md); padding-block: 4px; padding-inline-end: 6px; }
.tfa-profile:hover { background: var(--surface-hover); }
.tfa-profile span, .tfa-profile div { white-space: nowrap; }
.tfa-account { position: fixed; z-index: 900; width: 320px; background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 8px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.tfa-acc-head { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 4px; }
.tfa-acc-head bdi { font-size: 11.5px; color: var(--text-muted); }
.tfa-acc-head span { font-size: 11.5px; color: var(--text-secondary); }
.tfa-acc-head em { font-style: normal; color: var(--color-warn); font-weight: 700; }
.tfa-acc-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 10px; font-size: 12.5px; }
.tfa-acc-sep { height: 1px; background: var(--border-subtle); margin: 4px 0; }
.tfa-acc-label { font-size: 11px; font-weight: 700; color: var(--text-muted); padding: 2px 10px; }
.tfa-acc-seg { margin: 4px 8px 4px; }
.tfa-acc-seg button { padding: 4px 8px; font-size: 11.5px; }
.tfa-account > button { text-align: start; background: none; border: 0; padding: 8px 10px; border-radius: 6px; font: inherit; color: var(--text-primary); cursor: pointer; }
.tfa-account > button:hover, .tfa-account > button:focus-visible { background: var(--surface-hover); }
.tfa-account > button.danger { color: var(--color-danger); font-weight: 700; }
.tfa-warn-backdrop { z-index: 1100; }

/* ---------- §3.3 No permission ---------- */
.tfa-noperm { max-width: 640px; margin: 40px auto; text-align: center; background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm); }
.tfa-noperm-icon { width: 68px; height: 68px; margin: 0 auto 10px; border-radius: 50%; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; font-size: 30px; border: 1px solid var(--border-color); }
.tfa-noperm h1 { font-size: 20px; margin: 0 0 10px; }
.tfa-noperm p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }
.tfa-noperm-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 14px; }
.tfa-noperm-roles span { padding: 4px 10px; border-radius: var(--radius-full); background: var(--brand-gold-light); border: 1px solid var(--brand-gold-border); font-size: 12px; font-weight: 700; }
.tfa-noperm-actions { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- §7.3 Table states ---------- */
.tfa-skel { display: block; height: 11px; border-radius: 4px; background: linear-gradient(90deg, var(--surface-alt) 25%, var(--border-subtle) 50%, var(--surface-alt) 75%); background-size: 200% 100%; animation: tfaShimmer 1.2s ease-in-out 3; }
@keyframes tfaShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.tfa-skelrow td { padding-block: 14px !important; }
.tfa-sr td { padding: 0 !important; border: 0 !important; }
.tfa-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tfa-staterow td { padding: 0 !important; }
.tfa-staterow:hover td { background: transparent !important; }
.tfa-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 16px; }
.tfa-state strong { font-size: 15px; color: var(--text-primary); }
.tfa-state p { margin: 0 0 6px; max-width: 520px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.tfa-state-icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; background: var(--surface-alt); color: var(--text-muted); border: 1px solid var(--border-color); }
.tfa-state.err .tfa-state-icon { background: var(--color-danger-bg); color: var(--color-danger); border-color: var(--color-danger-border); }
.tfa-state.deny .tfa-state-icon { background: var(--brand-gold-light); border-color: var(--brand-gold-border); }
.tfa-state-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- Google Maps ---------- */
.tfi-gm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 18px 10px; }
.tfi-gm-style { width: auto !important; height: 32px; padding: 4px 8px !important; font-size: 12.5px !important; }
.tfi-gm-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-secondary); cursor: pointer; }
.tfi-mapwrap.gm { height: 680px; min-height: 680px; background: #0E1520; }
.tfi-mapwrap.gm .tfi-mapctl, .tfi-mapwrap.gm .tfi-compass { display: none; }
.tfi-mapwrap.gm .tfi-regionpanel { top: 60px; inset-inline-end: 60px; }
.tfi-gmap-slot { position: absolute; inset: 0; }
.tfi-gmap { width: 100%; height: 100%; }
.tfi-gmap-route { width: 100%; height: 360px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }
.tfi-gm-unitslot { position: relative; height: 340px; margin: 0 16px 8px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); background: #0E1520; }
.tfi-gmap-noc { position: absolute; inset: 0; }
.tfi-sv { position: relative; height: 480px; background: #0E1520; }
.tfi-gm-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #E5E7EB; background: rgba(10, 15, 26, 0.86); z-index: 4; padding: 24px; font-size: 13.5px; }
.tfi-gm-overlay p { max-width: 520px; margin: 0; color: rgba(255, 255, 255, 0.75); line-height: 1.7; }
.tfi-gm-overlay.err strong { font-size: 17px; color: #FFF; }
.tfi-gm-err-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(204, 6, 5, 0.18); border: 2px solid #EE3433; color: #EE3433; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tfi-gm-err-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.tfi-gm-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(201, 169, 97, 0.25); border-top-color: #C9A961; animation: tfaSpin 0.9s linear infinite; }
@keyframes tfaSpin { to { transform: rotate(360deg); } }
.tfi-gm-devbadge { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; background: rgba(17, 22, 34, 0.92); color: #FBBF24; border: 1px solid rgba(251, 191, 36, 0.45); border-radius: var(--radius-full); padding: 5px 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tfi-gm-devbadge button { background: none; border: 0; color: #C9A961; font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; }
.tfi-gm-steps { margin: 12px 0 0; padding-inline-start: 20px; font-size: 12.5px; line-height: 1.8; color: var(--text-secondary); }

/* Advanced markers */
.gmk-host { position: absolute; transform: translate(-50%, -50%); cursor: pointer; outline: none; user-select: none; }
.gmk-host:focus-visible .gmk-dot, .gmk-host:focus-visible .ring { box-shadow: 0 0 0 3px #C9A961, 0 3px 10px rgba(0, 0, 0, 0.45); }
.gmk-host .gmk-label { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; }
.gmk { position: relative; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.gmk-dot { min-width: var(--s, 32px); height: var(--s, 32px); padding: 0 6px; border-radius: var(--radius-full); background: var(--c); color: var(--ink, #FFF); border: 2.5px solid #FFF; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; font-family: 'JetBrains Mono', monospace; transition: transform 0.15s; }
.gmk:hover .gmk-dot { transform: scale(1.12); }
.gmk.sel .gmk-dot { border-color: #C9A961; box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.45), 0 4px 14px rgba(0, 0, 0, 0.5); transform: scale(1.15); }
.gmk-label { margin-top: 4px; background: rgba(17, 22, 34, 0.94); color: #FFF; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 700; white-space: nowrap; display: flex; gap: 6px; align-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.gmk-label bdi { font-family: 'JetBrains Mono', monospace; color: #C9A961; }
.gmk-label span { color: rgba(255, 255, 255, 0.8); font-weight: 600; }
.gmk-label em { font-style: normal; color: rgba(255, 255, 255, 0.75); font-size: 10.5px; }
.gmk.sel .gmk-label { border-color: #C9A961; }
.gmk.pulse .gmk-dot { animation: gmkPulse 1.6s ease-out 5; }
@keyframes gmkPulse { 0% { box-shadow: 0 0 0 0 rgba(204, 6, 5, 0.6), 0 3px 10px rgba(0, 0, 0, 0.45); } 100% { box-shadow: 0 0 0 18px rgba(204, 6, 5, 0), 0 3px 10px rgba(0, 0, 0, 0.45); } }
.gmk-cluster { position: relative; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.gmk-cluster .ring { width: 50px; height: 50px; border-radius: 50%; padding: 5px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); transition: transform 0.15s; }
.gmk-cluster:hover .ring { transform: scale(1.08); }
.gmk-cluster .ring span { width: 100%; height: 100%; border-radius: 50%; background: #111622; color: #FFF; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; font-family: 'JetBrains Mono', monospace; }
.gmk-cluster.crit .ring { animation: gmkPulse 1.6s ease-out 5; }
.gmk-depot { width: 30px; height: 30px; border-radius: 7px; background: #1F2329; color: #C9A961; border: 2px solid #C9A961; display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); }
.gmk-stop { width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #FFF; border: 2.5px solid #FFF; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'JetBrains Mono', monospace; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); }

/* Info window card */
.gmi { font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif; color: #1A1D21; min-width: 270px; max-width: 320px; }
.gmi-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.gmi-id { color: #B6954B; font-weight: 800; font-size: 12px; }
.gmi-name { font-weight: 800; font-size: 14.5px; margin-top: 1px; }
.gmi-site { font-size: 12px; color: #4B5563; margin: 6px 0; }
.gmi-alert { font-size: 12px; background: #FDF1F1; border: 1px solid #F8BCBC; color: #CC0605; padding: 6px 8px; border-radius: 6px; margin-bottom: 6px; }
.gmi-alert code { font-weight: 800; }
.gmi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 6px 0; }
.gmi-grid > div { background: #F2F4F7; border-radius: 6px; padding: 5px 8px; display: flex; flex-direction: column; }
.gmi-grid span { font-size: 10.5px; color: #6B7280; }
.gmi-grid strong { font-size: 13px; font-family: 'JetBrains Mono', monospace; }
.gmi-sub { font-size: 10.5px; color: #6B7280; margin: 6px 0 4px; }
.gmi .tfi-cartbars { height: 30px; gap: 7px; margin-bottom: 14px; }
.gmi .tfi-cartbar { width: 20px; background: #EEF0F3; }
.gmi-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .gmk.pulse .gmk-dot, .gmk-cluster.crit .ring, .tfa-skel { animation: none !important; }
}

/* Google unavailable → automatic local-map fallback banner */
.tfi-gm-fallback { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; padding: 10px 14px; border: 1px solid rgba(199, 119, 0, 0.45); border-inline-start: 4px solid #C77700; background: rgba(199, 119, 0, 0.08); border-radius: var(--radius-md); font-size: 12.5px; }
.tfi-gm-fallback > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.tfi-gm-fallback strong::before { content: '⚠ '; color: #C77700; }
.tfi-gm-fallback span { color: var(--text-secondary); }
.tfi-gm-fallback-actions { display: flex; gap: 6px; }
/* Demo reviewer account highlight on login */
.ad01-demo-grid button.reviewer { border-color: #C9A961; background: rgba(201, 169, 97, 0.12); grid-column: 1 / -1; }
