/* SCHEME colors sampled from the supplied icon, with neutral text. */
:root{
 --canvas:#fffafd;--surface:#fff;--surface-soft:#fff1f8;--field:#fff;
 --ink:#29252e;--text:#4d4553;--muted:#6f6273;
 --line:#efdeeb;--line-strong:#cfb6cc;
 --brand:#693b78;--brand-hover:#51275f;--brand-soft:#fff0f8;--brand-line:#e99ad6;
 --accent:#fea1d8;--accent-hover:#fc91ce;--accent-edge:#e682c4;
 --lavender:#684477;--lavender-soft:#f6dafa;--focus:#914a9c;
 --sidebar:#fdb2c9;--sidebar-hover:#ffffff80;--sidebar-selected:#fff;--sidebar-ink:#332b39;
 --brand-gradient:linear-gradient(160deg,#fdb2c9 0%,#fea1d8 48%,#eaa0e3 100%);
}


:root{font-family:Inter,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--sidebar);color:var(--text);display:flex;flex-direction:column;padding:30px 18px}.brand{display:flex;align-items:center;gap:12px;padding:0 9px 34px}.brand-mark{display:grid;place-items:center;background:var(--brand-line);color:var(--sidebar);font-size:26px;font-weight:900;width:42px;height:42px;border-radius:12px}.brand strong{display:block;font-size:15px;letter-spacing:.16em}.brand small{display:block;font-size:10px;letter-spacing:.22em;opacity:.55;margin-top:4px}.sidebar nav{display:grid;gap:5px}.nav{background:transparent;border:0;color:var(--text);text-align:left;padding:13px 15px;border-radius:9px;font-size:14px;cursor:pointer}.nav:hover,.nav.active{background:var(--sidebar-selected);color:#fff}.sidebar-foot{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--line)}.sidebar-foot p{font-size:11px;color:var(--muted);line-height:1.6}.pill{display:inline-block;border-radius:100px;padding:7px 11px;background:var(--sidebar-selected);color:var(--sidebar-ink);font-size:11px}.main{padding:34px clamp(25px,4vw,60px) 70px;min-width:0;max-width:1700px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.topbar h1{margin:3px 0 0;font-size:29px;letter-spacing:-.04em}.eyebrow{font-size:10px!important;font-weight:800!important;letter-spacing:.18em!important;color:var(--lavender)!important;text-transform:uppercase;margin:0 0 7px!important}.tab{display:none}.tab.active{display:block}.intro{border-radius:20px;min-height:190px;padding:34px 38px;background:var(--lavender-soft);display:flex;justify-content:space-between;overflow:hidden;margin-bottom:21px}.intro h2{font-size:26px;line-height:1.35;margin:0 0 12px}.intro p{font-size:13px;line-height:1.7;color:var(--text)}.intro-symbol{font-size:145px;line-height:.85;font-weight:900;letter-spacing:-.15em;color:var(--brand-line);opacity:.55;align-self:flex-end}.intro-symbol span{color:var(--brand)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:21px}.stat,.card{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 4px 24px rgba(75,39,72,.04)}.stat{padding:20px 23px}.stat span{display:block;font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:31px;margin:10px 0 4px;line-height:1}.stat small{font-size:11px;color:var(--muted)}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{padding:24px;margin-bottom:18px;min-width:0}.card h3{font-size:17px;margin:0 0 18px}.card-heading,.section-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.card-heading h3{margin:0 0 18px}.section-header{margin:2px 0 20px}.section-header h2{font-size:24px;margin:0 0 6px}.section-header p,.muted{color:var(--muted);font-size:13px;line-height:1.6}.section-header p{margin:0}.steps{margin:0;padding-left:21px;color:var(--text);font-size:13px;line-height:2.4}.button{border:0;border-radius:9px;padding:10px 15px;font-size:12px;font-weight:700;cursor:pointer;transition:background .2s,transform .2s}.button:hover{transform:translateY(-1px)}.primary{background:var(--brand);color:#fff}.primary:hover{background:var(--brand-hover)}.subtle{background:var(--lavender-soft);color:var(--lavender)}.subtle:hover{background:var(--sidebar-selected)}.button:disabled{opacity:.5;cursor:wait;transform:none}form{display:grid;gap:13px}label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--text)}input,select,textarea{width:100%;border:1px solid var(--line);background:var(--field);border-radius:8px;padding:10px 11px;font:inherit;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--focus);box-shadow:0 0 0 3px var(--lavender-soft)}textarea{resize:vertical}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .full{grid-column:1/-1}.form-grid .button{justify-self:start}.checkbox{display:flex;align-items:center;gap:8px}.checkbox input{width:auto}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}th,td{padding:13px 11px;border-bottom:1px solid var(--line)}td{color:var(--text);max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}td .button{padding:7px 10px;margin-right:5px}a{color:var(--brand)}.policy-list,.account-list,.events-list{display:grid;gap:10px}.list-row{padding:13px 15px;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.list-row strong{display:block}.list-row small{display:block;color:var(--muted);margin-top:4px}.actions{display:flex;gap:9px;flex-wrap:wrap}.status{display:inline-block;border-radius:100px;padding:5px 8px;background:var(--lavender-soft);color:var(--lavender);font-size:11px;font-weight:700}.status.review,.status.failed{background:#fff0df;color:#87511e}#notice{min-height:0;margin-bottom:0}#notice:not(:empty){border-radius:9px;background:#e4f3df;color:#245433;padding:11px 15px;font-size:13px;margin-bottom:18px}#notice.error{background:#ffebdf;color:#9b4932}#image-result img{max-width:360px;width:100%;border-radius:10px;margin-top:16px}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1fr}}@media(max-width:680px){.shell{grid-template-columns:1fr}.sidebar{padding:12px}.brand{padding:0 4px 11px}.sidebar nav{display:flex;overflow:auto}.nav{white-space:nowrap;padding:9px 11px}.sidebar-foot{display:none}.main{padding:20px}.topbar h1{font-size:23px}.intro{padding:24px;min-height:0}.intro-symbol{display:none}.intro h2{font-size:21px}.stats{gap:8px}.stat{padding:16px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}
.field-label{display:block;font-size:12px;font-weight:700;color:var(--text);margin-bottom:6px}.checks{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:8px}.checks .checkbox{font-weight:500}.checks input{flex:none}
.account-card{border:1px solid var(--line);border-radius:9px;overflow:hidden}.account-card .list-row{border:0;border-radius:0}.shipping-details{border-top:1px solid var(--line);padding:0 15px 14px}.shipping-details summary{cursor:pointer;padding:13px 0;color:var(--lavender);font-size:12px;font-weight:700}.shipping-form{padding-top:4px}
.remote-controls{display:grid;grid-template-columns:minmax(140px,1fr) minmax(100px,.7fr) minmax(160px,1.2fr) minmax(100px,.65fr) auto;gap:10px;align-items:end;margin-bottom:12px}.remote-controls .button{min-height:40px}.remote-product{display:flex;align-items:center;gap:10px;min-width:0}.remote-product img{width:42px;height:42px;object-fit:cover;border-radius:6px;flex:none}.remote-product a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remote-pager{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding-top:12px}.remote-pager .muted{min-width:80px;text-align:center}@media(max-width:950px){.remote-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
.redisplay-panel{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:10px;padding:15px;margin:14px 0}.redisplay-panel strong{font-size:13px}.redisplay-panel p{margin:7px 0 11px}.redisplay-panel .actions{align-items:center}.redisplay-panel [hidden]{display:none}.remote-select{width:16px;height:16px}.remote-actions{display:flex;gap:5px}.remote-actions .button{white-space:nowrap}

.remote-controls{grid-template-columns:minmax(140px,1fr) minmax(100px,.7fr) minmax(160px,1.2fr) auto}.sync-settings{border:1px solid var(--line);border-radius:9px;padding:10px 13px;margin:12px 0}.sync-settings summary{cursor:pointer;color:var(--lavender);font-size:12px;font-weight:700}.sync-settings-fields{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding-top:12px}.sync-settings-fields label:first-child{max-width:150px}.sync-settings-fields .checkbox{padding-bottom:11px}.sync-history{border:1px solid var(--line);border-radius:10px;padding:15px;margin:16px 0}.sync-history .card-heading h3{margin:0}.sync-history-list{display:grid;gap:8px;margin-top:12px}.sync-history-list .list-row{padding:9px 11px}.sync-history-list small{line-height:1.5}#sync-result-dialog{border:0;border-radius:14px;width:min(720px,calc(100vw - 30px));max-height:85vh;box-shadow:0 18px 70px rgba(0,0,0,.25);padding:22px}#sync-result-dialog::backdrop{background:rgba(35,25,43,.5)}.sync-result-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.sync-result-head h2{margin:0}.sync-change-list{display:grid;gap:8px;max-height:50vh;overflow:auto;margin-top:15px}.sync-change-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid var(--line);border-radius:8px}.sync-change-row strong{font-size:13px}.sync-change-row small{display:block;color:var(--muted);margin-top:3px}.sync-result-meta{margin-top:14px}
.weekday-checks{display:flex;flex-wrap:wrap;gap:12px;padding:10px 0}.weekday-checks .checkbox{font-weight:500}.weekday-checks input{width:auto}.schedule-row{align-items:flex-start}.schedule-row small{line-height:1.6}.schedule-row .actions{justify-content:flex-end;flex:none}.schedule-row .button{padding:7px 10px}#schedule-interval-field[hidden],#schedule-weekdays-field[hidden]{display:none}
.product-images { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
.product-images > div { display: grid; gap: 5px; }
.product-images img { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; }
.sync-results-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}.sync-runs-panel{position:sticky;top:20px}.sync-run-list{display:grid;gap:7px;max-height:65vh;overflow:auto;margin-top:14px}.sync-run-option{display:grid;gap:4px;width:100%;padding:11px;text-align:left;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);cursor:pointer}.sync-run-option.selected{border-color:var(--brand);background:var(--brand-soft)}.sync-run-option strong{font-size:12px}.sync-run-option small{font-size:11px;color:var(--muted)}.sync-details-panel{min-height:450px}.sync-details-panel h3{font-size:23px;margin:0 0 18px}.sync-result-times{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.sync-result-times span{display:grid;gap:4px;min-width:150px;background:var(--surface-soft);padding:11px 13px;border-radius:9px;color:var(--muted);font-size:11px}.sync-result-times strong{color:var(--ink);font-size:13px}.sync-result-filters{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 18px}.sync-filter{border:1px solid var(--line);border-radius:100px;background:#fff;padding:8px 12px;color:var(--text);font-size:12px;cursor:pointer}.sync-filter.selected{background:var(--brand);border-color:var(--brand);color:#fff}.sync-filter span{font-weight:800;margin-left:4px}.sync-result-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sync-product-card{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:#fff}.sync-product-image{display:block;aspect-ratio:1.25;background:var(--surface-soft)}.sync-product-image img{display:block;width:100%;height:100%;object-fit:cover}.sync-product-body{padding:13px}.sync-product-body h4{font-size:13px;line-height:1.5;min-height:2.9em;margin:9px 0 4px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sync-product-body p{font-size:13px;font-weight:700;margin:0 0 12px}.sync-kind{display:inline-block;border-radius:100px;padding:4px 8px;background:var(--lavender-soft);color:var(--lavender);font-size:10px;font-weight:800}.sync-kind.sold{background:#fff0df;color:#87511e}.sync-kind.price{background:#e8f0ff;color:#4569a0}.sync-product-actions{display:flex;gap:6px;flex-wrap:wrap}.sync-product-actions .button{font-size:11px;padding:7px 9px}#sync-result-more{margin-top:18px}@media(max-width:1180px){.sync-result-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.sync-results-layout{grid-template-columns:1fr}.sync-runs-panel{position:static}.sync-run-list{max-height:180px}.sync-result-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.sync-result-cards{grid-template-columns:1fr}}
.publication-error { display: block; max-width: 320px; margin-top: 4px; color: #9b3e27; white-space: normal; }

.sync-kind-list{display:flex;flex-wrap:wrap;gap:5px}.sync-kind.deleted,.status.deleted{background:#f2e7e5;color:#9b4d46}.sync-kind.paused{background:#f4edda;color:#8b6a28}.sync-product-actions .muted{font-size:11px}.sync-product-image{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px}

/* Task-oriented workspace: fixed navigation, independently scrolling content. */
html,body{height:100%;overflow:hidden}.shell{height:100dvh;min-height:0;overflow:hidden;grid-template-columns:224px minmax(0,1fr)}.sidebar{height:100dvh;overflow:auto;padding:30px 16px}.sidebar .nav{font-size:14px;padding:16px 15px}.brand{padding-bottom:38px}.brand small{display:none}.sidebar-foot{font-size:11px;color:var(--muted);display:flex;gap:8px;align-items:center}.connection-dot{width:7px;height:7px;border-radius:50%;background:var(--brand-line)}.main{height:100dvh;overflow-y:auto;overscroll-behavior:contain;max-width:none;margin:0;padding:32px clamp(24px,4vw,64px) 60px;scrollbar-gutter:stable}.topbar{margin-bottom:24px;min-height:48px;align-items:flex-end}.topbar h1{font-size:27px;letter-spacing:0}.tab{max-width:1320px;margin:0 auto}.tab>.section-header h2{display:none}.page-lead{font-size:14px;color:var(--muted);margin:0 0 24px;line-height:1.8}.page-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.text-button{border:0;background:transparent;color:var(--brand);cursor:pointer;font:inherit;font-size:13px;padding:8px 0;text-align:left}.text-button:hover{text-decoration:underline}#page-back{font-size:12px;padding:0 0 9px}.launch-modes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.mode-card{display:grid;grid-template-columns:36px 1fr;column-gap:12px;row-gap:8px;padding:23px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:14px;cursor:pointer;color:var(--ink)}.mode-card.selected{border:2px solid var(--brand);background:var(--brand-soft);padding:22px}.mode-card strong{font-size:17px;align-self:center}.mode-card small{grid-column:2;color:var(--muted);line-height:1.5}.mode-icon{grid-row:1/3;font-size:28px;color:var(--lavender)}.launch-card{padding:28px 32px;gap:24px}.launch-card>label{font-size:13px}.launch-card input,.launch-card select{font-size:15px;min-height:44px}.launch-count{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}.launch-count>span{font-size:13px;color:var(--muted);display:block}.launch-count strong{font-size:36px;display:block;margin-top:8px}.launch-count strong small{font-size:14px;font-weight:500;margin-left:8px}.launch-count p{margin:6px 0}.input-unit{display:flex;align-items:center;gap:12px}.input-unit input{max-width:180px}.input-unit span{font-size:13px;white-space:nowrap;color:var(--muted)}.input-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quiet-note{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.launch-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.launch-actions .button{min-height:54px;font-size:15px}.outline{border:1px solid var(--line-strong);background:#fff;color:var(--lavender)}.launch-actions .button:disabled{cursor:not-allowed}.form-error{font-size:13px;line-height:1.7;color:#a34732;margin:0}.form-error:empty{display:none}#tab-launch{max-width:800px;margin-left:0}#launch-time-panel{padding:18px;background:var(--surface-soft);border-radius:10px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1000px}.settings-tile{text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;cursor:pointer;color:var(--ink)}.settings-tile:hover{border-color:var(--line-strong)}.settings-tile strong{display:flex;justify-content:space-between;gap:12px;font-size:15px}.settings-tile small{display:block;margin-top:10px;font-size:12px;color:var(--muted);line-height:1.7}.advanced-settings{max-width:1000px;margin-top:28px}.advanced-settings>summary{cursor:pointer;padding:12px 0;font-size:13px;color:var(--muted)}.advanced-settings .settings-grid{margin-top:12px}.focused-form{max-width:800px;display:grid;gap:18px}.focused-form label{font-size:13px}.focused-form small{font-weight:400;color:var(--muted);line-height:1.6}.focused-form hr{border:0;border-top:1px solid var(--line);width:100%}.focused-form h3{margin:0}.run-card{display:flex;justify-content:space-between;gap:20px;align-items:center}.run-card h3{margin:12px 0 6px}.run-card p{font-size:13px;margin:6px 0}.run-card .button{flex-shrink:0}.empty-state{padding:50px;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.list-selection-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0;margin-top:12px;border-top:1px solid var(--line)}.list-selection-bar>span{font-size:12px;color:var(--muted);margin-right:auto}.remote-card .remote-product img{width:60px;height:60px}.remote-card .remote-product a{white-space:normal;line-height:1.6;min-width:160px}.remote-card table th:nth-child(4),.remote-card table td:nth-child(4),.remote-card table th:nth-child(5),.remote-card table td:nth-child(5),.remote-card table th:nth-child(7),.remote-card table td:nth-child(7),.remote-card table th:nth-child(8),.remote-card table td:nth-child(8){display:none}.remote-card:not([data-view="redisplay-list"]) table th:nth-child(9),.remote-card:not([data-view="redisplay-list"]) table td:nth-child(9){display:none}.remote-card[data-view="sold"] table th:first-child,.remote-card[data-view="sold"] table td:first-child{display:none}.remote-card td{overflow:visible;white-space:normal}.rule-summary{display:block;font-size:12px;line-height:1.7;min-width:130px}.rule-summary small{color:var(--muted);font-size:11px}.item-rule-cell>.button{margin-top:7px}.row-menu summary{font-size:12px;color:var(--lavender);cursor:pointer;white-space:nowrap}.row-menu[open]{min-width:140px}.row-menu .remote-actions{display:grid;gap:8px;padding-top:10px}.remote-card .table-wrap{overflow:auto}#remote-results-open{padding-left:0;background:transparent;text-decoration:underline}.sync-settings-fields{display:grid;align-items:start;gap:18px}.sync-settings-fields label:first-child{max-width:250px}[hidden]{display:none!important}.button:focus-visible,.nav:focus-visible,.mode-card:focus-visible,.settings-tile:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
@media(max-width:1000px){.shell{grid-template-columns:196px minmax(0,1fr)}.main{padding:26px 24px 50px}.remote-controls{grid-template-columns:1fr 1fr}.mode-card{padding:18px}.mode-card.selected{padding:17px}.launch-card{padding:24px}.launch-modes{gap:12px}}@media(max-width:680px){.shell{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.sidebar{height:auto;overflow:hidden;padding:10px 12px}.sidebar nav{display:flex;overflow-x:auto}.sidebar .nav{font-size:12px;padding:10px}.brand,.sidebar-foot{display:none}.main{height:100%;padding:20px 16px}.launch-modes,.settings-grid{grid-template-columns:1fr}.mode-card{padding:16px}.mode-card.selected{padding:15px}.launch-actions{grid-template-columns:1fr}.launch-card{padding:20px}.topbar h1{font-size:23px}}
[hidden] { display: none !important; }
.service-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; margin-bottom: 24px; border: 1px solid #ebd2b6; border-radius: 12px; background: #fff4e7; color: #7a441a; }
.license-card { max-width: 800px; gap: 14px; }
.license-card p { margin: 0; }
.license-card p:empty { display: none; }
.license-card .actions { margin-top: 12px; flex-wrap: wrap; }

/* Shared account context stays within the fixed navigation. */
.sidebar{height:100%;overflow:hidden}
.sidebar .brand{flex-shrink:0}
.sidebar nav{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.sidebar-foot{display:grid;gap:18px;flex-shrink:0;padding:20px 4px 0}
.account-switcher{display:grid;gap:9px;min-width:0}
.account-switcher label{font-size:11px;color:var(--muted);font-weight:600}
.account-switcher select{width:100%;min-width:0;min-height:43px;background:var(--sidebar-selected);color:var(--text);border:1px solid var(--line-strong);border-radius:8px;padding:10px 8px;font:inherit;font-size:12px;cursor:pointer}
.account-switcher select option{background:#fff;color:var(--ink)}
.account-switcher select:focus-visible{outline:3px solid var(--brand-line);outline-offset:2px}
.account-manage{background:none;border:0;padding:0;text-align:left;color:var(--muted);font:inherit;font-size:11px;cursor:pointer}
.account-manage:hover{color:#fff;text-decoration:underline}
.sidebar-connection{display:flex;gap:8px;align-items:center;font-size:10px;color:var(--muted);padding-top:2px}
.main{height:100%}
.remote-controls{grid-template-columns:minmax(150px,.75fr) minmax(220px,1.5fr) auto}
@media(max-width:1000px){.remote-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:680px){
 .sidebar{height:auto}.sidebar nav{flex-shrink:0;overflow-x:auto;overflow-y:hidden}
 .sidebar-foot{display:block;padding:10px 0 0;margin-top:8px}
 .account-switcher{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px}
 .account-switcher label{grid-column:1/-1;font-size:10px}
 .account-switcher select{min-height:36px;padding:7px 8px}
 .sidebar-connection{display:none}.remote-controls{grid-template-columns:minmax(0,1fr)}
}


/* Switch between rows and a five-column photo grid without changing the selection. */
.listing-display-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.listing-display-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft)}
.listing-display-switch button{display:flex;align-items:center;gap:5px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:12px;padding:8px 12px;cursor:pointer;white-space:nowrap}
.listing-display-switch button[aria-pressed="true"]{background:#fff;color:var(--brand);box-shadow:0 1px 4px #60345314;font-weight:700}
.listing-display-switch button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.listing-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 16px;padding-top:12px;align-items:start;container-type:normal}
.listing-tile{min-width:0;padding:0 0 10px;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.listing-tile.is-selected{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand)}
.listing-tile-media{position:relative}
.listing-tile-photo{display:block;position:relative;aspect-ratio:1;background:var(--surface-soft);overflow:hidden;color:var(--muted);text-decoration:none}
.listing-tile-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.listing-image-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:12px}
.listing-tile-price{position:absolute;bottom:8px;left:0;padding:5px 10px 5px 8px;border-radius:0 5px 5px 0;background:#1b262bd9;color:#fff;font-size:18px;font-variant-numeric:tabular-nums;line-height:1.2;max-width:100%}

.listing-tile-select{position:absolute;z-index:1;top:8px;left:8px;display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#fffffff2;box-shadow:0 1px 5px #39233d18;cursor:pointer}
.listing-tile-select input{width:18px;height:18px;margin:0;accent-color:var(--brand);cursor:pointer}
.listing-tile-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:3.2em;margin:10px 10px 8px;color:var(--ink);font-size:12px;line-height:1.6;text-decoration:none;overflow-wrap:anywhere}
.listing-tile-title:hover{text-decoration:underline}
.listing-tile-photo:focus-visible,.listing-tile-title:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.listing-tile-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding:0 10px;flex-wrap:wrap}
.listing-tile-footer .status{font-size:10px;padding:5px 7px}
.listing-tile-footer .row-menu{margin-left:auto;min-width:0;max-width:100%;font-size:11px}
.listing-tile-footer .row-menu summary{font-size:11px;padding:5px 0}
.listing-tile-footer .row-menu[open]{flex-basis:100%}
.listing-tile-footer .remote-actions{display:grid;gap:7px}
.listing-tile-footer .button{font-size:11px;white-space:normal;line-height:1.6;text-align:left}
.listing-tile-rule{border-top:1px solid var(--line);margin:10px 10px 0;padding-top:10px;display:grid;gap:8px}
.listing-tile-rule .rule-summary{min-width:0;font-size:11px}
.listing-tile-rule .button{font-size:11px;justify-self:start}
.listing-grid-empty{grid-column:1/-1;text-align:center;padding:48px 16px;color:var(--muted);font-size:13px}
@media(max-width:1199px){.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.listing-display-controls{gap:8px}.listing-display-switch button{padding:7px 9px}.listing-tile-price{font-size:16px}.listing-tile-footer{padding:0 7px}.listing-tile-title{margin-left:7px;margin-right:7px}.remote-card{padding:18px 12px}.remote-card>.card-heading{flex-wrap:wrap;gap:12px}.listing-tile-select{top:6px;left:6px;width:28px;height:28px}}


/* Availability is visible directly on product photos. */
.remote-thumb{position:relative;display:block;flex:0 0 60px;width:60px;height:60px;overflow:hidden;border-radius:8px;background:var(--surface-soft)}
.remote-card .remote-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.remote-thumb .listing-image-placeholder{font-size:9px}
.listing-tile-photo.is-paused img,.remote-thumb.is-paused img{filter:brightness(.65)}
.listing-tile-sold{position:absolute;z-index:2;top:0;left:0;width:76px;height:76px;overflow:hidden;pointer-events:none;color:#fff}
.listing-tile-sold::before{content:"";position:absolute;top:0;left:0;border-top:76px solid #ff2038;border-right:76px solid transparent}
.listing-tile-sold>span{position:absolute;top:16px;left:0;width:62px;line-height:20px;text-align:center;font-size:16px;font-weight:800;letter-spacing:1px;transform:rotate(-45deg)}
.listing-image-paused{position:absolute;z-index:2;top:50%;left:0;width:100%;transform:translateY(-50%);padding:10px 4px;background:#352d3ccc;color:#fff;text-align:center;font-size:14px;line-height:1.4;font-weight:700;pointer-events:none;white-space:nowrap}
.listing-tile-price{z-index:2}
.listing-tile-select{left:auto;right:8px;z-index:3}
.listing-tile-footer{min-height:24px}
.remote-thumb .listing-tile-sold{width:34px;height:34px}
.remote-thumb .listing-tile-sold::before{border-top-width:34px;border-right-width:34px}
.remote-thumb .listing-tile-sold>span{top:6px;left:-2px;width:32px;font-size:8px;line-height:10px;letter-spacing:.3px}
.remote-thumb .listing-image-paused{padding:4px 1px;font-size:9px;line-height:1.3}
@media(max-width:680px){.listing-tile-select{left:auto;right:6px}.listing-image-paused{font-size:12px;padding:8px 2px}}

/* Exclusive status filters for the listings page. */
.remote-card[data-view="listings"] .remote-controls{grid-template-columns:auto minmax(160px,1fr) auto;gap:18px}
.listing-status-filter{display:grid;gap:6px;min-width:0}
.listing-status-label{font-size:12px;font-weight:700;color:var(--text)}
.listing-status-buttons{display:flex;gap:7px;flex-wrap:wrap}
.listing-status-buttons button{border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--text);font:inherit;font-size:13px;line-height:20px;padding:9px 16px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}
.listing-status-buttons button:hover{background:var(--brand-soft);border-color:var(--line-strong)}
.listing-status-buttons button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}
.listing-status-buttons button:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
@media(max-width:1100px){.remote-card[data-view="listings"] .remote-controls{grid-template-columns:minmax(0,1fr) auto;gap:12px}.listing-status-filter{grid-column:1/-1}}
@media(max-width:680px){.listing-status-buttons{gap:6px}.listing-status-buttons button{padding:8px 12px;font-size:12px}}

/* Brand treatments are confined to navigation and controls; product photos stay neutral. */
.sidebar{background:var(--sidebar);color:var(--ink);border-right:1px solid var(--line)}
.brand-mark{background:var(--brand-gradient);color:#5f335e;box-shadow:0 3px 10px #9a5e8a12}
.brand strong{color:var(--ink)}
.nav{color:var(--text)}
.nav:hover{background:var(--sidebar-hover);color:var(--sidebar-ink)}
.nav.active{background:var(--sidebar-selected);color:var(--sidebar-ink);font-weight:700;box-shadow:inset 3px 0 0 var(--brand)}
.account-switcher select{background:var(--surface);border-color:var(--line-strong);color:var(--text)}
.account-switcher select:focus-visible{outline-color:var(--focus)}
.account-manage:hover{color:var(--brand)}
.connection-dot{background:#288566}
input[type="checkbox"],input[type="radio"]{accent-color:var(--brand)}
.mode-card{grid-template-columns:48px minmax(0,1fr);transition:border-color .15s,background .15s}
.mode-card:hover,.settings-tile:hover{border-color:var(--brand-line);background:var(--brand-soft)}
.mode-card.selected{border-color:var(--brand);background:var(--brand-soft)}
.mode-icon{background:var(--lavender-soft);border-radius:12px;display:grid;place-items:center;width:48px;min-height:48px;font-size:25px}
.outline{border-color:var(--brand-line);color:var(--brand)}
.outline:hover{background:var(--brand-soft)}
.remote-card tbody tr:hover{background:#fcf8fc}
::selection{background:#eed3e6;color:var(--ink)}
@media(prefers-reduced-motion:reduce){.button,.mode-card,.listing-status-buttons button{transition:none}.button:hover{transform:none}}


/* Bright icon colors on navigation and actions, white content surfaces. */
.sidebar{background:var(--brand-gradient);border-right:1px solid #efb0d9}
.brand-mark{background:#fff;color:var(--ink);box-shadow:none}
.nav.active{box-shadow:none;color:var(--ink)}
.sidebar-foot{border-color:#ffffff80}
.sidebar .account-switcher label,.sidebar .account-manage,.sidebar .sidebar-connection{color:var(--text)}
.account-switcher select{border-color:#ffffff80}
.primary{background:var(--accent);color:var(--ink)}
.primary:hover{background:var(--accent-hover)}
.subtle{background:var(--lavender-soft);color:var(--ink)}
.subtle:hover{background:#efc8f5}
.mode-card.selected,.sync-run-option.selected{border-color:var(--accent-edge);background:var(--brand-soft)}
.mode-card.selected .mode-icon{background:#ffcfeb;color:var(--ink)}
.mode-card:not(.selected) .mode-icon{background:var(--lavender-soft);color:var(--ink)}
.outline{border-color:var(--accent-edge);color:var(--ink)}
.listing-status-buttons button[aria-pressed="true"],.sync-filter.selected{background:var(--accent);border-color:var(--accent);color:var(--ink)}
.listing-display-switch button[aria-pressed="true"]{background:var(--lavender-soft);color:var(--ink)}
.listing-tile.is-selected{border-color:var(--accent-edge);box-shadow:0 0 0 2px var(--accent-edge)}
::selection{background:#ffc6e6;color:var(--ink)}

/* Show the controls and live values; keep page context in the navigation. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar[data-root="true"],.topbar[data-root="true"]>div{display:contents}
.sidebar-utilities{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sidebar-utilities #refresh{padding:7px 9px;font-size:11px;flex:none}
.launch-modes{margin-bottom:18px}
.mode-card{grid-template-columns:40px minmax(0,1fr);align-items:center;padding:16px;min-height:74px}
.mode-card.selected{padding:15px}
.mode-icon{grid-row:auto;width:40px;min-height:40px;font-size:23px}
.launch-card{padding:24px;gap:20px}
.launch-count{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;border-top:0;padding:0 0 18px}
.launch-count-metric>span{font-size:12px;color:var(--muted)}
.launch-count strong{font-size:30px;margin-top:4px}
.launch-count strong small{font-size:13px;margin-left:6px}
#launch-eligible{grid-column:1/-1;margin:0}
#launch-list-link{font-size:12px;white-space:nowrap}
.launch-actions .button{min-height:50px}
#launch-time-note,#item-rule-relist-note{font-size:12px;margin:8px 0 0}
.settings-tile{padding:18px 20px;min-height:64px}
.listing-display-controls,#products-total{margin-left:auto}
.sync-status-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:8px 0 12px}
.sync-status-row p{margin:0}
.sync-status-row #remote-results-open{padding:4px 0}
@media(max-width:680px){.sidebar-utilities{justify-content:flex-end;margin-top:8px}.launch-card{padding:20px}.launch-modes{gap:10px}.mode-card{min-height:64px}.launch-count{gap:10px}}

/* Launch controls: distinct tools and one place for execution settings. */
#tab-launch{max-width:1120px;margin-inline:auto;padding-top:clamp(8px,3vh,32px)}
.launch-workbench{--launch-tone:#b93785;--launch-tint:#fff0f8;--launch-border:#db74b5;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 40px #562b4e07;overflow:hidden}
.launch-workbench[data-tool="publish"]{--launch-tone:#2864b6;--launch-tint:#eef5ff;--launch-border:#7ba4d9}
.launch-mode-picker{padding:24px 28px;border-bottom:1px solid var(--line);background:#fffcfe}
#launch-mode-heading{font-size:24px;font-weight:700;color:var(--text);margin:0 0 14px}
.launch-workbench .launch-modes{grid-template-columns:1fr 1fr;gap:16px;padding:0;margin:0;background:transparent;border:0}
.launch-workbench .mode-card{display:flex;align-items:center;gap:14px;min-height:86px;padding:18px 20px;border:1px solid #dedce5;border-radius:13px;background:#fff;box-shadow:0 2px 4px #29252e03;outline-offset:-5px}
.launch-workbench .mode-card:hover{background:#faf9fc;border-color:#b3a9bd}
.launch-workbench .mode-card.selected{padding:17px 19px;background:var(--launch-tint);border:2px solid var(--launch-tone);box-shadow:0 3px 10px #312b5010}
.launch-workbench .mode-card strong{font-size:17px;white-space:nowrap;color:var(--ink)}
.launch-workbench .mode-icon{display:grid;place-items:center;width:44px;height:44px;min-height:0;border-radius:12px;flex:none}
.launch-workbench #mode-discount .mode-icon{background:#ffe0f0;color:#a83276}
.launch-workbench #mode-publish .mode-icon{background:#e1edff;color:#2864b6}
.launch-workbench .mode-icon svg{width:25px;height:25px}
.mode-selected-label{font-size:11px;font-weight:600;margin-left:auto;white-space:nowrap;visibility:hidden;color:var(--launch-tone)}
.selected .mode-selected-label{visibility:visible}
.mode-indicator{display:grid;place-items:center;width:22px;height:22px;border:1.5px solid #c5becd;border-radius:50%;flex:none;background:#fff;color:#fff;font-size:14px;line-height:1}
.selected .mode-indicator{border-color:var(--launch-tone);background:var(--launch-tone)}
.selected .mode-indicator:after{content:'✓'}
.launch-workbench .launch-card{display:flex;flex-direction:column;padding:0;margin:0;gap:0;background:transparent;border:0;box-shadow:none}
.launch-fields{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(0,1.5fr);align-items:stretch;padding:32px 36px;gap:36px}
.launch-workbench .launch-count{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:14px;padding:8px 0 0;border:0}
.launch-workbench .launch-count-metric>span,.launch-field-label{font-size:13px;font-weight:600;line-height:1.6;color:var(--text)}
.launch-workbench .launch-count strong{font-size:60px;font-weight:650;letter-spacing:-.04em;line-height:1.15;margin-top:20px;font-variant-numeric:tabular-nums}
.launch-workbench .launch-count strong small{font-size:15px;font-weight:500;letter-spacing:0;color:var(--muted);margin-left:10px}
.launch-workbench #launch-list-link{padding:0;line-height:1.6;font-size:12px}
.launch-workbench #launch-eligible{font-size:12px;line-height:1.6;margin:0}
.launch-settings{border-left:1px solid var(--line);padding-left:36px;min-width:0;display:grid;gap:26px}
.launch-basic-settings{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.launch-basic-settings>label{display:grid;gap:12px;align-content:start;min-width:0}
.launch-field-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:26px}
.launch-field-cap{font-size:10px;font-weight:400;color:var(--muted);padding:3px 6px;border-radius:5px;background:#f7f4f8;white-space:nowrap}
.launch-basic-settings .input-unit{gap:10px}
.launch-workbench .launch-basic-settings input{min-width:0;width:124px;max-width:100%;min-height:54px;border:1px solid #cbbfd2;border-radius:10px;background:#fff;padding:10px 14px;font-size:25px;font-weight:600;line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums}
.launch-basic-settings .input-unit>span{font-size:13px;font-weight:400}
.launch-schedule-settings{border:0;min-width:0;padding:0;margin:0}
.launch-schedule-settings legend{font-size:13px;font-weight:600;line-height:1.6;color:var(--text);padding:0;margin-bottom:12px}
.launch-schedule-options{display:grid;grid-template-columns:1.15fr 1.15fr .8fr;gap:7px}
.launch-schedule-options button{font:inherit;font-size:12px;line-height:1.4;min-height:42px;padding:10px 8px;border-radius:8px;border:1px solid #ded8e4;background:#fff;color:var(--text);cursor:pointer}
.launch-schedule-options button:hover{background:#f7f4fa}
.launch-schedule-options button[aria-pressed="true"]{border-color:var(--launch-tone);background:var(--launch-tint);color:var(--launch-tone);font-weight:700;box-shadow:inset 0 0 0 1px var(--launch-tone)}
.launch-schedule-options button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.launch-date-time{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-top:16px}
.launch-date-time label{display:grid;gap:7px;font-size:12px;font-weight:500;color:var(--muted)}
.launch-date-time input{width:144px;min-height:44px;margin:0;border-radius:8px;font:inherit;font-size:15px;color:var(--ink);padding:9px 12px}
.launch-date-time #launch-date{width:178px}
#launch-weekdays{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
#launch-weekdays label{position:relative;cursor:pointer}
#launch-weekdays input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;padding:0}
#launch-weekdays span{display:grid;place-items:center;min-width:36px;height:36px;border-radius:8px;border:1px solid #ded8e4;background:#fff;font-size:12px;color:var(--muted)}
#launch-weekdays input:checked+span{background:var(--launch-tint);border-color:var(--launch-tone);color:var(--launch-tone);font-weight:700}
#launch-weekdays input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
.launch-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:24px 32px;background:#fffcfe}
.launch-history-link{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);white-space:nowrap}
.launch-history-link svg{width:17px;height:17px;flex:none}.launch-history-link>span{margin-left:2px}
.launch-workbench .launch-actions{grid-template-columns:repeat(2,minmax(140px,1fr));gap:12px;flex:0 1 430px}
.launch-workbench .launch-actions .button{min-height:52px;padding:14px 22px;font-size:14px;border-radius:11px;white-space:nowrap}
.launch-workbench .launch-actions .outline{background:#fff;border:1px solid var(--launch-border);color:var(--launch-tone)}
.launch-workbench[data-tool="publish"] .launch-actions .primary{background:#c5ddff;border-color:#9bbfec;color:#183c6b}
.launch-workbench[data-tool="publish"] .launch-actions .primary:hover{background:#b2d1fa}
.launch-workbench #launch-error:not(:empty){margin:0 32px 20px}
#launch-progress:not(:empty){margin-top:20px}
@media(max-width:1100px){
 .launch-mode-picker{padding:22px 24px}.launch-workbench .mode-card{gap:10px;padding:14px}.launch-workbench .mode-card.selected{padding:13px}.launch-workbench .mode-card strong{font-size:15px}.mode-selected-label{display:none}.mode-indicator{margin-left:auto}
 .launch-fields{padding:28px;gap:24px;grid-template-columns:minmax(130px,.6fr) minmax(0,1.6fr)}.launch-settings{padding-left:24px}.launch-basic-settings{gap:16px}
 .launch-footer{flex-wrap:wrap;gap:16px;padding:22px 28px}.launch-workbench .launch-actions{flex:1 1 100%;order:-1}
}
@media(max-width:850px){
 .launch-fields{grid-template-columns:1fr;gap:24px}.launch-settings{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.launch-workbench .launch-count{position:relative;padding:0}.launch-workbench #launch-list-link{position:absolute;right:0;top:50%;transform:translateY(-50%)}.launch-workbench .launch-count strong{font-size:46px;margin-top:10px}
}
@media(max-width:680px){
 #tab-launch{padding-top:8px}.launch-workbench{border-radius:16px}.launch-mode-picker{padding:18px 14px}#launch-mode-heading{font-size:21px;margin-bottom:16px}
 .launch-workbench .launch-modes{gap:10px}.launch-workbench .mode-card,.launch-workbench .mode-card.selected{display:grid;grid-template-columns:30px 1fr;gap:12px 8px;min-height:98px;padding:12px;border-radius:10px}.launch-workbench .mode-card.selected{padding:11px}
 .launch-workbench .mode-card strong{grid-row:2;grid-column:1/-1;font-size:13px;white-space:normal}.launch-workbench .mode-icon{width:30px;height:30px;border-radius:8px}.launch-workbench .mode-icon svg{width:19px;height:19px}.mode-indicator{width:19px;height:19px;font-size:12px;justify-self:end}
 .launch-fields{padding:24px 20px;gap:22px}.launch-basic-settings{gap:12px}.launch-field-label{font-size:12px;min-height:44px;align-content:start}.launch-field-cap{font-size:9px}.launch-workbench .launch-basic-settings input{width:96px;font-size:23px;padding:10px}
 .launch-schedule-options{gap:5px}.launch-schedule-options button{font-size:11px;padding:9px 3px}
 .launch-footer{padding:20px;gap:12px}.launch-workbench .launch-actions{grid-template-columns:1fr 1fr;gap:10px}.launch-workbench .launch-actions .button{padding:14px 10px;font-size:13px}.launch-history-link{margin:4px auto 0}
 .launch-workbench #launch-error:not(:empty){margin:0 20px 20px}.launch-date-time{gap:12px}.launch-date-time #launch-date{width:154px}.launch-date-time #launch-time{width:124px}
}

.launch-reservation{margin-top:16px;padding:14px 16px;background:#faf8fc;border:1px solid var(--line);border-radius:10px}
.launch-reservation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--text)}
.launch-reservation-heading button{display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--muted);width:28px;height:28px;font-size:20px;cursor:pointer}
.launch-reservation-heading button:hover{background:#ede6f2;color:var(--ink)}
.launch-reservation .launch-date-time{margin-top:8px}

/* One compact product toolbar; previous sync details stay with pagination. */
#remote-card .remote-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0}
#remote-card .remote-controls>label{gap:0;min-width:0}
#remote-card .remote-status-field{flex:0 1 160px}
#remote-card .remote-search-field{flex:0 1 220px;width:220px;max-width:260px}
#remote-card .remote-search-field input,#remote-card .remote-status-field select{min-height:40px}
#remote-card .listing-status-filter{flex:none;grid-column:auto}
#remote-card .listing-status-buttons{gap:6px}
#remote-card .listing-status-buttons button{padding:8px 13px;font-size:12px}
#remote-card .listing-display-controls{margin-left:auto;gap:12px;flex:none;flex-wrap:nowrap}
#remote-card .listing-display-controls #remote-count{font-size:11px;white-space:nowrap}
#remote-card .listing-display-switch{height:40px}
#remote-card #remote-sync{flex:none;min-height:40px}
#remote-card .list-selection-bar{margin-top:16px;padding:12px 0}
#remote-card .remote-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;border-top:1px solid var(--line);padding-top:16px;margin-top:20px}
#remote-card .sync-status-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;flex:1 1 260px;min-width:0}
#remote-card .sync-status-row p{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
#remote-card .sync-status-row #remote-results-open{font-size:11px;font-weight:500;white-space:nowrap;padding:2px 0}
#remote-card .remote-pager{padding:0;flex:none;margin-left:auto}
#remote-card[data-view="listings"][data-status="sold"] table th:first-child,#remote-card[data-view="listings"][data-status="sold"] table td:first-child{display:none}
@media(max-width:1200px){#remote-card .remote-controls{gap:10px}#remote-card .listing-display-controls{gap:8px}#remote-card .remote-search-field{flex:1 1 180px}}
@media(max-width:680px){
 #remote-card .listing-status-filter{flex:1 0 100%}#remote-card .listing-status-buttons{gap:5px}#remote-card .listing-status-buttons button{padding:8px 10px}
 #remote-card .remote-search-field{flex:1 1 100%;width:auto;max-width:none}#remote-card .listing-display-controls{margin-left:0}#remote-card #remote-sync{margin-left:auto}
 #remote-card .remote-footer{gap:12px}#remote-card .sync-status-row{flex-basis:100%}
}

/* Shared product rows for the product and redisplay lists. */
#remote-card #remote-table-view th{font-size:12px;padding:16px 14px}
#remote-card #remote-table-view td{padding:20px 14px;font-size:14px;vertical-align:middle}
#remote-card #remote-table-view .remote-product{gap:18px}
#remote-card #remote-table-view .remote-product>a{font-size:15px;line-height:1.7}
#remote-card #remote-table-view .remote-thumb{flex-basis:120px;width:120px;height:120px;border-radius:10px}
#remote-card #remote-table-view .remote-thumb .listing-image-placeholder{font-size:12px}
#remote-card #remote-table-view .remote-thumb .listing-tile-sold{width:68px;height:68px}
#remote-card #remote-table-view .remote-thumb .listing-tile-sold::before{border-top-width:68px;border-right-width:68px}
#remote-card #remote-table-view .remote-thumb .listing-tile-sold>span{top:12px;left:-4px;width:64px;font-size:16px;line-height:20px;letter-spacing:.6px}
#remote-card #remote-table-view .remote-thumb .listing-image-paused{font-size:13px;padding:8px 2px}
#remote-card #remote-table-view td:nth-child(3){font-size:16px;font-weight:600;white-space:nowrap}
#remote-card #remote-table-view .status{font-size:13px;padding:7px 10px;white-space:nowrap}
#remote-card #remote-table-view .row-menu summary{font-size:14px;padding:8px 0}
#remote-card #remote-table-view .remote-select{width:20px;height:20px;min-height:0}

#remote-card #remote-table-view .rule-summary{font-size:14px;line-height:1.7}
#remote-card #remote-table-view .rule-summary small{font-size:12px}
#remote-card #remote-table-view .item-rule-cell>.button{font-size:13px;min-height:36px}

/* Account management and settings for the currently selected account. */
#single-account-name{font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;padding:4px 0}
.account-rename-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding:16px}
.account-rename-form label{flex:1;min-width:180px}
.account-delete{color:#a52e50;background:#fff5f7;border:1px solid #efc2cf}
.account-delete:hover{background:#ffe7ed}
.account-card .list-row{gap:16px;flex-wrap:wrap}
.account-card .list-row>.actions{margin-left:auto}
.shipping-settings-card{max-width:850px;margin-left:0}
#account-shipping-form{display:grid;gap:24px}
.account-confirm{width:min(480px,calc(100vw - 32px));border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--ink);box-shadow:0 20px 80px #39233d30}
.account-confirm::backdrop{background:#23192b60}
.account-confirm h2{margin:0 0 18px;font-size:20px}
.account-confirm p{font-size:14px;line-height:1.8}
.account-confirm .actions{justify-content:flex-end;margin-top:24px}

.shipping-settings-card .card-heading{margin-bottom:22px}
#shipping-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}
@media(max-width:680px){#shipping-fields{grid-template-columns:minmax(0,1fr)}}
.listing-action-dialog{width:min(460px,calc(100vw - 32px));padding:30px;border:1px solid var(--line);border-radius:18px;color:var(--ink);background:#fff;box-shadow:0 24px 90px #35223630}
.listing-action-dialog::backdrop{background:#27203170;backdrop-filter:blur(2px)}
.listing-action-dialog form{display:grid;gap:20px}.listing-action-dialog h2{font-size:22px;margin:0}.listing-action-dialog p{margin:0;line-height:1.7;font-size:14px}
.listing-action-dialog .listing-action-product{color:var(--muted);font-size:13px;max-height:3.4em;overflow:hidden}
.listing-price-transition{display:flex;align-items:center;justify-content:center;gap:24px;padding:22px 12px;background:var(--surface-soft);border-radius:12px;margin-bottom:16px}
.listing-price-transition strong{font-size:27px}.listing-price-transition strong:last-child{color:var(--brand)}.listing-price-transition>span{color:var(--muted);font-size:20px}
.listing-action-price-input{display:flex;align-items:center;gap:12px;margin-top:12px}.listing-action-price-input input{font-size:26px;min-width:0;width:100%;padding:14px}
.listing-action-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}.listing-action-buttons .button{min-height:46px;font-size:14px}
.row-operation{display:block;font-size:12px;margin-top:9px;max-width:250px;line-height:1.6}.row-operation.error{color:#ac314b}.remote-actions .delete-listing-action{color:#ac314b}.listing-operation{min-width:130px}
.activity-strip{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 16px;margin:0 0 20px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 12px #54314e06;font-size:13px;flex-wrap:wrap}
.activity-dot{width:7px;height:7px;border-radius:50%;background:#a49aa7;flex:none}.activity-strip[data-state="running"] .activity-dot{background:#d52a88;box-shadow:0 0 0 4px #fce5f3}.activity-strip[data-state="waiting"] .activity-dot,.activity-strip[data-state="scheduled"] .activity-dot{background:#d5a026}.activity-strip[data-state="done"] .activity-dot{background:#2c8c66}.activity-strip[data-state="error"] .activity-dot{background:#c93a4f}
#activity-label{font-size:13px;white-space:nowrap}#activity-title{flex:1;min-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#activity-title:empty{display:none}#activity-count{margin-left:auto;color:var(--muted);white-space:nowrap;font-size:12px}#activity-progress{height:5px;width:100%;accent-color:#d52a88;border:0;border-radius:10px;overflow:hidden}#activity-progress::-webkit-progress-bar{background:#f3eaf2}#activity-progress::-webkit-progress-value{background:#d52a88}
/* One action panel shared by list and card layouts. */
.listing-menu-trigger{min-width:88px;min-height:38px;font-weight:700}
.listing-menu-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
.listing-menu-dialog .listing-action-product{margin:12px 0 24px;max-height:none;overflow-wrap:anywhere}
.listing-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.listing-menu-grid .button{min-height:58px;font-size:14px;border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);white-space:normal}
.listing-menu-grid .button:hover:not(:disabled){border-color:var(--brand);background:var(--brand-soft)}
.listing-menu-grid .delete-listing-action{color:#ac314b;background:#fff5f7}
#listing-menu-close{display:block;margin:24px 0 0 auto;min-width:100px}
.listing-tile-footer .listing-operation{margin-left:auto;min-width:0}
@media(max-width:420px){.listing-menu-dialog{padding:22px}.listing-menu-grid{gap:8px}}
.template-library-title{display:flex;align-items:center;gap:16px;max-width:440px}.template-library-title img{width:76px;height:76px;object-fit:cover;border-radius:10px;flex-shrink:0}.template-sets{display:grid;gap:20px}.template-set{border:1px solid #efd5ea;border-radius:14px;padding:18px;background:#fff}.template-set-head{display:flex;gap:12px;align-items:center;margin-bottom:16px}.template-set-head input{width:240px;max-width:55%}.template-set-head button{margin-left:auto}.template-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px}.template-image img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.template-image>div{display:flex;align-items:center;justify-content:space-between;gap:4px}.template-image button{border:0;background:#f9ecf7;border-radius:6px;padding:5px 9px;cursor:pointer}.template-image button:disabled{opacity:.35;cursor:default}.template-upload{margin-top:16px;display:block}.template-upload input{margin-top:8px}.template-set-head .form-error{margin:0}#template-image-editor h3{margin:0}#template-links{font-size:13px}#tab-template-edit .card{max-width:1160px;margin-inline:auto}#tab-template-edit textarea[name=titleVariants]{line-height:1.9}#template-title-count{font-size:12px;margin-top:6px}
.template-set-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.template-set-tabs .button{padding:9px 14px}.template-images{grid-template-columns:repeat(auto-fill,minmax(130px,160px))}
/* Template workspace follows the product list's toolbar, cards and image sizes. */
.template-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:12px}.template-toolbar>input{width:250px;max-width:100%;min-height:40px}.template-toolbar-end{margin-left:auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.template-toolbar-end>.muted{font-size:12px}.template-more{position:relative}.template-more>summary{list-style:none;cursor:pointer}.template-more>div{position:absolute;right:0;top:calc(100% + 8px);z-index:30;min-width:220px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 36px #30203120}.template-more button{display:block;width:100%;padding:13px 12px;text-align:left;border:0;background:transparent;color:var(--ink);font:inherit;cursor:pointer;border-radius:7px}.template-more button:hover{background:var(--surface-soft)}
.template-tile .listing-tile-photo{border:0;width:100%;cursor:pointer;padding:0}.template-tile .listing-tile-title{background:none;border:0;text-align:left;padding:0;cursor:pointer;font-family:inherit;font-size:13px;width:calc(100% - 24px);margin:12px;min-height:3.2em}.template-tile .listing-tile-footer{align-items:center;padding:10px 12px 2px}.template-tile .listing-tile-footer>.muted{font-size:12px}.template-tile .listing-tile-footer>.button{min-width:64px;text-align:center;font-size:12px}.template-tile-meta{display:flex;gap:12px;padding:0 12px;font-size:12px;color:var(--muted);flex-wrap:wrap}.template-tile-meta b{color:var(--ink);font-weight:600}.template-warning{display:block;color:#a04427;font-size:11px;line-height:1.5;margin-top:8px}.template-tile>.template-warning{margin-inline:12px}.template-row-product{display:flex;align-items:center;gap:20px;text-align:left;border:0;background:transparent;color:var(--ink);font:inherit;font-size:15px;line-height:1.7;padding:0;cursor:pointer;min-width:280px}.template-row-product>span:last-child{max-width:440px}.template-row-photo{position:relative;width:120px;height:120px;flex:none;border-radius:10px;overflow:hidden;background:var(--surface-soft)}.template-row-photo img{width:100%;height:100%;object-fit:cover}#template-table table{table-layout:auto}#template-table td{white-space:normal;padding:20px 14px;font-size:14px;vertical-align:middle}#template-table th{padding:16px 14px;font-size:12px}#template-table .template-price{font-size:16px;font-weight:600;white-space:nowrap}.template-empty{text-align:center;height:150px}.template-library-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:24px;padding-top:16px;font-size:12px}.template-library-footer .remote-pager{padding:0}
.template-workbench{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 6px 25px #65304405;min-width:0}.template-editor-top{position:sticky;top:68px;z-index:12;background:#fff;border-radius:18px 18px 0 0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 26px;border-bottom:1px solid var(--line)}.template-editor-identity{display:flex;align-items:center;gap:16px;min-width:0}.template-editor-identity>div:last-child{min-width:0}#template-cover{width:56px;height:56px;flex:none;border-radius:9px;overflow:hidden;background:var(--surface-soft);display:grid;place-items:center}#template-cover img{width:100%;height:100%;object-fit:cover}#template-cover span{font-size:10px;color:var(--muted)}#product-form-title{font-size:17px;line-height:1.5;margin:0 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#template-editor-counts{font-size:12px}.template-editor-top .actions{flex:none;flex-wrap:nowrap}.template-editor-top .primary{min-width:100px;min-height:42px}.template-editor-top .outline{font-size:12px}.template-editor-nav{display:flex;gap:24px;padding:0 26px;border-bottom:1px solid var(--line)}.template-editor-nav>button{position:relative;padding:20px 6px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer}.template-editor-nav>button[aria-selected=true]{color:#a32b77;border-bottom-color:#d83499}.template-editor-nav span{display:inline-block;margin-left:5px;padding:2px 7px;background:var(--surface-soft);border-radius:6px;font-size:11px}.template-editor-panel{padding:28px}.template-editor-panel .form-grid{max-width:960px;gap:22px}.template-editor-panel input,.template-editor-panel select,.template-editor-panel textarea{font-size:14px}.template-editor-panel .input-unit input{max-width:none}.template-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.template-panel-heading h3{font-size:17px;margin:0}#template-panel-titles>label>span{font-size:12px;font-weight:400;margin-bottom:10px}#template-panel-titles textarea{min-height:300px;padding:18px;line-height:2!important;background:#fffcfe}.template-editor-panel #template-image-editor>.card-heading{margin:0}.template-set-tabs{gap:8px;margin:20px 0}.template-set-tabs .button{border-radius:9px;padding:11px 16px;font-size:13px}.template-sets .template-set{padding:0;border:0;border-radius:0}.template-set-head{padding:16px;background:var(--surface-soft);border-radius:10px;margin-bottom:22px}.template-set-head input{background:#fff}.template-set-head button{background:transparent;font-size:12px;color:var(--muted)}.template-images{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 16px}.template-image{min-width:0}.template-image img{display:block;aspect-ratio:1;object-fit:contain;background:#faf8fa;border:1px solid var(--line);border-radius:10px}.template-image>div{padding-top:7px}.template-image button{padding:6px 12px;min-height:30px}.template-upload{font-size:12px;color:var(--muted);margin-top:22px}.template-upload input{font-size:12px;background:#fff}.template-upload input::file-selector-button{border:0;border-radius:7px;background:var(--surface-soft);padding:9px 14px;margin-right:12px;color:var(--ink);cursor:pointer}.template-editor-panel #template-links:empty{display:none}
@media(max-width:1199px){.template-toolbar{gap:12px}.template-toolbar-end{gap:8px}.template-toolbar>input{width:210px}.template-images{grid-template-columns:repeat(3,minmax(0,1fr))}.template-editor-top{gap:12px;padding:18px}.template-editor-identity{gap:10px}#product-form-title{font-size:15px}.template-editor-panel{padding:22px}}
@media(max-width:680px){.template-toolbar>input{width:100%}.template-toolbar-end{margin-left:0;width:100%}.template-toolbar-end>.primary{margin-left:auto}.template-editor-top{flex-wrap:wrap;top:68px}.template-editor-identity{width:100%}.template-editor-top .actions{margin-left:auto}.template-editor-nav{gap:14px;padding:0 16px}.template-editor-nav>button{font-size:12px}.template-editor-panel{padding:16px}.template-images{grid-template-columns:repeat(2,minmax(0,1fr))}.template-set-head{flex-wrap:wrap;padding:12px}.template-set-head input{max-width:100%;width:100%}.template-set-head button{padding:8px}.template-toolbar-end .listing-display-switch button{padding:8px}.template-workbench .form-grid{grid-template-columns:1fr}.template-workbench .form-grid>.full{grid-column:1}.template-row-photo{width:100px;height:100px}}
#template-grid{align-items:stretch}.template-tile{display:flex;flex-direction:column}.template-tile .listing-tile-photo{flex-shrink:0}.template-tile .listing-tile-footer{margin-top:auto;padding-top:12px}.template-image-editor-heading{display:none}
/* Mercari-style template editor: management name outside the listing form. */
.template-sell-form{max-width:850px;margin:0 auto 40px}.template-management-bar{display:flex;align-items:flex-end;gap:24px;margin-bottom:20px;padding:20px 24px;background:#f7edf6;border:1px solid var(--border,#ead7e6);border-radius:16px}.template-management-bar>label{flex:1;margin:0}.template-management-bar .button{min-width:100px;height:44px}.template-sell-sheet{background:#fff;border:1px solid var(--border,#ead7e6);border-radius:18px;overflow:hidden}.sell-section{padding:28px 32px;border-bottom:1px solid #eee5ed}.sell-section:last-child{border-bottom:0}.sell-section h3{font-size:17px;margin:0 0 22px}.sell-field-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.sell-field-head h3{margin:0}.sell-photo-row{display:flex;align-items:center;gap:24px}.template-sell-form #template-cover{width:200px;height:200px;flex:none;background:#faf5fa;border:1px solid #ead7e6;border-radius:12px;display:grid;place-items:center;overflow:hidden}.template-sell-form #template-cover img{width:100%;height:100%;object-fit:cover}.sell-title-preview{font-size:17px;line-height:1.65;margin:0 0 8px;overflow-wrap:anywhere}.sell-choice{display:grid;grid-template-columns:120px 1fr 12px;align-items:center;gap:18px;padding:18px 0;width:100%;border:0;border-bottom:1px solid #eee5ed;background:transparent;color:inherit;text-align:left;cursor:pointer}.sell-choice strong{font-weight:500;line-height:1.6}.sell-choice small{color:#938195;font-size:11px}.sell-select-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0;padding:18px 0;border-bottom:1px solid #eee5ed;font-size:14px}.sell-select-row select{width:62%;font-weight:400}.sell-description-label{font-size:17px;font-weight:700}.sell-description-label textarea{margin-top:16px;font-weight:400;line-height:1.8;resize:vertical}.sell-counter{display:block;text-align:right;font-size:12px;color:#8b7f90;margin-top:8px}.sell-counter.form-error{color:#c02655}.template-management-extra{margin:20px 0}.template-management-extra>label{margin-top:14px}.template-edit-dialog{width:min(700px,92vw);max-height:85vh;padding:28px;border:1px solid #ead7e6;border-radius:18px;color:inherit;overflow:auto;box-shadow:0 20px 90px #2a16352e}.template-edit-dialog::backdrop{background:#20152866}.template-images-dialog{width:min(1100px,94vw)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;position:sticky;top:-28px;background:#fff;z-index:2;padding:8px 0 18px}.dialog-heading h2{font-size:20px;margin:0}.template-title-row{display:flex;align-items:flex-start;gap:12px;margin:18px 0}.template-title-row label{flex:1;margin:0}.template-title-row>button{margin-top:22px}.template-title-row input{margin-top:8px}.template-choice-dialog{width:min(600px,92vw)}#template-category-breadcrumbs{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.sell-option{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%;padding:17px 12px;background:#fff;color:inherit;border:0;border-bottom:1px solid #eee5ed;font-size:15px;cursor:pointer}.sell-option:hover{background:#fff0f8}.sell-option small{display:block;font-size:12px;color:#8b7f90;margin-top:6px}.template-brand-search{display:flex;gap:10px}.template-brand-search input{flex:1;min-width:0}#template-attributes{margin-top:20px}#template-attributes:empty{display:none}.template-attribute-summary{display:flex;gap:8px;flex-wrap:wrap}.template-attribute-summary span{background:#f8eff8;border-radius:8px;padding:6px 12px}.template-sell-form .form-error:empty{display:none}
@media(max-width:700px){.sell-section{padding:22px 18px}.template-management-bar{padding:16px;gap:12px}.template-sell-form #template-cover{width:140px;height:140px}.sell-choice{grid-template-columns:90px 1fr 10px;gap:10px}.sell-select-row{gap:10px}.sell-select-row select{width:60%}.template-edit-dialog{padding:20px}.dialog-heading{top:-20px}}

.template-save-footer{margin:28px 0 0}.template-save-footer .button{display:flex;align-items:center;justify-content:center;width:100%;min-height:60px;font-size:18px;font-weight:700;border-radius:12px}

.template-publish-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.template-tile>.template-publish-actions{padding:0 14px 16px}.template-publish-actions .button{flex:1;white-space:nowrap}.publish-queue-item{display:flex;align-items:center;gap:18px;padding:20px 0;border-bottom:1px solid var(--border)}.queue-photo{width:120px;height:120px;object-fit:cover;border-radius:10px;background:#faf5fa;flex:none}.queue-product{flex:1;min-width:0}.queue-product strong,.queue-product>span{display:block;margin:6px 0}.queue-order{display:inline-flex;gap:4px;margin-right:8px}.queue-order .button{min-width:36px}.queue-number{color:#8b7f90}@media(max-width:700px){.publish-queue-item{flex-wrap:wrap;gap:10px}.queue-photo{width:80px;height:80px}.queue-product{flex-basis:50%}}
