:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#17202a;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(#eef4f7 0%,#f7f8fa 42%,#f4f6f8 100%);min-width:320px;margin:0}button{font:inherit;cursor:pointer;border:0}button:disabled{cursor:wait;opacity:.6}.app-shell{width:min(1440px,100%);margin:0 auto;padding:24px}.topbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.eyebrow{color:#65727f;letter-spacing:0;text-transform:uppercase;margin-bottom:4px;font-size:.78rem;font-weight:700;display:block}h1,h2,h3,p{margin:0}h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1}h2{font-size:1.05rem}h3{font-size:.95rem}.mode-toggle{background:#fff;border:1px solid #d9e1e8;border-radius:8px;align-items:center;gap:4px;padding:4px;display:inline-flex}.mode-toggle button,.actions button{color:#24313d;border-radius:6px;min-height:40px;padding:0 16px}.mode-toggle button{background:0 0;font-weight:700}.mode-toggle button.active{color:#fff;background:#1f6f8b}.workspace{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:20px;display:grid}.scenario-panel,.table-section,.result-section,.result-empty{background:#fff;border:1px solid #dce4eb;border-radius:8px;box-shadow:0 14px 32px #202c3614}.scenario-panel{gap:18px;padding:18px;display:grid;position:sticky;top:24px}.panel-heading,.section-title,.summary-line,.card-footer,.history-order>div,.ranking-row,.trace-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel-heading span,.section-title span,.metric-card span,.data-card span,.item-row small,.history-order span,.trace-row small,.trace-row em{color:#65727f}.panel-heading strong{color:#167251;text-align:right;font-size:.82rem}.scenario-list{gap:14px;display:grid}.scenario-group{gap:8px;display:grid}.scenario-group-title{color:#5d6975;text-transform:uppercase;justify-content:space-between;align-items:center;font-size:.76rem;font-weight:900;display:flex}.scenario-group-title small{color:#82909d;text-transform:none;font-size:.72rem}.scenario{text-align:left;background:#f6f8fa;border:1px solid #0000;border-radius:8px;gap:6px;padding:14px;display:grid}.scenario span{color:#17202a;font-weight:800}.scenario small{color:#687786;line-height:1.35}.scenario.active{background:#ebf6f5;border-color:#78c2b6}.actions{gap:10px;display:grid}.actions button{background:#e9eef3;font-weight:800}.actions .primary{color:#fff;background:#207568}.pagination-controls{background:#fff;border:1px solid #dce4eb;border-radius:8px;justify-content:center;align-items:center;gap:12px;padding:12px;display:flex;box-shadow:0 12px 26px #202c360f}.pagination-controls button{color:#24313d;background:#e9eef3;border-radius:6px;min-height:38px;padding:0 14px;font-weight:800}.pagination-controls span{color:#526171;font-size:.9rem;font-weight:800}.content{gap:20px;min-width:0;display:grid}.scenario-insight{background:#fff;border:1px solid #dce4eb;border-left:4px solid #207568;border-radius:8px;grid-template-columns:minmax(170px,.3fr) minmax(0,1fr);align-items:center;gap:8px;padding:14px 16px;display:grid;box-shadow:0 14px 32px #202c360f}.scenario-insight div{gap:4px;display:grid}.scenario-insight span{color:#65727f;text-transform:uppercase;font-size:.78rem;font-weight:800}.scenario-insight p{color:#465563;line-height:1.45}.metrics-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.metrics-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{background:#fff;border:1px solid #dce4eb;border-radius:8px;gap:8px;min-height:86px;padding:16px;display:grid}.metric-card strong{color:#1f6f8b;font-size:1.45rem;line-height:1.05}.table-section,.result-section,.result-empty{padding:18px}.section-title{margin-bottom:14px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #edf1f4;padding:11px 10px}th{color:#5d6975;text-transform:uppercase;font-size:.78rem}.pill{border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:900;display:inline-block}.pill.rest{color:#1f5f91;background:#e7f2ff}.pill.graphql{color:#9b2f70;background:#faeaf4}.result-empty{text-align:center;place-content:center;gap:8px;min-height:120px;display:grid}.result-section{gap:16px;display:grid}.cards-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.marketplace-section{gap:18px}.marketplace-hero{background:linear-gradient(135deg,#1f6f8b1f,#2075681a),#f8fbfc;border:1px solid #dce8ee;border-radius:8px;justify-content:space-between;align-items:end;gap:16px;padding:18px;display:flex}.marketplace-hero div{gap:6px;max-width:620px;display:grid}.marketplace-hero span{color:#1f6f8b;text-transform:uppercase;font-size:.78rem;font-weight:900}.marketplace-hero h2{font-size:clamp(1.35rem,2vw,1.9rem)}.marketplace-hero p{color:#536271;line-height:1.45}.marketplace-hero strong{color:#207568;white-space:nowrap;background:#fff;border:1px solid #dce8ee;border-radius:999px;padding:8px 12px}.marketplace-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;display:grid}.marketplace-card{background:#fff;border:1px solid #e0e8ee;border-radius:8px;min-width:0;display:grid;overflow:hidden;box-shadow:0 10px 20px #202c3612}.marketplace-image{aspect-ratio:16/10;background:#eef4f7;display:grid;position:relative;overflow:hidden}.marketplace-image img{object-fit:cover;width:100%;height:100%}.marketplace-image span{color:#24313d;background:#ffffffeb;border:1px solid #dce8eee6;border-radius:999px;padding:5px 9px;font-size:.74rem;font-weight:900;position:absolute;top:10px;left:10px}.marketplace-card-body{gap:12px;padding:13px;display:grid}.marketplace-card-top{justify-content:space-between;align-items:start;gap:10px;display:flex}.marketplace-card-top h3{min-width:0;line-height:1.25}.marketplace-card-top small,.marketplace-card-footer span{color:#65727f;font-size:.78rem}.marketplace-card-body>strong{color:#16684c;font-size:1.25rem}.marketplace-card-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.marketplace-card-footer button{color:#fff;background:#207568;border-radius:6px;min-height:36px;padding:0 12px;font-weight:900}.order-section{gap:18px}.order-hero{background:linear-gradient(135deg,#1f6f8b21,#fff3d78c),#f8fbfc;border:1px solid #dce8ee;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(190px,.25fr);align-items:stretch;gap:16px;padding:18px;display:grid}.order-hero>div:first-child{gap:8px;display:grid}.order-eyebrow{color:#1f6f8b;text-transform:uppercase;font-size:.78rem;font-weight:900}.order-hero h2{font-size:clamp(1.35rem,2vw,1.9rem)}.order-hero p{color:#536271;line-height:1.45}.order-total{background:#fff;border:1px solid #dce8ee;border-radius:8px;align-content:center;gap:6px;padding:16px;display:grid}.order-total span,.order-meta-grid span,.order-items-header p,.order-item-body small{color:#65727f}.order-total strong{color:#16684c;font-size:1.45rem}.order-meta-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.order-meta-grid article{background:#fbfcfd;border:1px solid #e5edf2;border-radius:8px;gap:8px;min-width:0;padding:14px;display:grid}.order-meta-grid strong{color:#24313d;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.order-status{border-radius:999px;justify-self:start;padding:6px 10px}.status-criado{color:#895d00;background:#fff3d7}.status-pago{color:#167251;background:#e8f7ef}.status-enviado{color:#1f5f91;background:#e7f2ff}.status-cancelado{color:#9e3025;background:#fde9e7}.order-items-header{justify-content:space-between;align-items:end;gap:16px;display:flex}.order-items-header div{gap:4px;display:grid}.order-items-header span{color:#2c5960;white-space:nowrap;background:#eef6f7;border:1px solid #d3e7e9;border-radius:999px;padding:7px 10px;font-weight:900}.order-items-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;display:grid}.order-item-card{background:#fff;border:1px solid #e0e8ee;border-radius:8px;min-width:0;display:grid;overflow:hidden;box-shadow:0 10px 20px #202c360f}.order-item-image{aspect-ratio:16/8;background:#eef4f7;display:grid;position:relative;overflow:hidden}.order-item-image img{object-fit:cover;width:100%;height:100%}.order-item-image span{color:#24313d;background:#ffffffeb;border:1px solid #dce8eee6;border-radius:999px;padding:5px 9px;font-size:.74rem;font-weight:900;position:absolute;top:10px;left:10px}.order-item-body{justify-content:space-between;align-items:end;gap:12px;padding:13px;display:flex}.order-item-body div{gap:5px;min-width:0;display:grid}.order-item-body h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.order-item-body strong{color:#16684c;white-space:nowrap}.customer-history-section{gap:18px}.customer-hero{background:linear-gradient(135deg,#2075681f,#1f6f8b1a),#f8fbfc;border:1px solid #dce8ee;border-radius:8px;grid-template-columns:auto minmax(0,1fr) minmax(190px,.25fr);align-items:center;gap:16px;padding:18px;display:grid}.customer-avatar{color:#fff;background:#207568;border-radius:999px;justify-content:center;align-items:center;width:62px;height:62px;font-size:1.1rem;font-weight:900;display:flex}.customer-hero>div:nth-child(2){gap:6px;min-width:0;display:grid}.customer-hero h2,.customer-hero p{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.customer-hero p,.customer-total span,.customer-orders-header p,.customer-order-summary small,.customer-order-item span{color:#65727f}.customer-total{background:#fff;border:1px solid #dce8ee;border-radius:8px;align-content:center;gap:6px;padding:16px;display:grid}.customer-total strong{color:#16684c;font-size:1.35rem}.customer-orders-header{justify-content:space-between;align-items:end;gap:16px;display:flex}.customer-orders-header div{gap:4px;display:grid}.customer-orders-header span{color:#2c5960;white-space:nowrap;background:#eef6f7;border:1px solid #d3e7e9;border-radius:999px;padding:7px 10px;font-weight:900}.customer-order-list{gap:14px;display:grid}.customer-order-card{background:#fff;border:1px solid #e0e8ee;border-radius:8px;gap:12px;padding:14px;display:grid;box-shadow:0 10px 20px #202c360f}.customer-order-summary{justify-content:space-between;align-items:center;gap:16px;display:flex}.customer-order-summary div{gap:6px;min-width:0;display:grid}.customer-order-summary h3{min-width:0}.customer-order-summary strong{color:#16684c;white-space:nowrap;font-size:1.25rem}.customer-order-items{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;display:grid}.customer-order-item{background:#fbfcfd;border:1px solid #e5edf2;border-radius:8px;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px;display:grid}.customer-order-item img{aspect-ratio:1;object-fit:cover;border-radius:8px;width:56px;height:56px}.customer-order-item div{gap:4px;min-width:0;display:grid}.customer-order-item strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.customer-order-item b{color:#16684c;white-space:nowrap}.sales-dashboard-section{gap:16px}.sales-hero{background:linear-gradient(135deg,#1f6f8b21,#2075681a),#f8fbfc;border:1px solid #dce8ee;border-radius:8px;justify-content:space-between;align-items:end;gap:16px;padding:16px;display:flex}.sales-hero div{gap:6px;min-width:0;display:grid}.sales-hero h2{font-size:clamp(1.3rem,2vw,1.8rem)}.sales-hero p,.sales-kpi-grid small,.sales-board-heading p,.sales-product-card span{color:#65727f}.sales-hero strong,.sales-board-heading span{color:#207568;white-space:nowrap;background:#fff;border:1px solid #dce8ee;border-radius:999px;padding:8px 12px;font-weight:900}.sales-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.sales-kpi-grid article{background:#fff;border:1px solid #e0e8ee;border-radius:8px;gap:5px;min-width:0;padding:14px;display:grid}.sales-kpi-grid span{color:#65727f}.sales-kpi-grid strong{color:#1f6f8b;overflow-wrap:anywhere;min-width:0;font-size:1.35rem;line-height:1.08}.sales-board{border:1px solid #e0e8ee;border-radius:8px;gap:12px;padding:14px;display:grid}.sales-board-heading{justify-content:space-between;align-items:end;gap:16px;display:flex}.sales-board-heading div{gap:4px;display:grid}.sales-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:430px;padding-right:4px;display:grid;overflow:auto}.sales-product-card{background:#fbfcfd;border:1px solid #e5edf2;border-radius:8px;grid-template-columns:auto 48px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-width:0;min-height:64px;padding:9px 10px;display:grid}.sales-rank{color:#1f5f91;background:#e7f2ff;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-size:.78rem;font-weight:900;display:flex}.sales-product-card img{aspect-ratio:1;object-fit:cover;border-radius:8px;width:48px;height:48px}.sales-product-card div:not(.sales-rank){gap:3px;min-width:0;display:grid}.sales-product-card strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sales-product-card small{color:#24313d;white-space:nowrap;font-weight:900}.sales-product-card b{color:#16684c;white-space:nowrap}.critical-stock-section{gap:16px}.critical-stock-hero{background:linear-gradient(135deg,#b54e2d1f,#20756817),#f9fbfc;border:1px solid #dce8ee;border-radius:8px;justify-content:space-between;align-items:end;gap:16px;padding:16px;display:flex}.critical-stock-hero div{gap:6px;min-width:0;display:grid}.critical-stock-hero h2{font-size:clamp(1.3rem,2vw,1.8rem)}.critical-stock-hero p,.critical-stock-kpis span,.critical-stock-kpis small,.critical-stock-heading p,.critical-stock-topline small,.critical-stock-footer span{color:#65727f}.critical-stock-hero strong,.critical-stock-heading span{color:#8a542a;white-space:nowrap;background:#fff;border:1px solid #dce8ee;border-radius:999px;padding:8px 12px;font-weight:900}.critical-stock-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.critical-stock-kpis article{background:#fff;border:1px solid #e0e8ee;border-radius:8px;gap:5px;min-width:0;padding:14px;display:grid}.critical-stock-kpis strong{color:#1f6f8b;font-size:1.35rem;line-height:1.08}.critical-stock-board{border:1px solid #e0e8ee;border-radius:8px;gap:12px;padding:14px;display:grid}.critical-stock-heading{justify-content:space-between;align-items:end;gap:16px;display:flex}.critical-stock-heading div{gap:4px;display:grid}.critical-stock-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.critical-stock-card{background:#fff;border:1px solid #e2ebf0;border-radius:8px;grid-template-columns:96px minmax(0,1fr);min-width:0;min-height:132px;display:grid;overflow:hidden;box-shadow:0 10px 20px #202c360d}.critical-stock-image{background:#eef6f7;min-height:132px;position:relative}.critical-stock-image img{object-fit:cover;width:100%;height:100%}.critical-stock-image span{color:#24313d;text-overflow:ellipsis;white-space:nowrap;background:#ffffffeb;border:1px solid #d2e0e8e6;border-radius:999px;max-width:calc(100% - 16px);padding:5px 8px;font-size:.72rem;font-weight:900;position:absolute;top:8px;left:8px;overflow:hidden}.critical-stock-body{gap:10px;min-width:0;padding:12px;display:grid}.critical-stock-topline,.critical-stock-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.critical-stock-topline small{background:#eef6f7;border-radius:999px;padding:4px 8px;font-weight:900}.critical-stock-topline b{color:#16684c;white-space:nowrap;font-size:.9rem}.critical-stock-body h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.stock-meter{background:#e8eef3;border-radius:999px;height:9px;overflow:hidden}.stock-meter span{border-radius:inherit;background:linear-gradient(90deg,#b85b3f,#dfaa4d);min-width:22%;height:100%;display:block}.critical-stock-footer strong{color:#173b58;white-space:nowrap;font-size:1.05rem}.critical-stock-footer span{text-align:right;font-size:.78rem;font-weight:800}.customer-analysis-section{gap:16px}.customer-analysis-hero{background:linear-gradient(135deg,#1f6f8b1f,#2075681a),#f9fbfc;border:1px solid #dce8ee;border-radius:8px;grid-template-columns:auto minmax(0,1fr) minmax(190px,auto);align-items:center;gap:16px;padding:16px;display:grid}.customer-avatar.large{width:64px;height:64px}.customer-analysis-hero>div:nth-child(2){gap:6px;min-width:0;display:grid}.customer-analysis-hero h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:clamp(1.3rem,2vw,1.8rem);overflow:hidden}.customer-analysis-hero p,.customer-analysis-total span,.customer-analysis-kpis span,.customer-analysis-kpis small,.customer-analysis-heading p,.customer-product-info small,.customer-recent-order small{color:#65727f}.customer-analysis-total{background:#fff;border:1px solid #dce8ee;border-radius:8px;align-content:center;gap:6px;padding:14px;display:grid}.customer-analysis-total strong{color:#16684c;overflow-wrap:anywhere;font-size:1.35rem;line-height:1.1}.customer-analysis-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.customer-analysis-kpis article{background:#fff;border:1px solid #e0e8ee;border-radius:8px;gap:5px;min-width:0;padding:14px;display:grid}.customer-analysis-kpis strong{color:#1f6f8b;overflow-wrap:anywhere;font-size:1.35rem;line-height:1.08}.customer-analysis-board{grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);gap:14px;display:grid}.customer-analysis-panel{border:1px solid #e0e8ee;border-radius:8px;gap:12px;min-width:0;padding:14px;display:grid}.customer-analysis-heading{justify-content:space-between;align-items:end;gap:12px;display:flex}.customer-analysis-heading div{gap:4px;min-width:0;display:grid}.customer-analysis-heading span{color:#2c5960;white-space:nowrap;background:#eef6f7;border:1px solid #d3e7e9;border-radius:999px;padding:7px 10px;font-weight:900}.customer-product-list,.customer-recent-orders{gap:10px;display:grid}.customer-product-card{background:#fbfcfd;border:1px solid #e5edf2;border-radius:8px;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:78px;padding:10px;display:grid}.customer-product-card img{aspect-ratio:1;object-fit:cover;border-radius:8px;width:58px;height:58px}.customer-product-info{gap:8px;min-width:0;display:grid}.customer-product-info div:first-child{gap:3px;min-width:0;display:grid}.customer-product-info h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.customer-product-meter{background:#e8eef3;border-radius:999px;height:8px;overflow:hidden}.customer-product-meter span{border-radius:inherit;background:linear-gradient(90deg,#207568,#1f6f8b);height:100%;display:block}.customer-product-values{white-space:nowrap;justify-items:end;gap:5px;display:grid}.customer-product-values strong{color:#173b58}.customer-product-values b,.customer-recent-order strong{color:#16684c}.customer-recent-order{background:#fbfcfd;border:1px solid #e5edf2;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;min-height:82px;padding:12px;display:grid}.customer-recent-order div{gap:6px;min-width:0;display:grid}.customer-recent-order div:last-child{justify-items:end}.customer-recent-order h3{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.customer-recent-order strong{white-space:nowrap;font-size:1.08rem}.compact-product-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;display:grid}.compact-product-row{background:#fbfcfd;border:1px solid #e8eef3;border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:54px;padding:12px;display:grid}.compact-product-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:800;overflow:hidden}.compact-product-row strong{color:#1d6d50}.compact-product-row small{color:#65727f}.data-card{background:#f8fafb;border:1px solid #e4ebf0;border-radius:8px;gap:8px;min-height:164px;padding:14px;display:grid}.data-card strong{font-size:1rem}.data-card p{color:#4b5966;line-height:1.4}.data-card b,.summary-line strong,.item-row strong,.ranking-row b{color:#1d6d50}.summary-line{background:#f6f8fa;border:1px solid #e3e9ee;border-radius:8px;flex-wrap:wrap;padding:12px}.summary-line span:first-child{color:#895d00;background:#fff3d7;border-radius:999px;padding:5px 10px;font-weight:800}.item-list,.history-list,.ranking,.trace-list{gap:10px;display:grid}.trace-group{gap:10px;margin-top:14px;display:grid}.trace-group-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.trace-group-title small{color:#65727f}.item-list.compact{margin-top:10px}.item-row,.ranking-row,.trace-row{background:#fbfcfd;border:1px solid #e8eef3;border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;min-width:0;min-height:52px;padding:11px 12px;display:grid}.item-row span,.trace-row span,.ranking-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.history-order{background:#f8fafb;border:1px solid #e4ebf0;border-radius:8px;padding:14px}.compact-order{gap:10px;display:grid}.compact-order b{color:#1d6d50}.analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.analysis-grid section{gap:10px;min-width:0;display:grid}.ranking-row{grid-template-columns:minmax(0,1fr) auto auto}.trace-row{grid-template-columns:minmax(0,1fr) auto auto auto}.trace-row small,.internal-row small{overflow-wrap:anywhere;white-space:normal;word-break:break-word;min-width:0}.payload-details{grid-column:1/-1}.internal-trace{background:#eef6f7;border:1px solid #d3e7e9;border-radius:8px;grid-column:1/-1;gap:8px;min-width:0;padding:10px;display:grid;overflow:hidden}.internal-trace>strong{color:#2c5960;font-size:.86rem}.internal-row{background:#fff;border:1px solid #d9e8eb;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(180px,.8fr) auto auto;align-items:center;gap:8px;min-width:0;padding:10px;display:grid}.internal-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:800;overflow:hidden}.internal-row small,.internal-row em{color:#65727f}.payload-details summary{color:#1f6f8b;cursor:pointer;margin-top:4px;font-size:.9rem;font-weight:800}.payload-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;margin-top:10px;display:grid}.payload-block{background:#f4f7fa;border:1px solid #dce5ec;border-radius:8px;gap:8px;min-width:0;padding:10px;display:grid}.payload-block strong{color:#24313d;font-size:.84rem}.payload-block pre{color:#e8eef5;overflow-wrap:anywhere;white-space:pre-wrap;background:#111827;border-radius:6px;max-height:260px;margin:0;padding:10px;font-family:Cascadia Code,Consolas,monospace;font-size:.78rem;line-height:1.45;overflow:auto}@media (width<=980px){.workspace{grid-template-columns:1fr}.scenario-panel{position:static}.metrics-grid,.metrics-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-insight,.analysis-grid{grid-template-columns:1fr}.marketplace-hero,.sales-hero,.critical-stock-hero,.sales-board-heading,.critical-stock-heading,.order-items-header,.customer-orders-header{flex-direction:column;align-items:start}.order-hero,.order-meta-grid,.customer-hero,.customer-analysis-hero,.sales-kpi-grid,.customer-analysis-kpis,.critical-stock-kpis,.sales-ranking-grid,.critical-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-avatar{grid-row:span 2}}@media (width<=620px){.app-shell{padding:14px}.topbar{flex-direction:column;align-items:stretch}.mode-toggle{width:100%}.mode-toggle button{flex:1}.metrics-grid,.metrics-grid.compact,.item-row,.ranking-row,.trace-row,.compact-product-row,.internal-row,.payload-grid,.marketplace-grid{grid-template-columns:1fr}.marketplace-card-footer{flex-direction:column;align-items:stretch}.order-hero,.order-meta-grid,.order-items-grid,.customer-hero,.customer-analysis-hero,.customer-analysis-board,.customer-order-items,.customer-order-item,.sales-kpi-grid,.customer-analysis-kpis,.sales-ranking-grid,.critical-stock-kpis,.critical-stock-grid,.sales-product-card,.customer-product-card,.customer-recent-order,.critical-stock-card{grid-template-columns:1fr}.critical-stock-image{min-height:150px}.order-item-body{flex-direction:column;align-items:stretch}.customer-avatar{grid-row:auto}.customer-order-summary{flex-direction:column;align-items:stretch}.customer-analysis-total,.customer-product-values,.customer-recent-order div:last-child{justify-items:start}.customer-order-item img{width:100%;height:auto}}
