/* roboto-latin-500-normal */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./files/roboto-latin-500-normal.woff2) format('woff2'), url(./roboto-latin-500-normal-DQZyH_nt.woff) format('woff');
}:root {
  color: #151515;
  background: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  width: 100%;
  height: 100%;
  margin: 0;
}

.mobile-carousel {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  user-select: none;
}

.mobile-carousel::-webkit-scrollbar { display: none; }
.mobile-carousel { overflow-x: auto; overflow-y: hidden; touch-action: pan-y; }
.mobile-carousel[data-dragging="true"] { cursor: none; }
.mobile-carousel-content { display: flex; width: max-content; min-width: 100%; transform: translateX(var(--mobile-carousel-overdrag)); will-change: transform; }
.mobile-carousel-scrollbar { position: absolute; z-index: 4; inset: 0; opacity: 0; pointer-events: none; transition: opacity 150ms ease; }
.mobile-carousel-scrollbar[data-visible="true"] { opacity: 1; }
.mobile-carousel-scrollbar-thumb { position: absolute; right: 4px; bottom: 4px; height: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); }

body {
  min-width: 320px;
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.phone-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 24px;
}

.device-menu-bar {
  position: absolute;
  z-index: 100;
  top: 18px;
  right: 18px;
  padding: 3px;
  border-radius: 12px;
}

.device-picker-trigger {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 34px;
  padding: 0 10px 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #151515;
  font: 600 14px/1 ui-sans-serif, system-ui, sans-serif;
}

.device-picker-trigger:hover,
.device-picker-trigger[data-state="open"] {
  background: rgba(0, 0, 0, 0.055);
}

.device-picker-trigger:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.72);
  outline-offset: 2px;
}

.device-picker-menu {
  z-index: 200;
  min-width: 168px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 1px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 4px 4px rgba(0, 0, 0, 0.05);
  transform-origin: var(--radix-dropdown-menu-content-transform-origin);
  animation: device-menu-in 120ms ease-out;
}

.device-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 9px 0 10px;
  border-radius: 8px;
  color: #181818;
  font: 500 14px/1 ui-sans-serif, system-ui, sans-serif;
  outline: none;
  user-select: none;
}

.device-picker-item[data-highlighted] {
  background: #f0f0f0;
}

.device-picker-item[data-state="checked"] {
  font-weight: 600;
}

.device-picker-check {
  display: grid;
  place-items: center;
  color: #181818;
}

