.rom-screen{--rom-blue:#1c6285;gap:14px}.rom-heading h1{font-size:1.5rem}.rom-eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.09em;color:#567d94}.rom-intro{background:linear-gradient(105deg,#edf5fae8,#edf5fa65),url('assets/vios-material-cgi.webp') center/cover;padding:15px 16px;border-radius:14px;border:1px solid #dbe7ee}.rom-intro h2{margin:6px 0;font-size:1.3rem;letter-spacing:-.03em}.rom-intro p,.rom-lead{font-size:.9375rem;line-height:1.5;color:#597384}.rom-joints{display:grid;grid-template-columns:1fr 1fr;gap:9px;min-height:0}.rom-joint{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;text-align:left;align-items:center;min-height:94px;border:1px solid #d9e5ed;border-radius:12px;background:#fff;overflow:hidden;padding:8px;column-gap:8px}.rom-joint img{grid-row:1/3;width:64px;height:77px;object-fit:cover;border-radius:7px}.rom-joint span{font-weight:700;font-size:1rem;color:#204b65;align-self:end;line-height:1.3}.rom-joint small{font-size:.65rem;line-height:1.4;color:#5e798b;align-self:start;margin-top:4px}.rom-bottom{margin-top:auto;display:flex;flex-direction:column;gap:9px;flex:none}.rom-bottom>.btn{min-height:48px}.rom-bottom>p{text-align:center}.rom-movements .mobile-row{min-height:64px}.rom-progress{display:flex;align-items:center;gap:6px;min-height:22px}.rom-progress i{height:4px;background:#dce8ef;flex:1;border-radius:4px}.rom-progress i.done{background:#4c87a3}.rom-progress span{font-size:.75rem;color:#708694;margin-left:8px}.rom-step-copy h2{font-size:1.3rem;letter-spacing:-.03em;margin:12px 0}.rom-step-copy p{font-size:1rem;line-height:1.5;margin:8px 0}.rom-side{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.rom-side button{min-height:78px;border:1px solid #cbdde7;border-radius:13px;background:#fff;font-weight:650;font-size:1.1rem;color:#28546e}.rom-side button[aria-pressed=true]{border:2px solid #337795;background:#ecf5fa}.rom-figure{margin:0;background:#f4f8fb;border-radius:14px;overflow:hidden;border:1px solid #dfebf2}.rom-figure img{display:block;width:100%;height:clamp(130px,25dvh,240px);object-fit:contain}.rom-figure figcaption{padding:5px 9px;background:#edf3f7;font-size:.65rem;line-height:1.4;color:#668297}.rom-instruction{display:flex;flex-direction:column;gap:17px}.rom-instruction>div{padding:0 0 12px;border-bottom:1px solid #e0e9ef}.rom-instruction span{font-size:.7rem;letter-spacing:.07em;font-weight:700;color:#5a7a90}.rom-instruction p{font-size:1rem;line-height:1.5;margin-top:6px}.rom-voice{padding:20px 12px;text-align:center;background:linear-gradient(140deg,#edf5fa,#fff);border-radius:15px}.rom-voice>.icon{width:40px;height:40px;color:#427d9b;margin:0 auto 14px}.rom-voice h2{font-size:1.3rem;line-height:1.35;letter-spacing:-.03em;margin-bottom:8px}.rom-voice p{font-size:.95rem}.rom-heard{display:flex;align-items:center;gap:10px;line-height:1.5;font-size:1rem;min-height:50px}.rom-heard input{flex:0 0 24px;width:24px;height:24px;accent-color:#225f80}.rom-warning{padding:10px 12px;background:#fcf5e8;border-left:3px solid #b18a3b;color:#7d622d;font-size:.875rem}.rom-live{text-align:center;background:linear-gradient(155deg,#edf5fa,#fff);border:1px solid #dbe7ef;border-radius:18px;padding:22px 18px}.rom-live>span{color:#618197;font-size:.875rem}.rom-live h2{font-size:1.75rem;margin:17px 0;line-height:1.2;letter-spacing:-.04em}.rom-live>p{font-size:1.1rem;line-height:1.5;min-height:4.5em}.rom-live-reading{display:flex;align-items:baseline;justify-content:center;gap:7px;margin:12px 0}.rom-live-reading strong{font-size:3.4rem;font-weight:600;letter-spacing:-.055em}.rom-live-reading span{font-size:.8rem;color:#638196}.rom-live>#rom-live-time{min-height:1.5em}.rom-measuring .mobile-nav{opacity:.45;pointer-events:none}.rom-measuring .mobile-header .btn{opacity:.45;pointer-events:none}.rom-filters{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:10px}.rom-filters label{font-size:.75rem;color:#527489;display:flex;flex-direction:column;gap:6px}.rom-filters select{min-height:44px;font-size:.8125rem;min-width:0;width:100%;border:1px solid #cbdde8;background:#fff;border-radius:9px;padding:8px;color:#284e68}.rom-records{display:flex;flex-direction:column}.rom-record{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;padding:16px 0;border:0;border-bottom:1px solid #dce7ee;background:transparent;text-align:left}.rom-record>span{min-width:0;display:flex;flex-direction:column;gap:5px}.rom-record b{font-size:.94rem;font-weight:650;line-height:1.3;color:#204b65}.rom-record small{font-size:.73rem;line-height:1.4;color:#668092}.rom-record>strong{font-size:1.55rem;white-space:nowrap;font-weight:600;letter-spacing:-.04em;color:#205b7a;display:flex;align-items:baseline;gap:3px}.rom-record>strong>small{font-size:.7rem;max-width:65px;white-space:normal;letter-spacing:0}.rom-pagination{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:42px}.rom-pagination button{background:#edf4f8;border:1px solid #d9e6ee;border-radius:8px;min-height:40px;padding:7px 10px;font-size:.8125rem;color:#325f7c}.rom-pagination span{font-size:.73rem;color:#6c8798}.rom-pagination button:disabled{opacity:.4}.rom-empty{padding:20px 4px;font-size:.95rem;color:#718693;line-height:1.55}.rom-result-title h2{font-size:1.2rem;letter-spacing:-.03em}.rom-result-title p{font-size:.8rem;color:#658195;margin-top:6px}.rom-result{display:grid;grid-template-columns:1fr 1fr;padding:18px 16px;border:1px solid #d7e6ef;border-radius:15px;background:linear-gradient(110deg,#edf5fa,#f9fbfd)}.rom-result>div{display:flex;flex-direction:column;gap:8px}.rom-result>div+div{border-left:1px solid #c9dee9;padding-left:18px}.rom-result span{font-size:.76rem;color:#638194}.rom-result strong{font-size:2.4rem;font-weight:600;letter-spacing:-.05em;line-height:1.2}.rom-result strong small{font-size:.8rem;letter-spacing:0;margin-left:4px}.rom-quality{display:flex;flex-direction:column;gap:5px;padding:8px 0}.rom-quality b{font-size:.875rem;color:#34717c}.rom-quality span{font-size:.75rem;color:#687f8f}.rom-screen .mobile-menu>.mobile-row{font-size:.875rem;min-height:48px;line-height:1.5}.rom-chart{display:block;width:100%;height:auto;min-height:100px;max-height:200px}.rom-chart text{font:13px system-ui;fill:#6a8699}.rom-plot{padding:14px 8px;background:#f4f8fb;border:1px solid #dce8ef;border-radius:14px}.rom-switch{display:flex;gap:10px}.rom-switch button{flex:1;border:0;border-bottom:2px solid #dce8ef;background:none;padding:10px 4px;color:#5d7d92;font-size:.9rem}.rom-switch button[aria-pressed=true]{border-color:#296988;color:#204f6a;font-weight:700}.rom-trend-readings{display:flex;justify-content:space-between;gap:12px;font-size:.8rem;color:#69869b}.rom-trend-readings span{display:flex;flex-direction:column;gap:4px}.rom-trend-readings b{font-size:1.3rem;color:#255c7a;font-weight:600}.rom-detail-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f0f6fa;padding:12px;border-radius:9px;font-size:.8125rem;color:#608095}.rom-detail-pair span{display:flex;flex-direction:column;gap:7px}.rom-detail-pair b{font-size:1.3rem;color:#245574;font-weight:600}.rom-line-note{display:block;color:#688597;font-size:.75rem;margin-top:4px}.rom-calendar-mark{display:inline-flex!important;align-items:center;justify-content:center;background:#e3f1f5;color:#176784!important;border-radius:50%;font-size:.65rem!important;line-height:1!important;width:15px;height:15px;position:absolute;bottom:3px;left:3px;pointer-events:none}.mobile-week>button .rom-calendar-mark{position:static;flex:0 0 15px}.mobile-day,.day-cell{position:relative}.rom-review-section{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px}.rom-review-section p{margin-top:8px}.mobile-app .mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.mobile-app .mobile-nav .nav-item{padding-left:0;padding-right:0}.mobile-app .mobile-nav .nav-item span{font-size:.7rem}.mobile-app .rom-screen{max-width:650px}.mobile-app .rom-screen .screen-page-body{width:100%}.mobile-app .rom-screen .screen-page-body .rom-joints{display:contents}.mobile-app .rom-screen .screen-page-body .rom-joint{min-height:75px}.mobile-app .rom-screen .screen-page-body .rom-joint img{height:57px}.mobile-app.large-text .mobile-nav{grid-template-columns:repeat(3,minmax(0,1fr));min-height:105px}.mobile-app.large-text .mobile-nav .nav-item{flex-direction:column;gap:0}.mobile-app.large-text .mobile-nav .nav-item span{font-size:.65rem}.mobile-app.large-text .rom-joints{grid-template-columns:1fr}.mobile-app.large-text .rom-filters{grid-template-columns:1fr}.mobile-app.large-text .rom-result strong{font-size:1.7rem}.mobile-app.large-text .rom-result{padding:12px;gap:6px}.mobile-app.large-text .rom-result>div+div{padding-left:8px}.mobile-app.large-text .rom-live{padding:12px}.mobile-app.large-text .rom-live h2{font-size:1.2rem}.mobile-app.large-text .rom-live>p{font-size:.875rem}.mobile-app.large-text .rom-live-reading strong{font-size:2rem}.mobile-app.large-text .rom-detail-pair{grid-template-columns:1fr}.mobile-app.large-text .rom-record>strong{font-size:1rem}
@media(max-height:700px){.rom-screen{gap:10px}.rom-intro{padding:11px 12px}.rom-intro h2{font-size:1.15rem}.rom-joint{min-height:78px;padding:5px;grid-template-columns:52px minmax(0,1fr);column-gap:6px}.rom-joint img{width:52px;height:65px}.rom-joint span{font-size:.94rem}.rom-joint small{font-size:.6rem}.rom-live{padding:14px}.rom-live h2{margin:12px 0;font-size:1.5rem}.rom-live>p{font-size:1rem}.rom-record{padding:12px 0}.rom-instruction{gap:12px}.rom-instruction p{font-size:.9375rem}.rom-voice{padding:12px}.rom-voice>.icon{height:30px;margin-bottom:9px}.rom-figure img{height:155px}}
@media(max-height:580px){.rom-screen{gap:7px}.rom-intro p{font-size:.8rem}.rom-intro{padding:8px 10px}.rom-intro h2{font-size:1rem;margin:4px 0}.rom-joints{gap:6px}.rom-joint{min-height:64px;grid-template-columns:38px minmax(0,1fr)}.rom-joint img{width:38px;height:50px}.rom-joint span{font-size:.85rem}.rom-joint small{font-size:.55rem}.rom-bottom{gap:4px}.rom-bottom>.btn{min-height:42px}.rom-live h2{margin:8px 0}.rom-live-reading strong{font-size:2.4rem}.rom-live>p{min-height:3em}.rom-figure img{height:120px}}
@media(min-width:750px){body:not(.mobile-app) .rom-screen{max-width:900px;margin:auto}.rom-joints{grid-template-columns:repeat(3,1fr)}body:not(.mobile-app) .rom-record{padding:20px 12px}body:not(.mobile-app) .rom-chart{max-height:300px}.rom-result{max-width:650px}}

.mobile-chart .mobile-row .rom-calendar-mark{position:static;margin-left:5px}.rom-running-screen{height:100%;min-height:0;display:flex;flex-direction:column;gap:10px;max-width:640px;margin:0 auto}.rom-running-screen .rom-live{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:12px}.rom-running-screen .rom-live>p{min-height:0}.rom-running-screen .rom-live-reading{margin:6px 0}.rom-running-screen .rom-bottom{margin:0}.rom-running-screen .rom-bottom .btn{min-height:52px}.rom-running-screen .rom-bottom p{font-size:.75rem}.mobile-app.large-text .rom-running-screen .rom-live-reading{display:none}.mobile-app.large-text .rom-running-screen .rom-live>span{font-size:.7rem}.mobile-app.large-text .rom-running-screen .rom-live h2{font-size:1rem;margin:9px 0}.mobile-app.large-text .rom-running-screen .rom-live p{font-size:.8rem}.mobile-app.large-text .rom-running-screen .rom-bottom p{display:none}.mobile-app.large-text .rom-running-screen .mobile-heading h1{font-size:1.1rem}
@media(max-height:580px){.rom-running-screen .rom-live-reading{display:none}.rom-running-screen .rom-live h2{margin:6px 0;font-size:1.3rem}.rom-running-screen .rom-live>p{font-size:.9rem}.rom-running-screen .rom-bottom p{display:none}.rom-running-screen #rom-live-time{display:none}}
@media(max-height:450px) and (min-width:600px){.rom-running-screen{display:grid;grid-template-columns:1fr 210px;grid-template-rows:30px 1fr;gap:8px 18px;max-width:none}.rom-running-screen>.mobile-heading{grid-column:1/-1}.rom-running-screen>.rom-bottom{grid-column:2;grid-row:2;justify-content:center}.rom-running-screen>.rom-live{grid-column:1;grid-row:2}.rom-running-screen .rom-live h2{font-size:1.1rem}}

.rom-heading{gap:10px;flex:none;height:auto;min-height:36px;align-items:center}.rom-heading h1{flex:1;min-width:0;white-space:normal;line-height:1.2;overflow-wrap:normal}.rom-heading>.btn{flex:none;min-width:50px}.rom-screen .mobile-menu{justify-content:flex-start;flex:none}.mobile-app .rom-screen .mobile-menu{gap:0}

#modal .rom-chart{max-height:min(190px,calc(var(--dialog-body-cap,320px) - 56px));min-height:60px}

/* Guided preview and explicit patient acceptance, ROM v2. */
.rom-demo-wrap{overflow:hidden;background:#eef4f8;border:1px solid #d5e4ed;border-radius:15px}.rom-demo-wrap video{display:block;width:100%;height:clamp(140px,27dvh,260px);object-fit:contain;background:#edf4f8}.rom-demo-controls{display:flex;justify-content:space-between;gap:8px;padding:7px 9px;background:#f8fbfd}.rom-demo-controls .btn{min-height:40px;padding:8px 10px;font-size:.875rem}.rom-demo-copy b{font-size:.95rem;color:#265c7b}.rom-demo-copy p{font-size:.875rem;line-height:1.45;margin-top:5px;color:#5f7b8d}.rom-video-links{display:flex;justify-content:space-between;gap:8px}.rom-video-links .btn{font-size:.875rem;padding:4px 0;min-height:36px}.rom-screen:has(#rom-demo){gap:9px}.rom-screen:has(#rom-demo) .rom-heard{font-size:.875rem;min-height:42px}.rom-pulse-orbit{display:block;width:62px;height:62px;border:2px solid #bdd6e4;border-radius:50%;box-shadow:0 0 0 12px #edf5fa,0 0 0 13px #dcebf3;background:radial-gradient(circle,#81abc1 0 17%,#f3f8fb 20%)}.rom-running-screen .rom-live-reading{padding:18px}.mobile-app.large-text .rom-demo-controls{flex-wrap:wrap}.mobile-app.large-text .rom-video-links{flex-wrap:wrap}.mobile-app.large-text .rom-demo-wrap video{height:130px}@media(max-height:650px){.rom-demo-wrap video{height:145px}.rom-screen:has(#rom-demo){gap:6px}.rom-demo-copy p{margin-top:2px}.rom-demo-copy b{font-size:.875rem}.rom-demo-controls{padding:4px 7px}}

/* Optional tutorial: a clear choice, then brief placement guidance. */
.rom-tutorial-choice{display:grid;gap:.65rem;padding:.15rem 0}.rom-tutorial-choice .btn{min-height:3.1rem;white-space:normal;line-height:1.25}.rom-placement-note{border-left:3px solid #7299b2;padding:.55rem .8rem;background:rgba(235,242,247,.65);border-radius:0 .65rem .65rem 0}.rom-placement-note b{font-size:1rem;color:#25475c}.rom-placement-note p{margin:.35rem 0 0;line-height:1.4;font-size:.95rem}.rom-step-copy h2{line-height:1.2}.rom-video-links{flex-wrap:wrap}
