/* 自动从设计稿复制（同步设计样式.py），不要手改；App 自己的样式写在 app.css */
:root {
  color-scheme: light;
  --navy: #152b46;
  --ink: #16283e;
  --muted: #5c6c80;
  --subtle: #687890;
  --canvas: #f3f6fa;
  --white: #fff;
  --line: #e3e9f0;
  --amber: #f3bc66;
  --gold: #8c5613;
  --green: #16694d;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(23 45 72 / 4%);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #e8edf4;
  color: var(--ink);
  font: 400 14px/1.4 -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
button, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid #9e651b; outline-offset: 2px; }
.screen {
  position: relative;
  overflow: hidden;
  width: min(100%, 390px);
  height: 100dvh;
  margin-inline: auto;
  background: var(--canvas);
  display: grid;
  grid-template-rows: 33px 47px minmax(0, 1fr) 71px;
}
.icon {
  display: inline-block;
  width: var(--size, 18px);
  height: var(--size, 18px);
  flex: none;
  vertical-align: middle;
}
.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 25px 0;
  color: #16263a;
  font: 650 14px/1 -apple-system, sans-serif;
}
.status-icons { display: flex; gap: 5px; align-items: center; }
.status-icons [data-icon="battery"] { width: 25px; height: 14px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 1px;
  border-bottom: 1px solid #e7ecf3;
  background: rgb(255 255 255 / 34%);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 690; font-size: 16px; letter-spacing: .25px; }
