:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;background:#eef2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0}.shell{grid-template-columns:288px 1fr;min-height:100vh;display:grid}.sidebar{color:#f8fafc;background:#111827;padding:24px}.brand{align-items:center;gap:12px;margin-bottom:32px;display:flex}.brand strong{font-size:20px;display:block}.brand span{color:#9ca3af;font-size:13px}.filters{gap:14px;display:grid}.filters label,.sale-form{gap:8px;display:grid}.filters label{color:#cbd5e1;font-size:13px}.filters input,.filters select,.sale-form input,.sale-form select{color:#111827;background:#fff;border:1px solid #d8dee9;border-radius:6px;width:100%;min-height:40px;padding:0 10px}.filters button,.primary{border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:42px;font-weight:700;display:inline-flex}.primary{color:#fff;background:#2563eb;padding:0 16px}.primary:disabled{opacity:.65;cursor:wait}.content{gap:22px;padding:26px;display:grid}.topbar{justify-content:space-between;align-items:center;gap:18px;display:flex}.topbar p{color:#64748b;margin:0 0 4px;font-weight:700}.topbar h1{color:#0f172a;margin:0;font-size:28px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.kpi,.panel{background:#fff;border:1px solid #dce3ee;border-radius:8px;box-shadow:0 8px 24px #0f172a0f}.kpi{gap:8px;min-height:108px;padding:18px;display:grid}.kpi span{color:#64748b;font-size:13px;font-weight:700}.kpi strong{color:#111827;overflow-wrap:anywhere;font-size:24px}.workspace{grid-template-columns:1.4fr 1fr;gap:16px;display:grid}.panel{min-width:0;padding:18px}.panel h2{margin:0 0 14px;font-size:17px}.lower-grid{grid-template-columns:300px 1fr;gap:16px;display:grid}.sale-form button{margin-top:4px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:11px 10px}th{color:#64748b;text-transform:uppercase;font-size:12px}.admin-shell{align-content:start;gap:18px;min-height:100vh;padding:28px;display:grid}.admin-header{justify-content:space-between;align-items:center;gap:18px;display:flex}.admin-header p{color:#64748b;margin:0 0 4px;font-weight:800}.admin-header h1{margin:0;font-size:30px}.ghost-link{color:#1d4ed8;background:#dbeafe;border-radius:6px;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.notice{color:#1e3a8a;background:#eff6ff;border-left:4px solid #2563eb;border-radius:6px;padding:12px 14px;font-weight:700}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.admin-lists{grid-template-columns:.85fr 1.15fr;gap:16px;display:grid}.admin-form{gap:12px;display:grid}.admin-form h2{align-items:center;gap:8px;display:flex}.admin-form label{color:#475569;gap:7px;font-size:13px;font-weight:800;display:grid}.admin-form input{border:1px solid #cbd5e1;border-radius:6px;min-height:42px;padding:0 11px}.locked-shell{place-content:center;min-height:100vh}.pin-card{gap:14px;width:min(420px,100vw - 32px);display:grid}.pin-card h1{margin:0;font-size:28px}.pin-card p{color:#64748b;margin:0;font-weight:800}.pin-card label{color:#475569;gap:7px;font-size:13px;font-weight:800;display:grid}.pin-card input{letter-spacing:0;border:1px solid #cbd5e1;border-radius:6px;min-height:44px;padding:0 12px;font-size:20px}@media (width<=980px){.shell{grid-template-columns:1fr}.sidebar{position:static}.kpi-grid,.workspace,.lower-grid,.admin-grid,.admin-lists{grid-template-columns:1fr}.topbar,.admin-header{flex-direction:column;align-items:stretch}}:root{color:#e6edf7;background:#08111f}body{color:#e6edf7;background:radial-gradient(circle at 18% 12%,#2563eb2e,#0000 32rem),linear-gradient(135deg,#08111f 0%,#101827 48%,#0d1f26 100%)}.shell,.admin-shell,.locked-shell{background:linear-gradient(#ffffff08,#0000 18rem),0 0}.sidebar{background:linear-gradient(#07101d 0%,#0b1727 52%,#0a2024 100%);border-right:1px solid #94a3b82e;box-shadow:12px 0 36px #0003}.brand strong,.topbar h1,.admin-header h1,.pin-card h1{color:#f8fbff}.brand span,.topbar p,.kpi span,.pin-card p,th{color:#91a4bc}.filters label,.admin-form label{color:#b8c6d9}.filters input,.filters select,.sale-form input,.sale-form select,.admin-form input,.pin-card input{color:#edf5ff;background:#0d1b2c;border-color:#274059;outline:none}.filters input:focus,.filters select:focus,.sale-form input:focus,.sale-form select:focus,.admin-form input:focus,.pin-card input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf829}.filters button{color:#d9e7f8;background:#1c2d43}.filters button:hover,.ghost-link:hover{background:#263b57}.primary{color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e);box-shadow:0 12px 26px #2563eb38}.primary:hover{filter:brightness(1.08)}.kpi,.panel,.pin-card{background:#0c1826eb;border-color:#94a3b82e;box-shadow:0 18px 44px #00000047}.kpi strong{color:#fff}.panel h2,.admin-form h2{color:#eff6ff}th,td{border-bottom-color:#94a3b829}tbody tr:hover{background:#38bdf80f}.ghost-link{color:#dff6ff;background:#143047}.notice{color:#bae6fd;background:#0e749029;border-left-color:#38bdf8}.error-notice{color:#fecdd3;background:#7f1d1d57;border-left-color:#fb7185}.recharts-cartesian-axis-tick-value,.recharts-legend-item-text{fill:#a8bbd2;color:#a8bbd2!important}.recharts-cartesian-grid line{stroke:#94a3b82e}.recharts-tooltip-wrapper{color:#0f172a}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#0c1826f0;border:1px solid #94a3b833;border-radius:8px;gap:14px;width:min(22rem,100%);padding:2.35rem;display:grid;box-shadow:0 24px 60px #00000057}.login-card h1{color:#f8fbff;margin:0;font-size:1.55rem}.login-card p{color:#91a4bc;margin:-.35rem 0 .55rem;font-weight:800}.login-card label{color:#b8c6d9;gap:7px;font-size:.85rem;font-weight:800;display:grid}.login-card input{color:#edf5ff;background:#0d1b2c;border:1px solid #274059;border-radius:6px;width:100%;min-height:42px;padding:0 .75rem}.login-card input:focus{border-color:#38bdf8;outline:none;box-shadow:0 0 0 3px #38bdf829}.login-card button{color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e);border-radius:6px;min-height:44px;font-weight:800}.login-card button:disabled{opacity:.66;cursor:not-allowed}.login-error{color:#fecdd3;background:#7f1d1d57;border-radius:6px;padding:.65rem .8rem;font-size:.85rem;font-weight:800}.shell,.admin-shell{--app-bg:#08111f;--app-bg-2:#101827;--surface:#0c1826eb;--surface-strong:#102032f5;--surface-soft:#94a3b81a;--border:#94a3b833;--text:#e6edf7;--heading:#f8fbff;--muted:#91a4bc;--field:#0d1b2c;--accent:#38bdf8;--accent-2:#0f766e;--button-text:#fff;--shadow:0 18px 44px #00000047;background:radial-gradient(circle at 16% 10%, #2563eb29, transparent 34rem), linear-gradient(135deg, var(--app-bg) 0%, var(--app-bg-2) 52%, #0d1f26 100%);color:var(--text)}.shell[data-theme=light],.admin-shell[data-theme=light]{--app-bg:#edf3fb;--app-bg-2:#f8fbff;--surface:#fffffff0;--surface-strong:#fff;--surface-soft:#2563eb14;--border:#56678433;--text:#172033;--heading:#0f172a;--muted:#5d6d83;--field:#fff;--accent:#2563eb;--accent-2:#0f766e;--button-text:#fff;--shadow:0 18px 38px #0f172a1c;background:radial-gradient(circle at 18% 8%,#2563eb21,#0000 32rem),linear-gradient(135deg,#edf3fb 0%,#fff 46%,#edf7f5 100%)}.shell[data-theme=coffee],.admin-shell[data-theme=coffee]{--app-bg:#11100d;--app-bg-2:#1a1712;--surface:#201b14ed;--surface-strong:#2a2218f7;--surface-soft:#f59e0b1f;--border:#e5be8138;--text:#f2eadf;--heading:#fff8ec;--muted:#cbbba5;--field:#181510;--accent:#f59e0b;--accent-2:#0f766e;--button-text:#15110a;--shadow:0 18px 44px #00000059;background:radial-gradient(circle at 16% 12%,#f59e0b2b,#0000 32rem),linear-gradient(135deg,#11100d 0%,#1a1712 50%,#102421 100%)}.shell[data-theme] .sidebar{background:linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 92%, #000 8%), color-mix(in srgb, var(--surface-strong) 70%, var(--accent-2) 30%));border-right:1px solid var(--border)}.shell[data-theme] .content,.admin-shell[data-theme]{color:var(--text)}.shell[data-theme] .topbar h1,.shell[data-theme] .brand strong,.admin-shell[data-theme] .admin-header h1{color:var(--heading)}.shell[data-theme] .topbar p,.shell[data-theme] .brand span,.admin-shell[data-theme] .admin-header p{color:var(--muted)}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.theme-switch{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-height:42px;padding:4px;display:inline-grid}.theme-switch button{min-width:82px;min-height:32px;color:var(--muted);background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;font-weight:800;display:inline-flex}.theme-switch button.active{background:var(--surface-strong);color:var(--heading);box-shadow:0 8px 20px #00000024}.secondary-action,.ghost-link{min-height:42px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.shell[data-theme] .primary,.admin-shell[data-theme] .primary{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:var(--button-text);box-shadow:0 12px 26px color-mix(in srgb, var(--accent) 24%, transparent)}.hero-panel{border:1px solid var(--border);background:var(--surface-strong);min-height:240px;box-shadow:var(--shadow);border-radius:8px;grid-template-columns:minmax(0,.95fr) minmax(280px,1.05fr);display:grid;overflow:hidden}.hero-copy{z-index:1;align-content:center;gap:12px;padding:28px;display:grid;position:relative}.hero-copy span{color:var(--accent);letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:900}.hero-copy h2{max-width:620px;color:var(--heading);margin:0;font-size:30px;line-height:1.08}.hero-copy p{max-width:560px;color:var(--muted);margin:0;font-weight:750}.hero-stats{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.hero-stats strong{border:1px solid var(--border);background:var(--surface-soft);min-width:112px;color:var(--heading);border-radius:8px;padding:10px 12px;font-size:20px}.hero-stats strong span{color:var(--muted);text-transform:uppercase;margin-top:2px;font-size:11px;display:block}.hero-panel img{object-fit:cover;object-position:center;width:100%;height:100%;min-height:240px}.shell[data-theme] .kpi,.shell[data-theme] .panel,.admin-shell[data-theme] .panel{background:var(--surface);border-color:var(--border);box-shadow:var(--shadow)}.shell[data-theme] .kpi strong,.shell[data-theme] .panel h2,.admin-shell[data-theme] .panel h2{color:var(--heading)}.shell[data-theme] .kpi span,.shell[data-theme] th{color:var(--muted)}.shell[data-theme] td,.admin-shell[data-theme] td{color:var(--text)}.shell[data-theme] th,.shell[data-theme] td,.admin-shell[data-theme] th,.admin-shell[data-theme] td{border-bottom-color:var(--border)}.shell[data-theme] input,.shell[data-theme] select,.admin-shell[data-theme] input,.admin-shell[data-theme] select{background:var(--field);color:var(--text);border-color:var(--border)}.shell[data-theme] input:focus,.shell[data-theme] select:focus,.admin-shell[data-theme] input:focus,.admin-shell[data-theme] select:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);outline:none}@media (width<=1120px){.topbar{flex-direction:column;align-items:stretch}.topbar-actions{justify-content:flex-start}}@media (width<=760px){.hero-panel{grid-template-columns:1fr}.hero-panel img{max-height:220px}.theme-switch{width:100%}.theme-switch button{min-width:0}}
