:root{--bg:#f6f7f9;--panel:#fff;--text:#1f2430;--muted:#6b7280;--border:#e2e5ea;--primary:#d97536;--primary-dark:#b85e26;--danger:#c0392b;font-family:Hiragino Sans,Yu Gothic UI,Meiryo,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-size:15px;line-height:1.6}.layout{flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--panel);border-bottom:1px solid var(--border);align-items:center;gap:24px;height:56px;padding:0 24px;display:flex}.brand{color:var(--primary-dark);font-size:18px;font-weight:700}.topbar nav{flex:1;gap:4px;display:flex}.topbar nav a{color:var(--text);border-radius:8px;padding:6px 14px;text-decoration:none}.topbar nav a:hover{background:#f0ece7}.topbar nav a.active{color:var(--primary-dark);background:#f7e8dc;font-weight:600}.userbox{color:var(--muted);align-items:center;gap:12px;display:flex}main{flex:1;min-width:0}.page{max-width:860px;margin:0 auto;padding:32px 24px 64px}h1{margin:0 0 12px;font-size:24px}h2{margin:28px 0 10px;font-size:17px}.muted{color:var(--muted)}.center-note{text-align:center;color:var(--muted);padding:80px}.field{margin:16px 0;font-weight:600;display:block}.field.inline{flex-direction:column;margin:0;display:inline-flex}.ebay-connect{justify-content:center;align-items:center;gap:8px;display:inline-flex}.ebay-connect svg{flex-shrink:0}.ebay-connection-status{align-items:center}.ebay-account-panel{overflow-wrap:anywhere}.ebay-account-panel .field{min-width:0;max-width:100%}.ebay-advanced{border-block:1px solid var(--border);margin:24px 0;padding:16px 0}.ebay-advanced summary{cursor:pointer;font-weight:600}.ebay-credentials{border:0;min-width:0;margin:0;padding:20px 0 0}.field.inline.ebay-webhook{width:420px;min-width:0;max-width:100%}.field input,.field textarea,.field select{border:1px solid var(--border);width:100%;font:inherit;background:var(--panel);border-radius:8px;margin-top:6px;padding:8px 10px;font-weight:400;display:block}.field textarea{resize:vertical}.row{flex-wrap:wrap;align-items:flex-end;gap:20px;margin:16px 0;display:flex}.condition-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;max-width:860px;margin:12px 0 18px;display:grid}.condition-grid .field{margin:0}.option-line{align-items:center;gap:10px;margin:8px 0;font-weight:600;display:flex}.option-line input[type=checkbox]{width:18px;height:18px;accent-color:var(--primary)}button,.button{background:var(--primary);color:#fff;font:inherit;cursor:pointer;border:none;border-radius:8px;padding:9px 20px;font-weight:600;text-decoration:none;display:inline-block}button:hover:not(:disabled),.button:hover{background:var(--primary-dark)}button:disabled{opacity:.5;cursor:default}button.ghost{color:var(--text);background:#fff;border:1px solid #b9c2cf;font-weight:600;box-shadow:0 1px #1f24300a}button.ghost:hover:not(:disabled){border-color:var(--primary);color:var(--primary-dark);background:#fff4ec}.button.ghost-link{color:var(--muted);border:1px solid var(--border);background:0 0;font-weight:400}.button.ghost-link:hover{color:var(--text);background:#f0f0f0}.error{color:var(--danger);background:#fdecea;border-radius:8px;margin:12px 0;padding:10px 14px}.success{color:#176b36;background:#ebf8ef;border:1px solid #9cd8b2;border-radius:8px;margin:12px 0;padding:10px 14px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;margin-top:24px;padding:20px 24px}.panel h2{margin-top:0}.panel-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.panel-heading h2{margin-bottom:4px}.sku-restore-panel{max-width:680px}.sku-restore-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.sku-restore-form .field{margin:0}.sku-restore-form button{white-space:nowrap;min-height:44px}.sku-restore-result{justify-content:space-between;align-items:center;gap:16px;margin-bottom:0;display:flex}.sku-restore-result .button{flex:none}.settings-grid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:0 18px;display:grid}.settings-grid-wide{grid-column:1/-1}.credential-status{color:var(--muted);flex-wrap:wrap;gap:10px;margin:12px 0 4px;font-size:13px;display:flex}.credential-status span{border:1px solid var(--border);background:#fafafa;border-radius:999px;padding:3px 9px}.small-note{margin-bottom:0;font-size:13px}@media (width<=640px){.topbar{gap:12px;width:100%;height:auto;min-height:56px;padding:8px 12px;overflow-x:auto}.brand,.topbar nav,.userbox{flex:none}.topbar nav a{white-space:nowrap;padding:6px 10px}.page{width:100%;padding:24px 16px 48px}.settings-grid,.sku-restore-form{grid-template-columns:1fr}.sku-restore-form button{width:100%}.sku-restore-result{flex-direction:column;align-items:stretch}.sku-restore-result .button{text-align:center}}progress{width:100%;height:10px;accent-color:var(--primary)}.login-wrap{justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:var(--panel);border:1px solid var(--border);border-radius:16px;width:min(420px,100vw - 32px);padding:36px}.login-card h1{text-align:center;color:var(--primary-dark)}.login-card p{text-align:center;margin-top:0}.login-card label{margin:14px 0;font-weight:600;display:block}.login-card input{border:1px solid var(--border);width:100%;font:inherit;border-radius:8px;margin-top:6px;padding:9px 10px;display:block}.login-card button{width:100%;margin-top:18px}.mfa-card{text-align:center}.mfa-card label{text-align:left}.mfa-qr{border:1px solid var(--border);width:200px;height:200px;margin:18px auto;display:block}.mfa-secret{color:var(--muted);gap:6px;margin:12px 0 18px;font-size:13px;display:grid}.mfa-secret code{overflow-wrap:anywhere;color:var(--text);font-size:14px}.login-card .login-back{margin-top:10px}.registration-card{width:min(500px,100vw - 32px)}.registration-card .registration-notice{text-align:center}.registration-card .auth-switch{margin:20px 0 0;font-size:14px}.registration-card .auth-switch a,.policy-check a{color:var(--primary-dark)}.registration-card .button.secondary,.registration-primary-link{text-align:center;width:100%;margin-top:12px}.field-help{color:var(--muted);margin-top:4px;font-size:12px;font-weight:400;display:block}.login-card label.policy-check{align-items:flex-start;gap:8px;margin:12px 0;font-size:14px;font-weight:400;display:flex}.login-card label.policy-check input{width:18px;height:18px;accent-color:var(--primary);flex:0 0 18px;margin:3px 0 0}.account-banner{color:#8a491f;text-align:center;background:#fff4e8;border-bottom:1px solid #f1cda9;padding:9px 24px;font-size:13px}table.jobs{border-collapse:collapse;background:var(--panel);border:1px solid var(--border);border-radius:12px;width:100%;overflow:hidden}table.jobs th,table.jobs td{text-align:left;border-bottom:1px solid var(--border);padding:8px 14px;font-size:14px}table.jobs th{background:#fafafa;font-weight:600}.batch-work{border-top:1px solid #dce1e8;margin-top:32px;padding-top:20px}.batch-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.batch-heading h2{margin:0;font-size:18px}.batch-heading select{min-width:0;max-width:100%}.batch-summary{flex-wrap:wrap;align-items:center;margin:16px 0}.batch-row{border-bottom:1px solid #dce1e8;grid-template-columns:32px minmax(0,1.4fr) minmax(0,1fr) minmax(160px,1fr);gap:14px;padding:16px 0;font-size:14px;display:grid}.batch-columns{color:#627182;font-size:12px}.batch-number{color:#627182}.batch-identity{overflow-wrap:anywhere;flex-direction:column;gap:4px;min-width:0;display:flex}.batch-url{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;display:block;overflow:hidden}.batch-actions{flex-wrap:wrap;align-content:start;align-items:start;gap:8px;display:flex}.batch-actions .button,.batch-summary button{justify-content:center;align-items:center;gap:6px;font-size:13px;display:inline-flex}.batch-error{color:#b52d22;overflow-wrap:anywhere;margin-top:8px}.icon-button{flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:inline-flex}.csv-input{margin:20px 0}.csv-preview{max-height:280px;margin-top:12px;overflow:auto}.csv-input-row{overflow-wrap:anywhere;border-bottom:1px solid #dce1e8;grid-template-columns:30px minmax(80px,.7fr) minmax(100px,1fr) minmax(0,1fr);gap:10px;padding:10px 0;font-size:13px;display:grid}.review-row-heading{overflow-wrap:anywhere;flex-direction:column;gap:8px;margin-bottom:16px;display:flex}@media (width<=640px){.batch-columns{display:none}.batch-row{grid-template-columns:24px minmax(0,1fr);gap:10px}.batch-row>div:nth-child(3),.batch-actions{grid-column:2}.csv-input-row{grid-template-columns:24px minmax(0,1fr)}.csv-input-row strong,.csv-input-row .batch-url{grid-column:2}}.job-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.job-actions .button{text-align:center;min-width:64px;padding:7px 16px}.badge{background:#eee;border-radius:999px;padding:1px 10px;font-size:13px;display:inline-block}.badge.running,.badge.pending{color:#1a56db;background:#e8f0fe}.badge.done{color:#187a37;background:#def7e4}.badge.error{color:var(--danger);background:#fdecea}.badge.canceled{color:var(--muted);background:#f3f4f6}.badge.fetching{color:#1a56db;background:#e8f0fe}.badge.ready{color:var(--primary-dark);background:#fdf3e7}.admin-link-corner{text-align:right;margin-top:32px;font-size:12px}.admin-link-corner a{color:var(--muted)}.admin-link-corner a:hover{color:var(--text)}.button.secondary{color:var(--primary-dark);border:1px solid var(--primary);background:0 0}.button.secondary:hover{background:#f7e8dc}.review-page{flex-direction:column;height:calc(100dvh - 56px);padding:16px 24px 0;display:flex}.review-header{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.review-header .review-row-heading{flex:240px;gap:2px;min-width:0;margin:0;font-size:13px}.review-header>.muted{font-size:13px}.review-header h1{margin:0;font-size:18px}.review-actions{border-block:1px solid var(--border);flex-wrap:wrap;flex-basis:100%;align-items:center;gap:10px;max-width:100%;margin:0;padding:8px 0;display:none}button.detail-export-icon{flex:0 0 40px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;display:inline-flex}.detail-export-dialog{border:1px solid var(--border);width:min(440px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);background:#fff;border-radius:8px;margin:auto;padding:24px;overflow:auto}.detail-export-dialog::backdrop{background:#14191e73}.image-check-repeat .row{justify-content:flex-end;margin-bottom:0}.image-check-repeat p{line-height:1.7}.detail-export-heading{align-items:center;gap:12px;margin-bottom:20px;display:flex}.detail-export-heading h2{flex:1;margin:0;font-size:18px;line-height:1.5}.detail-export-dialog .field{margin-bottom:20px}.detail-export-dialog input{width:100%;font-size:20px}.detail-export-dialog .error{overflow-wrap:anywhere}.detail-export-authorized{line-height:1.8}.detail-export-authorized svg{vertical-align:middle;color:#267544;margin-right:6px}.detail-export-submit{justify-content:center;align-items:center;width:100%;min-height:42px;display:flex}.check-progress{color:var(--primary-dark);font-weight:600}.check-result{margin:4px 0 0}.filter-tabs{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.review-display-toolbar{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:0 16px;display:flex}.review-display-toolbar .filter-tabs{flex:auto}.review-display-order{white-space:nowrap;align-items:center;gap:8px;margin:6px 0 6px auto;font-size:13px;display:flex}.review-display-order select{background:var(--panel);width:164px;min-height:36px;color:var(--text);font:inherit;border:1px solid #c5ceda;border-radius:6px;padding:6px 10px}@media (width<=900px){.review-display-toolbar .filter-tabs{flex-basis:0;min-width:0}.review-display-order{margin-top:0}.review-display-order select{min-height:44px;font-size:16px}}@media (width<=560px){.review-display-toolbar .filter-tabs{flex-basis:100%}}.tab{background:var(--panel);color:var(--text);border:1px solid #c5ceda;padding:5px 14px;font-weight:600;box-shadow:0 1px #1f24300a}.tab:hover:not(:disabled){border-color:var(--primary);color:var(--primary-dark);background:#fff4ec}.tab.active{border-color:var(--primary);color:var(--primary-dark);box-shadow:inset 0 0 0 1px var(--primary);background:#fff1e6}.review-scroll{border-top:1px solid var(--border);flex:1;padding-top:8px;overflow-y:auto}.review-row{gap:12px;padding:0 2px 12px;display:grid}.item-card{background:var(--panel);border:2px solid var(--border);border-radius:10px;flex-direction:column;height:324px;display:flex;overflow:hidden}.item-card.is-flagged{border-color:#e02424}.item-card.is-excluded{opacity:.55}.item-card.is-deleted{opacity:.35}.thumb{cursor:zoom-in;width:100%;height:170px;box-shadow:none;background:#f0f0f0;border:0;border-radius:0;flex-shrink:0;padding:0;display:block;position:relative}.thumb:hover:not(:disabled){box-shadow:none;background:#e8ebef}.thumb:disabled{cursor:default;opacity:1}.thumb img{object-fit:contain;width:100%;height:100%}.noimg{height:100%;color:var(--muted);justify-content:center;align-items:center;display:flex}.flag-badge{color:#fff;background:#e02424;border-radius:6px;padding:1px 8px;font-size:12px;font-weight:700;position:absolute;top:6px;left:6px}.state-overlay{color:#fff;background:#1f2430bf;border-radius:6px;padding:1px 8px;font-size:12px;position:absolute;top:6px;right:6px}.image-count-badge{color:#fff;background:#1f2430c7;border-radius:6px;padding:2px 7px;font-size:12px;font-weight:700;position:absolute;bottom:6px;right:6px}.item-body{flex-direction:column;gap:2px;min-height:0;padding:8px 10px 10px;display:flex}.item-title{color:inherit;text-decoration:none}.item-title:hover{color:var(--primary-dark);text-decoration:underline}.image-viewer-backdrop{z-index:1000;background:#111827b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.image-viewer{border:1px solid var(--border);background:var(--panel);border-radius:8px;grid-template-rows:auto minmax(260px,1fr) auto auto;width:min(860px,92vw);max-height:88vh;display:grid;overflow:hidden;box-shadow:0 20px 60px #0000004d}.image-viewer-header{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto 40px;align-items:center;gap:12px;min-height:52px;padding:6px 8px 6px 16px;display:grid}.image-viewer-title{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;overflow:hidden}.image-viewer-close,.image-viewer-nav{color:#223044;box-shadow:none;background:#fff;border:1px solid #aeb8c6;place-items:center;padding:0;display:grid}.image-viewer-close{width:36px;height:36px;font-size:24px}.image-viewer-stage{background:#eef1f4;place-items:center;min-height:260px;display:grid;position:relative;overflow:hidden}.image-viewer-stage>img{object-fit:contain;width:100%;height:100%;max-height:60vh}.image-viewer-nav{z-index:1;width:42px;height:52px;font-size:34px;position:absolute;top:50%;transform:translateY(-50%)}.image-viewer-nav.previous{left:10px}.image-viewer-nav.next{right:10px}.image-viewer-thumbs{border-top:1px solid var(--border);background:#fff;gap:6px;min-height:72px;padding:8px;display:flex;overflow-x:auto}.image-viewer-thumbs button{width:58px;height:58px;box-shadow:none;background:#eef1f4;border:2px solid #0000;border-radius:6px;flex:0 0 58px;padding:2px}.image-viewer-thumbs button.active{border-color:var(--primary)}.image-viewer-thumbs img{object-fit:contain;width:100%;height:100%}.image-viewer-count{color:var(--muted);text-align:center;padding:5px 12px 8px;font-size:12px}@media (width<=640px){.image-viewer-backdrop{padding:10px}.image-viewer{width:100%;max-height:92vh}.image-viewer-header{grid-template-columns:minmax(0,1fr) 36px}.image-viewer-header>a{display:none}}.item-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;height:2.8em;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}.item-meta{justify-content:space-between;align-items:baseline;font-size:13px;display:flex}.item-price{color:var(--primary-dark);font-weight:700}.item-seller{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.item-buttons{flex-wrap:wrap;gap:4px;margin-top:auto;display:flex}button.price-btn{color:#223044;background:#fff;border-color:#aeb8c6;min-width:32px;padding:3px 7px;font-size:13px;line-height:1}.item-buttons button.ghost{color:#223044;background:#fff;border-color:#aeb8c6;font-weight:600}.item-buttons button.ghost:hover:not(:disabled){border-color:var(--primary);color:var(--primary-dark);background:#fff1e6}button.ghost:disabled,.tab:disabled{color:#9aa5b1;box-shadow:none;cursor:not-allowed;background:#f5f7fa;border-color:#d9dee6}.item-card.is-adjusted{background:#fff9e6;border-color:#ff9800}.adjust-badge{color:#b45309;background:#ffedd5;border:1px solid #ff9800;border-radius:999px;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:700}.adjust-badge:hover{background:#fed7aa}button.small{padding:3px 10px;font-size:12px}.review-actions.is-open{display:flex}.category-select{border:1px solid var(--border);font:inherit;background:var(--panel);border-radius:8px;padding:8px 10px}.category-id-input{width:132px}.notice{color:#187a37;background:#def7e4;border-radius:8px;margin:12px 0;padding:10px 14px}.inline-create{gap:6px;margin-top:6px;display:flex}.inline-create input{margin-top:0}.table-scroll{border:1px solid var(--border);background:var(--panel);border-radius:12px;width:fit-content;max-width:100%;max-height:55vh;overflow-y:auto}.small-text{font-size:12px;line-height:1.5}.compact-action{align-items:center;gap:6px;margin-top:6px;display:flex}.compact-action input{border:1px solid var(--border);width:96px;min-width:0;font:inherit;border-radius:6px;padding:5px 7px}.tester-access-setting{flex-wrap:wrap}.tester-access-setting input[type=datetime-local]{width:190px;min-width:190px}.usage-heading{border-top:1px solid var(--border);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;margin:20px 0 8px;padding:16px 0;display:flex}.usage-heading strong{margin-top:2px;font-size:20px;display:block}.plan-section,.billing-actions{border-top:1px solid var(--border);margin-top:32px;padding-top:24px}.plan-section h2,.billing-actions h2{margin:0 0 4px;font-size:20px}.plan-section-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px;display:flex}.plan-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.plan-card{border:1px solid var(--border);background:var(--panel);border-radius:8px;flex-direction:column;min-width:0;padding:18px;display:flex;position:relative}.plan-card.recommended{border:2px solid var(--primary);padding:17px}.plan-recommend{background:var(--primary);color:#fff;border-radius:5px;padding:3px 8px;font-size:12px;font-weight:700;position:absolute;top:-12px;left:16px}.plan-card h3{margin:4px 0 10px;font-size:17px}.plan-price{align-items:baseline;gap:3px;margin:0 0 16px;display:flex}.plan-price strong{font-size:24px}.plan-price span{color:var(--muted);font-size:13px}.plan-card dl{margin:0 0 18px}.plan-card dl div{border-top:1px solid var(--border);padding:9px 0}.plan-card dt{color:var(--muted);font-size:12px}.plan-card dd{margin:2px 0 0;font-weight:700}.plan-card button{width:100%;margin-top:auto;padding-inline:10px}.billing-actions{justify-content:space-between;align-items:center;gap:20px;display:flex}@media (width<=900px){.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.plan-grid{grid-template-columns:1fr}.billing-actions{flex-direction:column;align-items:stretch}}.table-scroll table.price-table{border:none}.table-scroll table.price-table thead th{z-index:1;background:#fafafa;position:sticky;top:0}table.price-table{border-collapse:collapse;background:var(--panel);border:1px solid var(--border);border-radius:12px}table.price-table th,table.price-table td{border-bottom:1px solid var(--border);text-align:left;padding:6px 10px}table.price-table input{border:1px solid var(--border);width:130px;font:inherit;border-radius:6px;padding:6px 8px}.rules-import{border-bottom:1px solid #d8dde5;margin-bottom:20px;padding:12px 0 20px}.rules-import h2{margin:0;font-size:18px}.rules-import details{overflow-wrap:anywhere;margin:12px 0}.rules-import button,.rule-profiles button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.rules-import .row,.rule-profiles .row{flex-wrap:wrap}.rule-checkbox{align-items:center;gap:8px;margin:12px 0;display:flex}.rule-checkbox input,.rule-profile-table input[type=radio]{flex:0 0 18px;width:18px;height:18px;padding:0}.rule-pager{justify-content:flex-end;margin:12px 0}.rule-pager .icon-btn,.rule-profiles .icon-btn{width:36px;height:36px;padding:6px}.rule-profile-table{min-width:800px}.rule-profile-table input[type=number]{width:104px}.rule-profiles{margin-bottom:16px}.rule-profiles .field:first-child select{min-width:190px}.store-category-rules{min-width:0}.settings-section-heading{flex-wrap:wrap;align-items:center;gap:12px;margin:28px 0 10px;display:flex}.settings-section-heading h2{margin:0}.csv-template-button{justify-content:center;align-items:center;gap:6px;padding:8px 12px;display:inline-flex}.csv-template-button svg{flex-shrink:0}.settings-import-fields{border:0;min-width:0;margin:0;padding:0}.settings-csv-import{min-width:0;margin:16px 0}.settings-csv-import button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.settings-csv-import h2{overflow-wrap:anywhere}.store-category-rules button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.store-category-rules .icon-btn{flex:0 0 32px;width:32px;height:32px;padding:6px}.store-category-rules .field{min-width:0;max-width:100%}.store-category-rules h2{overflow-wrap:anywhere}.store-category-rules table input{width:150px}.store-category-rules table input[inputmode=numeric]{width:200px}.store-category-rules th{white-space:nowrap}.store-category-rules td:first-child .row{flex-wrap:nowrap;align-items:center;gap:6px;margin:0}.store-category-rules td:first-child{min-width:116px}.rule-delete{justify-content:center;align-items:center;width:36px;min-width:36px;height:36px;padding:6px;display:inline-flex}.ebay-api-usage{min-width:0;margin-bottom:32px}.ebay-api-usage h2{margin:0}.ebay-api-usage .row{justify-content:space-between;align-items:center}.ebay-api-usage button{place-items:center;width:38px;height:38px;padding:8px;display:grid}.ebay-api-usage table{border-collapse:collapse;width:100%;min-width:540px}.ebay-api-usage th,.ebay-api-usage td{text-align:left;border-bottom:1px solid #dde1e8;padding:8px}.ebay-api-usage td{overflow-wrap:anywhere}.stock-rules{border-top:1px solid #d6dce5;border-bottom:1px solid #d6dce5;margin:22px 0;padding:18px 0}.stock-rules fieldset{border:0;min-width:0;margin:12px 0 0;padding:0}.stock-rules button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.stock-rules input[type=number]{border:1px solid var(--border);background:var(--panel);height:40px;color:var(--text);font:inherit;border-radius:6px;padding:8px}.stock-rules input[type=number]:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.stock-rule-number{flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0 18px;display:flex}.stock-rule-number input{width:96px}.stock-view-rules{margin:10px 0 18px}.stock-view-rule{flex-wrap:wrap;align-items:end;gap:8px;margin-bottom:8px;display:flex}.stock-view-rule label{gap:4px;font-size:13px;display:grid}.stock-view-rule input{width:92px}.stock-view-rule>span{padding-bottom:10px}.stock-view-rule button{flex:0 0 40px;width:40px;height:40px;padding:8px}.stock-upload{border-bottom:1px solid var(--border);padding:16px 0 8px}.stock-upload-row{flex-wrap:wrap;align-items:end;gap:16px;display:flex}.stock-upload-row .field{flex:320px;min-width:0;margin:0}.stock-upload-row input[type=file]{box-sizing:border-box;width:100%;min-width:0}.stock-start{justify-content:center;align-items:center;gap:8px;min-height:44px;display:inline-flex}.stock-accounts{border:0;min-width:0;margin:20px 0 0;padding:0}.stock-accounts legend{margin-bottom:8px;padding:0;font-size:14px;font-weight:600}.stock-account-options{flex-wrap:wrap;gap:10px;display:flex}.stock-account{border:1px solid var(--border);cursor:pointer;background:var(--panel);border-radius:6px;flex:160px;align-items:center;gap:10px;min-width:0;padding:10px 14px;display:flex}.stock-account.selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.stock-account input{flex:0 0 18px;width:18px;height:18px;margin:0}.stock-account>span{overflow-wrap:anywhere;gap:2px;min-width:0;display:grid}.stock-account:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:2px}.stock-accounts:disabled .stock-account{cursor:default;opacity:.65}.stock-save-state{min-height:32px;padding-top:8px}.stock-save-state .error{justify-content:space-between;align-items:center;gap:8px;display:flex}.stock-save-state button{flex:0 0 36px;place-items:center;width:36px;height:36px;padding:6px;display:grid}.stock-options{padding-top:20px}.stock-options h2{margin-top:0}@media (width<=560px){.stock-upload-row .field{flex-basis:100%}.stock-start{width:100%}.stock-account{flex-basis:100px;padding:10px}}.review-actions>button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.review-images-deferred{text-align:center;color:var(--muted,#657083);border-top:1px solid #d7dce3;padding:40px 16px}.review-check-status{border-block:1px solid var(--border);flex-shrink:0;min-width:0;margin:12px 0;padding:14px 0}.review-check-heading{flex-wrap:wrap;align-items:center;gap:6px 20px;font-size:15px;display:flex}.review-check-heading span{font-variant-numeric:tabular-nums}.review-check-status progress{width:100%;height:12px;margin:12px 0;display:block}.review-check-status p{overflow-wrap:anywhere;margin:8px 0 0}.review-check-status button{white-space:normal;align-items:center;gap:6px;max-width:100%;margin-top:12px;display:inline-flex}@media (width>=901px){.review-page{padding-top:12px}.review-page .filter-tabs{margin:6px 0}.review-page .filter-tabs .tab{padding:5px 12px;font-size:13px}.review-check-status{flex-wrap:wrap;align-items:center;gap:6px 16px;margin:6px 0;padding:4px 0;display:flex}.review-check-heading{gap:6px 12px;font-size:13px}.review-check-status progress{flex:120px;width:auto;max-width:180px;height:8px;margin:0}.review-check-status p,.review-check-status button{margin:0;font-size:13px}.review-check-status .error{flex-basis:100%}}.reviews-page{max-width:1280px}.review-history-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;display:flex}.batch-row{grid-template-columns:48px minmax(0,1.4fr) minmax(0,1fr) minmax(160px,1fr)}.batch-row-select{cursor:pointer;flex-direction:column;align-items:center;gap:6px;min-height:44px;padding-top:4px;display:flex}.batch-row-select input[type=checkbox],.batch-select-all input[type=checkbox]{width:18px;height:18px;accent-color:var(--primary);flex:0 0 18px;margin:0;padding:0}.batch-select-all{cursor:pointer;align-items:center;gap:8px;min-height:44px;display:inline-flex}.batch-row .review-history-check{min-width:0;margin-top:10px}.batch-row .review-history-check progress{max-width:100%}.batch-actions button{align-items:center;gap:6px;display:inline-flex}@media (width<=640px){.batch-row{grid-template-columns:44px minmax(0,1fr)}.batch-selection-toolbar button:not(.icon-btn){width:100%;min-height:44px}.batch-row .review-history-check{grid-template-columns:auto minmax(0,1fr)}}.review-history-toolbar button{white-space:normal;justify-content:center;align-items:center;gap:6px;max-width:100%;display:inline-flex}.review-history-updated{margin-left:auto;font-size:13px}.review-history-table{max-width:100%;overflow-x:auto}table.review-jobs{border-radius:8px;min-width:960px}table.review-jobs td{vertical-align:middle}table.review-jobs tr[aria-selected=true] td{background:#fff3e8}table.review-jobs .review-select{text-align:center;width:44px;padding:10px}.review-select input[type=checkbox]{width:18px;height:18px;accent-color:var(--primary);cursor:pointer;margin:0;padding:0}.review-select-label{display:none}.review-history-check{font-variant-numeric:tabular-nums;gap:4px;min-width:150px;font-size:13px;display:grid}.review-history-check progress{width:150px;height:8px}.review-history-notice{margin:12px 0}.review-history-busy{margin-top:6px;font-size:13px;display:block}.review-jobs .job-actions>button{align-items:center;gap:6px;display:inline-flex}@media (width<=900px){.review-history-table{overflow:visible}table.review-jobs{background:0 0;border:0;border-radius:0;min-width:0;display:block;overflow:visible}table.review-jobs thead,table.review-jobs tbody{display:block}table.review-jobs thead tr{border-bottom:1px solid var(--border);display:block}table.review-jobs thead th{display:none}table.review-jobs thead .review-select{background:0 0;border:0;align-items:center;gap:10px;width:auto;padding:12px 0;display:flex}.review-select-label{display:inline}table.review-jobs tbody tr{border-bottom:1px solid var(--border);grid-template-columns:28px minmax(0,1fr) auto;grid-template-areas:"select identity count""select date status""select check check""select actions actions";gap:8px;padding:16px 0;display:grid}table.review-jobs tbody td{overflow-wrap:anywhere;background:0 0;border:0;padding:0}table.review-jobs tr[aria-selected=true]{background:#fff3e8}table.review-jobs tr[aria-selected=true] td{background:0 0}table.review-jobs tbody .review-select{grid-area:select;width:28px;padding-top:4px}.review-jobs td:nth-child(2){color:var(--muted);grid-area:date;font-size:12px}.review-jobs td:nth-child(3){grid-area:identity}.review-jobs td:nth-child(4){text-align:right;grid-area:status}.review-jobs td:nth-child(5){text-align:right;grid-area:count}.review-jobs td:nth-child(6){grid-area:check}.review-jobs td:nth-child(7){grid-area:actions}.review-jobs .job-actions{justify-content:flex-start}.review-jobs .job-actions>button,.review-jobs .job-actions>a{max-width:100%;min-height:44px}.review-history-check{grid-template-columns:auto 1fr;gap:4px 12px;min-width:0}.review-history-check .muted,.review-history-check progress{grid-column:1/-1}.review-history-check progress{width:100%}}@media (width<=560px){.review-history-toolbar{gap:8px}.review-history-toolbar>button:not(.icon-btn){width:100%;min-height:44px}.review-history-updated{margin-left:0}table.review-jobs{font-size:13px}}.item-card.is-check-error{background:#f1ebfa;border-color:#a28cbe}.check-error-badge{color:#fff;background:#68438d;border-radius:4px;padding:4px 8px;font-size:12px;position:absolute;top:8px;left:8px}.item-price.has-adjustment{background:#fff2b3;border-radius:4px}.review-actions{flex-wrap:wrap}@media (width<=560px){.review-actions{width:100%}.review-actions>button{white-space:normal;max-width:100%}.review-page .filter-tabs{flex-wrap:wrap}}.topbar-menu{flex:1;align-items:center;gap:24px;min-width:0;display:flex}.mobile-menu-toggle{display:none}.review-controls-toggle{flex-shrink:0;justify-content:center;align-items:center;gap:6px;min-height:40px;margin-left:auto;display:inline-flex}.review-controls-toggle svg,.review-header,.review-page>.filter-tabs,.review-page>.check-result,.review-page>.error{flex-shrink:0}.review-scroll{min-height:0}@media (width<=1200px){.topbar{z-index:20;gap:12px;width:100%;height:56px;min-height:56px;padding:6px 16px;position:sticky;top:0;overflow:visible}.topbar .brand{white-space:nowrap;flex:1}.mobile-menu-toggle{flex:0 0 44px;place-items:center;width:44px;height:44px;padding:0;display:grid}.topbar-menu{border-bottom:1px solid var(--border);background:var(--panel);max-height:calc(100dvh - 56px);padding:12px 16px 16px;display:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 8px 16px #1f24301f}.topbar-menu.is-open{display:block}.topbar-menu nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.topbar-menu nav a{white-space:normal;align-items:center;min-height:44px;padding:8px;display:flex}.topbar-menu .userbox{border-top:1px solid var(--border);justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;display:flex}.topbar-menu .userbox span{overflow-wrap:anywhere;min-width:0}.topbar-menu .userbox button{flex-shrink:0;min-height:44px}}@media (width<=900px){.review-page{height:auto;min-height:calc(100dvh - 56px);padding:12px 12px max(24px, env(safe-area-inset-bottom));display:block}.review-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.review-header h1{font-size:18px}.review-header>.muted{grid-column:1/-1;font-size:14px}.review-header .review-row-heading{grid-area:2/1/auto/-1;gap:4px;margin:0;font-size:13px}.review-controls-toggle{grid-area:1/2;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px;font-size:13px;display:inline-flex}.review-controls-toggle svg{flex-shrink:0}.review-actions{border-block:1px solid var(--border);grid-column:1/-1;gap:8px;width:100%;margin:0;padding:12px 0;display:none}.review-actions.is-open{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.review-actions>button:not(.detail-export-icon),.review-actions>.check-progress{grid-column:1/-1}.review-actions>button{min-height:44px}.review-actions>button.detail-export-icon{width:44px}.review-actions .category-select{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:16px}.review-page .filter-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.review-page .filter-tabs button{min-height:44px;padding:6px 2px;font-size:13px}.review-scroll{flex:none;overflow:visible}.review-row{gap:10px}.review-page .item-card{border-radius:8px;height:440px}.review-page .thumb{height:220px}.review-page .item-body{flex:1;gap:4px}.review-page .item-title{font-size:15px}.review-page .item-meta{flex-wrap:wrap;column-gap:6px;font-size:14px}.review-page .item-buttons button{min-width:44px;min-height:44px;padding:6px 8px;font-size:13px}.image-viewer{grid-template-rows:auto minmax(0,1fr) auto auto;width:100%;height:min(720px,100dvh - 24px);max-height:calc(100dvh - 24px)}.image-viewer-stage{min-height:0}.image-viewer-stage>img{min-height:0;max-height:100%}.image-viewer-close{width:44px;height:44px}.image-viewer-header{grid-template-columns:minmax(0,1fr) 44px}.image-viewer-header>a{display:none}.image-viewer-thumbs{min-height:0}}.direct-listing-dialog{width:min(960px,100vw - 24px);max-width:960px;max-height:calc(100dvh - 24px);overflow-y:auto}.direct-listing-dialog h2{font-size:20px}.direct-listing-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.direct-listing-fields label{gap:6px;min-width:0;font-weight:600;display:grid}.direct-listing-fields select{border:1px solid var(--border);background:var(--panel);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;border-radius:6px;padding:10px}.direct-listing-seller{overflow-wrap:anywhere;align-items:center;display:flex}.direct-listing-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px;display:flex}.direct-listing-actions button,.direct-listing-confirm button{align-items:center;gap:6px;display:inline-flex}.direct-listing-summary{font-size:14px;line-height:1.7}.direct-listing-table{border-top:1px solid #d8dee6;border-bottom:1px solid #d8dee6;max-height:42dvh;overflow:auto}.direct-listing-table table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:14px}.direct-listing-table th,.direct-listing-table td{text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:10px 8px}.direct-listing-table th:first-child{width:44%}.direct-listing-table th:nth-child(2){width:19%}.direct-listing-table th{background:#f5f6f8;position:sticky;top:0}.direct-listing-table td{border-top:1px solid #e5e8ed}.direct-listing-table small{margin-top:6px;display:block}.direct-listing-table a{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.direct-listing-state.state-success{color:#167044}.direct-listing-state.state-invalid,.direct-listing-state.state-failed,.direct-listing-state.state-unknown{color:#a52e35}.direct-listing-confirm{gap:12px;margin-top:16px;display:grid}.direct-listing-confirm label{overflow-wrap:anywhere;align-items:flex-start;gap:9px;line-height:1.7;display:flex}.direct-listing-dialog .direct-listing-confirm input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin-top:5px}.direct-listing-confirm button{justify-self:end;min-height:44px}@media (width<=600px){.direct-listing-dialog{padding:14px}.direct-listing-fields{grid-template-columns:minmax(0,1fr);gap:12px}.direct-listing-table{max-height:34dvh}.direct-listing-table th,.direct-listing-table td{padding:8px 5px;font-size:12px}.direct-listing-dialog .detail-export-heading{gap:8px}}.stock-schedule{max-width:320px;margin:16px 0}.stock-queue{border-top:1px solid #d5dce5;margin:24px 0;padding:20px 0}.stock-queue-list{max-height:420px;padding:0;list-style:none;overflow-y:auto}.stock-queue-list li{border-bottom:1px solid #d5dce5;justify-content:space-between;align-items:center;gap:12px;padding:14px 8px;display:flex}.stock-queue-list li.selected{background:#fff4eb}.stock-queue-info{overflow-wrap:anywhere;flex-direction:column;gap:5px;min-width:0;display:flex}.stock-queue-actions{flex-shrink:0;gap:6px;display:flex}@media (width<=600px){.stock-queue-list li{flex-direction:column;align-items:flex-start}.stock-queue-actions{align-self:flex-end}.stock-schedule{max-width:100%}}.review-display-profiles{flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;display:flex}.review-display-profiles .field{margin:0}.review-display-profiles select{width:240px;max-width:100%}.review-profile-bounds{flex-wrap:wrap;gap:4px 14px;padding-bottom:8px;display:flex}.review-condition-section:not(.is-open){display:none}@media (width<=600px){.review-display-profiles select{width:150px}.review-display-profiles{gap:6px}}.count-pricing-settings{margin-top:28px}.count-pricing-toggle{align-items:center;gap:8px;margin:12px 0;display:flex}.count-pricing-toggle input{flex:0 0 18px;width:18px;height:18px}.count-pricing-table input{width:100%;min-width:70px;max-width:150px}.count-pricing-table select{width:100%;min-width:130px}.count-pricing-table th:last-child,.count-pricing-table td:last-child{width:44px}.count-pricing-settings button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.count-adjust-badge{align-items:center;gap:2px;display:inline-flex}.listing-preparation{min-width:0;margin:14px 0}.listing-preparation-heading{flex-wrap:wrap;align-items:baseline;gap:6px 16px;display:flex}.listing-preparation-heading span{font-variant-numeric:tabular-nums}.listing-preparation progress{width:100%;height:12px;accent-color:var(--primary);margin-top:12px;display:block}.listing-preparation .error{overflow-wrap:anywhere}
