.template-page {background:var(--app-base);color:var(--app-ink)}
.template-page .phone-content {gap:9px}
.template-title {display:flex;align-items:center;gap:8px}
.template-title .row-icon {flex:none}
.phone-page:not(.welcome,.phone-dark) .map-heading small {font-weight:650;color:var(--secondary-ink,var(--app-muted))}
.template-heading {font-size:21px;line-height:1.1;letter-spacing:-.035em}
.template-hero {
  display:grid;gap:7px;padding:11px;border-radius:var(--round);background:var(--app-soft);
  color:var(--app-ink);border:1px solid var(--app-line);min-width:0;
}
.template-hero p,.template-hero small {font-size:10px;color:var(--app-muted)}
.template-hero .phone-brand-logo {width:33px;height:33px}
.template-split,.template-tiles {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.template-split .phone-button,.template-split .phone-secondary,.template-tiles .phone-secondary,.template-tiles .phone-button {min-height:39px}
.template-page .phone-content>.map-viewport {min-height:132px;border-radius:var(--round);flex:none}
.executive-hero,.black-hero {background:linear-gradient(150deg,var(--secondary),#16171b 71%);border-color:#77674d;color:#fff;padding:13px}
.executive-hero p,.black-hero p {color:#eee0c7!important}
.black-hero {background:radial-gradient(ellipse at 35% 62%,#44372a,#121214);text-align:center;justify-items:center;padding:16px 8px}
.black-hero .phone-brand-logo {margin:auto}
.template-black .phone-content {justify-content:initial}
.template-delivery .template-tiles button {min-height:60px;display:grid;justify-items:start;padding:8px}
.template-delivery .template-tiles .icon {font-size:17px}
.template-motorcycle .template-hero {grid-template-columns:1fr 40px;align-items:center;background:var(--app-soft)}
.template-motorcycle .template-hero .icon {font-size:22px;color:var(--app-accent-ink,var(--theme-ink))}
.corporate-pass {
  padding:13px;border-radius:var(--round);color:#fff;background:#394459;
  background:linear-gradient(140deg,var(--secondary),#101622 85%);
}
.corporate-pass p {color:#e4eaf1;font-size:10px}
.corporate-pass strong {display:block;margin-top:5px;font-size:16px}
.device[data-model="black"] .phone-button {letter-spacing:.015em}
.device[data-model="minimal"] .phone-toolbar {border-bottom-color:transparent}
.device[data-model="motorcycle"] .app-callout {border-left:3px solid var(--theme)}
.device[data-model="executive"] .phone-toolbar .icon,.device[data-model="corporate"] .phone-toolbar .icon {color:var(--app-accent-ink,var(--theme-ink))}
.device[data-theme="dark"] .layout-drawer .map-heading {background:#262729;color:#fff}
.location-summary {display:grid;gap:6px}
.location-summary .ride-field select {font-size:13px}
.place-step {display:flex;align-items:center;gap:5px;font-size:10px;font-weight:750}
.place-step .icon {font-size:9px;color:var(--app-accent-ink,var(--theme-ink))}
.flow-card {
  display:grid;gap:4px;padding:9px;border:1px solid var(--app-line);border-radius:var(--round);
  background:var(--app-paper);color:var(--app-ink);
}
.flow-card>strong {font-size:11px}
.flow-card p {font-size:10px;color:var(--app-muted)}
.flow-card .driver-card {margin:1px 0}
.flow-meter {height:6px;margin:3px 0 0;border-radius:20px;background:var(--app-line);overflow:hidden}
.flow-meter>span {display:block;width:var(--progress,30%);height:100%;background:var(--theme);border-radius:20px}
.flow-spinner {
  display:grid;place-items:center;width:66px;height:66px;color:var(--app-accent-ink,var(--theme-ink));isolation:isolate;
  position:relative;border-radius:50%;margin:11px auto 6px;font-size:22px;background:var(--app-soft);
}
.flow-spinner::before {content:"";position:absolute;inset:0;border:3px solid transparent;border-top-color:var(--theme);border-right-color:var(--theme);border-radius:50%}
@media(prefers-reduced-motion:no-preference) {
  .flow-spinner::before {animation:rotate-search 1.25s linear infinite}
  .phone-screen .phone-page {animation:enter-screen .18s ease-out both}
}
@keyframes rotate-search {to{transform:rotate(360deg)}}
@keyframes enter-screen {from{transform:translateY(4px)}to{transform:translateY(0)}}
.flow-center {text-align:center}
.form-footer {display:grid;gap:5px}
.payment-total {border-block:1px solid var(--app-line);padding:8px 0}
.payment-total strong,.wallet-total {font-size:21px;font-weight:800}
.rating-stars {display:flex;gap:4px;align-items:center;justify-content:center;margin:4px 0}
.rating-stars .choice>span {display:grid;padding:5px;place-items:center;width:35px;height:37px;border:1px solid var(--app-line);border-radius:var(--round);font-size:17px;color:var(--app-muted)}
.rating-stars .choice.filled>span,.rating-stars .choice input:checked + span {color:#9c5d00;background:#faeacb;border-color:#dbaf64}
.wallet-rows {display:grid;gap:5px}
.wallet-rows .data-row>span:nth-child(2) {white-space:nowrap;font-size:11px;font-weight:700}
.device[data-rotation="landscape"] .template-page .phone-content>.map-viewport {min-height:125px}
