/* Proposta visual reversível — referência de cartões suaves, identidade Sistuno. */
body{background:#dfe4ed;font-size:13px;line-height:1.6}
.shell{margin:18px 18px 18px 246px;min-height:calc(100vh - 36px);background:radial-gradient(ellipse at 100% 0%,#e0eaff 0%,transparent 54%),linear-gradient(135deg,#f2f3f6,#faf8f5 65%);border:1px solid #ffffffa6;border-radius:32px;overflow:hidden;box-shadow:0 18px 60px #0c142b0c}
.sidebar{inset:18px auto 18px 18px;width:214px;border:1px solid #ffffffa6;border-radius:28px;background:#f8f9fbd9;padding:24px 12px;box-shadow:0 12px 32px #0c142b06}
.brand{padding:4px 12px 22px}.brand img{width:158px}.brand span{font-size:12px;letter-spacing:.08em;margin-left:48px}.workspace{background:#fff9;margin:0 0 22px;padding:12px 10px;border:1px solid #e3e7ef;border-radius:18px}.nav-label{font-size:9px}.sidebar-bottom p{font-size:13px}.sidebar .nav-group-toggle{font-size:10px;letter-spacing:.025em;padding:9px 12px}.nav-group{margin-bottom:10px}nav button{border-radius:999px;font-size:12px;padding:10px 12px;margin-bottom:4px;gap:9px}nav img{width:18px;height:18px}nav button.active{background:var(--sistuno-navy);color:#fff}nav button.active img{filter:brightness(0) invert(1)}
.topbar{background:transparent;border:0;height:82px;padding:0 30px;gap:18px}.breadcrumb{font-size:11px}.top-actions{gap:10px}.unit{font-size:11px}.avatar{background:#fff;border:1px solid #d9e2f3}.user strong{font-size:11px}.top-actions #design-toggle{font-size:10px;padding:7px 12px;min-height:34px;background:#ffffffa6;border-radius:999px;white-space:nowrap}
main{padding:18px 30px 34px;min-height:calc(100vh - 180px)}h1,h2,h3{font-family:Inter,Arial,sans-serif;letter-spacing:-.045em;font-weight:500}h1{font-size:clamp(26px,2.5vw,38px);line-height:1.2;margin-bottom:10px}h2{font-size:18px}h3{font-size:15px}.date-line{font-size:11px;margin-bottom:12px}.page-heading{margin-bottom:26px}.page-heading p{font-size:12px}
button{border-radius:999px;font-weight:500;font-size:12px;padding:10px 17px}.primary{background:var(--sistuno-action);border-color:var(--sistuno-action)}.primary:hover{background:var(--sistuno-action-hover)}input,select,textarea{border-color:#dbe0e9;border-radius:13px;background:#ffffffb3;font-size:12px}.field{gap:8px}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #0066ff30;border-color:#0066ff}.form-grid{gap:20px}
.card{border:1px solid #ffffffb3;border-radius:26px;background:#ffffffbd;box-shadow:0 5px 24px #0c142b03;margin-bottom:20px}.card-header{border-bottom-color:#e3e7ef80;padding:22px 24px}.card-header h2{font-size:16px}.card-header p{font-size:11px}.card-content{padding:26px}.stats{gap:14px;margin-bottom:22px}.stat{border:1px solid #ffffffb3;border-radius:24px;background:#ffffffad;padding:22px;box-shadow:none}.stat strong{font-family:Inter,Arial,sans-serif;font-size:clamp(30px,3vw,44px);font-weight:400;letter-spacing:-.065em;margin-top:14px;line-height:1.2}.stat span,.stat-label{font-size:11px;color:#5e687c}.stat small{font-size:10px}.stat:nth-child(2){background:#e7efffb3}.stat:nth-child(4){background:#0c142b;color:#fff}.stat:nth-child(4) span,.stat:nth-child(4) small,.stat:nth-child(4) .stat-label{color:#d4ddf0}.stat:nth-child(4) img{filter:brightness(0) invert(1)}
.hero{background:transparent;color:var(--sistuno-navy);border:1px solid #d9e2f3;border-radius:26px;padding:24px 28px;margin-bottom:22px}.hero h2{font-size:24px;font-weight:400}.hero p{color:#647084}.hero img{width:60px;height:60px;transform:none;opacity:.85}.grid{gap:20px;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr)}.right-column>.card:last-child{background:var(--sistuno-navy);color:#fff}.right-column>.card:last-child p,.right-column>.card:last-child .note{color:#d4ddf0}.right-column>.card:last-child .note{background:#ffffff0a}.right-column>.card:last-child .card-header{border-color:#ffffff1a}.right-column>.card:last-child .badge{background:#ffffff18;color:#dbe8ff}
.toolbar{padding:20px 24px;gap:12px;border-bottom-color:#e3e7ef80}.note{background:#ffffff50;padding:18px 24px;font-size:11px}.section-note{background:#e8efffb3;color:#244775;border:1px solid #d8e4fc;border-radius:18px;padding:18px 22px}.section-note p:last-child{margin-bottom:0}.badge{border-radius:999px;padding:5px 10px}.team-row{padding:18px 24px}.person-avatar{border-radius:50%;background:#e5edff}.quick-actions button{border-radius:18px;background:#ffffff70;border-color:#dfe5ef}.chart-bar{border-radius:999px 999px 0 0;max-width:22px}.chart{gap:18px}.agenda-shortcuts,.workflow-nav{gap:9px}.agenda-shortcuts button,.workflow-nav button{background:#ffffffb3}.agenda-shortcuts .primary,.workflow-nav .active{background:var(--sistuno-navy);color:#fff;border-color:var(--sistuno-navy)}
th{background:#f9fafb80;font-size:9px;padding:14px 22px}td{border-top-color:#e3e7ef80;padding:17px 22px}.table-wrap{scrollbar-width:thin}.commission-person,.roadmap{border-color:#e3e7ef80}.commission-person p,.roadmap p{font-size:11px}.week-day{border-radius:20px;background:#ffffffb3}.week-appointment,.timeline-appointment{border-radius:16px}.detail-summary{border-radius:18px}.report-export{border-radius:999px;background:var(--sistuno-action)}dialog{border-radius:28px;background:#fafbfdfc;box-shadow:0 25px 90px #0c142b35}footer{border-top-color:#dce2ec;font-size:10px;padding:18px 30px}
@media(max-width:1100px){.shell{margin-left:220px}.sidebar{width:190px}.brand img{width:143px}.topbar{padding:0 22px}.unit{display:none}main{padding-left:22px;padding-right:22px}.grid{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body{background:#e7ebf2}.shell{margin:8px;min-height:calc(100dvh - 16px);border-radius:24px}.sidebar{inset:78px auto 8px 8px;height:calc(100dvh - 86px);width:254px;border-radius:22px;z-index:8;background:#f8f9fb}.topbar{height:70px;padding:0 16px;background:#f5f7fbf5;border-bottom:1px solid #e3e7ef;gap:8px}.top-actions{gap:6px}.top-actions .user{display:none}.top-actions #design-toggle{padding:6px 9px;font-size:9px}.avatar{width:30px;height:30px}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 5px}.mobile-menu{border-radius:50%;width:38px;min-height:38px;padding:0;flex-shrink:0}main{padding:24px 16px 28px}.page-heading{align-items:start;gap:14px}h1{font-size:27px}.card,.stat{border-radius:22px}.card-content,.public-settings{padding:20px}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:30px}.hero{padding:22px}.hero h2{font-size:21px}.hero img{width:42px;height:42px;margin:0}.right-column{display:block}.card-header,.toolbar{padding:20px}.menu-backdrop{inset:78px 8px 8px;height:calc(100dvh - 86px);width:calc(100% - 16px);border-radius:0 0 24px 24px}.service-grid{grid-template-columns:1fr}.card-content>form{gap:18px}footer{padding:16px}.topbar{border-radius:24px 24px 0 0}.sidebar .brand img{width:145px}.sidebar .workspace{background:#fff}.section-note{padding:16px 18px}}
@media print{.shell{margin:0;border:0;box-shadow:none}.sidebar,.topbar,#design-toggle{display:none}}
/* Revisão colorida solicitada: superfícies brancas sobre o azul Sistuno. */
body{font-size:15px;background:#e2e6ee}
.shell{background:var(--sistuno-navy);border-color:#22304c;color:#fff}
.sidebar{background:linear-gradient(155deg,#ffc400 0%,#ffad21 48%,#ff6524 100%);border-color:#ffc400;color:var(--sistuno-navy)}
.sidebar .workspace{background:#fff;border-color:#fff}.sidebar .nav-label,.sidebar .nav-group-toggle,.sidebar-bottom small,.sidebar .demo-label{color:#17223a}.sidebar-bottom p{color:#0c142b}.sidebar .nav-group-toggle{background:#fff;color:#101828}.sidebar nav button{background:#fff;color:#101828}.sidebar nav button.active{background:var(--sistuno-blue);color:#fff}.sidebar nav button:not(.active):hover{background:#fff7dc}.sidebar .nav-group-toggle{font-size:11.5px}.sidebar nav button{font-size:14px}.sidebar .workspace strong{font-size:13.8px}.sidebar .workspace small{font-size:12.6px}
.topbar{color:#fff}.breadcrumb,.breadcrumb strong,.user small{color:#e1e8f5}.breadcrumb span{color:#a8b6d0}.unit{color:#e1e8f5;border-color:#ffffff30}.user strong{color:#fff}.top-actions #design-toggle{background:#fff;color:#0c142b;border-color:#fff}.avatar{color:var(--sistuno-blue)}
h1{font-size:clamp(30px,2.9vw,44px)}h2{font-size:21px}h3{font-size:17px}.page-heading p,.date-line{color:#d4deef}.page-heading p{font-size:14px}.date-line{font-size:12.6px}.card,.stat{background:#fff;color:#101828;border-color:#fff}.card-header h2{font-size:18.4px}.card-header p{font-size:12.6px;color:#596579}.card-content{color:#101828}.card p,.card .form-help,.card .note{color:#596579}.card-content>h2{color:#101828}.stat:nth-child(2),.stat:nth-child(4){background:#fff;color:#101828}.stat:nth-child(4) span,.stat:nth-child(4) small,.stat:nth-child(4) .stat-label{color:#596579}.stat:nth-child(4) img{filter:none}.stat span,.stat-label{font-size:12.6px;color:#596579}.stat small{font-size:11.5px;color:#596579}.stat strong{font-size:clamp(35px,3.45vw,51px)}
.stat{position:relative;overflow:hidden}.stat:before{content:'';display:block;position:absolute;top:0;left:24px;right:24px;height:5px;border-radius:0 0 8px 8px;background:var(--sistuno-blue)}.stat:nth-child(2):before{background:var(--sistuno-yellow)}.stat:nth-child(3):before{background:var(--sistuno-green)}.stat:nth-child(4):before{background:var(--sistuno-orange)}
.hero{background:linear-gradient(115deg,#fffaf0,#fff);color:#101828;border:1px solid #fff;box-shadow:inset 5px 0 0 var(--sistuno-yellow)}.hero h2{font-size:27.6px}.hero p{font-size:15px;color:#596579}.hero .eyebrow{color:#596579}.right-column>.card:last-child{background:#fff;color:#101828}.right-column>.card:last-child p,.right-column>.card:last-child .note{color:#596579}.right-column>.card:last-child .note{background:#f5fbf7}.right-column>.card:last-child .card-header{border-color:#e3e7ef}.right-column>.card:last-child .badge{background:#fff2ca;color:#704600}
button{font-size:14px}input,select,textarea{font-size:14px;color:#101828;background:#fff}.field{font-size:13.8px}.form-help{font-size:12.6px}.form-error{font-size:13.8px}.section-note{background:#fff7dd;border-color:#ffe099;color:#644400;font-size:13.8px}.section-note p{color:inherit}.note{background:#f6faf8;font-size:12.6px;color:#596579}.badge{font-size:11.5px}.card-header{border-bottom-color:#e5e9f0}.card .toolbar{background:#fff}.card .checklist{background:#fff}.checkmark{color:#067647}.team-row strong,.team-number{font-size:13.8px}.team-info small{font-size:12.6px}.person-avatar{background:#e5faef;color:#067647}.person-avatar.violet{background:#fff1cb;color:#704600}.person-avatar.green{background:#e5faef;color:#067647}.quick-actions button{background:#fff;border-color:#e3e7ef;font-size:15px}.quick-actions button:hover{background:#fff7dd;border-color:#ffd365}.quick-actions button:nth-child(3n){border-bottom:3px solid #b6eccf}.quick-actions button:nth-child(3n+1){border-bottom:3px solid #ffd765}.quick-actions button:nth-child(3n+2){border-bottom:3px solid #ffb28f}
.agenda-shortcuts button,.workflow-nav button{background:#fff;color:#101828}.agenda-shortcuts .primary,.workflow-nav .active{background:var(--sistuno-blue);border-color:var(--sistuno-blue);color:#fff}.workflow-nav button{font-size:13.8px}.chart-bar{background:var(--sistuno-green)}.chart-column:nth-child(3n) .chart-bar{background:var(--sistuno-orange)}.chart-column:nth-child(3n+1) .chart-bar{background:var(--sistuno-blue)}.chart-caption{font-size:12.6px}.chart-column span{font-size:11.5px}.chart-plot .negative{background:#b42318}
.week-day{background:#fff;color:#101828}.week-appointment,.timeline-appointment{background:#eef9f3;border-color:#bde8cf;color:#101828}.timeline-hour{color:#596579}.timeline-slot.drop-active{background:#fff3ca}.week-day h3{color:#101828}.service-card{background:#fff;color:#101828}.service-card strong.price{font-size:32px}.commission-person p,.roadmap p{font-size:12.6px}.commission-person small{color:#596579}.roadmap .badge.complete{background:#e5faef;color:#067647}th{font-size:10.4px;background:#f7f9fc;color:#596579}td{font-size:13.8px;color:#101828}td small{font-size:12.6px;color:#596579}.empty{color:#596579}.card-content .roadmap{color:#101828}.receipt{background:#fff;color:#101828}.report-filter{background:#fff}.detail-summary{background:#fff7dd;color:#101828}.haircut-history{background:#eef9f3;color:#101828}dialog{color:#101828}.message-preview{background:#f6faf8;color:#101828}footer{color:#c2cee3;border-color:#ffffff1a}
@media(max-width:760px){.topbar{background:#0c142b;border-color:#ffffff20}.topbar .mobile-menu{background:#fff;color:#0c142b}.sidebar{background:linear-gradient(155deg,#ffc400,#ff6524)}h1{font-size:31px}.hero h2{font-size:24px}.stat strong{font-size:34px}.page-heading p{font-size:14px}.quick-actions button{font-size:14px}.sidebar nav button{font-size:14px}.card-content>form{gap:20px}.breadcrumb{color:#e1e8f5}.breadcrumb strong{color:#fff}}
main>.form-help,main>.heading-actions,main>.muted{color:#d4deef}.card .form-help,.card .muted{color:#596579}.card .amount-in{color:#067647}.card .amount-out{color:#b42318}.card .form-error{color:#b42318}.card .badge.warn{color:#93370d}.card .badge.complete{color:#067647}.card .badge.cancel{color:#b42318}
/* Revisão 3: lateral escura, navegação quente e indicadores preenchidos. */
.sidebar{background:var(--sistuno-navy);border-color:#22304c;color:#fff}.sidebar .nav-label,.sidebar .demo-label,.sidebar-bottom p,.sidebar-bottom small{color:#e1e8f5}.sidebar .brand span{color:#fff}.sidebar .brand{background:#fff;border-radius:20px;padding:16px 12px;margin-bottom:18px}.sidebar .brand span{color:#0c142b}.sidebar .workspace{color:#101828}.sidebar .nav-group-toggle,.sidebar nav button{background:linear-gradient(115deg,#ffc400,#ff9b2e);color:#0c142b;border:1px solid #ffbf48}.sidebar nav button:not(.active):hover{background:linear-gradient(115deg,#ffd449,#ffb45e)}.sidebar nav button.active{background:var(--sistuno-blue);color:#fff;border-color:var(--sistuno-blue)}.sidebar nav button:not(.active) img{filter:none}.sidebar .nav-group-toggle{color:#0c142b}.sidebar nav{scrollbar-color:#ff8b32 #0c142b;scrollbar-width:thin}.sidebar nav::-webkit-scrollbar{width:9px}.sidebar nav::-webkit-scrollbar-track{background:transparent}.sidebar nav::-webkit-scrollbar-thumb{background:#ff8b32;border-radius:999px;border:2px solid #0c142b}.sidebar nav::-webkit-scrollbar-button:single-button{display:block;height:12px;background-color:transparent;background-position:center;background-repeat:no-repeat;background-size:8px}.sidebar nav::-webkit-scrollbar-button:single-button:vertical:decrement{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 5L5 1L9 5' fill='none' stroke='%23ff8b32' stroke-width='2'/%3E%3C/svg%3E")}.sidebar nav::-webkit-scrollbar-button:single-button:vertical:increment{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' fill='none' stroke='%23ff8b32' stroke-width='2'/%3E%3C/svg%3E")}
.stat,.stat:nth-child(2),.stat:nth-child(3),.stat:nth-child(4){color:#fff;border-color:transparent}.stat{background:#0052cc}.stat:nth-child(2){background:#936000}.stat:nth-child(3){background:#087644}.stat:nth-child(4){background:#b42318}.stat:before{display:none}.stat span,.stat small,.stat .stat-label,.stat:nth-child(4) span,.stat:nth-child(4) small,.stat:nth-child(4) .stat-label{color:#fff}.stat strong{color:#fff}.stat img,.stat:nth-child(4) img{filter:brightness(0) invert(1)}.stat:nth-child(2){background:linear-gradient(115deg,#875700,#a14b00)}
@media(max-width:760px){.sidebar{background:var(--sistuno-navy)}}
@supports selector(::-webkit-scrollbar){.sidebar nav{scrollbar-color:auto;scrollbar-width:auto}}
/* Logo oficial colorida com escrita branca, diretamente sobre o azul. */
.sidebar .brand{background:transparent;border-radius:0}.sidebar .brand img{content:url('/assets/logo-negative.svg')}.sidebar .brand span{color:#fff}
/* Grupos do menu distintos das páginas. */
.sidebar .nav-group-toggle{text-transform:uppercase;letter-spacing:.04em;background:linear-gradient(115deg,#ffc400,#ff9b2e);color:#0c142b;border-color:#ffbf48;font-weight:600}.sidebar nav button[data-page]{background:#fff;color:#0c142b;border-color:#fff}.sidebar nav button[data-page]:not(.active):hover{background:#f0f5ff}.sidebar nav button[data-page].active{background:var(--sistuno-blue);color:#fff;border-color:var(--sistuno-blue)}
/* Respiro entre itens e etiquetas, rolagem lateral branca. */
.sidebar nav button{margin-bottom:8px}.sidebar .nav-group{margin-bottom:16px}.sidebar .nav-group-toggle{line-height:1.5;padding-top:12px;padding-bottom:12px}.sidebar nav{scrollbar-color:#fff transparent}.sidebar nav::-webkit-scrollbar-thumb{background:#fff}.sidebar nav::-webkit-scrollbar-button:single-button:vertical:decrement{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 5L5 1L9 5' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E")}.sidebar nav::-webkit-scrollbar-button:single-button:vertical:increment{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E")}
.badge{padding:8px 13px;line-height:1.5;font-size:12px;letter-spacing:0;white-space:normal;flex-shrink:0;max-width:100%;border-radius:12px;text-align:center;align-items:center;justify-content:center;min-height:34px}.card-header>.badge{white-space:nowrap;align-self:center}.card-header>div{min-width:0;flex:1}.card-header{flex-wrap:wrap;row-gap:14px}.roadmap>.badge{min-width:90px}.week-appointment .badge,.timeline-appointment .badge{padding:6px 10px;min-height:30px}.card-header>.badge{max-width:100%}@media(max-width:760px){.card-header>.badge{white-space:normal}.sidebar nav button{margin-bottom:9px}.badge{padding:8px 12px}}
@supports selector(::-webkit-scrollbar){.sidebar nav{scrollbar-color:auto}}
/* Painel orientado à operação e ações principais consistentes. */
.stat.stat-pending,.stat:nth-child(4){background:linear-gradient(115deg,#875700,#a14b00)}.stat.stat-alert{background:#b42318}.dashboard-brand{padding:14px 22px;margin-bottom:0}.dashboard-brand h2{font-size:18px}.dashboard-brand img{width:36px;height:36px}.dashboard-brand .eyebrow{font-size:9px}.page-heading>.heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.page-heading .primary{order:10;min-height:44px;white-space:normal}.page-heading>.primary{flex-shrink:0}.card .toolbar,.card .table-wrap{background:#fff}.card .section-note{background:#f4f7fb;border-color:#e3e7ef;color:#244775}.dashboard-shortcuts .quick-actions button{border-bottom:1px solid #e3e7ef}.dashboard-shortcuts .quick-actions button:hover{border-color:#0066ff;background:#f0f5ff}.card .primary{background:var(--sistuno-action);color:#fff}@media(max-width:760px){.page-heading>.heading-actions{justify-content:flex-start;width:100%}.page-heading>.heading-actions .primary{width:100%}.dashboard-brand h2{font-size:18px}}
/* Indicadores com degradês vivos da identidade Sistuno. */
.stat{background:var(--sistuno-gradient-blue)}.stat:nth-child(2),.stat.stat-pending,.stat:nth-child(4){background:var(--sistuno-gradient-warm);color:#0c142b}.stat:nth-child(3){background:linear-gradient(115deg,#087644,#005c57)}.stat.stat-alert{background:linear-gradient(115deg,#b42318,#8f183d)}.stat:nth-child(2) span,.stat:nth-child(2) small,.stat:nth-child(2) strong,.stat:nth-child(2) .stat-label,.stat.stat-pending span,.stat.stat-pending small,.stat.stat-pending strong,.stat.stat-pending .stat-label,.stat:nth-child(4) span,.stat:nth-child(4) small,.stat:nth-child(4) strong,.stat:nth-child(4) .stat-label{color:#0c142b}.stat:nth-child(2) img,.stat.stat-pending img,.stat:nth-child(4) img{filter:none}.stat.stat-alert span,.stat.stat-alert small,.stat.stat-alert strong,.stat.stat-alert .stat-label{color:#fff}.stat.stat-alert img{filter:brightness(0) invert(1)}
.stat:nth-child(3){background:var(--sistuno-gradient-fresh);color:#0c142b}.stat:nth-child(3) span,.stat:nth-child(3) small,.stat:nth-child(3) strong,.stat:nth-child(3) .stat-label{color:#0c142b}.stat:nth-child(3) img{filter:none}.stat:nth-child(3).stat-alert{background:linear-gradient(115deg,#b42318,#8f183d);color:#fff}.stat:nth-child(3).stat-alert span,.stat:nth-child(3).stat-alert small,.stat:nth-child(3).stat-alert strong,.stat:nth-child(3).stat-alert .stat-label{color:#fff}
/* Textos brancos e títulos mais legíveis nos indicadores coloridos. */
.stats .stat,.stats .stat span,.stats .stat small,.stats .stat strong,.stats .stat .stat-label{color:#fff}
.stats .stat span,.stats .stat .stat-label{font-size:14.5px;font-weight:600;line-height:1.45}
.stats .stat img{filter:brightness(0) invert(1)}
.stats .stat span,.stats .stat small,.stats .stat strong{text-shadow:0 1px 2px #0c142b55}
/* Acabamento consistente, contraste e uso em telas pequenas. */
.stats .stat{background-blend-mode:multiply;background-image:linear-gradient(#0c142b66,#0c142b66),var(--sistuno-gradient-blue)}
.stats .stat:nth-child(2),.stats .stat.stat-pending,.stats .stat:nth-child(4){background-image:linear-gradient(#0c142b88,#0c142b88),var(--sistuno-gradient-warm)}
.stats .stat:nth-child(3){background-image:linear-gradient(#0c142b88,#0c142b88),var(--sistuno-gradient-fresh)}
.stats .stat.stat-alert{background-image:linear-gradient(115deg,#b42318,#8f183d)}
.card-header h2{line-height:1.4;letter-spacing:-.025em;font-weight:600}.field{min-width:0}.field label{line-height:1.5}.field input,.field select,.field textarea{width:100%;max-width:100%;min-height:44px}.card button,.toolbar button{min-height:44px}.stat-label{gap:12px;align-items:flex-start}.stat-label img{flex-shrink:0}.table-wrap{max-width:100%;overscroll-behavior-x:contain}.card,.reports-grid>*{min-width:0}dialog{max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}.form-help{line-height:1.6}.dialog-actions{gap:12px;flex-wrap:wrap}
@media(max-width:760px){input,select,textarea,.field input,.field select,.field textarea{font-size:16px}.report-filter{padding:20px;gap:12px}.report-filter button{flex:1}.toolbar input,.toolbar select{flex:1 1 150px;max-width:100%;width:100%}.card-header{gap:14px}.card-header h2{font-size:18px}.card-header select{width:100%;max-width:100%}.workflow-nav{gap:10px}.agenda-shortcuts button{flex:1 1 140px}.timeline-appointment{padding:14px;overflow-wrap:anywhere}.timeline-appointment button{min-height:44px}.payment-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.stat{padding:18px}.stats .stat-label{font-size:14px}.stats .stat strong{font-size:30px;letter-spacing:-.04em}th,td{padding:14px 16px}.dialog-actions button{flex:1 1 130px}.empty{padding:28px 20px}.roadmap{gap:14px;flex-wrap:wrap}.roadmap>div{min-width:160px}}
/* Degradês amarelo e verde mais claros, mantendo os textos brancos. */
.stats .stat:nth-child(2),.stats .stat.stat-pending,.stats .stat:nth-child(4){background-blend-mode:normal;background-image:linear-gradient(#0c142b26,#0c142b26),var(--sistuno-gradient-warm)}
.stats .stat:nth-child(3){background-blend-mode:normal;background-image:linear-gradient(#0c142b26,#0c142b26),var(--sistuno-gradient-fresh)}
.stats .stat.stat-alert{background-image:linear-gradient(115deg,#b42318,#8f183d)}
