:root{--ink:#183b35;--muted:#667a74;--line:#dfe7e3;--bg:#f5f7f6;--deep:#176b59;--green:#2f806e;--shadow:0 8px 30px rgba(23,63,56,.07)}
*{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{font:16px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;background:linear-gradient(180deg,#fafcfb 0,#f3f6f4 320px);letter-spacing:-.01em}
button,input,select,textarea{font:inherit}button{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}button:active{transform:scale(.98)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid rgba(31,128,107,.24);outline-offset:2px}
.shell>aside{width:270px;padding:30px 20px;background:rgba(250,252,251,.9);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}main{margin-left:270px}.brand{font:650 29px/1.1 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.045em;padding:2px 10px 34px}.brand em{font-weight:500}.nav{padding:14px 15px;border-radius:12px;font-size:14px}.nav span{margin-left:10px}.safe{padding:14px;border-radius:14px}.safe b{font-size:11px}.safe small,.user small,.protected small{font-size:11px}.user b{font-size:13px}.user i{width:42px;height:42px;font-size:12px}
header{height:82px;padding:0 44px;background:rgba(255,255,255,.76);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}header small{font-size:13px}.logout{font-size:13px!important;margin-right:12px!important}.view{padding:48px 48px 72px}.welcome,.heading{margin-bottom:30px}.welcome label,.heading label{font-size:11px}.welcome h1,.heading h1,.empty h1{font:650 42px/1.08 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;letter-spacing:-.04em;margin:8px 0}.welcome p,.heading p{font-size:16px}.protected{padding:13px 16px;border-radius:14px}.protected b{font-size:13px}.draft{font-size:12px;padding:9px 13px}
.primary,.outline{min-height:44px;padding:11px 17px;border-radius:12px;font-size:14px}.primary{background:linear-gradient(180deg,#19715e,#135c4d);border-color:#135c4d;box-shadow:0 4px 12px rgba(19,92,77,.16)}.outline{background:rgba(255,255,255,.9)}
.stats{gap:18px;margin-bottom:22px}.stats article,.panel{border-radius:20px;box-shadow:var(--shadow);border-color:rgba(211,224,219,.85)}.stats article{padding:22px;gap:16px}.stats article>i{width:46px;height:46px;border-radius:13px;font-size:20px}.stats small{font-size:10px}.stats strong{font:650 35px/1 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;margin:9px 0}.stats p{font-size:11px}.grid{gap:22px}.panel-head{padding:24px 26px 18px}.panel-head h2{font:650 22px/1.2 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif}.panel-head p{font-size:12px}.panel-head button{font-size:12px}.appointment{padding:17px 25px;gap:14px}.appointment time{font:650 16px -apple-system,BlinkMacSystemFont,sans-serif}.appointment span b{font-size:14px}.appointment span small{font-size:11px}.pill{font-size:10px;padding:6px 9px}.insight{padding:19px 22px;border-radius:17px}.insight span small{font-size:10px}.insight span b{font:650 16px -apple-system,BlinkMacSystemFont,sans-serif}.insight span p{font-size:11px}
.toolbar{padding:18px 22px}.toolbar input{padding:13px 14px;border-radius:11px;font-size:14px}.client-row{padding:18px 23px}.client-row b{font-size:14px}.client-row small{font-size:11px}.ok{font-size:10px;padding:7px 9px}
.steps{max-width:880px;margin-bottom:30px}.steps button{font-size:12px}.steps button i{width:32px;height:32px;font-size:11px}.exam-grid{grid-template-columns:minmax(0,1fr) 270px;gap:22px;max-width:1150px}.step{padding:30px}.step-title{gap:15px;padding-bottom:21px;margin-bottom:24px}.step-title>i{width:42px;height:42px;border-radius:11px;font-size:11px}.step-title h2{font:650 26px/1.15 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif}.step-title p{font-size:13px}.field{gap:8px;font-size:13px}.field input,.field select,.field textarea{min-height:46px;padding:12px 13px;border-radius:11px;font-size:15px;background:#fff}.field textarea{min-height:105px}.consent{padding:18px;border-radius:14px}.consent span b{font-size:14px}.consent p,.consent label{font-size:12px}.symptoms{gap:10px}.symptoms span{padding:13px;border-radius:11px;font-size:13px}.flags{padding:16px;border-radius:13px;font-size:12px}.flags p{font-size:11px}.camera-grid{grid-template-columns:1fr 210px;gap:18px}.camera{border-radius:16px}.camera-empty b,#camera-empty b{font-size:13px}.camera-empty small,#camera-empty small{font-size:11px}.controls{gap:12px}.photos{gap:10px}.photo{height:96px;border-radius:11px}.photo small{font-size:9px}.obs{grid-template-columns:1fr repeat(4,74px);gap:7px;padding:14px 0}.obs>span b{font-size:13px}.obs>span small{font-size:10px}.obs label span{padding:9px 4px;border-radius:9px;font-size:10px}.note{padding:14px;border-radius:11px;font-size:11px}.assessment{padding:18px;border-radius:13px}.assessment h3{font:650 20px -apple-system,BlinkMacSystemFont,sans-serif}.assessment p,.hyp p{font-size:12px}.hyp{padding:16px;border-radius:12px}.hyp h4{font-size:14px}.hyp em{font-size:10px}.disclaimer{font-size:11px}.help article{padding:21px}.help h3{font:650 18px -apple-system,BlinkMacSystemFont,sans-serif}.help p{font-size:12px}.actions{margin-top:18px}
.calibration-box{padding:14px!important;border-radius:13px!important}.calibration-box>b{font-size:13px!important}.calibration-box>p,.calibration-help,.brightness-field>small{font-size:10px!important}.calibration-actions button{font-size:12px!important;padding:10px!important}.brightness-field output{font-size:12px!important}.auto-analysis{padding:18px!important;border-radius:14px!important}.auto-head b{font-size:14px}.auto-head small,.auto-analysis>p{font-size:11px!important}.auto-head em{font-size:9px!important}.auto-metric b{font-size:14px!important}.auto-metric small{font-size:9px!important}
.care-summary article,.care-summary>p,.product-card{border-radius:18px}.care-summary>p{font-size:13px}.product-card h3{font:650 21px -apple-system,BlinkMacSystemFont,sans-serif}.product-card header small,.product-card .archive{font-size:11px}.inci-tags i{font-size:10px}.product-card>p{font-size:12px}.product-card details{font-size:11px}
dialog{border-radius:22px;padding:30px;box-shadow:0 30px 100px rgba(20,50,44,.25)}.dialog-head h2{font:650 28px -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif}.dialog-consent{font-size:12px;padding:14px;border-radius:11px}
#auth-screen{background:radial-gradient(circle at 25% 10%,#fff 0,#edf5f1 38%,#dbeae4 100%)}.auth-card{width:min(460px,100%);padding:38px;border-radius:26px;box-shadow:0 35px 100px rgba(23,63,56,.14)}.auth-card>div>label{font-size:11px!important}.auth-card h1{font:650 38px/1.1 -apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif}.auth-card>div>p{font-size:14px!important}.auth-card>small,.auth-card #auth-error{font-size:11px!important}
@media(max-width:1050px){.exam-grid{grid-template-columns:1fr}.help{grid-template-columns:1fr 1fr}}
@media(max-width:720px){body{font-size:15px}.shell>aside{width:280px}.view{padding:28px 17px 60px}header{height:68px;padding:0 16px}.welcome,.heading{align-items:start}.welcome h1,.heading h1{font-size:34px}.welcome p,.heading p{font-size:14px}.stats{gap:10px}.stats article{padding:17px}.stats strong{font-size:31px}.steps{margin-bottom:20px}.steps button i{width:31px;height:31px}.step{padding:20px 17px}.step-title h2{font-size:23px}.camera-grid{grid-template-columns:1fr}.photo{height:100px}.obs{grid-template-columns:1fr repeat(4,50px);gap:4px}.obs label span{font-size:9px;padding:8px 1px}.client-row{padding:16px}.help{grid-template-columns:1fr}.auth-card{padding:27px 22px}.product-list,.care-summary{grid-template-columns:1fr}}
