:root{--pine:#163e35;--green:#377963;--mint:#eaf1e9;--gold:#bf9654;--goldlight:#f5eddd;--ink:#213d34;--muted:#6a776e;--line:#e3e8df;--paper:#f6f7f2;--red:#a54035;--redlight:#fae9e4;font-family:Inter,'Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.55;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:33px;line-height:1.2;font-weight:550;letter-spacing:-1.2px}h2{font-size:19px;font-weight:600;letter-spacing:-.4px}h3{font-size:15px;font-weight:600}small,.muted{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}.skip{position:fixed;top:-90px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.demo-bar{padding:7px 15px;background:#efe6d4;color:#68532d;text-align:center;font-size:11px;min-height:31px}.demo-bar button{background:none;text-decoration:underline;color:inherit;font-size:11px}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 31px)}.sidebar{background:white;border-right:1px solid var(--line);padding:35px 25px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:28px;letter-spacing:-1px;font-weight:550;line-height:1}.brand small{display:block;font-size:8px;letter-spacing:3.7px;font-weight:500;margin-top:8px}.symbol{width:42px;height:45px;border:1px solid #becabd;border-radius:12px;font-family:Georgia,serif;font-style:italic;font-size:36px;line-height:42px;text-align:center;position:relative;font-weight:400}.symbol sup{position:absolute;right:1px;top:-10px;font-size:17px;color:var(--gold)}.nav-label{font-size:8px;letter-spacing:1.5px;color:#8b958a;margin:42px 0 15px}.nav-link{display:flex;width:100%;align-items:center;gap:12px;text-align:left;padding:12px 14px;background:none;color:var(--muted);font-size:13px;margin:3px 0;border-radius:10px}.nav-link.active{background:var(--mint);color:var(--pine);font-weight:600}.nav-link.active:after{content:'';margin-left:auto;width:5px;height:5px;background:var(--green);border-radius:50%}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto;padding:30px 8px}.spark{font-size:34px;color:var(--gold)}.sidebar-bottom h3{font-family:Georgia,serif;font-size:20px;font-weight:400;margin:12px 0 9px}.sidebar-bottom p{color:var(--muted);font-size:12px;line-height:1.8}.sidebar-bottom button{font-size:11px;margin-top:16px}.brand-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;font-size:8px;letter-spacing:.8px;color:#8a9489}.workspace{min-width:0}.topbar{height:85px;padding:0 42px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#ffffff90}.breadcrumb{display:flex;gap:12px;color:var(--muted);font-size:11px}.breadcrumb strong{font-weight:500;color:var(--ink)}.crumb{color:#a3aca0}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.icon-btn{background:none;color:var(--ink);padding:10px;position:relative}.icon-btn:after{content:'';position:absolute;top:9px;right:10px;width:5px;height:5px;border:2px solid white;background:var(--gold);border-radius:50%}.profile-btn{display:flex;gap:10px;align-items:center;background:none;text-align:left;color:var(--ink);font-size:12px}.profile-btn small{display:block;font-size:9px;margin-top:2px}.avatar{width:35px;height:35px;background:#ece5d5;color:#6a6147;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;font-family:Georgia,serif;font-size:17px;flex-shrink:0}.avatar.green{background:var(--mint);color:var(--pine)}main{max-width:1380px;margin:auto;padding:33px 42px 20px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.page-head p{font-size:13px;color:var(--muted);margin-top:9px}.page-head .eyebrow{margin-bottom:9px}.date-pill{border:1px solid var(--line);background:#fff9;padding:9px 14px;border-radius:30px;color:var(--muted);font-size:11px;white-space:nowrap}.date-pill .icon{width:15px;height:15px;margin-right:7px}.layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:22px}.stack{display:grid;gap:20px;align-content:start}.card{background:white;border:1px solid var(--line);border-radius:22px;padding:23px;min-width:0;box-shadow:0 7px 25px #183e3504}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.card-head .text-btn{font-size:11px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;background:var(--pine);color:white;border-radius:11px;font-size:12px;font-weight:550;text-decoration:none}.btn:hover{filter:brightness(1.1)}.btn.outline{background:white;border:1px solid #d5dfd2;color:var(--pine)}.btn.soft{background:var(--mint);color:var(--pine)}.btn.gold{background:#e2c79a;color:var(--pine)}.btn.full{width:100%}.btn .icon{width:16px;height:16px}.text-btn{padding:0;background:none;color:var(--pine);font-size:12px}.text-btn:hover{text-decoration:underline}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:var(--mint);color:var(--pine);padding:5px 9px;border-radius:30px;font-size:10px;font-weight:550}.badge.gold{background:var(--goldlight);color:#84612c}.badge.danger{background:var(--redlight);color:var(--red)}.badge.neutral{background:#f1f4ed;color:var(--muted)}.hero{background:var(--pine);border:0;color:white;position:relative;overflow:hidden;padding:28px;min-height:282px}.hero:before{content:'';position:absolute;width:300px;height:300px;border:1px solid #ffffff09;border-radius:50%;right:-130px;top:-90px;pointer-events:none}.hero .eyebrow{color:#c1d0c2;font-size:9px}.hero h2{font-family:Georgia,serif;font-weight:400;font-size:34px;line-height:1.23;letter-spacing:-.8px;max-width:65%;margin:16px 0 11px}.hero p{font-size:11px;line-height:1.8;color:#cbd9cc;max-width:64%}.hero-ill{position:absolute;right:10px;top:25px;width:185px;height:180px}.hero-foot{margin-top:28px;position:relative}.hero-foot .row{font-size:10px;color:#cad8c9}.hero-foot strong{color:white;font-size:12px}.progress{height:6px;border-radius:15px;background:#eaf0e5;overflow:hidden}.progress i{display:block;height:100%;background:var(--green);border-radius:15px}.hero .progress{height:5px;margin-top:12px;background:#ffffff25}.hero .progress i{background:#e1c79a}.stage-row{display:flex;justify-content:space-between;font-size:9px;color:#cddbcc;margin-top:11px}.stage-row .current{color:#e7c895}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.metric{padding:19px 17px}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-bottom:13px}.metric-top .icon{width:16px;height:16px;color:var(--green)}.metric-value{font-size:28px;letter-spacing:-.7px;line-height:1.15}.metric-value span{font-size:12px;color:var(--muted);letter-spacing:0}.metric-note{font-size:10px;margin-top:10px;color:var(--muted)}.positive{color:var(--green)}.mini-bar{display:flex;gap:3px;margin-top:11px}.mini-bar i{height:4px;flex:1;background:#e7ede2;border-radius:5px}.mini-bar i.on{background:#579479}.exercise-row{display:flex;align-items:center;gap:13px;padding:13px 0;border-top:1px solid #edf0e9}.exercise-row:first-child{border:0}.exercise-icon{width:43px;height:43px;background:#f1f4eb;border-radius:13px;display:flex;align-items:center;justify-content:center;color:var(--green);flex-shrink:0}.exercise-copy{flex:1;min-width:0}.exercise-copy strong{display:block;font-size:12px;font-weight:550}.exercise-copy small{display:block;font-size:10px;margin-top:3px}.check{width:24px;height:24px;border:1.5px solid #d4dfd0;border-radius:50%;color:white;background:white;padding:0;display:flex;align-items:center;justify-content:center;flex-shrink:0}.check.done{background:var(--green);border-color:var(--green)}.routine-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:15px;padding-top:15px;font-size:10px;color:var(--muted)}.appointment-date{width:57px;padding:8px;background:var(--goldlight);border-radius:13px;color:#80613a;text-align:center;line-height:1.2;flex-shrink:0}.appointment-date strong{display:block;font-size:26px;font-weight:500}.appointment-date span{font-size:9px;text-transform:uppercase;letter-spacing:1px}.appointment-copy h3{font-size:13px}.appointment-copy p{font-size:11px;color:var(--muted);margin-top:4px}.appointment-meta{display:grid;gap:9px;font-size:11px;color:var(--muted);margin:20px 0}.appointment-meta .icon{width:15px;height:15px;margin-right:7px}.care-person{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:16px 0}.care-person strong{display:block;font-size:11px}.care-person small{font-size:10px}.assistant-card{background:#eef2e8;border-color:#e0e7d9}.assistant-card .spark{background:white;width:36px;height:36px;display:flex;justify-content:center;align-items:center;border-radius:12px;font-size:23px}.assistant-card p{font-size:12px;color:var(--muted);margin:12px 0 18px}.assistant-card h3{font-size:14px}.note{padding:12px 14px;border-radius:12px;background:#f2f5ed;font-size:11px;color:var(--muted);line-height:1.8}.note.warn{background:var(--goldlight);color:#77562b}.note.danger{background:var(--redlight);color:var(--red)}.section-space{margin-top:20px}.journey{display:flex;position:relative;gap:8px;padding-top:5px}.journey:before{content:'';position:absolute;left:10%;right:10%;top:22px;height:1px;background:var(--line)}.journey-step{position:relative;flex:1;text-align:center;font-size:10px}.journey-step b{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border:6px solid white;background:#edf0e6;color:#8f9b88;border-radius:50%;font-size:10px;margin:0 auto 8px}.journey-step.active b{background:var(--pine);color:white}.journey-step.done b{background:#d9e8d8;color:var(--pine)}.journey-step small{display:block;font-size:9px;margin-top:4px}.chart svg{display:block;width:100%;height:auto}.chart-data{display:flex;gap:18px;align-items:baseline;margin-bottom:10px}.chart-data strong{font-size:30px;font-weight:500}.chart-data span{font-size:11px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:grid;gap:7px;font-size:11px;font-weight:550}.field.wide{grid-column:1/-1}.field small{font-weight:400;font-size:10px}input:not([type=checkbox]):not([type=range]),select,textarea{width:100%;padding:11px 12px;background:white;border:1px solid #d8e1d4;border-radius:10px;color:var(--ink);min-width:0}textarea{resize:vertical;min-height:84px}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green)}input[type=range]{width:100%;accent-color:var(--green)}.scale{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.range-value{text-align:center;font-size:34px;font-family:Georgia,serif}.range-value small{font-size:13px}.choice-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.choice{padding:10px 14px;display:inline-flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);font-size:12px}.choice:has(input:checked){background:var(--mint);border-color:#749b83}.choice input{width:14px;height:14px}.mood-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}.mood{border:1px solid var(--line);border-radius:12px;background:white;text-align:center;padding:10px;font-size:10px}.mood span{display:block;font-size:24px;margin-bottom:5px}.mood.selected{background:var(--mint);border-color:var(--green)}.stars{display:flex;gap:5px}.stars button{font-size:32px;padding:0 4px;background:none;color:#d9ddd4}.stars button.on{color:var(--gold)}.list-detail{display:grid;gap:14px;margin-top:15px}.list-detail p{font-size:12px;line-height:1.8}.list-detail strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:5px}.chat{display:flex;flex-direction:column;gap:15px;min-height:240px;max-height:55vh;overflow:auto;padding:10px 2px}.msg{max-width:86%;padding:14px 17px;border-radius:17px;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.msg.ai{background:#edf2e8;align-self:flex-start;border-bottom-left-radius:4px}.msg.me{background:var(--pine);color:white;align-self:flex-end;border-bottom-right-radius:4px}.msg.alert{background:var(--redlight);color:var(--red)}.composer{display:flex;gap:10px;margin-top:17px;align-items:flex-end}.composer textarea{min-height:48px;max-height:140px}.sugs{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.sugs button{background:white;border:1px solid var(--line);border-radius:20px;padding:7px 11px;font-size:11px;color:var(--ink)}.timer{font-family:Georgia,serif;font-size:57px;line-height:1.3;margin:10px 0;font-variant-numeric:tabular-nums}.topic-tabs{display:flex;gap:7px;overflow:auto;margin:17px 0}.topic-tabs button{border:1px solid var(--line);border-radius:30px;background:white;color:var(--muted);padding:7px 12px;font-size:11px;white-space:nowrap}.topic-tabs button.active{background:var(--pine);color:white}.ilus{padding:12px;background:#f4f6ef;border-radius:15px}.ilus svg{width:100%;max-width:400px;display:block;margin:auto}.ilus text{font-size:10px;fill:var(--ink)}.ilus .b{font-weight:600}.ilus .t-m{fill:var(--muted)}.ilus .t-no{fill:#927c57;font-weight:600}.ilus .t-si{fill:var(--green);font-weight:600}.ilus .floor{stroke:var(--line);stroke-width:2}.ilus .obj{fill:none;stroke:var(--muted);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.ilus .dark{fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round}.ilus .fdark{fill:var(--ink)}.ilus .fmuted{fill:var(--muted)}.ilus .head{fill:var(--green)}.ilus .body{fill:none;stroke:var(--green);stroke-width:6;stroke-linecap:round;stroke-linejoin:round}.ilus .guide{fill:none;stroke:var(--gold);stroke-width:1.5;stroke-dasharray:4 4}.ilus .measure{fill:none;stroke:var(--gold);stroke-width:1.5}.ilus .ptr{stroke:var(--muted);stroke-width:1}.ilus .soft{fill:var(--mint)}.ilus .pillow{fill:white;stroke:var(--muted);stroke-width:2}.ilus .goldbox{fill:var(--goldlight);stroke:var(--gold);stroke-width:2}.tip-row{display:flex;gap:10px;align-items:start;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.tip-row input{flex-shrink:0;margin-top:2px}.exercise-detail{display:grid;grid-template-columns:54px 1fr;gap:14px}.exercise-detail .exercise-icon{width:54px;height:54px}.exercise-detail p{font-size:12px;color:var(--muted);margin:7px 0}.exercise-actions{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.filters input{flex:1;min-width:180px!important}.filters select{max-width:190px;width:auto}.table-wrap{overflow:auto}.patient-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.patient-table th{font-size:9px;font-weight:500;letter-spacing:.8px;color:var(--muted);padding:13px 12px;border-bottom:1px solid var(--line)}.patient-table td{padding:18px 12px;border-bottom:1px solid var(--line);font-size:12px}.patient-table tbody tr:hover{background:#f5f7f0}.patient-table strong{display:block;font-size:12px}.patient-table small{display:block;font-size:10px}.patient-cell{display:flex;gap:10px;align-items:center}.table-progress{min-width:80px}.table-progress .progress{height:4px;margin-top:7px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.kpis .metric-value{font-size:30px}.attention{background:#fcf9f1;border:1px solid #eadfc8;padding:15px;border-radius:13px;font-size:12px}.attention p{font-size:11px;color:var(--muted);margin:5px 0}.empty{text-align:center;padding:40px 15px}.empty h2{font-family:Georgia,serif;font-weight:400;font-size:26px;margin:15px 0 10px}.empty p{font-size:13px;color:var(--muted);max-width:420px;margin:0 auto 20px}footer{display:flex;justify-content:space-between;gap:15px;padding:15px 42px 25px;color:#879181;font-size:9px;max-width:1380px;margin:auto}footer button{font-size:9px!important;color:var(--muted)!important}.mobile-nav{display:none}dialog{padding:0;border:1px solid var(--line);border-radius:25px;width:calc(100% - 32px);max-width:590px;max-height:90vh;overflow:auto;color:var(--ink);box-shadow:0 25px 90px #0d241e33}dialog::backdrop{background:#0f2c2480;backdrop-filter:blur(4px)}.modal-inner{padding:28px}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:22px}.modal-head h2{font-family:Georgia,serif;font-size:24px;font-weight:400}.close{width:30px;height:30px;border-radius:50%;background:#f0f3eb;color:var(--ink);font-size:20px;flex-shrink:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.onboard-hero{text-align:center;margin-bottom:25px}.onboard-hero h2{font-family:Georgia,serif;font-weight:400;font-size:31px;line-height:1.23;letter-spacing:-.8px;max-width:350px;margin:10px auto}.onboard-hero p{color:var(--muted);font-size:12px;max-width:380px;margin:auto}.step-dots{display:flex;gap:5px;margin:22px 0}.step-dots i{height:4px;flex:1;border-radius:10px;background:#e8ece2}.step-dots i.on{background:var(--green)}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.option-card{padding:15px;border:1px solid var(--line);border-radius:13px;background:white;color:var(--ink);font-size:12px;text-align:left}.option-card span{font-size:23px;display:block;margin-bottom:7px}.option-card.selected{background:var(--mint);border-color:var(--green)}.success-mark{display:flex;width:62px;height:62px;align-items:center;justify-content:center;margin:0 auto 18px;background:var(--mint);color:var(--pine);font-size:30px;border-radius:50%}#toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%) translateY(130px);z-index:100;background:var(--pine);color:white;border-radius:12px;padding:12px 22px;font-size:12px;box-shadow:0 6px 25px #163e3522;max-width:90%;transition:transform .2s;pointer-events:none}#toast.show{transform:translateX(-50%) translateY(0)}#offline{position:fixed;top:0;left:0;right:0;background:var(--red);color:white;padding:9px;font-size:12px;text-align:center;z-index:99}.loading{text-align:center;padding:80px;color:var(--muted)}.timeline{border-left:1px solid #d8e1d1;margin-left:7px;padding-left:22px}.timeline-item{position:relative;padding-bottom:23px;font-size:12px}.timeline-item:before{content:'';width:8px;height:8px;position:absolute;top:7px;left:-27px;border-radius:50%;background:var(--green);border:2px solid white}.timeline-item p{font-size:11px;color:var(--muted);margin-top:5px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.toggle-row small{display:block}.login-wrap{max-width:470px;margin:45px auto}.login-wrap .brand{justify-content:center;margin-bottom:30px}.login-wrap p{color:var(--muted);margin:12px 0 22px}.detail-goal{padding:20px;background:var(--mint);border-radius:15px;margin:15px 0}.detail-goal p{font-family:Georgia,serif;font-size:22px;line-height:1.4;margin:5px 0}.subtle{font-size:10px;color:var(--muted)}.check-label{display:flex;gap:10px;align-items:start;font-size:11px;line-height:1.8}.check-label input{flex-shrink:0;margin-top:3px}.login-error{padding:12px;border-radius:10px;background:var(--redlight);color:var(--red);font-size:12px;margin:15px 0}details summary{cursor:pointer;font-size:12px;color:var(--pine);padding:10px 0}details p{color:var(--muted);font-size:12px;padding-bottom:12px}
@media(min-width:1500px){main{padding-top:42px}.hero{min-height:300px}.hero-ill{width:210px;height:210px;right:20px}.hero h2{font-size:38px}.card{padding:26px}}
@media(max-width:1150px){.shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:30px 18px}.brand{font-size:25px}.topbar{padding:0 25px}main{padding:28px 25px 20px}.layout{grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr);gap:17px}.card{padding:20px}.hero{padding:25px}.hero h2{font-size:29px}.hero-ill{width:142px;right:5px}.metrics{gap:8px}.metric{padding:17px 13px}.metric-value{font-size:24px}footer{padding-inline:25px}}
@media(max-width:950px){.layout{grid-template-columns:1fr}.side-stack{grid-template-columns:1fr 1fr}.hero h2{font-size:35px}.hero-ill{width:190px;right:30px}.kpis{grid-template-columns:1fr 1fr}.date-pill{display:none}}
@media(max-width:680px){.demo-bar{font-size:9px;padding:6px 8px;line-height:1.6}.demo-bar button{font-size:9px}.shell{display:block}.sidebar{display:none}.topbar{height:73px;padding:0 20px}.breadcrumb>span:first-child{font-family:Georgia,serif;color:var(--pine);font-size:21px;letter-spacing:-.5px}.crumb{display:none}.profile-btn{padding:0}.profile-btn #profileName,.profile-btn>span:last-child{display:none}.avatar{width:33px;height:33px}.icon-btn .icon{width:19px}main{padding:24px 18px 15px}.page-head{margin-bottom:20px;align-items:start}.page-head h1{font-size:29px;letter-spacing:-1px}.page-head p{font-size:12px}.page-head .eyebrow{font-size:9px}.layout,.stack{gap:16px}.card{border-radius:19px;padding:20px}.hero{padding:24px 21px;min-height:278px}.hero h2{font-size:30px;max-width:68%}.hero p{max-width:65%;font-size:10px}.hero-ill{width:142px;height:175px;right:3px;top:37px}.hero-foot{margin-top:25px}.metrics{gap:8px}.metric{padding:15px 11px;border-radius:16px}.metric-top{font-size:9px;gap:3px;margin-bottom:12px}.metric-top .icon{width:13px;height:13px}.metric-value{font-size:25px}.metric-note{font-size:9px}.side-stack{grid-template-columns:1fr}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:7px 9px calc(7px + env(safe-area-inset-bottom));z-index:20}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;background:none;color:var(--muted);padding:5px 1px;border-radius:11px}.mobile-nav button.active{color:var(--pine);background:var(--mint);font-weight:600}.mobile-nav .icon{width:21px;height:21px}footer{padding:20px 18px 100px;flex-direction:column;gap:9px}footer button{align-self:start}.form-grid{grid-template-columns:1fr;gap:14px}.field.wide{grid-column:auto}.mood-row{gap:5px}.mood{padding:10px 3px}.mood span{font-size:22px}#toast{bottom:90px;width:max-content;max-width:92%;text-align:center}.modal-inner{padding:24px 21px}.modal-head h2{font-size:22px}.modal-actions .btn{flex:1}.chat{max-height:49vh}.msg{font-size:12px;max-width:93%}.kpis{gap:9px}.kpis .card{padding:18px}.page-head .btn{padding:9px 11px;font-size:10px}.filters{gap:7px}.filters select{max-width:none;flex:1;min-width:110px}.exercise-detail{grid-template-columns:42px 1fr}.exercise-detail .exercise-icon{width:42px;height:42px}.option-card{padding:13px}.hero .badge{font-size:8px}.login-wrap{margin:20px auto}.login-wrap .card{padding:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:680px){.field{font-size:12px}input:not([type=checkbox]):not([type=range]),select,textarea{font-size:16px}.subtle,.exercise-copy small,.care-person small,.hero p{font-size:11px}.metric-top,.metric-note{font-size:10px}.check{width:32px;height:32px;position:relative}.check:before{content:'';position:absolute;inset:-6px}.btn{min-height:44px}.close{width:36px;height:36px;position:relative}.close:before{content:'';position:absolute;inset:-4px}.stars button{min-width:44px;min-height:44px}.text-btn{min-height:30px}}
/* v3 · equipos, alcance e imágenes por actividad */
.care-scope{display:flex;align-items:center;gap:16px;background:white;border:1px solid var(--line);border-radius:17px;padding:16px 20px;margin-bottom:23px;flex-wrap:wrap}.scope-icon{width:38px;height:38px;border-radius:12px;background:var(--mint);display:flex;align-items:center;justify-content:center}.care-scope .field{flex:1;min-width:180px}.care-scope .subtle{max-width:180px}.branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.branch-card{border:1px solid var(--line);border-radius:19px;background:white;text-align:left;padding:22px;color:var(--ink)}.branch-card:hover{border-color:#7c9b7e;background:#fbfcf8}.branch-card h2{margin:10px 0 19px}.branch-card small{display:block;margin-top:19px;font-size:11px}.branch-card .row{font-size:12px}.priority-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.attention .badge{white-space:normal}.attention small{font-size:10px}.care-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px}.compact-note{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.compact-note p{font-size:12px;color:var(--muted);margin-top:4px}.compact-note strong{font-size:12px}.compact-note .text-btn{display:block;margin-top:8px}.staff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:18px}.staff-card h2{margin-top:17px}.staff-card>p{font-size:12px;margin:5px 0}.staff-card>small{font-size:11px;overflow-wrap:anywhere}.staff-stats{display:grid;grid-template-columns:repeat(2,1fr);margin:22px 0 17px;gap:10px}.staff-stats strong{font-size:27px;font-weight:500;display:block}.staff-stats small{font-size:10px;display:block}.policy-row{display:flex;align-items:center;gap:24px;padding:18px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.policy-row>strong{min-width:130px;font-size:12px}.policy-row label{align-items:center}.form-grid .wide{grid-column:1/-1}.care-team-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:var(--mint);border-radius:15px;padding:18px;margin:18px 0}.care-team-strip small{display:block;font-size:9px;letter-spacing:1.1px;color:#58735c}.care-team-strip strong{display:block;font-size:17px;margin:4px 0}.care-team-strip span{display:block;font-size:10px;color:var(--muted)}.care-team-strip>.text-btn{grid-column:1/-1;justify-self:start}.detail-section{padding-top:22px;margin-top:22px;border-top:1px solid var(--line)}.detail-section>h3{margin-bottom:10px}.visit-row{border-bottom:1px solid var(--line);padding:7px 0}.visit-row summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;font-size:11px}.visit-row summary strong{flex:1;font-size:12px}.visit-date{font-size:10px;color:var(--muted)}.visit-content{background:#f6f8f1;border-radius:12px;padding:14px;margin:3px 0 12px}.visit-content p{font-size:12px;margin-bottom:9px;overflow-wrap:anywhere}.visit-content p strong{font-size:11px}.visit-content small{font-size:10px}.care-difficulty{color:#936b32!important}.appointment-provider{display:flex;align-items:center;gap:10px;margin:20px 0}.appointment-provider strong{font-size:13px;display:block}.appointment-provider small{display:block;font-size:11px}.appointment-v3 h2{margin-top:7px}.appointment-v3 .muted{font-size:12px;margin-top:5px}.care-art{margin:20px 0 6px;border-radius:16px;overflow:hidden;background:#ecefe5;position:relative}.care-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.care-art figcaption{padding:9px 12px;font-size:10px;color:#6e765f;background:#f5f4eb}.small-art{margin-top:17px}.small-art img{aspect-ratio:4/3}.hero-personalized{min-height:325px}.hero-personalized h2,.hero-personalized p,.hero-personalized>.row,.hero-personalized .hero-foot{z-index:2;position:relative}.hero-personalized h2{max-width:63%;font-size:32px}.hero-personalized>p{max-width:58%}.hero-photo{position:absolute;right:0;top:0;bottom:0;width:46%;overflow:hidden}.hero-photo:before{position:absolute;inset:0;content:'';z-index:1;background:linear-gradient(90deg,#163e35 0%,#163e3580 32%,#163e350a 85%)}.hero-photo img{height:100%;width:100%;object-fit:cover;object-position:35% center}.hero-personalized .hero-foot{max-width:100%;padding-top:10px}.hero-personalized .hero-foot:before{content:'';position:absolute;inset:0 -15px -20px;background:linear-gradient(0deg,#163e35,#163e35df 75%,#163e3500);z-index:-1}.hero-personalized .badge{background:#f1e6cd;color:#70552c}.physio-summary{margin-bottom:21px}.staff-card .btn{font-size:12px}.care-team-strip+.detail-goal{margin-top:16px}
@media(max-width:1150px){.branch-grid{gap:10px}.branch-card{padding:18px}.branch-card .row{flex-wrap:wrap;gap:8px}.hero-personalized h2{font-size:30px}.hero-personalized{min-height:330px}}
@media(max-width:950px){.care-scope .subtle{max-width:none;width:100%}.care-columns{gap:18px}.hero-photo{width:43%}.hero-personalized h2{max-width:65%}}
@media(max-width:680px){.care-scope{gap:12px;padding:16px}.scope-icon{display:none}.care-scope .field{min-width:100%}.care-scope .subtle{font-size:11px}.branch-grid{grid-template-columns:1fr;gap:10px}.branch-card{padding:19px}.branch-card h2{margin:7px 0 12px}.branch-card small{margin-top:12px}.care-columns{grid-template-columns:1fr;gap:17px}.staff-grid{grid-template-columns:1fr}.staff-stats small,.care-team-strip span{font-size:11px}.care-team-strip{padding:15px;gap:13px}.care-team-strip strong{font-size:16px}.care-team-strip small{font-size:10px}.visit-row summary{gap:8px}.visit-date{font-size:11px;width:100%}.visit-row summary strong{font-size:13px}.visit-content small{font-size:11px}.care-art figcaption{font-size:11px}.hero-personalized{min-height:330px;padding:23px 21px}.hero-personalized h2{font-size:30px;max-width:70%;text-shadow:0 1px 3px #163e3540}.hero-personalized>p{max-width:65%;font-size:12px}.hero-photo{width:55%;opacity:.65}.hero-photo:before{background:linear-gradient(90deg,#163e35,#163e3540 75%)}.policy-row{gap:14px}.policy-row>strong{width:100%}.form-grid .wide{grid-column:1}.care-scope select{max-width:100%}.staff-card .text-btn{min-height:36px}.priority-grid{grid-template-columns:1fr}}
.topic-tabs{flex-wrap:wrap;overflow:visible}

/* Seguimiento diario compartido con el equipo. */
.routine-daily-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0 12px}.routine-daily-summary strong{font-size:18px;font-weight:550}.routine-daily-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.routine-daily-row>div{min-width:0}.routine-daily-states{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.routine-patient-note{margin-top:8px;overflow-wrap:anywhere;color:var(--muted)}.routine-history-row{display:flex;justify-content:space-between;gap:14px;padding:10px 0;font-size:12px;border-bottom:1px solid var(--line)}@media(max-width:540px){.routine-daily-row{flex-direction:column}.routine-daily-states{justify-content:flex-start}.routine-history-row{flex-wrap:wrap}}

/* Identidad oficial: Brandbook Harmony, página 18; sucursales según dirección. */
:root{--pine:#132A13;--green:#0064A8;--mint:#edf5fb;--gold:#b89b00;--goldlight:#fffde0;--ink:#132A13;--muted:#53645e;--line:#dfe7e7;--paper:#f5f8fa;--branch-color:#0064A8;--branch-ink:#fff;--branch-soft:#edf5fb;--branch-name:"Harmony · Vista general"}
body[data-harmony-branch="Periodistas"]{--branch-color:#F9EC08;--branch-ink:#132A13;--branch-soft:#fffde0;--mint:#fffde0}
body[data-harmony-branch="Teotihuacán"]{--branch-color:#00D6B2;--branch-ink:#132A13;--branch-soft:#e3fbf5;--mint:#e3fbf5}
body[data-harmony-branch="Plaza Bella"]{--branch-color:#0064A8;--branch-ink:#fff;--branch-soft:#edf5fb;--mint:#edf5fb}
.brand{display:block;width:100%;max-width:190px;letter-spacing:normal}.official-brand-lockup{display:block}.official-logo-window{display:block;position:relative;overflow:hidden;width:190px;height:61px;background:#0064A8;border-radius:8px}.official-logo-window img{display:block;position:absolute;width:311px!important;height:311px!important;max-width:none;left:-60px;top:-127px}.brand-product-name{display:block;text-align:center;font-size:9px;font-weight:550;letter-spacing:3.5px;margin:10px 0 0;color:#0064A8}.branch-context{display:flex;align-items:center;gap:8px;margin-top:22px;padding:8px 10px;border-radius:8px;background:var(--branch-soft);color:var(--ink);font-size:11px;font-weight:500;line-height:1.5}.branch-context:before{content:'';width:9px;height:9px;border-radius:50%;background:var(--branch-color);flex-shrink:0}.topbar{border-top:4px solid var(--branch-color)}.nav-link.active{background:var(--branch-soft);color:#132A13}.nav-link.active:after{background:var(--branch-color)}.btn{background:var(--branch-color);color:var(--branch-ink)}.btn.soft{background:var(--branch-soft);color:#132A13}.btn.outline{background:#fff;color:#132A13;border-color:#ccd9dd}.btn.gold{background:#F9EC08;color:#132A13}.hero{background:var(--branch-color);color:var(--branch-ink)}.hero .eyebrow,.hero p,.hero-foot .row,.hero-foot strong,.hero .stage-row,.hero .stage-row .current{color:var(--branch-ink)}.hero .hero-foot strong{font-weight:650}.hero .progress{background:color-mix(in srgb,var(--branch-ink) 18%,transparent)}.hero .progress i{background:var(--branch-ink)}.hero .badge.gold{background:var(--branch-ink);color:var(--branch-color)}.progress i,.mini-bar i.on{background:var(--branch-color)}.check.done{background:var(--branch-color);border-color:var(--branch-color);color:var(--branch-ink)}.badge:not(.danger):not(.gold):not(.neutral){background:var(--branch-soft);color:#132A13}.topic-tabs button.active{background:var(--branch-color);color:var(--branch-ink)}.assistant-card{background:var(--branch-soft);border-color:var(--line)}.exercise-icon{background:var(--branch-soft);color:#132A13}.mobile-nav button.active{color:#132A13;background:var(--branch-soft)}.care-art{border-color:var(--line)}.journey-step.active b{background:var(--branch-color);color:var(--branch-ink)}input[type=checkbox],input[type=range]{accent-color:var(--branch-color)}.brand-footer{color:var(--muted)}
.branch-card{border-top:5px solid var(--branch-color)}.branch-card[data-branch="Periodistas"]{--branch-color:#F9EC08}.branch-card[data-branch="Teotihuacán"]{--branch-color:#00D6B2}.branch-card[data-branch="Plaza Bella"]{--branch-color:#0064A8}
@media(max-width:800px){.branch-context{margin-top:12px}.official-logo-window{width:165px;height:53px}.official-logo-window img{width:270px!important;height:270px!important;left:-52px;top:-110px}.brand{max-width:165px}}
.hero-photo:before{background:linear-gradient(90deg,var(--branch-color),transparent 80%)}.hero-personalized .hero-foot{background:var(--branch-color);padding:12px 14px;border-radius:12px}.hero-personalized .hero-foot:before{display:none}.hero-personalized h2{text-shadow:none}@media(max-width:680px){.hero-photo:before{background:linear-gradient(90deg,var(--branch-color),color-mix(in srgb,var(--branch-color) 30%,transparent) 85%)}}
/* v4 · hábitos, demostraciones y progresión */
.daily-care{margin:0 0 24px;border-top:4px solid var(--branch-primary,#0064A8);background:linear-gradient(120deg,#f2f8fb,#fff 72%)}
.habit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.habit-grid>div{padding:15px;border:1px solid #d9e7ed;border-radius:16px;background:#fff}.habit-grid strong{display:block;margin:8px 0}.habit-grid p{font-size:12px;color:var(--muted);margin-bottom:14px}.habit-symbol{font-size:27px;color:#0064A8}.habit-grid .btn{font-size:12px;padding:11px 13px}.habit-grid .row{flex-wrap:wrap}.routine-progress{background:#f5f9fb}.routine-ladder{display:flex;gap:10px;margin:22px 0}.routine-ladder>span{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-height:70px;border:1px solid #d9e4e9;border-radius:14px;font-size:23px;background:white;color:#536779}.routine-ladder small{font-size:10px;margin-top:5px}.routine-ladder .active{background:#0064A8;color:#fff;border-color:#0064A8;box-shadow:0 6px 16px #0064a82b}.routine-ladder .not-planned{opacity:.45}.routine-progress p{font-size:13px;line-height:1.7}.routine-progress small{color:var(--muted)}.exercise-card-v4 h2{margin-top:5px}.exercise-visual{margin:17px 0;background:#f3eee7;border-radius:18px;overflow:hidden}.exercise-visual img{display:block;width:100%;max-height:340px;object-fit:contain}.exercise-visual figcaption{background:#fff9f0;padding:10px 14px;font-size:10px;color:#6e6a61}.exercise-reference{padding:40px;text-align:center;color:#536779}.exercise-reference>span{font-size:44px}.exercise-steps{margin:12px 0 20px;padding:12px 15px;border:1px solid #e0e8e9;border-radius:12px;font-size:12px}.exercise-steps summary{cursor:pointer;font-weight:600}.exercise-steps ol{padding-left:19px;margin-top:12px}.exercise-steps li{margin:8px 0;line-height:1.7}.exercise-prescription{font-size:13px;line-height:1.7;margin:14px 0}.mood-face-row{display:flex;gap:10px;justify-content:space-between;margin:20px 0;flex-wrap:wrap}.face-option{flex:1;min-width:64px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:13px 8px;border:1px solid #dce5e8;background:white;border-radius:16px;color:inherit;cursor:pointer}.face-option>span{font-size:30px}.face-option small{font-size:11px}.face-option:has(input:checked){background:#edf7fc;border-color:#0064A8;box-shadow:0 0 0 1px #0064A8}.face-option input{accent-color:#0064A8}.session-experience{margin-top:24px}.routine-editor-row{border:1px solid #dce5e8;border-radius:16px;padding:15px}.routine-editor-row .field{margin-top:12px}.plan-benefits{display:grid;gap:15px;margin:22px 0}.plan-benefits>div{padding-bottom:13px;border-bottom:1px solid #e8ecee}.plan-benefits span{font-size:12px}.plan-benefits strong{font-size:12px;white-space:nowrap}.plan-benefits .progress{margin-top:9px;height:5px}.danger-text{color:#a13737}.plan-v4 h2{margin-top:10px}.plan-v4>.muted{font-size:12px;margin-top:6px}.plan-v4 .journey{gap:8px}.plan-v4 .journey-step{font-size:11px}.plan-v4 .chart-data strong{font-size:38px}
@media(max-width:950px){.habit-grid{gap:10px}.habit-grid>div{padding:12px}.habit-grid .btn{font-size:11px}}
@media(max-width:620px){.habit-grid{grid-template-columns:1fr}.habit-grid>div{display:grid;grid-template-columns:38px 1fr;column-gap:9px}.habit-grid .habit-symbol{grid-row:1/4}.habit-grid strong{margin:0 0 5px}.habit-grid p,.habit-grid .btn,.habit-grid .row{grid-column:2}.habit-grid .btn{justify-self:start;font-size:12px}.daily-care .card-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.daily-care h2{font-size:22px}.routine-ladder{gap:5px}.routine-ladder>span{font-size:20px;min-height:63px}.routine-ladder small{font-size:9px}.face-option{min-width:45px;padding:10px 3px}.face-option>span{font-size:26px}.mood-face-row{gap:5px}.face-option small{font-size:9px}.exercise-visual img{max-height:250px}.plan-benefits .row{gap:10px}}

/* Recordatorios personales */
.reminder-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;margin-top:16px;border-top:1px solid var(--line,#dce4e8)}.reminder-summary strong{display:flex;align-items:center;gap:8px}.reminder-summary p{margin-top:6px}.reminder-summary button{flex-shrink:0}.reminder-days,.reminder-quiet{border:1px solid #dce4e8;border-radius:16px;padding:16px;display:flex;flex-wrap:wrap;gap:14px}.reminder-days legend,.reminder-quiet legend{padding:0 6px;font-weight:600}.reminder-days label{display:flex;align-items:center;gap:5px;min-height:36px}.reminder-kind{background:#f6f9fa;border-radius:16px;padding:16px}.reminder-kind .field{margin:14px 0 7px}.reminder-kind small{color:#52656a;font-size:12px}.reminder-quiet .field{flex:1;min-width:110px}.reminder-preview{border:1px solid #cddfe8;border-radius:20px;background:#f4f9fb;padding:24px}.reminder-preview>span{font-size:10px;letter-spacing:1px}.reminder-preview h3{margin:14px 0}.reminder-preview p{line-height:1.6}@media(max-width:600px){.reminder-summary{align-items:stretch;flex-direction:column}.reminder-summary button{width:100%}.reminder-days{gap:10px}.reminder-days label{min-width:62px}}

/* Identidad del paciente y del equipo */
.profile-photo{overflow:hidden;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;background:var(--mint,#e8efee)}.avatar.profile-photo img{width:100%;height:100%;display:block;object-fit:cover}.profile-photo-large{width:88px!important;height:88px!important;font-size:32px;border-radius:50%}.profile-photo-header{display:flex;align-items:center;gap:18px;margin:20px 0}.profile-photo-header p{margin-top:8px}.profile-photo-header small{display:block;margin-top:8px}.profile-photo-editor{text-align:center}.profile-photo-editor .profile-photo{margin:12px auto}.profile-photo-editor p{margin-top:10px}.photo-shell{background:transparent!important}.photo-shell>.profile-photo{width:100%;height:100%}.care-team-strip .avatar.profile-photo{display:inline-flex;width:48px;height:48px;margin-bottom:12px;color:var(--ink);font-size:18px}.care-team-strip .avatar.profile-photo img{display:block;width:100%;height:100%;object-fit:cover}
.auth-card{max-width:520px;margin:auto}.auth-card h1{margin-top:12px}.auth-intro{margin:16px 0 24px!important;line-height:1.7}.auth-links{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;margin-top:22px}.password-input{position:relative;display:flex;align-items:center}.password-input input{padding-right:78px!important}.password-toggle{position:absolute;right:8px;background:transparent;color:var(--pine);font-size:12px;padding:8px}.auth-remember{font-weight:400;font-size:12px;align-items:center}.auth-card small{font-size:11px}.auth-card [data-auth-message]{overflow-wrap:anywhere}.auth-card form{gap:16px}@media(max-width:600px){.auth-card{padding:24px 20px}.auth-links{gap:20px}.auth-card h1{font-size:29px}}
.auth-page{max-width:1512px;margin:auto;padding:28px 48px 20px;color:#132A13}.auth-brandbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.auth-brand{display:block;flex-shrink:0}.auth-install{border:1px solid #d7e4e8;border-radius:40px;padding:12px 19px;color:#0064A8;background:transparent;font-size:12px;font-weight:600}.auth-install span{margin-left:14px;font-size:20px;line-height:1}.auth-layout{display:grid;grid-template-columns:minmax(0,1.26fr) minmax(0,1fr);gap:clamp(40px,6vw,110px);align-items:center;min-height:600px}.auth-hero{position:relative;isolation:isolate;min-height:650px;height:calc(100svh - 180px);max-height:850px;border-radius:30px;overflow:hidden;background:#0064A8;color:#fff;box-shadow:0 18px 55px #003b6312}.auth-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:44% center;z-index:-3}.auth-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#002f4a1c 0%,#0039550a 27%,#003552c4 65%,#003553fa 100%),linear-gradient(90deg,#004a6c35,transparent 80%)}.auth-hero-top{position:absolute;top:31px;left:31px;display:flex;align-items:center;gap:9px;background:#ffffffed;color:#084765;border:1px solid #fff8;border-radius:30px;padding:9px 12px;font-size:9px;letter-spacing:1.5px;font-weight:650}.auth-pulse{width:7px;height:7px;display:block;background:#00D6B2;border-radius:50%}.auth-hero-copy{position:absolute;bottom:37px;left:38px;right:30px}.auth-hero-spark{color:#F9EC08;font-size:36px;line-height:1;display:block;margin-bottom:15px}.auth-hero h1{font-size:clamp(48px,4.7vw,76px);line-height:1.02;font-weight:700;letter-spacing:-3px;margin:0;color:white;max-width:540px}.auth-hero h1 em{font-family:Georgia,serif;font-weight:400;color:#F9EC08}.auth-hero-copy>p{font-size:15px;line-height:1.6;color:#eef9ff;margin-top:18px}.auth-promises{display:flex;gap:17px;flex-wrap:wrap;padding-top:24px;margin-top:25px;border-top:1px solid #ffffff38}.auth-promises span{display:flex;align-items:center;gap:7px;color:#f5fbff;font-size:11px}.auth-promises .icon{width:16px;height:16px;color:#00D6B2}.auth-hero-corner{position:absolute;top:28px;right:29px;font-size:27px;font-weight:700;color:#fff;letter-spacing:-2px;opacity:.8}.auth-entry{padding:28px 0;min-width:0}.auth-entry .auth-card{max-width:405px;border:0;box-shadow:none;background:transparent;padding:0;width:100%}.auth-entry .eyebrow{color:#0064A8;font-size:10px;letter-spacing:1.8px;font-weight:650;margin-bottom:17px}.auth-entry h2{font-size:clamp(29px,2.8vw,40px);font-weight:650;line-height:1.15;letter-spacing:-1.5px}.auth-entry .auth-intro{color:#62747c;font-size:14px;margin:13px 0 29px!important;max-width:350px}.auth-entry .field{font-size:11px;color:#163c4a;font-weight:600;gap:8px}.auth-entry input:not([type=checkbox]){background:#fff;border:1px solid #d1e0e5;border-radius:12px;padding:14px 15px;min-height:50px;font-size:13px;color:#143a4b}.auth-entry input::placeholder{color:#8e9fa5}.auth-entry input:focus{outline:2px solid #0064A8;outline-offset:2px}.auth-entry .auth-remember{font-size:11px;color:#62747c;align-items:center;line-height:1.5;font-weight:400}.auth-entry input[type=checkbox]{width:17px;height:17px;accent-color:#0064A8;margin-top:0}.auth-entry .btn{background:#0064A8;color:white;border-radius:12px;min-height:50px;padding:13px 17px;font-size:13px;font-weight:600;box-shadow:0 7px 15px #0064a81a}.auth-enter{justify-content:space-between}.auth-enter>span{font-size:21px;font-weight:400}.auth-entry .password-toggle{color:#0064A8;font-size:11px;font-weight:600}.auth-entry .auth-links{margin-top:22px;padding-bottom:24px;border-bottom:1px solid #e0e9ec;gap:12px}.auth-entry .auth-links .text-btn{font-size:11px;color:#0064A8}.auth-closing{display:flex;align-items:center;gap:8px;font-size:11px;color:#78888e;margin-top:22px}.auth-closing span{font-size:20px;color:#00a88b}.auth-page-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0 0;flex-wrap:wrap;color:#819198;font-size:9px}.auth-page-footer strong{font-weight:500;color:#56727f}.auth-page-footer .text-btn{font-size:9px;color:#69818b}.auth-locations{display:flex;gap:15px}.auth-locations span{display:flex;align-items:center;gap:6px;font-size:9px}.auth-locations i{width:6px;height:6px;border-radius:50%;display:block}.auth-dot-per{background:#F9EC08}.auth-dot-teo{background:#00D6B2}.auth-dot-pb{background:#0064A8}body[data-auth-screen="welcome"]{background:#f5f8f9}body[data-auth-screen="welcome"] .shell{display:block;min-height:100svh}body[data-auth-screen="welcome"] .sidebar,body[data-auth-screen="welcome"] .topbar,body[data-auth-screen="welcome"] footer,body[data-auth-screen="welcome"] #modeBar{display:none}body[data-auth-screen="welcome"] main{padding:0;max-width:none;min-height:100svh}body[data-auth-screen="welcome"] .workspace{width:100%}@media(min-width:1600px){.auth-page{padding-top:35px}.auth-brandbar{margin-bottom:34px}}@media(max-width:1000px){.auth-page{padding:22px 30px 18px}.auth-layout{gap:36px;grid-template-columns:1.1fr 1fr}.auth-hero{min-height:600px}.auth-hero-copy{left:27px;bottom:30px;right:25px}.auth-hero h1{font-size:57px}.auth-promises{gap:12px}.auth-promises span{font-size:10px}.auth-hero-top{left:25px;font-size:8px;letter-spacing:1px}.auth-hero-corner{display:none}}@media(max-width:720px){.auth-page{padding:14px 20px 24px}.auth-brandbar{margin-bottom:16px;gap:8px;min-height:55px}.auth-brand{width:156px}.auth-brand .official-logo-window{transform:scale(.82);transform-origin:left center}.auth-install{font-size:10px;padding:9px 10px;white-space:nowrap}.auth-install span{font-size:16px;margin-left:3px}.auth-layout{display:flex;flex-direction:column;gap:0;min-height:0;align-items:stretch}.auth-hero{min-height:0;height:245px;max-height:none;border-radius:21px;box-shadow:none}.auth-hero-image{object-position:48% 31%}.auth-hero-shade{background:linear-gradient(90deg,#003955e6 0%,#003955a6 48%,#00395508 100%),linear-gradient(0deg,#003955bb,transparent 70%)}.auth-hero-copy{left:24px;bottom:24px;right:20px}.auth-hero h1{font-size:43px;line-height:1.03;letter-spacing:-1.7px;max-width:290px}.auth-hero-spark{font-size:22px;margin-bottom:10px}.auth-hero-copy>p{font-size:11px;line-height:1.5;margin-top:12px}.auth-hero-top,.auth-promises{display:none}.auth-entry{padding:30px 4px 12px}.auth-entry .auth-card{max-width:460px}.auth-entry .eyebrow{font-size:9px;margin-bottom:10px}.auth-entry h2{font-size:30px;letter-spacing:-1px}.auth-entry .auth-intro{font-size:12px;margin:10px 0 23px!important}.auth-entry .auth-card form{gap:16px}.auth-entry .auth-links{padding-bottom:21px}.auth-closing{margin-top:18px}.auth-page-footer{justify-content:center;gap:13px;padding-top:15px;border-top:1px solid #e0e9ec;margin-top:10px;text-align:center}.auth-page-footer>p{width:100%;order:2;font-size:9px}.auth-page-footer .text-btn{order:3}.auth-locations{justify-content:center;width:100%;gap:19px}}@media(prefers-reduced-motion:no-preference){.auth-entry .auth-card{animation:auth-arrive .45s ease-out}.auth-enter:hover{transform:translateY(-1px);box-shadow:0 10px 20px #0064a829}.auth-enter{transition:transform .18s,box-shadow .18s}@keyframes auth-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}}
.intake-steps{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:#647c83}.intake-account{display:grid;justify-items:start;gap:9px;background:#f1f7fa;border:1px solid #dce9ee;padding:19px;border-radius:15px}.intake-account h3{font-size:21px}.intake-account p{overflow-wrap:anywhere}.intake-account small{font-size:11px}.intake-guide{padding-left:22px;font-size:12px;line-height:1.8;margin:20px 0}.intake-guide li{padding:5px 0}.intake-access-actions{display:flex;gap:10px;flex-wrap:wrap}.intake-access-actions .btn{flex:1;min-width:180px}

/* El error del test permanece dentro del diálogo, junto al botón. */
.onboarding-status{font-size:13px;line-height:1.65;scroll-margin:18px;overflow-wrap:anywhere}.onboarding-status:focus{outline:2px solid var(--red);outline-offset:3px}

/* Rutina inicial ilustrada y configuración clínica por paciente. */
.routine-preview-list{display:grid;gap:12px;margin-top:18px}.routine-preview-list article{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:12px}.routine-preview-list img{width:76px;height:76px;object-fit:cover;border-radius:13px}.routine-preview-list strong{display:block;font-size:13px;margin:3px 0 6px}.routine-preview-list small{font-size:9px;letter-spacing:1px}.routine-preview-list .badge{font-size:9px;white-space:normal}.routine-pool-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.routine-pool-item input{flex-shrink:0}.routine-pool-item img{width:58px;height:58px;object-fit:cover;border-radius:12px}.routine-pool-item strong,.routine-pool-item small{display:block}.routine-pool-item small{font-size:11px}.routine-support .row{align-items:center}.routine-companion h3{margin-top:6px}.routine-support .subtle{max-width:70ch}
