/* Eternizze component system. Presentation only; semantic status colors are retained. */
:root{--ez-ink:#30263b;--ez-muted:#76677f;--ez-line:#e6e1eb;--ez-surface:#fff;--ez-accent:#7b42bd;--ez-radius:9px;--ez-font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#app-screen main{font-family:var(--ez-font);font-size:12.5px;line-height:1.55;font-variant-numeric:tabular-nums}
#app-screen main .text-\[10px\]{font-size:11px;line-height:1.5}
#app-screen main .text-\[11px\]{font-size:11.5px;line-height:1.5}
#app-screen main .text-xs{font-size:12px;line-height:1.5}
#app-screen main .text-sm{font-size:13px;line-height:1.5}
#app-screen main .text-base{font-size:15px;line-height:1.45}
#app-screen main .font-black,#app-screen main .font-extrabold{font-weight:700}
#app-screen main .font-bold{font-weight:600}
#app-screen main h2{font-size:22px;line-height:1.25;font-weight:650;letter-spacing:-.55px}
#app-screen main h3{font-size:18px;line-height:1.35;font-weight:600;letter-spacing:-.35px}
#app-screen main h4{font-size:15px;line-height:1.4;font-weight:600;letter-spacing:-.1px}
#app-screen main p{line-height:1.6}
#app-screen main .border-purple-200{border-color:var(--ez-line)}
#app-screen main :is(button,.button){min-height:34px;border-radius:var(--ez-radius);font-size:12px;font-weight:600;line-height:1.35;box-shadow:none;letter-spacing:0;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
#app-screen main button:disabled{cursor:not-allowed}
#app-screen main :is(button,.button).bg-purple-700{background-color:var(--ez-accent)}
#app-screen main :is(button,.button).bg-purple-700:hover:not(:disabled){background-color:#6c36ab}
#app-screen main button:is(.w-7,.w-8){min-height:30px}
#app-screen main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-family:var(--ez-font);font-size:12px;font-weight:500;line-height:1.45;border-radius:var(--ez-radius);border-color:#ded7e6;min-height:36px;color:inherit;outline-offset:2px}
#app-screen main textarea{min-height:90px;resize:vertical}
#app-screen main :is(input:not([type=checkbox]):not([type=radio]),textarea)::placeholder{color:#a398ac;font-weight:400}
#app-screen main :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus-visible{outline:2px solid #a27bcf;outline-offset:2px;border-color:#a27bcf}
#app-screen main :is(input,select,textarea):disabled{cursor:not-allowed}
#app-screen main input:is([type=checkbox],[type=radio]){accent-color:var(--ez-accent);flex-shrink:0}
#app-screen main table{font-size:12px;line-height:1.5;border-collapse:separate;border-spacing:0}
#app-screen main table thead,#app-screen main table thead tr{background:#f4f1f8;color:#6f5a80}
#app-screen main table th{background:transparent;color:#6f5a80;font-size:10.5px;font-weight:650;letter-spacing:.45px;line-height:1.5;padding-top:11px;padding-bottom:11px;vertical-align:middle;border-bottom:1px solid #e6dfed}
#app-screen main table th.text-white,#app-screen main table thead .text-white{color:#6f5a80}
#app-screen main table td{font-size:12px;line-height:1.5;font-weight:450;padding-top:11px;padding-bottom:11px;vertical-align:middle}
#app-screen main table td .text-\[10px\]{font-size:11px}
#app-screen main table td:is(.font-bold,.font-black){font-weight:600}
#app-screen main table tbody tr:not([class*=bg-]):hover{background-color:#faf8fd}
#app-screen main table tbody tr:last-child td{border-bottom:0}
#app-screen main table :is(td,th).text-right{font-variant-numeric:tabular-nums}
#app-screen main table tfoot{font-weight:650}
#app-screen main [class*=rounded-2xl].bg-white,#app-screen main [class*=rounded-2xl].bg-white\/95{border-radius:13px}
#app-screen main .overflow-x-auto{scrollbar-width:thin;scrollbar-color:#cfc3dc transparent}
#app-screen main button:focus-visible,#app-screen main a:focus-visible{outline:2px solid #996ec5;outline-offset:3px}
#app-screen #content-dashboard h3.text-white{font-size:15px;letter-spacing:-.15px}
#app-screen #content-dashboard h3.text-white>span{font-size:11px}
#app-screen #content-dashboard h4.text-purple-300{font-size:10.5px;letter-spacing:1.2px}
#app-screen #content-dashboard [id^=card-]>span{font-size:10.5px;font-weight:600;letter-spacing:.5px;line-height:1.45}
#app-screen #content-dashboard [id^=card-]>div[id^=ind-]{font-size:clamp(22px,2vw,28px);font-weight:650;letter-spacing:-.8px;line-height:1.25;overflow-wrap:anywhere}
#app-screen #content-dashboard [id^=card-]>p{font-size:11px;line-height:1.5;font-weight:400}
#app-screen #content-dashboard [id^=card-]{padding:22px;min-height:151px}
#app-screen #content-dashboard [id^=card-]>.absolute{top:22px;right:18px;font-size:12px}
#app-screen #content-dashboard .workspace-intro h1{font-size:28px;letter-spacing:-.85px;font-weight:600}
#app-screen #content-dashboard .workspace-intro p{font-size:12px}
#app-screen #content-inteligencia>div:first-child h3,#app-screen #content-radar>div:first-child h3{font-size:18px}
#app-screen #content-inteligencia>div:first-child p,#app-screen #content-radar>div:first-child p{font-size:12px;line-height:1.55}
#app-screen :is(#content-inteligencia,#content-radar)>div:first-child>.mt-4{font-size:11px;line-height:1.55}
#app-screen #health-title{font-size:18px;font-weight:600}
#app-screen section[aria-labelledby=health-title]>p{font-size:11px}
#app-screen section[aria-labelledby=health-title] label{font-size:11px}
#app-screen #content-conceitos p{font-size:12px;line-height:1.7}
#app-screen #primary-navigation>button:not(.hidden),#app-screen #primary-navigation>a{font-size:12.5px;font-weight:500}
#app-screen #cadastros-submenu>button:not(.hidden){font-size:11.5px;min-height:34px}
#app-screen .workspace-breadcrumb{font-size:11.5px}#app-screen .sidebar-company-copy>#current-company-name{font-size:12px}#app-screen .sidebar-company-copy>#current-company-role{font-size:10px}
#app-screen .sidebar-user>#current-user-label{font-size:12px}.has-workspace #site-footer{font-size:11px;line-height:1.6}
/* Existing application dialogs stay wired to their original forms and handlers. */
body>div.fixed[id$="-modal"]{font-family:var(--ez-font);font-size:12.5px;line-height:1.5}
body>div.fixed[id$="-modal"]>div{border-color:#ded5e8;border-radius:14px;max-height:calc(100dvh - 32px);overflow-y:auto;box-shadow:0 22px 90px #1e11263d}
body>div.fixed[id$="-modal"] h3{font-size:18px;font-weight:650;letter-spacing:-.35px;line-height:1.3}
body>div.fixed[id$="-modal"] :is(label,p){font-size:12px;line-height:1.5}
body>div.fixed[id$="-modal"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-family:var(--ez-font);font-size:13px;font-weight:450;min-height:38px;border-color:#ddd3e7;border-radius:8px}
body>div.fixed[id$="-modal"] :is(input,select,textarea):focus-visible{outline:2px solid #a27bcf;outline-offset:2px}
body>div.fixed[id$="-modal"] button{min-height:36px;font-size:12px;font-weight:600;border-radius:8px;box-shadow:none}
body>div.fixed[id$="-modal"] :is(.font-black,.font-extrabold){font-weight:700}
@media(max-width:760px){#app-screen main{font-size:13px}#app-screen main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:42px}#app-screen main button{min-height:40px;font-size:12px}#app-screen main button:is(.w-7,.w-8){min-height:32px}#app-screen #content-dashboard [id^=card-]>div[id^=ind-]{font-size:26px}#app-screen #content-dashboard [id^=card-]>span{font-size:11px}#app-screen .workspace-breadcrumb{font-size:11px}body>div.fixed[id$="-modal"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:44px}body>div.fixed[id$="-modal"] button{min-height:42px}}
@media(prefers-reduced-motion:reduce){#app-screen main :is(button,.button){transition:none}}
/* Improve secondary-text contrast without replacing financial status colors. */
#app-screen main :is(.text-gray-400,.text-slate-400){color:#786a83}
#app-screen #content-dashboard [id^=card-]>p{color:#75677e}
/* Workspace refinement: contrast, action hierarchy and useful screen density. */
#app-screen{--ez-muted:#665d73;--ez-line:#e3e1e9}
#app-screen main{font-size:13px}
#app-screen .workspace-intro{margin-bottom:20px!important}
#app-screen .workspace-intro h1{font-size:27px!important;color:#252130;letter-spacing:-.8px}
#app-screen .workspace-intro p{color:#665d73;font-size:13px;margin-top:6px}
#app-screen .workspace-eyebrow{color:#6b577f;font-size:10px;letter-spacing:1.5px;margin-bottom:7px}
#app-screen .workspace-breadcrumb{color:#70667b;font-size:12px}
#app-screen .topbar-caption{color:#71687c;font-size:11px}
#app-screen .sidebar-section-label{color:#a49bae;font-size:9px}
#app-screen #primary-navigation>button:not(.hidden),#app-screen #primary-navigation>a{font-size:13px;color:#cec7d9;min-height:43px}
#app-screen #primary-navigation>button i,#app-screen #primary-navigation>a i{color:#aaa0ba}
#app-screen #primary-navigation>[aria-current=page]{color:#fff!important}
#app-screen #cadastros-submenu>button:not(.hidden){font-size:12px;color:#bfb3ce}
#app-screen .sidebar-company-copy>#current-company-role{color:#aca0bb;font-size:10.5px}
#app-screen .sidebar-brand{margin-bottom:29px}
#app-screen .sidebar-bottom{border-top-color:#3a3047}
#app-screen .dashboard-filters{padding:13px 16px!important;margin-bottom:23px!important;gap:12px!important;box-shadow:none!important}
#app-screen .dashboard-filters h3{font-size:13px!important;color:#382f45!important}
#app-screen .dashboard-filters p{font-size:11px!important;color:#70657e!important}
#app-screen .dashboard-filters input{color:#43374e!important}
#app-screen .dashboard-filters button{font-size:12px!important;font-weight:600!important}
#app-screen .dashboard-filters>div:last-child>div{padding:4px 9px;min-height:36px;background:#fff!important;border-color:#dcd6e5!important}
#app-screen .dashboard-filters input{min-height:26px!important;font-size:12px}
#app-screen .dashboard-filters button[data-e-click=h11]{background:#fff!important;color:#65369b!important;border:1px solid #d8c8e9;box-shadow:none!important}
#app-screen .dashboard-filters button[data-e-click=h11]:hover{background:#f5effb!important;border-color:#aa88cc}
#app-screen .dashboard-filters button[data-e-click=h10]{background:#fff!important;border-color:transparent!important;color:#665b74}
#app-screen .dashboard-filters button[data-e-click=h10]:hover{background:#f5f2f9!important}
#app-screen #content-dashboard h3.text-white{font-size:16px!important;color:#352d40}
#app-screen #content-dashboard h3.text-white>span{color:#70657b;font-size:11px;font-weight:400}
#app-screen #content-dashboard h4.text-purple-300{font-size:11px!important;letter-spacing:1.1px;color:#6d5d7d;gap:2px}
#app-screen #content-dashboard h4.text-purple-300::after{content:'';flex:1;height:1px;margin-left:12px;background:#e1dce8}
#app-screen #content-dashboard [id^=group-cat-]{padding-top:0;margin-top:23px}
#app-screen #content-dashboard [id^=card-]{min-height:139px;padding:20px;border-color:#e1dce8;border-radius:11px;background:#fff!important;box-shadow:0 1px 3px #2d1c4205;transition:border-color .15s,box-shadow .15s}
#app-screen #content-dashboard [id^=card-]:hover{border-color:#ac8fce;box-shadow:0 4px 15px #62417d12;transform:none!important}
#app-screen #content-dashboard [id^=card-]>span{display:block;max-width:calc(100% - 26px);font-size:11px;letter-spacing:.35px;color:#62556f;line-height:1.5}
#app-screen #content-dashboard [id^=card-]>div[id^=ind-]{font-size:clamp(25px,2.1vw,31px);line-height:1.25;letter-spacing:-.85px;margin-top:12px}
#app-screen #content-dashboard [id^=card-]>p{font-size:11.5px;color:#6c6079!important;margin-top:7px}
#app-screen #content-dashboard [id^=card-]>.absolute{top:18px;right:17px;display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#f4effa;color:#8a68ad}
#app-screen #content-dashboard #card-caixa_acumulado{border-top:3px solid #8051b6}
#app-screen #content-dashboard #card-recebimentos_caixa{border-top:3px solid #059669}
#app-screen #content-dashboard #card-pagamentos_caixa{border-top:3px solid #e44b72}
#app-screen main table th{font-size:11px;letter-spacing:.3px;color:#655273;padding-top:12px;padding-bottom:12px}
#app-screen main table td{font-size:12.5px;padding-top:12px;padding-bottom:12px}
#app-screen #content-cadastros>.bg-white\/95>div:first-child p{color:#6f637c}
#app-screen #content-inteligencia>div:first-child p,#app-screen #content-radar>div:first-child p{color:#685d75;font-size:12.5px}
#app-screen section[aria-labelledby=health-title]>p{font-size:12px;color:#655b70}
@media(min-width:1150px){#app-screen .dashboard-filters{flex-wrap:nowrap!important}#app-screen .dashboard-filters>div:first-child{flex:0 0 178px}#app-screen .dashboard-filters>div:last-child{flex:1;justify-content:flex-end;gap:8px;flex-wrap:nowrap}#app-screen .dashboard-filters input{width:105px}#app-screen .dashboard-filters button{white-space:nowrap;padding-left:11px;padding-right:11px}}
@media(max-width:760px){#app-screen .workspace-intro h1{font-size:25px!important}#app-screen .workspace-intro p{font-size:12.5px}#app-screen .dashboard-filters{align-items:stretch}#app-screen .dashboard-filters input{min-height:34px!important;font-size:16px!important}#app-screen .dashboard-filters>div:last-child>div{min-height:44px}#app-screen #content-dashboard h3.text-white{font-size:15px!important}#app-screen #content-dashboard [id^=card-]{min-height:143px}#app-screen #content-dashboard [id^=card-]>div[id^=ind-]{font-size:28px}}
@media(prefers-reduced-motion:reduce){#app-screen #content-dashboard [id^=card-]{transition:none}}
@media(min-width:761px){#app-screen #content-dashboard [id^=card-]>span{min-height:33px}#app-screen #content-dashboard [id^=card-]>div[id^=ind-]{margin-top:6px}}

.client-history-dialog{width:min(1080px,96vw);max-height:90vh;padding:24px;border:1px solid #e6dff1;border-radius:16px;color:#262035}.client-history-dialog::backdrop{background:#15102066}.client-history-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.client-history-dialog button{border:1px solid #e6dff1;background:#faf8ff;border-radius:8px;padding:8px 14px;cursor:pointer}.client-history-scroll{overflow:auto}.client-history-dialog table{width:100%;border-collapse:collapse;font-size:13px}.client-history-dialog td,.client-history-dialog th{text-align:left;padding:10px;border-bottom:1px solid #eee8f5}.client-history-dialog th{background:#f5f1fb}.client-history-dialog h3{margin-top:24px}.client-history-dialog span{margin:0 10px}
