/* EVPL PRO.24 - 50 melhorias profissionais */
:root{
  --pro24-bg:#fffdf7;
  --pro24-line:#f3d48a;
  --pro24-ink:#182033;
  --pro24-soft:#fff4d8;
  --pro24-shadow:0 12px 28px rgba(17,24,39,.14);
}
body.evpl-pro24{scroll-behavior:smooth;}
body.evpl-pro24 .top-meta small{font-weight:700;}
.evpl-pro24-bar{
  position:sticky;top:0;z-index:90;background:linear-gradient(180deg,#fffefb,#fff7e4);
  border:1px solid var(--pro24-line);border-left:0;border-right:0;box-shadow:0 10px 24px rgba(16,24,40,.08);
  padding:8px 12px;display:flex;flex-direction:column;gap:8px;color:var(--pro24-ink);
}
.evpl-pro24-mainline,.evpl-pro24-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.evpl-pro24-pill{display:inline-flex;align-items:center;gap:4px;border:1px solid #f0d18c;background:#fff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;color:#7c1d1d;white-space:nowrap;}
.evpl-pro24-pill.strong{background:#cc0d0b;color:#fff;border-color:#a50a09;box-shadow:0 8px 18px rgba(165,10,9,.2);}
.evpl-pro24-pill.online{background:#ecfdf5;color:#065f46;border-color:#a7f3d0;}
.evpl-pro24-pill.online.is-offline{background:#fff1f2;color:#991b1b;border-color:#fecdd3;}
.evpl-pro24-pill.wide{max-width:220px;overflow:hidden;text-overflow:ellipsis;}
.evpl-pro24-meta{font-size:12px;color:#5b6b85;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46vw;}
.evpl-pro24-actions .btn{font-size:12px;padding:6px 9px;border-radius:10px;}
.evpl-pro24-summary{font-size:12px;color:#334155;background:#fff;border:1px dashed #f0d18c;border-radius:10px;padding:6px 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.evpl-pro24 #btnApply.evpl-pro24-working{opacity:.92;filter:saturate(1.15);cursor:progress;}
body.evpl-pro24 #btnApply.evpl-pro24-done{background:#15803d!important;border-color:#166534!important;color:#fff!important;}
body.evpl-pro24-applying #loader,body.evpl-pro24-applying .loader,body.evpl-pro24-applying .skeleton,body.evpl-pro24-applying .loading-overlay{display:none!important;opacity:0!important;pointer-events:none!important;}
body.evpl-pro24 .table-wrap table thead th{position:sticky;top:0;z-index:5;box-shadow:inset 0 -1px 0 rgba(0,0,0,.08);}
@media (min-width:900px){body.evpl-pro24 .table-wrap table tr>*:first-child{position:sticky;left:0;z-index:4;box-shadow:2px 0 0 rgba(0,0,0,.04);}body.evpl-pro24 .table-wrap table thead tr>*:first-child{z-index:8;}}
body.evpl-pro24 td.evpl-pro24-num{text-align:right;font-variant-numeric:tabular-nums;}
body.evpl-pro24 td.evpl-pro24-zero{color:#94a3b8;font-weight:800;}
body.evpl-pro24 td.evpl-pro24-neg{color:#b91c1c;font-weight:900;background:#fff1f2!important;}
body.evpl-pro24 tr.evpl-pro24-low-stock-hint td{box-shadow:inset 0 1px 0 rgba(245,158,11,.08), inset 0 -1px 0 rgba(245,158,11,.08);}
body.evpl-pro24 tbody tr:hover td{outline:1px solid rgba(204,13,11,.12);outline-offset:-1px;}
body.evpl-pro24-compact .filters{gap:6px;padding-top:6px;padding-bottom:6px;}
body.evpl-pro24-compact .field label{font-size:11px;margin-bottom:2px;}
body.evpl-pro24-compact .field input,body.evpl-pro24-compact .field select{padding:5px 7px;font-size:12px;min-height:28px;}
body.evpl-pro24-compact table{font-size:11px;}
body.evpl-pro24-compact th,body.evpl-pro24-compact td{padding:4px 6px!important;line-height:1.15;}
body.evpl-pro24-compact .table-wrap.tall{max-height:76vh;}
body.evpl-pro24-comfortable table{font-size:13px;}
body.evpl-pro24-comfortable th,body.evpl-pro24-comfortable td{padding:8px 10px!important;line-height:1.35;}
body.evpl-pro24-fullscreen header.app-header,body.evpl-pro24-fullscreen .tabs,body.evpl-pro24-fullscreen #filters,body.evpl-pro24-fullscreen .pager:not(.footer){display:none!important;}
body.evpl-pro24-fullscreen .evpl-pro24-bar{position:sticky;top:0;z-index:300;}
body.evpl-pro24-fullscreen .panel.active{display:block!important;position:fixed;inset:96px 10px 10px 10px;z-index:250;background:#fff;border-radius:14px;box-shadow:var(--pro24-shadow);padding:8px;}
body.evpl-pro24-fullscreen .panel.active .table-wrap{height:calc(100vh - 125px)!important;max-height:none!important;}
.evpl-pro24-dialog,.evpl-pro24-palette{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(15,23,42,.42);z-index:2147482500;padding:16px;}
.evpl-pro24-dialog.open,.evpl-pro24-palette.open{display:flex;}
.evpl-pro24-dialog-card,.evpl-pro24-palette-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.35);width:min(860px,96vw);max-height:86vh;overflow:auto;padding:18px;position:relative;}
.evpl-pro24-dialog-card h2{margin:0 34px 8px 0;font-size:20px;color:#111827;}
.evpl-pro24-dialog-card h3{margin:16px 0 8px;color:#7f1d1d;}
.evpl-pro24-dialog-card p{color:#475569;margin:6px 0 12px;}
.evpl-pro24-close{position:absolute;right:12px;top:10px;border:0;background:#f1f5f9;border-radius:999px;width:32px;height:32px;font-size:22px;line-height:1;cursor:pointer;color:#334155;}
.evpl-pro24-help-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;}
#evplPro24Features{columns:2;column-gap:28px;padding-left:22px;font-size:13px;color:#1f2937;}
#evplPro24Features li{break-inside:avoid;margin:0 0 5px;}
.evpl-pro24-profiles-list{display:grid;gap:8px;margin-top:12px;}
.evpl-pro24-profile-item{display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;border:1px solid #e5e7eb;background:#fffaf0;border-radius:12px;padding:10px 12px;cursor:pointer;color:#1f2937;}
.evpl-pro24-profile-item:hover{border-color:#f59e0b;background:#fff7ed;}
.evpl-pro24-profile-item span{font-size:12px;color:#64748b;}
.evpl-pro24-palette-card{width:min(640px,96vw);padding:12px;}
#evplPro24PaletteInput{width:100%;box-sizing:border-box;border:2px solid #f2c04a;border-radius:14px;padding:12px 14px;font-size:16px;font-weight:800;outline:none;}
#evplPro24PaletteList{display:grid;gap:6px;margin-top:10px;}
#evplPro24PaletteList button{border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:10px 12px;text-align:left;cursor:pointer;font-weight:800;color:#172033;}
#evplPro24PaletteList button:hover{background:#fff4d8;border-color:#f2c04a;}
#evplPro24Float{position:fixed;right:14px;bottom:74px;z-index:120;display:flex;flex-direction:column;gap:8px;}
#evplPro24Float button,#evplPro24ErrorBadge{border:1px solid #eab308;background:#fff8db;color:#7c2d12;border-radius:999px;box-shadow:0 10px 24px rgba(15,23,42,.16);font-weight:900;cursor:pointer;}
#evplPro24Float button{width:42px;height:42px;font-size:18px;}
#evplPro24ErrorBadge{position:fixed;left:12px;bottom:12px;z-index:2147482600;padding:8px 11px;}
body.evpl-pro24-printing .evpl-pro24-bar,body.evpl-pro24-printing #evplPro24Float,body.evpl-pro24-printing #evplPro24ErrorBadge{display:none!important;}
@media (max-width:760px){.evpl-pro24-meta{max-width:100%;}.evpl-pro24-actions .btn{flex:1 1 46%;}.evpl-pro24-summary{white-space:normal;}#evplPro24Features{columns:1}.evpl-pro24-dialog-card{padding:14px}.evpl-pro24-pill.wide{max-width:100%;}}
@media print{.evpl-pro24-bar,.evpl-pro24-dialog,.evpl-pro24-palette,#evplPro24Float,#evplPro24ErrorBadge{display:none!important;}body.evpl-pro24 .table-wrap{max-height:none!important;overflow:visible!important;}body.evpl-pro24 table{font-size:10pt!important;}}
