@media (max-width:960px){.erp-console{grid-template-columns:1fr}.erp-side{flex-direction:row;overflow-x:auto}.erp-kpis{grid-template-columns:repeat(2,1fr)}.erp-table td:nth-child(3),.erp-table th:nth-child(3){display:none}}@media (max-width:600px){.erp-kpis{grid-template-columns:1fr 1fr}}.switch-panels{position:relative}.switch-panel{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;box-shadow:rgba(15,23,42,.06) 0 20px 45px;overflow:hidden;animation:.3s switchFade}.switch-panel[hidden]{display:none}@keyframes switchFade{0%{opacity:0;transform:translateY(6px)}100%{opacity:1;transform:translateY(0)}}.ai-chat{display:flex;flex-direction:column;min-height:520px}.ai-chat-head{display:flex;align-items:center;gap:.55rem;padding:.95rem 1.4rem;border-bottom:1px solid rgba(15,23,42,.08);background:linear-gradient(#f8fafc,#f1f5f9)}.ai-chat-head .dot{width:10px;height:10px;border-radius:50%;background:#cbd5e1;display:inline-block}.ai-chat-head .dot.red{background:#ef4444}.ai-chat-head .dot.amber{background:#f59e0b}.ai-chat-head .dot.green{background:#10b981}.ai-chat-title{margin-left:.35rem;font-size:.85rem;font-weight:600;color:#0f172a}.ai-chat-body{flex:1 1 0%;padding:1.5rem 1.4rem;display:flex;flex-direction:column;gap:.85rem;background:#fff;max-height:520px;overflow-y:auto;scroll-behavior:smooth;scrollbar-gutter:stable}.ai-chat-body::-webkit-scrollbar{width:10px}.ai-chat-body::-webkit-scrollbar-track{background:0 0}.ai-chat-body::-webkit-scrollbar-thumb{background:rgba(15,23,42,.15);border-radius:999px;border:2px solid #fff}.ai-chat-body::-webkit-scrollbar-thumb:hover{background:rgba(15,23,42,.28)}.msg{display:block;max-width:78%;padding:.7rem .95rem;border-radius:14px;font-size:.9rem;line-height:1.5;color:#0f172a}.msg.user{align-self:flex-end;background:#2563eb;color:#fff;border-bottom-right-radius:4px}.msg.bot{align-self:flex-start;background:#f1f5f9;color:#0f172a;border-bottom-left-radius:4px}.msg.bot svg{width:15px;height:15px;color:#10b981;vertical-align:-3px;margin-right:4px}.msg strong{font-weight:600}.ai-chat-input{display:flex;align-items:center;gap:.55rem;padding:.85rem 1.15rem;border-top:1px solid rgba(15,23,42,.08);background:#f8fafc}.ai-chat-input>svg{width:16px;height:16px;color:#64748b;margin-left:.35rem}.ai-chat-input input{flex:1 1 0%;background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:10px;padding:.6rem .85rem;font-family:inherit;font-size:.9rem;color:#0f172a;outline:0;transition:border-color .2s,box-shadow .2s}.ai-chat-input input:focus{border-color:rgba(37,99,235,.55);box-shadow:rgba(37,99,235,.12) 0 0 0 3px}.ai-send{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#0f172a;color:#fff;border:currentcolor;border-image:initial;cursor:pointer;transition:background .2s,transform .2s}.ai-send:hover{background:#1e293b;transform:translateY(-1px)}.ai-send svg{width:16px;height:16px}.erp-console{display:grid;grid-template-columns:220px 1fr;min-height:460px}.erp-side{display:flex;flex-direction:column;gap:.15rem;padding:1rem .75rem;background:linear-gradient(#f8fafc,#eef2f7);border-right:1px solid rgba(15,23,42,.08)}.erp-side-eyebrow{font-size:.6rem;letter-spacing:2.5px;text-transform:uppercase;color:#94a3b8;font-weight:600;padding:.35rem .65rem .5rem}.erp-side-item{display:inline-flex;align-items:center;gap:.55rem;padding:.55rem .75rem;background:0 0;border:currentcolor;border-image:initial;border-radius:10px;font-family:inherit;font-size:.85rem;font-weight:500;color:#475569;text-align:left;cursor:pointer;transition:background .2s,color .2s}.erp-side-item:hover{background:rgba(15,23,42,.05);color:#12253d}.erp-side-item.active{background:#fff;color:#0f172a;box-shadow:rgba(15,23,42,.06) 0 2px 6px}.erp-side-item svg{width:15px;height:15px}.erp-main{padding:1.5rem 1.75rem 1.75rem}.erp-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(15,23,42,.08);margin-bottom:1rem;flex-wrap:wrap}.erp-crumb{font-size:.85rem;color:#475569;font-weight:500}.erp-crumb span+span{color:#cbd5e1;margin:0 .35rem}.erp-toolbar-right{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap}.erp-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .65rem;background:rgba(15,23,42,.05);border:1px solid rgba(15,23,42,.08);border-radius:999px;font-size:.75rem;font-weight:500;color:#475569}.erp-chip.ok{background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.25);color:#047857}.erp-chip svg{width:13px;height:13px}.erp-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-bottom:1.25rem}.kpi{display:flex;flex-direction:column;gap:.2rem;padding:.85rem 1rem;background:#f8fafc;border:1px solid rgba(15,23,42,.06);border-radius:12px}.kpi>span{font-size:.7rem;letter-spacing:1.5px;text-transform:uppercase;color:#64748b;font-weight:600}.kpi>strong{font-size:1.35rem;font-weight:600;color:#0f172a;font-family:"Playfair Display",serif}.kpi>em{font-style:normal;font-size:.72rem;color:#94a3b8;font-weight:500}.erp-table{width:100%;border-collapse:collapse;font-size:.85rem}.erp-table th{text-align:left;padding:.65rem .75rem;font-size:.7rem;letter-spacing:1.5px;text-transform:uppercase;color:#64748b;font-weight:600;border-bottom:1px solid rgba(15,23,42,.08);background:#f8fafc}.erp-table td{padding:.7rem .75rem;border-bottom:1px solid rgba(15,23,42,.05);color:#334155;vertical-align:middle}.erp-table tr:last-child td{border-bottom:currentcolor}.erp-table tr:hover td{background:#f8fafc}.erp-table td:first-child{font-weight:600;color:#0f172a}.pill{display:inline-block;padding:.2rem .55rem;border-radius:999px;font-size:.7rem;font-weight:600;letter-spacing:.5px;background:rgba(15,23,42,.06);color:#475569}.pill.blue{background:rgba(37,99,235,.1);color:#1d4ed8}.pill.green{background:rgba(16,185,129,.12);color:#047857}.pill.amber{background:rgba(245,158,11,.15);color:#b45309}@media (max-width:960px){.erp-kpis{grid-template-columns:repeat(2,1fr)}.erp-console{grid-template-columns:1fr;min-height:0}.erp-side{flex-direction:row;overflow-x:auto;border-right:currentcolor;border-bottom:1px solid rgba(15,23,42,.08)}.erp-side-eyebrow{display:none}.erp-side-item{flex-shrink:0}.erp-table td:nth-child(3),.erp-table th:nth-child(3){display:none}.erp-toolbar{gap:.5rem}}@media (max-width:600px){.erp-kpis{grid-template-columns:1fr 1fr}.erp-main{padding:1rem .9rem 1.1rem}.msg{max-width:88%}}.msg.bot.bot-batch{max-width:88%;padding:.9rem 1rem 1rem;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:rgba(15,23,42,.06) 0 8px 22px;border-radius:14px 14px 14px 4px;display:block}.msg.bot.bot-batch .quote-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding-bottom:.65rem;margin-bottom:.65rem;border-bottom:1px dashed rgba(15,23,42,.08)}.msg.bot.bot-batch .quote-head-title{font-size:.9rem;color:#0f172a;font-weight:500}.msg.bot.bot-batch .quote-head-title strong{font-weight:700}.msg.bot.bot-batch .quote-head-tag{font-size:.65rem;letter-spacing:1.5px;text-transform:uppercase;color:#2563eb;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.18);padding:.2rem .55rem;border-radius:999px;font-weight:600}.quote-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem}.quote-list li{display:grid;grid-template-columns:minmax(160px,1.4fr) auto;gap:.5rem 1rem;align-items:center;padding:.5rem .65rem;background:#f8fafc;border:1px solid rgba(15,23,42,.05);border-radius:10px}.quote-list .qi-name{font-size:.88rem;font-weight:600;color:#0f172a;line-height:1.3}.quote-list .qi-meta{display:inline-flex;align-items:center;gap:.75rem;flex-wrap:wrap;font-size:.78rem;color:#475569;font-weight:500;justify-self:end}.quote-list .qi-qty{color:#64748b;font-variant-numeric:tabular-nums;min-width:42px;text-align:right}.quote-list .qi-price{color:#0f172a;font-weight:600;font-variant-numeric:tabular-nums;min-width:100px;text-align:right}.quote-list .qi-lead{display:inline-flex;align-items:center;gap:.3rem;color:#475569}.quote-list .qi-lead svg{width:12px;height:12px}.quote-list .qi-margin{padding:.15rem .5rem;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.02em;background:rgba(15,23,42,.06);color:#334155;min-width:52px;text-align:center;font-variant-numeric:tabular-nums}.quote-list .qi-margin.ok{background:rgba(16,185,129,.12);color:#047857}.quote-list .qi-margin.warn{background:rgba(245,158,11,.15);color:#b45309}.quote-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.75rem;padding:.75rem;background:linear-gradient(#f1f5f9,#e2e8f0);border-radius:12px}.quote-summary .qs-cell{display:flex;flex-direction:column;gap:.2rem;align-items:flex-start}.quote-summary .qs-cell span{font-size:.65rem;letter-spacing:1.5px;text-transform:uppercase;color:#64748b;font-weight:600}.quote-summary .qs-cell strong{font-family:"Playfair Display",serif;font-size:1.1rem;color:#0f172a;font-weight:600;font-variant-numeric:tabular-nums}.quote-summary .qs-cell strong.ok{color:#047857}.quote-actions{display:flex;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}.quote-actions button{font-family:inherit;font-size:.82rem;font-weight:500;padding:.5rem .95rem;border-radius:10px;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s}.quote-actions .qa-primary{background:#0f172a;color:#fff;border:1px solid #0f172a}.quote-actions .qa-primary:hover{background:#1e293b;transform:translateY(-1px)}.quote-actions .qa-ghost{background:0 0;color:#334155;border:1px solid rgba(15,23,42,.15)}.quote-actions .qa-ghost:hover{background:rgba(15,23,42,.05)}@media (max-width:640px){.msg.bot.bot-batch{max-width:96%}.quote-list li{grid-template-columns:1fr;gap:.25rem}.quote-list .qi-meta{justify-self:start}.quote-summary{grid-template-columns:1fr 1fr}.quote-summary .qs-cell:last-child{grid-column:1/-1}}.erp-stagger{opacity:0;transform:translateY(14px);transition:opacity .5s,transform .5s}.erp-chart{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:12px;padding:1rem 1.15rem 1.15rem;margin-bottom:1.25rem}.erp-chart-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:.9rem;flex-wrap:wrap}.erp-chart-title{display:block;font-size:.9rem;font-weight:600;color:#0f172a;letter-spacing:0}.erp-chart-sub{display:block;font-size:.72rem;color:#64748b;margin-top:.2rem;letter-spacing:0}.erp-chart-legend{display:inline-flex;align-items:center;gap:.85rem;font-size:.72rem;color:#475569}.erp-chart-legend .lc{display:inline-flex;align-items:center;gap:.35rem}.erp-chart-legend .lc i{display:inline-block;width:10px;height:10px;border-radius:2px;background:currentcolor}.erp-chart-legend .lc-quotes{color:#2563eb}.erp-chart-legend .lc-won{color:#10b981}.erp-chart-bars{display:grid;grid-template-columns:repeat(7,1fr);gap:.75rem;align-items:end;height:168px;padding-top:4px}.bar-group{display:flex;flex-direction:column;align-items:center;gap:.4rem;height:100%;min-width:0}.bar-col{display:flex;align-items:flex-end;justify-content:center;gap:4px;width:100%;height:100%}.bar-col .bar{display:block;width:12px;max-width:42%;height:0;border-radius:4px 4px 0 0;background:#cbd5e1;transition:height .75s cubic-bezier(.16, 1, .3, 1)}.bar.bar-quotes{background:#2563eb}.bar.bar-won{background:#10b981}.bar-label{font-size:.68rem;color:#94a3b8;letter-spacing:.5px;text-transform:uppercase}@media (prefers-reduced-motion:reduce){.erp-stagger{opacity:1;transform:none;transition:none}.bar-col .bar{transition:none}}@media (max-width:600px){.erp-chart-bars{height:140px;gap:.4rem}.bar-col .bar{width:9px}}