:root {
  color-scheme: light;
  --ink: #16201c;
  --muted: #65736c;
  --subtle: #8a9790;
  --page: #edf2ef;
  --panel: #ffffff;
  --line: #dfe6e2;
  --line-strong: #c6d3cd;
  --green: #106b4b;
  --green-soft: #e5f2ed;
  --teal: #17857e;
  --blue: #275c94;
  --amber: #a26116;
  --amber-soft: #fff4df;
  --red: #b84242;
  --shadow: 0 14px 32px rgba(24, 36, 31, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 16% 18%, rgba(16, 107, 75, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(39, 92, 148, 0.1), rgba(23, 133, 126, 0.1)),
    #e8efec;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

button:focus {
  outline: none;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 138, 138, 0.22);
  outline-offset: 2px;
}

.phone-shell {
  position: relative;
  width: min(430px, 100vw);
  min-height: 100vh;
  padding: 0 14px 96px;
  background:
    linear-gradient(180deg, #d8e8e2 0, var(--page) 252px, var(--page) 100%);
  overflow-x: hidden;
  overflow-y: auto;
}

.phone-shell.secondary-view {
  padding-bottom: 24px;
}

@media (min-width: 520px) {
  .phone-shell {
    min-height: 860px;
    max-height: 92vh;
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(23, 33, 29, 0.24);
    overflow: auto;
  }
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 10px;
  margin: 0 -14px;
  padding: 18px 16px 12px;
  background:
    linear-gradient(180deg, rgba(232, 244, 239, 0.98), rgba(232, 244, 239, 0.84)),
    #e8f4ef;
  backdrop-filter: blur(16px);
}

.back-button {
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(18, 80, 61, 0.1);
}

.back-button {
  width: 44px;
  font-size: 30px;
  line-height: 30px;
}

.back-button[hidden] {
  display: block;
  visibility: hidden;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 950;
}

.content {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.panel,
.card,
.ride-card,
.order-card,
.profile-hero,
.wallet-card,
.upload-box,
.section-title {
  background: var(--panel);
  border: 1px solid rgba(223, 231, 227, 0.95);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 33, 29, 0.03), 0 8px 22px rgba(23, 33, 29, 0.05);
}

.panel,
.card,
.ride-card,
.order-card,
.profile-hero,
.wallet-card,
.upload-box,
.section-title {
  padding: 14px;
}

.home-focus,
.orders-toolbar,
.driver-workbench {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-focus {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(22, 32, 28, 0.96), rgba(16, 107, 75, 0.92)),
    #16201c;
}

.home-focus-head,
.orders-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.home-focus .mini-button {
  color: var(--green);
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  flex: 0 0 auto;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.hero-title {
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 950;
}

.hero-line {
  max-width: 250px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.hero-line strong {
  color: #ffffff;
  font-weight: 950;
}

.home-focus .search-row {
  grid-template-columns: 1fr 64px;
}

.home-focus .search-button {
  width: 64px;
  box-shadow: none;
  background: #ffffff;
  color: var(--green);
}

.location-line {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.home-filter-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.filter-section {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.filter-section.wide {
  grid-column: 1 / -1;
}

.filter-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.segmented,
.sort-toggle,
.check-pair {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.segmented button,
.sort-toggle button {
  flex: 1;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  padding: 0 6px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.segmented.small-segmented button {
  padding: 0 6px;
}

.segmented button.active,
.sort-toggle button.active {
  color: var(--ink);
  background: #ffffff;
}

.home-focus .radius-select {
  width: 100%;
  min-width: 0;
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.home-focus .radius-select option {
  color: var(--ink);
  background: #ffffff;
}

.home-focus .radius-select-label {
  width: 100%;
}

.home-focus .radius-select-label::after {
  border-color: #ffffff;
}

.home-focus .filter-check {
  flex: 1;
  min-height: 30px;
  margin-top: 0;
  padding: 0 7px;
  border: 0;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
}

.home-focus .filter-check input {
  width: 16px;
  height: 16px;
}

.follow-notice {
  padding: 9px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.summary-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.summary-value {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.settlement-guide,
.profile-cta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.settlement-guide div,
.profile-cta button {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(23, 33, 29, 0.04);
}

.settlement-guide span,
.profile-cta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.settlement-guide strong,
.profile-cta strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  align-items: center;
}

.search-input,
.field,
.textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #fbfdfc;
  color: var(--ink);
}

.search-input,
.field {
  height: 44px;
  padding: 0 12px;
}

.textarea {
  min-height: 78px;
  padding: 10px 12px;
  resize: vertical;
}

.search-input:focus,
.field:focus,
.textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 116, 81, 0.12);
}

.primary,
.secondary,
.ghost,
.danger,
.search-button,
.direction,
.segment-button,
.mini-button {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.primary,
.search-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(18, 116, 81, 0.22);
}

.primary:disabled {
  color: #8a968f;
  background: #e5ebe8;
  border-color: #d7e0dc;
  box-shadow: none;
  cursor: not-allowed;
}

.secondary {
  color: var(--green);
  background: #ffffff;
  border-color: var(--line-strong);
}

.ghost {
  color: var(--muted);
  background: #ffffff;
  border-color: var(--line);
}

.danger {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.search-button {
  width: 72px;
  height: 44px;
}

.filters,
.tabs,
.segment,
.actions,
.button-row,
.stats {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filters {
  margin-top: 12px;
  font-size: 13px;
}

.radius {
  color: var(--muted);
  margin-right: auto;
  white-space: nowrap;
}

.radius-select-label {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.radius-select-label::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #44514b;
  border-bottom: 2px solid #44514b;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.radius-select {
  min-width: 104px;
  height: 40px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 34px 0 14px;
  color: var(--ink);
  background: #f7faf8;
  font-size: 15px;
  font-weight: 900;
}

.direction,
.segment-button {
  min-width: 44px;
  color: #44514b;
  background: #f7faf8;
  border-color: var(--line);
}

.direction.active,
.segment-button.active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.menu-icon,
.avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 900;
}

.result-strip {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 13px;
}

.result-strip span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.result-strip strong {
  color: var(--green);
  white-space: nowrap;
}

.muted,
.line,
.meta,
.distance,
.note,
.notice,
.empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.empty {
  padding: 34px 0;
  text-align: center;
}

.empty-action {
  padding: 22px 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  font-weight: 760;
}

.ride-list,
.list,
.form {
  display: grid;
  gap: 10px;
}

.ride-card,
.order-card {
  text-align: left;
  color: inherit;
}

button.ride-card,
button.order-card,
button.menu-row,
button.profile-link {
  width: 100%;
  border-color: rgba(223, 231, 227, 0.95);
}

.ride-card:hover,
.order-card:hover,
.menu-row:hover,
.profile-link:hover {
  border-color: var(--line-strong);
}

.ride-card.urgent-60 {
  background: #fff8ed;
  border-color: #f4d9ad;
}

.ride-card.urgent-45 {
  background: #fff0df;
  border-color: #f1bf82;
}

.ride-card.urgent-30 {
  background: #ffe9e4;
  border-color: #efa899;
}

.ride-card.urgent-10 {
  background: #ffe1dc;
  border-color: #d96f63;
  box-shadow: 0 8px 18px rgba(185, 60, 60, 0.12);
}

.departure-alert {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #8f2d25;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(185, 60, 60, 0.16);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 850;
}

.departure-alert.detail {
  background: #fff2ee;
}

.ride-main,
.order-head,
.card-head,
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.driver-block,
.profile-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.avatar.large {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.driver,
.title,
.name {
  font-size: 16px;
  font-weight: 850;
  line-height: 1.35;
}

.driver-block > div,
.order-head > div {
  min-width: 0;
}

.price {
  color: var(--green);
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.price span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
}

.ride-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f7faf8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ride-summary-row span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.status,
.amount-inline {
  color: var(--green);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.status span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.order-markers {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 6px;
}

.direction-badge {
  min-width: 54px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 6px 14px rgba(23, 33, 29, 0.12);
}

.direction-badge.inbound {
  background: var(--green);
}

.direction-badge.outbound {
  background: var(--blue);
}

.status.amber,
.status-pill.amber {
  color: var(--amber);
}

.status.red {
  color: var(--red);
}

.status.green {
  color: var(--green);
}

.order-card {
  display: grid;
  gap: 10px;
}

.order-card .line {
  margin-top: 3px;
}

.order-card .order-next {
  margin-top: 0;
}

.order-next span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 760;
}

.order-actions {
  display: grid;
  gap: 8px;
}

.order-primary {
  width: 100%;
  min-height: 42px;
}

.order-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.order-secondary-actions .mini-button {
  width: 100%;
}

.order-quiet-hint {
  padding: 8px 10px;
  border-radius: 8px;
  color: #8c2f1d;
  background: #ffe9df;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 850;
}

.pay-code-box,
.group-pay-card,
.driver-contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #d7e5dd;
  border-radius: 8px;
  background: #f7fcf9;
}

.group-pay-card {
  grid-template-columns: auto 1fr;
  margin-top: 0;
}

.driver-contact-card {
  grid-template-columns: 1fr;
  background: #f2fbf5;
  border-color: #bfe0cb;
}

.driver-contact-card.locked {
  background: #f7faf8;
  border-color: var(--line);
}

.driver-contact-card.compact {
  margin-top: 12px;
}

.contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.contact-head strong,
.driver-contact-card strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.contact-head span,
.driver-contact-card span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.contact-head em {
  flex-shrink: 0;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.contact-button {
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.contact-line,
.contact-code {
  color: #32463c;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.contact-code {
  padding: 8px 10px;
  border-radius: 8px;
  color: #123a2c;
  background: #ffffff;
}

.pay-code-visual {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 46%, rgba(22, 32, 28, 0.12) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(22, 32, 28, 0.12) 46% 54%, transparent 54%),
    #ffffff;
}

.pay-code-visual.small {
  width: 58px;
  height: 58px;
}

.pay-code-visual span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.pay-code-visual strong {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1;
}

.pay-code-box strong,
.group-pay-card strong,
.pay-code-box span,
.group-pay-card span,
.pay-code-box em,
.group-pay-card em {
  display: block;
}

.pay-code-box strong,
.group-pay-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.pay-code-box span,
.group-pay-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pay-code-box em,
.group-pay-card em {
  margin-top: 4px;
  color: var(--subtle);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 10px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  font-size: 13px;
  font-weight: 800;
}

.route-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.route-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: #dbe7e1;
}

.route-stop {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  min-width: 0;
}

.route-dot {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green);
  border: 4px solid var(--green-soft);
}

.route-dot.end {
  background: var(--blue);
  border-color: #e5edf6;
}

.route-stop strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.route-stop span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.compact-route {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #f7faf8;
  color: var(--ink);
  font-size: 14px;
}

.compact-route span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-route span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 2px;
}

.compact-route span + span::before {
  background: var(--blue);
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #edf2ef;
}

.chip,
.soft-tag {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.chip {
  color: var(--green);
  background: var(--green-soft);
}

.soft-tag {
  color: #53615a;
  background: #f4f7f5;
}

.note,
.divider-top {
  padding-top: 10px;
  border-top: 1px solid #edf2ef;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #dfe8e4;
  padding: 4px;
  border-radius: 8px;
}

.tab-pill {
  height: 36px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
}

.tab-pill.active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(23, 33, 29, 0.06);
}

.form {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.form-section-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.route-section-title {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf2ef;
}

.contact-publish-hint {
  padding: 10px;
  border: 1px solid #cfe5d8;
  border-radius: 8px;
  color: #496356;
  background: #f1f8f4;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.segment {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 146px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 116, 81, 0.96), rgba(44, 93, 143, 0.92)),
    #127451;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.route-map-card {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(244, 248, 246, 0.92), rgba(222, 235, 231, 0.86)),
    #edf5f1;
  color: var(--ink);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(18, 116, 81, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 93, 143, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.route-line {
  position: absolute;
  left: 66px;
  right: 72px;
  top: 88px;
  height: 6px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: rotate(-14deg);
  transform-origin: left center;
  box-shadow: 0 6px 18px rgba(18, 116, 81, 0.22);
}

.map-pin {
  position: absolute;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 6px;
  color: #ffffff;
  background: var(--green);
  font-size: 13px;
  font-weight: 950;
  transform: rotate(-45deg);
  box-shadow: 0 10px 18px rgba(23, 33, 29, 0.18);
  line-height: 1;
}

.map-pin-start {
  left: 48px;
  top: 96px;
}

.map-pin-end {
  right: 54px;
  top: 50px;
  background: var(--blue);
}

.map-pin-start,
.map-pin-end {
  color: transparent;
}

.map-pin-start::before,
.map-pin-end::before {
  color: #ffffff;
  transform: rotate(45deg);
}

.map-pin-start::before {
  content: "上";
}

.map-pin-end::before {
  content: "到";
}

.map-panel {
  position: relative;
  z-index: 2;
  max-width: 78%;
}

.map-kicker {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.map-title {
  font-size: 20px;
  font-weight: 950;
  line-height: 1.25;
}

.map-sub {
  margin-top: 8px;
  opacity: 0.88;
  font-size: 14px;
}

.driver-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.driver-stats span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f7faf8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.driver-gate {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  box-shadow: var(--shadow);
}

.gate-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 900;
}

.driver-gate .line {
  color: rgba(255, 255, 255, 0.76);
}

.driver-steps {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.check-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 40px;
}

.check-row span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.check-row strong {
  display: block;
  font-size: 14px;
}

.check-row em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.actions {
  position: sticky;
  bottom: 10px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.button-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.button-row.compact {
  display: flex;
  gap: 6px;
}

.cancel-guide {
  padding: 12px;
  border: 1px solid #f4dfb8;
  border-radius: 8px;
  background: #fff8ea;
}

.policy {
  margin-top: 10px;
  padding: 8px;
  border-radius: 8px;
  color: var(--amber);
  background: var(--amber-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.policy.auto_refund,
.policy.closed {
  color: var(--muted);
  background: #f4f7f5;
}

.policy.locked {
  color: var(--red);
  background: #fff0f0;
}

.order-next {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #f7faf8;
}

.order-next strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.order-next span {
  color: var(--muted);
  font-size: 12px;
}

.orders-toolbar,
.driver-workbench {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.orders-toolbar {
  box-shadow: 0 6px 18px rgba(23, 33, 29, 0.05);
}

.role-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f9f7;
}

.role-switch .tab-pill {
  min-height: 32px;
  padding: 0 12px;
}

.orders-alert {
  padding: 10px 12px;
  border: 1px solid #f1d29b;
  border-radius: 8px;
  color: var(--amber);
  background: #fff8ea;
  font-size: 13px;
  font-weight: 850;
}

.overview-stats {
  display: grid;
  gap: 7px;
  min-width: 108px;
}

.overview-stats span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-publish,
.today-publish-card,
.advanced-editor-toggle,
.vehicle-settings {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(23, 33, 29, 0.05);
}

.today-publish-card {
  grid-template-columns: 1fr auto;
  align-items: center;
  border-color: #cfe5d8;
  background: #f5fbf7;
}

.today-publish-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 950;
}

.today-publish-card span {
  display: block;
  margin-top: 6px;
  color: #496356;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 760;
}

.advanced-editor-toggle {
  grid-template-columns: 1fr auto;
  align-items: center;
  cursor: pointer;
}

.advanced-editor-toggle strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.advanced-editor-toggle span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 760;
}

.advanced-editor-toggle em {
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}

.section-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.template-list {
  display: grid;
  gap: 8px;
}

.template-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe7e1;
  border-radius: 8px;
  background: #f7faf8;
}

.template-card strong,
.vehicle-settings strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.template-card span,
.vehicle-settings span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 760;
}

.template-card em {
  display: block;
  margin-top: 4px;
  color: #516258;
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 850;
}

.template-actions,
.publish-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.template-actions .mini-button,
.publish-actions button {
  width: 100%;
}

.option-field {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.option-field > label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.price-choice-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.choice-pill {
  min-height: 38px;
  line-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f7faf8;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill.active {
  color: #ffffff;
  border-color: var(--green);
  background: var(--green);
}

.custom-price {
  margin-top: 0;
}

.place-picker-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.place-picker-head strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.place-picker-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
}

.place-group {
  display: grid;
  gap: 6px;
}

.place-group em {
  color: #516258;
  font-size: 12px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}

.place-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.place-chip,
.place-result {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.place-chip {
  flex: 1 1 132px;
  padding: 8px 10px;
}

.place-chip strong,
.place-result strong {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
}

.place-chip span,
.place-result span,
.place-empty {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 760;
}

.place-search-form {
  display: grid;
  grid-template-columns: 112px 1fr 76px;
  gap: 8px;
}

.place-search-form .field {
  margin-top: 0;
}

.place-suggestions {
  display: grid;
  gap: 6px;
}

.place-result {
  width: 100%;
  padding: 9px 10px;
}

.driver-trip-workbench {
  display: grid;
  gap: 10px;
}

.driver-trip-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 33, 29, 0.05);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.order-steps span {
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  background: #f1f5f3;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.order-steps span.active {
  color: #ffffff;
  background: var(--green);
}

.driver-trip-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.driver-trip-head strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 950;
}

.driver-trip-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 760;
}

.driver-trip-head em {
  flex-shrink: 0;
  padding: 6px 8px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.driver-trip-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.driver-trip-metrics span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #33433a;
  background: #f1f6f3;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.passenger-mini-list {
  display: grid;
  gap: 6px;
}

.passenger-mini {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f7faf8;
}

.passenger-mini strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 950;
}

.passenger-mini span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 760;
}

.passenger-mini em {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: #8c2f1d;
  background: #ffe9df;
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
}

.vehicle-settings {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.vehicle-swatch-preview {
  min-width: 82px;
  height: 32px;
  padding: 3px;
  border: 1px solid #cfd8d2;
  border-radius: 8px;
  background: linear-gradient(145deg, #2a312d, #050706);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.vehicle-swatch-preview span {
  display: block;
  height: 24px;
  line-height: 24px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-size: 11px;
  font-weight: 950;
}

.vehicle-swatch-preview.theme-white {
  background: linear-gradient(145deg, #ffffff, #dfe8e3);
}

.vehicle-swatch-preview.theme-black {
  background: linear-gradient(145deg, #2a312d, #050706);
}

.vehicle-swatch-preview.theme-silver {
  background: linear-gradient(145deg, #f7faf8, #9aa7a0);
}

.vehicle-swatch-preview.theme-blue {
  background: linear-gradient(145deg, #54a4dd, #173d79);
}

.vehicle-swatch-preview.theme-red {
  background: linear-gradient(145deg, #ef6a5e, #8d1f24);
}

.vehicle-swatch-preview.theme-green {
  background: linear-gradient(145deg, #4fc681, #0d6a46);
}

.vehicle-swatch-preview.theme-gold {
  background: linear-gradient(145deg, #f4d37a, #926224);
}

.vehicle-swatch-preview.theme-purple {
  background: linear-gradient(145deg, #b68ce8, #56337d);
}

.vehicle-swatch-preview.theme-white-black {
  background: linear-gradient(135deg, #ffffff 0 50%, #111815 51% 100%);
}

.empty.compact {
  padding: 12px;
  min-height: auto;
  border: 1px dashed var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.overview-stats strong {
  color: var(--green);
  font-size: 16px;
  line-height: 1;
}

.trip-focus {
  --trip-bg:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(22, 32, 28, 0.98), rgba(16, 107, 75, 0.94)),
    #16201c;
  --trip-ink: #ffffff;
  --trip-muted: rgba(255, 255, 255, 0.76);
  --trip-chip: rgba(255, 255, 255, 0.13);
  --trip-chip-strong: rgba(255, 255, 255, 0.18);
  --trip-chip-border: rgba(255, 255, 255, 0.16);
  --trip-card: rgba(255, 255, 255, 0.92);
  --trip-card-active: rgba(245, 251, 248, 0.96);
  --trip-card-ink: #17211d;
  --trip-card-muted: #65736b;
  --trip-button-bg: #12211a;
  --trip-button-ink: #ffffff;
  --trip-inverse-ink: #17211d;
  --vehicle-dot: #111111;
  --vehicle-dot-ring: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  color: var(--trip-ink);
  background: var(--trip-bg);
  box-shadow: var(--shadow);
}

.trip-focus.theme-black {
  --trip-bg:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(145deg, #0a0d0c 0%, #1d2724 48%, #050606 100%);
  --trip-chip: rgba(255, 255, 255, 0.12);
  --trip-chip-strong: rgba(255, 255, 255, 0.18);
  --vehicle-dot: #050505;
}

.trip-focus.theme-white {
  --trip-bg:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(145deg, #f8faf7 0%, #dfe7df 52%, #b7c7bd 100%);
  --trip-ink: #13201a;
  --trip-muted: rgba(19, 32, 26, 0.68);
  --trip-chip: rgba(255, 255, 255, 0.62);
  --trip-chip-strong: rgba(255, 255, 255, 0.78);
  --trip-chip-border: rgba(26, 48, 38, 0.12);
  --trip-card: rgba(255, 255, 255, 0.72);
  --trip-card-active: rgba(255, 255, 255, 0.82);
  --trip-button-bg: #17211d;
  --trip-inverse-ink: #ffffff;
  --vehicle-dot: #f7f8f4;
  --vehicle-dot-ring: rgba(25, 36, 31, 0.42);
}

.trip-focus.theme-white-black {
  --trip-bg:
    radial-gradient(circle at 15% 8%, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(120deg, #0b100f 0%, #18211f 62%, #2e3734 62.5%, #f4f6f1 73%, #dfe5df 100%);
  --trip-chip: rgba(255, 255, 255, 0.12);
  --trip-chip-strong: rgba(255, 255, 255, 0.18);
  --trip-card: rgba(255, 255, 255, 0.92);
  --trip-card-active: rgba(245, 251, 248, 0.96);
  --vehicle-dot: linear-gradient(90deg, #f7f8f4 0 49%, #070807 51% 100%);
  --vehicle-dot-ring: rgba(255, 255, 255, 0.72);
}

.trip-focus.theme-silver {
  --trip-bg:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(145deg, #eef2f1 0%, #aeb9ba 48%, #697579 100%);
  --trip-ink: #101a1c;
  --trip-muted: rgba(16, 26, 28, 0.68);
  --trip-chip: rgba(255, 255, 255, 0.48);
  --trip-chip-strong: rgba(255, 255, 255, 0.62);
  --trip-chip-border: rgba(16, 26, 28, 0.13);
  --trip-card: rgba(255, 255, 255, 0.68);
  --trip-card-active: rgba(255, 255, 255, 0.78);
  --trip-button-bg: #182226;
  --trip-inverse-ink: #ffffff;
  --vehicle-dot: #bec7ca;
  --vehicle-dot-ring: rgba(20, 30, 32, 0.36);
}

.trip-focus.theme-blue {
  --trip-bg:
    radial-gradient(circle at 16% 8%, rgba(193, 225, 255, 0.22), transparent 28%),
    linear-gradient(145deg, #092238 0%, #164d7c 52%, #081826 100%);
  --vehicle-dot: #1b64a0;
}

.trip-focus.theme-red {
  --trip-bg:
    radial-gradient(circle at 16% 8%, rgba(255, 205, 190, 0.2), transparent 28%),
    linear-gradient(145deg, #35100e 0%, #96372d 52%, #260807 100%);
  --vehicle-dot: #a83b30;
}

.trip-focus.theme-green {
  --trip-bg:
    radial-gradient(circle at 16% 8%, rgba(196, 255, 220, 0.18), transparent 28%),
    linear-gradient(145deg, #0f281d 0%, #167452 52%, #081812 100%);
  --vehicle-dot: #167452;
}

.trip-focus.theme-gold {
  --trip-bg:
    radial-gradient(circle at 16% 8%, rgba(255, 243, 201, 0.32), transparent 28%),
    linear-gradient(145deg, #3a2811 0%, #9b7336 52%, #241709 100%);
  --vehicle-dot: #b98b44;
}

.trip-focus.theme-purple {
  --trip-bg:
    radial-gradient(circle at 16% 8%, rgba(230, 207, 255, 0.22), transparent 28%),
    linear-gradient(145deg, #24133a 0%, #62408d 52%, #160b24 100%);
  --vehicle-dot: #6d4d9b;
}

.focus-head,
.booking-strip,
.requirement-card,
.driver-mini {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.focus-label {
  color: var(--trip-muted);
  font-size: 12px;
  font-weight: 800;
}

.focus-time {
  margin-top: 4px;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 950;
}

.trip-focus .direction-badge {
  flex: 0 0 auto;
  min-width: 54px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.urgent-line {
  padding: 8px 10px;
  border-radius: 8px;
  color: #8c2f1d;
  background: #fff0e8;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 850;
}

.focus-route {
  display: grid;
  gap: 10px;
}

.focus-route > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  min-width: 0;
}

.focus-route span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--trip-inverse-ink);
  background: var(--trip-ink);
  font-size: 13px;
  font-weight: 950;
}

.focus-route strong {
  display: block;
  color: var(--trip-ink);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 950;
}

.focus-route em {
  display: block;
  margin-top: 3px;
  color: var(--trip-muted);
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
}

.vehicle-focus {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--trip-chip-border);
  background: var(--trip-chip);
}

.vehicle-color-dot {
  width: 34px;
  height: 34px;
  border: 2px solid var(--vehicle-dot-ring);
  border-radius: 50%;
  background: var(--vehicle-dot);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.vehicle-info-list {
  display: grid;
  gap: 4px;
}

.vehicle-info-item {
  display: block;
  color: var(--trip-ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.focus-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.focus-meta span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--trip-chip-border);
  background: var(--trip-chip);
  font-size: 13px;
  font-weight: 850;
}

.booking-strip,
.requirement-card,
.driver-mini,
.small-notes {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.booking-strip {
  color: var(--trip-card-ink);
  border: 0;
  background: var(--trip-card);
}

.requirement-card {
  color: var(--trip-card-ink);
}

.booking-strip.active,
.requirement-card {
  background: var(--trip-card-active);
}

.requirement-card.active {
  border-color: var(--trip-chip-border);
  background: var(--trip-card-active);
}

.booking-strip div,
.requirement-card div,
.driver-mini div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.booking-strip strong,
.requirement-card strong,
.driver-mini strong {
  color: var(--trip-card-ink);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 950;
}

.booking-strip span,
.requirement-card span,
.driver-mini span,
.small-notes span {
  color: var(--trip-card-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.booking-strip .mini-button,
.requirement-card .mini-button {
  flex: 0 0 auto;
  color: var(--trip-button-ink);
  background: var(--trip-button-bg);
  border-color: transparent;
}

.quiet-mini-list {
  display: grid;
  gap: 8px;
}

.quiet-mini {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #d7e4ea;
  border-radius: 8px;
  background: #f6fbfd;
}

.quiet-mini > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #47758a;
  font-weight: 950;
}

.quiet-mini strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.quiet-mini em {
  display: block;
  margin-top: 3px;
  color: #4e6570;
  font-size: 12px;
  line-height: 1.45;
  font-style: normal;
}

.driver-mini em {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.small-notes {
  display: grid;
  gap: 6px;
  background: #f8faf9;
}

.detail-alert,
.publish-hint {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #f7faf8;
}

.detail-alert strong,
.publish-hint strong {
  min-width: 42px;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
  padding: 6px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 950;
}

.publish-hint strong {
  background: var(--ink);
}

.detail-alert span,
.publish-hint span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.public-policy-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(18, 116, 81, 0.16);
  border-radius: 8px;
  background: #f3faf6;
}

.public-policy-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.public-policy-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 760;
}

.quiet-card-list {
  display: grid;
  gap: 8px;
}

.quiet-card,
.quiet-request-panel {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #d7e4ea;
  border-radius: 8px;
  background: #f6fbfd;
}

.quiet-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #47758a;
  font-weight: 950;
  flex: 0 0 auto;
}

.quiet-card-body,
.quiet-request-panel div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.quiet-card-body {
  flex: 1;
}

.quiet-card small {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--green);
  background: #e4f3ec;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.quiet-card strong,
.quiet-request-panel strong {
  color: var(--ink);
  font-size: 14px;
}

.quiet-card span,
.quiet-request-panel span {
  color: #4e6570;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 760;
}

.quiet-card em {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  font-style: normal;
}

.quiet-card .mini-button {
  align-self: center;
  flex: 0 0 auto;
  color: var(--green);
  background: #ffffff;
  border-color: var(--line-strong);
}

.quiet-request-panel {
  align-items: center;
  justify-content: space-between;
}

.quiet-request-panel.sent {
  border-color: rgba(18, 116, 81, 0.22);
  background: #f2faf5;
}

.commitment-panel {
  display: grid;
  gap: 8px;
}

.commitment-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.commitment-item strong {
  color: var(--ink);
  font-size: 13px;
}

.commitment-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.map-direction {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
}

.compact-map {
  min-height: 168px;
  padding: 14px;
}

.profile-hero {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(23, 33, 29, 0.96), rgba(18, 116, 81, 0.9)),
    #17211d;
  border: 0;
  box-shadow: var(--shadow);
}

.profile-hero .muted {
  color: rgba(255, 255, 255, 0.76);
}

.profile-progress {
  height: 7px;
  margin-top: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.profile-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 12px 8px;
  text-align: center;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 950;
}

.menu {
  display: grid;
  gap: 8px;
}

.profile-cta {
  grid-template-columns: repeat(2, 1fr);
}

.profile-cta button {
  text-align: left;
  color: var(--ink);
}

.menu-row,
.profile-link {
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(23, 33, 29, 0.04);
  font-weight: 800;
}

.menu-icon {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.menu-row strong {
  text-align: left;
}

.menu-row em,
.profile-link em {
  color: #95a19a;
  font-style: normal;
  font-size: 13px;
}

.wallet-card {
  color: #ffffff;
  background: linear-gradient(135deg, #17211d, #126a72);
  border: 0;
  box-shadow: var(--shadow);
}

.wallet-card .summary-label {
  color: rgba(255, 255, 255, 0.72);
}

.wallet-card .amount {
  margin-top: 8px;
  font-size: 36px;
  font-weight: 950;
}

.split {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.settlement-guide {
  grid-template-columns: repeat(3, 1fr);
}

.settlement-guide div {
  min-height: 82px;
}

.settlement-guide strong {
  margin: 0 0 5px;
  font-size: 13px;
}

.user-row,
.record-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(223, 231, 227, 0.95);
  box-shadow: 0 6px 16px rgba(23, 33, 29, 0.04);
}

.mini-button {
  min-height: 32px;
  color: var(--green);
  background: var(--green-soft);
  border-color: transparent;
  font-size: 12px;
  white-space: nowrap;
}

.mini-button.strong {
  color: #ffffff;
  background: var(--ink);
}

.mini-button.danger {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.filter-check,
.group-entry-card,
.group-header,
.group-route {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.filter-check {
  margin-top: 10px;
  justify-content: flex-start;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.group-entry-card,
.group-header {
  justify-content: space-between;
}

.group-entry-card div,
.group-header div {
  display: grid;
  gap: 4px;
}

.group-entry-card strong {
  color: var(--ink);
  font-size: 14px;
}

.group-entry-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.group-entry-card.locked {
  background: #f8faf9;
}

.driver-announcement-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d8e4df;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(23, 33, 29, 0.06);
}

.driver-announcement-card.has-quiet {
  border-color: #f0bf83;
  background: #fff8ec;
}

.announcement-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.announcement-head div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.announcement-head small {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: #8c3f14;
  background: #ffe5c2;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
}

.announcement-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.announcement-head span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 760;
}

.announcement-head .mini-button {
  min-width: 82px;
  flex: 0 0 auto;
}

.announcement-copy {
  white-space: pre-wrap;
  padding: 12px;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 820;
}

.quiet-highlight {
  padding: 9px 10px;
  border-radius: 8px;
  color: #8c2f1d;
  background: #ffe9df;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 900;
}

.group-route {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.group-route div {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.group-route strong {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
}

.group-chat {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.group-message {
  display: grid;
  gap: 3px;
  max-width: 86%;
}

.group-message span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.group-message p {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: #f1f5f3;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 760;
  word-break: break-word;
}

.group-message.mine {
  justify-self: end;
  justify-items: end;
}

.group-message.mine p {
  color: #ffffff;
  background: var(--green);
}

.group-message.system {
  max-width: 100%;
  justify-self: center;
}

.group-message.system p {
  color: var(--muted);
  background: #f7faf8;
  font-size: 12px;
}

.group-message-form {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.group-message-form .primary {
  min-height: 44px;
}

.group-status-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.group-status-panel div {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.group-status-panel strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
}

.group-status-panel span,
.member-strip span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
}

.member-strip,
.quick-message-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.member-strip span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #f1f6f3;
}

.quick-message-row .mini-button {
  flex: 1 1 96px;
}

.ban-inline-card,
.risk-dashboard-head,
.risk-driver-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 33, 29, 0.05);
}

.ban-inline-card {
  border-color: rgba(185, 60, 60, 0.25);
  background: #fff7f5;
}

.ban-inline-card strong {
  color: var(--red);
  font-size: 15px;
  font-weight: 950;
}

.ban-inline-card span {
  color: #7d3f35;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 780;
}

.ban-modal .button-row {
  justify-content: stretch;
}

.ban-modal .primary {
  width: 100%;
}

.risk-dashboard-head {
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #17211d, #8b2e35);
  border: 0;
}

.risk-dashboard-head .summary-label {
  color: rgba(255, 255, 255, 0.72);
}

.risk-badge {
  padding: 7px 9px;
  border-radius: 8px;
  color: #fff0f0;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.risk-metrics div {
  min-height: 70px;
}

.risk-driver-card.high,
.risk-driver-card.banned {
  border-color: rgba(185, 60, 60, 0.22);
}

.risk-driver-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.risk-driver-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.risk-driver-head span,
.risk-latest {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 760;
}

.risk-driver-head em {
  padding: 5px 8px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.risk-grid span {
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  background: #f7faf8;
  font-size: 11px;
  font-weight: 850;
}

.danger-text {
  color: var(--red);
}

.driver-risk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.driver-risk div {
  display: grid;
  gap: 4px;
}

.driver-risk strong {
  color: var(--ink);
  font-size: 14px;
}

.driver-risk span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.driver-risk em {
  min-width: 48px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-soft);
  font-style: normal;
  font-weight: 950;
}

.driver-risk.blocked {
  border-color: rgba(185, 60, 60, 0.22);
  background: #fff7f5;
}

.driver-risk.blocked em {
  color: #ffffff;
  background: var(--red);
}

.upload-box {
  height: 92px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-style: dashed;
  background: #fbfdfc;
  font-weight: 850;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(430px, 100vw);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 9px 8px 11px;
  border-top: 1px solid rgba(223, 231, 227, 0.95);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 -12px 28px rgba(23, 33, 29, 0.08);
}

.tabbar[hidden] {
  display: none;
}

@media (min-width: 520px) {
  .tabbar {
    bottom: 4vh;
    border-radius: 0 0 32px 32px;
  }
}

@media (max-width: 390px) {
  .home-filter-panel {
    grid-template-columns: 1fr;
  }

  .sort-toggle,
  .segmented,
  .check-pair {
    width: 100%;
  }

  .sort-toggle button,
  .segmented button {
    flex: 1;
  }
}

.tab {
  min-width: 0;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #6f7d75;
  background: transparent;
  font-size: 12px;
  line-height: 1.1;
}

.tab.active {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(18, 116, 81, 0.12);
  font-weight: 900;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  max-width: min(360px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(23, 33, 29, 0.94);
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(23, 33, 29, 0.24);
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: end center;
  padding: 16px;
}

.modal-root[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 33, 29, 0.32);
}

.confirm-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(23, 33, 29, 0.2);
}

.confirm-modal .title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.confirm-modal .line {
  margin-top: 8px;
}

.confirm-modal .button-row {
  margin-top: 16px;
  justify-content: flex-end;
}

.confirm-modal .button-row.single {
  display: grid;
  grid-template-columns: 1fr;
}

.booking-flow-card,
.payment-page,
.payment-context,
.pay-code-card,
.payment-summary-mini,
.agreement-strip,
.booking-tip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.booking-confirm-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(198, 211, 205, 0.46);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(18, 96, 71, 0.96), rgba(16, 70, 55, 0.98) 58%, rgba(22, 32, 28, 0.98)),
    var(--green);
  box-shadow: var(--shadow);
}

.booking-confirm-head,
.booking-point,
.booking-facts {
  min-width: 0;
}

.booking-confirm-head {
  display: grid;
  gap: 8px;
  align-items: start;
}

.booking-confirm-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.booking-confirm-label,
.booking-facts span,
.driver-note-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 850;
}

.booking-confirm-head strong {
  display: block;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 950;
}

.booking-confirm-card .direction-badge {
  flex: 0 0 auto;
  height: 26px;
  min-width: 48px;
  box-shadow: none;
}

.booking-route-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.booking-point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.booking-point em {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #123429;
  background: #ffffff;
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
}

.booking-point.end em {
  color: #224f7f;
}

.booking-point strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}

.booking-point span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.booking-facts {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 8px;
}

.booking-facts div,
.driver-note-panel {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.booking-facts div {
  min-width: 0;
  padding: 10px;
}

.booking-facts strong,
.driver-note-panel strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  line-height: 1.25;
  font-weight: 950;
}

.booking-facts strong {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.driver-note-panel {
  padding: 12px;
}

.driver-note-panel strong {
  font-size: 15px;
  line-height: 1.45;
}

.booking-row,
.payment-row {
  min-height: 62px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 16px;
  border-top: 1px solid #eef2ef;
}

.payment-row span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}

.payment-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
}

.payment-row em {
  color: #45c66b;
  font-size: 28px;
  font-style: normal;
  font-weight: 950;
}

.booking-tip {
  padding: 14px 16px;
  color: #547063;
  background: #eaf8ea;
  box-shadow: none;
}

.booking-tip strong,
.pay-code-card strong {
  display: block;
  color: var(--green);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.booking-tip span,
.pay-code-card span,
.pay-code-card em {
  display: block;
  margin-top: 6px;
  color: #5f756b;
  font-size: 14px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 750;
}

.payment-summary-mini {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.payment-summary-mini span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}

.payment-summary-mini strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.payment-page {
  overflow: hidden;
  box-shadow: none;
}

.payment-context,
.pay-code-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  box-shadow: none;
}

.payment-context div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.payment-context strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.payment-context span {
  color: var(--muted);
  text-align: right;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}

.sticky-actions {
  position: sticky;
  bottom: 10px;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(223, 230, 226, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.booking-consent-line {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.copy-fallback-modal .line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.copy-fallback-field {
  width: 100%;
  min-height: 88px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: #f7faf8;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
  resize: none;
}
