:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;--bg:#eef2f6;--sidebar:#111827;--surface:#fff;--surface-soft:#f6f8fb;--surface-strong:#e7edf5;--text:#172033;--muted:#667085;--border:#d9e1ec;--green:#0f8f6f;--green-soft:#e1f5ee;--blue:#2563eb;--blue-soft:#e7efff;--amber:#b7791f;--amber-soft:#fff2ce;--red:#b42318;--red-soft:#ffe6e3;--ink:#0b1220;--shadow:0 18px 50px #1c274014;background:#eef2f6;font-family:Inter,Arial,Helvetica,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:linear-gradient(135deg, #0f8f6f14, transparent 26rem), linear-gradient(225deg, #2563eb12, transparent 30rem), var(--bg);margin:0}button,input,select{font:inherit}button{cursor:pointer}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:18px;height:18px;display:block}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.erp-shell{grid-template-columns:280px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:linear-gradient(180deg, #0f8f6f2e, transparent 42%), var(--sidebar);color:#fff;scrollbar-color:#ffffff52 transparent;scrollbar-width:thin;flex-direction:column;gap:28px;height:100vh;padding:24px;display:flex;position:sticky;top:0;overflow-y:auto}.brand-block{align-items:center;gap:12px;min-width:0;display:flex}.brand-mark{width:44px;height:44px;color:var(--ink);letter-spacing:0;background:#fff;border-radius:8px;flex:none;place-items:center;font-size:13px;font-weight:900;display:grid}.brand-block strong,.brand-block small{display:block}.brand-block strong{font-size:17px}.brand-block small{color:#aeb9c9;margin-top:3px;font-size:12px}.main-nav{gap:18px;padding-bottom:18px;display:grid}.nav-group{gap:8px;display:grid}.nav-group-title{color:#8f9bae;padding:0 16px;font-size:12px;font-weight:900}.nav-item-group{gap:6px;display:grid}.main-nav button,.nav-item{color:#cbd5e1;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:11px;width:100%;min-height:46px;padding:0 13px;transition:background .2s,border-color .2s,color .2s;display:flex}.main-nav button:hover,.main-nav button.active{color:#fff;background:#ffffff14;border-color:#ffffff1f}.nav-chevron{color:currentColor;margin-left:auto;transition:transform .2s}.nav-chevron.open{transform:rotate(180deg)}.nav-chevron svg{width:15px;height:15px}.nav-subitems{gap:4px;padding-left:38px;display:grid}.nav-subitems button{color:#aeb9c9;min-height:34px;padding:0 10px;font-size:13px}.nav-subitems button:before{content:"•";color:currentColor;margin-right:9px}.sidebar-status{background:#ffffff12;border:1px solid #ffffff1f;border-radius:8px;margin-top:auto;padding:16px}.sidebar-status span,.sidebar-status small{color:#aeb9c9;font-size:12px;display:block}.sidebar-status strong{margin:6px 0;font-size:17px;display:block}.workspace{min-width:0;padding:28px}.topbar{justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:24px;display:flex}.eyebrow{color:var(--green);letter-spacing:0;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:800;display:block}.topbar h1{color:var(--ink);letter-spacing:0;margin:0;font-size:clamp(28px,4vw,44px);line-height:1.05}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.topbar-user{max-width:220px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.auth-page,.auth-state-page{min-height:100vh}.auth-page{background:#e8edf3;place-items:center;padding:28px;display:grid}.auth-shell{background:#fff;border:1px solid #cdd6e2;border-radius:8px;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);width:min(980px,100%);min-height:620px;display:grid;overflow:hidden;box-shadow:0 28px 70px #1c274024}.auth-brand-panel{color:#fff;background:#111827;flex-direction:column;justify-content:space-between;padding:38px;display:flex}.auth-brand-lockup{align-items:center;gap:12px;display:flex}.auth-brand-lockup strong,.auth-brand-lockup span{display:block}.auth-brand-lockup strong{font-size:18px}.auth-brand-lockup span{color:#9da9ba;margin-top:4px;font-size:12px;font-weight:700}.auth-brand-copy{max-width:390px}.auth-brand-copy>span{color:#67d5b5;text-transform:uppercase;font-size:12px;font-weight:900}.auth-brand-copy h1{color:#fff;letter-spacing:0;margin:14px 0 0;font-size:38px;line-height:1.08}.auth-brand-copy p{color:#b8c3d2;margin:18px 0 0;font-size:15px;line-height:1.65}.auth-form-panel{background:#fff;align-items:center;padding:40px;display:grid}.auth-form-inner{width:min(430px,100%);margin:0 auto}.auth-mode-control{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.auth-mode-control button{min-height:38px;color:var(--muted);background:0 0;border:0;border-radius:6px;font-weight:900}.auth-mode-control button.active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #1c27401a}.auth-form-heading{margin-top:32px}.auth-form-heading h2{color:var(--ink);margin:0;font-size:30px;line-height:1.15}.auth-form{gap:16px;margin-top:24px;display:grid}.auth-form label{gap:7px;display:grid}.auth-form label>span{color:#344054;font-size:12px;font-weight:900}.auth-form input{width:100%;min-height:48px;color:var(--ink);background:#fff;border:1px solid #cdd6e2;border-radius:8px;outline:none;padding:0 14px;transition:border-color .2s,box-shadow .2s}.auth-form input:focus{border-color:var(--green);box-shadow:0 0 0 3px #0f8f6f21}.auth-form input[aria-invalid=true]{border-color:#d92d20}.password-input{position:relative}.password-input input{padding-right:48px}.password-input button{color:#667085;background:0 0;border:0;border-radius:6px;place-items:center;width:38px;height:38px;display:grid;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.password-input button:hover,.password-input button:focus-visible{color:var(--ink);background:#eef2f6}.password-strength{gap:8px;margin-top:-4px;display:grid}.password-strength-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:14px;font-size:11px;font-weight:800;display:flex}.password-strength-heading strong{color:#344054}.password-strength-track{background:#e4e9f0;border-radius:3px;height:6px;overflow:hidden}.password-strength-track span{border-radius:inherit;width:0;height:100%;transition:width .2s,background .2s;display:block}.password-strength.strength-1 .password-strength-track span{background:#d92d20;width:25%}.password-strength.strength-2 .password-strength-track span{background:#d97706;width:50%}.password-strength.strength-3 .password-strength-track span{background:#2563eb;width:75%}.password-strength.strength-4 .password-strength-track span{background:var(--green);width:100%}.password-strength>small,.password-match{color:var(--muted);font-size:11px;font-weight:700;line-height:1.4}.password-match.valid{color:#087158}.password-match.invalid{color:var(--red)}.auth-form>button{width:100%;min-height:50px;margin-top:4px}.auth-form>button:disabled{cursor:wait;opacity:.68}.auth-message{border:1px solid;border-radius:8px;margin:0;padding:11px 12px;font-size:13px;font-weight:800;line-height:1.45}.auth-message.error{background:var(--red-soft);color:var(--red);border-color:#f0b7b2}.auth-message.success{background:var(--green-soft);color:#087158;border-color:#a9dccd}.auth-state-page{color:var(--ink);text-align:center;background:#eef2f6;place-content:center;justify-items:center;gap:16px;padding:28px;display:grid}.auth-state-page>strong{font-size:14px}.auth-loader{border:3px solid #cbd5e1;border-top-color:var(--green);border-radius:50%;width:34px;height:34px;animation:.8s linear infinite auth-spin}.auth-config-page{text-align:left;grid-template-columns:auto minmax(0,540px);place-items:start}.auth-config-page h1{margin:0;font-size:30px;line-height:1.2}.auth-config-page p{color:var(--muted);margin:14px 0 0;line-height:1.7}.auth-config-page code{color:#24324a;background:#dfe6ee;border-radius:4px;padding:2px 5px;font-size:13px}.auth-state-actions{gap:10px;margin-top:20px;display:flex}@keyframes auth-spin{to{transform:rotate(360deg)}}.primary-button,.ghost-button,.text-button,.icon-button{border:1px solid #0000;border-radius:8px;min-height:42px;font-weight:800}.primary-button,.text-button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.primary-button{background:var(--green);color:#fff;padding:0 16px;box-shadow:0 12px 22px #0f8f6f38}.ghost-button{border-color:var(--border);color:var(--text);background:#ffffffb8;padding:0 16px}.text-button{color:var(--blue);background:0 0;padding:0 2px}.icon-button{border-color:var(--border);background:var(--surface);width:42px;color:var(--text);place-items:center;display:grid}.page-stack{gap:18px;display:grid}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric-card,.panel{border:1px solid var(--border);box-shadow:var(--shadow);background:#ffffffe6;border-radius:8px}.metric-card{align-content:space-between;gap:12px;min-height:132px;padding:18px;display:grid}.metric-card span,.metric-card small{color:var(--muted)}.metric-card span{font-size:13px;font-weight:800}.metric-card strong{color:var(--ink);font-size:clamp(24px,3vw,34px);line-height:1}.metric-card.warning{background:#fffbef;border-color:#f3cf84}.dashboard-grid,.finance-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;display:grid}.inventory-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:start;gap:18px;display:grid}.dashboard-grid.secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-period-panel{grid-template-columns:minmax(520px,.7fr);display:grid}.dashboard-action-panel{gap:16px;display:grid}.dashboard-action-panel .panel-header{margin-bottom:0}.dashboard-action-panel .panel-header p{color:var(--muted);margin:4px 0 0;font-size:13px;font-weight:700}.dashboard-alert-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.dashboard-alert-summary article{border:1px solid var(--border);background:#fff;border-radius:8px;align-content:space-between;gap:8px;min-height:104px;padding:14px;display:grid}.dashboard-alert-summary article.danger{background:var(--red-soft);border-color:#b4231847}.dashboard-alert-summary article.warning{background:var(--amber-soft);border-color:#b7791f47}.dashboard-alert-summary article.ok{background:var(--green-soft)}.dashboard-alert-summary span,.dashboard-alert-summary small{color:var(--muted);font-size:12px;font-weight:850;line-height:1.35}.dashboard-alert-summary strong{color:var(--ink);font-size:28px;line-height:1}.dashboard-action-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.dashboard-action-card{border:1px solid var(--border);background:#fff;border-radius:8px;align-content:space-between;gap:14px;min-height:168px;padding:15px;display:grid}.dashboard-action-card.danger{background:var(--red-soft);border-color:#b4231847}.dashboard-action-card.warning{background:var(--amber-soft);border-color:#b7791f47}.dashboard-action-card.ok{background:var(--green-soft)}.dashboard-action-card span,.dashboard-action-card small{display:block}.dashboard-action-card span{color:var(--muted);font-size:12px;font-weight:900}.dashboard-action-card strong{color:var(--ink);margin:8px 0 6px;font-size:25px;line-height:1;display:block}.dashboard-action-card small{min-height:48px;color:var(--muted);font-size:12px;font-weight:700;line-height:1.45}.dashboard-action-card button{border:1px solid var(--border);min-height:36px;color:var(--text);background:#fff;border-radius:8px;font-weight:900}.dashboard-action-card button:disabled{opacity:.6;cursor:not-allowed}.dashboard-recommendation-panel{gap:16px;display:grid}.dashboard-recommendation-panel .panel-header{margin-bottom:0}.dashboard-recommendation-panel .panel-header p{color:var(--muted);margin:4px 0 0;font-size:13px;font-weight:800}.dashboard-recommendation-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;display:grid}.dashboard-recommendation-grid article{border:1px solid var(--border);background:#fff;border-radius:8px;align-content:space-between;gap:10px;min-height:190px;padding:15px;display:grid}.dashboard-recommendation-grid article.danger{background:var(--red-soft);border-color:#b4231847}.dashboard-recommendation-grid article.warning{background:var(--amber-soft);border-color:#b7791f47}.dashboard-recommendation-grid article.info{background:var(--blue-soft);border-color:#2563eb33}.dashboard-recommendation-grid span,.dashboard-recommendation-grid small{color:var(--muted);font-size:12px;font-weight:900;line-height:1.4}.dashboard-recommendation-grid strong{color:var(--ink);font-size:17px;line-height:1.25}.dashboard-recommendation-grid button{border:1px solid var(--border);min-height:36px;color:var(--text);background:#fff;border-radius:8px;font-weight:900}.recommendation-empty-state{background:var(--green-soft);min-height:136px;color:var(--green);text-align:center;border:1px dashed #a9dccd;border-radius:8px;align-content:center;justify-items:center;gap:8px;display:grid}.recommendation-empty-state span{color:var(--muted);font-size:13px;font-weight:800}.tasks-page{align-content:start}.tasks-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.tasks-header h2,.tasks-header p{margin:0}.tasks-header h2{color:var(--ink);font-size:clamp(28px,3vw,40px);line-height:1.05}.tasks-header p{color:var(--muted);margin-top:6px;font-weight:750}.tasks-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.tasks-kpis article{border:1px solid var(--border);min-height:126px;box-shadow:var(--shadow);background:#ffffffe6;border-radius:8px;align-content:space-between;gap:10px;padding:17px;display:grid}.tasks-kpis article.danger{background:var(--red-soft);border-color:#b4231847}.tasks-kpis article.warning{background:var(--amber-soft);border-color:#b7791f47}.tasks-kpis article.ok{background:var(--green-soft)}.tasks-kpis span,.tasks-kpis small{color:var(--muted);font-size:13px;font-weight:800;line-height:1.35}.tasks-kpis strong{color:var(--ink);font-size:34px;line-height:1}.tasks-filters{grid-template-columns:minmax(280px,1fr) minmax(420px,.9fr) repeat(3,minmax(160px,.35fr));align-items:end;gap:12px;display:grid}.tasks-filters select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.tasks-list-panel .panel-header{margin-bottom:10px}.tasks-list{gap:10px;display:grid}.tasks-row{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-columns:12px minmax(0,1fr) minmax(170px,.28fr) auto;align-items:center;gap:14px;min-width:0;padding:14px;display:grid}.tasks-row.danger{background:var(--red-soft);border-color:#b4231847}.tasks-row.warning{background:var(--amber-soft);border-color:#b7791f3d}.tasks-row.success,.tasks-row.info{background:var(--surface-soft)}.tasks-severity-dot{background:var(--blue);border-radius:999px;width:10px;height:42px}.tasks-row.danger .tasks-severity-dot{background:var(--red)}.tasks-row.warning .tasks-severity-dot{background:var(--amber)}.tasks-row.success .tasks-severity-dot{background:var(--green)}.tasks-main,.tasks-main div,.tasks-meta{min-width:0}.tasks-main{gap:5px;display:grid}.tasks-main strong,.tasks-main p,.tasks-main small,.tasks-area{overflow-wrap:anywhere}.tasks-main strong{color:var(--ink);line-height:1.25;display:block}.tasks-main p{color:var(--text);margin:0;font-size:13px;font-weight:800}.tasks-main small,.tasks-area{color:var(--muted);font-size:12px;font-weight:800}.tasks-meta{justify-items:start;gap:6px;display:grid}.tasks-meta span,.tasks-meta small{color:var(--muted);font-size:12px;font-weight:850}.tasks-status{background:var(--surface-strong);border-radius:999px;align-items:center;min-height:26px;padding:0 9px;display:inline-flex;color:var(--text)!important}.tasks-status.open{background:var(--amber-soft);color:var(--amber)!important}.tasks-status.resolved{background:var(--green-soft);color:#087456!important}.tasks-status.ignored{background:var(--surface-strong)}.tasks-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.tasks-actions .primary-button,.tasks-actions .ghost-button{min-height:38px}.tasks-empty-state{min-height:220px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:10px;display:grid}.tasks-empty-state svg{width:34px;height:34px;color:var(--green)}.tasks-empty-state strong,.tasks-empty-state span{display:block}.tasks-empty-state strong{color:var(--ink)}.panel{padding:18px}.panel-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.panel-header h2{color:var(--ink);margin:0;font-size:19px;line-height:1.2}.placeholder-panel{gap:12px;max-width:860px;display:grid}.placeholder-panel h2,.placeholder-panel p{margin:0}.placeholder-panel h2{color:var(--ink);font-size:26px}.placeholder-panel p{color:var(--muted);line-height:1.55}.placeholder-actions{flex-wrap:wrap;gap:10px;margin-top:4px;display:flex}.settings-page{gap:20px}.settings-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.settings-header h2,.settings-header p{margin:0}.settings-header h2{color:var(--ink);margin-top:4px;font-size:30px;line-height:1.1}.settings-header p{color:var(--muted);margin-top:6px;font-weight:800}.operation-goals-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.34fr);align-items:start;gap:18px;display:grid}.operation-goals-form{gap:18px;display:grid}.goal-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.goal-field{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:8px;padding:14px;display:grid}.goal-field>span{color:var(--ink);font-size:13px;font-weight:900}.goal-field div{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.goal-field input{width:100%;min-height:42px;color:var(--ink);background:0 0;border:0;outline:0;padding:0 12px;font-weight:900}.goal-field small{color:var(--muted);padding:0 12px;font-size:12px;font-weight:900}.goal-field em{min-height:34px;color:var(--muted);font-size:12px;font-style:normal;font-weight:800;line-height:1.4}.operation-goals-actions,.operation-goals-shortcuts{flex-wrap:wrap;gap:10px;display:flex}.operation-goals-preview{gap:16px;display:grid}.goal-preview-list{gap:10px;display:grid}.goal-preview-list article{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;align-content:space-between;gap:8px;min-height:96px;padding:14px;display:grid}.goal-preview-list article.green{background:var(--green-soft);border-color:#b7dfd3}.goal-preview-list article.blue{background:var(--blue-soft);border-color:#bfd1ff}.goal-preview-list article.amber{background:var(--amber-soft);border-color:#efd596}.goal-preview-list span,.goal-preview-list small{color:var(--muted);font-size:12px;font-weight:900}.goal-preview-list strong{color:var(--ink);font-size:24px;line-height:1}.integration-page-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.integration-page-header h2{color:var(--ink);margin:4px 0 0;font-size:28px;line-height:1.15}.integration-provider{border:1px solid var(--border);box-shadow:var(--shadow);background:#ffffffeb;border-radius:8px;grid-template-columns:88px minmax(0,1fr);gap:20px;padding:20px;display:grid}.integration-provider-brand{color:#2d3277;border-radius:8px;place-items:center;width:72px;height:72px;font-size:22px;display:grid}.mercado-livre-brand{background:#ffe600;border:1px solid #ead300}.integration-provider-main{gap:18px;min-width:0;display:grid}.integration-provider-title,.integration-provider-footer,.integration-account-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.integration-provider-title h3{color:var(--ink);margin:0;font-size:19px}.integration-provider-title div>span,.integration-account-header div>span,.integration-loading{color:var(--muted);margin-top:4px;font-size:13px;display:block}.integration-status,.integration-provider-footer>span{color:var(--muted);align-items:center;gap:7px;font-size:13px;font-weight:800;display:inline-flex}.integration-status{border:1px solid var(--border);white-space:nowrap;border-radius:999px;min-height:30px;padding:0 10px}.integration-status.connected{color:#08765a;background:#ecfaf5;border-color:#a9ddc9}.integration-status.error{background:var(--red-soft);color:var(--red);border-color:#f1b8af}.integration-status svg,.integration-provider-footer svg{width:16px;height:16px}.integration-account-list{gap:12px;display:grid}.integration-account{border:1px solid var(--border);background:#f8fafc;border-radius:8px;gap:14px;padding:14px;display:grid}.integration-account-header{align-items:flex-start}.integration-account strong{color:var(--ink);font-size:14px}.integration-empty-state{border:1px dashed var(--border);background:var(--surface-soft);border-radius:8px;gap:4px;padding:14px;display:grid}.integration-empty-state strong{color:var(--ink)}.integration-empty-state span{color:var(--muted);font-size:13px}.integration-account-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.integration-health{border:1px solid var(--border);background:#fff;border-radius:6px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:10px 12px;display:grid}.integration-health svg{width:18px;height:18px;margin-top:1px}.integration-health div{gap:3px;min-width:0;display:grid}.integration-health strong{line-height:1.25}.integration-health span{color:var(--muted);font-size:12px;line-height:1.45}.integration-health.success{color:#08765a;background:#ecfaf5;border-color:#a9ddc9}.integration-health.info{background:var(--blue-soft);color:var(--blue);border-color:#b8ccff}.integration-health.warning{background:var(--amber-soft);color:var(--amber);border-color:#ebd28d}.integration-health.error{background:var(--red-soft);color:var(--red);border-color:#f1b8af}.integration-account-kpis>div{border:1px solid var(--border);background:#fff;border-radius:6px;gap:4px;min-width:0;padding:10px;display:grid}.integration-account-kpis span,.integration-sync-history-title span,.integration-sync-empty,.integration-sync-history li div:last-child span,.integration-sync-alert span{color:var(--muted);font-size:12px}.integration-account-kpis strong{overflow-wrap:anywhere}.integration-sync-alert{background:var(--red-soft);border:1px solid #f1b8af;border-radius:6px;gap:3px;padding:10px;display:grid}.integration-sync-alert strong{color:var(--red)}.integration-sync-history{gap:8px;display:grid}.integration-sync-history-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.integration-sync-history ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.integration-sync-history li{border:1px solid var(--border);background:#fff;border-radius:6px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:10px;padding:8px 10px;display:grid}.integration-sync-history li div{align-items:center;gap:7px;min-width:0;display:flex}.integration-sync-history li div:last-child{justify-content:space-between}.integration-sync-history li span{min-width:0}.sync-status-dot{background:var(--muted);border-radius:50%;flex:none;width:9px;height:9px}.sync-status-dot.completed{background:var(--green)}.sync-status-dot.running{background:var(--blue)}.sync-status-dot.failed{background:var(--red)}.integration-account-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.integration-sync-button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.integration-sync-button svg{width:16px;height:16px}.integration-account-actions .icon-button{width:38px;height:38px;min-height:38px}.integration-account-actions .icon-button svg,.integration-page-header .icon-button svg{width:18px;height:18px}.icon-button.danger{color:#a12d2d;border-color:#efc1c1}.integration-provider-footer{border-top:1px solid var(--border);padding-top:14px}button:disabled,a[aria-disabled=true]{cursor:not-allowed;opacity:.58}@media (width<=700px){.integration-provider{grid-template-columns:1fr}.integration-provider-brand{width:56px;height:56px}.integration-provider-title,.integration-provider-footer,.integration-account-header{flex-direction:column;align-items:flex-start}.integration-account-kpis,.integration-sync-history li{grid-template-columns:1fr}.integration-account-actions{justify-content:flex-start}.integration-sync-button,.integration-provider-footer .primary-button{width:100%}}.placeholder-actions span{background:var(--surface-soft);min-height:30px;color:var(--muted);border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex}.analysis-page{gap:20px}.ad-lookup-page{gap:26px}.analysis-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.analysis-header h2,.analysis-header p{margin:0}.analysis-header h2{color:var(--ink);font-size:clamp(26px,3vw,36px);line-height:1.08}.analysis-header p{color:var(--muted);margin-top:6px;font-weight:700}.ad-lookup-search{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.ad-lookup-search input{border:1px solid var(--border);width:100%;min-height:44px;color:var(--text);background:#ffffffe6;border-radius:8px;outline:0;padding:0 13px}.ad-lookup-search button{background:var(--green);color:#fff;border:1px solid #0f8f6f2e;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-weight:900;display:inline-flex}.ad-lookup-search button:disabled,.analysis-search-field button:disabled{cursor:wait;opacity:.72}.ad-real-preview,.analysis-real-source{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;align-items:center;gap:12px;margin-bottom:14px;padding:12px;display:grid}.ad-real-preview{grid-template-columns:76px minmax(0,1fr)}.analysis-real-source{grid-template-columns:54px minmax(0,1fr) 34px;margin-top:12px;margin-bottom:0}.ad-real-preview img,.analysis-real-source img{aspect-ratio:1;object-fit:cover;border:1px solid var(--border);background:#fff;border-radius:8px;width:100%}.ad-real-preview strong,.ad-real-preview span,.analysis-real-source strong,.analysis-real-source span{display:block}.ad-real-preview strong,.analysis-real-source strong{color:var(--ink)}.ad-real-preview span,.analysis-real-source span{color:var(--muted);margin-top:4px;font-size:12px;font-weight:800}.ad-real-preview a,.analysis-real-source a{color:var(--blue);align-items:center;gap:6px;margin-top:8px;font-size:12px;font-weight:900;text-decoration:none;display:inline-flex}.ad-real-preview a svg,.analysis-real-source a svg{width:14px;height:14px}.ad-empty-state{text-align:center;align-content:center;justify-items:center;gap:18px;min-height:430px;padding:32px;display:grid}.ad-empty-icon{color:#ff5f00;background:#fff0e7;border-radius:50%;place-items:center;width:82px;height:82px;display:grid}.ad-empty-icon svg{width:34px;height:34px}.ad-empty-state h3,.ad-empty-state p{margin:0}.ad-empty-state h3{color:var(--ink);font-size:28px;line-height:1.15}.ad-empty-state p{max-width:660px;color:var(--muted);font-weight:700;line-height:1.55}.ad-metric-tags{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:10px;display:flex}.ad-metric-tags span{border:1px solid var(--border);min-height:36px;color:var(--muted);background:#ffffffc7;border-radius:8px;align-items:center;gap:8px;padding:0 13px;font-size:13px;font-weight:900;display:inline-flex}.ad-helper-box{border:1px dashed var(--border-strong,var(--border));color:var(--muted);border-radius:8px;margin-top:16px;padding:18px 24px;font-weight:800}.ad-result-panel{gap:16px;display:grid}.ad-result-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.analysis-filter-row{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.analysis-filter-row button{border:1px solid var(--border);min-height:38px;color:var(--text);background:#ffffffc7;border-radius:8px;padding:0 12px;font-size:13px;font-weight:900}.analysis-workspace{grid-template-columns:minmax(360px,.85fr) minmax(420px,1.25fr);align-items:start;gap:18px;display:grid}.analysis-left{gap:16px;display:grid}.analysis-search-panel .panel-header,.analysis-form-panel .panel-header,.saved-analysis-panel .panel-header{margin-bottom:14px}.analysis-search-field{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.analysis-search-field input,.field input,.field select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;outline:0}.analysis-search-field input,.field input{padding:0 12px}.field select{padding:0 10px}.analysis-search-field button{background:var(--green);color:#fff;border:1px solid #0f8f6f2e;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-weight:900;display:inline-flex}.analysis-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.field{gap:6px;display:grid}.full-field{grid-column:1/-1}.field span{color:var(--muted);font-size:12px;font-weight:900}.analysis-toggle-list{gap:10px;margin-top:14px;display:grid}.analysis-toggle{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:12px;display:flex}.analysis-toggle strong,.analysis-toggle span{display:block}.analysis-toggle strong{color:var(--ink)}.analysis-toggle span{color:var(--muted);margin-top:3px;font-size:12px}.analysis-toggle input{flex:none;width:20px;height:20px}.analysis-result-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.analysis-result-strip div{border:1px solid var(--border);background:#fff;border-radius:8px;padding:12px}.analysis-result-strip span,.analysis-result-strip strong{display:block}.analysis-result-strip span{color:var(--muted);font-size:12px;font-weight:900}.analysis-result-strip strong{color:var(--ink);margin-top:4px;font-size:18px}.saved-search{width:100%;min-width:0;margin-bottom:14px}.empty-analysis{border:1px dashed var(--border);background:var(--surface-soft);min-height:170px;color:var(--muted);text-align:center;border-radius:8px;place-items:center;padding:22px;line-height:1.5;display:grid}.saved-analysis-list{gap:12px;display:grid}.saved-analysis-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:14px;padding:14px;display:grid}.saved-analysis-card strong,.saved-analysis-card span{display:block}.saved-analysis-card span{color:var(--muted);margin-top:4px;font-size:13px}.saved-analysis-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;display:grid}.saved-analysis-card dt,.saved-analysis-card dd{margin:0}.saved-analysis-card dt{color:var(--muted);font-size:12px;font-weight:900}.saved-analysis-card dd{color:var(--ink);margin-top:4px;font-weight:900}.movements-page{gap:22px}.movements-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.movements-header h2,.movements-header p{margin:0}.movements-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.movements-header p{color:var(--muted);margin-top:6px;font-weight:700}.movements-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.movements-filter-panel{grid-template-columns:minmax(240px,1fr) minmax(520px,1.6fr) repeat(5,minmax(130px,.55fr));align-items:center;gap:10px;display:grid}.movements-filter-panel select,.period-button{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;font-weight:800}.movements-filter-panel select{padding:0 11px}.period-button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.date-range-controls{grid-template-columns:auto minmax(142px,1fr) minmax(142px,1fr) auto;align-items:end;gap:8px;min-width:0;display:grid}.date-range-controls>span,.date-range-controls label small{color:var(--ink);font-size:12px;font-weight:900}.date-range-controls>span{align-self:center}.date-range-controls label{gap:4px;display:grid}.date-range-controls input,.date-range-controls button{border:1px solid var(--border);min-height:42px;color:var(--text);background:#fff;border-radius:8px;font-weight:800}.date-range-controls input{width:100%;padding:0 10px}.date-range-controls>div{flex-wrap:wrap;gap:6px;display:flex}.date-range-controls button{white-space:nowrap;padding:0 10px}.movements-search{width:100%;min-width:0}.movement-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.movement-kpi{border:1px solid var(--border);min-height:138px;box-shadow:var(--shadow);background:#ffffffe6;border-radius:8px;align-content:space-between;gap:12px;padding:18px;display:grid}.movement-kpi div{justify-content:space-between;align-items:center;gap:12px;display:flex}.movement-kpi span,.movement-kpi small{color:var(--muted);font-weight:800}.movement-kpi strong{color:var(--ink);font-size:27px;line-height:1}.movement-list-panel{min-height:286px}.movement-empty-state{border:2px dashed var(--border-strong);min-height:236px;color:var(--muted);text-align:center;border-radius:8px;align-content:center;justify-items:center;gap:10px;padding:28px;display:grid}.movement-empty-state>span{color:var(--muted);gap:6px;display:flex}.movement-empty-state>span svg{width:26px;height:26px}.movement-empty-state strong{color:var(--ink);font-size:18px}.movement-empty-state p{max-width:620px;margin:0;line-height:1.5}.movement-head,.movement-row{grid-template-columns:minmax(210px,1.2fr) minmax(90px,.45fr) minmax(145px,.7fr) minmax(130px,.65fr) minmax(115px,.55fr) minmax(90px,.45fr) minmax(110px,.55fr) minmax(150px,.75fr);min-width:1100px}.financial-status{color:#9a6700;background:#fff7e6;border-radius:5px;width:fit-content;padding:4px 7px;font-size:11px;font-weight:900}.financial-status.paid{color:var(--green);background:#e8f8f2}.financial-status.canceled{color:var(--muted);background:#f2f4f7}.movement-row-actions{align-items:center;gap:5px;display:flex}.movement-row-actions button:not(.receipt-pay-button){border:1px solid var(--border);background:var(--surface);width:30px;height:30px;color:var(--muted);border-radius:6px;place-items:center;display:grid}.movement-row-actions button:hover:not(:disabled){color:var(--ink);border-color:var(--border-strong)}.movement-row-actions svg{width:15px;height:15px}.financial-modal{width:min(680px,100%)}.financial-checkbox{grid-template-columns:auto 1fr;align-self:end;align-items:center;min-height:44px}.inventory-form .financial-checkbox input{width:18px;min-height:18px}.stock-movements-page{gap:22px}.stock-movement-filters{grid-template-columns:minmax(260px,1.35fr) minmax(220px,1fr) minmax(180px,.75fr) minmax(145px,.55fr) minmax(145px,.55fr) auto;align-items:end;gap:10px;display:grid}.stock-movement-filters>label:not(.search-field){color:var(--muted);gap:7px;font-size:12px;font-weight:900;display:grid}.stock-movement-filters select,.stock-movement-filters input[type=date]{border:1px solid var(--border);background:var(--surface);width:100%;min-height:42px;color:var(--text);font:inherit;border-radius:8px;padding:0 11px;font-weight:800}.stock-movement-search{width:100%;min-width:0}.stock-filter-clear{white-space:nowrap;min-height:42px}.stock-filter-clear svg{width:16px;height:16px}.stock-movement-list-panel{min-height:286px;overflow:hidden}.stock-movement-head,.stock-movement-row{grid-template-columns:minmax(130px,.65fr) minmax(230px,1.2fr) minmax(165px,.8fr) minmax(105px,.52fr) minmax(115px,.58fr) minmax(120px,.62fr) minmax(105px,.52fr) minmax(220px,1.1fr);min-width:1260px}.stock-movement-date,.stock-movement-cost,.stock-movement-row>strong{font-variant-numeric:tabular-nums}.stock-movement-cost{white-space:nowrap;align-items:center;gap:6px;display:flex}.stock-movement-cost small{background:var(--surface-soft);color:var(--muted);text-transform:uppercase;border-radius:4px;padding:2px 5px;font-size:10px;font-weight:900}.stock-movement-notes{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stock-in{color:var(--green)}.stock-out{color:var(--red)}.receipts-page{gap:22px}.receipts-header h2,.receipts-header p{margin:0}.receipts-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.receipts-header p{color:var(--muted);margin-top:6px;font-weight:700}.receipts-period-button{width:fit-content;padding:0 16px}.receipts-filter-panel{grid-template-columns:minmax(520px,1fr) auto;align-items:center;gap:10px;display:grid}.payables-filter-panel{grid-template-columns:minmax(420px,1fr) minmax(150px,.24fr) minmax(130px,.2fr) auto;align-items:center;gap:10px;display:grid}.payables-filter-panel select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.receipts-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.payables-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.receipt-kpi{border:1px solid var(--border);min-height:130px;box-shadow:var(--shadow);background:#ffffffe6;border-radius:8px;align-content:space-between;gap:12px;padding:20px 22px;display:grid}.receipt-kpi div{justify-content:space-between;align-items:center;gap:12px;display:flex}.receipt-kpi span,.receipt-kpi small{color:var(--muted);font-weight:800}.receipt-kpi strong{color:var(--ink);font-size:27px;line-height:1}.receipt-kpi.amber strong,.receipt-kpi.amber svg{color:var(--amber)}.receipt-kpi.green strong,.receipt-kpi.green svg{color:var(--green)}.receipt-kpi.blue strong,.receipt-kpi.blue svg{color:var(--blue)}.receipt-kpi.red strong,.receipt-kpi.red svg{color:var(--red)}.receipt-kpi.purple strong,.receipt-kpi.purple svg{color:#7c3aed}.receipts-release-section{gap:14px;display:grid}.receipts-release-section h3{color:var(--ink);margin:0;font-size:21px}.receipts-release-panel{min-height:170px;overflow:hidden}.receipts-table-head,.receipts-table-row{grid-template-columns:minmax(220px,1.2fr) minmax(130px,.7fr) minmax(120px,.6fr) minmax(90px,.45fr) minmax(120px,.6fr) minmax(155px,.75fr);min-width:930px}.payables-table-head,.payables-table-row{grid-template-columns:minmax(220px,1.2fr) minmax(135px,.6fr) minmax(105px,.45fr) minmax(120px,.5fr) minmax(100px,.42fr) minmax(120px,.5fr) minmax(170px,.8fr);min-width:980px}.payables-table-row.overdue{background:var(--red-soft)}.receipt-pay-button{min-height:32px;color:var(--green);background:#e8f8f2;border:1px solid #a6dfcc;border-radius:6px;align-items:center;gap:6px;padding:0 9px;font-size:11px;font-weight:900;display:inline-flex}.receipt-empty-state{min-height:122px;color:var(--muted);text-align:center;align-content:center;justify-items:center;gap:12px;display:grid}.receipt-empty-state span{border:1px solid var(--border);width:44px;height:32px;color:var(--muted);background:var(--surface-soft);border-radius:8px;place-items:center;display:grid}.receipt-empty-state p{margin:0;font-weight:800}.abc-page{gap:22px}.abc-header h2,.abc-header p{margin:0}.abc-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.abc-header p{color:var(--muted);margin-top:6px;font-weight:700}.abc-filter-panel{grid-template-columns:minmax(210px,.9fr) minmax(180px,.75fr) minmax(180px,.75fr) minmax(220px,1fr) minmax(360px,1.35fr);align-items:center;gap:10px;display:grid}.abc-filter-panel select{border:1px solid var(--border);width:100%;min-height:40px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.abc-search{width:100%;min-width:0}.abc-segmented{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.abc-segmented button{border:1px solid var(--border);min-height:40px;color:var(--text);background:#fff;border-radius:8px;font-weight:900}.abc-segmented button.active{background:var(--green-soft);color:var(--green);border-color:#0f8f6f3d}.abc-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.abc-kpi{border:1px solid var(--border);min-height:132px;box-shadow:var(--shadow);background:#ffffffe6;border-radius:8px;align-content:space-between;gap:8px;padding:18px;display:grid}.abc-kpi span,.abc-kpi small{color:var(--muted);font-weight:800}.abc-kpi strong{color:var(--ink);font-size:28px;line-height:1}.abc-kpi em{background:var(--surface-strong);width:fit-content;color:var(--text);border-radius:999px;padding:4px 8px;font-size:12px;font-style:normal;font-weight:900}.abc-kpi.green em{background:var(--green-soft);color:var(--green)}.abc-kpi.amber em{background:var(--amber-soft);color:var(--amber)}.abc-kpi.red em{background:var(--red-soft);color:var(--red)}.abc-chart-panel .panel-header p{color:var(--muted);margin:6px 0 0;font-size:13px;font-weight:700}.pareto-chart{border:1px dashed var(--border);background:linear-gradient(#0000 24%,#6670851f 24%,#0000 25%),linear-gradient(#0000 49%,#6670851f 49%,#0000 50%),linear-gradient(#0000 74%,#6670851f 74%,#0000 75%);border-radius:8px;align-items:end;gap:12px;min-height:310px;padding:34px 24px 18px;display:flex;position:relative}.pareto-line{font-size:12px;font-weight:900;position:absolute;right:12px}.line-a{color:var(--green);top:20%}.line-b{color:var(--amber);top:5%}.pareto-bar{color:#fff;border-radius:8px 8px 0 0;place-items:end center;width:min(52px,12%);min-height:18px;font-size:11px;font-weight:900;display:grid}.pareto-bar.class-a{background:var(--green)}.pareto-bar.class-b{background:var(--amber)}.pareto-bar.class-c{background:var(--red)}.pareto-bar span{padding-bottom:5px}.ad-ranking-page{gap:26px}.ad-ranking-header h2,.ad-ranking-header p{margin:0}.ad-ranking-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.ranking-collector-status{border:1px solid var(--border);color:var(--muted);background:var(--surface);border-radius:6px;flex:none;align-items:center;gap:8px;padding:7px 10px;font-size:11px;font-weight:800;display:inline-flex}.ranking-collector-status>span{background:#c95b4b;border-radius:50%;width:8px;height:8px}.ranking-collector-status.connected{color:var(--green)}.ranking-collector-status.connected>span{background:var(--green)}.ad-ranking-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.ad-ranking-header p{color:var(--muted);margin-top:6px;font-weight:700}.ad-ranking-search{grid-template-columns:minmax(0,1fr) auto auto;gap:10px;display:grid}.ad-ranking-search input{border:1px solid var(--border);width:100%;min-height:44px;color:var(--text);background:#ffffffe6;border-radius:8px;outline:0;padding:0 13px}.ad-ranking-search button{border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-weight:900;display:inline-flex}.ad-ranking-search>button:not(.ghost-button){background:var(--green);color:#fff;border:1px solid #0f8f6f2e}.ad-ranking-search button:disabled{cursor:wait;opacity:.72}.ranking-empty-state{text-align:center;align-content:center;justify-items:center;gap:18px;min-height:430px;padding:32px;display:grid}.ranking-empty-icon{color:#ff5f00;background:#fff0e7;border-radius:50%;place-items:center;width:82px;height:82px;display:grid}.ranking-empty-icon svg{width:36px;height:36px}.ranking-empty-state h3,.ranking-empty-state p{margin:0}.ranking-empty-state h3{color:var(--ink);font-size:28px;line-height:1.15}.ranking-empty-state p{max-width:720px;color:var(--muted);font-weight:700;line-height:1.55}.ranking-result-panel{gap:16px;display:grid}.ranking-result-panel .panel-header p{color:var(--muted);margin:5px 0 0;font-size:12px;font-weight:700}.ranking-summary-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.ranking-summary-strip article{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:5px;padding:12px;display:grid}.ranking-summary-strip span{color:var(--muted);font-size:12px;font-weight:800}.ranking-summary-strip strong{color:var(--ink);font-size:20px}.ranking-head,.ranking-row{grid-template-columns:minmax(260px,1.4fr) minmax(90px,.45fr) minmax(120px,.55fr) minmax(110px,.5fr) minmax(110px,.5fr);min-width:760px}.ranking-row.is-own-listing{box-shadow:inset 3px 0 0 var(--green);background:#0f8f6f0a}.ranking-product-cell{grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.ranking-product-cell img{object-fit:cover;border:1px solid var(--border);background:#fff;border-radius:7px;width:48px;height:48px}.ranking-product-cell div{min-width:0}.ranking-product-cell strong,.ranking-product-cell span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.ranking-product-cell span{color:var(--muted);margin-top:3px;font-size:11px}.ranking-product-cell a{color:var(--blue);align-items:center;gap:5px;margin-top:5px;font-size:11px;font-weight:900;text-decoration:none;display:inline-flex}.ranking-product-cell a svg{width:12px;height:12px}.ranking-position-own{color:var(--green)}.ranking-alerts-panel{gap:14px;display:grid}.ranking-alerts-panel .panel-header p{color:var(--muted);margin:5px 0 0;font-size:12px;font-weight:700}.ranking-alert-count{border:1px solid var(--border);background:var(--surface-soft);min-height:34px;color:var(--muted);white-space:nowrap;border-radius:6px;align-items:center;gap:7px;padding:0 10px;font-size:11px;font-weight:900;display:inline-flex}.ranking-alert-count svg{width:15px;height:15px}.ranking-alert-count.has-unread{background:var(--red-soft);color:var(--red);border-color:#b423183d}.ranking-email-settings{border:1px solid var(--border);background:var(--surface-soft);grid-template-columns:minmax(220px,1fr) 210px minmax(155px,.55fr) auto;align-items:center;gap:14px;padding:12px;display:grid}.ranking-email-recipient{align-items:center;gap:9px;min-width:0;display:flex}.ranking-email-recipient>svg{width:18px;height:18px;color:var(--green);flex:none}.ranking-email-recipient div,.ranking-email-last{min-width:0}.ranking-email-recipient strong,.ranking-email-recipient span,.ranking-email-last strong,.ranking-email-last span,.ranking-email-settings label>span{display:block}.ranking-email-recipient strong,.ranking-email-last strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.ranking-email-recipient span,.ranking-email-last span,.ranking-email-settings label>span{color:var(--muted);margin-bottom:4px;font-size:10px;font-weight:800}.ranking-email-recipient span{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;margin-bottom:0;overflow:hidden}.ranking-email-settings select{border:1px solid var(--border);width:100%;min-height:36px;color:var(--text);background:#fff;border-radius:6px;padding:0 9px;font-size:11px;font-weight:800}.ranking-email-settings .ghost-button{white-space:nowrap;min-height:36px;padding:0 12px}.ranking-email-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.ranking-alerts-empty{border:1px solid var(--border);min-height:92px;color:var(--muted);text-align:left;justify-content:center;align-items:center;gap:10px;padding:20px;display:flex}.ranking-alerts-empty>svg{width:22px;height:22px;color:var(--green)}.ranking-alerts-empty strong,.ranking-alerts-empty span{display:block}.ranking-alerts-empty strong{color:var(--ink);font-size:13px}.ranking-alerts-empty span{margin-top:4px;font-size:11px;font-weight:700}.ranking-alert-list{border:1px solid var(--border);display:grid}.ranking-alert-list article{border-top:1px solid var(--border);background:#fff;grid-template-columns:34px minmax(260px,1fr) minmax(150px,.42fr) auto;align-items:center;gap:12px;min-height:84px;padding:11px 12px;display:grid}.ranking-alert-list article:first-child{border-top:0}.ranking-alert-list article.is-read{opacity:.68}.ranking-alert-list article.is-unread.warning{box-shadow:inset 3px 0 0 var(--amber);background:#b16d0009}.ranking-alert-list article.is-unread.critical{box-shadow:inset 3px 0 0 var(--red);background:#b4231809}.ranking-alert-list article.is-unread.success{box-shadow:inset 3px 0 0 var(--green);background:#0f8f6f09}.ranking-alert-icon{background:var(--amber-soft);width:30px;height:30px;color:var(--amber);border-radius:6px;place-items:center;display:grid}.ranking-alert-icon svg{width:16px;height:16px}.ranking-alert-list article.critical .ranking-alert-icon{background:var(--red-soft);color:var(--red)}.ranking-alert-list article.success .ranking-alert-icon{background:var(--green-soft);color:var(--green)}.ranking-alert-content{min-width:0}.ranking-alert-content>span{color:var(--green);text-transform:uppercase;font-size:10px;font-weight:900}.ranking-alert-content strong{color:var(--ink);margin-top:3px;font-size:13px;display:block}.ranking-alert-content p{color:var(--muted);margin:4px 0 0;font-size:11px;font-weight:700}.ranking-alert-position{min-width:0}.ranking-alert-position>span,.ranking-alert-position small{color:var(--muted);font-size:10px;font-weight:800;display:block}.ranking-alert-position>strong{color:var(--ink);align-items:center;gap:6px;margin:4px 0;font-size:14px;display:flex}.ranking-alert-position>strong span{color:var(--muted);font-size:11px}.ranking-alert-actions{justify-content:flex-end;align-items:center;gap:8px;min-width:132px;display:flex}.ranking-alert-actions>span:first-child{width:28px;height:28px;color:var(--green);place-items:center;display:grid}.ranking-alert-actions>span svg{width:15px;height:15px}.ranking-alert-actions .ghost-button{white-space:nowrap;min-height:34px;padding:0 10px;font-size:10px}.ranking-alert-read{align-items:center;gap:5px;font-size:10px;font-weight:900;color:var(--muted)!important;display:inline-flex!important}.ranking-monitor-panel{gap:14px;display:grid}.ranking-monitor-panel .panel-header{align-items:center}.ranking-monitor-panel .panel-header p{color:var(--muted);margin:5px 0 0;font-size:12px;font-weight:700}.ranking-monitor-panel .panel-header button svg,.ad-ranking-search .ghost-button svg{width:16px;height:16px}.ranking-automation-bar{border:1px solid var(--border);background:var(--surface-soft);grid-template-columns:minmax(210px,1fr) 150px minmax(165px,.7fr) auto auto;align-items:center;gap:14px;padding:12px;display:grid}.ranking-automation-bar.active{background:#0f8f6f0b;border-color:#0f8f6f4d}.ranking-automation-status{align-items:center;gap:9px;min-width:0;display:flex}.ranking-automation-status>div{min-width:0}.ranking-automation-status strong,.ranking-automation-status span,.ranking-automation-next span,.ranking-automation-next strong{display:block}.ranking-automation-status strong{color:var(--ink);font-size:12px}.ranking-automation-status span,.ranking-automation-next span,.ranking-automation-frequency>span{color:var(--muted);margin-top:3px;font-size:10px;font-weight:800}.ranking-automation-indicator{background:#a9b3c2;border-radius:50%;flex:none;width:9px;height:9px}.ranking-automation-indicator.active{background:var(--green);box-shadow:0 0 0 4px #0f8f6f1f}.ranking-automation-frequency{gap:5px;display:grid}.ranking-automation-frequency>span{margin-top:0}.ranking-automation-frequency select{border:1px solid var(--border);width:100%;min-height:36px;color:var(--text);background:#fff;border-radius:6px;padding:0 9px;font-size:11px;font-weight:800}.ranking-automation-next{min-width:0}.ranking-automation-next strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:11px;overflow:hidden}.ranking-automation-result{background:var(--surface-strong);width:fit-content;color:var(--muted);white-space:nowrap;border-radius:6px;padding:5px 7px;font-size:10px;font-weight:900}.ranking-automation-result.completed{background:var(--green-soft);color:var(--green)}.ranking-automation-result.running,.ranking-automation-result.partial{background:var(--amber-soft);color:var(--amber)}.ranking-automation-result.failed{background:var(--red-soft);color:var(--red)}.ranking-automation-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.ranking-automation-actions .ghost-button{white-space:nowrap;min-height:36px;padding:0 11px}.ranking-automation-actions .text-button{min-height:36px;color:var(--red);font-size:11px}.ranking-automation-error{background:var(--red-soft);color:var(--red);border:1px solid #b423183d;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:9px 11px;font-size:11px;font-weight:800;display:grid}.ranking-automation-error svg{width:16px;height:16px}.ranking-monitor-state{border-top:1px solid var(--border);min-height:84px;color:var(--muted);text-align:center;place-items:center;padding:20px;font-size:12px;font-weight:800;display:grid}.ranking-batch-progress{background:var(--green-soft);border:1px solid #0f8f6f47;align-items:center;min-height:38px;padding:0 12px;display:grid;position:relative;overflow:hidden}.ranking-batch-progress>span{background:#0f8f6f21;transition:width .25s;position:absolute;inset:0 auto 0 0}.ranking-batch-progress strong{color:var(--green);text-overflow:ellipsis;white-space:nowrap;font-size:12px;position:relative;overflow:hidden}.ranking-monitor-list{border:1px solid var(--border);display:grid}.ranking-monitor-list article{border-top:1px solid var(--border);background:#fff;grid-template-columns:minmax(220px,1fr) 100px 150px auto;align-items:center;gap:14px;min-height:68px;padding:10px 12px;display:grid}.ranking-monitor-list article:first-child{border-top:0}.ranking-monitor-list article.needs-attention{box-shadow:inset 3px 0 0 var(--red);background:#b4231809}.ranking-monitor-keyword,.ranking-monitor-position{gap:4px;min-width:0;display:grid}.ranking-monitor-keyword strong,.ranking-monitor-keyword span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ranking-monitor-keyword strong{color:var(--ink);font-size:13px}.ranking-monitor-keyword span,.ranking-monitor-position span{color:var(--muted);font-size:10px;font-weight:800}.ranking-monitor-position strong{color:var(--ink);font-size:17px}.ranking-monitor-movement{background:var(--surface-strong);width:fit-content;color:var(--muted);border-radius:6px;padding:5px 7px;font-size:10px;font-weight:900}.ranking-monitor-movement.improved{background:var(--green-soft);color:var(--green)}.ranking-monitor-movement.worsened{background:var(--red-soft);color:var(--red)}.ranking-monitor-actions{justify-content:flex-end;gap:6px;display:flex}.ranking-monitor-actions .icon-button{width:34px;height:34px;min-height:34px}.ranking-monitor-actions .icon-button svg{width:15px;height:15px}.ranking-monitor-actions .icon-button:last-child:hover{color:var(--red);border-color:#b423184d}.ranking-history-panel{gap:16px;display:grid}.ranking-history-panel .panel-header p{color:var(--muted);margin:5px 0 0;font-size:12px;font-weight:700}.ranking-history-state{border-top:1px solid var(--border);min-height:120px;color:var(--muted);text-align:center;place-items:center;padding:24px;font-size:13px;font-weight:800;display:grid}.ranking-history-summary{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.ranking-history-summary article{border-left:1px solid var(--border);gap:5px;min-width:0;padding:13px 16px;display:grid}.ranking-history-summary article:first-child{border-left:0}.ranking-history-summary span,.ranking-history-checks span,.ranking-history-checks small{color:var(--muted);font-size:11px;font-weight:800}.ranking-history-summary strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.ranking-history-summary strong.improved{color:var(--green)}.ranking-history-summary strong.worsened{color:var(--red)}.ranking-history-summary strong.neutral{color:var(--muted)}.ranking-history-checks{border:1px solid var(--border);background:var(--surface-soft);grid-auto-columns:minmax(142px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ranking-history-checks article{border-left:1px solid var(--border);align-content:center;gap:5px;min-height:100px;padding:12px;display:grid}.ranking-history-checks article:first-child{border-left:0}.ranking-history-checks strong{color:var(--ink);font-size:18px}.ranking-history-checks small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.ranking-history-matrix{border:1px solid var(--border);overflow-x:auto}.ranking-history-matrix-head,.ranking-history-matrix-row{grid-template-columns:minmax(250px, 1fr) repeat(var(--history-columns), minmax(70px, .34fr));align-items:center;min-width:max(760px,100%);display:grid}.ranking-history-matrix-head{background:var(--surface-soft);min-height:40px;color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:900}.ranking-history-matrix-head>span,.ranking-history-matrix-row>strong{border-left:1px solid var(--border);text-align:center;padding:10px}.ranking-history-matrix-head>span:first-child{text-align:left;border-left:0}.ranking-history-matrix-row{border-top:1px solid var(--border);min-height:62px}.ranking-history-matrix-row>strong{color:var(--muted);align-self:stretch;place-items:center;font-size:13px;display:grid}.ranking-history-matrix-row>strong.found{color:var(--green);background:#0f8f6f0d}.ranking-history-matrix-row>strong.outside{font-size:11px}.ranking-history-matrix-row>strong.untracked{color:#a9b3c2}.ranking-history-listing{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;min-width:0;padding:10px;display:grid}.ranking-history-listing img{object-fit:cover;border:1px solid var(--border);border-radius:6px;width:38px;height:38px}.ranking-history-listing div{min-width:0}.ranking-history-listing strong,.ranking-history-listing span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.ranking-history-listing strong{color:var(--ink);font-size:12px}.ranking-history-listing span{color:var(--muted);margin-top:3px;font-size:10px;font-weight:800}.hunter-page{gap:24px}.hunter-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.hunter-header h2,.hunter-header p{margin:0}.hunter-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.hunter-header p{color:var(--muted);margin-top:6px;font-weight:700}.hunter-search-row{grid-template-columns:minmax(0,1fr) minmax(160px,180px) auto auto;gap:10px;display:grid}.hunter-search-row input,.hunter-search-row select{border:1px solid var(--border);width:100%;min-height:44px;color:var(--text);background:#ffffffe6;border-radius:8px;outline:0;padding:0 13px;font-weight:800}.hunter-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.hunter-metric-card,.hunter-highlight-card{border:1px solid var(--border);min-height:142px;box-shadow:var(--shadow);background:#ffffffe6;border-radius:8px;padding:20px 22px}.hunter-metric-card{align-content:space-between;gap:12px;display:grid}.hunter-metric-card div,.hunter-highlight-title,.hunter-panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.hunter-metric-card span,.hunter-metric-card small,.hunter-panel-heading small{color:var(--muted);font-weight:800}.hunter-metric-card strong{color:var(--ink);font-size:clamp(28px,3vw,36px);line-height:1}.hunter-metric-card.green svg{color:var(--green)}.hunter-metric-card.blue svg{color:var(--blue)}.hunter-metric-card.purple svg{color:#7c3aed}.hunter-highlight-card{background:#fff8f1;border-color:#fed7aa;align-content:space-between;gap:14px;display:grid}.hunter-highlight-title span,.hunter-panel-heading span{color:var(--ink);align-items:center;gap:8px;font-weight:900;display:inline-flex}.hunter-highlight-title svg,.hunter-panel-heading svg{color:#ff5f00}.hunter-highlight-product{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;display:grid}.hunter-product-thumb{border:1px solid var(--border);background:linear-gradient(145deg,#fff,#e5e7eb);border-radius:8px;place-items:end center;width:64px;height:64px;padding:10px;display:grid}.hunter-product-thumb span{background:radial-gradient(circle at 18% 28%,#f8fafc 0 12%,#0000 13%),linear-gradient(155deg,#111827 0 58%,#64748b 59% 72%,#111827 73%);border-radius:70% 45% 35% 35%;width:44px;height:18px;display:block;transform:rotate(-8deg)}.hunter-product-thumb img{object-fit:contain;width:100%;height:100%}.hunter-highlight-product strong,.hunter-highlight-product p{margin:0}.hunter-highlight-product strong{color:var(--ink);line-height:1.25;display:block}.hunter-highlight-product p{color:var(--muted);margin-top:4px;font-weight:800}.hunter-highlight-product small{color:var(--muted);margin-top:6px;font-size:12px;font-weight:900;line-height:1.25;display:block}.hunter-highlight-product b{color:#c47a00;font-size:18px}.hunter-more-button{width:fit-content;min-height:34px;color:var(--muted);background:0 0;border:0;justify-self:center;align-items:center;gap:8px;font-weight:900;display:inline-flex}.hunter-enrichment-status{background:var(--green-soft);border:1px solid #0f8f6f33;border-radius:8px;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;display:grid}.hunter-enrichment-status.error{background:var(--red-soft);border-color:#b4231833}.hunter-enrichment-status>span{width:36px;height:36px;color:var(--green);background:#fff;border-radius:8px;place-items:center;display:grid}.hunter-enrichment-status.error>span{color:var(--red)}.hunter-enrichment-status .auth-loader{width:18px;height:18px}.hunter-enrichment-status strong,.hunter-enrichment-status small{display:block}.hunter-enrichment-status strong{color:var(--ink);font-size:13px}.hunter-enrichment-status small{color:var(--muted);margin-top:3px;font-size:12px;font-weight:800;line-height:1.4}.hunter-result-grid{grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);align-items:stretch;gap:16px;display:grid}.hunter-chart-panel,.hunter-keywords-panel{min-height:300px}.hunter-panel-heading{margin-bottom:18px}.hunter-panel-heading>div{gap:6px;display:grid}.hunter-panel-heading strong{color:var(--ink);font-size:26px;line-height:1}.hunter-panel-heading>div:last-child{justify-items:end}.hunter-chart{background:repeating-linear-gradient(#0000 0 52px,#6670852e 53px);min-height:244px;padding:8px 0 0 48px;position:relative}.hunter-chart>span{color:var(--muted);font-size:12px;font-weight:800;position:absolute;left:0}.hunter-chart>span:first-of-type{top:10px}.hunter-chart>span:nth-of-type(2){top:76px}.hunter-chart>span:nth-of-type(3){top:130px}.hunter-chart>span:nth-of-type(4){bottom:32px}.hunter-chart-svg{color:#ff5f00;width:100%;height:205px;display:block}.hunter-chart-labels{color:var(--muted);justify-content:space-between;gap:10px;margin-top:4px;font-size:12px;font-weight:800;display:flex}.hunter-price-map{gap:12px;display:grid}.hunter-price-map article,.hunter-price-empty{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:66px;padding:14px;display:flex}.hunter-price-map article div{gap:4px;display:grid}.hunter-price-map article strong,.hunter-price-map article b{color:var(--ink)}.hunter-price-map article span,.hunter-price-empty{color:var(--muted);font-size:13px;font-weight:800}.hunter-price-map article b{text-align:right;min-width:44px;font-size:24px}.hunter-top-terms,.hunter-keyword-cloud{flex-wrap:wrap;gap:9px;display:flex}.hunter-top-terms{border-bottom:1px solid var(--border);margin-bottom:16px;padding-bottom:16px}.hunter-top-terms span,.hunter-keyword-cloud span{border:1px solid var(--border);background:var(--surface-soft);min-height:30px;color:var(--text);border-radius:999px;align-items:center;gap:6px;padding:0 11px;font-size:13px;font-weight:900;display:inline-flex}.hunter-top-terms span,.hunter-keyword-cloud span.featured{color:#c2410c;background:#fff0e7;border-color:#ff5f0047}.hunter-keyword-cloud span.featured svg{width:14px;height:14px}.hunter-empty-state{text-align:center;align-content:center;justify-items:center;gap:18px;min-height:430px;padding:32px;display:grid}.hunter-empty-state h3,.hunter-empty-state p{margin:0}.hunter-empty-state h3{color:var(--ink);font-size:28px;line-height:1.15}.hunter-empty-state p{max-width:660px;color:var(--muted);font-weight:700;line-height:1.55}.hunter-products-section{gap:14px;display:grid}.hunter-products-heading,.hunter-products-toolbar,.hunter-products-controls,.hunter-product-actions,.hunter-seller,.hunter-product-tags{align-items:center;display:flex}.hunter-products-heading{justify-content:space-between;gap:16px}.hunter-products-heading h3{color:var(--ink);margin:0;font-size:20px}.hunter-products-heading span{color:var(--muted);font-weight:800}.hunter-products-toolbar{flex-wrap:wrap;justify-content:space-between;gap:14px}.hunter-products-note{max-width:460px;color:var(--muted);font-size:12px;font-weight:800;line-height:1.4}.hunter-products-controls{flex-wrap:wrap;gap:10px}.hunter-products-controls button,.hunter-source-pill{border:1px solid var(--border);min-height:38px;color:var(--text);background:#ffffffe6;border-radius:8px;align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:900;display:inline-flex}.hunter-source-pill{background:var(--surface-soft);color:var(--muted)}.hunter-products-controls button.active{background:var(--ink);color:#fff}.hunter-products-controls button svg,.hunter-source-pill svg{width:16px;height:16px}.hunter-products-panel{padding:0;overflow:hidden}.hunter-products-table{overflow-x:auto}.hunter-pagination{border-top:1px solid var(--border);background:var(--surface-soft);color:var(--muted);grid-template-columns:minmax(180px,.5fr) minmax(180px,1fr) minmax(220px,.8fr);align-items:center;gap:16px;padding:14px 16px;font-size:13px;font-weight:850;display:grid}.hunter-pagination>strong{color:var(--text);text-align:center}.hunter-page-size,.hunter-page-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hunter-page-buttons{justify-content:flex-end}.hunter-page-size select,.hunter-page-buttons button{border:1px solid var(--border);min-height:34px;color:var(--ink);background:#fff;border-radius:8px;font-weight:900}.hunter-page-size select{opacity:1;min-width:62px;padding:0 10px}.hunter-page-buttons button{min-width:34px;padding:0 10px}.hunter-page-buttons button.active{border-color:var(--green);background:var(--green);color:#fff}.hunter-page-buttons button:disabled{background:var(--surface-strong);color:var(--muted);cursor:default}.hunter-page-buttons span{color:var(--muted);font-weight:900}.hunter-product-head,.hunter-product-row{grid-template-columns:minmax(360px,1.7fr) minmax(76px,.34fr) minmax(104px,.44fr) minmax(92px,.4fr) minmax(132px,.55fr) minmax(116px,.5fr) minmax(138px,.55fr) minmax(92px,.42fr) minmax(108px,.46fr) minmax(128px,.54fr) minmax(116px,.5fr) minmax(92px,.34fr);align-items:center;gap:14px;min-width:1620px;display:grid}.hunter-product-head{min-height:50px;color:var(--muted);text-transform:uppercase;padding:0 16px;font-size:12px;font-weight:900}.hunter-product-row{border-top:1px solid var(--border);min-height:58px;padding:8px 16px}.hunter-product-row.is-own-listing{background:#009c7a12}.hunter-product-row>strong{color:var(--ink);font-size:13px}.hunter-product-row>span{color:var(--muted);font-size:13px;font-weight:800}.hunter-traffic-cell{gap:2px;display:grid;color:var(--ink)!important}.hunter-traffic-cell strong{font-size:13px;line-height:1.1}.hunter-traffic-cell small{color:var(--muted);font-size:11px;font-weight:900;line-height:1.1}.hunter-opportunity-pill{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:1px;width:fit-content;min-width:88px;padding:7px 10px;display:grid}.hunter-opportunity-pill strong{color:var(--ink);font-size:15px;line-height:1}.hunter-opportunity-pill small{color:var(--muted);font-size:11px;font-weight:900;line-height:1.1}.hunter-opportunity-pill.high{background:var(--green-soft);border-color:#0f8f6f52}.hunter-opportunity-pill.high strong,.hunter-opportunity-pill.high small{color:var(--green)}.hunter-opportunity-pill.medium{background:var(--blue-soft);border-color:#2563eb42}.hunter-opportunity-pill.medium strong,.hunter-opportunity-pill.medium small{color:var(--blue)}.hunter-opportunity-pill.watch{background:#fff0e7;border-color:#ff5f0042}.hunter-opportunity-pill.watch strong,.hunter-opportunity-pill.watch small{color:#c2410c}.hunter-product-name{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;min-width:0;display:grid}.hunter-product-name strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.25;display:block;overflow:hidden}.hunter-mini-thumb{border:1px solid var(--border);background:#fff;border-radius:8px;place-items:end center;width:42px;height:42px;padding:8px 5px;display:grid}.hunter-mini-thumb>span{border-radius:70% 45% 35% 35%;width:30px;height:12px;display:block;transform:rotate(-8deg)}.hunter-mini-thumb img{object-fit:contain;width:100%;height:100%}.hunter-mini-thumb.black>span{background:radial-gradient(circle at 18% 28%,#f8fafc 0 13%,#0000 14%),linear-gradient(155deg,#111827 0 58%,#64748b 59% 72%,#111827 73%)}.hunter-mini-thumb.white>span{background:radial-gradient(circle at 18% 28%,#cbd5e1 0 11%,#0000 12%),linear-gradient(155deg,#f8fafc 0 62%,#cbd5e1 63% 74%,#f8fafc 75%);box-shadow:inset 0 -1px #94a3b8}.hunter-mini-thumb.color>span{background:radial-gradient(circle at 18% 28%,#fff 0 11%,#0000 12%),linear-gradient(155deg,#1d4ed8 0 38%,#ef4444 39% 57%,#111827 58%)}.hunter-product-tags{flex-wrap:wrap;gap:6px;margin-top:5px}.hunter-product-tags span,.hunter-product-tags em{background:var(--surface-soft);min-height:22px;color:var(--muted);border-radius:6px;align-items:center;padding:0 7px;font-size:11px;font-style:normal;font-weight:900;display:inline-flex}.hunter-product-tags em{background:var(--blue-soft);color:var(--blue)}.hunter-product-tags button,.hunter-product-actions button{width:26px;height:26px;color:var(--muted);background:0 0;border:0;place-items:center;display:grid}.hunter-product-actions button:disabled{cursor:not-allowed;opacity:.35}.hunter-product-tags button svg,.hunter-product-actions button svg,.hunter-seller svg{width:15px;height:15px}.hunter-shipping-pill{border:1px solid var(--border);background:var(--surface-soft);width:fit-content;min-height:26px;color:var(--muted);border-radius:999px;align-items:center;padding:0 10px;display:inline-flex;font-size:12px!important;font-weight:900!important}.hunter-shipping-pill.is-full{background:var(--blue-soft);color:var(--blue);border-color:#2563eb38}.hunter-shipping-pill.is-flex{background:var(--green-soft);color:var(--green);border-color:#05966933}.hunter-shipping-pill.is-agency{background:var(--amber-soft);color:var(--amber);border-color:#ea580c3d}.hunter-shipping-pill.is-post{border-color:var(--border);background:var(--surface-soft);color:var(--muted)}.hunter-rating-pill{background:var(--blue-soft);border-radius:999px;align-items:center;width:fit-content;min-height:26px;padding:0 9px;display:inline-flex;color:var(--blue)!important;font-size:12px!important;font-weight:900!important}.hunter-seller{gap:5px}.hunter-product-actions{gap:4px}.ads-listing-page{gap:22px}.ads-listing-header h2{color:var(--ink);margin:0;font-size:clamp(28px,3vw,38px);line-height:1.08}.ads-listing-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.ads-listing-header p{max-width:720px;color:var(--muted);margin:6px 0 0;font-weight:700}.ads-listing-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.ads-listing-header-actions button{white-space:nowrap}.ads-listing-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.ads-filter-panel{gap:10px;display:grid}.ads-filter-top{grid-template-columns:minmax(260px,1.45fr) repeat(3,minmax(160px,.55fr));gap:9px;display:grid}.ads-search{width:100%;min-width:0}.ads-filter-panel select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.ads-filter-bottom{border-top:1px solid var(--border);align-items:center;gap:14px;padding-top:16px;display:flex}.ads-filter-bottom label{color:var(--ink);align-items:center;gap:7px;font-size:13px;font-weight:900;display:inline-flex}.ads-filter-bottom label input{width:16px;height:16px;accent-color:var(--green)}.ads-filter-bottom select{max-width:220px;margin-left:auto}.ads-list-panel{min-height:236px}.ads-empty-state{border:2px dashed var(--border-strong);min-height:236px;color:var(--muted);text-align:center;border-radius:8px;align-content:center;justify-items:center;gap:10px;padding:28px;display:grid}.ads-empty-state>span{border:1px solid var(--border);border-radius:8px;place-items:center;width:52px;height:52px;display:grid}.ads-empty-state strong{color:var(--ink);font-size:18px}.ads-empty-state p{margin:0}.ads-listing-head,.ads-listing-row{grid-template-columns:minmax(300px,1.45fr) minmax(140px,.65fr) minmax(120px,.48fr) minmax(110px,.5fr) minmax(110px,.48fr) minmax(140px,.58fr) minmax(170px,.72fr) minmax(250px,1fr) minmax(92px,.36fr);min-width:1480px}.listing-product-cell{grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.listing-product-cell strong,.listing-product-cell span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.listing-product-cell span{color:var(--muted);margin-top:3px;font-size:12px}.listing-thumbnail{border:1px solid var(--border);background:#fff;border-radius:7px;place-items:center;width:48px;height:48px;display:grid;overflow:hidden}.listing-thumbnail img{object-fit:cover;width:100%;height:100%}.listing-thumbnail svg{width:20px;height:20px;color:var(--muted)}.listing-product-select{border:1px solid var(--border);width:100%;min-width:0;min-height:38px;color:var(--text);background:#fff;border-radius:7px;padding:0 10px;font-weight:800}.listing-product-select.unlinked{background:var(--amber-soft);color:var(--amber);border-color:#ebd28d}.listing-margin-cell{gap:3px;min-width:0;display:grid}.listing-margin-cell span{color:var(--muted);font-size:12px}.listing-source-pill{border:1px solid var(--border);background:#fff;border-radius:999px;align-items:center;width:fit-content;min-height:22px;padding:0 7px;font-weight:900;display:inline-flex;font-size:11px!important}.listing-source-pill.real{background:#ecfaf5;border-color:#a9ddc9;color:#08765a!important}.listing-source-pill.estimated{background:var(--amber-soft);border-color:#ebd28d;color:var(--amber)!important}.listing-alerts-cell{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.listing-alerts-cell>span:first-child{color:var(--muted);flex:0 0 100%;font-size:12px}.listing-alerts-cell small{color:var(--ink-soft);flex:0 0 100%;font-size:11px;font-weight:900}.listing-alert-pill{border:1px solid var(--border);min-height:24px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;padding:0 8px;font-size:11px;font-weight:900;display:inline-flex}.listing-alert-pill.ok{color:#08765a;background:#ecfaf5;border-color:#a9ddc9}.listing-alert-pill.warning{background:var(--amber-soft);color:var(--amber);border-color:#ebd28d}.listing-alert-pill.danger{background:var(--red-soft);color:var(--red);border-color:#f1b8af}.listing-row-actions{justify-content:flex-end;gap:6px;display:flex}.listing-row-actions .icon-button{width:38px;height:38px;min-height:38px}.listing-action-muted{color:var(--muted);font-size:12px}.stock-sync-audit-panel{gap:14px;display:grid}.stock-sync-empty{border:1px dashed var(--border);background:var(--surface-soft);min-height:110px;color:var(--muted);text-align:center;border-radius:8px;place-items:center;gap:4px;padding:18px;display:grid}.stock-sync-empty strong,.stock-sync-empty span{display:block}.stock-sync-empty strong{color:var(--ink)}.stock-sync-audit-list{gap:10px;display:grid}.stock-sync-audit-row{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:12px;display:grid}.stock-sync-audit-row.success{border-color:#bfe5d9}.stock-sync-audit-row.warning{border-color:#ead493}.stock-sync-audit-row.danger{border-color:#efbbb4}.stock-sync-audit-row strong,.stock-sync-audit-row span,.stock-sync-audit-row small{display:block}.stock-sync-audit-row>div{min-width:0}.stock-sync-audit-row>div>span,.stock-sync-audit-row time,.stock-sync-audit-row small{color:var(--muted);font-size:12px}.stock-sync-audit-row small{margin-top:3px}.stock-sync-error{font-weight:800;color:var(--red)!important}.stock-sync-audit-row dl{gap:10px;margin:0;display:flex}.stock-sync-audit-row dl div{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;min-width:70px;padding:8px 10px}.stock-sync-audit-row dt,.stock-sync-audit-row dd{margin:0}.stock-sync-audit-row dt{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:900}.stock-sync-audit-row dd{color:var(--ink);margin-top:2px;font-size:16px;font-weight:950}.pricing-page{gap:22px}.pricing-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.pricing-controls{grid-template-columns:minmax(280px,1fr) repeat(3,minmax(150px,.32fr));align-items:center;gap:10px;display:grid}.pricing-search{width:100%;min-width:0}.pricing-controls select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.pricing-list-panel{min-height:236px}.pricing-head,.pricing-row{grid-template-columns:minmax(310px,1.3fr) minmax(120px,.42fr) minmax(120px,.44fr) minmax(150px,.55fr) minmax(140px,.52fr) minmax(145px,.52fr) minmax(150px,.55fr) minmax(130px,.45fr) minmax(170px,.58fr);min-width:1540px}.pricing-row{min-height:96px}.pricing-status-pill{border:1px solid var(--border);width:fit-content;min-height:26px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;padding:0 9px;font-size:11px;font-weight:950;display:inline-flex}.pricing-status-pill.green{color:#08765a;background:#ecfaf5;border-color:#a9ddc9}.pricing-status-pill.amber{background:var(--amber-soft);color:var(--amber);border-color:#ebd28d}.pricing-status-pill.red{background:var(--red-soft);color:var(--red);border-color:#f1b8af}.pricing-status-cell{gap:5px;min-width:0;display:grid}.pricing-status-cell small{color:var(--muted);font-size:12px;font-weight:750;line-height:1.25}.pricing-money-cell,.pricing-basis-cell{gap:4px;min-width:0;display:grid}.pricing-money-cell span,.pricing-basis-cell small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;overflow:hidden}.pricing-money-cell strong{color:var(--ink)}.pricing-money-cell strong.cash-in{color:var(--green)}.pricing-money-cell strong.cash-out{color:var(--red)}.pricing-actions{flex-wrap:wrap;justify-content:flex-start}.pricing-fix-button{border:1px solid var(--border);min-height:34px;color:var(--ink);white-space:nowrap;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:12px;font-weight:950;display:inline-flex}.pricing-fix-button.attention{background:var(--green);color:#fff;border-color:#0f8f6f73}.pricing-fix-button svg{width:15px;height:15px}.dre-page{gap:22px}.dre-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.dre-header h2,.dre-header p{margin:0}.dre-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.dre-header p{color:var(--muted);margin-top:6px;font-weight:700}.dre-filter-panel{grid-template-columns:minmax(520px,1.25fr) minmax(220px,.65fr) auto;align-items:end;gap:18px;display:grid}.dre-filter-panel span{color:var(--ink);margin-bottom:8px;font-size:13px;font-weight:900;display:block}.dre-period-controls{flex-wrap:wrap;gap:8px;display:flex}.dre-period-controls button,.dre-period-controls select,.dre-filter-panel label>select{border:1px solid var(--border);min-height:40px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.dre-switch{align-items:center;gap:10px;min-height:42px;display:flex}.dre-switch span{margin:0}.dre-switch input,.dre-compare-panel input{width:42px;height:22px;accent-color:var(--green)}.dre-compare-panel{justify-content:space-between;align-items:center;gap:18px;min-height:62px;display:flex}.dre-compare-panel>div{align-items:center;gap:12px;display:flex}.dre-compare-panel strong,.dre-compare-panel span{display:block}.dre-compare-panel span{color:var(--muted);margin-top:3px;font-size:13px}.dre-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.dre-kpi{border:1px solid var(--border);min-height:140px;box-shadow:var(--shadow);background:#ffffffe6;border-radius:8px;align-content:space-between;gap:12px;padding:18px;display:grid}.dre-kpi span,.dre-kpi small{color:var(--muted);font-weight:800}.dre-kpi strong{color:var(--ink);font-size:26px;line-height:1}.dre-kpi.green strong{color:var(--green)}.dre-kpi.blue strong{color:var(--blue)}.dre-kpi.amber strong{color:var(--amber)}.dre-kpi.red strong{color:var(--red)}.dre-head,.dre-row{grid-template-columns:minmax(320px,1fr) minmax(140px,.35fr) minmax(120px,.3fr);min-width:720px}.dre-row{min-height:44px}.dre-row.highlight{background:var(--surface-soft)}.dre-row.positive{background:var(--green-soft)}.order-list,.alert-list,.task-list,.cash-list,.bar-list{gap:10px;display:grid}.order-row,.alert-row,.task-row,.cash-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;align-items:center;gap:12px;min-width:0;padding:12px;display:grid}.order-row{grid-template-columns:minmax(0,1fr) auto auto}.order-row strong,.order-row span,.cash-row strong,.cash-row span,.order-row div,.cash-row div,.alert-row div,.task-row div{min-width:0}.order-row span,.alert-row span,.task-row span,.cash-row span{color:var(--muted);overflow-wrap:anywhere;font-size:13px;display:block}.status-pill,.stock-pill,.score-pill,.priority{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:0 9px;font-size:12px;font-weight:900;display:inline-flex}.status-pill,.stock-pill.healthy,.score-pill{background:var(--green-soft);color:#087456}.stock-pill.warning,.priority{background:var(--amber-soft);color:var(--amber)}.stock-pill.critical,.priority.high{background:var(--red-soft);color:var(--red)}.bar-row{gap:8px;display:grid}.bar-row div{color:var(--muted);justify-content:space-between;gap:12px;font-size:13px;display:flex}.bar-track,.cash-bar-track{background:var(--surface-strong);border-radius:999px;height:10px;display:block;overflow:hidden}.bar-track span{border-radius:inherit;background:linear-gradient(90deg, var(--green), var(--blue));height:100%;display:block}.alert-row{grid-template-columns:auto minmax(0,1fr)}.alert-row svg{color:var(--amber)}.task-row{grid-template-columns:auto minmax(0,1fr)}.priority-list{gap:10px;display:grid}.priority-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:12px;display:grid}.priority-row.danger{background:var(--red-soft);border-color:#b423183d}.priority-row.warning{background:var(--amber-soft);border-color:#b7791f3d}.priority-row.info{background:var(--blue-soft);border-color:#2563eb3d}.priority-row div{min-width:0}.priority-row strong,.priority-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.priority-row strong{color:var(--ink);font-size:13px}.priority-row div span{color:var(--muted);margin-top:3px;font-size:12px;font-weight:700}.priority-badge{min-height:28px;color:var(--text);white-space:nowrap;background:#fff;border-radius:999px;justify-content:center;align-items:center;padding:0 9px;font-size:12px;font-weight:900;display:inline-flex}.priority-row button{border:1px solid var(--border);min-height:34px;color:var(--text);background:#fff;border-radius:8px;font-weight:900}.priority-empty-state{border:1px dashed var(--border);background:var(--green-soft);color:var(--green);text-align:center;border-radius:8px;justify-items:center;gap:7px;padding:24px 12px;display:grid}.priority-empty-state span{color:var(--muted);font-size:13px;font-weight:700}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.search-field,.select-field{border:1px solid var(--border);background:#ffffffe6;border-radius:8px;align-items:center;gap:10px;display:flex}.search-field{min-width:min(100%,420px);min-height:48px;padding:0 14px}.search-field svg{color:var(--muted)}.search-field input{width:100%;color:var(--text);background:0 0;border:0;outline:0}.select-field{min-height:48px;padding:0 12px}.select-field span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.select-field select{color:var(--text);background:0 0;border:0;outline:0;font-weight:800}.compact-select{background:var(--surface-soft);min-height:40px}.table-panel{overflow:hidden}.data-table{overflow-x:auto}.table-head,.table-row{grid-template-columns:minmax(230px,1.45fr) minmax(130px,.75fr) minmax(120px,.75fr) minmax(110px,.65fr) minmax(90px,.55fr) minmax(100px,.55fr);align-items:center;gap:14px;min-width:880px;display:grid}.table-head{color:var(--muted);text-transform:uppercase;padding:12px;font-size:12px;font-weight:900}.table-row{border-top:1px solid var(--border);min-height:74px;padding:12px}.product-cell,.stock-cell{gap:5px;min-width:0;display:grid}.product-cell.product-cell-media{grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px}.product-cell-copy{gap:5px;min-width:0;display:grid}.product-thumbnail{border:1px solid var(--border);width:46px;height:46px;color:var(--muted);background:#fff;border-radius:6px;place-items:center;display:grid;overflow:hidden}.product-thumbnail img{object-fit:contain;width:100%;height:100%;display:block}.product-thumbnail svg{width:20px;height:20px}.product-cell span{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.stock-cell{justify-items:start}.coverage-cell{justify-items:start;gap:6px;display:grid}.coverage-cell strong{color:var(--ink)}.stock-actions{align-items:center;gap:8px;display:flex}.stock-actions button{border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--ink);border-radius:8px;font-size:18px;font-weight:900}.stock-actions button.danger{color:#a12d2d;border-color:#efc1c1}.stock-actions button svg{width:17px;height:17px}.inventory-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-head,.inventory-row{grid-template-columns:minmax(220px,1.3fr) minmax(80px,.45fr) minmax(95px,.55fr) minmax(95px,.55fr) minmax(110px,.62fr) minmax(105px,.6fr) minmax(125px,.72fr) minmax(105px,.6fr) minmax(140px,.78fr) minmax(120px,.7fr) minmax(110px,.65fr) minmax(165px,.8fr);min-width:1695px}.inventory-row>span{color:var(--text)}.inventory-row .inventory-money{color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}.inventory-side-panel{position:sticky;top:28px}.inventory-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:10px;display:flex}.inventory-search-field{width:min(280px,100%)}.inventory-feedback{border:1px solid;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:10px 12px 10px 16px;font-size:13px;font-weight:800;display:flex}.inventory-feedback.success{background:var(--green-soft);color:#087158;border-color:#a9dccd}.inventory-feedback.error{background:var(--red-soft);color:var(--red);border-color:#f0b7b2}.inventory-feedback button{min-height:32px;color:inherit;background:0 0;border:1px solid;border-radius:6px;place-items:center;padding:0 10px;font-weight:900;display:grid}.inventory-feedback button:has(svg){border-color:#0000;width:32px;padding:0}.inventory-table-state{border-top:1px solid var(--border);min-width:1540px;min-height:220px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:12px;padding:28px;display:grid}.inventory-table-state.empty>svg{width:30px;height:30px;color:var(--green)}.inventory-table-state strong{color:var(--ink)}.inventory-table-state span{font-size:13px}.reorder-empty{color:var(--muted);text-align:center;gap:7px;padding:20px 4px;display:grid}.reorder-empty strong{color:var(--ink);font-size:14px}.reorder-empty span{font-size:12px}.modal-backdrop{z-index:50;background:#0b1220ad;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.inventory-modal{border:1px solid var(--border);background:#fff;border-radius:8px;width:min(660px,100%);max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 30px 80px #0b122047}.inventory-modal.movement-modal{width:min(560px,100%)}.inventory-modal.archive-modal{width:min(520px,100%)}.inventory-modal>header{z-index:2;border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px;display:flex;position:sticky;top:0}.inventory-modal h2{color:var(--ink);margin:0;font-size:23px}.inventory-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px;display:grid}.inventory-form label{gap:7px;min-width:0;display:grid}.inventory-form label>span{color:#344054;font-size:12px;font-weight:900}.inventory-form input,.inventory-form select,.inventory-form textarea{width:100%;min-height:44px;color:var(--ink);background:#fff;border:1px solid #cdd6e2;border-radius:8px;outline:none;padding:0 12px}.inventory-form textarea{resize:vertical;min-height:82px;padding-top:11px}.inventory-form input:focus,.inventory-form select:focus,.inventory-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #0f8f6f21}.inventory-form .field-wide,.inventory-form footer{grid-column:1/-1}.archive-product-copy{gap:6px;display:grid}.archive-product-copy strong{color:var(--ink);font-size:16px}.archive-product-copy span,.archive-product-copy p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.archive-product-copy .archive-product-warning{color:#a12d2d;font-weight:800}.archive-inline-error{color:#8f2424;background:#fff4f4;border:1px solid #efc1c1;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.45}.archive-button{color:#fff;background:#a12d2d;border:1px solid #a12d2d;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-weight:900;display:inline-flex}.archive-button svg{width:17px;height:17px}.inventory-form footer{justify-content:flex-end;gap:10px;padding-top:6px;display:flex}.movement-product-summary{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:20px;margin:20px 22px 0;padding:14px;display:flex}.movement-product-summary>div{gap:4px;display:grid}.movement-product-summary>div:last-child{justify-items:end}.movement-product-summary span{color:var(--muted);font-size:12px}.draft-features-page{gap:22px}.draft-hero{background:linear-gradient(135deg,#ff5f0014,#0000 42%),#ffffffeb;justify-content:space-between;align-items:flex-start;gap:22px;display:flex}.draft-hero h2,.draft-panel-header h2{color:var(--ink);margin:0}.draft-hero h2{font-size:clamp(24px,3vw,34px);line-height:1.08}.draft-hero p,.draft-panel-header p{max-width:760px;color:var(--muted);margin:10px 0 0;font-size:15px;line-height:1.55}.draft-badge{color:#d84a00;white-space:nowrap;background:#fff0e7;border-radius:999px;justify-content:center;align-items:center;min-height:32px;padding:0 11px;font-size:12px;font-weight:900;display:inline-flex}.feature-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 26px;display:grid}.feature-draft-card{min-height:210px;color:var(--text);text-align:left;box-shadow:none;background:#ffffffb8;border:1px solid #0000;border-radius:8px;justify-items:start;gap:13px;padding:22px;transition:background .2s,border-color .2s,box-shadow .2s;display:grid}.feature-draft-card:hover,.feature-draft-card.active{background:#fff;border-color:#ff5f003d;box-shadow:0 18px 44px #2e1f1414}.feature-icon{color:#fff;background:#ff5f00;border-radius:14px;place-items:center;width:48px;height:48px;display:grid}.feature-icon svg{width:22px;height:22px}.feature-draft-card strong{color:var(--ink);font-size:20px}.feature-draft-card p{color:#8a6f71;margin:0;font-size:15px;font-weight:700;line-height:1.45}.draft-panel{gap:18px;display:grid}.draft-panel-header{margin-bottom:0}.draft-table-head,.draft-table-row{grid-template-columns:minmax(230px,1.3fr) minmax(72px,.35fr) minmax(130px,.65fr) minmax(130px,.65fr) minmax(140px,.8fr);min-width:840px}.ads-table-head,.ads-table-row{grid-template-columns:minmax(250px,1.3fr) minmax(120px,.6fr) minmax(120px,.6fr) minmax(120px,.6fr) minmax(130px,.7fr);min-width:820px}.curve-pill{border-radius:8px;place-items:center;width:34px;height:34px;font-size:13px;font-weight:900;display:grid}.curve-a{background:var(--green-soft);color:var(--green)}.curve-b{background:var(--amber-soft);color:var(--amber)}.curve-c{background:var(--red-soft);color:var(--red)}.dre-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.draft-list,.draft-card-list{gap:12px;display:grid}.draft-list-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:14px;display:flex}.draft-list-row span{color:var(--muted)}.draft-search-preview{color:#9b4a16;background:#fff7f1;border:1px dashed #ffb380;border-radius:8px;align-items:center;gap:12px;min-height:50px;padding:0 15px;font-weight:800;display:flex}.draft-card-list{grid-template-columns:repeat(3,minmax(0,1fr))}.draft-result-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:14px;padding:15px;display:grid}.draft-result-card strong{color:var(--ink)}.draft-result-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.draft-result-card dt,.draft-result-card dd{margin:0}.draft-result-card dt{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:900}.draft-result-card dd{color:var(--ink);margin-top:3px;font-weight:900}.draft-card-topline{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.draft-card-topline span{white-space:nowrap;font-size:13px;font-weight:900}.fee-row div{gap:4px;min-width:0;display:grid}.fee-row span{overflow-wrap:anywhere}.reorder-list{gap:12px;display:grid}.reorder-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:14px;padding:14px;display:grid}.reorder-card.danger{background:#fff6f4;border-color:#efbbb4}.reorder-card.warning{background:#fffaf0;border-color:#ead493}.reorder-card.info{background:#f6f9fd;border-color:#c6d8ef}.reorder-card header,.reorder-card footer{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.reorder-card header>div{min-width:0}.reorder-card em{color:var(--ink);text-transform:uppercase;white-space:nowrap;background:#fff;border-radius:999px;flex:none;padding:4px 7px;font-size:10px;font-style:normal;font-weight:950}.reorder-card strong,.reorder-card span{min-width:0;display:block}.reorder-card strong{color:var(--ink)}.reorder-card span{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:13px}.reorder-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.reorder-card dl div{background:#fff;border-radius:8px;padding:10px}.reorder-card dt,.reorder-card dd{margin:0}.reorder-card dt{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.reorder-card dd{color:var(--ink);margin-top:4px;font-weight:900}.reorder-reasons{flex-wrap:wrap;gap:6px;display:flex}.reorder-reasons span{border:1px solid var(--border);color:var(--ink-soft);background:#fff;border-radius:999px;margin:0;padding:4px 7px;font-size:11px;font-weight:900}.reorder-card footer{align-items:center}.reorder-card footer small{color:var(--muted);font-size:12px;font-weight:800}.reorder-card footer button{border:1px solid var(--green);background:var(--green);color:#fff;white-space:nowrap;border-radius:8px;min-height:34px;padding:0 10px;font-size:12px;font-weight:950}.reorder-card footer button:disabled{border-color:var(--border);color:var(--muted);background:#fff}.purchase-queue{border-top:1px solid var(--border);gap:12px;margin-top:18px;padding-top:16px;display:grid}.purchase-queue-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.purchase-queue-header h3{margin:2px 0 0;font-size:16px}.purchase-queue-header>strong{background:var(--green-soft);min-width:32px;height:32px;color:var(--green);border-radius:999px;place-items:center;font-size:13px;display:grid}.purchase-queue-empty,.purchase-queue-error{border:1px dashed var(--border);color:var(--muted);border-radius:8px;padding:12px;font-size:12px;font-weight:800;line-height:1.45}.purchase-queue-error{background:var(--red-soft);color:var(--red);border-color:#efbbb4}.purchase-queue-list{gap:10px;display:grid}.purchase-queue-card{border:1px solid var(--border);background:#fff;border-radius:8px;gap:12px;padding:12px;display:grid}.purchase-queue-card.ordered{border-color:#bfe5d9}.purchase-queue-card header,.purchase-queue-card footer{justify-content:space-between;gap:10px;display:flex}.purchase-queue-card header>div{min-width:0}.purchase-queue-card strong,.purchase-queue-card span{min-width:0;display:block}.purchase-queue-card strong{color:var(--ink)}.purchase-queue-card span{color:var(--muted);overflow-wrap:anywhere;margin-top:3px;font-size:12px}.purchase-queue-card em{color:var(--green);flex:none;font-size:11px;font-style:normal;font-weight:950}.purchase-queue-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.purchase-queue-card dl div{background:var(--surface-soft);border-radius:8px;padding:8px}.purchase-queue-card dt,.purchase-queue-card dd{margin:0}.purchase-queue-card dt{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:900}.purchase-queue-card dd{color:var(--ink);margin-top:2px;font-size:13px;font-weight:950}.purchase-queue-card footer{flex-wrap:wrap}.purchase-queue-card footer button{border:1px solid var(--green);background:var(--green);color:#fff;border-radius:8px;min-height:32px;padding:0 9px;font-size:11px;font-weight:950}.purchase-queue-card footer button.ghost{border-color:var(--border);color:var(--muted);background:#fff}.board-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.orders-page{gap:20px}.orders-header h2,.orders-header p{margin:0}.orders-header-actions{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.orders-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.orders-header p{color:var(--muted);margin-top:4px;font-weight:800}.orders-summary-panel{gap:12px;padding:0;display:grid;overflow:hidden}.orders-summary-panel>span{border-bottom:1px solid var(--border);min-height:34px;color:var(--muted);align-items:center;gap:8px;padding:0 16px;font-size:13px;font-weight:800;display:flex}.orders-summary-panel>div{color:var(--text);flex-wrap:wrap;gap:18px;padding:13px 16px 16px;display:flex}.orders-summary-panel strong{font-size:13px}.orders-filter-panel{grid-template-columns:minmax(240px,.9fr) minmax(520px,1.35fr) minmax(180px,.6fr) minmax(180px,.6fr) auto;align-items:center;gap:10px;display:grid}.orders-search{width:100%;min-width:0}.orders-filter-panel select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.advanced-filter-button{width:fit-content;min-height:30px;color:var(--muted);background:0 0;border:0;grid-column:1/-1;font-size:13px;font-weight:800}.orders-list-panel{min-height:236px}.orders-empty-state{border:2px dashed var(--border-strong);min-height:236px;color:var(--muted);text-align:center;border-radius:8px;align-content:center;justify-items:center;gap:10px;padding:28px;display:grid}.orders-empty-state>span{border:1px solid var(--border);width:52px;height:52px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.orders-empty-state strong{color:var(--ink);font-size:18px}.orders-empty-state p{margin:0}.orders-head,.orders-row{grid-template-columns:minmax(240px,1.25fr) minmax(125px,.62fr) minmax(120px,.58fr) minmax(180px,.9fr) minmax(110px,.55fr) minmax(115px,.58fr) minmax(180px,.9fr);min-width:1160px}.orders-row{min-height:78px}.orders-row.has-danger-alert{box-shadow:inset 3px 0 0 var(--red)}.orders-row.has-warning-alert{box-shadow:inset 3px 0 #f59e0b}.real-orders-filter{grid-template-columns:minmax(280px,1.4fr) minmax(170px,.7fr) minmax(170px,.7fr) auto}.order-status-pill{background:var(--surface-strong);width:fit-content;color:var(--muted);white-space:nowrap;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:900}.order-status-pill.paid,.order-status-pill.ready_to_ship{background:var(--amber-soft);color:#9a6000}.order-status-pill.shipped{background:var(--blue-soft);color:var(--blue)}.order-status-pill.delivered{background:var(--green-soft);color:var(--green)}.order-status-pill.canceled,.order-status-pill.refunded{background:var(--red-soft);color:var(--red)}.order-items-cell{gap:4px;min-width:0;display:grid}.order-items-cell span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.order-status-action{border:1px solid var(--border);background:var(--surface);width:100%;min-height:38px;color:var(--text);border-radius:8px;padding:0 9px;font-weight:800}.order-actions-cell{grid-template-columns:minmax(0,.92fr) minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.order-detail-button{background:var(--blue-soft);min-height:38px;color:var(--blue);white-space:nowrap;border:1px solid #0e69cd2e;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex}.order-detail-button svg{width:16px;height:16px}.order-finished{color:var(--muted);font-size:12px;font-weight:800}.order-modal{width:min(820px,100vw - 32px)}.order-detail-modal{width:min(960px,100vw - 32px)}.order-detail-modal>header p{color:var(--muted);margin:6px 0 0;font-size:13px}.order-detail-body{gap:16px;padding:20px 22px;display:grid}.order-detail-alert-panel{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.order-detail-alert-panel>svg{width:22px;height:22px}.order-detail-alert-panel.has-alerts{background:#f59e0b14;border-color:#f59e0b47}.order-detail-alert-panel.has-alerts>svg{color:#b45309}.order-detail-alert-panel.is-clear{background:var(--green-soft);border-color:#0f8f6f2e}.order-detail-alert-panel.is-clear>svg{color:var(--green)}.order-detail-alert-panel strong,.order-detail-section-title strong,.order-detail-alert-list strong{color:var(--ink);display:block}.order-detail-alert-panel span,.order-detail-section-title span,.order-detail-alert-list span{color:var(--muted);font-size:12px}.order-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.order-detail-grid article{border:1px solid var(--border);background:#fff;border-radius:8px;gap:5px;min-width:0;padding:13px;display:grid}.order-detail-grid span,.order-detail-grid small{color:var(--muted);font-size:12px}.order-detail-grid strong{color:var(--ink);font-size:17px}.order-detail-grid .order-detail-profit{background:var(--green-soft);border-color:#0f8f6f2e}.order-detail-alert-list{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.order-detail-alert-list>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.order-detail-items{gap:10px;display:grid}.order-detail-section-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.order-detail-item{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-columns:minmax(260px,1fr) auto minmax(320px,1.1fr);align-items:center;gap:14px;padding:13px;display:grid}.order-detail-item.needs-attention{background:#f59e0b0f;border-color:#f59e0b3d}.order-detail-item-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;display:grid}.order-detail-item-values span{min-width:0;color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.order-detail-item-values strong{color:var(--ink);white-space:nowrap}.order-detail-footer{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;gap:10px;padding:16px 22px;display:flex;position:sticky;bottom:0}.order-items-editor{gap:10px;padding-top:4px;display:grid}.order-items-editor-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.order-item-editor-row{border-top:1px solid var(--border);background:var(--surface-soft);grid-template-columns:minmax(250px,1fr) minmax(100px,.35fr) minmax(140px,.45fr) 38px;align-items:end;gap:10px;padding:12px;display:grid}.order-item-editor-row label{gap:7px;display:grid}.order-item-editor-row .icon-button{width:38px;height:42px}.channel-pill{background:var(--blue-soft);width:fit-content;min-height:30px;color:var(--blue);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex}.margin-cell{justify-items:start;gap:4px;min-width:0;display:grid}.margin-cell strong{color:var(--ink)}.margin-cell span{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.label-button{background:var(--green);color:#fff;white-space:nowrap;border:1px solid #0f8f6f2e;border-radius:8px;width:142px;min-height:38px;font-size:13px;font-weight:900}.label-button.issued,.label-button:disabled{border-color:var(--border);background:var(--surface-strong);color:var(--muted);cursor:default}.orders-pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;font-size:13px;font-weight:800;display:flex}.orders-pagination>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.orders-pagination select,.orders-pagination button{border:1px solid var(--border);min-height:36px;color:var(--text);background:#fff;border-radius:8px;font-weight:800}.orders-pagination select{padding:0 10px}.orders-pagination button{min-width:40px}.orders-pagination strong{color:var(--ink)}.board-column{background:#ffffffd1;min-height:500px}.order-card-list{gap:12px;display:grid}.order-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:12px;padding:14px;display:grid}.order-card-top,.order-card-bottom,.supplier-card-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.order-card-top span,.order-card p,.supplier-card span,.supplier-card dt{color:var(--muted);font-size:13px}.order-card h3,.order-card p{margin:0}.order-card h3{color:var(--ink);font-size:16px}.order-card-bottom button{border:1px solid var(--border);background:var(--blue-soft);min-height:34px;color:var(--blue);border-radius:8px;align-items:center;gap:6px;padding:0 11px;font-weight:900;display:inline-flex}.cash-in{color:var(--green)}.cash-out{color:var(--red)}.cash-bars{gap:14px;display:grid}.cash-bar-row{color:var(--muted);grid-template-columns:58px minmax(0,1fr) 92px;align-items:center;gap:10px;font-size:13px;display:grid}.cash-bar-track span{border-radius:inherit;height:100%;display:block}.cash-bar-track .positive{background:var(--green)}.cash-bar-track .negative{background:var(--red)}.cash-bar-row strong{color:var(--text);text-align:right}.finance-summary-page{gap:22px}.finance-summary-header h2,.finance-summary-header p{margin:0}.finance-summary-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.finance-summary-header p{color:var(--muted);margin-top:6px;font-weight:700}.finance-summary-filters{grid-template-columns:minmax(520px,1fr) minmax(180px,.35fr);align-items:center;gap:10px;display:grid}.finance-summary-filters select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.finance-title-search{width:100%;min-width:0}.finance-toggle-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.finance-toggle-row>div{background:var(--surface-strong);border-radius:8px;gap:3px;padding:3px;display:flex}.finance-toggle-row button{min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:7px;padding:0 12px;font-size:12px;font-weight:900}.finance-toggle-row button.active{color:var(--ink);background:#fff}.finance-summary-kpis{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;display:grid}.finance-summary-kpi{border:1px solid var(--border);min-height:138px;box-shadow:var(--shadow);background:#ffffffe6;border-radius:8px;align-content:space-between;gap:11px;padding:18px;display:grid}.finance-summary-kpi div{justify-content:space-between;align-items:center;gap:12px;display:flex}.finance-summary-kpi span,.finance-summary-kpi small{color:var(--muted);font-weight:800}.finance-summary-kpi strong{color:var(--ink);font-size:25px;line-height:1}.finance-summary-kpi.green strong{color:var(--green)}.finance-summary-kpi.blue strong{color:var(--blue)}.finance-summary-kpi.red strong{color:var(--red)}.finance-summary-kpi.amber strong{color:var(--amber)}.finance-summary-kpi.purple strong{color:#7c3aed}.cashflow-page{gap:22px}.cashflow-filter-panel{grid-template-columns:minmax(520px,1fr) minmax(180px,.28fr) auto;align-items:end;gap:10px;display:grid}.cashflow-start-balance{gap:6px;display:grid}.cashflow-start-balance span{color:var(--muted);font-size:12px;font-weight:900}.cashflow-start-balance input{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);font:inherit;border-radius:8px;padding:0 12px;font-weight:800}.cashflow-alert-panel{justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex}.cashflow-alert-panel h2,.cashflow-alert-panel p{margin:0}.cashflow-alert-panel p{color:var(--muted);margin-top:5px;font-weight:800}.cashflow-alert-panel.ok{background:var(--green-soft);border-color:#0f8f6f47}.cashflow-alert-panel.danger{background:var(--red-soft);border-color:#b4231847}.cashflow-layout{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:18px;display:grid}.cashflow-projection-panel,.cashflow-events-panel{min-height:360px;padding:18px}.cashflow-table-head,.cashflow-table-row{grid-template-columns:minmax(130px,.55fr) minmax(115px,.45fr) minmax(115px,.45fr) minmax(115px,.45fr) minmax(135px,.52fr) minmax(160px,.68fr);min-width:870px}.cashflow-table-row.negative{background:var(--red-soft)}.cashflow-day-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cashflow-day-actions button,.cashflow-event-row button{border:1px solid var(--border);min-height:30px;color:var(--text);background:#fff;border-radius:7px;padding:0 9px;font-size:11px;font-weight:900}.cashflow-day-actions span{color:var(--muted);font-size:12px;font-weight:800}.cashflow-event-empty{min-height:180px;color:var(--muted);text-align:center;align-content:center;gap:5px;display:grid}.cashflow-event-empty strong{color:var(--ink)}.cashflow-event-list{gap:10px;margin-top:16px;display:grid}.cashflow-event-row{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px;display:grid}.cashflow-event-row.in{border-color:#0f8f6f33}.cashflow-event-row.out{border-color:#b423182e}.cashflow-event-row div{gap:4px;min-width:0;display:grid}.cashflow-event-row span,.cashflow-event-row small{color:var(--muted);font-size:12px;font-weight:800}.cashflow-event-row strong{color:var(--ink)}.closing-stock-purchases-panel{gap:16px;padding:18px;display:grid}.closing-stock-purchases-panel .panel-header{align-items:center}.closing-stock-empty{border:1px dashed var(--border);background:var(--surface-soft);border-radius:8px;align-content:center;gap:5px;min-height:92px;padding:18px;display:grid}.closing-stock-empty strong{color:var(--ink)}.closing-stock-empty span{color:var(--muted);font-weight:800}.closing-stock-head,.closing-stock-row{grid-template-columns:minmax(260px,1.35fr) minmax(150px,.7fr) minmax(120px,.5fr) minmax(120px,.5fr) minmax(115px,.45fr) minmax(115px,.45fr)}.closing-filter-panel{grid-template-columns:minmax(520px,1fr) minmax(260px,.35fr);align-items:stretch;gap:12px;display:grid}.closing-status-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;align-content:center;gap:5px;min-height:86px;padding:14px;display:grid}.closing-status-card span,.closing-status-card small{color:var(--muted);font-size:12px;font-weight:800}.closing-status-card strong{color:var(--ink);font-size:18px}.closing-status-card.reviewed{background:var(--blue-soft);border-color:#2563eb59}.closing-status-card.closed{background:var(--green-soft);border-color:#0f8f6f59}.closing-pending-panel{gap:16px;padding:18px;display:grid}.closing-pending-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.closing-pending-grid article{border:1px solid var(--border);background:#fff;border-radius:8px;align-content:space-between;gap:14px;min-height:168px;padding:15px;display:grid}.closing-pending-grid article.danger{background:var(--red-soft);border-color:#b4231847}.closing-pending-grid article.ok{background:var(--green-soft)}.closing-pending-grid span,.closing-pending-grid small{display:block}.closing-pending-grid span{color:var(--muted);font-size:12px;font-weight:900}.closing-pending-grid strong{color:var(--ink);margin:8px 0 6px;font-size:28px;display:block}.closing-pending-grid small{color:var(--muted);font-size:12px;font-weight:700;line-height:1.45}.closing-pending-grid button{border:1px solid var(--border);min-height:36px;color:var(--text);background:#fff;border-radius:8px;font-weight:900}.closing-pending-grid button:disabled{opacity:.6;cursor:not-allowed}.closing-actions-panel{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;padding:18px;display:grid}.closing-actions-panel label{gap:8px;display:grid}.closing-actions-panel label span{color:var(--ink);font-size:13px;font-weight:900}.closing-actions-panel textarea{resize:vertical;border:1px solid var(--border);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:12px}.closing-actions-panel>div{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.closing-actions-panel button:disabled{opacity:.58;cursor:not-allowed;box-shadow:none}.closing-history-panel{padding:18px}.closing-history-head,.closing-history-row{grid-template-columns:minmax(190px,1fr) minmax(110px,.45fr) minmax(130px,.55fr) minmax(130px,.55fr) minmax(105px,.35fr) minmax(150px,.6fr)}.closing-status-pill{border-radius:8px;width:fit-content;padding:5px 9px;font-size:12px;font-weight:900}.closing-status-pill.reviewed{background:var(--blue-soft);color:var(--blue)}.closing-status-pill.closed{background:var(--green-soft);color:var(--green)}.finance-summary-grid{grid-template-columns:minmax(0,1.4fr) minmax(360px,.7fr);gap:18px;display:grid}.finance-ledger-list{border-top:1px solid var(--border);margin-top:18px;display:grid}.finance-ledger-list>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:13px 2px;display:flex}.finance-ledger-list span{gap:3px;min-width:0;display:grid}.finance-ledger-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.finance-chart-panel,.finance-cost-panel{min-height:310px}.finance-chart-panel .panel-header p,.finance-cost-panel .panel-header p{color:var(--muted);margin:4px 0 0;font-size:13px;font-weight:700}.finance-empty-chart{min-height:210px;color:var(--muted);text-align:center;place-items:center;font-weight:800;display:grid}.reconciliation-page{gap:22px}.reconciliation-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.reconciliation-header h2,.reconciliation-header p{margin:0}.reconciliation-header h2{color:var(--ink);font-size:clamp(28px,3vw,38px);line-height:1.08}.reconciliation-header p{color:var(--muted);margin-top:6px;font-weight:700}.reconciliation-note{background:#fffbebdb;border-color:#f59e0b47;align-items:center;gap:14px;min-height:72px;display:flex}.reconciliation-note svg{width:22px;height:22px;color:var(--amber)}.reconciliation-note strong,.reconciliation-note span{display:block}.reconciliation-note span{color:var(--muted);margin-top:3px;font-size:13px;font-weight:700}.reconciliation-exceptions-panel{gap:18px;display:grid}.reconciliation-exceptions-panel .panel-header p{color:var(--muted);margin:4px 0 0;font-size:13px;font-weight:700}.reconciliation-panel-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.reconciliation-panel-actions button{white-space:nowrap}.reconciliation-clean-state{min-height:156px;color:var(--muted);text-align:center;place-items:center;gap:8px;display:grid}.reconciliation-clean-state svg{width:28px;height:28px;color:var(--green)}.reconciliation-clean-state strong{color:var(--ink)}.reconciliation-review-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.reconciliation-review-summary button{border:1px solid var(--border);min-height:58px;color:var(--text);background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:0 14px;font-weight:900;display:flex}.reconciliation-review-summary button.active{background:var(--blue-soft);color:var(--blue);border-color:#2563eb66}.reconciliation-review-summary span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reconciliation-review-summary strong{background:var(--surface-strong);min-width:30px;min-height:26px;color:var(--ink);border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.reconciliation-resolution-panel{gap:18px;display:grid}.reconciliation-resolution-panel.has-issues{background:#fef2f26b;border-color:#ef44443d}.reconciliation-resolution-panel .panel-header p{color:var(--muted);margin:4px 0 0;font-size:13px;font-weight:700}.reconciliation-resolution-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.reconciliation-resolution-grid article{border:1px solid var(--border);background:#fff;border-radius:8px;align-content:space-between;gap:8px;min-height:108px;padding:14px;display:grid}.reconciliation-resolution-grid article.danger{background:#fef2f2d1;border-color:#ef444440}.reconciliation-resolution-grid span,.reconciliation-resolution-grid small{color:var(--muted);font-weight:800}.reconciliation-resolution-grid strong{color:var(--ink);font-size:28px;line-height:1}.reconciliation-resolution-grid article.danger strong{color:var(--red)}.reconciliation-resolution-empty{min-height:54px;color:var(--muted);align-items:center;gap:10px;font-weight:800;display:flex}.reconciliation-resolution-empty svg{width:20px;height:20px;color:var(--green)}.reconciliation-resolution-list{gap:10px;display:grid}.reconciliation-resolution-list article{background:#fff;border:1px solid #ef44442e;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:64px;padding:12px;display:grid}.reconciliation-resolution-list article>div:first-child{gap:4px;min-width:0;display:grid}.reconciliation-resolution-list strong,.reconciliation-resolution-list span{display:block}.reconciliation-resolution-list span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:750;overflow:hidden}.reconciliation-resolution-list article>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.reconciliation-resolution-list button{border:1px solid var(--border);min-height:34px;color:var(--ink);background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-size:12px;font-weight:900;display:inline-flex}.reconciliation-resolution-list svg{width:14px;height:14px}.reconciliation-exception-tags{flex-wrap:wrap;gap:8px;display:flex}.reconciliation-exception-tags button{border:1px solid var(--border);min-height:34px;color:var(--text);background:#fff;border-radius:999px;align-items:center;gap:9px;padding:0 12px;font-size:12px;font-weight:900;display:inline-flex}.reconciliation-exception-tags strong{background:var(--red-soft);min-width:24px;min-height:22px;color:var(--red);border-radius:999px;place-items:center;font-size:11px;display:inline-grid}.reconciliation-exception-list{gap:10px;display:grid}.reconciliation-exception-card{border:1px solid var(--border);border-left:4px solid var(--muted);background:#fff;border-radius:8px;grid-template-columns:minmax(260px,1fr) minmax(440px,1.25fr) minmax(150px,.45fr);align-items:center;gap:16px;min-height:92px;padding:14px;display:grid}.reconciliation-exception-card.danger{border-left-color:var(--red);background:#fef2f2b8}.reconciliation-exception-card.warning{border-left-color:var(--amber);background:#fffbebbd}.reconciliation-exception-card>div{gap:5px;min-width:0;display:grid}.reconciliation-exception-card strong,.reconciliation-exception-card small{display:block}.reconciliation-exception-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-weight:750;overflow:hidden}.reconciliation-priority-label{color:var(--red);text-transform:uppercase;font-size:11px;font-weight:900}.reconciliation-exception-card.warning .reconciliation-priority-label{color:#b45309}.reconciliation-exception-card dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;display:grid}.reconciliation-exception-card dt,.reconciliation-exception-card dd{margin:0}.reconciliation-exception-card dt{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.reconciliation-exception-card dd{color:var(--ink);margin-top:3px;font-weight:950}.reconciliation-action-button,.reconciliation-table-action{border:1px solid var(--border);min-height:36px;color:var(--ink);white-space:nowrap;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:12px;font-weight:900;display:inline-flex}.reconciliation-action-button svg,.reconciliation-table-action svg{width:15px;height:15px}.reconciliation-action-button{justify-self:end}.reconciliation-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.reconciliation-card-actions>button:not(.reconciliation-action-button){border:1px solid var(--border);min-height:32px;color:var(--text);background:#fff;border-radius:8px;padding:0 10px;font-size:12px;font-weight:900}.reconciliation-table-action{width:fit-content}.reconciliation-filters{grid-template-columns:minmax(260px,.8fr) minmax(520px,1.15fr) repeat(4,minmax(150px,.45fr));align-items:center;gap:10px;display:grid}.reconciliation-filters select{border:1px solid var(--border);width:100%;min-height:42px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-weight:800}.reconciliation-search{width:100%;min-width:0}.reconciliation-head,.reconciliation-row{grid-template-columns:minmax(210px,.9fr) minmax(250px,1.1fr) minmax(126px,.55fr) minmax(126px,.55fr) minmax(126px,.55fr) minmax(136px,.58fr) minmax(126px,.55fr) minmax(180px,.72fr) minmax(160px,.62fr) minmax(220px,.9fr);min-width:1660px}.reconciliation-row{min-height:92px}.reconciliation-items-cell,.reconciliation-money-cell,.reconciliation-alerts-cell{gap:5px;min-width:0;display:grid}.reconciliation-items-cell span,.reconciliation-money-cell span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;overflow:hidden}.reconciliation-money-cell strong{color:var(--ink)}.reconciliation-money-cell strong.cash-in{color:var(--green)}.reconciliation-money-cell strong.cash-out{color:var(--red)}.reconciliation-alerts-cell{flex-wrap:wrap;gap:6px;display:flex}.reconciliation-review-cell{gap:6px;min-width:0;display:grid}.reconciliation-review-cell small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;overflow:hidden}.reconciliation-review-cell>div{flex-wrap:wrap;gap:5px;display:flex}.reconciliation-review-cell button{border:1px solid var(--border);min-height:26px;color:var(--text);background:#fff;border-radius:7px;padding:0 7px;font-size:11px;font-weight:900}.reconciliation-alert-pill,.reconciliation-clear,.reconciliation-review-pill{white-space:nowrap;border-radius:999px;align-items:center;width:fit-content;min-height:24px;padding:0 9px;font-size:11px;font-weight:900;display:inline-flex}.reconciliation-alert-pill.danger{color:var(--red);background:#ef44441c}.reconciliation-alert-pill.warning{color:#b45309;background:#f59e0b24}.reconciliation-alert-pill.neutral{background:var(--surface-strong);color:var(--muted)}.reconciliation-clear{background:var(--green-soft);color:var(--green)}.reconciliation-review-pill.pending{background:var(--red-soft);color:var(--red)}.reconciliation-review-pill.reviewed{background:var(--blue-soft);color:var(--blue)}.reconciliation-review-pill.resolved{background:var(--green-soft);color:var(--green)}.reconciliation-review-pill.ignored{background:var(--surface-strong);color:var(--muted)}.reconciliation-review-modal textarea{resize:vertical;min-height:110px}.order-item-link-modal{width:min(980px,100vw - 28px)}.order-item-link-body{gap:16px;display:grid}.order-item-link-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.order-item-link-search{width:100%}.order-item-link-list{gap:10px;max-height:min(62vh,620px);padding-right:4px;display:grid;overflow:auto}.order-item-link-list article{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-columns:minmax(240px,1fr) minmax(240px,.9fr) minmax(130px,.45fr) minmax(132px,auto);align-items:center;gap:12px;padding:12px;display:grid}.order-item-link-list article.linked{background:var(--green-soft)}.order-item-link-list article.suggested{background:linear-gradient(#0f8f6f14,#fff 72%);border-color:#0f8f6f6b}.order-item-link-sold{gap:4px;min-width:0;display:grid}.order-item-link-sold strong,.order-item-link-sold span,.order-item-link-sold em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.order-item-link-sold span,.order-item-link-sold em{color:var(--muted);font-size:12px;font-style:normal;font-weight:750}.order-item-link-suggestion.high{color:var(--green);font-weight:900}.order-item-link-suggestion.medium{color:#b45309;font-weight:900}.order-item-link-list label{gap:6px;min-width:0;display:grid}.order-item-link-list label span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.order-item-link-list select{border:1px solid var(--border);width:100%;min-height:38px;color:var(--text);background:#fff;border-radius:8px;padding:0 10px;font-weight:800}.order-item-link-preview{color:var(--muted);gap:3px;font-size:12px;font-weight:800;display:grid}.order-item-link-use-suggestion{justify-content:flex-start;width:fit-content;min-height:28px;padding:0;font-size:12px}.supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.supplier-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:18px;padding:16px;display:grid}.supplier-card strong,.supplier-card span{display:block}.supplier-card dl{gap:10px;margin:0;display:grid}.supplier-card dl div{justify-content:space-between;align-items:center;gap:12px;display:flex}.supplier-card dd{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-weight:900;overflow:hidden}.suppliers-page{gap:22px}.supplier-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.supplier-workspace{gap:18px;display:grid}.supplier-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.supplier-toolbar .search-field{width:min(460px,100%)}.supplier-status,.primary-supplier-pill{border-radius:6px;width:fit-content;padding:4px 7px;font-size:11px;font-weight:900}.supplier-status.active,.primary-supplier-pill{background:var(--green-soft);color:var(--green)}.supplier-status.inactive{background:var(--surface-strong);color:var(--muted)}.supplier-linked-products{border-top:1px solid var(--border);border-bottom:1px solid var(--border);display:grid}.supplier-linked-products>span{color:var(--muted);padding:14px 0;font-size:12px;font-weight:800}.supplier-product-row{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto 30px 30px;align-items:center;gap:8px;padding:10px 0;display:grid}.supplier-product-row:first-child{border-top:0}.supplier-product-row>div{min-width:0}.supplier-product-row>div strong,.supplier-product-row>div span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.supplier-product-row>div span{margin-top:3px;font-size:11px}.supplier-product-row>button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.supplier-product-row>button:hover{background:var(--surface-soft);color:var(--ink)}.supplier-product-row>button svg,.supplier-card-actions svg{width:15px;height:15px}.supplier-card-actions{flex-wrap:wrap;gap:8px;display:flex}.supplier-card-actions button{flex:150px}.supplier-primary-toggle{grid-column:1/-1;align-items:center;gap:9px;min-height:42px;display:flex!important}.supplier-primary-toggle input{width:18px;height:18px}.supplier-primary-toggle span{font-size:13px;font-weight:800}@media (width<=1180px){.erp-shell{grid-template-columns:240px minmax(0,1fr)}.kpi-grid,.dashboard-alert-summary,.tasks-kpis,.ads-listing-kpis,.supplier-kpis,.supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dashboard-grid.secondary,.dashboard-action-grid,.dashboard-recommendation-grid,.dashboard-period-panel,.tasks-filters,.finance-grid,.finance-summary-grid,.inventory-grid,.analysis-workspace,.hunter-search-row,.hunter-result-grid,.movements-filter-panel,.stock-movement-filters,.abc-filter-panel,.ads-filter-top,.ad-ranking-search,.dre-filter-panel,.finance-summary-filters,.cashflow-filter-panel,.cashflow-layout,.operation-goals-layout,.receipts-filter-panel,.payables-filter-panel,.closing-filter-panel,.closing-actions-panel,.pricing-controls,.reconciliation-filters,.orders-filter-panel,.board-grid{grid-template-columns:1fr}.feature-card-grid,.draft-card-list,.analysis-result-strip,.ad-result-grid,.hunter-metric-grid,.movement-kpis,.receipts-kpis,.payables-kpis,.abc-kpis,.dre-kpis,.finance-summary-kpis,.dashboard-action-grid,.dashboard-recommendation-grid,.goal-field-grid,.reconciliation-kpis,.reconciliation-review-summary,.reconciliation-resolution-grid,.closing-pending-grid,.dre-grid,.date-range-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.date-range-controls>span,.date-range-controls>div{grid-column:1/-1}.board-column{min-height:auto}.reconciliation-exception-card{grid-template-columns:1fr}.reconciliation-action-button,.reconciliation-card-actions{justify-self:stretch}.reconciliation-resolution-list article{grid-template-columns:1fr}.reconciliation-resolution-list article>div:last-child{justify-content:stretch}.order-item-link-list article,.order-item-link-toolbar{grid-template-columns:1fr}.inventory-side-panel{position:static}.ranking-automation-bar,.ranking-email-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.ranking-alert-list article{grid-template-columns:34px minmax(220px,1fr) minmax(140px,.45fr)}.ranking-alert-actions{grid-column:2/-1;justify-content:flex-start}.ranking-automation-actions{justify-content:flex-start}.inventory-header-actions{justify-content:stretch;width:100%}.inventory-header-actions>*{flex:180px}}@media (width<=760px){.erp-shell{display:block}.sidebar{height:auto;padding:16px;position:static}.main-nav{padding-bottom:12px;display:grid;overflow:visible}.main-nav button{flex:initial;width:100%}.sidebar-status{display:none}.workspace{padding:18px}.topbar{display:grid}.topbar h1{font-size:32px}.topbar-actions,.toolbar{justify-content:stretch}.draft-hero,.analysis-header,.ads-listing-header,.movements-header,.orders-header-actions,.reconciliation-header,.dre-header,.draft-list-row{display:grid}.ads-listing-header-actions{justify-content:stretch}.ads-listing-header-actions>*{flex:180px}.movements-actions{justify-content:stretch}.orders-pagination{display:grid}.hunter-pagination{grid-template-columns:1fr;justify-items:stretch}.hunter-pagination>strong{text-align:left}.hunter-page-buttons{justify-content:flex-start}.movements-actions>*{flex:auto}.ads-filter-bottom{display:grid}.ads-filter-bottom select{max-width:none;margin-left:0}.analysis-filter-row{justify-content:stretch}.analysis-filter-row button{flex:auto}.analysis-search-field,.ad-lookup-search,.analysis-form-grid,.analysis-result-strip,.ad-result-grid,.saved-analysis-card dl{grid-template-columns:1fr}.topbar-actions>*,.toolbar>*,.hunter-search-row>*,.search-field{width:100%}.supplier-toolbar{display:grid}.order-item-editor-row{grid-template-columns:1fr}.order-item-editor-row .icon-button{width:100%}.order-actions-cell,.order-detail-alert-panel,.order-detail-item,.order-detail-item-values,.order-detail-grid{grid-template-columns:1fr}.order-detail-alert-panel .primary-button,.order-detail-footer{display:grid}.order-detail-alert-list,.order-detail-section-title{justify-items:start;display:grid}.order-detail-alert-list>div:last-child{justify-content:flex-start}.reconciliation-exception-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-grid,.dashboard-alert-summary,.tasks-kpis,.ads-listing-kpis,.inventory-kpis,.feature-card-grid,.draft-card-list,.ranking-summary-strip,.ranking-history-summary,.dre-grid,.hunter-metric-grid,.movement-kpis,.receipts-kpis,.payables-kpis,.abc-kpis,.dre-kpis,.finance-summary-kpis,.dashboard-action-grid,.dashboard-recommendation-grid,.goal-field-grid,.tasks-filters,.reconciliation-kpis,.reconciliation-review-summary,.reconciliation-resolution-grid,.closing-pending-grid,.cashflow-table-row,.cashflow-event-row,.closing-stock-row,.supplier-grid{grid-template-columns:1fr}.cashflow-table-head,.closing-stock-head{display:none}.ranking-history-summary article{border-top:1px solid var(--border);border-left:0}.ranking-history-summary article:first-child{border-top:0}.tasks-header,.settings-header,.tasks-row{display:grid}.tasks-row{grid-template-columns:1fr}.tasks-severity-dot{width:100%;height:5px}.tasks-actions{justify-content:stretch}.tasks-actions>*{flex:160px}.ad-ranking-header{flex-direction:column}.ranking-monitor-panel .panel-header button{width:100%}.ranking-automation-bar,.ranking-email-settings,.ranking-alert-list article{grid-template-columns:1fr}.ranking-email-actions{justify-content:stretch;display:grid}.ranking-alert-icon{width:34px;height:34px}.ranking-alert-actions{grid-column:auto;min-width:0}.ranking-alert-actions .ghost-button{width:100%}.ranking-automation-actions{display:grid}.ranking-monitor-list article{grid-template-columns:1fr;gap:9px}.ranking-monitor-actions{justify-content:flex-start}.date-range-controls,.closing-history-head,.closing-history-row,.abc-segmented{grid-template-columns:1fr}.order-row,.cash-row,.priority-row{grid-template-columns:1fr;justify-items:start}.panel-header{display:grid}.auth-page{padding:0}.auth-shell{min-height:100vh;box-shadow:none;border:0;border-radius:0;grid-template-columns:1fr}.auth-brand-panel{min-height:210px;padding:24px}.auth-brand-copy h1{max-width:420px;font-size:29px}.auth-brand-copy p{display:none}.auth-form-panel{padding:28px 22px 40px}.auth-config-page{grid-template-columns:1fr;align-content:center}.auth-state-actions{width:100%;display:grid}.modal-backdrop{align-items:end;padding:0}.inventory-modal,.inventory-modal.movement-modal{border-bottom:0;border-left:0;border-right:0;border-radius:8px 8px 0 0;width:100%;max-height:92vh}.inventory-form{grid-template-columns:1fr;padding:18px}.inventory-form .field-wide,.inventory-form footer{grid-column:auto}.inventory-form footer{display:grid}.movement-product-summary{align-items:flex-start;margin:16px 18px 0}}
