@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Playfair Display;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTjYgFE_.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Playfair Display;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTPYgFE_.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Playfair Display;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTLYgFE_.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Playfair Display;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYgA.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Playfair Display;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTjYgFE_.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Playfair Display;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTPYgFE_.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Playfair Display;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTLYgFE_.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Playfair Display;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYgA.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:DM Sans,sans-serif;color:#172b3e;background:#f4f6f8;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#f4f6f8}button,input,select,textarea{font:inherit}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head h1{font-family:Playfair Display,Georgia,serif;font-size:30px;color:#0a2947;font-weight:600;margin:0 0 6px}.page-head p{margin:0;color:#8693a0;font-size:12px}.primary-btn{border:0;border-radius:10px;background:linear-gradient(110deg,#092541,#1a4b70);color:#fff;padding:11px 17px;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px #082a4929}.secondary-btn{border:1px solid #dce3e9;border-radius:9px;background:#fff;color:#30485e;padding:10px 15px;font-size:12px;font-weight:700;cursor:pointer}.danger-btn{border:0;background:#fff0f1;color:#c52f4a;padding:8px 10px;border-radius:8px;cursor:pointer}.panel{background:#fff;border:1px solid #e8ecf0;border-radius:16px;box-shadow:0 5px 18px #0e273d09}.form-field{display:grid;gap:7px}.form-field label{font-size:10px;font-weight:700;color:#53687b;text-transform:uppercase;letter-spacing:.7px}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #dfe5ea;border-radius:9px;background:#fff;padding:11px 12px;color:#20384e;outline:none}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#416c8e;box-shadow:0 0 0 3px #27527512}.modal-backdrop{position:fixed;inset:0;background:#0514238c;backdrop-filter:blur(3px);z-index:50;display:grid;place-items:center;padding:20px}.modal{background:#fdfefe;width:min(680px,100%);max-height:92vh;overflow:auto;border-radius:18px;box-shadow:0 25px 80px #0312204d}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e8edf1}.modal-head h2{font-family:Playfair Display,serif;color:#0a2947;margin:0;font-size:22px}.close-btn{border:0;background:#eef2f5;width:32px;height:32px;border-radius:9px;cursor:pointer;color:#42586b}.modal-body{padding:22px 24px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px;border-top:1px solid #e8edf1}.empty{text-align:center;padding:50px 20px;color:#8a97a3}.error-message{color:#c02e47;background:#fff0f2;padding:10px 12px;border-radius:8px;font-size:12px;margin-bottom:16px}.loading{min-height:250px;display:grid;place-items:center;color:#789}.spinner{width:30px;height:30px;border:3px solid #dce4eb;border-top-color:#163f61;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:650px){.page-head{align-items:flex-start;flex-direction:column}.page-head .primary-btn{width:100%}.modal-backdrop{padding:8px}.modal-body{padding:18px}.modal-head,.modal-actions{padding:17px 18px}}:root{--navy-950: #07182f;--navy-900: #0d1b3d;--navy-800: #12264d;--navy-700: #183e68;--silver-200: #d8dfe6;--silver-100: #edf1f4;--ink: #0c1733;--muted: #5e6d82;--canvas: #f6f7f5}html,body{background:var(--canvas);color:#06152d;font-size:16px}.app-shell .sidebar{background:var(--navy-900);box-shadow:none}.app-shell .brand{height:94px;margin-bottom:22px}.app-shell .brand img{width:225px}.app-shell .sidebar nav{gap:8px}.app-shell .sidebar nav a{min-height:52px;padding:14px 15px;border-radius:10px;color:#edf2f8;font-size:16px;font-weight:800}.app-shell .sidebar nav a:hover{background:#ffffff14;color:#fff}.app-shell .sidebar nav a.active{position:relative;background:#252f53;box-shadow:none}.app-shell .sidebar nav a.active:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:4px;background:#c8d3dd}.app-shell .sidebar .icon{font-size:19px;color:#fff}.app-shell .sidebar-footer strong{font-size:15px}.app-shell .sidebar-footer small{font-size:13px;color:#d5deea}.app-shell .topbar{height:80px;padding:0 38px;border-top:4px solid #405863;border-bottom:1px solid #d8dde2;background:#fff}.app-shell .topbar span{font-size:16px;color:#07162d;font-weight:800}.app-shell .topbar small{font-size:13px;color:#334760;font-weight:600}.app-shell .page-content{background:var(--canvas);padding-top:38px}.page-head{align-items:flex-end;margin-bottom:28px}.page-head h1{margin-bottom:8px;font-family:DM Sans,sans-serif;font-size:clamp(34px,3.3vw,48px);line-height:1;letter-spacing:-1.8px;font-weight:800;color:var(--ink)}.page-head p{color:#263b57;font-size:17px;font-weight:600}.primary-btn{min-height:50px;padding:13px 23px;border-radius:11px;background:var(--navy-800);box-shadow:0 10px 22px #0d1b3d2e;font-size:16px}.secondary-btn{min-height:46px;font-size:15px;color:#07162d;border-color:#b9c6d3}.panel{border-color:#d6dde5;border-radius:16px;box-shadow:0 7px 22px #0f1d3b0f}.empty{color:#203650;font-size:16px;font-weight:700}.form-field label{color:#102947;font-size:14px;font-weight:800}.form-field input,.form-field select,.form-field textarea{min-height:50px;border-color:#b8c5d2;color:#06152d;font-size:16px;font-weight:600}.form-field input::placeholder,.form-field textarea::placeholder{color:#50627a;opacity:1}.modal{border:1px solid #c9d2dc}.modal-head h2{font-family:DM Sans,sans-serif;font-size:27px;font-weight:800;color:#06152d}.metrics{gap:16px;margin-bottom:20px}.metrics .metric{min-height:160px;padding:22px 20px;border-color:#c9d3de;box-shadow:0 8px 22px #07182f14}.metrics .metric.featured{background:linear-gradient(135deg,#0c2146,#173f69)}.metrics .metric span{color:#102844;font-size:14px;font-weight:800;letter-spacing:.7px}.metrics .metric.featured span{color:#d3deeb}.metrics .metric strong{font-family:DM Sans,sans-serif;color:#04132b;font-size:34px;font-weight:800;letter-spacing:-.8px}.metrics .metric.featured strong{color:#fff}.metrics .metric small{color:#203752;font-size:14px;font-weight:700}.metrics .metric.featured small{color:#d3dfeb}.dashboard-grid{gap:18px;margin-bottom:18px}.dashboard-grid .panel header,.bottom-grid .panel header{padding:22px 24px}.dashboard-grid .panel h3,.bottom-grid .panel h3{color:#04142d;font-size:20px;font-weight:800}.dashboard-grid .panel header p,.bottom-grid .panel header p{color:#1e3652;font-size:14px;font-weight:700}.dashboard-grid .chart{height:280px}.dashboard-grid .bar-group span,.dashboard-grid .legend{color:#102944;font-size:13px;font-weight:800}.distribution .procedure-row span{color:#06162e;font-size:16px;font-weight:800}.distribution .procedure-row small{color:#203751;font-size:13px;font-weight:700}.distribution .procedure-row strong{color:#06162e;font-size:16px;font-weight:800}.bottom-grid{grid-template-columns:1fr 230px;gap:18px}.recent table{font-size:15px}.recent th{color:#0d2543;font-size:13px;font-weight:800}.recent td{color:#071d39;font-size:15px;font-weight:700}.recent td em{font-size:12px;font-weight:800}.patients-panel>header{height:78px}.patients-panel .search{border-color:#cbd4dd;background:#fff}.patients-panel .search input{color:#071b36;font-size:15px;font-weight:700}.patients-panel .search input::placeholder{color:#344963;opacity:1}.patients-panel .search button{font-size:14px;color:#06152d;font-weight:800}.patients-panel th,.agenda-panel th{color:#0c2442;font-size:13px;font-weight:800;background:#edf2f6}.patients-panel td,.agenda-panel td{color:#061b36;font-size:16px;font-weight:700}.patients-panel .person strong,.agenda-panel .name{color:#03142c;font-size:17px}.patients-panel .person small{color:#1f3752;font-size:14px;font-weight:700}.agenda-summary article{min-height:108px;padding:18px}.agenda-summary span{color:#102945;font-size:13px;font-weight:800}.agenda-summary strong{font-family:DM Sans,sans-serif;color:var(--ink);font-size:30px;font-weight:800}.agenda-summary small{color:#203852;font-size:13px;font-weight:700}.agenda-summary .filter label{color:#06162e;font-size:13px;font-weight:800}.agenda-summary .filter input{min-height:44px;border-color:#b9c6d2;color:#071a34;font-size:14px;font-weight:700}.agenda-panel td{padding-top:16px;padding-bottom:16px}.agenda-panel .datetime strong,.agenda-panel .datetime small{color:#071d39;font-size:14px;font-weight:700}.agenda-panel .money{color:#03142c;font-size:17px}.agenda-panel .payment,.agenda-panel .badge{font-size:13px;font-weight:800}.procedure-grid{gap:20px}.procedure-card{position:relative;min-height:196px;padding:24px;grid-template-columns:52px 1fr;gap:17px;overflow:hidden;border:1px solid #becbd8;background:linear-gradient(145deg,#fff 68%,#f1f5f8);box-shadow:0 9px 24px #07182f17}.procedure-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#102c51,#557b98)}.procedure-card:hover{transform:translateY(-4px);border-color:#8da4b8;box-shadow:0 16px 34px #07182f24}.procedure-card.inactive{opacity:.72;filter:grayscale(.15)}.procedure-card .symbol{width:52px;height:52px;border-radius:15px;font-size:21px;box-shadow:0 7px 16px #102f4c33}.procedure-card .info{min-width:0}.procedure-card .info h3{margin:14px 0 7px;color:#03142c;font-size:19px;line-height:1.25;font-weight:800}.procedure-card .info p{color:#1e3651;font-size:14px;line-height:1.45;font-weight:700}.procedure-card .info span{color:#613810;background:#fff0d8;border:1px solid #f0d6af;font-size:12px;font-weight:800}.procedure-card .info span.active{color:#146246;background:#e5f7ef;border-color:#bfe9d7}.procedure-card .actions{padding-top:15px;border-color:#d9e0e7}.procedure-card .actions button{min-height:40px;padding:9px 14px;color:#071e3a;background:#e3ebf1;border:1px solid #cbd7e1;font-size:14px;font-weight:800}.procedure-card .actions button:hover{background:#dce6ee}.procedure-card .actions .delete{color:#a92740;background:#fff0f2;border-color:#f6d5dc}.procedure-card .actions .delete:hover{background:#fbe1e6}.filters select{min-height:44px;color:#071c37;border-color:#adbdcc;font-size:15px;font-weight:800}.chart-panel,.distribution,.recent,.mini-stat{border-color:#c7d2dd;box-shadow:0 8px 24px #07182f14}.bottom-grid .mini-stat>span{color:#102944;font-size:13px;font-weight:800}.bottom-grid .mini-stat p{color:#1d3651;font-size:13px;font-weight:700}.finance-box .form-field:has(input[type=number]){position:relative}.finance-box .form-field:has(input[type=number]):after{content:"R$";position:absolute;left:13px;top:35px;color:#07142e;font-size:13px;font-weight:800;pointer-events:none}.finance-box .form-field input[type=number]{padding-left:42px;font-weight:700}.panel{color:#06172f}.panel button,.modal button{font-weight:800}.modal-body,.modal-body p,.switch-row,.note{color:#172f4b;font-size:14px;font-weight:600}.error-message{font-size:14px;font-weight:700}.loading{color:#233d59;font-size:16px;font-weight:700}table th{color:#0b2340;font-size:13px;font-weight:800}table td{color:#071c37;font-size:15px;font-weight:700}table td strong,table td span{color:#04162f}.close-btn{color:#102a46;font-size:20px}@media(max-width:900px){.app-shell .topbar{height:76px;padding:0 18px}.app-shell .page-content{padding-top:30px}.page-head h1{font-size:36px}.page-head p{font-size:16px}.bottom-grid{grid-template-columns:1fr}}@media(max-width:600px){.app-shell .page-content{padding:28px 18px 42px}.page-head{gap:18px}.page-head h1{font-size:34px;letter-spacing:-1.2px}.page-head p{font-size:15px;line-height:1.5}.primary-btn{min-height:46px}.metrics .metric{min-height:145px}.dashboard-grid .chart{height:255px}.modal-head h2{font-size:22px}.patients-panel th,.agenda-panel th,.recent th{font-size:12px}.patients-panel td,.agenda-panel td,.recent td{font-size:15px}}
