/* My Quivrr Retailer: one contained workspace layer below the shared header. */
.retailer-portal-main { width:min(100% - 2rem, 1280px); margin:0 auto; box-sizing:border-box; }
.retailer-workspace,.retailer-dashboard-shell,.retailer-dashboard-content { min-width:0; box-sizing:border-box; }
.retailer-dashboard-shell { width:100%; margin:1.5rem 0 3rem; }
.retailer-dashboard-nav,.retailer-dashboard-content { width:100%; max-width:100%; box-sizing:border-box; border:1px solid #c9dce9; background:#fff; }
.retailer-dashboard-nav { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem 1rem; border-radius:1rem 1rem 0 0; box-shadow:0 10px 24px rgba(8,35,60,.08); }
.retailer-dashboard-content { padding:clamp(1.25rem,3vw,2.5rem); border-top:0; border-radius:0 0 1rem 1rem; box-shadow:0 18px 38px rgba(8,35,60,.08); color:#092b4c; }
.retailer-store-identity { display:flex; flex:0 1 18rem; min-width:0; align-items:center; gap:.7rem; padding:.2rem; border:0; background:none; color:#092b4c; text-align:left; cursor:pointer; }
.retailer-store-identity img,.retailer-store-identity-mark { width:2.75rem; height:2.75rem; flex:0 0 2.75rem; border:1px solid #c9dce9; border-radius:.55rem; object-fit:contain; background:#f3f8fb; }
.retailer-store-identity-mark { display:grid; place-items:center; color:#e96220; font-weight:900; }
.retailer-store-identity strong,.retailer-store-identity small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.retailer-store-identity strong { font-size:.95rem; }.retailer-store-identity small,.retailer-kicker { color:#55718b; font-size:.7rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.retailer-dashboard-nav-links { display:flex; flex:1 1 auto; flex-wrap:wrap; justify-content:flex-end; gap:.2rem; min-width:0; }
.retailer-dashboard-nav-links button { min-height:2.4rem; padding:.45rem .62rem; border:1px solid transparent; border-radius:999px; background:transparent; color:#173f63; font:700 .83rem/1.1 inherit; cursor:pointer; }
.retailer-dashboard-nav-links button:hover,.retailer-dashboard-nav-links button:focus-visible { background:#edf5f9; border-color:#9dc4dc; outline:0; }
.retailer-dashboard-nav-links button.is-active { background:#ffda77; border-color:#ff9b50; box-shadow:inset 0 -3px #ff8a3d; color:#092b4c; }
.retailer-view-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:1.4rem; }.retailer-view-heading h1 { margin:.15rem 0 .4rem; color:#092b4c; font-size:clamp(2rem,4.3vw,4.15rem); letter-spacing:-.055em; line-height:.96; }.retailer-view-heading p:not(.retailer-kicker) { max-width:48rem; margin:0; color:#54728d; font-size:1rem; line-height:1.55; }
.retailer-primary,.retailer-secondary,.retailer-card-action,.retailer-text-action { display:inline-flex; align-items:center; justify-content:center; min-height:2.6rem; padding:.55rem .8rem; border:1px solid #95b8d0; border-radius:.55rem; background:#fff; color:#092b4c!important; font:800 .88rem/1.15 inherit; text-align:center; text-decoration:none; cursor:pointer; transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.retailer-primary { border-color:#ed9c21; background:#ffd04f; }.retailer-primary:hover,.retailer-primary:focus-visible { background:#ffbd45; border-color:#e96220; box-shadow:0 5px 14px rgba(233,98,32,.19); transform:translateY(-1px); }
.retailer-secondary:hover,.retailer-secondary:focus-visible,.retailer-card-action:hover,.retailer-card-action:focus-visible,.retailer-text-action:hover,.retailer-text-action:focus-visible { border-color:#e96220; background:#fff4e9; box-shadow:0 5px 14px rgba(233,98,32,.14); outline:0; }
.retailer-primary:focus-visible,.retailer-secondary:focus-visible,.retailer-card-action:focus-visible,.retailer-text-action:focus-visible, .retailer-dashboard-content :focus-visible { outline:3px solid #e96220; outline-offset:2px; }
.retailer-primary:disabled,.retailer-secondary:disabled,.retailer-card-action:disabled { opacity:.5; cursor:not-allowed; transform:none; }
.retailer-store-overview,.retailer-inline-panel,.retailer-coverage-panel,.retailer-upload-form,.retailer-inventory-section,.retailer-profile-summary,.retailer-terms,.retailer-plans article { border:1px solid #c9dce9; border-radius:1rem; background:#fbfdff; }
.retailer-store-overview { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:1rem; padding:1.2rem; margin-bottom:1.25rem; }.retailer-store-overview>img,.retailer-store-overview>.retailer-inventory-image-placeholder { width:6rem; height:4.5rem; object-fit:contain; }.retailer-store-overview h2 { margin:0; color:#092b4c; }.retailer-store-overview p { margin:.25rem 0; color:#54728d; }.retailer-region-badge { display:inline-flex; width:max-content; max-width:100%; padding:.3rem .6rem; border-radius:999px; background:#e7f1f7; color:#174c72!important; font-weight:800; }.retailer-store-overview-actions,.retailer-listing-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; }
.retailer-logo-reminder { display:flex; align-items:center; gap:.6rem; max-width:16rem; min-height:4.5rem; padding:.5rem; border:1px dashed #83aac4; border-radius:.75rem; background:#f8fbfd; color:#092b4c; text-align:left; cursor:pointer; }.retailer-logo-reminder:hover,.retailer-logo-reminder:focus-visible { border-color:#e96220; background:#fff4e9; outline:0; }.retailer-logo-reminder .retailer-inventory-image-placeholder { width:3.25rem; height:3.25rem; }.retailer-logo-reminder strong,.retailer-logo-reminder small { display:block; }.retailer-logo-reminder small { margin-top:.2rem; color:#54728d; font-size:.75rem; }
.retailer-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; margin-bottom:1.25rem; }.retailer-metrics button { min-height:11rem; padding:1.1rem; border:1px solid #c9dce9; border-radius:1rem; background:#fff; color:#092b4c; text-align:left; cursor:pointer; }.retailer-metrics button:hover,.retailer-metrics button:focus-visible { border-color:#e96220; background:#fffaf2; outline:0; }.retailer-metrics span,.retailer-metrics small { display:block; color:#55718b; font-size:.72rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }.retailer-metrics strong { display:block; margin:.55rem 0; color:#0b4f80; font-size:2.25rem; }
.retailer-inline-panel { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.2rem; margin-bottom:1rem; }.retailer-inline-panel h2 { margin:.15rem 0; }.retailer-inline-panel p { color:#54728d; }.retailer-coverage-panel { display:block; }
.retailer-capacity-note { flex:0 0 auto; margin:0; padding:.55rem .8rem; border:1px solid #c9dce9; border-radius:.65rem; color:#54728d; font-weight:800; }.retailer-upload-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:.75rem; padding:1rem; margin-bottom:1.3rem; }.retailer-upload-form label>span:first-child { display:block; margin-bottom:.4rem; font-size:.76rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }.retailer-file-control { position:relative; display:flex; align-items:center; min-width:0; min-height:2.65rem; gap:.65rem; padding:.25rem; border:1px solid #a9c4d6; border-radius:.55rem; background:#fff; }.retailer-file-control .retailer-secondary { min-height:2.05rem; pointer-events:none; }.retailer-file-control strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.retailer-file-control input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
.retailer-inventory-section { padding:1.1rem; }.retailer-inventory-heading h2 { margin:0; }.retailer-inventory-heading p { color:#54728d; }.retailer-inventory-toolbar { display:flex; align-items:center; justify-content:space-between; gap:.7rem; margin:1rem 0; }.retailer-filter-group { display:flex; flex-wrap:wrap; gap:.45rem; }.retailer-filter-group button { min-height:2.45rem; padding:.45rem .7rem; border:1px solid #9dbbd0; border-radius:.5rem; background:#fff; color:#092b4c; font:800 .85rem inherit; cursor:pointer; }.retailer-filter-group button:hover,.retailer-filter-group button:focus-visible { border-color:#e96220; background:#fff4e9; outline:0; }.retailer-filter-group button.is-active { border-color:#092b4c; background:#092b4c; color:#fff; box-shadow:inset 0 -3px #ffcd49; }
.retailer-board-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.9rem; }.retailer-board-card { display:flex; min-width:0; flex-direction:column; gap:.55rem; padding:.85rem; border:1px solid #c9dce9; border-top:4px solid #ffd04f; border-radius:.8rem; background:#fff; overflow:hidden; }.retailer-board-card:hover { border-color:#e96220; }.retailer-inventory-card-media { overflow:hidden; border:1px solid #d7e5ee; border-radius:.6rem; background:#f3f8fb; }.retailer-inventory-image { display:block; width:100%; height:160px; object-fit:contain; }.retailer-inventory-image-placeholder { display:grid; place-items:center; height:160px; background:#eff5f8; color:#e96220; font-weight:900; letter-spacing:.12em; }.retailer-listing-state { display:inline-flex; width:max-content; max-width:100%; padding:.22rem .45rem; border-radius:999px; font-size:.68rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }.retailer-listing-state.ready { background:#dbf5e5; color:#12643f; }.retailer-listing-state.needs_attention { background:#fff0c9; color:#805900; }.retailer-listing-state.sold,.retailer-listing-state.inactive { background:#e9eef2; color:#536a7c; }.retailer-board-card h3 { margin:0; color:#092b4c; font-size:1rem; }.retailer-board-summary,.retailer-board-dimensions,.retailer-board-facts,.retailer-board-price,.retailer-board-stock,.retailer-specification-source { margin:0; overflow-wrap:anywhere; }.retailer-board-summary { color:#173f63; }.retailer-board-summary strong { display:block; color:#092b4c; }.retailer-board-dimensions,.retailer-board-price { font-weight:900; }.retailer-board-facts,.retailer-board-stock { color:#54728d; }.retailer-specification-source { display:inline-flex; width:max-content; max-width:100%; padding:.2rem .4rem; border-radius:999px; background:#eaf2f7; color:#174c72; font-size:.74rem; font-weight:800; }.retailer-card-next-step,.retailer-toggle-blocker { margin:0; padding:.55rem; border-radius:.5rem; background:#fff5d9; color:#775500!important; font-size:.79rem; line-height:1.35; }.retailer-card-footer { display:grid; grid-template-columns:1fr 1fr; gap:.45rem; margin-top:auto; padding-top:.75rem; border-top:1px solid #dce7ef; }.retailer-card-footer .retailer-live-switch,.retailer-card-footer .retailer-toggle-blocker { grid-column:1 / -1; }.retailer-card-action-remove { border-color:#be4a43; color:#92251f!important; }.retailer-card-action-remove:hover,.retailer-card-action-remove:focus-visible { background:#a52b25; border-color:#a52b25; color:#fff!important; }
.retailer-live-switch { display:flex; align-items:center; gap:.55rem; min-height:2.55rem; padding:.35rem .5rem; border:1px solid #9fc0d4; border-radius:.65rem; background:#f8fbfd; color:#092b4c; font-weight:900; cursor:pointer; }.retailer-live-switch input { position:absolute; opacity:0; }.retailer-live-switch-track { position:relative; width:3rem; height:1.65rem; margin-left:auto; border:1px solid #92aabd; border-radius:999px; background:#99aebc; }.retailer-live-switch-track:before { position:absolute; top:.14rem; left:.14rem; width:1.25rem; height:1.25rem; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.2); content:""; transition:transform .16s ease; }.retailer-live-switch input:checked + .retailer-live-switch-track { background:#167344; }.retailer-live-switch input:checked + .retailer-live-switch-track:before { transform:translateX(1.28rem); }.retailer-live-switch.is-disabled { opacity:.65; cursor:not-allowed; }
.retailer-card-more { grid-column:1/-1; position:relative; }.retailer-card-more summary { min-height:2.4rem; padding:.5rem .7rem; border:1px solid #9dbbd0; border-radius:.55rem; background:#fff; color:#092b4c; font-weight:800; cursor:pointer; list-style:none; text-align:center; }.retailer-card-more summary::-webkit-details-marker { display:none; }.retailer-card-more summary:after { margin-left:.35rem; content:"⌄"; }.retailer-card-more[open] summary { border-color:#e96220; background:#fff4e9; }.retailer-card-more[open]>button { width:100%; margin-top:.45rem; }.retailer-card-more:focus-within summary { outline:3px solid #e96220; outline-offset:2px; }
.retailer-upload-history { margin-top:1rem; border:1px solid #c9dce9; border-radius:.75rem; background:#fbfdff; }.retailer-upload-history summary { padding:.85rem 1rem; font-weight:900; cursor:pointer; }.retailer-upload-history>p,.retailer-upload-history>div { margin:.25rem 1rem 1rem; }.retailer-upload-history>div { display:flex; flex-wrap:wrap; gap:.5rem; }
.retailer-form { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }.retailer-form fieldset { display:contents; }.retailer-form legend { grid-column:1/-1; margin-top:.5rem; color:#0c6397; font-weight:900; }.retailer-form label { display:grid; min-width:0; gap:.3rem; color:#153d60; font-size:.78rem; font-weight:900; }.retailer-form label.wide { grid-column:1/-1; }.retailer-form input,.retailer-form select,.retailer-form textarea { width:100%; min-width:0; min-height:2.55rem; box-sizing:border-box; padding:.5rem .6rem; border:1px solid #9fc0d4; border-radius:.5rem; background:#fff; color:#092b4c; font:600 .9rem inherit; }.retailer-form textarea { min-height:8rem; resize:vertical; }.retailer-form small,.retailer-form-help { color:#54728d; font-size:.73rem; line-height:1.4; }.retailer-field-invalid input,.retailer-field-invalid select { border-color:#c83a32; background:#fff8f7; }.retailer-canonical-value { background:#edf5f8!important; color:#335d78!important; }.retailer-locked-currency select:disabled { border-color:#c7d6df; background:#edf2f5; color:#698195; opacity:1; }.retailer-custom-confirmation { grid-column:1/-1; grid-template-columns:auto 1fr!important; align-items:center; padding:.8rem; border:1px solid #f0bf30; background:#fff8df; }.retailer-custom-confirmation input { width:1rem; min-height:1rem; }.retailer-staged-editor-actions,.retailer-form-actions { grid-column:1/-1; display:flex; justify-content:flex-end; gap:.6rem; }.retailer-editor-blockers,.retailer-global-blocker,.retailer-status { margin:0 0 1rem; padding:.85rem 1rem; border-left:4px solid #c7372f; border-radius:.45rem; background:#fff0f0; color:#92251f; }.retailer-editor-blockers strong,.retailer-global-blocker strong { display:block; }.retailer-editor-blockers ul { margin:.4rem 0 0; padding-left:1.2rem; }.retailer-status.success { border-color:#197547; background:#e8f7ed; color:#17633e; }
.retailer-modal-backdrop { position:fixed; z-index:1000; inset:0; display:grid; place-items:center; padding:1rem; background:rgba(5,25,43,.72); }.retailer-editor-modal { width:min(100%,58rem); max-height:calc(100dvh - 2rem); overflow:auto; padding:1.25rem; border:1px solid #9fc0d4; border-radius:1rem; background:#fff; box-shadow:0 2rem 4rem rgba(0,0,0,.32); }.retailer-staged-editor-heading { display:flex; justify-content:space-between; gap:1rem; margin-bottom:1rem; }.retailer-staged-editor-heading h2 { margin:.35rem 0; }.retailer-staged-editor-heading p { margin:0; color:#54728d; }.retailer-editor-modal .retailer-form { padding:1rem; border:1px solid #d4e3ec; border-radius:.8rem; background:#f8fbfd; }
.retailer-profile-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:hidden; }.retailer-profile-summary-group { min-width:0; padding:1rem; border-right:1px solid #c9dce9; }.retailer-profile-summary-group:last-child { border-right:0; }.retailer-profile-summary-group h2 { margin:0 0 .6rem; }.retailer-profile-summary-group>div { padding:.45rem 0; border-top:1px solid #dce7ef; }.retailer-profile-summary-group span { display:block; color:#55718b; font-size:.68rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }.retailer-profile-summary-group strong { overflow-wrap:anywhere; }.retailer-profile-region { border-top:4px solid #ffd04f; }.retailer-logo-manager { margin-top:1rem; padding:1rem; border:1px solid #c9dce9; border-radius:.8rem; }.retailer-logo-dropzone { display:flex; align-items:center; gap:1rem; min-height:5rem; padding:.75rem; border:1px dashed #8cb4ce; border-radius:.7rem; }.retailer-store-logo { width:4rem; height:4rem; object-fit:contain; }
.retailer-plans { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }.retailer-plans article { display:flex; flex-direction:column; align-items:flex-start; min-height:18rem; padding:1.25rem; }.retailer-plans article:nth-child(2) { border-color:#e96220; box-shadow:0 12px 28px rgba(233,98,32,.15); }.retailer-plans h2 { margin:.65rem 0 .35rem; }.retailer-plans strong { font-size:1.7rem; }.retailer-plans p { color:#54728d; line-height:1.55; }.retailer-plans .retailer-primary { width:100%; margin-top:auto; }.retailer-plan-label { color:#e96220; font-size:.7rem; font-weight:900; letter-spacing:.1em; }.retailer-plan-summary { display:grid; grid-template-columns:1fr auto; }.retailer-plan-usage { display:flex; gap:.6rem; margin:0; }.retailer-plan-usage div { min-width:7rem; padding:.65rem; border:1px solid #c9dce9; border-radius:.55rem; }.retailer-plan-usage dt { color:#55718b; font-size:.7rem; font-weight:900; text-transform:uppercase; }.retailer-plan-usage dd { margin:.3rem 0 0; font-size:1.25rem; font-weight:900; }
.retailer-terms { padding:1.25rem; }.retailer-terms label { display:block; margin:1rem 0; padding:.85rem; border-left:4px solid #ffd04f; background:#fff9e8; line-height:1.5; }.retailer-view-loading { display:flex; align-items:center; gap:.7rem; min-height:12rem; font-weight:800; }.retailer-view-loading span { width:1.3rem; height:1.3rem; border:.18rem solid #bfd1de; border-top-color:#e96220; border-radius:50% !important; clip-path:circle(50%); animation:retailer-workspace-spin .7s linear infinite; }@keyframes retailer-workspace-spin{to{transform:rotate(360deg)}}
html[data-theme="dark"] body.retailer-portal-page,html[data-theme="dark"] .retailer-portal-main,html[data-theme="dark"] .retailer-workspace { background:#071426; }html[data-theme="dark"] .retailer-dashboard-content,html[data-theme="dark"] .retailer-dashboard-nav,html[data-theme="dark"] .retailer-store-overview,html[data-theme="dark"] .retailer-inline-panel,html[data-theme="dark"] .retailer-inventory-section,html[data-theme="dark"] .retailer-board-card,html[data-theme="dark"] .retailer-upload-form,html[data-theme="dark"] .retailer-profile-summary,html[data-theme="dark"] .retailer-logo-manager,html[data-theme="dark"] .retailer-terms,html[data-theme="dark"] .retailer-plans article,html[data-theme="dark"] .retailer-editor-modal { background:#10263a; border-color:#41647d; color:#f5f8fc; }html[data-theme="dark"] .retailer-dashboard-content h1,html[data-theme="dark"] .retailer-dashboard-content h2,html[data-theme="dark"] .retailer-dashboard-content h3,html[data-theme="dark"] .retailer-store-identity,html[data-theme="dark"] .retailer-board-card,html[data-theme="dark"] .retailer-form label { color:#f5f8fc; }html[data-theme="dark"] .retailer-dashboard-nav-links button,html[data-theme="dark"] .retailer-secondary,html[data-theme="dark"] .retailer-card-action,html[data-theme="dark"] .retailer-filter-group button,html[data-theme="dark"] .retailer-file-control,html[data-theme="dark"] .retailer-form input,html[data-theme="dark"] .retailer-form select,html[data-theme="dark"] .retailer-form textarea,html[data-theme="dark"] .retailer-editor-modal .retailer-form,html[data-theme="dark"] .retailer-upload-history { background:#18364c; border-color:#547993; color:#f5f8fc!important; }html[data-theme="dark"] .retailer-dashboard-nav-links button:hover,html[data-theme="dark"] .retailer-secondary:hover,html[data-theme="dark"] .retailer-card-action:hover,html[data-theme="dark"] .retailer-filter-group button:hover { background:#214b65; color:#fff!important; }html[data-theme="dark"] .retailer-dashboard-nav-links button.is-active { background:#ffd04f; color:#092b4c!important; }html[data-theme="dark"] .retailer-board-facts,html[data-theme="dark"] .retailer-board-stock,html[data-theme="dark"] .retailer-view-heading p:not(.retailer-kicker),html[data-theme="dark"] .retailer-inline-panel p,html[data-theme="dark"] .retailer-form-help { color:#bfd3e0; }html[data-theme="dark"] .retailer-card-next-step,html[data-theme="dark"] .retailer-toggle-blocker,html[data-theme="dark"] .retailer-terms label { background:#3b3114; color:#ffebb0!important; }html[data-theme="dark"] .retailer-status.success { background:#173e2c; color:#bdeccb; }
@media (max-width:1120px){.retailer-dashboard-nav{align-items:flex-start;flex-direction:column}.retailer-dashboard-nav-links{justify-content:flex-start}.retailer-board-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.retailer-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.retailer-profile-summary-group:nth-child(2){border-right:0}.retailer-profile-summary-group:nth-child(n+3){border-top:1px solid #c9dce9}.retailer-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.retailer-portal-main{width:calc(100% - 1rem)}.retailer-dashboard-content{padding:1rem}.retailer-dashboard-nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.retailer-dashboard-nav-links button{min-width:0}.retailer-view-heading,.retailer-store-overview,.retailer-inline-panel,.retailer-inventory-toolbar,.retailer-upload-form,.retailer-staged-editor-heading{align-items:stretch;flex-direction:column;grid-template-columns:1fr}.retailer-store-overview{grid-template-columns:1fr}.retailer-store-overview-actions,.retailer-listing-actions{width:100%}.retailer-store-overview-actions>*{flex:1}.retailer-board-grid,.retailer-plans,.retailer-metrics,.retailer-profile-summary,.retailer-form{grid-template-columns:1fr}.retailer-profile-summary-group,.retailer-profile-summary-group:nth-child(2){border-right:0;border-top:1px solid #c9dce9}.retailer-profile-summary-group:first-child{border-top:0}.retailer-board-card .retailer-inventory-image{height:190px}.retailer-card-footer{grid-template-columns:1fr}.retailer-plan-summary{grid-template-columns:1fr}.retailer-plan-usage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.retailer-modal-backdrop{padding:.5rem}.retailer-editor-modal{max-height:calc(100dvh - 1rem);padding:1rem}.retailer-editor-modal .retailer-form{padding:.75rem}}

/* Retailer workspace facade: protected from global page/button inheritance. */
.retailer-portal-main { width:min(calc(100% - 2rem), 1440px); overflow:visible; }
.retailer-dashboard-nav { display:grid; grid-template-columns:minmax(16rem, 24rem) minmax(0, 1fr); align-items:center; }
.retailer-store-identity { width:100%; min-width:0; padding:.55rem .7rem; border:1px solid transparent; border-radius:.8rem; background:#f4f8fb; }
.retailer-store-identity:hover,.retailer-store-identity:focus-visible { border-color:#9dc4dc; background:#eaf3f8; outline:0; }
.retailer-store-identity span { min-width:0; }
.retailer-store-identity strong,.retailer-store-identity small { max-width:100%; }
.retailer-dashboard-nav-links { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:thin; padding:.15rem; justify-content:flex-end; }
.retailer-dashboard-nav-links button { flex:0 0 auto; white-space:nowrap; }
.retailer-primary,.retailer-secondary,.retailer-card-action,.retailer-text-action { color:#092b4c!important; text-shadow:none; }
.retailer-secondary { background:#092b4c; border-color:#092b4c; color:#fff!important; }
.retailer-secondary:hover,.retailer-secondary:focus-visible { background:#174c72; border-color:#174c72; color:#fff!important; }
.retailer-primary:disabled,.retailer-secondary:disabled,.retailer-card-action:disabled { opacity:.62; color:#36536b!important; background:#e6edf2; border-color:#c7d6df; }
.retailer-primary[aria-busy="true"],.retailer-secondary[aria-busy="true"] { cursor:progress; }
.retailer-payment-progress { align-self:center; min-width:12.5rem; padding:.8rem 1rem; border:1px solid #c9dce9; border-radius:.8rem; background:#f8fbfd; color:#092b4c; }
.retailer-payment-progress strong,.retailer-payment-progress small { display:block; }.retailer-payment-progress small { margin-top:.2rem; color:#54728d; }
.retailer-payment-progress.is-ready { border-color:#8dccaa; background:#e8f7ed; color:#17633e; }
.retailer-payment-journey { display:grid; gap:1rem; max-width:58rem; }
.retailer-payment-step { display:grid; grid-template-columns:3rem minmax(0,1fr); gap:1rem; padding:1.25rem; border:1px solid #c9dce9; border-radius:1rem; background:#fbfdff; box-shadow:0 8px 22px rgba(8,35,60,.05); }
.retailer-payment-step.is-complete { border-color:#8dccaa; background:#f5fcf7; }.retailer-payment-step-number { display:grid; width:2.45rem; height:2.45rem; place-items:center; border-radius:50%; background:#ffd04f; color:#092b4c; font-weight:900; }.retailer-payment-step.is-complete .retailer-payment-step-number { background:#197547; color:#fff; }
.retailer-payment-step-content h2 { margin:.15rem 0 .35rem; }.retailer-payment-step-content>p { margin:.3rem 0 .85rem; color:#54728d; }.retailer-payment-step-actions { display:flex; align-items:center; justify-content:flex-end; gap:.65rem; flex-wrap:wrap; margin-top:1rem; }
.retailer-fulfilment-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }.retailer-choice { display:flex!important; grid-template-columns:none!important; align-items:flex-start; gap:.65rem!important; min-height:4.25rem; padding:.8rem; border:1px solid #c9dce9; border-radius:.75rem; background:#fff; cursor:pointer; }.retailer-choice:hover { border-color:#e96220; background:#fffaf2; }.retailer-choice input { width:1.1rem!important; min-height:1.1rem!important; margin:.2rem 0 0; }.retailer-choice strong,.retailer-choice small { display:block; }.retailer-choice small { margin-top:.2rem; color:#54728d; font-weight:600; line-height:1.35; }
.retailer-payment-shipping-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin-top:.75rem; }.retailer-payment-shipping-fields label { display:grid; position:relative; gap:.3rem; }.retailer-currency-prefix { position:absolute; z-index:1; left:.65rem; bottom:.78rem; color:#54728d; font-size:.8rem; }.retailer-payment-shipping-fields label:first-child input { padding-left:3.25rem; }.retailer-payment-confirmed { color:#17633e!important; font-weight:800; }
.retailer-stripe-brand { display:flex; align-items:center; gap:.65rem; margin:.75rem 0; color:#54728d; font-size:.78rem; font-weight:800; }.retailer-stripe-brand img { display:block; width:5.8rem; height:auto; max-height:1.7rem; }.retailer-payment-benefit { max-width:48rem; }.retailer-payment-methods { display:flex; flex-wrap:wrap; gap:.55rem; margin:.8rem 0; }.retailer-payment-methods span { display:grid; place-items:center; min-width:5.25rem; min-height:2.35rem; padding:.35rem .5rem; border:1px solid #c9dce9; border-radius:.55rem; background:#f8fbfd; }.retailer-payment-methods img { display:block; width:auto; height:1.65rem; max-width:5.2rem; }
.retailer-status-info { border-color:#3a83ad; background:#edf7fc; color:#174c72; }
.retailer-payment-terms-confirmation { display:flex!important; grid-template-columns:none!important; align-items:flex-start; gap:.55rem!important; margin-top:.7rem; padding:.75rem; border:1px solid #f0bf30; border-radius:.7rem; background:#fff8df; color:#092b4c; cursor:pointer; }.retailer-payment-terms-confirmation input { width:1rem!important; min-height:1rem!important; margin:.15rem 0 0; }
html[data-theme="dark"] .retailer-dashboard-nav,html[data-theme="dark"] .retailer-dashboard-content,html[data-theme="dark"] .retailer-payment-step,html[data-theme="dark"] .retailer-payment-progress { background:#10263a; color:#f5f8fc; border-color:#41647d; }
html[data-theme="dark"] .retailer-store-identity { background:#18364c; color:#f5f8fc; } html[data-theme="dark"] .retailer-store-identity:hover,html[data-theme="dark"] .retailer-store-identity:focus-visible { background:#214b65; border-color:#668ba5; } html[data-theme="dark"] .retailer-store-identity small,html[data-theme="dark"] .retailer-payment-progress small,html[data-theme="dark"] .retailer-payment-step-content>p,html[data-theme="dark"] .retailer-choice small { color:#bfd3e0; }
html[data-theme="dark"] .retailer-secondary { background:#f5f8fc; border-color:#f5f8fc; color:#092b4c!important; } html[data-theme="dark"] .retailer-secondary:hover,html[data-theme="dark"] .retailer-secondary:focus-visible { background:#dcecf5; border-color:#dcecf5; color:#092b4c!important; } html[data-theme="dark"] .retailer-choice { background:#18364c; border-color:#547993; color:#f5f8fc; } html[data-theme="dark"] .retailer-choice:hover { background:#214b65; border-color:#ffbd45; } html[data-theme="dark"] .retailer-payment-step.is-complete { background:#143425; border-color:#36875c; }
html[data-theme="dark"] .retailer-payment-terms-confirmation { background:#3b3114; border-color:#987a22; color:#ffebb0; }
html[data-theme="dark"] .retailer-explainer { background:#10263a; border-color:#41647d; color:#f5f8fc; }
html[data-theme="dark"] .retailer-explainer article { background:#18364c; border-color:#547993; color:#f5f8fc; }
html[data-theme="dark"] .retailer-explainer h2 { color:#f5f8fc; }
html[data-theme="dark"] .retailer-explainer article p { color:#bfd3e0; }
@media (max-width:1120px){.retailer-dashboard-nav{grid-template-columns:1fr}.retailer-dashboard-nav-links{width:100%;justify-content:flex-start}.retailer-payment-journey{max-width:none}}
@media (max-width:720px){.retailer-portal-main{width:calc(100% - 1rem)}.retailer-dashboard-nav{padding:.7rem}.retailer-dashboard-nav-links{display:flex;grid-template-columns:none;flex-wrap:nowrap}.retailer-store-identity{max-width:none}.retailer-payment-step{grid-template-columns:1fr}.retailer-payment-step-number{width:2.25rem;height:2.25rem}.retailer-payment-progress{width:100%;box-sizing:border-box}.retailer-fulfilment-options,.retailer-payment-shipping-fields{grid-template-columns:1fr}.retailer-payment-step-actions{justify-content:stretch}.retailer-payment-step-actions>*{flex:1}.retailer-dashboard-content{overflow:hidden}}

/* Shared Retailer action contract. Keep foreground colour coupled to the
   action fill so Store Profile, Subscription, Payments and inventory controls
   cannot drift apart between themes. The workspace navigation remains outside
   this contract. */
.retailer-portal-page .retailer-primary,
.retailer-portal-page .retailer-primary:visited,
.retailer-portal-page .retailer-secondary,
.retailer-portal-page .retailer-secondary:visited,
.retailer-portal-page .retailer-card-action:not(.retailer-card-action-remove),
.retailer-portal-page .retailer-text-action {
  background:#092b4c;
  border-color:#092b4c;
  color:#fff !important;
}
.retailer-portal-page .retailer-primary:hover:not(:disabled),
.retailer-portal-page .retailer-primary:focus-visible:not(:disabled),
.retailer-portal-page .retailer-secondary:hover:not(:disabled),
.retailer-portal-page .retailer-secondary:focus-visible:not(:disabled),
.retailer-portal-page .retailer-card-action:not(.retailer-card-action-remove):hover:not(:disabled),
.retailer-portal-page .retailer-card-action:not(.retailer-card-action-remove):focus-visible:not(:disabled),
.retailer-portal-page .retailer-text-action:hover:not(:disabled),
.retailer-portal-page .retailer-text-action:focus-visible:not(:disabled) {
  background:#ffd04f;
  border-color:#ed9c21;
  color:#092b4c !important;
}
.retailer-portal-page .retailer-primary:disabled,
.retailer-portal-page .retailer-secondary:disabled,
.retailer-portal-page .retailer-card-action:disabled,
.retailer-portal-page .retailer-text-action:disabled,
.retailer-portal-page .retailer-primary:disabled:hover,
.retailer-portal-page .retailer-secondary:disabled:hover,
.retailer-portal-page .retailer-card-action:disabled:hover,
.retailer-portal-page .retailer-text-action:disabled:hover {
  opacity:1;
  background:#e6edf2;
  border-color:#c7d6df;
  color:#36536b !important;
}
html[data-theme="dark"] .retailer-portal-page .retailer-primary,
html[data-theme="dark"] .retailer-portal-page .retailer-primary:visited,
html[data-theme="dark"] .retailer-portal-page .retailer-secondary,
html[data-theme="dark"] .retailer-portal-page .retailer-secondary:visited,
html[data-theme="dark"] .retailer-portal-page .retailer-card-action:not(.retailer-card-action-remove),
html[data-theme="dark"] .retailer-portal-page .retailer-text-action {
  background:#18364c;
  border-color:#547993;
  color:#fff !important;
}
html[data-theme="dark"] .retailer-portal-page .retailer-primary:hover:not(:disabled),
html[data-theme="dark"] .retailer-portal-page .retailer-primary:focus-visible:not(:disabled),
html[data-theme="dark"] .retailer-portal-page .retailer-secondary:hover:not(:disabled),
html[data-theme="dark"] .retailer-portal-page .retailer-secondary:focus-visible:not(:disabled),
html[data-theme="dark"] .retailer-portal-page .retailer-card-action:not(.retailer-card-action-remove):hover:not(:disabled),
html[data-theme="dark"] .retailer-portal-page .retailer-card-action:not(.retailer-card-action-remove):focus-visible:not(:disabled),
html[data-theme="dark"] .retailer-portal-page .retailer-text-action:hover:not(:disabled),
html[data-theme="dark"] .retailer-portal-page .retailer-text-action:focus-visible:not(:disabled) {
  background:#ffd04f;
  border-color:#ffd04f;
  color:#092b4c !important;
}
html[data-theme="dark"] .retailer-portal-page .retailer-primary:disabled,
html[data-theme="dark"] .retailer-portal-page .retailer-secondary:disabled,
html[data-theme="dark"] .retailer-portal-page .retailer-card-action:disabled,
html[data-theme="dark"] .retailer-portal-page .retailer-text-action:disabled,
html[data-theme="dark"] .retailer-portal-page .retailer-primary:disabled:hover,
html[data-theme="dark"] .retailer-portal-page .retailer-secondary:disabled:hover,
html[data-theme="dark"] .retailer-portal-page .retailer-card-action:disabled:hover,
html[data-theme="dark"] .retailer-portal-page .retailer-text-action:disabled:hover {
  background:#31485b;
  border-color:#587086;
  color:#d6e3ec !important;
}
