.practice-live{display:block;width:100%;height:620px;border:0;background:#f6f8f7;border-radius:12px}.hero-visual .practice-live{height:560px}.large-screen .practice-live{height:740px}.practice-live[data-view=bmi]{height:370px}.practice-live[data-view=abi]{height:440px}.practice-live[data-view=report]{height:470px}.practice-live[data-view=medications]{height:590px}.practice-live[data-view=theme]{height:620px}.hero-visual .floating-note{display:none}.dark-screen{overflow:hidden}.practice-live-fallback{font-size:12px;padding:8px 12px;margin:0;background:#ecf5f1}.practice-live-fallback a{color:#245d62}@media(max-width:600px){.practice-live{height:640px}.large-screen .practice-live{height:700px}.hero-visual .practice-live{height:530px}.practice-live[data-view=abi]{height:580px}.practice-live[data-view=bmi]{height:410px}}

.palette.demo-theme-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.demo-theme-controls .demo-color{display:block;box-sizing:border-box;width:30px;height:30px;min-width:30px;padding:0;border:3px solid transparent;border-radius:50%;cursor:pointer;background:var(--demo-swatch);background-clip:padding-box}.demo-color[data-demo-color=green]{--demo-swatch:#1b6559}.demo-color[data-demo-color=blue]{--demo-swatch:#245d91}.demo-color[data-demo-color=purple]{--demo-swatch:#70518d}.demo-color[data-demo-color=sand]{--demo-swatch:#866039}.demo-color[data-demo-color=slate]{--demo-swatch:#526477}.demo-theme-controls .demo-color[aria-pressed=true]{outline:2px solid var(--demo-swatch);outline-offset:2px}.demo-theme-controls .demo-dark-toggle{padding:8px 14px;min-height:38px;border:1px solid #bdd0ca;border-radius:20px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}.demo-theme-controls .demo-dark-toggle[aria-pressed=true]{background:#203b35;color:white;border-color:#203b35}.demo-theme-controls button:focus-visible{outline:3px solid #3976a0;outline-offset:4px}


/* Color preview shows the full workspace without internal scrolling */
.practice-live[data-view=theme]{height:clamp(260px,40vw,480px)}


/* Subtle translucent frame for the appearance preview */
.dark-screen{padding:8px;background:rgba(228,238,231,.42);border:1px solid rgba(120,151,135,.22);border-radius:12px;box-shadow:0 12px 32px #23453408}
.dark-screen .practice-live-fallback{background:transparent;padding:9px 4px 2px}

@media print{iframe.practice-live,.practice-live-fallback{display:none!important}}

@media(max-width:700px){
 html,body{max-width:100%;overflow-x:clip}
 .practice-live{max-width:100%;min-width:0;touch-action:pan-y}
 .practice-live[data-view=theme]{height:680px}
 .large-screen,.dark-screen{max-width:100%;min-width:0}
 .practice-live-fallback{white-space:normal;overflow-wrap:break-word}
 .palette.demo-theme-controls{gap:10px;flex-wrap:wrap}
}

/* Applied only when the containing website is viewed on a phone. */
html[data-demo-mobile]{overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html[data-demo-mobile] body{width:100%!important;max-width:100%;margin:0!important;zoom:1!important;overflow-x:clip;overflow-y:auto}
html[data-demo-mobile] *,html[data-demo-mobile] *::before,html[data-demo-mobile] *::after{box-sizing:border-box;min-width:0}
html[data-demo-mobile] #app-shell{width:100%!important;min-height:0;display:block!important}
html[data-demo-mobile] .workspace{width:100%!important;max-width:100%;margin:0!important}
html[data-demo-mobile] .sidebar{position:static!important;inset:auto;width:100%!important;padding:16px!important;display:flex;flex-direction:column;gap:10px;overflow:visible}
html[data-demo-mobile] .sidebar .brand{margin:0!important;font-size:24px}
html[data-demo-mobile] .sidebar .workspace-label,html[data-demo-mobile] .sidebar-divider,html[data-demo-mobile] .sidebar-bottom{display:none!important}
html[data-demo-mobile] .sidebar .nav-button{width:100%;padding:10px;white-space:normal}
html[data-demo-mobile] .topbar{padding:12px 16px;min-height:48px;flex-wrap:wrap}
html[data-demo-mobile] .practice-identity{flex-wrap:wrap;gap:8px}
html[data-demo-mobile] #practice-label{max-width:none;overflow:visible;text-overflow:clip;white-space:normal}
html[data-demo-mobile] main{width:100%;max-width:none;padding:16px!important}
html[data-demo-mobile] .page-heading,html[data-demo-mobile] .card-heading,html[data-demo-mobile] .section-heading{flex-wrap:wrap;align-items:flex-start;gap:12px}
html[data-demo-mobile] .page-heading>*,html[data-demo-mobile] .page-heading .button{width:100%}
html[data-demo-mobile] .patient-grid,html[data-demo-mobile] .medication-grid,html[data-demo-mobile] .vitals-grid,html[data-demo-mobile] .editor-layout,html[data-demo-mobile] .license-methods{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px}
html[data-demo-mobile] .patient-grid>*,html[data-demo-mobile] .medication-grid>*,html[data-demo-mobile] .vitals-grid>*{grid-column:auto!important;width:100%}
html[data-demo-mobile] .card{padding:16px;max-width:100%}
html[data-demo-mobile] input:not([type=checkbox],[type=radio]),html[data-demo-mobile] select,html[data-demo-mobile] textarea{display:block;width:100%!important;max-width:100%;min-width:0!important;font-size:16px;box-sizing:border-box}
html[data-demo-mobile] input[type=date]{min-height:44px;-webkit-appearance:none;appearance:none}
html[data-demo-mobile] button,html[data-demo-mobile] .button{max-width:100%;white-space:normal;height:auto;min-height:44px;overflow-wrap:break-word}
html[data-demo-mobile] .tools-row,html[data-demo-mobile] .therapy-tools{display:flex;flex-wrap:wrap;gap:10px}
html[data-demo-mobile] .tools-row>*,html[data-demo-mobile] .therapy-tools>*{flex:1 1 100%;max-width:100%}
html[data-demo-mobile] .document-tools{width:100%;max-width:100%}
html[data-demo-mobile] dialog{max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:16px;overflow:auto}
html[data-demo-mobile] h1{font-size:26px;overflow-wrap:break-word}
html[data-demo-mobile] #demo-excerpt{padding:12px!important}
html[data-demo-mobile] body[data-demo-view=theme] .sidebar{display:none!important}
html[data-demo-mobile] body[data-demo-view=theme] .topbar{display:none}
html[data-demo-mobile] body[data-demo-view=theme] .page-heading{margin-bottom:16px}
html[data-demo-mobile] body[data-demo-view=theme] textarea{height:80px;min-height:80px}
html[data-demo-mobile] body:is([data-demo-view=bmi],[data-demo-view=abi],[data-demo-view=medications])>#app-shell{display:none!important}
html[data-demo-mobile] .sidebar .nav-button{font-size:13px!important;justify-content:flex-start}
html[data-demo-mobile] .sidebar .nav-button span{font-size:16px}
html[data-demo-mobile] body[data-demo-view=theme] .patient-grid>*:not(:first-child),html[data-demo-mobile] body[data-demo-view=theme] #new-patient,html[data-demo-mobile] body[data-demo-view=theme] .page-heading p:not(.eyebrow){display:none!important}
html[data-demo-mobile] .field{width:100%;max-width:100%;overflow-wrap:anywhere}
html[data-demo-mobile] .tools-row .field{overflow:hidden}
html[data-demo-mobile] select{-webkit-appearance:none;appearance:none;white-space:normal}
html[data-demo-mobile] .sidebar .nav-button span{width:auto;flex-shrink:0}

@media(max-width:700px){
 .feature-strip{position:relative;overflow:hidden}
 .feature-strip .wrap.ticker-viewport{display:block;width:calc(100% - 48px);margin:0;overflow:hidden;padding:0}
 .feature-ticker-track{display:flex;width:max-content;animation:practice-feature-ticker 25s linear infinite}
 .feature-ticker-group{display:flex;align-items:center;flex:none;gap:28px;padding-right:28px;white-space:nowrap}
 .feature-strip .feature-ticker-group span{font-size:12px;white-space:nowrap;flex:none}
 .feature-strip[data-paused] .feature-ticker-track{animation-play-state:paused}
 .feature-ticker-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:6px;background:transparent;color:inherit;display:grid;place-items:center}
 .feature-ticker-toggle svg{width:18px;height:18px}
 @keyframes practice-feature-ticker{to{transform:translateX(-50%)}}
 @media(prefers-reduced-motion:reduce){.feature-ticker-track{animation:none}.feature-ticker-group[aria-hidden]{display:none}.feature-strip .wrap.ticker-viewport{overflow-x:auto;width:100%}.feature-ticker-toggle{display:none}}
}

.bmi-line{flex-wrap:wrap;min-width:0}.bmi-line>div{min-width:0;flex:1 1 140px}.bmi-line output{display:inline-flex;align-items:baseline;gap:6px;max-width:100%;flex:0 0 auto}.bmi-line output small{flex:none;white-space:nowrap}