@keyframes device-menu-in {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(-2px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.phone-scale-box {
  position: relative;
}

.phone-device {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  -webkit-user-select: none;
  user-select: none;
}

.phone-bezel {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  -webkit-user-drag: none;
  pointer-events: none;
}

.device-screen {
  position: absolute;
  overflow: hidden;
  border-radius: 42px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  cursor: none;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

.device-camera {
  position: absolute;
  z-index: 75;
  display: block;
  border-radius: 50%;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.device-screen,
.device-screen * {
  cursor: none !important;
}

.device-screen img,
.keyboard-asset {
  -webkit-user-drag: none;
  user-select: none;
}

.device-screen input,
.device-screen textarea,
.device-screen select,
.device-screen option,
.device-screen [contenteditable="true"] {
  -webkit-user-select: auto;
  user-select: auto;
}

.device-screen:active,
.device-screen:active * {
  cursor: none !important;
}

.device-screen input,
.device-screen textarea,
.device-screen button,
.device-screen a,
.device-screen [role="button"] {
  cursor: none !important;
}

.device-screen[data-cursor-debug="true"],
.device-screen[data-cursor-debug="true"] * {
  cursor: default !important;
}

.device-screen *:focus,
.device-screen *:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

.flow-stack,
.flow-scenes,
.flow-screen {
  position: absolute;
  inset: 0;
}

.mobile-app-viewport {
  position: absolute;
  inset: 0;
}

.mobile-app-viewport[data-platform="android"][data-keyboard-visible="false"] {
  bottom: var(--device-safe-area-bottom, 48px);
}

.flow-stack {
  --flow-header-height: 0px;
  --flow-header-content-height: 0px;
  --flow-header-safe-area: 0px;
  --flow-footer-height: 0px;
  --keyboard-height: 0px;
  overflow: hidden;
  background: transparent;
  touch-action: pan-y;
}

.flow-fixed-header {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  height: var(--flow-header-height);
  padding-top: var(--flow-header-safe-area);
  box-sizing: border-box;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.flow-fixed-footer {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: var(--keyboard-height);
  left: 0;
  height: var(--flow-footer-height);
  background: transparent;
  transition: bottom 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flow-scenes {
  top: var(--flow-header-height);
  bottom: 0;
  overflow: hidden;
}

.flow-screen {
  overflow: hidden;
  background: transparent;
  will-change: transform;
}

.mobile-page {
  position: absolute;
  inset: 0;
  --mobile-safe-area-height: var(--device-safe-area-bottom, 34px);
  --keyboard-height: 0px;
}

.mobile-page[data-keyboard-visible="true"] {
  --mobile-safe-area-height: 0px;
}

.mobile-app-viewport[data-platform="android"] .mobile-page {
  --mobile-safe-area-height: 0px;
}

.mobile-scroll {
  position: absolute;
  top: 0;
  right: 0;
  bottom: var(--keyboard-height);
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  touch-action: none;
  user-select: none;
  transition: bottom 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-scroll::-webkit-scrollbar {
  display: none;
}

.mobile-scroll[data-dragging="true"] {
  cursor: none;
}

.mobile-cursor {
  position: absolute;
  z-index: 80;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.7) 0 34%, rgba(255, 255, 255, 0.54) 58%, rgba(238, 238, 238, 0.48) 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    inset 0 -5px 10px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(0, 0, 0, 0.025);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 90ms ease,
    background 80ms ease,
    box-shadow 80ms ease;
  will-change: transform;
}

.mobile-cursor::before {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 32px;
  height: 17px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.mobile-cursor::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 1px 0 3px rgba(255, 255, 255, 0.28),
    inset -1px 0 3px rgba(0, 0, 0, 0.02);
  content: "";
  pointer-events: none;
}

.mobile-cursor-hotspot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 122, 255, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75),
    0 0 0 3px rgba(0, 122, 255, 0.16);
  pointer-events: none;
}

.mobile-cursor-hotspot::before,
.mobile-cursor-hotspot::after {
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(0, 122, 255, 0.95);
  content: "";
  transform: translate(-50%, -50%);
}

.mobile-cursor-hotspot::before {
  width: 17px;
  height: 1px;
}

.mobile-cursor-hotspot::after {
  width: 1px;
  height: 17px;
}

.mobile-cursor[data-visible="true"] {
  opacity: 1;
}

.mobile-cursor[data-active="true"] {
  background:
    radial-gradient(circle at 50% 55%, rgba(232, 232, 232, 0.58) 0 30%, rgba(248, 248, 248, 0.5) 62%, rgba(255, 255, 255, 0.68) 100%);
  box-shadow:
    inset 0 3px 7px rgba(0, 0, 0, 0.08),
    inset 0 -4px 8px rgba(255, 255, 255, 0.34),
    inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.mobile-cursor[data-active="true"]::before {
  background: linear-gradient(rgba(0, 0, 0, 0.055), rgba(0, 0, 0, 0));
}

.mobile-cursor[data-active="true"]::after {
  box-shadow:
    inset 0 5px 9px rgba(0, 0, 0, 0.045),
    inset 0 -3px 7px rgba(255, 255, 255, 0.28);
}

.mobile-scroll-content {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  padding: 0;
  will-change: transform;
}

.app-screen {
  background: #ffffff;
}

.mobile-scrollbar {
  position: absolute;
  z-index: 9;
  top: 4px;
  right: 5px;
  bottom: calc(var(--mobile-safe-area-height) + var(--keyboard-height) + 4px);
  width: 4px;
  opacity: 0;
  pointer-events: none;
  transition:
    bottom 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 180ms ease;
}

.mobile-page[data-keyboard-dragging="true"] .mobile-scroll,
.mobile-page[data-keyboard-dragging="true"] .mobile-scrollbar,
.flow-stack[data-keyboard-dragging="true"] .flow-fixed-footer {
  transition: none;
}

.mobile-scrollbar[data-visible="true"] {
  opacity: 1;
}

.mobile-scrollbar-thumb {
  width: 4px;
  min-height: 36px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background 120ms ease;
}

.status-bar {
  position: absolute;
  z-index: 72;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 54px;
  padding: 10px 34px 0 36px;
  background: transparent;
  color: #050505;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  pointer-events: none;
}

.device-screen[data-device="pixel-10"] .status-bar {
  align-items: start;
  height: auto;
  padding: 32px 32px 0;
  font-family: "Roboto", Arial, sans-serif;
}

.status-time {
  justify-self: start;
  min-width: 58px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.status-indicators {
  display: flex;
  align-items: center;
  justify-self: end;
}

.status-indicator-svg {
  display: block;
}

.status-indicator-svg[data-platform="ios"] {
  width: 79px;
  height: 13px;
}

.status-indicator-svg[data-platform="android"] {
  width: 50px;
  height: 14px;
}

.device-screen[data-device="pixel-10"] .status-time {
  font-weight: 500;
  transform: translateY(2px);
}

.home-indicator-svg {
  position: absolute;
  z-index: 70;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: var(--device-safe-area-bottom, 34px);
  pointer-events: none;
}

.android-navigation-bar {
  position: absolute;
  z-index: 70;
  bottom: -1px;
  left: -1px;
  display: block;
  width: 428px;
  height: var(--device-safe-area-bottom, 48px);
  pointer-events: none;
  -webkit-user-drag: none;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: 15px;
}

p {
  color: #555555;
  font-size: 14px;
  line-height: 1.45;
}

.field-label {
  color: #555555;
  font-size: 13px;
  font-weight: 800;
}

.mobile-field {
  display: grid;
  gap: 8px;
}

.mobile-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fff;
  color: #151515;
  padding: 0 12px;
  outline: 0;
}

.mobile-field input:focus {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: none;
}

.device-screen .mobile-field input:focus,
.device-screen .mobile-field input:focus-visible {
  border-color: rgba(0, 0, 0, 0.12);
  outline: 0 !important;
  box-shadow: none !important;
}

.sheet-overlay {
  position: absolute;
  z-index: 20;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.bottom-sheet {
  position: absolute;
  z-index: 21;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.2);
  touch-action: none;
}

.sheet-handle-zone {
  display: grid;
  height: 30px;
  place-items: center;
  touch-action: none;
}

.sheet-handle {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #c9c9c4;
}

.sheet-header {
  display: grid;
  gap: 4px;
  padding: 0 18px 14px;
}

.sheet-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.sheet-description {
  margin: 0;
  color: #737373;
  font-size: 13px;
  line-height: 1.35;
}

.sheet-content {
  overflow: auto;
  padding: 0 18px 24px;
}

.keyboard-dock {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 339px;
  padding: 0;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
  background: #d8d9de;
  box-shadow: none;
  pointer-events: none;
  will-change: transform;
}

.keyboard-dock[data-platform="android"] {
  border-radius: 0;
  background: #f3f2f6;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.08);
}

.keyboard-dock[data-visible="true"] {
  pointer-events: auto;
}

.keyboard-asset {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center bottom;
  -webkit-user-drag: none;
  pointer-events: none;
}

.keyboard-dock[data-platform="android"] .keyboard-asset {
  border-radius: 0;
  object-fit: fill;
}
:root {
  --ink: #071b3b;
  --muted: #738096;
  --blue: #0866d8;
  --coral: #ff5c35;
  --line: rgba(7, 27, 59, 0.08);
  --surface: rgba(255, 255, 255, 0.94);
}

button { -webkit-tap-highlight-color: transparent; font: inherit; cursor: pointer; }
.app-shell { position: relative; width: 100%; height: 100%; overflow: hidden; background: #f8fafc; color: var(--ink); }
.app-screen { width: 100%; height: 100%; background: #f8fafc; }
.utility-screen { min-height: 100%; padding: 44px 24px calc(var(--mobile-safe-area-height, 20px) + 122px); }

.topbar { display: flex; align-items: center; justify-content: space-between; }
.brand-lockup { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 680; letter-spacing: -0.02em; }
.brand-lockup img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; box-shadow: 0 7px 20px rgba(7, 27, 59, 0.08); }
.language-button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 18px; background: rgba(255,255,255,.78); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px rgba(7,27,59,.05); font-size: 13px; font-weight: 620; }

.intro { margin: 28px 0 22px; }
.intro h1 { margin: 6px 0 0; font-size: 40px; line-height: 1.04; letter-spacing: -0.055em; font-weight: 740; }
.intro p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.48; letter-spacing: -0.015em; }
.compact-intro { margin-bottom: 18px; }
.screen-intro { margin-bottom: 20px; }
.eyebrow, .mini-label { color: var(--blue); font-size: 10px; font-weight: 780; letter-spacing: .12em; }

.identity-card { margin-bottom: 22px; padding: 17px; border-radius: 25px; background: linear-gradient(145deg, #fff, #f1f6ff); box-shadow: 0 14px 38px rgba(16,49,91,.065), inset 0 0 0 1px rgba(255,255,255,.92); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 26px 1px 12px; }
.section-heading.tight { align-items: center; margin: 0 0 13px; }
.section-heading h2 { margin: 3px 0 0; font-size: 19px; line-height: 1.1; letter-spacing: -.035em; }
.section-heading.tight > svg { width: 20px; height: 20px; color: var(--blue); }
.see-all { display: inline-flex; align-items: center; gap: 2px; border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 680; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 17px; background: #e9eef5; }
.segmented button { min-height: 48px; padding: 5px; border: 0; border-radius: 13px; background: transparent; color: #718095; font-size: 12px; font-weight: 680; }
.segmented button small { display: block; margin-top: 2px; font-size: 10px; font-weight: 540; }
.segmented button.selected { background: #fff; color: var(--ink); box-shadow: 0 5px 14px rgba(7,27,59,.09); }
.identity-note { margin: 12px 4px 0; color: #66768c; font-size: 11px; line-height: 1.45; }

.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.task-tile { display: flex; align-items: center; gap: 13px; min-height: 92px; padding: 14px; border: 0; border-radius: 25px; background: var(--surface); color: var(--ink); text-align: left; box-shadow: 0 14px 38px rgba(16,49,91,.07), inset 0 0 0 1px rgba(255,255,255,.9); transition: transform 150ms ease; }
.task-tile:active { transform: scale(.975); }
.task-tile > span:last-child { display: grid; min-width: 0; gap: 3px; }
.task-tile strong { overflow: hidden; font-size: 16px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.task-tile small { color: var(--muted); font-size: 12px; }
.task-icon, .service-mini, .list-icon, .audit-icon { display: grid; place-items: center; flex: 0 0 auto; }
.task-icon { width: 46px; height: 46px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 8px 20px rgba(15,70,140,.1); }
.task-icon svg { width: 23px; height: 23px; }
.icon-blue { background: #deebff; color: #1672e8; }
.icon-green { background: #dcf5ee; color: #138976; }
.icon-orange { background: #fff0df; color: #f37d16; }
.icon-violet { background: #ece9ff; color: #6958db; }
.icon-coral { background: #ffe7df; color: #e64f2e; }

.assistant-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; width: 100%; margin-top: 16px; padding: 15px; border: 0; border-radius: 25px; background: var(--ink); color: #fff; text-align: left; box-shadow: 0 16px 35px rgba(7,27,59,.18); }
.assistant-banner > svg { color: #8ebdfc; }
.assistant-orb { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 17px; background: linear-gradient(145deg, #1672e8, #6958db); }
.assistant-orb svg { width: 23px; height: 23px; }
.assistant-banner span:nth-child(2) { display: grid; gap: 2px; }
.assistant-banner small { color: #8ebdfc; font-size: 9px; font-style: normal; font-weight: 760; letter-spacing: .08em; }
.assistant-banner strong { font-size: 16px; letter-spacing: -.02em; }
.assistant-banner em { color: #b7c3d4; font-size: 10px; font-style: normal; }

.driver-pass { position: relative; min-height: 292px; margin-top: 18px; overflow: hidden; border-radius: 29px; background: #fff; box-shadow: 0 18px 46px rgba(7,27,59,.08), inset 0 0 0 1px var(--line); }
.pass-art { position: absolute; right: -88px; bottom: 58px; width: 440px; height: 190px; object-fit: cover; opacity: .54; }
.pass-content { position: relative; z-index: 1; padding: 20px 22px 14px; }
.pass-kicker { margin: 0 0 13px; color: var(--coral); font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.driver-pass h2 { max-width: 250px; margin: 0 0 6px; font-size: 18px; line-height: 1.18; letter-spacing: -.035em; }
.hotel-zh { display: block; max-width: 290px; font-size: 22px; line-height: 1.24; letter-spacing: -.025em; }
.hotel-address { max-width: 250px; min-height: 38px; margin: 8px 0 13px; color: #4f6078; font-size: 13px; line-height: 1.45; }
.primary-action, .sheet-primary, .execute-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 47px; border: 0; border-radius: 15px; background: var(--ink); color: #fff; font-weight: 690; box-shadow: 0 12px 24px rgba(7,27,59,.18); }
.text-action, .cancel-action { display: block; margin: 12px auto 0; border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 650; }

.avatar-stage { position: relative; width: 100%; aspect-ratio: 1 / 1.05; overflow: hidden; border-radius: 28px; background: #082c5b; box-shadow: 0 18px 44px rgba(7,27,59,.18), inset 0 0 0 1px rgba(255,255,255,.16); isolation: isolate; }
.avatar-background { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.avatar-source { position: absolute; z-index: -1; top: 0; left: -9999px; width: 16px; height: 16px; opacity: .001; pointer-events: none; }
.avatar-fallback, .avatar-canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
.avatar-fallback { object-fit: contain; object-position: center 58%; filter: drop-shadow(0 15px 18px rgba(0,12,36,.28)); transition: opacity 180ms ease; }
.avatar-fallback.rendered { opacity: 0; }
.avatar-canvas { z-index: 2; display: none; }
.avatar-canvas.visible { display: block; }
.media-paused { position: absolute; z-index: 3; left: 50%; bottom: 18px; width: max-content; max-width: calc(100% - 32px); transform: translateX(-50%); padding: 7px 10px; border-radius: 999px; background: rgba(5,27,59,.78); color: #fff; font-size: 10px; text-align: center; backdrop-filter: blur(10px); }
.stage-topline { position: absolute; z-index: 4; top: 12px; right: 12px; left: 12px; display: flex; align-items: center; justify-content: space-between; }
.stage-topline span, .stage-topline button { min-height: 27px; padding: 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(3,18,43,.62); color: #fff; backdrop-filter: blur(12px); font-size: 9px; font-weight: 680; }
.stage-topline span { display: inline-flex; align-items: center; gap: 5px; }
.stage-topline span i { width: 6px; height: 6px; border-radius: 50%; background: #42e6a4; box-shadow: 0 0 0 4px rgba(66,230,164,.12); }
.stage-topline button { border-color: rgba(255,255,255,.12); }
.stage-identity { position: absolute; z-index: 4; right: 13px; bottom: 12px; left: 13px; display: flex; align-items: end; justify-content: space-between; gap: 10px; color: #fff; text-shadow: 0 2px 10px rgba(0,15,40,.65); }
.stage-identity span { color: #8ed8ff; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.stage-identity strong { max-width: 190px; font-size: 10px; text-align: right; }
.phase-listening { box-shadow: 0 18px 44px rgba(8,102,216,.22), inset 0 0 0 2px rgba(67,178,255,.45); }
.phase-processing { box-shadow: 0 18px 44px rgba(105,88,219,.22), inset 0 0 0 2px rgba(160,143,255,.45); }
.phase-speaking { box-shadow: 0 18px 44px rgba(19,152,118,.22), inset 0 0 0 2px rgba(66,230,164,.42); }
.connection-pill { display: flex; align-items: center; justify-content: center; gap: 7px; width: max-content; max-width: 100%; margin: 9px auto -2px; padding: 5px 10px; border-radius: 999px; background: #eff4fa; color: #52627a; font-size: 9px; font-weight: 720; }
.connection-pill span { width: 6px; height: 6px; border-radius: 50%; background: #f0a21a; }
.connection-pill.ready span { background: #18a875; box-shadow: 0 0 0 3px rgba(24,168,117,.12); }
.connection-pill.offline span { background: #e65454; }
.talk-control.recording { background: #d94747; box-shadow: 0 12px 24px rgba(217,71,71,.24); animation: talk-pulse 1.2s ease-in-out infinite; }
@keyframes talk-pulse { 50% { transform: scale(.985); opacity: .88; } }

.persona-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 17px; border-radius: 26px; background: #fff; box-shadow: 0 16px 42px rgba(16,49,91,.075); }
.persona-avatar { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 20px; color: #fff; box-shadow: 0 10px 22px rgba(50,90,180,.18); }
.persona-avatar.sally { background: linear-gradient(145deg,#6958db,#e05b9d); }
.persona-avatar.sanli { background: linear-gradient(145deg,#0866d8,#13a392); }
.persona-avatar svg { width: 27px; height: 27px; }
.persona-card h2 { margin: 3px 0 2px; font-size: 21px; letter-spacing: -.035em; }
.persona-card p { margin: 0; color: var(--muted); font-size: 11px; }
.persona-card > button { border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 700; }
.online { color: #15966e; font-size: 9px; font-weight: 760; letter-spacing: .08em; }
.online i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #22b983; }
.config-row { display: flex; gap: 7px; margin: 13px 0; }
.config-row button, .config-row span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 0 13px; border: 0; border-radius: 18px; background: #edf2f7; color: #66758a; font-size: 12px; font-weight: 680; }
.config-row button.active { background: #e5edff; color: var(--blue); box-shadow: inset 0 0 0 1px rgba(8,102,216,.1); }
.config-row span { margin-left: auto; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.config-row button:last-child { margin-left: auto; padding-inline: 11px; }
.ask-card, .answer-card { padding: 18px; border-radius: 27px; background: #fff; box-shadow: 0 16px 42px rgba(16,49,91,.07); }
.ask-card label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 720; }
.ask-card textarea { width: 100%; min-height: 108px; resize: none; padding: 14px; border: 1px solid rgba(7,27,59,.08); border-radius: 17px; outline: 0; background: #f6f8fb; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.5; box-sizing: border-box; }
.ask-card textarea:focus { border-color: rgba(8,102,216,.35); box-shadow: 0 0 0 3px rgba(8,102,216,.08); }
.prompt-chips { display: flex; gap: 7px; margin: 10px 0 14px; overflow-x: auto; }
.prompt-chips button { flex: 0 0 auto; min-height: 32px; padding: 0 11px; border: 0; border-radius: 16px; background: #edf2f7; color: #526178; font-size: 11px; }
.answer-card { margin-top: 13px; }
.answer-head { display: flex; justify-content: space-between; align-items: start; }
.answer-head h2 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.035em; }
.confidence { padding: 5px 8px; border-radius: 10px; background: #dcf5ee; color: #138976; font-size: 10px; font-weight: 760; }
.confidence.degraded { background: #fff0dd; color: #a45b00; }
.answer-summary { margin: 13px 0; color: #526178; font-size: 13px; line-height: 1.55; }
.plan-list { display: grid; gap: 0; }
.plan-list > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 46px; border-top: 1px solid var(--line); }
.plan-list > div > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #e8f1ff; color: var(--blue); font-size: 10px; font-weight: 750; }
.plan-list p { margin: 0; font-size: 12px; }
.plan-list svg { color: #15966e; }
.source-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin: 13px 0; padding: 11px; border-radius: 14px; background: #f2f6fb; color: #65748a; }
.source-row svg { color: var(--blue); }
.source-row span { font-size: 10px; }
.source-row strong { display: block; color: var(--ink); font-size: 11px; }
.source-row > span:last-child { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #fff; color: var(--blue); font-weight: 760; }
.execute-button { background: var(--blue); }
.generation-failure { margin-top: 12px; padding: 12px; border-radius: 14px; background: #fff7ea; color: #754a16; }
.generation-failure p { margin: 0 0 10px; font-size: 12px; line-height: 1.5; }
.generation-failure div { display: flex; gap: 8px; }
.generation-failure button { flex: 1; min-height: 40px; border: 1px solid #e6c99e; border-radius: 11px; background: #fff; color: #754a16; font-weight: 680; }

.member-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 19px; border-radius: 27px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px rgba(7,27,59,.2); }
.member-empty { display: grid; justify-items: center; gap: 10px; padding: 28px 22px; border-radius: 26px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 14px 36px rgba(16,49,91,.07); }
.member-empty > svg { width: 28px; height: 28px; color: var(--blue); }
.member-empty h2, .member-empty p { margin: 0; }
.member-empty p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.member-empty.compact { padding: 18px; }
.member-avatar { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 20px; background: linear-gradient(145deg,#e5edff,#8ebdfc); color: var(--ink); font-size: 23px; font-weight: 760; }
.member-card span { color: #8ebdfc; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.member-card h2 { margin: 4px 0 2px; font-size: 20px; }
.member-card p { margin: 0; color: #b7c3d4; font-size: 11px; }
.member-card button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 13px; background: rgba(255,255,255,.1); color: #fff; }
.member-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 13px; overflow: hidden; border-radius: 22px; background: var(--line); box-shadow: 0 12px 32px rgba(16,49,91,.06); }
.member-stats > div { display: grid; gap: 3px; padding: 15px 5px; background: #fff; text-align: center; }
.member-stats strong { font-size: 20px; }
.member-stats span { color: var(--muted); font-size: 10px; }
.action-list { display: grid; overflow: hidden; border-radius: 23px; background: #fff; box-shadow: 0 14px 38px rgba(16,49,91,.06); }
.action-list button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 69px; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
.action-list button:last-child { border-bottom: 0; }
.action-list button > span:nth-child(2) { display: grid; gap: 4px; }
.action-list strong { font-size: 13px; }
.action-list small { color: var(--muted); font-size: 10px; }
.action-list button > svg { color: #a5afbd; }
.list-icon { width: 39px; height: 39px; border-radius: 14px; }
.list-icon.blue { background: #deebff; color: var(--blue); }
.list-icon.orange { background: #fff0df; color: #f37d16; }
.list-icon.violet { background: #ece9ff; color: #6958db; }
.membership-tier { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; margin-top: 14px; padding: 15px; border-radius: 22px; background: linear-gradient(135deg,#fff7e8,#fff); box-shadow: inset 0 0 0 1px rgba(243,125,22,.12); }
.membership-tier > svg { color: #f37d16; }
.membership-tier div { display: grid; gap: 2px; }
.membership-tier span { color: #cf680f; font-size: 8px; font-weight: 760; letter-spacing: .08em; }
.membership-tier strong { font-size: 11px; }
.membership-tier button { border: 0; background: transparent; color: #cf680f; font-size: 10px; font-weight: 720; }

.health-card { display: flex; align-items: center; justify-content: space-between; padding: 17px; border-radius: 23px; background: #e8f8f2; box-shadow: inset 0 0 0 1px rgba(21,150,110,.08); }
.health-card > div { display: flex; align-items: center; gap: 10px; }
.health-card > div > div { display: grid; gap: 2px; }
.health-card strong { font-size: 13px; }
.health-card small { color: #568070; font-size: 10px; }
.health-card > span { color: #15966e; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.health-dot { width: 10px; height: 10px; border-radius: 50%; background: #22b983; box-shadow: 0 0 0 5px rgba(34,185,131,.12); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.metric-grid > div { display: grid; min-height: 119px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 12px 32px rgba(16,49,91,.06); }
.metric-grid svg { color: var(--blue); }
.metric-grid strong { align-self: end; margin-top: 8px; font-size: 22px; letter-spacing: -.04em; }
.metric-grid span { color: #526178; font-size: 10px; }
.metric-grid small { margin-top: 3px; color: #15966e; font-size: 9px; }
.audit-list { display: grid; overflow: hidden; border-radius: 23px; background: #fff; box-shadow: 0 14px 38px rgba(16,49,91,.06); }
.audit-list > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; min-height: 68px; padding: 9px 13px; border-bottom: 1px solid var(--line); }
.audit-list > div:last-child { border-bottom: 0; }
.audit-list > div > span:nth-child(2) { display: grid; gap: 4px; }
.audit-list strong { font-size: 12px; }
.audit-list small { color: var(--muted); font-size: 9px; }
.audit-list em { color: #15966e; font-size: 8px; font-style: normal; font-weight: 780; }
.audit-list > div:last-child em { color: #e48a24; }
.audit-icon { width: 37px; height: 37px; border-radius: 13px; }
.audit-icon.ok { background: #e8f8f2; color: #15966e; }
.audit-icon.warn { background: #fff2df; color: #e48a24; }
.ops-console { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; width: 100%; margin-top: 13px; padding: 14px; border: 0; border-radius: 21px; background: var(--ink); color: #fff; text-align: left; }
.ops-console > span { display: grid; gap: 3px; }
.ops-console strong { font-size: 12px; }
.ops-console small { color: #aebdce; font-size: 9px; }

.bottom-nav { position: absolute; z-index: 20; right: 17px; bottom: calc(var(--mobile-safe-area-height, 20px) + 8px); left: 17px; display: grid; grid-template-columns: repeat(3,1fr); height: 72px; padding: 7px; border-radius: 28px; background: rgba(255,255,255,.9); box-shadow: 0 18px 50px rgba(7,27,59,.16), inset 0 0 0 1px rgba(7,27,59,.06); backdrop-filter: blur(24px) saturate(150%); }
.bottom-nav.admin-nav { grid-template-columns: repeat(4,1fr); }
.bottom-nav button { display: grid; place-items: center; align-content: center; gap: 4px; border: 0; border-radius: 20px; background: transparent; color: #7b8799; font-size: 10px; font-weight: 650; }
.bottom-nav button svg { width: 21px; height: 21px; }
.bottom-nav .active { background: #edf4ff; color: var(--blue); }
.floating-help { position: absolute; z-index: 19; right: 19px; bottom: 111px; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 15px; background: var(--coral); color: #fff; box-shadow: 0 9px 24px rgba(255,92,53,.28); }

.all-services { display: grid; max-height: 60vh; overflow-y: auto; padding: 2px 0 10px; }
.all-services button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; min-height: 61px; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
.all-services button > span:nth-child(2) { display: grid; gap: 3px; }
.all-services strong { font-size: 13px; }
.all-services small { color: var(--muted); font-size: 10px; }
.all-services button > svg { color: #a5afbd; }
.service-mini { width: 38px; height: 38px; border-radius: 13px; }
.service-sheet { padding: 3px 0 12px; }
.service-hero { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 21px; }
.service-hero svg { width: 30px; height: 30px; }
.service-sheet h3 { margin: 13px 0 5px; font-size: 23px; }
.service-sheet > p { margin: 0 0 11px; color: #526178; font-size: 13px; line-height: 1.5; }
.sheet-list { display: grid; gap: 0; padding: 4px 0 12px; }
.sheet-list > div { display: flex; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid var(--line); }
.sheet-list > div span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #e8f1ff; color: var(--blue); font-size: 11px; font-weight: 750; }
.sheet-list p { margin: 0; font-size: 13px; }
.sheet-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.bookmark-action { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 76px; border: 0; border-radius: 15px; background: #edf2f7; color: var(--blue); font-size: 11px; font-weight: 700; }
.driver-sheet strong { display: block; margin: 5px 0 12px; font-size: 28px; line-height: 1.3; }
.driver-sheet p { margin: 0 0 24px; color: #52627a; font-size: 18px; line-height: 1.5; }
.help-sheet { display: grid; gap: 9px; padding-bottom: 12px; }
.help-sheet a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 15px; border: 0; border-radius: 16px; background: #f1f5fa; color: var(--ink); font-weight: 620; text-decoration: none; }
.help-sheet a span, .volunteer-unavailable span { display: grid; gap: 2px; }
.help-sheet a small, .volunteer-unavailable small { color: #64748b; font-size: 11px; font-weight: 520; line-height: 1.35; }
.volunteer-unavailable { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 16px; background: #fff4e5; color: #754a16; }
.help-group-label { margin: 7px 4px 0; color: #64748b; font-size: 10px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.service-point-pending { margin: 4px 2px 0; color: #64748b; font-size: 11px; line-height: 1.5; }
.risk-sheet { text-align: center; padding-bottom: 10px; }
.risk-badge { display: grid; width: 58px; height: 58px; margin: 0 auto; place-items: center; border-radius: 20px; background: #fff0df; color: #e47a13; }
.risk-badge svg { width: 28px; height: 28px; }
.risk-sheet h3 { margin: 14px 0 7px; font-size: 20px; }
.risk-sheet > p { margin: 0 0 14px; color: #5d6c81; font-size: 12px; line-height: 1.55; }
.risk-check { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px; border-radius: 15px; background: #e8f8f2; color: #15966e; text-align: left; }
.risk-check span { display: grid; gap: 3px; }
.risk-check strong { font-size: 11px; }
.risk-check small { color: #568070; font-size: 9px; }
.toast { position: absolute; z-index: 80; left: 50%; bottom: 114px; transform: translateX(-50%); padding: 10px 15px; border-radius: 99px; background: rgba(7,27,59,.92); color: white; font-size: 12px; white-space: nowrap; box-shadow: 0 10px 30px rgba(7,27,59,.2); }

@media (max-width: 390px) {
  .utility-screen { padding-right: 19px; padding-left: 19px; }
  .intro h1 { font-size: 37px; }
  .task-tile { min-height: 88px; padding: 12px; }
  .task-icon { width: 42px; height: 42px; }
}
