:root{--teal: #0f9d9a;--teal-dark: #0b7f7c;--orange: #f28c28;--bg: #f4f7f7;--border: #dde6e6;--muted: #6b7a7a;--danger: #d64545;--ok: #2e9e5b;--warn: #c98a12}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:#1d2626;font-size:14px}button{font:inherit;cursor:pointer;border-radius:8px;border:1px solid var(--border);background:#fff;padding:7px 14px}button.primary{background:var(--teal);color:#fff;border-color:var(--teal)}button.orange{background:var(--orange);color:#fff;border-color:var(--orange)}button.danger{background:#fff;color:var(--danger);border-color:var(--danger)}button:disabled{opacity:.45;cursor:not-allowed}input,textarea,select{font:inherit;padding:8px 10px;border:1px solid var(--border);border-radius:8px;width:100%;background:#fff}textarea{min-height:70px}.topbar{display:flex;align-items:center;gap:24px;padding:0 24px;height:56px;background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:2}.brand{font-weight:800;font-size:18px;color:var(--teal-dark)}.brand span{color:var(--orange)}.nav button{border:none;background:none;padding:18px 6px;border-radius:0;color:var(--muted);font-weight:600}.nav button.active{color:var(--teal-dark);border-bottom:3px solid var(--teal)}.spacer{flex:1}.layout{display:grid;grid-template-columns:380px 1fr;height:100%}.list{border-right:1px solid var(--border);overflow-y:auto;background:#fff}.list .filters{padding:12px;display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff}.chip{border-radius:999px;padding:4px 10px;font-size:12px}.chip.active{background:var(--teal);color:#fff;border-color:var(--teal)}.row{padding:12px 16px;border-bottom:1px solid var(--border);cursor:pointer}.row:hover{background:#f7fbfb}.row.selected{background:#e8f6f6;border-left:3px solid var(--teal)}.row .t{font-weight:600}.muted{color:var(--muted)}.detail{overflow-y:auto;padding:24px 32px}.card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px 20px;margin-bottom:16px}.card h3{margin:0 0 12px;font-size:15px}.kv{display:grid;grid-template-columns:180px 1fr;gap:6px 12px}.kv .k{color:var(--muted)}.badge{display:inline-block;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:700;color:#fff;background:#8a9a9a;letter-spacing:.02em}.badge.ok{background:var(--ok)}.badge.warn{background:var(--warn)}.badge.bad{background:var(--danger)}.badge.info{background:var(--orange)}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.thumbs{display:flex;gap:8px;flex-wrap:wrap}.thumbs img{width:120px;height:84px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}.error{color:var(--danger);margin:8px 0}.toast{position:fixed;bottom:20px;right:20px;background:#1d2626;color:#fff;padding:10px 16px;border-radius:8px;z-index:10}.login{max-width:380px;margin:12vh auto;background:#fff;padding:32px;border-radius:16px;border:1px solid var(--border)}.login label{display:block;margin:12px 0 4px;color:var(--muted)}.empty{padding:40px;text-align:center;color:var(--muted)}.price{font-size:20px;font-weight:700}.strike{text-decoration:line-through;color:var(--muted);margin-left:8px}.save{color:var(--orange);font-weight:700;margin-left:8px}.shell{display:grid;grid-template-columns:210px 1fr;height:calc(100vh - 56px)}.side{background:#fff;border-right:1px solid var(--border);overflow-y:auto;padding:10px 0}.side .grp{padding:12px 18px 4px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.side button{display:flex;width:100%;border:none;border-radius:0;background:none;text-align:left;padding:8px 18px;color:#2b3636;gap:6px}.side button:hover{background:#f2f8f8}.side button.active{background:#e8f6f6;color:var(--teal-dark);font-weight:700;border-left:3px solid var(--teal);padding-left:15px}.side .count{margin-left:auto;background:var(--orange);color:#fff;border-radius:999px;font-size:11px;padding:0 7px;font-weight:700}.main{overflow:hidden}.main>.layout{height:100%}.page{overflow-y:auto;height:100%;padding:24px 32px}table.t{width:100%;border-collapse:collapse;background:#fff}table.t th,table.t td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--border);vertical-align:top}table.t th{font-size:12px;color:var(--muted);font-weight:600;background:#fafcfc}table.t tr.click{cursor:pointer}table.t tr.click:hover td{background:#f7fbfb}table.t td.num,table.t th.num{text-align:right;white-space:nowrap}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px}.field{display:flex;flex-direction:column;gap:4px;font-size:13px}.field>span{color:var(--muted);font-weight:600;font-size:12px}.check{display:inline-flex;gap:6px;align-items:center;margin-right:12px}.check input{width:auto}.kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:16px}.kpi{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px 16px}.kpi .v{font-size:22px;font-weight:800;color:var(--teal-dark);margin:4px 0}.bar{background:#eef3f3;border-radius:4px;height:10px;min-width:120px}.bar>div{background:var(--teal);height:100%;border-radius:4px}.todo{background:#fff8ec;border:1px dashed var(--warn);color:#7a5300;padding:10px 14px;border-radius:10px;margin:8px 0;font-size:13px}.note{background:#eef7ff;border:1px solid #c8e0f5;color:#24527a;padding:10px 14px;border-radius:10px;margin:8px 0;font-size:13px}.md h1,.md h2,.md h3{margin:14px 0 6px}.md p{margin:6px 0;line-height:1.5}.filepick{display:inline-block;border:1px dashed var(--teal);color:var(--teal-dark);border-radius:8px;padding:6px 12px;cursor:pointer;font-size:13px}.filepick input{display:none}.filepick.disabled{opacity:.45;cursor:not-allowed}.swatch{display:inline-block;width:18px;height:18px;border-radius:4px;border:1px solid var(--border);vertical-align:middle}.thread{display:flex;flex-direction:column;gap:8px;margin:12px 0}.msg{padding:10px 12px;border-radius:10px;max-width:80%;white-space:pre-wrap}.msg.CUSTOMER{background:#f2f4f4;align-self:flex-start}.msg.ADMIN{background:#e3f4f3;align-self:flex-end}.slide{color:#fff;border-radius:12px;padding:14px 16px;min-height:80px;background-size:cover;background-position:center}.switch{display:inline-flex;align-items:center;gap:10px;font-weight:700}.switch input{width:42px;height:22px}.funnel-track{background:#eef3f3;border-radius:4px;height:14px;min-width:120px}.funnel-bar{background:var(--teal);height:100%;border-radius:0 4px 4px 0}.small{font-size:12px}
