:root { --ink:#172033; --muted:#667085; --line:#e7ebf2; --canvas:#f6f8fb; --surface:#ffffff; --nav:#101828; --nav-soft:#1d2939; --blue:#1669e8; --blue-soft:#eaf2ff; --green:#0d9f6e; --red:#d92d20; --radius:8px; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; background:var(--canvas); color:var(--ink); font:14px/1.5 Inter,Segoe UI,Arial,sans-serif; }
a { color:inherit; text-decoration:none; }
.sidebar { position:fixed; inset:0 auto 0 0; width:244px; display:flex; flex-direction:column; padding:26px 14px 18px; background:var(--nav); color:#d0d5dd; }
.sidebar-mobile-head { display:block; }
.brand { display:block; padding:0 12px 30px; color:#fff; font-size:27px; font-weight:800; letter-spacing:1px; }
.brand span { color:#42d6a4; }
.menu-toggle { display:none; width:38px; height:38px; border:1px solid #475467; border-radius:6px; background:#172335; color:#fff; font-size:21px; line-height:1; cursor:pointer; }
nav { display:grid; gap:4px; }
nav a { position:relative; padding:10px 12px; border-radius:6px; color:#b8c2d0; font-weight:600; transition:background .16s ease,color .16s ease,transform .16s ease; }
nav a:hover { background:var(--nav-soft); color:#fff; transform:translateX(3px); }
nav a.active { background:#1d3855; color:#fff; }
nav a.active::before { position:absolute; left:0; top:10px; bottom:10px; width:3px; border-radius:0 3px 3px 0; background:#42d6a4; content:""; }
.sidebar-bottom { margin-top:auto; }.cron-status { display:flex; align-items:center; gap:5px; margin:0 12px 10px; color:#98a2b3; font-size:10px; }.cron-refresh { width:22px; height:22px; display:inline-grid; place-items:center; flex:0 0 auto; border:0; border-radius:4px; background:transparent; color:#c9d3df; font-size:16px; line-height:1; cursor:pointer; transition:background .15s ease,color .15s ease,transform .2s ease; }.cron-refresh:hover { background:#344054; color:#fff; }.cron-refresh:focus-visible { outline:2px solid #42d6a4; outline-offset:2px; }.cron-refresh:disabled { cursor:wait; opacity:.7; }.cron-refresh.is-running { animation:rex-spin .8s linear infinite; }@keyframes rex-spin { to { transform:rotate(360deg); } }.sidebar-foot { display:grid; gap:7px; padding:14px 12px 0; border-top:1px solid #344054; font-size:12px; }
.sidebar-foot a { color:#98a2b3; }
.main { min-height:100vh; margin-left:244px; padding:38px clamp(24px,4vw,64px) 64px; }
.topbar { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:30px; }
.topbar h1 { margin:2px 0 0; font-size:25px; line-height:1.2; letter-spacing:0; }
.eyebrow { margin:0 0 5px; color:var(--blue); font-size:11px; font-weight:800; letter-spacing:.12em; }
.hero { display:flex; align-items:end; min-height:178px; margin-bottom:22px; padding:30px; border:1px solid #d9e5f7; border-radius:var(--radius); background:linear-gradient(120deg,#eef6ff 0%,#f7fbff 54%,#e7fff5 100%); }
.hero h2 { max-width:620px; margin:0; font-size:27px; line-height:1.2; }
.hero p:not(.eyebrow) { max-width:650px; margin:9px 0 0; color:var(--muted); }
.chart-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.chart-card { position:relative; min-height:176px; padding:17px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.chart-head { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }.chart-head h2 { margin:0; font-size:13px; }.chart-head strong { color:var(--blue); font-size:13px; white-space:nowrap; }
.chart-bars { height:99px; display:flex; align-items:end; gap:7px; margin-top:14px; border-bottom:1px solid #edf0f5; }.chart-column { flex:1; height:100%; display:flex; flex-direction:column; justify-content:end; align-items:center; gap:5px; min-width:0; }.chart-bar { width:100%; min-height:4px; border-radius:4px 4px 1px 1px; background:#5d95ed; }.chart-column:nth-child(2n) .chart-bar { background:#42b78c; }.chart-bar.loss { background:#d92d20 !important; }.chart-bar.zero { min-height:0; opacity:0; }.chart-column small { color:var(--muted); font-size:10px; }.chart-empty { position:absolute; right:17px; bottom:10px; margin:0; color:var(--muted); font-size:10px; }
.company-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px; margin-bottom:28px; }
.company-card { min-height:178px; padding:19px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.company-card:hover { border-color:#a9c7f4; box-shadow:0 10px 24px rgba(26,60,110,.09); transform:translateY(-2px); }
.company-initial { width:37px; height:37px; display:grid; place-items:center; border-radius:7px; background:var(--blue-soft); color:var(--blue); font-weight:800; }
.company-card h2 { margin:17px 0 4px; font-size:16px; }
.company-card p { margin:0; color:var(--muted); font-size:13px; }
.company-card strong { display:block; margin-top:18px; font-size:15px; }
.panel { margin-top:18px; padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.panel h2 { margin:0 0 17px; font-size:17px; }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:14px; }
.section-head h2 { margin:0; }
.section-head a { color:var(--blue); font-weight:700; }
.product-head-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.draft-review-button { background:#7d4c12; border-color:#7d4c12; }
.draft-review-button:hover { background:#633b0e; border-color:#633b0e; }
.manual-draft-modal { max-width:780px; }
.manual-draft-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin:0 38px 10px 0; }
.manual-draft-heading h2 { margin:0; }
.manual-draft-image { width:50px; height:50px; flex:0 0 50px; object-fit:contain; border:1px solid var(--line); border-radius:6px; background:#fff; cursor:zoom-in; }
.manual-draft-actions { justify-content:flex-end; }
.manual-draft-actions .modal-message { margin-right:auto; }
.review-queue-modal { max-width:780px; }.review-product-heading { display:flex; align-items:flex-start; gap:12px; margin:0 34px 14px 0; }.review-product-heading img,.review-image-empty { width:50px; height:50px; flex:0 0 50px; object-fit:contain; border:1px solid var(--line); border-radius:6px; background:#fff; }.review-product-heading h2 { margin:0 0 4px; font-size:19px; }.review-product-heading .muted { margin:0; }.review-actions { justify-content:flex-end; }.review-actions .modal-message { margin-right:auto; }
.price-before { display:block; margin-top:5px; color:var(--muted); font-size:11px; font-weight:600; }
.question-inbox { display:grid; gap:16px; }
.question-head { margin-bottom:0; }.question-head-metrics { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }.question-count { display:inline-flex; align-items:baseline; gap:6px; padding:8px 10px; border:1px solid #bfd1ea; border-radius:6px; background:var(--blue-soft); color:#175ea9; font-size:11px; font-weight:700; }.question-count strong { font-size:19px; }
.question-toolbar { display:flex; align-items:end; justify-content:space-between; gap:12px; padding:13px; border:1px solid #dbe6f5; border-radius:7px; background:#f8fbff; }.question-toolbar form { display:flex; align-items:end; gap:8px; }.question-toolbar label { display:grid; gap:5px; font-size:11px; font-weight:700; color:var(--muted); }.question-toolbar select,.question-toolbar input { min-height:36px; }.question-search { width:min(340px,100%); }
.question-platform-strip { display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding:0 2px; color:var(--muted); font-size:11px; }.question-platform-strip .platform { margin-left:6px; }
.question-list { display:grid; gap:10px; }.question-card { display:grid; gap:11px; padding:15px; border:1px solid var(--line); border-radius:7px; background:#fff; transition:border-color .16s ease,box-shadow .16s ease; }.question-card:hover { border-color:#9dbff2; box-shadow:0 8px 22px rgba(16,24,40,.07); }.question-card[hidden] { display:none; }.question-card-top,.question-card-actions,.question-product,.question-modal-meta { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }.question-card-top strong { font-size:12px; }.question-card-top time { margin-left:auto; color:var(--muted); font-size:11px; }.question-product { justify-content:space-between; }.question-product strong { font-size:14px; }.question-product span { color:var(--muted); font-size:12px; }.question-card p { margin:0; color:#334155; line-height:1.55; }.question-card-actions { justify-content:space-between; padding-top:10px; border-top:1px solid #edf1f4; }.question-card-actions span { color:#175ea9; font-size:11px; font-weight:800; }.question-empty { display:grid; gap:4px; min-height:170px; place-content:center; text-align:center; border:1px dashed #cbd5df; border-radius:7px; color:var(--muted); }.question-empty strong { color:#344054; }
.question-modal { max-width:760px; }.question-modal-meta { margin:-6px 0 14px; color:var(--muted); font-size:12px; }.question-modal-meta span+span::before { content:'|'; margin-right:9px; color:#c1cad2; }.question-modal blockquote { margin:0 0 18px; padding:13px 15px; border-left:3px solid #2d79c7; border-radius:0 6px 6px 0; background:#f6faff; color:#1f3652; line-height:1.6; white-space:pre-wrap; }
[data-question-inbox] .question-head { padding-bottom:2px; border-bottom:0; }.question-head-metrics .question-count { padding:5px 8px; border-color:var(--line); background:#fff; color:var(--muted); font-size:11px; }.question-head-metrics .question-count strong { font-size:13px; color:var(--ink); }.question-toolbar { padding:0; border:0; border-radius:0; background:transparent; }.question-toolbar form { display:grid; grid-template-columns:minmax(190px,260px) auto; gap:10px; }.question-toolbar .question-search { display:grid; gap:5px; font-size:11px; font-weight:700; color:var(--muted); }.question-platform-strip { display:none; }.question-list { border:1px solid var(--line); border-radius:6px; overflow:hidden; gap:0; }.question-card { gap:8px; padding:13px 14px; border:0; border-bottom:1px solid var(--line); border-radius:0; box-shadow:none; }.question-card:last-child { border-bottom:0; }.question-card:hover { border-color:var(--line); box-shadow:none; background:#f8fbff; }.question-card-top { gap:7px; }.question-card-top time { font-variant-numeric:tabular-nums; }.question-card-actions { padding-top:8px; }.question-empty { min-height:140px; border:0; border-radius:0; }
.question-preview { max-width:360px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.question-product-details { display:grid; grid-template-columns:96px minmax(0,1fr); gap:14px; margin:0 0 18px; padding:13px; border:1px solid var(--line); border-radius:6px; background:#fbfcfe; }.question-product-image { width:96px; height:96px; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:6px; background:#fff; cursor:zoom-in; }.question-product-image img { display:block; width:100%; height:100%; object-fit:contain; }.question-product-info { min-width:0; }.question-product-info > strong { display:block; margin-bottom:9px; color:var(--ink); font-size:13px; line-height:1.4; }.question-product-info dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 12px; margin:0 0 11px; }.question-product-info dl div { min-width:0; }.question-product-info dt { color:var(--muted); font-size:10px; font-weight:700; }.question-product-info dd { margin:2px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink); font-size:12px; font-weight:600; }[data-question-row] { cursor:pointer; }[data-question-row]:hover td,[data-question-row]:focus td { background:#f6faff; }[data-question-row]:focus { outline:2px solid #8eb8eb; outline-offset:-2px; }
.category-map-modal { max-width:940px; }.category-platform-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0; }.category-platform-field { min-width:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; padding:12px; border:1px solid var(--line); border-radius:6px; }.category-platform-field legend { padding:0 4px; }.category-platform-field legend .platform { margin:0; }.category-platform-field label:first-of-type,.category-platform-field label:last-of-type { grid-column:1 / -1; }
.platform-category-ids .category-id-grid label { grid-template-columns:1fr; }.product-category-picker { margin-bottom:6px; min-width:0; font-size:12px; }
.product-import-button { background:#166534; border-color:#166534; }.product-import-button:hover { background:#14532d; border-color:#14532d; }.product-import-modal { max-width:620px; }.product-import-modal form { display:grid; gap:10px; margin-top:16px; }.file-picker { min-height:100px; display:grid; place-content:center; border:1px dashed #9cb8d4; border-radius:6px; background:#f8fbff; text-align:center; cursor:pointer; }.file-picker input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }.upload-progress { display:flex; align-items:center; gap:10px; }.upload-progress span { flex:1; height:9px; overflow:hidden; border-radius:99px; background:#e5edf5; }.upload-progress i { display:block; width:0; height:100%; background:#1f70bd; transition:width .18s ease; }.upload-progress strong { min-width:38px; color:#175ea9; font-size:12px; }
.product-export-button { background:#7c3f00; border-color:#7c3f00; }.product-export-button:hover { background:#633200; border-color:#633200; }.product-export-modal { width:min(560px,100%); }.product-export-modal h2 { margin:4px 0 6px; }.product-export-modal form { display:grid; gap:16px; margin-top:20px; }.export-scope-options { display:grid; gap:10px; }.export-scope-option { display:flex; grid-template-columns:none; grid-auto-flow:column; justify-content:start; align-items:start; gap:11px; min-height:76px; padding:14px; border:1px solid #d9dfe8; border-radius:7px; background:#fff; cursor:pointer; transition:border-color .15s ease,background .15s ease,box-shadow .15s ease; }.export-scope-option input { width:17px; height:17px; margin:2px 0 0; accent-color:#7c3f00; }.export-scope-option span { display:grid; gap:4px; }.export-scope-option strong { color:#344054; font-size:13px; }.export-scope-option small { color:#667085; font-size:12px; font-weight:500; }.export-scope-option.selected { border-color:#c47420; background:#fff8ed; box-shadow:0 0 0 3px rgba(196,116,32,.12); }.export-note { margin:0; padding:11px 12px; border-left:3px solid #c47420; background:#fffaf2; color:#7a521e; font-size:12px; line-height:1.5; }.product-export-submit { background:#7c3f00; border-color:#7c3f00; }.product-export-submit:hover { background:#633200; border-color:#633200; }
@media (max-width:720px) { .question-toolbar,.question-toolbar form { align-items:stretch; flex-direction:column; }.question-toolbar form .button { width:100%; }.question-search { width:100%; }.question-card-top time { margin-left:0; }.question-card-actions { align-items:stretch; flex-direction:column; }.question-card-actions .button { width:100%; } }
@media (max-width:620px) { .question-product-details { grid-template-columns:72px minmax(0,1fr); }.question-product-image { width:72px; height:72px; }.question-product-info dl { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:720px) { .category-platform-grid { grid-template-columns:1fr; }.category-platform-field { grid-template-columns:1fr; }.category-platform-field label:first-of-type,.category-platform-field label:last-of-type { grid-column:auto; } }
.form-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:12px; align-items:end; }
label { display:grid; gap:6px; color:#344054; font-size:12px; font-weight:700; }
input,select { width:100%; height:40px; padding:0 11px; border:1px solid #d0d5dd; border-radius:6px; outline:none; background:#fff; color:var(--ink); font:inherit; }
input:focus,select:focus { border-color:#6ca6fa; box-shadow:0 0 0 3px rgba(22,105,232,.12); }
.button { height:40px; display:inline-flex; align-items:center; justify-content:center; padding:0 15px; border:1px solid var(--blue); border-radius:6px; background:var(--blue); color:#fff; cursor:pointer; font:inherit; font-weight:700; }
.button:hover { background:#0756c8; }
.button.secondary { border-color:#d0d5dd; background:#fff; color:#344054; }
.button.secondary:hover { background:#f9fafb; }
.stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.stat { min-height:112px; padding:20px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.stat span { display:block; color:var(--muted); font-size:12px; font-weight:700; }
.stat strong { display:block; margin-top:11px; font-size:20px; }
.stat small { display:block; margin-top:5px; color:var(--muted); font-size:11px; font-weight:700; }
.store-list { display:grid; gap:8px; }
.store-row { display:grid; grid-template-columns:115px 1fr auto; align-items:center; gap:15px; min-height:54px; padding:9px 12px; border:1px solid #edf0f5; border-radius:6px; }
.store-row small { color:var(--muted); }
.store-card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(225px,1fr)); gap:12px; }.store-card { display:grid; justify-items:start; gap:10px; min-height:170px; padding:17px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); text-align:left; cursor:pointer; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; }.store-card:hover { border-color:#9dbff2; box-shadow:0 10px 22px rgba(30,66,115,.10); transform:translateY(-2px); }.store-card strong { font-size:15px; }.store-card small { color:var(--muted); }.store-state { margin-top:auto; color:var(--green); font-size:12px; font-weight:700; }.store-state.disabled { color:#a15c00; }.store-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:16px 0; }.store-detail-grid div { display:grid; gap:3px; padding:10px; border:1px solid var(--line); border-radius:6px; }.store-detail-grid span { color:var(--muted); font-size:11px; }.store-detail-grid strong { overflow-wrap:anywhere; font-size:13px; }.connection-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0; }.connection-list div { padding:8px 9px; border:1px solid #e6eaf0; border-radius:5px; background:#fff; }.connection-list dt { color:var(--muted); font-size:10px; text-transform:capitalize; }.connection-list dd { margin:3px 0 0; overflow-wrap:anywhere; font-size:12px; font-weight:700; }
.page-command { display:flex; justify-content:flex-end; margin:-54px 0 22px; }
.platform,.tag { display:inline-flex; width:max-content; align-items:center; padding:4px 7px; border-radius:5px; background:#f2f4f7; color:#475467; font-size:11px; font-weight:800; text-transform:capitalize; }
.status { display:inline-flex; width:max-content; align-items:center; padding:4px 7px; border-radius:5px; font-size:11px; font-weight:800; }.status.approved { background:#ecfdf3; color:#067647; }
.product-cell { display:flex; align-items:center; gap:9px; min-width:280px; white-space:normal; }.product-cell strong { display:block; line-height:1.35; }.product-cell small { display:block; margin-top:3px; color:var(--muted); font-size:11px; }.product-thumb { width:38px; height:38px; flex:none; border:1px solid var(--line); border-radius:5px; object-fit:cover; }
.table-sub { display:block; margin-top:3px; color:var(--muted); font-size:11px; font-weight:400; }
.accounting-input { min-width:66px; width:72px; height:32px; padding:0 5px; font-size:12px; }.accounting-input[data-accounting-field="paid_by"] { min-width:116px; width:116px; }.accounting-note { min-width:120px; width:130px; }.input-error { border-color:var(--red); }.accounting-commands { display:flex; gap:8px; }.income-button { border-color:#0d9f6e; background:#0d9f6e; }.income-button:hover { background:#078257; }.expense-button { border-color:#d92d20; background:#d92d20; }.expense-button:hover { background:#b42318; }
.product-filters { display:grid; grid-template-columns:2fr repeat(4,minmax(130px,1fr)); gap:10px; margin:0 0 16px; }.product-filters label { min-width:0; }.product-row { cursor:pointer; }.product-row:hover td,.product-row:focus td { background:#f6faff; }.product-row:focus { outline:none; }.product-loader { padding:14px 0 2px; color:var(--muted); text-align:center; font-size:12px; }.modal-backdrop { position:fixed; z-index:20; inset:0; display:grid; place-items:center; padding:20px; background:rgba(16,24,40,.58); }.modal-backdrop[hidden] { display:none; }.product-modal { position:relative; width:min(820px,100%); max-height:calc(100vh - 40px); overflow:auto; padding:26px; border-radius:9px; background:#fff; box-shadow:0 24px 70px rgba(0,0,0,.28); }.modal-close { position:absolute; top:13px; right:13px; width:34px; height:34px; border:1px solid var(--line); border-radius:6px; background:#fff; color:#475467; font-size:25px; line-height:1; cursor:pointer; }.modal-product-head { display:flex; align-items:center; gap:14px; padding-right:40px; margin-bottom:22px; }.modal-product-head img { width:65px; height:65px; border:1px solid var(--line); border-radius:7px; object-fit:cover; }.modal-product-head h2 { margin:0; font-size:18px; line-height:1.3; }.modal-product-head small { color:var(--muted); }.modal-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; margin-bottom:18px; }.modal-wide { grid-column:1 / -1; } textarea { width:100%; min-height:120px; padding:10px 11px; border:1px solid #d0d5dd; border-radius:6px; resize:vertical; font:inherit; }.modal-message { margin-left:10px; color:var(--muted); font-size:12px; }
.detail-section { margin:0 0 20px; padding:17px; border:1px solid var(--line); border-radius:7px; background:#fbfcfe; }.detail-section-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:13px; }.detail-section-head h3 { margin:0; font-size:14px; }.detail-section-head span { color:var(--muted); font-size:11px; }.image-gallery { display:flex; flex-wrap:wrap; gap:10px; }.image-gallery figure { position:relative; width:92px; margin:0; }.gallery-image { display:block; width:92px; height:92px; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:6px; background:#fff; cursor:zoom-in; }.gallery-image img { width:100%; height:100%; object-fit:cover; }.image-delete { width:100%; margin-top:5px; border:0; background:transparent; color:var(--red); cursor:pointer; font-size:11px; }.image-add-form,.variation-form { display:grid; grid-template-columns:2fr 2fr auto; align-items:end; gap:10px; margin-top:14px; }.variation-form { grid-template-columns:repeat(3,minmax(0,1fr)); }.variation-list { display:grid; gap:7px; }.variation-list div { display:grid; gap:2px; padding:9px 10px; border:1px solid #e6eaf0; border-radius:5px; background:#fff; }.variation-list small { color:var(--muted); }.extended-fields { margin-bottom:0; }.image-zoom-overlay { position:fixed; z-index:40; inset:0; display:grid; place-items:center; padding:24px; background:rgba(16,24,40,.86); cursor:zoom-out; }.image-zoom-overlay img { width:auto; height:auto; max-width:min(720px,90vw); max-height:78vh; border-radius:7px; object-fit:contain; box-shadow:0 18px 50px rgba(0,0,0,.34); }
.platform.trendyol { background:#fff0ed; color:#c4321a; }.platform.hepsiburada { background:#fff5df; color:#a45a00; }.platform.pttavm { background:#fff1f3; color:#c01048; }.platform.idefix { background:#f1f3ff; color:#3949ab; }.platform.etsy { background:#eef7ff; color:#1268a8; }
.tag { background:#fff7e6; color:#9a6500; }
.table-wrap { overflow:auto; }.table-wrap table { width:100%; border-collapse:collapse; white-space:nowrap; }.table-wrap th,.table-wrap td { padding:12px 10px; border-bottom:1px solid var(--line); text-align:left; }.table-wrap th { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.06em; }.table-wrap td { font-size:13px; }
.alert { margin:0 0 18px; padding:11px 13px; border-radius:6px; font-weight:600; }.alert.success { background:#ecfdf3; color:#067647; }.alert.error { background:#fef3f2; color:#b42318; }.empty,.muted { color:var(--muted); }.guide pre { overflow:auto; padding:14px; border-radius:6px; background:#101828; color:#e7edf6; font:12px/1.65 Consolas,monospace; }.guide code { padding:2px 4px; border-radius:4px; background:#f2f4f7; }
.auth-page { display:grid; min-height:100vh; place-items:center; padding:22px; background:linear-gradient(135deg,#f2f7ff,#f8fbff 48%,#effcf7); }.auth-card { width:min(440px,100%); padding:36px; border:1px solid #dce7f5; border-radius:10px; background:#fff; box-shadow:0 20px 60px rgba(33,74,126,.13); }.auth-card .brand { padding:0; color:var(--ink); }.auth-card h1 { margin:0 0 24px; font-size:26px; line-height:1.22; }.stack { display:grid; gap:15px; }.auth-card .muted { margin:20px 0 0; font-size:12px; }
@media (max-width:820px) { .sidebar { position:sticky; top:0; z-index:15; width:auto; min-height:auto; padding:14px 16px 12px; box-shadow:0 5px 18px rgba(16,24,40,.16); }.sidebar-mobile-head { display:flex; align-items:center; justify-content:space-between; }.sidebar nav { display:none; margin-top:11px; padding:8px; border:1px solid #344054; border-radius:7px; background:#172335; }.sidebar.menu-open nav { display:grid; }.sidebar-foot { display:none; }.sidebar-bottom { display:none; }.brand { padding:0; }.menu-toggle { display:grid; place-items:center; }.main { margin:0; padding:24px 16px 44px; }.topbar { margin-bottom:20px; }.topbar .button { display:none; }.chart-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.stats { grid-template-columns:repeat(2,minmax(0,1fr)); }.form-grid { grid-template-columns:1fr; }.store-row { grid-template-columns:1fr; gap:5px; }.hero { min-height:0; padding:22px; }.hero h2 { font-size:23px; }.panel { padding:17px; } }
@media (max-width:820px) { .product-filters { grid-template-columns:1fr 1fr; }.product-search { grid-column:1 / -1; }.product-modal { max-height:calc(100vh - 24px); padding:20px; }.modal-grid { grid-template-columns:1fr; }.modal-wide { grid-column:auto; } }
@media (max-width:820px) { .image-add-form,.variation-form { grid-template-columns:1fr; }.image-gallery figure,.gallery-image { width:78px; }.gallery-image { height:78px; } }
@media (max-width:820px) { .store-detail-grid,.connection-list { grid-template-columns:1fr; } }
@media (max-width:820px) { .page-command { margin:0 0 18px; } }
@media (max-width:440px) { .main { padding:19px 12px 34px; }.stats { gap:9px; }.stat { min-height:94px; padding:14px; }.stat strong { font-size:16px; }.topbar h1 { font-size:22px; }.company-grid { grid-template-columns:1fr; } }
.table-wrap tr.order-cancelled td { border-bottom-color:#f7c6c1; background:#fff3f1; }
.table-wrap tr.order-cancelled:hover td { background:#ffe9e5; }
.table-wrap tbody tr:has(select[data-accounting-field="paid_by"] option[value="iptal"]:checked) td { border-bottom-color:#f7c6c1; background:#fff3f1; }
.table-wrap tbody tr:has(select[data-accounting-field="paid_by"] option[value="iptal"]:checked):hover td { background:#ffe9e5; }
.table-wrap tbody tr:has(select[data-accounting-field="paid_by"] option[value="iade"]:checked) td { border-bottom-color:#f3d39d; background:#fff8e8; }
.table-wrap tbody tr:has(select[data-accounting-field="paid_by"] option[value="iade"]:checked):hover td { background:#fff0cd; }
.table-wrap tr.accounting-cancelled td { border-bottom-color:#f7c6c1; background:#fff3f1; }
.table-wrap tr.accounting-cancelled:hover td { background:#ffe9e5; }
.table-wrap tr.accounting-returned td { border-bottom-color:#f3d39d; background:#fff8e8; }
.table-wrap tr.accounting-returned:hover td { background:#fff0cd; }
[data-accounting] table th:nth-child(2),[data-accounting] table td:nth-child(2) { width:224px; min-width:224px; max-width:224px; white-space:normal; }
.filter-bar { display:grid; grid-template-columns:minmax(240px,2fr) minmax(160px,1fr) auto; gap:10px; align-items:end; margin:0 0 14px; }
.bulk-filter-bar { grid-template-columns:repeat(4,minmax(155px,1fr)); padding:14px; border:1px solid #dbe6f5; border-radius:7px; background:#f8fbff; }
.bulk-filter-bar > input:first-child { grid-column:span 2; }
.bulk-filter-bar .button { justify-content:center; }
.bulk-command-bar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 14px; padding:13px 14px; border:1px solid #dbe6f5; border-radius:7px; background:#fff; }
.bulk-command-bar > div:first-child { display:grid; gap:3px; }
.bulk-command-bar small { color:var(--muted); font-size:12px; }
.bulk-command-bar > div:last-child { display:flex; flex-wrap:wrap; gap:8px; }
.bulk-update-modal { max-width:600px; }
.status-update-button { background:#b54708; border-color:#b54708; }
.status-update-button:hover { background:#93370d; border-color:#93370d; }
.listing-send-button { background:#137a42; border-color:#137a42; }
.listing-send-button:hover { background:#0d5f32; border-color:#0d5f32; }
.bulk-unlock-button { background:#7a271a; border-color:#7a271a; color:#fff; }
.bulk-unlock-button:hover { background:#5f2015; border-color:#5f2015; }
.dashboard-note-panel textarea { min-height:240px; resize:vertical; line-height:1.55; }
.filter-result-count { align-self:center; color:#175ea9; font-size:12px; font-weight:800; white-space:nowrap; }
.listing-chip-cell { white-space:nowrap; }
.listing-chip { display:inline-grid; min-width:30px; min-height:22px; place-items:center; margin:2px 3px 2px 0; padding:0 5px; border-radius:4px; font-size:10px; font-weight:800; letter-spacing:0; }
.listing-chip.listed { background:#e8f7ee; color:#137a42; }
.listing-chip.not-listed { background:#fff3e8; color:#a65300; }
.store-listing-selection { margin:18px 0 14px; padding:14px; border:1px solid #dbe6f5; border-radius:7px; background:#f8fbff; }
.store-listing-selection .detail-section-head { margin-bottom:12px; }
.store-permission-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:8px; }
.store-permission { display:grid; grid-template-columns:auto auto minmax(0,1fr); align-items:center; gap:8px; min-height:42px; padding:8px 9px; border:1px solid #d8e4f2; border-radius:6px; background:#fff; cursor:pointer; }
.store-permission input { width:16px; height:16px; }
.store-permission strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.listing-diagnostics { margin-top:20px; background:#fff; }
.listing-diagnostic-group + .listing-diagnostic-group { margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.listing-diagnostic-group h4 { margin:0 0 9px; color:#344054; font-size:12px; }
.listing-diagnostic-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:9px; }
.listing-diagnostic-card { display:grid; gap:7px; padding:11px; border:1px solid #e3e8ef; border-left:4px solid #d0d5dd; border-radius:6px; background:#fbfcfe; }
.listing-diagnostic-card.is-listed { border-left-color:#12b76a; background:#f4fdf7; }
.listing-diagnostic-card.is-not-listed { border-left-color:#f79009; }
.listing-diagnostic-card > div { display:flex; align-items:center; gap:7px; min-width:0; }
.listing-diagnostic-card strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink); font-size:12px; }
.listing-diagnostic-state { width:max-content; padding:3px 6px; border-radius:4px; background:#fff3e8; color:#a65300; font-size:10px; font-weight:800; }
.listing-diagnostic-card.is-listed .listing-diagnostic-state { background:#e8f7ee; color:#137a42; }
.listing-diagnostic-card p { margin:0; color:#475467; font-size:12px; line-height:1.45; }
.listing-diagnostic-card small { color:var(--muted); font-size:10px; }
.stock-lock-panel { display:grid; gap:14px; }
.stock-lock-settings { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:14px; border:1px solid #dbe6f5; border-radius:7px; background:#f8fbff; }
.stock-lock-note { margin:0; font-size:12px; }
.bulk-toolbar { display:grid; grid-template-columns:repeat(4,minmax(145px,1fr)) auto; gap:10px; align-items:end; margin:0 0 16px; padding:14px; border:1px solid #dbe6f5; border-radius:7px; background:#f8fbff; }
.bulk-toolbar [hidden] { display:none; }
[data-store-picker][hidden] { display:none !important; }
.platform-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; }
.platform-tabs a { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:0 11px; border:1px solid var(--line); border-radius:6px; background:#fff; color:#475467; font-size:12px; font-weight:800; }
.platform-tabs a:hover { border-color:#9dbff2; color:var(--blue); }
.platform-tabs a.active { border-color:var(--blue); background:var(--blue-soft); color:var(--blue); }
.platform-tabs span { padding:1px 5px; border-radius:4px; background:#f2f4f7; font-size:10px; }
.category-summary { display:flex; flex-wrap:wrap; gap:7px; justify-content:flex-end; }
.status.passive { background:#fff7e6; color:#9a6500; }
.accounting-table-head { align-items:flex-end; }
.accounting-head-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }
.accounting-filters { display:grid; grid-template-columns:repeat(6,minmax(130px,1fr)) auto auto; gap:10px; align-items:end; margin:0 0 16px; padding:14px; border:1px solid #dbe6f5; border-radius:7px; background:#f8fbff; }
.accounting-note { width:170px; min-width:170px; height:auto; min-height:46px; padding:7px; line-height:1.35; resize:vertical; }
.modal-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; }
.modal-actions .modal-message { margin-right:auto; margin-left:0; }
.rex-save-toast { position:fixed; z-index:100; top:50%; left:50%; width:min(360px,calc(100vw - 32px)); padding:16px 18px; border:1px solid #8ed6b3; border-radius:8px; background:#ecfdf3; color:#067647; box-shadow:0 18px 44px rgba(16,24,40,.22); font-weight:800; line-height:1.4; opacity:0; pointer-events:none; text-align:center; transform:translate(-50%,-44%) scale(.96); transition:opacity .18s ease,transform .18s ease; }
.rex-save-toast.visible { opacity:1; transform:translate(-50%,-50%) scale(1); }
.rex-save-toast.error { border-color:#f0aaa3; background:#fef3f2; color:#b42318; }
.rex-order-notification { position:fixed; z-index:90; right:24px; bottom:calc(24px + var(--order-offset, 0px)); display:grid; gap:3px; width:min(350px,calc(100vw - 32px)); padding:15px 17px; border:1px solid #a9c7f4; border-radius:8px; background:#fff; box-shadow:0 18px 42px rgba(16,24,40,.2); animation:order-notification-in .22s ease-out; }
.rex-order-notification strong { color:#175ea9; font-size:12px; }
.rex-order-notification span { overflow:hidden; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.rex-order-notification small { color:var(--muted); font-size:11px; text-transform:capitalize; }
.order-sound-frame { position:fixed; width:1px; height:1px; right:-4px; bottom:-4px; border:0; opacity:0; pointer-events:none; }
.notification-settings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.notification-toggle { display:flex; grid-column:1 / -1; align-items:center; gap:9px; cursor:pointer; }
.notification-toggle input { width:18px; height:18px; accent-color:var(--blue); }
.settings-actions { display:flex; grid-column:1 / -1; align-items:center; justify-content:flex-end; gap:10px; }
.settings-actions .modal-message { margin-right:auto; margin-left:0; }
@keyframes order-notification-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.product-save-footer { display:flex; justify-content:flex-end; margin:16px 0 0; padding:14px 0 2px; border-top:1px solid var(--line); }
.manual-accounting-row td { background:#fbfdff; }
.manual-accounting-row:hover td { background:#f1f7ff; }
.manual-accounting-row td:nth-child(2) { cursor:pointer; }
.media-section,.variation-section { margin-top:16px; }
.image-gallery { padding:2px; }
.image-gallery figure { width:104px; }
.gallery-image { width:104px; height:104px; transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.gallery-image:hover { border-color:#79aaf1; box-shadow:0 7px 18px rgba(29,78,146,.15); transform:translateY(-1px); }
.image-delete { position:absolute; top:6px; right:6px; width:25px; height:25px; margin:0; border:1px solid #f5b7b2; border-radius:50%; background:#fff; color:var(--red); font-size:18px; line-height:19px; box-shadow:0 2px 7px rgba(16,24,40,.16); }
.image-add-card { display:grid; gap:11px; margin-top:16px; padding:13px; border:1px dashed #b9cde9; border-radius:7px; background:#f7fbff; }
.image-add-card > div { display:grid; gap:2px; }
.image-add-card strong { font-size:13px; }
.image-add-card small { color:var(--muted); font-size:11px; }
.image-add-form { margin-top:0; }
.image-add-button { min-width:126px; }
.image-add-form input[type="file"] { padding:4px; color:var(--muted); background:#fff; cursor:pointer; }
.image-add-form input[type="file"]::file-selector-button { height:30px; margin-right:8px; padding:0 10px; border:1px solid #bfd1ea; border-radius:5px; background:#eef5ff; color:#175ea9; font:700 11px/1 Inter,Segoe UI,Arial,sans-serif; cursor:pointer; }
.image-add-form input[type="file"]::file-selector-button:hover { background:#dceaff; }
.variation-section { background:#fcfbff; }
.variation-form { padding-top:13px; border-top:1px solid #e6eaf0; }
.platform-category-ids { display:grid; gap:12px; margin:0 0 15px; padding:13px; border:1px solid #dce8f7; border-radius:7px; background:#f7fbff; }
.platform-category-ids > div:first-child { display:grid; gap:2px; }
.platform-category-ids strong { font-size:13px; }
.platform-category-ids small { color:var(--muted); font-size:11px; }
.category-id-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.category-sync-state { min-height:16px; color:#667085; font-size:10px; font-weight:600; }
.category-id-grid input:not(:placeholder-shown) + .category-sync-state { color:#067647; }
.category-id-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.category-id-actions .modal-message { margin-right:auto; margin-left:0; }
.report-panel { display:grid; gap:18px; }
.report-panel > .section-head { margin-bottom:0; }
.report-year-form { display:flex; align-items:end; gap:9px; }
.report-year-form label { min-width:115px; }
.report-stats { margin:0; }
.report-charts { grid-template-columns:repeat(4,minmax(0,1fr)); margin:0; }
.report-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(260px,.8fr); gap:16px; }
.report-section { padding:18px; border:1px solid var(--line); border-radius:7px; background:#fff; }
.partner-settlement { display:grid; grid-template-columns:minmax(250px,1fr) minmax(420px,1.3fr); gap:18px; align-items:center; padding:18px; border:1px solid #cfe0f3; border-radius:7px; background:#f7fbff; }
.partner-settlement h2 { margin:3px 0 5px; font-size:17px; }.partner-settlement p { margin:0; }
.partner-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.partner-cards article { display:grid; gap:5px; padding:13px; border:1px solid #d8e8f8; border-radius:6px; background:#fff; }.partner-cards span { color:#475467; font-size:12px; font-weight:700; }.partner-cards strong { color:#175ea9; font-size:20px; }.partner-cards small { color:var(--muted); font-size:10px; }
.partner-payouts { padding:18px; border:1px solid var(--line); border-radius:7px; background:#fff; }.partner-payouts .section-head { margin-bottom:12px; }.payout-list { display:grid; grid-template-columns:repeat(5,minmax(145px,1fr)); gap:9px; }.payout-list > div { display:grid; gap:4px; padding:11px; border:1px solid #e7edf4; border-radius:6px; background:#fbfcfe; }.payout-list strong { color:#344054; font-size:12px; }.payout-list span { color:#067647; font-size:15px; font-weight:800; }.payout-list small { color:var(--muted); font-size:10px; line-height:1.4; }
.report-section .section-head { margin-bottom:12px; }
.status-report-list { display:grid; gap:8px; }
.status-report-list > div { display:grid; grid-template-columns:1fr auto; gap:2px 12px; padding:11px; border:1px solid #e8edf4; border-radius:6px; background:#fbfcfe; }
.status-report-list span { color:#344054; font-weight:700; }
.status-report-list strong { color:#175ea9; font-size:12px; }
.status-report-list small { grid-column:1 / -1; color:var(--muted); }
.category-mapping-section { background:#f8fbff; }
.category-mapping-section .detail-section-head > div { display:grid; gap:2px; }
.category-mapping-section .detail-section-head span { color:var(--muted); font-size:11px; }
.platform-mapping-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:8px; margin:0 0 14px; }
.platform-mapping-grid > div { display:grid; gap:3px; min-height:72px; padding:10px; border:1px solid #dce8f7; border-radius:6px; background:#fff; }
.platform-mapping-grid strong { color:#175ea9; font-size:11px; }
.platform-mapping-grid span { overflow:hidden; color:var(--ink); font-size:12px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.platform-mapping-grid small { color:var(--muted); font-size:10px; }
.category-map-form { display:grid; grid-template-columns:minmax(130px,.8fr) minmax(250px,2fr) minmax(115px,.6fr) auto; gap:10px; align-items:end; padding-top:13px; border-top:1px solid #dce8f7; }
.category-map-form [readonly] { background:#f2f4f7; color:#667085; }
@media (max-width:820px) { .category-map-form,.category-id-grid { grid-template-columns:1fr; } }
@media (max-width:1080px) { .accounting-filters { grid-template-columns:repeat(3,minmax(150px,1fr)); }.report-charts { grid-template-columns:repeat(2,minmax(0,1fr)); }.report-grid,.partner-settlement { grid-template-columns:1fr; }.payout-list { grid-template-columns:repeat(2,minmax(145px,1fr)); } }
@media (max-width:820px) { .filter-bar,.bulk-toolbar,.accounting-filters,.notification-settings { grid-template-columns:1fr; }.category-summary { justify-content:flex-start; }.accounting-table-head { align-items:flex-start; }.accounting-head-actions { justify-content:flex-start; }.rex-order-notification { right:16px; bottom:16px; }.report-year-form { width:100%; }.report-charts { grid-template-columns:1fr; } }
.user-card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(245px,1fr)); gap:12px; }
.user-card { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:10px; align-items:center; min-height:132px; padding:16px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); text-align:left; cursor:pointer; transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.user-card:hover { border-color:#8db9e8; box-shadow:0 8px 18px rgba(16,75,135,.1); transform:translateY(-1px); }
.user-avatar { display:grid; width:42px; height:42px; place-items:center; border-radius:50%; background:#e7f1fc; color:#175ea9; font-size:16px; font-weight:800; }
.user-card-main { display:grid; min-width:0; gap:3px; }.user-card-main strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.user-card-main small,.user-login { color:var(--muted); font-size:11px; }
.user-role { padding:4px 7px; border-radius:4px; background:#f2f4f7; color:#475467; font-size:10px; font-weight:800; }.user-role.owner { background:#fff1db; color:#9a5600; }.user-role.admin { background:#e7f1fc; color:#175ea9; }
.user-meta { grid-column:1 / -1; display:flex; align-items:center; gap:6px; color:#475467; font-size:12px; font-weight:700; }.status-dot { width:7px; height:7px; border-radius:50%; background:#98a2b3; }.status-dot.active { background:#12b76a; }.status-dot.passive { background:#f04438; }
.user-login { grid-column:1 / -1; padding-top:8px; border-top:1px solid #edf0f4; }
.order-filters { display:grid; grid-template-columns:repeat(5,minmax(135px,1fr)) auto auto; gap:10px; align-items:end; margin:0 0 16px; padding:14px; border:1px solid #dfe7f1; border-radius:7px; background:#f8fbff; }
.order-filters label { display:grid; gap:5px; color:#475467; font-size:11px; font-weight:700; }
.user-modal { position:relative; max-width:680px; }.user-modal .icon-button { position:absolute; top:14px; right:14px; z-index:2; }.user-form { display:grid; gap:14px; }.user-form > label { display:grid; gap:6px; font-size:12px; font-weight:700; }.toggle-field { display:flex !important; align-items:center; gap:8px; padding-top:25px; }.toggle-field input { width:16px; height:16px; }
.password-suggestions { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }.password-suggestions > span { width:100%; color:var(--muted); font-size:11px; font-weight:700; }.password-suggestions button { padding:6px 8px; border:1px solid #d8e4f2; border-radius:4px; background:#f7fbff; color:#175ea9; font-size:11px; cursor:pointer; }.password-suggestions .link-button { border-color:transparent; background:transparent; color:#667085; text-decoration:underline; }.password-note { margin:0; font-size:11px; }
@media (max-width:960px) { .order-filters { grid-template-columns:repeat(3,minmax(145px,1fr)); } }
@media (max-width:620px) { .user-card-grid { grid-template-columns:1fr; }.toggle-field { padding-top:0; }.order-filters { grid-template-columns:1fr; } }
/* Store listing coverage */
.store-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.upload-queue-panel { margin-top: 18px; }
.upload-queue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.upload-queue-card {
  border: 1px solid #dbe6f2;
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px;
}
.listing-metrics .queued { background: #fff6dc; color: #986400; }

.store-listing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.listing-card-head {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.listing-card-head strong { font-size: 15px; }

.listing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.listing-metrics > div {
  min-width: 0;
  border-radius: 6px;
  padding: 10px 8px;
  background: #f7f8fa;
}

.listing-metrics strong,
.listing-metrics small,
.listing-coverage span,
.listing-coverage strong,
.listing-total { display: block; }
.listing-metrics strong { font-size: 16px; }
.listing-metrics small,
.listing-total,
.listing-coverage span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.listing-metrics .listed { background: #edf9f1; color: #137a42; }
.listing-metrics .not-listed { background: #fff2f1; color: #b42318; }
.listing-metrics .not-requested { background: #f2f4f7; color: #475467; }

.listing-coverage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.listing-coverage strong { font-size: 14px; }
.listing-total { margin-top: 7px; }

.listing-report-section { margin-top: 18px; }
.listing-report-total { text-align: right; }
.listing-report-total strong,
.listing-report-total span { display: block; }
.listing-report-total strong { font-size: 20px; }
.listing-report-total span { color: var(--muted); font-size: 12px; }
.listing-report-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.listing-report-summary span { border-radius: 999px; padding: 7px 10px; font-size: 12px; }
.listing-report-summary .listed { background: #edf9f1; color: #137a42; }
.listing-report-summary .not-listed { background: #fff2f1; color: #b42318; }
.listing-report-summary .not-requested { background: #f2f4f7; color: #475467; }

.activity-modal { max-width: 840px; }
.activity-list { display: grid; gap: 10px; max-height: 68vh; overflow: auto; padding-right: 4px; }
.activity-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.activity-row strong { display: block; }
.activity-row p { margin: 4px 0; color: var(--muted); font-size: .88rem; }
.activity-row small { color: var(--muted); }
.activity-state { align-self: start; text-align: center; padding: 5px 7px; border-radius: 5px; background: #e8edf2; color: #334155; font-size: .76rem; font-weight: 700; }
.activity-state.success { background: #d9f4e4; color: #14733c; }
.activity-state.error { background: #fde1e1; color: #a52323; }
.activity-state.skipped { background: #fff1d5; color: #9a6200; }

@media (max-width: 620px) {
  .listing-metrics { gap: 5px; }
  .listing-metrics > div { padding: 9px 6px; }
  .listing-report-total { text-align: left; margin-top: 8px; }
}

/* Compact unified workspace */
.settings-subnav{padding-left:16px;display:grid;gap:2px}.settings-subnav a{font-size:12px;padding:7px 12px}.settings-links{display:flex;gap:8px;flex-wrap:wrap}.unified-products .section-head{margin-bottom:12px}.unified-products .bulk-filter-bar{gap:7px}.unified-products input,.unified-products select{padding:8px 10px;font-size:12px}.unified-products td{padding:8px}.unified-products .catalog-row-button{padding:0;font:inherit;color:inherit;text-align:left}.unified-products .bulk-pack-filters{grid-column:1/-1;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.unified-products .bulk-pack-filters label{display:grid;gap:3px;font-size:12px}.unified-products .product-thumb{width:38px;height:38px;object-fit:contain}.category-workspace details{margin:12px 0}.category-workspace .table-wrap{max-height:400px;overflow:auto}.panel{padding:18px}.section-head .muted{font-size:12px}.topbar{margin-bottom:16px}@media(max-width:720px){.panel{padding:12px}.settings-links{margin-top:8px}}

.unified-products .section-head h2,.unified-products .section-head .eyebrow,.unified-products .section-head .muted{display:none}.unified-products .section-head{margin-bottom:10px}.unified-products .bulk-filter-bar:not([data-expanded])>.advanced-filter{display:none}.unified-products .bulk-filter-bar{padding:12px;margin-bottom:12px}.unified-products .bulk-filter-bar>[name=q]{grid-column:span 2}.unified-products .bulk-pack-filters{padding-top:4px}.unified-products .bulk-command-bar{padding:10px;gap:8px}.unified-products .bulk-command-bar small{display:none}.unified-products .button{padding:9px 12px}@media(max-width:720px){.unified-products .bulk-filter-bar>[name=q]{grid-column:1/-1}.unified-products .bulk-pack-filters>strong{width:100%}}
