:root{--bg: #f4f1ec;--sidebar: #2f241c;--sidebar-text: #f5f5f4;--card: #ffffff;--border: #e7e5e4;--accent: #dc2626;--accent-soft: #fff7ed;--text: #2f241c;--muted: #78716c;--success: #15803d;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.mgr{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.mgrSidebar{background:var(--sidebar);color:var(--sidebar-text);padding:20px 16px;display:flex;flex-direction:column;gap:24px}.mgrBrand img{height:48px;width:auto;display:block}.mgrNav{display:grid;gap:6px}.mgrNav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;color:#d6d3d1;font-weight:700;font-size:14px}.mgrNav a:hover{background:#ffffff14;color:#fff}.mgrNav a.active{background:var(--accent);color:#fff}.mgrSidebarFoot{margin-top:auto;display:grid;gap:8px}.mgrSidebarFoot a,.mgrSidebarFoot button{display:flex;align-items:center;gap:8px;background:none;border:0;color:#d6d3d1;cursor:pointer;padding:8px;font-weight:600;font-size:13px}.mgrSidebarFoot a:hover,.mgrSidebarFoot button:hover{color:#fff}.mgrMain{display:flex;flex-direction:column;min-width:0}.mgrTop{padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);background:#fff9}.mgrTop h1{margin:0;font-size:28px;letter-spacing:-.03em}.mgrTopActions{display:flex;gap:10px}.mgrContent{padding:24px 28px 48px}.mgrTable{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden}.mgrTable th,.mgrTable td{padding:12px 14px;text-align:left;border-bottom:1px solid #f5f5f4;font-size:14px}.mgrTable th{background:#fafaf9;font-weight:800}.mgrPrimaryBtn,.mgrGoogleBtn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:999px;font-weight:800;border:0;cursor:pointer;background:var(--accent);color:#fff;text-decoration:none}.mgrGoogleBtn{width:100%;margin-bottom:12px;background:#fff;color:#1f2937;border:1px solid #e7e5e4}.loginDivider{text-align:center;color:#78716c;font-size:13px;margin:12px 0}.statGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-bottom:24px}.statCard{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:18px;display:flex;gap:14px;align-items:flex-start}.statIcon{width:44px;height:44px;border-radius:14px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}.statCard p{margin:0;color:var(--muted);font-size:13px;font-weight:700}.statCard strong{display:block;font-size:22px;margin-top:4px}.statCard small{color:var(--muted);font-size:12px}.panelGrid{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.panel{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:20px}.panel h2{margin:0 0 16px;font-size:18px}.marketplacePanel{margin-bottom:20px}.marketplaceFacts{list-style:none;margin:0;padding:0;display:grid;gap:12px}.marketplaceFacts li{display:flex;flex-direction:column;gap:4px}.marketplaceFacts strong{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.mgrGoogleBtn.secondary{margin-top:8px;background:transparent;border:1px solid var(--border);color:var(--text)}.shopConnectBtns{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.alert.success{background:#ecfdf5;color:#065f46;padding:12px;border-radius:8px;margin-bottom:16px}.loginLang{position:absolute;top:20px;right:20px}.loginPage{position:relative}.langSwitch{display:inline-flex;border:1px solid #e7e5e4;border-radius:999px;overflow:hidden}.langSwitch button{border:0;background:transparent;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer}.langSwitch button.active{background:var(--accent);color:#fff}.mgrTopActions{display:flex;align-items:center;gap:16px}.oauthBtn,.mgrOAuthBtn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:12px 18px;border-radius:10px;font-weight:700;text-decoration:none;border:1px solid #e7e5e4;background:#fff;color:#1f2937;margin-bottom:10px}.oauthIcon{width:22px;height:22px}.mgrOAuthBtn.dex{background:#eff6ff}.panelHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.panelHead h2{margin:0}.panelHead a{color:var(--accent);font-weight:800;font-size:14px}.cashflowChart{list-style:none;margin:0;padding:0;display:grid;gap:12px}.cashflowChart li{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;font-size:14px}.barTrack{height:10px;background:#f5f5f4;border-radius:999px;overflow:hidden}.barFill{height:100%;background:linear-gradient(90deg,#dc2626,#fb923c);border-radius:999px}.dataTable{width:100%;border-collapse:collapse;font-size:14px}.dataTable th{text-align:left;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em;padding:10px 8px;border-bottom:1px solid var(--border)}.dataTable td{padding:12px 8px;border-bottom:1px solid #fafaf9;vertical-align:top}.dataTable.compact td,.dataTable.compact th{padding:8px}.productCell{display:flex;gap:12px;align-items:center}.productCell img{width:48px;height:48px;object-fit:cover;border-radius:10px}.productCell small{color:var(--muted);display:block}.pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:800;text-transform:capitalize;background:#f5f5f4}.pill.paid{background:#dcfce7;color:var(--success)}.pill.pending{background:#fef9c3;color:#a16207}.pill.status-published{background:#dcfce7;color:var(--success)}.pill.status-draft{background:#f5f5f4;color:var(--muted)}.pill.status-private{background:#fee2e2;color:#991b1b}.pill.dispatch-pending_dispatch{background:#ffedd5;color:#c2410c}.pill.dispatch-dispatched{background:#dbeafe;color:#1d4ed8}.toolbar{margin-bottom:16px;display:flex;gap:12px}.toolbar select{min-height:40px;border:1px solid var(--border);border-radius:12px;padding:0 12px;background:#fff}.btn{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:12px;padding:10px 16px;font-weight:800;cursor:pointer}.btn.primary{background:var(--accent);color:#fff}.btn.ghost{background:#f5f5f4;color:var(--text)}.btn.small{padding:6px 12px;font-size:12px}.btn:disabled{opacity:.55;cursor:not-allowed}.iconBtn{border:0;background:#f5f5f4;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;cursor:pointer}.iconBtn.danger{color:#991b1b;background:#fee2e2}.rowActions{display:flex;gap:6px}.alert{padding:14px 16px;border-radius:12px;margin-bottom:16px;font-weight:700}.alert.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.muted{color:var(--muted)}.modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#2f241c73;display:grid;place-items:center;padding:24px;z-index:100}.modal{background:#fff;border-radius:20px;padding:24px;width:min(480px,100%);max-height:90vh;overflow:auto;display:grid;gap:8px}.modal h2{margin:0 0 8px}.modal label{font-weight:800;font-size:13px;color:var(--muted);margin-top:4px}.modal input,.modal select,.modal textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:10px 12px}.modalActions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.loginPage{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#fff8ef,#ffedd5)}.loginCard{background:#fff;border-radius:24px;padding:36px;width:min(400px,100%);box-shadow:0 24px 60px #2f241c1f;display:grid;gap:10px}.loginLogo{height:56px;width:auto;margin:0 auto}.loginCard h1{margin:0;text-align:center}.loginCard p{margin:0;text-align:center;color:var(--muted)}.loginCard label{font-weight:800;font-size:13px}.loginCard input{min-height:48px;border:1px solid var(--border);border-radius:14px;padding:0 14px}.loginCard button{margin-top:8px;min-height:48px;border:0;border-radius:14px;background:var(--accent);color:#fff;font-weight:900;cursor:pointer}.loginError{color:#991b1b;font-weight:700;margin:0}.exportPanel .exportForm{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin:20px 0}.exportColumns{columns:2;color:var(--muted);line-height:1.8}@media (max-width: 900px){.mgr{grid-template-columns:1fr}.mgrSidebar{flex-direction:row;flex-wrap:wrap;align-items:center}.mgrNav{display:flex;flex-wrap:wrap}.panelGrid{grid-template-columns:1fr}}
