:root {
  --navy: #071d35;
  --navy-2: #0b3159;
  --navy-3: #0e466e;
  --blue: #1687ff;
  --blue-2: #45b8ff;
  --cyan: #24c9d8;
  --ink: #10283f;
  --muted: #6f8599;
  --line: #e1ebf2;
  --surface: #ffffff;
  --bg: #f4f8fc;
  --green: #24ae79;
  --yellow: #e3a326;
  --orange: #ee7f3d;
  --red: #e5534b;
  --purple: #7668e8;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 12px 40px rgba(20, 64, 100, .08);
  --shadow-lg: 0 26px 70px rgba(7, 40, 68, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 222px;
  padding: 24px 15px 17px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(54, 184, 255, .22), transparent 28%),
    linear-gradient(180deg, #0b3459 0%, #071c34 70%, #061728 100%);
  box-shadow: 12px 0 35px rgba(6, 28, 50, .08);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 9px 27px; }
.brand > i {
  width: 43px; height: 43px; flex: 0 0 43px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #4bd3e5, #1687ff);
  box-shadow: 0 10px 25px rgba(28, 157, 232, .28);
  font-style: normal; font-size: 20px; font-weight: 900;
}
.brand div, .local-note div, .operator div { display: flex; flex-direction: column; }
.brand b { font-size: 18px; letter-spacing: 1px; }
.brand small, .local-note small, .operator small { margin-top: 3px; color: #89a9c3; font-size: 10px; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav button {
  display: flex; align-items: center; gap: 10px;
  border: 0; border-radius: 13px; padding: 12px 13px;
  color: #91abc1; background: transparent;
  text-align: left; cursor: pointer; transition: .2s ease;
}
.sidebar nav button i { width: 27px; font-size: 18px; font-style: normal; text-align: center; }
.sidebar nav button:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar nav button.active {
  color: #fff;
  background: linear-gradient(110deg, rgba(39, 166, 255, .28), rgba(37, 204, 217, .14));
  box-shadow: inset 3px 0 #46d5e4;
}
.local-note {
  margin-top: auto; padding: 12px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 13px;
  background: rgba(255,255,255,.04);
}
.local-note > span { width: 9px; height: 9px; border-radius: 50%; background: #31d79b; box-shadow: 0 0 0 5px rgba(49,215,155,.13); }
.local-note b { font-size: 11px; }
.operator { margin-top: 13px; padding: 14px 6px 0; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.operator > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #174c70; font-style: normal; }
.operator b { font-size: 11px; }

main { min-height: 100vh; margin-left: 222px; padding: 0 28px 50px; }
header {
  position: sticky; top: 0; z-index: 20;
  height: 86px; display: flex; align-items: center; justify-content: space-between;
  margin: 0 -6px 18px; padding: 0 6px;
  background: rgba(244,248,252,.9); backdrop-filter: blur(16px);
}
.title-wrap { display: flex; align-items: center; gap: 13px; }
.title-wrap h1 { margin: 0; font-size: 22px; letter-spacing: -.4px; }
.title-wrap p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.mobile-menu { display: none; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.ai-state {
  display: inline-flex; align-items: center;
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px;
  color: #71879a; background: #fff; font-size: 10px;
}
.ai-state i { width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--yellow); }
.ai-state.ready { color: #11825b; border-color: #cfeee1; background: #ecfaf4; }
.ai-state.ready i { background: var(--green); box-shadow: 0 0 0 4px rgba(36,174,121,.12); }
.primary, .ghost, .hero-primary, .hero-secondary, .wide-action {
  border-radius: 11px; padding: 10px 15px; font-weight: 750; cursor: pointer; transition: .2s ease;
}
.primary { border: 0; color: #fff; background: linear-gradient(135deg, #177ff4, #26b9dc); box-shadow: 0 9px 20px rgba(23,127,244,.2); }
.primary:hover, .hero-primary:hover, .wide-action:hover { transform: translateY(-1px); filter: brightness(1.03); }
.ghost { border: 1px solid #d9e6ef; color: #4d6a81; background: #fff; }
.page { display: none; animation: page-in .28s ease; }
.page.active { display: block; }
@keyframes page-in { from { opacity: .3; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.panel, .home-card { border: 1px solid rgba(221,232,240,.9); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.mobile-tabbar { display: none; }

/* Home */
.home-hero {
  position: relative; min-height: 388px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center;
  border-radius: 30px; padding: 46px 52px;
  color: #fff;
  background:
    radial-gradient(circle at 83% 10%, rgba(65,202,238,.34), transparent 28%),
    radial-gradient(circle at 72% 85%, rgba(25,126,235,.27), transparent 32%),
    linear-gradient(125deg, #071d35 0%, #0a3861 58%, #0d5480 100%);
  box-shadow: var(--shadow-lg);
}
.home-hero:after { content: ""; position: absolute; right: -70px; bottom: -120px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.hero-copy { position: relative; z-index: 3; max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #b7e8f4; background: rgba(255,255,255,.06); font-size: 10px; letter-spacing: .8px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #51d9d2; box-shadow: 0 0 0 5px rgba(81,217,210,.13); }
.hero-copy h2 { margin: 19px 0 14px; font-size: clamp(32px, 3.1vw, 48px); line-height: 1.18; letter-spacing: -1.8px; }
.hero-copy h2 em { color: #5cd9ee; font-style: normal; }
.hero-copy > p { max-width: 610px; margin: 0; color: #b5cbdb; font-size: 13px; line-height: 1.85; }
.hero-actions { display: flex; gap: 10px; margin-top: 25px; }
.hero-primary { border: 0; color: #08213b; background: linear-gradient(135deg, #fff, #c9f5fb); box-shadow: 0 12px 28px rgba(1,17,31,.25); }
.hero-primary b, .wide-action b { margin-left: 10px; }
.hero-secondary { border: 1px solid rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.06); }
.hero-badges { display: flex; gap: 12px; margin-top: 27px; }
.hero-badges span { padding-right: 14px; border-right: 1px solid rgba(255,255,255,.13); color: #a9c4d7; font-size: 10px; }
.hero-badges span:last-child { border-right: 0; }
.hero-badges b { margin-right: 5px; color: #fff; font-size: 17px; }
.hero-visual { position: relative; z-index: 2; height: 320px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(74,212,235,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit.one { width: 288px; height: 288px; }
.orbit.two { width: 226px; height: 226px; border-style: dashed; animation: orbit 18s linear infinite; }
@keyframes orbit { to { transform: translate(-50%,-50%) rotate(360deg); } }
.scan-beam { position: absolute; z-index: 5; left: 22%; right: 22%; top: 22%; height: 2px; background: linear-gradient(90deg, transparent, #53e4ed, transparent); box-shadow: 0 0 16px #53e4ed; animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 22%; opacity: .5; } 50% { top: 76%; opacity: 1; } }
.hero-person { position: absolute; left: 50%; top: 18px; width: 142px; height: 290px; transform: translateX(-50%); }
.hero-person i { position: absolute; display: block; border: 3px solid #77e4eb; background: rgba(32,186,214,.12); box-shadow: 0 0 14px rgba(70,217,234,.14); }
.hero-person .head { left: 52px; width: 40px; height: 48px; border-radius: 50%; }
.hero-person .torso { left: 32px; top: 52px; width: 80px; height: 116px; border-radius: 43% 43% 29% 29%; }
.hero-person .arm { top: 62px; width: 15px; height: 128px; border-radius: 10px; transform-origin: top; }
.hero-person .arm.left { left: 25px; transform: rotate(8deg); }
.hero-person .arm.right { right: 25px; transform: rotate(-8deg); }
.hero-person .leg { top: 165px; width: 23px; height: 122px; border-radius: 11px; }
.hero-person .leg.left { left: 43px; transform: rotate(2deg); }
.hero-person .leg.right { right: 43px; transform: rotate(-2deg); }
.joint { position: absolute; z-index: 3; width: 9px; height: 9px; border: 2px solid #4ccddd; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(48,201,221,.13); }
.j1 { left: 30px; top: 67px; }.j2 { right: 29px; top: 67px; }.j3 { left: 43px; top: 158px; }.j4 { right: 42px; top: 158px; }.j5 { left: 45px; top: 221px; }.j6 { right: 44px; top: 221px; }
.data-tag { position: absolute; z-index: 7; padding: 8px 10px; border: 1px solid rgba(133,232,242,.24); border-radius: 10px; color: #9ec9d9; background: rgba(5,29,51,.74); backdrop-filter: blur(10px); font-size: 9px; box-shadow: 0 10px 25px rgba(0,20,36,.23); }
.data-tag b { display: block; margin-top: 2px; color: #fff; font-size: 13px; }
.shoulder-tag { left: 3%; top: 24%; }.pelvis-tag { right: 1%; top: 49%; }.leg-tag { left: 5%; bottom: 8%; }

.home-dashboard { display: grid; grid-template-columns: .84fr 1.16fr; gap: 16px; margin-top: 17px; }
.home-card { padding: 20px; }
.card-head, .section-heading { display: flex; align-items: center; justify-content: space-between; }
.card-head > div > span, .section-heading span, .panel-head > div > span, .model-intro span { color: #1686dc; font-size: 8px; font-weight: 800; letter-spacing: 1.4px; }
.card-head h3 { margin: 4px 0 0; font-size: 17px; }
.card-head > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #20c7d7, #167ff1); font-style: normal; font-weight: 800; }
.card-head > small { color: var(--muted); }
.profile-state { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 13px; padding: 13px 14px; border: 1px solid #deedf5; border-radius: 13px; background: #f7fbfe; }
.profile-state > div { display: flex; flex-direction: column; min-width: 0; }
.profile-state b { font-size: 14px; }
.profile-state small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.profile-state > span { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #b27713; background: #fff1ce; font-size: 8px; }
.wide-action { width: 100%; border: 0; color: #fff; background: linear-gradient(135deg, #147ef3, #29bcd7); text-align: left; }
.wide-action b { float: right; }
.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 13px; }
.mini-stats div { padding: 9px; border-radius: 11px; background: #f4f8fb; }
.mini-stats small { display: block; color: var(--muted); font-size: 8px; }
.mini-stats b { display: block; margin-top: 4px; font-size: 14px; }
.protocol-steps { display: grid; grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr; align-items: center; margin-top: 26px; }
.protocol-steps > div { text-align: center; }
.protocol-steps > div i { width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto 7px; border: 1px solid #dce8f0; border-radius: 12px; color: #658097; background: #f5f8fb; font-style: normal; font-size: 10px; font-weight: 800; }
.protocol-steps > div.active i { color: #fff; border-color: transparent; background: linear-gradient(135deg, #1d83f4, #2ac6d6); box-shadow: 0 8px 20px rgba(27,139,225,.2); }
.protocol-steps b { display: block; font-size: 10px; }
.protocol-steps small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.protocol-steps > em { height: 1px; background: linear-gradient(90deg, #a7dff1, #dce9ef); }
.protocol-note { display: flex; align-items: center; gap: 8px; margin-top: 21px; padding: 10px 12px; border-radius: 11px; color: #52738a; background: #eef8fb; font-size: 9px; }
.protocol-note i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-style: normal; }
.section-heading { margin: 32px 2px 14px; }
.section-heading h2 { margin: 4px 0 0; font-size: 21px; }
.section-heading > small { color: var(--muted); font-size: 9px; }
.capability-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.capability-grid article { display: grid; grid-template-columns: 45px 1fr auto; gap: 11px; align-items: center; padding: 15px; border: 1px solid #e1ebf2; border-radius: 15px; background: #fff; box-shadow: 0 8px 28px rgba(20,64,100,.05); }
.cap-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: #fff; font-style: normal; font-size: 20px; }
.shoulder-icon { background: linear-gradient(135deg,#3a9cf6,#50d5e5); }.pelvis-icon { background: linear-gradient(135deg,#7d6ee9,#b294fa); }.leg-icon { background: linear-gradient(135deg,#2aa4a1,#56d7b7); }.neck-icon { background: linear-gradient(135deg,#ef8a55,#f4ba72); }.knee-icon { background: linear-gradient(135deg,#4d75e7,#6cb5f9); }.balance-icon { background: linear-gradient(135deg,#dc6bb2,#ad78e8); }
.capability-grid article div { display: flex; flex-direction: column; }
.capability-grid article b { font-size: 12px; }
.capability-grid article small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.capability-grid article > span { padding: 5px 7px; border-radius: 999px; color: #5a7c91; background: #f0f6f9; font-size: 8px; }
.privacy-banner { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 13px; margin-top: 16px; padding: 15px 18px; border: 1px solid #d4ede5; border-radius: 15px; background: linear-gradient(110deg,#f0fbf7,#f7fcff); }
.privacy-shield { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg,#28bc83,#2eb8ae); font-weight: 800; }
.privacy-banner b { font-size: 12px; }.privacy-banner p { margin: 4px 0 0; color: #628092; font-size: 9px; line-height: 1.55; }
.privacy-banner > span { color: #4a9d82; font-size: 8px; font-weight: 900; letter-spacing: 1.5px; }

/* Capture */
.patient-strip { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; padding: 12px 16px; border-radius: 16px; color: #fff; background: linear-gradient(110deg,#0a3157,#0d668a); box-shadow: 0 12px 30px rgba(8,52,84,.14); }
.patient-avatar { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; border-radius: 13px; background: linear-gradient(135deg,#37cfe1,#1588f6); font-weight: 850; }
.patient-strip > div:nth-child(2) { display: flex; flex-direction: column; }
.patient-strip small { color: #a6c8d8; font-size: 9px; }
.patient-strip > div b { margin-top: 2px; }
.patient-strip > span { margin-left: auto; color: #b3d0dd; font-size: 9px; }
.patient-strip > span b { color: #fff; }
.patient-strip > button { border: 1px solid rgba(255,255,255,.2); border-radius: 9px; padding: 7px 10px; color: #fff; background: rgba(255,255,255,.07); cursor: pointer; font-size: 9px; }
.capture-layout { display: grid; grid-template-columns: 244px minmax(490px,1fr) 244px; gap: 14px; align-items: start; }
.workflow-panel, .quality-panel { padding: 17px; }
.panel-title, .panel-head { display: flex; align-items: center; justify-content: space-between; }
.panel-title > div { display: flex; align-items: center; gap: 8px; }
.panel-title > div > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: #1684cf; background: #eaf6fb; font-size: 9px; font-weight: 800; }
.panel-title h2, .panel-head h2 { margin: 0; font-size: 15px; }
.panel-title > small { color: var(--muted); font-size: 9px; }
.view-steps { display: grid; gap: 7px; margin-top: 15px; }
.view-steps > button { display: grid; grid-template-columns: 34px 1fr 19px; align-items: center; gap: 9px; width: 100%; padding: 9px; border: 1px solid transparent; border-radius: 11px; color: var(--ink); background: #f6f9fb; text-align: left; cursor: pointer; transition: .2s ease; }
.view-steps > button > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #6a8193; background: #e7eef3; font-style: normal; font-weight: 800; }
.view-steps button div { min-width: 0; display: flex; flex-direction: column; }
.view-steps button b { font-size: 10px; }.view-steps button small { margin-top: 3px; color: var(--muted); font-size: 7.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.view-steps button em { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #8499a7; background: #e4ebef; font-style: normal; font-size: 8px; }
.view-steps button.active { border-color: #b8e4f2; background: linear-gradient(110deg,#edf9fe,#f5fbfd); box-shadow: 0 7px 18px rgba(26,146,218,.08); }
.view-steps button.active > i { color: #fff; background: linear-gradient(135deg,#2284f4,#2ec8d7); }
.view-steps button.done em { color: #fff; background: var(--green); }
.step-divider { display: flex; align-items: center; gap: 7px; margin: 4px 1px 0; color: #8aa0af; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.step-divider:before, .step-divider:after { content: ""; height: 1px; flex: 1; background: #e3ebf0; }
.step-divider small { padding: 2px 5px; border-radius: 999px; color: #8a77bf; background: #f1edfb; font-size: 7px; }
.workflow-progress { display: flex; align-items: center; gap: 9px; margin-top: 14px; }
.workflow-progress > span { height: 6px; flex: 1; overflow: hidden; border-radius: 999px; background: #e7eef2; }
.workflow-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1685f4,#2bc6d8); transition: .3s ease; }
.workflow-progress b { color: #1688dc; font-size: 9px; }
.studio-panel { overflow: hidden; border-radius: 20px; }
.studio-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 15px; border-bottom: 1px solid var(--line); }
.studio-head > div:first-child { display: grid; grid-template-columns: 10px 1fr; column-gap: 8px; }
.studio-head > div:first-child b { font-size: 13px; }.studio-head small { grid-column: 2; margin-top: 4px; color: var(--muted); font-size: 9px; }
.live-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: #31c88d; box-shadow: 0 0 0 5px rgba(49,200,141,.13); }
.studio-tools { display: flex; gap: 5px; }
.studio-tools button { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; color: #738a9b; background: #fff; font-size: 8px; }
.studio-tools button.on { color: #0c87ac; border-color: #bfe7ed; background: #ebfafd; }
.stage { position: relative; height: 638px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(155deg,#dceaf0,#bfcfd6); }
.stage:before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 50% 36%,rgba(255,255,255,.32),transparent 40%); }
.stage canvas, .stage video { position: relative; z-index: 3; display: none; max-width: 100%; max-height: 100%; object-fit: contain; }
.stage canvas { cursor: crosshair; touch-action: none; }.stage video { width: 100%; height: 100%; object-fit: contain; background: #071b2b; }
.grid-overlay { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: .5; }
.grid-overlay i { position: absolute; background: rgba(23,93,119,.38); }
.grid-overlay i:nth-child(1), .grid-overlay i:nth-child(2) { top: 0; bottom: 0; width: 1px; }.grid-overlay i:nth-child(1) { left: 33.333%; }.grid-overlay i:nth-child(2) { left: 66.666%; }
.grid-overlay i:nth-child(3), .grid-overlay i:nth-child(4) { left: 0; right: 0; height: 1px; }.grid-overlay i:nth-child(3) { top: 33.333%; }.grid-overlay i:nth-child(4) { top: 66.666%; }
.grid-overlay b { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(35,224,105,.75); box-shadow: 0 0 8px rgba(35,224,105,.35); }
.capture-status { position: absolute; z-index: 9; left: 50%; top: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #fff; background: rgba(7,36,58,.72); backdrop-filter: blur(12px); font-size: 8px; white-space: nowrap; }
.capture-status i { width: 7px; height: 7px; border-radius: 50%; background: #9db1bd; }
.capture-status.good i { background: #34db94; box-shadow: 0 0 0 4px rgba(52,219,148,.15); }.capture-status.live i { background: #37cae3; box-shadow: 0 0 0 4px rgba(55,202,227,.15); animation: pulse 1.2s ease-in-out infinite; }.capture-status.warn i { background: #ffc354; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.72); } }
.measure-tools { position: absolute; z-index: 9; left: 10px; top: 56px; display: grid; gap: 5px; }
.measure-tools button { width: 52px; display: grid; place-items: center; padding: 6px 3px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; color: #d7e9ef; background: rgba(7,35,55,.68); backdrop-filter: blur(10px); font-size: 7px; cursor: pointer; }
.measure-tools button i { font-style: normal; font-size: 13px; line-height: 1; }.measure-tools button span { margin-top: 3px; }.measure-tools button.on { color: #fff; border-color: rgba(68,210,231,.55); background: linear-gradient(135deg,rgba(20,128,232,.86),rgba(32,184,202,.86)); }
.empty-stage { position: relative; z-index: 5; max-width: 450px; padding: 28px; color: #5e7889; text-align: center; }
.scan-icon { position: relative; width: 110px; height: 160px; margin: 0 auto 10px; border: 1px dashed rgba(16,145,194,.55); border-radius: 52px 52px 22px 22px; }
.scan-icon i { position: absolute; left: 37px; top: 15px; width: 36px; height: 43px; border: 4px solid #1fa6cf; border-radius: 50%; }
.scan-icon b { position: absolute; left: 26px; top: 61px; width: 58px; height: 55px; border: 4px solid #1fa6cf; border-radius: 43% 43% 28% 28%; }
.scan-icon em { position: absolute; left: 35px; top: 112px; width: 40px; height: 42px; border-left: 12px solid #1fa6cf; border-right: 12px solid #1fa6cf; }
.step-kicker { display: inline-block; margin-top: 4px; color: #158aca; font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.empty-stage h2 { margin: 8px 0 7px; color: var(--ink); font-size: 20px; }.empty-stage p { margin: 0; line-height: 1.75; font-size: 10px; }
.empty-stage > div:last-of-type { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }.empty-stage label { display: inline-block; }.empty-stage input { display: none; }
.demo-link { margin-top: 12px; border: 0; color: #1685d6; background: transparent; cursor: pointer; font-size: 9px; }
.analyzing { position: absolute; z-index: 11; display: none; padding: 19px 23px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; color: #fff; background: rgba(6,31,50,.92); text-align: center; box-shadow: 0 18px 50px rgba(0,21,36,.3); }
.analyzing i { display: block; width: 29px; height: 29px; margin: 0 auto 11px; border: 3px solid rgba(255,255,255,.22); border-top-color: #42d6df; border-radius: 50%; animation: spin 1s linear infinite; }
.analyzing small { display: block; margin-top: 5px; color: #9ec2d0; font-size: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.camera-actions { position: absolute; z-index: 11; left: 0; right: 0; bottom: 22px; display: none; align-items: center; justify-content: center; gap: 34px; color: #fff; }
.camera-actions button { border: 0; }.camera-actions > button:first-child { padding: 8px 13px; border-radius: 999px; color: #fff; background: rgba(5,34,54,.78); }.camera-actions span { width: 70px; font-size: 9px; }
.shutter { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(0,24,43,.28); }.shutter i { width: 57px; height: 57px; border: 3px solid #149fd0; border-radius: 50%; }
.countdown { position: absolute; z-index: 12; width: 132px; height: 132px; display: none; place-content: center; border-radius: 50%; color: #fff; background: rgba(6,31,50,.9); text-align: center; box-shadow: 0 0 0 8px rgba(41,202,214,.3); }.countdown strong { display: block; font-size: 49px; }.countdown small { color: #a9c8d5; }
.stage-tip { position: absolute; z-index: 10; right: 12px; bottom: 12px; display: none; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(7,37,58,.76); font-size: 8px; }
.studio-foot { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; }
.studio-foot > div { display: flex; gap: 5px; }.studio-foot button { border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: #617c90; background: #fff; font-size: 8px; cursor: pointer; }.studio-foot .primary { color: #fff; border: 0; }
.quality-preview { position: relative; height: 156px; display: grid; place-items: center; margin: 14px 0; overflow: hidden; border-radius: 13px; background: radial-gradient(circle at 45% 40%,#fff,#edf6f9 68%); }
.quality-preview:before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px; background: rgba(37,194,118,.35); }
.mini-body { position: relative; width: 50px; height: 120px; }.mini-body > i { position: absolute; left: 13px; width: 25px; height: 25px; border-radius: 50%; background: #b1ccd7; }.mini-body > b { position: absolute; left: 7px; top: 29px; width: 37px; height: 53px; border-radius: 16px 16px 8px 8px; background: #b1ccd7; }.mini-body > em { position: absolute; left: 11px; top: 78px; width: 29px; height: 42px; border-left: 9px solid #b1ccd7; border-right: 9px solid #b1ccd7; }
.quality-preview > span { position: absolute; left: 8px; top: 8px; padding: 4px 7px; border-radius: 7px; color: #1685bd; background: #fff; font-size: 8px; }
.quality-ring { position: absolute; right: 8px; bottom: 8px; width: 56px; height: 56px; display: grid; place-content: center; border: 4px solid #d5e7ed; border-top-color: #23b9c5; border-radius: 50%; text-align: center; }.quality-ring b { color: #1689b6; font-size: 11px; }.quality-ring small { color: #7b919e; font-size: 6px; }
.quality-list { display: grid; gap: 10px; }.quality-list > div { display: grid; grid-template-columns: 8px 1fr auto; gap: 8px; align-items: center; font-size: 9px; }.quality-list i { width: 7px; height: 7px; border-radius: 50%; background: #cad6dc; }.quality-list b { color: #95a8b4; font-size: 8px; }.quality-list .good i { background: var(--green); }.quality-list .good b { color: var(--green); }.quality-list .warn i { background: var(--yellow); }.quality-list .warn b { color: #b67c13; }
.capture-guide { margin-top: 15px; padding: 12px; border-radius: 11px; background: #f4f8fb; }.capture-guide b { font-size: 9px; }.capture-guide p { margin: 5px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.key-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 11px; }.key-stat div { padding: 9px; border-radius: 10px; background: #edf8fa; }.key-stat small { display: block; color: var(--muted); font-size: 7px; }.key-stat b { display: block; margin-top: 4px; font-size: 11px; }
.screening-note { display: flex; gap: 8px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }.screening-note i { width: 17px; height: 17px; flex: 0 0 17px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #7897aa; font-style: normal; font-size: 8px; }.screening-note p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.5; }

/* Report */
.report-profile { display: grid; grid-template-columns: minmax(280px,1.5fr) repeat(4,minmax(110px,.7fr)); gap: 12px; align-items: center; padding: 16px 19px; margin-bottom: 14px; color: #fff; background: linear-gradient(110deg,#071f39,#0c456a); }
.profile-primary { display: flex; align-items: center; gap: 12px; min-width: 0; }.report-avatar { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; border-radius: 15px; background: linear-gradient(135deg,#38d1dc,#1687f4); font-size: 18px; font-weight: 850; }.profile-primary small, .profile-field small { display: block; color: #90b3c8; font-size: 8px; }.profile-primary h2 { margin: 3px 0; font-size: 16px; }.profile-primary p { margin: 0; overflow: hidden; color: #b7cbd7; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }.profile-field { min-width: 0; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.12); }.profile-field b { display: block; margin-top: 5px; overflow: hidden; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.report-hero { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 24px; overflow: hidden; padding: 23px; background: radial-gradient(circle at 90% 20%,#dff8fb,transparent 30%),linear-gradient(110deg,#fff,#f4fbfe); }
.score-gauge { position: relative; width: 148px; height: 148px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#dce7ed 0 100%); }.score-gauge:after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #edf2f5; }.score-gauge > div { position: relative; z-index: 2; text-align: center; }.score-gauge strong { display: block; font-size: 38px; line-height: 1; }.score-gauge small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }.score-gauge b { display: inline-block; margin-top: 7px; padding: 4px 8px; border-radius: 999px; color: #6e8597; background: #eef3f6; font-size: 8px; }
.hero-summary > span { color: #1587d5; font-size: 8px; font-weight: 850; letter-spacing: 1.4px; }.hero-summary h2 { margin: 6px 0; font-size: 21px; }.hero-summary p { margin: 0; color: var(--muted); line-height: 1.6; }.hero-summary > div { display: flex; align-items: center; gap: 8px; margin-top: 14px; }.hero-summary em { color: var(--muted); font-style: normal; font-size: 8px; }.hero-summary b { margin-right: 9px; font-size: 12px; }
.report-actions { display: flex; flex-direction: column; gap: 7px; }.report-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 14px; margin-top: 14px; }.risk-ranking, .view-evidence, .metrics-panel, .interpretation-panel { padding: 19px; }.panel-head { gap: 12px; margin-bottom: 14px; }.panel-head > div { display: block; }.panel-head > div > span { display: block; margin-bottom: 4px; }.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }.panel-head > em, .weekly-plan .panel-head > em { padding: 5px 8px; border-radius: 999px; color: #4a826c; background: #e9f8f1; font-style: normal; font-size: 8px; }.panel-head > button { border: 0; color: #1684d0; background: transparent; cursor: pointer; font-size: 9px; }
.ranking-empty { padding: 55px 0; color: var(--muted); text-align: center; }.rank-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }.rank-row > i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--red); font-style: normal; font-weight: 800; }.rank-row:nth-child(2) > i { background: var(--orange); }.rank-row:nth-child(3) > i { background: #7896aa; }.rank-row div { display: flex; flex-direction: column; }.rank-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }.rank-row em { color: var(--red); font-style: normal; font-weight: 750; }
.evidence-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }.evidence-card { position: relative; height: 180px; overflow: hidden; border-radius: 11px; background: #eaf1f4 center/cover; }.evidence-card:after { content: ""; position: absolute; inset: auto 0 0; height: 62px; background: linear-gradient(transparent,rgba(5,30,49,.9)); }.evidence-card span { position: absolute; z-index: 2; left: 9px; bottom: 8px; color: #fff; font-size: 8px; }.evidence-card.empty { display: grid; place-items: center; color: #9aabb5; font-size: 8px; }.evidence-card.empty:after { display: none; }
.metrics-panel, .interpretation-panel { margin-top: 14px; }.metric-filter { display: flex; gap: 5px; }.metric-filter button { border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; color: var(--muted); background: #fff; font-size: 8px; }.metric-filter button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg,#177ff1,#28bcd7); }
.metrics-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #dbe8ef; border-radius: 14px; }.metrics-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; }.metrics-table th { padding: 12px 13px; color: #cceafa; background: linear-gradient(110deg,#083457,#0b6c93); text-align: left; font-size: 9px; letter-spacing: .3px; }.metrics-table td { padding: 12px 13px; border-top: 1px solid #e3edf2; color: #466276; font-size: 9px; }.metrics-table td:nth-child(3) strong { color: var(--ink); font-size: 16px; }.metrics-table td:nth-child(4) { color: #8195a3; }.metrics-table td b { display: block; color: var(--ink); }.metrics-table td small { display: block; margin-top: 4px; color: #1689bd; }.metrics-table tr.mild { background: #fffbf3; }.metrics-table tr.moderate, .metrics-table tr.severe { background: #fff6f4; }
.group-tag, .result-pill { display: inline-flex; align-items: center; border-radius: 999px; font-size: 8px; }.group-tag { padding: 4px 7px; color: #147a99; background: #eaf5f8; }.result-pill { padding: 5px 8px; font-weight: 750; }.result-pill.pending { color: #7c919d; background: #edf2f4; }.result-pill.normal { color: #14845d; background: #e7f8ef; }.result-pill.mild { color: #b97815; background: #fff0cd; }.result-pill.moderate { color: #c65f2e; background: #ffe3cf; }.result-pill.severe { color: #d64f49; background: #ffe0dd; }
.interpretation-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }.interpretation-card { padding: 14px; border: 1px solid #dfeaf0; border-radius: 13px; background: #fff; }.interpretation-card > div { display: flex; align-items: center; gap: 7px; }.interpretation-card > div i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: #168bc4; font-style: normal; font-weight: 800; }.interpretation-card > div span { color: #718998; font-size: 8px; }.interpretation-card > div em { margin-left: auto; padding: 4px 7px; border-radius: 999px; color: #718998; background: #edf3f5; font-style: normal; font-size: 7px; }.interpretation-card.mild > div em { color: #b97815; background: #fff0cd; }.interpretation-card.moderate > div em { color: #c65f2e; background: #ffe3cf; }.interpretation-card.severe > div em { color: #d64f49; background: #ffe0dd; }.interpretation-card h3 { margin: 10px 0 6px; font-size: 13px; }.interpretation-card > strong { color: var(--ink); font-size: 22px; }.interpretation-card > strong small { margin-left: 6px; color: #8095a2; font-size: 8px; font-weight: 500; }.interpretation-card p { margin: 9px 0 0; color: #617b8c; font-size: 9px; line-height: 1.6; }.interpretation-card .review-tip { padding-top: 8px; border-top: 1px dashed #dae5ea; color: #0d7c9d; }.interpretation-empty { grid-column: 1/-1; padding: 35px; border-radius: 11px; color: #8ea2ad; background: #f7fafb; text-align: center; }

/* Digital body */
.model-intro { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 20px 22px; border-radius: 18px; color: #fff; background: linear-gradient(110deg,#071e37,#0b5b81); }.model-intro h2 { margin: 4px 0; font-size: 21px; }.model-intro p { margin: 0; color: #bad0dc; font-size: 10px; }.model-intro > b { padding: 6px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #acd4e1; background: rgba(255,255,255,.06); font-size: 8px; }
.model-layout { display: grid; grid-template-columns: 225px 1fr 255px; gap: 14px; }.model-controls, .model-findings { padding: 18px; }.layer-buttons { display: grid; gap: 7px; }.layer-buttons button { display: grid; grid-template-columns: 35px 1fr; gap: 9px; align-items: center; padding: 9px; border: 1px solid transparent; border-radius: 11px; color: var(--ink); background: #f6f9fb; text-align: left; cursor: pointer; }.layer-buttons button > i { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: #e6eef3; font-style: normal; }.layer-buttons button div { display: flex; flex-direction: column; }.layer-buttons small { margin-top: 3px; color: var(--muted); font-size: 8px; }.layer-buttons button.active { border-color: #b6e5ed; background: #effafd; }.layer-buttons button.active > i { color: #fff; background: linear-gradient(135deg,#1789ee,#2cc6d6); }.model-note { margin-top: 16px; padding: 11px; border-radius: 10px; background: #f3f8fa; }.model-note p { margin: 5px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.model-stage { min-height: 680px; overflow: hidden; padding: 14px; background: radial-gradient(circle at 50% 42%,#fff,#e6f2f7 70%); }.model-toolbar { display: flex; justify-content: space-between; }.model-toolbar button { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; color: #698294; background: #fff; }.model-toolbar div button.on { color: #fff; border-color: transparent; background: #168cca; }
.digital-human { position: relative; width: 270px; height: 570px; margin: 13px auto 0; transform-style: preserve-3d; transition: .45s; }.digital-human > * { transition: .3s; }.human-head { position: absolute; left: 100px; top: 5px; width: 70px; height: 85px; border: 8px solid #7899a8; border-radius: 48%; }.human-head:after { content: ""; position: absolute; left: 12px; bottom: -19px; width: 30px; height: 23px; border: 5px solid #7899a8; border-top: 0; }.human-spine { position: absolute; left: 130px; top: 86px; width: 11px; height: 230px; border-radius: 8px; background: linear-gradient(#dd6865,#e7a15c); }.human-ribs { position: absolute; left: 66px; top: 90px; width: 140px; height: 170px; }.human-ribs i { position: absolute; left: 0; right: 0; height: 70px; border: 7px solid #7f9eaa; border-radius: 50%; }.human-ribs i:nth-child(1) { top: 0; }.human-ribs i:nth-child(2) { top: 28px; }.human-ribs i:nth-child(3) { top: 56px; }.human-ribs i:nth-child(4) { top: 84px; }.human-pelvis { position: absolute; left: 80px; top: 250px; width: 112px; height: 75px; border: 10px solid #7f9eaa; border-radius: 50% 50% 43% 43%; }.bone { position: absolute; width: 11px; border-radius: 8px; background: #7f9eaa; transform-origin: top; }.bone.arm { top: 105px; height: 235px; }.bone.arm.left { left: 67px; transform: rotate(10deg); }.bone.arm.right { right: 67px; transform: rotate(-10deg); }.bone.leg { top: 315px; height: 245px; }.bone.leg.left { left: 103px; transform: rotate(3deg); }.bone.leg.right { right: 103px; transform: rotate(-3deg); }.model-axis { position: absolute; left: 135px; top: 10px; width: 2px; height: 540px; background: #20dd75; opacity: .65; }.callout { position: absolute; padding: 6px 9px; border: 1px solid #e2eaee; border-radius: 999px; background: #fff; box-shadow: 0 5px 15px rgba(41,75,94,.12); font-size: 8px; }.callout b { color: var(--red); }.callout.shoulder { top: 125px; right: -10px; }.callout.pelvis { top: 270px; left: -7px; }.callout.leg { right: -18px; bottom: 120px; }.digital-human.muscle .human-head, .digital-human.muscle .human-ribs i, .digital-human.muscle .human-pelvis { border-color: #d85e59; }.digital-human.muscle .bone, .digital-human.muscle .human-spine { background: #d85e59; }.digital-human.fascia .human-head, .digital-human.fascia .human-ribs i, .digital-human.fascia .human-pelvis { border-color: #1bbeb6; }.digital-human.fascia .bone, .digital-human.fascia .human-spine { background: #1bbeb6; }.digital-human.nerve .human-head, .digital-human.nerve .human-ribs i, .digital-human.nerve .human-pelvis { border-color: #e9af3f; }.digital-human.nerve .bone, .digital-human.nerve .human-spine { background: #e9af3f; }.digital-human.organ .human-ribs:after { content: "♥"; position: absolute; left: 52px; top: 48px; color: #df625d; font-size: 50px; }.drag-hint { color: var(--muted); font-size: 8px; text-align: center; }
.model-find-row { padding: 12px 0; border-bottom: 1px solid var(--line); }.model-find-row > div { display: flex; justify-content: space-between; }.model-find-row b { font-size: 11px; }.model-find-row em { color: var(--red); font-style: normal; font-size: 9px; }.model-find-row p { margin: 5px 0; color: var(--muted); font-size: 8px; line-height: 1.5; }.full { width: 100%; margin-top: 17px; }

/* History and prescription */
.history-head, .prescription-head { display: flex; align-items: center; justify-content: space-between; padding: 22px; }.history-head span, .prescription-head span { color: #1686d5; font-size: 8px; font-weight: 850; letter-spacing: 1.3px; }.history-head h2, .prescription-head h2 { margin: 5px 0; font-size: 21px; }.history-head p, .prescription-head p { margin: 0; color: var(--muted); }.history-head select { border: 1px solid var(--line); border-radius: 9px; padding: 9px; color: #4f6d80; background: #fff; }.trend-panel { position: relative; height: 330px; margin-top: 14px; padding: 15px; }.trend-panel canvas { width: 100%; height: 100%; }.trend-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }.history-list { margin-top: 14px; padding: 19px; }.history-row { display: grid; grid-template-columns: 1.2fr 1fr repeat(4,.7fr) auto; gap: 10px; align-items: center; padding: 13px; border-top: 1px solid var(--line); cursor: pointer; }.history-row:hover { background: #f6fafc; }.history-row small { color: var(--muted); }.history-row b.risk { color: var(--red); }.history-row button { border: 0; border-radius: 7px; padding: 7px; color: #1681c7; background: #eaf5fb; }
.prescription-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }.exercise-card { padding: 17px; }.exercise-visual { height: 148px; display: grid; place-items: center; border-radius: 13px; color: #55a7be; background: radial-gradient(circle at 50% 30%,#fff,#e7f6f8); font-size: 51px; }.exercise-card > span { display: inline-block; margin-top: 12px; color: #138bad; font-size: 8px; }.exercise-card h3 { margin: 6px 0; }.exercise-card p { color: var(--muted); font-size: 9px; line-height: 1.6; }.exercise-dose { display: grid; grid-template-columns: 1fr 1fr; padding: 9px; border-radius: 9px; background: #f4f8fa; }.exercise-dose div { text-align: center; }.exercise-dose small { display: block; color: var(--muted); font-size: 7px; }.weekly-plan { margin-top: 14px; padding: 19px; }.week-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; }.day-card { padding: 10px; border-radius: 10px; background: #f5f9fb; text-align: center; }.day-card b { display: block; }.day-card span { display: block; margin: 6px 0; color: var(--muted); font-size: 8px; }.day-card i { display: block; height: 4px; border-radius: 999px; background: #1cbbca; }

/* Intake */
.modal { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 20px; background: rgba(5,24,43,.72); backdrop-filter: blur(8px); }.modal.show { display: grid; }.modal-card { width: min(760px,100%); max-height: min(880px,calc(100dvh - 30px)); overflow: auto; padding: 25px 27px; border-radius: 21px; background: #fff; box-shadow: 0 28px 80px rgba(0,22,39,.32); }.modal-head { display: flex; justify-content: space-between; }.modal-head span { color: #1685d1; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }.modal-head h2 { margin: 5px 0 7px; font-size: 22px; }.modal-head p { margin: 0 0 15px; color: var(--muted); font-size: 9px; }.modal-head button { border: 0; color: #8298a7; background: transparent; font-size: 25px; }.required-tip { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 10px 12px; border: 1px solid #cfeaf1; border-radius: 11px; background: linear-gradient(135deg,#ebf9fc,#f1f7ff); }.required-tip b { color: #0e819e; }.required-tip span { color: #6f8998; font-size: 8px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.form-grid label { color: #5c7689; font-size: 9px; }.form-grid label em { color: var(--red); font-style: normal; }.form-grid input, .form-grid select { display: block; width: 100%; margin-top: 6px; padding: 11px; border: 1px solid #d9e6ed; border-radius: 10px; color: var(--ink); background: #fff; outline: none; }.form-grid input:focus, .form-grid select:focus { border-color: #1d9fd3; box-shadow: 0 0 0 3px rgba(29,159,211,.1); }.privacy-note { margin-top: 14px; padding: 11px 12px; border-left: 3px solid #19a9c1; border-radius: 9px; background: #f3f8fa; }.privacy-note b { font-size: 9px; }.privacy-note p { margin: 4px 0 0; color: #678192; font-size: 8px; line-height: 1.6; }.privacy-check { display: flex; align-items: flex-start; gap: 8px; margin-top: 13px; padding: 10px; border-radius: 9px; color: var(--muted); background: #f7f9fa; font-size: 9px; }.privacy-check input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: #168fd2; }.modal-actions { display: flex; align-items: center; gap: 8px; margin-top: 17px; }.modal-actions > span { flex: 1; }.danger-link { border: 0; padding: 7px 0; color: #c95550; background: transparent; font-size: 9px; }.profile-gate #closePatient, .profile-gate #cancelPatient, .profile-gate #clearPatientData { display: none !important; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 28px; max-width: calc(100% - 34px); padding: 10px 16px; border-radius: 10px; color: #fff; background: #07273f; box-shadow: 0 12px 35px rgba(0,28,49,.28); opacity: 0; pointer-events: none; transform: translate(-50%,15px); transition: .2s ease; text-align: center; }.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 1320px) {
  .capture-layout { grid-template-columns: 220px 1fr; }
  .quality-panel { grid-column: 1/3; display: grid; grid-template-columns: 170px 1fr 180px; gap: 14px; }
  .quality-panel .panel-title { grid-column: 1/4; }.quality-preview, .capture-guide { margin: 0; }.screening-note { grid-column: 3; }
  .model-layout { grid-template-columns: 210px 1fr; }.model-findings { grid-column: 1/3; }
}

@media (max-width: 1050px) {
  .sidebar { width: 74px; padding-inline: 10px; }.brand { padding-left: 5px; }.brand div, .sidebar nav span, .local-note, .operator div { display: none; }.sidebar nav button { justify-content: center; padding: 12px; }.sidebar nav button i { width: auto; }.operator { justify-content: center; }
  main { margin-left: 74px; padding-inline: 15px; }
  .home-hero { grid-template-columns: 1fr 330px; padding: 38px; }.capability-grid { grid-template-columns: repeat(2,1fr); }
  .capture-layout { grid-template-columns: 1fr; }.studio-panel { order: 1; }.workflow-panel { order: 2; }.quality-panel { grid-column: auto; order: 3; display: block; }.quality-preview { margin: 14px 0; }.capture-guide { margin-top: 15px; }.screening-note { grid-column: auto; }
  .report-profile { grid-template-columns: 1.5fr repeat(2,1fr); }.report-profile .profile-field:nth-last-child(-n+2) { display: none; }.report-grid { grid-template-columns: 1fr; }
  .model-layout { grid-template-columns: 1fr; }.model-findings { grid-column: auto; }.model-stage { order: 1; }.model-controls { order: 2; }.model-findings { order: 3; }
  .prescription-grid { grid-template-columns: 1fr 1fr; }.week-grid { grid-template-columns: repeat(4,1fr); }.history-row { grid-template-columns: 1fr 1fr 1fr; }.history-row > *:nth-child(4), .history-row > *:nth-child(5) { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 12px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sidebar { display: none; }
  main { margin-left: 0; padding: 0 12px 24px; }
  header { height: 66px; margin-bottom: 10px; padding: 0 2px; }.title-wrap h1 { font-size: 18px; }.title-wrap p { display: none; }.mobile-menu { display: none; }.top-actions .ghost, .top-actions .primary { display: none; }.ai-state { padding: 6px 8px; font-size: 8px; }
  .mobile-tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: calc(67px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5,1fr); align-items: end; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #dce7ee; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); box-shadow: 0 -10px 30px rgba(8,45,74,.08); }
  .mobile-tabbar button { display: grid; place-items: center; gap: 3px; border: 0; color: #8195a4; background: transparent; font-size: 8px; }.mobile-tabbar button i { font-style: normal; font-size: 19px; }.mobile-tabbar button.active { color: #1687d6; }.mobile-tabbar .measure-main { position: relative; top: -8px; color: #1687d6; }.mobile-tabbar .measure-main i { width: 48px; height: 48px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#1680f1,#2ac8d8); box-shadow: 0 7px 20px rgba(23,128,232,.28); font-size: 25px; }.mobile-tabbar .measure-main span { margin-top: -1px; }
  .home-hero { min-height: 480px; grid-template-columns: 1fr; padding: 27px 21px; border-radius: 23px; }.hero-copy { z-index: 5; }.hero-copy h2 { margin-top: 15px; font-size: 31px; letter-spacing: -1.1px; }.hero-copy > p { font-size: 11px; line-height: 1.75; }.hero-actions { display: grid; grid-template-columns: 1.3fr .9fr; margin-top: 19px; }.hero-primary, .hero-secondary { padding: 11px 10px; font-size: 10px; }.hero-badges { gap: 8px; margin-top: 18px; }.hero-badges span { padding-right: 8px; font-size: 8px; }.hero-badges b { font-size: 14px; }
  .hero-visual { position: absolute; right: -5px; bottom: -70px; width: 260px; height: 300px; opacity: .78; }.orbit.one { width: 240px; height: 240px; }.orbit.two { width: 190px; height: 190px; }.data-tag { transform: scale(.86); }.shoulder-tag { left: -5%; }.pelvis-tag { right: -5%; }.leg-tag { display: none; }
  .home-dashboard { grid-template-columns: 1fr; gap: 11px; margin-top: 12px; }.home-card { padding: 16px; }.protocol-steps { grid-template-columns: 1fr 15px 1fr 15px 1fr 15px 1fr; }.protocol-steps > div i { width: 34px; height: 34px; }.protocol-steps b { font-size: 9px; }.protocol-steps small { font-size: 7px; }
  .section-heading { margin-top: 25px; }.section-heading h2 { font-size: 17px; }.section-heading > small { display: none; }.capability-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.capability-grid article { grid-template-columns: 39px 1fr; padding: 11px; }.cap-icon { width: 38px; height: 38px; border-radius: 11px; }.capability-grid article > span { display: none; }.capability-grid article b { font-size: 10px; }.privacy-banner { grid-template-columns: 38px 1fr; padding: 13px; }.privacy-shield { width: 37px; height: 37px; }.privacy-banner > span { display: none; }
  .patient-strip { padding: 9px 10px; border-radius: 13px; }.patient-strip > span { display: none; }.patient-strip > button { margin-left: auto; }.capture-layout { gap: 10px; }.studio-panel { border-radius: 16px; }.stage { height: clamp(400px,64dvh,620px); min-height: 0; max-height: none; aspect-ratio: auto; }.studio-head { min-height: 57px; padding: 9px 10px; }.studio-head small { font-size: 8px; }.studio-tools { gap: 3px; }.studio-tools button { padding: 5px 6px; font-size: 7px; }.measure-tools { left: 7px; top: 48px; }.measure-tools button { width: 47px; }.capture-status { top: 9px; }.empty-stage { padding: 18px 12px; }.scan-icon { width: 92px; height: 138px; }.scan-icon i { left: 30px; }.scan-icon b { left: 20px; width: 52px; }.scan-icon em { left: 27px; }.studio-foot { align-items: stretch; flex-direction: column; padding: 8px; }.studio-foot > div { display: grid; grid-template-columns: repeat(3,1fr); }.studio-foot > div:last-child { grid-template-columns: .8fr 1.4fr; }.studio-foot button { padding: 9px 5px; }
  .workflow-panel { padding: 13px; overflow: hidden; }.view-steps { grid-template-columns: repeat(7,112px); overflow-x: auto; margin-inline: -13px; padding: 0 13px 8px; scroll-snap-type: x mandatory; }.view-steps > button { grid-template-columns: 30px 1fr; scroll-snap-align: start; }.view-steps button em { display: none; }.step-divider { display: none; }.quality-panel { padding: 14px; }
  .report-profile { grid-template-columns: 1fr 1fr; padding: 13px; gap: 9px; }.profile-primary { grid-column: 1/-1; }.report-profile .profile-field { display: block !important; padding-left: 8px; }.report-profile .profile-field:nth-last-child(-n+2) { display: none !important; }.profile-primary p { white-space: normal; }.report-hero { grid-template-columns: 1fr; gap: 14px; padding: 18px; text-align: center; }.score-gauge { margin: auto; }.hero-summary > div { justify-content: center; flex-wrap: wrap; }.report-actions { flex-direction: row; justify-content: center; }.report-grid { gap: 10px; margin-top: 10px; }.risk-ranking, .view-evidence, .metrics-panel, .interpretation-panel { padding: 14px; }.evidence-grid { grid-template-columns: 1fr 1fr; }.metrics-panel, .interpretation-panel { margin-top: 10px; }.metric-filter { display: flex; max-width: 100%; overflow-x: auto; padding-bottom: 5px; }.metric-filter button { flex: 0 0 auto; }.metrics-table-wrap { overflow: visible; border: 0; background: transparent; }.metrics-table { min-width: 0; display: block; background: transparent; }.metrics-table thead { display: none; }.metrics-table tbody { display: grid; gap: 9px; }.metrics-table tr { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 5px 9px; align-items: center; padding: 12px; border: 1px solid #dce8ee; border-radius: 13px; background: #fff; }.metrics-table td { padding: 0; border: 0; }.metrics-table td:nth-child(1) { grid-column: 1; grid-row: 1; }.metrics-table td:nth-child(2) { grid-column: 2; grid-row: 1; }.metrics-table td:nth-child(3) { grid-column: 3; grid-row: 1/3; text-align: right; }.metrics-table td:nth-child(4) { grid-column: 2; grid-row: 2; font-size: 10px; }.metrics-table td:nth-child(4):before { content: "筛查参考 "; }.metrics-table td:nth-child(5) { grid-column: 1/-1; grid-row: 3; padding-top: 7px; border-top: 1px dashed #e2eaee; }.metrics-table tr[hidden] { display: none; }.interpretation-grid { grid-template-columns: 1fr; }.interpretation-card { padding: 13px; }
  .model-intro { align-items: flex-start; flex-direction: column; gap: 10px; padding: 17px; }.model-intro p { line-height: 1.6; }.model-layout { gap: 10px; }.model-stage { min-height: 620px; }.digital-human { transform: scale(.88); transform-origin: top center; }.history-head, .prescription-head { align-items: flex-start; flex-direction: column; gap: 12px; padding: 17px; }.trend-panel { height: 260px; }.history-row { grid-template-columns: 1fr auto; gap: 6px 10px; padding: 13px 4px; }.history-row > * { display: none !important; }.history-row > *:nth-child(1), .history-row > *:nth-child(3), .history-row > *:nth-child(6), .history-row > *:nth-child(7) { display: block !important; }.history-row > *:nth-child(1) { grid-column: 1; grid-row: 1; }.history-row > *:nth-child(3) { grid-column: 2; grid-row: 1; }.history-row > *:nth-child(3):before { content: "偏离指数 "; color: #7e94a2; font-weight: 500; }.history-row > *:nth-child(6) { grid-column: 1; grid-row: 2; color: #647e8e; }.history-row > *:nth-child(6):before { content: "表观腿差 "; color: #8ba0ad; }.history-row > *:nth-child(7) { grid-column: 2; grid-row: 2; }.prescription-grid { grid-template-columns: 1fr; gap: 10px; }.week-grid { grid-template-columns: repeat(3,1fr); }
  .modal { align-items: end; padding: 0; }.modal-card { width: 100%; max-height: 95dvh; padding: 20px 16px; border-radius: 22px 22px 0 0; }.form-grid { grid-template-columns: 1fr; gap: 11px; }.required-tip { align-items: flex-start; gap: 10px; }.required-tip span { text-align: right; }.modal-actions { position: sticky; bottom: 0; margin: 0 -16px -20px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -12px 22px #fff; }.modal-actions .primary { flex: 1; }.danger-link { font-size: 8px; }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); font-size: 10px; }
}

@media (max-width: 390px) {
  .hero-copy h2 { font-size: 28px; }.hero-actions { grid-template-columns: 1fr; }.hero-secondary { display: none; }.capability-grid { grid-template-columns: 1fr; }.capability-grid article { grid-template-columns: 39px 1fr auto; }.capability-grid article > span { display: inline-flex; }.protocol-steps small { display: none; }.home-hero { min-height: 455px; }
}

@media print {
  .sidebar, header, .mobile-tabbar, .report-actions, .metric-filter { display: none !important; }
  body { background: #fff; }.page { display: none !important; }#report { display: block !important; }main { margin: 0; padding: 12px; }.panel { box-shadow: none; break-inside: avoid; }.report-profile { color: var(--ink); border: 1px solid #dce8ed; background: #fff; }.profile-primary small, .profile-field small, .profile-primary p { color: #607b8b; }.report-grid { grid-template-columns: 1fr 1fr; }.metrics-table-wrap { overflow: visible; }.metrics-table { min-width: 0; }.interpretation-panel { break-before: page; }
}