.brand-mark {
  width: 29px;
  height: 29px;
  background: var(--navy);
  color: #ffd68d;
  border-radius: 9px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 4px rgb(21 43 70 / 12%);
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--avatar-bg, #e8edf5);
  color: var(--avatar-ink, #345273);
  font-size: 11px;
  font-weight: 700;
}
.avatar.self { --avatar-bg: #f7e8ce; --avatar-ink: #775116; }
.topbar .avatar { width: 31px; height: 31px; font-size: 13px; border: 1px solid #eedcbf; }
main { padding: 12px 17px 11px; overflow: auto; scrollbar-width: none; }
main::-webkit-scrollbar { display: none; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; min-height: 31px; }
.page-head h1 { font-size: 27px; line-height: 31px; letter-spacing: -.65px; font-weight: 725; }
.section-title { display: flex; align-items: center; gap: 6px; font-size: 15px; line-height: 21px; font-weight: 690; }
.section-title .icon { color: #49617d; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.bottom {
  display: grid;
  grid-template-rows: 52px 19px;
  background: var(--white);
  border-top: 1px solid #e1e7ef;
}
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px 11px 0; }
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #596b82;
  text-decoration: none;
  font-size: 10.5px;
  line-height: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.tab[aria-current="page"] { color: var(--navy); font-weight: 720; }
.tab-icon { display: grid; place-items: center; width: 43px; height: 25px; border-radius: 10px; }
.tab[aria-current="page"] .tab-icon { background: #f8ebd6; }
.home-indicator { align-self: center; justify-self: center; width: 126px; height: 5px; border-radius: 3px; background: #172536; }
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 47px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--navy);
  box-shadow: 0 3px 7px rgb(20 45 76 / 13%);
  font-size: 15px;
  font-weight: 670;
  letter-spacing: .15px;
  text-decoration: none;
}
.primary .icon { color: #f5c577; }
.label { display: block; font-size: 11.5px; line-height: 16px; color: var(--muted); }
.value { display: flex; gap: 5px; align-items: center; font-size: 13px; line-height: 18px; font-weight: 630; white-space: nowrap; }
.value .icon { color: #677b92; }
.record { display: flex; flex-direction: column; }
.record .page-head, .record section { flex: none; }
.record .page-head { margin-bottom: 14px; }
.record .card { padding: 12px 14px; }
.entry { margin-bottom: 14px; }
.entry .section-title { margin-bottom: 3px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 15px; }
.field { min-width: 0; padding: 8px 0; }
.field:nth-child(-n+2) { border-bottom: 1px solid #edf0f5; }
.field-weather { display: flex; flex-direction: column; gap: 2px; }
.weather-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 121px;
  height: 27px;
  padding: 2px;
  gap: 2px;
  border: 1px solid #e7ecf1;
  border-radius: 7px;
  background: #f1f4f8;
}
.weather-control span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #566981;
  border-radius: 4px;
  font-size: 10.5px;
  line-height: 16px;
  font-weight: 620;
}
.weather-control .selected { color: #755018; background: #f9e9ca; }
.car {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-top: 1px;
  border-top: 1px solid #edf0f5;
  padding-top: 9px;
}
.upload-area { margin-bottom: 14px; }
.upload-area .section-title { margin: 0 0 6px 1px; }
.drop {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 65px;
  border: 1px dashed #9bafc6;
  border-radius: 12px;
  background: #f9fbfe;
  color: #344e6b;
  font-size: 13px;
  font-weight: 650;
}
.drop .icon { color: #405f7d; }
.ai-result {
  margin-top: 6px;
  padding: 0 9px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid #d8ebe3;
  border-radius: 9px;
  background: #edf7f2;
  color: var(--green);
  font-size: 11.5px;
  font-weight: 660;
}
.ai-result span { display: flex; align-items: center; gap: 6px; }
.ai-result .ai-note { color: #466859; font-size: 10.5px; font-weight: 510; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.edit-note { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: #5a6d83; }
.route { position: relative; margin-top: 5px; padding-left: 19px; }
.route::before {
  position: absolute;
  content: "";
  left: 4px;
  top: 23px;
  height: 48px;
  border-left: 1px dashed #90a4bd;
}
.stop { position: relative; display: grid; grid-template-columns: 1fr 75px; padding: 8px 0; }
.stop + .stop { border-top: 1px solid #edf0f5; }
.stop::before {
  position: absolute;
  content: "";
  top: 21px;
  left: -18px;
  width: 7px;
  height: 7px;
  border: 1.5px solid #577394;
  border-radius: 50%;
  background: white;
}
.stop + .stop::before { background: #eab666; border-color: #eab666; }
.stop .value { font-size: 13.5px; }
.stop-time { justify-self: end; text-align: right; }
.stop-time .value { justify-content: flex-end; }
.trip-values {
  display: grid;
  grid-template-columns: .9fr 1.05fr 1fr;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid #ecf0f5;
}
.trip-values > div + div { border-left: 1px solid #edf0f5; padding-left: 11px; }
.trip-values .value { font-size: 15px; line-height: 23px; gap: 4px; }
.trip-values .income { color: var(--green); }
.trip-values small { font-size: 10.5px; color: var(--muted); }
.record .primary { margin-top: auto; flex: none; }
.metric-label { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 620; }
.chart-card { padding: 10px 12px 9px; margin-bottom: 12px; }
.chart-period { font-size: 10.5px; line-height: 18px; color: var(--muted); }
.chart { display: grid; grid-template-columns: 29px 1fr; margin-top: 8px; }
.axis-y { position: relative; height: 109px; color: #62758b; font-size: 9.5px; line-height: 12px; }
.axis-y span { position: absolute; top: var(--top); left: 0; transform: translateY(-50%); }
.bars {
  height: 109px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  place-items: end center;
  background: repeating-linear-gradient(to bottom, #e6ecf3 0 1px, transparent 1px calc(100% / 3));
  border-bottom: 1px solid #e6ecf3;
}
.bar { width: 20px; height: var(--height); background: linear-gradient(#8faac8, #6f90b4); border-radius: 5px 5px 0 0; }
.bar.last { background: linear-gradient(#f6c777, #df9e42); width: 22px; }
.axis-x { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 5px; text-align: center; color: #576b84; font-size: 10.5px; line-height: 15px; }
.axis-x .last { color: #815016; font-weight: 720; }
.data-filters { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.filter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; height: 35px; min-width: 156px; padding: 2px; background: #e7edf5; border: 1px solid #e2e9f2; border-radius: 8px; }
.scope-filter { grid-template-columns: repeat(2, 1fr); min-width: 119px; }
.filter button { display: grid; place-items: center; padding: 0 6px; border: 0; border-radius: 5px; background: transparent; font-size: 12px; color: #4f647e; white-space: nowrap; }
.filter button[aria-pressed="true"] { color: var(--navy); font-weight: 700; background: #fff; box-shadow: 0 1px 3px #233a5520; }
.my-rank { display: flex; align-items: center; gap: 7px; padding: 10px 11px; margin-bottom: 10px; font-size: 13px; font-weight: 620; }
.my-rank .step-icon { width: 26px; height: 26px; border-radius: 7px; background: #f9edda; color: #855719; }
.my-rank strong { color: var(--gold); }
.team-summary {
  min-height: 66px;
  display: grid;
  grid-template-columns: .84fr 1.36fr 1fr;
  align-items: center;
  margin-bottom: 9px;
  border: 1px solid #233b57;
  border-radius: var(--radius);
  padding: 0 10px;
  background: linear-gradient(113deg, #1e3855, #132941);
  color: #fff;
}
.team-kpi { padding: 0 8px; }
.team-kpi + .team-kpi { border-left: 1px solid #ffffff2b; padding-left: 11px; }
.team-kpi .label { color: #dce6f1; font-size: 10.5px; }
.team-kpi .number { font-size: 20px; line-height: 26px; font-weight: 720; letter-spacing: -.55px; white-space: nowrap; }
.team-kpi .number { --number-muted: #e8c998; }
.team .card, .data .heatmap { margin-bottom: 9px; padding: 8px 10px; }
.data .heatmap { margin-bottom: 0; }
.team .section-title, .data .heatmap .section-title { font-size: 14px; }
.rank-head { padding: 0 2px 4px; }
.rank-cols { display: grid; grid-template-columns: 50px 63px; text-align: right; gap: 4px; color: var(--muted); font-size: 10px; padding-right: 6px; }
.rank-row { display: grid; grid-template-columns: 18px 23px 1fr 50px 63px; gap: 4px; align-items: center; min-height: 32px; padding: 0 8px 0 3px; font-size: 12px; }
.rank-row + .rank-row { border-top: 1px solid #eef2f6; }
.rank-row.leader { background: #fcf2e1; border-radius: 8px; }
.rank-row.leader + .rank-row { border-top-color: transparent; }
.rank-index { justify-self: center; color: #60748d; font-size: 10.5px; font-weight: 670; }
.leader .rank-index { display: grid; place-items: center; background: #edbc65; color: #503609; width: 16px; height: 16px; border-radius: 5px; }
.rank-row .avatar { width: 22px; height: 22px; font-size: 10px; }
.rank-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 650; }
.rank-count { text-align: right; font-size: 11px; color: #506682; }
.rank-rate { text-align: right; color: var(--green); font-weight: 715; white-space: nowrap; }
.rank-rate small { font-size: 9.5px; }
.leader .rank-rate { color: #7d4b0e; }
.locations .card-head, .heatmap .card-head { padding: 0 2px 4px; }
.locations .card-head p, .heatmap .card-head p { color: var(--muted); font-size: 10px; }
.location-row { min-height: 33px; display: grid; grid-template-columns: 77px 58px 1fr 51px; gap: 6px; padding: 0 2px; align-items: center; }
.location-row + .location-row { border-top: 1px solid #edf1f6; }
.location-name { font-size: 11.5px; font-weight: 660; white-space: nowrap; }
.location-wait { font-size: 10.5px; color: #536984; white-space: nowrap; }
.location-rate { font-size: 11px; font-weight: 700; color: var(--green); white-space: nowrap; text-align: right; }
.location-track { height: 6px; border-radius: 6px; background: #eaf0f6; overflow: hidden; }
.location-track span { display: block; height: 100%; width: var(--value); border-radius: inherit; background: #7d9aba; }
.location-row:first-of-type .location-track span { background: #dba356; }
.heat-grid { display: grid; grid-template-columns: 40px repeat(7, minmax(0, 1fr)); gap: 3px; align-items: center; text-align: center; }
.heat-grid .day, .heat-grid .slot { color: #53677f; font-size: 9.5px; line-height: 13px; }
.heat-grid .slot { text-align: left; padding-left: 2px; }
.heat-grid .cell { height: 16px; border-radius: 3px; background: var(--heat); }
.h0 { --heat: #e8edf4; }
.h1 { --heat: #f6e8d2; }
.h2 { --heat: #f1ce94; }
.h3 { --heat: #e9af59; }
.h4 { --heat: #c88532; }
.legend { display: flex; gap: 3px; align-items: center; justify-content: flex-end; color: var(--muted); font-size: 9.5px; line-height: 12px; margin-top: 6px; }
.legend i { background: var(--heat); width: 11px; height: 6px; border-radius: 2px; }
.legend .legend-low { padding-right: 2px; }
.legend .legend-high { padding-left: 2px; }
.welcome { padding-top: 17px; }
.hero-art {
  display: block;
  width: 100%;
  height: 208px;
  border-radius: 17px;
  background: #162d49;
}
.welcome-copy { padding: 21px 2px 18px; }
.welcome-copy h1 { font-size: 32px; line-height: 40px; font-weight: 750; letter-spacing: -.7px; }
.welcome-copy p { color: #516681; font-size: 13.5px; line-height: 22px; margin-top: 5px; }
.welcome .primary { height: 49px; }
.steps { margin-top: 17px; padding: 12px 12px 8px; }
.steps h2 { padding-bottom: 4px; }
.step { display: grid; grid-template-columns: 33px 1fr; gap: 9px; align-items: center; min-height: 56px; }
.step + .step { border-top: 1px solid #edf1f6; }
.step-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #edf2f9; color: #3f5c80; }
.step:nth-of-type(2) .step-icon { background: #f9edda; color: #855719; }
.step h3 { font-size: 12.5px; line-height: 17px; font-weight: 690; }
.step p { font-size: 11px; line-height: 15px; color: var(--muted); margin-top: 1px; }
@media (max-height: 770px) {
  .record .primary { margin-top: 12px; }
}
[hidden] { display: none !important; }
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #fff;
  color: #405a77;
  font-size: 11.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.data { padding-bottom: 8px; }
.drive-card {
  min-height: 136px;
  padding: 11px 14px 10px;
  border: 1px solid #233b57;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 95% 0%, #2b4867, transparent 67%), linear-gradient(115deg, #1e3855, #132941);
  box-shadow: 0 2px 5px rgb(21 43 70 / 12%);
  color: #fff;
}
.drive-state { display: flex; align-items: center; gap: 7px; min-height: 23px; font-size: 14px; font-weight: 700; }
.drive-state .icon { color: #f8cf88; }
.drive-card.is-off-duty {
  padding-top: 13px;
  border-color: #ccd8e7;
  background: radial-gradient(ellipse at 95% 0%, #edf3fa, transparent 75%), linear-gradient(115deg, #e1e9f3, #d7e2ef);
  color: #304963;
  box-shadow: 0 2px 5px rgb(21 43 70 / 7%);
}
.is-off-duty .drive-state { min-height: 27px; font-size: 20px; }
.is-off-duty .drive-state .icon { color: #56718d; }
.is-off-duty .drive-meta { margin-top: 3px; padding-top: 0; border-top: 0; color: #405974; }
.is-off-duty .drive-meta .icon, .is-off-duty .drive-meta i { color: #607a96; }
.is-off-duty .drive-meta b { color: #304963; }
.drive-clock { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; }
.drive-timer { color: #ffdc9f; font-size: 43px; line-height: 51px; letter-spacing: -1.6px; font-weight: 740; }
.drive-distance { text-align: right; }
.drive-distance span { display: block; color: #d5e0ed; font-size: 10.5px; }
.drive-distance strong { display: block; font-size: 19px; line-height: 22px; letter-spacing: -.3px; }
.drive-distance small { color: #d5e0ed; font-size: 11px; font-weight: 550; letter-spacing: 0; }
.drive-meta { min-height: 23px; display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; padding-top: 5px; border-top: 1px solid #ffffff24; color: #e5edf6; font-size: 11px; }
.drive-meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.drive-meta .icon { color: #bad0e5; }
.drive-meta b { color: #fff; font-weight: 650; }
.drive-meta i { color: #9fb7d0; font-style: normal; }
.gps-dot { width: 6px; height: 6px; margin-right: 1px; border-radius: 50%; background: #8cd8b2; box-shadow: 0 0 0 2px #8cd8b220; }
[data-gps-status]:not(.is-recording) .gps-dot { background: #aec1d5; box-shadow: none; }
.fare-note { display: flex; align-items: center; gap: 6px; color: #d5e0ed; font-size: 11px; }
.fare-note strong { color: #ffdc9f; font-weight: 650; }
.drive-card.is-riding {
  margin-bottom: 10px;
  border-color: #204c3e;
  background: radial-gradient(ellipse at 95% 0%, #295a49, transparent 67%), linear-gradient(115deg, #1d493b, #12352c);
  box-shadow: 0 2px 5px rgb(17 55 44 / 13%);
}
.is-riding .drive-state .icon, .is-riding .drive-timer { color: #c5efd7; }
.is-riding .drive-distance span, .is-riding .drive-distance small, .is-riding .drive-meta,
.is-riding .drive-meta .icon, .is-riding .drive-meta i, .is-riding .fare-note { color: #cee5db; }
.is-riding .fare-note strong { color: #f5dfac; }
.navigation-toast { position: absolute; z-index: 1; inset: auto 16px 82px; width: fit-content; margin-inline: auto; padding: 9px 14px; border-radius: 9px; background: var(--navy); color: var(--white); box-shadow: 0 2px 5px rgb(21 43 70 / 18%); font-size: 12px; font-weight: 630; pointer-events: none; }
.navigation-toast:empty { opacity: 0; }
.record-date { display: flex; align-items: center; gap: 4px; }
.record-date button { width: 30px; min-height: 34px; padding: 0; }
.record-date output { padding-inline: 3px; font-size: 13px; font-weight: 690; white-space: nowrap; }
.record-date button:disabled { color: #8190a0; background: #edf2f8; cursor: default; }
.timeline-fare { color: var(--green); }
.timeline { position: relative; padding: 0 9px 0 11px; }
.timeline::before { content: ""; position: absolute; top: 31px; bottom: 31px; left: 16px; width: 1px; background: #d7e2ef; }
.timeline-row { position: relative; width: 100%; min-height: 62px; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 10px; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.timeline-row + .timeline-row::before { position: absolute; content: ""; inset: 0 0 auto 18px; border-top: 1px solid #edf0f5; }
.timeline-dot { position: relative; width: 7px; height: 7px; margin-left: 2.5px; border: 1px solid #7991ac; border-radius: 50%; background: white; }
.timeline-row.needs-fare .timeline-dot { background: #e6b067; border-color: #c38839; box-shadow: 0 0 0 3px #f9edd9; }
.timeline-info { min-width: 0; }
.timeline-route { display: block; font-size: 12px; line-height: 16px; font-weight: 680; overflow-wrap: anywhere; }
.timeline-route b { padding-inline: 3px; color: #607995; font-weight: 500; }
.timeline-meta { display: block; color: var(--muted); font-size: 10.5px; line-height: 15px; }
.timeline-money { min-width: 64px; text-align: right; }
.timeline-fare { display: block; font-size: 12.5px; font-weight: 720; line-height: 16px; }
.timeline-fare small { font-size: 9.5px; }
.fare-tag { display: inline-flex; padding: 0 5px; border-radius: 4px; background: #edf3f9; color: #476581; font-size: 9.5px; line-height: 14px; font-weight: 620; }
.fare-tag.notice { background: #edf6f2; color: #28634e; }
.fare-tag.pending { background: #fbebcc; color: #7b4d10; font-size: 10.5px; line-height: 20px; }
.timeline-row > .icon { color: #73879d; }
.empty-timeline { padding: 17px 12px; color: var(--muted); font-size: 13px; }
.trip-log { display: flex; flex-direction: column; }
.trip-log > * { flex-shrink: 0; }
.screen.is-setup { grid-template-rows: 33px 47px minmax(0, 1fr) 19px; }
.is-setup .bottom { grid-template-rows: 19px; }
.is-setup .tabs { display: none; }
.setup { display: flex; flex-direction: column; padding-top: 22px; padding-bottom: 13px; }
.setup-intro { margin: 0 1px 22px; }
.setup-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #49617d; font-size: 12px; font-weight: 660; }
.setup-progress-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 82px; }
.setup-progress-track span { height: 4px; border-radius: 3px; background: #d9e3ef; }
.setup-progress-track span:first-child { background: #7894b3; }
.setup-progress-track span:nth-child(2) { background: #daa454; }
.setup-intro h1 { margin-top: 13px; font-size: 28px; line-height: 1.27; letter-spacing: -.65px; font-weight: 725; }
.permission-list { display: grid; gap: 9px; }
.permission { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 91px; padding: 11px; }
.permission-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #405f7e; background: #edf3f9; }
.permission h2 { font-size: 13.5px; line-height: 18px; font-weight: 700; }
.permission p { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 16px; }
.permission p small { font-size: 10.5px; }
.permission-ready { display: inline-flex; align-items: center; gap: 3px; color: var(--green); font-size: 11.5px; font-weight: 660; white-space: nowrap; }
.permission-switch { position: relative; width: 43px; height: 25px; padding: 0; border: 0; border-radius: 14px; background: #8997a7; }
.permission-switch::after { content: ""; position: absolute; inset: 3px auto auto 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.permission-switch[aria-checked="true"] { background: var(--green); }
.permission-switch[aria-checked="true"]::after { left: 21px; }
.setup-end { margin-top: auto; padding-top: 21px; }
.setup-help { margin: 10px 10px 0; text-align: center; color: var(--muted); font-size: 11px; line-height: 17px; }
.setup-help summary { cursor: pointer; list-style: none; }
.setup-help summary::-webkit-details-marker { display: none; }
.setup-help summary b { color: #365575; font-weight: 680; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.setup-help ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 0; margin: 8px 0 0; list-style: none; }
.setup-help li { display: grid; justify-items: center; align-content: start; gap: 3px; padding: 7px 5px; }
.setup-help li .icon { color: #405f7e; }
.record-form { display: flex; flex-direction: column; flex: 1; }
.record-form .value input, .record-form .value select { min-width: 0; max-width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; }
.record-form .value input:not([type="time"]):not([type="date"]) { width: 100%; }
.record-form input[type="number"] { appearance: textfield; }
.record-form input::-webkit-inner-spin-button { appearance: none; }
.record-form .trip-card { margin-bottom: 14px; }
.record-form input:focus-visible, .record-form select:focus-visible { outline: 2px solid #9e651b; outline-offset: 2px; border-radius: 2px; }
@media (max-width: 350px) {
  .drive-meta { gap: 3px 5px; }
  .record-date { gap: 2px; }
  .record-date button { width: 24px; }
  .record-date output { font-size: 12px; }
  .filter { min-width: 138px; }
  .scope-filter { min-width: 104px; }
  .permission { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .permission-icon { width: 30px; height: 32px; }
}
:root {
  --display-font: "Avenir Next", "Segoe UI", sans-serif;
  --panel-navy: #111f32;
  --panel-amber: #ffd18a;
}
.numeric, .amount, .measure, .drive-timer, .number, .axis-x, .axis-y, .rank-count, .rank-index, .location-wait {
  font-family: var(--display-font);
  font-variant-numeric: tabular-nums;
}
.amount, .measure { display: inline-flex; align-items: baseline; gap: .11em; white-space: nowrap; font-weight: 760; line-height: 1; }
.amount b, .measure b { font-weight: inherit; }
.amount small, .measure small { color: var(--number-muted, var(--muted)); font-size: .43em; font-weight: 650; letter-spacing: 0; }
.amount .fraction { font-size: .58em; margin-left: -.12em; }
.amount .fraction::before { content: "."; }
.pickup { padding: 8px 15px 5px; }
.pickup > section + section { margin-top: 7px; }
.drive-card { --number-muted: #a8bcd2; border-radius: 18px; }
.drive-card.is-off-duty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding-bottom: 18px;
}
.is-off-duty [data-drive-location] { justify-self: end; margin-top: 0; }
.is-off-duty .drive-actions { grid-column: 1 / -1; justify-self: center; margin-top: 19px; }
.shift-button { position: relative; flex: none; padding: 0; border: 0; border-radius: 50%; }
.shift-start {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  width: 132px;
  height: 132px;
  color: #fff;
  background: radial-gradient(circle at 50% 35%, #344c72, #192840 69%, #132139);
  box-shadow: inset 0 1px 1px #93a8ca59, inset 0 -5px 12px #0c162a8c, 0 0 0 6px #111e32, 0 9px 23px #101f3b66;
  touch-action: manipulation;
  transition: transform 120ms ease;
}
.shift-start::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid #f2b33d;
  border-radius: inherit;
  box-shadow: 0 0 16px #e9a53682;
  pointer-events: none;
}
.shift-start:active { transform: scale(.96); }
.shift-start:focus-visible { outline-offset: 11px; }
.shift-start strong { font-size: 22px; letter-spacing: 2px; }
.shift-start small { color: #a8b9d3; font-size: 10px; font-weight: 650; letter-spacing: 2px; }
@media (prefers-reduced-motion: reduce) { .shift-start { transition: none; } }
.drive-card.is-waiting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  min-height: 0;
  padding: 9px 13px 8px;
  background: radial-gradient(ellipse at 95% -24%, #314d6c, transparent 72%), #152940;
}
.is-waiting .drive-state { grid-area: 1 / 1; min-height: 18px; line-height: 18px; font-size: 12px; color: #dae6f3; }
.is-waiting .drive-state .icon { width: 14px; height: 14px; }
.is-waiting .drive-clock { grid-area: 2 / 1; min-height: 38px; }
.is-waiting .drive-timer { font-size: 37px; line-height: 38px; letter-spacing: -1.25px; font-weight: 770; }
.is-waiting [data-drive-location] { grid-area: 3 / 1 / 4 / -1; min-height: 18px; padding: 0 76px 0 0; border: 0; gap: 3px 5px; }
.is-waiting :is(.shift-goal, .rest-reminder) { grid-column: 1 / -1; }
.is-waiting .drive-actions { grid-area: 1 / 2 / 4 / 3; align-self: start; }
.shift-hold { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; }
.shift-stop {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  background: #ffffff12;
  color: #ffc2b7;
  font-size: 13px;
  font-weight: 690;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.shift-stop::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(#e8664f var(--hold-progress, 0%), #ffffff29 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  pointer-events: none;
}
.shift-hint { color: #bbc9db; font-size: 11px; white-space: nowrap; }
@media (max-width: 359px) {
  .is-waiting .drive-actions { grid-row-end: 3; }
  .is-waiting [data-drive-location] { padding: 3px 0 0; }
}
.shift-goal { margin-top: 6px; color: #bfcfe0; font-size: 10.5px; }
.goal-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; }
.goal-caption .amount { color: #ffe3ad; font-size: 1.21em; --number-muted: #e6c992; }
.goal-caption .amount small { font-size: .75em; }
.goal-track { height: 3px; margin-top: 4px; border-radius: 3px; background: #9caec239; overflow: hidden; }
.goal-track > span { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#cb9853,#ffd98f); }
.rest-reminder { margin-top: 5px; color: #e6ceb0; font-size: 11px; }
.radar-card {
  position: relative; overflow: hidden; border-radius: 18px; color: #edf5ff;
  background: radial-gradient(ellipse at 47% 70%, #20354b, transparent 65%), #111f32;
  border: 1px solid #263b50; box-shadow: 0 3px 9px #172d4525;
}
.radar-head { z-index: 2; position: relative; padding: 10px 12px 0; pointer-events: none; }
.radar-head h2 { font-size: 15px; font-weight: 730; }
.radar-head .icon { color: #ffcf86; }
.radar-head p { color: #bcc9da; font-size: 10px; }
.radar-plot { position: relative; height: 171px; isolation: isolate; overflow: hidden; }
.radar-plot > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar-here, .radar-spot, .radar-person, .radar-distance { position: absolute; left: var(--x); top: var(--y); }
.radar-here, .radar-spot, .radar-person { transform: translate(-50%,-50%); }
.radar-here { display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; background: #ffd188; border: 2px solid #fff0c7; box-shadow: 0 0 11px #ffca75; pointer-events: none; z-index: 3; }
.radar-here::after { content: ""; position: absolute; width: 23px; height: 23px; border: 1px solid #ffc978a8; border-radius: 50%; animation: radar-pulse 3.4s ease-out infinite; }
@keyframes radar-pulse { from { opacity: .8; transform: scale(.65); } to { opacity: 0; transform: scale(2.75); } }
.radar-here span { position: absolute; top: 11px; right: 3px; width: max-content; color: #ffe3ae; font-size: 9.5px; font-weight: 690; }
.radar-spot { width: 25px; height: 25px; border: 0; padding: 0; background: transparent; display: grid; place-items: center; z-index: 1; }
.radar-spot::before { content: ""; width: var(--point-size); aspect-ratio: 1; border-radius: 50%; background: #7892a9; border: 1px solid #bbcad6; box-shadow: 0 0 0 3px #7892a92c; }
.radar-spot.recommended::before { background: #ffd088; border-color: #fff0cf; box-shadow: 0 0 0 5px #ffd08c25, 0 0 17px 3px #e9a84c8c; }
.radar-spot.at-center::before { background: transparent; width: 23px; border-color: #a6b4c483; box-shadow: none; }
.radar-spot .spot-label {
  position: absolute; z-index: 1; top: var(--label-y); left: var(--label-x); width: max-content;
  color: #d5e0ed; background: #15283be8; border: 1px solid #476078; border-radius: 6px;
  padding: 3px 6px; line-height: 13px; font-size: 10px; font-weight: 650;
}
.radar-spot.recommended .spot-label { color: #ffe2ad; background: #443628; border-color: #a27946; }
.radar-spot:focus-visible { z-index: 5; }
.spot-label .amount { font-size: 1.03em; }
.spot-label .amount small { --number-muted: #b3c2d1; font-size: .85em; }
.recommended .spot-label .amount small { --number-muted: #efc986; }
.radar-distance { transform: translate(-50%,-50%); font-size: 8.5px; padding: 0 3px; color: #b8c8db; background: #18283c; border-radius: 3px; pointer-events: none; }
.radar-north { position: absolute; top: 4px; left: 13px; display: grid; justify-items: center; color: #a7b9ce; font-size: 9px; letter-spacing: .06em; pointer-events: none; }
.radar-north::after { content: ""; border: 4px solid transparent; border-top: 0; border-bottom: 7px solid #98adc5; }
.radar-foot { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 5px 11px 7px; color: #becbda; font-size: 9.5px; border-top: 1px solid #6e89aa26; }
.radar-foot span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.radar-foot i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--team-state); }
.wait-insufficient { margin: 12px; color: #d5dfeb; font-size: 12px; }
.waiting { --team-state: #f5c16e; }
.riding { --team-state: #72d0a5; }
.going { --team-state: #86baff; }
.off-duty { --team-state: #9cabbc; }
.radar-person { border: 0; border-radius: 50%; background: transparent; padding: 0; z-index: 4; }
.radar-person .avatar, .member .avatar { border: 2px solid var(--team-state); }
.radar-person .avatar { width: 23px; height: 23px; box-shadow: 0 0 0 2px #14253b, 0 0 9px var(--team-state); font-size: 9px; }
.best-choice {
  padding: 9px 12px 8px; border-radius: 18px; border-color: #e9d6b4;
  background: radial-gradient(ellipse at 100% 0%, #faecd3, transparent 68%), #fffaf0;
  --number-muted: #765b3b;
}
.best-choice h2 { line-height: 1.06; font-size: 23px; font-weight: 750; letter-spacing: -.4px; }
.best-choice .card-head > div { min-width: 0; }
.choice-kicker { display: flex; align-items: center; gap: 4px; color: #84531b; font-size: 10px; font-weight: 720; margin-bottom: 4px; }
.choice-reason { color: #665338; font-size: 10.5px; margin-top: 4px; }
.choice-stats { display: grid; grid-template-columns: .96fr .96fr 1fr; margin: 8px 0; }
.choice-stat { padding-left: 10px; }
.choice-stat:first-child { padding-left: 0; }
.choice-stat + .choice-stat { border-left: 1px solid #ebdcc2; }
.choice-stat span:first-child { display: block; color: #665338; font-size: 10px; line-height: 13px; }
.choice-stat > :is(.measure,.amount) { font-size: 27px; color: #28384a; }
.choice-stat:last-child .amount { color: #744a19; }
.navigate-main {
  width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 13px; border: 1px solid #d7a156; color: #402b15; text-decoration: none;
  background: linear-gradient(167deg,#ffe1a4,#f4c074); box-shadow: inset 0 1px 0 #fff1d1, 0 2px 5px #a3712433;
  font-size: 16px; font-weight: 740;
}
.navigate-main:active { filter: brightness(.94); }
.other-choices { display: grid; grid-template-columns: 47px minmax(0, 1fr); gap: 7px; align-items: center; }
.other-choices h2 { padding-left: 2px; font-size: 12px; line-height: 17px; }
.choice-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: max(50%, 111px); overflow-x: auto; gap: 6px; padding: 2px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.choice-carousel::-webkit-scrollbar { display: none; }
.choice-alt { scroll-snap-align: start; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1px 4px; padding: 5px 7px; text-align: left; color: var(--ink); min-height: 48px; border-radius: 12px; }
.choice-alt[aria-pressed="true"] { border-color: #c69352; background: #fff7e8; }
.choice-alt strong { font-size: 11px; white-space: nowrap; }
.choice-alt .amount { font-size: 20px; color: var(--ink); }
.choice-alt .occupancy { grid-column: 1 / -1; justify-self: start; color: #5d6473; background: #edf0f5; border-radius: 4px; padding: 0 4px; font-size: 9px; }
.team-presence { position: relative; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; }
.team-presence h2 { padding-left: 2px; font-size: 12px; line-height: 16px; }
.team-presence [data-share-status] { display: block; padding-left: 2px; color: var(--muted); font-size: 9px; line-height: 12px; }
.member-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(48px,1fr); overflow-x: auto; scrollbar-width: none; }
.member-strip::-webkit-scrollbar { display: none; }
.member { min-width: 0; padding: 1px 0 0; display: grid; justify-items: center; gap: 3px; color: var(--ink); background: transparent; border: 0; font-size: 9px; white-space: nowrap; }
.member .avatar { width: 27px; height: 27px; box-shadow: 0 0 0 1px var(--white); font-size: 10px; }
.member small { color: var(--muted); font-size: 9px; }
.member-detail { grid-column: 1 / -1; margin-top: 5px; padding: 8px 10px; color: var(--muted); font-size: 11px; }
.screen.is-night {
  color-scheme: dark; --canvas: #101822; --white: #17222f; --line: #2a3849; --ink: #e5dfd4; --muted: #b7b5b4;
  --navy: #e5bf83; --gold: #e6b971; --green: #a2c9b1;
  color: var(--ink);
}
.is-night .status, .is-night .topbar { color: #e5ded2; }
.is-night .topbar, .is-night .bottom { border-color: #2a3541; background: #15202c; }
.is-night .brand-mark { background: #283444; color: #e4b87c; }
.is-night .topbar .avatar { border-color: #665339; --avatar-bg: #3d3227; --avatar-ink: #e2be8c; }
.is-night .tab { color: #aeb8c3; }
.is-night .tab[aria-current="page"] { color: #edc28a; }
.is-night .tab[aria-current="page"] .tab-icon { background: #3c3127; }
.is-night .home-indicator { background: #afbccb; }
.night-badge { margin-left: auto; margin-right: 9px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; color: #d5b785; border: 1px solid #715c3f; border-radius: 99px; font-size: 10px; }
.is-night .drive-card.is-waiting { background: radial-gradient(ellipse at 100% 0%, #2a3a4e, transparent 72%),#192736; }
.is-night .drive-card.is-off-duty { background: #1b2937; border-color: #344659; color: #d7d4cf; }
.is-night .is-off-duty :is(.drive-meta,.drive-meta b,.drive-meta .icon) { color: #c3c9cd; }
.is-night .radar-card { background: radial-gradient(ellipse at 47% 70%, #182a3a, transparent 70%),#101c2b; }
.is-night .best-choice { border-color: #554637; background: radial-gradient(ellipse at 100% 0%, #46372a, transparent 74%), #272722; --number-muted: #c9ae89; }
.is-night :is(.choice-kicker,.choice-stat span:first-child,.choice-reason) { color: #d0b494; }
.is-night .choice-stat + .choice-stat { border-color: #594c3b; }
.is-night .choice-stat > :is(.measure,.amount) { color: #eddfca; }
.is-night .choice-stat:last-child .amount { color: #ecc68d; }
.is-night .navigate-main { background: linear-gradient(165deg,#e5bb7d,#cf9e5e); border-color: #be9158; box-shadow: inset 0 1px #efd2a3a0; }
.is-night .choice-alt .occupancy { background: #263547; color: #c7c3bf; }
.is-night .choice-alt[aria-pressed="true"] { background: #3b3227; }
.is-night .navigation-toast { color: #f3e5d2; background: #29374a; }
.trip-log, .data { padding: 8px 15px 6px; }
.trip-log h1, .data h1 { font-size: 27px; line-height: 32px; letter-spacing: -.65px; }
.report-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.report-heading { display: grid; gap: 1px; }
.report-header .record-date { margin-left: -3px; }
.report-header .record-date button { width: 23px; min-height: 23px; border-radius: 6px; }
.report-header .record-date output { font-size: 11px; color: var(--muted); }
.report-header > .quiet-button { min-height: 36px; align-self: start; margin-top: 2px; }
.report-hero, .finish-sheet, .personal-kpis {
  --number-muted: #d2bb97;
  color: #f6f8fb;
  border: 1px solid #263f59;
  background: radial-gradient(ellipse at 85% 0%, #2c4867, transparent 70%), linear-gradient(125deg, #1b314c, #12253c);
  box-shadow: 0 3px 9px #14284021;
}
.report-hero { position: relative; padding: 7px 13px 8px; border-radius: 18px; text-align: center; }
.goal-ring { display: grid; place-items: center; width: 149px; height: 149px; margin: 0 auto; position: relative; }
.goal-ring > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-value { position: relative; display: grid; justify-items: center; gap: 4px; }
.ring-value > span:first-child { color: #cad6e4; font-size: 11px; font-weight: 620; }
.ring-value .amount { color: #ffe0a6; font-size: 30px; letter-spacing: -.9px; }
.report-hero .ring-value .amount small:first-child { font-size: .38em; }
.report-compare, .improvement { display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; font-size: 10px; font-weight: 670; white-space: nowrap; }
.report-compare { position: absolute; top: 12px; right: 12px; padding: 3px 6px; background: #263f45; color: #b5e3c7; border: 1px solid #415b5c; }
.report-gap { margin: 0 0 9px; color: #e5eaf2; font-size: 12px; }
.report-gap .amount { color: #ffdaa0; font-size: 16px; }
.report-gap .amount small { font-size: .63em; }
.report-stats { display: grid; grid-template-columns: .88fr 1fr 1.12fr; padding-top: 8px; border-top: 1px solid #c7d7eb34; }
.report-stats div { display: grid; justify-items: center; gap: 4px; }
.report-stats div + div { border-left: 1px solid #c7d7eb26; }
.report-stats .metric-label { color: #c0cede; font-size: 10px; }
.report-stats .metric-label .icon { color: #a8c1db; }
.report-stats :is(.amount, .measure) { font-size: 22px; }
.report-stats .measure small { color: #c0cede; font-size: .52em; }
.report-section { margin-top: 8px; }
.report-section .section-title { margin: 0 0 5px 1px; }
.report-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.highlight { display: grid; justify-items: start; align-content: start; gap: 3px; min-height: 98px; padding: 7px; border-radius: 12px; }
.highlight-mark, .finish-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #85591d; background: #faecd4; }
.highlight:nth-child(2) .highlight-mark { color: #316b59; background: #e4f0e9; }
.highlight:nth-child(3) .highlight-mark { color: #456787; background: #e7eef8; }
.highlight h3 { font-size: 11px; line-height: 15px; }
.highlight :is(.amount, .measure) { font-size: 22px; }
.highlight .measure small { font-size: .48em; }
.highlight p { color: var(--muted); font-size: 9px; line-height: 13px; overflow-wrap: anywhere; }
.route-card { position: relative; overflow: hidden; border-color: #2b4058; border-radius: 15px; background: #16283e; }
.route-card canvas { display: block; width: 100%; height: 116px; }
.map-caption { position: absolute; right: 9px; bottom: 8px; padding: 5px 7px; border: 1px solid #556577; border-radius: 7px; background: #182b42; color: #ffdfaa; font-size: 14px; white-space: nowrap; }
.map-caption small { color: #dfd6c7; font-size: 10px; }
.trip-details { margin-top: 7px; }
.trip-details summary { display: flex; align-items: center; gap: 6px; min-height: 37px; padding: 0 10px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 690; }
.trip-details summary::-webkit-details-marker { display: none; }
.trip-details summary .icon { color: #58708c; }
.trip-details summary .icon:last-child { margin-left: auto; }
.trip-details[open] summary .icon:last-child { transform: rotate(90deg); }
.trip-details .timeline { border-top: 1px solid var(--line); }
.trip-log .empty-timeline { margin-top: 8px; }
.timeline-fare .amount { font-size: 17px; }
.timeline-money .fare-tag { display: inline-flex; align-items: center; gap: 3px; border-radius: 99px; }
.report-tools { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 30px; margin-top: 4px; }
.report-tools .quiet-button { margin-left: auto; }
.report-note { display: flex; align-items: center; gap: 4px; color: var(--gold); font-size: 10.5px; }
.trip-feedback { position: absolute; z-index: 4; inset: 83px 15px auto; display: flex; align-items: center; gap: 7px; width: fit-content; margin-inline: auto; padding: 9px 11px; border: 1px solid #c9e4d6; border-radius: 10px; background: #edf8f2; color: #1e644d; box-shadow: 0 3px 10px #193e4120; font-size: 11px; font-weight: 660; animation: feedback-in .22s ease-out; pointer-events: none; }
@keyframes feedback-in { from { opacity: 0; transform: translateY(-9px); } }
.finish-sheet { position: fixed; inset: auto 0 0; width: min(100%, 390px); max-width: none; max-height: 100dvh; margin: 0 auto; padding: 10px 19px 8px; border-radius: 25px 25px 0 0; overflow: auto; }
.finish-sheet[open] { animation: sheet-in .32s ease-out; }
.finish-sheet::backdrop { background: #0d192a9e; }
@keyframes sheet-in { from { transform: translateY(100%); } }
.sheet-grip { width: 35px; height: 4px; margin: 0 auto 14px; border-radius: 3px; background: #6c8097; }
.finish-heading { text-align: center; }
.finish-heading h2 { font-size: 27px; line-height: 35px; }
.finish-heading p { margin-top: 3px; color: #bdccdc; font-size: 12px; }
.finish-sheet .goal-ring { height: 184px; width: 184px; margin: 6px auto 0; }
.finish-sheet .ring-value .amount { font-size: 40px; }
.finish-goal { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 27px; margin: 0 auto 11px; color: #ffdea5; font-size: 12px; font-weight: 660; }
.finish-points { display: grid; gap: 1px; list-style: none; margin: 0 0 15px; padding: 4px 12px; border: 1px solid #ffffff21; border-radius: 13px; background: #101f3339; }
.finish-points li { display: flex; align-items: center; gap: 10px; min-height: 42px; color: #e5edf6; font-size: 12px; }
.finish-points li + li { border-top: 1px solid #ffffff16; }
.finish-mark { color: #ffcf81; background: #485041; }
.finish-points li:nth-child(2) .finish-mark { color: #a5d9bc; background: #284747; }
.finish-points li:nth-child(3) .finish-mark { color: #adcef1; background: #30465c; }
.finish-points .amount { font-size: 16px; }
.finish-points .amount small { font-size: .65em; }
.finish-actions { display: grid; grid-template-columns: 1.65fr 1fr; gap: 9px; }
.finish-actions button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; border-radius: 11px; font-size: 14px; font-weight: 700; }
.finish-share { color: #392504; background: linear-gradient(#ffdc9c,#eab76b); border: 1px solid #efc885; }
.finish-close { color: #edf3fa; background: #263b53; border: 1px solid #536a83; }
.finish-feedback { color: #f5d7a4; font-size: 11px; text-align: center; }
.finish-feedback:not(:empty) { margin-top: 6px; }
.finish-sheet .home-indicator { display: block; margin: 15px auto 0; background: #b7c4d4; }
.goal-particles { position: absolute; inset: 0; pointer-events: none; }
.goal-particles i { position: absolute; top: 50%; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: #ffda93; opacity: 0; animation: goal-particle .85s ease-out; }
@keyframes goal-particle {
  12% { opacity: .85; transform: rotate(var(--angle)) translateX(72px); }
  to { opacity: 0; transform: rotate(var(--angle)) translateX(var(--distance)); }
}
.data h1 { margin: 0 0 6px; }
.personal-kpis { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; padding: 11px 13px 9px; margin-bottom: 9px; }
.personal-kpis .metric-label { color: #cbd9e9; }
.personal-kpis .metric-label .icon { color: #ffcf86; }
.personal-income { grid-column: 1 / -1; display: grid; justify-items: start; gap: 5px; padding-bottom: 10px; margin-bottom: 9px; border-bottom: 1px solid #c7d7eb34; }
.personal-income .amount { color: #ffe0a6; font-size: 42px; letter-spacing: -.65px; }
.personal-stat { display: grid; align-content: start; gap: 5px; }
.personal-stat + .personal-stat { border-left: 1px solid #c7d7eb26; padding-left: 12px; }
.personal-stat :is(.amount, .measure) { font-size: 25px; }
.personal-stat .measure small { color: #cbd9e9; }
.data[data-scope="mine"] .axis-y, .data[data-scope="mine"] .bars { height: 109px; }
.data[data-scope="mine"] .heat-grid .cell { height: 16px; }
.data[data-scope="mine"] .chart-card { margin-bottom: 8px; }
.my-rank { flex-wrap: wrap; }
.improvement { padding: 3px 6px; margin-left: auto; background: #e8f4ed; color: #24634d; }
.rank-name { display: flex; align-items: center; gap: 4px; }
.rank-name .improvement { margin-left: 0; font-size: 9px; padding: 2px 4px; }
.rank-rate .amount, .location-rate .amount { font-size: 15px; }
.rank-rate .amount small, .location-rate .amount small { font-size: .64em; }
.is-night :is(.quiet-button, .filter) { background: #1b2838; border-color: #394758; color: var(--ink); }
.is-night .filter button { color: #b9c3cf; }
.is-night .filter button[aria-pressed="true"] { color: #edc28a; background: #3c3127; }
.is-night :is(.axis-y, .axis-x, .heat-grid .day, .heat-grid .slot, .timeline-row > .icon, .trip-details summary .icon) { color: #b9c3cf; }
.is-night .axis-x .last { color: #edc28a; }
.is-night .bars { background: repeating-linear-gradient(to bottom, #344252 0 1px, transparent 1px calc(100% / 3)); border-color: #344252; }
.is-night .h0 { --heat: #334253; }
.is-night .h1 { --heat: #624b35; }
.is-night .h2 { --heat: #906b43; }
.is-night .h3 { --heat: #ae814c; }
.is-night .h4 { --heat: #d2a56b; }
.is-night :is(.highlight-mark, .improvement, .my-rank .step-icon) { background: #3d3227; color: #e6be88; }
.is-night .highlight:nth-child(2) .highlight-mark { background: #24423c; color: #9dcbbb; }
.is-night .highlight:nth-child(3) .highlight-mark { background: #2b4059; color: #b0c9e4; }
.is-night .timeline-row + .timeline-row::before { border-color: var(--line); }
@media (max-width: 359px) {
  .trip-log, .data { padding-inline: 11px; }
  .report-compare { right: 7px; }
  .highlight { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .finish-sheet[open], .trip-feedback, .goal-particles i { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .radar-here::after { animation: none; } }
/* 车队会话 */
.tab-icon { position: relative; }
.chat-unread {
  display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 99px; background: #c94143; color: #fff; font: 750 10px/1 var(--display-font);
}
.tab-icon .chat-unread { position: absolute; top: -3px; right: 0; border: 2px solid var(--white); height: 18px; }
.chat-top {
  display: flex; align-items: center; justify-content: space-between; gap: 9px;
  width: 100%; min-width: 0;
}
.chat-back, .chat-mode {
  display: grid; place-items: center; flex: none; width: 31px; height: 31px; padding: 0; border-radius: 9px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none;
}
.chat-mode[aria-pressed="true"] { color: #5a3814; background: #f9e9ce; border-color: #e5c491; }
.chat-heading { min-width: 0; flex: 1; }
.chat-heading h1 { font-size: 17px; line-height: 21px; letter-spacing: -.25px; }
.chat-heading p { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10.5px; line-height: 14px; }
.chat-heading p::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #398c69; }
.chat-avatars { display: flex; align-items: center; gap: 4px; }
.chat-avatars .avatar, .chat-person .avatar, .chat-thread .avatar { border: 2px solid var(--team-state); }
.topbar .chat-avatars .avatar { width: 24px; height: 24px; border: 2px solid var(--team-state); font-size: 9px; }
.chat-list { padding: 13px 15px; }
.chat-list .page-head { margin-bottom: 12px; }
.chat-thread-list { overflow: hidden; border-radius: 17px; }
.chat-thread {
  display: grid; grid-template-columns: 41px minmax(0, 1fr) auto; align-items: center; gap: 11px;
  padding: 12px; min-height: 69px; color: var(--ink); text-decoration: none;
}
.chat-thread + .chat-thread { border-top: 1px solid var(--line); }
.chat-thread .avatar { width: 39px; height: 39px; font-size: 15px; }
.chat-thread-name { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.chat-thread-preview { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; margin-top: 3px; }
.chat-thread-meta { display: grid; justify-items: end; gap: 4px; font-size: 10px; color: var(--muted); }
.chat-thread-group { background: radial-gradient(ellipse at 95% 0%, #253c55, transparent 80%), #15263b; color: #f0f4fa; }
.chat-thread-group :is(.chat-thread-preview, .chat-thread-meta) { color: #c0cfdf; }
.chat-thread-group .avatar { background: #2c425c; color: #ffd18a; border: 1px solid #69717a; border-radius: 11px; }
.thread-pin { color: #ffd18a; font-size: 10px; font-weight: 600; }
.chat {
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
  --chat-border: #d9e3ef; --chat-own: #fff1d9; --chat-own-line: #eed6af;
  --chat-own-ink: #63441e; --chat-muted: #526782;
}
.is-night .chat {
  --chat-border: #34485e; --chat-own: #3b2e24; --chat-own-line: #604a34;
  --chat-own-ink: #f5d9ad; --chat-muted: #b0c0d2;
}
.chat-log {
  flex: 1; min-height: 0; overflow: auto; scrollbar-width: none; display: flex; flex-direction: column;
  align-items: stretch; gap: 9px; padding: 11px 15px 11px;
}
.chat-log::-webkit-scrollbar { display: none; }
.chat-log > * { flex: none; }
.chat-time { align-self: center; color: var(--muted); font-size: 10.5px; line-height: 15px; }
.chat-message { display: flex; align-items: start; gap: 7px; }
.chat-person .avatar { width: 30px; height: 30px; font-size: 11px; }
.chat-speaker { display: block; margin: 0 0 3px 2px; color: var(--chat-muted); font-size: 10.5px; font-weight: 620; line-height: 14px; }
.chat-message-body { max-width: calc(100% - 37px); min-width: 0; }
.chat-message.own { flex-direction: row-reverse; }
.chat-message.own .chat-speaker { text-align: right; margin-right: 2px; }
.chat-bubble {
  background: var(--white); border: 1px solid var(--chat-border); border-radius: 4px 12px 12px 12px;
  padding: 8px 10px; font-size: 12px; overflow-wrap: anywhere;
}
.own .chat-bubble { background: var(--chat-own); border-color: var(--chat-own-line); color: var(--chat-own-ink); border-radius: 12px 4px 12px 12px; }
.chat-text { padding: 6px 10px; }
.chat-photo { display: block; max-width: 100%; max-height: 180px; border-radius: 8px; }
.voice-bubble { width: min(248px, 100%); }
.voice-play {
  display: flex; align-items: center; gap: 8px; padding: 0; border: 0; width: 100%;
  color: var(--ink); background: transparent; font-size: 14px; font-weight: 750; text-align: left;
}
.voice-play-icon { display: grid; place-items: center; width: 25px; height: 25px; flex: none; border-radius: 50%; background: #e8eff7; color: #274666; }
.own .voice-play-icon { background: #f7e2be; color: #6c491c; }
.voice-wave { display: flex; align-items: center; gap: 3px; height: 24px; color: #7593af; overflow: hidden; }
.voice-wave i { flex: none; width: 2px; height: var(--height); border-radius: 99px; background: currentColor; }
.voice-wave i:nth-child(-n+10) { color: #416485; }
.voice-play[aria-pressed="true"] .voice-wave { color: #bc8c44; }
.voice-play[aria-pressed="true"] .voice-wave i:nth-child(-n+10) { color: #896024; }
.voice-unheard { width: 6px; height: 6px; border-radius: 50%; background: #d74645; margin-left: auto; flex: none; }
.voice-caption { margin-top: 4px; color: var(--chat-muted); font-size: 12px; line-height: 16px; }
.chat-update {
  display: flex; align-items: center; gap: 8px; padding: 7px 9px; min-height: 42px;
  border-radius: 11px; text-decoration: none; color: var(--ink); font-size: 12px;
}
.chat-update > span:nth-child(2) { flex: 1; }
.chat-update small { font-size: 10.5px; color: var(--muted); }
.chat-update-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: #e9f0fa; color: #31557a; flex: none; }
.chat-achievement .chat-update-icon { background: #faedd5; color: #805316; }
.chat-achievement .chat-avatars { gap: 0; justify-content: start; margin-top: 3px; }
.chat-achievement .avatar { width: 18px; height: 18px; font-size: 7px; box-shadow: 0 0 0 1px var(--white); }
.chat-achievement .avatar + .avatar { margin-left: -1px; }
.chat-achievement .chat-avatars small { margin-left: 6px; }
.chat-event { border: 1px solid; border-radius: 15px; padding: 9px 11px; }
.chat-hazard {
  color: #f1f5fb; border-color: #334b63;
  background: radial-gradient(circle at 94% 17%, #2b4159, transparent 42%), #16283e;
}
.chat-event-kicker { display: flex; justify-content: space-between; align-items: center; gap: 5px; color: #ffda9e; font-size: 11px; font-weight: 700; }
.chat-event-kicker > span { display: inline-flex; align-items: center; gap: 5px; }
.chat-event-kicker time { color: #c7d5e3; font-size: 10px; font-weight: 500; white-space: nowrap; }
.chat-event h2 { margin-top: 3px; font-size: 14px; line-height: 18px; }
.chat-event p { font-size: 10.5px; }
.hazard-footer { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.hazard-footer p { flex: 1; color: #c4d4e5; }
.chat-action {
  display: inline-flex; justify-content: center; align-items: center; gap: 4px; min-height: 27px; padding: 2px 7px;
  border: 1px solid #e1bb7d; border-radius: 7px; background: #f9d496;
  color: #493117; font-size: 10.5px; line-height: 15px; font-weight: 720; white-space: nowrap; text-decoration: none;
}
.chat-action.confirm { background: #243a51; border-color: #4a6078; color: #e1ecf9; }
.chat-action.confirm[aria-pressed="true"] { border-color: #e1bb7d; color: #ffd696; }
.chat-report {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border-radius: 4px 12px 12px 12px; border: 1px solid #344c68; padding: 7px 11px;
  min-height: 64px; width: min(238px, 100%); background: radial-gradient(ellipse at 93% 0%, #2c455f, transparent 83%), #15263d;
  color: #ffe0a7;
}
.chat-report p { display: flex; align-items: center; gap: 5px; margin-bottom: 2px; color: #d0dceb; font-size: 10px; }
.chat-report .amount { font-size: 30px; --number-muted: #ebc687; }
.chat-report-ring {
  display: grid; place-items: center; position: relative; width: 44px; height: 44px; color: #ffe1a6;
  background: conic-gradient(#ffe0a0, #dba153 72%, #ffe0a0); border-radius: 50%; font-size: 10px; font-weight: 750; flex: none;
}
.chat-report-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #233a53; }
.chat-report-ring b { z-index: 1; }
.chat-composer { flex: none; border-top: 1px solid var(--line); background: var(--white); padding: 7px 15px 6px; }
.chat-quick {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; padding-bottom: 7px;
}
.chat-quick button {
  display: grid; place-items: center; align-content: center; gap: 3px; min-height: 48px; padding: 3px 1px;
  background: var(--canvas); color: var(--ink); border: 1px solid var(--chat-border); border-radius: 11px;
  font-size: 10.5px; letter-spacing: -.15px; font-weight: 650; white-space: nowrap;
}
.chat-quick button .icon { color: var(--gold); }
.chat-controls { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 17px; min-height: 92px; }
.chat-side {
  justify-self: end; display: grid; place-items: center; align-content: center; gap: 2px; width: 47px; height: 43px;
  padding: 0; background: var(--canvas); color: var(--ink); border: 1px solid var(--chat-border); border-radius: 11px; font-size: 10px;
}
.chat-side.keyboard { justify-self: start; }
.chat-side[aria-expanded="true"] { background: #f8e9cf; border-color: #e9cb9d; color: #69481f; }
.chat-mic {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; width: 82px; height: 82px;
  padding: 0; border-radius: 50%; border: 1px solid #b87e32; background: radial-gradient(circle at 43% 22%, #ffe1a2, #f3bb66 69%, #df9a3f);
  color: #493016; box-shadow: inset 0 0 0 3px #ffe6b599, 0 0 0 4px #9e6b2526, 0 3px 11px #b27c3b45;
  font-size: 12px; font-weight: 760; touch-action: none; user-select: none; -webkit-user-select: none;
}
.chat-mic[data-holding] { background: #f7ab4c; box-shadow: inset 0 0 0 3px #ffe6b599, 0 0 0 6px #edb65b52; }
.chat-sos {
  position: absolute; align-self: end; justify-self: start; padding: 1px 5px;
  border: 1px solid #c3565b; border-radius: 6px; background: var(--white); color: #b12e38;
  font-size: 10px; font-weight: 790; touch-action: none; user-select: none; -webkit-user-select: none;
}
.is-night .chat-sos { color: #ffb0ae; }
.chat-sos[data-holding] { background: linear-gradient(90deg, #fbd5d6 var(--hold, 0%), var(--white) var(--hold, 0%)); }
.chat-typing { display: flex; gap: 6px; padding: 5px 0 7px; }
.chat-typing input { min-width: 0; flex: 1; padding: 7px 9px; border: 1px solid var(--chat-border); border-radius: 8px; background: var(--canvas); color: var(--ink); font: inherit; }
.chat-typing button { min-width: 35px; min-height: 35px; }
.chat-driving-banner {
  display: flex; align-items: center; gap: 9px; margin: 9px 15px 0; padding: 10px 12px;
  border-radius: 14px; border: 1px solid #324b65; background: linear-gradient(100deg, #182b42, #25415d);
  color: #ffdc9e; font-size: 14px; font-weight: 740;
}
.chat-driving .chat-log { gap: 14px; padding-top: 12px; }
.chat-driving .chat-message { gap: 9px; }
.chat-driving .chat-person .avatar { width: 39px; height: 39px; font-size: 14px; }
.chat-driving .chat-speaker { font-size: 12px; margin-bottom: 5px; }
.chat-driving .voice-bubble { width: min(285px, 100%); padding: 11px 13px; }
.chat-driving .voice-play { min-height: 42px; gap: 10px; font-size: 20px; }
.chat-driving .voice-play-icon { width: 38px; height: 38px; }
.chat-driving .voice-wave { gap: 4px; }
.chat-driving .voice-caption { font-size: 13px; line-height: 18px; margin-top: 5px; }
.chat-driving .chat-composer {
  margin: 0 15px 10px; padding: 0; border: 1px solid #36516a; border-radius: 18px;
  background: radial-gradient(ellipse at 50% 62%, #2b435e, transparent 70%), #142438;
}
.chat-driving .chat-controls { display: grid; grid-template-columns: 1fr; place-items: center; min-height: min(31dvh, 254px); overflow: hidden; }
.chat-driving .chat-controls::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at center, transparent 0 26px, #abc6e020 27px 28px, transparent 29px 35px),
    linear-gradient(90deg, transparent calc(50% - .5px), #9cb5cf2b 50%, transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), #9cb5cf2b 50%, transparent calc(50% + .5px));
}
.chat-driving .chat-mic { width: 148px; height: 148px; gap: 7px; font-size: 17px; box-shadow: inset 0 0 0 4px #ffe6b599, 0 0 0 6px #ffc26932, 0 0 25px #ffc26959; }
.chat-sos-log { gap: 10px; }
.sos-card { overflow: hidden; border-color: #a05b64; background: #1d273b; color: #f8f0f2; padding: 0; }
.sos-card header { display: grid; gap: 4px; padding: 11px 12px 10px; background: linear-gradient(110deg, #42242e, #2a283b); }
.sos-card .chat-event-kicker { color: #ffc7c6; }
.sos-card h2 { font-size: 20px; line-height: 25px; margin-top: 0; }
.sos-map { position: relative; height: 135px; overflow: hidden; background: #17273b; }
.sos-map canvas { display: block; width: 100%; height: 100%; }
.sos-live { position: absolute; top: 9px; left: 9px; background: #182337; color: #f7e0e3; border: 1px solid #895866; border-radius: 6px; padding: 3px 6px; }
.sos-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; background: #ff8885; }
.sos-location { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 9px 11px 0; color: #e3eaf3; font-size: 12px; }
.sos-location > span:first-child { display: flex; align-items: center; gap: 4px; }
.sos-location .icon { color: #ffb6b6; }
.sos-location small { color: #bcc9da; white-space: nowrap; font-size: 10px; }
.sos-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px 11px 11px; }
.sos-actions .chat-action { min-height: 42px; border-radius: 9px; font-size: 13px; }
.sos-actions .chat-call { color: #ffe9ea; background: #69313d; border-color: #b26d78; }
.member-voice { display: inline-flex; min-height: 30px; margin-left: 6px; }
.radar-hazard {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 19px; height: 19px; padding: 0; border: 1px solid #ffbb9c; border-radius: 50%; background: #63333d; color: #ffd0b8; z-index: 3;
  box-shadow: 0 0 0 3px #e47f6c35;
}
@media (max-width: 350px) {
  .chat-quick button { font-size: 9px; }
  .chat-controls { gap: 10px; }
  .chat-avatars { gap: 2px; }
}
.screen.is-guest { grid-template-rows: 33px 47px minmax(0, 1fr); background: #f5f6f8; }
.guest-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.guest-top .brand-mark { background: #f8ebd6; color: #83541e; box-shadow: none; }
.guest-top button { min-width: 44px; min-height: 31px; justify-content: center; font-weight: 720; }
.guest-booking { display: flex; flex-direction: column; gap: 10px; padding: 10px 15px 0; }
.guest-profile {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 13px;
  padding: 15px; border-radius: 18px; color: #f4f7fc; border: 1px solid #263f59;
  background: radial-gradient(ellipse at 100% 0%, #2e4a68, transparent 77%), #142940;
  box-shadow: 0 3px 9px #14284021;
}
.guest-profile .avatar { width: 58px; height: 58px; border: 2px solid #f7c779; box-shadow: 0 0 0 4px #edbc6d25; font-size: 23px; }
.guest-profile h2 { font-size: 21px; line-height: 27px; }
.guest-profile p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 2px; color: #d5e1ef; font-size: 12px; }
.guest-profile p + p { color: #ffdea5; margin-top: 5px; }
.guest-form { display: contents; }
.guest-fields { display: grid; gap: 10px; }
.guest-group { display: grid; gap: 8px; border-radius: 17px; padding: 11px 12px; }
.guest-group h2 { margin-bottom: 1px; }
.guest-group h2 .icon { color: #8c5a20; }
.guest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.guest-field { display: grid; align-content: start; gap: 4px; min-width: 0; color: #455870; font-size: 11.5px; font-weight: 650; }
.guest-field :is(input, select, textarea) {
  appearance: none; width: 100%; min-width: 0; height: 39px; padding: 0 10px;
  background: #f6f8fb; color: #172c45; border: 1px solid #dfe7f0; border-radius: 9px;
  font: 500 16px/1.15 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
.guest-field :is(input, select, textarea):focus-visible { outline: 2px solid #b77a30; outline-offset: 1px; }
.guest-field :is(input, textarea)::placeholder { color: #65758a; }
.guest-field input::-webkit-date-and-time-value { text-align: left; }
.guest-field input::-webkit-calendar-picker-indicator { margin: 0; padding: 0; }
.guest-field textarea { padding-top: 9px; resize: vertical; }
.guest-optional { font-size: 10px; color: #697b90; font-weight: 500; }
.guest-select { position: relative; }
.guest-select select { padding-right: 28px; }
.guest-select .icon { position: absolute; top: 13px; right: 9px; pointer-events: none; }
.guest-destinations { display: flex; flex-wrap: wrap; gap: 5px; margin-top: -2px; }
.guest-destinations button { min-height: 29px; padding: 3px 11px; border: 1px solid #e8d5b2; border-radius: 99px; background: #fdf5e6; color: #754b21; font-size: 11px; font-weight: 670; }
.guest-footer { position: sticky; bottom: 0; z-index: 2; margin: auto -15px 0; padding: 9px 15px max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e0e6ee; }
.booking-cta { min-height: 47px; }
.guest-footer .home-indicator { display: block; margin: 10px auto 0; }
.guest-success { padding: 28px 18px; text-align: center; }
.guest-success > .icon { box-sizing: content-box; padding: 11px; color: #21644b; background: #e6f3eb; border-radius: 50%; }
.guest-success h2 { margin: 10px 0 4px; font-size: 23px; }
.guest-success p { color: var(--muted); }
.guest-success button { margin: 16px auto 0; }

.bookings { padding: 4px 0 1px; }
.booking-heading { min-height: 38px; margin-bottom: 5px; padding-inline: 2px; }
.booking-heading h2 { font-size: 20px; line-height: 26px; font-weight: 740; }
.booking-private, .booking-preview-link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.booking-private { color: var(--muted); font-size: 10px; }
.booking-preview-link { min-height: 34px; margin-left: auto; color: var(--ink); padding-inline: 8px; text-decoration: none; font-size: 11px; }
.booking-list { display: grid; gap: 7px; }
.booking-reminder { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 10px; border: 1px solid #ead4aa; border-radius: 10px; color: #734919; background: #fff2da; font-size: 11px; }
.booking-reminder span { margin-left: auto; }
.booking-card { padding: 10px 12px 7px; border-radius: 15px; }
.booking-card.is-next { background: radial-gradient(ellipse at 100% 0%, #faedd7, transparent 75%), #fffbf3; border-color: #e8d4ae; }
.booking-card .card-head { justify-content: flex-start; gap: 7px; }
.booking-time { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.booking-time span { font-size: 13px; }
.booking-time strong { font-size: 24px; letter-spacing: -.5px; line-height: 28px; }
.booking-amount { margin-left: auto; white-space: nowrap; }
.booking-amount .amount { font-size: 24px; }
.booking-tag { padding: 2px 6px; border-radius: 6px; color: #455b75; background: #ebeff5; font-size: 10px; font-weight: 680; white-space: nowrap; }
.booking-tag.confirmed { color: #1d654e; background: #e5f1e9; }
.booking-tag.pending { color: #78501c; background: #f9e8c8; }
.booking-tag.incoming { color: #2e5178; background: #e7eef8; }
.booking-route { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 2px; font-size: 14px; font-weight: 690; }
.booking-route .icon { color: #8b5d25; }
.booking-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 3px; }
.booking-details { color: var(--muted); font-size: 11px; }
.booking-actions { display: flex; gap: 4px; flex: none; }
.booking-action { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 32px; padding: 4px 8px; border: 1px solid #d7e0ec; border-radius: 8px; background: #fff; color: #284463; font-size: 11px; font-weight: 670; white-space: nowrap; }
.booking-action.send { color: #784d21; border-color: #e6cda4; background: #fff4de; }
.booking-action.accept { color: #fff; background: #1c3552; border-color: #1c3552; }
.booking-action:disabled { opacity: .55; cursor: default; }
.booking-feedback { margin: 0 2px 6px; color: var(--green); font-size: 12px; }
.is-night .booking-card.is-next { background: #2b2925; border-color: #5e4c38; }
.is-night .booking-reminder { background: #3d3328; border-color: #5e4c38; color: #f0d2a1; }
.is-night .booking-action:not(.send) { background: #233449; color: #e3edf8; border-color: #465b71; }

.booking-sheet {
  position: fixed; inset: auto 0 0; width: min(100%, 390px); max-width: none; max-height: 90dvh; margin: 0 auto;
  padding: 7px 15px max(7px, env(safe-area-inset-bottom)); color: #16283e; background: #f9fbfe;
  border: 1px solid #d9e3ef; border-bottom: 0; border-radius: 23px 23px 0 0; box-shadow: 0 -9px 35px #101f3b30;
}
.booking-sheet::backdrop { background: linear-gradient(#0f213b24, #0f213b62) center / min(100%, 390px) 100% no-repeat; }
.booking-sheet .sheet-grip { margin-bottom: 5px; background: #b6c2d1; }
.booking-sheet h2 { font-size: 21px; line-height: 28px; }
.booking-sheet header p { margin-top: 2px; color: #55677d; font-size: 11px; }
.booking-sheet-close { align-self: flex-start; min-height: 31px; }
.booking-recipients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 6px 0; padding: 0; border: 0; }
.booking-recipient { display: grid; grid-template-columns: 29px minmax(0, 1fr) 13px; align-items: center; gap: 5px; min-height: 44px; padding: 5px 6px; background: white; border: 1px solid #dfe7f0; border-radius: 10px; cursor: pointer; }
.booking-recipient:has(:checked) { background: #fff5e3; border-color: #c78d42; }
.booking-recipient .avatar { width: 28px; height: 28px; border: 2px solid var(--team-state); }
.booking-recipient strong, .booking-recipient small { display: block; }
.booking-recipient strong { font-size: 12px; }
.booking-recipient small { white-space: nowrap; font-size: 9px; color: #52657e; }
.booking-recipient input { margin: 0; width: 13px; height: 13px; accent-color: #87551c; }
.booking-sheet .booking-cta { min-height: 44px; }
.booking-sheet .home-indicator { display: block; margin: 7px auto 1px; }
.income-split { color: #ccdaeb; font-size: 11px; line-height: 16px; letter-spacing: .12px; }
.report-hero .income-split { margin: -1px 0 5px; }
