@import "https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap";:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1220;--panel:#141d2e;--line:#94a3b824;--cyan:#3b82f6;--accent:#60a5fa;--success:#22c55e;--warning:#f59e0b;--danger:#ef4444;--text-strong:#f1f5f9;--text-soft:#94a3b8;--text-muted:#64748b;--display:"DM Sans", system-ui, sans-serif;--mono:"IBM Plex Mono", "SFMono-Regular", Consolas, monospace;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--shadow-sm:0 1px 2px #0000003d;--shadow-md:0 8px 24px #00000047;--shadow-lg:0 18px 48px #00000052;font-family:var(--display);color:var(--text-soft);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{background:var(--bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;min-width:320px;margin:0}button,input,select,textarea{font:inherit;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}select option,select optgroup{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f4f4f5!important;background-color:#18181b!important}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.shell{--surface:#141d2eeb;--surface-strong:#111827;--sidebar-bg:#0f172a;--topbar-bg:#0b1220f5;--field-bg:#162033;--button-bg:#162033eb;--button-text:#e2e8f0;--table-row:#3b82f60f;--shadow-cyan:#3b82f63d;background:radial-gradient(circle at top right, #3b82f614, transparent 34%), radial-gradient(circle at bottom left, #22c55e0a, transparent 28%), var(--bg);grid-template-columns:248px minmax(0,1fr);height:100svh;min-height:100svh;display:grid;overflow:hidden}.shell.reports-mode{grid-template-columns:260px minmax(0,1fr)}.system-admin-shell{grid-template-columns:248px minmax(0,1fr)}.system-admin-nav-label{color:var(--text-muted);font:700 10px var(--mono);letter-spacing:0;text-transform:uppercase;margin:18px 12px 7px}.system-admin-identity{color:var(--text-strong);font:600 13px var(--display);gap:3px;margin-bottom:12px;padding:0 8px;display:grid}.system-admin-identity span{color:var(--text-muted);font:500 10px var(--mono)}.system-admin-signout{border:1px solid var(--line);width:100%;min-height:34px;color:var(--text-muted);cursor:pointer;font:600 11px var(--display);background:0 0;border-radius:5px}.system-admin-shell .admin-metric{cursor:default}.system-admin-shell .admin-metric:hover{background:var(--surface)}.shell.reports-mode .workspace{width:100%}.shell.light{--bg:#f4f7fb;--panel:#fff;--line:#0f172a14;--cyan:#2563eb;--accent:#3b82f6;--danger:#dc2626;--text-strong:#0f172a;--text-soft:#475569;--text-muted:#64748b;--surface:#fffffff5;--surface-strong:#e8eef5;--sidebar-bg:#fff;--topbar-bg:#fffffff5;--field-bg:#f1f5f9;--button-bg:#f1f5f9f5;--button-text:#0f172a;--table-row:#2563eb0f;--shadow-cyan:#2563eb24}.sidebar{background:var(--sidebar-bg);border-right:1px solid var(--line);flex-direction:column;min-width:0;height:100svh;min-height:100svh;padding:24px 16px 18px;display:flex;overflow:hidden auto;box-shadow:inset -1px 0 #ffffff05}.brand{align-items:center;gap:12px;padding:0 8px 32px;display:flex}.brand-mark{color:#fff;width:42px;height:42px;font:700 18px var(--display);background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:12px;flex-shrink:0;place-items:center;display:grid;box-shadow:0 10px 24px #2563eb47}.brand-text strong{color:var(--text-strong);font-family:var(--display);letter-spacing:-.02em;font-size:18px;font-weight:700;line-height:1.1;display:block}.brand-text span{color:var(--text-muted);margin-top:2px;font-size:11px;font-weight:500;display:block}.nav{gap:4px;display:grid}.nav button{border-radius:var(--radius-sm);height:40px;color:var(--text-soft);font:600 13px var(--display);text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:0 12px;transition:background .16s,color .16s;display:flex}.nav button:hover,.nav button.active{color:var(--text-strong);background:#3b82f61f}.nav-icon{width:18px;height:18px;color:var(--accent);opacity:.95;background:#3b82f61f;border-radius:4px;flex-shrink:0;position:relative}.nav-icon.grid:before,.nav-icon.grid:after,.nav-icon.apps:before,.nav-icon.apps:after{content:""}.nav-icon.grid{background:linear-gradient(currentColor 0 0) 50% 0/1px 100% no-repeat,linear-gradient(currentColor 0 0) 0/100% 1px no-repeat}.nav-icon.box:before,.nav-icon.cart:before,.nav-icon.tag:before,.nav-icon.doc:before,.nav-icon.gear:before{content:"";border-top:1px solid;position:absolute;inset:4px}.new-entry{border-radius:var(--radius-md);color:#fff;height:42px;font:600 13px var(--display);background:linear-gradient(135deg,#2563eb,#1d4ed8);border:0;margin-top:auto;transition:transform .16s,box-shadow .16s;box-shadow:0 10px 24px #2563eb3d}.new-entry:hover{transform:translateY(-1px);box-shadow:0 14px 28px #2563eb52}.nav-group-toggle{border-radius:var(--radius-sm);height:40px;color:var(--text-soft);font:600 13px var(--display);text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;padding:0 12px;transition:background .16s,color .16s;display:flex}.nav-group-toggle:hover,.nav-group-toggle.active{color:var(--text-strong);background:#3b82f61f}.nav-caret{opacity:.7;margin-left:auto}.nav-sub-group{gap:2px;margin-bottom:4px;padding-left:12px;display:grid}.nav-sub-item{border-radius:var(--radius-sm);height:34px;color:var(--text-muted);font:500 12px var(--display);text-align:left;border:0;border-left:2px solid var(--line,#3b82f626);background:0 0;align-items:center;gap:8px;width:100%;padding:0 10px;transition:background .16s,color .16s;display:flex}.nav-sub-item:hover{color:var(--text-soft);background:#3b82f614}.nav-sub-item.active{color:var(--accent);border-left-color:var(--accent);background:#3b82f624}.stock-movements,.stock-adjustments{min-height:100%;padding:24px 32px;overflow-y:auto}.stock-movements .page-header,.stock-adjustments .page-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.stock-movements .page-header h1,.stock-adjustments .page-header h1{font:700 22px var(--display);color:var(--text-strong)}.stock-movements .data-grid{background:var(--surface);border-radius:var(--radius-md);border:1px solid var(--line,#ffffff0f);overflow:hidden}.stock-movements .table-container{overflow-x:auto}.stock-movements table{border-collapse:collapse;width:100%;font-size:13px}.stock-movements table thead tr{background:#3b82f60f}.stock-movements table th{text-align:left;font:600 11px var(--display);text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);border-bottom:1px solid var(--line,#ffffff0f);white-space:nowrap;padding:10px 14px}.stock-movements table td{border-bottom:1px solid var(--line,#ffffff0a);color:var(--text-soft);white-space:nowrap;padding:9px 14px}.stock-adjustments .showcase-field{color:var(--text-soft,#94a3b8);gap:6px;font-size:.85rem;display:grid}.stock-adjustments .showcase-field input,.stock-adjustments .showcase-field select{border:1px solid var(--line,#94a3b833);border-radius:var(--radius-sm,8px);background:var(--bg,#0b1220);width:100%;min-height:40px;color:var(--text-strong,#f1f5f9);font:500 13px var(--display);padding:0 10px}.showcase-register{border:1px solid var(--line,#94a3b824);border-radius:var(--radius-md,12px);background:var(--surface,#141d2e);margin-top:20px;overflow:hidden}.showcase-register-heading{border-bottom:1px solid var(--line,#94a3b824);justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.showcase-register-heading h2{color:var(--text-strong,#f1f5f9);font:700 16px var(--display);margin:0}.showcase-register-heading p{color:var(--text-muted,#94a3b8);font:500 12px var(--display);margin:5px 0 0}.showcase-register-heading>span{color:var(--text-muted,#94a3b8);font:600 11px var(--mono);flex:none}.showcase-register-table-wrap{overflow-x:auto}.showcase-register-table{border-collapse:collapse;table-layout:auto;width:100%;min-width:900px}.showcase-register-table th{background:var(--surface-strong,#1c293b);color:var(--text-muted,#94a3b8);font:700 10px var(--mono);text-align:left;text-transform:uppercase;white-space:nowrap;padding:11px 12px}.showcase-register-table td{border-top:1px solid var(--line,#94a3b81a);color:var(--text-soft,#cbd5e1);font:500 12px var(--display);white-space:nowrap;padding:11px 12px}.showcase-register-table td:nth-child(n+5):nth-child(-n+8){text-align:center;font-variant-numeric:tabular-nums}.showcase-register-table td strong{color:var(--text-strong,#f1f5f9)}.showcase-register-table td small{color:var(--text-muted,#94a3b8);font:500 10px var(--mono);margin-top:3px;display:block}.showcase-register-table tbody tr:hover,.showcase-register-table tbody tr.selected{background:#3b82f61a}.showcase-register-table td button{border:1px solid var(--line,#94a3b833);border-radius:var(--radius-sm,6px);background:var(--bg,#0b1220);min-height:30px;color:var(--text-strong,#f1f5f9);font:600 11px var(--display);cursor:pointer;padding:0 10px}.showcase-register-table td button.selected{border-color:var(--cyan,#3b82f6);background:var(--cyan,#3b82f6);color:#fff}.transfers-page{gap:18px;display:grid}.transfers-heading,.transfer-register-heading,.transfer-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.transfers-heading-actions{align-items:center;gap:10px;display:flex}.transfers-heading h1{color:var(--text-strong);font:800 28px var(--display);margin:0}.transfers-heading p,.transfer-section-heading p{color:var(--text-muted);font:500 13px var(--display);margin:5px 0 0}.transfer-balance{border:1px solid var(--line);background:var(--surface);border-radius:7px;gap:3px;min-width:115px;padding:11px 14px;display:grid}.transfer-balance span{color:var(--text-muted);font:600 10px var(--mono);text-transform:uppercase}.transfer-balance strong{color:var(--text-strong);font:700 20px var(--display)}.transfer-feedback{border:1px solid var(--line);font:500 13px var(--display);border-radius:6px;padding:11px 14px}.transfer-feedback.error{color:#fca5a5;background:#ef44441a;border-color:#ef444459}.transfer-feedback.success{color:#86efac;background:#22c55e1a;border-color:#22c55e4d}.transfer-in-out-section{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.transfer-direction-tabs{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;display:grid}.transfer-direction-tabs button{border:0;border-right:1px solid var(--line);min-height:44px;color:var(--text-muted);font:700 13px var(--display);cursor:pointer;background:0 0}.transfer-direction-tabs button:last-child{border-right:0}.transfer-direction-tabs button.active{color:#93c5fd;background:#3b82f61f}.transfer-in-choice,.transfer-out-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px 18px;display:grid}.transfer-in-choice{grid-template-columns:repeat(2,minmax(0,1fr))}.transfer-in-choice button,.transfer-out-modes button{border:1px solid var(--line);background:var(--field-bg);min-height:74px;color:var(--text-strong);text-align:left;cursor:pointer;border-radius:6px;gap:5px;padding:12px 14px;display:grid}.transfer-in-choice button.active,.transfer-out-modes button.active{background:#3b82f61f;border-color:#60a5fa}.transfer-in-choice span,.transfer-out-modes span{color:var(--text-muted);font:500 11px var(--display)}.transfer-out-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.transfer-out-form label{color:var(--text-muted);font:600 10px var(--mono);text-transform:uppercase;gap:5px;display:grid}.transfer-out-form input,.transfer-out-form select{border:1px solid var(--line);background:var(--field-bg);width:100%;min-height:38px;color:var(--text-strong);border-radius:5px;padding:0 10px}.transfer-out-modes{grid-column:1/-1;padding:16px 18px 4px}.transfer-out-form>label{margin:0 18px}.transfer-out-form>label:first-of-type{margin-left:18px}.transfer-out-notes{grid-column:span 2}.transfer-out-form .transfer-modal-actions{align-items:center;margin:0 18px 18px}.transfer-out-form .transfer-modal-actions strong{color:var(--text-muted);font:600 11px var(--mono);margin-right:auto}@media (width<=900px){.transfer-out-form,.transfer-out-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.transfer-out-notes{grid-column:span 1}}@media (width<=640px){.transfer-in-choice,.transfer-out-modes,.transfer-out-form{grid-template-columns:1fr}.transfer-out-form>label,.transfer-out-form>label:first-of-type,.transfer-out-form .transfer-modal-actions{grid-column:1;margin-left:18px}}.transfer-receive-section,.transfer-register-section,.transfer-close-section{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.transfer-section-heading{border-bottom:1px solid var(--line);padding:16px 18px}.transfer-section-heading h2{color:var(--text-strong);font:700 16px var(--display);margin:0}.transfer-receive-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 18px;display:grid}.transfer-receive-form label,.transfer-close-form label,.transfer-register-filters label{color:var(--text-muted);font:600 10px var(--mono);text-transform:uppercase;gap:5px;display:grid}.transfer-receive-form input,.transfer-close-form input,.transfer-close-form select,.transfer-register-filters input,.transfer-register-filters select{border:1px solid var(--line);background:var(--field-bg);width:100%;min-width:0;min-height:38px;color:var(--text-strong);font:500 12px var(--display);text-transform:none;border-radius:5px;padding:0 10px}.transfer-notes-field{grid-column:span 3}.transfer-submit{align-self:end;min-height:38px}.transfer-receive-modal{width:min(760px,100%)}.transfer-modal-backdrop{z-index:100}.transfer-receive-modal .transfer-receive-form{padding:0}.transfer-modal-actions{grid-column:1/-1;justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.transfer-modal-actions button{border:1px solid var(--line);background:var(--field-bg);min-height:38px;color:var(--text-strong);font:600 12px var(--display);cursor:pointer;border-radius:5px;padding:0 14px}.transfer-register-heading{align-items:center}.transfer-register-filters{align-items:end;gap:10px;display:flex}.transfer-register-filters label:first-child{width:145px}.transfer-register-filters label:last-child{width:230px}.transfer-table-wrap{overflow-x:auto}.transfer-table{border-collapse:collapse;background:var(--surface);width:100%;min-width:1050px}.transfer-table th{background:var(--surface-strong);color:var(--text-muted);font:700 10px var(--mono);text-align:left;text-transform:uppercase;white-space:nowrap;padding:10px 11px}.transfer-table td{border-top:1px solid var(--line);color:var(--text-soft);font:500 12px var(--display);white-space:nowrap;padding:10px 11px}.transfer-table td strong{color:var(--text-strong)}.transfer-table td small{color:var(--text-muted);font:500 10px var(--mono);margin-top:3px;display:block}.transfer-table tr.selected,.transfer-table tbody tr:hover{background:#3b82f614}.transfer-status.open{color:#fbbf24}.transfer-status.closed{color:#86efac}.transfer-actions{gap:6px;display:flex}.transfer-actions button,.transfer-close-form>button:not(.primary-action){border:1px solid var(--line);background:var(--field-bg);min-height:30px;color:var(--text-strong);font:600 11px var(--display);cursor:pointer;border-radius:4px;padding:0 9px}.transfer-empty{text-align:center;color:var(--text-muted)!important;padding:28px!important}.transfer-close-form{flex-wrap:wrap;align-items:end;gap:12px;padding:16px 18px;display:flex}.transfer-close-form label{flex:160px;min-width:150px}.transfer-close-form>button{min-height:38px}.system-admin-page{gap:18px;display:grid}.system-admin-heading,.admin-activity-heading,.admin-refresh-meta,.admin-activity-filters{justify-content:space-between;align-items:center;gap:14px;display:flex}.system-admin-heading h1{color:var(--text-strong);font:800 27px var(--display);margin:0}.system-admin-heading p,.admin-activity-heading p{color:var(--text-muted);font:500 12px var(--display);margin:5px 0 0}.admin-refresh-meta>span{color:var(--text-muted);font:500 11px var(--mono)}.admin-refresh-meta button,.admin-open-record,.admin-user-create,.admin-user-action{border:1px solid var(--line);background:var(--button-bg);min-height:32px;color:var(--button-text);font:600 11px var(--display);cursor:pointer;border-radius:5px;padding:0 11px}.admin-user-create,.admin-user-action{white-space:nowrap}.admin-protected{color:var(--text-muted);font:600 10px var(--mono)}.admin-user-modal{width:min(560px,100vw - 32px)}.admin-user-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;display:grid}.admin-user-form label{color:var(--text-muted);font:600 10px var(--mono);text-transform:uppercase;gap:6px;display:grid}.admin-user-form input,.admin-user-form select{border:1px solid var(--line);background:var(--field-bg);min-height:36px;color:var(--text-strong);font:500 12px var(--display);text-transform:none;border-radius:4px;padding:0 9px}.admin-user-form-wide,.admin-user-form footer{grid-column:1/-1}.shop-users-page{gap:18px;display:grid}.shop-users-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.shop-users-heading h1{color:var(--text-strong);font:800 27px var(--display);margin:0}.shop-users-heading p{color:var(--text-muted);font:500 12px var(--display);margin:5px 0 0}.shop-users-table td strong,.shop-users-table td small{display:block}.shop-users-table td small{color:var(--text-muted);font:500 10px var(--mono);margin-top:3px}.shop-users-table select{border:1px solid var(--line);background:var(--field-bg);min-width:220px;min-height:32px;color:var(--text-strong);font:500 11px var(--display);border-radius:4px;padding:0 8px}.shop-user-actions{gap:6px;display:flex}.admin-user-form footer{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.admin-refresh-meta button:disabled{cursor:wait;opacity:.6}.admin-error{color:#fca5a5;font:500 12px var(--display);background:#ef44441a;border:1px solid #ef444459;border-radius:5px;padding:11px 14px}.admin-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.admin-metric{border:1px solid var(--line);border-left:3px solid var(--accent);background:var(--surface);text-align:left;cursor:pointer;border-radius:6px;gap:8px;min-height:92px;padding:13px 15px;display:grid}.admin-metric:hover{background:var(--surface-strong)}.admin-metric span{color:var(--text-muted);font:600 10px var(--mono);text-transform:uppercase}.admin-metric strong{color:var(--text-strong);font:750 23px var(--display)}.admin-metric.blue{--accent:#60a5fa}.admin-metric.green{--accent:#4ade80}.admin-metric.amber{--accent:#fbbf24}.admin-metric.cyan{--accent:#22d3ee}.admin-metric.orange{--accent:#fb923c}.admin-metric.red{--accent:#f87171}.admin-metric.violet{--accent:#a78bfa}.admin-metric.teal{--accent:#2dd4bf}.admin-activity-section,.admin-business-tools{border:1px solid var(--line);background:var(--surface);border-radius:6px;overflow:hidden}.admin-business-tool-grid{background:var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid}.admin-business-tool{background:var(--surface);min-height:108px;color:var(--text-strong);cursor:pointer;text-align:left;border:0;padding:16px;display:grid}.admin-business-tool:hover,.admin-business-tool:focus-visible{background:var(--surface-hover);outline:none}.admin-business-tool strong{font:700 15px var(--display);align-self:end}.admin-activity-heading{border-bottom:1px solid var(--line);padding:14px 16px}.admin-activity-heading h2{color:var(--text-strong);font:700 15px var(--display);margin:0}.admin-activity-filters{align-items:end}.admin-activity-filters label{color:var(--text-muted);font:600 9px var(--mono);text-transform:uppercase;gap:4px;display:grid}.admin-activity-filters input,.admin-activity-filters select{border:1px solid var(--line);background:var(--field-bg);min-width:160px;min-height:33px;color:var(--text-strong);font:500 11px var(--display);text-transform:none;border-radius:4px;padding:0 8px}.admin-activity-table-wrap{overflow-x:auto}.admin-activity-table{border-collapse:collapse;width:100%;min-width:850px}.admin-activity-table th{background:var(--surface-strong);color:var(--text-muted);font:700 9px var(--mono);text-align:left;text-transform:uppercase;white-space:nowrap;padding:9px 11px}.admin-activity-table td{border-top:1px solid var(--line);color:var(--text-soft);font:500 11px var(--display);vertical-align:middle;padding:9px 11px}.admin-activity-table tbody tr:hover{background:#3b82f60f}.admin-shop-row{cursor:pointer}.admin-shop-link{color:var(--text-strong);cursor:pointer;font:650 11px var(--display);text-align:left;background:0 0;border:0;padding:0}.admin-shop-link:hover{color:var(--cyan);text-decoration:underline}.admin-type-label{color:var(--text-strong);font-weight:650}.admin-activity-amount{color:var(--text-strong);font:600 10px var(--mono);margin-top:3px;display:block}.admin-status{color:var(--text-soft);font:600 9px var(--mono);text-transform:uppercase;background:#94a3b81f;border-radius:10px;padding:3px 7px;display:inline-block}.admin-status.positive{color:#4ade80;background:#22c55e1a}.admin-status.warning{color:#fbbf24;background:#f59e0b1a}.admin-status.neutral{color:var(--text-muted)}.admin-empty{text-align:center;color:var(--text-muted)!important;padding:28px!important}@media (width<=850px){.transfer-receive-form{grid-template-columns:repeat(2,minmax(0,1fr))}.transfer-notes-field{grid-column:span 2}.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-business-tool-grid{grid-template-columns:1fr}}@media (width<=560px){.transfers-heading,.transfer-register-heading{display:grid}.transfer-receive-form{grid-template-columns:1fr}.transfer-notes-field{grid-column:auto}.transfer-register-filters,.transfer-register-filters label:first-child,.transfer-register-filters label:last-child{width:100%}.transfers-heading-actions{justify-content:space-between;width:100%}.system-admin-heading,.admin-activity-heading,.admin-activity-filters{flex-direction:column;align-items:stretch}.admin-activity-filters input,.admin-activity-filters select{width:100%;min-width:0}}.stock-movements table tr:last-child td{border-bottom:none}.stock-movements table td.number{font-variant-numeric:tabular-nums;font-weight:600}.stock-movements table td.positive{color:#22c55e}.stock-movements table td.negative{color:#f87171}.stock-movements .badge{font:600 10px var(--display);text-transform:uppercase;letter-spacing:.05em;color:var(--accent);background:#3b82f624;border-radius:99px;padding:2px 8px;display:inline-block}.stock-movements .badge.purchase{color:#22c55e;background:#22c55e1f}.stock-movements .badge.sale{color:#f87171;background:#ef44441f}.stock-movements .badge.opening_stock{color:#a855f7;background:#a855f71f}.stock-movements .badge.damage,.stock-movements .badge.loss,.stock-movements .badge.theft{color:#ca8a04;background:#eab3081f}.stock-movements .badge.customer_return,.stock-movements .badge.transfer_in{color:#14b8a6;background:#14b8a61f}.stock-movements .search-box{border-radius:var(--radius-sm);border:1px solid var(--line,#ffffff1a);background:var(--surface);align-items:center;gap:8px;padding:6px 12px;display:flex}.stock-movements .search-box input{color:var(--text-strong);font:13px var(--display);background:0 0;border:none;outline:none;width:200px}.stock-movements .load-more{width:100%;color:var(--accent);font:600 13px var(--display);cursor:pointer;background:#3b82f614;border:none;padding:12px;transition:background .16s;display:block}.stock-movements .load-more:hover{background:#3b82f629}.stock-movements .loading-row,.stock-movements .empty-row{text-align:center;color:var(--text-muted);padding:24px!important}.animate-spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.shell .stock-adjustments select,.shell .stock-adjustments input{font:13px var(--display)}.shell.light .stock-movements .data-grid{border-color:#0f172a14}.shell.light .stock-movements table thead tr{background:#2563eb0d}.shell.light .stock-movements table th{border-bottom-color:#0f172a14}.shell.light .stock-movements table td{border-bottom-color:#0f172a0a}.workspace{min-width:0;height:100svh;min-height:0;overflow:hidden auto}.topbar{background:var(--topbar-bg);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);align-items:center;gap:18px;height:56px;padding:0 28px;display:flex}.topbar.minimal{justify-content:space-between}.topbar.minimal .search,.topbar.minimal .scan-button,.topbar.minimal .icon-button,.topbar.minimal .operator{display:none}.search{background:var(--field-bg);border:1px solid var(--line);border-radius:var(--radius-md);flex:auto;align-items:center;gap:9px;min-height:40px;padding:0 14px;display:flex}.global-search{z-index:30;flex:auto;min-width:0;position:relative}.global-search .search{width:100%}.global-search-results{z-index:80;border:1px solid var(--line);background:var(--surface);width:min(620px,100vw - 32px);max-height:min(70vh,480px);box-shadow:var(--shadow-md,0 16px 40px #0000003d);border-radius:7px;position:absolute;top:calc(100% + 7px);left:0;overflow-y:auto}.global-search-message,.global-search-hint{color:var(--text-muted);font:500 12px var(--display);padding:12px 14px}.global-search-message.error{color:var(--danger)}.global-search-result{border:0;border-bottom:1px solid var(--line);width:100%;min-height:56px;color:var(--text-strong);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:14px;padding:9px 14px;display:flex}.global-search-result:hover,.global-search-result:focus-visible{background:var(--surface-strong);outline:none}.global-search-result-copy{gap:3px;min-width:0;display:grid}.global-search-result-copy strong,.global-search-result-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.global-search-result-copy strong{font:600 13px var(--display)}.global-search-result-copy small{color:var(--text-muted);font:500 11px var(--display)}.global-search-result-type{color:var(--accent);font:600 10px var(--mono);flex:none}.global-search-hint{border-top:1px solid var(--line);font-size:10px}.search span,.bell,.help,.apps{width:14px;height:14px;color:var(--text-soft);border:1px solid;border-radius:50%;position:relative}.search span:after{content:"";background:currentColor;width:6px;height:1px;position:absolute;bottom:-2px;right:-5px;transform:rotate(45deg)}.search input{width:100%;min-width:0;color:var(--text-strong);font:500 13px var(--display);background:0 0;border:0;outline:0}.search input::placeholder{color:#6f8694}.top-actions{align-items:center;gap:13px;display:flex}.icon-button{color:var(--text-soft);background:0 0;border:0;padding:0}.apps{background:radial-gradient(currentColor 1px,#0000 1px) 0 0/6px 6px;border-radius:0}.scan-button{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--button-bg);height:36px;color:var(--button-text);font:600 12px var(--display);padding:0 14px}.version{font:700 15px var(--display);color:var(--text-strong);letter-spacing:-.02em}.theme-toggle{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--button-bg);height:36px;color:var(--button-text);font:600 12px var(--display);padding:0 12px}.operator{color:#fff8d8;width:31px;height:31px;font:900 10px var(--mono);background:radial-gradient(circle at 65% 28%,#ffb955,#146a7b 42%,#061826 70%);border:1px solid #15f4ff8c;border-radius:50%;place-items:center;display:grid}.dashboard-filters{border:1px solid var(--line);background:var(--surface);border-radius:7px;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px;padding:14px 16px;display:flex}.dashboard-filter-dates,.dashboard-filter-presets{align-items:end;gap:8px;display:flex}.dashboard-filters label{color:var(--text-muted);font:700 10px var(--mono);gap:5px;display:grid}.dashboard-filters input,.dashboard-filters select{border:1px solid var(--line);background:var(--button-bg);min-width:130px;min-height:34px;color:var(--text-strong);font:600 11px var(--mono);border-radius:4px;padding:0 9px}.dashboard-filters button{border:1px solid var(--line);background:var(--button-bg);min-height:34px;color:var(--button-text);font:700 10px var(--mono);cursor:pointer;border-radius:4px;padding:0 11px}.dashboard-filters button:hover{border-color:var(--cyan)}.dashboard-filter-reset{margin-left:auto}.metric-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:18px;display:grid}.metric-card,.panel,.product-card,.table-frame,.detail-panel,.inventory-stats div{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:var(--radius-md)}.metric-card{align-content:start;gap:8px;min-height:132px;padding:18px 20px;display:grid}.metric-card span,.panel h2,.section-head h2{text-transform:none;letter-spacing:-.01em}.metric-card span{color:var(--text-muted);font:600 12px var(--display)}.metric-card strong{color:var(--text-strong);font:700 24px var(--display);letter-spacing:-.03em}.metric-top{justify-content:space-between;display:flex}.chip-icon{border:2px solid var(--cyan);border-radius:2px;width:15px;height:15px}.metric-top small{color:#8fb7c4;font:800 10px var(--mono)}.danger{color:var(--danger)!important}.metric-line{background:linear-gradient(90deg, var(--cyan), transparent);width:80%;height:3px;margin-top:3px}.dashboard-main{grid-template-columns:minmax(0,1fr) 290px;gap:22px;margin-top:22px;display:grid}.panel{border-radius:7px;padding:21px 22px}.panel-head,.section-head,.inventory-title,.detail-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.panel h2,.section-head h2{color:var(--text-strong);font:900 13px var(--mono);margin:0 0 5px}.panel p,.inventory-title p,.detail-panel p{color:var(--text-soft);font:700 12px var(--mono);margin:0}.segmented{gap:7px;display:flex}.segmented button,.toolbar button,.detail-actions button,.alert-item button,.ghost-button,.theme-toggle{background:var(--button-bg);color:var(--button-text);font:800 11px var(--mono);border:1px solid #1dd4ea73;min-height:32px;padding:0 14px}.segmented .selected,.toolbar .selected,.detail-actions .primary,.alert-item button.urgent,.primary-action{background:var(--cyan);color:#02121d}.bar-chart{grid-template-columns:repeat(12,1fr);align-items:end;gap:8px;height:235px;padding:38px 2px 0;display:grid}.bar-chart i{height:var(--h);background:linear-gradient(#18faff,#0a8fa4);border-radius:2px 2px 0 0;display:block;box-shadow:0 0 18px #18faff85}.chart-times{color:#8aaeb9;font:800 11px var(--mono);border-top:1px solid #17e0f240;justify-content:space-between;padding-top:21px;display:flex}.alert-title{justify-content:space-between;align-items:center;display:flex}.alert-title span{clip-path:polygon(50% 0,100% 100%,0 100%);border:1px solid var(--danger);background:#ff6d7a2e;width:15px;height:15px}.alert-item{border-bottom:1px solid #548ba238;grid-template-columns:1fr auto;gap:9px;padding:18px 0;display:grid}.alert-item strong,.alert-item span,.alert-item b{font:800 11px var(--mono)}.alert-item strong{color:#d9f8ff;display:block}.alert-item span{color:#8aaeb9}.alert-item b{color:#f8d3d4}.alert-item button{grid-column:1/-1;width:100%}.ghost-button{color:#8aaeb9;background:#ffffff06;border-color:#0000;width:100%;margin-top:18px}.section-head{margin-bottom:17px}.section-head span{color:#8aaeb9;font:800 11px var(--mono)}.catalog-grid{grid-template-columns:repeat(4,minmax(145px,1fr));gap:22px;display:grid}.product-card{border-radius:6px;min-width:0;padding:10px}.product-visual{background:radial-gradient(circle at 30% 90%,#15f4ff8c,#0000 28%),linear-gradient(145deg,#092037,#03101d 62%);border:1px solid #15f4ff40;height:126px;margin-bottom:13px;position:relative;overflow:hidden}.product-visual:before,.product-visual:after,.detail-image:before,.detail-image:after{content:"";position:absolute}.product-visual.laptop:before{background:linear-gradient(135deg,#d5e9ef,#465c69);width:80px;height:52px;top:33px;left:52px;transform:skewY(-12deg);box-shadow:-30px 35px 28px #00ffff40}.product-visual.monitor:before{background:linear-gradient(90deg,#14f3ff26,#0000),repeating-linear-gradient(90deg,#14f3ffcc 0 1px,#0000 1px 9px);border:3px solid #355b69;inset:22px 18px 37px}.product-visual.keyboard:before{background:repeating-linear-gradient(90deg,#0ad9e7 0 4px,#132b3b 4px 10px),#0b2536;width:124px;height:45px;top:49px;left:35px;transform:perspective(140px)rotateX(42deg)rotate(-5deg)}.product-visual.console:before{background:linear-gradient(135deg,#061728,#213f4b);border:1px solid #1ed9ef;width:56px;height:86px;top:23px;left:63px;box-shadow:0 0 36px #15f4ff4d}.product-card strong{color:var(--cyan);font:900 12px var(--mono);display:block}.product-card span,.product-card p{color:#cce8ef;font:700 12px var(--mono)}.product-card p{margin:8px 0 0}.product-card b{color:#dffbff;margin-left:9px}.floating-add{background:var(--cyan);color:#02121d;width:54px;height:54px;font:900 28px var(--mono);box-shadow:0 0 26px var(--shadow-cyan);border:0;border-radius:10px;position:fixed;bottom:22px;right:25px}.inventory-layout,.list-detail-layout{grid-template-columns:minmax(0,1fr) 390px;min-height:calc(100svh - 46px);display:grid}.inventory-content{min-width:0}.inventory-title{margin-bottom:15px}.inventory-title h1{color:var(--text-strong);font:900 34px/1.08 var(--display);max-width:390px;margin:0 0 8px}.toolbar{gap:8px;display:flex}.period-select{text-transform:uppercase;width:auto;min-width:118px;min-height:32px;margin-top:0}.table-frame{overflow-x:auto}.list-pagination{border:1px solid var(--line);background:var(--surface);color:var(--text-muted);font:600 11px var(--mono);border-top:0;border-radius:0 0 7px 7px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.pagination-size,.pagination-navigation{align-items:center;gap:8px;display:flex}.list-pagination select,.list-pagination button{border:1px solid var(--line);background:var(--button-bg);min-height:32px;color:var(--button-text);font:600 11px var(--display);border-radius:4px;padding:0 9px}.list-pagination button{cursor:pointer}.list-pagination button:disabled{opacity:.45;cursor:not-allowed}.pagination-navigation span{text-align:center;min-width:82px}table{border-collapse:collapse;width:100%;min-width:690px}th{color:var(--text-strong);background:var(--surface-strong);font:900 11px var(--mono);text-align:left;text-transform:uppercase;padding:15px 16px}td{color:#cce7ee;font:800 12px var(--mono);border-top:1px solid #548ba238;padding:18px 16px}tr.selected-row{background:var(--table-row);box-shadow:inset 3px 0 0 var(--cyan)}tr.clickable-row{cursor:pointer}tr.clickable-row:hover{background:#15f4ff0f}td strong,td span{display:block}td strong{color:#e3fbff}td span{color:#7f9daa;margin-top:4px;font-size:10px}.status{min-width:53px;min-height:22px;color:var(--cyan);border:1px solid #15f4ff52;justify-content:center;align-items:center;font-style:normal;display:inline-flex}.status.low{color:var(--danger);border-color:#ff6d7a66}.inventory-stats{grid-template-columns:repeat(3,1fr);gap:0;margin-top:14px;display:grid}.inventory-stats div{padding:14px 18px}.inventory-stats span,.inventory-stats strong{font:900 11px var(--mono);text-transform:uppercase;display:block}.inventory-stats span{color:#b3dbe4}.inventory-stats strong{color:var(--cyan);margin-top:4px}.detail-panel{border-top:0;border-bottom:0;border-right:0;padding:28px 26px;overflow-y:auto}.transaction-detail{background:var(--surface);border-left:1px solid var(--line)}.detail-head{align-items:center;margin-bottom:25px}.detail-head h2,.detail-panel h2{color:#dffbff;font:900 21px var(--display);margin:0}.detail-head button{color:#bfe5ed;font:900 20px var(--mono);background:0 0;border:0}.detail-image{background:radial-gradient(circle at 62%,#ff8650e6,#0000 5%),radial-gradient(at 62%,#0000 0 19%,#12f3ff 20% 22%,#0000 23% 30%,#ff9a71 31% 33%,#0000 34% 40%,#255eff 41% 44%,#0000 45%),linear-gradient(145deg,#071a2b,#030a12 60%);border:1px solid #15f4ff52;height:196px;margin-bottom:19px;position:relative;overflow:hidden}.detail-image:before{filter:blur(1px);border:3px solid #0000;border-color:#12f3ffa6 #0000 #ff8f5eb3;border-radius:50%;width:320px;height:150px;top:19px;left:40px;transform:rotate(-21deg)}.detail-image:after{background:linear-gradient(#0000 76%,#14f5ff99 77%,#0000 80%);inset:0}.detail-panel p{margin:8px 0 18px}.detail-actions{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:30px;display:grid}.detail-actions button{text-transform:uppercase;min-height:40px}.detail-panel section{border-top:1px solid #548ba240;margin-top:22px;padding-top:22px}.detail-panel h3{color:#d1f8ff;font:900 12px var(--mono);text-transform:uppercase;margin:0 0 16px}dl{grid-template-columns:1fr 1fr;gap:18px 26px;margin:0;display:grid}dt{color:#7f9daa;font:900 9px var(--mono);text-transform:uppercase}dd{color:#e3fbff;font:800 12px var(--mono);margin:3px 0 0}.detail-extracted-text{white-space:pre-wrap;max-height:180px;color:var(--text-soft);font:800 11px/1.55 var(--mono);background:#030c1473;border:1px solid #1dd4ea40;margin:0;padding:12px;overflow:auto}.activity{gap:14px;margin:0;padding:0;list-style:none;display:grid}.activity li{padding-left:26px;position:relative}.activity li:before{content:"";background:var(--cyan);border-radius:50%;width:14px;height:14px;position:absolute;top:2px;left:0;box-shadow:0 0 15px #15f4ff8c}.activity strong,.activity span{font-family:var(--mono);display:block}.activity strong{color:#dffbff;font-size:12px}.activity span{color:#7f9daa;margin-top:3px;font-size:10px}.theme-toggle{min-height:24px;font:900 10px var(--mono);text-transform:uppercase;border-radius:3px;padding:0 12px}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000910b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow:auto}.entry-modal{overscroll-behavior:contain;background:var(--surface);border:1px solid #29709685;gap:18px;width:min(620px,100%);max-height:calc(100dvh - 48px);padding:26px;display:grid;overflow-y:auto;box-shadow:0 24px 80px #0000005c,inset 0 0 24px #0df0ff06}.method-modal{width:min(560px,100%)}.scan-entry-modal{width:min(650px,100%)}.scan-preview-card{border:1px solid var(--line);background:#06142347;padding:12px}.scan-preview-card .scanner-hero{min-height:170px}.method-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.method-card{background:var(--button-bg);min-height:150px;color:var(--text-strong);text-align:left;border:1px solid #1dd4ea73;align-content:center;gap:10px;padding:18px;display:grid}.method-card:hover{border-color:var(--cyan);box-shadow:inset 0 0 0 1px var(--cyan), 0 0 24px var(--shadow-cyan)}.method-card span{font:900 16px var(--mono);text-transform:uppercase}.method-card small{color:var(--text-soft);font:800 11px/1.5 var(--mono)}.entry-modal .detail-head{margin-bottom:0}.entry-modal .detail-head h2{color:var(--text-strong)}.entry-modal .detail-head p{max-width:460px;margin-top:7px}.modal-actions{background:linear-gradient(180deg, #071b2b00, var(--surface) 22%);justify-content:flex-end;gap:12px;margin:0 -26px -26px;padding:14px 26px 26px;display:flex;position:sticky;bottom:-26px}.modal-actions button{background:var(--button-bg);min-height:40px;color:var(--button-text);font:900 11px var(--mono);text-transform:uppercase;border:1px solid #1dd4ea73;padding:0 18px}.primary-action{min-height:34px;font:900 11px var(--mono);text-transform:uppercase;border:1px solid #1dd4ea73;padding:0 18px}.camera-scanner{padding:16px}.camera-viewfinder{aspect-ratio:4/3;color:#fff;width:min(100%,520px);min-height:220px;max-height:min(45vh,390px);font:800 14px var(--mono);background:#000;border-radius:8px;justify-content:center;align-items:center;margin:0 auto;display:flex;position:relative;overflow:hidden}.camera-viewfinder.is-ready{display:block}.camera-viewfinder video,.camera-viewfinder canvas,.camera-viewfinder img{object-fit:cover;display:block;width:100%!important;height:100%!important}.camera-viewfinder img{z-index:1;position:absolute;inset:0}.camera-viewfinder.has-preview-image video{opacity:0}.camera-viewfinder:not(.is-ready) video{opacity:0;position:absolute;inset:0}.take-photo-button{background:var(--button-bg);width:min(100%,520px);min-height:42px;color:var(--button-text);font:900 11px var(--mono);text-transform:uppercase;border:1px solid #1dd4ea73;margin:12px auto 0;padding:0 16px;display:block}.camera-viewfinder>div{width:100%!important;height:100%!important}.scan-image-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.scan-image-actions button{background:var(--button-bg);min-height:42px;color:var(--button-text);font:900 11px var(--mono);text-transform:uppercase;border:1px solid #1dd4ea73;padding:0 16px}.crumbs{color:var(--text-muted);font:900 10px var(--mono);letter-spacing:1px;text-transform:uppercase;margin-bottom:10px}.crumbs b{color:var(--cyan)}.form-head,.report-head,.cart-head,.settings-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.report-head>div{flex:320px;min-width:280px}.report-head .toolbar{justify-content:flex-end;align-items:center;gap:10px;width:min(100%,620px);display:flex}.form-head h1,.report-head h1,.settings-head h1{color:var(--text-strong);font:900 35px/1.05 var(--display);margin:0}.settings-head{margin-bottom:28px;display:block}.report-head p,.settings-head p{color:var(--text-soft);font:700 12px var(--mono);margin:8px 0 0}.report-filters{grid-template-columns:repeat(3,minmax(160px,auto));align-items:end;gap:12px;width:100%;display:grid}.report-filters label{font:700 10px var(--mono);text-transform:uppercase;color:var(--text-soft);gap:4px;min-width:0;display:grid}.report-filters input{min-width:150px}.credit-filter{grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;width:100%;display:grid}.payment-row small{color:var(--text-muted)}.no-data{color:var(--text-soft);font-size:13px}.purchase-grid{grid-template-columns:minmax(360px,1fr) 360px;gap:34px;max-width:980px;margin-top:26px;display:grid}.manual-entry-grid{grid-template-columns:minmax(0,620px)}.scanner-hero{background:linear-gradient(90deg,#15f4ff8c 1px,#0000 1px) 35% 0/1px 100% no-repeat,linear-gradient(#15f4ff73 1px,#0000 1px) 0 55%/100% 1px no-repeat,radial-gradient(circle at 70% 40%,#15f4ff33,#0000 20%),linear-gradient(135deg,#ffffff14,#0000 22%),#08131f;border:1px solid #15f4ff73;border-radius:6px;min-height:270px;position:relative;overflow:hidden}.scanner-hero:before{content:"";border:2px solid #15f4ff61;position:absolute;inset:45px 58px 45px 95px;box-shadow:0 0 28px #15f4ff33}.scanner-hero span{color:var(--text-strong);font:900 11px var(--mono);text-transform:uppercase;background:#061423cc;padding:9px 16px;position:absolute;top:22px;left:22px}.scanner-hero b{color:var(--cyan);font:900 16px var(--mono);position:absolute;bottom:45px;left:72px}.scanner-hero i{background:linear-gradient(90deg, var(--cyan) 72%, #ffffff1f 72%);width:130px;height:8px;position:absolute;bottom:42px;left:28px}.scan-actions{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px;display:grid}.scan-actions button{border:1px solid var(--line);background:var(--surface);min-height:88px;color:var(--text-strong);font:900 11px var(--mono);text-transform:uppercase}.entry-column{gap:16px;display:grid}.compact-panel{padding:18px}.recognition-grid,.field-grid,.money-grid,.settings-grid{gap:14px;display:grid}.recognition-grid{grid-template-columns:1fr 1fr}.recognition-grid div,.connection-box,.summary-box,.cart-item{border:1px solid var(--line);background:#06142347}.recognition-grid div{padding:13px}.recognition-grid b,label{color:var(--text-soft);font:900 10px var(--mono);text-transform:uppercase;display:block}.recognition-grid strong{color:var(--text-strong);font:800 12px var(--mono);margin-top:5px;display:block}.detail-tabs button{color:#0f3b67;background:#fff;border:1px solid #0f3b671f;border-radius:12px;padding:11px 18px;font-size:12px;font-weight:700}.details-table-wrap{margin-top:16px;overflow-x:auto}.details-table{border-collapse:collapse;width:100%;min-width:920px}.details-table thead th{color:#fff;text-align:left;letter-spacing:.1em;background:#0f3b67;padding:14px 16px;font-size:12px;font-weight:800}.details-table td,.details-table th{color:#33475b;border-bottom:1px solid #0f3b6714;padding:14px 16px;font-size:13px}.details-table tbody tr:nth-child(2n){background:#fbfdff}.details-table tfoot td{border-top:2px solid #0f3b6714;font-weight:800}.field-grid{grid-template-columns:repeat(2,1fr);margin-top:12px}.money-grid{grid-template-columns:repeat(3,1fr)}input,select{background:var(--field-bg);width:100%;min-height:40px;color:var(--text-strong);font:800 12px var(--mono);border:1px solid #1dd4ea59;margin-top:8px;padding:0 12px}.reports-page{width:100%;max-width:none;margin:0}.reports-page .report-head{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:stretch;gap:24px;margin-bottom:24px;display:grid}.reports-page .report-head>div{min-width:0}.hero-copy,.hero-actions,.report-controls,.stat-card,.summary-card,.top-product{background:linear-gradient(135deg,#0a1f32f0,#051321c7);border:1px solid #29709685;box-shadow:inset 0 0 24px #0df0ff06}.shell.light .hero-copy,.shell.light .hero-actions,.shell.light .report-controls,.shell.light .stat-card,.shell.light .summary-card,.shell.light .top-product{background:#fffffff0}.hero-copy{border-radius:7px;align-content:end;min-height:230px;padding:32px;display:grid}.hero-copy>span{color:var(--cyan);font:900 11px var(--mono);text-transform:uppercase;margin-bottom:14px}.hero-copy h1{max-width:680px;color:var(--text-strong);font:900 46px/1.02 var(--display);margin:0}.hero-copy p{max-width:680px;color:var(--text-soft);font:800 13px/1.6 var(--mono);margin:14px 0 0}.hero-actions{border-radius:7px;align-content:space-between;gap:22px;padding:24px;display:grid}.hero-summary{gap:8px;display:grid}.hero-summary span,.stat-card span,.summary-card h3,.top-product span,.top-product small{color:var(--text-soft);font:900 10px var(--mono);text-transform:uppercase}.hero-summary strong{color:var(--text-strong);font:900 30px var(--mono);overflow-wrap:anywhere}.hero-summary small{color:var(--text-muted);font:800 11px var(--mono)}.hero-buttons{grid-template-columns:1fr 1fr;gap:10px;display:grid}.hero-buttons button{background:var(--button-bg);color:var(--button-text);font:900 11px var(--mono);text-transform:uppercase;border:1px solid #1dd4ea73;min-height:42px;padding:0 14px}.report-panel{grid-template-columns:minmax(280px,420px) minmax(0,1fr);gap:20px;margin-bottom:22px;display:grid}.report-header{border-bottom:1px solid #0d335c14;grid-template-columns:1fr minmax(260px,360px);align-items:start;gap:18px;padding:22px 0 34px;display:none}.brand-logo{background:linear-gradient(135deg,#0c436d,#0b5479);border-radius:18px;width:72px;height:72px;box-shadow:0 18px 45px #06234f29}.brand-info h1{letter-spacing:.05em;color:#10293f;margin:0;font-size:26px}.store-details strong{color:#17283c;margin-bottom:6px;font-size:15px;display:block}.report-meta{text-align:right}.meta-row{justify-items:end;gap:12px;display:grid}.meta-item{color:#5d7184;font-size:13px}.meta-item strong{color:#17283c;margin-bottom:5px;display:block}.report-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.report-actions button{min-width:110px}.report-filters-panel{border-bottom:1px solid #0d335c14;margin-bottom:20px;padding:16px 0 20px}.filter-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.filter-group label{color:#5d7184;gap:8px;font-size:12px;display:grid}.credit-filter{flex-wrap:wrap;gap:12px;display:flex}.filter-button{color:#10293f;min-width:122px;font:700 12px var(--mono);text-transform:uppercase;background:#fff;border:1px solid #11456a1f;border-radius:999px;padding:11px 16px;transition:transform .18s,border-color .18s,background .18s}.filter-button.selected{color:#fff;background:#0b4d96;border-color:#0b4d96}.summary-cards{grid-template-columns:repeat(3,minmax(240px,1fr));gap:16px;margin:18px 0 28px;display:grid}.summary-card{border-radius:18px;gap:10px;min-width:0;min-height:140px;padding:22px 18px 18px;display:grid;position:relative;box-shadow:0 16px 38px #1031500f}.summary-card h3{letter-spacing:.12em;text-transform:uppercase;color:#1d3a59;margin:0;padding-left:64px;font-size:11px}.summary-card strong{color:#10293f;margin:0;padding-left:64px;font-size:24px;line-height:1.1}.summary-card small{color:#5d7184;margin-left:64px;font-size:11px}.summary-card.purchases{background:linear-gradient(#f1f8ff 0%,#eef8ff 100%);border:1px solid #0e4a7b1f}.summary-card.sales{background:linear-gradient(#e8fff3 0%,#e6fff5 100%);border:1px solid #046e431f}.summary-card.gross{background:linear-gradient(#fff8e6 0%,#fff6e8 100%);border:1px solid #ad7c111f}.summary-card.net{background:linear-gradient(#eef9f3 0%,#effaf5 100%);border:1px solid #107d461f}.summary-card.payments{background:linear-gradient(#f6eefc 0%,#f8f0ff 100%);border:1px solid #5f36821f}.summary-card.purchases-credit{background:linear-gradient(#fff4ee 0%,#fff6f0 100%);border:1px solid #c5662d1f}.summary-card.sales-credit{background:linear-gradient(#eef7ff 0%,#f0f9ff 100%);border:1px solid #4296f51f}.summary-card.expenses{background:linear-gradient(#fff0f3 0%,#fff2f5 100%);border:1px solid #c84c781f}.report-summary-block{gap:18px;margin:20px 0 28px;display:grid}.report-summary-groups{grid-template-columns:repeat(2,minmax(240px,1fr));gap:16px;display:grid}.report-summary-groups.single-summary{grid-template-columns:minmax(240px,1fr)}.summary-group-card{background:#fff;border:1px solid #0f172a14;border-radius:20px;padding:22px 24px;box-shadow:0 18px 36px #1031500f}.summary-group-card h3{letter-spacing:.12em;text-transform:uppercase;color:#0f172a;margin:0 0 16px;font-size:12px}.summary-group-row{color:#334155;border-top:1px solid #e2e8f0;justify-content:space-between;gap:16px;padding:12px 0;font-size:14px;display:flex}.summary-group-row:first-of-type{border-top:0;padding-top:0}.report-profit-summary{grid-template-columns:repeat(2,minmax(240px,1fr));gap:16px;display:grid}.report-profit-summary .summary-card{min-height:140px}.credit-filter button,.filter-button{min-width:0;min-height:38px;color:var(--text-soft);font:900 11px var(--mono);text-transform:uppercase;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:999px;padding:10px 14px;transition:background .18s,border-color .18s,color .18s,transform .18s}.credit-filter button:hover,.filter-button:hover{border-color:#15f4ff59;transform:translateY(-1px)}.filter-all.selected{color:#d6ecff;background:#2196f32e;border-color:#2196f399}.filter-sales.selected{color:#d5ffe8;background:#00c88229;border-color:#00c882a6}.filter-purchase.selected{color:#fff7c3;background:#ffc10724;border-color:#ffc107a6}.report-stats-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.stat-card{border-radius:14px;align-content:start;gap:10px;min-width:0;max-width:320px;padding:18px 20px;display:grid}.stat-card span{color:var(--text-soft);font:700 10px var(--mono);letter-spacing:.08em}.stat-card strong{color:var(--text-strong);font:900 20px var(--mono);overflow-wrap:anywhere;line-height:1.1}.stat-card{background:linear-gradient(#ffffff05,#ffffff03);border:1px solid #ffffff0a;position:relative}.stat-card .card-icon{background:#0000001f;border-radius:50%;width:36px;height:36px;display:inline-block;position:absolute;top:14px;left:14px;box-shadow:inset 0 1px #ffffff05}.stat-card .card-percent{font:700 12px var(--mono);color:#1fb954;position:absolute;top:10px;right:12px}.stat-card .card-title{color:var(--text-soft);font:700 11px var(--mono);text-transform:none;margin-left:56px;display:block}.stat-card strong{color:var(--text-strong);font:900 18px var(--mono);overflow-wrap:anywhere;margin-left:56px}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 22px;display:grid}.reports-page .metric-card{min-width:0}.summary-card{background:linear-gradient(#ffffff05,#ffffff03);border:1px solid #ffffff0a;border-radius:7px;gap:10px;min-width:0;padding:18px;display:grid;position:relative}.summary-card .card-icon{background:#00000014;border-radius:50%;width:36px;height:36px;position:absolute;top:12px;left:12px}.summary-card .card-percent{font:700 12px var(--mono);color:#1fb954;position:absolute;top:10px;right:12px}.summary-card h3,.summary-card strong{margin-left:56px}.summary-card.highlight{background:linear-gradient(135deg,#15f4ff29,#0a1f32e6);border-color:#15f4ffa6}.summary-card h3{margin:0}.summary-card strong{color:var(--text-strong);font:900 21px var(--mono);overflow-wrap:anywhere}.reports-grid{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:22px;display:grid}.reports-grid .panel-head>span{color:var(--cyan);font:900 10px var(--mono);text-transform:uppercase;text-align:right}.report-side-stack{gap:22px;display:grid}.line-chart{background:linear-gradient(#15f4ff0d 1px,#0000 1px) 0 0/100% 25%,#02121f42;border:1px solid #15f4ff24;border-radius:7px;grid-template-columns:repeat(7,minmax(18px,1fr));align-items:end;gap:12px;min-height:320px;padding:26px 16px 14px;display:grid}.line-chart i{height:var(--h);background:linear-gradient(#15f4fffa,#008da038);border-radius:3px 3px 0 0;min-height:6px;display:block;box-shadow:0 0 16px #15f4ff3d}.payment-panel{gap:14px;display:grid}.payment-row{border-bottom:1px solid #548ba238;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;padding:12px 0;display:grid}.payment-row span{color:var(--text-soft);font:800 12px var(--mono)}.payment-row strong{color:var(--text-strong);font:900 12px var(--mono)}.payment-row small{color:var(--text-muted);font:800 10px var(--mono);grid-column:1/-1}.categories{align-content:start;gap:14px;display:grid}.category-row{border-bottom:1px solid #548ba238;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0;display:grid}.category-row span{color:var(--text-soft);font:800 12px var(--mono)}.category-row b{color:var(--text-strong);font:900 12px var(--mono)}.top-products-panel{margin-top:22px}.top-products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.top-product{border-radius:7px;gap:8px;min-width:0;padding:16px;display:grid}.top-product strong{color:var(--text-strong);font:900 18px var(--mono)}.top-product span,.top-product strong{overflow-wrap:anywhere}.no-data{color:var(--text-soft);font:800 12px/1.5 var(--mono)}.transaction-panel{margin-top:22px;padding:0;overflow-x:auto}.transaction-panel .section-head{margin:0;padding:18px 20px}.settings-grid{grid-template-columns:1.2fr 1.8fr;align-items:start}.profile-panel,.system-panel,.inventory-config,.hardware-panel{gap:16px;display:grid}.inventory-config{grid-column:span 1}.system-panel{min-height:250px}.setting-list{grid-template-columns:1fr 1fr;gap:14px;display:grid}.setting-toggle{border:1px solid var(--line);background:var(--button-bg);min-height:70px;color:var(--text-strong);text-align:left;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.setting-toggle b,.setting-toggle small{font-family:var(--mono);display:block}.setting-toggle b{font-size:12px}.setting-toggle small{color:var(--text-soft);margin-top:4px;font-size:9px}.setting-toggle i{background:#47616d;border-radius:999px;width:38px;height:20px;position:relative}.setting-toggle i:after{content:"";background:#cbe7ed;border-radius:50%;width:14px;height:14px;transition:transform .2s;position:absolute;top:3px;left:3px}.setting-toggle i.on{background:var(--cyan)}.setting-toggle i.on:after{background:#fff;transform:translate(18px)}.two-buttons{grid-template-columns:1fr 1fr;gap:12px;display:grid}.two-buttons button,.settings-footer button{background:var(--button-bg);min-height:48px;color:var(--button-text);font:900 11px var(--mono);text-transform:uppercase;border:1px solid #1dd4ea73}.connection-box{grid-template-columns:1fr auto;align-items:center;gap:5px 14px;padding:16px;display:grid}.connection-box b{color:var(--text-strong);font:900 12px var(--mono)}.connection-box span{color:var(--text-muted);font:800 10px var(--mono)}.connection-box button{color:var(--text-strong);font:900 11px var(--mono);text-transform:uppercase;background:0 0;border:0;grid-area:1/2/3}.hardware-row{color:var(--text-strong);font:800 12px var(--mono);justify-content:space-between;display:flex}.hardware-row i{background:var(--cyan);border-radius:50%;width:8px;height:8px}.hardware-row i.danger-dot{background:var(--danger)}.settings-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:18px;margin-top:30px;padding-top:30px;display:flex}.sales-page{grid-template-columns:minmax(0,1fr) 390px;min-height:calc(100svh - 46px);display:grid}.cart-panel{border-right:1px solid var(--line)}.cart-head span,.cart-head p{color:var(--text-strong);font:800 12px var(--mono);display:block}.cart-head p{color:var(--text-soft);margin:5px 0 0}.cart-list{gap:18px;max-width:560px;margin-top:24px;display:grid}.cart-item{grid-template-columns:72px 1fr auto 20px;align-items:center;gap:16px;padding:18px;display:grid}.cart-item strong,.cart-item span{font-family:var(--mono);display:block}.cart-item strong{color:var(--text-strong);font-size:13px}.cart-item span{color:var(--text-soft);margin-top:5px;font-size:11px}.cart-item>b{color:var(--text-strong);font:900 13px var(--mono)}.cart-item>button{color:var(--danger);background:0 0;border:0}.cart-visual{border:1px solid var(--line);background:radial-gradient(circle at 50% 35%,#15f4ff59,#0000 35%),linear-gradient(135deg,#061827,#153b4b);height:72px}.qty{grid-template-columns:26px 32px 26px;margin-top:11px;display:inline-grid}.qty button,.qty b{border:1px solid var(--line);background:var(--button-bg);min-height:25px;color:var(--text-strong);font:900 11px var(--mono);place-items:center;display:grid}.items-count{border-top:1px solid var(--line);max-width:560px;color:var(--text-soft);font:800 11px var(--mono);justify-content:space-between;margin-top:40px;padding-top:13px;display:flex}.checkout-panel{background:var(--surface);align-content:start;gap:18px;padding:34px 26px;display:grid}.checkout-panel h2,.summary-box h3{color:var(--text-strong);font:900 13px var(--mono);text-transform:uppercase;margin:0}.summary-box{gap:13px;padding:22px;display:grid}.summary-box p{color:var(--text-soft);font:800 12px var(--mono);justify-content:space-between;margin:0;display:flex}.summary-box b{color:var(--text-strong)}.payment-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.payment-grid button{border:1px solid var(--line);background:var(--button-bg);min-height:72px;color:var(--text-soft);font:900 11px var(--mono)}.payment-grid .selected{border-color:var(--text-strong);color:var(--text-strong)}.checkout-button{background:var(--cyan);color:#02121d;min-height:65px;font:900 12px var(--mono);text-transform:uppercase;border:0;margin-top:210px}.checkout-links{color:var(--text-soft);font:800 11px var(--mono);justify-content:space-between;display:flex}.shell.light .product-visual,.shell.light .scanner-hero,.shell.light .cart-visual,.shell.light .detail-image{filter:saturate(.9)brightness(1.18)}.shell.light .brand strong,.shell.light .panel h2,.shell.light .section-head h2,.shell.light .metric-card strong,.shell.light .alert-item strong,.shell.light .detail-head h2,.shell.light .detail-panel h2,.shell.light .detail-panel h3,.shell.light td,.shell.light td strong,.shell.light .product-card span,.shell.light .product-card p,.shell.light .product-card b,.shell.light dd,.shell.light .activity strong{color:var(--text-strong)}.shell.light .alert-item span,.shell.light .chart-times,.shell.light td span,.shell.light .activity span,.shell.light .section-head span{color:var(--text-soft)}.shell.light .new-entry,.shell.light .floating-add,.shell.light .segmented .selected,.shell.light .detail-actions .primary,.shell.light .alert-item button.urgent,.shell.light .primary-action,.shell.light .checkout-button{color:#fff}.shell.light .nav button:hover,.shell.light .nav button.active{color:var(--text-strong);background:#2563eb1a}.shell.light .ghost-button{color:var(--text-soft);background:#008da00f}.shell.light .modal-backdrop{background:#d9e8efc2}.shell.light .entry-modal{box-shadow:0 24px 80px #1f48582e}@media (width<=1120px){.shell{grid-template-columns:92px minmax(0,1fr)}.brand strong{font-size:15px}.brand span,.nav button{font-size:0}.nav button{justify-content:center}.new-entry{font-size:0}.new-entry span{font-size:20px}.inventory-layout,.list-detail-layout,.purchase-grid,.reports-grid,.sales-page{grid-template-columns:1fr}.checkout-button{margin-top:40px}.detail-panel{border-left:1px solid var(--line)}}.reports-page{color:#0f172a;background:#eef2f7;padding:24px 28px 40px}.report-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.report-toolbar-copy h1{font:700 28px/1.1 var(--display);color:#0f172a;letter-spacing:-.03em;margin:0}.report-toolbar-copy p{color:#64748b;margin:6px 0 0;font-size:14px}.report-hero{background:linear-gradient(135deg,#f8fbff 0%,#f1f5f9 100%);border:1px solid #2563eb1f;border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;padding:22px 24px;display:flex}.report-hero-copy h2{font:700 22px/1.15 var(--display);color:#0f172a;margin:4px 0 8px}.report-hero-copy p{color:#64748b;max-width:640px;margin:0;font-size:14px}.report-eyebrow{color:#2563eb;font:700 11px var(--display);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:6px;display:inline-flex}.report-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:min(360px,100%);display:grid}.report-hero-chip{background:#fff;border:1px solid #0f172a14;border-radius:12px;min-width:140px;padding:10px 12px;box-shadow:0 8px 22px #0f172a0a}.report-hero-chip span{color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px;font-size:11px;display:block}.report-hero-chip strong{color:#0f172a;font:600 13px var(--display)}.report-toolbar-actions{flex-wrap:wrap;gap:10px;display:flex}.ghost-export{color:#0f172a;min-width:118px;font:600 13px var(--display);background:#fff;border:1px solid #0f172a1f;border-radius:10px;padding:11px 16px}.report-error{color:#b45309;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;margin-bottom:14px;padding:10px 14px;font-size:14px}.report-document{background:#fff;border:1px solid #0f172a14;border-radius:20px;padding:32px;box-shadow:0 24px 60px #0f172a14}.report-letterhead{border-bottom:2px solid #e2e8f0;grid-template-columns:minmax(0,1.2fr) minmax(260px,360px);align-items:start;gap:24px;margin-bottom:28px;padding-bottom:28px;display:grid}.report-brand{align-items:flex-start;gap:18px;display:flex}.brand-logo{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:16px;flex-shrink:0;place-items:center;width:64px;height:64px;display:grid;box-shadow:0 16px 32px #2563eb38}.brand-logo span{color:#fff;font:700 28px var(--display)}.brand-eyebrow{color:#2563eb;font:600 12px var(--display);text-transform:uppercase;letter-spacing:.08em;margin:0 0 6px}.brand-info h1{font:700 30px/1.05 var(--display);letter-spacing:-.03em;color:#0f172a;margin:0}.brand-sub{color:#64748b;margin:8px 0 12px;font-size:14px}.store-details div{color:#64748b;font-size:13px;line-height:1.6}.report-meta{gap:10px;display:grid}.meta-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px}.meta-card span{color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px;font-size:11px;font-weight:600;display:block}.meta-card strong{color:#0f172a;font:600 14px var(--display)}.section-title h2{font:700 18px var(--display);color:#0f172a;letter-spacing:-.02em;margin:0}.section-title p{color:#64748b;margin:4px 0 0;font-size:13px}.report-filters-panel{margin-bottom:18px;padding:0 0 18px}.report-filters-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;display:flex}.filter-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:min(540px,100%);display:grid}.filter-group label{color:#64748b;gap:8px;font-size:12px;font-weight:600;display:grid}.filter-group input{color:#0f172a;background:#fff;border:1px solid #0f172a1f;border-radius:10px;min-height:42px;padding:0 14px}.credit-filter{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.credit-filter select{color:#0f172a;min-width:220px;min-height:44px;font:600 12px var(--display);background:#fff;border:1px solid #0f172a1f;border-radius:10px;padding:0 38px 0 14px}.filter-button{color:#0f172a;min-width:118px;font:600 12px var(--display);background:#fff;border:1px solid #0f172a1f;border-radius:999px;padding:10px 16px;transition:transform .16s,background .16s,border-color .16s,color .16s}.filter-button:hover{transform:translateY(-1px)}.filter-button.selected,.filter-all.selected{color:#fff;background:#2563eb;border-color:#2563eb}.filter-button.filter-sales.selected{background:#059669;border-color:#059669}.filter-button.filter-purchase.selected{background:#d97706;border-color:#d97706}.summary-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px;display:grid}.summary-cards.secondary-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.report-front-matter{gap:0;display:grid}.report-tables-section{gap:28px;display:grid}.profit-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.profit-kpi-card{background:#fff;border:1px solid #0f172a14;border-radius:18px;gap:8px;min-height:148px;padding:20px 20px 18px 76px;display:grid;position:relative;box-shadow:0 12px 32px #0f172a0f}.profit-kpi-card h3{font:600 11px var(--display);letter-spacing:.06em;text-transform:uppercase;color:#475569;margin:0}.profit-kpi-card strong{font:700 28px/1.05 var(--display);color:#0f172a;letter-spacing:-.03em;margin:0}.profit-kpi-card small{color:#64748b;font-size:12px;line-height:1.45}.profit-kpi-card .card-icon{background:#fff;border-radius:14px;place-items:center;width:46px;height:46px;display:grid;position:absolute;top:18px;left:18px;box-shadow:0 8px 20px #0f172a14}.profit-kpi-card.sales{background:linear-gradient(#ecfdf5,#f8fefb);border-color:#05966929}.profit-kpi-card.cogs{background:linear-gradient(#eff6ff,#f8fbff);border-color:#2563eb29}.profit-kpi-card.gross{background:linear-gradient(#fffbeb,#fffdf5);border-color:#d9770629}.profit-kpi-card.sales .card-icon{color:#059669}.profit-kpi-card.cogs .card-icon{color:#2563eb}.profit-kpi-card.gross .card-icon{color:#d97706}.summary-card{background:#f8fafc;border:1px solid #0f172a14;border-radius:16px;gap:6px;min-height:138px;padding:18px 18px 16px 72px;display:grid;position:relative}.summary-card h3{font:600 11px var(--display);letter-spacing:.06em;text-transform:uppercase;color:#475569;margin:0}.summary-card strong{font:700 24px/1.05 var(--display);color:#0f172a;letter-spacing:-.03em;margin:0}.summary-card small{color:#64748b;font-size:12px}.summary-card .card-icon{background:#fff;border-radius:12px;place-items:center;width:42px;height:42px;display:grid;position:absolute;top:16px;left:16px;box-shadow:0 8px 20px #0f172a14}.summary-card .card-percent{color:#059669;font:600 11px var(--mono);position:absolute;top:14px;right:14px}.summary-card.purchases{background:linear-gradient(#eff6ff,#f8fbff)}.summary-card.sales{background:linear-gradient(#ecfdf5,#f4fdf8)}.summary-card.gross{background:linear-gradient(#fffbeb,#fffdf5)}.summary-card.net{background:linear-gradient(#ecfdf5,#f0fdf7)}.summary-card.payments{background:linear-gradient(#f5f3ff,#faf8ff)}.summary-card.purchases-credit{background:linear-gradient(#fff7ed,#fffaf5)}.summary-card.sales-credit{background:linear-gradient(#eff6ff,#f5faff)}.summary-card.expenses{background:linear-gradient(#fff1f2,#fff5f6)}.summary-card.purchases .card-icon{color:#2563eb}.summary-card.sales .card-icon{color:#059669}.summary-card.gross .card-icon{color:#d97706}.summary-card.net .card-icon{color:#059669}.summary-card.payments .card-icon{color:#7c3aed}.summary-card.purchases-credit .card-icon{color:#ea580c}.summary-card.sales-credit .card-icon{color:#2563eb}.summary-card.expenses .card-icon{color:#e11d48}.report-profit-summary{grid-template-columns:repeat(2,minmax(180px,1fr))}.summary-card.result{padding-left:18px}.summary-card.result.profit{background:linear-gradient(#ecfdf5,#f6fef9);border-color:#0596692e}.summary-card.result.loss{background:linear-gradient(#fff1f2,#fff7f8);border-color:#e11d482e}.summary-card.result.even{background:linear-gradient(#f8fafc,#fff);border-color:#64748b2e}.summary-card.result .result-label{color:#475569;font:600 11px var(--display);letter-spacing:.06em;text-transform:uppercase}.summary-card.result.profit strong{color:#047857}.summary-card.result.loss strong{color:#be123c}.summary-card.result.even strong{color:#475569}.transaction-summary{margin-bottom:28px}.table-shell,.details-table-wrap{border:1px solid #e2e8f0;border-radius:14px;overflow-x:auto}.summary-table,.details-table{border-collapse:collapse;background:#fff;width:100%;min-width:720px}.summary-table thead th,.details-table thead th{color:#fff;font:600 11px var(--display);letter-spacing:.06em;text-transform:uppercase;background:#0f172a}.summary-table th,.summary-table td,.details-table th,.details-table td{color:#334155;text-align:left;border-bottom:1px solid #e2e8f0;padding:13px 14px;font-size:13px}.summary-table tbody tr:nth-child(2n),.details-table tbody tr:nth-child(2n){background:#f8fafc}.summary-table tfoot td,.details-table tfoot td{background:#f1f5f9;border-top:2px solid #cbd5e1;font-weight:700}.report-details{margin-bottom:24px}.report-details .section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.detail-tabs{flex-wrap:wrap;gap:8px;display:flex}.detail-tabs button{color:#0f172a;font:600 12px var(--display);background:#fff;border:1px solid #0f172a1f;border-radius:999px;padding:9px 14px}.detail-tabs button.active{color:#fff;background:#0f172a;border-color:#0f172a}.report-detail-block h3{font:700 16px var(--display);color:#0f172a;margin:0 0 12px}.print-only-block,.print-detail-blocks{display:none}.empty-row{text-align:center;color:#64748b;font-style:italic}.report-footer{border-top:1px solid #e2e8f0;gap:12px;padding-top:20px;display:grid}.report-note{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;font-size:13px}.report-footer-meta{color:#94a3b8;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:12px;display:flex}.reports-page .primary-action{color:#fff;min-width:118px;font:600 13px var(--display);background:#2563eb;border:0;border-radius:10px;padding:11px 16px;box-shadow:0 10px 24px #2563eb3d}.print-only{display:none}.import-help{background:#fff9;border:1px solid #0f172a1a;border-radius:12px;margin:12px 0 18px;padding:0}.import-help summary{cursor:pointer;font:600 13px var(--display);color:var(--text-strong);padding:12px 16px;list-style:none}.import-help summary::-webkit-details-marker{display:none}.import-help-body{color:var(--text-soft);padding:0 16px 14px;font-size:13px;line-height:1.55}.import-help-body pre{background:var(--field-bg);border:1px solid var(--line);font:500 12px var(--mono);border-radius:8px;margin:10px 0 0;padding:12px;overflow-x:auto}.shell.light .import-help,.reports-page .import-help{background:#fff}.report-scope-tabs{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;display:flex}.report-scope-tabs .credit-filter{align-items:center;gap:8px;width:auto;margin-left:2px;display:flex}.report-scope-tabs .credit-filter span{color:#64748b;font-size:11px;font-weight:600}.report-scope-tabs .credit-filter select{width:190px;min-width:190px;min-height:40px;padding:0 30px 0 12px}.report-inline-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.report-date-filters{grid-template-columns:repeat(2,168px);gap:8px;width:auto}.report-date-filters label{gap:5px}.report-date-filters input{width:168px;min-width:0;min-height:40px;padding:0 10px}@media (width<=680px){.report-inline-filters{width:100%}.report-date-filters{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.report-date-filters input{width:100%}}.scope-tab{color:#0f172a;font:600 13px var(--display);background:#fff;border:1px solid #0f172a1f;border-radius:999px;padding:10px 16px;transition:background .16s,color .16s,border-color .16s}.scope-tab.active{color:#fff;background:#0f172a;border-color:#0f172a}.report-ledger{gap:18px;margin-bottom:28px;display:grid}.ledger-heading h2{font:700 18px var(--display);color:#0f172a;margin:0}.ledger-heading p{color:#64748b;margin:4px 0 14px;font-size:13px}.ledger-group{gap:20px;display:grid}.subsection-heading{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.subsection-heading h3{color:#0f172a;font:700 16px var(--display);margin:0}.subsection-heading p{color:#64748b;margin:0;font-size:12px}.ledger-shell{border-radius:12px;overflow:hidden;box-shadow:0 14px 34px #0f172a0f}.ledger-table{table-layout:fixed;border-collapse:collapse;background:#fff;width:100%;min-width:0}.ledger-table thead th{z-index:1;color:#475569;font:600 11px var(--display);letter-spacing:.05em;text-transform:uppercase;text-align:left;white-space:normal;overflow-wrap:anywhere;background:#f8fafc;border-bottom:1px solid #dbe4ef;padding:8px 7px;position:sticky;top:0}.ledger-table-sales th:first-child{width:10%}.ledger-table-sales th:nth-child(2){width:15%}.ledger-table-sales th:nth-child(3){width:9%}.ledger-table-sales th:nth-child(4){width:8%}.ledger-table-sales th:nth-child(5){width:5%}.ledger-table-sales th:nth-child(6){width:10%}.ledger-table-sales th:nth-child(7){width:8%}.ledger-table-sales th:nth-child(8){width:10%}.ledger-table-sales th:nth-child(9),.ledger-table-sales th:nth-child(10){width:8%}.ledger-table-sales th:nth-child(11){width:9%}.ledger-table-purchases th:first-child{width:13%}.ledger-table-purchases th:nth-child(2){width:20%}.ledger-table-purchases th:nth-child(3){width:10%}.ledger-table-purchases th:nth-child(4){width:7%}.ledger-table-purchases th:nth-child(5){width:13%}.ledger-table-purchases th:nth-child(6){width:9%}.ledger-table-purchases th:nth-child(7){width:10%}.ledger-table-purchases th:nth-child(8),.ledger-table-purchases th:nth-child(9){width:9%}.ledger-table-expenses th:first-child{width:14%}.ledger-table-expenses th:nth-child(2){width:25%}.ledger-table-expenses th:nth-child(3){width:15%}.ledger-table-expenses th:nth-child(4),.ledger-table-expenses th:nth-child(5){width:12%}.ledger-table-expenses th:nth-child(6),.ledger-table-expenses th:nth-child(7){width:11%}.ledger-table td{color:#334155;vertical-align:top;overflow-wrap:anywhere;word-break:break-word;border-bottom:1px solid #e2e8f0;padding:8px 7px;font-size:11px;line-height:1.3}.ledger-table tbody tr{transition:background .16s}.ledger-table tbody tr:nth-child(2n){background:#fbfdff}.ledger-table tbody tr:hover{background:#eff6ff}.ledger-description{max-width:0;font-weight:600;color:#1e293b!important}.ledger-table tfoot td{border-top:1px solid #cbd5e1;padding:8px 7px;font-size:11px}.ledger-table .money-cell{white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ledger-table .type-badge,.ledger-table .payment-badge{white-space:normal;overflow-wrap:anywhere;max-width:100%}.ledger-ref{overflow-wrap:anywhere;word-break:break-all;margin-top:3px;display:block}.ledger-subtotal td{color:#475569;background:#f1f5f9;font-weight:600}.ledger-summary-line td{color:#1e3a5f;background:#eff6ff;font-weight:700}.ledger-total td{background:#eaf1f7;border-bottom:0;font-weight:700;color:#0f172a!important}.ledger-table tfoot .ledger-total td,.ledger-table tfoot .ledger-total td strong{-webkit-text-fill-color:#0f172a;background-color:#eaf1f7;color:#0f172a!important}.ledger-table-expenses tfoot .ledger-total-expenses td,.ledger-table-expenses tfoot .ledger-total-expenses td strong{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;background-color:#eaf1f7!important}.type-badge{width:fit-content;font:600 10px var(--display);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;align-items:center;padding:3px 8px;display:inline-flex}.type-badge.type-purchase{color:#1d4ed8;background:#dbeafe}.type-badge.type-sale{color:#047857;background:#d1fae5}.type-badge.type-expense{color:#be123c;background:#ffe4e6}.type-badge.type-neutral{color:#475569;background:#f1f5f9}.ledger-ref{color:#475569;font:600 11px var(--mono);word-break:break-word;margin-top:7px;display:block}.payment-badge{max-width:100%;min-height:24px;font:600 11px var(--display);white-space:normal;border:1px solid #0000;border-radius:999px;align-items:center;padding:4px 9px;display:inline-flex}.payment-success{color:#047857;background:#dcfce7;border-color:#bbf7d0}.payment-warning{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.payment-neutral{color:#475569;background:#f1f5f9;border-color:#e2e8f0}.money-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.outstanding-cell{font-weight:700;color:#b91c1c!important}@media (width<=960px){.report-letterhead,.profit-kpi-row,.report-profit-summary,.summary-cards,.summary-cards.secondary-kpis{grid-template-columns:1fr}}@media (width<=680px){.summary-cards{grid-template-columns:1fr}.report-toolbar{align-items:stretch}.report-hero{padding:18px}.report-hero-metrics{grid-template-columns:1fr;width:100%}.report-toolbar-actions{width:100%}.report-toolbar-actions button{flex:1}.report-document{padding:20px 16px}}@media print{body,.shell,.workspace,.reports-page{color:#0f172a!important;background:#fff!important}.no-print,.sidebar,.topbar,.toolbar,.scan-button,.icon-button,.operator,.search,.summary-box,.primary-action,.theme-toggle,.report-filters-panel,.report-toolbar,.report-actions,.report-scope-tabs,.detail-tabs,.screen-detail-block,.print-detail-blocks,.print-only-block{display:none!important}.print-only,.report-letterhead.print-only{display:grid!important}.reports-page{padding:0!important}.report-document{box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important}.report-front-matter{page-break-inside:avoid;break-inside:avoid-page}.report-tables-section{page-break-before:always;break-before:page}.report-letterhead{page-break-after:avoid;break-after:avoid-page;margin-bottom:6mm!important;padding-bottom:4mm!important}.profit-kpi-row{page-break-inside:avoid;break-inside:avoid-page;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:6mm!important;display:grid!important}.profit-kpi-card{page-break-inside:avoid;break-inside:avoid-page;box-shadow:none!important;border:1px solid #cbd5e1!important;min-height:0!important;padding:10px 10px 10px 52px!important}.profit-kpi-card strong{font-size:16px!important}.profit-kpi-card h3{font-size:9px!important}.profit-kpi-card small{font-size:9px!important;line-height:1.3!important}.profit-kpi-card .card-icon{width:34px!important;height:34px!important;top:10px!important;left:10px!important}.summary-cards.secondary-kpis{display:none!important}.report-document[data-scope=purchases] .summary-cards.secondary-kpis,.report-document[data-scope=expenses] .summary-cards.secondary-kpis{page-break-inside:avoid;break-inside:avoid-page;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;display:grid!important}.summary-cards{page-break-after:avoid;break-after:avoid-page}.transaction-summary{page-break-after:avoid;break-after:avoid-page;margin-bottom:0!important}.report-ledger{page-break-before:avoid;break-before:avoid-page}.ledger-heading,.ledger-heading h2,.section-title h2{page-break-after:avoid;break-after:avoid-page}.ledger-table thead{display:table-header-group}.ledger-table tfoot{display:table-footer-group}.ledger-table tr{page-break-inside:avoid;break-inside:avoid}.ledger-table{page-break-inside:auto;break-inside:auto}.table-shell,.details-table-wrap,.ledger-shell{page-break-inside:auto;break-inside:auto;border:0!important;overflow:visible!important}.report-footer{page-break-before:avoid;break-before:avoid-page}.summary-table thead th,.ledger-table thead th,.details-table thead th,.ledger-total td{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#0f172a!important}.summary-table th,.summary-table td,.ledger-table th,.ledger-table td,.details-table th,.details-table td{color:#0f172a!important;padding:7px 8px!important;font-size:10px!important}@page{size:A4 landscape;margin:10mm}}@media (width<=840px){.shell{height:auto;min-height:100svh;display:block;overflow:visible}.sidebar{grid-template-columns:1fr auto;gap:12px;height:auto;min-height:auto;padding:14px;display:grid;overflow:visible}.brand{padding:0}.brand span{font-size:10px}.nav{grid-column:1/-1;display:flex;overflow:auto hidden}.workspace{height:auto;min-height:0;overflow:visible}.nav button{min-width:max-content;font-size:11px}.new-entry{width:48px}.topbar{padding:0 14px}.top-actions{gap:7px}.scan-button,.version{display:none}.page-pad{padding:22px 16px}.metric-grid,.dashboard-main,.catalog-grid,.inventory-stats,.report-metrics,.settings-grid,.setting-list,.field-grid,.money-grid,.scan-actions{grid-template-columns:1fr}.panel-head,.inventory-title,.form-head,.report-head,.cart-head{display:grid}.topbar{flex-wrap:wrap;height:auto;min-height:52px;padding-block:10px}.search{min-width:180px}.theme-toggle{padding:0 8px}.cart-item{grid-template-columns:56px 1fr}.cart-item>b,.cart-item>button{justify-self:start}.bar-chart{height:190px}.detail-panel{padding:22px 16px}.modal-actions{display:grid}.method-grid{grid-template-columns:1fr}}@media (width<=1180px){.reports-page .report-head,.report-panel,.reports-grid{grid-template-columns:1fr}.report-stats-grid,.top-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.reports-page .report-head,.report-panel{gap:16px}.hero-copy{min-height:0;padding:24px 18px}.hero-copy h1{font-size:34px}.hero-actions,.report-controls{padding:18px}.hero-buttons,.report-filters,.credit-filter,.report-stats-grid,.report-metrics,.summary-cards,.top-products-grid{grid-template-columns:1fr}.line-chart{gap:7px;min-height:220px;padding-inline:10px}}.nav-group-container{gap:2px;margin-bottom:2px;display:grid}.subtabs-bar{background:var(--panel,#141d2e);border:1px solid var(--line,#94a3b829);border-radius:var(--radius-md,10px);align-items:center;gap:6px;margin-bottom:1.25rem;padding:4px;display:inline-flex;box-shadow:0 2px 6px #00000026}.subtab-btn{border-radius:var(--radius-sm,7px);color:var(--text-muted,#94a3b8);font:600 13px var(--display,system-ui);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;align-items:center;gap:8px;padding:8px 16px;transition:all .16s;display:inline-flex}.subtab-btn:hover{color:var(--text-strong,#f8fafc);background:#ffffff0d}.subtab-btn.active{color:#fff;background:var(--accent,#3b82f6);border-color:#ffffff26;box-shadow:0 2px 10px #3b82f659}.subtab-badge{min-width:18px;height:18px;color:inherit;background:#ffffff1f;border-radius:9999px;justify-content:center;align-items:center;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.subtab-btn.active .subtab-badge{color:#fff;background:#ffffff47}.items-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.items-kpi-card{background:var(--panel,#141d2e);border:1px solid var(--line,#94a3b824);border-radius:var(--radius-md,12px);flex-direction:column;gap:.35rem;padding:1rem 1.25rem;display:flex}.items-kpi-card span{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted,#94a3b8);font-size:.8rem;font-weight:600}.items-kpi-card strong{color:var(--text-strong,#f8fafc);letter-spacing:-.02em;font-size:1.5rem;font-weight:700}.items-search-bar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.items-search-input{background:var(--panel,#141d2e);border:1px solid var(--line,#94a3b833);border-radius:var(--radius-sm,8px);min-width:240px;height:38px;color:var(--text-strong,#f8fafc);font:500 13px var(--display,system-ui);flex:1;padding:0 12px}.items-search-input:focus{border-color:var(--accent,#3b82f6);outline:none}.line-items-list{gap:8px;margin-top:8px;display:grid}.line-item-row{border:1px solid var(--line,#94a3b81a);border-radius:var(--radius-sm,6px);background:#ffffff08;justify-content:space-between;align-items:center;padding:8px 10px;font-size:13px;display:flex}.line-item-info{flex-direction:column;gap:2px;display:flex}.line-item-name{color:var(--text-strong,#f8fafc);font-weight:600}.line-item-meta{color:var(--text-muted,#94a3b8);font-size:11px}.line-item-amount{color:var(--cyan,#38bdf8);font-weight:700}.landing-root{color:#f8fafc;width:100%;min-height:100vh;font-family:var(--font-sans,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);background-color:#090d16;background-image:radial-gradient(circle at 15% 15%,#3b82f626 0%,#0000 40%),radial-gradient(circle at 85% 25%,#9333ea1f 0%,#0000 40%),radial-gradient(circle at 50% 80%,#22c55e14 0%,#0000 50%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;overflow-x:hidden}.landing-root.light{color:#0f172a;background-color:#f8fafc;background-image:radial-gradient(circle at 15% 15%,#3b82f614 0%,#0000 40%),radial-gradient(circle at 85% 25%,#9333ea0f 0%,#0000 40%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box}.landing-nav{z-index:100;-webkit-backdrop-filter:blur(16px);background:#090d16bf;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:1.25rem 2.5rem;display:flex;position:sticky;top:0}.landing-root.light .landing-nav{background:#ffffffd9;border-bottom:1px solid #0f172a14}.landing-nav>.landing-brand{align-items:center;gap:.75rem;display:flex}.landing-logo-icon{color:#fff;background:linear-gradient(135deg,#3b82f6,#6366f1);border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;font-size:1.2rem;font-weight:900;display:flex;box-shadow:0 4px 14px #3b82f659}.landing-brand-text{flex-direction:column;display:flex}.landing-brand-text strong{letter-spacing:.05em;background:linear-gradient(135deg,#60a5fa,#c084fc);-webkit-text-fill-color:transparent;-webkit-background-clip:text;font-size:1.15rem;font-weight:800}.landing-nav-links{gap:2rem;display:flex}.landing-nav-links a{color:#94a3b8;font-size:.95rem;font-weight:500;text-decoration:none;transition:color .2s}.landing-nav-actions{align-items:center;gap:1rem;display:flex}.landing-theme-toggle{cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:1.1rem;transition:all .2s;display:flex}.landing-btn-ghost{color:#f1f5f9;cursor:pointer;background:0 0;border:1px solid #ffffff26;border-radius:8px;padding:.55rem 1.1rem;font-size:.9rem;font-weight:600;transition:all .2s}.landing-root.light .landing-btn-ghost{color:#0f172a;border-color:#0f172a26}.landing-btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#3b82f6);border:none;border-radius:8px;padding:.55rem 1.25rem;font-size:.9rem;font-weight:600;transition:all .2s;box-shadow:0 4px 14px #2563eb4d}.landing-btn-primary:hover{background:linear-gradient(135deg,#1d4ed8,#2563eb);transform:translateY(-1px);box-shadow:0 6px 20px #2563eb66}.landing-user-badge{color:#38bdf8;background:#38bdf81a;border-radius:20px;padding:.4rem .8rem;font-size:.88rem;font-weight:600}.landing-hero{text-align:center;flex-direction:column;align-items:center;max-width:1200px;margin:0 auto;padding:5rem 1.5rem 4rem;display:flex}.landing-hero-badge{color:#60a5fa;background:#3b82f61f;border:1px solid #3b82f64d;border-radius:24px;align-items:center;gap:.5rem;margin-bottom:1.5rem;padding:.4rem 1rem;font-size:.85rem;font-weight:600;display:inline-flex}.pulse-dot{background:#38bdf8;border-radius:50%;width:8px;height:8px;animation:2s infinite pulse;box-shadow:0 0 10px #38bdf8}@keyframes pulse{0%{transform:scale(.95);box-shadow:0 0 #38bdf8b3}70%{transform:scale(1);box-shadow:0 0 0 8px #38bdf800}to{transform:scale(.95);box-shadow:0 0 #38bdf800}}.landing-hero-title{letter-spacing:-.02em;background:linear-gradient(135deg,#fff 30%,#94a3b8 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;max-width:900px;margin-bottom:1.25rem;font-size:clamp(2.2rem,4.5vw,3.8rem);font-weight:800;line-height:1.15}.landing-root.light .landing-hero-title{background:linear-gradient(135deg,#0f172a 30%,#334155 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.landing-hero-sub{color:#94a3b8;max-width:720px;margin-bottom:2.25rem;font-size:1.15rem;line-height:1.6}.landing-hero-cta{flex-wrap:wrap;justify-content:center;gap:1.25rem;margin-bottom:3.5rem;display:flex}.landing-btn-hero-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#4f46e5);border:none;border-radius:10px;padding:.85rem 2rem;font-size:1.05rem;font-weight:700;transition:all .25s;box-shadow:0 8px 24px #2563eb66}.landing-btn-hero-primary:hover{transform:translateY(-2px);box-shadow:0 12px 30px #2563eb8c}.landing-btn-hero-secondary{color:#fff;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff26;border-radius:10px;padding:.85rem 2rem;font-size:1.05rem;font-weight:700;transition:all .25s}.landing-root.light .landing-btn-hero-secondary{color:#0f172a;border-color:#0f172a33}.landing-preview-card{text-align:left;background:#0f172acc;border:1px solid #ffffff1a;border-radius:16px;width:100%;max-width:1050px;overflow:hidden;box-shadow:0 24px 64px -12px #0009,0 0 32px #3b82f626}.landing-root.light .landing-preview-card{background:#fffffff2;border:1px solid #0f172a1a;box-shadow:0 24px 64px -12px #0f172a26}.preview-card-header{background:#00000040;border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;padding:.9rem 1.25rem;display:flex}.landing-root.light .preview-card-header{background:#f1f5f9cc;border-bottom:1px solid #0f172a0f}.preview-card-dots{gap:6px;display:flex}.preview-card-dots .dot{border-radius:50%;width:11px;height:11px}.preview-card-dots .dot.red{background:#ef4444}.preview-card-dots .dot.yellow{background:#f59e0b}.preview-card-dots .dot.green{background:#10b981}.preview-card-title{color:#94a3b8;font-family:monospace;font-size:.82rem}.preview-badge{color:#10b981;background:#10b9811f;border-radius:12px;padding:.25rem .65rem;font-size:.72rem;font-weight:600}.preview-stat-row{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.preview-stat-box{background:#ffffff08;border:1px solid #ffffff0f;border-radius:10px;flex-direction:column;gap:.35rem;padding:1rem;display:flex}.landing-root.light .preview-stat-box{background:#0f172a05;border-color:#0f172a0f}.preview-stat-box .stat-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;font-size:.78rem}.preview-stat-box .stat-value{color:#f8fafc;font-size:1.4rem;font-weight:800}.landing-root.light .preview-stat-box .stat-value{color:#0f172a}.preview-stat-box .stat-tag{font-size:.75rem;font-weight:600}.stat-tag.positive{color:#10b981}.stat-tag.neutral{color:#38bdf8}.stat-tag.warning{color:#f59e0b}.preview-mock-grid{grid-template-columns:2fr 1fr;gap:1rem;display:grid}@media (width<=768px){.preview-mock-grid{grid-template-columns:1fr}}.mock-chart-panel,.mock-activity-panel{background:#ffffff05;border:1px solid #ffffff0f;border-radius:10px;padding:1rem}.mock-bars{align-items:flex-end;gap:14px;height:120px;padding-bottom:6px;display:flex}.mock-bars .bar{background:#3b82f666;border-radius:6px 6px 0 0;flex:1;transition:all .3s}.mock-bars .bar.highlight{background:linear-gradient(#38bdf8,#2563eb);box-shadow:0 0 12px #38bdf880}.mock-activity-item{border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;padding:.55rem 0;font-size:.8rem;display:flex}.mock-activity-item:last-child{border-bottom:none}.landing-features{max-width:1200px;margin:0 auto;padding:6rem 1.5rem}.section-pill{letter-spacing:.1em;text-transform:uppercase;color:#38bdf8;background:#38bdf81a;border-radius:20px;margin-bottom:1rem;padding:.3rem .8rem;font-size:.8rem;font-weight:700;display:inline-block}.landing-section-header h2{margin-bottom:.75rem;font-size:clamp(1.8rem,3vw,2.6rem);font-weight:800}.landing-section-header p{color:#94a3b8;font-size:1.05rem}.features-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem;display:grid}.feature-card{background:#ffffff06;border:1px solid #ffffff12;border-radius:14px;padding:1.85rem;transition:all .3s cubic-bezier(.4,0,.2,1)}.landing-root.light .feature-card{background:#fff;border-color:#0f172a14;box-shadow:0 4px 12px #0f172a0a}.feature-card:hover{background:#ffffff0a;border-color:#3b82f666;transform:translateY(-4px);box-shadow:0 12px 30px -8px #3b82f626}.feature-icon{background:#3b82f61a;border-radius:12px;margin-bottom:1rem;padding:.6rem;font-size:2rem;display:inline-block}.feature-card h3{margin-bottom:.5rem;font-size:1.2rem;font-weight:700}.feature-card p{color:#94a3b8;font-size:.92rem;line-height:1.55}.landing-metrics{text-align:center;border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff14;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;max-width:1100px;margin:0 auto 5rem;padding:2.5rem 1.5rem;display:grid}.landing-root.light .landing-metrics{border-color:#0f172a14}.metric-item strong{background:linear-gradient(135deg,#38bdf8,#818cf8);-webkit-text-fill-color:transparent;-webkit-background-clip:text;margin-bottom:.25rem;font-size:2.8rem;font-weight:900;display:block}.metric-item span{color:#94a3b8;font-size:.9rem;font-weight:500}.landing-cta-banner{text-align:center;background:linear-gradient(135deg,#2563eb33,#7e22ce26);border:1px solid #3b82f64d;border-radius:20px;max-width:1000px;margin:0 auto 6rem;padding:4rem 2rem;box-shadow:0 20px 50px #0006}.landing-cta-banner h2{margin-bottom:.75rem;font-size:clamp(1.8rem,3vw,2.5rem);font-weight:800}.landing-cta-banner p{color:#cbd5e1;max-width:600px;margin:0 auto;font-size:1.1rem}.landing-footer{background:#0006;border-top:1px solid #ffffff14;padding:2.5rem 2rem}.landing-root.light .landing-footer{background:#f1f5f999;border-color:#0f172a14}.landing-footer-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;max-width:1200px;margin:0 auto;display:flex}.landing-footer-content p{color:#64748b;font-size:.85rem}.landing-root{--landing-bg:#151916;--landing-surface:#1d231f;--landing-raised:#222a25;--landing-line:#353e37;--landing-text:#f0f2ed;--landing-muted:#a8b1a9;--landing-accent:#a8c58c;min-height:100vh;color:var(--landing-text);background:var(--landing-bg);font-family:var(--display);background-image:none}.landing-root.light{--landing-bg:#f6f6f1;--landing-surface:#fff;--landing-raised:#f0f2eb;--landing-line:#dfe3da;--landing-text:#202820;--landing-muted:#667166;--landing-accent:#426b37;color:var(--landing-text);background:var(--landing-bg);background-image:none}.landing-nav{background:var(--landing-bg);border-color:var(--landing-line);-webkit-backdrop-filter:none;padding:.9rem max(1.5rem,50vw - 580px);position:sticky}.landing-root.light .landing-nav{background:var(--landing-bg);border-color:var(--landing-line)}.landing-brand{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.landing-logo-icon{background:var(--landing-accent);width:36px;height:36px;color:var(--landing-bg);box-shadow:none;border-radius:5px}.landing-brand-text strong{color:var(--landing-text);-webkit-text-fill-color:currentColor;letter-spacing:.025em;background:0 0}.landing-brand-text span{color:var(--landing-muted);letter-spacing:.015em;text-transform:none;font-size:.7rem}.landing-nav-links a,.landing-nav-links a:hover{color:var(--landing-muted)}.landing-nav-links a:hover{color:var(--landing-text)}.landing-nav-actions,.landing-nav-account{align-items:center;gap:.65rem;display:flex}.landing-theme-toggle,.landing-btn-ghost,.landing-btn-primary,.landing-btn-hero-primary,.landing-btn-hero-secondary{min-height:40px;box-shadow:none;border-radius:5px;transition:background-color .16s,border-color .16s,color .16s}.landing-theme-toggle{border:1px solid var(--landing-line);width:auto;height:40px;color:var(--landing-muted);background:0 0;border-radius:5px;padding:0 .65rem;font-size:.82rem}.landing-theme-toggle:hover{background:var(--landing-raised);transform:none}.landing-btn-ghost,.landing-root.light .landing-btn-ghost{color:var(--landing-text);border-color:var(--landing-line);padding:.55rem .85rem}.landing-btn-ghost:hover{background:var(--landing-raised);border-color:var(--landing-muted)}.landing-btn-primary,.landing-btn-primary:hover,.landing-btn-hero-primary,.landing-btn-hero-primary:hover{color:#172014;background:var(--landing-accent);border:1px solid var(--landing-accent);padding:.7rem 1rem}.landing-btn-primary:hover,.landing-btn-hero-primary:hover{background:color-mix(in srgb, var(--landing-accent) 88%, white);transform:none}.landing-user-badge{color:var(--landing-muted);background:0 0;border-radius:0}.landing-hero{text-align:left;align-items:flex-start;max-width:1160px;padding:5.25rem 1.5rem 4rem}.landing-hero-eyebrow,.landing-section-eyebrow{color:var(--landing-accent);letter-spacing:.09em;text-transform:uppercase;margin:0 0 1rem;font-size:.78rem;font-weight:700}.landing-hero-title{max-width:760px;color:var(--landing-text);-webkit-text-fill-color:currentColor;letter-spacing:-.055em;background:0 0;margin:0 0 1rem;font-size:clamp(2.6rem,5.4vw,4.5rem);font-weight:650;line-height:1.06}.landing-root.light .landing-hero-title{color:var(--landing-text);-webkit-text-fill-color:currentColor;background:0 0}.landing-hero-sub{max-width:620px;color:var(--landing-muted);margin:0 0 1.7rem;font-size:1.05rem;line-height:1.7}.landing-hero-cta{justify-content:flex-start;gap:.7rem;margin-bottom:2.6rem}.landing-shop-types{border-top:1px solid var(--landing-line);border-bottom:1px solid var(--landing-line);justify-content:space-between;align-items:center;gap:1.5rem;max-width:1160px;margin:0 auto;padding:1.4rem 1.5rem;display:flex}.landing-shop-types>p{color:var(--landing-muted);margin:0;font-size:.82rem;font-weight:600}.landing-shop-types ul{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.landing-shop-types li{color:var(--landing-text);border:1px solid var(--landing-line);border-radius:4px;padding:.4rem .7rem;font-size:.78rem}.landing-btn-hero-primary,.landing-btn-hero-secondary{padding:.7rem 1.1rem;font-size:.92rem;font-weight:650}.landing-btn-hero-secondary,.landing-root.light .landing-btn-hero-secondary{color:var(--landing-text);border:1px solid var(--landing-line);background:0 0}.landing-btn-hero-secondary:hover{background:var(--landing-raised);transform:none}.landing-preview-card{border:1px solid var(--landing-line);background:var(--landing-surface);border-radius:8px;max-width:1160px;box-shadow:0 18px 44px #0000001f}.landing-root.light .landing-preview-card{border-color:var(--landing-line);background:var(--landing-surface);box-shadow:0 18px 44px #1d261d12}.preview-card-header{border-color:var(--landing-line);background:0 0;min-height:72px;padding:.85rem 1.35rem}.landing-root.light .preview-card-header{border-color:var(--landing-line);background:0 0}.preview-card-kicker,.preview-card-title{display:block}.preview-card-kicker{color:var(--landing-muted);margin-bottom:.22rem;font-size:.7rem}.preview-card-title{color:var(--landing-text);font-family:var(--display);font-size:.98rem;font-weight:650}.preview-badge{color:var(--landing-muted);background:var(--landing-raised);border-radius:4px;font-size:.72rem}.preview-card-body{padding:1.25rem}.preview-stat-row{border:1px solid var(--landing-line);border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:1.1rem;overflow:hidden}.preview-stat-box,.landing-root.light .preview-stat-box{border:0;border-right:1px solid var(--landing-line);background:0 0;border-radius:0;min-width:0;padding:1rem}.preview-stat-box:last-child{border-right:0}.preview-stat-box .stat-label{color:var(--landing-muted);letter-spacing:.025em;text-transform:none;font-size:.7rem}.preview-stat-box .stat-value,.landing-root.light .preview-stat-box .stat-value{overflow-wrap:anywhere;color:var(--landing-text);font-size:1.25rem;font-weight:650}.preview-stat-box .stat-tag{color:var(--landing-muted);font-size:.72rem;font-weight:400}.preview-mock-grid{grid-template-columns:1.5fr 1fr;gap:1.1rem}.mock-chart-panel,.mock-activity-panel{border:1px solid var(--landing-line);background:0 0;border-radius:6px;padding:1rem}.mock-title{color:var(--landing-text);margin-bottom:.8rem;font-size:.82rem;font-weight:600}.mock-bars{border-bottom:1px solid var(--landing-line);gap:.7rem;height:142px;padding:.5rem 0 1.4rem}.mock-bars .bar,.mock-bars .bar.highlight{background:color-mix(in srgb, var(--landing-accent) 42%, var(--landing-surface));box-shadow:none;border-radius:3px 3px 0 0;position:relative;overflow:visible}.mock-bars .bar.highlight{background:var(--landing-accent)}.mock-bars .bar span{color:var(--landing-muted);font-size:.65rem;position:absolute;bottom:-1.3rem;left:50%;transform:translate(-50%)}.mock-activity-item{color:var(--landing-muted);border-color:var(--landing-line);gap:.75rem;font-size:.76rem}.mock-activity-item strong{color:var(--landing-text);text-align:right;white-space:nowrap;font-size:.74rem}.landing-features{max-width:1160px;padding:4.5rem 1.5rem}.landing-section-header{text-align:left;max-width:620px;margin:0 0 2rem}.landing-section-eyebrow{margin-bottom:.7rem}.landing-section-header h2{color:var(--landing-text);letter-spacing:-.04em;margin:0 0 .7rem;font-size:clamp(1.8rem,3.3vw,2.5rem);font-weight:650}.landing-section-header p:last-child{color:var(--landing-muted);margin:0;font-size:.98rem;line-height:1.65}.features-grid{border-top:1px solid var(--landing-line);border-left:1px solid var(--landing-line);grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.feature-card,.landing-root.light .feature-card{background:var(--landing-surface);border:0;border-right:1px solid var(--landing-line);border-bottom:1px solid var(--landing-line);min-height:190px;box-shadow:none;border-radius:0;padding:1.45rem;transition:background-color .16s}.feature-card:hover{background:var(--landing-raised);border-color:var(--landing-line);box-shadow:none;transform:none}.feature-icon{color:var(--landing-accent);font-family:var(--mono);background:0 0;border-radius:0;margin:0 0 1.15rem;padding:0;font-size:.72rem;font-weight:600}.feature-card h3{color:var(--landing-text);margin:0 0 .45rem;font-size:1rem;font-weight:650}.feature-card p{color:var(--landing-muted);margin:0;font-size:.88rem;line-height:1.6}.landing-cta-banner{background:var(--landing-surface);border:1px solid var(--landing-line);max-width:1160px;box-shadow:none;text-align:left;border-radius:7px;justify-content:space-between;align-items:center;gap:2rem;margin:0 auto 4.5rem;padding:2.2rem;display:flex}.landing-cta-banner h2{color:var(--landing-text);letter-spacing:-.035em;margin:0 0 .5rem;font-size:clamp(1.45rem,3vw,2rem);font-weight:650}.landing-cta-banner p{color:var(--landing-muted);margin:0;font-size:.92rem;line-height:1.6}.landing-cta-actions{flex-wrap:wrap;gap:.65rem;display:flex}.landing-footer,.landing-root.light .landing-footer{border-color:var(--landing-line);background:0 0;padding:1.5rem}.landing-footer-content{max-width:1160px}.landing-footer-content p{color:var(--landing-muted);margin:0}@media (width<=800px){.landing-nav{flex-wrap:wrap;gap:.8rem;padding:.8rem 1rem}.landing-nav-links{border-top:1px solid var(--landing-line);order:3;justify-content:center;gap:1.5rem;width:100%;padding-top:.65rem}.landing-nav-links a{font-size:.85rem}.landing-nav-account{gap:.4rem}.landing-user-badge{display:none}.landing-hero{padding-top:3.5rem}.landing-shop-types{flex-direction:column;align-items:flex-start;gap:.8rem}.landing-shop-types ul{justify-content:flex-start}.preview-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-stat-box:nth-child(2){border-right:0}.preview-stat-box:nth-child(-n+2){border-bottom:1px solid var(--landing-line)}.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-cta-banner{margin-left:1rem;margin-right:1rem}}@media (width<=560px){.landing-nav{justify-content:space-between}.landing-brand-text span{display:none}.landing-nav-actions{gap:.4rem}.landing-nav-account{gap:.35rem}.landing-btn-primary,.landing-btn-ghost{padding-left:.65rem;padding-right:.65rem;font-size:.8rem}.landing-hero{padding:3rem 1rem 2.5rem}.landing-hero-title{font-size:clamp(2.35rem,12vw,3.3rem)}.landing-preview-card{border-radius:6px}.preview-card-header,.preview-card-body{padding-left:.85rem;padding-right:.85rem}.preview-stat-box,.landing-root.light .preview-stat-box{padding:.75rem}.preview-stat-box .stat-value,.landing-root.light .preview-stat-box .stat-value{font-size:1.05rem}.preview-mock-grid,.features-grid{grid-template-columns:1fr}.landing-features{padding:3rem 1rem}.landing-shop-types{padding-left:1rem;padding-right:1rem}.landing-cta-banner{flex-direction:column;align-items:flex-start;margin:0 1rem 3rem;padding:1.4rem}.landing-footer-content{flex-direction:column;align-items:flex-start}}.auth-root{width:100%;min-height:100vh;font-family:var(--font-sans,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);background-color:#090d16;background-image:radial-gradient(circle at 20% 20%,#3b82f626 0%,#0000 45%),radial-gradient(circle at 80% 80%,#9333ea1f 0%,#0000 45%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;justify-content:center;align-items:center;padding:2rem 1rem;display:flex;position:relative}.auth-root.light{background-color:#f1f5f9;background-image:radial-gradient(circle at 20% 20%,#3b82f614 0%,#0000 45%),radial-gradient(circle at 80% 80%,#9333ea0f 0%,#0000 45%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box}.auth-theme-btn{cursor:pointer;background:#ffffff14;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;font-size:1.2rem;transition:all .2s;display:flex;position:absolute;top:1.5rem;right:1.5rem}.auth-theme-btn:hover{transform:scale(1.08)}.auth-card{-webkit-backdrop-filter:blur(16px);background:#0f172ad9;border:1px solid #ffffff1a;border-radius:20px;width:100%;max-width:440px;margin:auto 0;padding:1.85rem 1.75rem;box-shadow:0 24px 60px -12px #0009,0 0 32px #3b82f626}.auth-root.light .auth-card{background:#fffffff2;border-color:#0f172a1a;box-shadow:0 24px 60px -12px #0f172a26}.auth-header{text-align:center;margin-bottom:1.25rem}.auth-logo{color:#fff;background:linear-gradient(135deg,#3b82f6,#6366f1);border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;margin:0 auto .85rem;font-size:1.35rem;font-weight:900;display:flex;box-shadow:0 6px 18px #3b82f666}.auth-header h2{color:#f8fafc;margin-bottom:.35rem;font-size:1.65rem;font-weight:800}.auth-root.light .auth-header h2{color:#0f172a}.auth-header p{color:#94a3b8;font-size:.92rem}.auth-alert.error{color:#fca5a5;background:#ef44441f;border:1px solid #ef44444d;border-radius:8px;align-items:center;gap:.65rem;margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.88rem;display:flex}.auth-alert.success{color:#86efac;background:#22c55e1f;border:1px solid #22c55e4d;border-radius:8px;align-items:center;gap:.65rem;margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.88rem;display:flex}.auth-alert.info{color:#93c5fd;background:#3b82f61f;border:1px solid #3b82f64d;border-radius:8px;align-items:center;gap:.65rem;margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.88rem;line-height:1.4;display:flex}.auth-account-target{background:#ffffff0a;border:1px solid #ffffff17;border-radius:10px;align-items:center;gap:.75rem;margin-bottom:.5rem;padding:.7rem .95rem;display:flex}.auth-root.light .auth-account-target{background:#f8fafc;border-color:#e2e8f0}.auth-target-icon{flex-shrink:0;font-size:1.25rem}.auth-target-text{flex-direction:column;flex:1;min-width:0;display:flex}.auth-target-label{text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;font-size:.72rem}.auth-target-email{color:#f1f5f9;white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;font-weight:600;overflow:hidden}.auth-root.light .auth-target-email{color:#0f172a}.auth-target-action{color:#60a5fa;cursor:pointer;background:0 0;border:1px solid #3b82f666;border-radius:6px;flex-shrink:0;padding:.3rem .65rem;font-size:.78rem;font-weight:600;transition:all .2s}.auth-target-action:hover{background:#3b82f626;border-color:#3b82f6}.auth-field-hint{color:#94a3b8;margin-top:.25rem;font-size:.78rem;line-height:1.35}.auth-link-subtle{color:#94a3b8;cursor:pointer;text-underline-offset:3px;background:0 0;border:none;padding:.35rem .5rem;font-size:.82rem;text-decoration:underline;transition:color .2s}.auth-link-subtle:hover{color:#60a5fa}.auth-form{flex-direction:column;gap:1.25rem;display:flex}.auth-field{flex-direction:column;gap:.45rem;display:flex}.auth-field label{color:#cbd5e1;font-size:.84rem;font-weight:600}.auth-root.light .auth-field label{color:#334155}.input-wrap{align-items:center;display:flex;position:relative}.input-icon{opacity:.6;pointer-events:none;font-size:1rem;position:absolute;left:.85rem}.input-wrap input{color:#f8fafc;background:#ffffff0d;border:1px solid #ffffff1f;border-radius:8px;width:100%;padding:.75rem .85rem .75rem 2.5rem;font-size:.95rem;transition:all .2s}.auth-root.light .input-wrap input{color:#0f172a;background:#fff;border-color:#0f172a26}.input-wrap input:focus{background:#ffffff14;border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f640}.toggle-pass-btn{cursor:pointer;opacity:.6;background:0 0;border:none;padding:.25rem;font-size:1.1rem;transition:opacity .2s;position:absolute;right:.65rem}.toggle-pass-btn:hover{opacity:1}.auth-submit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#4f46e5);border:none;border-radius:8px;width:100%;margin-top:.5rem;padding:.85rem;font-size:1rem;font-weight:700;transition:all .2s;box-shadow:0 6px 18px #2563eb59}.auth-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#4338ca);transform:translateY(-1px);box-shadow:0 8px 22px #2563eb73}.auth-submit-btn:disabled{opacity:.65;cursor:not-allowed}.auth-footer{text-align:center;flex-direction:column;gap:.75rem;margin-top:1.85rem;display:flex}.auth-footer p{color:#94a3b8;font-size:.9rem}.auth-link{color:#38bdf8;cursor:pointer;text-underline-offset:3px;background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline}.auth-link:hover{color:#60a5fa}.auth-link-back{color:#64748b;cursor:pointer;background:0 0;border:none;font-size:.85rem;transition:color .2s}.auth-link-back:hover{color:#94a3b8}.production-page{max-width:1480px;margin:0 auto}.production-tabs{margin-bottom:20px}.production-heading,.production-list-head,.production-section-head,.production-plan-actions,.production-configuration-footer{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.production-heading{margin-bottom:22px}.production-heading h1{color:var(--text-strong);font:800 28px/1.12 var(--display);letter-spacing:0;margin:0 0 7px}.production-heading p,.production-section-head p,.production-helper,.production-plan-actions p{color:var(--text-soft);font:600 12px/1.55 var(--display);margin:0}.production-heading-metrics{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.production-heading-metrics span,.production-status,.production-complete-output{border:1px solid var(--line);min-height:28px;color:var(--text-soft);background:var(--surface);font:700 10px var(--mono);white-space:nowrap;border-radius:4px;align-items:center;padding:0 9px;display:inline-flex}.production-heading-metrics .production-warning,.production-status.on-hold{color:#fbbf24;background:#f59e0b1a;border-color:#f59e0b73}.production-notice{font:700 12px var(--display);border:1px solid;border-radius:5px;margin-bottom:16px;padding:11px 13px}.production-notice.success{color:#86efac;background:#22c55e1c;border-color:#4ade806b}.production-notice.error{color:#fca5a5;background:#ef44441c;border-color:#f871716b}.production-plan-form{border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-columns:minmax(250px,1fr) minmax(150px,190px) auto;align-items:end;gap:12px;margin-bottom:18px;padding:16px;display:grid}.production-plan-form label,.production-configuration-footer label{color:var(--text-muted);font:700 10px var(--mono);gap:6px;display:grid}.production-plan-form select,.production-plan-form input,.production-configuration-footer input,.production-resource-table input,.production-form-row input,.production-form-row select,.production-step-row input{border:1px solid var(--line);background:var(--button-bg);min-width:0;min-height:34px;color:var(--text-strong);font:600 12px var(--display);border-radius:4px;outline:0;padding:0 9px}.production-plan-form input:focus,.production-plan-form select:focus,.production-configuration-footer input:focus,.production-resource-table input:focus,.production-form-row input:focus,.production-form-row select:focus,.production-step-row input:focus{border-color:var(--cyan)}.production-empty{border:1px dashed var(--line);background:var(--surface);color:var(--text-soft);border-radius:6px;justify-items:start;gap:14px;padding:42px 26px;display:grid}.production-empty h2{color:var(--text-strong);font:800 18px var(--display);margin:0}.production-empty p{max-width:560px;font:600 13px/1.6 var(--display);margin:0}.production-empty.compact{padding:25px}.production-summary-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:16px;display:grid}.production-summary-grid>div{border:1px solid var(--line);background:var(--surface);border-radius:6px;gap:6px;min-height:100px;padding:15px;display:grid}.production-summary-grid span,.production-cost-panel dt,.production-recipe-price span{color:var(--text-muted);font:700 10px var(--mono)}.production-summary-grid strong{color:var(--text-strong);font:800 19px/1.25 var(--display)}.production-positive{color:#4ade80!important}.production-negative{color:#fbbf24!important}.production-results-grid{grid-template-columns:minmax(0,1fr) 290px;gap:16px;display:grid}.production-table-section,.production-cost-panel,.production-resource-list,.production-recipe-row,.production-resource-table{border:1px solid var(--line);background:var(--surface);border-radius:6px}.production-section-head{padding:15px 16px}.production-section-head h2,.production-section-head h3,.production-resource-list h2,.production-modal-section h3{color:var(--text-strong);font:800 12px var(--mono);margin:0}.production-section-head span{color:var(--text-muted);font:600 11px var(--display)}.production-table-section table td small,.production-orders-table table td small{color:var(--text-muted);font:600 10px var(--mono);margin-top:4px;display:block}.production-shortage-row{background:#f59e0b0f}.production-cost-panel{padding:0 16px 16px}.production-cost-panel .production-section-head{padding-inline:0}.production-cost-panel dl{gap:0;margin:0;display:grid}.production-cost-panel dl>div{border-top:1px solid var(--line);justify-content:space-between;gap:12px;padding:10px 0;display:flex}.production-cost-panel dd{color:var(--text-strong);font:800 12px var(--display);text-align:right;margin:0}.production-cost-panel .production-cost-total dd{color:var(--cyan);font-size:15px}.production-resource-requirements{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.production-resource-list{padding:16px}.production-resource-list h2{margin-bottom:8px}.production-resource-list>div{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 0;display:grid}.production-resource-list strong,.production-resource-list b{color:var(--text-strong);font:700 11px var(--display)}.production-resource-list span{color:var(--text-muted);font:600 10px var(--mono)}.production-resource-list b{grid-area:1/2/span 2;align-self:center}.production-plan-actions{align-items:center;padding:16px 0 0}.production-list-head{margin-bottom:14px}.production-list-head p{color:var(--text-muted);font:600 12px var(--display);margin:7px 0}.production-recipe-list{gap:10px;display:grid}.production-recipe-row{grid-template-columns:minmax(210px,1fr) auto 170px;align-items:center;gap:20px;padding:16px;display:grid}.production-recipe-title,.production-recipe-price{gap:4px;display:grid}.production-recipe-title strong,.production-recipe-price strong{color:var(--text-strong);font:800 13px var(--display)}.production-recipe-title span,.production-recipe-materials span,.production-bom-detail span{color:var(--text-muted);font:600 10px var(--mono)}.production-recipe-materials{flex-wrap:wrap;gap:7px;display:flex}.production-recipe-materials span{border:1px solid var(--line);border-radius:3px;padding:5px 7px}.production-recipe-price{text-align:right;justify-items:end}.production-recipe-row details{grid-column:1/-1}.production-recipe-row summary{cursor:pointer;color:var(--cyan);font:700 11px var(--display)}.production-bom-detail{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;padding-top:11px;display:grid}.production-bom-detail span{background:var(--button-bg);border:1px solid var(--line);border-radius:3px;padding:7px 8px}.production-orders-table table td button,.production-resource-table button,.production-modal-section button,.production-units button{border:1px solid var(--line);background:var(--button-bg);min-height:30px;color:var(--button-text);font:700 10px var(--mono);cursor:pointer;border-radius:4px;padding:0 9px}.production-status.planned{color:#fbbf24;border-color:#f59e0b73}.production-status.materials-ready{color:#4ade80;border-color:#4ade8073}.production-status.in-progress{color:var(--cyan);border-color:#15f4ff73}.production-status.quality-check{color:#c4b5fd;border-color:#c4b5fd73}.production-status.completed{color:#4ade80;background:#22c55e1a;border-color:#4ade8073}.production-complete-output{color:#86efac;border-color:#4ade8059}.production-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.production-resource-table .production-section-head{align-items:center}.production-resource-table .production-section-head>div{gap:5px;display:grid}.production-resource-table .production-section-head button{flex:none}.production-resource-table table{min-width:520px}.production-resource-table td{padding:7px}.production-resource-table th:last-child,.production-resource-table td:last-child{white-space:nowrap;width:1%}.production-remove-row{color:#fca5a5!important}.production-empty-cell{color:var(--text-muted);font:600 11px var(--display);text-align:center;padding:18px!important}.production-configuration-footer{border:1px solid var(--line);background:var(--surface);border-radius:6px;flex-wrap:wrap;align-items:end;margin-top:16px;padding:16px}.production-configuration-footer label{min-width:220px}.production-units{flex:1;grid-template-columns:auto 120px auto;align-items:end;gap:7px;display:grid}.production-units span{color:var(--text-muted);font:600 11px var(--display);align-self:center}.production-recipe-modal{width:min(920px,100vw - 28px);max-height:calc(100svh - 30px);overflow:auto}.production-quality-modal{width:min(620px,100vw - 28px)}.production-modal-section{border-top:1px solid var(--line);gap:9px;margin-top:18px;padding-top:16px;display:grid}.production-modal-section .production-section-head{align-items:center;padding:0}.production-form-row{grid-template-columns:minmax(180px,1fr) 105px 95px 110px auto;gap:8px;display:grid}.production-step-row{grid-template-columns:minmax(150px,1fr) 90px minmax(160px,1fr) auto;gap:8px;display:grid}.production-assignment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.production-assignment-grid label{border:1px solid var(--line);min-height:36px;color:var(--text-soft);font:600 11px var(--display);border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:0 8px;display:flex}.production-assignment-grid label>span{align-items:center;gap:5px;min-width:0;display:flex}.production-assignment-grid input[type=number]{width:76px;min-height:27px}.production-full-width{color:var(--text-muted);font:700 10px var(--mono);gap:6px;margin-top:16px;display:grid}.production-full-width textarea{resize:vertical;border:1px solid var(--line);background:var(--button-bg);min-height:58px;color:var(--text-strong);font:600 12px var(--display);border-radius:4px;padding:8px}@media (width<=1050px){.production-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-results-grid,.production-resource-requirements,.production-resource-grid{grid-template-columns:1fr}.production-assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.production-page{padding:18px 16px 28px}.production-tabs{width:100%;display:flex;overflow-x:auto}.production-heading,.production-list-head,.production-plan-actions{display:grid}.production-heading-metrics{justify-content:flex-start}.production-plan-form,.production-summary-grid{grid-template-columns:1fr}.production-recipe-row{grid-template-columns:1fr;gap:12px}.production-recipe-price{text-align:left;justify-items:start}.production-configuration-footer{align-items:stretch;display:grid}.production-units{grid-template-columns:1fr auto}.production-units span{grid-column:1/-1}.production-form-row,.production-step-row{grid-template-columns:1fr 1fr}.production-form-row button,.production-step-row button{grid-column:1/-1}.production-assignment-grid{grid-template-columns:1fr}}.branch-switcher{color:var(--text-muted);font:700 10px var(--mono);text-transform:uppercase;align-items:center;gap:7px;display:flex}.branch-switcher select{border:1px solid var(--line);background:var(--button-bg);width:150px;height:34px;color:var(--text-strong);font:600 12px var(--display);border-radius:5px;padding:0 28px 0 9px}.organization-page{gap:28px;max-width:1420px;margin:0 auto;display:grid}.organization-heading,.organization-section-heading,.branch-editor-heading,.warehouse-editor-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.organization-heading h1,.organization-section-heading h2,.branch-editor-heading h3,.warehouse-editor-heading h4{color:var(--text-strong);font-family:var(--display);margin:0}.organization-heading h1{font-size:23px}.organization-section-heading h2{font-size:16px}.branch-editor-heading h3{font-size:14px}.warehouse-editor-heading h4{font-size:13px}.organization-heading p,.organization-section-heading p{color:var(--text-muted);font:500 13px var(--display);margin:6px 0 0}.organization-section{border-top:1px solid var(--line);gap:18px;padding-top:22px;display:grid}.organization-notice{color:#9df3df;font:600 12px var(--display);background:#2dd4bf17;border:1px solid #2dd4bf59;border-radius:5px;padding:10px 12px}.organization-notice.error{color:#fca5a5;background:#f8717117;border-color:#f8717166}.organization-status{min-height:25px;font:700 10px var(--mono);text-transform:uppercase;white-space:nowrap;border:1px solid #0000;border-radius:4px;align-items:center;padding:0 8px;display:inline-flex}.organization-status.active{color:#86efac;background:#4ade8017;border-color:#4ade8059}.organization-status.inactive{color:#fdba74;background:#fb923c17;border-color:#fb923c66}.organization-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.organization-form-grid>label{color:var(--text-muted);font:700 10px var(--mono);text-transform:uppercase;gap:6px;display:grid}.organization-form-grid input,.organization-form-grid select,.warehouse-fields input{border:1px solid var(--line);background:var(--field-bg);width:100%;min-height:39px;color:var(--text-strong);font:500 13px var(--display);border-radius:5px;outline:none;padding:0 10px}.organization-form-grid input:focus,.organization-form-grid select:focus,.warehouse-fields input:focus{border-color:var(--accent)}.organization-field-wide{grid-column:span 2}.organization-checkbox{align-self:end;align-items:center;min-height:39px;color:var(--text-soft)!important;font:600 12px var(--display)!important;text-transform:none!important;gap:8px!important;display:flex!important}.organization-checkbox input{width:16px;min-height:16px;accent-color:var(--accent);margin:0}.organization-form-actions{align-items:end;display:flex}.organization-profile-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.organization-profile-summary div{gap:5px;min-width:0;display:grid}.organization-profile-summary span{color:var(--text-muted);font:700 10px var(--mono);text-transform:uppercase}.organization-profile-summary strong{color:var(--text-strong);font:600 13px var(--display);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.organization-modal{width:min(900px,100%)}.organization-modal-form .warehouse-editor,.organization-modal-actions{grid-column:1/-1}.organization-modal-actions{justify-content:flex-end;gap:8px}.secondary-action,.text-action,.icon-action{border:1px solid var(--line);background:var(--button-bg);color:var(--text-soft);cursor:pointer;font:600 12px var(--display);border-radius:5px}.secondary-action{min-height:36px;padding:0 12px}.text-action{min-height:31px;padding:0 10px}.icon-action{color:#fca5a5;width:31px;height:31px;padding:0}.secondary-action:hover,.text-action:hover,.icon-action:hover{border-color:var(--accent);color:var(--text-strong)}.organization-branch-list{border-top:1px solid var(--line);display:grid}.organization-branch-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(180px,1.15fr) 110px minmax(190px,1fr) auto auto;align-items:center;gap:16px;min-height:76px;padding:12px 0;display:grid}.organization-branch-title,.organization-branch-detail{gap:4px;min-width:0;display:grid}.organization-branch-title strong{color:var(--text-strong);font:700 13px var(--display)}.organization-branch-title span{color:var(--accent);font:700 10px var(--mono)}.organization-branch-detail{color:var(--text-soft);font:500 12px var(--display)}.organization-branch-detail b{color:var(--text-strong);font-size:16px}.organization-branch-detail small{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.branch-editor{border:1px solid var(--line);background:var(--surface);border-radius:6px;gap:17px;padding:18px;display:grid}.warehouse-editor{border-top:1px solid var(--line);gap:8px;padding-top:16px;display:grid}.warehouse-fields{grid-template-columns:minmax(150px,1fr) 100px minmax(160px,1fr) auto 31px;align-items:center;gap:8px;display:grid}.warehouse-fields .organization-checkbox{align-self:center;min-height:31px}.organization-access-table-wrap{border-top:1px solid var(--line);overflow-x:auto}.organization-access-table{border-collapse:collapse;width:100%;min-width:700px}.organization-access-table th{color:var(--text-muted);border-bottom:1px solid var(--line);font:700 10px var(--mono);text-align:left;text-transform:uppercase;padding:11px 10px}.organization-access-table td{color:var(--text-soft);border-bottom:1px solid var(--line);font:500 12px var(--display);vertical-align:top;padding:12px 10px}.organization-access-table td strong,.organization-access-table td small{display:block}.organization-access-table td strong{color:var(--text-strong);font-size:13px}.organization-access-table td small{color:var(--text-muted);margin-top:3px}.branch-access-options{flex-wrap:wrap;gap:7px;display:flex}.branch-access-options label{border:1px solid var(--line);cursor:pointer;min-height:27px;color:var(--text-soft);font:600 11px var(--display);border-radius:4px;align-items:center;gap:5px;padding:0 8px;display:inline-flex}.branch-access-options input{accent-color:var(--accent)}.organization-empty{color:var(--text-muted);font:500 12px var(--display);text-align:center;padding:17px 0}@media (width<=900px){.organization-form-grid,.organization-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.organization-branch-row{grid-template-columns:minmax(160px,1fr) auto auto}.organization-branch-detail:last-of-type{grid-column:1/2}.organization-branch-row .organization-status{justify-self:start}.warehouse-fields{grid-template-columns:minmax(130px,1fr) 90px minmax(140px,1fr) auto 31px}}@media (width<=620px){.branch-switcher>span{display:none}.branch-switcher select{width:112px}.organization-heading,.organization-section-heading{flex-direction:column;align-items:flex-start}.organization-form-grid,.organization-profile-summary{grid-template-columns:1fr}.organization-field-wide{grid-column:auto}.organization-branch-row{grid-template-columns:1fr auto;gap:10px}.organization-branch-detail{grid-column:1/-1}.organization-branch-row .organization-status{grid-column:1/2}.warehouse-fields{grid-template-columns:1fr 90px 31px}.warehouse-fields input:nth-child(3){grid-column:1/-1}.warehouse-fields .organization-checkbox{grid-column:1/3}}.production-action-row,.production-recipe-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.production-action-row button,.production-recipe-actions button{min-height:34px}.production-recipe-actions{justify-content:flex-end}.production-recipe-actions small,.production-order-details,.production-purchase-requests small{color:var(--text-muted);font:600 10px var(--mono)}.production-order-details{gap:4px;max-width:280px;margin-top:8px;display:grid}.production-order-details summary{cursor:pointer;color:var(--accent)}.production-orders-stack,.production-purchase-requests,.production-process-step{gap:14px;display:grid}.production-material-row{border:1px solid var(--line);background:var(--panel);border-radius:6px;gap:8px;padding:10px;display:grid}.production-substitute-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.production-substitute-row label{color:var(--text-muted);font:700 10px var(--mono);text-transform:uppercase;gap:5px;display:grid}.production-substitute-row select,.production-substitute-row input{box-sizing:border-box;min-width:0;min-height:34px}.production-purchase-requests{margin-top:20px}.production-process-step{border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:12px}.production-process-resources{grid-template-columns:repeat(5,minmax(110px,1fr));align-items:end;gap:10px;display:grid}.production-process-resources label,.production-inline-check{min-width:0;color:var(--text-muted);font:700 10px var(--mono);text-transform:uppercase;gap:5px;display:grid}.production-process-resources select,.production-process-resources input{box-sizing:border-box;min-height:34px}.production-process-resources select[multiple]{min-height:76px}.production-inline-check{text-transform:none;min-height:34px;font-family:var(--display);align-items:center;gap:7px;display:flex}.production-inline-check input{width:15px;height:15px;accent-color:var(--accent);margin:0}@media (width<=900px){.production-process-resources{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.production-process-resources{grid-template-columns:1fr}.production-action-row>button{flex:140px}.production-recipe-actions{justify-content:flex-start}.production-substitute-row{grid-template-columns:1fr}}.shop-users-heading-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.access-role-chip{color:#99f6e4;min-height:25px;font:700 10px var(--mono);text-transform:uppercase;background:#2dd4bf14;border:1px solid #2dd4bf47;border-radius:4px;align-items:center;padding:0 8px;display:inline-flex}.access-control-page{gap:26px;max-width:1420px;margin:0 auto;display:grid}.access-control-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.access-control-heading h1{color:var(--text-strong);font:700 23px var(--display);margin:0}.access-control-heading p{color:var(--text-muted);font:500 13px var(--display);margin:6px 0 0}.access-role-list{border-top:1px solid var(--line);display:grid}.access-role-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(165px,.9fr) minmax(230px,1.4fr) 90px auto auto;align-items:center;gap:16px;min-height:74px;padding:11px 0;display:grid}.access-role-row>div:first-child,.access-role-summary{gap:4px;display:grid}.access-role-row strong{color:var(--text-strong);font:700 13px var(--display)}.access-role-row>div:first-child span{color:var(--accent);font:700 10px var(--mono);text-transform:uppercase}.access-role-row p{color:var(--text-muted);font:500 12px var(--display);margin:0}.access-role-summary b{color:var(--text-strong);font:700 16px var(--display)}.access-role-summary span{color:var(--text-muted);font:600 10px var(--mono);text-transform:uppercase}.role-editor-section{border-top:1px solid var(--line);gap:18px;padding-top:22px;display:grid}.role-editor-form{gap:18px;display:grid}.permission-matrix-wrap{border:1px solid var(--line);background:var(--surface);border-radius:6px;overflow-x:auto}.permission-matrix{border-collapse:collapse;width:100%;min-width:700px}.permission-matrix th,.permission-matrix td{border-bottom:1px solid var(--line);text-align:center;padding:10px 12px}.permission-matrix th{color:var(--text-muted);font:700 10px var(--mono);text-transform:uppercase}.permission-matrix th:first-child,.permission-matrix td:first-child{width:190px;color:var(--text-soft);font:600 12px var(--display);text-align:left;text-transform:capitalize}.permission-matrix tr:last-child td{border-bottom:0}.permission-matrix input{width:16px;height:16px;accent-color:var(--accent);cursor:pointer;margin:0}.auth-alert.success{color:#bbf7d0;background:#4ade8017;border:1px solid #4ade8059}@media (width<=820px){.access-control-heading{flex-direction:column}.access-role-row{grid-template-columns:minmax(150px,1fr) auto auto}.access-role-row p{grid-column:1/-1}.access-role-summary{grid-column:1/2}}@media (width<=560px){.shop-users-heading-actions{width:100%}.shop-users-heading-actions>button{flex:1}.access-role-row{grid-template-columns:1fr auto;gap:10px}.access-role-row p,.access-role-summary{grid-column:1/-1}}.inventory-control-page{gap:22px;display:grid}.inventory-control-heading,.inventory-control-actions,.inventory-control-section-heading,.inventory-control-tabs,.inventory-control-toggle,.inventory-control-side-stack{align-items:center;display:flex}.inventory-control-heading,.inventory-control-section-heading{justify-content:space-between;gap:16px}.inventory-control-heading h1,.inventory-control-section-heading h2,.inventory-control-form h2{color:var(--text-strong);font-family:var(--display);margin:0}.inventory-control-heading h1{font-size:24px}.inventory-control-section-heading h2,.inventory-control-form h2{font-size:16px}.inventory-control-heading p,.inventory-control-section-heading p{color:var(--text-muted);font:500 12px var(--display);margin:6px 0 0}.inventory-control-actions,.inventory-control-tabs,.inventory-control-toggle{flex-wrap:wrap;gap:8px}.inventory-control-tabs{border-bottom:1px solid var(--line)}.inventory-control-tabs button,.inventory-control-toggle button{min-height:36px;color:var(--text-muted);cursor:pointer;font:700 12px var(--display);background:0 0;border:0;border-bottom:2px solid #0000;padding:0 12px}.inventory-control-tabs button.active,.inventory-control-toggle button.active{border-bottom-color:var(--accent);color:var(--text-strong)}.inventory-control-layout{grid-template-columns:minmax(0,1.55fr) minmax(300px,.9fr);align-items:start;gap:24px;display:grid}.inventory-control-layout-equal{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-control-table,.inventory-control-side-stack,.inventory-control-panel{gap:14px;display:grid}.inventory-control-side-stack{align-items:stretch}.inventory-control-form{border:1px solid var(--line);background:var(--surface);border-radius:6px;gap:16px;padding:16px;display:grid}.inventory-control-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.inventory-control-form label{min-width:0;color:var(--text-muted);font:700 10px var(--mono);text-transform:uppercase;gap:6px;display:grid}.inventory-control-form input,.inventory-control-form select{box-sizing:border-box;border:1px solid var(--line);background:var(--panel);width:100%;min-height:36px;color:var(--text-strong);font:500 13px var(--display);border-radius:4px;padding:7px 9px}.inventory-control-wide{grid-column:1/-1}.inventory-control-form label.inventory-control-check{color:var(--text-soft);font:600 11px var(--display);text-transform:none;align-items:center;gap:8px;display:flex}.inventory-control-check input{width:16px;min-height:16px;accent-color:var(--accent);margin:0}.inventory-control-code{color:var(--text-muted);font:700 10px var(--mono);margin-top:3px;display:block}.inventory-control-subheading{margin-top:18px}.inventory-chip-list{flex-wrap:wrap;gap:8px;display:flex}.inventory-unit-chip{border:1px solid var(--line);min-height:30px;color:var(--text-soft);font:600 11px var(--display);border-radius:4px;align-items:center;gap:6px;padding:0 8px;display:inline-flex}.inventory-unit-chip strong{color:var(--accent);font:700 11px var(--mono)}.inventory-unit-chip small{color:var(--text-muted);font:600 9px var(--mono)}.inventory-rule-list{border-top:1px solid var(--line);gap:0;display:grid}.inventory-rule-list>div{border-bottom:1px solid var(--line);color:var(--text-soft);font:600 12px var(--display);grid-template-columns:1fr 1fr auto;gap:8px;padding:10px 0;display:grid}.inventory-rule-list strong{color:var(--text-strong)}.inventory-rule-list small{color:var(--text-muted);font:600 10px var(--mono)}@media (width<=1000px){.inventory-control-layout,.inventory-control-layout-equal{grid-template-columns:1fr}}@media (width<=620px){.inventory-control-heading{flex-direction:column;align-items:flex-start}.inventory-control-actions{width:100%}.inventory-control-actions>button{flex:1}.inventory-control-form-grid{grid-template-columns:1fr}.inventory-control-wide{grid-column:auto}.inventory-rule-list>div{grid-template-columns:1fr 1fr}.inventory-rule-list small{grid-column:1/-1}}.pipeline-page{max-width:1200px;margin:0 auto}.pipeline-notice{border-radius:8px;margin-bottom:16px;padding:12px 18px;font-size:14px;font-weight:500;animation:.3s pipeline-slideIn}.pipeline-notice.success{color:#22c55e;background:#22c55e1f;border:1px solid #22c55e33}.pipeline-notice.error{color:#ef4444;background:#ef44441f;border:1px solid #ef444433}.pipeline-notice.info{color:#3b82f6;background:#3b82f61f;border:1px solid #3b82f633}@keyframes pipeline-slideIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.pipeline-list-section{animation:.35s pipeline-fadeIn}.pipeline-list-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:28px;display:flex}.pipeline-list-header h1{margin:0 0 4px;font-size:26px;font-weight:700}.pipeline-list-header p{color:var(--text-soft);margin:0;font-size:14px}.pipeline-empty-state{text-align:center;background:linear-gradient(135deg,#6366f10f,#3b82f60f);border:1px dashed #6366f140;border-radius:16px;padding:60px 24px}.pipeline-empty-icon{margin-bottom:16px;font-size:64px}.pipeline-empty-state h2{margin:0 0 12px;font-size:22px;font-weight:700}.pipeline-empty-state p{max-width:560px;color:var(--text-soft);margin:0 auto 24px;font-size:14px;line-height:1.65}.pipeline-business-preview{flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:28px;display:flex}.pipeline-preset-tag{color:var(--text-strong,#fff);background:#6366f11a;border:1px solid #6366f126;border-radius:20px;padding:6px 14px;font-size:13px}.pipeline-section{margin-bottom:32px}.pipeline-section-title{border-bottom:1px solid var(--line);margin:0 0 16px;padding-bottom:8px;font-size:16px;font-weight:600}.pipeline-card-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;display:grid}.pipeline-card{background:var(--surface);border:1px solid var(--line);cursor:pointer;border-radius:12px;padding:18px;transition:all .2s;position:relative;overflow:hidden}.pipeline-card:before{content:"";opacity:.6;background:linear-gradient(90deg,#6366f1,#3b82f6);height:3px;position:absolute;top:0;left:0;right:0}.pipeline-card:hover{border-color:#6366f1;transform:translateY(-2px);box-shadow:0 8px 24px #6366f11f}.pipeline-card.completed:before{background:linear-gradient(90deg,#22c55e,#10b981)}.pipeline-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:10px;display:flex}.pipeline-card-header strong{font-size:16px;font-weight:600}.pipeline-card-id{color:var(--text-muted);font-family:monospace;font-size:11px}.pipeline-card-meta{color:var(--text-soft);flex-wrap:wrap;gap:12px;margin-bottom:12px;font-size:12px;display:flex}.pipeline-card-type{font-weight:500}.pipeline-card-progress{margin-bottom:10px}.pipeline-card-progress-bar{background:#ffffff0f;border-radius:3px;width:100%;height:6px;margin-bottom:6px;overflow:hidden}.pipeline-card-progress-fill{background:linear-gradient(90deg,#6366f1,#3b82f6);border-radius:3px;height:100%;transition:width .5s}.pipeline-card.completed .pipeline-card-progress-fill{background:linear-gradient(90deg,#22c55e,#10b981)}.pipeline-card-stage{color:var(--text-soft);font-size:12px}.pipeline-card-cost{color:var(--text-soft);margin-bottom:8px;font-size:13px}.pipeline-card-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:8px;display:flex}.pipeline-card-footer small{color:var(--text-muted);font-size:11px}.pipeline-btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6366f1,#4f46e5);border:none;border-radius:8px;align-items:center;gap:6px;padding:10px 22px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.pipeline-btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#7c3aed,#6366f1);transform:translateY(-1px)}.pipeline-btn-primary:disabled{opacity:.5;cursor:not-allowed}.pipeline-btn-lg{border-radius:10px;padding:14px 32px;font-size:15px}.pipeline-btn-secondary{background:var(--surface);color:var(--text-strong,#fff);border:1px solid var(--line);cursor:pointer;border-radius:8px;padding:10px 22px;font-size:14px;font-weight:500;transition:all .2s}.pipeline-btn-secondary:hover{border-color:#6366f1}.pipeline-btn-back{color:var(--text-soft);cursor:pointer;background:0 0;border:none;padding:4px 0;font-size:13px;transition:color .2s}.pipeline-btn-back:hover{color:var(--text-strong,#fff)}.pipeline-btn-danger-sm{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:14px;transition:background .2s}.pipeline-btn-danger-sm:hover{background:#ef444426}.pipeline-btn-remove{color:#ef4444;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:16px;transition:background .2s}.pipeline-btn-remove:hover{background:#ef444426}.pipeline-btn-add-ing{border:1px dashed var(--line);color:#6366f1;cursor:pointer;background:0 0;border-radius:8px;width:100%;margin-top:8px;padding:10px;font-size:13px;font-weight:500;transition:all .2s}.pipeline-btn-add-ing:hover{background:#6366f10f;border-color:#6366f1}.pipeline-workspace{animation:.35s pipeline-fadeIn}.pipeline-ws-header{gap:14px;margin-bottom:18px;display:grid}.pipeline-ws-actions,.pipeline-ws-title,.pipeline-ws-secondary-actions{align-items:center;display:flex}.pipeline-ws-actions{justify-content:space-between;gap:12px}.pipeline-ws-secondary-actions{gap:6px}.pipeline-ws-title{justify-content:space-between;gap:12px}.pipeline-ws-kicker{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px;font-size:10px;font-weight:700;display:block}.pipeline-ws-title h1{margin:0;font-size:24px;font-weight:700}.pipeline-icon-action{border:1px solid var(--line);background:var(--surface);min-height:32px;color:var(--text-soft);cursor:pointer;border-radius:6px;padding:0 10px;font-size:11px;font-weight:600}.pipeline-ws-title .pipeline-btn-primary{min-height:36px;padding:0 14px}.pipeline-ws-id{color:var(--text-muted);font-family:monospace;font-size:12px}.pipeline-progress{-webkit-overflow-scrolling:touch;justify-content:space-between;align-items:flex-start;gap:0;margin-bottom:24px;padding:16px 0;display:flex;overflow-x:auto}.pipeline-stage-node{cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;align-items:center;gap:6px;min-width:64px;padding:8px 4px;transition:all .2s;display:flex;position:relative}.pipeline-stage-node:disabled{cursor:default}.pipeline-stage-icon{border:2px solid var(--line);z-index:1;background:#ffffff0a;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;transition:all .3s;display:flex;position:relative}.pipeline-stage-node.completed .pipeline-stage-icon{color:#fff;background:linear-gradient(135deg,#22c55e,#10b981);border-color:#22c55e;font-size:14px;font-weight:700}.pipeline-stage-node.current .pipeline-stage-icon{color:#fff;background:linear-gradient(135deg,#6366f1,#4f46e5);border-color:#6366f1;animation:2s ease-in-out infinite pipeline-pulse;box-shadow:0 0 0 4px #6366f133}.pipeline-stage-node.locked .pipeline-stage-icon{opacity:.35}.pipeline-stage-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;font-size:10px;font-weight:600}.pipeline-stage-node.current .pipeline-stage-label{color:#6366f1}.pipeline-stage-node.completed .pipeline-stage-label{color:#22c55e}.pipeline-stage-node.locked .pipeline-stage-label{opacity:.35}.pipeline-stage-connector{background:var(--line);z-index:0;width:calc(100% - 48px);height:2px;position:absolute;top:28px;left:calc(50% + 24px)}.pipeline-stage-connector.completed{background:#22c55e}@keyframes pipeline-pulse{0%,to{box-shadow:0 0 0 4px #6366f133}50%{box-shadow:0 0 0 8px #6366f11a}}.pipeline-plan-overview{flex-direction:column;gap:18px;display:flex}.pipeline-plan-overview-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.pipeline-plan-overview-head h2{margin:0}.pipeline-plan-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.pipeline-plan-overview-grid>div{border:1px solid var(--line);background:#ffffff06;border-radius:10px;flex-direction:column;justify-content:center;gap:5px;min-height:72px;padding:12px 14px;display:flex}.pipeline-plan-overview-grid span{color:var(--text-soft);font-size:11px}.pipeline-plan-overview-grid strong{font-size:14px}.pipeline-plan-overview>.pipeline-btn-primary{align-self:flex-end}.pipeline-stage-content{animation:.3s pipeline-fadeIn}.pipeline-stage-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:32px;position:relative;overflow:hidden}.pipeline-stage-card:before{content:"";background:linear-gradient(90deg,#6366f1,#3b82f6,#8b5cf6);height:4px;position:absolute;top:0;left:0;right:0}.pipeline-plan-modal-card{flex-direction:column;width:min(1080px,100%);max-height:calc(100dvh - 32px);padding:0;display:flex;overflow:hidden}.pipeline-plan-modal-header{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;margin:0;padding:20px 24px 16px;display:flex}.pipeline-plan-modal-card .pipeline-form{gap:8px;min-height:0;padding:12px 24px 0;overflow:hidden}.pipeline-plan-modal-card .pipeline-stage-header{padding:14px 24px 10px}.pipeline-plan-modal-card .pipeline-stage-header p{font-size:12px;line-height:1.35}.pipeline-plan-modal-card .pipeline-stage-badge{margin-bottom:6px}.pipeline-plan-modal-card .pipeline-auto-detect-banner{display:none}.pipeline-plan-modal-card .pipeline-fieldset{padding:8px 12px 10px}.pipeline-plan-modal-card .pipeline-fieldset legend{font-size:13px}.pipeline-plan-modal-card .pipeline-form-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pipeline-plan-modal-card .pipeline-field{gap:4px}.pipeline-plan-modal-card .pipeline-field>span{font-size:11px}.pipeline-plan-modal-card .pipeline-field input,.pipeline-plan-modal-card .pipeline-field select{height:34px;min-height:34px;padding:6px 9px;font-size:12px}.pipeline-plan-modal-card .pipeline-field-label-row{min-height:13px}.pipeline-plan-modal-card .pipeline-ing-header{margin-bottom:3px;padding:4px 0 5px;font-size:10px}.pipeline-plan-modal-card .pipeline-ingredients-table{margin-top:4px}.pipeline-plan-modal-card .pipeline-ing-row{gap:6px;min-height:34px;padding:2px 0}.pipeline-plan-modal-card .pipeline-ing-row input,.pipeline-plan-modal-card .pipeline-ing-row select,.pipeline-plan-modal-card .pipeline-ing-select-wrap select{height:32px;min-height:32px;padding:5px 8px;font-size:12px}.pipeline-plan-modal-card .pipeline-ing-select-wrap{gap:6px;display:flex}.pipeline-plan-modal-card .pipeline-ing-select-wrap input{min-width:90px}.pipeline-plan-modal-card .pipeline-ing-actions-row{margin-top:3px}.pipeline-plan-modal-card .pipeline-btn-add,.pipeline-plan-modal-card .pipeline-ing-actions-row .pipeline-btn-secondary{min-height:28px;padding:4px 8px;font-size:11px}.pipeline-plan-modal-card .pipeline-unit-cost-preview,.pipeline-plan-modal-card .pipeline-preview-box{display:none}.pipeline-plan-modal-card .pipeline-form-actions{border-top:1px solid var(--line);background:var(--surface);z-index:2;margin:0 -24px -24px;padding:12px 24px 16px;position:sticky;bottom:-24px}.pipeline-modal-close{border:1px solid var(--line);width:32px;height:32px;color:var(--text-soft);cursor:pointer;background:#ffffff0a;border-radius:8px;flex:0 0 32px;font-size:22px;line-height:1}.pipeline-stage-header{margin-bottom:28px}.pipeline-stage-badge{color:#6366f1;text-transform:uppercase;letter-spacing:.5px;background:#6366f11f;border-radius:20px;margin-bottom:12px;padding:4px 12px;font-size:11px;font-weight:700;display:inline-block}.pipeline-stage-header h2{margin:0 0 8px;font-size:22px;font-weight:700}.pipeline-stage-header p{color:var(--text-soft);margin:0;font-size:14px;line-height:1.6}.pipeline-auto-detect-banner{background:linear-gradient(135deg,#22c55e0f,#10b9810a);border:1px solid #22c55e33;border-radius:10px;flex-direction:column;gap:6px;margin-bottom:8px;padding:14px 18px;display:flex}.pipeline-auto-detect-banner>span{font-size:15px;font-weight:700}.pipeline-auto-detect-banner>small{color:var(--text-soft);font-size:13px;line-height:1.5}.pipeline-form{flex-direction:column;gap:24px;display:flex}.pipeline-fieldset{border:1px solid var(--line);border-radius:12px;margin:0;padding:20px}.pipeline-fieldset legend{color:var(--text-strong,#fff);padding:0 8px;font-size:14px;font-weight:600}.pipeline-form-row{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;display:grid}.pipeline-field{flex-direction:column;gap:6px;display:flex}.pipeline-field.wide{grid-column:1/-1}.pipeline-field>span{color:var(--text-soft);font-size:13px;font-weight:500}.pipeline-field input,.pipeline-field select,.pipeline-field textarea{border:1px solid var(--line);color:var(--text-strong,#fff);background:#ffffff0a;border-radius:8px;padding:10px 14px;font-size:14px;transition:border-color .2s}.pipeline-field input:focus,.pipeline-field select:focus,.pipeline-field textarea:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11a}.pipeline-preset-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-top:12px;display:grid}.pipeline-preset-option{border:2px solid var(--line);cursor:pointer;border-radius:10px;flex-direction:column;gap:4px;padding:14px;transition:all .2s;display:flex;position:relative}.pipeline-preset-option:hover{border-color:#6366f166}.pipeline-preset-option.selected{background:#6366f114;border-color:#6366f1}.pipeline-preset-option input{opacity:0;position:absolute}.pipeline-preset-label{font-size:14px;font-weight:600}.pipeline-preset-option small{color:var(--text-muted);font-size:11px}.pipeline-ingredients-table{margin-top:12px}.pipeline-ing-header{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--line);grid-template-columns:2fr 1fr 1fr 1fr 40px;gap:8px;margin-bottom:8px;padding:8px 0;font-size:12px;font-weight:600;display:grid}.pipeline-ing-row{grid-template-columns:2fr 1fr 1fr 1fr 40px;align-items:center;gap:8px;padding:6px 0;display:grid}.pipeline-ing-row input{border:1px solid var(--line);color:var(--text-strong,#fff);background:#ffffff0a;border-radius:6px;width:100%;padding:8px 10px;font-size:13px}.pipeline-ing-row input:focus{border-color:#6366f1;outline:none}.pipeline-unit-cost-preview{background:#6366f10f;border:1px solid #6366f11f;border-radius:8px;margin-top:12px;padding:12px 16px;font-size:14px}.pipeline-unit-cost-preview strong{color:#6366f1}.pipeline-preview-box{background:linear-gradient(135deg,#6366f10f,#3b82f60f);border:1px solid #6366f126;border-radius:12px;padding:20px}.pipeline-preview-box h3{margin:0 0 14px;font-size:15px;font-weight:600}.pipeline-preview-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;display:grid}.pipeline-preview-stats>div{flex-direction:column;gap:4px;display:flex}.pipeline-preview-stats span{color:var(--text-muted);font-size:12px}.pipeline-preview-stats strong{font-size:16px;font-weight:700}.profit-positive{color:#22c55e!important}.profit-negative{color:#ef4444!important}.pipeline-form-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:8px;padding-top:16px;display:flex}.pipeline-plan-summary{margin-bottom:28px}.pipeline-review-card{flex-direction:column;gap:16px;padding:24px;display:flex}.pipeline-review-header{justify-content:space-between;align-items:flex-start;gap:16px;margin:0;display:flex}.pipeline-review-header h2{margin:0}.pipeline-review-status{flex-wrap:wrap;gap:6px;display:flex}.pipeline-review-card .pipeline-plan-summary{margin:0}.pipeline-review-card .pipeline-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pipeline-review-card .pipeline-summary-card{min-height:64px;padding:10px 12px}.pipeline-review-card .pipeline-summary-card span{font-size:10px}.pipeline-review-card .pipeline-summary-card strong{font-size:13px}.pipeline-review-card .pipeline-requirements-table{min-height:0}.pipeline-review-card .pipeline-requirements-table h3{margin:0}.pipeline-review-section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.pipeline-review-section-title span{color:var(--text-soft);font-size:11px}.pipeline-review-card .table-frame{max-height:280px;overflow:auto}.pipeline-review-card .table-frame th,.pipeline-review-card .table-frame td{padding:8px 10px}.pipeline-review-card .pipeline-form-actions{margin:0;padding-top:12px}.pipeline-summary-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;display:grid}.pipeline-summary-card{border:1px solid var(--line);background:#ffffff05;border-radius:10px;flex-direction:column;gap:6px;padding:16px;display:flex}.pipeline-summary-card span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;font-size:12px}.pipeline-summary-card strong{font-size:18px;font-weight:700}.pipeline-summary-card.highlight{background:linear-gradient(135deg,#6366f114,#6366f10a);border-color:#6366f133}.pipeline-summary-card.cost-card{background:linear-gradient(135deg,#f59e0b14,#f59e0b0a);border-color:#f59e0b33}.pipeline-summary-card.profit-card{background:linear-gradient(135deg,#22c55e14,#22c55e0a);border-color:#22c55e33}.pipeline-requirements-table{margin-bottom:24px}.pipeline-requirements-table h3{margin:0 0 14px;font-size:16px;font-weight:600}.pipeline-purchase-list{flex-direction:column;gap:10px;margin-bottom:24px;display:flex}.pipeline-purchase-row{border:1px solid var(--line);background:#ffffff05;border-radius:10px;align-items:center;gap:16px;padding:14px 18px;transition:all .25s;display:flex}.pipeline-purchase-row.purchased{background:#22c55e0a;border-color:#22c55e40}.pipeline-purchase-check{cursor:pointer;align-items:center;display:flex;position:relative}.pipeline-purchase-check input{cursor:pointer;accent-color:#22c55e;width:20px;height:20px}.pipeline-purchase-info{flex-direction:column;flex:1;gap:2px;display:flex}.pipeline-purchase-info strong{font-size:14px}.pipeline-purchase-info span{color:var(--text-soft);font-size:12px}.pipeline-purchase-cost label{flex-direction:column;gap:4px;display:flex}.pipeline-purchase-cost small{color:var(--text-muted);font-size:11px}.pipeline-purchase-cost input{border:1px solid var(--line);color:var(--text-strong,#fff);background:#ffffff0a;border-radius:6px;width:120px;padding:6px 10px;font-size:13px}.pipeline-purchase-est{color:var(--text-muted);white-space:nowrap;font-size:12px}.pipeline-purchase-summary{border:1px solid var(--line);background:#ffffff05;border-radius:10px;flex-wrap:wrap;gap:24px;margin-bottom:16px;padding:16px;display:flex}.pipeline-purchase-summary>div{flex-direction:column;gap:4px;display:flex}.pipeline-purchase-summary span{color:var(--text-muted);font-size:12px}.pipeline-purchase-summary strong{font-size:15px;font-weight:600}.pipeline-purchase-card{flex-direction:column;gap:14px;padding:24px;display:flex}.pipeline-purchase-header{justify-content:space-between;align-items:flex-start;gap:12px;margin:0;display:flex}.pipeline-purchase-header h2{margin:0}.pipeline-purchase-card .pipeline-purchase-summary{background:0 0;border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;display:grid}.pipeline-purchase-card .pipeline-purchase-summary>div{border:1px solid var(--line);background:#ffffff06;border-radius:8px;justify-content:center;min-height:58px;padding:10px 12px}.pipeline-purchase-card .pipeline-purchase-summary span{font-size:10px}.pipeline-purchase-card .pipeline-purchase-summary strong{font-size:14px}.pipeline-purchase-card .table-frame{max-height:360px;margin:0;overflow:auto}.pipeline-purchase-card .table-frame th,.pipeline-purchase-card .table-frame td{padding:8px 10px}.pipeline-purchase-card .table-frame input[type=number]{height:32px}.pipeline-purchase-card .pipeline-form-actions{margin:0;padding-top:12px}.pipeline-store-checklist{margin-bottom:24px}.pipeline-store-visual{text-align:center;margin-bottom:16px;padding:20px}.pipeline-store-icon{margin-bottom:8px;font-size:48px}.pipeline-store-visual h3{margin:0;font-size:16px}.pipeline-store-qty{color:#6366f1;margin-top:8px;font-size:24px;font-weight:700}.pipeline-store-item{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:10px 16px;display:flex}.pipeline-store-check{color:#22c55e;font-size:16px}.pipeline-store-item span{flex:1}.pipeline-store-item strong{font-weight:600}.pipeline-confirm-box{cursor:pointer;border:2px solid var(--line);border-radius:10px;align-items:center;gap:12px;margin-bottom:20px;padding:16px;transition:border-color .2s;display:flex}.pipeline-confirm-box:has(input:checked){background:#22c55e0a;border-color:#22c55e}.pipeline-confirm-box input{accent-color:#22c55e;cursor:pointer;width:18px;height:18px}.pipeline-confirm-box span{font-size:14px}.pipeline-produce-visual{text-align:center;background:linear-gradient(135deg,#6366f10a,#f59e0b0a);border-radius:12px;margin-bottom:24px;padding:24px}.pipeline-produce-animation{justify-content:center;align-items:center;gap:20px;margin-bottom:12px;font-size:40px;display:flex}.pipeline-cog{animation:3s linear infinite pipeline-spin}@keyframes pipeline-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pipeline-arrow{color:#6366f1}.pipeline-produce-visual p{color:var(--text-soft);margin:0;font-size:14px}.pipeline-qc-status{background:#f59e0b0f;border:1px solid #f59e0b26;border-radius:10px;align-items:center;gap:12px;margin-bottom:24px;padding:16px 20px;font-size:15px;font-weight:600;display:flex}.pipeline-qc-status.pass{background:#22c55e0f;border-color:#22c55e26}.pipeline-qc-status.partial{background:#f59e0b0f;border-color:#f59e0b26}.pipeline-qc-icon{font-size:24px}.pipeline-finish-summary{text-align:center;margin-bottom:28px}.pipeline-finish-icon{margin-bottom:16px;font-size:64px;animation:.6s pipeline-bounce}@keyframes pipeline-bounce{0%{opacity:0;transform:scale(.5)}60%{transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.pipeline-finish-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;max-width:800px;margin:0 auto;display:grid}.pipeline-sell-stats{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px;display:grid}.pipeline-sell-form{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:20px;display:flex}.pipeline-sell-form input{border:1px solid var(--line);color:var(--text-strong,#fff);background:#ffffff0a;border-radius:8px;flex:1;min-width:100px;padding:10px 14px;font-size:14px}.pipeline-sell-form input:focus{border-color:#6366f1;outline:none}.pipeline-cost-breakdown{margin-bottom:24px}.pipeline-cost-breakdown h3{margin:0 0 14px;font-size:16px;font-weight:600}.pipeline-cost-summary-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:24px;display:grid}.pipeline-cost-card{border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:6px;padding:16px;display:flex}.pipeline-cost-card span{color:var(--text-muted);font-size:12px}.pipeline-cost-card strong{font-size:18px;font-weight:700}.pipeline-cost-card.highlight{background:linear-gradient(135deg,#6366f114,#6366f10a);border-color:#6366f133}.pipeline-analyze-hero{justify-content:center;margin-bottom:24px;padding:32px 0;display:flex}.pipeline-profit-ring{border:6px solid #ffffff0f;border-radius:50%;justify-content:center;align-items:center;width:180px;height:180px;display:flex;position:relative}.pipeline-profit-ring.positive{background:#22c55e0a;border-color:#22c55e4d}.pipeline-profit-ring.negative{background:#ef44440a;border-color:#ef44444d}.pipeline-profit-value{flex-direction:column;align-items:center;gap:4px;display:flex}.pipeline-profit-value span{font-size:32px}.pipeline-profit-value strong{font-size:20px;font-weight:700}.pipeline-profit-value small{color:var(--text-muted);font-size:12px}.pipeline-analyze-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;margin-bottom:28px;display:grid}.pipeline-analyze-card{border:1px solid var(--line);border-radius:12px;flex-direction:column;gap:6px;padding:18px;display:flex}.pipeline-analyze-card h4{text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);margin:0;font-size:12px;font-weight:600}.pipeline-analyze-card strong{font-size:20px;font-weight:700}.pipeline-analyze-card small{color:var(--text-soft);font-size:12px}.pipeline-analyze-card.revenue{border-left:3px solid #3b82f6}.pipeline-analyze-card.cost{border-left:3px solid #f59e0b}.pipeline-analyze-card.profit{border-left:3px solid #22c55e}.pipeline-recommendations{border:1px solid var(--line);background:#ffffff05;border-radius:12px;margin-bottom:24px;padding:20px}.pipeline-recommendations h3{margin:0 0 14px;font-size:16px;font-weight:600}.pipeline-recommendations ul{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.pipeline-recommendations li{border-radius:8px;padding:10px 14px;font-size:13px;line-height:1.5}.pipeline-rec-good{background:#22c55e0f;border-left:3px solid #22c55e}.pipeline-rec-warn{background:#f59e0b0f;border-left:3px solid #f59e0b}.pipeline-rec-bad{background:#ef44440f;border-left:3px solid #ef4444}.pipeline-complete-banner{background:linear-gradient(135deg,#22c55e14,#10b9810a);border:1px solid #22c55e33;border-radius:12px;align-items:center;gap:16px;padding:20px;display:flex}.pipeline-complete-banner span{font-size:32px}.pipeline-complete-banner strong{margin-bottom:4px;font-size:16px;display:block}.pipeline-complete-banner p{color:var(--text-soft);margin:0;font-size:13px}@keyframes pipeline-fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (width<=768px){.pipeline-plan-overview-grid,.pipeline-purchase-card .pipeline-purchase-summary,.pipeline-review-card .pipeline-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-plan-overview-head{align-items:center}.pipeline-stage-card{padding:20px}.pipeline-progress{gap:0;padding:12px 0}.pipeline-stage-node{min-width:48px}.pipeline-stage-icon{width:32px;height:32px;font-size:13px}.pipeline-stage-label{font-size:8px}.pipeline-stage-connector{width:calc(100% - 40px);top:24px;left:calc(50% + 20px)}.pipeline-ing-header,.pipeline-ing-row{grid-template-columns:1fr;gap:6px}.pipeline-ing-header{display:none}.pipeline-ing-row{border-bottom:1px solid var(--line);padding:12px 0}.pipeline-sell-stats{grid-template-columns:1fr}.pipeline-sell-form{flex-direction:column}.pipeline-sell-form input{min-width:auto}.pipeline-form-actions{flex-direction:column}.pipeline-form-actions button{justify-content:center;width:100%}.pipeline-card-grid{grid-template-columns:1fr}.pipeline-summary-grid,.pipeline-analyze-grid{grid-template-columns:1fr 1fr}}@media (width<=480px){.pipeline-summary-grid,.pipeline-analyze-grid,.pipeline-preset-grid{grid-template-columns:1fr}}.pipeline-finished-section{background:var(--surface);border:1px solid var(--line);border-radius:16px;margin-bottom:28px;padding:24px;box-shadow:0 4px 20px #00000026}.pipeline-finished-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.pipeline-finished-header h2{align-items:center;gap:10px;margin:0 0 4px;font-size:20px;font-weight:700;display:flex}.pipeline-finished-header p{color:var(--text-soft);margin:0;font-size:13px}.pipeline-finished-stats-row{flex-wrap:wrap;gap:12px;margin-bottom:18px;display:flex}.pipeline-stat-pill{border:1px solid var(--line);background:#ffffff0a;border-radius:20px;align-items:center;gap:8px;padding:8px 14px;font-size:13px;display:flex}.pipeline-stat-pill strong{color:#60a5fa}.pipeline-stat-pill.success strong{color:#4ade80}.pipeline-stock-badge{border-radius:12px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.pipeline-stock-badge.in-stock{color:#4ade80;background:#22c55e1f;border:1px solid #22c55e4d}.pipeline-stock-badge.low-stock{color:#fbbf24;background:#f59e0b1f;border:1px solid #f59e0b4d}.pipeline-stock-badge.sold-out{color:#f87171;background:#ef44441f;border:1px solid #ef44444d}.pipeline-btn-sell{color:#fff;cursor:pointer;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:8px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #10b9814d}.pipeline-btn-sell:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98173}.pipeline-btn-sell:disabled{opacity:.5;cursor:not-allowed;transform:none}.pipeline-list-header{align-items:center;margin-bottom:20px}.pipeline-list-header h1{color:var(--text-strong);letter-spacing:-.03em;font-size:28px}.pipeline-list-header p{color:var(--text-muted);font-size:13px}.pipeline-header-actions{gap:10px}.pipeline-header-actions .pipeline-btn-secondary,.pipeline-header-actions .pipeline-btn-primary{border-radius:8px;min-height:40px;padding:0 15px;font-size:13px}.pipeline-header-actions .pipeline-btn-secondary{align-items:center;gap:8px;display:inline-flex}.pipeline-dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.pipeline-dashboard-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:8px;min-width:0;padding:16px 18px;display:grid}.pipeline-dashboard-card>span{color:var(--text-muted);font-size:12px;font-weight:600}.pipeline-dashboard-card>strong{color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;font-size:clamp(18px,2vw,24px);font-weight:700;overflow:hidden}.pipeline-dashboard-card>small{color:var(--text-muted);font-size:11px}.pipeline-finished-section{box-shadow:none;border-radius:12px;margin-bottom:24px;padding:18px}.pipeline-finished-header{margin-bottom:12px}.pipeline-finished-header h2{color:var(--text-strong);font-size:16px}.pipeline-finished-table{border:1px solid var(--line);border-radius:9px}.pipeline-finished-table table{min-width:720px}.pipeline-finished-table th{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.pipeline-finished-table td{padding-top:13px;padding-bottom:13px}.pipeline-finished-table td:first-child strong{color:var(--text-strong);font-size:13px}.pipeline-finished-table td small{color:var(--text-muted);margin-top:3px;font-size:11px;display:block}.pipeline-quantity-ready{color:#22c55e}.pipeline-quantity-low{color:#f59e0b}.pipeline-quantity-empty{color:#ef4444}.pipeline-product-actions{justify-content:flex-end;gap:7px;display:flex}.pipeline-product-actions .pipeline-btn-sell,.pipeline-product-actions .pipeline-btn-secondary{white-space:nowrap;border-radius:7px;min-height:34px;padding:0 11px;font-size:12px}.pipeline-product-actions .pipeline-btn-secondary{background:0 0}.pipeline-inventory-check-box{border:1px solid var(--line);background:#ffffff05;border-radius:12px;margin-bottom:24px;padding:20px}.pipeline-inventory-check-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.pipeline-inventory-check-header h3{align-items:center;gap:8px;margin:0;font-size:16px;display:flex}.pipeline-shortage-badge{border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:600;display:inline-flex}.pipeline-shortage-badge.ok{color:#4ade80;background:#22c55e26}.pipeline-shortage-badge.short{color:#f87171;background:#ef444426}.pipeline-inventory-match-tag{color:var(--text-soft);background:#ffffff0d;border-radius:4px;margin-left:6px;padding:2px 6px;font-size:11px}@media (width<=900px){.pipeline-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.pipeline-list-header{align-items:stretch}.pipeline-header-actions{width:100%}.pipeline-header-actions>button{flex:1;justify-content:center}.pipeline-dashboard-grid{gap:8px}.pipeline-dashboard-card{padding:13px}.pipeline-finished-section{padding:12px}}.pipeline-modal{background:var(--surface,#1e293b);border:1px solid var(--line,#ffffff1a);border-radius:16px;flex-direction:column;gap:18px;width:100%;max-width:480px;padding:24px;display:flex;box-shadow:0 20px 50px #00000080}.pipeline-modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding-bottom:12px;display:flex}.pipeline-modal-header h3{align-items:center;gap:8px;margin:0;font-size:18px;display:flex}.pipeline-modal-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:4px;font-size:20px}.pipeline-modal-close:hover{color:#fff}.pipeline-modal-body{flex-direction:column;gap:14px;display:flex}.pipeline-modal-info-card{border:1px solid var(--line);background:#ffffff08;border-radius:10px;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.pipeline-modal-info-card span{color:var(--text-soft);font-size:12px}.pipeline-modal-info-card strong{color:#60a5fa;font-size:15px}.pipeline-modal-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;padding-top:14px;display:flex}.pipeline-mode-card{border:1px solid var(--line);background:#ffffff08;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:14px 20px;display:flex}.pipeline-mode-card-compact{border-radius:8px;justify-content:flex-start;gap:10px;margin-bottom:14px;padding:8px 10px}.pipeline-mode-card-compact>span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:700}.pipeline-mode-card-compact .pipeline-mode-switch-actions{border:0;border-radius:7px;padding:2px}.pipeline-mode-card-compact .pipeline-mode-btn{border-radius:5px;padding:5px 12px}.pipeline-mode-info{flex:1;align-items:center;gap:14px;min-width:280px;display:flex}.pipeline-mode-icon{background:#6366f11f;border:1px solid #6366f140;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:26px;display:flex}.pipeline-mode-info strong{color:var(--text-strong);margin-bottom:2px;font-size:14px;font-weight:700;display:block}.pipeline-mode-info p{color:var(--text-soft);margin:0;font-size:12px;line-height:1.4}.pipeline-mode-switch-actions{border:1px solid var(--line);background:#0003;border-radius:10px;gap:8px;padding:4px;display:flex}.pipeline-mode-btn{color:var(--text-soft);cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:6px;padding:7px 14px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.pipeline-mode-btn.active{color:#fff;background:#6366f1;box-shadow:0 2px 8px #6366f166}.pipeline-stage-role-banner{background:#6366f10d;border:1px solid #6366f12e;border-radius:8px;flex-direction:column;gap:6px;margin-bottom:14px;padding:9px 12px;display:flex}.pipeline-role-denied{color:#f87171;font-size:12px;font-weight:600}.pipeline-role-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.pipeline-role-tag{color:#a5b4fc;align-items:center;gap:8px;font-size:13px;font-weight:700;display:inline-flex}.pipeline-role-tag .role-badge{color:#c7d2fe;text-transform:uppercase;letter-spacing:.04em;background:#6366f133;border:1px solid #6366f159;border-radius:8px;padding:3px 10px;font-size:11px}.pipeline-auth-status{border-radius:8px;align-items:center;gap:5px;padding:3px 10px;font-size:11px;font-weight:600;display:inline-flex}.pipeline-auth-status.authorized{color:#4ade80;background:#22c55e26;border:1px solid #22c55e4d}.pipeline-auth-status.restricted{color:#f87171;background:#ef444426;border:1px solid #ef44444d}.pipeline-auth-status.admin{color:#fbbf24;background:#f59e0b26;border:1px solid #f59e0b4d}.pipeline-role-desc{color:var(--text-soft);margin:0;font-size:12px;line-height:1.45}.pipeline-role-alert-notice{color:#38bdf8;background:#38bdf814;border:1px solid #38bdf833;border-radius:6px;align-items:center;gap:6px;width:fit-content;padding:4px 10px;font-size:11px;display:inline-flex}.pipeline-audit-modal{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:999;background:#000000a6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.pipeline-audit-dialog{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;width:100%;max-width:640px;max-height:85vh;display:flex;overflow:hidden;box-shadow:0 24px 48px #0009}.pipeline-audit-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.pipeline-audit-header h3{margin:0;font-size:17px;font-weight:700}.pipeline-audit-list{flex-direction:column;gap:12px;padding:16px 24px;display:flex;overflow-y:auto}.pipeline-audit-card{border:1px solid var(--line);background:#ffffff05;border-radius:10px;padding:12px 16px}.pipeline-audit-card-top{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.pipeline-audit-worker{color:#a5b4fc;font-size:12px;font-weight:600}.pipeline-audit-time{color:var(--text-soft);font-size:11px}.pipeline-audit-summary{color:var(--text-strong);margin-bottom:4px;font-size:13px;font-weight:600}.pipeline-audit-card p{color:var(--text-soft);margin:0;font-size:12px;line-height:1.4}.pipeline-audit-footer{border-top:1px solid var(--line);justify-content:flex-end;padding:14px 24px;display:flex}.pipeline-field-label-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.pipeline-link-btn{color:#6366f1;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:4px;padding:2px 6px;font-size:12px;font-weight:600;transition:all .2s;display:inline-flex}.pipeline-link-btn:hover{color:#818cf8;background:#6366f11f}.pipeline-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pipeline-ing-select-wrap{flex-direction:column;gap:4px;display:flex}.pipeline-ing-actions-row{flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;display:flex}.pipeline-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#000000bf;justify-content:center;align-items:center;padding:16px;animation:.2s pipeline-fadeIn;display:flex;position:fixed;inset:0}.pipeline-modal-card{background:var(--bg-card,#18181b);border:1px solid var(--line,#27272a);border-radius:14px;flex-direction:column;width:100%;max-width:600px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #00000080,0 8px 10px -6px #00000080}.pipeline-modal-card.wide{max-width:860px}.pipeline-modal-header{border-bottom:1px solid var(--line,#27272a);justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.pipeline-modal-header h2{color:var(--text-strong,#fff);align-items:center;gap:8px;margin:0;font-size:18px;font-weight:700;display:flex}.pipeline-modal-body{flex:1;padding:20px 24px;overflow-y:auto}.pipeline-modal-form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.pipeline-modal-form-grid .full-width{grid-column:1/-1}.pipeline-modal-footer{border-top:1px solid var(--line,#27272a);background:#00000026;justify-content:flex-end;align-items:center;gap:12px;padding:14px 24px;display:flex}.pipeline-catalog-badge{color:#a5b4fc;background:#6366f126;border:1px solid #6366f140;border-radius:12px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.pipeline-catalog-tabs{border-bottom:1px solid var(--line,#27272a);gap:8px;margin-bottom:16px;padding-bottom:10px;display:flex}.pipeline-catalog-tab-btn{color:var(--text-soft,#a1a1aa);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:6px 14px;font-size:14px;font-weight:600;transition:all .2s}.pipeline-catalog-tab-btn.active{color:#fff;background:#6366f133;border:1px solid #6366f166}.dashboard{--dashboard-accent:#3b6f5b;--dashboard-muted:var(--text-muted);padding-top:24px}.dashboard .dashboard-filters{background:var(--panel);box-shadow:none;border-radius:10px;gap:14px;padding:14px 16px}.dashboard .dashboard-filters label{font:600 11px var(--display);color:var(--text-soft)}.dashboard .dashboard-filters input,.dashboard .dashboard-filters select,.dashboard .dashboard-filters button{min-height:38px;font:500 12px var(--display);border-radius:7px}.dashboard .metric-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.dashboard .metric-card,.dashboard .panel,.dashboard .product-card{background:var(--panel);border-radius:10px;box-shadow:0 1px 2px #0f172a0a}.dashboard .metric-card span{font:500 12px var(--display)}.dashboard .metric-card strong{letter-spacing:-.02em;font-size:26px}.dashboard .chip-icon{background:var(--dashboard-accent);border:0;border-radius:50%;width:8px;height:8px}.dashboard .metric-top small{color:var(--dashboard-muted);font:500 11px var(--display)}.dashboard .metric-line{background:var(--dashboard-accent);width:32px;height:2px}.dashboard .dashboard-main{gap:16px;margin-top:18px}.dashboard .panel h2,.dashboard .section-head h2{font:650 15px var(--display);letter-spacing:-.01em}.dashboard .panel p{font:400 12px var(--display);color:var(--text-muted)}.dashboard .bar-chart{gap:10px;height:220px;padding-top:30px}.dashboard .bar-chart i{box-shadow:none;background:#7c9f8d;border-radius:4px 4px 0 0}.dashboard .bar-chart i:nth-child(3n){background:var(--dashboard-accent)}.dashboard .chart-times{border-color:var(--line);color:var(--text-muted);font:500 11px var(--display);padding-top:12px}.dashboard .alert-title span{clip-path:none;background:#c48132;border:0;border-radius:50%;width:8px;height:8px}.dashboard .alert-item{border-color:var(--line);padding:14px 0}.dashboard .alert-item strong{color:var(--text-strong);font:600 12px var(--display)}.dashboard .alert-item span,.dashboard .alert-item b{color:var(--text-muted);font:400 11px var(--display)}.dashboard .alert-item b.danger{color:var(--danger)}.dashboard .alert-item button,.dashboard .ghost-button{border:1px solid var(--line);min-height:34px;color:var(--text-soft);font:550 11px var(--display);background:0 0;border-radius:7px}.dashboard .alert-item button.urgent{color:#8a5b22;background:#fbf1e5;border-color:#ecd4b4}.dashboard .catalog-section{margin-top:24px}.dashboard .section-head{align-items:center}.dashboard .section-head span{color:var(--text-muted);font:400 11px var(--display)}.dashboard .catalog-grid{gap:14px}.dashboard-search-message{border:1px solid var(--border);color:var(--text-muted);font:500 13px var(--display);border-radius:12px;margin:0 0 14px;padding:12px 14px}.dashboard .product-card{padding:12px}.dashboard .product-visual{background:#eef1ed;border:0;border-radius:7px;height:116px}.dashboard .product-visual:before,.dashboard .product-visual:after{filter:none;box-shadow:none}.dashboard .product-visual.laptop:before,.dashboard .product-visual.console:before{background:#9eaaa1;border-color:#7f8c83}.dashboard .product-visual.monitor:before{background:#d9dfda;border-color:#8b9990}.dashboard .product-visual.keyboard:before{background:repeating-linear-gradient(90deg,#b8c2bb 0 4px,#8d9a91 4px 10px)}.dashboard .product-card span,.dashboard .product-card p{color:var(--text-soft);font:500 12px var(--display)}.dashboard .floating-add{background:var(--dashboard-accent);box-shadow:0 4px 12px #1f43342e}.shell.light .dashboard{--dashboard-accent:#3b6f5b}.shell:not(.light) .dashboard{--dashboard-accent:#83a994}.shell:not(.light) .dashboard .alert-item button.urgent{color:#e7bd84;background:#c4813224;border-color:#c481324d}@media (width<=1100px){.dashboard .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard .dashboard-main{grid-template-columns:minmax(0,1fr) 270px}.dashboard .catalog-grid{grid-template-columns:repeat(2,minmax(145px,1fr))}}@media (width<=760px){.dashboard .dashboard-main{grid-template-columns:1fr}.dashboard .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard .dashboard-filters{align-items:stretch}.dashboard .dashboard-filter-dates{flex-wrap:wrap}.dashboard .dashboard-filter-reset{margin-left:0}}select,select option,select optgroup{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}select option,select optgroup{padding:8px 12px;color:#f4f4f5!important;background-color:#18181b!important}@media (width<=760px){.pipeline-plan-modal-card .pipeline-form{overflow-y:auto}.pipeline-plan-modal-card .pipeline-form-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.pipeline-plan-modal-card{max-height:calc(100dvh - 16px)}.pipeline-plan-modal-header,.pipeline-plan-modal-card .pipeline-form{padding-left:16px;padding-right:16px}.pipeline-plan-modal-card .pipeline-form-row{grid-template-columns:1fr}.pipeline-plan-modal-card .pipeline-form-actions{margin-left:-16px;margin-right:-16px;bottom:-24px}}select option:checked,select option:hover,select option:focus{color:#fff!important;background-color:#4f46e5!important}.shell.light select,body.light select,[data-theme=light] select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.shell.light select option,.shell.light select optgroup,body.light select option,body.light select optgroup,[data-theme=light] select option,[data-theme=light] select optgroup{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#0f172a!important;background-color:#fff!important}.shell.light select option:checked,.shell.light select option:hover,.shell.light select option:focus,body.light select option:checked,body.light select option:hover,body.light select option:focus{color:#fff!important;background-color:#4f46e5!important}.pipeline-field select,.pipeline-ing-select-wrap select,.pipeline-ing-row select,.pipeline-modal-card select,.entry-modal select,.inventory-control-form select,.production-recipe-modal select,.pipeline-form select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f1f5f9;background-color:#162033}.pipeline-field select option,.pipeline-ing-select-wrap select option,.pipeline-ing-row select option,.pipeline-modal-card select option,.entry-modal select option,.inventory-control-form select option,.production-recipe-modal select option,.pipeline-form select option{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f4f4f5!important;background-color:#18181b!important}.shell{--page-x:20px;--topbar-h:52px;grid-template-columns:220px minmax(0,1fr)}.shell.reports-mode,.system-admin-shell{grid-template-columns:220px minmax(0,1fr)}.topbar{z-index:40;height:var(--topbar-h);padding:0 var(--page-x);gap:12px;position:sticky;top:0}.topbar .search{min-height:36px}.theme-toggle{min-width:36px;min-height:36px;padding:0 10px;font-size:16px}.page-pad{padding:14px var(--page-x) 20px}.inventory-title,.form-head,.page-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;margin-bottom:12px;display:flex}.inventory-title h1,.form-head h1,.page-title-row h1,.settings-head h1{max-width:none;color:var(--text-strong);font:700 20px/1.2 var(--display);margin:0}.inventory-title p,.settings-head p,.crumbs,.detail-image{display:none}.toolbar{flex-wrap:wrap;align-items:center;gap:6px}.toolbar label{align-items:center;gap:6px;font-size:12px;display:inline-flex}.toolbar input,.toolbar select,.toolbar button{min-height:34px}.inventory-stats{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin:0 0 12px;overflow:hidden}.inventory-stats div{border-right:1px solid var(--line);padding:8px 12px}.inventory-stats div:last-child{border-right:0}.inventory-stats span{color:var(--text-muted);font:600 10px var(--display);letter-spacing:.02em}.inventory-stats strong{color:var(--text-strong);font:700 15px var(--display);text-transform:none}.inventory-layout,.list-detail-layout{height:calc(100svh - var(--topbar-h) - 82px);grid-template-columns:minmax(0,1fr) 340px;min-height:0}.inventory-layout>section,.list-detail-layout>section{min-height:0;overflow-y:auto}.detail-panel{height:100%;min-height:0;padding:16px 18px;position:sticky;top:0;overflow-y:auto}.detail-head{margin-bottom:12px}.detail-head h2,.detail-panel h2{font-size:17px}.detail-panel section{margin-top:14px}.detail-panel dl>div{justify-content:space-between;gap:12px;padding:5px 0;display:flex}.table-frame{max-height:calc(100svh - var(--topbar-h) - 230px);border:1px solid var(--line);border-radius:var(--radius-sm);min-height:160px;overflow:auto}.table-frame thead th{z-index:1;position:sticky;top:0}th,td{padding:9px 12px}td span{margin-top:2px}.list-pagination{border:1px solid var(--line);border-top:0;padding:6px 10px}.notice{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-strong);font:500 13px var(--display);margin:8px 0;padding:8px 12px}.notice.inline{margin:0;padding:4px 10px;display:inline-block}.notice.error{color:var(--danger);background:#ef44441a;border-color:#ef444466}.notice.success{color:var(--success);background:#22c55e1a;border-color:#22c55e66}.notice.warning{color:var(--warning);background:#f59e0b1a;border-color:#f59e0b66}.notice.banner{border-width:0 0 1px;border-radius:0;margin:0}.empty-state{color:var(--text-muted);font:500 13px var(--display);text-align:center;padding:18px 12px}.count-badge{background:var(--table-row);min-width:22px;height:20px;color:var(--cyan);font:700 11px var(--display);vertical-align:middle;border-radius:999px;justify-content:center;align-items:center;margin-left:6px;padding:0 7px;display:inline-flex}.link-button{min-height:0;color:var(--cyan);font:600 12px var(--display);cursor:pointer;background:0 0;border:0;padding:0}.link-button:hover{text-decoration:underline}.danger-button{color:var(--danger)!important;border-color:#ef444459!important}.button-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.segmented{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--field-bg);padding:2px;display:inline-flex}.segmented button{min-height:30px;color:var(--text-soft);font:600 12px var(--display);background:0 0;border:0;border-radius:6px;padding:0 12px}.segmented button.active{background:var(--panel);color:var(--text-strong);box-shadow:var(--shadow-sm)}.dashboard{padding-top:14px}.dash-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.dash-toolbar input,.dash-toolbar select{width:auto;min-height:34px;margin:0}.dashboard .metric-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:12px}.dashboard .metric-card{gap:4px;min-height:0;padding:12px 14px}.dashboard .metric-card strong{font-size:21px}.dashboard .metric-card small{color:var(--text-muted);font:500 11px var(--display)}.dashboard .metric-card small.danger{color:var(--danger)}.quick-actions{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.quick-actions button{border:1px solid var(--line);background:var(--panel);min-height:34px;color:var(--text-strong);font:600 12px var(--display);border-radius:999px;align-items:center;gap:6px;padding:0 14px;display:inline-flex}.quick-actions button:hover{border-color:var(--cyan);color:var(--cyan)}.quick-actions button span{color:var(--cyan)}.dashboard .dashboard-main{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:12px;margin-top:0;display:grid}.dashboard .panel{padding:14px 16px}.dashboard .panel-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.dashboard .panel-head h2{font:700 15px var(--display);color:var(--text-strong);margin:0}.dashboard .bar-chart{height:170px}.alerts-list{max-height:210px;overflow-y:auto}.dashboard .alert-item{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:7px 0;display:grid}.dashboard .alert-item:last-child{border-bottom:0}.dashboard .alert-item strong{color:var(--text-strong);font:600 13px var(--display);display:block}.dashboard .alert-item span{color:var(--text-muted);font:500 11px var(--mono)}.dashboard .alert-item button{min-height:28px;padding:0 10px;font-size:12px}.catalog-section{margin-top:12px}.catalog-section .section-head{align-items:baseline;gap:10px;margin-bottom:8px;display:flex}.catalog-section .section-head h2{font:700 15px var(--display);color:var(--text-strong);margin:0}.dashboard .catalog-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}.dashboard .product-card{grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:0;padding:10px 12px;display:grid}.dashboard .product-card strong,.dashboard .product-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.dashboard .product-card strong{color:var(--text-strong);font:600 13px var(--display)}.dashboard .product-card small{color:var(--text-muted);font:500 11px var(--display)}.dashboard .product-card b{color:var(--text-strong);font:700 12px var(--display);white-space:nowrap}.product-avatar{background:var(--table-row);width:36px;height:36px;color:var(--cyan);font:700 15px var(--display);border-radius:9px;place-items:center;display:grid}.sidebar{padding:14px 10px}.sidebar .brand{margin-bottom:14px}.nav{gap:2px}.nav button{min-height:34px;padding:0 10px;font-size:13px}.nav-caret{opacity:.7;margin-left:auto;font-size:10px}.nav-sub-group{margin:2px 0 6px;padding-left:14px}.nav-sub-item{min-height:30px!important;font-size:12px!important}.sidebar-footer{border-top:1px solid var(--line);gap:10px;margin-top:auto;padding-top:12px;display:grid}.sidebar-user{grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.sidebar-avatar{background:var(--cyan);color:#fff;width:30px;height:30px;font:700 11px var(--display);border-radius:50%;place-items:center;display:grid}.sidebar-user-text{min-width:0}.sidebar-user-text strong,.sidebar-user-text small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-user-text strong{color:var(--text-strong);font:600 13px var(--display)}.sidebar-user-text small{color:var(--text-muted);font:500 11px var(--display);text-transform:capitalize}.sidebar-signout{border:1px solid var(--line);width:30px;height:30px;color:var(--danger);background:0 0;border-radius:8px}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;display:grid}.settings-grid .panel{padding:16px}.settings-grid h2{font:700 15px var(--display);color:var(--text-strong);margin:0 0 12px}.settings-grid label{font:600 12px var(--display);gap:4px;margin-bottom:10px;display:grid}.kv-list{margin:0}.kv-list>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:6px 0;display:flex}.kv-list dt{color:var(--text-muted)}.kv-list dd{color:var(--text-strong);text-transform:none;margin:0}.input-with-action{gap:6px;display:flex}.input-with-action input{flex:1;min-width:0}.import-help{background:0 0;border:0;margin:0;padding:0;display:inline-block;position:relative}.import-help summary{border:1px solid var(--line);width:26px;height:26px;color:var(--text-muted);font:700 12px var(--display);cursor:pointer;border-radius:50%;place-items:center;padding:0;list-style:none;display:grid}.import-help[open] .import-help-body{z-index:50;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);width:320px;box-shadow:var(--shadow-md);padding:10px 12px;font-size:12px;position:absolute;top:calc(100% + 6px);right:0}.import-help-body p{margin:0 0 6px}.entry-modal{max-height:calc(100svh - 40px);overflow-y:auto}.entry-modal .segmented{margin-bottom:12px}.method-grid{gap:10px}.method-card{place-items:center;gap:6px;min-height:110px;display:grid}.method-icon{color:var(--cyan);font-size:26px}.scan-list{gap:6px;max-height:260px;margin-top:10px;display:grid;overflow-y:auto}.scan-list-row{border:1px solid var(--line);border-radius:var(--radius-sm);grid-template-columns:minmax(0,1fr) 70px 90px 90px 28px;align-items:center;gap:6px;padding:6px 8px;display:grid}.scan-list-row strong{color:var(--text-strong);font:600 13px var(--display)}.scan-list-row small{color:var(--text-muted);font:500 11px var(--mono);display:block}.scan-list-row input{min-height:30px;margin:0}.scan-list-total{color:var(--text-strong);justify-content:space-between;padding:6px 8px;display:flex}.icon-text-button{min-height:28px;color:var(--danger);background:0 0;border:0;font-size:18px}@media (width<=1100px){.shell,.shell.reports-mode,.system-admin-shell{grid-template-columns:180px minmax(0,1fr)}.inventory-layout,.list-detail-layout{grid-template-columns:minmax(0,1fr);height:auto}.inventory-layout>section,.list-detail-layout>section{overflow:visible}.detail-panel{height:auto;position:static}.dashboard .dashboard-main{grid-template-columns:minmax(0,1fr)}}.report-document{box-shadow:none;border-radius:12px;padding:18px 20px}.report-letterhead{gap:16px;margin-bottom:14px;padding-bottom:14px}.reports-page .summary-card{min-height:0;padding:14px 16px}.report-ledger{margin-top:14px}.settings-grid .kv-list{display:block}.settings-grid .kv-list>div{align-items:baseline;display:flex}.settings-grid .kv-list dt{font:600 12px var(--display);text-transform:none}.settings-grid .kv-list dd{font:500 13px var(--display);overflow-wrap:anywhere;text-align:right}.button-row button,.input-with-action button{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--button-bg);min-height:34px;color:var(--button-text);font:600 12px var(--display);padding:0 14px}.danger-button{background:#ef444414!important}.shop-users-page,.access-control-page{max-width:none;display:block}.shop-users-table td{vertical-align:middle}.staff-cell{align-items:center;gap:10px;display:flex}.staff-cell .product-avatar{flex-shrink:0;width:32px;height:32px;margin:0;font-size:13px}.product-avatar.admin{color:var(--warning)}.staff-cell strong{color:var(--text-strong);font:600 13px var(--display);align-items:center;gap:6px;display:flex}.staff-cell small{color:var(--text-muted);font:500 11px var(--display)}.you-tag{background:var(--table-row);border-radius:999px;padding:0 6px;color:var(--cyan)!important;font:700 10px var(--display)!important}.access-role-chip{border-color:var(--line);background:var(--table-row);color:var(--text-strong);text-transform:none;font:600 11px var(--display)}.access-tag{background:var(--table-row);color:var(--text-muted);font:600 11px var(--display);border-radius:999px;padding:2px 8px;display:inline-block}.access-tag.full{color:var(--warning)}.access-tag.custom{color:var(--cyan)}.row-actions{white-space:nowrap;text-align:right}.row-actions .link-button+.link-button{margin-left:12px}.staff-dialog{width:min(820px,100vw - 32px)}.staff-dialog .detail-head{justify-content:space-between;align-items:center;padding:14px 18px 0;display:flex}.staff-dialog .detail-head h2{margin:0}.staff-dialog .admin-user-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;padding:14px 18px 16px}.staff-access{gap:8px;display:grid}.staff-access-head{align-items:center;gap:14px;display:flex}.staff-access-head h3{color:var(--text-strong);font:700 14px var(--display);margin:0}.staff-access-head .link-button{margin-left:auto}.access-legend{color:var(--text-muted);font:500 11px var(--display);align-items:center;gap:6px;display:inline-flex}.access-legend i{border-radius:3px;width:10px;height:10px;margin-left:4px;display:inline-block}.access-legend i.granted,.permission-matrix td.granted{background:#22c55e29}.access-legend i.revoked,.permission-matrix td.revoked{background:#ef444429}.permission-matrix{min-width:560px}.permission-matrix th:first-child,.permission-matrix td:first-child{text-transform:none;width:170px}.permission-matrix tr.page-off td:first-child{color:var(--text-muted)}.permission-matrix input:disabled{cursor:not-allowed;opacity:.45}.staff-dialog .permission-matrix-wrap{max-height:calc(100svh - 330px);overflow:auto}.staff-dialog .permission-matrix thead th{z-index:1;background:var(--surface);position:sticky;top:0}.roles-layout{grid-template-columns:240px minmax(0,1fr);gap:12px}.role-list{align-content:start;gap:4px;display:grid}.role-list-item{border-radius:var(--radius-sm);width:100%;color:var(--text-soft);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;gap:2px;padding:9px 12px;display:grid}.role-list-item:hover{background:var(--table-row)}.role-list-item.selected{border-color:var(--line);background:var(--surface)}.role-list-item strong{color:var(--text-strong);font:600 13px var(--display)}.role-list-item small{color:var(--text-muted);font:500 11px var(--display)}.role-editor{position:static}.role-editor-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin-bottom:12px;display:grid}.role-editor-fields label{color:var(--text-muted);font:600 12px var(--display);gap:4px;display:grid}.role-editor-fields input:not([type=checkbox]){min-height:34px}.role-editor-wide{grid-column:1/-1}.role-active{align-items:center;gap:8px;display:flex!important}@media (width<=760px){.staff-dialog .admin-user-form,.roles-layout{grid-template-columns:minmax(0,1fr)}}.permission-matrix input,.role-active input{width:16px;height:16px;min-height:0;margin:0;padding:0}.permission-matrix td{font:600 12px var(--display)}.shop-users-page .toolbar input[type=search]{width:220px;margin:0}.shop-users-table .you-tag{margin:0;display:inline-block}.role-editor-fields input:not([type=checkbox]){font:500 13px var(--display);margin-top:0}.role-active{text-transform:none;grid-column:1/-1;justify-content:flex-start}.staff-dialog .admin-user-form input,.staff-dialog .admin-user-form select{margin-top:0}.permission-matrix th,.permission-matrix td{padding:5px 10px}.staff-dialog .admin-user-form footer{margin-top:0}.staff-dialog footer button:not(.primary-action){border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--button-bg);min-height:34px;color:var(--button-text);font:600 12px var(--display);padding:0 14px}.transfers-shell .transfers-page{padding:0;display:block}.transfers-shell .transfers-heading{justify-content:flex-end;margin-bottom:10px}.shop-transfer-toolbar{margin-bottom:10px;display:flex}.shop-transfer-toolbar input[type=search]{width:220px;margin:0}.shop-transfer-toolbar .primary-action{margin-left:auto}.shop-transfer-toolbar .segmented .count-badge{height:18px;color:var(--warning);background:#f59e0b2e;margin-left:6px}.current-shop{color:var(--text-muted);font:500 12px var(--display)}.current-shop b{color:var(--text-strong)}.shop-transfer-layout{height:calc(100svh - var(--topbar-h) - 150px);grid-template-columns:minmax(0,1fr) 360px;gap:12px;display:grid}.shop-transfer-layout .table-frame{max-height:100%}.shop-transfer-layout tbody tr{cursor:pointer}.shop-transfer-layout td{font:500 12px var(--display)}.dir-tag{min-width:30px;font:700 10px var(--display);text-align:center;border-radius:999px;margin-right:4px;padding:1px 6px;display:inline-block}.dir-tag.in{color:var(--success);background:#22c55e24}.dir-tag.out{color:var(--cyan);background:#38bdf824}.transfer-chip{background:var(--table-row);font:600 11px var(--display);white-space:nowrap;border-radius:999px;padding:2px 8px;display:inline-block}.transfer-chip.in_transit{color:var(--warning);background:#f59e0b24}.transfer-chip.received{color:var(--success);background:#22c55e24}.transfer-chip.cancelled{color:var(--text-muted)}.transfer-detail-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.transfer-detail-head h2{margin:0}.transfer-lines{border-collapse:collapse;width:100%;margin-top:12px}.transfer-lines th,.transfer-lines td{border-top:1px solid var(--line);font:500 12px var(--display);text-align:left;padding:6px 4px}.transfer-lines td strong,.transfer-lines td small{display:block}.transfer-lines td small{color:var(--text-muted);font-size:10px}.transfer-lines input{width:80px;min-height:30px;margin:0;padding:0 6px}.transfer-note{color:var(--text-muted);font:600 12px var(--display);gap:4px;margin-top:10px;display:grid}.transfer-note input{min-height:34px;margin:0}.transfer-setup{max-width:420px;padding:18px}.transfer-setup h2{font:700 16px var(--display);margin:0}.transfer-dialog{width:min(640px,100vw - 32px);padding:16px 18px}.transfer-dialog form{gap:12px;margin-top:10px;display:grid}.transfer-dialog label{color:var(--text-muted);font:600 12px var(--display);gap:4px;display:grid}.transfer-dialog input,.transfer-dialog select{min-height:36px;font:500 13px var(--display);margin:0}.transfer-route{grid-template-columns:1fr auto 1fr;align-items:end;gap:10px;display:grid}.transfer-route>span{color:var(--cyan);padding-bottom:8px;font-size:18px}.transfer-line-list{border:1px solid var(--line);border-radius:var(--radius-sm);gap:6px;padding:10px;display:grid}.transfer-line{grid-template-columns:minmax(0,1fr) 100px 54px 24px;align-items:center;gap:8px;display:grid}.transfer-line-unit{color:var(--text-muted);font:500 12px var(--display)}.transfer-line-list>.link-button{justify-self:start}.transfer-extra{grid-template-columns:1fr 1fr;gap:10px;display:grid}.transfer-extra-wide{grid-column:1/-1}.transfer-dialog-footer{justify-content:flex-end;align-items:center;gap:8px;display:flex}.transfer-dialog-footer>span{color:var(--text-muted);font:500 12px var(--display);margin-right:auto}.transfer-dialog-footer>span b{color:var(--text-strong)}.transfer-dialog-footer button:not(.primary-action){border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--button-bg);min-height:34px;color:var(--button-text);font:600 12px var(--display);padding:0 14px}@media (width<=1100px){.shop-transfer-layout{grid-template-columns:minmax(0,1fr);height:auto}}@media (width<=640px){.transfer-route,.transfer-extra{grid-template-columns:minmax(0,1fr)}.transfer-route>span{display:none}}.transfer-lines{table-layout:fixed;min-width:0}.transfer-lines th:first-child,.transfer-lines td:first-child{width:50%}.transfer-lines th{color:var(--text-muted);font:700 10px var(--display);text-transform:uppercase}.shop-transfer-layout .detail-panel dl{margin:0;display:block}.shop-transfer-layout .detail-panel dl>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:5px 0;display:flex}.shop-transfer-layout .detail-panel dt{color:var(--text-muted);font:600 12px var(--display);text-transform:none}.shop-transfer-layout .detail-panel dd{color:var(--text-strong);font:500 12px var(--display);text-align:right;margin:0}.button-row button.primary-action{background:var(--cyan);color:#02121d;border-color:#0000}.recipient-list{gap:2px;display:grid}.shop-transfer-layout .table-frame td{white-space:nowrap}.pipeline-notice{top:calc(var(--topbar-h) + 10px);z-index:50;max-width:420px;box-shadow:var(--shadow-sm);margin:0;position:fixed;right:20px}.pipeline-page.has-workspace{max-width:none;height:calc(100svh - var(--topbar-h));flex-direction:column;padding-bottom:12px;display:flex;overflow:hidden}.pipeline-page.has-workspace .pipeline-workspace{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.pipeline-ws-bar{align-items:center;gap:10px;min-height:36px;display:flex}.pipeline-ws-bar h1{min-width:0;color:var(--text-strong);font:700 18px/1.2 var(--display);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.pipeline-ws-bar .pipeline-btn-back{border:1px solid var(--line);border-radius:8px;place-items:center;width:32px;height:32px;padding:0;font-size:16px;display:grid}.pipeline-ws-tools{align-items:center;gap:6px;margin-left:auto;display:flex}.pipeline-ws-tools .segmented button{min-height:28px;padding:0 10px}.pipeline-ws-tools .pipeline-btn-primary{min-height:32px;padding:0 14px;font-size:13px}.stage-role{color:#a5b4fc;font:600 11px var(--display);white-space:nowrap;background:#6366f124;border-radius:999px;padding:3px 9px}.stage-role.restricted{color:var(--warning);background:#f59e0b24}.pipeline-finished-drawer{max-height:34vh;overflow:auto}.pipeline-page.has-workspace .pipeline-progress{flex-shrink:0;margin:0;padding:0}.pipeline-page.has-workspace .pipeline-stage-node{gap:3px;min-width:52px;padding:2px}.pipeline-page.has-workspace .pipeline-stage-icon{width:26px;height:26px;font:700 11px var(--display);border-width:1px}.pipeline-page.has-workspace .pipeline-stage-node.current .pipeline-stage-icon{animation:none;box-shadow:0 0 0 3px #6366f138}.pipeline-page.has-workspace .pipeline-stage-label{font-size:9.5px}.pipeline-page.has-workspace .pipeline-stage-connector{width:calc(100% - 30px);top:15px;left:calc(50% + 15px)}.pipeline-page.has-workspace>.pipeline-workspace>.notice{margin:0}.pipeline-page.has-workspace .pipeline-stage-content{flex-direction:column;flex:1;min-height:0;display:flex}.pipeline-page.has-workspace .pipeline-stage-card{border-radius:12px;flex-direction:column;flex:1;gap:10px;min-height:0;padding:12px 14px;display:flex}.pipeline-page.has-workspace .pipeline-stage-card:before{display:none}.stage-head{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px 10px;display:flex}.stage-step{background:var(--table-row);color:var(--text-muted);font:700 11px var(--display);border-radius:999px;padding:2px 8px}.stage-head h2{color:var(--text-strong);font:700 17px/1.2 var(--display);margin:0}.stage-status{gap:6px;display:flex}.stage-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto;display:flex}.stage-actions .pipeline-btn-primary,.stage-actions .pipeline-btn-secondary{border-radius:8px;min-height:34px;padding:0 14px;font-size:13px}.stage-confirm{color:var(--text-soft);font:600 13px var(--display);cursor:pointer;align-items:center;gap:6px;display:inline-flex}.stage-confirm input{accent-color:#22c55e;width:16px;height:16px;min-height:0;margin:0}.stage-stats{border:1px solid var(--line);background:var(--table-row);border-radius:10px;flex-wrap:wrap;flex-shrink:0;margin:0;display:flex;overflow:hidden}.stage-stats>div{border-right:1px solid var(--line);flex:120px;padding:7px 12px}.stage-stats>div:last-child{border-right:0}.stage-stats dt{color:var(--text-muted);font:600 10.5px var(--display);text-transform:uppercase;letter-spacing:.03em}.stage-stats dd{color:var(--text-strong);font:700 14px var(--display);white-space:nowrap;margin:2px 0 0}.stage-stats .good dd{color:var(--success)}.stage-stats .bad dd{color:var(--danger)}.stage-body{flex:1;min-height:0;overflow:auto}.pipeline-stage-card .stage-body.table-frame{max-height:none;margin:0}.stage-table{min-width:0}.stage-table th{z-index:1;background:var(--panel,var(--surface));white-space:nowrap;padding:7px 10px;position:sticky;top:0}.stage-table td{font:500 12.5px var(--display);vertical-align:middle;padding:6px 10px}.stage-table td strong{font-weight:600}.stage-table tfoot td{background:var(--panel,var(--surface));font-weight:600;position:sticky;bottom:0}.stage-table tr.row-done td{background:#22c55e0a}.stage-table .stage-check-col{text-align:center;width:34px}.stage-table .stage-check-col input{accent-color:#22c55e;cursor:pointer;width:16px;height:16px;min-height:0;margin:0}.stage-subtext{color:var(--text-muted);font:500 11px var(--display);margin-top:2px;display:block}.stage-input-unit{color:var(--text-muted);align-items:center;gap:5px;font-size:11px;display:inline-flex}.stage-input{border-radius:6px;width:76px;min-height:28px!important;font:600 12.5px var(--display)!important;margin:0!important;padding:0 8px!important}.stage-input.wide{width:96px}.stage-row-action{text-align:right}.stage-row-action .pipeline-btn-secondary{min-height:28px;padding:0 12px;font-size:12px}.text-good{color:var(--success)}.text-bad{color:var(--danger)}.text-muted{color:var(--text-muted)}.stage-fields{flex-shrink:0;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px 12px;display:grid}.stage-fields label{color:var(--text-muted);font:600 12px var(--display);gap:4px;display:grid}.stage-fields .wide{grid-column:1/-1}.stage-fields input,.stage-fields textarea{min-height:36px;font:500 13px var(--display);margin:0}.stage-fields textarea{border:1px solid var(--line);background:var(--field-bg);color:var(--text-strong);resize:vertical;border-radius:6px;padding:8px 10px}.stage-split{flex:1;gap:12px;min-height:0;display:grid}.stage-split.two{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.stage-pane{flex-direction:column;gap:8px;min-height:0;display:flex}.stage-pane-title{color:var(--text-soft);font:600 13px var(--display);margin:0}.stage-sell-form{flex-wrap:wrap;gap:6px;display:flex}.stage-sell-form input{min-height:34px;font:500 13px var(--display);flex:90px;margin:0}.stage-sell-form .pipeline-btn-primary{min-height:34px;padding:0 14px;font-size:13px}.stage-insights{gap:6px;margin:0;padding:0;list-style:none;display:grid}.stage-insights li{border-left:3px solid var(--line);background:var(--table-row);color:var(--text-strong);font:500 13px var(--display);border-radius:6px;padding:8px 12px}.stage-insights li.good{border-left-color:var(--success)}.stage-insights li.warn{border-left-color:var(--warning)}.stage-insights li.bad{border-left-color:var(--danger)}@media (width<=900px),(height<=600px){.pipeline-page.has-workspace{height:auto;overflow:visible}.pipeline-ws-bar{flex-wrap:wrap}.stage-split.two{grid-template-columns:minmax(0,1fr)}}.stage-table td.text-good,.stage-table td .text-good{color:var(--success)}.stage-table td.text-bad,.stage-table td .text-bad{color:var(--danger)}.stage-table td.text-muted{color:var(--text-muted)}.shell.light .stage-role{color:#4338ca;background:#6366f11f}.shell.light .stage-role.restricted{color:#b45309}.stage-owner{border:1px solid var(--line);color:var(--text-muted);font:600 11px var(--display);border-radius:999px;padding:2px 8px}.stage-waiting{border:1px dashed var(--line);min-height:34px;color:var(--text-muted);font:600 12.5px var(--display);border-radius:8px;align-items:center;padding:0 12px;display:inline-flex}.stage-role.mine{color:var(--success);background:#22c55e24}.shell.light .stage-role.mine{color:#15803d}.pipeline-page.has-workspace .pipeline-stage-node.skipped .pipeline-stage-icon{color:var(--text-muted);opacity:.6;border-style:dashed}.pipeline-page.has-workspace .pipeline-stage-node.skipped .pipeline-stage-label{opacity:.6;text-decoration:line-through}.pipeline-page.has-workspace .pipeline-stage-node.viewing:not(.current) .pipeline-stage-icon{box-shadow:0 0 0 3px #38bdf859}.pipeline-page.has-workspace .pipeline-stage-node.skipped .pipeline-stage-connector,.pipeline-page.has-workspace .pipeline-stage-connector.completed{background:#22c55e}.stage-fieldset{border:0;flex-direction:column;gap:10px;min-width:0;min-height:0;margin:0;padding:0;display:flex}.stage-fieldset:has(.stage-body){flex:1}.stage-fieldset:disabled input,.stage-fieldset:disabled select,.stage-fieldset:disabled textarea{opacity:.7;cursor:not-allowed}.stage-fields select{min-height:36px;font:500 13px var(--display);margin:0}.stage-total{flex-direction:column;justify-content:flex-end;gap:2px;padding:0 4px 6px;display:flex}.stage-total span{color:var(--text-muted);font:600 12px var(--display)}.stage-total strong{color:var(--text-strong);font:700 18px var(--display)}.stage-record{flex-shrink:0;margin:0}.stage-record>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:7px 2px;display:flex}.stage-record dt{color:var(--text-muted);font:600 12.5px var(--display)}.stage-record dd{color:var(--text-strong);font:600 13px var(--display);text-align:right;margin:0}.pipeline-stage-card>.notice{margin:0}.pipeline-order-table td{font:500 13px var(--display)}.order-step b{color:var(--text-muted);margin-right:4px;font-weight:600}.danger-link{color:var(--danger)}.pipeline-list .segmented .count-badge{height:18px;color:var(--success);background:#22c55e29;margin-left:6px}.pipeline-activity-modal{width:min(560px,100vw - 32px);padding:16px 18px}.activity-list{gap:8px;max-height:60vh;margin:10px 0 0;padding:0;list-style:none;display:grid;overflow:auto}.activity-list li{border-left:3px solid var(--cyan);background:var(--table-row);border-radius:6px;padding:9px 12px}.activity-list li>div{justify-content:space-between;gap:10px;display:flex}.activity-list strong{color:var(--text-strong);font:700 13px var(--display)}.activity-list span,.activity-list time{color:var(--text-muted);font:500 11.5px var(--display);text-transform:capitalize}.activity-list p{color:var(--text-strong);font:500 13px var(--display);margin:4px 0}.stage-fieldset.readonly .stage-fields{display:none}.stage-fieldset.readonly .stage-input{opacity:1;-moz-appearance:textfield;background:0 0;border-color:#0000;width:auto;padding:0!important}.stage-fieldset.readonly .stage-input::-webkit-inner-spin-button{display:none}.pipeline-order-table .stage-role{display:inline-block}.pipeline-plan-modal-card.order-form{width:min(1100px,100%);height:min(780px,100dvh - 32px);padding:0}.order-form-body{flex-direction:column;flex:1;gap:12px;min-height:0;padding:16px 18px;display:flex}.order-form-head{flex-shrink:0}.order-form-close{margin-left:auto}.order-form-main{flex-shrink:0;grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;display:grid}.order-field{color:var(--text-muted);font:600 12px var(--display);gap:5px;display:grid}.order-field>span{justify-content:space-between;align-items:center;gap:8px;min-height:18px;display:flex}.order-field input,.order-field select{min-height:40px;font:500 14px var(--display);margin:0}.order-quantity-input{grid-template-columns:minmax(0,1fr) 110px;gap:6px;display:grid}.order-quantity input{border-color:var(--cyan)!important;font:700 18px var(--display)!important}.order-quantity>span{color:var(--text-strong)}.order-recipe{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.order-recipe-head{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.order-recipe-head h3{color:var(--text-strong);font:700 15px var(--display);margin:0}.order-size{color:var(--text-muted);font:500 12px var(--display);align-items:center;gap:6px;display:inline-flex}.order-size input,.order-size select{width:80px;min-height:30px;font:500 12.5px var(--display);margin:0;padding:0 6px}.order-recipe-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.order-recipe-actions .pipeline-btn-secondary{min-height:32px;padding:0 12px;font-size:13px}.order-recipe .stage-body{min-height:140px}.order-material{gap:6px;min-width:220px;display:flex}.order-material select,.order-material input{min-width:0;min-height:30px;font:500 12.5px var(--display);flex:1;margin:0;padding:0 8px}.order-recipe-table select.stage-input{width:100px}.order-form-footer{border-top:1px solid var(--line);flex-shrink:0;align-items:center;gap:12px;padding-top:10px;display:flex}.order-form-footer .stage-stats{flex:1}.order-form-footer .pipeline-btn-primary{white-space:nowrap;min-height:44px;padding:0 22px}.pipeline-list{flex-direction:column;gap:10px;display:flex}.pipeline-list .page-title-row{margin-bottom:0}.order-funnel{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;display:grid}.order-funnel-step{border:1px solid var(--line);background:var(--surface);color:var(--text-muted);text-align:left;cursor:pointer;border-radius:10px;gap:2px;padding:8px 10px;display:grid}.order-funnel-step:hover{border-color:var(--cyan)}.order-funnel-step.busy{background:var(--table-row)}.order-funnel-step.active{border-color:var(--cyan);box-shadow:0 0 0 2px #38bdf840}.order-funnel-count{color:var(--text-strong);font:700 20px/1.1 var(--display)}.order-funnel-step:not(.busy) .order-funnel-count{color:var(--text-muted)}.order-funnel-label{color:var(--text-soft);font:600 12px var(--display);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.order-funnel-owner{color:var(--text-muted);font:500 11px var(--display)}.order-funnel-owner.mine{color:var(--success)}.order-list-bar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.order-drafts{color:var(--text-muted);margin-left:auto}.pipeline-list .table-frame{max-height:calc(100svh - var(--topbar-h) - 330px)}@media (width<=900px){.order-form-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.order-funnel{grid-template-columns:repeat(4,minmax(0,1fr))}.order-form-footer{flex-direction:column;align-items:stretch}}.pipeline-page{max-width:none}.admin-shop-banner{border:1px solid var(--line);border-left:3px solid var(--accent,#3b82f6);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-strong);font:500 13px var(--display);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:8px 0;padding:8px 12px;display:flex}.admin-shop-banner-actions{gap:8px;display:flex}.admin-shop-banner-actions button{border:1px solid var(--line);border-radius:var(--radius-sm);color:inherit;font:inherit;cursor:pointer;background:0 0;padding:4px 10px}.admin-shop-banner-actions button:hover,.admin-shop-banner-actions button:focus-visible{border-color:var(--accent,#3b82f6)}.add-item-modal .add-item-wide{grid-column:1/-1}.add-item-match{border:1px solid var(--line);border-left:3px solid var(--accent,#3b82f6);background:var(--surface);color:var(--text-strong);font:500 12px/1.5 var(--display);margin:0;padding:8px 12px}@media (width<=560px){.add-item-modal .field-grid{grid-template-columns:1fr}.add-item-modal .modal-actions{flex-wrap:wrap}}button[data-busy=true]{pointer-events:none;cursor:progress;opacity:.8}button[data-busy=true]:not([data-busy-label=own]):after{content:"...";vertical-align:bottom;text-align:left;width:0;animation:1.2s steps(4,end) infinite busy-button-dots;display:inline-block;overflow:hidden}@keyframes busy-button-dots{to{width:1.25em}}@media (prefers-reduced-motion:reduce){button[data-busy=true]:not([data-busy-label=own]):after{width:auto;animation:none}}.weekly-report-panel .weekly-report-hint{color:var(--text-muted);font:500 12px var(--display);text-transform:none;margin:4px 0 12px}.weekly-report-schedule{border:1px solid var(--line);border-radius:var(--radius-sm);margin:0 0 12px;padding:12px}.weekly-report-schedule legend{color:var(--text-strong);font:600 12px var(--display);padding:0 6px}.settings-grid .weekly-report-toggle{color:var(--text-strong);font:500 13px var(--display);text-transform:none;align-items:center;gap:8px;margin-bottom:0;display:flex}.settings-grid .weekly-report-toggle input{width:auto;min-height:0}.weekly-report-when{grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;display:grid}@media (width<=520px){.weekly-report-when{grid-template-columns:1fr}}.weekly-report-presets{flex-wrap:wrap;gap:6px;display:flex}.weekly-report-presets button{min-height:30px;padding:4px 10px;font-size:12px}.weekly-report-panel .weekly-report-error{color:var(--danger)}.weekly-report-panel fieldset:disabled{opacity:.6}
