/* ASN ERP V5.1.10: Opção 2 Clean Premium (light) + Opção 3 Dark Total (dark). */
html[data-theme] body.asn-exp-page{--exp-bg:var(--asn-surface,#fff);--exp-alt:var(--asn-surface-2,#faf8fb);--exp-ink:var(--asn-ink,#1e293b);--exp-muted:var(--asn-muted,#68748b);--exp-line:var(--asn-line,#e8eaf0);--exp-rose:var(--asn-rose,#e71852);display:block!important;background:var(--asn-canvas,#f8f8fb)!important;color:var(--exp-ink)!important;min-height:100vh}
html[data-theme] .asn-exp-page *{box-sizing:border-box}
html[data-theme] .asn-exp-page .main-content{margin-left:260px;max-width:calc(100vw - 260px);width:auto;min-height:100vh;padding:22px clamp(16px,2.6vw,38px) 40px;background:transparent;color:var(--exp-ink)}
html[data-theme] body.asn-nav-ready.asn-layout-v4994 .main-content{margin-left:var(--asn-sidebar-width,260px);max-width:unset;width:auto;padding-top:18px}
html[data-theme] .asnexp{margin:0 auto;max-width:1530px;font-family:inherit;min-width:0}
html[data-theme] .asnexp h1,html[data-theme] .asnexp h2{color:var(--exp-ink)!important;margin:0!important;line-height:1.2;font-family:inherit}
html[data-theme] .asnexp h1{font-size:clamp(28px,3vw,37px)!important;font-weight:850;letter-spacing:-.05em}
html[data-theme] .asnexp h2{font-size:16px!important;letter-spacing:-.025em;font-weight:800}
html[data-theme] .asnexp p{margin:0;color:var(--exp-muted);line-height:1.5}
html[data-theme] .asnexp-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:23px 26px;border-radius:20px;border:1px solid var(--exp-line);background:linear-gradient(115deg,var(--exp-bg),var(--exp-alt));box-shadow:var(--asn-shadow)}
html[data-theme] .asnexp-head p{margin-top:9px;font-size:13px;max-width:690px}
html[data-theme] .asnexp-kicker{display:block;color:var(--exp-rose);font-size:11px;font-weight:850;letter-spacing:.11em;margin-bottom:8px}
html[data-theme] .asnexp-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;flex-shrink:0}
html[data-theme] .asnexp .asnexp-btn{border:1px solid transparent;border-radius:11px;padding:11px 14px;font-size:12px;font-weight:800;line-height:1.3;background:linear-gradient(120deg,#fa3b70,#c60f43);color:white;text-decoration:none;cursor:pointer;text-align:center;white-space:normal;box-shadow:0 5px 15px rgba(229,24,78,.13);font-family:inherit}
html[data-theme] .asnexp .asnexp-btn.subtle{background:var(--exp-alt);color:var(--exp-ink);border-color:var(--exp-line);box-shadow:none}
html[data-theme] .asnexp .asnexp-btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
html[data-theme] .asnexp :is(button,input,select,a):focus-visible{outline:2px solid var(--exp-rose)!important;outline-offset:2px}
html[data-theme] .asnexp-notice{padding:13px 16px;margin-bottom:15px;border-radius:12px;background:var(--exp-alt);border:1px solid var(--exp-line);font-size:12px;line-height:1.55;color:var(--exp-ink)}
html[data-theme] .asnexp-notice[data-kind="warn"]{background:color-mix(in srgb,#eab308 8%,var(--exp-bg));border-color:color-mix(in srgb,#eab308 34%,var(--exp-line))}
html[data-theme] .asnexp-notice[data-kind="error"]{background:color-mix(in srgb,#dc2626 8%,var(--exp-bg));border-color:color-mix(in srgb,#dc2626 25%,var(--exp-line))}
html[data-theme] .asnexp-notice[data-kind="ok"]{background:color-mix(in srgb,#0cbd89 7%,var(--exp-bg));border-color:color-mix(in srgb,#0cbd89 23%,var(--exp-line))}
html[data-theme] .asnexp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}
html[data-theme] .asnexp-kpis article{background:var(--exp-bg);border:1px solid var(--exp-line);border-radius:16px;padding:17px 17px;box-shadow:var(--asn-shadow);min-width:0}
html[data-theme] .asnexp-kpis article>span{color:var(--exp-muted);font-size:11px;font-weight:750}
html[data-theme] .asnexp-kpis article>strong{font-size:clamp(23px,2.2vw,30px);display:block;margin:9px 0;font-weight:850;font-variant-numeric:tabular-nums;color:var(--exp-ink);line-height:1.1}
html[data-theme] .asnexp-kpis article:last-child strong{color:var(--exp-rose)}
html[data-theme] .asnexp-kpis article>small{font-size:10px;color:var(--exp-muted);line-height:1.5;display:block}
html[data-theme] .asnexp-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.93fr);gap:14px;align-items:start}
html[data-theme] .asnexp-panel{background:var(--exp-bg);border:1px solid var(--exp-line);border-radius:17px;padding:20px;min-width:0;box-shadow:var(--asn-shadow)}
html[data-theme] .asnexp-panel-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:19px}
html[data-theme] .asnexp-panel-title p{font-size:11px;margin-top:6px}
html[data-theme] .asnexp-badge,.asnexp-pulse{border:1px solid var(--exp-line);border-radius:20px;color:var(--exp-muted);background:var(--exp-alt);padding:6px 10px;font-size:10px;font-weight:800;white-space:nowrap}
html[data-theme] .asnexp-pulse{color:#0e9a73;background:color-mix(in srgb,#0cbd89 8%,var(--exp-bg))}
html[data-theme] .asnexp-filters{display:grid;grid-template-columns:minmax(135px,1.1fr) minmax(118px,.76fr) minmax(160px,1.35fr);gap:10px;margin-bottom:15px}
html[data-theme] .asnexp-filters label{font-size:11px;color:var(--exp-muted);font-weight:700;display:flex;flex-direction:column;gap:6px}
html[data-theme] .asnexp :is(select,input[type="search"],input[type="text"]){width:100%;height:43px;padding:0 12px;border:1px solid var(--exp-line)!important;border-radius:10px;background:var(--exp-alt)!important;color:var(--exp-ink)!important;font-family:inherit;font-size:12px}
html[data-theme] .asnexp-list-head{display:grid;grid-template-columns:minmax(0,1fr) 150px;border-bottom:1px solid var(--exp-line);padding:11px 12px;font-size:10px;color:var(--exp-muted);text-transform:uppercase;font-weight:800;letter-spacing:.06em}
html[data-theme] .asnexp-list-head span:last-child{text-align:right}
html[data-theme] .asnexp-items{min-height:220px}
html[data-theme] .asnexp-item{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:16px;padding:14px 12px;border-bottom:1px solid var(--exp-line)}
html[data-theme] .asnexp-item-main{min-width:0;display:flex;align-items:flex-start;gap:10px}
html[data-theme] .asnexp-item-icon{border-radius:10px;width:36px;height:36px;background:var(--exp-alt);display:grid;place-items:center;color:var(--exp-rose);font-size:18px;flex-shrink:0}
html[data-theme] .asnexp-item-name{display:block;font-size:12px;font-weight:800;overflow-wrap:anywhere;color:var(--exp-ink)}
html[data-theme] .asnexp-item-meta{font-size:11px;line-height:1.6;color:var(--exp-muted);overflow-wrap:anywhere}
html[data-theme] .asnexp-item-check{text-align:right}
html[data-theme] .asnexp-item-check strong{font-size:13px;display:block;font-variant-numeric:tabular-nums}
html[data-theme] .asnexp-item-check small{font-size:10px;color:var(--exp-muted)}
html[data-theme] .asnexp-progress{height:6px;border-radius:99px;background:var(--exp-line);overflow:hidden;margin:7px 0 5px}
html[data-theme] .asnexp-progress>span{display:block;background:linear-gradient(120deg,#fc507b,#d1144f);height:100%;border-radius:99px}
html[data-theme] .asnexp-list-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:15px;color:var(--exp-muted);font-size:11px}
html[data-theme] .asnexp-empty{padding:48px 15px;text-align:center;font-size:12px}
html[data-theme] .asnexp-right{display:grid;gap:14px}
html[data-theme] .asnexp-input-label{font-size:11px;font-weight:750;color:var(--exp-muted);display:block;margin-bottom:8px}
html[data-theme] #asnexp-scan{height:60px;font-size:16px;font-weight:800;text-align:center;border:2px solid color-mix(in srgb,var(--exp-rose) 35%,var(--exp-line))!important}
html[data-theme] .asnexp-scan-row{margin-top:11px;display:flex;justify-content:space-between;align-items:center;gap:12px}
html[data-theme] .asnexp-scan-row #asnexp-scan-message{font-size:11px;line-height:1.5;color:var(--exp-muted)}
html[data-theme] .asnexp-summary ol{margin:16px 0;padding-left:19px;color:var(--exp-ink);font-size:12px;line-height:2.25}
html[data-theme] .asnexp-note{background:var(--exp-alt);border:1px solid var(--exp-line);border-left:3px solid var(--exp-rose);padding:14px;border-radius:10px;margin-bottom:16px}
html[data-theme] .asnexp-note strong{font-size:12px;color:var(--exp-ink)}
html[data-theme] .asnexp-note p{font-size:11px;margin-top:5px}
html[data-theme] .asnexp-actions{display:flex;gap:9px;flex-wrap:wrap}
html[data-theme] .asnexp-actions .asnexp-btn{flex:1}
html[data-theme] .asnexp-footer{color:var(--exp-muted);font-size:10.5px;line-height:1.65;margin:15px 3px}
html[data-theme="dark"] body.asn-exp-page{--exp-bg:#111b2f;--exp-alt:#18253d;--exp-ink:#eef4ff;--exp-muted:#a6b6d1;--exp-line:#2b3952;--exp-rose:#fa2e67}
html[data-theme="dark"] .asnexp-head{background:linear-gradient(115deg,#18243d,#101a30)}
html[data-theme="light"] body.asn-exp-page{--exp-bg:#ffffff;--exp-alt:#fff8fa;--exp-ink:#20283a;--exp-muted:#68748b;--exp-line:#ecdee7;--exp-rose:#e71852}
@media(max-width:1280px){html[data-theme] .asnexp-workspace{grid-template-columns:minmax(0,1fr) 330px}html[data-theme] .asnexp-filters{grid-template-columns:1fr 1fr}html[data-theme] .asnexp-search{grid-column:1/-1}}
@media(max-width:980px){html[data-theme] .asnexp-workspace{grid-template-columns:1fr}html[data-theme] .asnexp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] .asn-exp-page .main-content{margin-left:0;max-width:100%;padding:75px 14px 24px}}
@media(max-width:540px){html[data-theme] .asnexp-head{padding:19px;flex-direction:column;align-items:flex-start}html[data-theme] .asnexp-head-actions{width:100%}html[data-theme] .asnexp-head-actions .asnexp-btn{flex:1}html[data-theme] .asnexp-kpis{gap:8px}html[data-theme] .asnexp-kpis article{padding:14px;min-height:112px}html[data-theme] .asnexp-kpis article strong{font-size:23px}html[data-theme] .asnexp-panel{padding:15px}html[data-theme] .asnexp-panel-title{flex-wrap:wrap}html[data-theme] .asnexp-filters{grid-template-columns:1fr 1fr}html[data-theme] .asnexp-item{grid-template-columns:minmax(0,1fr);gap:8px}html[data-theme] .asnexp-item-check{text-align:left;padding-left:47px}html[data-theme] .asnexp-list-head{display:none}html[data-theme] .asnexp-scan-row{align-items:flex-start;flex-direction:column}html[data-theme] .asnexp-list-foot{align-items:flex-start;flex-direction:column}html[data-theme] .asnexp-list-foot .asnexp-btn{width:100%}}
@media print{html[data-theme] body.asn-exp-page{background:white!important;color:#000!important}html[data-theme] .asnexp-head-actions,html[data-theme] .asnexp-right,html[data-theme] .asnexp-filters,html[data-theme] .asnexp-list-foot,html[data-theme] .sidebar,html[data-theme] .asn-v513-topbar{display:none!important}html[data-theme] .asn-exp-page .main-content{margin:0!important;max-width:none!important;padding:0!important}html[data-theme] .asnexp-panel,html[data-theme] .asnexp-kpis article{box-shadow:none!important}}
