/* Megamix B2B — страницы «Главная», «Быстрый заказ», «Мои заказы» (v1, 2026-11-14) */
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.kpi{background:#fff;padding:22px;border-top:3px solid var(--ink);display:flex;flex-direction:column;gap:6px}
.kpi.k-o{border-top-color:var(--act)}.kpi.k-y{border-top-color:var(--yellow)}
.kpi-l{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.kpi-v{font-size:26px;font-weight:700;font-variant-numeric:tabular-nums}
.kpi-s{font-size:13px;color:var(--muted)}
.cols{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.cols>.main{flex:999 1 560px;min-width:0}.cols>.side{flex:1 1 300px;display:flex;flex-direction:column;gap:16px}
.box{background:#fff;padding:24px;display:flex;flex-direction:column;gap:14px}
.box h2{margin:0;font-size:20px;font-weight:700}
.box-hd{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.tg-card{background:var(--ink);color:#fff;padding:26px 24px;display:flex;flex-direction:column;gap:12px;position:relative;overflow:hidden}
.tg-card:before{content:"";position:absolute;top:0;right:0;width:64px;height:64px;background:linear-gradient(135deg,var(--yellow),var(--orange));clip-path:polygon(100% 0,100% 100%,0 0)}
.tg-card .t{font-size:11px;letter-spacing:.3em;color:var(--yellow)}
.tg-card h2{margin:0;font-size:21px;line-height:1.3;max-width:260px}
.tg-card p{margin:0;font-size:14px;color:#D8D5D1;line-height:1.5}
.tg-card .btn{background:#fff;color:var(--ink);align-self:flex-start}
.chip{display:inline-block;font-size:12px;font-weight:600;padding:4px 10px;border-radius:2px;white-space:nowrap}
.chip-n{background:#fff;color:#8F3A12;box-shadow:inset 0 0 0 1px var(--act)}
.chip-p{background:var(--soft);color:#5E3A00}.chip-f{background:#E8E6E2;color:var(--ink)}
.chip-x{background:#F1F0EE;color:#6F6B67;text-decoration:line-through}
.chip-ok{background:var(--ink);color:#fff}.chip-part{background:var(--soft);color:#5E3A00}
.tabs{display:flex;flex-wrap:wrap;gap:8px}
.tab{min-height:40px;display:inline-flex;align-items:center;padding:0 16px;border-radius:2px;background:#fff;color:var(--ink);text-decoration:none;font-size:14px;font-weight:600}
.tab:hover{background:#ECEAE6;color:var(--ink)}.tab.on{background:var(--ink);color:#fff}
.ord-items{margin:0;padding:10px 0 0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
details summary{cursor:pointer;color:var(--act);font-size:13px;font-weight:600}
.qo-area{width:100%;min-height:220px;border:1px solid var(--line2);border-radius:2px;padding:14px;font:14px/1.6 ui-monospace,Consolas,monospace;resize:vertical;color:var(--ink)}
.qo-area:focus{outline:2px solid var(--yellow);border-color:var(--ink)}
.hint{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.total{background:var(--ink);color:#fff;padding:22px 24px;display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center}
.total b{font-size:24px}.total .muted{color:#D8D5D1;font-size:14px}
.total .btn{margin-left:auto}
.sugg{font-size:12px;color:var(--muted)}
.empty-row{padding:28px 20px;color:var(--muted);text-align:center}
