/* CoreFix UI V2.3 - phone readability polish */
body.ui-polish-v3{background:#f4f7f7;font-feature-settings:"tnum" 1,"cv02" 1,"cv03" 1}
body.ui-polish-v3 .work{background:linear-gradient(180deg,#f7f9fa 0,#f4f7f7 38%,#f4f7f7 100%)}
body.ui-polish-v3 .topbar{border-bottom-color:#dde6e5;box-shadow:0 1px 0 rgba(13,45,45,.035)}
body.ui-polish-v3 .sidebar{box-shadow:10px 0 28px rgba(5,35,36,.08)}
body.ui-polish-v3 .sidebar nav a{font-weight:580}
body.ui-polish-v3 .main{max-width:1720px}
body.ui-polish-v3 .main>div[data-route]:not(.dashboard-view)>.pagehead-v3{padding:1.05rem 1.15rem;border:1px solid #e1e8e8;border-radius:16px;background:linear-gradient(135deg,#ffffff 0%,#fbfdfd 72%,#f2f8f6 100%);box-shadow:0 10px 28px rgba(17,47,47,.045)}
body.ui-polish-v3 .pagehead-v3 .page-eyebrow{color:#6a8883}
body.ui-polish-v3 .page-actions-v3{align-items:center;flex-wrap:wrap}
body.ui-polish-v3 .page-actions-v3>a,body.ui-polish-v3 .page-actions-v3>button{min-height:40px}
body.ui-polish-v3 .section-card-v3{border-color:#e1e8e8;box-shadow:0 10px 28px rgba(17,47,47,.045)}
body.ui-polish-v3 .section-card-v3+.section-card-v3{margin-top:1rem}
body.ui-polish-v3 .detailgrid-v3{gap:.7rem}
body.ui-polish-v3 .detailgrid-v3>div{padding:.82rem .9rem;border:1px solid #e8eeee;border-radius:11px;background:#fbfdfd;min-width:0}
body.ui-polish-v3 .detailgrid-v3 dt{font-size:.69rem;letter-spacing:.035em;text-transform:uppercase;color:#758787;font-weight:750;margin-bottom:.22rem}
body.ui-polish-v3 .detailgrid-v3 dd{color:#183536;font-weight:620;overflow-wrap:anywhere}
body.ui-polish-v3 .toolbar-v2{padding:.65rem;border:1px solid #e5ebeb;border-radius:12px;background:#fafcfc}
body.ui-polish-v3 .toolbar-v2 input[type=search]{background:#fff}
body.ui-polish-v3 .table-wrap{border-color:#e3eaea;background:#fff}
body.ui-polish-v3 .table-v2 th{background:#f7f9f9;color:#617676;font-weight:720}
body.ui-polish-v3 .table-v2 td{color:#294344;border-color:#edf1f1}
body.ui-polish-v3 .table-v2 tbody tr:hover{background:#f3f9f7}
body.ui-polish-v3 .pager{padding:.2rem .1rem 0}
body.ui-polish-v3 dialog{border:1px solid #dfe7e6;box-shadow:0 26px 90px rgba(8,42,42,.2)}
body.ui-polish-v3 dialog header{border-bottom:1px solid #edf1f1}
body.ui-polish-v3 .dashboard-view .pagehead{margin-bottom:1.15rem}
body.ui-polish-v3 .dashboard-metrics{gap:1rem}
body.ui-polish-v3 .metric-v2{border-color:#e0e8e7;box-shadow:0 10px 28px rgba(17,47,47,.05)}
body.ui-polish-v3 .operation-card,body.ui-polish-v3 .attention-panel,body.ui-polish-v3 .quick-actions-card{border-color:#e0e8e7;box-shadow:0 10px 30px rgba(17,47,47,.05)}
body.ui-polish-v3 .operation-track{background:#e8eeee}
body.ui-polish-v3 .quick-action-row{border-radius:9px;padding-left:.35rem;padding-right:.35rem}
body.ui-polish-v3 .quick-action-row:hover{background:#f4faf8}
@media(min-width:1101px){
 body.ui-polish-v3 .layout{grid-template-columns:248px minmax(0,1fr)}
 body.ui-polish-v3 .topbar{min-height:70px;padding:.7rem 1.55rem}
 body.ui-polish-v3 .main{padding:1.65rem 1.7rem 3.5rem}
 body.ui-polish-v3 .sidebar{padding-left:.9rem;padding-right:.9rem}
 body.ui-polish-v3 .dashboard-content-grid{grid-template-columns:minmax(0,1.7fr) minmax(310px,.72fr);gap:1rem}
 body.ui-polish-v3 .metric-v2{min-height:120px}
}
@media (max-width:820px), (hover:none) and (pointer:coarse) and (max-width:1200px){
 body{overflow-x:hidden}
 .topbar{grid-template-columns:auto minmax(0,1fr) auto!important;gap:.45rem!important;padding:.5rem .6rem!important}
 .mobile-menu-button{width:40px!important;height:40px!important}.org-picker select{height:40px!important;font-size:.88rem!important;padding:.5rem 1.8rem .5rem .7rem!important}
 .topbar-actions{gap:.15rem!important}.icon-button[aria-label="Notificações"],.icon-button[aria-label="Ajuda"],.topbar-avatar{display:none!important}.mobile-search-button{display:grid!important;width:40px!important;height:40px!important}.quick-create summary{width:40px!important;height:40px!important;padding:0!important;justify-content:center!important;font-size:0!important}.quick-create summary .button-icon{width:18px!important;height:18px!important}.quick-create-menu{position:fixed!important;left:.65rem!important;right:.65rem!important;top:62px!important;width:auto!important;max-height:70dvh!important;overflow:auto!important}
 .main{padding:1rem .8rem 4rem!important}.pagehead{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:.45rem!important;margin-bottom:1rem!important}.pagehead h1,.dashboard-view .pagehead h1{font-size:1.65rem!important;line-height:1.15!important}.pagehead .muted,.dashboard-view .pagehead p{font-size:.9rem!important}.dashboard-date{font-size:.76rem!important;margin-top:.15rem!important}
 body.ui-polish-v3 .main>div[data-route]:not(.dashboard-view)>.pagehead-v3{padding:.9rem!important;border-radius:13px!important}
 .dashboard-metrics{grid-template-columns:1fr!important;gap:.7rem!important}.metric-v2{min-height:92px!important;padding:.9rem .9rem .9rem 3.7rem!important}.metric-icon{left:.9rem!important;top:.9rem!important;width:34px!important;height:34px!important}.metric-v2 strong{font-size:1.55rem!important}.metric-v2 .muted{font-size:.9rem!important}
 .dashboard-content-grid{grid-template-columns:1fr!important;gap:.75rem!important;margin-top:.75rem!important}.dashboard-side-column{grid-template-columns:1fr!important;gap:.75rem!important}.panel{padding:1rem!important;border-radius:12px!important}.panel-title-row{margin-bottom:.8rem!important}.panel-title-row h2{font-size:1rem!important}.operation-card{min-height:0!important}.operation-bars{gap:.85rem!important;padding:.2rem 0!important}.operation-label{font-size:.86rem!important}.operation-track{height:9px!important}
 .attention-item{padding:.78rem 0!important}.attention-copy strong{font-size:.86rem!important}.attention-copy small{font-size:.74rem!important}.attention-action a,.attention-action button{font-size:.78rem!important;min-height:38px!important}.quick-action-row{min-height:52px!important;padding:.72rem .25rem!important}.quick-action-row strong{font-size:.84rem!important}.quick-action-row small{font-size:.72rem!important}
 .toolbar-v2{display:grid!important;grid-template-columns:1fr!important;gap:.55rem!important}.toolbar-v2 input[type=search]{min-width:0!important;width:100%!important}.toolbar-v2 button{width:100%!important;min-height:42px!important}.pager{justify-content:space-between!important;gap:.45rem!important}.pager .muted{width:100%!important;text-align:center!important}.pager button{flex:1 1 0!important;min-height:42px!important}
 body.ui-polish-v3 .detailgrid-v3{grid-template-columns:1fr!important}
 dialog{width:calc(100vw - .75rem)!important;max-height:94dvh!important;border-radius:14px!important}dialog .formgrid{grid-template-columns:1fr!important}dialog footer{position:sticky!important;bottom:0!important;background:white!important;flex-wrap:wrap!important}dialog footer button{flex:1 1 120px!important;min-height:44px!important}
}
@media(max-width:760px){
 .card-table-wrap{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
 .table-card-ready{display:block!important;min-width:0!important;width:100%!important;border:0!important;background:transparent!important}
 .table-card-ready thead{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
 .table-card-ready tbody{display:grid!important;gap:.7rem!important;width:100%!important}
 .table-card-ready tbody tr{display:block!important;padding:.48rem .78rem!important;border:1px solid #e2e9e8!important;border-radius:12px!important;background:#fff!important;box-shadow:0 8px 22px rgba(17,47,47,.045)!important}
 .table-card-ready tbody td{display:grid!important;grid-template-columns:minmax(105px,38%) minmax(0,62%)!important;gap:.65rem!important;align-items:start!important;padding:.46rem 0!important;border:0!important;border-bottom:1px solid #edf1f1!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important}
 .table-card-ready tbody td:last-child{border-bottom:0!important}
 .table-card-ready tbody td::before{content:attr(data-label);font-size:.67rem;line-height:1.35;font-weight:760;letter-spacing:.035em;text-transform:uppercase;color:#788a8a}
 .table-card-ready tbody td.table-action-cell{display:block!important;padding-top:.65rem!important}
 .table-card-ready tbody td.table-action-cell::before{display:none!important}
 .table-card-ready tbody td.table-action-cell .actions{display:flex!important;justify-content:flex-start!important;gap:.45rem!important;flex-wrap:wrap!important}
 .table-card-ready tbody td.table-action-cell a,.table-card-ready tbody td.table-action-cell button{min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
 .attention-source.card-table-wrap{display:none!important}
}
@media(max-width:430px){.pagehead h1,.dashboard-view .pagehead h1{font-size:1.5rem!important}.main{padding-left:.65rem!important;padding-right:.65rem!important}.mobile-menu-button,.mobile-search-button,.quick-create summary{width:38px!important;height:38px!important}.org-picker select{font-size:.8rem!important}.metric-v2{min-height:88px!important}.table-card-ready tbody td{grid-template-columns:96px minmax(0,1fr)!important;gap:.55rem!important}}
