/* Fisio Movimentar — creme, rosé e vinho */
:root{--paper:#fbf7ef;--ink:#49363e;--wine:#85465b;--rose:#e8c9cb;--line:#eadfd8;color:var(--ink);background:#eee6de}
body{background:#eee6de}button,a,input,select,textarea{touch-action:manipulation}button,a{transition:background .2s,box-shadow .2s,transform .2s,color .2s}button:focus-visible,a:focus-visible{outline:3px solid #9c6076;outline-offset:3px}
.app-shell{padding:16px;gap:16px}.sidebar{background:#f5e9e0;color:#58404a;border:1px solid #e8d7ce;border-radius:24px;width:238px;height:calc(100vh - 32px);min-height:620px;top:16px;padding:30px 15px 18px}.brand{padding:0 8px;gap:10px}.brand-mark{background:#e9cdd0;color:#85465b;border-radius:50% 50% 40% 50%;width:42px;height:42px;font-size:32px}.brand strong{font-size:14px;color:#573b48}.brand small{font-size:10px;color:#96747e;margin-top:4px}.side-label{color:#9b7880;font-size:9px;margin:42px 13px 14px;letter-spacing:.2em}.sidebar nav{gap:8px}.nav-link{color:#866d74;border-radius:12px;padding:13px 14px;font-size:12px}.nav-link.active,.nav-link:hover{background:#fff9f5;color:#85465b;box-shadow:none}.nav-link.active{box-shadow:0 4px 14px #663e4a09}.nav-link.active:after{content:'';width:6px;height:6px;border-radius:50%;background:#ac687d;margin-left:auto}.side-message{margin:45px 12px 20px;color:#ac7d87}.side-flower{font-size:48px;display:block;line-height:1;color:#cc9ba7;transform:rotate(15deg);width:60px}.side-message p{font-family:Georgia,serif;font-style:italic;line-height:1.6;margin:13px 0;color:#98727a;font-size:15px}.profile{color:#60434e;border-top:1px solid #e3cfc7;padding:20px 6px 12px;gap:10px}.profile strong{font-size:12px}.profile small{font-size:10px;color:#9b727e;display:block;margin-top:5px}.profile:hover{transform:translateY(-1px)}.logout{color:#9b7b83;font-size:11px;padding:10px 13px}.secure-note{display:none}
.professional-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;display:inline-flex;flex:none;background:#fff;border:3px solid #fff8f4;box-shadow:0 0 0 1px #e6c8cf}.professional-avatar img{width:100%;height:100%;object-fit:cover;transform:scale(1.6);transform-origin:50% 18%}.professional-avatar.large{width:100px;height:100px;border-width:5px}.patient-symbol{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#f1e3df;color:#a66d80}.patient-symbol.large{width:60px;height:60px;border-radius:18px}.patient-symbol.large svg{width:25px;height:25px}.avatar.initials{background:#f0dadd;color:#a26a81}
.main-wrap{background:var(--paper);border-radius:24px;min-height:calc(100vh - 32px);overflow:hidden}.main-wrap main{padding:16px 38px 60px;max-width:1460px}.workspace-topbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:27px 38px 10px;font-size:10px;color:#9d8088}.workspace-topbar>span{letter-spacing:.18em;font-size:9px;font-weight:750}.workspace-topbar time{font-size:11px;text-transform:capitalize}.demo-banner{background:#f5ebe4;color:#9a776d;border-color:#e8d8cc;font-weight:500;font-size:11px;padding:9px 13px;margin-bottom:20px}
.welcome-hero{position:relative;display:grid;grid-template-columns:1.15fr 1fr;min-height:337px;border:1px solid #e8d8d1;border-radius:24px;background:linear-gradient(110deg,#fffaf1 15%,#f4e6df 90%);margin-bottom:24px;overflow:hidden}.welcome-copy{padding:39px 15px 35px 36px;z-index:1}.welcome-copy .eyebrow{color:#a5767f;font-size:9px;letter-spacing:.2em}.welcome-copy h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:50px;line-height:1.05;letter-spacing:-.045em;color:#654252;margin:15px 0}.welcome-copy h1 em{font-weight:400;color:#ab7181}.welcome-copy p{color:#9a7c81;font-size:12px;line-height:1.7;margin:0 0 22px}.welcome-portrait{position:relative;display:flex;align-items:flex-end;justify-content:center;padding:20px 24px 0}.portrait-frame{position:relative;overflow:hidden;width:235px;height:285px;border-radius:130px 130px 0 0;background:white;border:5px solid #fffbf6;box-shadow:0 0 0 1px #ddc6c4;z-index:1}.hero-photo{width:100%;height:100%;object-fit:cover;object-position:50% 12%}.portrait-orbit{position:absolute;display:block;width:260px;height:260px;border:1px solid #d9b2ba;border-radius:50%;transform:rotate(-25deg)}.orbit-one{right:2%;top:8%;width:270px;height:290px}.orbit-two{right:15%;top:13%;width:290px;height:250px;border-style:dashed;opacity:.5}.portrait-caption{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;border:1px solid #e8d9d3;background:#fffcf6f5;box-shadow:0 8px 28px #82566112;border-radius:14px;padding:12px 17px;z-index:2;white-space:nowrap;color:#764a5b;text-align:left}.portrait-caption>span{font-size:29px;color:#c48e9e}.portrait-caption strong{display:block;font-family:Georgia,serif;font-weight:500;font-size:16px}.portrait-caption small{display:block;font-size:9px;color:#a17f88;margin-top:4px}.portrait-caption svg{width:14px;color:#b28290}
.btn{border-color:#e7d8d2;color:#805364;background:#fffdf9;box-shadow:none;border-radius:11px;font-size:11px}.btn.primary{color:#fff9f5;background:var(--wine);border-color:var(--wine);box-shadow:0 5px 14px #85465b18}.btn.secondary{background:#fffdf9}.btn:hover{transform:translateY(-1px);filter:none;box-shadow:0 5px 12px #633b490d}.btn:active{transform:translateY(0)}.text-link,.back-link{color:#9f687c}.text-link.danger{color:#a05062}.eyebrow{color:#a57684}.page-head h1,.patient-header h1{font-family:Georgia,serif;font-weight:500;color:#62404f;letter-spacing:-.04em}.page-head p{color:#9b8087}
.stat-grid{gap:13px;margin-bottom:28px}.stat{background:#fffaf5;border:1px solid #ebded5;border-radius:17px;padding:20px 22px;position:relative;box-shadow:none;gap:5px}.stat:first-child{background:#936174;border-color:#936174}.stat:first-child small,.stat:first-child>span:last-child{color:#f2dfe3}.stat:first-child strong{color:#fff9ef}.stat:first-child .stat-icon{background:#ffffff1c;color:#fff3ec}.stat small{color:#a08088;font-size:11px}.stat strong{font-family:Georgia,serif;font-weight:500;color:#775062;font-size:32px}.stat>span:last-child{color:#b0969b;font-size:10px}.stat-icon{width:34px;height:34px;border-radius:50%;margin-bottom:7px}.stat-icon.green{background:#f0e0e3;color:#a4697c}.stat-icon.lilac{background:#eee4ec;color:#9a7494}.stat-icon.sand{background:#f3e9da;color:#af916c}
.panel{border-color:#eaded6;box-shadow:0 5px 20px #68414c03;background:#fffdf9;border-radius:17px}.panel h2,.panel h3{color:#6d4958}.panel-head p,.muted{color:#9b7f87}.activity-row{border-color:#efe4dd}.activity-row.clickable:hover{background:#faf0ea}.activity-row small{color:#a98b94}.date-tile{background:#f3e5e5;color:#9f6d7f}.small-symbol{background:#f2e4e7;color:#ad7c8e}.empty{color:#a78b95}.empty.illustration{background:#fffaf5;border-color:#dac1c8}
.patient-grid{gap:18px}.patient-card{border-color:#e9d9d0;border-radius:18px;padding:23px;background:#fffaf4;box-shadow:none;position:relative;overflow:hidden}.patient-card:before{content:'';position:absolute;left:0;right:0;top:0;height:4px;background:#dfb1bc}.patient-card:nth-child(3n+2):before{background:#c4b0bb}.patient-card:nth-child(3n):before{background:#d7c1a2}.patient-card:hover{box-shadow:0 10px 27px #9b667812;transform:translateY(-3px)}.patient-card h3{color:#6e4b59;font-family:Georgia,serif;font-weight:500;font-size:22px}.patient-card p{color:#a88a92}.patient-meta{border-color:#eadbd6;color:#a48a91}.card-link{color:#a16b7f}.pill{background:#f4e3e6;color:#985d74}.pill.paused,.pill.canceled{background:#f3e9dd;color:#a38160}.pill.discharged,.pill.done,.pill.contacted{background:#ece5ee;color:#937795}.pill.archived{background:#eee6e0;color:#94817b}.search,.toolbar select{background:#fffdf9;border-color:#e6d7ce;color:#987885}.search input{color:#795665}.patient-header{background:#fffaf5;border-color:#e9d8cd;border-radius:20px;gap:18px}.patient-header p{color:#a88b94}.tabs{background:#f2e8e1;padding:5px;border:0;border-radius:12px;gap:5px;margin-bottom:25px}.tabs button{padding:11px 17px;border:0;border-radius:9px;color:#aa8b94;font-size:11px}.tabs button.active{background:#fffaf6;color:#8c5368;box-shadow:0 3px 10px #76455a08}.info-grid small,.assessment-item small{color:#b0909a}.clinical-highlight,.inline-actions,.assessment-item,.assessment-panel h3{border-color:#efe2db}.clinical-highlight small{color:#a88e95}.section-intro h2{font-family:Georgia,serif;font-weight:500;font-size:24px;color:#775061}.section-intro p{color:#a68b92}.assessment-item p{color:#80616b}.timeline{border-color:#e9ccd2}.timeline-point{background:#bc8b9a;border-color:#fbf3ee}.timeline-date,.mini-label{color:#ad7a8c}.entry-body{color:#856670}.entry-metrics span{background:#f7ece8;color:#a78b92}.entry-metrics strong{color:#8b5b70}.subnote{background:#f7eee7;color:#947381}.file-chip{background:#f9eee8;border-color:#ead6d0;color:#986779}.document-row{border-color:#ebded7}.internal-doc{background:#fffaf3;border-color:#eadacf}.doc-preview{color:#8d6c79}.doc-image-placeholder{background:#f7e9e8;border-color:#d9b2bf;color:#a67889}
.calendar-tools{color:#805b6a}.day-column{background:#fffaf5;border-color:#e6d6ce}.day-column.current{border-color:#c795a5;box-shadow:0 0 0 2px #c795a51c}.day-head{border-color:#ecdfd8;color:#a48790}.day-head strong{color:#99687c}.current .day-head strong{background:#a3667e}.calendar-event{background:#f6e6e8;border-color:#c88fa2}.calendar-event small,.calendar-event span{color:#b08395}.calendar-event strong{color:#895a70}.calendar-event.block{background:#efe4ed;border-color:#b997b4}.calendar-event.block.break{background:#f5eada;border-color:#c5a680}.event-actions{color:#a67488}.wait-row{border-color:#ecdfd8}
.login-layout{background:#fcf7ef}.login-story{background:radial-gradient(ellipse at 80% 70%,#c38e9e44,transparent 60%),#88566c;color:#fff3e8;position:relative;overflow:hidden}.login-story:after{content:'';width:440px;height:440px;border:1px solid #caa4ad66;border-radius:50%;position:absolute;right:-140px;bottom:-130px;pointer-events:none}.brand.light strong{color:#fff4e8}.brand.light .brand-mark{background:#e9c7cb;color:#8f536b}.brand.light small{color:#e0b8c7}.login-message .eyebrow{color:#dfbdc6}.login-message h1{font-family:Georgia,serif;font-weight:400}.login-message p,.story-line{color:#e8cbd4}.story-line span,.story-line i{border-color:#c797a7}.login-footer{color:#d3aab9}.login-form-side{background:#fcf7ef}.form-mark{background:#f2dfdf;color:#ab6f88}.login-box h2{font-family:Georgia,serif;color:#805469;font-weight:400}.login-box>p{color:#ad8e99}.login-box label,.modal-body label{color:#9a7486}.login-box input,.modal-body input,.modal-body select,.modal-body textarea{border-color:#e6d4cd;color:#805568;background:#fffdf9}.login-box input:focus,.modal-body input:focus,.modal-body select:focus,.modal-body textarea:focus{border-color:#c992a7;box-shadow:0 0 0 3px #cb95aa18}.login-footnote{color:#af929c}.modal-backdrop{background:#4d293d88;backdrop-filter:blur(5px);animation:veil-in .18s ease}.modal-dialog{background:#fffcf7;border-radius:22px;box-shadow:0 25px 90px #4f253c35;animation:dialog-in .22s ease}.modal-header,.modal-footer,.form-group{border-color:#eadbd3}.modal-header h2{font-family:Georgia,serif;font-weight:500;color:#83546b;font-size:24px}.icon-btn{background:#f3e5e1;color:#ad788e}.form-group h3{color:#a37288}.form-help{color:#af929b}.editor-toolbar{background:#f7ece5;border-color:#ead5cf}.rich-editor{border-color:#e5d2c9;background:#fffefb;color:#745365}.rich-editor:focus{border-color:#c992a7;box-shadow:0 0 0 3px #cb95aa18}.profile-editor{display:flex;gap:22px;align-items:center;padding:12px 0 20px}.profile-editor h3{font-family:Georgia,serif;font-size:23px;font-weight:500;color:#8c566f;margin:0 0 8px}.profile-editor p{font-size:12px;font-weight:400;color:#aa8798;margin:0}.profile-links{display:flex;gap:16px;flex-wrap:wrap}.toast{background:#996278;color:#fff5ec}.toast.error{background:#aa536a}
.welcome-hero,.stat-grid,.two-column,.patient-grid,.patient-header{animation:page-in .35s ease both}.stat:nth-child(2){animation-delay:.04s}.stat:nth-child(3){animation-delay:.08s}@keyframes page-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes veil-in{from{opacity:0}to{opacity:1}}@keyframes dialog-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@media(min-width:1500px){.welcome-hero{min-height:365px}.welcome-copy{padding-left:45px}.welcome-copy h1{font-size:57px}.portrait-frame{height:310px;width:255px}}
@media(max-width:1100px){.main-wrap main{padding-left:24px;padding-right:24px}.workspace-topbar{padding-left:24px;padding-right:24px}.welcome-copy{padding-left:25px}.welcome-copy h1{font-size:42px}.welcome-copy .head-actions{gap:7px}.welcome-copy .btn{font-size:10px;padding:10px}.portrait-frame{width:210px}.sidebar{width:220px}.brand strong{font-size:12px}}
@media(max-width:850px){.app-shell{padding:0;gap:0}.main-wrap{border-radius:0;background:var(--paper);min-height:100vh}.workspace-topbar{padding:20px 20px 6px}.mobile-header{background:#f4e6dd;color:#85546a;padding:15px 19px;border-bottom:1px solid #e4cdc3}.mobile-profile{padding:0;border:0;background:none;display:flex;border-radius:50%}.mobile-header .brand{padding:0}.mobile-header .brand-mark{background:#e9cbd0;color:#a26b81}.mobile-header .brand strong{color:#85546a}.mobile-header .brand small{color:#ab8592;font-size:9px}.mobile-header .professional-avatar{width:37px;height:37px}.mobile-nav{background:#fffaf4;border-color:#e8d4ca}.mobile-nav button{color:#bb95a4}.mobile-nav button.active{color:#9c5e7b}.main-wrap main{padding:14px 20px 100px}.welcome-hero{min-height:330px}.portrait-frame{width:230px;height:280px}}
@media(max-width:600px){.workspace-topbar{padding:15px 18px 3px;gap:8px}.workspace-topbar>span{font-size:8px}.workspace-topbar time{font-size:9px}.main-wrap main{padding:12px 16px 95px}.demo-banner{font-size:10px;margin-bottom:16px}.welcome-hero{grid-template-columns:1fr;min-height:0;padding-bottom:0;border-radius:20px}.welcome-copy{padding:25px 23px 10px}.welcome-copy h1{font-size:43px}.welcome-copy p{font-size:11px;margin-bottom:18px}.welcome-copy .btn{padding:10px 12px;font-size:10px}.welcome-portrait{height:226px;margin-top:5px;justify-content:flex-end;padding:0 30px}.portrait-frame{width:180px;height:224px;border-radius:110px 110px 0 0}.portrait-caption{left:20px;bottom:18px;transform:none;padding:12px 14px;gap:9px}.portrait-caption strong{font-size:15px}.portrait-caption>span{font-size:26px}.portrait-orbit{right:5px;top:0;width:230px;height:210px}.orbit-two{right:35px;top:18px;width:230px;height:200px}.stat-grid{gap:10px}.stat{padding:17px}.stat-grid .stat:last-child{grid-column:1/-1;display:grid;grid-template-columns:36px 1fr auto;align-items:center;column-gap:10px}.stat:last-child .stat-icon{grid-row:1/3;margin:0}.stat:last-child small{grid-column:2}.stat:last-child strong{grid-column:3;grid-row:1/3}.stat:last-child>span:last-child{grid-column:2}.panel{padding:19px}.tabs{gap:3px}.tabs button{padding:10px 12px;font-size:10px}.patient-header{gap:12px}.patient-header-text{min-width:calc(100% - 75px)}.patient-header h1{font-size:24px}.patient-symbol.large{width:48px;height:48px}.head-actions{gap:8px}.profile-editor{gap:16px}.profile-editor h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.page-head p,.patient-card p,.patient-meta,.workspace-topbar,.section-intro p,.form-help,.muted,.panel-head p,.clinical-highlight small,.info-grid small,.assessment-item small,.welcome-copy p,.activity-row small{color:#896574}.eyebrow{color:#936376}.professional-avatar img{display:block}
