:root{color-scheme:dark;--bg: #0d0f11;--surface: #131619;--surface-2: #191d20;--surface-3: #202529;--line: #2b3135;--line-soft: #22272b;--text: #f4f5f4;--muted: #92999f;--orange: #ff8a00;--orange-2: #ff9f2e;--orange-soft: rgba(255, 138, 0, .1);--green: #42c879;--red: #ef6262;--yellow: #e9b949;--warning-text: #e9b949;--blue: #62a8ff;--chrome: #111416;--topbar: rgba(13,15,17,.96);--input-bg: #0d1012;--thead: #111416;--text-strong: #e4e6e7;--text-soft: #b8bdc0;--text-subtle: #7f878c;--nav-text: #aeb4b7;--control-text: #d5d8da;--hover: rgba(255,255,255,.018);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=light]{color-scheme:light;--bg: #f5f6f7;--surface: #ffffff;--surface-2: #f4f5f6;--surface-3: #e9ecee;--line: #d9dde0;--line-soft: #e8eaec;--text: #17191b;--muted: #505a62;--chrome: #ffffff;--topbar: rgba(255,255,255,.96);--input-bg: #ffffff;--thead: #f5f6f7;--text-strong: #222629;--text-soft: #3e474e;--text-subtle: #59636b;--nav-text: #465159;--control-text: #30383e;--warning-text: #805500;--hover: rgba(22,29,34,.035)}@media(prefers-color-scheme:light){:root[data-theme=auto]{color-scheme:light;--bg: #f5f6f7;--surface: #ffffff;--surface-2: #f4f5f6;--surface-3: #e9ecee;--line: #d9dde0;--line-soft: #e8eaec;--text: #17191b;--muted: #505a62;--chrome: #ffffff;--topbar: rgba(255,255,255,.96);--input-bg: #ffffff;--thead: #f5f6f7;--text-strong: #222629;--text-soft: #3e474e;--text-subtle: #59636b;--nav-text: #465159;--control-text: #30383e;--warning-text: #805500;--hover: rgba(22,29,34,.035)}}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--text)}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.brand{position:relative;width:174px;max-width:100%;min-width:0;aspect-ratio:1254 / 461;overflow:hidden}.brand img{position:absolute;top:50%;transform:translateY(-50%);display:block;width:100%;height:auto}.brand .brand-logo--light{display:none}:root[data-theme=light] .brand-logo--dark{display:none}:root[data-theme=light] .brand-logo--light{display:block}@media(prefers-color-scheme:light){:root[data-theme=auto] .brand-logo--dark{display:none}:root[data-theme=auto] .brand-logo--light{display:block}}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(420px,.95fr);background:var(--bg)}.login-panel{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:46px 7vw 42px;overflow:hidden;border-right:1px solid var(--line);background:var(--chrome)}.login-panel:after{content:"";position:absolute;right:-190px;bottom:-220px;width:580px;height:580px;border:110px solid rgba(255,138,0,.06);border-radius:50%;pointer-events:none}.login-copy{position:relative;z-index:1;max-width:640px}.login-copy h1{margin:12px 0 20px;font-size:clamp(42px,5vw,72px);line-height:1.03;letter-spacing:-.055em}.login-copy>p:last-child{max-width:480px;color:var(--text-soft);font-size:18px;line-height:1.65}.eyebrow{margin:0 0 7px;color:var(--orange);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.login-safety{position:relative;z-index:1;display:flex;align-items:center;gap:9px;color:var(--text-soft);font-size:13px}.login-safety svg{color:var(--orange)}.login-form-wrap{display:grid;place-items:center;padding:42px}.login-card{width:min(420px,100%)}.login-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:28px;color:var(--orange);border:1px solid rgba(255,138,0,.4);border-radius:8px;background:var(--orange-soft)}.login-card h2{margin:6px 0 9px;font-size:32px;letter-spacing:-.035em}.muted{color:var(--muted);line-height:1.6}.field-label{display:block;margin:21px 0 8px;color:var(--text-soft);font-size:12px;font-weight:650}.input{width:100%;height:44px;padding:0 13px;color:var(--text);outline:none;border:1px solid var(--line);border-radius:7px;background:var(--input-bg);transition:border-color .15s,box-shadow .15s}.input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #ff8a001a}.field-help{margin:7px 0 0;color:var(--text-subtle);font-size:11px;line-height:1.5}.form-error{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;color:#ffb1b1;font-size:12px;border:1px solid rgba(239,98,98,.3);border-radius:7px;background:#ef626214}.login-note{margin-top:18px;color:var(--muted);font-size:11px;text-align:center}.button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid transparent;border-radius:7px;background:none;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.46;cursor:not-allowed}.button--primary{color:#160e04;border-color:var(--orange);background:var(--orange)}.button--primary:hover:not(:disabled){background:var(--orange-2)}.button--ghost{color:var(--control-text);border-color:var(--line);background:var(--surface-2)}.button--ghost:hover:not(:disabled){border-color:#4b5358;background:var(--surface-3)}.button--wide{width:100%;margin-top:18px;min-height:46px}.button--small{min-height:31px;padding-inline:10px;font-size:11px}.app-shell{min-height:100vh;display:grid;grid-template-columns:218px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:218px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--chrome)}.sidebar-top{height:73px;display:flex;align-items:center;padding:0 22px;border-bottom:1px solid var(--line)}.sidebar nav{padding:17px 9px}.sidebar nav button,.sidebar-footer a,.sidebar-footer button{position:relative;width:100%;height:44px;display:flex;align-items:center;gap:12px;padding:0 13px;color:var(--nav-text);border:0;border-radius:7px;background:transparent;font-size:12px;cursor:pointer}.sidebar nav button:hover,.sidebar-footer a:hover,.sidebar-footer button:hover{color:var(--text);background:var(--surface-2)}.sidebar nav button.active{color:var(--orange);background:var(--surface-2)}.sidebar nav button.active:before{content:"";position:absolute;left:-9px;width:3px;height:24px;border-radius:0 2px 2px 0;background:var(--orange)}.sidebar-footer{margin-top:auto;padding:14px 9px;border-top:1px solid var(--line)}.mobile-close,.nav-backdrop{display:none}.workspace{min-width:0;grid-column:2}.topbar{position:sticky;top:0;z-index:20;height:73px;display:flex;align-items:center;gap:18px;padding:0 26px;border-bottom:1px solid var(--line);background:var(--topbar);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.menu-button{display:none}.client-select{min-width:250px;height:39px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.client-select svg{color:var(--orange);flex:0 0 auto}.client-select svg:last-child{color:var(--muted)}.client-select select{width:100%;color:var(--text);appearance:none;outline:none;border:0;background:transparent;font-size:12px}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.amazon-status{height:34px;display:flex;align-items:center;gap:7px;padding:0 12px;color:var(--text-soft);border:1px solid var(--line);border-radius:7px;background:var(--surface);font-size:11px}.amazon-status>span{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #42c8791a}.amazon-status svg{display:none}.realtime-status{height:34px;display:flex;align-items:center;gap:7px;padding:0 11px;color:var(--green);border:1px solid rgba(66,200,121,.25);border-radius:7px;background:#42c87912;font-size:11px;font-weight:700;white-space:nowrap}.realtime-status i,.live-sync-badge i{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px #42c8791a;animation:live-pulse 1.8s ease-in-out infinite}.realtime-status--fallback{color:var(--yellow);border-color:#e9b94947;background:#e9b94914}.realtime-status--paused{color:var(--muted);border-color:var(--line);background:var(--surface)}.realtime-status--paused i,.realtime-status--connecting i{animation:none}@keyframes live-pulse{50%{opacity:.45;transform:scale(.82)}}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;padding:0;color:var(--nav-text);border:1px solid var(--line);border-radius:7px;background:var(--surface);cursor:pointer}.icon-button:hover{color:var(--text);border-color:#4a5257;background:var(--surface-2)}.icon-button--accent{color:var(--orange);border-color:transparent;background:transparent}.admin-profile{min-width:164px;height:48px;display:grid;grid-template-columns:36px 1fr 18px;align-items:center;gap:10px;padding:0 11px 0 8px;color:var(--text);border:1px solid var(--line);border-radius:9px;background:var(--surface);cursor:pointer;text-align:left;transition:border-color .15s,background .15s,transform .15s}.admin-profile:hover,.admin-profile.active{border-color:#ff8a0080;background:var(--surface-2)}.admin-profile:hover{transform:translateY(-1px)}.admin-profile:focus-visible{outline:3px solid rgba(255,138,0,.18);outline-offset:2px}.admin-avatar{width:36px;height:36px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,138,0,.3);border-radius:8px;background:var(--orange-soft)}.admin-avatar img{width:27px;height:27px;object-fit:contain}.admin-copy{display:flex;flex-direction:column;font-size:11px}.admin-copy span{margin-top:2px;color:var(--muted)}.admin-settings-icon{color:var(--muted);transition:color .15s,transform .15s}.admin-profile:hover .admin-settings-icon,.admin-profile.active .admin-settings-icon{color:var(--orange);transform:rotate(16deg)}.content{width:min(1480px,100%);margin-inline:auto;padding:30px 28px 50px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.page-header h1{margin:0;font-size:30px;letter-spacing:-.035em}.page-header p:not(.eyebrow){margin:7px 0 0;color:var(--muted);font-size:13px}.page-header--actions{align-items:center}.page-actions{display:flex;align-items:center;gap:9px}.safety-banner{min-height:76px;display:flex;align-items:center;gap:15px;margin-bottom:22px;padding:16px 20px;color:var(--orange);border:1px solid rgba(255,138,0,.6);border-left-width:3px;border-radius:7px;background:linear-gradient(90deg,#ff8a001a,#ff8a0006)}.safety-banner>div{display:flex;flex-direction:column;gap:5px}.safety-banner strong{font-size:13px}.safety-banner span{color:var(--text-soft);font-size:11px}.safety-banner .safety-pill{margin-left:auto;padding:6px 9px;color:var(--orange);border:1px solid rgba(255,138,0,.42);border-radius:5px;background:#ff8a0014;font-size:10px;font-weight:800;text-transform:uppercase}.safety-banner--live{color:var(--green);border-color:#42c8798c;background:linear-gradient(90deg,#42c8791a,#42c87906)}.safety-banner--live .safety-pill{color:var(--green);border-color:#42c8796b;background:#42c87914}.safety-banner--compact{min-height:58px;margin-bottom:18px;padding-block:12px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.metric-card{min-height:104px;display:grid;grid-template-columns:39px 1fr auto;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.metric-card--action{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.metric-card--action:hover{border-color:color-mix(in srgb,var(--orange) 55%,var(--line));background:var(--hover);transform:translateY(-1px)}.metric-card--action.active{border-color:var(--orange);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--orange) 45%,transparent)}.metric-card>svg{color:#626a70}.metric-icon{width:39px;height:39px;display:grid;place-items:center;color:var(--orange);border-radius:7px;background:var(--orange-soft)}.metric-icon--green{color:var(--green);background:#42c8791a}.metric-icon--red{color:var(--red);background:#ef62621a}.metric-icon--muted{color:#969da1;background:#ffffff0d}.metric-card>div:nth-child(2){display:flex;flex-direction:column}.metric-card span{color:var(--text-soft);font-size:11px}.metric-card strong{margin:3px 0;font-size:25px;letter-spacing:-.04em}.metric-card small{color:var(--muted);font-size:10px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.85fr);gap:14px;margin-bottom:14px}.panel{border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}.panel-heading{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border-bottom:1px solid var(--line)}.panel-heading h2,.quick-control h2{margin:0;font-size:15px;letter-spacing:-.015em}.panel-heading p{margin:4px 0 0;color:var(--muted);font-size:10px}.text-button{display:inline-flex;align-items:center;gap:2px;padding:7px;color:var(--text-soft);border:0;background:transparent;font-size:10px;cursor:pointer}.text-button:hover{color:var(--orange)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}th{height:35px;padding:0 14px;color:var(--muted);background:var(--thead);font-size:9px;font-weight:700;text-align:left;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}td{height:57px;padding:8px 14px;color:var(--text-soft);border-top:1px solid var(--line-soft);font-size:11px;white-space:nowrap}tbody tr:hover{background:var(--hover)}.client-name{display:flex;align-items:center;gap:10px;min-width:185px}.client-name>div{min-width:0;display:flex;flex-direction:column;gap:3px}.client-name strong{color:var(--text-strong);font-size:11px}.client-name small{max-width:150px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis}.client-avatar{width:29px;height:29px;display:grid;place-items:center;color:var(--orange);border:1px solid rgba(255,138,0,.25);border-radius:5px;background:var(--orange-soft);font-size:10px;font-weight:800}.marketplace{color:var(--text-soft)}.status{display:inline-flex;align-items:center;gap:7px;color:var(--text-soft);font-size:10px}.status i{width:6px;height:6px;border-radius:50%;background:var(--green)}.status--warning i{background:var(--yellow)}.status--neutral i{background:#6f777c}.status--error i{background:var(--red)}.secure-token{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:10px}.activity-list{min-height:285px}.activity-row{min-height:57px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:8px 14px;border-bottom:1px solid var(--line-soft)}.activity-row:last-child{border-bottom:0}.activity-symbol{width:30px;height:30px;display:grid;place-items:center;color:#81baff;border-radius:50%;background:#458fe024}.activity-symbol--success{color:var(--green);background:#42c8791f}.activity-symbol--error{color:var(--red);background:#ef62621f}.activity-symbol--neutral{color:#a4aaad;background:#ffffff0f}.activity-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.activity-copy strong{color:var(--text-strong);font-size:10px}.activity-copy span{max-width:300px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.activity-row time{color:var(--muted);font-size:9px;white-space:nowrap}.activity-page-list .activity-row{min-height:68px;padding-inline:18px}.quick-control{min-height:112px;display:grid;grid-template-columns:1fr auto minmax(230px,.45fr);align-items:center;gap:24px;padding:19px 21px}.quick-control p:not(.eyebrow){margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.live-lock{display:flex;align-items:center;gap:10px;padding-left:22px;border-left:1px solid var(--line)}.live-lock>svg{color:#697176}.live-lock>div{display:flex;flex-direction:column;gap:4px}.live-lock strong{font-size:10px}.live-lock span{color:var(--muted);font-size:9px}.empty-state{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px;text-align:center}.empty-icon{width:44px;height:44px;display:grid;place-items:center;margin-bottom:12px;color:var(--orange);border:1px solid var(--line);border-radius:8px;background:var(--surface-2)}.empty-state h3{margin:0;font-size:14px}.empty-state p{max-width:360px;margin:7px 0 16px;color:var(--muted);font-size:11px;line-height:1.6}.toolbar{min-height:64px;display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}.search-box{width:min(330px,100%);height:38px;display:flex;align-items:center;gap:9px;padding:0 11px;color:var(--muted);border:1px solid var(--line);border-radius:7px;background:var(--input-bg)}.search-box input{width:100%;color:var(--text);outline:0;border:0;background:transparent;font-size:11px}.filter-group{display:flex;gap:6px}.filter-group button{height:33px;padding:0 11px;color:var(--text-soft);border:1px solid var(--line);border-radius:6px;background:var(--surface-2);font-size:10px;cursor:pointer}.filter-group button.active{color:var(--orange);border-color:var(--orange);background:var(--orange-soft)}.toolbar>.button{margin-left:auto}.loading-block{min-height:350px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px}.inventory-table td{height:66px}.content--inventory{height:calc(100dvh - 73px);min-height:0;padding-bottom:24px;overflow:hidden;display:flex;flex-direction:column}.inventory-page{display:flex;flex-direction:column;flex:1;min-height:0}.inventory-page>.page-header,.inventory-page>.alert-strip{flex-shrink:0}.inventory-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.inventory-panel>.toolbar{flex-shrink:0;flex-wrap:wrap}.inventory-panel .filter-group{flex-wrap:wrap}.inventory-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.inventory-scroll:focus-visible{outline:2px solid var(--orange);outline-offset:-2px}.inventory-table{border-collapse:separate;border-spacing:0}.inventory-table th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}.competitive-price{display:flex;flex-direction:column;gap:5px;min-width:145px;font-size:11px}.competitive-price strong{font-size:12px}.competitive-price small{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--muted)}.competitive-price--warning,.competitive-price--warning small{color:var(--warning-text)}.competitive-unavailable{font-size:10px;color:var(--muted)}.competitive-rule-reference{margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:7px}.competitive-rule-reference>strong{display:block;margin-bottom:8px;font-size:12px}.competitive-rule-reference p{margin:5px 0 0;font-size:11px;line-height:1.5}.inventory-table th:first-child,.inventory-table td:first-child{min-width:260px}.product-cell{display:flex;align-items:center;gap:11px}.product-dot{width:10px;height:10px;flex:0 0 auto;border-radius:50%;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 13%,transparent)}.product-dot--active{color:var(--green);background:var(--green)}.product-dot--closed{color:var(--orange);background:var(--orange)}.product-dot--inactive{color:var(--red);background:var(--red)}.parent-indicator{width:24px;height:24px;flex:0 0 auto;display:grid;place-items:center;color:var(--text-soft);border:1px solid var(--line);border-radius:6px;background:var(--surface-2)}.product-cell>div{max-width:300px;display:flex;flex-direction:column;gap:5px}.product-cell strong{overflow:hidden;color:var(--text-strong);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.product-cell small{color:var(--muted);font-size:9px}code{color:var(--text-soft);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.tag{padding:4px 6px;color:var(--text-soft);border:1px solid var(--line);border-radius:4px;font-size:9px}.tag--parent{color:var(--text-strong);background:var(--surface-2)}.competitor-price{min-width:165px;display:flex;flex-direction:column;gap:4px}.competitor-price strong{color:var(--text-strong);font-size:11px}.competitor-price small{color:var(--muted);font-size:9px;white-space:nowrap}.row-ineligible{opacity:.78}.row-ineligible:hover{opacity:1}.icon-button:disabled{cursor:not-allowed;opacity:.3}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;z-index:60;background:#00000094}.rule-drawer{position:absolute;inset:0 0 0 auto;width:min(470px,100%);display:flex;flex-direction:column;overflow-y:auto;border-left:1px solid var(--line);background:#141719;box-shadow:-28px 0 70px #00000059}.drawer-heading{display:flex;justify-content:space-between;gap:18px;padding:22px;border-bottom:1px solid var(--line)}.drawer-heading h2{max-width:350px;margin:0 0 6px;font-size:18px;letter-spacing:-.025em}.drawer-heading span{color:var(--muted);font-size:10px}.drawer-section{padding:20px 22px;border-bottom:1px solid var(--line)}.drawer-section h3{margin:0 0 17px;font-size:13px}.drawer-section .field-label:first-of-type{margin-top:0}.margin-box{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding:12px;border:1px solid var(--line);border-radius:7px;background:#0e1113}.margin-box span{color:var(--muted);font-size:10px}.margin-box strong{font-size:14px}.positive{color:var(--green)}.negative{color:var(--red)}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;cursor:pointer}.toggle-row>div{display:flex;flex-direction:column;gap:5px}.toggle-row strong{font-size:12px}.toggle-row span{color:var(--muted);font-size:9px}.toggle-row input{position:absolute;opacity:0}.toggle-row>i{position:relative;width:38px;height:22px;flex:0 0 auto;border-radius:12px;background:#3a4044;transition:background .2s}.toggle-row>i:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#e9ebec;transition:transform .2s}.toggle-row input:checked+i{background:var(--orange)}.toggle-row input:checked+i:after{transform:translate(16px)}.drawer-note{display:flex;gap:10px;margin:18px 22px;padding:12px;color:var(--orange);border:1px solid rgba(255,138,0,.45);border-radius:7px;background:#ff8a000f}.drawer-note span{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:9px;line-height:1.5}.drawer-note strong{color:var(--text-strong);font-size:10px}.drawer-note--live{color:var(--green);border-color:#42c8796b;background:#42c8790f}.drawer-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:9px;margin-top:auto;padding:15px 22px;border-top:1px solid var(--line);background:#141719}.modal-backdrop{display:grid;place-items:center;padding:22px}.modal{width:min(440px,100%);padding-bottom:18px;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:0 30px 90px #0000008c}.bulk-import-modal{width:min(980px,100%);max-height:min(880px,calc(100vh - 44px));display:flex;flex-direction:column;padding-bottom:0;overflow:hidden}.bulk-import-body{padding:20px 22px 0;overflow-y:auto}.bulk-import-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.bulk-import-steps>div{min-height:88px;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto 1fr;gap:3px 10px;padding:13px;border:1px solid var(--line);border-radius:7px;background:var(--surface-2)}.bulk-import-steps>div>span{width:30px;height:30px;grid-row:1 / 3;display:grid;place-items:center;color:var(--orange);border:1px solid rgba(255,138,0,.35);border-radius:6px;background:var(--orange-soft);font-size:12px;font-weight:800}.bulk-import-steps strong{align-self:end;font-size:12px}.bulk-import-steps small{color:var(--muted);font-size:10px;line-height:1.45}.excel-dropzone{min-height:122px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;margin:16px 0;padding:18px;color:var(--text-soft);border:1px dashed #545d62;border-radius:8px;background:var(--surface-2);cursor:pointer;transition:border-color .15s,background .15s}.excel-dropzone:hover,.excel-dropzone.is-dragging{border-color:var(--orange);background:var(--orange-soft)}.excel-dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.excel-dropzone-icon{color:var(--orange)}.excel-dropzone strong{font-size:12px}.excel-dropzone small{color:var(--muted);font-size:10px}.import-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}.import-summary>div{min-height:68px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:12px 14px;border:1px solid var(--line);border-radius:7px;background:var(--surface-2)}.import-summary span{color:var(--muted);font-size:10px}.import-summary strong{font-size:20px}.bulk-preview-table{max-height:330px;margin-top:14px;border:1px solid var(--line);border-radius:7px}.bulk-preview-table th{position:sticky;top:0;z-index:1}.bulk-preview-table td{height:44px}.import-row-error{background:#ef626212}.import-result{display:inline-block;max-width:330px;overflow:hidden;color:var(--text-soft);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.import-result--create{color:var(--green)}.import-result--update{color:var(--blue)}.import-result--unchanged{color:var(--muted)}.import-result--error{color:var(--red);white-space:normal}.import-result--update_rule,.import-result--create_paused{color:var(--green)}.import-result--cost_only{color:var(--blue)}.import-result--needs_review{color:var(--yellow);white-space:normal}.import-row-warning{background:#e9b94912}.cost-margin-modal{width:min(1240px,100%)}.cost-import-controls{display:flex;align-items:flex-end;gap:12px}.cost-import-controls>label{min-width:240px;display:flex;flex-direction:column;gap:7px;color:var(--text-soft);font-size:10px}.percentage-input{height:36px;display:grid;grid-template-columns:1fr 36px;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface-2)}.percentage-input:focus-within{border-color:var(--orange);box-shadow:0 0 0 3px var(--orange-soft)}.percentage-input input{min-width:0;padding:0 11px;color:var(--text);border:0;outline:0;background:transparent;font:inherit;font-size:12px}.percentage-input b{display:grid;place-items:center;color:var(--muted);border-left:1px solid var(--line)}.import-summary--costs{grid-template-columns:repeat(4,1fr)}.warning-text{color:var(--yellow)}.calculated-floor{display:flex;flex-direction:column;gap:3px}.calculated-floor small{color:var(--orange);font-size:9px;white-space:nowrap}.bulk-import-modal .modal-actions{flex:0 0 auto;margin-top:18px;background:var(--surface)}.modal>.field-label,.modal>.input,.modal>.field-help{width:calc(100% - 44px);margin-left:22px;margin-right:22px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;padding:16px 22px 0;border-top:1px solid var(--line)}.security-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.security-card{min-height:91px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;padding:15px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.security-icon{width:38px;height:38px;display:grid;place-items:center;color:var(--orange);border-radius:7px;background:var(--orange-soft)}.security-card>div:nth-child(2){display:flex;flex-direction:column;gap:5px}.security-card span{color:var(--muted);font-size:9px}.security-card strong{font-size:11px}.check-badge,.warning-badge{width:26px;height:26px;display:grid;place-items:center;border-radius:50%}.check-badge{color:var(--green)!important;background:#42c8791a}.warning-badge{color:var(--yellow)!important;background:#e9b9491a}.security-copy{padding:22px}.security-copy h2{margin:0 0 22px;font-size:16px}.security-copy ol{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0;padding:0;list-style:none}.security-copy li{display:flex;gap:12px}.security-copy li>span{width:28px;height:28px;flex:0 0 auto;display:grid;place-items:center;color:var(--orange);border:1px solid rgba(255,138,0,.35);border-radius:6px;background:var(--orange-soft);font-size:11px;font-weight:800}.security-copy li strong{font-size:11px}.security-copy li p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.55}.toast{position:fixed;right:22px;bottom:22px;z-index:90;max-width:440px;min-height:48px;display:flex;align-items:center;gap:10px;padding:11px 15px;color:#dce2de;border:1px solid rgba(66,200,121,.4);border-radius:8px;background:#17221b;box-shadow:0 16px 50px #0006;font-size:11px}.toast svg{color:var(--green);flex:0 0 auto}.toast--error{color:#ffd7d7;border-color:#ef62626b;background:#27191a}.toast--error svg{color:var(--red)}.metrics-grid--six{grid-template-columns:repeat(6,minmax(0,1fr))}.metric-card{grid-template-columns:39px 1fr}.metric-card .metric-copy{min-width:0;display:flex;flex-direction:column}.metric-icon--blue{color:var(--blue);background:#62a8ff1c}.metric-icon--yellow{color:var(--yellow);background:#e9b9491c}.metric-progress{width:100%;height:3px;margin-top:9px;overflow:hidden;border-radius:3px;background:var(--surface-3)}.metric-progress i{display:block;height:100%;border-radius:inherit;background:currentColor}.alert-strip{min-height:66px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:13px;margin-bottom:14px;padding:12px 15px;border:1px solid rgba(255,138,0,.44);border-radius:8px;background:var(--orange-soft)}.alert-strip-icon{width:36px;height:36px;display:grid;place-items:center;color:var(--orange);border-radius:7px;background:#ff8a001f}.alert-strip>div:nth-child(2){display:flex;flex-direction:column;gap:4px}.alert-strip strong{font-size:11px}.alert-strip span{color:var(--muted);font-size:10px;line-height:1.45}.alert-strip .button--ghost{color:var(--orange);border-color:#ff8a0075;background:var(--surface-1)}.alert-strip .button--ghost:hover{border-color:var(--orange);background:var(--surface-2)}.insight-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:14px}.performance-summary{display:grid;grid-template-columns:repeat(4,1fr);padding:20px 16px 16px}.performance-summary>div{display:flex;flex-direction:column;gap:6px;padding:0 14px;border-right:1px solid var(--line-soft)}.performance-summary>div:first-child{padding-left:0}.performance-summary>div:last-child{border-right:0}.performance-summary span{color:var(--muted);font-size:9px}.performance-summary strong{font-size:19px}.buybox-bar{height:8px;display:flex;margin:0 16px 12px;overflow:hidden;border-radius:5px;background:var(--surface-3)}.buybox-bar i{height:100%}.buybox-won{background:var(--green)}.buybox-lost{background:var(--red)}.buybox-suppressed{background:var(--yellow)}.legend{display:flex;align-items:center;gap:14px;padding:0 16px 18px;color:var(--muted);font-size:9px}.legend span{display:flex;align-items:center;gap:5px}.legend span:last-child{margin-left:auto}.legend i{width:7px;height:7px;border-radius:50%}.dot-green{background:var(--green)}.dot-red{background:var(--red)}.dot-yellow{background:var(--yellow)}.control-panel{padding:17px}.control-panel>div:first-child h2{margin:0;font-size:15px}.control-panel>div:first-child p{margin:5px 0 14px;color:var(--muted);font-size:10px}.control-list{display:flex;flex-direction:column;border-top:1px solid var(--line-soft)}.control-list>div{min-height:62px;display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--line-soft)}.control-list>div>svg{color:var(--orange)}.control-list>div>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.control-list strong{font-size:10px}.control-list small{color:var(--muted);font-size:9px}.client-switcher{position:relative;z-index:24}.client-switcher-trigger{min-width:270px;height:46px;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;padding:0 11px;color:var(--text);border:1px solid var(--line);border-radius:8px;background:var(--surface);cursor:pointer;text-align:left}.client-avatar--small{width:29px;height:29px}.client-switcher-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.client-switcher-copy strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.client-switcher-copy small{color:var(--muted);font-size:9px}.popover-backdrop{position:fixed;inset:0;z-index:-1;padding:0;border:0;background:transparent}.client-menu,.notification-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:25;width:310px;padding:7px;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:0 18px 55px #00000040}.client-menu>p{margin:5px 8px 8px;color:var(--muted);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.client-menu>button{width:100%;min-height:53px;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;padding:7px 8px;color:var(--text);border:0;border-radius:6px;background:transparent;cursor:pointer;text-align:left}.client-menu>button:hover,.client-menu>button.active{background:var(--surface-2)}.client-menu>button>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.client-menu strong{font-size:10px}.client-menu small{color:var(--muted);font-size:9px}.client-menu>button>svg{color:var(--green)}.notification-center{position:relative;z-index:24}.notification-trigger{position:relative}.notification-trigger>i{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;color:#170e03;border:2px solid var(--bg);border-radius:9px;background:var(--orange);font-size:8px;font-style:normal;font-weight:900}.notification-menu{right:0;left:auto;width:350px;padding:0;overflow:hidden}.notification-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid var(--line)}.notification-heading strong{font-size:12px}.notification-heading span{color:var(--muted);font-size:9px}.notification-menu>button{width:100%;min-height:62px;display:grid;grid-template-columns:32px 1fr;align-items:center;gap:10px;padding:9px 13px;color:var(--text);border:0;border-bottom:1px solid var(--line-soft);background:transparent;cursor:pointer;text-align:left}.notification-menu>button:hover{background:var(--surface-2)}.notification-menu>button>span:last-child{display:flex;flex-direction:column;gap:4px}.notification-menu strong{font-size:10px}.notification-menu small{color:var(--muted);font-size:9px}.notification-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--orange-soft);color:var(--orange)}.notification-icon--red{color:var(--red);background:#ef62621a}.notification-icon--yellow{color:var(--yellow);background:#e9b9491a}.notification-empty{min-height:100px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:10px}.notification-empty svg{color:var(--green)}.amazon-status--off>span{background:var(--red);box-shadow:0 0 0 3px #ef62621a}.row-actions{display:flex;gap:6px}.button--danger{color:#fff;border-color:var(--red);background:#c74444}.button--danger-ghost{color:var(--red);border-color:#ef626247;background:#ef62620f}.status--danger i,.status--error i{background:var(--red)}.row-floor-blocked{background:#ef626213;box-shadow:inset 3px 0 #ef6262bf}.row-floor-blocked:hover{background:#ef62621c}.row-buybox-suppressed{background:#e9b94913;box-shadow:inset 3px 0 #e9b949cc}.row-buybox-suppressed:hover{background:#e9b9491c}.activity-row--detailed{min-height:82px}.activity-values{display:flex;align-items:center;gap:7px;margin-top:3px}.activity-values b{color:var(--text-strong);font-size:10px}.activity-values>span{color:var(--orange)}.activity-values em{margin-left:4px;color:var(--green);font-size:9px;font-style:normal}.panel-count{color:var(--muted);font-size:10px}.report-table td{height:61px}.reason-cell{min-width:270px;max-width:390px;white-space:normal;line-height:1.45}.history-controls{min-height:72px;display:flex;align-items:center;gap:14px;margin-bottom:14px;padding:12px 14px;overflow:visible}.history-controls .search-box{margin-left:auto}.date-range-filter{display:flex;align-items:center;gap:8px}.date-range-presets{display:flex;gap:5px;margin-right:4px}.date-range-presets button{height:34px;padding:0 10px;color:var(--text-soft);border:1px solid var(--line);border-radius:6px;background:var(--surface-2);font-size:11px;cursor:pointer}.date-range-presets button:hover{color:var(--orange);border-color:#ff8a0080}.date-picker-control{position:relative;height:38px}.date-picker-control>button{width:100%;height:100%;display:grid;grid-template-columns:auto 16px 126px;align-items:center;gap:7px;padding:0 9px;color:var(--muted);border:1px solid var(--line);border-radius:7px;background:var(--input-bg);font:inherit;text-align:left;cursor:pointer;transition:color .15s,border-color .15s,background .15s,box-shadow .15s}.date-picker-control>button:hover,.date-picker-control>button:focus-visible{color:var(--orange);border-color:var(--orange);background:var(--orange-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--orange) 28%,transparent);outline:none}.date-picker-control>button:hover>svg,.date-picker-control>button:focus-visible>svg{color:var(--orange)}.date-picker-control>button>span{font-size:11px;font-weight:700}.date-picker-control>button>svg{color:var(--orange)}.date-picker-control>button>strong{overflow:hidden;color:var(--text);font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.date-picker-control>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;border:0;pointer-events:none;color-scheme:inherit}.live-sync-badge{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-size:11px;font-weight:700;white-space:nowrap}.grouped-history-panel{margin-bottom:14px}.product-history-list{content-visibility:auto}.product-history-group{border-bottom:1px solid var(--line-soft);content-visibility:auto;contain-intrinsic-size:70px}.product-history-group:last-child{border-bottom:0}.product-history-summary{width:100%;min-height:70px;display:grid;grid-template-columns:28px minmax(240px,1.35fr) minmax(220px,.85fr) minmax(115px,.45fr) 105px;align-items:center;gap:12px;padding:10px 15px;color:var(--text);border:0;background:transparent;cursor:pointer;text-align:left}.product-history-summary:hover{background:var(--hover)}.history-chevron{width:26px;height:26px;display:grid;place-items:center;color:var(--muted);border:1px solid var(--line);border-radius:6px;transition:color .15s,transform .15s}.product-history-group.open .history-chevron{color:var(--orange);transform:rotate(90deg)}.history-product,.history-price,.history-last-action{min-width:0;display:flex;flex-direction:column;gap:5px}.history-product strong{overflow:hidden;color:var(--text-strong);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.history-product small,.history-price small,.history-last-action small{color:var(--muted);font-size:11px}.history-stats{display:flex;flex-wrap:wrap;gap:6px}.history-stats b{padding:5px 7px;color:var(--text-soft);border-radius:5px;background:var(--surface-2);font-size:11px;font-weight:700;white-space:nowrap}.history-stats b.positive{color:var(--green);background:#42c87917}.history-stats b.negative{color:var(--red);background:#ef626217}.history-price strong{font-size:14px}.history-last-action strong{overflow:hidden;color:var(--text-strong);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.product-history-summary time{color:var(--muted);font-size:11px;text-align:right;white-space:nowrap}.history-details{border-top:1px solid var(--line-soft);background:color-mix(in srgb,var(--surface-2) 55%,transparent)}.history-details table{background:transparent}.history-limit-note{margin:0;padding:10px 15px;color:var(--muted);border-top:1px solid var(--line-soft);font-size:11px}.pagination{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px;border-top:1px solid var(--line)}.pagination>span{color:var(--muted);font-size:12px}.pagination>div{display:flex;gap:7px}.activity-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}.activity-summary-grid>div{min-height:78px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.activity-summary-grid strong{font-size:22px}.activity-summary-grid span{color:var(--muted);font-size:12px}.activity-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cycle-summary-panel{margin-bottom:14px}.cycle-summary-panel .activity-page-list{max-height:240px;overflow-y:auto}.activity-page-list .activity-copy span{max-width:none}.activity-history-group .product-history-summary{grid-template-columns:28px minmax(240px,1.25fr) minmax(150px,.55fr) minmax(180px,.75fr) 105px}.activity-history-group.is-verified .product-history-summary{background:#42c8790b;box-shadow:inset 3px 0 #42c879b8}.activity-history-group.is-verified .history-last-action strong,.activity-history-group.is-verified .product-history-summary time{color:var(--green)}.product-amazon-link{display:inline-block;max-width:100%;overflow:hidden;color:var(--text-strong);text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.product-amazon-link:hover{color:var(--orange);text-decoration:underline;text-underline-offset:3px}.product-amazon-link:hover strong{color:var(--orange)}.product-amazon-link:focus-visible{border-radius:3px;outline:2px solid var(--orange);outline-offset:2px}.modal-body{padding:20px 22px}.modal-body .field-label{margin-top:0}.confirm-icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:16px;color:var(--green);border-radius:9px;background:#42c8791a}.confirm-icon--danger{color:var(--red);background:#ef62621a}.modal-body h3{margin:0 0 8px;font-size:14px}.modal-body>p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}.danger-note{display:flex;align-items:center;gap:8px;margin-top:16px;padding:11px;color:var(--red);border:1px solid rgba(239,98,98,.28);border-radius:7px;background:#ef62620f;font-size:10px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-card{padding:20px}.settings-card--wide{grid-column:1 / -1}.settings-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:19px}.settings-title>svg{color:var(--orange)}.settings-title h2{margin:0;font-size:14px}.settings-title p{margin:5px 0 0;color:var(--muted);font-size:10px}.segmented-control{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.segmented-control button{min-height:40px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);border:1px solid var(--line);border-radius:7px;background:var(--surface-2);font-size:10px;cursor:pointer}.segmented-control button.active{color:var(--orange);border-color:var(--orange);background:var(--orange-soft)}.settings-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 30px}.setting-toggle{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line-soft);cursor:pointer}.setting-toggle>div{display:flex;flex-direction:column;gap:5px}.setting-toggle strong{font-size:11px}.setting-toggle span{color:var(--muted);font-size:9px}.setting-toggle input{position:absolute;opacity:0}.setting-toggle>i{position:relative;width:38px;height:22px;flex:0 0 auto;border-radius:12px;background:#687077;transition:background .2s}.setting-toggle>i:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .2s}.setting-toggle input:checked+i{background:var(--orange)}.setting-toggle input:checked+i:after{transform:translate(16px)}.inline-note{display:flex;align-items:center;gap:8px;margin-top:13px;padding:10px;color:var(--warning-text);border-radius:6px;background:#e9b9491a;font-size:9px}.inline-note--success{color:var(--green);background:#42c8791a}:root[data-theme=light] .product-cell strong,:root[data-theme=light] .client-name strong,:root[data-theme=light] .activity-copy strong,:root[data-theme=light] .drawer-note strong{color:var(--text-strong)}:root[data-theme=light] .search-box,:root[data-theme=light] .margin-box{background:var(--input-bg)}:root[data-theme=light] .rule-drawer,:root[data-theme=light] .drawer-actions{background:var(--surface)}@media(prefers-color-scheme:light){:root[data-theme=auto] .product-cell strong,:root[data-theme=auto] .client-name strong,:root[data-theme=auto] .activity-copy strong,:root[data-theme=auto] .drawer-note strong{color:var(--text-strong)}:root[data-theme=auto] .search-box,:root[data-theme=auto] .margin-box{background:var(--input-bg)}:root[data-theme=auto] .rule-drawer,:root[data-theme=auto] .drawer-actions{background:var(--surface)}}.product-cell .product-amazon-link:hover strong{color:var(--orange)}.button{font-size:13px}.button--small{font-size:12px}.sidebar nav button,.sidebar-footer a,.sidebar-footer button{font-size:13px}.client-switcher-copy strong,.admin-copy{font-size:12px}.client-switcher-copy small,.admin-copy span{font-size:10px}.amazon-status{font-size:12px}.page-header p:not(.eyebrow){font-size:14px}.safety-banner span,.metric-card span{font-size:12px}.metric-card small,.panel-heading p,.text-button{font-size:13px}th,td,.client-name strong,.product-cell strong,.competitor-price strong{font-size:12px}.client-name small,.product-cell small,.competitor-price small,.activity-copy span,.activity-row time,.legend,.performance-summary span,.control-list small,.client-menu small,.notification-heading span,.notification-menu small,.setting-toggle span,.inline-note{font-size:12px}.status,.secure-token,code,.control-list strong,.client-menu strong,.notification-menu strong,.panel-count,.tag{font-size:12px}.activity-copy strong,.alert-strip span,.control-panel>div:first-child p,.settings-title p,.security-copy li p{font-size:13px}.alert-strip strong,.setting-toggle strong,.security-card strong,.notification-heading strong{font-size:13px}.notification-empty{font-size:11px}.drawer-heading span,.margin-box span,.toggle-row span,.drawer-note span{font-size:12px}.drawer-note strong{font-size:13px}@media(max-width:1400px){.history-controls{flex-wrap:wrap}.date-range-filter{width:100%}.history-controls .search-box{width:auto;min-width:220px;flex:1 1 260px;margin-left:0}.live-sync-badge{margin-left:auto}}@media(max-width:1100px){.metrics-grid,.metrics-grid--six,.security-grid{grid-template-columns:repeat(2,1fr)}.overview-grid,.insight-grid{grid-template-columns:1fr}.quick-control{grid-template-columns:1fr auto}.live-lock{grid-column:1 / -1;padding:15px 0 0;border-top:1px solid var(--line);border-left:0}.security-copy ol{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar>.button{margin-left:0}.history-controls{align-items:stretch;flex-wrap:wrap}.history-controls .search-box{margin-left:0}.live-sync-badge{margin-left:auto}.product-history-summary,.activity-history-group .product-history-summary{grid-template-columns:28px minmax(220px,1fr) minmax(180px,.7fr) 105px}.history-price,.history-last-action{display:none}}@media(max-width:760px){.login-shell{grid-template-columns:1fr}.login-panel{min-height:auto;padding:28px 24px;border-right:0;border-bottom:1px solid var(--line)}.login-copy{margin-top:68px}.login-copy h1{font-size:40px}.login-safety{margin-top:54px}.login-form-wrap{padding:42px 24px}.app-shell{display:block}.sidebar{visibility:hidden;transform:translate(calc(-100% - 2px));transition:transform .2s,visibility 0s linear .2s}.sidebar--open{visibility:visible;transform:translate(0);transition-delay:0s}.mobile-close{width:32px;height:32px;display:grid;place-items:center;margin-left:auto;color:var(--nav-text);border:0;background:transparent}.nav-backdrop{position:fixed;inset:0;z-index:25;display:block;border:0;background:#00000094}.workspace{min-width:0}.topbar{height:64px;padding:0 14px;gap:10px}.menu-button{width:36px;height:36px;display:grid;place-items:center;color:var(--text-soft);border:1px solid var(--line);border-radius:7px;background:var(--surface)}.client-select,.client-switcher{min-width:0;flex:1}.client-switcher-trigger{width:100%;min-width:0;height:42px}.client-switcher-copy small{display:none}.client-menu{width:min(310px,calc(100vw - 28px))}.amazon-status{width:34px;padding:0;justify-content:center}.amazon-status>span,.amazon-status:not(svg){font-size:0}.amazon-status svg{display:block;color:var(--green)}.topbar .icon-button,.admin-profile .admin-copy,.admin-settings-icon{display:none}.realtime-status{width:10px;height:10px;padding:0;overflow:hidden;border:0;background:transparent;font-size:0}.realtime-status i{width:8px;height:8px}.admin-profile{min-width:42px;width:42px;height:42px;grid-template-columns:1fr;padding:0;place-items:center}.admin-avatar{width:32px;height:32px;border:0;background:transparent}.admin-avatar img{width:27px;height:27px}.content{padding:24px 14px 42px}.content--inventory{height:calc(100dvh - 64px);padding-bottom:14px}.page-header{align-items:flex-start;gap:16px}.page-header h1{font-size:25px}.page-header--actions{flex-direction:column}.page-actions{width:100%}.page-actions .button{flex:1}.safety-banner{align-items:flex-start}.safety-banner .safety-pill{display:none}.metrics-grid,.metrics-grid--six,.security-grid,.settings-grid{grid-template-columns:1fr}.settings-card--wide{grid-column:auto}.settings-list{grid-template-columns:1fr}.performance-summary{grid-template-columns:repeat(2,1fr);gap:16px 0}.performance-summary>div:nth-child(2){border-right:0}.legend{flex-wrap:wrap}.legend span:last-child{width:100%;margin-left:0}.alert-strip{grid-template-columns:38px 1fr}.alert-strip>.button{grid-column:1 / -1}.notification-menu{position:fixed;top:64px;right:10px;left:10px;width:auto}.row-actions{flex-direction:column}.quick-control{grid-template-columns:1fr}.quick-control>.button{width:100%}.filter-group{width:100%;overflow-x:auto}.toolbar .search-box{width:100%}.toolbar>.button{margin-left:auto}.activity-row{grid-template-columns:34px 1fr}.activity-row time{grid-column:2}.date-range-filter{width:100%;flex-wrap:wrap}.date-range-presets{width:100%;overflow-x:auto}.date-picker-control{flex:1}.date-picker-control>button{grid-template-columns:auto 16px minmax(105px,1fr)}.history-controls .search-box{width:100%}.live-sync-badge{margin-left:0}.activity-summary-grid,.activity-insight-grid{grid-template-columns:1fr}.product-history-summary,.activity-history-group .product-history-summary{grid-template-columns:28px minmax(0,1fr) auto}.history-stats{display:none}.product-history-summary time{font-size:10px}.toast{right:14px;bottom:14px;left:14px}.bulk-import-modal{max-height:calc(100vh - 20px)}.bulk-import-body{padding-inline:14px}.bulk-import-steps{grid-template-columns:1fr}.import-summary{grid-template-columns:repeat(2,1fr)}.cost-import-controls{align-items:stretch;flex-direction:column}.cost-import-controls>label{min-width:0;width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.sidebar-automation{margin:12px 22px 22px;color:var(--muted);font-size:11px}.sidebar-automation>strong{display:flex;align-items:center;gap:7px;color:var(--text);font-size:12px}.sidebar-automation>strong i{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--green)}.sidebar-automation p{margin:10px 0 13px;line-height:1.7}.sidebar-automation p b{display:block;color:var(--text);font-weight:600}.automation-progress{height:5px;overflow:hidden;border-radius:5px;background:var(--surface-3)}.automation-progress>span{display:block;height:100%;border-radius:inherit;background:var(--green);transition:width 1s linear}.automation-times{display:flex;justify-content:space-between;gap:6px;margin-top:7px;font-size:10px;font-variant-numeric:tabular-nums}.sidebar-automation>small{display:block;margin-top:10px;font-size:11px}.sidebar-automation.is-paused>strong i{background:var(--muted)}.sidebar-automation.is-waiting>strong i,.sidebar-automation.is-waiting .automation-progress>span{background:var(--yellow)}.inventory-current-price{font-weight:700;color:var(--text-strong)}button.history-chevron{padding:0;background:transparent;cursor:pointer}.history-product .product-amazon-link{line-height:1.5}.date-range-presets button[aria-pressed=true]{color:var(--orange);background:var(--orange-soft);border-color:var(--orange)}@media(max-height:720px){.sidebar{overflow-y:auto}.sidebar-top,.sidebar-footer{flex-shrink:0}.sidebar-automation{margin-top:0}}@media(prefers-reduced-motion:reduce){.automation-progress>span{transition:none}}.sidebar-footer .suite-return{display:flex;align-items:center;gap:10px;padding:11px 14px;color:var(--nav-text);border-radius:9px;font-size:13px;text-decoration:none}.sidebar-footer .suite-return:hover{color:var(--text);background:var(--orange-soft)}.sidebar-footer .suite-return:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
