:root {
  color-scheme: light;
  --bg: #f6f5fb; --surface: #fff; --ink: #1d1830; --muted: #655f77;
  --line: #e8e4ef; --accent: #6145db; --accent-dark: #5034c5;
  --tint: #f0ebff; --green: #118161; --red: #b32945; --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .46; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #8e6cff; outline-offset: 3px; }
button, a { touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }
svg { width: 21px; height: 21px; flex: none; vertical-align: middle; }
[data-icon] { display: inline-flex; align-items: center; }
.shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--bg);
}
[hidden] { display: none !important; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: calc(9px + env(safe-area-inset-top)) 16px 9px;
  background: #fdfcff;
  border-bottom: 1px solid var(--line);
}
.brand, .back-top {
  min-height: 44px;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
}
.back-top { color: var(--accent-dark); font-weight: 700; font-size: 14px; padding-right: 12px; }
.brand-symbol {
  width: 36px;
  height: 36px;
  justify-content: center;
  border-radius: 11px;
  color: white;
  background: linear-gradient(140deg,#9276ff,#5432ca);
  box-shadow: 0 4px 9px #6845db30;
}
.brand-symbol svg { width: 18px; height: 18px; }
.brand strong { font-size: 11px; letter-spacing: .14em; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; letter-spacing: .20em; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bottom-nav {
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4,minmax(0, 1fr));
  padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fdfcff;
}
.nav-item {
  min-height: 49px;
  border: 0;
  background: transparent;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px;
  color: var(--muted);
  font-size: 10px;
}
.nav-item[aria-current="page"] { background: var(--tint); color: var(--accent-dark); font-weight: 750; }
.button, .demo-button { min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; font-size: 13px; background: white; }
.button:hover:not(:disabled), .demo-button:hover { border-color: #b7a5ff; }
.button.primary { background: var(--accent); border-color: var(--accent); color: white; }
.button.primary:hover:not(:disabled) { background: var(--accent-dark); }
.button.danger { background: #fff0f3; border-color: #f8dce4; color: var(--red); }
.button svg, .demo-button svg { width: 17px; height: 17px; }
.top-actions .demo-button { border-color: transparent; color: var(--muted); background: transparent; min-width: 48px; padding-inline: 8px; }
.top-actions .add-top { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 14px; }
.add-top svg { width: 22px; height: 22px; }
main { min-width: 0; padding: 15px 15px 20px; overflow-y: auto; overscroll-behavior: contain; outline: none; scrollbar-width: none; }
main::-webkit-scrollbar { display: none; }
.eyebrow { font-size: 10px; font-weight: 780; letter-spacing: .16em; color: var(--accent-dark); line-height: 1.6; }
.page-head { margin-bottom: 13px; }
.page-head h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.04em; font-weight: 760; }
.page-head p { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.55; }
.home-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.device-count { padding: 5px 9px; border-radius: 20px; background: var(--tint); color: var(--accent-dark); font-size: 11px; font-weight: 700; }
.device-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 0 0 12px; }
.device-option { min-width: 0; min-height: 55px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; display: flex; align-items: center; gap: 8px; padding: 6px 9px; }
.device-option:hover, .device-option[aria-pressed="true"] { background: #f1ebff; border-color: #baa9f9; }
.mini-device { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #f7f5ff; flex: none; }
.mini-device img { width: 31px; height: 30px; object-fit: contain; }
.device-option strong, .device-option small { display: block; }
.device-option strong { font-size: 14px; overflow-wrap: anywhere; }
.device-option small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.device-option > [data-icon]:last-child { margin-left: auto; color: var(--accent-dark); }
.device-option > [data-icon]:last-child svg { width: 16px; height: 16px; }
.dashboard, .ambient-panel, .service-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 11px; }
.hero { border-radius: var(--radius); overflow: hidden; position: relative; isolation: isolate; background: radial-gradient(ellipse at 75% 48%,#523592 0%,#29204b 52%,#1b162d 95%); color: white; min-height: 241px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .24; background-image: radial-gradient(#b9a2fb 1px, transparent 1px); background-size: 19px 19px; mask-image: linear-gradient(90deg,transparent 18%,black 100%); }
.hero-head, .hero-foot { z-index: 3; position: relative; pointer-events: none; }
.hero-head button, .hero-foot button { pointer-events: auto; }
.hero .eyebrow { color: #d6c7ff; }
.hero h2 { font-size: 47px; letter-spacing: -.07em; line-height: 1.04; margin-top: 4px; }
.hero p { font-size: 12px; color: #e0d5f6; margin-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 50px; background: #e7f7f0; color: #11694f; padding: 6px 9px; font-weight: 700; white-space: nowrap; font-size: 11px; }
.status.off { background: #efedf4; color: #5a536a; }
.hero .status { margin-top: 10px; color: #b8fce3; background: #26584d78; }
.hero .status.off { color: #e9e2f9; background: #bdb0e526; }
.hero .alert-status { color: #ffdce4; background: #8a2c4ccc; display: flex; width: fit-content; margin: 4px 0 0; }
.hero .alert-status i { color: #ff7896; box-shadow: 0 0 8px #ff7896; }
.hero-state { display: grid; gap: 3px; }
.hero-state strong { font-size: 14px; }
.hero-state span { color: #d9cdf1; font-size: 11px; }
.orbit { position: absolute; left: 62%; top: 55%; width: 69%; aspect-ratio: 1; transform: translate(-50%,-50%); z-index: -1; border-radius: 50%; border: 1px solid #d4b6ff3b; box-shadow: 0 0 0 22px #cbbbff12, 0 0 0 55px #cab0ff0d; }
.orbit::before, .orbit::after { content: ""; position: absolute; background: #e8d9ff; border-radius: 50%; width: 6px; height: 6px; box-shadow: 0 0 14px #dcc3ff; }
.orbit::before { left: 9%; top: 20%; }
.orbit::after { right: 11%; bottom: 17%; width: 4px; height: 4px; }
.product { position: absolute; z-index: 1; left: 68%; top: 51%; height: 85%; transform: translate(-50%,-50%); filter: drop-shadow(0 13px 19px #1009208c); }
.product img { height: 100%; width: auto; display: block; }
.omni-photo { clip-path: polygon(6% 18%,15% 8%,36% 1%,60% 0,79% 4%,91% 11%,98% 20%,94% 26%,94% 49%,86% 57%,88% 68%,86% 91%,77% 98%,34% 100%,19% 96%,15% 91%,13% 58%,8% 48%,8% 25%); }
.product.lite { height: auto; width: 50%; top: 51%; left: 71%; }
.product.lite img { width: 100%; height: auto; }
.ambient-glow { position: absolute; top: 21%; left: 15%; width: 68%; height: 6%; border-radius: 50%; background: var(--lamp-color); opacity: 0; filter: blur(5px); }
.ambient-glow.on { opacity: .82; box-shadow: 0 0 24px var(--lamp-color); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 12px; }
.card-head h2, .card h3 { font-size: 16px; line-height: 1.45; }
.card-head p, .subtle, .card p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.icon-tile { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; color: var(--accent-dark); background: var(--tint); }
.icon-tile svg { width: 19px; height: 19px; }
.card-head .icon-tile { order: 2; }
.card-head-main { display: flex; flex-direction: column; gap: 3px; }
.usage-head, .usage-title { display: flex; align-items: center; gap: 8px; }
.usage-head { justify-content: space-between; }
.usage-title h2 { font-size: 14px; }
.usage-title .icon-tile { width: 31px; height: 34px; }
.hours { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.hours strong { font-size: 33px; line-height: 1.1; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.hours span { font-size: 12px; color: var(--muted); }
.progress { margin: 13px 0 8px; height: 7px; background: #efebf7; overflow: hidden; border-radius: 9px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#7859e9,#a587fa); }
.progress.red span { background: #cf4961; }
.caption-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.maintenance { display: flex; align-items: flex-start; gap: 9px; padding: 11px; background: #fff1f3; color: var(--red); font-size: 12px; line-height: 1.55; border-radius: 12px; margin-top: 13px; }
.maintenance svg { width: 16px; height: 16px; margin-top: 1px; }
.maintenance button { border: 0; background: transparent; color: inherit; text-decoration: underline; padding: 0; margin-top: 3px; font-weight: 650; }
.remote { padding: 10px; }
.control-grid { display: flex; gap: 8px; }
.control-grid .button { flex: 1; min-width: 0; padding-inline: 7px; }
.remote .note { margin-top: 7px; padding: 7px 8px; }
.note { border-radius: 12px; background: #f6f3ff; padding: 10px 11px; margin-top: 11px; font-size: 11px; line-height: 1.6; color: #5e4a90; }
.rows { display: grid; }
.row { min-height: 60px; display: flex; align-items: center; gap: 11px; padding: 9px 0; }
button.row, a.row { width: 100%; background: transparent; border: 0; text-align: left; }
.row + .row { border-top: 1px solid var(--line); }
.row strong, .row small { display: block; }
.row strong { font-size: 13px; }
.row small { color: var(--muted); font-size: 11px; line-height: 1.55; margin-top: 3px; overflow-wrap: anywhere; }
.row .end { margin-left: auto; text-align: right; flex: none; color: var(--muted); font-size: 11px; }
.row .end svg { width: 16px; height: 16px; }
.row:where(button,a):hover strong { color: var(--accent-dark); }
.lamp-box { border-radius: var(--radius); min-height: 204px; position: relative; overflow: hidden; color: white; background: radial-gradient(ellipse at 50% 42%,#503888,#1d1636 75%); isolation: isolate; }
.lamp-box .orbit { left: 50%; width: 52%; }
.lamp-box .product { left: 50%; }
.lamp-caption { position: absolute; left: 16px; bottom: 14px; color: #eee3ff; font-size: 11px; z-index: 2; background: #23173fdf; border-radius: 20px; padding: 6px 10px; }
.swatches { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; margin: 11px 0 12px; }
.swatch { border: 2px solid transparent; border-radius: 14px; width: 100%; min-height: 44px; background: white; padding: 4px; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 9px; background: var(--sample); border: 1px solid #21193918; }
.swatch[aria-pressed="true"] { border-color: var(--accent); }
.color-input { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.color-input input { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.switch { position: relative; border: 0; background: #dcd6e9; border-radius: 50px; width: 49px; height: 28px; padding: 3px; display: flex; align-items: center; }
.switch::after { content: ""; position: absolute; inset: -8px 0; }
.switch::before { content: ""; background: white; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 1px 3px #271d3c44; }
.switch[aria-checked="true"] { justify-content: end; background: var(--accent); }
.service-hero { background: radial-gradient(ellipse at 85% 50%,#583997,#211638 73%); color: white; border-radius: var(--radius); position: relative; overflow: hidden; isolation: isolate; padding: 21px; margin-bottom: 12px; }
.service-hero .orbit { left: 84%; width: 45%; }
.service-hero .eyebrow { color: #ddcbff; }
.service-hero h2 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.055em; margin: 5px 0 7px; }
.service-hero p { max-width: 360px; color: #e4d8f8; font-size: 13px; line-height: 1.6; }
.service-hero .button { margin-top: 16px; color: #4c2ea6; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.empty { padding: 35px 22px; text-align: center; }
.empty .icon-tile { margin: 0 auto 12px; }
.empty .button { margin-top: 15px; }
.fw-title { font-size: 28px; letter-spacing: -.04em; font-weight: 760; margin-bottom: 4px; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.kv span { color: var(--muted); }
.notice { margin-top: 12px; padding: 13px; border-radius: 12px; background: #f7f3ff; color: #534282; font-size: 12px; line-height: 1.65; }
.notice.error { background: #fff0f3; color: var(--red); }
dialog {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: min(100%, 430px);
  max-width: none;
  max-height: calc(100dvh - env(safe-area-inset-top) - 12px);
  padding: 0;
  border: 0;
  border-radius: 24px 24px 0 0;
  color: var(--ink);
  box-shadow: 0 -12px 45px #2012372e;
}
dialog::backdrop { background: #22183870; backdrop-filter: blur(4px); }
.modal { padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); }
.modal::before { content: ""; display: block; width: 36px; height: 4px; margin: -13px auto 13px; border-radius: 4px; background: #d3c9e2; }
.modal-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.modal h2 { font-size: 23px; letter-spacing: -.035em; margin-top: 4px; }
.modal p { color: var(--muted); font-size: 13px; margin: 8px 0; line-height: 1.65; }
.close { width: 44px; height: 44px; padding: 0; background: #f4f0fa; border: 0; border-radius: 10px; flex: none; }
.close svg { width: 17px; height: 17px; }
.modal .rows { margin-top: 11px; }
.modal .wide { width: 100%; margin-top: 11px; }
.step-dots { display: flex; gap: 5px; margin: 12px 0; }
.step-dots span { width: 26px; height: 4px; border-radius: 10px; background: var(--line); }
.step-dots .done { background: var(--accent); }
.scan-orb { width: 72px; height: 72px; border-radius: 50%; margin: 18px auto; background: var(--tint); color: var(--accent-dark); display: grid; place-items: center; animation: scan 1.2s infinite; }
@keyframes scan { 0%,100% { box-shadow: 0 0 0 0 #7456db40; } 65% { box-shadow: 0 0 0 14px #7456db00; } }
.text-field { display: grid; gap: 7px; font-size: 13px; margin: 15px 0; }
.text-field input { min-height: 44px; border-radius: 11px; border: 1px solid var(--line); padding: 9px; }
#toast { position: absolute; z-index: 10; bottom: calc(70px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); border-radius: 12px; color: white; background: #281d42; padding: 11px 16px; max-width: calc(100% - 30px); width: max-content; pointer-events: none; box-shadow: 0 6px 22px #21123a39; font-size: 13px; }
#toast:empty { display: none; }
@media (min-width: 500px) {
  body {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 48% 20%,#fbf9ff,#e7e2f5 85%);
  }
  .shell {
    width: 430px;
    height: min(890px, calc(100dvh - 32px));
    border-radius: 29px;
    border: 1px solid #d6cee8;
    overflow: hidden;
    box-shadow: 0 20px 65px #3b22682a;
  }
  dialog { bottom: max(16px, calc((100dvh - 890px) / 2)); border-radius: 24px 24px 28px 28px; }
}
@media (max-width: 360px) {
  main { padding-inline: 11px; }
  .hero { padding: 14px; min-height: 221px; }
  .usage-title { gap: 6px; }
  .usage-title h2 { font-size: 12px; }
  .hours strong { font-size: 28px; }
  .swatches { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* Startup and account entry */
.entry-mode { grid-template-rows: minmax(0,1fr); }
.entry-mode .topbar, .entry-mode .bottom-nav { display: none; }
.entry-mode main { padding: 0; }
.subpage-mode .add-top { display: none; }
.splash-screen { height: 100%; min-height: 370px; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 52% 42%,#4a3184,#201738 59%,#151121); color: #fff; }
.splash-screen .orbit { left: 50%; top: 48%; width: 77%; }
.launch-brand { text-align: center; }
.launch-mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: linear-gradient(148deg,#ae93ff,#6542df); color: white; box-shadow: 0 9px 22px #3c247243; }
.launch-mark svg { width: 31px; height: 31px; }
.launch-brand .launch-mark { margin: 0 auto 17px; }
.launch-brand h1 { font-size: 23px; letter-spacing: .20em; }
.launch-brand p { margin-top: 8px; font-size: 14px; letter-spacing: .35em; color: #e3d7ff; }
.launch-foot { position: absolute; bottom: calc(33px + env(safe-area-inset-bottom)); display: grid; gap: 12px; text-align: center; color: #d8caef; font-size: 11px; }
.launch-foot span { display: block; height: 3px; width: 92px; border-radius: 5px; background: #c3adfa; }
.welcome-screen { min-height: 100%; display: flex; flex-direction: column; }
.welcome-art { flex: 1; min-height: 300px; position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 57% 57%,#dbe6f2 0%,#edf3f9 58%,#fafbfe 100%); color: var(--ink); padding: calc(22px + env(safe-area-inset-top)) 22px 18px; }
.welcome-art .orbit { left: 56%; width: 66%; border-color: #8fa5c24d; box-shadow: 0 0 0 22px #fbfdff55, 0 0 0 55px #fbfdff44; }
.welcome-art .orbit::before, .welcome-art .orbit::after { background: #fff; box-shadow: 0 0 12px #a0b4d4; }
.welcome-art .eyebrow { display: block; color: #465675; margin-top: 14px; }
.welcome-art .launch-mark { width: 44px; height: 44px; border-radius: 14px; }
.welcome-art .launch-mark svg { width: 24px; height: 24px; }
.welcome-omni { position: absolute; right: 26%; top: 14%; height: 79%; object-fit: contain; }
.welcome-content { padding: 24px 20px calc(19px + env(safe-area-inset-bottom)); }
.welcome-content h1, .login-screen h1 { margin: 5px 0 7px; font-size: 29px; letter-spacing: -.045em; }
.welcome-content p, .login-screen > p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.welcome-content > small { display: block; color: var(--muted); text-align: center; margin-top: 7px; font-size: 10px; }
.wide { width: 100%; }
.welcome-content .wide + .wide { margin-top: 8px; }
.text-button { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 44px; color: var(--accent-dark); border: 0; background: transparent; font-size: 13px; font-weight: 650; }
.text-button svg { width: 15px; height: 15px; }
.login-screen { padding: calc(12px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom)); }
.login-screen .launch-mark { margin: 19px 0 15px; }
.login-screen input, .text-field select, .text-field textarea { font-size: 16px; min-width: 0; }
.text-field select, .text-field textarea { border-radius: 11px; border: 1px solid var(--line); background: white; padding: 9px; min-height: 44px; color: var(--ink); font-family: inherit; }
.code-field { display: flex; align-items: stretch; gap: 8px; }
.code-field input { flex: 1; }
.code-field button { flex: none; }
.form-status { color: var(--accent-dark); font-size: 12px; line-height: 1.6; }
.consent { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-height: 48px; margin: 7px 0; color: var(--muted); font-size: 11px; }
.consent input { width: 18px; height: 18px; accent-color: var(--accent); }
.consent label { padding: 10px 0; }
.consent a { color: var(--accent-dark); text-decoration: underline; }

/* Enterprise service */
.service-sn { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.service-sn strong { margin-left: 5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 15px; background: #eae5f5; }
.audience button, .effect-options button { min-height: 44px; border: 1px solid transparent; border-radius: 11px; background: transparent; font-weight: 680; font-size: 13px; }
.audience button[aria-pressed="true"], .effect-options button[aria-pressed="true"] { background: white; border-color: #ded4fb; color: var(--accent-dark); box-shadow: 0 2px 5px #33205d12; }
.enterprise-hero { background: radial-gradient(ellipse at 85% 55%,#355786,#15243d 76%); }
.enterprise-hero h2 { font-size: 32px; }
.enterprise-hero .button { color: #203956; }
.enterprise-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.enterprise-tile, .enterprise-product { min-width: 0; border: 1px solid var(--line); background: white; border-radius: 15px; padding: 10px; text-align: left; }
.enterprise-tile { display: grid; grid-template-columns: 32px minmax(0,1fr); column-gap: 7px; align-items: center; }
.enterprise-tile .icon-tile { width: 32px; height: 35px; grid-row: span 2; background: #eaf0fd; color: #315285; }
.enterprise-tile strong, .enterprise-product strong { display: block; font-size: 13px; }
.enterprise-tile small, .enterprise-product small { display: block; font-size: 10px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 19px 0 9px; }
.section-heading h2 { font-size: 18px; }
.section-heading span, .source-note { font-size: 11px; color: var(--muted); line-height: 1.65; }
.source-note { margin: 12px 3px; }
.product-photo, .enterprise-detail-photo { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%,#f9faff,#e6ecf7); }
.product-photo { height: 82px; border-radius: 10px; margin-bottom: 7px; }
.product-photo img { width: 95%; height: 80px; object-fit: contain; }
.enterprise-detail-photo { height: 210px; border-radius: var(--radius); }
.enterprise-detail-photo img { width: 87%; height: 180px; object-fit: contain; }
.separated { margin-top: 10px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 53px; font-size: 13px; font-weight: 700; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 16px; height: 16px; }
.faq-list details[open] summary svg { transform: rotate(90deg); }
.faq-list details p { padding: 0 0 10px; }
.case-list { display: grid; gap: 10px; }
.case-card { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-align: left; }
.case-card img, .case-detail img { display: block; width: 100%; height: 140px; object-fit: cover; }
.case-detail { overflow: hidden; border-radius: var(--radius); }
.case-detail img { height: 210px; }
.case-text { position: relative; display: block; padding: 10px 35px 13px 13px; }
.case-text strong, .case-text small { display: block; }
.case-text strong { font-size: 14px; }
.case-text small { color: var(--accent-dark); font-size: 10px; margin-bottom: 4px; }
.case-text > span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.doc-previews { display: grid; gap: 9px; margin-top: 15px; }
.doc-previews h2 { font-size: 14px; }
.doc-previews img { width: 100%; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; }

/* Omni startup lamp effects */
.effect-options { display: grid; gap: 6px; margin-bottom: 13px; }
.effect-options button { border-color: var(--line); background: #f7f4ff; text-align: left; padding-inline: 12px; }
.ambient-config h3 { margin: 0 0 7px; }
.multicolor-band { height: 12px; border-radius: 10px; margin: 2px 0 14px; background: linear-gradient(90deg,#bd8cff,#79b8ff,#5ae2c5,#ffcc77,#fa92bd); }
.ambient-glow.breath { animation-name: breathe; animation-duration: var(--breath-time); animation-iteration-count: 2; animation-timing-function: ease-in-out; }
.ambient-glow.breath.multi { animation-name: breathe-multi; }
.chase-ring { position: absolute; left: 15%; top: 18%; width: 68%; height: 11%; border-radius: 50%; opacity: 0; background: conic-gradient(from 0deg,transparent 56%,#ad87ff44 72%,#75d7ff 93%,#fff 99%); mask-image: radial-gradient(ellipse,transparent 44%,black 53%,black 66%,transparent 75%); animation: chase var(--chase-time) linear 1; }
@keyframes chase { from { opacity: 1; transform: rotate(0deg); } to { opacity: 1; transform: rotate(360deg); } }
@keyframes breathe { 0%,100% { opacity: 0; } 50% { opacity: .96; box-shadow: 0 0 24px var(--lamp-color); } }
@keyframes breathe-multi {
  0%,100% { opacity: 0; background: #f8a4e4; }
  22% { opacity: .64; background: #ad83ff; }
  47% { opacity: .96; background: #65b9ff; box-shadow: 0 0 24px #65b9ff; }
  64% { opacity: .87; background: #67e4bd; }
  83% { opacity: .46; background: #ffb870; }
}
@media (max-width: 360px) {
  .enterprise-tile { padding: 8px; column-gap: 5px; }
  .enterprise-tile small { font-size: 9px; }
  .welcome-art { min-height: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  .scan-orb { animation: none; }
  .ambient-glow.breath, .chase-ring { animation: none; opacity: 0; }
}

.boot-color { margin: 0 0 9px; }

/* 新版 LUMENIZER 文字 Logo（BQ 2026-11-09） */
.brand-logo { display: block; height: auto; }
.brand .brand-logo { width: 118px; }
.brand .brand-sub { display: block; margin-left: 8px; color: var(--muted); font-size: 10px; letter-spacing: .20em; white-space: nowrap; }
.brand { display: flex; align-items: center; }
.launch-brand .brand-logo { width: 210px; margin: 0 auto 6px; }
.launch-brand p { margin-top: 10px; }
.welcome-art .brand-logo { width: 150px; position: relative; z-index: 1; }
.welcome-art .eyebrow { margin-top: 8px; }
.login-screen .brand-logo { width: 150px; margin: 19px 0 15px; }
.service-part { margin: 22px 0 10px; font-size: 15px; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.service-part:first-of-type { margin-top: 4px; }
/* 返回下载首页（BQ 11-09） */
.demo-exit { position: fixed; z-index: 50; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: #f08a24; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 8px 20px rgba(240,138,36,.38); }
.demo-exit:active { background: #d9731a; }
.shell.entry-mode ~ .demo-exit { bottom: calc(14px + env(safe-area-inset-bottom)); }
.service-switch { margin: 4px 0 14px; }

/* 设备距离（BQ 11-09）：30 深红 / 64 红 / 100 黄 / 以上绿；作用区 100–200 推荐，200–300 较弱，300–400 弱，400+ 无 */
.range-card { --z: #1f9d55; --zbg: #e8f6ee; border-color: color-mix(in srgb, var(--z) 35%, var(--line)); transition: border-color .2s; }
.range-card.zone-deep { --z: #8e0f22; --zbg: #f9e3e6; }
.range-card.zone-red { --z: #e0353b; --zbg: #fde9e9; }
.range-card.zone-yellow { --z: #c98a00; --zbg: #fff5d6; }
.range-card .hours strong { color: var(--z); }
.range-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.range-safety { padding: 3px 10px; border-radius: 99px; background: var(--z); color: #fff; font-size: 12px; font-weight: 700; }
.range-effect { padding: 3px 10px; border-radius: 99px; background: var(--tint); color: var(--accent-dark); font-size: 12px; font-weight: 600; }
.range-tip { margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: var(--zbg); color: var(--z); font-size: 12.5px; font-weight: 600; }
.range-card.zone-deep .range-tip, .range-card.zone-red .range-tip { animation: range-pulse 1.2s ease-in-out infinite; }
@keyframes range-pulse { 50% { opacity: .55; } }
.range-scale { position: relative; margin: 16px 0 6px; padding-bottom: 34px; }
.range-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; }
.range-bar i { display: block; height: 100%; }
.z-deep { background: #8e0f22; } .z-red { background: #e0353b; } .z-yellow { background: #f2b705; } .z-green { background: #2fb36a; }
.range-marker { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; border-radius: 3px; background: var(--ink); box-shadow: 0 0 0 2px #fff; transition: left .12s; }
.range-ticks span, .range-effects span { position: absolute; font-size: 10px; color: var(--muted); }
.range-ticks span { top: 14px; transform: translateX(-50%); }
.range-effects span { top: 28px; text-align: center; border-top: 1px dashed #cfc6e3; padding-top: 1px; font-size: 9.5px; }
.range-sim { display: grid; gap: 4px; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.range-sim input { width: 100%; accent-color: var(--accent); }
.range-legend { margin-top: 8px; font-size: 12px; color: var(--muted); }
.range-legend summary { cursor: pointer; color: var(--accent-dark); font-weight: 600; }
.range-legend ul { margin: 6px 0 0; padding-left: 0; list-style: none; display: grid; gap: 2px; }
.range-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.dot.deep { background: #8e0f22; } .dot.red { background: #e0353b; } .dot.yellow { background: #f2b705; } .dot.green { background: #2fb36a; }
.range-card .hours strong { white-space: nowrap; }
.range-card .hours .approx { margin-right: 3px; color: var(--z); font-size: 14px; font-weight: 700; }

/* 调色盘 */
.palette { display: flex; align-items: center; gap: 16px; margin: 10px 0 14px; }
.palette.off { opacity: .5; pointer-events: none; }
.wheel { position: relative; flex: none; width: 168px; height: 168px; border-radius: 50%; touch-action: none; cursor: crosshair;
  background: radial-gradient(closest-side, #fff, rgba(255,255,255,0)), conic-gradient(#f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
  box-shadow: 0 0 0 1px #21193918, 0 6px 18px #2a1d5522; }
.wheel-dim { position: absolute; inset: 0; border-radius: 50%; background: #000; pointer-events: none; }
.wheel-dot { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 5px #0006; pointer-events: none; }
.palette-side { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; font-size: 12px; }
.palette-swatch { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #21193918; }
.palette-hex { font-size: 15px; letter-spacing: .5px; }
.palette-bright { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.palette-bright input { width: 100%; accent-color: var(--accent); }
@media (max-width: 360px) { .wheel { width: 140px; height: 140px; } }

/* 启动页、欢迎页点任意处进入 */
.splash-screen, .welcome-screen { cursor: pointer; }
.tap-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; padding: 7px 16px; border-radius: 999px;
  background: #ffffffd9; color: #4b3a8f; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 14px #2a1d5522; animation: tapHint 1.6s ease-in-out infinite; }
@keyframes tapHint { 0%,100% { opacity: .65; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .tap-hint { animation: none; } }
