.stores-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.stores-search { max-width: 360px; }
.stores-table .cell-main b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stores-screens { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; }
.stores-actions { display: inline-flex; align-items: center; gap: 2px; justify-content: flex-end; }

.stores-created { border-left: 3px solid var(--sbx-house, #1E3932); }
.stores-created__body { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; width: 100%; }
.stores-created__body > div { min-width: 220px; flex: 1; }

.stores-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; align-items: start; }
.stores-form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; align-items: center; }
.stores-form-grid > *, .stores-form-grid-3 > * { min-width: 0; }
.stores-switch { margin-top: 8px; }
.stores-narrow { max-width: 360px; }

.stores-field { display: flex; flex-direction: column; gap: 6px; }
.stores-toggle { width: fit-content; }
.stores-toggle .mud-toggle-item { min-width: 44px; }

.stores-add-city { display: inline-flex; align-items: center; gap: 6px; color: var(--sbx-green, #006241); font-weight: 600; }
.stores-new-city { margin-top: 10px; padding: 12px; border-radius: 10px; background: var(--sbx-warm, #F2F0EB); display: flex; flex-direction: column; gap: 8px; }

.stores-adv-title { display: flex; flex-direction: column; gap: 2px; }
.stores-adv-group { display: block; color: var(--sbx-accent, #00754A); margin-top: 12px; }
.stores-adv-group:first-child { margin-top: 0; }
.stores-checks { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 4px; }

.stores-steps { display: flex; flex-direction: column; gap: 10px; }
.stores-step { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 10px; }
.stores-step__icon { display: inline-flex; align-items: center; justify-content: center; }
.stores-step__detail { color: var(--muted, #6b6b6b); font-size: .8rem; }
.stores-step--pending { opacity: .65; }
.stores-step--running { border-color: var(--sbx-green, #006241); }
.stores-step--done .stores-step__label { font-weight: 600; }
.stores-step--failed { border-color: var(--mud-palette-error); background: var(--sbx-light, #D4E9E2); }
.stores-step--skipped .stores-step__label { color: var(--muted, #6b6b6b); }

.stores-config__store { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted, #6b6b6b); font-size: .9rem; }
.stores-config__store .mud-icon-root { color: var(--sbx-green, #006241); }
.stores-config__store b { color: var(--ink, inherit); }
.stores-section { padding: 14px 0; border-bottom: 1px solid var(--border, rgba(0,0,0,.12)); }
.stores-section:first-of-type { padding-top: 0; }
.stores-section__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.stores-section__head .section-title { margin-bottom: 0; }
.stores-preview { overflow-x: auto; padding-bottom: 4px; }

.stcfg { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.stcfg__main { min-width: 0; }
.stcfg__tabs .mud-tabs-tabbar { border-bottom: 1px solid var(--border, rgba(0,0,0,.12)); }
.stcfg__tabs .mud-tab { text-transform: none; font-weight: 600; min-width: 0; padding: 6px 14px; }
.stcfg__panel { padding: 16px 2px 4px; }
.stcfg__store { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: .88rem; }
.stcfg-card { border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 10px; overflow: hidden; background: var(--mud-palette-surface); }
.stcfg-tab__count { font-weight: 600; color: var(--sbx-accent, #00754A); font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 8px; background: var(--surface, #fff); border: 1px solid var(--border, rgba(0,0,0,.12)); flex: none; max-width: 100%; flex-wrap: wrap; }
.seg__item { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; padding: 5px 13px; border: 0; border-radius: 6px; background: transparent; color: var(--sbx-house, #1E3932); font: inherit; font-size: .85rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.seg__item:hover:not(:disabled):not(.on) { background: var(--paper, #F2F0EB); }
.seg__item.on { background: var(--sbx-house, #1E3932); color: #fff; }
.seg__item:disabled { cursor: default; opacity: .6; }
.seg__item:focus-visible { outline: 2px solid var(--sbx-accent, #00754A); outline-offset: 2px; }
.seg--cards .seg__item.on { border-color: var(--sbx-house, #1E3932); background: var(--sbx-house, #1E3932); color: #fff; }
.stcfg__preview { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 10px; background: var(--paper, #F2F0EB); }
.stcfg__preview-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-serif); font-size: 1.1rem; color: var(--sbx-house, #1E3932); }
.stcfg__preview-head > span { display: inline-flex; align-items: center; gap: 6px; }
.stcfg__dirty { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--amber, #A66A00); }
.stcfg__dirty::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #D9940B; }
.stcfg-label { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 600; flex: 1; min-width: 160px; }
.stcfg-h { display: flex; align-items: center; gap: 6px; margin: 18px 0 8px; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500; color: var(--sbx-house, #1E3932); }
.vs-info { display: inline-flex; color: var(--muted, #6b6b6b); cursor: help; vertical-align: middle; border-radius: 50%; }
.vs-info .mud-icon-root { font-size: 1rem; }
.stcfg-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; flex-wrap: wrap; }
.stcfg-row + .stcfg-row { border-top: 1px solid var(--border, rgba(0,0,0,.08)); }
.stcfg-tab { display: inline-flex; align-items: center; gap: 8px; }
.seg--cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; }
.seg--cards .seg__item { flex-direction: column; gap: 6px; min-height: 64px; padding: 10px 8px; border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 8px; background: var(--mud-palette-surface); white-space: normal; line-height: 1.25; text-align: center; }
.stcfg-promos { display: flex; flex-direction: column; gap: 8px; }
.stcfg-promo__ctl { display: inline-flex; align-items: center; gap: 2px; }
.stcfg-promo__turn { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; margin-right: 4px; color: var(--sbx-house, #1E3932); font-family: var(--font-serif, Georgia, serif); font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stcfg-promo { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 12px; transition: border-color .15s, background .15s; }
.stcfg-promo.on { border-color: var(--sbx-green, #006241); background: var(--sbx-light, #D4E9E2); }
.stcfg-promo.inactive { opacity: .6; }
.stcfg-promo__thumb { width: 92px; height: 52px; border-radius: 8px; overflow: hidden; background: #1f1f1f; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); }
.stcfg-promo__thumb img, .stcfg-promo__thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.stcfg-promo__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stcfg-promo__text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stcfg-promo__text span { color: var(--muted, #6b6b6b); font-size: .78rem; }
.stcfg-weather { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: var(--sbx-warm, #F2F0EB); }
.stcfg__preview-wall { overflow-x: auto; padding: 4px 0 2px; }
.stcfg__preview-wall .preview-screens { gap: 6px; flex-wrap: nowrap; }

@media (max-width: 1100px) {
    .stcfg { grid-template-columns: minmax(0, 1fr); }
    .stcfg__preview { position: static; order: -1; }
}

@media (max-width: 900px) {
    .stores-form-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .stores-form-grid, .stores-form-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .seg--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stcfg-promo { grid-template-columns: 72px minmax(0, 1fr) auto; }
    .stcfg-promo__thumb { width: 72px; height: 42px; }
    .stores-search { max-width: none; width: 100%; }
    .stores-step { grid-template-columns: 28px 1fr; }
    .stores-step__detail { grid-column: 2; }
}

.wb { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wb__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.wb__presets { display: flex; gap: 6px; flex-wrap: wrap; }
.wb__preset { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 8px; background: var(--surface, #fff); font: inherit; font-size: .82rem; font-weight: 500; color: var(--sbx-house, #1E3932); cursor: pointer; white-space: nowrap; }
.wb__preset:hover { border-color: var(--sbx-house, #1E3932); }
.wb__preset.is-on { border-color: var(--sbx-house, #1E3932); box-shadow: inset 0 0 0 1px var(--sbx-house, #1E3932); }
.wb__preset.is-on .wallglyph__s { background: var(--sbx-house, #1E3932); }
.wb__preset:focus-visible, .wb__dir:focus-visible, .wb__add:focus-visible, .wb__x:focus-visible, .wb__what:focus-visible { outline: 2px solid var(--sbx-accent, #00754A); outline-offset: 2px; }
.wb__dir { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 8px; background: var(--surface, #fff); font: inherit; font-size: .85rem; color: var(--sbx-house, #1E3932); cursor: pointer; }
.wb__dir:hover { border-color: var(--sbx-house, #1E3932); }
.wb__dir b { font-weight: 600; font-variant-numeric: tabular-nums; }
.wb__stage { container-type: inline-size; background: var(--paper, #F2F0EB); border-radius: 10px; padding: 24px 16px 14px; overflow-x: auto; }
.wb__wall { --wb-u: clamp(4.5px, calc((100cqw - var(--wb-fixed, 60px)) / var(--wb-n, 45)), 11px); display: flex; align-items: flex-end; justify-content: center; gap: 12px; width: max-content; min-width: 100%; }
.wb__wall.is-rtl { flex-direction: row-reverse; }
.wb__slot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; flex: none; width: calc(var(--wb-u) * 9); transition: width .18s ease; }
.wb__slot.is-h { width: calc(var(--wb-u) * 16); }
.wb__tile { position: relative; width: 100%; height: calc(var(--wb-u) * 16); transition: height .18s ease; }
.wb__slot.is-h .wb__tile { height: calc(var(--wb-u) * 9); }
.wb__screen { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--sbx-house, #1E3932); color: #fff; font: inherit; cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, .22); }
.wb__screen:disabled { cursor: default; }
.wb__screen.is-empty { background: #8F8A80; }
.wb__screen:hover:not(:disabled) { box-shadow: 0 0 0 2px var(--sbx-accent, #00754A); }
.wb__screen:focus-visible { outline: 2px solid var(--sbx-accent, #00754A); outline-offset: 3px; }
.wb__screen img, .wb__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.wb__num { position: absolute; left: 6px; top: 4px; font-size: .82rem; font-weight: 700; line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); font-variant-numeric: tabular-nums; }
.wb__turn { position: absolute; left: 50%; top: 50%; display: inline-flex; transform: translate(-50%, -50%); opacity: .82; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); transition: transform .18s ease, opacity .15s; }
.wb__turn .mud-icon-root { font-size: 1.3rem; }
.wb__screen:hover:not(:disabled) .wb__turn, .wb__screen:focus-visible .wb__turn { opacity: 1; transform: translate(-50%, -50%) rotate(90deg); }
.wb__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; background: rgba(0, 0, 0, .58); font-size: .68rem; font-weight: 500; line-height: 1.25; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb__link { position: absolute; left: 22px; top: 4px; display: inline-flex; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.wb__link .mud-icon-root { font-size: .95rem; }
.wb__x { position: absolute; right: -8px; top: -8px; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--border, rgba(0,0,0,.2)); border-radius: 50%; background: var(--surface, #fff); color: var(--ink-2, #444); cursor: pointer; }
.wb__x .mud-icon-root { font-size: .85rem; }
.wb__x:hover { border-color: var(--danger, #C0392B); color: var(--danger, #C0392B); }
.wb__what { width: 100%; min-width: 0; height: 26px; padding: 0 2px; border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 6px; background: var(--surface, #fff); font: inherit; font-size: .74rem; color: var(--sbx-house, #1E3932); text-overflow: ellipsis; }
.wb__what:disabled { opacity: .6; }
.wb__add { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: calc(var(--wb-u) * 9); min-height: 44px; margin-bottom: 34px; padding: 0; border: 1.5px dashed #B9B3A8; border-radius: 4px; background: transparent; color: var(--sbx-house, #1E3932); cursor: pointer; }
.wb__add:hover:not(:disabled) { border-color: var(--sbx-house, #1E3932); background: var(--surface, #fff); }
.wb__add:disabled { opacity: .45; cursor: default; }
.wb.is-disabled .wb__stage { padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { .wb__slot, .wb__tile, .wb__turn { transition: none; } }

.vs-count { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; color: var(--muted, #6b6b6b); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs-count b { color: var(--sbx-house, #1E3932); font-weight: 600; }
.vs-count .vs-scr { margin-left: 10px; }
.vs-scr { display: inline-block; flex: none; width: 12px; height: 7px; border: 1.5px solid currentColor; border-radius: 1.5px; }
.vs-tri { display: inline-block; flex: none; width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 8px solid #D9940B; }
.vs-flag { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: #D9940B; vertical-align: 1px; }
.vs-wallcell { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.vs-inc { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--amber, #A66A00); font-variant-numeric: tabular-nums; }
.vs-bad { color: var(--danger, #C0392B); font-weight: 600; }
.sto-table .mud-table-body .mud-table-cell { white-space: nowrap; }
.sto-region .meter { margin: 5px 0 3px; }
.sto-region__meta .vs-scr { margin-right: 1px; }

.sd-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 24px 56px; align-items: center; margin: 0 0 16px; padding: 22px 24px; border-radius: var(--radius, 12px); background: var(--paper, #F2F0EB); }
.sd-wall { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sd-wall .wallglyph { flex-wrap: wrap; }
.sd-wall .wallglyph__s.is-none b, .sd-screen .wallglyph__s.is-none b, .inv-eq-table .wallglyph__s.is-none b, .inv-dialog-head .wallglyph__s.is-none b { color: var(--muted, #6b6b6b); }
.sd-wall .wallglyph__s.is-idle b, .sd-screen .wallglyph__s.is-idle b, .inv-eq-table .wallglyph__s.is-idle b, .inv-dialog-head .wallglyph__s.is-idle b { color: var(--sbx-house, #1E3932); }
.sd-dx { display: flex; gap: 10px; align-items: baseline; }
.sd-dx__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sbx-accent, #00754A); }
.sd-dx.is-alert .sd-dx__dot { background: var(--danger, #C0392B); }
.sd-dx b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--sbx-house, #1E3932); }
.sd-dx span { display: block; margin-top: 3px; color: var(--muted, #6b6b6b); font-size: .9rem; }
.sd-fact { display: flex; align-items: baseline; padding: 7px 0; font-size: .95rem; color: var(--sbx-house, #1E3932); }
.sd-fact::before { content: ""; order: 2; flex: 1; min-width: 16px; margin: 0 10px; border-bottom: 2px dotted rgba(30, 57, 50, .28); transform: translateY(-4px); }
.sd-fact > span { order: 1; flex: none; font-weight: 500; }
.sd-fact > b { order: 3; flex: none; max-width: 62%; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.sd-fact > b.is-warn { color: var(--amber, #A66A00); }
.sd-screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.sd-screen { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line, #ECE9E3); border-radius: 8px; }
.sd-screen.is-bad { border-color: #F0C4BD; }
.sd-screen__text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.sd-screen__text b { max-width: 100%; font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-screen__text small { max-width: 100%; font-size: .78rem; color: var(--muted, #6b6b6b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-screen__alert { font-size: .8rem; font-weight: 600; color: var(--danger, #C0392B); }
@media (max-width: 900px) { .sd-top { grid-template-columns: minmax(0, 1fr); } }
