/* IEAD V9 — topbar estável, navegação e componentes Stellix/XBS */
.main>.topbar{position:sticky;top:0;z-index:22;box-shadow:0 1px 4px #1724440c}
.sidebar{position:sticky;top:0;height:100dvh;overflow:hidden}
.sidebar #nav{overflow-y:auto;overflow-x:hidden;scrollbar-width:none}
.sidebar #nav::-webkit-scrollbar{display:none}
#content,.main{overflow-x:hidden}
#content .heading{max-width:100%;align-items:center}
#content .toolbar{justify-content:flex-end}
#content .toolbar select,#content .toolbar input{min-width:100px}
#content .table-wrap{overflow-x:auto;max-width:100%}
#content .panel{overflow:visible}
#content button[data-delete],#content button[data-remove]{color:#b42342;border-color:#f1d5de}
#content button[data-delete]:hover,#content button[data-remove]:hover{background:#fff1f3}
.dashboard-trend{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:7px;min-height:165px;border-bottom:1px solid var(--line);padding:12px 2px 0}
.dashboard-month{min-width:0;text-align:center;display:flex;flex-direction:column;justify-content:end;gap:5px;height:100%}
.dashboard-bars{display:flex;align-items:end;justify-content:center;gap:3px;flex:1;min-height:120px}
.dashboard-bars i{width:43%;min-height:2px;border-radius:4px 4px 0 0;display:block}
.dashboard-bars .income{background:#16aeaa}.dashboard-bars .expense{background:#6c50e9}
.dashboard-month small{font-size:10px;color:var(--muted)}
.kpi-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 18px}
.kpi-detail-grid>div{padding:14px;border:1px solid var(--line);background:var(--panel);border-radius:12px}
.kpi-detail-grid small{color:var(--muted);display:block}.kpi-detail-grid strong{display:block;font-size:22px;margin-top:5px}
.badge-info{display:inline-flex;border-radius:12px;padding:3px 9px;background:#eeebff;color:#5d45d8;font-size:11px;font-weight:700}
@media(max-width:900px){.kpi-detail-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.dashboard-trend{gap:3px}.dashboard-month small{font-size:8px}}

.iead-record-filters{justify-content:flex-start!important;margin-bottom:12px}.iead-record-filters input{flex:1;min-width:170px;max-width:480px;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:9px 12px;color:var(--ink)}.table-wrap tr[hidden]{display:none!important}

.profile-head{display:flex;gap:8px;align-items:center;min-width:0}.profile-text{display:flex;flex-direction:column;max-width:185px}.profile-text b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.profile-text small{color:var(--muted);font-size:10px}.topbar{min-width:0}.topbar .topactions{gap:10px}.topbar .top-search{min-width:130px}@media(max-width:1150px){.profile-text{display:none}}
