:root{
 --ink:#252037;--muted:#716c7e;--purple:#7055bf;--dark:#4f358f;--lavender:#efebf9;--line:#e8e4ee;
 --bg:#f7f6fb;--white:#fff;--mint:#e7f3ec;--green:#27664c;--peach:#fff0e2;--red:#a42e41;
 --shadow:0 14px 44px #30234a0c;--radius:20px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button,a{-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait;opacity:.6}a{color:var(--purple);text-underline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.2}h2{font-size:24px;letter-spacing:-.7px}h3{font-size:16px;letter-spacing:-.2px}p{color:var(--muted)}[hidden]{display:none!important}:focus-visible{outline:3px solid #a185df;outline-offset:4px}main:focus{outline:none}svg{display:block;flex-shrink:0}.ui-icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.skip{position:fixed;top:-100px;left:16px;z-index:200;background:white;padding:12px 20px;border-radius:10px}.skip:focus{top:12px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:25px;font-weight:760;text-decoration:none;letter-spacing:-1.25px;line-height:1;white-space:nowrap}.brand img{border-radius:11px}.brand-light{font-weight:420}
.primary,.secondary,.danger-button{min-height:46px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:12px 20px;font-weight:650;text-decoration:none;transition:background .18s,box-shadow .18s,transform .18s}
.primary{color:white;background:var(--purple);box-shadow:0 4px 10px #7055bf18}.primary:hover{background:var(--dark);box-shadow:0 6px 18px #7055bf25;transform:translateY(-1px)}.secondary{background:white;border:1px solid var(--line);color:var(--ink)}.secondary:hover{background:var(--lavender);border-color:#d5cbea}.danger-button{background:#fbe8eb;color:var(--red)}.text-button{color:var(--purple);padding:10px 4px;min-height:44px;background:transparent;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}.text-button:hover{text-decoration:underline}.compact{min-height:42px;padding:9px 17px;font-size:13px}.primary>span:last-child{font-size:19px}.icon-button{background:var(--bg);color:var(--ink);border-radius:50%;font-size:25px;line-height:1;width:42px;height:42px;flex-shrink:0}
.eyebrow,.tiny-label,.nav-caption{font-size:10px;letter-spacing:1.5px;font-weight:700}.eyebrow{display:flex;align-items:center;gap:9px;color:var(--purple);margin-bottom:17px}.eyebrow-dot,.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:var(--purple);flex-shrink:0}.eyebrow-dot{box-shadow:0 0 0 5px #7055bf0b}.tiny-label{color:var(--muted);font-size:9px}.dot.green{background:var(--green)}
/* Landing */
#landing{background:radial-gradient(ellipse at 94% 14%,#ebe3f94d,transparent 32%),#faf9fc}
.landing-header{max-width:1280px;margin:auto;padding:26px 48px;display:flex;align-items:center;justify-content:space-between;gap:30px}.landing-nav,.header-actions{display:flex;align-items:center;gap:25px}.landing-nav{margin-left:auto;margin-right:auto}.landing-nav a,.landing-nav button{font-size:13px;color:var(--muted);text-decoration:none}.header-actions{gap:25px;flex-shrink:0}.header-actions .text-button{white-space:nowrap;font-size:13px}.header-start{background:#2f2744}
.hero{max-width:1280px;margin:auto;padding:64px 48px 88px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.hero-copy{padding-bottom:8px}.hero h1{position:relative;font-size:clamp(45px,4.7vw,66px);font-weight:620;line-height:1.08;letter-spacing:-3.8px;margin:24px 0}.hero h1 em{font-style:normal;color:var(--purple)}.hero-asterisk{display:inline-block;font-size:42px;color:#a895cf;margin-left:15px;vertical-align:middle;font-weight:400}.hero-description{font-size:17px;line-height:1.7;margin-bottom:30px;letter-spacing:-.2px}.hero-actions{display:flex;gap:12px}.hero-actions .primary,.hero-actions .secondary{padding:13px 24px;min-height:50px}.play-icon{font-size:22px;line-height:1;color:var(--purple)}.trust-line{display:flex;gap:20px;font-size:11px;color:var(--muted);margin-top:22px}.trust-line>span{display:flex;gap:6px;align-items:center}.trust-line>span>span{color:var(--green)}.hero-evaluation{font-size:10px;color:var(--muted);margin:28px 0 0;display:flex;gap:8px;align-items:center}.evaluation-pill{display:inline-block;font-size:8px;font-weight:750;letter-spacing:1px;padding:4px 7px;border:1px solid #ded7eb;border-radius:5px;color:#746682}
.hero-studio{background:#efebf6;border:1px solid #e4dcef;border-radius:26px;padding:20px 22px 0;box-shadow:0 25px 55px #3320480b;position:relative;min-width:0}.studio-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;font-size:8px;font-weight:700;letter-spacing:1.2px;color:#827390}.studio-header>span:first-child{display:flex;align-items:center;gap:8px}.studio-header .dot{width:5px;height:5px}.preview-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#e4ddeb;border-radius:10px;padding:4px;gap:2px}.preview-tabs button{background:none;border-radius:7px;padding:9px 5px;min-height:38px;font-size:11px;font-weight:650;color:#70627f;white-space:nowrap;transition:background .2s,color .2s}.preview-tabs button[aria-selected=true]{background:white;color:#453258;box-shadow:0 2px 5px #3524400a}.preview-panel{padding:26px 5px 19px;min-height:336px;animation:appear .25s ease}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:23px}.preview-heading h2{font-size:28px;line-height:1.15;font-weight:570;letter-spacing:-1.2px;margin:7px 0 0}.preview-heading .tiny-label{font-size:8px;letter-spacing:1px;margin:0}.preview-symbol{background:#e0d4f2;border-radius:20px;width:68px;height:68px;display:grid;place-items:center;font-size:32px;color:#7353aa;flex-shrink:0;transform:rotate(8deg)}
.paper-stack{background:white;border:1px solid #e8e3ef;border-radius:14px;padding:20px;position:relative;box-shadow:0 7px 0 -3px #f9f7fc,0 8px 0 -3px #dad2e7;min-height:161px}.paper-top{display:flex;align-items:center;gap:12px;margin-bottom:16px}.document-glyph{width:36px;height:42px;border:1px solid #e4def0;border-radius:7px;background:#f7f4fb;display:grid;place-items:center;color:var(--purple);font-family:Georgia,serif;font-size:19px}.paper-top>div{flex:1}.paper-top strong{display:block;font-size:12px;font-weight:650}.paper-top>div>span{font-size:10px;color:var(--muted);display:block;margin-top:1px}.paper-check{background:var(--mint);color:var(--green);width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:11px}.paper-line{width:88%;height:5px;background:#eeeaf2;border-radius:5px;margin:8px 0}.paper-line.short{width:59%}.record-chips{display:flex;gap:7px;margin-top:16px}.record-chips span{font-size:9px;padding:3px 8px;border-radius:5px;background:#f5f3f8;color:#82778f}.paper-stack h3{font-size:14px;margin:10px 0 7px}.paper-stack p{font-size:12px;margin-bottom:8px}.review-meter{display:flex;gap:4px;margin:12px 0 6px}.review-meter span{width:30px;height:3px;background:#d1c1e7;border-radius:5px}.review-meter span:last-child{background:#eee9f5}
.preview-next{display:flex;gap:11px;align-items:center;margin:22px 2px 0}.next-icon{border:1px solid #d9cfe6;width:31px;height:31px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;color:var(--purple)}.preview-next strong{font-size:11px;font-weight:650}.preview-next p{margin:1px 0 0;font-size:10px;color:#7d6f8d}.studio-footer{width:calc(100% + 44px);margin:0 -22px;background:#e5ddef8a;border-top:1px solid #ded4eb;padding:13px 24px;border-radius:0 0 26px 26px;color:#66507d;font-size:11px;font-weight:650;display:flex;justify-content:space-between;align-items:center;min-height:44px}.studio-footer:hover{background:#e2d7ef}.studio-footer span{font-size:17px}.routine-row{display:flex;gap:11px;align-items:center;padding:4px 0}.routine-row+.routine-row{border-top:1px solid var(--line);margin-top:13px;padding-top:15px}.routine-row strong{display:block;font-size:12px}.routine-row div>span{display:block;font-size:10px;color:var(--muted);margin-top:3px}.routine-marker{border-radius:50%;width:26px;height:26px;background:var(--lavender);color:var(--purple);display:grid;place-items:center;font-size:11px;flex-shrink:0}
.journey-section{max-width:1280px;padding:36px 48px 70px;margin:auto;border-top:1px solid var(--line);scroll-margin-top:24px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin:12px 0 30px}.section-heading .eyebrow{font-size:9px;margin-bottom:14px}.section-heading h2{font-size:32px;font-weight:550;line-height:1.2;letter-spacing:-1.2px;margin:0}.section-heading>p{font-size:12px;line-height:1.8;margin-bottom:0}
.journey{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.journey article{border:1px solid var(--line);background:#fff;border-radius:18px;padding:26px;position:relative;transition:transform .2s,box-shadow .2s}.journey article:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.journey-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.journey-top>span:last-child{font-size:11px;color:#a39aad}.feature-icon{display:grid;place-items:center;border-radius:12px;background:var(--lavender);color:var(--purple);width:42px;height:42px;font-size:24px}.feature-icon.peach{background:var(--peach);color:#a16a35}.feature-icon.mint{background:var(--mint);color:var(--green)}.journey h3{font-size:19px;letter-spacing:-.6px;font-weight:600;margin-bottom:10px}.journey p{font-size:13px;line-height:1.8;margin-bottom:25px}.feature-foot{font-size:8px;letter-spacing:1.3px;color:#92889f;font-weight:650}
.privacy-feature{margin:0 auto 64px;max-width:1184px;display:grid;grid-template-columns:1fr 1.15fr;align-items:center;background:#eeebf6;border:1px solid #e4dfee;border-radius:24px;gap:35px;padding:35px 75px}.privacy-feature h2{font-size:35px;font-weight:560;line-height:1.15;letter-spacing:-1.4px;margin-bottom:15px}.privacy-feature p:not(.eyebrow){font-size:13px;max-width:355px}.privacy-feature .text-button{font-size:12px}.privacy-orbit{width:200px;height:200px;border:1px solid #d4c8e4;border-radius:50%;display:grid;place-items:center;position:relative;margin:auto}.privacy-orbit:before{content:"";position:absolute;inset:20px;border:1px dashed #d4c8e4;border-radius:50%}.privacy-orbit:after{content:"";position:absolute;width:12px;height:12px;background:#ac94cc;border:4px solid #eeebf6;border-radius:50%;right:0;top:64px;box-sizing:content-box}.privacy-orbit span{font-size:70px;color:#8665b3;line-height:1;background:#e1d7ef;width:105px;height:105px;border-radius:30px;display:grid;place-items:center;transform:rotate(-10deg)}
.boundary{max-width:1184px;margin:0 auto 30px;border-top:1px solid var(--line);padding:24px 0;display:flex;align-items:flex-start;gap:14px}.boundary-icon{color:var(--purple);border:1px solid #d7cfea;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;flex-shrink:0}.boundary strong{font-size:12px;font-weight:650}.boundary p{font-size:11px;line-height:1.8;margin:4px 0 0;max-width:920px}.landing-footer{max-width:1280px;margin:auto;padding:20px 48px 30px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.footer-brand{font-size:18px;text-decoration:none;color:var(--ink);font-weight:700;letter-spacing:-.7px}.footer-brand span{display:block;font-size:7px;letter-spacing:1.6px;font-weight:600;color:var(--muted);margin-top:4px}.landing-footer .text-button{font-size:11px}
/* Workspace */
.sidebar{position:fixed;inset:0 auto 0 0;width:232px;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);padding:28px 16px;z-index:10}.sidebar .brand{font-size:23px;margin:0 8px 40px}.sidebar .brand img{width:32px;height:32px}.nav-caption{color:#91869f;font-size:8px;margin:0 15px 12px}.nav-item{width:100%;display:flex;align-items:center;gap:13px;border-radius:11px;padding:12px 15px;text-align:left;background:none;color:#7d748b;font-size:13px;margin-bottom:5px;min-height:46px}.nav-item>span{display:block}.nav-item:hover{background:var(--bg)}.nav-item.active{background:#efeaf9;color:#6745a8;font-weight:700}.nav-item.active .ui-icon{stroke-width:2}.sidebar-bottom{margin-top:auto}.help-card{background:#f6f3fb;border:1px solid #eee7f7;padding:19px;border-radius:15px;margin:20px 3px}.help-card .spark{display:block;font-size:27px;color:#9475c2;margin-bottom:8px}.help-card strong{font-size:12px}.help-card p{font-size:11px;margin:7px 0}.help-card .text-button{font-size:10px;min-height:30px}
.workspace-body{margin-left:232px}.topbar{height:86px;padding:17px 40px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#ffffffb8;border-bottom:1px solid var(--line)}.patient-name{font-size:16px;font-weight:650;letter-spacing:-.2px;margin-top:2px;overflow-wrap:anywhere}.patient-identity{min-width:0}.topbar-right{display:flex;align-items:center;gap:18px}.connection{font-size:10px;color:#8d829b;white-space:nowrap}.avatar{border-radius:13px;width:40px;height:40px;font-weight:700;color:var(--purple);background:#eae3f6;flex-shrink:0}.evaluation-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 40px;background:#f0ecf6;border-bottom:1px solid #e9e1f0;font-size:10px;color:#7b6b8b}.evaluation-banner>span{display:flex;align-items:center;gap:7px}.evaluation-banner .dot{width:4px;height:4px}.evaluation-banner .text-button{font-size:10px;min-height:28px;padding:3px}
#app-main{max-width:1380px;margin:auto;padding:32px 40px;min-height:calc(100dvh - 195px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:26px}.page-heading h1{font-size:30px;letter-spacing:-1.25px;font-weight:620;margin:0 0 9px}.page-heading p{font-size:13px;max-width:650px;margin:0}.page-heading .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:9px}.page-heading>button{flex-shrink:0}
.welcome-panel{background:#64499e;border-radius:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:27px 30px;margin-bottom:20px;position:relative;overflow:hidden;color:#fff}.welcome-panel:after{content:"";position:absolute;right:-70px;top:-80px;width:280px;height:280px;border:35px solid #ffffff08;border-radius:50%;pointer-events:none}.welcome-panel .eyebrow{font-size:8px;color:#d7c9ed;margin-bottom:10px;letter-spacing:1.5px}.welcome-panel h2{font-size:24px;font-weight:550;letter-spacing:-.7px;margin-bottom:8px}.welcome-panel p{font-size:12px;color:#e3d9f2;max-width:460px;margin:0}.welcome-panel .primary{background:#fff;color:#61448d;box-shadow:none;font-size:12px;position:relative;z-index:1;white-space:nowrap}.welcome-art{color:#cdbdeb;font-size:63px;line-height:1;padding-right:20px}
.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 25px}.quick-action{background:white;border:1px solid var(--line);border-radius:13px;display:flex;gap:12px;align-items:center;text-align:left;padding:15px;min-height:73px;color:var(--ink);transition:border-color .15s,transform .15s}.quick-action:hover{border-color:#bca9da;transform:translateY(-2px)}.quick-action>span:first-child{display:grid;place-items:center;color:var(--purple);background:var(--lavender);width:38px;height:38px;border-radius:11px;flex-shrink:0}.quick-action strong{font-size:12px;display:block;font-weight:650}.quick-action small{font-size:10px;color:var(--muted);display:block;margin-top:2px}.quick-action>.arrow{margin-left:auto;color:#a08bb9}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:25px}.stat{padding:21px;border:1px solid var(--line);border-radius:16px;background:white;min-width:0;position:relative}.stat .label{font-size:11px;color:var(--muted);display:block;padding-right:23px}.stat .stat-icon{position:absolute;top:20px;right:17px;color:#a492b9}.stat .ui-icon{width:17px;height:17px}.stat strong{display:block;font-size:30px;font-weight:570;letter-spacing:-1.2px;line-height:1.3;margin:11px 0 5px}.stat small{font-size:10px;color:#91869d;display:block;line-height:1.6}.grid-two{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;margin-bottom:22px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid #efeaf3}.card-head h2{font-size:15px;font-weight:650;letter-spacing:-.3px;margin:0}.card-head .text-button{font-size:11px;min-height:32px;padding:3px 0}.card-body{padding:22px}.card-body>p:last-child{margin-bottom:0}.empty{text-align:center;padding:40px 22px;background:linear-gradient(180deg,#fff,#fdfcfe);border-radius:16px}.empty-icon{color:#9b80c2;background:#f2edf9;width:50px;height:50px;display:grid;place-items:center;border-radius:15px;margin:0 auto 16px;font-size:25px}.empty h3{font-size:16px;font-weight:600;margin-bottom:9px}.empty p{font-size:12px;line-height:1.8;max-width:360px;margin:0 auto 19px}.empty>button{font-size:12px}
.badge{display:inline-flex;align-items:center;font-size:10px;line-height:1.5;font-weight:550;background:var(--lavender);color:var(--purple);padding:4px 9px;border-radius:6px;white-space:nowrap}.badge.review,.badge.urgent{background:#fff0d9;color:#946016}.badge.emergency{background:#fbe4e9;color:var(--red)}.badge.information,.badge.monitor{background:#eaf3ed;color:var(--green)}.finding{padding:20px 22px;border-bottom:1px solid var(--line)}.finding:last-child{border-bottom:0}.finding-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.finding h3{font-size:14px;font-weight:620;margin:0}.finding p{font-size:12px;line-height:1.8;margin:8px 0}.finding .action{color:#4e435f;font-weight:550}.finding a{font-size:11px}.finding.emergency{border-left:4px solid var(--red);background:#fff7f9}.finding.urgent{border-left:4px solid #cb8b32}.finding.review{background:#fffcf7}.small-note{font-size:11px;color:#81748e;line-height:1.8}.note{padding:16px 19px;background:#eeebf6;border-radius:12px;color:#746183;font-size:12px;line-height:1.8;margin:17px 0}.note.warning{background:#fff3e4;color:#885a22}.note.danger{background:#fce9ed;color:var(--red)}.note strong{font-weight:650}
.record-list,.medicine-list{display:grid;gap:13px}.record-row,.medicine-row-display{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid var(--line);padding:21px 23px;border-radius:16px;transition:border-color .15s}.record-row:hover,.medicine-row-display:hover{border-color:#cec0df}.progress-icon{display:grid;place-items:center;width:46px;height:46px;background:var(--lavender);color:var(--purple);border-radius:13px;font-size:23px;flex-shrink:0}.progress-icon.mint{background:var(--mint);color:var(--green)}.row-main{flex:1;min-width:0}.row-main h3{font-size:16px;font-weight:650;margin:0 0 5px;overflow-wrap:anywhere}.row-main p{font-size:12px;margin:0;line-height:1.75}.row-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.row-actions button{font-size:12px;min-height:40px;padding:8px 12px}.collection-tools{display:flex;gap:12px;margin:0 0 20px;align-items:center}.search-field{position:relative;display:flex;align-items:center;flex:1;max-width:420px}.search-field .ui-icon{position:absolute;left:14px;color:#9586a4;width:18px;height:18px}.search-field input{padding-left:42px!important;min-height:45px}.collection-count{font-size:11px;color:var(--muted)}.filter-empty{font-size:13px;background:#fff;padding:25px;text-align:center;border:1px dashed var(--line);border-radius:14px}
.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-weight:600;font-size:10px;letter-spacing:.4px;color:#8a7c96;background:#faf9fc;padding:13px 19px}td{padding:19px;border-top:1px solid var(--line);vertical-align:top}td p{font-size:12px;margin:7px 0}.review-table{min-width:730px}.review-table td:first-child{min-width:130px}.review-table td:last-child{min-width:220px}.review-table ul{padding-left:15px;margin:0;font-size:12px;color:var(--muted);line-height:1.8}.review-table li+li{margin-top:7px}.checkin-item{padding:23px;border-bottom:1px solid var(--line)}.checkin-item:last-child{border:0}.checkin-item h3{font-size:15px;margin-bottom:0}.checkin-item p{font-size:12px;line-height:1.8}.checkin-time{font-size:11px!important;color:#998ba6}.checkin-item .row-actions{margin-top:15px}.followup-list{padding-left:22px;font-size:13px;line-height:1.9}.followup-list li+li{margin-top:8px}.privacy-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.privacy-option{display:flex;align-items:flex-start;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.privacy-option:first-child{padding-top:0}.privacy-option:last-child{border:0}.privacy-option strong{font-size:13px;font-weight:650}.privacy-option p{font-size:12px;line-height:1.8;margin:5px 0}.privacy-option input{margin-top:5px}.status-line{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.status-line:last-child{border:0}.status-line strong{font-weight:550}.status-line span{color:var(--muted);text-align:right}.app-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin:0 40px;padding:18px 0 25px;font-size:10px;color:#95879f}.app-footer>span:first-child{font-weight:600}.mobile-nav{display:none}
.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#faf0df;border:1px solid #eee0c9;color:#8c652e;border-radius:12px;padding:10px 16px;margin-bottom:22px;font-size:11px}.demo-banner>span{flex:1}.demo-banner strong{display:block}.demo-banner .text-button{font-size:11px;min-height:32px}.demo-banner .demo-exit{color:#8c652e}
/* Forms, dialogs and feedback */
dialog{background:#fff;color:var(--ink);border:1px solid #e2d9ed;box-shadow:0 32px 110px #27153330;border-radius:22px;padding:0;width:min(650px,calc(100% - 32px));max-height:90dvh;overscroll-behavior:contain}dialog.wide{width:min(1050px,calc(100% - 30px))}dialog::backdrop{background:#29163a65;backdrop-filter:blur(6px)}body:has(dialog[open]){overflow:hidden}.modal-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 25px;position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--line)}.modal-top h2{font-size:21px;font-weight:620;margin:0;letter-spacing:-.6px}#modal-content{padding:24px 26px}.form-intro{font-size:13px;line-height:1.8;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}label.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#51445f}input:not([type=checkbox]):not([type=range]),select,textarea{width:100%;min-width:0;background:#fff;color:var(--ink);border:1px solid #ddd5e7;border-radius:10px;padding:12px;font-size:14px;line-height:1.5;min-height:46px;transition:border .2s,box-shadow .2s}input:hover,select:hover,textarea:hover{border-color:#bdaacd}input:focus,select:focus,textarea:focus{border-color:#9676c4}input::placeholder,textarea::placeholder{color:#a698b1}textarea{min-height:95px;resize:vertical}input[type=checkbox]{accent-color:var(--purple);width:19px;height:19px;flex-shrink:0}input[type=range]{accent-color:var(--purple);width:100%}.checkbox-row{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:400;line-height:1.75;min-height:30px}.checkbox-row input{margin-top:3px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.form-error{background:#fff0f2;color:var(--red);border:1px solid #f1d9e1;border-radius:10px;padding:13px;font-size:12px;margin-bottom:16px}.upload-area{display:block;border:1px dashed #b9a4d4;border-radius:15px;background:#f8f5fc;padding:26px;text-align:center}.upload-area .spark{display:block;font-size:35px;color:var(--purple);margin-bottom:8px}.upload-area strong{font-size:14px}.upload-area p{font-size:12px;margin:6px 0 18px}.upload-area input{font-size:12px!important;padding:8px!important}.red-checks{display:grid;gap:11px;border:1px solid #f0d8df;border-radius:12px;background:#fff5f7;padding:18px}.red-checks h3{font-size:13px}.red-checks .checkbox-row{font-size:12px}.emergency-box{background:#fce7ec;border:1px solid #e9c7d0;color:var(--red);border-radius:12px;padding:19px;margin:17px 0;font-size:14px}.emergency-box p{color:inherit}.emergency-box strong{font-size:16px}.draft-item{padding:20px;background:#faf8fd;border:1px solid var(--line);border-radius:13px;margin-bottom:16px}.draft-item .form-grid{grid-template-columns:repeat(3,1fr);gap:13px}.draft-item .source{font-size:11px;overflow-wrap:anywhere;background:white;padding:10px;border-radius:7px;margin-bottom:15px}.draft-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px;align-items:center}.draft-heading h3{font-size:14px;margin:0}.draft-heading .text-button{font-size:12px}.loading-panel{display:flex;flex-direction:column;align-items:center;padding:60px 20px}.loading-panel p{margin-top:18px;font-size:13px}.spinner{border:3px solid var(--lavender);border-top-color:var(--purple);width:30px;height:30px;border-radius:50%;display:inline-block;animation:spin .8s linear infinite}.inline-spinner{width:16px;height:16px;border-width:2px}
#global-alert{position:fixed;z-index:90;top:10px;left:50%;transform:translateX(-50%);width:min(720px,94%);border:1px solid #e8c8d1;background:#ffe9ef;color:var(--red);padding:16px 21px;border-radius:14px;box-shadow:var(--shadow);font-size:13px}#toast{position:fixed;z-index:100;bottom:28px;left:50%;transform:translateX(-50%);background:#312640;color:white;padding:13px 22px;border-radius:12px;box-shadow:var(--shadow);font-size:13px;max-width:90vw}.profile-picker{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.profile-picker select{width:auto;min-width:160px}.metric-line{display:flex;gap:25px;flex-wrap:wrap}.metric-line strong{display:block;font-size:21px}.metric-line span{font-size:11px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.more-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.more-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:19px;background:#f6f2fb;border:1px solid var(--line);border-radius:14px;color:var(--ink);font-size:13px;min-height:90px;text-align:left}.more-grid button .ui-icon{color:var(--purple)}.more-grid button:hover{background:#eee7f7}.more-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}#app-main[aria-busy=true]{opacity:.6;pointer-events:none}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
/* Responsive */
@media(min-width:1440px){.hero{gap:115px;padding-top:80px;padding-bottom:100px}}
@media(max-width:1100px){.hero{gap:42px;padding:45px 36px 70px}.hero h1{font-size:52px;letter-spacing:-3px}.hero-asterisk{font-size:33px;margin-left:8px}.hero-description{font-size:15px}.hero-actions .primary,.hero-actions .secondary{padding:12px 18px;font-size:13px}.hero-studio{padding:18px 18px 0}.studio-footer{width:calc(100% + 36px);margin:0 -18px}.preview-heading h2{font-size:25px}.preview-symbol{width:56px;height:56px}.landing-header{padding:24px 36px}.landing-nav{gap:18px}.journey-section{padding:30px 36px 55px}.privacy-feature{margin:0 36px 45px;padding:35px 40px}.boundary{margin:0 36px 25px}.sidebar{width:210px;padding:25px 12px}.sidebar .brand{font-size:21px}.workspace-body{margin-left:210px}.topbar{padding:16px 26px}.evaluation-banner{padding:6px 26px}#app-main{padding:28px 26px}.page-heading h1{font-size:28px}.grid-two{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:17px}.stat small{font-size:9px}.quick-action{padding:12px;gap:8px}.quick-action small{font-size:9px}.quick-action>.arrow{display:none}.privacy-grid{grid-template-columns:1fr}.app-footer{margin:0 26px}.landing-footer{padding:20px 36px 28px}.hero-copy .eyebrow{font-size:9px}.trust-line{font-size:10px;gap:15px}}
@media(max-width:820px){.landing-nav{display:none}.hero{gap:28px}.hero h1{font-size:44px;letter-spacing:-2.7px}.hero-description{font-size:14px}.hero-actions{gap:8px}.hero-actions .primary,.hero-actions .secondary{font-size:12px;padding:11px 15px}.preview-symbol{display:none}.preview-heading h2{font-size:25px}.preview-tabs button{font-size:10px}.paper-stack{padding:16px}.hero-studio{padding:16px 16px 0}.studio-footer{width:calc(100% + 32px);margin:0 -16px}.preview-heading .tiny-label{font-size:7px}.studio-header{font-size:7px}.journey article{padding:21px}.journey h3{font-size:17px}.journey p{font-size:12px}.section-heading h2{font-size:29px}.section-heading>p{display:none}.sidebar{width:190px;padding:25px 10px}.sidebar .brand{font-size:20px;gap:8px}.sidebar .brand img{width:29px;height:29px}.workspace-body{margin-left:190px}.nav-item{padding:12px;font-size:12px;gap:10px}.quick-actions{gap:8px}.quick-action{flex-direction:column;align-items:flex-start;gap:10px}.stat .stat-icon{display:none}.stat .label{padding-right:0}.help-card{padding:14px}.page-heading{flex-wrap:wrap}.welcome-panel{padding:24px;gap:15px}.welcome-panel h2{font-size:22px}.welcome-art{display:none}.welcome-panel .primary{font-size:11px;padding:10px 14px}.stats .stat strong{font-size:26px}}
@media(max-width:700px){
 .landing-header{padding:20px 24px;gap:15px}.brand{font-size:25px;gap:9px}.brand img{width:32px;height:32px}.header-start{display:none}.header-actions .text-button{font-size:13px;padding:8px 0}.hero{display:grid;grid-template-columns:1fr;gap:30px;padding:28px 24px 43px}.hero-copy{padding:0}.hero-copy .eyebrow{font-size:9px;letter-spacing:1.1px;margin-bottom:18px}.hero h1{font-size:48px;letter-spacing:-2.7px;line-height:1.07;margin:18px 0}.hero-asterisk{font-size:31px;margin-left:12px}.hero-description{font-size:15px;line-height:1.7;margin-bottom:23px}.hero-actions{gap:10px}.hero-actions .primary,.hero-actions .secondary{font-size:13px;padding:12px 20px;min-height:46px}.trust-line{margin-top:16px;font-size:10px;gap:19px}.hero-evaluation{font-size:9px;margin-top:19px;gap:8px}.evaluation-pill{font-size:7px;padding:3px 6px}.hero-studio{max-width:470px;width:100%;justify-self:center;border-radius:22px;padding:17px 18px 0}.studio-header{font-size:7px;margin-bottom:13px}.preview-tabs button{font-size:10px;padding:7px 5px;min-height:35px}.preview-panel{min-height:305px;padding:23px 3px 17px}.preview-heading{margin-bottom:19px}.preview-heading h2{font-size:26px}.preview-heading .tiny-label{font-size:7px;letter-spacing:.9px}.preview-symbol{display:grid;width:54px;height:54px;border-radius:16px;font-size:27px}.paper-stack{min-height:147px;padding:17px}.paper-top{gap:10px;margin-bottom:13px}.paper-top strong{font-size:11px}.paper-top>div>span{font-size:9px}.document-glyph{height:37px;width:32px;font-size:17px}.paper-line{height:4px;margin:7px 0}.record-chips{margin-top:13px}.record-chips span{font-size:8px}.preview-next{margin-top:20px}.preview-next strong{font-size:10px}.preview-next p{font-size:9px}.studio-footer{width:calc(100% + 36px);margin:0 -18px;border-radius:0 0 22px 22px;padding:11px 21px;font-size:10px}.journey-section{padding:30px 24px 36px;border-top:0}.section-heading{margin:0 0 24px}.section-heading .eyebrow{font-size:8px;letter-spacing:1px}.section-heading h2{font-size:28px;letter-spacing:-1.1px}.journey{grid-template-columns:1fr;gap:13px}.journey article{padding:22px 22px 20px 83px;min-height:135px}.journey-top{margin:0;position:absolute;left:22px;top:24px}.journey-top>span:last-child{display:none}.journey h3{font-size:18px;margin-bottom:7px}.journey p{font-size:12px;margin:0 0 10px;line-height:1.75}.feature-foot{font-size:7px;letter-spacing:1px}.feature-icon{width:39px;height:39px;font-size:22px}.privacy-feature{margin:0 24px 32px;grid-template-columns:1fr;padding:30px 27px;gap:0;overflow:hidden;position:relative}.privacy-feature>div:last-child{position:relative;z-index:1}.privacy-feature h2{font-size:31px;letter-spacing:-1px}.privacy-feature .eyebrow{font-size:8px;letter-spacing:1px}.privacy-feature p:not(.eyebrow){font-size:12px;max-width:260px}.privacy-orbit{position:absolute;right:-75px;top:-70px;opacity:.4;width:180px;height:180px}.privacy-orbit span{font-size:55px;width:88px;height:88px}.privacy-feature .text-button{font-size:11px}.boundary{margin:0 24px 10px;padding:24px 0;gap:12px}.boundary p{font-size:10px}.boundary strong{font-size:11px}.landing-footer{padding:22px 24px 30px;display:grid;grid-template-columns:1fr auto;gap:20px}.landing-footer>span{grid-row:2;grid-column:1/-1;font-size:9px}.landing-footer .text-button{font-size:10px}.footer-brand{font-size:17px}
 .sidebar{display:none}.workspace-body{margin:0;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.topbar{height:74px;padding:14px 20px}.patient-name{font-size:16px}.patient-identity .tiny-label{font-size:8px;letter-spacing:1px}.topbar-right{gap:9px}.connection{font-size:9px;max-width:94px;white-space:normal;text-align:right;line-height:1.45}.avatar{width:37px;height:37px;border-radius:11px}.evaluation-banner{padding:5px 20px;font-size:9px;gap:7px}.evaluation-banner .text-button{font-size:9px;min-height:30px;white-space:nowrap}#app-main{padding:25px 18px;min-height:calc(100dvh - 240px)}.page-heading{gap:15px;align-items:flex-start;margin-bottom:22px}.page-heading h1{font-size:28px;letter-spacing:-1.1px;margin-bottom:8px}.page-heading p{font-size:12px;line-height:1.8}.page-heading .eyebrow{font-size:8px;margin-bottom:7px}.page-heading .primary,.page-heading .secondary{font-size:12px;min-height:42px;padding:10px 16px}.welcome-panel{display:flex;padding:23px 22px;align-items:flex-start;flex-wrap:wrap;border-radius:17px;gap:18px;margin-bottom:15px}.welcome-panel h2{font-size:23px;max-width:245px}.welcome-panel p{font-size:12px;max-width:290px}.welcome-panel .primary{min-height:40px;font-size:11px;padding:10px 15px}.welcome-panel .eyebrow{font-size:7px;margin-bottom:10px}.quick-actions{gap:8px;margin-bottom:23px}.quick-action{padding:13px 11px;border-radius:12px;gap:10px;min-height:100px}.quick-action>span:first-child{width:32px;height:32px;border-radius:9px}.quick-action .ui-icon{width:18px;height:18px}.quick-action strong{font-size:10px;line-height:1.35}.quick-action small{font-size:8px;margin-top:4px;line-height:1.4}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:23px}.stat{padding:17px;border-radius:14px}.stat .label{font-size:10px;padding-right:18px}.stat .stat-icon{display:block;right:13px;top:18px}.stat .stat-icon .ui-icon{width:14px;height:14px}.stats .stat strong{font-size:28px}.stat small{font-size:9px}.grid-two{gap:0}.card{border-radius:15px;margin-bottom:19px}.card-head{padding:17px 18px}.card-head h2{font-size:14px}.card-head .text-button{font-size:10px}.card-body{padding:20px 18px}.empty{padding:32px 20px}.empty h3{font-size:15px}.empty p{font-size:12px}.empty>button{font-size:11px}.finding{padding:18px}.finding-head{align-items:flex-start;gap:10px}.finding h3{font-size:13px;line-height:1.45}.finding p{font-size:12px}.badge{font-size:9px;white-space:normal;flex-shrink:0;max-width:130px}.finding .small-note{font-size:9px}.note{padding:15px 17px;font-size:11px}.record-row,.medicine-row-display{padding:18px;gap:12px;flex-wrap:wrap;border-radius:14px}.progress-icon{width:40px;height:40px;border-radius:11px;font-size:21px}.row-main{flex-basis:calc(100% - 56px)}.row-main h3{font-size:15px}.row-main p{font-size:11px}.record-row>.badge,.medicine-row-display>.badge{margin-left:52px}.record-row .row-actions,.medicine-row-display .row-actions{flex:1;justify-content:flex-end}.row-actions{gap:6px}.row-actions button{font-size:11px;padding:8px 10px;min-height:40px}.collection-tools{gap:10px}.collection-count{font-size:10px}.search-field input{font-size:14px!important}.table-wrap{font-size:11px}th,td{padding:13px;font-size:11px}.review-table{min-width:0;display:block}.review-table thead{display:none}.review-table tbody,.review-table tr,.review-table td{display:block;width:100%;min-width:0!important}.review-table tr{padding:17px 18px;border-top:1px solid var(--line)}.review-table tr:first-child{border-top:0}.review-table td{border:0;padding:9px 0;font-size:12px}.review-table td:before{content:attr(data-label);display:block;font-size:9px;font-weight:650;letter-spacing:.5px;color:#8a7c96;margin-bottom:6px}.review-table td:first-child{font-size:16px;padding-top:0}.review-table td:first-child:before{display:none}.review-table td ul{font-size:12px}.checkin-item{padding:19px}.checkin-item h3{font-size:14px}.checkin-item .badge{max-width:110px}.privacy-option strong{font-size:13px}.privacy-option p{font-size:12px}.status-line{font-size:11px}.app-footer{margin:0 18px;flex-direction:column;gap:6px;font-size:9px;padding-bottom:15px}
 .mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:30;background:#ffffffed;backdrop-filter:blur(18px);border-top:1px solid #e6deee;padding:7px 8px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px #32214b06}.mobile-nav button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;background:none;color:#92869f;min-height:51px;font-size:9px;border-radius:10px;padding:5px 2px;min-width:0}.mobile-nav .ui-icon{width:21px;height:21px}.mobile-nav button.active{background:#f0eafa;color:#6c4aaa;font-weight:750}.mobile-nav button.active .ui-icon{stroke-width:2}.demo-banner{padding:11px 13px;flex-wrap:wrap;gap:5px 12px;font-size:10px}.demo-banner>span{flex-basis:calc(100% - 75px)}.demo-banner .text-button{font-size:10px}.demo-banner .demo-create{margin-left:auto}
 dialog,dialog.wide{width:calc(100% - 20px);max-height:92dvh;border-radius:20px}.modal-top{padding:17px 19px}.modal-top h2{font-size:20px}#modal-content{padding:22px 20px}.form-intro{font-size:12px}.form-grid{gap:17px;grid-template-columns:1fr}.full{grid-column:1}.draft-item .form-grid{grid-template-columns:1fr}.draft-item{padding:16px}label.field{font-size:12px}input:not([type=checkbox]):not([type=range]),select,textarea{font-size:16px;min-height:48px}.checkbox-row{font-size:12px}.form-actions .primary,.form-actions .secondary{font-size:12px}.form-actions{gap:10px}.upload-area{padding:21px 14px}.red-checks{padding:16px}.emergency-box{font-size:13px}#toast{bottom:calc(86px + env(safe-area-inset-bottom));font-size:12px;min-width:220px;max-width:90vw;text-align:center}#global-alert{font-size:12px}.more-grid{gap:10px}.more-grid button{font-size:12px;padding:17px}
}
@media(max-width:380px){.landing-header{padding:16px 20px}.brand{font-size:23px}.brand img{width:30px;height:30px}.hero{padding:24px 20px 36px;gap:27px}.hero h1{font-size:41px;letter-spacing:-2.4px}.hero-asterisk{font-size:26px;margin-left:7px}.hero-description{font-size:14px}.hero-actions .primary,.hero-actions .secondary{font-size:12px;padding:12px 17px}.trust-line{gap:14px;font-size:9px}.hero-evaluation{font-size:8px}.hero-studio{padding:15px 15px 0}.studio-footer{width:calc(100% + 30px);margin:0 -15px}.preview-heading h2{font-size:24px}.preview-symbol{width:44px;height:44px;font-size:24px}.preview-heading .tiny-label{font-size:6.5px}.preview-panel{min-height:300px}.preview-tabs button{font-size:9px}.record-chips{gap:5px}.record-chips span{padding:3px 6px}.preview-next p{font-size:8.5px}.journey-section{padding:25px 20px 32px}.section-heading h2{font-size:26px}.section-heading .eyebrow{font-size:7px}.privacy-feature{margin-left:20px;margin-right:20px}.boundary{margin-left:20px;margin-right:20px}.landing-footer{padding-left:20px;padding-right:20px}#app-main{padding:23px 15px}.topbar{padding:14px 17px}.evaluation-banner{padding:5px 17px;font-size:8px}.page-heading h1{font-size:26px}.welcome-panel{padding:22px 19px}.quick-action{padding:12px 9px}.quick-action strong{font-size:9px}.quick-action small{font-size:7.5px}.stat{padding:15px}.stat .label{font-size:9px}.stat .stat-icon{display:none}.stat small{font-size:8px}.card-head{padding:16px}.finding{padding:16px}.badge{max-width:100px}.more-grid button{padding:15px}.row-actions button{padding:7px 9px}.modal-top h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.evaluation-banner,.app-footer,.mobile-nav,.page-heading button,.row-actions,.quick-actions,#toast,#global-alert,.demo-banner,.collection-tools{display:none!important}.workspace-body{margin:0;padding:0}#app-main{padding:0}body{background:white;font-size:11px}.card{break-inside:avoid;box-shadow:none}.review-table{display:table;min-width:0}.review-table thead{display:table-header-group}.review-table tbody{display:table-row-group}.review-table tr{display:table-row}.review-table td{display:table-cell}.review-table td:before{display:none}.table-wrap{overflow:visible}th,td{padding:8px}.note{print-color-adjust:exact}}
