:root{--accent:#ef2b2d;--bg:#f4f6f8;--panel:#fff;--text:#20242a;--muted:#7b8490;--line:#e7eaee;--dark:#171a1f}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}.shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}aside{background:var(--dark);color:#fff;padding:20px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;gap:12px;align-items:center;padding:4px 8px 20px}.brand>span{width:42px;height:42px;border-radius:13px;background:var(--accent);display:grid;place-items:center;font-weight:900;font-size:22px}.brand small,.tenant small{display:block;color:#9299a3;margin-top:2px}.group{color:#777f8b;font-size:11px;text-transform:uppercase;letter-spacing:.11em;padding:18px 12px 7px}.navbtn{width:100%;border:0;background:transparent;color:#c7ccd3;text-align:left;padding:10px 12px;border-radius:10px;cursor:pointer;display:flex;gap:10px;align-items:center}.navbtn:hover,.navbtn.active{background:#282d35;color:#fff}.navbtn.active{box-shadow:inset 3px 0 var(--accent)}.tenant{margin-top:auto;padding:14px 10px;border-top:1px solid #2d323a;display:flex;gap:10px;align-items:center}.tenant i{width:9px;height:9px;border-radius:50%;background:#25c96f}main{min-width:0}header{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}h1{font-size:24px;margin:0}header p{margin:4px 0 0;color:var(--muted);font-size:13px}.head-actions{display:flex;gap:14px;align-items:center}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eceff3;font-weight:700}.icon{display:none}.ghost,.primary,.danger,.smallbtn{border:0;border-radius:10px;padding:10px 14px;cursor:pointer}.ghost{background:#f0f2f4}.primary{background:var(--accent);color:#fff;font-weight:700}.danger{background:#fff0f0;color:#d62a2a}.smallbtn{padding:7px 10px;background:#eef1f4}#content{padding:26px}.hero{background:linear-gradient(130deg,#1d2026,#343a44);color:#fff;border-radius:18px;padding:26px;display:flex;justify-content:space-between;gap:20px;align-items:center}.hero h2{margin:4px 0 8px}.hero p{color:#c5cbd3;margin:0}.badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#ffffff18;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.stat,.panel{background:var(--panel);border:1px solid var(--line);border-radius:15px}.stat{padding:18px}.stat small{color:var(--muted)}.stat b{display:block;font-size:27px;margin-top:8px}.grid2{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}.panel{padding:18px;margin-bottom:16px}.panelhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.panel h3{margin:0 0 4px}.panel p{margin:0;color:var(--muted);font-size:13px}.toolbar{display:flex;gap:8px;flex-wrap:wrap}.toolbar input,.toolbar select{min-width:180px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-weight:600}.status{padding:5px 9px;border-radius:999px;background:#eef1f4;font-size:12px}.status.new{background:#fff0e3;color:#c86609}.status.done{background:#e8f8ee;color:#168345}.cards{display:grid;gap:10px}.cardrow{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid var(--line);border-radius:12px;padding:13px}.cardrow small{display:block;color:var(--muted);margin-top:4px}.rowactions{display:flex;align-items:center;gap:8px}.toggle{width:42px;height:23px;accent-color:var(--accent)}.tabs{display:flex;gap:8px;overflow:auto;margin-bottom:16px}.tab{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px;cursor:pointer;white-space:nowrap}.tab.active{background:var(--dark);color:#fff}.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field span{font-size:13px;font-weight:600}.field input,.field select,.field textarea,.toolbar input,.toolbar select{border:1px solid #dce1e6;border-radius:10px;padding:11px 12px;background:#fff}.empty{padding:30px;text-align:center;color:var(--muted)}dialog{border:0;border-radius:16px;width:min(620px,94vw);padding:0;box-shadow:0 20px 60px #0004}dialog form{padding:22px;position:relative}.close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px}.quick{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.quick button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:16px;text-align:left;cursor:pointer}.phone{width:300px;min-height:560px;margin:auto;border:10px solid #171a1f;border-radius:34px;background:#fff;overflow:hidden}.phonehead{padding:20px 16px;background:var(--accent);color:#fff;font-weight:800}.banner{margin:12px;height:110px;border-radius:14px;background:linear-gradient(135deg,var(--accent),#ff8a65);color:#fff;padding:18px;font-weight:800}.toast{display:none}#toast{position:fixed;right:20px;bottom:20px;background:#171a1f;color:#fff;padding:12px 16px;border-radius:10px;z-index:99;opacity:0;transform:translateY(10px);transition:.2s}#toast.show{opacity:1;transform:none}
@media(max-width:980px){.shell{grid-template-columns:1fr}aside{position:fixed;left:-270px;z-index:20;width:260px;transition:.2s}aside.open{left:0}.icon{display:block;border:0;background:#eef1f4;border-radius:9px;padding:9px 11px}header{padding:0 14px}.head-actions .ghost{display:none}#content{padding:14px}.stats{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.field.full{grid-column:auto}.hero{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.stats{grid-template-columns:1fr 1fr}.stat b{font-size:22px}.panel{padding:13px}.cardrow{align-items:flex-start;flex-direction:column}.rowactions{width:100%;justify-content:flex-end}.quick{grid-template-columns:1fr}h1{font-size:20px}}


.categoryfilters{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 16px}
.categoryfilters button{white-space:nowrap}
.fp-article-linked{color:#16803c;font-weight:700}
.fp-article-missing{color:#c53535;font-weight:700}
.product-admin-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:14px}.product-admin-thumb{width:72px;height:72px;border-radius:14px;overflow:hidden;background:#f1f3f6;display:grid;place-items:center;font-size:28px;color:#999;flex:0 0 auto}.product-admin-thumb img{width:100%;height:100%;object-fit:cover}.productImageField>span{display:block;margin-bottom:8px}.productImageEditor{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:center}.productImagePick{width:180px;height:180px;padding:0;border:2px dashed #cfd4dc;border-radius:18px;background:#f7f8fa;overflow:hidden;cursor:pointer;color:#777}.productImagePick img{width:100%;height:100%;object-fit:cover;display:block}.productImagePick span{height:100%;display:grid;place-items:center;align-content:center;gap:7px}.productImagePick b{font-size:38px;line-height:1}.productImagePick small{font-weight:700}.productImageActions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.productImageActions>small{width:100%;color:#7b818c}.productImageActions .danger{padding:9px 12px}@media(max-width:700px){.product-admin-row{grid-template-columns:58px minmax(0,1fr)}.product-admin-row .rowactions{grid-column:1/-1;justify-content:flex-end}.product-admin-thumb{width:58px;height:58px}.productImageEditor{grid-template-columns:1fr}.productImagePick{width:100%;height:220px}}
.choiceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:1px solid #dce1e6;border-radius:12px;padding:10px;max-height:220px;overflow:auto}.choiceItem{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #e5e8ec;border-radius:10px;background:#fafbfc}.choiceItem input{width:18px;height:18px;padding:0}.choiceItem span{font-size:14px;font-weight:600}@media(max-width:560px){.choiceGrid{grid-template-columns:1fr}}
.relationBlock{border:1px solid #dfe3e8;border-radius:18px;overflow:hidden;background:#fff}.relationHeader{width:100%;border:0;background:#f7f9fb;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;text-align:left;font:inherit;cursor:pointer}.relationHeader span:first-child{display:flex;flex-direction:column;gap:3px}.relationHeader small{color:#8a929d}.relationBody{display:none;padding:14px}.relationBlock.open .relationBody{display:block}.relationPicker{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:12px}.relationPicker select{min-width:0}.relationChip{display:flex;align-items:center;justify-content:space-between;border:1px solid #e1e5ea;border-radius:14px;padding:12px 14px;margin-top:8px}.relationChip button,.relationRemove{border:0;background:#fff0f0;color:#cf3030;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer}.relationCard{border:1px solid #e1e5ea;border-radius:16px;margin-top:10px;background:#fff}.relationCard summary{list-style:none;padding:14px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.relationCard summary::-webkit-details-marker{display:none}.relationCard summary>span:first-child{display:flex;flex-direction:column;gap:3px}.relationCard summary small{color:#7d8792}.relationEditGrid{border-top:1px solid #edf0f3;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.relationEditGrid label{display:flex;flex-direction:column;gap:7px}.relationEditGrid .full{grid-column:1/-1}.relationToggle{flex-direction:row!important;align-items:center}.relationEmpty{padding:16px;text-align:center;color:#8a929d;background:#f8fafb;border-radius:12px}@media(max-width:640px){.relationPicker{grid-template-columns:1fr}.relationEditGrid{grid-template-columns:1fr}.relationEditGrid .full{grid-column:auto}}
.addonProductAdmin{display:grid;grid-template-columns:58px minmax(0,1fr) 36px;align-items:center;gap:12px;border:1px solid #e1e5ea;border-radius:14px;padding:10px;margin-top:8px}.addonProductAdminThumb{width:58px;height:58px;border-radius:12px;overflow:hidden;background:#f1f3f6;display:grid;place-items:center;color:#999;font-size:24px}.addonProductAdminThumb img{width:100%;height:100%;object-fit:cover}.addonProductAdmin small{display:block;color:#7d8792;margin-top:4px}.addonProductAdmin>button{border:0;background:#fff0f0;color:#cf3030;border-radius:50%;width:34px;height:34px;font-size:22px}.relationGroupChip span{display:flex;flex-direction:column;gap:3px}.relationGroupChip small{color:#7d8792}

.scheduleGrid{display:grid;gap:10px}.scheduleRow{display:grid;grid-template-columns:minmax(190px,1fr) 130px auto 130px;gap:10px;align-items:center;padding:10px;border:1px solid #e3e7ec;border-radius:14px}.switchRow{display:flex!important;align-items:center;gap:12px}.switchRow input{width:auto!important}@media(max-width:720px){.scheduleRow{grid-template-columns:1fr 1fr}.scheduleRow span{display:none}}

.infoEditorGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.infoEditorCard{border:1px solid var(--line);border-radius:14px;padding:16px;display:grid;gap:12px;background:#fff}.infoEditorHead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.infoEditorHead b{font-size:17px}.infoEditorHead small{display:block;color:var(--muted);font-size:12px;margin-top:4px;line-height:1.35}.infoActive{white-space:nowrap;font-size:12px;color:var(--muted)}.infoActive input{accent-color:var(--accent)}@media(max-width:760px){.infoEditorGrid{grid-template-columns:1fr}.infoEditorCard{padding:14px}.infoEditorHead{display:grid}.infoActive{justify-self:start}}
.deliveryZonePanel{overflow:visible}.zoneLayout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:20px}.deliveryZoneMap{height:520px;border-radius:24px;overflow:hidden;border:1px solid #dfe4ea;background:#eef1f4}.zoneMapHint{margin-top:10px;color:#7b8490;font-size:14px}.zoneEditor{display:flex;flex-direction:column;gap:14px}.zoneEditorActions{display:flex;flex-wrap:wrap;gap:10px}.zonePointCount{padding:12px;border-radius:14px;background:#f4f6f8;font-weight:700}.zoneCards{display:grid;gap:12px;margin-top:20px}.zoneCard{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border:1px solid #e2e7ec;border-radius:18px;background:#fff}.zoneCard small{display:block;color:#7b8490;margin-top:5px}.autoZone{display:block;color:#ef2b2d;margin-top:6px;font-weight:700}@media(max-width:800px){.zoneLayout{grid-template-columns:1fr}.deliveryZoneMap{height:420px}.zoneCard{align-items:flex-start;flex-direction:column}.zoneCard .rowactions{width:100%}}
.promoEditor{max-width:920px}.promoCategoryGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:8px}.promoCheck{display:flex!important;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e1e5ea;border-radius:12px;background:#fafbfc}.promoCheck input{width:auto!important}.promoEditor .switchRow{display:flex!important;align-items:center;gap:10px}.promoEditor .switchRow input{width:auto!important}
@media(max-width:700px){.promoCategoryGrid{grid-template-columns:1fr}.promoEditor.formgrid{grid-template-columns:1fr}.promoEditor .field{grid-column:1/-1}}
.promoConditional{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.promoConditional.hidden{display:none}.promoCategoryPicker{position:relative}.promoCategoryToggle{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:1px solid #dfe3e8;border-radius:14px;background:#fff;font:inherit;text-align:left}.promoCategoryDropdown{margin-top:8px;border:1px solid #dfe3e8;border-radius:14px;background:#fff;padding:10px;max-height:280px;overflow:auto}.promoCategoryDropdown.hidden{display:none}.promoCategoryActions{display:flex;gap:8px;padding-bottom:8px;position:sticky;top:0;background:#fff}.promoCategoryActions button{border:0;border-radius:10px;padding:8px 10px}.promoCategoryGrid{display:grid;gap:6px}.promoCheck{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:#f7f8fa}.promoCheck input{width:20px;height:20px}@media(max-width:700px){.promoConditional{grid-template-columns:1fr}}
.promoConditional{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.promoConditional.hidden{display:none}.promoCategoryPicker{position:relative}.promoCategoryToggle{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:1px solid #dfe3e8;border-radius:14px;background:#fff;font:inherit;text-align:left}.promoCategoryDropdown{margin-top:8px;border:1px solid #dfe3e8;border-radius:14px;background:#fff;padding:10px;max-height:280px;overflow:auto}.promoCategoryDropdown.hidden{display:none}.promoCategoryActions{display:flex;gap:8px;padding-bottom:8px;position:sticky;top:0;background:#fff}.promoCategoryActions button{border:0;border-radius:10px;padding:8px 10px}.promoCategoryGrid{display:grid;gap:6px}.promoCheck{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:#f7f8fa}.promoCheck input{width:20px;height:20px}@media(max-width:700px){.promoConditional{grid-template-columns:1fr}}

.branch-buy{margin:20px 0;align-items:end}.branch-buy>div{display:grid;gap:8px}.locked-card{margin:18px 0;padding:20px;border:1px solid #ffd3d3;background:#fff5f5;border-radius:18px}.locked-card h3{margin:0 0 8px}.branch-selector{position:fixed;inset:0;z-index:99999;background:rgba(9,12,18,.78);backdrop-filter:blur(8px);display:grid;place-items:center;padding:20px}.branch-selector-card{width:min(560px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:24px;padding:24px;box-shadow:0 30px 90px rgba(0,0,0,.35)}.branch-selector-card h2{margin:0 0 6px}.branch-selector-card p{color:#697386;margin:0 0 18px}.branch-selector-card button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:17px 18px;margin:10px 0;border:1px solid #e4e8ee;border-radius:16px;background:#fff;text-align:left}.branch-selector-card button:hover{border-color:#ef2b2d;background:#fff7f7}.branch-selector-card button b{font-size:17px}.branch-selector-card button small{color:#7b8492}

/* FoodCore 3.0.52 — быстрое переключение филиалов */
.branchQuickTitle{padding-top:8px}.branchQuickList{display:grid;gap:6px;padding:0 4px 8px}.branchQuickBtn{width:100%;border:1px solid #303640;background:#20242b;color:#d9dee5;border-radius:12px;padding:10px;display:grid;grid-template-columns:20px 1fr;gap:8px;text-align:left;cursor:pointer}.branchQuickBtn.active{border-color:var(--accent);background:#2a2f38}.branchQuickBtn b{display:block;font-size:13px;color:#fff}.branchQuickBtn small{display:block;color:#929aa5;font-size:11px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.branchPointCard.current{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 14%,transparent)}


/* FoodCore 3.0.57 — аккуратные карточки филиалов */
.branchPointCard{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;margin-top:12px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 3px 12px rgba(25,31,40,.04)}
.branchPointCard.current{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)}
.branchPointIcon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#f1f3f6;color:var(--accent);font-size:21px;font-weight:900}
.branchPointCard.current .branchPointIcon{background:var(--accent);color:#fff}
.branchPointInfo{min-width:0}.branchPointTitle{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.branchPointTitle b{font-size:17px;line-height:1.25;overflow-wrap:anywhere}.branchPointInfo small{display:block;color:var(--muted);margin-top:4px;line-height:1.35}.branchPointPhone{font-size:12px}.branchCurrentBadge{display:inline-flex;align-items:center;border-radius:999px;background:#eef1f4;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}.branchPointActions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.branchPointActions button{white-space:nowrap}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.branch-buy{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:16px;align-items:end}.branch-buy label{display:grid;gap:7px}.branch-buy input{width:100%;border:1px solid #dce1e6;border-radius:10px;padding:11px 12px}.branch-buy>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.branch-buy small{color:var(--muted)}
@media(max-width:700px){.branchPointCard{grid-template-columns:44px minmax(0,1fr);padding:14px;gap:11px}.branchPointIcon{width:44px;height:44px}.branchPointActions{grid-column:1/-1;justify-content:flex-start}.branchPointActions button{flex:1 1 auto;min-height:43px}.branch-buy{grid-template-columns:1fr}.branch-buy>div{display:grid}.branch-buy .primary{width:100%}.panel-title{align-items:flex-start;flex-direction:column}.panel-title .primary{width:100%}}

/* FoodCore 4.11.66 — современное создание филиала */
.branchEditorDialog{width:min(600px,calc(100vw - 28px));border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.24)}
.branchEditorDialog::backdrop{background:rgba(15,23,42,.58);backdrop-filter:blur(7px)}
.branchEditorDialog form{padding:0}
.branchEditorDialog .close{z-index:3;top:16px;right:18px;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f4f6f8;color:#667085;font-size:24px;line-height:1;cursor:pointer;transition:background .18s,color .18s,transform .18s}
.branchEditorDialog .close:hover{background:#eceff3;color:#1d2939;transform:scale(1.04)}
.branchEditorDialog #modalTitle{margin:0;padding:26px 70px 20px 28px;border-bottom:1px solid #edf0f3;font-size:25px;line-height:1.2;letter-spacing:-.025em;color:#171a1f}
.branchEditorDialog #modalBody{padding:22px 28px 28px}
.branchEditor{display:grid;gap:22px}
.branchEditorIntro{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:center;padding:15px 16px;border:1px solid #fee2e2;border-radius:18px;background:linear-gradient(135deg,#fff7f7,#fff)}
.branchEditorIntroIcon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#ef2b2d;color:#fff;box-shadow:0 8px 20px rgba(239,43,45,.22)}
.branchEditorIntroIcon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.branchEditorIntro b{display:block;margin-bottom:4px;font-size:16px;color:#1d2939}
.branchEditorIntro small{display:block;color:#667085;line-height:1.45}
.branchEditorFields{display:grid;gap:17px}
.branchEditorField{display:grid;gap:7px}
.branchEditorField>span{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:750;color:#344054}
.branchEditorField>span em{padding:4px 7px;border-radius:999px;background:#fff1f1;color:#d92d20;font-size:10px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.branchEditorField>small{color:#98a2b3;font-size:12px;line-height:1.35}
.branchEditorControl{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:center;min-height:50px;padding:0 15px;border:1px solid #dfe3e8;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.03);transition:border-color .18s,box-shadow .18s,background .18s}
.branchEditorControl:focus-within{border-color:#ef2b2d;box-shadow:0 0 0 4px rgba(239,43,45,.1)}
.branchEditorControl.invalid{border-color:#ef2b2d;background:#fff8f8;animation:branchFieldShake .24s ease}
.branchEditorControl svg{width:21px;height:21px;fill:none;stroke:#98a2b3;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .18s}
.branchEditorControl:focus-within svg{stroke:#ef2b2d}
.branchEditorControl input{width:100%;min-width:0;height:48px;padding:0;border:0;outline:0;background:transparent;color:#1d2939;font-size:15px}
.branchEditorControl input::placeholder{color:#a5adba}
.branchEditorActions{display:grid;grid-template-columns:1fr 1.5fr;gap:11px;padding-top:2px}
.branchEditorActions button{min-height:50px;border-radius:14px;font-weight:750;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}
.branchEditorActions .secondary{border:1px solid #dfe3e8;background:#fff;color:#344054}
.branchEditorActions .secondary:hover{background:#f7f8fa}
.branchEditorActions .primary{display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 9px 22px rgba(239,43,45,.22)}
.branchEditorActions .primary:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(239,43,45,.28)}
.branchEditorActions .primary:disabled{opacity:.62;cursor:wait;transform:none;box-shadow:none}
.branchEditorActions .primary svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@keyframes branchFieldShake{0%,100%{transform:translateX(0)}35%{transform:translateX(-4px)}70%{transform:translateX(4px)}}
@media(max-width:600px){.branchEditorDialog{width:100vw;max-width:none;margin:auto 0 0;border-radius:24px 24px 0 0}.branchEditorDialog #modalTitle{padding:22px 62px 17px 20px;font-size:22px}.branchEditorDialog #modalBody{padding:18px 18px calc(20px + env(safe-area-inset-bottom))}.branchEditorDialog .close{top:12px;right:14px}.branchEditorIntro{grid-template-columns:42px minmax(0,1fr);padding:13px}.branchEditorIntroIcon{width:42px;height:42px;border-radius:13px}.branchEditorIntro small{font-size:12px}.branchEditorActions{grid-template-columns:1fr}.branchEditorActions .primary{grid-row:1}.branchEditorActions .secondary{grid-row:2}}

/* FoodCore 4.11.67 — реальные отчёты и графики */
.reportsPage{display:grid;gap:18px;max-width:1500px;margin:0 auto}
.reportsHead{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;border:1px solid #e4e8ee;border-radius:22px;background:linear-gradient(135deg,#fff,#f8fafc)}
.reportsHead h2{margin:0 0 6px;font-size:26px;letter-spacing:-.025em}.reportsHead p{margin:0;color:#7b8492;line-height:1.45}
.reportPeriods{display:flex;gap:6px;padding:5px;border-radius:13px;background:#eef1f5;white-space:nowrap}.reportPeriods button{border:0;border-radius:9px;padding:9px 12px;background:transparent;color:#667085;font-size:13px;font-weight:750;cursor:pointer}.reportPeriods button.active{background:#fff;color:#1d2939;box-shadow:0 2px 8px rgba(16,24,40,.1)}
.reportMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.reportMetric{padding:20px;border:1px solid #e4e8ee;border-radius:20px;background:#fff;box-shadow:0 5px 18px rgba(17,24,39,.035)}.reportMetric>small{display:block;color:#7b8492;font-size:13px}.reportMetric>strong{display:block;margin:8px 0 10px;font-size:27px;line-height:1.1;letter-spacing:-.025em}.reportMetric>div{display:flex;align-items:center;gap:7px;min-height:20px;color:#98a2b3;font-size:12px}.reportDelta{display:inline-flex;padding:4px 7px;border-radius:999px;font-weight:800}.reportDelta.up{background:#eaf8ef;color:#138a47}.reportDelta.down{background:#fff0f0;color:#d92d20}.reportDelta.flat{background:#f1f3f6;color:#667085}
.reportGridWide{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(290px,.75fr);gap:16px}.reportGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reportCard{min-width:0;padding:21px;border:1px solid #e4e8ee;border-radius:22px;background:#fff;box-shadow:0 5px 20px rgba(17,24,39,.035)}.reportCardHead{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px}.reportCardHead h3{margin:0 0 5px;font-size:19px}.reportCardHead p{margin:0;color:#8a94a3;font-size:13px}.reportCardHead> b{font-size:20px;white-space:nowrap}
.reportRevenueCard{overflow:hidden}.reportChartBars{height:260px;display:flex;align-items:stretch;gap:5px;padding-top:26px}.reportChartColumn{position:relative;flex:1;min-width:0;display:grid;grid-template-rows:18px 1fr 22px;gap:5px;text-align:center}.reportChartValue{height:18px;overflow:hidden;color:#667085;font-size:9px;white-space:nowrap}.reportChartTrack{position:relative;display:flex;align-items:flex-end;justify-content:center;border-radius:8px 8px 3px 3px;background:#f5f6f8;overflow:hidden}.reportChartTrack i{display:block;width:72%;min-height:2px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#ff4d4f,#ef2b2d);box-shadow:0 4px 12px rgba(239,43,45,.2);transition:height .25s}.reportChartColumn small{color:#7b8492;font-size:9px;white-space:nowrap}.reportChartColumn small.mutedLabel{color:transparent}
.reportProgressList{display:grid;gap:16px}.reportProgressRow{display:grid;gap:7px}.reportProgressRow>div:first-child{display:flex;justify-content:space-between;gap:12px}.reportProgressRow b{font-size:14px}.reportProgressRow span{color:#7b8492;font-size:12px;white-space:nowrap}.reportProgressRow>div:last-child{height:9px;overflow:hidden;border-radius:999px;background:#f0f2f5}.reportProgressRow i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ef2b2d,#ff696b)}
.reportProductList{display:grid}.reportProductList>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #eef0f3}.reportProductList>div:last-child{border-bottom:0}.reportProductList span{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#f1f3f6;color:#667085;font-size:12px;font-weight:800}.reportProductList b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportProductList small{color:#7b8492;white-space:nowrap}.reportProductList strong{white-space:nowrap}
.reportHoursCard{grid-column:1/-1}.reportHourBars{height:210px;display:grid;grid-template-columns:repeat(8,1fr);gap:14px;align-items:end;padding:12px 4px 0}.reportHourBars>div{height:100%;display:grid;grid-template-rows:1fr 20px 22px;align-items:end;text-align:center}.reportHourBars i{width:min(58px,72%);min-height:3px;justify-self:center;border-radius:12px 12px 4px 4px;background:linear-gradient(180deg,#2d3440,#16191e)}.reportHourBars b{font-size:12px;color:#344054}.reportHourBars small{font-size:11px;color:#7b8492}
.reportEmpty{padding:70px 24px;text-align:center;border:1px dashed #d8dee7;border-radius:24px;background:#fff}.reportEmpty>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 15px;border-radius:18px;background:#fff1f1;color:#ef2b2d;font-size:28px;font-weight:900}.reportEmpty h3{margin:0 0 7px}.reportEmpty p{margin:0;color:#7b8492}
@media(max-width:1050px){.reportMetrics{grid-template-columns:repeat(2,1fr)}.reportGridWide{grid-template-columns:1fr}.reportGrid{grid-template-columns:1fr}.reportHoursCard{grid-column:auto}}
@media(max-width:700px){.reportsHead{display:grid;padding:18px}.reportPeriods{width:100%;overflow:auto}.reportPeriods button{flex:1}.reportMetrics{grid-template-columns:1fr 1fr;gap:10px}.reportMetric{padding:16px}.reportMetric>strong{font-size:22px}.reportCard{padding:17px}.reportChartBars{height:220px;gap:3px}.reportChartValue{display:none}.reportChartColumn{grid-template-rows:1fr 22px}.reportHourBars{gap:5px}.reportHourBars i{width:72%}.reportProductList>div{grid-template-columns:28px minmax(0,1fr) auto}.reportProductList strong{display:none}}
@media(max-width:430px){.reportMetrics{grid-template-columns:1fr}.reportPeriods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;white-space:normal}.reportPeriods button{min-width:0}.reportHourBars{overflow-x:auto;grid-template-columns:repeat(8,52px)}}

/* FoodCore 4.11.68 — компактное управление категориями */
.categoriesAdminPage{display:grid;gap:16px;width:100%;max-width:1120px;margin:0 auto}.categoryOverview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:22px 24px;border:1px solid #e3e8ef;border-radius:22px;background:linear-gradient(135deg,#fff,#f8fafc)}.categoryOverviewTitle{display:flex;align-items:center;gap:15px}.categoryOverviewTitle>span{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;background:#171a1f;color:#fff;font-size:23px}.categoryOverviewTitle h2{margin:0 0 5px;font-size:24px;letter-spacing:-.02em}.categoryOverviewTitle p{margin:0;color:#7c8695;line-height:1.4}.categoryOverviewStats{display:grid;grid-template-columns:repeat(4,minmax(82px,1fr));gap:8px}.categoryOverviewStats>div{padding:12px 14px;border-radius:15px;background:#fff;border:1px solid #e7ebf0}.categoryOverviewStats small{display:block;color:#8a94a3;font-size:11px;white-space:nowrap}.categoryOverviewStats b{display:block;margin-top:4px;font-size:22px}.categoryOverviewStats .warning{background:#fff8eb;border-color:#ffe0a3}.categoryOverviewStats .warning b{color:#c76a00}
.categoriesAdminPanel{padding:20px;border:1px solid #e3e8ef;border-radius:22px;background:#fff;box-shadow:0 6px 24px rgba(17,24,39,.035)}.categoriesPanelHead{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:17px;border-bottom:1px solid #edf0f3}.categoriesPanelHead h3{margin:0 0 4px;font-size:20px}.categoriesPanelHead p{margin:0;color:#7c8695;font-size:13px}.categoryHeadActions{display:flex;align-items:center;gap:9px}.categoryReorderToggle{width:auto;height:42px;min-width:0;display:flex;grid-template:none;align-items:center;justify-content:center;gap:8px;padding:0 14px;border-radius:12px;font-size:13px;font-weight:800;cursor:pointer}.categoryReorderToggle>span{font-size:18px;line-height:1}.categoryReorderToggle.active{background:#171a1f;border-color:#171a1f}.categoryHeadActions .primary,.categoryHeadActions .secondary{min-height:42px;border-radius:12px}
.categoryReorderNotice{margin:14px 0 8px;padding:10px 12px;border-radius:13px}.categoryReorderNotice>span{width:34px;height:34px;font-size:19px}.categorySortableList{display:grid;gap:7px;padding-top:10px}.categoryAdminRow{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:66px;padding:9px 10px;border:1px solid #e7ebf0;border-radius:14px;background:#fff;transition:border-color .16s,box-shadow .16s,transform .16s}.categoryAdminRow:hover{border-color:#d7dde5;box-shadow:0 4px 13px rgba(17,24,39,.045)}.categoryOrderNumber{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#f2f4f7;color:#667085;font-size:12px;font-weight:850}.categoryMain{min-width:0}.categoryMain b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.categoryMain small{display:block;margin-top:4px;color:#8a94a3;font-size:12px}.categoryState{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#eaf8ef;color:#148447;font-size:11px;font-weight:800;white-space:nowrap}.categoryState:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.categoryState.off{background:#f1f3f6;color:#7c8695}.categoryRowActions{display:flex;align-items:center;gap:7px}.categoryVisibilitySwitch{position:relative;width:42px;height:24px;cursor:pointer}.categoryVisibilitySwitch input{position:absolute;opacity:0}.categoryVisibilitySwitch span{position:absolute;inset:0;border-radius:999px;background:#d8dde5;transition:.2s}.categoryVisibilitySwitch span:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.2s}.categoryVisibilitySwitch input:checked+span{background:#ef2b2d}.categoryVisibilitySwitch input:checked+span:after{transform:translateX(18px)}.categoryActionBtn{min-height:36px;padding:0 12px;border:1px solid #e1e6ec;border-radius:10px;background:#f7f8fa;color:#344054;font-weight:750;cursor:pointer}.categoryDeleteBtn{width:36px;height:36px;border:0;border-radius:10px;background:#fff0f0;color:#d92d20;font-size:21px;line-height:1;cursor:pointer}
.categoryAdminRow.reorderEnabled{position:relative;display:grid;grid-template-columns:38px 38px minmax(0,1fr) auto;min-height:58px;padding:7px 9px;gap:9px;touch-action:auto;user-select:none;cursor:default}.categoryAdminRow.reorderEnabled .categoryDragHandle{display:grid;width:34px;height:34px;min-width:34px;border:0;border-radius:9px;background:#f0f2f5;color:#667085;font-size:19px;touch-action:none;cursor:grab}.categoryAdminRow.reorderEnabled .categoryOrderNumber{width:34px;height:34px}.categoryAdminRow.reorderEnabled .categoryMain b{margin:0}.categoryAdminRow.reorderEnabled .categoryMain small{margin-top:2px}.categoryMoveBtn{width:34px;height:34px;min-width:34px;border-radius:9px;font-size:18px;cursor:pointer}.categoryAdminRow.reorderEnabled.dragging{opacity:.58;box-shadow:0 9px 24px rgba(20,28,38,.13);transform:scale(.995)}.categoryReorderFooter{position:sticky;bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;padding:10px 12px;border:1px solid #e4e8ee;border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 9px 28px rgba(19,28,40,.12)}.categoryReorderFooter>span{color:#7c8695;font-size:12px}.categoryReorderFooter>div{display:flex;gap:8px}.categoryReorderFooter button{min-height:40px}.categoryEmpty{padding:55px 20px;text-align:center}.categoryEmpty>span{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:17px;background:#f1f3f6;font-size:24px}.categoryEmpty h3{margin:0 0 6px}.categoryEmpty p{margin:0 0 18px;color:#7c8695}
@media(max-width:900px){.categoryOverview{grid-template-columns:1fr}.categoryOverviewStats{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.categoryOverview{padding:18px}.categoryOverviewStats{grid-template-columns:1fr 1fr}.categoriesAdminPanel{padding:14px}.categoriesPanelHead{align-items:stretch;flex-direction:column}.categoryHeadActions{display:grid;grid-template-columns:1fr 1fr}.categoryHeadActions .primary{width:100%}.categoryReorderToggle{width:100%}.categoryAdminRow{grid-template-columns:38px minmax(0,1fr) auto;padding:9px}.categoryAdminRow .categoryState{display:none}.categoryRowActions{grid-column:2/-1;justify-content:flex-end;border-top:1px solid #eef0f3;padding-top:8px}.categoryAdminRow.reorderEnabled{grid-template-columns:34px 34px minmax(0,1fr) auto;min-height:54px}.categoryAdminRow.reorderEnabled .categoryRowActions{grid-column:auto;border:0;padding:0}.categoryReorderFooter{bottom:8px;align-items:stretch;flex-direction:column}.categoryReorderFooter>span{display:none}.categoryReorderFooter>div{display:grid;grid-template-columns:1fr 1.4fr}.categoryReorderFooter button{width:100%}}
@media(max-width:430px){.categoryOverviewTitle>span{display:none}.categoryOverviewStats>div{padding:10px}.categoryHeadActions{grid-template-columns:1fr}.categoryAdminRow.reorderEnabled{grid-template-columns:30px 32px minmax(0,1fr) auto;gap:6px}.categoryAdminRow.reorderEnabled .categoryDragHandle,.categoryAdminRow.reorderEnabled .categoryOrderNumber{width:30px;height:30px;min-width:30px}.categoryMoveBtn{width:30px;height:30px;min-width:30px}}

.account-menu{position:relative}.profile-trigger{width:40px;height:40px;border:0;border-radius:50%;background:#eef1f4;display:grid;place-items:center;cursor:pointer;color:#333b46;transition:.18s}.profile-trigger:hover,.profile-trigger[aria-expanded="true"]{background:#e2e7ec}.profile-trigger svg,.profile-avatar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.profile-popover{position:absolute;right:0;top:50px;width:260px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 50px #17202c26;padding:10px;z-index:40}.profile-popover[hidden]{display:none}.profile-summary{display:flex;gap:11px;align-items:center;padding:9px 8px 13px;border-bottom:1px solid var(--line);margin-bottom:7px}.profile-summary>div{min-width:0}.profile-summary b,.profile-summary small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-summary b{font-size:14px}.profile-summary small{font-size:12px;color:var(--muted);margin-top:3px}.profile-avatar{width:38px;height:38px;border-radius:50%;background:#eef1f4;display:grid;place-items:center;flex:0 0 38px;color:#333b46}.profile-action{width:100%;border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:10px;cursor:pointer;color:var(--text)}.profile-action:hover{background:#f2f4f6}.danger-action{color:#d3262d}.danger-action:hover{background:#fff0f0}@media(max-width:700px){.profile-popover{position:fixed;right:12px;top:72px;width:min(280px,calc(100vw - 24px))}}

.branchTypeBadge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}.branchTypeBadge.brand{background:#fff0f0;color:#d9272e}.branchTypeBadge.branch{background:#eef3f8;color:#516071}

/* 3.5.31 — редактор мультибрендовой карточки */
.mbAdminPage{display:grid;gap:20px}.mbAdminHead{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px;border-radius:24px;background:linear-gradient(135deg,#fff,#f5f7fb);border:1px solid #e7ebf1}.mbAdminHead h2{margin:0 0 6px;font-size:28px}.mbAdminHead p{margin:0;color:#718096}.mbAdminGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:18px}.mbAdminCard{background:#fff;border:1px solid #e2e7ee;border-radius:24px;padding:16px;box-shadow:0 10px 30px rgba(23,32,50,.06)}.mbAdminCover{height:180px;border-radius:18px;overflow:hidden;background:#f1f3f6}.mbAdminCover img{width:100%;height:100%;object-fit:cover}.mbCardSoon{height:100%;display:grid;place-items:center;color:#97a0af;font-weight:800}.mbAdminIdentity{display:flex;gap:14px;align-items:center;padding:16px 2px}.mbAdminIdentity>img,.mbAdminIdentity>span{width:62px;height:62px;border-radius:18px;object-fit:cover;background:#f1f3f6;display:grid;place-items:center;font-weight:900;font-size:24px;flex:0 0 auto}.mbAdminIdentity h3{margin:0 0 4px;font-size:22px}.mbAdminIdentity p{margin:0;color:#4d596a}.mbAdminIdentity small{display:block;color:#8a95a5;margin-top:6px}.mbAdminActions{display:grid;grid-template-columns:1fr 1.25fr;gap:10px}.mbAdminActions .danger{grid-column:1/-1}.mbAdminActions button{min-height:46px;border-radius:14px}.mbEditorDialog{width:min(980px,calc(100vw - 20px));max-width:980px;height:min(94vh,1100px);max-height:94vh;padding:0;border-radius:28px}.mbEditorDialog form{height:100%;display:flex;flex-direction:column;padding:0}.mbEditorDialog .close{position:sticky;top:14px;align-self:flex-end;margin:14px 16px -44px 0;z-index:10}.mbEditorDialog #modalTitle{padding:24px 28px 14px;margin:0;border-bottom:1px solid #e7ebf1}.mbEditorDialog #modalBody{overflow:auto;padding:20px 28px 34px}.mbEditorPage{display:grid;gap:18px}.mbEditorSection{border:1px solid #e4e9f0;border-radius:22px;padding:20px;background:#fff}.mbEditorSection h3{margin:0 0 5px;font-size:21px}.mbEditorSection>p,.mbSectionTitle p{margin:0 0 18px;color:#7c8796}.mbMediaGrid{display:grid;grid-template-columns:220px 1fr;gap:18px}.mbMediaGrid label{display:grid;gap:10px;font-weight:700}.mbPreview{border-radius:18px;background:#f1f3f6;border:1px dashed #cdd5df;overflow:hidden;display:grid;place-items:center;color:#8c97a7}.mbPreview.square{aspect-ratio:1}.mbPreview.cover{aspect-ratio:2/1}.mbPreview img{width:100%;height:100%;object-fit:cover}.mbHoursList{display:grid;gap:9px}.mbHoursRow{display:grid;grid-template-columns:minmax(155px,1fr) 130px 24px 130px;align-items:center;gap:10px;padding:10px 12px;background:#f7f9fc;border-radius:14px}.mbHoursRow input[type=time]{min-height:42px;border:1px solid #dfe5ed;border-radius:11px;padding:0 10px;background:#fff}.mbSectionTitle{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.mbOfferRow{display:grid;grid-template-columns:62px 1.3fr 1.3fr 56px 44px;gap:8px;margin:9px 0}.mbOfferRow input{min-width:0;border:1px solid #dfe5ed;border-radius:12px;padding:10px}.mbOfferRow input[type=color]{padding:4px}.mbRemoveOffer{border-radius:12px}.mbSwitch{display:flex;align-items:center;gap:10px;margin:10px 0 16px;font-weight:700}.mbEditorSave{position:sticky;bottom:-1px;padding:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-top:1px solid #e7ebf1}.mbEditorSave .primary{width:100%;min-height:54px;border-radius:16px;font-size:17px}
@media(max-width:700px){.mbAdminHead{display:grid}.mbAdminHead .primary{width:100%}.mbAdminGrid{grid-template-columns:1fr}.mbEditorDialog{width:100vw;height:100vh;max-height:100vh;border-radius:0}.mbEditorDialog #modalBody{padding:16px}.mbMediaGrid{grid-template-columns:1fr}.mbHoursRow{grid-template-columns:1fr 100px 12px 100px;font-size:13px}.mbOfferRow{grid-template-columns:52px 1fr 44px}.mbOfferRow [data-mb-offer-subtitle]{grid-column:1/3}.mbAdminActions{grid-template-columns:1fr}}


/* FoodCore 3.5.36 — баннеры */
.bannerAdminHero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px;border-radius:26px;background:linear-gradient(135deg,#111827,#243047);color:#fff;margin-bottom:18px}.bannerAdminHero h2{font-size:42px;margin:3px 0 8px}.bannerAdminHero p{margin:0;max-width:650px;color:#cbd5e1}.bannerAdminEyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:#94a3b8;font-weight:900}.bannerAddBtn{white-space:nowrap}.bannerAdminStats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.bannerAdminStats>div{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:18px;display:flex;flex-direction:column}.bannerAdminStats b{font-size:24px}.bannerAdminStats span{color:#7c8798;font-size:13px}.bannerAdminStats .muted{opacity:.55}.bannerAdminGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bannerAdminCard{background:#fff;border:1px solid #e0e6ee;border-radius:24px;overflow:hidden;box-shadow:0 10px 32px rgba(15,23,42,.05)}.bannerAdminPreview{height:220px;position:relative;background:#f1f4f8}.bannerAdminPreview>img{width:100%;height:100%;object-fit:cover}.bannerNoImage{height:100%;display:grid;place-content:center;text-align:center;color:#8793a5;gap:4px}.bannerNoImage span{font-size:38px}.bannerNoImage small{font-weight:500}.bannerStatus{position:absolute;top:14px;left:14px;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;background:#fff}.bannerStatus.live{color:#13824c}.bannerStatus.scheduled{color:#9a6700}.bannerStatus.expired{color:#667085}.bannerStatus.draft{color:#b42318}.bannerAdminBody{padding:18px}.bannerAdminTitle{display:flex;justify-content:space-between;gap:12px}.bannerAdminTitle h3{margin:0 0 4px}.bannerAdminTitle p{margin:0;color:#7c8798}.bannerAdminTitle>b{color:#98a2b3}.bannerMetaChips{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.bannerMetaChips span{background:#f4f6f9;border-radius:999px;padding:7px 10px;font-size:12px;color:#566173}.bannerAdminActions{display:flex;align-items:center;gap:8px;border-top:1px solid #edf0f4;padding-top:14px}.bannerQuickToggle{display:flex;align-items:center;gap:7px;margin-right:auto;font-weight:800}.bannerEmpty{grid-column:1/-1;text-align:center;padding:70px 20px;background:#fff;border:1px dashed #cfd7e2;border-radius:24px}.bannerEmpty>div{font-size:44px}.bannerEditor{display:grid;gap:14px}.bannerEditorSection{border:1px solid #e0e6ee;border-radius:20px;padding:18px;background:#fff}.bannerEditorHead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.bannerEditorHead>div{display:flex;align-items:center;gap:10px}.bannerEditorHead>div>span{width:30px;height:30px;border-radius:10px;background:#111827;color:#fff;display:grid;place-items:center;font-weight:900}.bannerEditorHead h3{margin:0}.bannerEditorHead>small{color:#7c8798;max-width:400px}.bannerImagePicker{display:block;height:250px;border:2px dashed #cdd5df;border-radius:18px;overflow:hidden;background:#f5f7fa;cursor:pointer}.bannerImagePicker img{width:100%;height:100%;object-fit:cover}.bannerImagePicker>div{height:100%;display:grid;place-content:center;text-align:center;gap:5px;color:#778396}.bannerImagePicker b{font-size:35px}.bannerPlacementOptions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bannerPlacementOptions label,.bannerActiveCheck{border:1px solid #dce3ec;border-radius:16px;padding:15px;display:flex;align-items:center;gap:12px}.bannerPlacementOptions label.disabled{opacity:.45;background:#f5f5f5}.bannerPlacementOptions span,.bannerActiveCheck span{display:flex;flex-direction:column}.bannerPlacementOptions small,.bannerActiveCheck small{color:#7c8798}.bannerEditorFooter{position:sticky;bottom:-18px;background:#fff;padding:14px 0 4px;display:flex;justify-content:flex-end;gap:10px;z-index:4}
@media(max-width:760px){.bannerAdminHero{align-items:flex-start;flex-direction:column;padding:22px}.bannerAdminHero h2{font-size:34px}.bannerAdminStats{grid-template-columns:1fr 1fr}.bannerAdminGrid{grid-template-columns:1fr}.bannerAdminPreview{height:180px}.bannerPlacementOptions{grid-template-columns:1fr}.bannerEditorHead{flex-direction:column;gap:5px}.bannerImagePicker{height:180px}.bannerAdminActions{flex-wrap:wrap}}


.bannerEditorDialog{width:min(920px,calc(100vw - 20px));max-width:920px;height:min(94dvh,1050px);max-height:94dvh;padding:0;border-radius:26px;overflow:hidden}
.bannerEditorDialog form{height:100%;min-height:0;display:flex;flex-direction:column;padding:0;overflow:hidden}
.bannerEditorDialog .close{position:absolute;right:16px;top:12px;z-index:12}
.bannerEditorDialog #modalTitle{flex:0 0 auto;margin:0;padding:24px 56px 16px 26px;border-bottom:1px solid #e7ebf1;background:#fff}
.bannerEditorDialog #modalBody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 26px 0;-webkit-overflow-scrolling:touch}
.bannerEditorDialog .bannerEditor{padding-bottom:0}
.bannerEditorDialog .bannerEditorFooter{position:sticky;bottom:0;margin:0 -26px;padding:14px 26px calc(14px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e5e9ef;box-shadow:0 -10px 24px rgba(15,23,42,.08);z-index:8}
.bannerEditorDialog .bannerEditorFooter button{min-height:48px}
@media(max-width:760px){.bannerEditorDialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.bannerEditorDialog #modalTitle{padding:20px 52px 14px 18px}.bannerEditorDialog #modalBody{padding:14px 14px 0}.bannerEditorDialog .bannerEditorFooter{margin:0 -14px;padding:12px 14px calc(12px + env(safe-area-inset-bottom))}.bannerEditorDialog .bannerEditorSection{padding:15px;border-radius:17px}.bannerEditorDialog .bannerEditorFooter{display:grid;grid-template-columns:1fr 1.35fr}.bannerEditorDialog .bannerEditorFooter button{width:100%}}

.bannerSliderSettings{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,2fr);gap:24px;align-items:start;background:#fff;border:1px solid #e0e6ee;border-radius:24px;padding:22px;margin-bottom:18px}.bannerSliderSettings h3{font-size:24px;margin:5px 0 8px}.bannerSliderSettings p{margin:0;color:#7c8798}.bannerSliderControls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bannerSettingToggle{display:flex;align-items:flex-start;gap:11px;border:1px solid #dce3ec;border-radius:16px;padding:14px;background:#fafbfc}.bannerSettingToggle input{margin-top:3px}.bannerSettingToggle span{display:flex;flex-direction:column;gap:3px}.bannerSettingToggle small{color:#7c8798;line-height:1.3}.bannerSliderControls>.primary{align-self:end;min-height:44px}@media(max-width:760px){.bannerSliderSettings{grid-template-columns:1fr;padding:16px}.bannerSliderControls{grid-template-columns:1fr}.bannerSliderControls>.primary{width:100%}}

.storyAdminGrid{display:grid;gap:12px}.storyAdminCard{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:center;padding:12px;border:1px solid #e7e9ee;border-radius:16px}.storyAdminImage{width:72px;height:72px;border-radius:18px;overflow:hidden;background:#f2f4f7;display:grid;place-items:center}.storyAdminImage img{width:100%;height:100%;object-fit:cover}.storyAdminCard small,.storyAdminCard em{display:block;color:#737b88;margin-top:4px;font-style:normal}.rowActions{display:flex;gap:8px}@media(max-width:650px){.storyAdminCard{grid-template-columns:58px 1fr}.storyAdminImage{width:58px;height:58px}.rowActions{grid-column:1/-1}}
/* FoodCore 3.8.1 — redesigned loyalty settings */
.loyaltyAdmin{display:grid;gap:18px;max-width:1050px;margin:auto}.loyaltyHero{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:24px;border-radius:24px;background:linear-gradient(135deg,#17191d,#292d35);color:#fff}.loyaltyHero>div{display:flex;align-items:center;gap:16px}.loyaltyHero h3{font-size:25px;margin:0 0 6px}.loyaltyHero p{margin:0;color:#aeb5c0}.loyaltyHeroIcon,.loyaltyPreviewCoin{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#e90012;font-weight:900;font-size:23px}.loyaltyEnabled{display:flex;align-items:center;gap:10px;background:#ffffff14;padding:12px 16px;border-radius:16px;white-space:nowrap}.loyaltyEnabled input{width:22px;height:22px}.loyaltyGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.loyaltyBlock{background:#fff;border:1px solid #e2e6ec;border-radius:22px;padding:20px;box-shadow:0 7px 24px #1b27330b}.loyaltyBlock h4{font-size:19px;margin:0 0 5px}.loyaltyBlock>p{color:#7d8795;margin:0 0 18px}.loyaltyNumbers{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.loyaltyNumbers.three{grid-template-columns:repeat(3,1fr)}.loyaltyNumbers label>span{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.loyaltyNumbers label>div{display:flex;align-items:center;border:1px solid #dce1e7;border-radius:14px;overflow:hidden;background:#f7f8fa}.loyaltyNumbers input{width:100%;border:0;background:transparent;padding:14px;font-size:20px;font-weight:800}.loyaltyNumbers label b{padding:0 13px;color:#7a8491}.loyaltySwitches{display:grid;gap:10px}.loyaltySwitches label{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e4e7ec;border-radius:15px}.loyaltySwitches input{width:22px;height:22px}.loyaltySwitches span{display:grid}.loyaltySwitches small{color:#8a93a0;margin-top:2px}.loyaltyPickers{display:grid;gap:10px}.loyaltyPickers details{border:1px solid #e2e6ec;border-radius:15px;overflow:hidden}.loyaltyPickers summary{display:flex;justify-content:space-between;padding:15px;cursor:pointer;font-weight:800}.loyaltyPickers summary b{font-size:12px;color:#e90012}.loyaltyChoiceList{max-height:270px;overflow:auto;padding:6px 12px 12px;display:grid;gap:7px}.loyaltyChoiceList label{display:flex;gap:10px;align-items:center;padding:9px;border-radius:10px;background:#f7f8fa}.loyaltyChoiceList input{width:19px;height:19px}.loyaltyChoiceList span{display:flex;justify-content:space-between;width:100%;gap:10px}.loyaltyChoiceList small{color:#87909c}.loyaltySearch{width:calc(100% - 24px);margin:0 12px 8px;padding:12px;border:1px solid #dde2e8;border-radius:12px}.loyaltyPreview{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px;border-radius:22px;background:linear-gradient(135deg,#f20517,#a90010);color:#fff}.loyaltyPreview>div{display:flex;align-items:center;gap:14px}.loyaltyPreview b{display:block;font-size:22px}.loyaltyPreview small{display:block;color:#ffd7da;margin-top:4px}.loyaltyPreview p{max-width:420px;margin:0;color:#ffe7e9}.loyaltySave{width:100%;padding:16px;font-size:17px;position:sticky;bottom:12px;z-index:3}@media(max-width:760px){.loyaltyHero,.loyaltyPreview{align-items:flex-start;flex-direction:column}.loyaltyGrid{grid-template-columns:1fr}.loyaltyNumbers.three{grid-template-columns:1fr}.loyaltyHero{padding:18px}.loyaltyBlock{padding:16px}}

.loyaltyReviewRewards{display:grid;gap:16px}.sectionTitle,.reviewsAdminHead{display:flex;justify-content:space-between;gap:16px;align-items:center}.sectionTitle h3,.reviewsAdminHead h3{margin:0;font-size:26px}.sectionTitle p,.reviewsAdminHead p{margin:5px 0 0;color:#7d8795}.ratingRewardGrid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:14px}.ratingRewardGrid label>span{display:block;font-weight:800;font-size:13px;margin-bottom:5px}.ratingRewardGrid label>div,.rewardDays{display:flex;align-items:center;border:1px solid #dce1e7;border-radius:12px;overflow:hidden;background:#f7f8fa}.ratingRewardGrid input,.rewardDays input{width:100%;border:0;background:transparent;padding:12px;font-weight:800}.ratingRewardGrid b,.rewardDays b{padding-right:10px;color:#7a8491}
.reviewsAdmin{display:grid;gap:18px}.reviewStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.reviewStats>div{background:#fff;border:1px solid #e3e8ef;border-radius:18px;padding:16px 18px;box-shadow:0 6px 22px rgba(15,23,42,.04)}.reviewStats small{display:block;color:#8993a1;font-weight:700;margin-bottom:6px}.reviewStats b{font-size:25px;color:#1e2632}.reviewFilters{display:flex;gap:8px;overflow:auto;padding-bottom:2px}.reviewFilters button{border:1px solid #dfe5ec;background:#fff;color:#596474;border-radius:999px;padding:10px 14px;font-weight:800;white-space:nowrap}.reviewFilters button span{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:7px;padding:0 6px;border-radius:999px;background:#eef1f5;font-size:12px}.reviewFilters button.active{background:#171d26;color:#fff;border-color:#171d26}.reviewFilters button.active span{background:rgba(255,255,255,.16)}#reviewsAdminList{display:grid;gap:16px}.adminReviewCard{background:#fff;border:1px solid #e2e7ed;border-radius:24px;padding:20px;display:grid;gap:16px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.adminReviewTop{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.reviewStars{color:#ffb000;font-size:25px;letter-spacing:1px;line-height:1}.reviewOrder{color:#8993a1;margin-top:8px}.reviewOrder b{color:#26303d}.reviewState{padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;background:#e8f7ed;color:#16823c}.reviewState.pending{background:#fff3cf;color:#8b6500}.reviewState.rejected{background:#ffe3e6;color:#b00018}.reviewMetaGrid{display:flex;gap:8px;flex-wrap:wrap}.reviewMetaGrid span{min-width:108px;background:#f6f8fa;border:1px solid #e8ecf1;border-radius:14px;padding:10px 12px}.reviewMetaGrid small{display:block;color:#929ba8;font-size:11px;margin-bottom:3px}.reviewMetaGrid b{font-size:13px;color:#303947}.reviewComment{background:#f8f9fb;border-radius:16px;padding:15px 16px}.reviewComment small{color:#8c96a4;font-weight:700}.reviewComment p{margin:7px 0 0;font-size:16px;line-height:1.45;color:#202833}.emptyComment{color:#9aa3af}.reviewReasons{display:flex;gap:7px;flex-wrap:wrap}.reviewReasons span{background:#fff4e6;color:#9a5b00;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.reviewPhoto{position:relative;display:block;width:min(100%,420px);border-radius:18px;overflow:hidden;background:#eef1f4}.reviewPhoto img{display:block;width:100%;max-height:320px;object-fit:cover}.reviewPhoto span{position:absolute;left:12px;bottom:12px;background:rgba(14,18,24,.76);color:#fff;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800}.rewardGranted{display:flex;align-items:center;gap:11px;background:#ecf9f0;border:1px solid #ccefd7;border-radius:16px;padding:13px 14px;color:#16713a}.rewardGranted>span{font-size:24px}.rewardGranted small{display:block;color:#4f8a65}.rewardGranted b{display:block;margin-top:2px}.reviewResponse{display:grid;gap:9px}.reviewResponse label{font-weight:900;color:#303947}.reviewAnswerInput{width:100%;min-height:96px;border:1px solid #dce2e9;border-radius:16px;padding:14px 15px;background:#fbfcfd;resize:vertical}.reviewAnswerInput:focus{outline:none;border-color:#9ea9b6;box-shadow:0 0 0 3px rgba(99,115,129,.1)}.reviewResponseActions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.reviewResponseActions span{color:#16823c;font-size:12px;font-weight:800}.adminReviewActions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding-top:2px}.adminReviewActions button,.reviewResponseActions button,.reviewsAdminHead button{border-radius:12px;min-height:42px;padding:10px 15px;font-weight:900}.reviewEmpty{background:#fff;border:1px dashed #d7dde5;border-radius:22px;padding:42px 20px;text-align:center;color:#8b95a2}.reviewEmpty b{display:block;color:#303947;font-size:19px}.reviewEmpty span{display:block;margin-top:7px}
@media(max-width:760px){.ratingRewardGrid{grid-template-columns:repeat(2,1fr)}.sectionTitle,.reviewsAdminHead{align-items:flex-start;flex-direction:column}.reviewStats{grid-template-columns:repeat(2,minmax(0,1fr))}.adminReviewCard{padding:15px;border-radius:20px}.adminReviewTop{align-items:flex-start}.reviewPhoto{width:100%}.reviewPhoto img{max-height:280px}.adminReviewActions{display:grid;grid-template-columns:1fr}.adminReviewActions button{width:100%}.reviewResponseActions{align-items:stretch;flex-direction:column}.reviewResponseActions button{width:100%}}


/* FoodCore 4.3.0 — independent review rewards */
.rewardBlockHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.rewardBlockHead h4{margin:0 0 6px}.rewardBlockHead p{margin:0}.miniToggle{display:flex;align-items:center;gap:8px;white-space:nowrap;font-weight:800}.miniToggle input{width:22px;height:22px}.promoRatingPick{margin:18px 0}.promoRatingPick>b{display:block;margin-bottom:10px}.promoRatingPick>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.promoRatingPick label{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 6px;border:1px solid #d8dee8;border-radius:14px;background:#f7f9fc;font-weight:800}.promoRatingPick input{width:20px;height:20px}.loyaltySwitches.compact{margin-bottom:16px}@media(max-width:650px){.rewardBlockHead{flex-direction:column}.promoRatingPick>div{grid-template-columns:repeat(3,minmax(0,1fr))}}

.notificationChannel{border:1px solid #e4e8ee;border-radius:16px;padding:14px;display:grid;gap:10px;background:#fafbfc}.notificationChannel b{font-size:16px}.notificationChannel label{display:flex;gap:8px;align-items:center}.notificationChannel .formgrid{margin:0}

/* FoodCore 4.5.0 — payment methods settings */
.paymentSettingsPanel{margin-top:18px}.paymentMethodsAdmin{display:grid;gap:14px}.paymentMethodAdminRow{border:1px solid #e5e9ef;border-radius:18px;padding:16px;background:#fff}.paymentMethodTop{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.paymentMethodTop .switchRow{margin:0;flex:1}.paymentMethodTop .switchRow span{display:flex;flex-direction:column;gap:3px}.paymentMethodTop .switchRow small{color:#7b8490}.paymentSettingsActions{display:flex;justify-content:flex-end;margin-top:16px}@media(max-width:720px){.paymentMethodTop{align-items:flex-start}.paymentMethodTop .danger{padding:8px 10px}.paymentSettingsActions .primary{width:100%}}

/* FoodCore 4.5.1 — мобильное меню прокручивается документом,
   чтобы нижняя панель браузера могла автоматически скрываться. */
@media(max-width:980px){
  html{min-height:100%;overflow-x:hidden}
  body{min-height:100%;overflow-x:hidden}
  body.mobile-nav-open{background:var(--dark)}
  body.mobile-nav-open main{position:fixed;inset:0;width:100%;height:100%;overflow:hidden}
  body.mobile-nav-open .shell{display:block;min-height:100dvh}
  #sidebar{
    top:0;
    height:100dvh;
    min-height:100dvh;
    max-height:none;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:calc(110px + env(safe-area-inset-bottom));
  }
  #sidebar.open{
    position:relative;
    left:0;
    height:auto;
    min-height:calc(100dvh + 2px);
    overflow:visible;
  }
  #sidebar.open nav{padding-bottom:24px}
}

/* FoodCore 4.11.68 — финальный приоритет компактных категорий */
.categoriesAdminPage .categoryHeadActions{display:flex;align-items:center;gap:9px}
.categoriesAdminPage .categoryReorderToggle{width:auto;height:42px;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid #dfe4ea;border-radius:12px;background:#eef1f4;color:#1d2530;font-size:13px;font-weight:800;line-height:1;cursor:pointer}
.categoriesAdminPage .categoryReorderToggle>span{font-size:18px;line-height:1}
.categoriesAdminPage .categoryReorderToggle.active{background:#171a1f;color:#fff;border-color:#171a1f}
.categoriesAdminPage .categoryReorderNotice{margin:14px 0 8px;padding:10px 12px;border-radius:13px}
.categoriesAdminPage .categoryReorderNotice>span{width:34px;height:34px;font-size:19px}
.categoriesAdminPage .categoryAdminRow.reorderEnabled{position:relative;display:grid;grid-template-columns:38px 38px minmax(0,1fr) auto;align-items:center;min-height:58px;padding:7px 9px;gap:9px;touch-action:auto;user-select:none;cursor:default}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryDragHandle{display:grid;width:34px;height:34px;min-width:34px;place-items:center;border:0;border-radius:9px;background:#f0f2f5;color:#667085;font-size:19px;line-height:1;touch-action:none;cursor:grab}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryOrderNumber{width:34px;height:34px}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryMain{align-self:center}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryMain b{margin:0;line-height:1.2}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryMain small{margin-top:2px}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryRowActions{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}
.categoriesAdminPage .categoryMoveBtn{width:34px;height:34px;min-width:34px;border-radius:9px;font-size:18px}
.categoriesAdminPage .categoryReorderFooter{bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px}
@media(max-width:700px){.categoriesAdminPage .categoryHeadActions{display:grid;grid-template-columns:1fr 1fr}.categoriesAdminPage .categoryReorderToggle{width:100%}.categoriesAdminPage .categoryAdminRow.reorderEnabled{grid-template-columns:34px 34px minmax(0,1fr) auto;min-height:54px}.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryRowActions{grid-column:auto;border:0;padding:0}.categoriesAdminPage .categoryReorderFooter{bottom:8px;align-items:stretch;flex-direction:column}.categoriesAdminPage .categoryReorderFooter button{flex:initial}}
@media(max-width:430px){.categoriesAdminPage .categoryHeadActions{grid-template-columns:1fr}.categoriesAdminPage .categoryAdminRow.reorderEnabled{grid-template-columns:30px 32px minmax(0,1fr) auto;gap:6px}.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryDragHandle,.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryOrderNumber{width:30px;height:30px;min-width:30px}.categoriesAdminPage .categoryMoveBtn{width:30px;height:30px;min-width:30px}}

/* FoodCore 4.11.70 — gift wheel administration */
.wheelAdminPage{display:grid;gap:18px;max-width:1220px;margin:0 auto;padding:0 0 36px}
.wheelAdminHero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;border:1px solid #e3e7ed;border-radius:22px;background:linear-gradient(135deg,#fff 0,#fbfbfc 60%,#fff1f2 100%);box-shadow:0 10px 30px rgba(24,32,45,.05)}
.wheelHeroCopy{display:flex;align-items:center;gap:15px}.wheelHeroIcon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:#171a1f;font-size:29px;box-shadow:0 9px 20px rgba(15,18,24,.18)}
.wheelHeroCopy h2{margin:0;font-size:27px}.wheelHeroCopy p{margin:5px 0 0;color:#7b8491}
.wheelMasterSwitch{min-width:260px;background:#fff}
.wheelAdminStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.wheelAdminStats article{padding:17px;border:1px solid #e3e7ed;border-radius:17px;background:#fff;display:grid;gap:5px}
.wheelAdminStats small,.wheelAdminStats span{color:#8a929e;font-size:11px}.wheelAdminStats b{font-size:25px}.wheelAdminStats .smallValue{font-size:16px;line-height:1.25}
.wheelAdminLayout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:18px;align-items:start}
.wheelSettingsCard,.wheelAdminPreview,.wheelPrizesCard{border:1px solid #e1e6ec;border-radius:20px;background:#fff;padding:20px}
.wheelSectionHead{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.wheelSectionHead>span{width:31px;height:31px;flex:0 0 31px;border-radius:9px;background:#171a1f;color:#fff;display:grid;place-items:center;font-weight:900}.wheelSectionHead h3{margin:1px 0 3px;font-size:19px}.wheelSectionHead p{margin:0;color:#8a929e;font-size:12px;line-height:1.4}
.wheelSettingsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wheelSettingsGrid .full{grid-column:1/-1}
.wheelSettingsGrid .field[hidden],.wheelPrizeFields label[hidden]{display:none!important}
.wheelAdminPreview{text-align:center;background:linear-gradient(160deg,#171a1f,#222833);color:#fff}.wheelAdminPreview .wheelSectionHead{text-align:left}.wheelAdminPreview .wheelSectionHead>span{background:#fff;color:#171a1f}.wheelAdminPreview .wheelSectionHead p{color:#9da6b4}
.wheelPreviewWrap{width:min(270px,88%);aspect-ratio:1;margin:28px auto 20px;position:relative}.wheelPreviewDisc{position:absolute;inset:0;border:9px solid #fff;border-radius:50%;box-shadow:0 18px 38px #0007,inset 0 0 26px #0003;overflow:hidden}.wheelPreviewDisc:after{content:"";position:absolute;inset:12%;border-radius:50%;border:1px solid rgba(255,255,255,.24);box-shadow:0 0 18px #0003}
.wheelPreviewPointer{position:absolute;z-index:3;left:50%;top:-25px;transform:translateX(-50%);font-size:29px;color:#fff}.wheelPreviewHub{position:absolute;z-index:2;inset:41%;border-radius:50%;display:grid;place-items:center;background:#fff;color:#ef2b2d;font-size:25px;font-weight:950;box-shadow:0 5px 15px #0004}
.wheelAdminPreview>b{font-size:21px}.wheelAdminPreview>p{margin:7px auto 4px;color:#aeb6c2;font-size:12px;line-height:1.45;max-width:290px}
.wheelPrizesHead{align-items:center}.wheelPrizesHead>div{flex:1}.wheelPrizesHead>button{margin-left:auto}
#wheelPrizeRows{display:grid;gap:10px}.wheelPrizeRow{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:12px;align-items:center;padding:13px;border:1px solid #e3e7ed;border-radius:16px;background:#fbfcfd}
.wheelPrizeNumber{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#edf0f4;color:#596273;font-weight:900}
.wheelPrizeFields{display:grid;grid-template-columns:1.35fr 1fr .8fr 1.25fr .9fr .7fr .75fr;gap:10px;align-items:end}.wheelPrizeFields label{display:grid;gap:5px;min-width:0}.wheelPrizeFields label>span{font-size:10px;color:#7c8592;font-weight:800}.wheelPrizeFields input,.wheelPrizeFields select{width:100%;height:40px;border:1px solid #dbe0e7;border-radius:10px;background:#fff;padding:0 10px;min-width:0}.wheelPrizeFields small{position:absolute;margin-top:42px;font-size:9px;color:#ef2b2d;font-weight:800}
.wheelPrizeImagePick{height:40px!important;border:1px solid #dbe0e7;border-radius:10px;background:#fff;display:flex;align-items:center;gap:7px;padding:4px 8px;cursor:pointer;overflow:hidden}.wheelPrizeImagePick>[data-wheel-image-preview]{width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:#f0f2f5;display:grid;place-items:center;color:#727b88;font-size:16px;overflow:hidden}.wheelPrizeImagePick img{width:100%;height:100%;object-fit:cover}.wheelPrizeImagePick b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wheelPrizeImagePick input{display:none}
.wheelPreviewSector{position:absolute;z-index:1;left:50%;top:50%;width:38px;height:38px;margin:-19px;display:grid;place-items:center;transform:rotate(var(--a)) translateY(-91px) rotate(calc(-1 * var(--a)));border-radius:12px;background:rgba(12,15,20,.2);color:#fff;font-size:23px;font-weight:950;text-shadow:0 2px 7px #0008;overflow:hidden;box-shadow:0 3px 10px #0002}.wheelPreviewSector img{width:100%;height:100%;object-fit:cover}
.wheelPrizeDelete{width:34px;height:34px;border:0;border-radius:10px;background:#fff0f1;color:#e3212c;font-size:20px;cursor:pointer}
.wheelSaveBar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid #dfe4ea;border-radius:17px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);box-shadow:0 14px 38px rgba(24,32,45,.14)}.wheelSaveBar div{display:grid;gap:3px}.wheelSaveBar small{color:#7f8793}.wheelSaveBar button{min-width:210px}
@media(max-width:1050px){.wheelAdminStats{grid-template-columns:repeat(2,minmax(0,1fr))}.wheelAdminLayout{grid-template-columns:1fr}.wheelAdminPreview{min-height:430px}.wheelPreviewWrap{width:250px}.wheelPrizeFields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.wheelAdminPage{gap:13px}.wheelAdminHero{align-items:stretch;flex-direction:column;padding:16px}.wheelHeroCopy{align-items:flex-start}.wheelHeroIcon{width:50px;height:50px;flex:0 0 50px}.wheelHeroCopy h2{font-size:23px}.wheelMasterSwitch{min-width:0}.wheelAdminStats{grid-template-columns:1fr 1fr;gap:8px}.wheelAdminStats article{padding:13px}.wheelAdminStats b{font-size:21px}.wheelSettingsCard,.wheelAdminPreview,.wheelPrizesCard{padding:15px;border-radius:17px}.wheelSettingsGrid{grid-template-columns:1fr}.wheelSettingsGrid .full{grid-column:auto}.wheelAdminPreview{min-height:390px}.wheelPrizesHead{align-items:flex-start;flex-wrap:wrap}.wheelPrizesHead>button{width:100%;margin:0}.wheelPrizeRow{grid-template-columns:30px minmax(0,1fr) 30px;gap:7px;padding:10px}.wheelPrizeNumber,.wheelPrizeDelete{width:30px;height:30px}.wheelPrizeFields{grid-template-columns:1fr 1fr;gap:9px}.wheelPrizeFields label:first-child{grid-column:1/-1}.wheelSaveBar{bottom:8px;align-items:stretch;flex-direction:column}.wheelSaveBar button{width:100%;min-width:0}}
@media(max-width:430px){.wheelAdminStats{grid-template-columns:1fr 1fr}.wheelPrizeFields{grid-template-columns:1fr}.wheelPrizeFields label:first-child{grid-column:auto}.wheelPrizeRow{align-items:start}.wheelPrizeDelete{font-size:18px}.wheelSaveBar div{display:none}}

/* FoodCore 4.11.73 — marketplace wheel preview */
.wheelAdminPreview{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 50% 52%,rgba(239,43,45,.22),transparent 36%),linear-gradient(180deg,#17191e,#08090b);box-shadow:0 20px 46px rgba(10,12,15,.18)}
.wheelAdminPreview:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(115deg,transparent 0 38%,rgba(255,255,255,.035) 48%,transparent 58%)}
.wheelPreviewBadge{display:inline-flex;align-items:center;justify-content:center;margin:9px auto 6px;padding:7px 11px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.045);color:#c8cdd4;font-size:8px;font-weight:900;letter-spacing:.13em}
.wheelPreviewHeading{display:block!important;margin:0 auto;color:#fff;font-size:23px!important;letter-spacing:-.035em}
.wheelPreviewWrap{width:min(258px,84%);margin-top:23px}.wheelPreviewWrap:before{content:'';position:absolute;inset:-7px;border-radius:50%;background:linear-gradient(145deg,#fff,#777d86 22%,#f5f7f9 43%,#676c74 67%,#fff);box-shadow:0 20px 45px #000b}
.wheelPreviewDisc{z-index:1;border:7px solid #0d0f12;box-shadow:inset 0 0 30px #0006;overflow:hidden}.wheelPreviewDisc:after{inset:4%;border-color:rgba(255,255,255,.2)}
.wheelPreviewPointer{z-index:6;top:-23px;width:42px;height:53px;font-size:0;filter:drop-shadow(0 7px 7px #0009)}.wheelPreviewPointer:before{content:'';position:absolute;left:50%;top:0;width:32px;height:32px;transform:translateX(-50%);border-radius:50%;background:linear-gradient(145deg,#fff,#a9afb7);box-shadow:inset 0 0 0 5px #17191d}.wheelPreviewPointer i{position:absolute;left:50%;top:23px;width:21px;height:27px;transform:translateX(-50%);clip-path:polygon(0 0,100% 0,50% 100%);background:linear-gradient(180deg,#f7f8fa,#aeb4bd)}
.wheelPreviewSector{width:42px;height:42px;margin:-21px;transform:rotate(var(--a)) translateY(-85px) rotate(calc(-1 * var(--a)));border:1px solid rgba(255,255,255,.22);border-radius:13px;background:rgba(10,11,14,.72);box-shadow:0 6px 15px #0006}
.wheelPreviewHub{z-index:5;inset:31%;border:5px solid #f4f5f7;background:linear-gradient(155deg,#ef2b2d,#8a090e);color:#fff;display:flex;flex-direction:column;gap:1px;box-shadow:0 9px 23px #0009,inset 0 2px 4px rgba(255,255,255,.3)}.wheelPreviewHub small{font-size:6px;letter-spacing:.14em;opacity:.75}.wheelPreviewHub b{font-size:10px;letter-spacing:.04em}
.wheelSettingsCard{align-self:start}.wheelStopAfterWin{grid-column:1/-1;margin-top:2px;padding:14px;border:1px solid #e1e6ec;border-radius:15px;background:#f8fafc}.wheelStopAfterWin .promoSwitchText small{max-width:none}

/* FoodCore 4.11.75 — bright promotional preview */
.wheelAdminPreview{background:radial-gradient(circle at 50% 58%,rgba(255,111,0,.48),transparent 39%),linear-gradient(180deg,#350906,#120302);box-shadow:0 20px 46px rgba(61,11,0,.28)}
.wheelAdminPreview:after{background:radial-gradient(circle at 15% 20%,rgba(255,43,131,.16),transparent 17%),radial-gradient(circle at 87% 23%,rgba(255,187,0,.16),transparent 18%)}
.wheelPreviewBadge{border-color:rgba(255,210,91,.28);background:rgba(112,21,0,.4);color:#ffdb72;text-shadow:0 1px 7px #f60}.wheelPreviewHeading{color:#fff3bd!important;text-shadow:0 3px 0 #801600,0 0 18px #ff5a00}
.wheelPreviewWrap:before{inset:-11px;background:linear-gradient(145deg,#fff6a5,#ffb400 20%,#ff7300 46%,#ffe65a 70%,#ff8b00);box-shadow:0 0 0 3px #9d2600,0 0 24px #ff8a00,0 20px 45px #000b}
.wheelPreviewDisc{border:7px solid #8f2200;box-shadow:inset 0 0 28px rgba(80,0,0,.5)}.wheelPreviewDisc:after{inset:2%;border:2px solid rgba(255,232,126,.55)}
.wheelPreviewBulbs{position:absolute;z-index:5;inset:0;border-radius:50%;pointer-events:none}.wheelPreviewBulbs i{position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-4.5px;border:1px solid #fff3a2;border-radius:50%;background:#fffbd1;transform:rotate(var(--a)) translateY(-130px);box-shadow:0 0 5px #fff,0 0 10px #ffd500,0 0 14px #ff7a00}
.wheelPreviewPointer{top:-30px;width:55px;height:66px}.wheelPreviewPointer:before{width:44px;height:44px;border:4px solid #ffdc3f;background:radial-gradient(circle at 38% 30%,#fff58c,#ff5a00 30%,#c51100 70%);box-shadow:0 0 0 3px #b54100,0 0 17px #ff9b00}.wheelPreviewPointer i{top:33px;width:29px;height:33px;background:linear-gradient(180deg,#ffd94b,#ff8a00 65%,#d63400)}
.wheelPreviewSector{width:68px;height:62px;margin:-34px -31px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transform:rotate(var(--a)) translateY(-83px) rotate(calc(-1 * var(--a)));border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.wheelPreviewSector>span{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;color:#fff4a6;font-size:20px;font-weight:950;text-shadow:0 2px 0 #700;overflow:hidden;filter:drop-shadow(0 4px 3px rgba(80,0,0,.45))}.wheelPreviewSector>span img{width:100%;height:100%;object-fit:cover;border:2px solid #ffe36a;border-radius:9px;box-sizing:border-box}.wheelPreviewSector>b{display:-webkit-box;max-width:68px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#fff;font-size:7px;line-height:1.03;text-transform:uppercase;text-shadow:0 2px 0 #700,0 0 5px #700}
.wheelPreviewHub{inset:29%;border:6px solid #ffd83d;background:radial-gradient(circle at 42% 30%,#ff5631,#c80b00 58%,#780900);box-shadow:0 0 0 3px #a93500,0 0 18px #ffae00,0 9px 23px #0009}.wheelPreviewHub span{font-size:22px;line-height:1}.wheelPreviewHub small{color:#ffe596}

/* FoodCore 4.11.76 — radial text-only preview */
.wheelPreviewSector{width:94px;height:26px;margin:-13px -47px;display:grid;place-items:center;transform:rotate(var(--a)) translateY(-82px) rotate(calc(-90deg + var(--flip)));overflow:visible}.wheelPreviewSector>b{display:-webkit-box!important;width:94px;max-width:94px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#fff;font-size:7px;line-height:1.03;text-align:center;text-transform:uppercase;text-shadow:0 2px 0 #700,0 0 5px #700}
.wheelGlobalWinField{padding:14px;border:1px solid #f2d5c7;border-radius:15px;background:#fff9f5}.wheelGlobalWinField>span{color:#9a3412!important}.wheelGlobalWinField small{position:static!important;margin:0!important;color:#8a5a46!important;font-size:10px!important;line-height:1.35}

/* FoodCore 4.11.77 — readable preview and reliable save area */
.wheelPreviewSector{width:66px;height:32px;margin:-16px -33px;transform:rotate(var(--a)) translateY(-79px) rotate(calc(-1 * var(--a) + var(--tilt)));pointer-events:none}.wheelPreviewSector>b{width:66px;max-width:66px;font-size:6.5px;line-height:1.08}
.wheelSaveBar{z-index:30;isolation:isolate;cursor:pointer}.wheelSaveBar #saveWheel{position:relative;z-index:31;min-height:48px;pointer-events:auto;touch-action:manipulation;cursor:pointer}.wheelSaveBar #saveWheel:before,.wheelSaveBar #saveWheel:after{display:none!important;content:none!important}
.wheelSaveBar:hover #saveWheel{filter:brightness(.97)}.wheelSaveBar #saveWheel:disabled{cursor:wait;opacity:.7}

/* FoodCore 4.11.78 — segment scenarios and symbol-only preview */
.wheelScenarioBar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.1fr) auto auto;align-items:center;gap:10px;padding:15px 17px;border:1px solid #e2e6ec;border-radius:18px;background:#fff}.wheelScenarioBar>div{display:grid;gap:3px}.wheelScenarioBar small{color:#7d8693;font-size:11px}.wheelScenarioBar select{height:44px;min-width:0;border:1px solid #dce1e7;border-radius:12px;padding:0 12px;background:#f9fafb}.wheelScenarioBar button{min-height:44px;white-space:nowrap}
.wheelPreviewSector{width:38px;height:38px;margin:-19px;transform:rotate(var(--a)) translateY(-79px) rotate(calc(-1 * var(--a)));display:grid;place-items:center;pointer-events:none}.wheelPreviewSector>b{display:grid!important;width:32px;max-width:32px;height:32px;place-items:center;overflow:visible;-webkit-line-clamp:unset;border:1px solid rgba(255,245,185,.62);border-radius:50%;background:rgba(93,14,0,.24);color:#fff8c9;font-size:18px;line-height:1;text-shadow:0 2px 0 #700,0 0 7px #ffcf55}
@media(max-width:800px){.wheelScenarioBar{grid-template-columns:1fr 1fr}.wheelScenarioBar>div{grid-column:1/-1}.wheelScenarioBar select{grid-column:1/-1}}
@media(max-width:520px){.wheelScenarioBar{grid-template-columns:1fr}.wheelScenarioBar>div,.wheelScenarioBar select{grid-column:auto}.wheelScenarioBar button{width:100%}}

/* FoodCore 4.11.69 — promo editor priority */
.promoEditorDialog{width:min(900px,calc(100vw - 24px));max-width:900px;max-height:94dvh;border-radius:26px;overflow:hidden}
.promoEditorDialog>form{display:flex;flex-direction:column;max-height:94dvh;padding:0}
.promoEditorDialog #modalTitle{margin:0;padding:23px 68px 17px 25px;border-bottom:1px solid #e7ebf0;background:#fff;font-size:25px}
.promoEditorDialog .close{position:absolute;top:13px;right:17px;width:40px;height:40px;border-radius:12px;background:#f1f3f6}
.promoEditorDialog #modalBody{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:18px 24px 28px;background:#f7f8fa}
.promoEditorDialog #savePromo{position:static;width:100%;min-height:49px;box-shadow:none}
@media(max-width:760px){.promoEditorDialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.promoEditorDialog>form{height:100dvh;max-height:100dvh}.promoEditorDialog #modalTitle{padding:19px 60px 14px 16px;font-size:22px}.promoEditorDialog .close{position:fixed;top:9px;right:10px}.promoEditorDialog #modalBody{padding:12px 12px 24px}.promoEditorDialog #savePromo{position:static;box-shadow:none}}
@media(max-width:430px){.categoriesAdminPage .categoryAdminRow:not(.reorderEnabled){grid-template-columns:34px minmax(80px,1fr) auto;min-height:66px;padding:7px;gap:7px}.categoriesAdminPage .categoryAdminRow:not(.reorderEnabled) .categoryOrderNumber{width:32px;height:32px}.categoriesAdminPage .categoryAdminRow:not(.reorderEnabled) .categoryMain b{font-size:14px}.categoriesAdminPage .categoryAdminRow:not(.reorderEnabled) .categoryMain small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.categoriesAdminPage .categoryAdminRow:not(.reorderEnabled) .categoryRowActions{grid-column:auto;justify-content:flex-end;gap:4px;padding:0;border:0}.categoriesAdminPage .categoryVisibilitySwitch{width:36px;height:22px}.categoriesAdminPage .categoryVisibilitySwitch span:after{width:16px;height:16px}.categoriesAdminPage .categoryVisibilitySwitch input:checked+span:after{transform:translateX(14px)}.categoriesAdminPage .categoryActionBtn{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;font-size:0}.categoriesAdminPage .categoryActionBtn:before{content:'✎';font-size:16px}.categoriesAdminPage .categoryDeleteBtn{width:32px;height:32px;font-size:18px}}

/* FoodCore 4.11.69 — compact promo registry and editor */
.fcSwitch{position:relative;display:inline-flex;align-items:center;width:44px;height:25px;flex:0 0 auto;cursor:pointer}.fcSwitch input{position:absolute;opacity:0;pointer-events:none}.fcSwitch>span{position:absolute;inset:0;border-radius:999px;background:#d7dce4;transition:background .2s,box-shadow .2s}.fcSwitch>span:after{content:'';position:absolute;width:19px;height:19px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.25);transition:transform .2s}.fcSwitch input:checked+span{background:#ef2b2d;box-shadow:0 0 0 3px rgba(239,43,45,.1)}.fcSwitch input:checked+span:after{transform:translateX(19px)}
.promoAdminPage{display:grid;gap:16px;width:100%;max-width:1450px;margin:0 auto}.promoOverview{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:21px 24px;border:1px solid #e3e8ef;border-radius:22px;background:linear-gradient(135deg,#fff,#f8fafc)}.promoOverview>div:first-child{display:flex;align-items:center;gap:15px}.promoOverviewIcon{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;background:#ef2b2d;color:#fff;font-size:25px;font-weight:900;box-shadow:0 8px 20px rgba(239,43,45,.2)}.promoOverview h2{margin:0 0 5px;font-size:25px}.promoOverview p{margin:0;color:#7c8695}.promoOverviewStats{display:flex;gap:8px}.promoOverviewStats>span{min-width:92px;padding:11px 14px;border:1px solid #e7ebf0;border-radius:14px;background:#fff}.promoOverviewStats small{display:block;color:#8a94a3;font-size:11px}.promoOverviewStats b{display:block;margin-top:3px;font-size:21px}
.promoRegistry{padding:20px;border:1px solid #e3e8ef;border-radius:22px;background:#fff;box-shadow:0 6px 24px rgba(17,24,39,.035)}.promoRegistryHead{display:flex;justify-content:space-between;align-items:center;gap:18px}.promoRegistryHead h3{margin:0 0 4px;font-size:20px}.promoRegistryHead p{margin:0;color:#7c8695;font-size:13px}.promoRegistryHead .primary{min-height:43px;border-radius:12px}.promoToolbar{display:flex;gap:10px;margin:16px 0 12px;padding:11px;border-radius:15px;background:#f6f8fa}.promoSearch{flex:1;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:6px;min-height:42px;padding:0 12px;border:1px solid #dfe4ea;border-radius:11px;background:#fff}.promoSearch>span{color:#8a94a3;font-size:20px}.promoSearch input{width:100%;border:0;outline:0;background:transparent}.promoToolbar select{min-width:180px;border:1px solid #dfe4ea;border-radius:11px;padding:0 12px;background:#fff}
.promoList{overflow:hidden;border:1px solid #e4e8ee;border-radius:16px}.promoListHeader,.promoListRow{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(115px,.8fr) minmax(150px,1fr) minmax(150px,1fr) 90px 118px;gap:12px;align-items:center}.promoListHeader{min-height:42px;padding:0 13px;background:#f7f8fa;color:#7c8695;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.promoListRow{min-height:72px;padding:9px 13px;border-top:1px solid #edf0f3;transition:background .15s}.promoListRow:hover{background:#fcfcfd}.promoIdentity{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center}.promoIdentity code{max-width:105px;overflow:hidden;text-overflow:ellipsis;padding:7px 9px;border-radius:9px;background:#fff1f1;color:#cc2027;font-family:inherit;font-size:12px;font-weight:900;white-space:nowrap}.promoIdentity>div,.promoBenefit,.promoConditions,.promoDates{min-width:0}.promoIdentity b,.promoBenefit b,.promoConditions b,.promoDates b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.promoIdentity small,.promoBenefit small,.promoConditions small,.promoDates small{display:block;overflow:hidden;text-overflow:ellipsis;margin-top:4px;color:#8a94a3;font-size:11px;white-space:nowrap}.promoBenefit b{font-size:15px;color:#1d2939}.promoState{display:grid;justify-items:start;gap:4px}.promoState small{color:#7c8695;font-size:10px}.promoRowActions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.promoEditBtn{height:36px;padding:0 11px;border:1px solid #dfe4ea;border-radius:10px;background:#f7f8fa;color:#344054;font-weight:750;cursor:pointer}.promoDeleteBtn{width:36px;height:36px;border:0;border-radius:10px;background:#fff0f0;color:#d92d20;font-size:20px;cursor:pointer}
.promoPagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:14px}.promoPagination>label{display:flex;align-items:center;gap:7px;color:#7c8695;font-size:12px}.promoPagination select{height:36px;border:1px solid #dfe4ea;border-radius:9px;padding:0 8px;background:#fff;font-weight:750}.promoPagination>div{display:flex;align-items:center;gap:9px;color:#7c8695;font-size:12px}.promoPagination button{width:36px;height:36px;border:1px solid #dfe4ea;border-radius:10px;background:#fff;font-size:20px;cursor:pointer}.promoPagination button:disabled{opacity:.35;cursor:default}.promoEmpty{padding:60px 20px;text-align:center}.promoEmpty>span{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 14px;border-radius:17px;background:#fff1f1;color:#ef2b2d;font-size:26px;font-weight:900}.promoEmpty h3{margin:0 0 6px}.promoEmpty p{margin:0 0 18px;color:#7c8695}
.promoEditorDialog{width:min(900px,calc(100vw - 24px));max-width:900px;max-height:94dvh;border-radius:26px;overflow:hidden}.promoEditorDialog>form{display:flex;flex-direction:column;max-height:94dvh;padding:0}.promoEditorDialog #modalTitle{margin:0;padding:23px 68px 17px 25px;border-bottom:1px solid #e7ebf0;background:#fff;font-size:25px}.promoEditorDialog .close{top:13px;right:17px;width:40px;height:40px;border-radius:12px;background:#f1f3f6}.promoEditorDialog #modalBody{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:18px 24px 28px;background:#f7f8fa}.promoEditorModern{display:grid;gap:13px}.promoEditorStatus{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;border:1px solid #e2e7ed;border-radius:18px;background:#fff}.promoEditorStatus>div>b{display:block;font-size:16px}.promoEditorStatus>div>small{display:block;margin-top:4px;color:#7c8695}.promoEditorSection{padding:18px;border:1px solid #e2e7ed;border-radius:18px;background:#fff}.promoSectionTitle{display:flex;align-items:flex-start;gap:11px;margin-bottom:15px}.promoSectionTitle>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:#171a1f;color:#fff;font-size:12px;font-weight:900}.promoSectionTitle h3{margin:1px 0 3px;font-size:17px}.promoSectionTitle p{margin:0;color:#8a94a3;font-size:12px}.promoEditorGrid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.promoEditorGrid .full{grid-column:1/-1}.promoEditorDialog .field{min-width:0}.promoEditorDialog .field>span{font-size:12px}.promoEditorDialog .field input,.promoEditorDialog .field select,.promoEditorDialog .field textarea,.promoEditorDialog .promoCategoryToggle{width:100%;min-width:0;border:1px solid #dfe4ea;border-radius:12px;padding:11px 12px;background:#fff}.promoEditorDialog .field input:focus,.promoEditorDialog .field select:focus,.promoEditorDialog .field textarea:focus{outline:0;border-color:#ef2b2d;box-shadow:0 0 0 3px rgba(239,43,45,.1)}.promoEditorDialog .promoTypeFields{grid-column:1/-1}.promoEditorDialog .promoConditional{grid-template-columns:1fr 1fr;gap:13px}.promoEditorDialog .promoConditional.hidden{display:none}.promoSwitchList{display:grid;gap:8px}.promoSettingSwitch{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;padding:12px 13px;border:1px solid #e4e8ee;border-radius:14px;background:#fafbfc;cursor:pointer}.promoSettingSwitch input{position:absolute;opacity:0;pointer-events:none}.promoSwitchTrack{position:relative;width:44px;height:25px;border-radius:999px;background:#d7dce4;transition:.2s}.promoSwitchTrack:after{content:'';position:absolute;width:19px;height:19px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.24);transition:.2s}.promoSettingSwitch input:checked+.promoSwitchTrack{background:#ef2b2d}.promoSettingSwitch input:checked+.promoSwitchTrack:after{transform:translateX(19px)}.promoSwitchText b{display:block;font-size:13px}.promoSwitchText small{display:block;margin-top:3px;color:#8a94a3;font-size:11px;line-height:1.35}.promoSettingSwitch.compact{min-width:245px;padding:10px 12px}.promoCategoryDropdown{margin-top:7px;border:1px solid #dfe4ea;border-radius:14px;background:#fff;padding:10px}.promoCategoryActions{display:flex;gap:7px}.promoCategoryActions button{border:0;border-radius:9px;padding:7px 9px;background:#eef1f4;font-size:12px}.promoCategoryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}.promoCheck{position:relative;display:block!important;padding:0!important;border:0!important;background:transparent!important}.promoCheck input{position:absolute;opacity:0!important}.promoCheck span{display:block;padding:9px 10px;border:1px solid #e2e7ed;border-radius:10px;background:#f8f9fb;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promoCheck input:checked+span{border-color:#ef2b2d;background:#fff1f1;color:#ce242a;box-shadow:inset 3px 0 #ef2b2d}.promoEditorFooter{position:sticky;bottom:-29px;z-index:3;display:grid;grid-template-columns:1fr 1.5fr;gap:10px;margin:4px -24px -28px;padding:14px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e2e7ed;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.promoEditorFooter button{min-height:49px;border-radius:13px}.promoEditorFooter .secondary{border:1px solid #dfe4ea;background:#fff}
@media(max-width:1150px){.promoListHeader,.promoListRow{grid-template-columns:minmax(200px,1.6fr) minmax(100px,.8fr) minmax(130px,1fr) 90px 118px}.promoListHeader>span:nth-child(4),.promoListRow>.promoDates{display:none}}
@media(max-width:760px){.promoOverview{align-items:stretch;flex-direction:column;padding:18px}.promoOverviewStats{display:grid;grid-template-columns:repeat(3,1fr)}.promoOverviewStats>span{min-width:0}.promoRegistry{padding:14px}.promoRegistryHead{align-items:stretch;flex-direction:column}.promoRegistryHead .primary{width:100%}.promoToolbar{display:grid}.promoToolbar select{min-height:42px;width:100%}.promoList{border:0;display:grid;gap:8px;overflow:visible}.promoListHeader{display:none}.promoListRow{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:0;padding:12px;border:1px solid #e4e8ee;border-radius:14px}.promoIdentity{grid-column:1/-1}.promoBenefit,.promoConditions{padding-top:7px;border-top:1px solid #edf0f3}.promoDates{display:none!important}.promoState{justify-items:end}.promoRowActions{grid-column:1/-1;padding-top:8px;border-top:1px solid #edf0f3}.promoEditBtn{flex:1}.promoPagination{align-items:stretch;flex-direction:column}.promoPagination>div{justify-content:space-between}.promoEditorDialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.promoEditorDialog>form{height:100dvh;max-height:100dvh}.promoEditorDialog #modalTitle{padding:19px 60px 14px 16px;font-size:22px}.promoEditorDialog .close{position:fixed;top:9px;right:10px}.promoEditorDialog #modalBody{padding:12px 12px 24px}.promoEditorStatus{align-items:stretch;flex-direction:column}.promoSettingSwitch.compact{min-width:0}.promoEditorSection{padding:14px}.promoEditorGrid,.promoEditorDialog .promoConditional{grid-template-columns:1fr}.promoEditorGrid .field,.promoEditorGrid .full,.promoEditorDialog .promoTypeFields{grid-column:1}.promoCategoryGrid{grid-template-columns:1fr 1fr}.promoEditorFooter{bottom:-25px;margin:3px -12px -24px;padding:11px 12px calc(11px + env(safe-area-inset-bottom))}}
@media(max-width:430px){.promoOverviewIcon{display:none}.promoOverviewStats>span{padding:9px}.promoIdentity{grid-template-columns:1fr}.promoIdentity code{max-width:150px}.promoBenefit,.promoConditions{min-width:0}.promoCategoryGrid{grid-template-columns:1fr}.promoEditorFooter{grid-template-columns:1fr}.promoEditorFooter .primary{grid-row:1}.promoEditorFooter .secondary{grid-row:2}}

/* FoodCore 4.5.2: реквизиты терминала для онлайн-оплаты */
.paymentSecretWrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.paymentSecretWrap .secondary{white-space:nowrap;padding:12px 16px}.paymentMethodAdminRow [hidden]{display:none!important}@media(max-width:640px){.paymentSecretWrap{grid-template-columns:1fr}.paymentSecretWrap .secondary{width:100%}}

/* FoodCore 4.5.3 — compact payment methods table */
.paymentListHead{align-items:center}.paymentToolbar{display:flex;gap:10px;align-items:center;margin:14px 0}.paymentToolbar input{flex:1;min-width:180px}.paymentTableWrap{overflow-x:auto;border:1px solid #e5e9ef;border-radius:18px;background:#fff}.paymentTable{width:100%;min-width:920px;border-collapse:collapse}.paymentTable th,.paymentTable td{padding:14px 12px;border-bottom:1px solid #edf0f4;text-align:center;white-space:nowrap}.paymentTable th:first-child,.paymentTable td:first-child{text-align:left;min-width:220px}.paymentTable th{font-size:13px;color:#6f7885;background:#f8f9fb}.paymentTable tr:last-child td{border-bottom:0}.paymentEditBtn{border:0;background:transparent;color:var(--accent,#ef2b2d);font-weight:700;cursor:pointer}.miniSwitch{display:inline-block;position:relative;width:46px;height:26px}.miniSwitch input{opacity:0;width:0;height:0}.miniSwitch span{position:absolute;inset:0;background:#d9dee6;border-radius:999px;transition:.2s}.miniSwitch span:before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:.2s}.miniSwitch input:checked+span{background:var(--accent,#ef2b2d)}.miniSwitch input:checked+span:before{transform:translateX(20px)}.paymentEditorFlags{display:flex;flex-wrap:wrap;gap:12px 18px;padding-top:6px}.paymentEditorFlags label{display:flex;gap:8px;align-items:center}.paymentEditorActions{display:flex;justify-content:space-between;gap:12px}.paymentEditor [hidden]{display:none!important}@media(max-width:720px){.paymentListHead{align-items:flex-start}.paymentListHead .primary{padding:10px 14px}.paymentToolbar{flex-direction:column;align-items:stretch}.paymentTableWrap{margin-left:-4px;margin-right:-4px}.paymentSettingsActions .primary{width:100%}.paymentEditorActions{flex-direction:column-reverse}.paymentEditorActions button{width:100%}}

.dashboardPeriod{margin:18px 0 0;background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:16px 18px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.dashboardPeriod>div:first-child{flex:1;min-width:240px}.dashboardPeriod h3{margin:0 0 4px;font-size:18px}.dashboardPeriod p{margin:0;color:var(--muted);font-size:13px}.dashboardPeriodButtons{display:flex;gap:7px;flex-wrap:wrap}.dashboardPeriodButtons button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px;cursor:pointer}.dashboardPeriodButtons button.active{background:var(--dark);border-color:var(--dark);color:#fff}.dashboardCustomDates{width:100%;display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line)}.dashboardCustomDates label{display:flex;flex-direction:column;gap:5px}.dashboardCustomDates span{font-size:12px;color:var(--muted);font-weight:600}.dashboardCustomDates input{border:1px solid #dce1e6;border-radius:10px;padding:10px 12px;background:#fff}@media(max-width:560px){.dashboardPeriod{padding:14px}.dashboardPeriodButtons{display:grid;grid-template-columns:1fr 1fr;width:100%}.dashboardPeriodButtons button{width:100%}.dashboardCustomDates{display:grid;grid-template-columns:1fr 1fr}.dashboardCustomDates label,.dashboardCustomDates input{width:100%}.dashboardCustomDates .primary{grid-column:1/-1}}

/* FoodCore 4.6.4 — баланс авторизаций на главной */
.authWallet{margin:18px 0;background:linear-gradient(135deg,#171d27,#252f3d);color:#fff;border-radius:20px;padding:22px;box-shadow:0 16px 36px rgba(20,28,40,.14)}.authWallet.low{background:linear-gradient(135deg,#6d4a00,#9d6b00)}.authWallet.empty{background:linear-gradient(135deg,#681d24,#9b2933)}.authWalletTop{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.authWalletEyebrow{display:block;text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:900;color:#aeb8c7;margin-bottom:5px}.authWallet.low .authWalletEyebrow,.authWallet.empty .authWalletEyebrow{color:#ffe9b7}.authWallet h3{margin:0 0 5px;font-size:23px}.authWallet p{margin:0;color:#c8d0dc;font-size:13px}.authWalletState{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.1);border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;white-space:nowrap}.authWalletMain{display:grid;grid-template-columns:minmax(220px,.8fr) 1.5fr;gap:24px;align-items:end;margin-top:22px}.authWalletAmount strong{display:block;font-size:38px;line-height:1}.authWalletAmount span{display:block;color:#c8d0dc;margin-top:8px;font-size:13px}.authWalletMetrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.authWalletMetrics>div{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);border-radius:15px;padding:13px}.authWalletMetrics b,.authWalletMetrics span{display:block}.authWalletMetrics b{font-size:20px}.authWalletMetrics span{margin-top:4px;color:#c8d0dc;font-size:11px}.authWalletActions{display:flex;gap:10px;margin-top:18px}.authWalletActions .secondary{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.2)}.authWalletModal{display:grid;gap:18px}.authWalletModalBalance{border-radius:18px;background:#f4f6f8;padding:18px}.authWalletModalBalance span,.authWalletModalBalance strong{display:block}.authWalletModalBalance span{color:var(--muted);font-size:13px}.authWalletModalBalance strong{font-size:32px;margin-top:5px}.authWalletModal p{margin:0;color:var(--muted);line-height:1.5}.authWalletEmptyHistory{border:1px dashed #d8dde5;border-radius:18px;padding:28px;text-align:center}.authWalletEmptyHistory b,.authWalletEmptyHistory span{display:block}.authWalletEmptyHistory span{margin-top:7px;color:var(--muted);font-size:13px}
@media(max-width:720px){.authWallet{padding:18px}.authWalletTop{display:grid}.authWalletState{justify-self:start}.authWalletMain{grid-template-columns:1fr;gap:16px}.authWalletMetrics{grid-template-columns:1fr}.authWalletMetrics>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.authWalletMetrics span{margin:0;text-align:right}.authWalletActions{display:grid}.authWalletActions button{width:100%}}

.authMethodAdminList{display:grid;gap:12px;margin:16px 0 20px}.authMethodAdminRow{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.authMethodAdminRow>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.authMethodAdminRow small{color:var(--muted)}.authMethodIcon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-weight:900;background:#eef1f4}.authMethodIcon.telegram{background:#e9f6ff;color:#168bd2}.authMethodIcon.max{background:#efeaff;color:#6c47db}.authMethodIcon.vk{background:#eaf3ff;color:#1769aa;font-size:13px}.authMethodIcon.authPhone{background:#fff0f0;color:var(--accent)}.authCommonSettings{padding-top:4px}@media(max-width:720px){.authMethodAdminRow{grid-template-columns:42px 1fr auto;padding:12px}.authMethodIcon{width:38px;height:38px}}

/* FoodCore 4.10.9 — category order editor */
.categoryHeadActions{display:flex;align-items:center;gap:10px}.categoryReorderToggle{width:46px;height:46px;min-width:46px;border:1px solid #dfe4ea;border-radius:13px;background:#eef1f4;color:#1d2530;font-size:25px;font-weight:900;line-height:1;display:grid;place-items:center}.categoryReorderToggle.active{background:#171d26;color:#fff;border-color:#171d26;box-shadow:0 0 0 3px rgba(239,43,45,.14)}.categoryReorderNotice{display:flex;align-items:center;gap:12px;margin:4px 0 16px;padding:13px 15px;border-radius:15px;background:#fff5f5;border:1px solid #ffd6d6;color:#1b222d}.categoryReorderNotice>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#ef2b2d;color:white;font-size:22px;font-weight:900}.categoryReorderNotice div{display:flex;flex-direction:column;gap:2px}.categoryReorderNotice small{color:#737d8b}.categoryAdminRow{transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.categoryAdminRow .categoryDragHandle{display:none}.categoryAdminRow.reorderEnabled{position:relative;touch-action:none;user-select:none;cursor:grab;padding-left:12px}.categoryAdminRow.reorderEnabled .categoryDragHandle{display:grid;width:42px;height:42px;min-width:42px;place-items:center;border:0;border-radius:11px;background:#eef1f4;color:#667080;font-size:25px;line-height:1;touch-action:none}.categoryAdminRow.reorderEnabled .categoryMain{flex:1;min-width:0}.categoryAdminRow.dragging{opacity:.3}.categoryDragGhost{position:fixed!important;z-index:99999!important;margin:0!important;pointer-events:none;box-shadow:0 18px 50px rgba(12,18,28,.24)!important;opacity:.96!important}.categoryMoveBtn{width:42px;height:42px;min-width:42px;border:0;border-radius:11px;background:#eef1f4;color:#1b222d;font-size:23px;font-weight:900}.categoryMoveBtn:disabled{opacity:.28}.categoryReorderFooter{position:sticky;bottom:12px;z-index:8;display:flex;justify-content:flex-end;gap:10px;margin-top:16px;padding:12px;border-radius:17px;background:rgba(255,255,255,.94);box-shadow:0 10px 35px rgba(19,28,40,.15);backdrop-filter:blur(12px)}
@media(max-width:700px){.categoriesPanelHead{align-items:flex-start}.categoryHeadActions{gap:8px}.categoryReorderToggle{width:42px;height:42px;min-width:42px}.categoryAdminRow.reorderEnabled{gap:9px}.categoryAdminRow.reorderEnabled .categoryRowActions{gap:6px}.categoryMoveBtn{width:39px;height:39px;min-width:39px}.categoryReorderFooter{bottom:92px}.categoryReorderFooter button{flex:1}.categoryReorderNotice{align-items:flex-start}}

/* 4.10.10 — стабильная сортировка категорий на мобильных */
.categorySortingActive{overscroll-behavior:none}
.categoryAdminRow.reorderEnabled{touch-action:auto;min-height:118px;padding:18px 16px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px}
.categoryAdminRow.reorderEnabled .categoryDragHandle{touch-action:none;cursor:grab;align-self:center}
.categoryAdminRow.reorderEnabled.dragging{opacity:.58;box-shadow:0 10px 30px rgba(20,28,38,.14);transform:scale(.99)}
.categoryAdminRow.reorderEnabled .categoryRowActions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.categoryAdminRow.reorderEnabled .categoryMain{align-self:center}
.categoryAdminRow.reorderEnabled .categoryMain b{display:block;line-height:1.2;margin-bottom:6px}
.categoryDragGhost{display:none!important}
@media(max-width:560px){
 .categoryAdminRow.reorderEnabled{min-height:106px;padding:14px 12px;grid-template-columns:44px minmax(0,1fr) auto;gap:10px}
 .categoryMoveBtn{width:44px;height:44px;min-width:44px;font-size:26px}
 .categoryAdminRow.reorderEnabled .categoryDragHandle{width:44px;height:44px;min-width:44px}
 .categoryReorderFooter{bottom:84px}
}

/* FoodCore 4.10.11 — modern product category filters */
.categoryfilters{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  margin:8px 0 20px;
  padding:4px 0;
}
.categoryfilters .productCategoryBtn{
  appearance:none;
  width:auto;
  min-height:42px;
  padding:9px 15px;
  border:1px solid transparent;
  border-radius:999px;
  background:#f0f3f7;
  color:#495466;
  font-size:15px;
  font-weight:750;
  line-height:1.15;
  letter-spacing:-.01em;
  white-space:nowrap;
  box-shadow:none;
  transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.categoryfilters .productCategoryBtn:hover{
  background:#e7ebf1;
  color:#1d2530;
}
.categoryfilters .productCategoryBtn:active{
  transform:scale(.97);
}
.categoryfilters .productCategoryBtn.primary{
  border-color:#ff171a;
  background:#ff171a;
  color:#fff;
  box-shadow:0 8px 20px rgba(255,23,26,.22);
}
.categoryfilters .productCategoryBtn.secondary{
  border-color:#e4e9ef;
  background:#f5f7fa;
  color:#465163;
}
@media(max-width:700px){
  .categoryfilters{
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:8px;
    margin:6px -12px 18px;
    padding:4px 12px 8px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .categoryfilters::-webkit-scrollbar{display:none}
  .categoryfilters .productCategoryBtn{
    flex:0 0 auto;
    min-height:40px;
    padding:9px 14px;
    font-size:14px;
  }
}

/* FoodCore 4.10.12 — keep product category strip position on selection */
.categoryfilters{scroll-behavior:auto;overscroll-behavior-inline:contain}
.categoryfilters .productCategoryBtn:focus{outline:none}

/* FoodCore 4.10.13 — product label subcategories */
.labelCategoryChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.labelCategoryChoices label{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e3e7ed;border-radius:14px;background:#f8fafc;font-weight:700}.labelCategoryChoices input{width:22px;height:22px;accent-color:#f10b12}.labelCategoryChoices small{grid-column:1/-1;color:#7e8796;line-height:1.45}@media(max-width:560px){.labelCategoryChoices{grid-template-columns:1fr}}
/* Auto discounts constructor */
.autoDiscountHero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px;border:1px solid #e5e7eb;border-radius:24px;background:linear-gradient(135deg,#fff,#fff7f7);margin-bottom:18px}.autoDiscountHero>div{display:flex;align-items:center;gap:16px}.autoDiscountHero h3{margin:0 0 5px;font-size:24px}.autoDiscountHero p{margin:0;color:#7b8494}.autoDiscountIcon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#ff1515;color:#fff;font-size:25px;font-weight:900}.autoDiscountGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:16px}.autoDiscountCard{padding:20px;border:1px solid #e3e7ed;border-radius:22px;background:#fff;box-shadow:0 8px 30px rgba(17,24,39,.05)}.autoDiscountCard.off{opacity:.62}.autoDiscountTop,.autoDiscountActions{display:flex;align-items:center;justify-content:space-between;gap:10px}.autoDiscountValue{display:inline-flex;padding:9px 13px;border-radius:13px;background:#ff1515;color:#fff;font-size:20px;font-weight:900}.autoDiscountCard h4{font-size:20px;margin:18px 0 7px}.autoDiscountCard p{color:#697386;min-height:42px}.autoDiscountBadges{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.autoDiscountBadges span{padding:6px 9px;background:#f1f4f8;border-radius:10px;font-size:12px;font-weight:700}.autoDiscountActions{border-top:1px solid #eef0f3;padding-top:14px}.autoDiscountEmpty{text-align:center;padding:55px 20px;border:1px dashed #d9dee6;border-radius:24px;background:#fff}.autoDiscountEmpty>div{font-size:46px}.autoRuleForm section{padding:18px;border:1px solid #e7eaf0;border-radius:18px;margin-bottom:14px}.autoRuleForm section h4{margin:0 0 14px;font-size:18px}.choiceTiles,.weekTiles{display:flex;gap:9px;flex-wrap:wrap}.choiceTiles input,.weekTiles input,.checkGrid input{position:absolute;opacity:0}.choiceTiles span,.weekTiles span{display:block;padding:12px 15px;border:1px solid #dfe4eb;border-radius:14px;background:#f6f8fa;font-weight:800}.choiceTiles input:checked+span,.weekTiles input:checked+span{background:#ff1515;color:#fff;border-color:#ff1515}.checkGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:230px;overflow:auto}.checkGrid label span{display:block;padding:11px;border:1px solid #e1e5eb;border-radius:12px}.checkGrid input:checked+span{border-color:#ff1515;background:#fff1f1;color:#d90000;font-weight:800}.ruleSwitches{display:grid;gap:9px}.ruleSwitches label{display:flex;gap:12px;padding:13px;border-radius:14px;background:#f6f8fa}.ruleSwitches label>span{display:grid}.ruleSwitches small{color:#7d8796}.autoRulePreview{padding:18px;border-radius:18px;background:#111827;color:#fff;display:grid;gap:6px;margin:15px 0}.autoRulePreview small{color:#9ca3af}.autoRulePreview b{font-size:20px}@media(max-width:700px){.autoDiscountHero{align-items:stretch;flex-direction:column}.autoDiscountHero button{width:100%}.autoDiscountGrid{grid-template-columns:1fr}.checkGrid{grid-template-columns:1fr}.autoDiscountActions{flex-wrap:wrap}.autoDiscountActions small{width:100%}}

.autoDiscountHero.compact{padding:20px}.autoDiscountEmpty.single{max-width:760px;margin:0 auto;padding:46px 24px}.autoDiscountEmpty.single h2{margin:14px 0 8px;font-size:30px}.autoDiscountEmpty.single p{max-width:560px;margin:0 auto 20px;color:#737d8b;line-height:1.5}.autoDiscountEmptyIcon{width:76px;height:76px;margin:0 auto;display:grid;place-items:center;border-radius:24px;background:#ff1515;color:#fff;font-size:38px;font-weight:900}.autoDiscountExamples{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 0 24px}.autoDiscountExamples span{padding:9px 12px;border-radius:12px;background:#f3f5f8;color:#434b57;font-weight:700}.autoDiscountEmpty.single .primary{min-height:50px;padding:13px 22px}@media(max-width:700px){.autoDiscountHero.compact{padding:16px}.autoDiscountEmpty.single{padding:34px 16px}.autoDiscountEmpty.single .primary{width:100%}}

/* Auto discounts editor 4.11.2 */
.autoDiscountEditorDialog{width:min(820px,calc(100vw - 24px));max-width:820px;height:min(94vh,980px);max-height:94vh;border-radius:26px;overflow:hidden}
.autoDiscountEditorDialog form{height:100%;display:flex;flex-direction:column;padding:0}
.autoDiscountEditorDialog #modalTitle{margin:0;padding:22px 64px 16px 24px;border-bottom:1px solid #e8ebef;background:#fff;font-size:25px;flex:0 0 auto}
.autoDiscountEditorDialog #modalBody{overflow-y:auto;padding:18px 22px 0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.autoDiscountEditorDialog .close{z-index:3;top:14px;right:16px;width:40px;height:40px;border-radius:12px;background:#f1f3f6;font-size:24px}
.autoRuleForm.modern{display:grid;gap:14px}
.autoRuleIntro{padding:4px 2px 2px}.autoRuleIntro span{font-size:17px;font-weight:800}.autoRuleIntro p{margin:5px 0 0;color:#7a8492;line-height:1.4}
.autoRuleSection{margin:0!important;padding:18px!important;border:1px solid #e4e8ee!important;border-radius:20px!important;background:#fff}
.autoRuleSectionHead,.autoRuleDetails>summary{display:flex;align-items:flex-start;gap:13px}
.autoRuleSectionHead h4,.autoRuleDetails h4{margin:1px 0 3px!important;font-size:19px!important}.autoRuleSectionHead p,.autoRuleDetails summary p{margin:0;color:#7b8593;font-size:13px;line-height:1.35}
.autoStep{width:31px;height:31px;border-radius:10px;background:#ffeded;color:#e31212;display:grid;place-items:center;font-weight:900;flex:0 0 auto}
.autoRuleSection .field span{font-size:13px}.autoRuleSection .field input,.autoRuleSection .field select{min-height:46px;border-radius:13px;font-size:16px}
.inputSuffix{display:grid;grid-template-columns:1fr 48px;border:1px solid #dce1e6;border-radius:13px;overflow:hidden;background:#fff}.inputSuffix input{border:0!important;border-radius:0!important;min-width:0}.inputSuffix b{display:grid;place-items:center;background:#f5f6f8;border-left:1px solid #e3e6ea}
.autoSubTitle{font-size:13px;font-weight:800;margin:17px 0 9px;color:#4f5865}.autoRuleGap{margin-top:14px}
.choiceTiles.compact{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.choiceTiles.compact span{min-height:68px;padding:10px 8px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;text-align:center;font-size:13px}.choiceTiles.compact span i{font-style:normal;font-size:22px}
.autoRuleDetails{padding:0!important}.autoRuleDetails>summary{list-style:none;cursor:pointer;padding:18px}.autoRuleDetails>summary::-webkit-details-marker{display:none}.autoRuleDetails>summary>div{flex:1}.autoRuleDetails>summary>b{font-size:22px;transition:.2s}.autoRuleDetails[open]>summary>b{transform:rotate(180deg)}.autoRuleDetailsBody{padding:0 18px 18px;border-top:1px solid #eef0f3}
.weekTiles{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:16px}.weekTiles span{padding:10px 4px!important;text-align:center;font-size:13px}
.checkGrid.modern{grid-template-columns:repeat(2,minmax(0,1fr));max-height:220px}.checkGrid.modern label span{font-size:13px;background:#f8f9fb}.productPicker,.advancedRule{margin-top:14px;border:1px solid #e4e8ee;border-radius:14px;overflow:hidden}.productPicker>summary,.advancedRule>summary{padding:13px 14px;font-weight:800;cursor:pointer;background:#f7f8fa}.productPicker .checkGrid,.advancedRule .formgrid{padding:12px}
.ruleSwitches.modern label{align-items:center;padding:14px;background:#f7f8fa;border:1px solid #eef0f3}.ruleSwitches.modern input{width:22px;height:22px;accent-color:#ef2b2d;flex:0 0 auto}.ruleSwitches.modern b{font-size:15px}.ruleSwitches.modern small{font-size:12px;line-height:1.35;margin-top:2px}
.autoRulePreview{margin:0!important;border-radius:18px!important;padding:16px 18px!important}.autoRulePreview b{font-size:18px!important}.autoRulePreview span{font-size:14px;color:#d5d9e0}
.autoRuleFooter{position:sticky;bottom:0;display:grid;grid-template-columns:120px 1fr;gap:10px;padding:14px 0 calc(14px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-top:1px solid #e8ebef}.autoRuleFooter button{min-height:50px;border-radius:14px;font-size:15px}
@media(max-width:700px){.autoDiscountEditorDialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.autoDiscountEditorDialog #modalTitle{padding:18px 58px 14px 16px;font-size:22px}.autoDiscountEditorDialog #modalBody{padding:14px 14px 0}.autoDiscountEditorDialog .close{top:10px;right:10px}.autoRuleSection{padding:15px!important;border-radius:17px!important}.formgrid{grid-template-columns:1fr}.choiceTiles.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.weekTiles{grid-template-columns:repeat(4,1fr)}.checkGrid.modern{grid-template-columns:1fr}.autoRuleFooter{grid-template-columns:96px 1fr}.autoRuleFooter button{font-size:14px;padding:10px}.autoRuleDetails>summary{padding:15px}.autoRuleDetailsBody{padding:0 15px 15px}}

/* FoodCore 4.11.3 — сегменты клиентов */
.segmentsPage{display:grid;gap:18px}.segmentsHero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid #e4e8ed;border-radius:26px;background:linear-gradient(135deg,#fff 0%,#fff7f7 100%)}.segmentsHero>div{display:flex;align-items:center;gap:16px}.segmentsHero h3,.segmentSectionHead h3{margin:0;font-size:25px}.segmentsHero p,.segmentSectionHead p{margin:6px 0 0;color:#858d99}.segmentsIcon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#ff1017;color:#fff;font-size:28px}.segmentTemplatesPanel{padding:22px;border:1px solid #e4e8ed;border-radius:26px;background:#fff}.segmentTemplateGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.segmentTemplate{min-height:150px;padding:18px;text-align:left;border:1px solid #e3e7ec;border-radius:22px;background:#f7f8fa;transition:.18s}.segmentTemplate:hover,.segmentTemplate:active{transform:translateY(-2px);border-color:#ff1017;background:#fff5f5}.segmentTemplate span{font-size:30px}.segmentTemplate b{display:block;margin-top:12px;font-size:17px}.segmentTemplate small{display:block;margin-top:6px;color:#858d99;line-height:1.35}.segmentCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.segmentCard{padding:22px;border:1px solid #e2e6eb;border-radius:24px;background:#fff}.segmentCardTop{display:flex;align-items:center;justify-content:space-between}.segmentCardTop strong{font-size:27px}.segmentCardTop strong small{font-size:13px;color:#9299a4}.segmentBadge{padding:7px 11px;border-radius:999px;background:#e9f9ef;color:#168749;font-size:13px;font-weight:800}.segmentBadge.off{background:#f0f1f3;color:#7b828d}.segmentCard h3{margin:18px 0 5px;font-size:22px}.segmentCard p{margin:0;color:#858d99}.segmentRuleLine{margin-top:16px;padding:13px;border-radius:14px;background:#f5f6f8;font-size:14px;line-height:1.4}.segmentUses{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:14px}.segmentUses span{color:#9299a4;font-size:13px}.segmentUses b{padding:6px 9px;border-radius:9px;background:#fff0f0;color:#d71920;font-size:12px}.segmentCardActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.segmentEditorDialog{width:min(940px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border-radius:28px}.segmentEditor{display:grid;gap:14px}.segmentEditCard{padding:20px;border:1px solid #e3e7ec;border-radius:22px;background:#fff}.segmentStep{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}.segmentStep>span{display:grid;place-items:center;min-width:34px;height:34px;border-radius:11px;background:#ff1017;color:#fff;font-weight:900}.segmentStep h3{margin:1px 0 3px;font-size:20px}.segmentStep p{margin:0;color:#8a929d;font-size:14px}.segmentLogic{display:flex;gap:8px;margin-bottom:14px}.segmentLogic button{padding:11px 14px;border:1px solid #dde2e8;border-radius:12px;background:#f5f6f8;font-weight:800}.segmentLogic button.active{border-color:#ff1017;background:#ff1017;color:#fff}.segmentCondition{display:grid;grid-template-columns:34px 1.3fr 1fr 1fr 38px;gap:10px;align-items:end;padding:13px 0;border-top:1px solid #eef0f3}.segmentConditionNumber{display:grid;place-items:center;height:38px;border-radius:11px;background:#111827;color:#fff;font-weight:900}.segmentCondition label span{display:block;margin-bottom:6px;color:#737c88;font-size:12px;font-weight:700}.segmentCondition select,.segmentCondition input{width:100%;height:44px;border:1px solid #dbe0e6;border-radius:12px;background:#fff;padding:0 12px}.segmentValueInput{display:flex;align-items:center;border:1px solid #dbe0e6;border-radius:12px;overflow:hidden}.segmentValueInput input{border:0}.segmentValueInput em{padding-right:10px;color:#8b929c;font-style:normal}.segmentConditionRemove{width:38px;height:38px;border:0;border-radius:11px;background:#fff0f0;color:#d9232b;font-size:24px}.segmentAddCondition{width:100%;margin-top:12px;padding:13px;border:1px dashed #ff1017;border-radius:14px;background:#fff7f7;color:#d71920;font-weight:900}.segmentSwitch{display:flex;align-items:center;gap:13px;padding:15px;border-radius:16px;background:#f5f6f8}.segmentSwitch input{width:24px;height:24px}.segmentSwitch b,.segmentSwitch small{display:block}.segmentSwitch small{margin-top:3px;color:#858d99}.segmentEditorFooter{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:-1px;padding:14px 0 2px;background:linear-gradient(transparent,#fff 22%)}
@media(max-width:760px){.segmentsHero{align-items:stretch;flex-direction:column;padding:18px}.segmentsHero .primary{width:100%}.segmentTemplateGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.segmentTemplate{min-height:135px;padding:14px}.segmentCards{grid-template-columns:1fr}.segmentCondition{grid-template-columns:32px 1fr 38px}.segmentCondition label{grid-column:2/3}.segmentConditionNumber{grid-row:1/4}.segmentConditionRemove{grid-column:3;grid-row:1}.segmentEditorDialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:22px}.segmentEditCard{padding:15px}.segmentEditorFooter{display:grid;grid-template-columns:1fr 1.4fr}.segmentCardActions button{flex:1}.segmentUses{display:none}}

/* FoodCore 4.11.4 — центр интеграций */
.integrationsHub{display:grid;gap:18px}.integrationsHero{padding:24px;border:1px solid #e3e7ec;border-radius:26px;background:linear-gradient(135deg,#fff,#f7f9fc)}.integrationsHero>div{display:flex;align-items:center;gap:16px}.integrationsHeroIcon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#111827;color:#fff;font-size:27px}.integrationsHero h3{margin:0;font-size:26px}.integrationsHero p{margin:6px 0 0;color:#7f8895;line-height:1.45}.integrationCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.integrationCard{padding:22px;border:1px solid #e1e5ea;border-radius:24px;background:#fff;text-align:left;transition:.18s;box-shadow:0 8px 24px rgba(18,24,32,.04)}button.integrationCard{cursor:pointer}.integrationCard:hover,.integrationCard:active{transform:translateY(-2px);border-color:#ff171c;box-shadow:0 12px 30px rgba(18,24,32,.08)}.integrationCardTop{display:flex;align-items:center;justify-content:space-between;gap:12px}.integrationBrand,.integrationMiniLogo{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;color:#fff;font-weight:900;font-size:20px}.integrationBrand.fp,.integrationMiniLogo.fp{background:linear-gradient(135deg,#151b26,#394150)}.integrationBrand.md,.integrationMiniLogo.md,.mobidelLogo{background:linear-gradient(135deg,#ff7718,#ffb12d)}.integrationStatus{padding:7px 10px;border-radius:999px;background:#f0f2f5;color:#737d8a;font-size:12px;font-weight:800}.integrationStatus.on{background:#e8f8ee;color:#178448}.integrationStatus.soon{background:#fff4df;color:#a96400}.integrationCard h3{margin:18px 0 7px;font-size:23px}.integrationCard p{margin:0;color:#7f8895;line-height:1.45}.integrationChips{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.integrationChips span{padding:6px 9px;border-radius:9px;background:#f3f5f7;color:#596372;font-size:12px;font-weight:700}.integrationOpenText{display:block;margin-top:19px;color:#e31b23;font-size:14px}.integrationCard.addFuture{display:flex;flex-direction:column;justify-content:center;min-height:230px;border-style:dashed;background:#f8f9fb}.integrationCard.addFuture>span{font-size:38px;color:#a2a9b2}.integrationDetailHead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.integrationDetailHead>div{display:flex;align-items:center;gap:12px}.integrationDetailHead h3{margin:0;font-size:24px}.integrationDetailHead p{margin:4px 0 0;color:#818a96}.integrationMiniLogo{width:46px;height:46px;border-radius:14px;font-size:16px}.integrationBack{border:0;border-radius:13px;background:#eef1f4;padding:12px 15px;font-weight:800}.mobidelPlaceholder{padding:24px}.mobidelHero{display:flex;align-items:center;gap:16px}.mobidelLogo{display:grid;place-items:center;width:68px;height:68px;border-radius:21px;color:white;font-size:30px;font-weight:900}.mobidelHero h3{margin:0;font-size:25px}.mobidelHero p{margin:6px 0 0;color:#7e8793;line-height:1.45}.mobidelFeatureGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.mobidelFeatureGrid>div{padding:17px;border:1px solid #e5e8ed;border-radius:18px;background:#f7f8fa}.mobidelFeatureGrid span{font-size:25px}.mobidelFeatureGrid b,.mobidelFeatureGrid small{display:block}.mobidelFeatureGrid b{margin-top:10px}.mobidelFeatureGrid small{margin-top:5px;color:#838c98;line-height:1.35}.mobidelNotice{display:flex;flex-direction:column;gap:4px;margin-top:18px;padding:16px 18px;border-radius:16px;background:#fff5e6;color:#8a5a00}.mobidelNotice span{font-size:13px}
@media(max-width:760px){.integrationCards{grid-template-columns:1fr}.integrationsHero{padding:18px}.integrationsHero>div{align-items:flex-start}.integrationCard{padding:18px}.integrationDetailHead{align-items:stretch;flex-direction:column}.integrationDetailHead>div{order:-1}.integrationBack{width:100%}.mobidelPlaceholder{padding:18px}.mobidelHero{align-items:flex-start}.mobidelFeatureGrid{grid-template-columns:1fr}}

/* 4.11.5 — общий выключатель интеграции FrontPad */
.integrationMasterSwitch{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px 20px;border:1px solid #dfe4e9;border-radius:20px;background:#f7f9fb;transition:.2s}.integrationMasterSwitch>div{min-width:0}.integrationMasterSwitch b,.integrationMasterSwitch small{display:block}.integrationMasterSwitch b{font-size:19px}.integrationMasterSwitch small{margin-top:5px;color:#7d8794;line-height:1.4}.integrationMasterSwitch.is-on{border-color:#bfe8ce;background:#f1fbf5}.integrationMasterSwitch.is-on b{color:#157541}.integrationMasterSwitch.is-off{border-color:#e4e7eb;background:#f6f7f9}.switchControl{position:relative;display:block;flex:0 0 auto;width:58px;height:34px;cursor:pointer}.switchControl input{position:absolute;opacity:0;pointer-events:none}.switchControl span{display:block;width:100%;height:100%;border-radius:999px;background:#cfd5dc;transition:.2s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.switchControl span:after{content:"";position:absolute;top:4px;left:4px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.22);transition:.2s}.switchControl input:checked+span{background:#16a05d}.switchControl input:checked+span:after{transform:translateX(24px)}.fpSettingsBody{transition:.2s}.fpSettingsBody.integrationDisabled{opacity:.58}.fpSettingsBody.integrationDisabled input:not(#fpEnabled),.fpSettingsBody.integrationDisabled select,.fpSettingsBody.integrationDisabled textarea,.fpSettingsBody.integrationDisabled button{pointer-events:none}.integrationOffHint{padding:13px 15px;border-radius:14px;background:#fff4e5;color:#875a10;font-weight:700;line-height:1.4}
@media(max-width:760px){.integrationMasterSwitch{padding:16px}.integrationMasterSwitch b{font-size:17px}.integrationMasterSwitch small{font-size:13px}}

/* FoodCore 4.11.6 — MobiDel parser settings */
.mdLayout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px;align-items:start}.mdSidebar{position:sticky;top:16px;display:grid;gap:9px;padding:16px}.mdBrand{display:flex;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid #e8ebef;margin-bottom:3px}.mdBrand .mobidelLogo{width:46px;height:46px;border-radius:14px;font-size:20px}.mdBrand b,.mdBrand small{display:block}.mdBrand small{margin-top:3px;color:#7d8794}.mdTab{width:100%;text-align:left}.mdContent{min-width:0}.mdPane h3{margin-top:0}.mdPaneHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.mdPaneHead h3{margin:0;font-size:24px}.mdPaneHead p{margin:5px 0 0;color:#7c8692;line-height:1.45}.mdApiBadge{flex:0 0 auto;padding:8px 11px;border-radius:11px;background:#fff3e3;color:#9a5c00;font-size:12px;font-weight:900}.mdActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.mdCheckRow{display:flex!important;align-items:flex-start;gap:12px;padding:15px 16px;border:1px solid #e1e5ea;border-radius:16px;background:#f8fafb}.mdCheckRow>input{margin-top:4px;width:19px;height:19px}.mdCheckRow span,.mdCheckRow b,.mdCheckRow small{display:block}.mdCheckRow small{margin-top:4px;color:#7d8794;line-height:1.4}.mdParserStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.mdParserStats>div{padding:16px;border:1px solid #e3e7ec;border-radius:17px;background:#f7f9fb}.mdParserStats b,.mdParserStats small{display:block}.mdParserStats b{font-size:26px}.mdParserStats small{margin-top:4px;color:#7f8995}.mdStatusGrid{display:grid;gap:10px}.mdStatusRow{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,260px);align-items:center;gap:14px;padding:14px 16px;border:1px solid #e3e7ec;border-radius:16px}.mdStatusRow b,.mdStatusRow small{display:block}.mdStatusRow small{margin-top:4px;color:#7d8794}.mdStatusRow .field{margin:0}.mdPreviewEmpty{padding:28px;border:1px dashed #cfd5dc;border-radius:18px;background:#f8fafc;color:#7d8794;text-align:center;line-height:1.5}.mdPreviewResult{display:grid;gap:14px}.mdPreviewSummary,.mdPreviewMeta,.mdPreviewList{border:1px solid #e1e5ea;border-radius:17px;background:#f8fafb}.mdPreviewSummary{padding:15px}.mdPreviewSummary b,.mdPreviewSummary small{display:block;word-break:break-word}.mdPreviewSummary small{margin-top:5px;color:#7c8693}.mdPreviewList{overflow:hidden}.mdPreviewList>div{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;padding:13px 15px;border-top:1px solid #e8ebef}.mdPreviewList>div:first-child{border-top:0}.mdPreviewList>div small{grid-column:1/-1;color:#7d8794}.mdPreviewList>div.missing{background:#fff2f1}.mdPreviewMeta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;padding:15px}.mdSettingsBody.integrationDisabled{opacity:.58}.mdSettingsBody.integrationDisabled input:not(#mdEnabled),.mdSettingsBody.integrationDisabled select,.mdSettingsBody.integrationDisabled textarea,.mdSettingsBody.integrationDisabled button{pointer-events:none}
@media(max-width:900px){.mdLayout{grid-template-columns:1fr}.mdSidebar{position:static;grid-template-columns:repeat(5,minmax(0,1fr));overflow:auto}.mdBrand{grid-column:1/-1}.mdTab{text-align:center;white-space:nowrap}.mdParserStats{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:650px){.mdSidebar{display:flex;flex-wrap:nowrap;overflow-x:auto}.mdBrand{min-width:100%;flex:0 0 100%}.mdTab{flex:0 0 auto;width:auto}.mdPaneHead{flex-direction:column}.mdParserStats{grid-template-columns:1fr}.mdStatusRow{grid-template-columns:1fr}.mdPreviewMeta{grid-template-columns:1fr}.mdPreviewList>div{grid-template-columns:1fr}.mdPreviewList>div small{grid-column:auto}}

/* FoodCore 4.11.10 — MobiDel diagnostic response */
.mdDiagnostic{grid-column:1/-1;margin-top:14px;border:1px solid #e1e5eb;border-radius:18px;padding:16px;background:#f8fafc}.mdDiagnostic.success{border-color:#b9e6c9;background:#f1fbf5}.mdDiagnostic.error{border-color:#ffd0c7;background:#fff6f3}.mdDiagnosticHead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.mdDiagnosticHead>div{display:flex;flex-direction:column;gap:5px}.mdDiagnosticHead b{font-size:18px}.mdDiagnosticHead small{font-size:13px;line-height:1.45;color:#596273}.mdDiagnosticHead>span{min-width:48px;text-align:center;border-radius:999px;background:#fff;padding:7px 10px;font-weight:900;border:1px solid #dfe4ea}.mdDiagnosticGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.mdDiagnosticGrid>div{background:#fff;border:1px solid #e2e7ed;border-radius:13px;padding:11px;display:flex;flex-direction:column;gap:4px;min-width:0}.mdDiagnosticGrid small{color:#7a8391}.mdDiagnosticGrid b{font-size:13px;overflow-wrap:anywhere}.mdDiagnostic details{margin-top:12px}.mdDiagnostic summary{cursor:pointer;font-weight:800}.mdDiagnosticUrl{margin-top:10px;padding:9px 11px;border-radius:10px;background:#fff;border:1px solid #e2e7ed;font-size:12px;overflow-wrap:anywhere}.mdDiagnostic pre{white-space:pre-wrap;word-break:break-word;max-height:280px;overflow:auto;background:#17191d;color:#f4f5f7;border-radius:12px;padding:13px;font-size:12px;line-height:1.45}@media(max-width:680px){.mdDiagnosticGrid{grid-template-columns:1fr 1fr}.mdDiagnostic{padding:13px}.mdDiagnosticHead b{font-size:16px}}

/* 4.11.12 — MobiDel mobile navigation must not inherit the global sidebar viewport height */
.mdSidebar{height:auto;min-height:0;background:var(--panel);color:var(--text);overflow:visible}
@media(max-width:900px){
 .mdSidebar{height:auto!important;min-height:0!important;max-height:none!important;overflow-x:auto;overflow-y:visible;align-self:start}
}


/* FoodCore 4.11.13 — automatic MobiDel catalog import */
.mdImportCard{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:18px!important;border:1px solid #e2e7ee;border-radius:18px;background:#f8fafc}.mdImportCard>div{display:flex;flex-direction:column;gap:5px}.mdImportCard small{color:#768091;line-height:1.4}.mdImportCard button{flex:0 0 auto}.mdImportResult{grid-column:1/-1;padding:17px 18px;border-radius:17px;border:1px solid #dfe5ec;background:#f8fafc;display:flex;flex-direction:column;gap:10px}.mdImportResult>b{font-size:18px}.mdImportResult>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mdImportResult>div span{padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #e4e8ee;display:flex;flex-direction:column;gap:3px;color:#768091}.mdImportResult>div strong{font-size:22px;color:#171b22}.mdImportResult.success{background:#effaf4;border-color:#abe5c3}.mdImportResult.error{background:#fff2f2;border-color:#f2b9b9}.mdImportResult.loading{background:#f5f7fa}.mdImportResult small{color:#687385;line-height:1.45}@media(max-width:680px){.mdImportCard{align-items:stretch;flex-direction:column}.mdImportCard button{width:100%}.mdImportResult>div{grid-template-columns:1fr 1fr}}
.mdImportDiagnostic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.mdImportDiagnostic span{padding:10px 12px;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:rgba(255,255,255,.62);font-size:13px}.mdImportResult details{margin-top:14px}.mdImportResult summary{cursor:pointer;font-weight:800}.mdTechResponse{display:grid;gap:7px;margin-top:10px}.mdTechResponse code,.mdTechResponse pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:10px;border-radius:10px;background:#1d222a;color:#f4f6f8;font-size:12px;max-height:260px;overflow:auto}@media(max-width:520px){.mdImportDiagnostic{grid-template-columns:1fr 1fr}}

/* FoodCore POS integration preview */
.integrationBrand.fcpos,.integrationMiniLogo.fcpos{background:linear-gradient(135deg,#ef171d,#8f0004);box-shadow:0 10px 24px rgba(220,20,25,.2)}
.fcPosCard{position:relative;overflow:hidden}.fcPosCard:after{content:"";position:absolute;width:150px;height:150px;right:-70px;bottom:-80px;border-radius:50%;background:radial-gradient(circle,rgba(239,23,29,.15),transparent 70%);pointer-events:none}
.fcPosPanel{overflow:hidden}.fcPosNotice{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:22px;padding:17px 18px;border:1px solid #ffd5b0;border-radius:18px;background:linear-gradient(135deg,#fff8ed,#fff3df)}.fcPosNotice>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#fff;font-size:22px}.fcPosNotice b,.fcPosNotice small{display:block}.fcPosNotice small{margin-top:4px;color:#85664a;line-height:1.4}.fcPosNotice em{padding:7px 10px;border-radius:999px;background:#ffdfae;color:#9a5c00;font-size:11px;font-style:normal;font-weight:900}
.fcPosFeatureGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fcPosFeatureGrid label{display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid #e2e6eb;border-radius:16px;background:#f8fafb;cursor:pointer}.fcPosFeatureGrid input{width:19px;height:19px;margin-top:2px;accent-color:#ef171d}.fcPosFeatureGrid b,.fcPosFeatureGrid small{display:block}.fcPosFeatureGrid small{margin-top:4px;color:#7d8794;line-height:1.35}.fcPosActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
@media(max-width:760px){.fcPosNotice{grid-template-columns:40px 1fr}.fcPosNotice em{grid-column:2;justify-self:start}.fcPosFeatureGrid{grid-template-columns:1fr}.fcPosActions>*{flex:1 1 100%}}

/* FoodCore 4.11.35 — promotion cards for client application */
.promoAppCardSettings{border:1px solid #dfe4eb;border-radius:18px;padding:18px;background:#f8fafc;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.promoAppCardHead{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:4px}.promoAppCardHead b{display:block;font-size:17px}.promoAppCardHead small{display:block;margin-top:5px;color:#707784}.promoAppPreview{margin-top:10px;aspect-ratio:16/9;max-width:440px;border-radius:16px;overflow:hidden;background:#e7e9ee;border:1px solid #d8dde5}.promoAppPreview img{width:100%;height:100%;object-fit:cover;display:block}@media(max-width:700px){.promoAppCardSettings{grid-template-columns:1fr}.promoAppCardHead{flex-direction:column}.promoAppCardSettings>.field{grid-column:1/-1}}

.campaignAdminCard{padding:0;overflow:hidden;margin-bottom:14px}.campaignAdminImage{aspect-ratio:16/9;background:#eef1f5;display:flex;align-items:center;justify-content:center;color:#8a93a2}.campaignAdminImage img{width:100%;height:100%;object-fit:cover}.campaignAdminBody{padding:16px;display:flex;justify-content:space-between;gap:16px;align-items:center}.campaignAdminBody>div:first-child{display:grid;gap:5px}.campaignAdminBody b{font-size:18px}.campaignAdminBody small{color:#7a8391}.campaignAdminBody em{font-style:normal;color:#e30613;font-weight:700}.campaignPreview{margin-top:10px;border-radius:16px;overflow:hidden;aspect-ratio:16/9;background:#eef1f5}.campaignPreview img{width:100%;height:100%;object-fit:cover}@media(max-width:700px){.campaignAdminBody{align-items:flex-start;flex-direction:column}.campaignAdminBody .rowactions{width:100%;justify-content:flex-end}}

/* FoodCore 4.11.41 — mobile campaign editor */
.campaignEditorDialog{width:min(760px,calc(100vw - 24px));max-width:760px;max-height:92dvh;padding:0;overflow:hidden}
.campaignEditorDialog>form{display:flex;flex-direction:column;max-height:92dvh;padding:0}
.campaignEditorDialog #modalTitle{flex:0 0 auto;margin:0;padding:24px 64px 18px 24px;border-bottom:1px solid var(--line);font-size:26px}
.campaignEditorDialog .close{z-index:3;right:18px;top:14px;width:42px;height:42px;border-radius:50%;background:#f0f2f5;display:grid;place-items:center;line-height:1}
.campaignEditorDialog #modalBody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 24px 28px}
.campaignEditorDialog .campaignEditor{grid-template-columns:1fr 1fr;gap:16px}
.campaignEditorDialog .campaignPreview{max-height:320px}
.campaignEditorDialog .campaignEditor textarea{resize:vertical}
.campaignEditorDialog #saveCampaign{min-height:50px;width:100%}
@media(max-width:700px){
 .campaignEditorDialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
 .campaignEditorDialog>form{height:100dvh;max-height:100dvh}
 .campaignEditorDialog #modalTitle{padding:18px 62px 14px 16px;font-size:23px;position:sticky;top:0;background:#fff;z-index:2}
 .campaignEditorDialog .close{position:fixed;top:calc(10px + env(safe-area-inset-top));right:12px}
 .campaignEditorDialog #modalBody{padding:14px 14px calc(24px + env(safe-area-inset-bottom))}
 .campaignEditorDialog .campaignEditor{grid-template-columns:1fr;gap:14px}
 .campaignEditorDialog .field.full{grid-column:1}
 .campaignEditorDialog .campaignPreview{max-height:none;border-radius:14px}
 .campaignEditorDialog .campaignEditor input,.campaignEditorDialog .campaignEditor select,.campaignEditorDialog .campaignEditor textarea{width:100%;min-width:0}
 .campaignEditorDialog #saveCampaign{position:sticky;bottom:0;z-index:2;box-shadow:0 -10px 24px rgba(255,255,255,.92)}
}


/* FoodCore 4.11.42 — mobile promo editor */
.promoEditorDialog{width:min(780px,calc(100vw - 24px));max-width:780px;max-height:92dvh;padding:0;overflow:hidden}
.promoEditorDialog>form{display:flex;flex-direction:column;max-height:92dvh;padding:0;min-width:0}
.promoEditorDialog #modalTitle{flex:0 0 auto;margin:0;padding:24px 64px 18px 24px;border-bottom:1px solid var(--line);font-size:26px;background:#fff}
.promoEditorDialog .close{z-index:4;right:18px;top:14px;width:42px;height:42px;border-radius:50%;background:#f0f2f5;display:grid;place-items:center;line-height:1}
.promoEditorDialog #modalBody{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 24px 28px}
.promoEditorDialog .promoEditor{grid-template-columns:1fr 1fr;gap:16px;min-width:0}
.promoEditorDialog .promoEditor>*{min-width:0}
.promoEditorDialog .promoEditor input,.promoEditorDialog .promoEditor select,.promoEditorDialog .promoEditor textarea,.promoEditorDialog .promoCategoryToggle{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.promoEditorDialog .promoConditional{min-width:0}
.promoEditorDialog #savePromo{width:100%;min-height:52px}
@media(max-width:700px){
 .promoEditorDialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
 .promoEditorDialog>form{height:100dvh;max-height:100dvh;width:100%;overflow:hidden}
 .promoEditorDialog #modalTitle{padding:18px 62px 14px 16px;font-size:23px;position:sticky;top:0;z-index:3}
 .promoEditorDialog .close{position:fixed;top:calc(10px + env(safe-area-inset-top));right:12px}
 .promoEditorDialog #modalBody{padding:14px 14px calc(24px + env(safe-area-inset-bottom));width:100%;box-sizing:border-box}
 .promoEditorDialog .promoEditor{grid-template-columns:minmax(0,1fr);gap:14px;width:100%}
 .promoEditorDialog .field,.promoEditorDialog .field.full,.promoEditorDialog .promoTypeFields,.promoEditorDialog .promoConditional{grid-column:1!important;width:100%;max-width:100%;min-width:0}
 .promoEditorDialog .promoConditional{grid-template-columns:minmax(0,1fr)!important}
 .promoEditorDialog #savePromo{position:sticky;bottom:0;z-index:2;box-shadow:0 -10px 24px rgba(255,255,255,.92)}
}

/* FoodCore 4.11.68 — compact categories overrides */
.categoriesAdminPage .categoryHeadActions{display:flex;align-items:center;gap:9px}
.categoriesAdminPage .categoryReorderToggle{width:auto;height:42px;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid #dfe4ea;border-radius:12px;background:#eef1f4;color:#1d2530;font-size:13px;font-weight:800;line-height:1;cursor:pointer}
.categoriesAdminPage .categoryReorderToggle>span{font-size:18px;line-height:1}
.categoriesAdminPage .categoryReorderToggle.active{background:#171a1f;color:#fff;border-color:#171a1f}
.categoriesAdminPage .categoryReorderNotice{margin:14px 0 8px;padding:10px 12px;border-radius:13px}
.categoriesAdminPage .categoryReorderNotice>span{width:34px;height:34px;font-size:19px}
.categoriesAdminPage .categoryAdminRow.reorderEnabled{position:relative;display:grid;grid-template-columns:38px 38px minmax(0,1fr) auto;align-items:center;min-height:58px;padding:7px 9px;gap:9px;touch-action:auto;user-select:none;cursor:default}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryDragHandle{display:grid;width:34px;height:34px;min-width:34px;place-items:center;border:0;border-radius:9px;background:#f0f2f5;color:#667085;font-size:19px;line-height:1;touch-action:none;cursor:grab}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryOrderNumber{width:34px;height:34px}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryMain{align-self:center}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryMain b{margin:0;line-height:1.2}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryMain small{margin-top:2px}
.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryRowActions{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}
.categoriesAdminPage .categoryMoveBtn{width:34px;height:34px;min-width:34px;border-radius:9px;font-size:18px}
.categoriesAdminPage .categoryReorderFooter{bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px}
@media(max-width:700px){.categoriesAdminPage .categoryHeadActions{display:grid;grid-template-columns:1fr 1fr}.categoriesAdminPage .categoryReorderToggle{width:100%}.categoriesAdminPage .categoryAdminRow.reorderEnabled{grid-template-columns:34px 34px minmax(0,1fr) auto;min-height:54px}.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryRowActions{grid-column:auto;border:0;padding:0}.categoriesAdminPage .categoryReorderFooter{bottom:8px;align-items:stretch;flex-direction:column}.categoriesAdminPage .categoryReorderFooter button{flex:initial}}
@media(max-width:430px){.categoriesAdminPage .categoryHeadActions{grid-template-columns:1fr}.categoriesAdminPage .categoryAdminRow.reorderEnabled{grid-template-columns:30px 32px minmax(0,1fr) auto;gap:6px}.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryDragHandle,.categoriesAdminPage .categoryAdminRow.reorderEnabled .categoryOrderNumber{width:30px;height:30px;min-width:30px}.categoriesAdminPage .categoryMoveBtn{width:30px;height:30px;min-width:30px}}

/* FoodCore 4.12.47 — Тариф и оплата */
.tariffHubTabs{display:flex;gap:8px;padding:6px;background:#fff;border:1px solid #e2e7ee;border-radius:18px;margin-bottom:18px;overflow:auto}.tariffHubTabs button{border:0;background:transparent;padding:12px 18px;border-radius:13px;font-weight:800;white-space:nowrap}.tariffHubTabs button.active{background:#111827;color:#fff}.tariffSummaryCard{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#151b24,#252e3c);color:#fff;margin-bottom:16px}.tariffSummaryCard.expired{background:linear-gradient(135deg,#311b1c,#492125)}.tariffSummaryCard small{color:#aeb7c5}.tariffSummaryCard h2{font-size:38px;margin:4px 0}.tariffSummaryCard p{margin:0;color:#d5dae2}.billingInfoGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.billingInfoGrid>div{background:#fff;border:1px solid #e1e6ed;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:8px}.billingInfoGrid small{color:#7d8795}.billingInfoGrid b{font-size:20px}.tariffFeatureGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tariffFeatureGrid>div{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #e3e8ee;border-radius:14px;background:#f8fafc}.tariffFeatureGrid span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#dcf7e7;color:#148344;font-weight:900}.billingReceipt{display:grid;gap:12px;margin-top:18px;padding:18px;border-radius:16px;background:#f6f8fb}.billingReceipt>div{display:flex;justify-content:space-between;gap:16px}.billingReceipt .total{padding-top:14px;border-top:1px solid #dce2e9;font-size:20px}.billingActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.billingToggle{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}.billingToggle span{display:flex;flex-direction:column;gap:4px}.billingToggle small{color:#7b8492}.billingHistoryList{display:grid;gap:10px;margin-top:14px}.billingHistoryItem{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid #e1e6ed;border-radius:15px}.billingHistoryIcon{width:42px;height:42px;border-radius:12px;background:#f0f3f7;display:grid;place-items:center;font-size:20px}.billingHistoryItem>div{display:flex;flex-direction:column;gap:4px}.billingHistoryItem small{color:#7d8795}.billingHistoryItem strong{font-size:18px}@media(max-width:760px){.billingInfoGrid{grid-template-columns:1fr 1fr}.tariffFeatureGrid{grid-template-columns:1fr 1fr}.tariffSummaryCard{align-items:flex-start}.tariffSummaryCard h2{font-size:32px}}@media(max-width:480px){.billingInfoGrid,.tariffFeatureGrid{grid-template-columns:1fr}.billingHistoryItem{grid-template-columns:38px 1fr}.billingHistoryItem strong{grid-column:2}.tariffSummaryCard{flex-direction:column}}

/* 4.12.48 — платные услуги тарифа */
.paidServicesPanel{overflow:hidden}.paidServicesList{display:grid;gap:10px;margin-top:16px}.paidServiceRow{display:grid;grid-template-columns:48px minmax(0,1fr) auto 46px;align-items:center;gap:14px;padding:16px;border:1px solid #e1e6ed;border-radius:17px;background:#f8fafc;cursor:pointer}.paidServiceRow>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.paidServiceRow small{color:#7d8795}.paidServiceRow strong{white-space:nowrap}.paidServiceIcon{width:44px;height:44px;border-radius:13px;background:#eef2f7;display:grid;place-items:center;font-size:22px}.paidServiceRow input{width:25px;height:25px;accent-color:#ff1717}.branchServiceRow{grid-template-columns:48px minmax(0,1fr) auto;cursor:default}.serviceCounter{display:flex;align-items:center;border:1px solid #d9e0e8;border-radius:13px;overflow:hidden;background:#fff}.serviceCounter button{border:0;background:#f2f5f8;width:42px;height:42px;font-size:24px}.serviceCounter b{min-width:44px;text-align:center;font-size:18px}.servicesTotal{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px;padding:17px 18px;border-radius:16px;background:#111827;color:#fff}.servicesTotal b{font-size:20px}.compactSave{min-width:120px}.billingActionsMain{display:grid;grid-template-columns:1fr 1fr;gap:12px}.billingActionsMain button{min-height:54px;border-radius:15px;font-size:17px;font-weight:800}.billingActionsMain .secondary{background:#eef1f5;border-color:#eef1f5;color:#18202b}.billingActionsMain .primary{background:#ff1717;border-color:#ff1717}
@media(max-width:680px){.paidServiceRow{grid-template-columns:42px minmax(0,1fr) 34px;padding:14px 12px}.paidServiceRow strong{grid-column:2;font-size:14px;color:#687384}.paidServiceRow input{grid-column:3;grid-row:1/3}.branchServiceRow{grid-template-columns:42px minmax(0,1fr);}.branchServiceRow .serviceCounter{grid-column:2;justify-self:start;margin-top:6px}.servicesTotal{align-items:flex-start;flex-direction:column}.billingActionsMain{grid-template-columns:1fr 1fr}.tariffHubTabs button{padding-left:14px;padding-right:14px}}
.billingSyncError{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:14px 16px;border:1px solid #ffd0d0;border-radius:16px;background:#fff2f2;color:#9f1f26}.billingSyncError b{font-size:15px}.billingSyncError span{flex:1;min-width:220px}.billingSyncError button{border:0;border-radius:11px;padding:10px 14px;background:#ef2b2d;color:#fff;font-weight:800}@media(max-width:600px){.billingSyncError{align-items:stretch;flex-direction:column}.billingSyncError button{width:100%}}


/* FoodCore 4.12.91 — custom billing period picker, exact Owner periods */
.billingPeriodRow{align-items:flex-start!important}
.billingPeriodPicker{position:relative;width:min(100%,390px);justify-self:end}
.billingPeriodPickerButton{width:100%;min-height:52px;border:1px solid #dfe4eb;border-radius:15px;background:#fff;color:#1d2530;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer;box-shadow:none}
.billingPeriodPickerButton span{display:grid;gap:2px}.billingPeriodPickerButton b{font-size:15px}.billingPeriodPickerButton small{font-size:11px;color:#168345;font-weight:800}.billingPeriodPickerButton i.billingChevron{width:12px;height:12px;flex:0 0 auto;border-right:2.5px solid #1d2530;border-bottom:2.5px solid #1d2530;border-radius:2px;transform:rotate(45deg);margin-top:-4px;transition:transform .18s ease,margin-top .18s ease,opacity .18s ease;opacity:.82}.billingPeriodPickerButton.open i.billingChevron{transform:rotate(-135deg);margin-top:4px;opacity:1}
.billingPeriodMenu{position:absolute;z-index:60;top:calc(100% + 8px);right:0;width:min(430px,calc(100vw - 56px));max-height:330px;overflow:auto;padding:8px;border:1px solid #dfe4eb;border-radius:18px;background:#fff;box-shadow:0 20px 55px rgba(18,27,40,.22)}
.billingPeriodOption{width:100%;border:0;border-radius:13px;background:#fff;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;cursor:pointer}.billingPeriodOption:hover,.billingPeriodOption.active{background:#f1f4f8}.billingPeriodOption span{display:grid;gap:3px}.billingPeriodOption small{color:#7b8594;font-size:11px}.billingPeriodOption strong{white-space:nowrap;color:#168345}.billingPeriodOption.active{box-shadow:inset 3px 0 var(--accent)}
@media(max-width:700px){.billingPeriodRow{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.billingPeriodPicker{width:100%;justify-self:stretch}.billingPeriodMenu{left:0;right:auto;width:100%}.billingPeriodPickerButton{min-height:50px}}

/* FoodCore 4.12.47 — фиксированное боковое меню на компьютере */
@media (min-width:769px){
  .shell{
    display:block!important;
    min-height:100vh!important;
    padding-left:260px!important;
  }
  #sidebar,
  .shell>aside{
    position:fixed!important;
    top:0!important;
    bottom:0!important;
    left:0!important;
    width:260px!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
    z-index:30!important;
  }
  .shell>main{
    width:100%!important;
    min-width:0!important;
    min-height:100vh!important;
  }
  #menuBtn,.icon{display:none!important}
}

/* FoodCore 3.1.59 — legal documents editor */
.legalAdminPage{display:grid;gap:18px}.legalAdminIntro{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px;border:1px solid #e2e6eb;border-radius:22px;background:#fff}.legalAdminIntro h2{margin:0 0 5px;font-size:26px}.legalAdminIntro p{margin:0;color:#7a8491;line-height:1.45}.legalAdminIntro>span{white-space:nowrap;padding:9px 13px;border-radius:999px;background:#f2f4f7;font-weight:800}.legalDocStack{display:grid;gap:16px}.legalDocCard{padding:20px;border:1px solid #dde2e8;border-radius:22px;background:#fff}.legalDocHead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:16px}.legalDocHead h3{margin:0 0 4px;font-size:21px}.legalDocHead p{margin:0;color:#7a8491}.legalDocStatus{padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900}.legalDocStatus.ready{background:#e9f8ef;color:#17763d}.legalDocStatus.draft{background:#fff3d8;color:#8d5c00}.legalDocCard label{display:grid;gap:8px;font-weight:800}.legalDocText{width:100%;min-height:330px;resize:vertical;border:1px solid #d7dde5;border-radius:16px;padding:15px;font:500 14px/1.5 Inter,system-ui,sans-serif;color:#18202b;background:#fafbfc}.legalWarning{display:grid;gap:3px;margin-top:12px;padding:12px 14px;border-radius:14px;background:#fff5e5;color:#7a5000}.legalWarning span{font-size:13px}.legalDocActions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.legalDocActions small{color:#8a929e}@media(max-width:650px){.legalAdminIntro,.legalDocHead,.legalDocActions{align-items:stretch;flex-direction:column}.legalDocText{min-height:420px}}

/* FoodCore 3.1.61 — compact pages/documents list + focused editor */
.legalPageListCard{background:#fff;border:1px solid #e0e5eb;border-radius:24px;padding:22px}.legalPageListHead{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.legalPageListHead h2,.legalEditorTop h2{margin:0 0 5px;font-size:26px}.legalPageListHead p,.legalEditorTop p{margin:0;color:#7d8794;line-height:1.45}.legalPageList{display:grid;gap:10px}.legalPageRow{width:100%;border:1px solid #e2e6ec;border-radius:18px;background:#fff;padding:16px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto 22px;align-items:center;gap:12px;text-align:left;color:#1b222c;cursor:pointer}.legalPageRow:hover{background:#fafbfc;border-color:#cfd5dd}.legalPageRowText{display:grid;gap:4px;min-width:0}.legalPageRowText b{font-size:17px}.legalPageRowText small{font-size:13px;color:#808a97;line-height:1.35}.legalPageRowState{font-size:12px;font-weight:900;padding:7px 10px;border-radius:999px;white-space:nowrap}.legalPageRowState.ready{background:#e8f8ee;color:#14733b}.legalPageRowState.needs{background:#fff1d9;color:#9a6200}.legalPageChevron{font-size:28px;color:#a2aab5;line-height:1}.legalCustomRow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.legalCustomRow .legalPageRow{grid-template-columns:minmax(0,1fr) 22px}.legalCustomRow .compact{padding:10px 12px}.legalEditorTop{display:flex;align-items:flex-start;gap:16px}.legalBackBtn{flex:0 0 auto}.legalDocEditor{padding:22px}.legalFillHint{display:grid;gap:4px;padding:13px 15px;border-radius:14px;background:#fff7e8;color:#7b5300;margin-bottom:16px}.legalFillHint span{font-size:13px;line-height:1.4}.legalDocEditor .legalDocText{min-height:520px}.legalDocEditor .legalDocActions{margin-top:16px}
@media(max-width:650px){.legalPageListCard{padding:16px;border-radius:20px}.legalPageListHead{align-items:stretch;flex-direction:column}.legalPageListHead .primary{width:100%}.legalPageRow{padding:15px 14px;grid-template-columns:minmax(0,1fr) 18px}.legalPageRowState{grid-column:1/2;justify-self:start}.legalPageChevron{grid-column:2;grid-row:1/3}.legalCustomRow{grid-template-columns:minmax(0,1fr) auto}.legalCustomRow .legalPageRow{grid-column:1/-1}.legalCustomRow .danger{grid-column:2}.legalEditorTop{flex-direction:column}.legalBackBtn{width:auto}.legalDocEditor{padding:16px}.legalDocEditor .legalDocText{min-height:58vh}}
/* FoodCore 3.1.63 — compact pages manager + rich editor */
.legalManageCard{background:#fff;border:1px solid #e0e5eb;border-radius:24px;overflow:hidden}.legalManageHead{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #edf0f3}.legalManageHead h2{margin:0 0 5px;font-size:27px}.legalManageHead p{margin:0;color:#7d8794}.legalManageColumns{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(250px,auto);gap:16px;padding:12px 22px;background:#f7f8fa;color:#737d89;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.legalManageList{display:grid}.legalManageRow{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(250px,auto);gap:16px;align-items:center;padding:15px 22px;border-top:1px solid #edf0f3}.legalManageRow:first-child{border-top:0}.legalManageTitle{min-width:0}.legalManageTitle b{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.legalManageTitle small{display:block;margin-top:3px;color:#8a939f}.legalManageActions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.legalEditBtn{white-space:nowrap}.legalEditorBreadcrumb{display:flex;align-items:center;gap:8px;color:#798390;font-size:13px;margin-bottom:10px}.legalEditorBreadcrumb button{border:0;background:none;padding:0;color:inherit;font:inherit;font-weight:800;cursor:pointer}.legalEditorPage>h2{margin:0 0 18px;font-size:28px}.legalEditorShell{background:#fff;border:1px solid #e0e5eb;border-radius:22px;overflow:hidden;padding:22px;max-width:900px}.legalEditorSectionTitle{font-size:16px;font-weight:900;margin:-22px -22px 20px;padding:17px 22px;border-bottom:1px solid #edf0f3;background:#fafbfc}.legalEditorShell label:not(.legalActiveRow){display:grid;gap:7px;font-weight:800;margin:0 0 16px}.legalEditorShell input{width:100%;box-sizing:border-box}.legalSlugField{display:flex;align-items:center;border:1px solid #d7dde5;border-radius:13px;background:#fff;overflow:hidden}.legalSlugField span{padding:0 0 0 14px;color:#8a939f;font-weight:800}.legalSlugField input{border:0!important;box-shadow:none!important;padding-left:3px!important}.legalPermanentLink{margin:-7px 0 18px;color:#7d8794;font-size:13px}.legalPermanentLink b{color:#4c5969}.legalRichBox{border:1px solid #cfd6df;border-radius:15px;overflow:hidden;background:#fff}.legalRichToolbar{display:flex;align-items:center;gap:2px;padding:7px;border-bottom:1px solid #e0e5eb;background:#f8f9fb;overflow:auto}.legalRichToolbar button{width:38px;height:36px;flex:0 0 38px;border:0;border-radius:9px;background:transparent;color:#28313c;font-size:16px;font-weight:800;cursor:pointer}.legalRichToolbar button:hover{background:#e9edf2}.legalRichEditor{min-height:430px;max-height:62vh;overflow:auto;padding:18px;font-size:15px;line-height:1.55;outline:none;white-space:normal}.legalRichEditor:focus{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--accent) 35%,transparent)}.legalRichEditor p{margin:.4em 0}.legalRichEditor ul,.legalRichEditor ol{padding-left:24px}.legalActiveRow{display:flex;align-items:center;gap:10px;margin:16px 0;font-weight:800}.legalActiveRow input{width:18px;height:18px}.legalEditorActions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.legalEditorActions .deleteLegalPage{margin-left:auto}
@media(max-width:700px){.legalManageCard{border-radius:18px}.legalManageHead{padding:16px;align-items:stretch;flex-direction:column}.legalManageHead .primary{width:100%}.legalManageColumns{display:none}.legalManageRow{grid-template-columns:56px minmax(0,1fr);gap:10px;padding:14px 16px}.legalManageActions{grid-column:2;justify-content:flex-start}.legalManageActions .danger{font-size:12px}.legalEditorShell{padding:16px;border-radius:18px}.legalEditorSectionTitle{margin:-16px -16px 17px;padding:15px 16px}.legalRichEditor{min-height:52vh;padding:14px}.legalEditorActions{display:grid;grid-template-columns:1fr 1fr}.legalEditorActions .deleteLegalPage{grid-column:1/-1;margin:0}.legalEditorPage>h2{font-size:25px}}

.extraHub{display:grid;gap:18px}.extraIntro{padding:22px;border-radius:24px;background:linear-gradient(135deg,#171a1f 0%,#252b35 100%);color:#fff;border:0;box-shadow:0 16px 40px rgba(17,24,39,.16)}.extraIntro h3{margin:0 0 8px;font-size:28px;color:#fff}.extraIntro p{margin:0;color:#c9d0da;line-height:1.55;font-size:14px}.extraIntroBadge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);color:#ffb79f;font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:14px}.extraIntroHead{display:flex;justify-content:space-between;gap:16px;align-items:flex-end}.extraIntroMeta{min-width:160px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.08);display:flex;flex-direction:column;gap:4px;align-items:flex-start}.extraIntroMeta span{color:#c9d0da;font-size:12px}.extraIntroMeta b{font-size:24px;color:#fff}.extraSection{display:grid;gap:12px}.extraSectionHead h4{margin:0;font-size:19px;color:#161b22}.extraSectionHead p{margin:5px 0 0;color:#6b7280;font-size:14px}.extraGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.extraCard{border:1px solid #eceff3;background:#fff;border-radius:22px;padding:18px;text-align:left;display:grid;grid-template-columns:56px 1fr auto;gap:14px;align-items:center;color:#131720;box-shadow:0 8px 20px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.extraCard:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(15,23,42,.08);border-color:#ffd5c7}.extraCard>span{width:56px;height:56px;border-radius:18px;background:linear-gradient(180deg,#fff1eb 0%,#ffe4d8 100%);display:grid;place-items:center;font-size:26px;font-weight:900;color:#ef5b2a;box-shadow:inset 0 0 0 1px rgba(239,91,42,.08)}.extraCard div{display:flex;flex-direction:column;gap:6px;min-width:0}.extraCard strong{font-size:19px;line-height:1.2;color:#161b22}.extraCard small{color:#667085;line-height:1.45;font-size:14px}.extraCard em{font-style:normal;font-size:13px;font-weight:700;color:#ef5b2a;padding:10px 12px;border-radius:12px;background:#fff4ef;white-space:nowrap}.extraDetail{margin-top:2px}.faqList{display:grid;gap:10px}.faqList details{border:1px solid #e1e6ed;border-radius:14px;padding:14px 16px}.faqList summary{font-weight:800;cursor:pointer}.faqList p,.extraService p,.extraSuccess p{color:#737d8b;line-height:1.5}.extraSuccess{text-align:center}.extraSuccess b{font-size:22px}@media(max-width:860px){.extraGrid{grid-template-columns:1fr}.extraIntroHead{display:grid}.extraIntroMeta{min-width:0;width:100%}.extraCard{padding:16px;grid-template-columns:52px 1fr}.extraCard em{grid-column:2/3;justify-self:start}}@media(max-width:560px){.extraIntro{padding:18px;border-radius:20px}.extraIntro h3{font-size:23px}.extraIntroBadge{font-size:10px;padding:7px 10px}.extraSectionHead h4{font-size:18px}.extraCard strong{font-size:17px}.extraCard small{font-size:13px}}


/* FoodCore 4.12.49 — визуальная помощь */
.helpWorkspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}.helpNav{position:sticky;top:18px;background:#111827;color:#fff;border-radius:22px;padding:12px;max-height:calc(100vh - 40px);overflow:auto}.helpNavHead{padding:12px 12px 16px;border-bottom:1px solid #273244;margin-bottom:8px}.helpNavHead b{display:block;font-size:18px}.helpNavHead small{display:block;color:#96a1b3;margin-top:4px}.helpNavItem{width:100%;border:0;background:transparent;color:#d9e0ea;border-radius:14px;padding:11px;display:grid;grid-template-columns:32px 1fr;gap:8px;text-align:left;align-items:center}.helpNavItem:hover,.helpNavItem.active{background:#273244;color:#fff}.helpNavItem>span{font-size:18px;text-align:center}.helpNavItem div{display:flex;flex-direction:column;gap:2px}.helpNavItem b{font-size:14px}.helpNavItem small{font-size:11px;color:#9aa6b8}.helpContent{min-width:0}.helpContentHead{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid #e1e6ed;border-radius:20px;padding:18px;margin-bottom:14px}.helpContentHead h2{margin:0 0 5px}.helpContentHead p{margin:0;color:#788391}.helpSteps{display:grid;gap:16px}.helpStep{background:#fff;border:1px solid #e1e6ed;border-radius:22px;padding:18px}.helpStepText{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;margin-bottom:16px}.helpStepText>span{width:42px;height:42px;border-radius:13px;background:#111827;color:#fff;display:grid;place-items:center;font-weight:900}.helpStepText h3{margin:0 0 5px;font-size:18px}.helpStepText p{margin:0;color:#737d8b;line-height:1.5}.helpMock{border-radius:18px;border:1px solid #dce2ea;background:#f5f7fa;overflow:hidden;position:relative;min-height:260px}.helpMockTop{height:42px;background:#fff;border-bottom:1px solid #e1e6ed;display:flex;align-items:center;gap:8px;padding:0 14px}.helpMockTop i{width:12px;height:12px;border-radius:4px;background:var(--accent)}.helpMockTop span{margin-left:auto}.helpMockBody{display:grid;grid-template-columns:92px 1fr;min-height:218px}.helpMockSide{background:#151b24;padding:16px 12px;display:grid;align-content:start;gap:10px}.helpMockSide u{height:8px;border-radius:8px;background:#5a6472;text-decoration:none}.helpMockSide u:first-child{background:var(--accent)}.helpMockScreen{padding:18px;position:relative}.helpMockTitle{font-size:19px;font-weight:900;margin-bottom:13px}.helpMockCard{background:#fff;border:1px solid #e0e5eb;border-radius:13px;padding:13px;margin:9px 0;display:flex;justify-content:space-between;gap:10px}.helpMockCard small{color:#7b8492}.helpMockCard.focus{outline:3px solid color-mix(in srgb,var(--accent) 35%,transparent);border-color:var(--accent)}.helpArrow{position:absolute;right:22px;top:52px;color:var(--accent);font-size:42px;font-weight:900;transform:rotate(12deg)}.helpArrow em{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff;font-style:normal;font-size:14px;vertical-align:top}.helpTip{margin-top:16px;padding:16px 18px;border-radius:16px;background:#f3f6f9;display:flex;gap:8px;flex-direction:column}.helpTip span{color:#737d8b}@media(max-width:760px){.helpWorkspace{display:block}.helpNav{position:relative;top:auto;max-height:none;border-radius:18px;margin-bottom:14px;padding:10px;display:flex;overflow:auto;gap:7px}.helpNavHead{display:none}.helpNavItem{min-width:150px;grid-template-columns:26px 1fr;background:#1c2532}.helpNavItem small{display:none}.helpContentHead{align-items:center;padding:14px}.helpContentHead p{font-size:13px}.helpStep{padding:14px}.helpMock{min-height:230px}.helpMockBody{grid-template-columns:66px 1fr;min-height:188px}.helpMockScreen{padding:13px}.helpMockCard{display:grid}.helpArrow{right:12px;top:46px}}

/* 4.12.50 Help center: full-page, no blank scroll, cabinet-like navigation */
.helpFull{width:100%;min-height:calc(100vh - 150px)}
.helpTopbar{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e1e6ed;border-radius:20px;padding:14px 16px;margin-bottom:14px}
.helpTopbar>div{display:flex;flex-direction:column;gap:2px}.helpTopbar b{font-size:18px}.helpTopbar small{color:#7d8795}
.helpWorkspace{margin-top:0;grid-template-columns:250px minmax(0,1fr)}
.helpContentHead{position:sticky;top:0;z-index:2;box-shadow:0 4px 16px rgba(17,24,39,.05)}
@media(max-width:760px){
 .helpFull{min-height:100vh;margin:-4px 0 0}
 .helpTopbar{position:sticky;top:0;z-index:10;border-radius:0;margin:0 -12px 10px;padding:11px 12px}
 .helpTopbar b{font-size:15px}.helpTopbar small{font-size:11px}
 .helpWorkspace{display:grid;grid-template-columns:118px minmax(0,1fr);gap:8px;align-items:start}
 .helpNav{position:sticky;top:66px;max-height:calc(100vh - 78px);overflow-y:auto;overflow-x:hidden;border-radius:14px;margin:0;padding:6px;display:block;background:#111827}
 .helpNavHead{display:block;padding:8px 6px 10px}.helpNavHead b{font-size:12px}.helpNavHead small{display:none}
 .helpNavItem{min-width:0;width:100%;grid-template-columns:22px minmax(0,1fr);gap:4px;padding:8px 5px;margin:2px 0;border-radius:10px;background:transparent}
 .helpNavItem>span{font-size:14px}.helpNavItem b{font-size:11px;line-height:1.15;white-space:normal}.helpNavItem small{display:none}
 .helpContentHead{position:static;margin:0 0 8px;padding:11px;border-radius:14px}.helpContentHead h2{font-size:20px}.helpContentHead p{font-size:12px;line-height:1.35}
 .helpSteps{gap:10px}.helpStep{padding:10px;border-radius:15px}.helpStepText{grid-template-columns:32px 1fr;gap:8px;margin-bottom:10px}.helpStepText>span{width:32px;height:32px;border-radius:10px}.helpStepText h3{font-size:15px}.helpStepText p{font-size:12px;line-height:1.4}
 .helpMock{min-height:188px;border-radius:13px}.helpMockTop{height:32px;padding:0 8px;font-size:11px}.helpMockTop i{width:8px;height:8px}.helpMockBody{grid-template-columns:38px 1fr;min-height:156px}.helpMockSide{padding:10px 6px;gap:7px}.helpMockSide u{height:5px}.helpMockScreen{padding:9px}.helpMockTitle{font-size:14px;margin-bottom:7px}.helpMockCard{padding:8px;margin:6px 0;font-size:11px}.helpMockCard small{font-size:10px}.helpArrow{right:6px;top:37px;font-size:30px}.helpArrow em{width:22px;height:22px;font-size:11px}
 .helpTip{padding:11px;border-radius:12px;font-size:12px}
}


/* 4.12.51 Help center mobile drawer */
.helpMenuBtn,.helpNavClose,.helpBackdrop{display:none}
@media(max-width:760px){
 .helpFull{position:relative}
 .helpTopbar{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:7px;align-items:center}
 .helpTopbar>div{min-width:0}
 .helpMenuBtn{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
 .helpWorkspace{display:block!important}
 .helpContent{width:100%}
 .helpNav{display:block!important;position:fixed!important;z-index:1002;left:0;top:0!important;bottom:0;width:min(82vw,320px);max-height:none!important;margin:0!important;border-radius:0 20px 20px 0!important;padding:12px!important;overflow-y:auto!important;transform:translateX(-105%);transition:transform .22s ease;box-shadow:18px 0 45px rgba(0,0,0,.22)}
 .nav-open .helpNav{transform:translateX(0)}
 .helpNavHead{display:grid!important;grid-template-columns:1fr auto;align-items:center;padding:10px 8px 14px!important;position:sticky;top:-12px;background:#111827;z-index:2;margin-bottom:8px}
 .helpNavHead b{font-size:17px!important}.helpNavHead small{display:block!important;grid-column:1/-1;margin-top:4px;font-size:11px}
 .helpNavClose{display:grid;width:34px;height:34px;border:0;border-radius:10px;background:#273244;color:#fff;place-items:center;font-size:25px;line-height:1}
 .helpNavItem{min-width:0!important;width:100%!important;grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important;padding:11px 9px!important;margin:3px 0!important;border-radius:12px!important}
 .helpNavItem>span{font-size:17px!important}.helpNavItem b{font-size:14px!important}.helpNavItem small{display:block!important;font-size:10px!important;line-height:1.25}
 .helpBackdrop{display:block;position:fixed;z-index:1001;inset:0;background:rgba(8,13,21,.52);opacity:0;pointer-events:none;transition:opacity .22s ease}
 .nav-open .helpBackdrop{opacity:1;pointer-events:auto}
 body:has(.helpFull.nav-open){overflow:hidden}
}

/* 3.0.76 rewards */
.rewardTypeField small{display:block;margin-top:7px;color:#8b95a3;font-size:12px}
#modal .formgrid input[type=date]{min-height:48px}

.customerDeleteZone{margin-top:18px;padding:16px;border:1px solid #ffd7d9;background:#fff7f7;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.customerDeleteZone b,.customerDeleteZone small{display:block}.customerDeleteZone b{color:#c7232a;margin-bottom:4px}.customerDeleteZone small{color:#7b8490;line-height:1.4}.customerDeleteZone .danger{flex:0 0 auto;font-weight:700}@media(max-width:700px){.customerDeleteZone{align-items:stretch;flex-direction:column}.customerDeleteZone .danger{width:100%;min-height:46px}}

/* 3.0.85 FoodCore in-app confirmation */
.fcConfirmOverlay{position:fixed;inset:0;z-index:3000;background:rgba(20,24,31,.48);backdrop-filter:blur(2px);display:grid;place-items:center;padding:20px}.fcConfirmCard{position:relative;width:min(440px,94vw);background:#fff;border-radius:24px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.28);text-align:center}.fcConfirmClose{position:absolute;right:16px;top:12px;width:42px;height:42px;border:0;border-radius:50%;background:#f2f4f7;color:#15191f;font-size:30px;line-height:1;cursor:pointer}.fcConfirmIcon{width:58px;height:58px;border-radius:18px;background:#fff0f0;color:#df252b;display:grid;place-items:center;margin:2px auto 16px;font-size:32px;font-weight:900}.fcConfirmCard h3{margin:0 36px 10px;font-size:24px}.fcConfirmCard p{margin:0;color:#4b5563;line-height:1.45}.fcConfirmNote{margin:18px 0;padding:14px 16px;border:1px solid #ffd8da;background:#fff7f7;border-radius:14px;color:#6b7280;text-align:left;line-height:1.45;font-size:14px}.fcConfirmActions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.fcConfirmActions button{min-height:48px}.fcConfirmDanger{background:#ef2b2d!important;color:#fff!important;font-weight:800!important}.fcConfirmActions .secondary{border:1px solid #dfe3e8;background:#fff;border-radius:10px}@media(max-width:520px){.fcConfirmOverlay{padding:14px}.fcConfirmCard{border-radius:22px;padding:24px 18px 18px}.fcConfirmCard h3{font-size:22px}.fcConfirmActions{grid-template-columns:1fr}.fcConfirmActions .fcConfirmDanger{order:-1}}

.fcConfirmDialog{border:0;padding:0;background:transparent;max-width:none;max-height:none;overflow:visible}.fcConfirmDialog::backdrop{background:rgba(20,24,31,.48);backdrop-filter:blur(2px)}.fcConfirmDialog .fcConfirmCard{margin:auto}.fcConfirmDialog:focus{outline:none}

/* FoodCore 3.0.88 — discounted product price in admin */
.adminSalePrice{display:inline-flex;align-items:baseline;gap:8px}.adminSalePrice s{color:#8f8f94;font-weight:500}.adminSalePrice b{color:#ef1019;font-weight:900}
/* FoodCore 3.0.95: promo switches are inert div controls on mobile to prevent dialog/form navigation */
.promoSettingSwitch[role="switch"]{user-select:none;-webkit-user-select:none;touch-action:manipulation}
.paymentTools{margin-bottom:14px}.paymentMethodsTableWrap{border:1px solid var(--line);border-radius:14px;background:#fff}.paymentMethodsTable{min-width:980px}.paymentMethodsTable .paymentEditBtn{border:0;border-radius:10px;padding:9px 12px;background:#eef1f4;cursor:pointer;font-weight:700}.miniSwitch{display:inline-flex;align-items:center;justify-content:center}.miniSwitch input{width:20px;height:20px;accent-color:var(--accent)}.paymentOnlineHint{margin-top:16px;padding:14px 16px;border-radius:14px;background:#f7f8fa;border:1px solid var(--line);display:grid;gap:5px}.paymentOnlineHint span{color:var(--muted);font-size:13px;line-height:1.45}@media(max-width:700px){.paymentSettingsPanel .panelhead{align-items:stretch;flex-direction:column}.paymentSettingsPanel .panelhead .primary{width:100%}.paymentMethodsTableWrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.paymentSettingsActions .primary{width:100%}}

/* FoodCore 3.1.40 — achievements light admin style */
.achAdmin{display:grid;gap:18px;color:#171a21}.achHero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:0 4px 18px rgba(15,23,42,.05)}.achHero>div{display:flex;align-items:center;gap:14px}.achHero>div>span{font-size:36px}.achHero h3,.achHero p{margin:0;color:#171a21}.achHero h3{font-weight:850}.achHero p{color:#697386;margin-top:5px;line-height:1.45}.achHero .loyaltyEnabled{background:#f4f6f8!important;border:1px solid #e2e6eb!important;color:#171a21!important}.achToolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.achToolbar>span{margin-left:auto;color:#697386}.achToolbar .secondary{background:#fff;color:#171a21;border:1px solid #d8dde4}.achGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px}.achCard{display:flex;gap:14px;padding:16px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 3px 14px rgba(15,23,42,.045);color:#171a21}.achCard.off{opacity:.58}.achIcon{width:52px;height:52px;border-radius:16px;background:#f2f4f7;border:1px solid #e4e8ed;display:grid;place-items:center;font-size:28px;flex:0 0 auto}.achInfo{min-width:0;flex:1}.achTop{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.achTop h3{margin:2px 0 0;color:#171a21;font-weight:850}.achTop label{font-size:12px;color:#5f6978;white-space:nowrap}.achInfo p{color:#697386;font-size:13px;min-height:36px;line-height:1.45}.achMeta{display:flex;gap:6px;flex-wrap:wrap}.achMeta span{font-size:11px;padding:6px 8px;background:#f2f4f7;color:#3f4856;border:1px solid #e4e8ed;border-radius:999px}.achMeta b{color:#171a21}.achActions{display:flex;gap:7px;margin-top:12px;flex-wrap:wrap}.achActions button{font-size:12px;background:#fff;color:#273142;border:1px solid #d8dde4;border-radius:9px;padding:8px 11px}.achActions button:hover{background:#f6f7f9}.achActions .danger{color:#d92d35;border-color:#f0c9cc;background:#fff}.achActions .danger:hover{background:#fff5f5}.achEditor{max-width:720px;background:#fff;color:#171a21}.achEditor h2{color:#171a21}.achEditorGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.achEditorGrid label{display:grid;gap:6px}.achEditorGrid .full{grid-column:1/-1}.achEditorGrid span{font-size:12px;color:#697386}.achEditorGrid input,.achEditorGrid select{background:#fff;color:#171a21;border:1px solid #d8dde4}.achSwitches{display:flex;gap:15px;flex-wrap:wrap;margin:16px 0}.achSwitches label{font-size:13px;color:#273142}.achAdmin input[type=checkbox],.achEditor input[type=checkbox]{accent-color:var(--accent)}@media(max-width:650px){.achHero{align-items:flex-start;flex-direction:column}.achHero .loyaltyEnabled{width:100%;box-sizing:border-box}.achGrid{grid-template-columns:1fr}.achEditorGrid{grid-template-columns:1fr}.achEditorGrid .full{grid-column:auto}.achActions button{flex:1;min-width:92px}}


/* FoodCore achievements — multi-level editor */
.achLevelMeta{background:#fff4d5!important;color:#8a6200!important;border-color:#f0d98c!important}
.achLevelsEditor{display:grid;gap:12px}.achLevelsIntro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #dfe5ec;border-radius:16px;background:#f8fafc}.achLevelsIntro b{display:block;color:#1d2632}.achLevelsIntro small{display:block;margin-top:4px;color:#7c8795}.achLevelRow{border:1px solid #dfe5ec;border-radius:18px;padding:14px;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.04)}.achLevelHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.achLevelHead b{font-size:16px;color:#1e2733}.achLevelGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.achLevelGrid label{display:grid;gap:6px}.achLevelGrid label.full{grid-column:1/-1}.achLevelGrid span{font-size:12px;font-weight:800;color:#66717f}.achLevelGrid input,.achLevelGrid select{width:100%;min-height:44px;border:1px solid #d9e0e8;border-radius:12px;padding:9px 11px;background:#fff;color:#1e2632}.achEditorGrid.nested{grid-column:1/-1;margin:0;padding:14px;border:1px solid #e2e7ed;border-radius:16px;background:#f8fafc}.danger.small{min-height:34px;padding:6px 10px;font-size:12px}@media(max-width:650px){.achLevelsIntro{align-items:flex-start;flex-direction:column}.achLevelGrid{grid-template-columns:1fr}}

/* FoodCore 2026-09-17 — Risinki tasks editor */
#wheelTaskRows{display:grid;gap:8px;margin-top:12px}.wheelTaskRow{display:grid;grid-template-columns:145px 105px minmax(175px,1.35fr) 115px minmax(145px,1fr) 72px;gap:8px;align-items:end;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}.wheelTaskRow>*{min-width:0}.wheelTaskRow .promoSettingSwitch{align-self:end;min-height:46px;padding:7px 8px;gap:7px;border-radius:11px}.wheelTaskRow .promoSettingSwitch.compact{min-width:0}.wheelTaskRow .promoSwitchText small{display:none}.wheelTaskRow .promoSwitchText b{font-size:12px;white-space:nowrap}.wheelTaskRow .field{min-width:0;margin:0}.wheelTaskRow .field>span{display:block;font-size:11px;line-height:1.15;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wheelTaskRow input,.wheelTaskRow select{width:100%;min-width:0;height:42px;padding:7px 9px;font-size:12px}.wheelTaskRow .taskTime>div{gap:4px!important}.wheelTaskRow .taskTime input{padding:5px 4px}.wheelTaskRow .danger{min-height:42px;height:42px;padding:0 8px;font-size:11px;white-space:nowrap}.wheelTaskRow [hidden]{display:none!important}@media(max-width:1180px){.wheelTaskRow{grid-template-columns:130px 90px minmax(150px,1.2fr) 100px minmax(125px,.9fr) 64px;gap:6px;padding:8px}.wheelTaskRow .promoSwitchText b{font-size:11px}.wheelTaskRow input,.wheelTaskRow select{font-size:11px;padding-left:6px;padding-right:6px}}@media(max-width:850px){.wheelTaskRow{grid-template-columns:1fr 1fr}.wheelTaskRow .field,.wheelTaskRow .promoSettingSwitch{min-width:0}.wheelTaskRow .danger{width:100%}}@media(max-width:560px){.wheelTaskRow{grid-template-columns:1fr}.wheelTaskRow .danger{width:100%}}

/* FrontPad grouped navigation */
.fpIntegrationStatus{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;margin-bottom:14px;border:1px solid #e4e8ee;background:#f7f8fa}.fpIntegrationStatus .fpStatusDot{width:10px;height:10px;border-radius:50%;flex:0 0 10px;background:#9aa3af}.fpIntegrationStatus b,.fpIntegrationStatus small{display:block}.fpIntegrationStatus small{margin-top:2px;color:#687386}.fpIntegrationStatus.on{background:#f0faf5;border-color:#bde7d0}.fpIntegrationStatus.on .fpStatusDot{background:#18a663}.fpIntegrationStatus.off{background:#fff6f5;border-color:#ffd2cc}.fpIntegrationStatus.off .fpStatusDot{background:#e24b3b}
.fpGroupNav{display:flex;gap:8px;flex-wrap:wrap;padding:5px;background:#f2f4f7;border-radius:18px;margin-bottom:10px}.fpGroupBtn{appearance:none;border:0;background:transparent;color:#4f5968;padding:11px 16px;border-radius:14px;font-weight:750;cursor:pointer;transition:.16s ease}.fpGroupBtn:hover{background:#fff;color:#202733}.fpGroupBtn.active{background:#fff;color:#e23b24;box-shadow:0 2px 10px rgba(20,28,40,.08)}
.fpSubNav{display:flex;gap:8px;flex-wrap:wrap;padding:4px 2px 14px;margin-bottom:4px;border-bottom:1px solid #edf0f3}.fpSubBtn{appearance:none;border:1px solid transparent;background:#f6f7f9;color:#596273;padding:8px 13px;border-radius:12px;font-weight:700;cursor:pointer}.fpSubBtn:hover{background:#fff0ed;color:#d93a24}.fpSubBtn.active{background:#ffebe7;color:#d93620;border-color:#ffc9bf}.fpComingSub{padding:12px 14px;background:#f8f9fb;border:0;border-radius:12px;color:#707a89}
@media(max-width:700px){.fpGroupNav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.fpGroupNav::-webkit-scrollbar{display:none}.fpGroupBtn{white-space:nowrap}.fpSubNav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.fpSubNav::-webkit-scrollbar{display:none}.fpSubBtn{white-space:nowrap}}
/* Frontpad: single-level section navigation */
.fpGroupNav{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:6px;background:#f2f4f7;border-radius:18px;margin:0 0 18px}.fpGroupNav::-webkit-scrollbar{display:none}.fpGroupBtn{flex:0 0 auto;white-space:nowrap;appearance:none;border:0;background:transparent;color:#4f5968;padding:11px 16px;border-radius:14px;font-weight:750;cursor:pointer;transition:.16s ease}.fpGroupBtn:hover{background:#fff;color:#202733}.fpGroupBtn.active{background:#fff;color:#e23b24;box-shadow:0 2px 10px rgba(20,28,40,.08)}
.fpPane+.fpPane{margin-top:24px;padding-top:22px;border-top:1px solid #edf0f3}.fpSectionPlaceholder{padding:18px 4px}.fpSectionPlaceholder h3{margin-top:0}
.fpDeliveryPointsHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.fpDeliveryPoints{display:grid;gap:14px;margin-bottom:18px}.fpDeliveryPointCard{padding:18px;border:1px solid #e4e7ec;border-radius:18px;background:#fff}.fpDeliveryPointTitle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.fpDeliveryPointTitle b{font-size:16px}.fpDeliveryPointTitle small{display:block;color:#8a94a6;margin-top:3px}.fpDeliveryPointTitle>span{font-size:12px;font-weight:700;padding:6px 9px;border-radius:999px;background:#f4f6f8;color:#667085}@media(max-width:700px){.fpDeliveryPointsHead{align-items:stretch;flex-direction:column}.fpDeliveryPointCard{padding:14px}.fpDeliveryPointTitle{align-items:flex-start}.fpDeliveryPointCard .formgrid{grid-template-columns:1fr}}

.zoneRatesHead{display:flex;align-items:center;justify-content:space-between;gap:10px}.zoneDeliveryRates{display:grid;gap:10px;padding:14px;border:1px solid #e2e7ec;border-radius:16px;background:#fafbfc}.zoneDeliveryRates>small{color:#7b8490;line-height:1.4}.zoneRateRow{display:grid;grid-template-columns:1fr 1fr 42px;gap:8px;align-items:end}.zoneRateRow label{display:grid;gap:5px;font-weight:700}.zoneRateRow label span{font-size:12px;color:#697386}.zoneRateRow input{width:100%}.zoneRateRow .danger{height:44px;padding:0;font-size:22px}.deliveryZonePanel .panelhead{display:flex;align-items:center;justify-content:space-between;gap:14px}@media(max-width:800px){.deliveryZonePanel .panelhead,.zoneRatesHead{align-items:stretch;flex-direction:column}.zoneRateRow{grid-template-columns:1fr 1fr 40px}}

/* FoodCore: FrontPad loyalty conflict */
.loyaltyConflictDialog{width:min(560px,calc(100vw - 28px));max-width:560px;border-radius:24px;overflow:hidden}
.loyaltyConflictDialog>form{padding:0}
.loyaltyConflictDialog #modalTitle{margin:0;padding:24px 66px 17px 24px;border-bottom:1px solid #eceff3;font-size:23px;line-height:1.2;background:#fff}
.loyaltyConflictDialog #modalBody{padding:22px 24px 24px;background:#f7f8fa}
.loyaltyConflictDialog .close{top:13px;right:15px;width:40px;height:40px;border-radius:12px;background:#f1f3f6;color:#596273;line-height:36px}
.loyaltyConflict{display:grid;gap:16px}
.loyaltyConflictIcon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;background:#fff0f0;color:#df292c;border:1px solid #ffd9da;font-size:28px;font-weight:900}
.loyaltyConflictCopy h3{margin:0 0 7px;font-size:20px;letter-spacing:-.015em}.loyaltyConflictCopy p{margin:0;color:#697483;line-height:1.55;font-size:14px}
.loyaltyConflictNote{display:grid;gap:4px;padding:14px 15px;border:1px solid #e4e8ee;border-radius:15px;background:#fff}.loyaltyConflictNote b{font-size:14px}.loyaltyConflictNote span{font-size:12px;line-height:1.45;color:#7d8795}
.loyaltyConflictActions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px;margin-top:2px}.loyaltyConflictActions button{min-height:48px;border-radius:13px}.loyaltyConflictActions .secondary{border:1px solid #dfe4ea;background:#fff;cursor:pointer}
@media(max-width:600px){.loyaltyConflictDialog{width:calc(100vw - 20px);border-radius:22px}.loyaltyConflictDialog #modalTitle{padding:21px 58px 15px 18px;font-size:20px}.loyaltyConflictDialog #modalBody{padding:18px}.loyaltyConflictActions{grid-template-columns:1fr}.loyaltyConflictActions .primary{grid-row:1}.loyaltyConflictActions .secondary{grid-row:2}}

.productHeadActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.productStopSyncBtn{font-weight:750}.product-admin-row{position:relative}.productStopListBadge{position:absolute;left:58%;top:50%;transform:translate(-50%,-50%);font-size:18px;font-weight:900;letter-spacing:.06em;color:#656b73;background:#e2e5e9;border:1px solid #cbd0d6;border-radius:10px;padding:8px 16px;white-space:nowrap;z-index:2}.product-admin-row.product-admin-stopped{padding-right:12px}@media(max-width:900px){.productStopListBadge{position:static;transform:none;margin-left:auto;font-size:14px;padding:6px 10px}.productHeadActions{width:100%;justify-content:flex-end}}


/* Products: modern controls + centered stop-list marker */
.productHeadActions .productStopSyncBtn{border:0!important;border-radius:12px!important;background:var(--accent)!important;color:#fff!important;font-weight:800!important;padding:10px 16px!important;box-shadow:0 7px 18px rgba(239,43,45,.18)!important;transition:.18s ease}.productHeadActions .productStopSyncBtn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(239,43,45,.24)!important}.product-admin-row{position:relative}.productStopListBadge{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;border-radius:14px!important;padding:9px 20px!important;font-size:18px!important;letter-spacing:.065em!important}.productActiveSwitch{position:relative;display:inline-flex;width:46px;height:26px;flex:0 0 46px;cursor:pointer}.productActiveSwitch input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.productActiveSwitch span{position:absolute;inset:0;border-radius:999px;background:#d9dee6;transition:.2s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.03)}.productActiveSwitch span:before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:.2s}.productActiveSwitch input:checked+span{background:var(--accent)}.productActiveSwitch input:checked+span:before{transform:translateX(20px)}.productActiveSwitch input:focus-visible+span{outline:3px solid rgba(239,43,45,.2);outline-offset:2px}@media(max-width:900px){.productStopListBadge{position:static!important;transform:none!important;margin-left:auto;font-size:14px!important;padding:7px 11px!important}}

/* FoodCore — desktop/web admin login responsive layout */
#content.adminLoginContent{padding:0;min-height:calc(100vh - 82px)}
.adminLoginPage{min-height:calc(100vh - 82px);display:grid;place-items:center;padding:48px 32px;background:radial-gradient(circle at 50% 15%,#fff 0,#f7f8fa 42%,#f1f3f6 100%)}
.adminLoginCard{width:min(100%,460px);background:#fff;border:1px solid #e3e7ed;border-radius:24px;padding:34px;box-shadow:0 20px 60px rgba(17,24,39,.09)}
.adminLoginBrand{display:flex;align-items:center;gap:11px;margin-bottom:28px}.adminLoginBrand>span{width:42px;height:42px;border-radius:13px;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:21px;font-weight:900}.adminLoginBrand b,.adminLoginBrand small{display:block}.adminLoginBrand b{font-size:17px}.adminLoginBrand small{margin-top:2px;color:var(--muted);font-size:12px}
.adminLoginCard h2{margin:0 0 8px;font-size:30px;letter-spacing:-.025em}.adminLoginCard>p{margin:0 0 26px;color:#7b8492}.adminLoginForm{display:grid;gap:16px}.adminLoginForm label{display:grid;gap:7px;font-weight:700}.adminLoginForm input{width:100%;min-width:0;padding:15px;border:1px solid #d8dee7;border-radius:14px;background:#fff;font-size:17px;outline:none;transition:border-color .18s,box-shadow .18s}.adminLoginForm input:focus{border-color:#ef2b2d;box-shadow:0 0 0 3px rgba(239,43,45,.10)}.adminLoginError{min-height:22px;color:#d3262d;font-size:13px}.adminLoginForm .primary{width:100%;min-height:52px;border-radius:14px;font-size:16px}
@media(min-width:981px){body:has(#content.adminLoginContent) .shell{grid-template-columns:1fr}body:has(#content.adminLoginContent) main{width:100%;min-height:100vh}body:has(#content.adminLoginContent) header{padding-left:max(32px,calc((100vw - 1440px)/2 + 32px));padding-right:max(32px,calc((100vw - 1440px)/2 + 32px))}}
@media(max-width:980px){#content.adminLoginContent{padding:0}.adminLoginPage{padding:32px 18px;min-height:calc(100vh - 82px)}}
@media(max-width:560px){.adminLoginPage{place-items:start center;padding:24px 14px}.adminLoginCard{padding:24px 20px;border-radius:20px}.adminLoginBrand{margin-bottom:22px}.adminLoginCard h2{font-size:25px}.adminLoginCard>p{margin-bottom:22px}}

/* Platform control — quick kitchen pause + planned shutdown */
.platformControlGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.platformControlCard{border-radius:22px;padding:22px;box-shadow:0 8px 28px rgba(28,35,43,.05)}.platformControlCard .panelhead{align-items:flex-start;margin-bottom:20px}.platformControlCard h3{font-size:21px;margin:5px 0 6px}.platformControlCard p{line-height:1.45}.platformControlEyebrow{font-size:11px;font-weight:900;letter-spacing:.1em;color:var(--accent)}.platformSwitch{display:inline-flex;flex:0 0 auto;cursor:pointer}.platformSwitch input{position:absolute;opacity:0;pointer-events:none}.platformSwitch span{width:54px;height:30px;border-radius:999px;background:#d9dee5;position:relative;transition:.2s;box-shadow:inset 0 0 0 1px #cbd1d8}.platformSwitch span:after{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 7px #0002;transition:.2s}.platformSwitch input:checked+span{background:var(--accent);box-shadow:none}.platformSwitch input:checked+span:after{transform:translateX(24px)}.platformAction{border-radius:999px;min-height:48px;font-size:15px;width:100%}.quickPauseCard{border-top:4px solid var(--accent)}.plannedPauseCard{border-top:4px solid #252a31}.platformControlCard textarea{min-height:92px;resize:vertical}@media(max-width:900px){.platformControlGrid{grid-template-columns:1fr}}@media(max-width:620px){.platformControlCard{padding:18px}.platformControlCard .formgrid{grid-template-columns:1fr}.platformControlCard .field{grid-column:1/-1}}

/* FoodCore 4.12.40 — FoodCore POS integration */
.fcPosTestBox{display:grid;gap:4px;margin-top:16px;padding:13px 15px;border:1px solid #dfe4e9;border-radius:14px;background:#f7f9fb}
.fcPosTestBox[hidden]{display:none}.fcPosTestBox.ok{border-color:#bde7cb;background:#effaf3}.fcPosTestBox.bad{border-color:#ffc6c6;background:#fff4f4}
.fcPosTestBox b{font-size:14px}.fcPosTestBox.ok b{color:#178448}.fcPosTestBox.bad b{color:#c53030}.fcPosTestBox small{color:#687482;line-height:1.4}
.fcPosApiHint{display:grid;gap:5px;margin-top:14px;padding:13px 15px;border-radius:14px;background:#f5f6f8;color:#687482;font-size:12px;line-height:1.45}
.fcPosApiHint b{color:#303943}.fcPosApiHint code{background:#fff;border:1px solid #dce2e8;border-radius:6px;padding:2px 5px;color:#111827}
.integrationBrand.fcpos,.integrationMiniLogo.fcpos{background:linear-gradient(135deg,#17191e,#050607);color:#ff8a00;border:1px solid #2e3238}

/* FoodCore 4.12.42 — POS orders + menu import */
.fcPosSectionHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:22px 0 10px}.fcPosSectionHead h3{margin:0 0 4px}.fcPosSectionHead p{margin:0;color:#7d8793;font-size:12px;line-height:1.45}
.fcPosAutomationCard{border:1px solid #dfe5ea;border-radius:14px;background:#fff;padding:0 14px}
.fcPosAutomationCard .settings-toggle-row{min-height:70px}
.fcPosCatalogCard{margin-top:18px;border:1px solid #dfe5ea;border-radius:16px;background:#fff;padding:16px}
.fcPosCatalogCard .fcPosSectionHead{margin:0 0 14px}
.fcPosImportOptions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.fcPosImportOptions>label{display:flex;gap:10px;align-items:flex-start;border:1px solid #e1e6eb;border-radius:12px;padding:12px;background:#f9fafb}
.fcPosImportOptions input{margin-top:3px;accent-color:#ff8a00}.fcPosImportOptions b{display:block;font-size:13px}.fcPosImportOptions small{display:block;color:#7f8a96;font-size:11px;line-height:1.35;margin-top:3px}
.fcPosCatalogPreview{margin-top:14px;border:1px solid #e0e5ea;border-radius:14px;overflow:hidden;background:#f8fafb}
.fcPosCatalogPreview[hidden]{display:none}.fcPosPreviewStats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:#e4e9ed}.fcPosPreviewStats span{background:#fff;padding:11px;text-align:center}.fcPosPreviewStats b{display:block;font-size:18px;color:#1d252d}.fcPosPreviewStats small{display:block;margin-top:3px;color:#7c8792;font-size:10px}
.fcPosPreviewList{max-height:280px;overflow:auto}.fcPosPreviewList>div{padding:10px 12px;border-top:1px solid #e7ebee}.fcPosPreviewList b{display:block;font-size:12px}.fcPosPreviewList small{display:block;color:#7b8691;font-size:10px;margin-top:3px}.fcPosPreviewList em{display:block;padding:10px 12px;color:#7b8691;font-size:11px}
.fcPosPreviewError{padding:14px;color:#b42318;background:#fff4f2}
.fcPosCatalogActions{display:flex;align-items:center;gap:12px;margin-top:14px}.fcPosCatalogActions small{color:#7d8793;font-size:11px}
@media(max-width:760px){.fcPosImportOptions{grid-template-columns:1fr}.fcPosPreviewStats{grid-template-columns:repeat(2,minmax(0,1fr))}.fcPosSectionHead{flex-direction:column}.fcPosCatalogActions{align-items:stretch;flex-direction:column}}
.orderModesPanel{overflow:hidden}.orderModeCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.orderModeCard{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;border:1px solid #dfe4eb;border-radius:18px;background:#f8fafc;transition:.18s}.orderModeCard.on{border-color:#ff7a18;background:#fff8f2;box-shadow:0 8px 24px rgba(255,122,24,.08)}.orderModeCard b,.dineInModeChoice b{display:block;font-size:16px}.orderModeCard small,.dineInModeChoice small,.tableSetupHead small{display:block;color:#7b8492;margin-top:4px}.dineInSetup{margin-top:16px;padding:16px;border-radius:18px;background:#f7f8fa}.dineInModeChoice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dineInModeChoice label{display:flex;gap:10px;padding:14px;border:1px solid #dfe4eb;border-radius:14px;background:#fff}.tableSetup{margin-top:14px}.tableSetupHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.hallTables{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-top:12px;padding:16px;min-height:120px;border:1px dashed #cfd6df;border-radius:18px;background:#fff}.hallTableAdmin{position:relative;padding:14px;border:1px solid #e0e5ec;border-radius:16px;text-align:center;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.06)}.hallTableAdmin span{display:block;font-size:12px;color:#8b94a1}.hallTableAdmin input{width:100%;border:0!important;text-align:center;font-size:20px;font-weight:800;background:transparent!important}.hallTableAdmin button{position:absolute;right:6px;top:5px;border:0;background:transparent;font-size:20px;color:#9aa2ad}.orderModesSave{margin-top:16px}.hidden{display:none!important}@media(max-width:700px){.orderModeCards,.dineInModeChoice{grid-template-columns:1fr}.orderModeCard{padding:15px}.hallTables{grid-template-columns:repeat(2,1fr)}}

/* 4.13.37 visual hall editor */
.hallEditorActions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.hallEditorHint{margin:12px 0 8px;color:#7b8492;font-size:13px}.hallPlanEditor{position:relative!important;display:block!important;min-height:430px;overflow:hidden;background-image:linear-gradient(#eef1f5 1px,transparent 1px),linear-gradient(90deg,#eef1f5 1px,transparent 1px);background-size:24px 24px;touch-action:none}.hallPlanItem{position:absolute!important;margin:0!important;touch-action:none;user-select:none;cursor:grab}.hallPlanItem:active{cursor:grabbing}.hallTableAdmin.hallPlanItem{width:86px;height:68px;padding:9px 12px;display:flex;flex-direction:column;justify-content:center;z-index:2}.hallTableAdmin.hallPlanItem input{font-size:17px;padding:0}.hallMarkerAdmin{min-width:92px;padding:9px 26px 9px 12px;border:1px dashed #aeb7c3;border-radius:12px;background:#f8fafc;color:#596273;font-size:12px;font-weight:700;z-index:1}.hallMarkerAdmin button{position:absolute;right:5px;top:4px;border:0;background:transparent;color:#8b94a1;font-size:18px}@media(max-width:700px){.hallPlanEditor{min-height:360px}.hallEditorActions{justify-content:flex-start}.hallTableAdmin.hallPlanItem{width:72px;height:60px}}

/* 4.13.41 safe order details */
.orderAdminRow{cursor:pointer}.orderAdminRow:hover{background:#f7f9fc}.orderAdminRow:focus{outline:2px solid #ff6b35;outline-offset:-2px}.orderDetails{display:grid;gap:16px}.orderDetails section{border:1px solid #e5e9ef;border-radius:18px;padding:16px;background:#fff}.orderDetails section h3{margin:0 0 13px}.orderDetailsTop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.orderDetailsTop>div,.orderInfoGrid>div{background:#f6f8fb;border-radius:14px;padding:12px;min-width:0}.orderDetailsTop span,.orderInfoGrid span{display:block;color:#7b8490;font-size:12px;margin-bottom:4px}.orderDetailsTop b,.orderInfoGrid b{display:block;overflow-wrap:anywhere}.orderInfoGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.orderProductList{display:grid;gap:10px}.orderProductCard{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #e8ebef;border-radius:15px;padding:10px}.orderProductPhoto{width:72px;height:72px;border-radius:12px;background:#f1f3f6;overflow:hidden;display:grid;place-items:center;color:#929aa5;font-size:11px;text-align:center}.orderProductPhoto img{width:100%;height:100%;object-fit:cover}.orderProductBody{display:grid;gap:4px;min-width:0}.orderProductBody small{color:#7b8490}.orderProductBody span{font-size:13px}.orderTotals{display:grid;gap:9px}.orderTotals>div{display:flex;justify-content:space-between;gap:16px}.orderTotals .total{border-top:1px solid #e5e9ef;padding-top:11px;font-size:18px}.orderTechnical{font-size:12px;color:#8b94a1;overflow-wrap:anywhere}@media(max-width:700px){.orderDetailsDialog{width:min(96vw,700px)!important}.orderDetailsTop{grid-template-columns:repeat(2,minmax(0,1fr))}.orderInfoGrid{grid-template-columns:1fr}.orderProductCard{grid-template-columns:58px minmax(0,1fr) auto}.orderProductPhoto{width:58px;height:58px}.orderProductCard>strong{font-size:14px}.tablewrap table{min-width:680px}}

/* Admin settings categories */
.settingsCategoryNav{display:flex;overflow-x:auto;gap:9px;position:sticky;top:0;z-index:12;padding:12px 2px 15px;background:var(--bg,#f6f7fa);scrollbar-width:thin;-webkit-overflow-scrolling:touch}.settingsCategoryNav button{white-space:nowrap;border:1px solid #dedfe4;background:white;border-radius:13px;padding:12px 16px;cursor:pointer;font-weight:650;color:#444}.settingsCategoryNav button.active{background:#f48020;border-color:#f48020;color:white}.settingsCategoryNav+.panel{margin-top:0}[data-settings-panel][hidden]{display:none!important}

/* FoodCore product editor 2026: isolated from other Admin dialogs */
.fcProductEditorDialog{width:min(760px,calc(100vw - 24px));max-width:760px;max-height:94dvh;border-radius:26px;overflow:hidden;border:1px solid #e8ebf0;box-shadow:0 24px 90px #15223836}
.fcProductEditorDialog #modalTitle{font-size:clamp(21px,3vw,27px);letter-spacing:-.035em;font-weight:800;padding:23px 62px 19px 26px;background:white;border-bottom:1px solid #ecedf0;margin:0}
.fcProductEditorDialog #modalBody{padding:0;overflow:auto;overscroll-behavior:contain;background:#f5f7fa}
.fcProductEditorDialog .fcProductEditor{display:flex!important;flex-direction:column;gap:15px;padding:18px 20px 0;min-width:0}
.fcProductEditorDialog .fcProdIntro{display:flex;gap:13px;align-items:center;background:#1d2531;color:white;padding:16px 18px;border-radius:20px}
.fcProductEditorDialog .fcProdIntroIcon{display:grid;place-items:center;font-size:23px;background:#ffffff1f;width:46px;height:46px;border-radius:15px;flex:none}
.fcProductEditorDialog .fcProdIntro strong{display:block;font-size:16px}.fcProductEditorDialog .fcProdIntro small{display:block;color:#cdd4de;margin-top:4px;line-height:1.4}
.fcProductEditorDialog .fcProdSection{min-width:0;background:#fff;border:1px solid #e5e9ef;border-radius:22px;padding:20px;box-shadow:0 4px 15px #12203607}
.fcProductEditorDialog .fcProdSectionHead{margin-bottom:16px}.fcProductEditorDialog .fcProdSectionHead h3{font-size:19px;letter-spacing:-.025em;margin:0;font-weight:780;color:#191e26}.fcProductEditorDialog .fcProdSectionHead p{font-size:12px;line-height:1.5;color:#748092;margin:5px 0 0}
.fcProductEditorDialog .fcProdSectionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.fcProductEditorDialog .fcProdSectionGrid>.field{min-width:0;margin:0}.fcProductEditorDialog .fcProdSectionGrid>.field.full,.fcProductEditorDialog .fcProdSectionGrid>.relationHost,.fcProductEditorDialog .fcProdSectionGrid>.servingsField,.fcProductEditorDialog .fcProdSectionGrid>.productImageField{grid-column:1/-1}
.fcProductEditorDialog .fcProdSection input:not([type=checkbox]):not([type=file]):not([type=hidden]),.fcProductEditorDialog .fcProdSection select,.fcProductEditorDialog .fcProdSection textarea{max-width:100%;min-width:0;width:100%;border:1px solid #dfe4eb;border-radius:14px;background:#fbfcfe;min-height:48px;outline:none;transition:border-color .15s,box-shadow .15s;font-size:15px;padding:12px 14px;color:#222a36}
.fcProductEditorDialog .fcProdSection textarea{min-height:110px;resize:vertical}
.fcProductEditorDialog .fcProdSection input:focus,.fcProductEditorDialog .fcProdSection select:focus,.fcProductEditorDialog .fcProdSection textarea:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef444418;background:white}
.fcProductEditorDialog .fcProdSection .field>span{font-weight:650;font-size:13px;color:#2e3540;margin-bottom:8px;display:block}
.fcProductEditorDialog .fcProdSection .field small{font-size:12px;line-height:1.4;color:#8190a0}
.fcProductEditorDialog .fcProdSection .relationBlock{border-radius:15px;overflow:hidden}.fcProductEditorDialog .fcProdSection .relationHeader{background:#f7f9fc;min-height:70px;border-radius:0;text-align:left}.fcProductEditorDialog .fcProdSection .relationHeader b{font-size:15px}
.fcProductEditorDialog .fcProdSection button.smallbtn,.fcProductEditorDialog .fcProdSection button.secondary{min-height:43px;border-radius:13px;font-weight:650;max-width:100%;white-space:normal}
.fcProductEditorDialog .fcProdNutrition{margin:0!important;box-shadow:0 4px 15px #12203607}.fcProductEditorDialog .fcProdNutrition .formgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fcProductEditorDialog .fcProdNutrition h3{color:#191e26;font-size:19px}
.fcProductEditorDialog .fcProdSaveBar{position:sticky;bottom:0;z-index:3;display:block!important;margin:0 -20px;grid-column:auto!important;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #e8ebef;padding:14px 20px max(14px,env(safe-area-inset-bottom))!important}
.fcProductEditorDialog .fcProdSaveBar #saveEntity{width:100%;border-radius:15px;min-height:52px;font-size:16px;font-weight:750;box-shadow:0 8px 22px #e11b2340}
@media(max-width:700px){.fcProductEditorDialog{width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.fcProductEditorDialog #modalTitle{padding:18px 57px 16px 18px;font-size:22px}.fcProductEditorDialog #modalBody{height:calc(100dvh - 72px);max-height:calc(100dvh - 72px)}.fcProductEditorDialog .fcProductEditor{padding:12px 12px 0;gap:12px}.fcProductEditorDialog .fcProdSection{padding:16px;border-radius:19px}.fcProductEditorDialog .fcProdSectionGrid{grid-template-columns:minmax(0,1fr);gap:13px}.fcProductEditorDialog .fcProdSaveBar{margin:0 -12px;padding:12px 14px max(12px,env(safe-area-inset-bottom))!important}.fcProductEditorDialog .fcProdIntro{border-radius:17px}.fcProductEditorDialog .fcProdNutrition .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* FoodCore product editor: native Android dropdowns replaced with branded sheet */
.fcProductEditorDialog .fcNativePickerHidden{display:none!important}
.fcProductEditorDialog .fcPickerTrigger{display:flex;width:100%;min-height:50px;align-items:center;justify-content:space-between;gap:12px;background:#fbfcff;border:1px solid #dfe5ed;border-radius:14px;padding:13px 15px;text-align:left;color:#202836;font:inherit;font-size:15px;cursor:pointer}
.fcProductEditorDialog .fcPickerTrigger:focus-visible{outline:3px solid #f8717180;outline-offset:2px}
.fcProductEditorDialog .fcPickerValue{min-width:0;white-space:normal;overflow-wrap:anywhere}
.fcProductEditorDialog .fcPickerArrow{color:#7c8797;font-size:22px;line-height:1;flex:none}
.fcProductEditorDialog .fcPickerBackdrop{position:fixed;inset:0;z-index:999999;background:#11182791;display:flex;align-items:flex-end;justify-content:center;padding:12px 12px max(15px,env(safe-area-inset-bottom));box-sizing:border-box}
.fcProductEditorDialog .fcPickerSheet{width:min(100%,530px);max-height:min(78dvh,720px);min-height:100px;display:flex;flex-direction:column;background:#fff;color:#202735;border-radius:24px;overflow:hidden;box-shadow:0 20px 60px #0003}
.fcProductEditorDialog .fcPickerHead{padding:20px 18px 15px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #edf0f4}
.fcProductEditorDialog .fcPickerHead strong{font-size:18px;line-height:1.3;font-weight:750}
.fcProductEditorDialog .fcPickerClose{width:38px;height:38px;min-width:38px;border-radius:12px;border:0;background:#f1f3f7;color:#475569;font-size:26px;cursor:pointer}
.fcProductEditorDialog .fcPickerItems{overflow:auto;overscroll-behavior:contain;padding:10px 12px 16px}
.fcProductEditorDialog .fcPickerOption{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:15px 14px;margin:4px 0;border:1px solid transparent;border-radius:15px;background:#fff;color:#263040;text-align:left;font-size:15px;font-weight:550;min-height:55px;cursor:pointer}
.fcProductEditorDialog .fcPickerOption+.fcPickerOption{border-top-color:#edf0f4}
.fcProductEditorDialog .fcPickerOption.selected{background:#fff1f0;color:#be2129;border-color:#f6cecf}
.fcProductEditorDialog .fcPickerCheck{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;font-size:16px;color:#fff}
.fcProductEditorDialog .fcPickerOption.selected .fcPickerCheck{background:#e62e36}
@media(min-width:701px){.fcProductEditorDialog .fcPickerBackdrop{align-items:center}}

/* FoodCore product editor: consistent icon chevrons, no font glyph arrows */
.fcProductEditorDialog .fcPickerArrow,.fcProductEditorDialog .fcRelationChevron{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #e5eaf0;border-radius:11px;background:#fff;color:#606e80;font-size:0!important;line-height:1;transition:background .2s,border-color .2s,transform .2s}
.fcProductEditorDialog .fcPickerArrow::after,.fcProductEditorDialog .fcRelationChevron::after{content:"";width:8px;height:8px;display:block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);border-radius:1px}
.fcProductEditorDialog .relationBlock.open>.relationHeader .fcRelationChevron{background:#fff2f2;border-color:#f5d7d9;color:#d9363e}
.fcProductEditorDialog .relationBlock.open>.relationHeader .fcRelationChevron::after{transform:translateY(2px) rotate(225deg)}
.fcProductEditorDialog .relationHeader .fcRelationChevron{margin-left:auto}
.fcProductEditorDialog .fcPickerTrigger{min-width:0;box-sizing:border-box}
.fcProductEditorDialog .fcPickerTrigger:active .fcPickerArrow{background:#fff2f2;border-color:#f4d5d8;color:#d9363e}

/* Product nutrition: consistent, accessible on/off switch */
.fcProductEditorDialog .fcNutritionPublish{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1 1 220px;min-width:0;padding:11px 14px;background:#f6f7fa;border:1px solid #e2e5eb;border-radius:15px;cursor:pointer;box-sizing:border-box;position:relative}
.fcProductEditorDialog .fcNutritionPublishText{font-size:14px;font-weight:600;line-height:1.3;color:#202630}
.fcProductEditorDialog .fcNutritionSwitchInput{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.fcProductEditorDialog .fcNutritionSwitchTrack{display:block;position:relative;flex:0 0 48px;width:48px;height:28px;border-radius:999px;background:#cbd1db;transition:background .18s ease;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.fcProductEditorDialog .fcNutritionSwitchTrack::before{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;background:#fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.15);transition:transform .18s ease}
.fcProductEditorDialog .fcNutritionSwitchInput:checked + .fcNutritionSwitchTrack{background:#e11b24}
.fcProductEditorDialog .fcNutritionSwitchInput:checked + .fcNutritionSwitchTrack::before{transform:translateX(20px)}
.fcProductEditorDialog .fcNutritionSwitchInput:focus-visible + .fcNutritionSwitchTrack{outline:3px solid #f6a3a7;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.fcProductEditorDialog .fcNutritionSwitchTrack,.fcProductEditorDialog .fcNutritionSwitchTrack::before{transition:none}}

/* FoodCore: mobile product prices and controls must fit inside the card. */
@media (max-width:700px){
  .product-admin-row{width:100%;min-width:0;grid-template-columns:58px minmax(0,1fr);align-items:start;overflow:hidden;}
  .product-admin-row>div:nth-child(3){min-width:0;overflow-wrap:anywhere;}
  .product-admin-row>.rowactions{grid-column:1/-1;min-width:0;width:100%;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-content:stretch;column-gap:10px;row-gap:12px;}
  .product-admin-row>.rowactions>strong{grid-column:1;grid-row:1;min-width:0;max-width:100%;display:block;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.3;}
  .product-admin-row>.rowactions>.productActiveSwitch{grid-column:2;grid-row:1;justify-self:end;}
  .product-admin-row>.rowactions>button[data-edit="products"]{grid-column:1;grid-row:2;min-width:0;width:100%;white-space:nowrap;}
  .product-admin-row>.rowactions>button[data-del="products"]{grid-column:2;grid-row:2;min-width:0;white-space:nowrap;}
}

/* Product description editor */
.fcDescriptionEditor{width:100%;min-width:0;overflow:hidden;border:1px solid #dbe0e8;border-radius:18px;background:#fafbfe}.fcDescriptionToolbar{display:flex;flex-wrap:wrap;gap:7px;padding:10px;border-bottom:1px solid #e3e7ee;background:#f2f5f9}.fcDescriptionToolbar button{border:1px solid #dce1e9;border-radius:10px;background:#fff;color:#26303e;padding:8px 10px;font-size:13px;font-weight:700;min-height:38px;cursor:pointer}.fcDescriptionToolbar button:active{background:#e1e7ee}.fcDescriptionEditor textarea{display:block;width:100%;min-height:170px;border:0!important;outline:0;background:#fff!important;border-radius:0!important;padding:14px!important;resize:vertical;white-space:pre-wrap;line-height:1.55}.fcDescriptionField>small{display:block;margin-top:8px;color:#778294;font-size:12px}

/* FoodCore Admin: wider product editor on narrow mobile screens.
   Limit to product editor: no changes to the product list or client app. */
@media (max-width:700px){
  .fcProductEditorDialog{box-sizing:border-box;width:100vw;max-width:100vw;}
  .fcProductEditorDialog #modalBody{box-sizing:border-box;width:100%;}
  .fcProductEditorDialog .fcProductEditor{box-sizing:border-box;width:100%;padding:8px 5px 0;gap:10px;}
  .fcProductEditorDialog .fcProdSection{box-sizing:border-box;width:100%;padding:14px 10px;border-radius:16px;}
  .fcProductEditorDialog .fcProdSectionGrid{min-width:0;gap:12px;}
  .fcProductEditorDialog .fcDescriptionField,.fcProductEditorDialog .fcDescriptionEditor{box-sizing:border-box;min-width:0;width:100%;}
  .fcProductEditorDialog .fcDescriptionToolbar{padding:8px 7px;gap:6px;}
  .fcProductEditorDialog .fcDescriptionToolbar button{padding:8px;min-height:36px;}
  .fcProductEditorDialog .fcDescriptionEditor textarea{box-sizing:border-box;padding:12px!important;}
  .fcProductEditorDialog .fcProdSaveBar{margin:0 -5px;padding:10px 10px max(12px,env(safe-area-inset-bottom))!important;}
}

/* Active list mode in product description editor */
.fcDescriptionToolbar button.is-active{background:#ffe9e9!important;border-color:#ee3333!important;color:#c51e23!important;box-shadow:inset 0 0 0 1px #ee3333}.fcDescriptionToolbar button[aria-pressed="true"]{font-weight:800}

/* Mobile product editor: remove lateral drift / fit visual viewport. */
@media(max-width:700px){
 html:has(.fcProductEditorDialog[open]),body:has(.fcProductEditorDialog[open]){overflow-x:hidden!important;max-width:100%!important}
 .fcProductEditorDialog{position:fixed!important;inset:0!important;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100dvh!important;box-sizing:border-box!important;overflow:hidden!important}
 .fcProductEditorDialog #modalBody{width:100%!important;max-width:100%!important;overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box!important}
 .fcProductEditorDialog .fcProductEditor,.fcProductEditorDialog .fcProdSection,.fcProductEditorDialog .fcProdSectionGrid,.fcProductEditorDialog .field,.fcProductEditorDialog .fcDescriptionField,.fcProductEditorDialog .fcDescriptionEditor{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .fcProductEditorDialog .fcDescriptionEditor textarea{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .fcProductEditorDialog .fcProdSaveBar{max-width:100%!important;box-sizing:border-box!important}
}

/* FoodCore order schedule settings */
.fcHoursSettings{display:grid;gap:16px;max-width:100%}.fcHoursSection{min-width:0}.fcHoursSave{width:100%;min-height:52px;border-radius:16px}.fcHoursSettings .scheduleRow{min-width:0;display:grid;grid-template-columns:minmax(120px,1fr) minmax(90px,130px) 12px minmax(90px,130px);gap:9px;align-items:center}.fcHoursSettings .scheduleRow input[type=time]{min-width:0;width:100%}@media(max-width:650px){.fcHoursSettings .scheduleRow{grid-template-columns:1fr 1fr;gap:8px;padding:12px 0}.fcHoursSettings .scheduleRow label{grid-column:1/-1}.fcHoursSettings .scheduleRow>span{display:none}.fcHoursSettings .formgrid{grid-template-columns:1fr 1fr}.fcHoursSettings .field.full{grid-column:1/-1}.fcHoursSettings .panel{padding:16px}}

/* FoodCore Schedule modern tabbed interface */
.fcHoursSettings{max-width:980px;margin:0 auto;gap:14px}.fcHoursNav{display:flex;gap:9px;overflow-x:auto;padding:4px 2px 9px;scrollbar-width:none;position:sticky;top:0;z-index:4;background:var(--bg,#f5f6f9)}.fcHoursNav::-webkit-scrollbar{display:none}.fcHoursNav button{border:1px solid #e0e3e9;background:#fff;color:#505767;border-radius:16px;padding:14px 19px;font-weight:750;white-space:nowrap;flex:none;cursor:pointer}.fcHoursNav button.active{background:#ff151b;color:#fff;border-color:#ff151b;box-shadow:0 8px 18px #ff1a2426}.fcHoursSection[hidden]{display:none!important}.fcHoursSection{border-radius:24px!important;min-width:0}.fcHoursSection .panelhead{margin-bottom:18px}.fcHours247{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f6f7f9;padding:17px;border-radius:16px;margin-bottom:14px}.fcHours247 strong,.fcHours247 small{display:block}.fcHours247 small{color:#8c94a2;margin-top:5px}.fcHoursToggle{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;width:54px;height:32px;cursor:pointer}.fcHoursToggle input{position:absolute;opacity:0;width:100%;height:100%;margin:0;z-index:2;cursor:pointer}.fcHoursToggleTrack{width:54px;height:32px;border-radius:20px;background:#cbd1da;position:relative;transition:background .18s}.fcHoursToggleTrack:after{content:'';position:absolute;background:#fff;width:26px;height:26px;border-radius:50%;left:3px;top:3px;box-shadow:0 2px 5px #0002;transition:transform .18s}.fcHoursToggle input:checked+.fcHoursToggleTrack{background:#fb191f}.fcHoursToggle input:checked+.fcHoursToggleTrack:after{transform:translateX(22px)}.fcHoursToggle input:focus-visible+.fcHoursToggleTrack{outline:3px solid #fd7d80;outline-offset:2px}.fcHoursDays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fcHoursDay{border:1px solid #e4e7eb;border-radius:18px;padding:15px;min-width:0;background:#fff}.fcHoursDayName{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.fcHoursDay.disabled .fcHoursDayTimes{opacity:.42}.fcHoursDayTimes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fcHoursDayTimes label{min-width:0}.fcHoursDayTimes label span{font-size:12px;color:#89909c;display:block;margin-bottom:5px}.fcHoursDayTimes input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #e0e4e9;border-radius:12px;padding:11px 7px;background:#f7f8fa;color:#202530}.fcHoursFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.fcHoursFields .field{min-width:0}.fcHoursFields .full{grid-column:1/-1}.fcHoursPreview{margin-top:18px;background:#f7f8fa;border-radius:18px;padding:17px}.fcHoursPreview>strong{display:block;margin-bottom:12px}.fcHoursPreview>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fcHoursPreview>div span{padding:12px 4px;text-align:center;background:white;border-radius:12px;font-weight:700}.fcHoursPreview small{display:block;color:#7b8390;margin-top:12px}.fcHoursFooter{position:sticky;bottom:0;background:linear-gradient(transparent,#f6f7f9 20%);padding:18px 0 4px;z-index:5}.fcHoursSave{width:100%;min-height:55px;border-radius:16px!important}@media(max-width:650px){.fcHoursSettings{gap:10px}.fcHoursNav{margin:0 -8px;padding-left:8px;padding-right:8px}.fcHoursNav button{padding:12px 15px;font-size:14px}.fcHoursSettings .fcHoursSection{padding:16px!important}.fcHoursDays{grid-template-columns:1fr}.fcHoursDay{padding:13px}.fcHoursFields{grid-template-columns:1fr}.fcHoursPreview>div{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* FoodCore тарифная сетка — мобильная адаптация */
.tariffCompareWrap{margin:18px 0;border:1px solid #e6e9ef;border-radius:20px;background:#fff;padding:16px;overflow:hidden;box-shadow:0 8px 22px rgba(27,36,54,.05)}
.tariffCompareHead h3{margin:0 0 6px;font-size:19px}.tariffCompareHead p{color:#64748b;margin:0 0 18px;font-size:13px}
.tariffCompareScroll{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.tariffCompareGrid{min-width:590px}.tariffCompareRow{display:grid;grid-template-columns:minmax(175px,1.8fr) repeat(3,minmax(115px,1fr));align-items:center;border-bottom:1px solid #f0f2f6;min-height:46px;gap:4px}
.tariffCompareRow>span:first-child{font-size:13px;font-weight:600;color:#334155;padding:9px 6px}.tariffCompareValue{text-align:center;font-weight:800;font-size:19px}.tariffCompareValue.yes{color:#16a34a}.tariffCompareValue.no,.tariffCompareValue.unknown{color:#94a3b8}
.tariffComparePlanHead{position:sticky;top:0;background:white;z-index:1}.tariffComparePlan{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 4px;border-radius:12px}.tariffComparePlan.current{background:#fff3e8}.tariffComparePlan strong{font-size:14px}.tariffComparePlan small{font-size:11px;color:#64748b}.tariffComparePlan em{font-size:10px;color:#ea580c;font-style:normal;font-weight:700}
.tariffCompareBottom{border:0;padding:10px 0}.tariffCompareBottom button{font-size:12px;min-height:38px;padding:7px 8px;white-space:nowrap}.tariffCompareNotice{font-size:12px;color:#64748b;margin:12px 0 0}
@media(max-width:700px){.tariffCompareWrap{padding:12px;border-radius:16px}.tariffCompareScroll{margin-right:-5px}.tariffCompareHead h3{font-size:17px}}

.tariffCompareGroup{padding:12px 8px 9px;font-weight:750;background:#f8fafc;color:#111827;border-bottom:1px solid #e5e7eb;min-width:590px}

/* FoodCore 2026-10-10 — unified subscription modern mobile service controls */
.paidServicesPanel{border-radius:22px;max-width:100%;box-sizing:border-box}
.paidServicesPanel .panelhead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.paidServicesPanel .panelhead h3{margin-bottom:4px}
.paidServicesPanel .panelhead p{max-width:40rem;line-height:1.45}
.paidServicesPanel .compactSave{border-radius:14px;min-height:46px}
.paidServicesList{gap:12px}
.paidServiceRow{grid-template-columns:50px minmax(0,1fr) auto 60px;column-gap:14px;row-gap:8px;border-radius:20px;background:linear-gradient(135deg,#fff,#f7f9fc);padding:18px;min-width:0;transition:border-color .18s,box-shadow .18s}
.paidServiceRow:has(input:checked){border-color:#fed7b7;background:linear-gradient(135deg,#fff,#fff9f4)}
.paidServiceRow:focus-within{outline:2px solid #fb923c;outline-offset:2px}
.paidServiceRow>span:nth-child(2){min-width:0}
.paidServiceRow>span:nth-child(2) b{font-size:17px;line-height:1.25}
.paidServiceRow strong{font-size:15px;white-space:normal;text-align:right;color:#475569}
.paidServiceIcon{background:#fff1e6;color:#ea580c;border-radius:16px;width:48px;height:48px}
.paidServiceRow input[type="checkbox"]{appearance:none;-webkit-appearance:none;box-sizing:border-box;position:relative;width:54px;height:32px;margin:0;border:1px solid #cbd5e1;border-radius:99px;background:#dce2e9;cursor:pointer;outline:none;grid-column:4;grid-row:1;transition:background .22s,border-color .22s;justify-self:end;flex-shrink:0}
.paidServiceRow input[type="checkbox"]::before{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:white;box-shadow:0 2px 6px #0002;transition:transform .22s}
.paidServiceRow input[type="checkbox"]:checked{background:#f97316;border-color:#f97316}
.paidServiceRow input[type="checkbox"]:checked::before{transform:translateX(22px)}
.paidServiceRow input[type="checkbox"]:focus-visible{outline:3px solid #fdba74;outline-offset:3px}
/* Quantity and branch controls retain their existing handlers. */
@media(max-width:700px){
 .paidServicesPanel .panelhead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .paidServicesPanel .panelhead p{font-size:13px;max-width:28rem}
 .paidServicesPanel .compactSave{padding:11px 14px;min-width:0}
 .paidServiceRow{display:grid;grid-template-columns:44px minmax(0,1fr) 56px;gap:8px 12px;padding:15px 14px}
 .paidServiceIcon{width:42px;height:42px;font-size:20px;grid-column:1;grid-row:1/3}
 .paidServiceRow>span:nth-child(2){grid-column:2;grid-row:1}
 .paidServiceRow strong{grid-column:2;grid-row:2;font-size:14px;text-align:left}
 .paidServiceRow input[type="checkbox"]{grid-column:3;grid-row:1/3;align-self:center;width:54px;height:32px}
 .branchServiceRow{grid-template-columns:44px minmax(0,1fr);}
 .branchServiceRow>span:nth-child(2){grid-column:2;grid-row:1}
 .branchServiceRow>strong{grid-column:2;grid-row:2}
 .branchServiceRow .branchQtyControl,.branchServiceRow .branchCostPreview,.branchServiceRow .branchApplyBtn,.branchServiceRow .branchScheduleNote{grid-column:1/-1;min-width:0}
 .servicesTotal{border-radius:16px}
}
@media(max-width:370px){.paidServicesPanel .panelhead{grid-template-columns:1fr}.paidServicesPanel .compactSave{justify-self:stretch}}

/* 2026-10-10 unified subscription billing visual refresh */
.tariffHubTabs{display:flex;gap:6px;border:1px solid #e2e6eb;border-radius:20px;padding:6px;background:#fff;max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tariffHubTabs::-webkit-scrollbar{display:none}.tariffHubTabs button{flex:1 0 auto;border-radius:14px;min-height:48px;color:#5b6574;font-size:14px;padding:10px 14px}.tariffHubTabs button.active{background:#171c27;color:#fff;box-shadow:0 5px 14px #1018271a}.billingMainCard{border:1px solid #e5eaf0;border-radius:24px;box-shadow:0 5px 22px #10182708;padding:clamp(15px,3vw,24px)}.billingMainCard>.panelhead{align-items:flex-start;gap:12px}.billingMainCard>.panelhead h3{font-size:clamp(20px,4.5vw,25px)}.billingMainCard>.panelhead p{font-size:13px;line-height:1.45;margin-top:6px}.billingReceipt{background:#f6f8fb;border:1px solid #edf0f4;border-radius:20px;padding:clamp(14px,3vw,22px);gap:15px;min-width:0}.billingReceipt>div:not(.billingPeriodRow):not(.billingPriceResult){min-width:0;align-items:baseline;gap:10px}.billingReceipt>div>span{min-width:0;overflow-wrap:anywhere}.billingReceipt>div>b{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.billingPeriodPicker{max-width:100%;min-width:0}.billingPeriodPickerButton{border-radius:16px;min-height:55px}.billingPeriodMenu{border-radius:18px;box-shadow:0 18px 38px #11182720;max-height:min(58vh,490px);overflow-y:auto}.billingPriceResult{margin-top:5px}.billingActionsMain{display:flex;justify-content:flex-end}.billingActionsMain>button{min-width:180px;min-height:52px;border-radius:16px;font-size:16px}.billingToggle{gap:14px}.tariffSummaryCard{border-radius:23px}.paidServicesPanel{border-radius:23px}.billingMainCard+.grid2 .panel{border-radius:20px}@media(max-width:600px){.tariffHubTabs button{min-width:0;font-size:13px;padding:10px 12px}.billingMainCard>.panelhead{flex-wrap:wrap}.billingReceipt>div:not(.billingPeriodRow):not(.billingPriceResult){align-items:flex-start}.billingReceipt>div>b{max-width:52%}.billingActionsMain>button{width:100%}}

/* FoodCore additional services, independent mid-cycle purchase */
.fcAddonBuyPanel{border-radius:22px}.fcAddonBuyList{display:grid;gap:10px;margin-top:16px}.fcAddonBuyRow{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f7f9fb;border:1px solid #e2e7ed;border-radius:16px;padding:15px}.fcAddonBuyRow span:first-child{min-width:0;display:grid;gap:3px}.fcAddonBuyRow small,.fcAddonHint{color:#7c8794}.fcAddonBuyButton{border-radius:12px;min-height:44px;padding:9px 14px;white-space:nowrap;background:#111827;color:white;border:0}.fcAddonBuyButton:disabled{opacity:.4}.fcAddonActive{color:#15803d;background:#e7f8ed;padding:7px 10px;border-radius:100px;font-weight:700;white-space:nowrap}.fcAddonHint{display:block;margin-top:10px}.fcAddonConfirm{display:grid;gap:13px}.fcAddonConfirm h3{margin:0}.fcAddonConfirm p{color:#758090}.fcAddonConfirm>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px;border-radius:12px;background:#f7f9fb}.fcAddonConfirm .fcAddonTotal{background:#fff2ec;color:#20242a;font-weight:800}.fcAddonConfirm .primary{min-height:50px;border-radius:14px}@media(max-width:450px){.fcAddonBuyRow{padding:12px}.fcAddonBuyButton{padding:8px 10px;font-size:13px}}

/* FoodCore: unified subscription/payment screen */
.fcUnifiedBillingTabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:6px;max-width:100%;overflow:hidden}
.fcUnifiedBillingTabs button{min-width:0;white-space:normal;font-size:clamp(12px,3.3vw,15px);line-height:1.3;min-height:48px;padding:11px 8px;border-radius:14px}
.fcUnifiedBillingPage{display:grid;gap:16px;min-width:0}
.fcUnifiedBillingPage>.tariffSummaryCard,.fcUnifiedBillingPage>.panel,.fcUnifiedBillingPage>.fcAddonBuyPanel{margin-bottom:0;min-width:0}
.fcUnifiedBillingPage>.grid2{margin:0}
.fcUnifiedBillingPage .billingMainCard{margin-bottom:0}
@media(max-width:600px){.fcUnifiedBillingPage{gap:12px}.fcUnifiedBillingTabs{gap:4px;padding:5px}.fcUnifiedBillingTabs button{font-size:12px;letter-spacing:-.1px}.fcUnifiedBillingPage .tariffSummaryCard{padding:20px;overflow-wrap:anywhere}.fcUnifiedBillingPage .billingReceipt>div{min-width:0}.fcUnifiedBillingPage .billingReceipt>div>span{min-width:0}}

/* Paid addon access status differs from renewal selection */
.fcAddonPending{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#fff1e9;color:#a34c14;font-size:13px;font-weight:750;white-space:normal;text-align:center}

/* FoodCore subscription summary – first in billing flow */
.fcUnifiedBillingPage .fcBillingTopSummary{padding:20px 23px;border-radius:22px;margin:0 0 18px;background:#121a29;color:white;box-shadow:0 8px 24px rgba(17,24,39,.08)}
.fcBillingTopSummary>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.fcBillingTopSummary small{font-size:13px;line-height:1.4;color:#b6c0cf;font-weight:650}
.fcBillingTopSummary strong{font-size:clamp(26px,5vw,38px);letter-spacing:-.025em;line-height:1.2;overflow-wrap:anywhere}
.fcBillingTopSummary span{font-size:12px;line-height:1.5;color:#c5cedb}
@media(max-width:520px){.fcUnifiedBillingPage .fcBillingTopSummary{padding:18px 19px;border-radius:19px}}

.widgetAdminTabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.widgetAdminTab{padding:12px 17px;border-radius:14px;background:#f2f4f8;border:1px solid #dfe5ec;font-weight:700;color:#182233;text-decoration:none}.widgetAdminTab:focus,.widgetAdminTab:hover{background:#111827;color:white}.widgetLoginPanel{padding:22px;margin-top:24px;border:1px solid #dfe5ec;border-radius:20px;background:#fff;display:grid;gap:20px}.widgetLoginPanel .widgetFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.widgetLoginPanel .widgetFields .full{grid-column:1/-1}@media(max-width:650px){.widgetLoginPanel .widgetFields{grid-template-columns:1fr}}

.widgetMissingWarning{padding:14px 16px;border:1px solid #f4b7b7;border-radius:14px;background:#fff4f4;color:#a32929;font-weight:650;line-height:1.5;margin-bottom:12px}

/* Information widget - clear independent action cards */
.widgetButtonCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.widgetButtonEditor{min-width:0;display:flex;flex-direction:column;gap:13px;padding:18px;border:1px solid #dfe5ee;border-radius:20px;background:#f7f9fc}.widgetButtonEditor h4{margin:0;font-size:19px;color:#202936}.widgetButtonFields{display:grid;gap:11px}.widgetActionTarget{display:grid}.widgetActionTarget [hidden]{display:none!important}.widgetButtonEditor .field{min-width:0}.widgetButtonEditor select,.widgetButtonEditor input{width:100%;min-width:0}.widgetButtonEditor select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667185' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}.widgetButtonEditor .field>span{font-weight:700}.widgetMissingWarning{display:none!important}@media(max-width:720px){.widgetButtonCards{grid-template-columns:1fr}.widgetButtonEditor{padding:14px}}
/* FoodCore desktop login — isolated to unauthenticated Admin */
body.fc-login-mode{background:#faf9f7;overflow-x:hidden}
body.fc-login-mode #pageTitle,body.fc-login-mode #pageSub{display:none!important}
body.fc-login-mode header,body.fc-login-mode .topbar,body.fc-login-mode #topbar{display:none!important}
body.fc-login-mode #content{width:100%;max-width:none!important;margin:0!important;padding:0!important}
.fc-login-shell{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:45px 20px;background:radial-gradient(ellipse at 0 70%,#fff0e5 0,transparent 38%),radial-gradient(ellipse at 100% 65%,#fff0e4 0,transparent 37%),#fcfbfa;position:relative;isolation:isolate;color:#121a28}
.fc-login-shell:before,.fc-login-shell:after{content:'';position:absolute;z-index:-1;pointer-events:none;border:1px solid rgba(249,110,65,.15);border-radius:50%;width:500px;height:500px;bottom:-220px}
.fc-login-shell:before{left:-310px}.fc-login-shell:after{right:-310px}
.fc-login-brand{display:flex;align-items:center;gap:14px}.fc-login-logo{height:60px;width:60px;border-radius:17px;background:linear-gradient(135deg,#ff702b,#fb3141);display:grid;place-items:center;color:white;font-size:37px;font-weight:900;box-shadow:0 8px 28px #f55d4930}.fc-login-brand strong{font-size:31px;letter-spacing:-.7px;display:block;line-height:1.15}.fc-login-brand small{color:#8992a1;font-size:15px}
.fc-login-card{width:min(100%,510px);border:1px solid #e9ebef;border-radius:20px;background:white;padding:36px 38px;box-shadow:0 25px 70px #1b273015}.fc-login-card h1{font-size:clamp(27px,3vw,37px);font-weight:800;letter-spacing:-.8px;margin:0 0 8px}.fc-login-card p{color:#8a94a4;margin:0 0 29px;font-size:15px}.fc-login-card form{display:grid;gap:10px}.fc-login-card label{font-size:14px;font-weight:700;margin-top:7px}.fc-login-input{border:1px solid #dce1e8;border-radius:12px;display:flex;align-items:center;padding:0 14px;height:54px;gap:11px;background:#fff}.fc-login-input:focus-within{border-color:#f46c45;box-shadow:0 0 0 4px #ff774013}.fc-login-input>span{color:#7c8798;font-size:21px}.fc-login-input input{width:100%;height:100%;border:none!important;box-shadow:none!important;background:transparent!important;outline:none!important;font-size:16px;color:#141e2c;padding:0!important}.fc-login-input input::placeholder{color:#a0a8b5}.fc-password-toggle{border:0;background:transparent!important;color:#7a8799!important;min-width:36px;width:36px;padding:0!important;margin:0!important;cursor:pointer;font-size:20px}.fc-login-submit{border:0;border-radius:12px;background:linear-gradient(100deg,#ff622b,#ff3345);color:#fff;font-size:17px;font-weight:800;min-height:55px;margin-top:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 9px 20px #ff5f2926}.fc-login-submit:disabled{opacity:.65;cursor:wait}#adminLoginError:not(:empty){background:#fff0f0;color:#bb2626;border-radius:9px;padding:10px 12px;font-size:14px}.fc-login-separator{margin:25px 0 17px;display:flex;align-items:center;gap:12px;color:#a0a8b5;font-size:13px}.fc-login-separator:before,.fc-login-separator:after{content:'';height:1px;background:#e5e8ed;flex:1}.fc-back-to-site{min-height:48px;border-radius:12px;background:#f3f5f7;color:#182233!important;text-decoration:none!important;display:flex;align-items:center;justify-content:center;font-weight:650}.fc-login-foot{font-size:13px;color:#8993a2;text-align:center}
@media(max-width:600px){.fc-login-shell{justify-content:center;padding:30px 16px;gap:20px}.fc-login-card{padding:25px 21px;border-radius:18px}.fc-login-brand strong{font-size:26px}.fc-login-logo{width:52px;height:52px;font-size:32px}}


/* FoodCore login: separate viewport layer, unaffected by admin sidebar/grid */
body.fc-login-mode{overflow:hidden!important;margin:0!important}
body.fc-login-mode #content{position:static!important;transform:none!important}
body.fc-login-mode .fc-login-shell{
 position:fixed!important;inset:0!important;z-index:10000!important;
 box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;
 height:100dvh!important;min-height:0!important;overflow-x:hidden!important;
 overflow-y:auto!important;overscroll-behavior:contain;
 margin:0!important;padding:clamp(20px,4vh,44px) 20px!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:safe center!important;gap:clamp(12px,2.4vh,25px)!important;
 transform:none!important;left:0!important;right:0!important;
}
body.fc-login-mode .fc-login-shell::before,body.fc-login-mode .fc-login-shell::after{max-width:40vw}
body.fc-login-mode .fc-login-brand{flex:0 0 auto;max-width:100%;justify-content:center}
body.fc-login-mode .fc-login-card{display:block;flex:0 0 auto;box-sizing:border-box!important;
 width:min(510px,calc(100vw - 40px))!important;max-width:100%!important;
 margin:0 auto!important;min-width:0!important;}
body.fc-login-mode .fc-login-card form,body.fc-login-mode .fc-login-input{min-width:0;max-width:100%}
body.fc-login-mode .fc-login-input input{min-width:0!important;flex:1 1 auto}
@media(max-width:600px){body.fc-login-mode .fc-login-shell{padding:18px 14px!important;gap:17px!important}
body.fc-login-mode .fc-login-card{width:100%!important;padding:24px 20px!important}}
@media(max-height:700px){body.fc-login-mode .fc-login-shell{justify-content:flex-start!important;gap:15px!important}}

/* FoodCore login visual brand/background (actual Admin SPA login screen) */
body.fc-login-mode .fc-login-shell{
 background-color:#faf9f7!important;
 background-image: url('/assets/foodcore-login-left.webp'),url('/assets/foodcore-login-right.webp'),radial-gradient(ellipse at 0 75%,#fff1e9 0,transparent 37%),radial-gradient(ellipse at 100% 70%,#fff3ec 0,transparent 38%)!important;
 background-position:left center,right center,center,center!important;
 background-size:auto 100%,auto 100%,cover,cover!important;
 background-repeat:no-repeat,no-repeat,no-repeat,no-repeat!important;
}
body.fc-login-mode .fc-login-brand-image{
 object-fit:cover!important;display:block!important;border-radius:17px!important;
 background:#080a0d!important;overflow:hidden!important;
}
@media(max-width:860px){body.fc-login-mode .fc-login-shell{
 background-image:radial-gradient(ellipse at 0 75%,#fff1e9 0,transparent 40%),radial-gradient(ellipse at 100% 70%,#fff3ec 0,transparent 40%)!important;
 background-size:cover!important;
}}

/* Restore agreed FoodCore Admin login: isolated from other layout updates */
body.fc-login-mode{background:#faf9f7;overflow-x:hidden}
body.fc-login-mode #pageTitle,body.fc-login-mode #pageSub{display:none!important}
body.fc-login-mode header,body.fc-login-mode .topbar,body.fc-login-mode #topbar{display:none!important}
body.fc-login-mode #content{width:100%;max-width:none!important;margin:0!important;padding:0!important}
.fc-login-shell{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:45px 20px;background:radial-gradient(ellipse at 0 70%,#fff0e5 0,transparent 38%),radial-gradient(ellipse at 100% 65%,#fff0e4 0,transparent 37%),#fcfbfa;position:relative;isolation:isolate;color:#121a28}
.fc-login-shell:before,.fc-login-shell:after{content:'';position:absolute;z-index:-1;pointer-events:none;border:1px solid rgba(249,110,65,.15);border-radius:50%;width:500px;height:500px;bottom:-220px}
.fc-login-shell:before{left:-310px}.fc-login-shell:after{right:-310px}
.fc-login-brand{display:flex;align-items:center;gap:14px}.fc-login-logo{height:60px;width:60px;border-radius:17px;background:linear-gradient(135deg,#ff702b,#fb3141);display:grid;place-items:center;color:white;font-size:37px;font-weight:900;box-shadow:0 8px 28px #f55d4930}.fc-login-brand strong{font-size:31px;letter-spacing:-.7px;display:block;line-height:1.15}.fc-login-brand small{color:#8992a1;font-size:15px}
.fc-login-card{width:min(100%,510px);border:1px solid #e9ebef;border-radius:20px;background:white;padding:36px 38px;box-shadow:0 25px 70px #1b273015}.fc-login-card h1{font-size:clamp(27px,3vw,37px);font-weight:800;letter-spacing:-.8px;margin:0 0 8px}.fc-login-card p{color:#8a94a4;margin:0 0 29px;font-size:15px}.fc-login-card form{display:grid;gap:10px}.fc-login-card label{font-size:14px;font-weight:700;margin-top:7px}.fc-login-input{border:1px solid #dce1e8;border-radius:12px;display:flex;align-items:center;padding:0 14px;height:54px;gap:11px;background:#fff}.fc-login-input:focus-within{border-color:#f46c45;box-shadow:0 0 0 4px #ff774013}.fc-login-input>span{color:#7c8798;font-size:21px}.fc-login-input input{width:100%;height:100%;border:none!important;box-shadow:none!important;background:transparent!important;outline:none!important;font-size:16px;color:#141e2c;padding:0!important}.fc-login-input input::placeholder{color:#a0a8b5}.fc-password-toggle{border:0;background:transparent!important;color:#7a8799!important;min-width:36px;width:36px;padding:0!important;margin:0!important;cursor:pointer;font-size:20px}.fc-login-submit{border:0;border-radius:12px;background:linear-gradient(100deg,#ff622b,#ff3345);color:#fff;font-size:17px;font-weight:800;min-height:55px;margin-top:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 9px 20px #ff5f2926}.fc-login-submit:disabled{opacity:.65;cursor:wait}#adminLoginError:not(:empty){background:#fff0f0;color:#bb2626;border-radius:9px;padding:10px 12px;font-size:14px}.fc-login-separator{margin:25px 0 17px;display:flex;align-items:center;gap:12px;color:#a0a8b5;font-size:13px}.fc-login-separator:before,.fc-login-separator:after{content:'';height:1px;background:#e5e8ed;flex:1}.fc-back-to-site{min-height:48px;border-radius:12px;background:#f3f5f7;color:#182233!important;text-decoration:none!important;display:flex;align-items:center;justify-content:center;font-weight:650}.fc-login-foot{font-size:13px;color:#8993a2;text-align:center}
@media(max-width:600px){.fc-login-shell{justify-content:center;padding:30px 16px;gap:20px}.fc-login-card{padding:25px 21px;border-radius:18px}.fc-login-brand strong{font-size:26px}.fc-login-logo{width:52px;height:52px;font-size:32px}}


/* FoodCore login: separate viewport layer, unaffected by admin sidebar/grid */
body.fc-login-mode{overflow:hidden!important;margin:0!important}
body.fc-login-mode #content{position:static!important;transform:none!important}
body.fc-login-mode .fc-login-shell{
 position:fixed!important;inset:0!important;z-index:10000!important;
 box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;
 height:100dvh!important;min-height:0!important;overflow-x:hidden!important;
 overflow-y:auto!important;overscroll-behavior:contain;
 margin:0!important;padding:clamp(20px,4vh,44px) 20px!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:safe center!important;gap:clamp(12px,2.4vh,25px)!important;
 transform:none!important;left:0!important;right:0!important;
}
body.fc-login-mode .fc-login-shell::before,body.fc-login-mode .fc-login-shell::after{max-width:40vw}
body.fc-login-mode .fc-login-brand{flex:0 0 auto;max-width:100%;justify-content:center}
body.fc-login-mode .fc-login-card{display:block;flex:0 0 auto;box-sizing:border-box!important;
 width:min(510px,calc(100vw - 40px))!important;max-width:100%!important;
 margin:0 auto!important;min-width:0!important;}
body.fc-login-mode .fc-login-card form,body.fc-login-mode .fc-login-input{min-width:0;max-width:100%}
body.fc-login-mode .fc-login-input input{min-width:0!important;flex:1 1 auto}
@media(max-width:600px){body.fc-login-mode .fc-login-shell{padding:18px 14px!important;gap:17px!important}
body.fc-login-mode .fc-login-card{width:100%!important;padding:24px 20px!important}}
@media(max-height:700px){body.fc-login-mode .fc-login-shell{justify-content:flex-start!important;gap:15px!important}}

/* FoodCore login visual brand/background (actual Admin SPA login screen) */
body.fc-login-mode .fc-login-shell{
 background-color:#faf9f7!important;
 background-image: url('/assets/foodcore-login-left.webp'),url('/assets/foodcore-login-right.webp'),radial-gradient(ellipse at 0 75%,#fff1e9 0,transparent 37%),radial-gradient(ellipse at 100% 70%,#fff3ec 0,transparent 38%)!important;
 background-position:left center,right center,center,center!important;
 background-size:auto 100%,auto 100%,cover,cover!important;
 background-repeat:no-repeat,no-repeat,no-repeat,no-repeat!important;
}
body.fc-login-mode .fc-login-brand-image{
 object-fit:cover!important;display:block!important;border-radius:17px!important;
 background:#080a0d!important;overflow:hidden!important;
}
@media(max-width:860px){body.fc-login-mode .fc-login-shell{
 background-image:radial-gradient(ellipse at 0 75%,#fff1e9 0,transparent 40%),radial-gradient(ellipse at 100% 70%,#fff3ec 0,transparent 40%)!important;
 background-size:cover!important;
}}


/* FoodCore design settings: reference controls, tenant-scoped */
.fcDesignExtras{grid-column:1/-1;display:grid;gap:15px;padding:18px;border:1px solid #e1e4e9;background:#f7f8fa;border-radius:18px;min-width:0}
.fcDesignExtras h3{margin:4px 0 0;font-size:18px}.fcDesignToggle{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;font-weight:650;color:#252b35;min-height:39px}.fcDesignSwitch{position:relative;flex-shrink:0;width:48px;height:28px}.fcDesignSwitch input{opacity:0;position:absolute;inset:0;cursor:pointer;width:100%;height:100%;z-index:2}.fcDesignSwitch i{display:block;width:48px;height:28px;background:#adb3bf;border-radius:30px;transition:background .2s}.fcDesignSwitch i:after{content:"";display:block;position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:white;transition:transform .2s}.fcDesignSwitch input:checked+i{background:#ff7900}.fcDesignSwitch input:checked+i:after{transform:translateX(20px)}.fcDesignColor{display:flex;align-items:center;gap:10px}.fcDesignColor input[type=color]{height:43px;width:72px;padding:3px;border-radius:10px;cursor:pointer}.fcDesignColor input[type=text]{flex:1;min-width:0}.fcChristmas{border:1px solid #d4dae3;border-radius:13px;padding:14px;display:grid;gap:12px;min-width:0}.fcChristmas legend{padding:0 8px;font-weight:750}.fcExtraUploadInner{border:1px dashed #bbc4d0;border-radius:12px;padding:12px;display:grid;gap:9px;background:#fff;min-width:0}.fcExtraUploadInner img{max-width:100%;max-height:110px;object-fit:contain;object-position:left}.fcExtraUploadInner input{width:100%;min-width:0}

/* Design settings: category navigation, expandable for future tabs. */
.fcDesignPage{width:100%;max-width:100%;min-width:0;display:grid;gap:16px}
.fcDesignTabs{display:flex;gap:8px;overflow-x:auto;padding:3px 1px 7px;scrollbar-width:thin}
.fcDesignTab{flex:0 0 auto;border:1px solid var(--border,#dfe3e9);border-radius:12px;padding:12px 18px;font-weight:750;background:var(--card,#fff);color:inherit;cursor:pointer;white-space:nowrap}
.fcDesignTab.active{background:#ff7900;border-color:#ff7900;color:#fff}
.fcDesignMainPanel{width:100%;box-sizing:border-box}

/* Technical appearance settings */
[data-design-panel][hidden]{display:none!important}
.fcTechnicalIntro{color:var(--text-muted,#8e96a4);margin:8px 0 20px;line-height:1.55}
.fcTechnicalGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px;margin-bottom:20px}
.fcTechnicalCard{border:1px solid var(--border,#dfe3e9);border-radius:16px;padding:16px;min-width:0}
.fcTechnicalCard h4{margin:0 0 14px;font-size:15px;line-height:1.45}
.fcTechnicalPreviews{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fcTechnicalPreviews>div{border-radius:12px;background:#f4f5f8;padding:8px;text-align:center;min-width:0}
.fcTechnicalPreviews>div.isDark{background:#20212a;color:#fff}
.fcTechnicalPreviews small{display:block;margin-bottom:5px}
.fcTechnicalPreviews img{width:100%;max-height:132px;object-fit:contain;border-radius:10px}
.fcTechnicalFiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.fcTechnicalFiles label{font-size:12px;min-width:0}
.fcTechnicalFiles input{display:block;margin-top:6px;width:100%;font-size:11px}
.fcTechnicalCardActions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.fcTechnicalCardActions span{font-size:12px;color:var(--text-muted,#8e96a4)}

/* FoodCore 2026-10-10: admin sidebar badge for Design page */
.navbtn{position:relative}
.navbtnLabel{font:inherit;font-weight:inherit;color:inherit;display:inline-block}
.navPill{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;font-size:11px;line-height:1.1;font-weight:700;letter-spacing:.02em;white-space:nowrap}
.navPill--dev{background:rgba(255,121,0,.16);color:#ff9b3d;border:1px solid rgba(255,121,0,.28)}
.navbtn.active .navPill--dev,.navbtn:hover .navPill--dev{background:rgba(255,121,0,.22);color:#ffc183;border-color:rgba(255,121,0,.4)}
@media (max-width:980px){.navbtn{gap:12px}.navPill{font-size:10px;padding:4px 7px}}

/* FoodCore Admin notification bell */
.fcBellHost{position:relative;flex:0 0 auto}.fcBellTrigger{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:13px;background:#f0f2f5;color:#27303b;cursor:pointer}.fcBellTrigger svg{width:23px;height:23px}.fcBellTrigger:hover{background:#e5e9ee}.fcBellCounter{position:absolute;right:-5px;top:-7px;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#ef2b2d;color:white;font-size:11px;font-weight:800}.fcBellCounter[hidden],.fcBellPanel[hidden]{display:none!important}.fcBellPanel{position:absolute;z-index:250;right:-58px;top:calc(100% + 12px);width:min(420px,calc(100vw - 24px));background:#fff;color:#27303b;border:1px solid #e0e5eb;border-radius:20px;box-shadow:0 18px 55px #20242a38;overflow:hidden}.fcBellHead{padding:16px 18px 11px;display:flex;align-items:center;justify-content:space-between}.fcBellHead b{font-size:20px}.fcBellHead button{border:0;background:#f0f2f5;border-radius:50%;width:29px;height:29px;font-size:22px;color:#586576}.fcBellTabs{display:flex;gap:3px;overflow-x:auto;padding:0 12px 12px;border-bottom:1px solid #edf0f3}.fcBellTab{border:0;border-radius:10px;background:transparent;color:#667386;padding:8px 10px;font-size:12px;font-weight:750;white-space:nowrap}.fcBellTab.active{background:#fff0eb;color:#d84b11}.fcBellList{overflow:auto;max-height:min(55vh,480px);overscroll-behavior:contain}.fcBellItem{display:flex;gap:11px;align-items:flex-start;border:0;border-bottom:1px solid #eef1f4;background:white;padding:12px 15px;width:100%;text-align:left;color:#27303b;cursor:pointer}.fcBellItem.unread{background:#fff9f5}.fcBellMarker{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:10px;background:#f0f3f7;font-size:19px}.fcBellItemBody{display:grid;gap:4px;min-width:0;flex:1}.fcBellItemBody b{font-size:13px;line-height:1.35}.fcBellItemBody small{color:#647184;font-size:12px;overflow-wrap:anywhere}.fcBellItemBody time{color:#8a95a5;font-size:10px}.fcBellItem>i{width:8px;height:8px;flex:0 0 8px;background:#f46a2a;border-radius:50%;margin-top:9px}.fcBellEmpty{margin:0;text-align:center;padding:42px 18px;color:#758194;font-size:13px}.fcBellFoot{display:flex;justify-content:flex-end;padding:10px 15px;border-top:1px solid #edf0f3}.fcBellFoot button{background:none;border:0;color:#da5b21;font-weight:800;font-size:12px;cursor:pointer}@media(max-width:700px){.fcBellTrigger{width:38px;height:38px}.fcBellPanel{position:fixed;top:calc(72px + env(safe-area-inset-top,0px));left:12px;right:12px;width:auto;max-width:none}.fcBellTabs{padding:0 8px 10px}.fcBellTab{padding:8px}.fcBellList{max-height:60dvh}}

/* FoodCore 4.11.36 — метка КБЖУ в карточке товара */
.product-admin-info{min-width:0}.product-admin-titleLine{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.product-admin-titleLine b{font-size:18px;line-height:1.25}.productNutritionBadge{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;background:#fff4dc;color:#9a6500;border:1px solid #f1d28c;font-size:12px;font-weight:800;letter-spacing:.02em;white-space:nowrap}#content .product-admin-info small{display:block;color:var(--muted);margin-top:6px;line-height:1.35}@media(max-width:700px){.product-admin-titleLine{gap:6px}.productNutritionBadge{padding:3px 9px;font-size:11px}}

/* FoodCore 3.1.38: КБЖУ рядом с переключателем, фиксированная позиция */
.product-admin-row>.rowactions>.productNutritionBadge{white-space:nowrap;justify-self:end;margin-right:4px;}
@media(max-width:700px){.product-admin-row>.rowactions>.productNutritionBadge{grid-column:2;grid-row:1;margin-right:64px;align-self:center}.product-admin-row>.rowactions>.productActiveSwitch{grid-column:2;grid-row:1;justify-self:end}}

/* FoodCore staff management */
.fcEmployeesPanel .panelhead{flex-wrap:wrap}.fcStaffInfo{font-size:13px;color:#77818c;line-height:1.5;margin:8px 0 16px!important}.fcEmployeeCard{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px;border:1px solid #e5e8ee;border-radius:14px;margin:10px 0}.fcEmployeeCard b,.fcEmployeeCard small{display:block}.fcEmployeeCard small{margin-top:4px;color:#7e8795}.fcEmployeeActions{display:flex;gap:8px}.fcEmployeePermissions{max-height:42vh;overflow:auto}.fcEmployeePermissions details{border:1px solid #e4e8ef;border-radius:12px;margin:8px 0;padding:12px}.fcEmployeePermissions summary{font-weight:750;cursor:pointer}.fcEmployeePermission{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 2px}.fcEmployeePermission select{width:145px;max-width:48%;border:1px solid #dce1e6;border-radius:9px;padding:8px}.fcEmployeeActive{display:flex;justify-content:space-between;align-items:center;padding:13px;margin:15px 0;border-radius:12px;background:#f3f5f8}.fcEmployeeActive input{width:22px;height:22px;accent-color:#ed2628}#fcEmployeeModal{max-height:94dvh;overflow:auto}#fcEmployeeModal form{padding:22px}#fcEmployeeModal h2{margin:0 0 20px}@media(max-width:600px){.fcEmployeeCard{align-items:flex-start;flex-direction:column}.fcEmployeeActions{width:100%}.fcEmployeeActions button{flex:1}}

/* 2026-10-11: Fix long product editor scroll in desktop/mobile dialog.
   The dialog is bounded, the form must be a flex column and the body a scrollport. */
#modal.fcProductEditorDialog[open]{display:block!important;overflow:hidden!important;height:min(94dvh,950px);max-height:94dvh;}
#modal.fcProductEditorDialog[open]>form{display:flex!important;flex-direction:column!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;padding:0!important;}
#modal.fcProductEditorDialog[open] #modalTitle{flex:0 0 auto!important;}
#modal.fcProductEditorDialog[open] #modalBody{flex:1 1 auto!important;height:auto!important;max-height:none!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;}
#modal.fcProductEditorDialog[open] .fcProductEditor{padding-bottom:16px;}
@media(max-width:700px){#modal.fcProductEditorDialog[open]{height:100dvh!important;max-height:100dvh!important;border-radius:0!important;}#modal.fcProductEditorDialog[open]>form{height:100dvh!important;max-height:100dvh!important;}}

/* FoodCore Admin: aligned product table columns, 2026-10-11. Only products. */
#content .product-grid-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,190px) minmax(315px,350px);align-items:center;gap:0;padding:10px 14px 10px 100px;margin:0 0 6px;background:#f5f7fa;border:1px solid #e6ebf1;border-radius:12px;color:#657181;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.045em}
#content .product-grid-head span:nth-child(2){text-align:center;border-left:1px solid #dde3eb;padding:4px}
#content .product-admin-row{display:grid;grid-template-columns:72px minmax(0,1fr) minmax(145px,190px) minmax(315px,350px);column-gap:14px;align-items:center;padding:10px 14px;background:#fff;border:1px solid #e4e9ef;border-radius:12px;min-width:0}
#content .product-admin-row .product-admin-info{min-width:0}
#content .product-admin-row .product-admin-price{display:flex;align-items:center;justify-content:center;min-height:56px;height:100%;text-align:center;padding:5px 12px;border-left:1px solid #e5eaf0;border-right:1px solid #e5eaf0;min-width:0}
#content .product-admin-row .product-admin-price strong{font-size:15px;white-space:normal;line-height:1.4}
#content .product-admin-row>.rowactions{display:flex;justify-content:flex-end;align-items:center;gap:9px;min-width:0;flex-wrap:nowrap}
#content .product-admin-row>.rowactions button{white-space:nowrap}
#content .product-admin-row>.rowactions .productNutritionBadge{margin-right:0}
@media(max-width:1150px){
 #content .product-grid-head{display:none}
 #content .product-admin-row{grid-template-columns:64px minmax(0,1fr) minmax(130px,180px);row-gap:8px}
 #content .product-admin-row .product-admin-thumb{grid-column:1;grid-row:1}
 #content .product-admin-row .product-admin-info{grid-column:2;grid-row:1}
 #content .product-admin-row .product-admin-price{grid-column:3;grid-row:1;border-right:0}
 #content .product-admin-row>.rowactions{grid-column:2/4;grid-row:2;justify-content:flex-end;display:flex!important;width:auto}
}
@media(max-width:620px){
 #content .product-admin-row{grid-template-columns:56px minmax(0,1fr) minmax(90px,110px);column-gap:8px;padding:10px}
 #content .product-admin-row .product-admin-price{padding:5px 6px}
 #content .product-admin-row .product-admin-price strong{font-size:13px}
 #content .product-admin-row>.rowactions{grid-column:1/-1;grid-row:2;gap:7px;justify-content:flex-end;flex-wrap:wrap}
 #content .product-admin-row>.rowactions button{padding:7px 9px}
}

/* FoodCore product price centered in the CONTENT area independent of sidebar and long titles. */
@media (min-width: 761px) {
  #content .product-admin-row {
    display:grid;
    grid-template-columns:72px minmax(0, calc(50% - 152px)) 160px minmax(0,1fr);
    column-gap:0;
    align-items:center;
    box-sizing:border-box;
    min-width:0;
  }
  #content .product-admin-row .product-admin-thumb {grid-column:1;min-width:0;margin-right:12px;}
  #content .product-admin-row .product-admin-info {grid-column:2;min-width:0;overflow-wrap:anywhere;word-break:normal;padding-right:12px;}
  #content .product-admin-row .product-admin-titleLine,
  #content .product-admin-row .product-admin-titleLine b {min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
  #content .product-admin-row .product-admin-price {grid-column:3;grid-row:1;width:100%;height:100%;min-height:65px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-left:1px solid #e5eaf0;border-right:1px solid #e5eaf0;text-align:center;}
  #content .product-admin-row>.rowactions {grid-column:4;grid-row:1;display:flex!important;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex-wrap:wrap;padding-left:9px;width:auto;box-sizing:border-box;}
  #content .product-grid-head {display:grid;grid-template-columns:minmax(0,calc(50% - 80px)) 160px minmax(0,1fr);gap:0;padding:10px 14px;margin:0 0 6px;box-sizing:border-box;}
  #content .product-grid-head span:nth-child(2) {text-align:center;}
}
@media (max-width: 760px) {
  #content .product-admin-row {display:grid;grid-template-columns:56px minmax(0,1fr) minmax(90px,110px);gap:8px;padding:10px;}
  #content .product-admin-row .product-admin-info {min-width:0;overflow-wrap:anywhere;}
  #content .product-admin-row .product-admin-titleLine b {white-space:normal;overflow-wrap:anywhere;}
  #content .product-admin-row .product-admin-price {grid-column:3;grid-row:1;min-width:0;}
  #content .product-admin-row>.rowactions {grid-column:1/-1;grid-row:2;flex-wrap:wrap;justify-content:flex-end;}
}

/* 2026-10-11: keep thumbnail and title in separate non-overlapping tracks.
   Price stays centered in the WORK AREA, unaffected by title length. */
@media (min-width:761px) {
  #content .product-admin-row {
    grid-template-columns:100px minmax(0,calc(50% - 180px)) 160px minmax(0,1fr);
    column-gap:0;
  }
  #content .product-admin-row .product-admin-thumb {
    grid-column:1;
    grid-row:1;
    width:72px;
    height:72px;
    margin:0;
    justify-self:start;
    box-sizing:border-box;
  }
  #content .product-admin-row .product-admin-info {
    grid-column:2;
    grid-row:1;
    min-width:0;
    max-width:100%;
    padding:0 16px 0 0;
    margin:0;
    overflow:hidden;
    box-sizing:border-box;
    align-self:center;
  }
  #content .product-admin-row .product-admin-titleLine,
  #content .product-admin-row .product-admin-titleLine b {
    display:block;
    min-width:0;
    max-width:100%;
    white-space:normal;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:auto;
  }
  #content .product-admin-row .product-admin-info small {white-space:normal;overflow-wrap:break-word;}
  #content .product-admin-row .product-admin-price {grid-column:3;grid-row:1;}
  #content .product-admin-row>.rowactions {grid-column:4;grid-row:1;}
  #content .product-grid-head {grid-template-columns:minmax(0,calc(50% - 80px)) 160px minmax(0,1fr);}
}
@media (max-width:760px) {
  #content .product-admin-row .product-admin-thumb {width:56px;height:56px;margin:0;}
  #content .product-admin-row .product-admin-info {min-width:0;margin:0;padding-right:8px;overflow:hidden;}
  #content .product-admin-row .product-admin-titleLine b {white-space:normal;overflow-wrap:break-word;word-break:normal;}
}

.fcSiteBgEditor{display:grid;gap:18px;max-width:900px}.fcSiteBgPreview{height:300px;border-radius:20px;border:1px solid #cbd5e1;background:#242b35 center/cover no-repeat;display:grid;place-items:center;color:#fff;overflow:hidden}.fcSiteBgActions{display:flex;gap:10px;flex-wrap:wrap}.fcDesignPage [data-design-panel][hidden]{display:none!important}

/* Admin preview and image size recommendation */
.fcSiteBgGuide{display:grid;gap:6px;margin:0 0 14px;padding:14px 16px;background:rgba(244,147,45,.08);border:1px solid rgba(244,147,45,.20);border-radius:14px}
.fcSiteBgGuide b{font-size:14px}
.fcSiteBgGuide small{color:#64748b;line-height:1.5}
.fcSiteBgPreview{background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;background-color:#19202a!important}

.fcSiteHeaderBgPreview{aspect-ratio: 1920 / 300;min-height:140px;max-height:260px;background-size:cover!important;background-position:center!important}


/* 2026-10-11 fix layout of site background admin blocks */
.fcSiteBgEditor{display:grid;gap:20px;max-width:980px}
.fcSiteBgSection{display:grid;gap:16px;padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 6px 20px rgba(15,23,42,.04)}
.fcSiteBgSectionHead{display:grid;gap:6px}
.fcSiteBgSectionHead h4{margin:0;font-size:18px;line-height:1.25}
.fcSiteBgSectionHead p{margin:0;color:#64748b;line-height:1.5}
.fcSiteBgActions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-start;margin-top:2px}
.fcSiteBgActions .primary,.fcSiteBgActions .secondary{min-height:40px}
@media (max-width:760px){.fcSiteBgSection{padding:14px;border-radius:14px}.fcSiteBgSectionHead h4{font-size:16px}}

/* Header-background editor: exactly the same bounded preview layout as site background. */
.fcDesignPage,
.fcDesignPage [data-design-panel="sitebg"],
.fcDesignPage [data-design-panel="sitebg"] .fcSiteBgEditor,
.fcDesignPage [data-design-panel="sitebg"] .fcSiteBgSection {
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
}
.fcDesignPage [data-design-panel="sitebg"] .fcSiteBgEditor {
  grid-template-columns:minmax(0,1fr)!important;
  overflow:hidden!important;
}
.fcDesignPage [data-design-panel="sitebg"] .fcSiteBgSection {
  grid-template-columns:minmax(0,1fr)!important;
  overflow:hidden!important;
}
.fcDesignPage [data-design-panel="sitebg"] .fcSiteBgGuide,
.fcDesignPage [data-design-panel="sitebg"] .fcSiteBgSectionHead,
.fcDesignPage [data-design-panel="sitebg"] .field,
.fcDesignPage [data-design-panel="sitebg"] .fcSiteBgActions {
  min-width:0!important;
  max-width:100%!important;
}
.fcDesignPage [data-design-panel="sitebg"] .fcSiteBgPreview,
.fcDesignPage [data-design-panel="sitebg"] .fcSiteHeaderBgPreview {
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:300px!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  border-radius:20px!important;
}
.fcDesignPage [data-design-panel="sitebg"] input[type="file"]{box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:100%!important}
@media(max-width:760px){
 .fcDesignPage [data-design-panel="sitebg"] .fcSiteBgPreview,
 .fcDesignPage [data-design-panel="sitebg"] .fcSiteHeaderBgPreview {height:210px!important;border-radius:16px!important}
}


/* FoodCore: современная плашка пробного периода и приветственного бонуса */
.fc-welcome-banner{display:block!important;padding:24px 26px!important;margin:0 0 20px!important;border:1px solid #dedfe3!important;border-radius:24px!important;background:#fff!important;box-shadow:0 10px 32px rgba(17,24,39,.05)!important;color:#121826!important;overflow:hidden;max-width:100%;}
.fc-welcome-banner__intro{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;}
.fc-welcome-banner__eyebrow{font-size:18px;font-weight:500;letter-spacing:0;color:#6b7280;}
.fc-welcome-banner__status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 16px;background:#dff2e2;color:#347f46;font-size:18px;font-weight:600;white-space:nowrap;}
.fc-welcome-banner__headline{font-size:26px;font-weight:800;letter-spacing:-.03em;line-height:1.15;color:#111827;margin-bottom:20px;}
.fc-welcome-banner__period{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:22px;}
.fc-welcome-banner__days{font-size:62px;font-weight:900;letter-spacing:-.06em;line-height:.95;color:#111827;white-space:nowrap;}
.fc-welcome-banner__period-note{font-size:26px;line-height:1.1;font-weight:500;color:#6b7280;padding-bottom:8px;}
.fc-welcome-banner__gift{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start;background:#edf5ee;border:2px solid #c2e3c8;border-radius:22px;padding:20px 22px;color:#2f6f3f;margin-bottom:22px;}
.fc-welcome-banner__gift-icon{display:grid;place-items:center;width:44px;height:44px;color:#2f6f3f;}
.fc-welcome-banner__gift-icon svg{width:32px;height:32px;display:block;}
.fc-welcome-banner__gift>div{display:flex;flex-direction:column;gap:8px;min-width:0;}
.fc-welcome-banner__gift strong{font-size:26px;font-weight:800;line-height:1.15;color:#2f6f3f;}
.fc-welcome-banner__gift span:not(.fc-welcome-banner__gift-icon){font-size:22px;line-height:1.35;color:#1f2937;}
.fc-welcome-banner__button{display:block;width:100%;min-height:76px;border:0;border-radius:999px;background:#111111;color:#fff;font-size:24px;font-weight:700;letter-spacing:-.02em;padding:18px 24px;cursor:pointer;}
.fc-welcome-banner__button:hover{transform:translateY(-1px);}
.fc-welcome-banner--active .fc-welcome-banner__gift{background:#eef6ff;border-color:#d6e6ff;color:#1f4f8d;}
.fc-welcome-banner--active .fc-welcome-banner__gift strong{color:#1f4f8d;}
@media(max-width:900px){.fc-welcome-banner{padding:20px 20px!important;}.fc-welcome-banner__eyebrow{font-size:16px;}.fc-welcome-banner__status{font-size:16px;padding:7px 14px;}.fc-welcome-banner__headline{font-size:24px;}.fc-welcome-banner__days{font-size:52px;}.fc-welcome-banner__period-note{font-size:22px;padding-bottom:6px;}.fc-welcome-banner__gift strong{font-size:22px;}.fc-welcome-banner__gift span:not(.fc-welcome-banner__gift-icon){font-size:18px;}.fc-welcome-banner__button{min-height:64px;font-size:20px;}}
@media(max-width:700px){.fc-welcome-banner{padding:16px!important;border-radius:20px!important;}.fc-welcome-banner__intro{margin-bottom:8px;}.fc-welcome-banner__eyebrow{font-size:14px;}.fc-welcome-banner__status{font-size:14px;padding:6px 12px;}.fc-welcome-banner__headline{font-size:20px;margin-bottom:14px;}.fc-welcome-banner__period{gap:8px;align-items:baseline;margin-bottom:16px;}.fc-welcome-banner__days{font-size:40px;line-height:1;}.fc-welcome-banner__period-note{font-size:18px;padding-bottom:0;}.fc-welcome-banner__gift{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:14px;border-radius:18px;margin-bottom:16px;}.fc-welcome-banner__gift-icon{width:36px;height:36px;}.fc-welcome-banner__gift-icon svg{width:24px;height:24px;}.fc-welcome-banner__gift strong{font-size:18px;}.fc-welcome-banner__gift span:not(.fc-welcome-banner__gift-icon){font-size:15px;}.fc-welcome-banner__button{min-height:54px;font-size:18px;padding:14px 18px;}}

/* Личный профиль Admin */
.fcProfileDialog{width:min(520px,calc(100vw - 26px));max-height:92dvh;overflow:auto;border:1px solid #e4e8ee;border-radius:24px;padding:0;background:#fff;color:#1c2532;box-shadow:0 22px 90px #12182640}
.fcProfileDialog::backdrop{background:#080c15a6;backdrop-filter:blur(3px)}
.fcProfileDialog form{margin:0;padding:0}.fcProfileTop{padding:24px 26px 18px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #eef0f4}.fcProfileTop span{color:#ff762d;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.fcProfileTop h2{margin:4px 0 5px;font-size:27px}.fcProfileTop p{color:#75808f;margin:0;font-size:14px}.fcProfileTop button{flex:0 0 36px;align-self:flex-start;width:36px;height:36px;background:#f1f3f5;border:0;border-radius:11px;font-size:25px;color:#515a65}.fcProfileBody{display:grid;gap:16px;padding:22px 26px 26px}.fcProfileBody label{display:grid;gap:7px;font-size:14px;font-weight:750}.fcProfileBody label small{font-size:12px;font-weight:500;color:#7c8795}.fcProfileBody input{width:100%;height:48px;box-sizing:border-box;border:1px solid #dce1e8;border-radius:13px;padding:0 14px;font:inherit;font-weight:500;color:#19212d;background:#fafbfc}.fcProfileBody input:focus{outline:2px solid #ff914d;outline-offset:1px}.fcProfileHint{font-size:12px;color:#7c8795;margin-top:-8px}.fcProfileDivider{height:1px;background:#e9edf2;margin:2px 0}.fcProfileSave{width:100%;min-height:50px;border:0;border-radius:14px;background:#191d24;color:white;font-size:15px;font-weight:800;cursor:pointer}.fcProfileSave:disabled{opacity:.6}
@media(max-width:600px){.fcProfileTop{padding:20px 18px 16px}.fcProfileBody{padding:18px}.fcProfileTop h2{font-size:24px}}

/* FoodCore Admin: compact tenant-local customer counter in sidebar */
.navbtn .fcCustomerNavCount{margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:34px;max-width:100px;padding:5px 10px;border-radius:10px;background:#353a43;color:#e4e7eb;border:1px solid #444a55;font-size:12px;font-weight:750;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:0;white-space:nowrap}
.navbtn .fcCustomerNavCount[hidden]{display:none!important}
.navbtn.active .fcCustomerNavCount{background:#555b65;color:#fff;border-color:#686f79}
.navbtn:hover .fcCustomerNavCount{background:#454c56;color:#fff}
@media(max-width:980px){.navbtn .fcCustomerNavCount{padding:5px 9px;font-size:12px}}

.fcPubForm .formgrid{margin-top:18px}.fcPubForm input,.fcPubForm textarea{max-width:100%}.fcPubStatus{background:#eef6f0;border-radius:14px;padding:12px 16px;margin:12px 0}.fcPubPreview{display:block;width:96px;height:96px;object-fit:contain;border-radius:18px;margin-top:12px}.fcPubShots{display:flex;gap:10px;flex-wrap:wrap}.fcPubShots img{width:70px;height:126px;object-fit:cover;border-radius:10px}.fcPubHelp{color:#78818d;font-size:13px;line-height:1.5}.fcPubLinks{margin-top:16px}

/* 2026-10-12 — mobile drawer: leave a touchable area to dismiss it. */
@media (max-width:768px){
  #sidebar, .shell>aside{
    width:calc(100vw - 56px)!important;
    max-width:calc(100vw - 56px)!important;
    left:calc(-100vw + 56px)!important;
  }
  #sidebar.open, .shell>aside.open{
    left:0!important;
    width:calc(100vw - 56px)!important;
    max-width:calc(100vw - 56px)!important;
  }
  #sidebar .navbtn{min-width:0;}
  #sidebar .navbtn>*{min-width:0;}
}

/* Publication console sections */
.fcPubConsole{padding:22px!important}.fcPubTabs{display:flex;gap:8px;overflow-x:auto;padding:6px 0 16px;margin:14px 0 18px;scrollbar-width:thin}.fcPubTabs button{flex:0 0 auto;border:1px solid #e2e7ed;background:#f3f5f8;color:#535d6b;border-radius:999px;padding:12px 18px;font-weight:700}.fcPubTabs button.active{background:#181d25;color:#fff;border-color:#181d25}.fcPubConsole [data-pub-panel][hidden]{display:none!important}.fcPubConsole [data-pub-panel] h3{font-size:20px;margin-bottom:5px}.fcPubExplain{color:#7c8796;margin:0 0 16px;line-height:1.5}.fcPubCounter{display:block;color:#8b96a4;font-size:12px;margin-top:3px}.fcPubActions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px}.fcPubActions button{min-height:44px;border-radius:12px}.fcPubToggleGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.fcPubToggle{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f6f8fa;border:1px solid #e4e9ef;border-radius:14px;padding:12px}.fcPubToggle input{appearance:auto;min-width:20px;min-height:20px}.fcPubConsole .fcPubShots{margin:10px 0;max-width:100%;overflow:auto}.fcPubConsole .fcPubShots img{flex:0 0 auto}@media(max-width:700px){.fcPubConsole{padding:14px!important}.fcPubTabs button{padding:10px 12px}.fcPubToggleGrid{grid-template-columns:1fr}.fcPubActions{display:grid;grid-template-columns:1fr 1fr}.fcPubActions #fcPubSend{grid-column:1/-1}}

/* FoodCore notification center: category unread counters and readable detail dialog */
.fcBellTab{display:inline-flex;align-items:center;gap:6px}
.fcBellTabCount{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:999px;background:#e9edf3;color:#4b5563;font-size:10px;font-weight:800;padding:0 5px}
.fcBellTab.active .fcBellTabCount{background:#f6c8b7;color:#a63b15}
.fcBellTabCount[hidden]{display:none!important}
.fcBellDetailOverlay{position:fixed;z-index:10050;inset:0;background:rgba(14,22,35,.58);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.fcBellDetail{width:min(100%,520px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#232b39;border-radius:22px;box-shadow:0 22px 75px rgba(0,0,0,.22);padding:25px;box-sizing:border-box}
.fcBellDetailTop{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#d95020;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.fcBellDetailClose{width:38px;height:38px;border:0;border-radius:12px;background:#f0f3f7;color:#334155;font-size:26px;cursor:pointer}
.fcBellDetail h2{font-size:24px;line-height:1.2;margin:17px 0 10px;overflow-wrap:anywhere}
.fcBellDetail time{color:#8290a2;font-size:12px}
.fcBellDetailBody{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:15px;color:#3f4b5c;border-top:1px solid #e8edf3;margin-top:20px;padding-top:20px;max-height:52dvh;overflow:auto}
.fcBellDetailActions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}
.fcBellDetailActions button{border:0;border-radius:12px;min-height:44px;padding:0 17px;font-weight:750;cursor:pointer}
.fcBellDetailGo{background:#ee4d22;color:white}.fcBellDetailDone{background:#edf0f4;color:#293344}
@media(max-width:700px){.fcBellDetailOverlay{align-items:flex-end;padding:10px 10px max(12px,env(safe-area-inset-bottom,0px))}.fcBellDetail{border-radius:22px;padding:22px 18px;max-height:85dvh}.fcBellDetail h2{font-size:21px}}

/* Bell notifications: compact previews, full text is shown only in detail dialog */
.fcBellItemBody small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;line-height:1.45;max-height:2.9em}

.fcPartnerItem{background:#f7f9fc;border:1px solid #dbe3ee;border-radius:18px;padding:16px;margin:14px 0;display:grid;gap:10px}.fcPartnerItem small{color:#718096}.fcPartnerItem textarea,.fcPartnerThread textarea{width:100%;box-sizing:border-box;border:1px solid #dbe3ee;border-radius:12px;padding:12px}.fcPartnerMessage{padding:10px 12px;background:#fff;border-radius:12px;border:1px solid #e3e7ed;margin:6px 0}.fcPartnerItem p{overflow-wrap:anywhere}

/* Consolidated finance navigation (read-only overview; existing payment flows retained) */
.fcBalanceHub{display:grid;gap:16px}.fcBalanceHero{background:linear-gradient(135deg,#1b2028,#353a43);color:white;border-radius:20px;padding:24px}.fcBalanceHero>span{font-size:11px;letter-spacing:.12em;color:#ffad8c;font-weight:800}.fcBalanceHero h2{margin:10px 0 6px;font-size:26px;color:white}.fcBalanceHero p{margin:0;color:#d3d8df}.fcBalanceTabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.fcBalanceTabs button{white-space:nowrap;padding:12px 15px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#333;font-weight:700}.fcBalanceTabs button.active{background:#242931;color:#fff;border-color:#242931}.fcBalanceStats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fcBalanceStat{background:#fff;border:1px solid #e6e9ee;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:10px}.fcBalanceStat>span{color:#606b79;font-size:14px}.fcBalanceStat strong{font-size:27px;overflow-wrap:anywhere}.fcBalanceStat small{color:#7f8996}.fcBalanceNotice{background:#fff;border:1px solid #e5e7eb;border-left:4px solid #ef6a35;border-radius:16px;padding:18px}.fcBalanceNotice p{color:#646c78;margin:8px 0 0;line-height:1.5}.fcBalanceActions{display:flex;flex-wrap:wrap;gap:10px}.fcBalanceActions button{padding:13px 18px}@media(max-width:650px){.fcBalanceStats{grid-template-columns:1fr}.fcBalanceHero{padding:18px}.fcBalanceHero h2{font-size:22px}.fcBalanceActions button{width:100%}}


/* FoodCore unified billing payment modal */
.fcUnifiedPayModal{display:grid;gap:16px}.fcUnifiedPayHero{background:linear-gradient(135deg,#181d24,#353b46);color:#fff;border-radius:22px;padding:22px;display:grid;gap:8px}.fcUnifiedPayHero small{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#ffb197;font-weight:800}.fcUnifiedPayHero h3{margin:0;font-size:28px;color:#fff}.fcUnifiedPayHero p{margin:0;color:#d9dee6;line-height:1.45}.fcUnifiedPayHero strong{font-size:34px;line-height:1.05}.fcUnifiedPayHero span{color:#ffcfbf;font-weight:600}.fcUnifiedPaySummary{display:grid;gap:10px;border:1px solid #e6eaf0;background:#f8fafc;border-radius:18px;padding:16px}.fcUnifiedPaySummary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.fcUnifiedPaySummary span{color:#687281}.fcUnifiedPaySummary b{font-size:17px;color:#1d2430}.fcUnifiedPaySummary .total{margin-top:4px;padding-top:12px;border-top:1px solid #dde3ea}.fcUnifiedPaySummary .total span,.fcUnifiedPaySummary .total b{color:#111827;font-size:19px}.fcUnifiedPaySaved{border:1px solid #dbe7d3;background:#f3fbf1;border-radius:18px;padding:15px 16px;display:grid;gap:4px}.fcUnifiedPaySaved b{color:#1f6f3b}.fcUnifiedPaySaved small{color:#61736b}.fcUnifiedPayOptions{display:grid;gap:12px}.fcUnifiedPayBtn{width:100%;text-align:left;border-radius:18px;padding:17px 18px;display:grid;gap:4px;border:1px solid #dfe5ee;background:#fff;cursor:pointer;transition:.18s transform ease,.18s box-shadow ease,.18s border-color ease}.fcUnifiedPayBtn span{font-size:18px;font-weight:800;color:#121826}.fcUnifiedPayBtn small{color:#6b7280;font-size:13px;line-height:1.4}.fcUnifiedPayBtn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(17,24,39,.08)}.fcUnifiedPayBtn.primary{background:#ff2f35;border-color:#ff2f35}.fcUnifiedPayBtn.primary span,.fcUnifiedPayBtn.primary small{color:#fff}.fcUnifiedPayBtn.secondary{background:#fff}.fcUnifiedPayBtn:disabled{opacity:.65;cursor:default;transform:none;box-shadow:none}.fcUnifiedPayRemember{display:flex;gap:12px;align-items:flex-start;border:1px solid #e5e7eb;border-radius:16px;padding:14px 16px;background:#fff}.fcUnifiedPayRemember input{margin-top:2px}.fcUnifiedPayRemember span{display:grid;gap:2px}.fcUnifiedPayRemember b{font-size:15px}.fcUnifiedPayRemember small{color:#6b7280}.fcUnifiedPayFooter{display:flex;justify-content:flex-end}.fcUnifiedPayFooter .secondary{min-width:130px}@media(max-width:640px){.fcUnifiedPayHero{padding:18px}.fcUnifiedPayHero h3{font-size:23px}.fcUnifiedPayHero strong{font-size:29px}.fcUnifiedPayBtn span{font-size:16px}.fcUnifiedPayFooter{justify-content:stretch}.fcUnifiedPayFooter .secondary{width:100%}}
.fcUnifiedPayNotice{padding:14px 16px;background:#fff2f0;color:#963b26;border:1px solid #f5c5b9;border-radius:14px;line-height:1.45;font-weight:650}.fcUnifiedPayNotice[hidden]{display:none!important}

.billingPeriodNative{display:block;width:100%;min-height:56px;border:1px solid #d9e0e9;border-radius:15px;background:#fff;color:#1e2632;font:inherit;font-weight:700;padding:12px 16px;appearance:auto;position:relative;z-index:2} .billingPeriodRow{overflow:visible!important}.fcUnifiedBillingTabs button{cursor:pointer;pointer-events:auto}

.fc-welcome-banner--danger{border-color:#f7c2c2!important;box-shadow:0 10px 32px rgba(220,38,38,.08)!important;}
.fc-welcome-banner--danger .fc-welcome-banner__status{background:#fde8e8;color:#c62828;}
.fc-welcome-banner--danger .fc-welcome-banner__days,.fc-welcome-banner--danger .fc-welcome-banner__headline{color:#c62828;}
.fc-welcome-banner--danger .fc-welcome-banner__gift{background:#fff1f1;border-color:#f4b7b7;color:#b42318;}
.fc-welcome-banner--danger .fc-welcome-banner__gift-icon,.fc-welcome-banner--danger .fc-welcome-banner__gift strong{color:#b42318;}
.fc-welcome-banner--danger .fc-welcome-banner__button{background:#dc2626;}

/* Partner-visible personalised subscription offer */
.fc-personal-offer-card{display:grid;gap:16px;margin:16px 0;padding:22px;border:1px solid #bbe4c8;border-radius:22px;background:#f5fbf7;color:#202d27}.fc-personal-offer-heading{display:flex;align-items:center;gap:13px}.fc-personal-offer-heading>div{display:grid;gap:4px;min-width:0}.fc-personal-offer-heading strong{font-size:20px;line-height:1.28}.fc-personal-offer-heading small{font-size:14px;color:#39764c}.fc-personal-offer-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:15px;background:#daf2df;color:#248443;font-size:24px}.fc-personal-offer-prices{background:white;border:1px solid #dbeee0;border-radius:16px;padding:14px 16px;display:grid;gap:12px}.fc-personal-offer-prices>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.fc-personal-offer-prices span{color:#64766a}.fc-personal-offer-prices s{color:#828a84}.fc-personal-offer-prices b{color:#208142;font-size:20px}.fc-personal-offer-bottom{font-size:14px;line-height:1.5;color:#567260}@media(max-width:600px){.fc-personal-offer-card{padding:16px}.fc-personal-offer-heading strong{font-size:17px}.fc-personal-offer-prices>div{align-items:flex-start;flex-direction:column;gap:2px}.fc-personal-offer-prices b{font-size:22px}}

/* FoodCore: подарочные дни подписки */
.fc-gift-days-card{padding:22px 24px;border:1px solid #cfe8d5;border-radius:23px;background:#f1faf3;color:#1f2937;display:grid;gap:13px;margin:0 0 18px}.fc-gift-days-header{display:flex;gap:13px;align-items:center}.fc-gift-days-icon{width:49px;height:49px;border-radius:15px;background:#dcf3e2;display:grid;place-items:center;font-size:25px;flex:none}.fc-gift-days-header>div{display:grid;gap:4px;min-width:0}.fc-gift-days-header strong{color:#246c3c;font-size:21px}.fc-gift-days-header small{color:#688171;font-size:14px}.fc-gift-days-value{font-size:27px;font-weight:850;color:#218346;letter-spacing:-.02em}.fc-gift-days-card p{margin:0;line-height:1.5}.fc-gift-days-footer{padding-top:13px;border-top:1px solid #cfe8d5;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.fc-gift-days-footer span{color:#60756a}.fc-gift-days-footer b{color:#1f2937}@media(max-width:600px){.fc-gift-days-card{padding:17px;border-radius:19px}.fc-gift-days-header strong{font-size:18px}.fc-gift-days-value{font-size:24px}}

/* News bulletin: explicit categories and high-priority notices */
.fcBellItem.fcBellNewsCard{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #e6eaf0;border-radius:15px;padding:13px 14px;margin:6px 8px;background:#f8fafc;min-width:0}
.fcBellNewsContent{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.fcBellNewsHeader{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.fcBellNewsKind{display:inline-flex;align-items:center;padding:5px 9px;border-radius:9px;font-size:11px;font-weight:800;color:#314057;background:#e9edf5;line-height:1.35}
.fcBellNewsKind.is-update{background:#edf2ff;color:#3959a0}.fcBellNewsKind.is-maintenance{background:#fff3e3;color:#955d13}.fcBellNewsKind.is-incident{background:#fce8e8;color:#b42318}.fcBellNewsKind.is-news{background:#e9f4ee;color:#286b4c}
.fcBellImportantLabel{display:inline-flex;padding:5px 9px;border-radius:9px;background:#c9232c;color:white;font-size:11px;font-weight:900;letter-spacing:.035em}
.fcBellNewsTitle{font-size:14px;line-height:1.3;color:#18212e;overflow-wrap:anywhere}.fcBellNewsExcerpt{font-size:12px;color:#657287;line-height:1.45;overflow-wrap:anywhere}.fcBellNewsContent time{color:#909cac;font-size:11px}.fcBellNewsCard.fcBellNewsImportant{background:#fff7f6;border:1px solid #f6b7b5;border-left:4px solid #dc2626}.fcBellNewsCard.fcBellNewsImportant .fcBellNewsTitle{color:#96201c}
@media(max-width:600px){.fcBellItem.fcBellNewsCard{margin:5px 3px;padding:12px 10px}.fcBellNewsKind,.fcBellImportantLabel{font-size:10px}}

/* Modern category editor */
.fcCategoryModernDialog{width:min(680px,96vw)!important;max-width:96vw!important;border-radius:22px!important}.fcCategoryModernDialog #modalBody{padding:0 4px!important}.fcCatEditor{display:grid;gap:16px}.fcCatTabs{display:flex;gap:5px;padding:5px;background:#f2f4f7;border-radius:14px;overflow:auto}.fcCatTabs button{border:0;border-radius:11px;padding:12px 14px;flex:1;min-width:max-content;font-weight:750;color:#64748b;background:transparent}.fcCatTabs button.active{background:#fff;color:#111827;box-shadow:0 2px 9px #14213d15}.fcCatPane{display:grid;gap:17px;padding:20px;border:1px solid #e1e6ef;border-radius:20px;background:#fff}.fcCatPane[hidden],#fcCatTimeDetail[hidden]{display:none!important}.fcCatPane label:not(.fcCatSwitch):not(.fcCatChoice){display:grid;gap:7px;font-weight:700}.fcCatPane input:not([type=checkbox]):not([type=radio]){width:100%;min-width:0;box-sizing:border-box;padding:13px;border:1px solid #d9e2ed;border-radius:13px;font-size:16px;background:#fafbfc}.fcCatSwitch,.fcCatChoice{display:flex;justify-content:space-between;align-items:center;gap:14px;border-radius:16px;background:#f8fafc;border:1px solid #e4e9f1;padding:16px}.fcCatSwitch span,.fcCatChoice span{display:grid;gap:4px}.fcCatSwitch small,.fcCatChoice small{font-size:12px;color:#64748b;font-weight:400}.fcCatSwitch input{appearance:none!important;width:53px!important;height:30px!important;min-width:53px!important;border:0!important;border-radius:30px!important;background:#cbd5e1!important;position:relative;cursor:pointer}.fcCatSwitch input:after{content:'';position:absolute;left:4px;top:4px;width:22px;height:22px;background:white;border-radius:50%;transition:transform .2s}.fcCatSwitch input:checked{background:#fb7525!important}.fcCatSwitch input:checked:after{transform:translateX(23px)}.fcCatPane h4{margin:14px 0 8px;font-size:16px}.fcCatDays{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.fcCatDays button{border:1px solid #e2e8f0;border-radius:10px;padding:10px 1px;background:#f8fafc;font-weight:750}.fcCatDays button.on{background:#243145;color:#fff}.fcCatInterval{display:flex;align-items:center;gap:8px;margin-bottom:8px}.fcCatInterval input{flex:1;max-width:44%}.fcCatInterval button{border:0;border-radius:10px;padding:9px;background:#fee2e2;color:#b91c1c}.fcCatAdd{width:100%;background:#fff;border:1px dashed #f97316;border-radius:12px;padding:12px;color:#b45309;font-weight:700}.fcCatDateGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fcCatSticky{position:sticky;bottom:0;background:white;padding:12px 0;display:grid;gap:6px}.fcCatSticky button{min-height:52px;border-radius:14px}.fcCatSticky #fcCatError{color:#b91c1c;font-size:13px}.fcCatChoice{justify-content:flex-start}.fcCatChoice input{accent-color:#f97316;width:18px;height:18px}.category[disabled]{opacity:.56;cursor:not-allowed}@media(max-width:560px){.fcCatPane{padding:13px}.fcCatTabs button{font-size:12px;padding:10px}.fcCatInterval{gap:4px}.fcCatInterval input{font-size:14px;padding:9px}}

/* Category editor: only its inner content may scroll; background is scroll-locked in JS. */
#modal.fcCategoryModernDialog[open]{display:block!important;box-sizing:border-box;max-height:min(92dvh,900px)!important;overflow:hidden!important;overscroll-behavior:contain!important}
#modal.fcCategoryModernDialog[open]>form{display:flex!important;flex-direction:column!important;max-height:inherit!important;min-height:0!important;overflow:hidden!important;padding-bottom:0!important}
#modal.fcCategoryModernDialog[open] #modalTitle{flex:0 0 auto!important}
#modal.fcCategoryModernDialog[open] #modalBody{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
@media(max-width:700px){#modal.fcCategoryModernDialog[open]{max-height:calc(100dvh - 30px)!important}}
/* Category schedule editor: narrow screen containment (2026-10-16) */
#modal.fcCategoryModernDialog,#modal.fcCategoryModernDialog>form,#modal.fcCategoryModernDialog #modalBody,#modal.fcCategoryModernDialog .fcCatEditor,#modal.fcCategoryModernDialog .fcCatPane,#modal.fcCategoryModernDialog #fcCatTimeDetail{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#modal.fcCategoryModernDialog .fcCatEditor,#modal.fcCategoryModernDialog .fcCatPane,#modal.fcCategoryModernDialog #fcCatTimeDetail{width:100%!important;overflow-x:hidden!important}
#modal.fcCategoryModernDialog .fcCatTabs{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:auto}
#modal.fcCategoryModernDialog .fcCatDays{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%;min-width:0;gap:4px}
#modal.fcCategoryModernDialog .fcCatDays button{min-width:0!important;width:100%;padding:10px 0!important;font-size:clamp(11px,3vw,15px)!important;box-sizing:border-box}
#modal.fcCategoryModernDialog .fcCatIntervals{min-width:0;width:100%}
#modal.fcCategoryModernDialog .fcCatInterval{display:grid!important;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 34px!important;gap:5px!important;min-width:0;width:100%;box-sizing:border-box}
#modal.fcCategoryModernDialog .fcCatInterval input[type=time]{width:100%!important;max-width:100%!important;min-width:0!important;padding:10px 3px!important;font-size:14px!important;text-align:center;box-sizing:border-box}
#modal.fcCategoryModernDialog .fcCatInterval button{padding:8px 0!important;min-width:0;max-width:34px}
#modal.fcCategoryModernDialog .fcCatDateGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;width:100%;min-width:0}
#modal.fcCategoryModernDialog .fcCatDateGrid label{min-width:0!important;max-width:100%;width:100%}
#modal.fcCategoryModernDialog .fcCatDateGrid input[type=date]{width:100%!important;max-width:100%!important;min-width:0!important;padding:10px 4px!important;font-size:13px!important;box-sizing:border-box!important}
#modal.fcCategoryModernDialog .fcCatSticky{min-width:0;width:100%;box-sizing:border-box}
#modal.fcCategoryModernDialog .fcCatSticky button{width:100%;max-width:100%;box-sizing:border-box}
@media(max-width:480px){#modal.fcCategoryModernDialog[open]{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;padding:0!important}#modal.fcCategoryModernDialog[open] #modalBody{padding-left:12px!important;padding-right:12px!important}#modal.fcCategoryModernDialog .fcCatPane{padding:12px!important}#modal.fcCategoryModernDialog .fcCatDateGrid{grid-template-columns:minmax(0,1fr)!important}#modal.fcCategoryModernDialog .fcCatInterval input[type=time]{font-size:13px!important}}

/* Category schedule: prevent native iOS date control from exceeding its card */
#modal.fcCategoryModernDialog .fcCatDateGrid{display:flex!important;flex-direction:column!important;gap:14px!important;min-width:0!important;max-width:100%!important;width:100%!important;overflow:hidden!important}
#modal.fcCategoryModernDialog .fcCatDateGrid>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important}
#modal.fcCategoryModernDialog .fcCatDateGrid input[type=date]{display:block!important;appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:54px!important;overflow:hidden!important;padding:10px 12px!important;margin:0!important;font-size:16px!important;text-align:left!important;background:#f8fafc!important;border-radius:13px!important}
#modal.fcCategoryModernDialog .fcCatDateGrid input[type=date]::-webkit-date-and-time-value{min-width:0!important;text-align:left!important}
#modal.fcCategoryModernDialog .fcCatDateGrid input[type=date]::-webkit-datetime-edit{min-width:0!important;max-width:100%!important;overflow:hidden!important}
#modal.fcCategoryModernDialog .fcCatDateGrid input[type=date]::-webkit-calendar-picker-indicator{flex:0 0 auto!important}

/* Category editor: only its inner content may scroll; background is scroll-locked in JS. */
#modal.fcCategoryModernDialog[open]{display:block!important;box-sizing:border-box;max-height:min(92dvh,900px)!important;overflow:hidden!important;overscroll-behavior:contain!important}
#modal.fcCategoryModernDialog[open]>form{display:flex!important;flex-direction:column!important;max-height:inherit!important;min-height:0!important;overflow:hidden!important;padding-bottom:0!important}
#modal.fcCategoryModernDialog[open] #modalTitle{flex:0 0 auto!important}
#modal.fcCategoryModernDialog[open] #modalBody{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
@media(max-width:700px){#modal.fcCategoryModernDialog[open]{max-height:calc(100dvh - 30px)!important}}
/* Category schedule editor: narrow screen containment (2026-10-16) */
#modal.fcCategoryModernDialog,#modal.fcCategoryModernDialog>form,#modal.fcCategoryModernDialog #modalBody,#modal.fcCategoryModernDialog .fcCatEditor,#modal.fcCategoryModernDialog .fcCatPane,#modal.fcCategoryModernDialog #fcCatTimeDetail{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#modal.fcCategoryModernDialog .fcCatEditor,#modal.fcCategoryModernDialog .fcCatPane,#modal.fcCategoryModernDialog #fcCatTimeDetail{width:100%!important;overflow-x:hidden!important}
#modal.fcCategoryModernDialog .fcCatTabs{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:auto}
#modal.fcCategoryModernDialog .fcCatDays{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%;min-width:0;gap:4px}
#modal.fcCategoryModernDialog .fcCatDays button{min-width:0!important;width:100%;padding:10px 0!important;font-size:clamp(11px,3vw,15px)!important;box-sizing:border-box}
#modal.fcCategoryModernDialog .fcCatIntervals{min-width:0;width:100%}
#modal.fcCategoryModernDialog .fcCatInterval{display:grid!important;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 34px!important;gap:5px!important;min-width:0;width:100%;box-sizing:border-box}
#modal.fcCategoryModernDialog .fcCatInterval input[type=time]{width:100%!important;max-width:100%!important;min-width:0!important;padding:10px 3px!important;font-size:14px!important;text-align:center;box-sizing:border-box}
#modal.fcCategoryModernDialog .fcCatInterval button{padding:8px 0!important;min-width:0;max-width:34px}
#modal.fcCategoryModernDialog .fcCatDateGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;width:100%;min-width:0}
#modal.fcCategoryModernDialog .fcCatDateGrid label{min-width:0!important;max-width:100%;width:100%}
#modal.fcCategoryModernDialog .fcCatDateGrid input[type=date]{width:100%!important;max-width:100%!important;min-width:0!important;padding:10px 4px!important;font-size:13px!important;box-sizing:border-box!important}
#modal.fcCategoryModernDialog .fcCatSticky{min-width:0;width:100%;box-sizing:border-box}
#modal.fcCategoryModernDialog .fcCatSticky button{width:100%;max-width:100%;box-sizing:border-box}
@media(max-width:480px){#modal.fcCategoryModernDialog[open]{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;padding:0!important}#modal.fcCategoryModernDialog[open] #modalBody{padding-left:12px!important;padding-right:12px!important}#modal.fcCategoryModernDialog .fcCatPane{padding:12px!important}#modal.fcCategoryModernDialog .fcCatDateGrid{grid-template-columns:minmax(0,1fr)!important}#modal.fcCategoryModernDialog .fcCatInterval input[type=time]{font-size:13px!important}}

/* FoodCore notifications: scoped modern controls; no change to application handlers */
.fcNotifyUI{max-width:100%;min-width:0}.fcNotifyUI .formgrid{min-width:0}.fcNotifyUI .field.full,.fcNotifyUI .notificationChannel{min-width:0;max-width:100%;box-sizing:border-box}.fcNotifyUI .notificationChannel{padding:20px;border:1px solid #e5e9ef;border-radius:18px;background:#fff;gap:14px;display:flex;flex-direction:column;align-items:stretch}.fcNotifyUI .notificationChannel>b{font-size:17px;line-height:1.4;color:#232a36}.fcNotifyUI .ntMaster{padding:16px 18px;border-radius:16px;background:#f7f8fb;border:1px solid #e8eaf0;box-sizing:border-box}.fcNotifyUI .ntToggle{display:flex!important;align-items:center!important;gap:12px!important;min-height:34px;position:relative;cursor:pointer;width:fit-content;max-width:100%;font-weight:500;color:#323a47;line-height:1.35}.fcNotifyUI .ntToggle input[type=checkbox]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;margin:0!important;clip-path:inset(50%);pointer-events:none}.fcNotifyUI .ntToggleTrack{position:relative;display:inline-block;flex:0 0 48px;width:48px;height:28px;border-radius:999px;background:#cdd2dd;border:1px solid #c6cbd5;box-sizing:border-box;transition:background .15s ease}.fcNotifyUI .ntToggleTrack:after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .15s ease}.fcNotifyUI .ntToggle input:checked + .ntToggleTrack{background:#f04448;border-color:#f04448}.fcNotifyUI .ntToggle input:checked + .ntToggleTrack:after{transform:translateX(20px)}.fcNotifyUI .ntToggle input:focus-visible + .ntToggleTrack{outline:3px solid #fbb6b8;outline-offset:3px}.fcNotifyUI .ntToggle input:disabled + .ntToggleTrack{opacity:.5}.fcNotifyUI .notificationChannel input:not([type=checkbox]),.fcNotifyUI .ntBillField input:not([type=checkbox]){width:100%;max-width:100%;min-width:0;min-height:44px;border-radius:12px;box-sizing:border-box}.fcNotifyUI .ntChannelActions{display:flex!important;flex-wrap:wrap;gap:10px;align-items:center;min-width:0;max-width:100%}.fcNotifyUI .ntChannelActions button,.fcNotifyUI .ntFooter button{width:auto;max-width:100%;min-height:44px;min-width:0;white-space:normal;overflow-wrap:anywhere;border-radius:12px!important;padding:10px 17px!important;line-height:1.3!important;text-align:center;font-weight:650!important;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;flex:0 1 auto}.fcNotifyUI .ntChannelActions button.secondary,.fcNotifyUI .ntFooter button.secondary{background:#fff!important;border:1px solid #d8dde6!important;color:#3d4554!important;box-shadow:none!important}.fcNotifyUI .ntChannelActions button.primary,.fcNotifyUI .ntFooter button.primary{background:#ee3f43!important;border:1px solid #ee3f43!important;color:#fff!important;box-shadow:none!important}.fcNotifyUI .ntFooter{margin-top:4px}.fcNotifyUI .ntBillField{display:flex;flex-direction:column;gap:10px}.fcNotifyUI .ntBillField>label:not(.ntToggle){font-size:14px;font-weight:600;color:#3a4250}.fcNotifyUI .ntMaxStatus{max-width:100%;overflow-wrap:anywhere}.fcNotifyUI .panel>p.muted{line-height:1.55;overflow-wrap:anywhere}@media(max-width:640px){.fcNotifyUI .notificationChannel{padding:15px}.fcNotifyUI .ntChannelActions{flex-direction:column;align-items:stretch}.fcNotifyUI .ntChannelActions button,.fcNotifyUI .ntFooter button{width:100%;flex:auto}.fcNotifyUI .ntFooter .actions{display:flex;flex-direction:column;align-items:stretch}.fcNotifyUI .ntToggle{width:100%}}

/* FoodCore manual order status control */
.fcOrderStatusSelect{max-width:185px;min-width:125px;border:1px solid #d7dde6;border-radius:11px;padding:9px 26px 9px 10px;background:#f6f8fa;color:#202936;font:inherit;font-weight:600;cursor:pointer}.fcOrderStatusSelect:focus{outline:2px solid #ff7847;outline-offset:2px}.fcOrderStatusSelect:disabled{opacity:.6;cursor:wait}.orderDetailsTop .fcOrderStatusSelect{width:100%;max-width:215px}

/* Unified order status row backgrounds, Admin only. */
.orderAdminRow[data-status="Новый"]>td{background:#ffe3e1!important}
.orderAdminRow[data-status="Готовится"]>td{background:#dcf7e4!important}
.orderAdminRow[data-status="Готов"]>td{background:#fff2bc!important}
.orderAdminRow[data-status="Выполнен"]>td{background:#ffffff!important}
.orderAdminRow[data-status="Отменён"]>td{background:#e9ebef!important;color:#777f8a}
.orderAdminRow:hover>td{filter:brightness(.975)}

/* Local order date/time and preorder marker in Admin */
.fcOrderTime{display:block;font-weight:650;font-variant-numeric:tabular-nums}.fcOrderDate{display:block;color:#7b8490;font-size:11px;line-height:1.4;margin-top:2px}.fcOrderPreorder{display:block;margin-top:5px;width:max-content;max-width:180px;padding:3px 7px;border-radius:7px;background:#fff3d4;color:#885900;font-size:11px;white-space:normal;line-height:1.35}


/* FoodCore 2026-10-18 — order discount preview in list */
.fcOrderSumHead{display:grid;gap:4px;min-width:100px}.fcOrderSumHead strong{font-size:inherit;line-height:1.1}.fcOrderHeadDiscount{display:inline-flex;align-items:center;gap:6px;color:#7b8490;font-size:11px;font-weight:700;line-height:1.2}.fcOrderAmount{display:grid;gap:4px;min-width:106px}.fcOrderAmount strong{font-weight:750;font-variant-numeric:tabular-nums;line-height:1.15}.fcOrderDiscount{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.2;white-space:nowrap}.fcOrderDiscountIcon{width:16px;height:16px;display:inline-grid;place-items:center;border-radius:999px;background:#edf1f5;color:#667085;font-size:10px;font-weight:900;flex:0 0 16px}.fcOrderDiscount--active{color:#b05d00}.fcOrderDiscount--active .fcOrderDiscountIcon{background:#fff1d8;color:#b05d00}.fcOrderDiscount--empty{color:#98a2b3}.fcOrderCardCreated{display:grid;gap:3px}.fcOrderCardCreated b{font-variant-numeric:tabular-nums}.fcOrderCardCreated small{color:#7b8490;font-size:12px;line-height:1.3}

/* FoodCore 2026-10-18 — collapsible desktop sidebar */
.sidebarCollapseBtn{display:flex;align-items:center;gap:10px;width:calc(100% - 20px);margin:10px;padding:10px 12px;border:1px solid #303640;border-radius:12px;background:#20242b;color:#f4f6f8;font:inherit;font-weight:700;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}.sidebarCollapseBtn:hover{background:#2a3038;border-color:#3a4350}.sidebarCollapseIcon{display:inline-grid;place-items:center;width:18px;height:18px;font-size:14px;line-height:1;transition:transform .2s ease}.sidebarCollapseLabel{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:981px){body.fcSidebarCollapsed .shell{padding-left:92px!important}body.fcSidebarCollapsed #sidebar,body.fcSidebarCollapsed .shell>aside{width:92px!important}body.fcSidebarCollapsed #sidebar nav{padding-top:2px}body.fcSidebarCollapsed #sidebar .group,body.fcSidebarCollapsed #sidebar .brand>div,body.fcSidebarCollapsed #sidebar .tenant div,body.fcSidebarCollapsed #sidebar .branchQuickTitle,body.fcSidebarCollapsed #sidebar .branchQuickList,body.fcSidebarCollapsed #sidebar .navbtnLabel,body.fcSidebarCollapsed #sidebar .navPill{display:none!important}body.fcSidebarCollapsed #sidebar .brand{justify-content:center;padding-inline:12px}body.fcSidebarCollapsed #sidebar .brand>span{margin:0 auto}body.fcSidebarCollapsed #sidebar .navbtn{justify-content:center;padding-inline:12px;gap:0}body.fcSidebarCollapsed #sidebar .navbtn .fcCustomerNavCount{margin-left:0;min-width:28px;padding:4px 7px}body.fcSidebarCollapsed #sidebar .tenant{justify-content:center;padding:12px}body.fcSidebarCollapsed .sidebarCollapseBtn{width:52px;margin:10px auto;padding:10px;justify-content:center}body.fcSidebarCollapsed .sidebarCollapseBtn .sidebarCollapseLabel{display:none}body.fcSidebarCollapsed .sidebarCollapseBtn .sidebarCollapseIcon{transform:rotate(180deg)}}
@media(max-width:980px){.sidebarCollapseBtn{margin-top:6px}}

/* FoodCore: separate order discount column and five report indicators */
.fcOrderAmountValue{font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
.orderAdminRow td .fcOrderDiscount{font-weight:700;font-variant-numeric:tabular-nums}
.reportMetrics{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1200px){.reportMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.reportMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.reportMetrics{grid-template-columns:1fr}}

/* Custom date range and new customer share chart */
.reportCustomDates{display:none;gap:10px;align-items:end;flex-wrap:wrap;margin-top:12px}.reportCustomDates.is-visible{display:flex}.reportCustomDates label{display:grid;gap:5px;color:#667085;font-size:12px;font-weight:700}.reportCustomDates input{border:1px solid #d7dde5;border-radius:10px;padding:10px;background:#fff;color:#202632;font:inherit;max-width:165px}.reportCustomDates button{border:0;border-radius:10px;background:#252b35;color:white;padding:12px 16px;font-weight:700;cursor:pointer}.reportNewCustomers{overflow:hidden}.reportCustomersBars .reportChartTrack i{background:linear-gradient(180deg,#ff9955,#ed6327);box-shadow:none}.reportNewLegend{color:#707988;font-size:13px}.reportNewLegend b{color:#202632}
@media(max-width:700px){.reportCustomDates{justify-content:stretch}.reportCustomDates label{flex:1}.reportCustomDates input{width:100%;box-sizing:border-box}}

/* FoodCore: interactive revenue and customer trend line charts */
.reportLineLegend{display:flex;flex-wrap:wrap;gap:16px;margin:10px 0;color:#667085;font-size:12px;font-weight:600}.reportLineLegend span{display:flex;align-items:center;gap:7px}.reportLineLegend i{height:9px;width:19px;border-radius:20px;display:inline-block}.reportLineScroll{width:100%;overflow-x:auto;padding:8px 0}.reportLineSvg{display:block;width:100%;min-width:330px;height:auto;max-height:320px;overflow:visible}.reportLineSvg circle{cursor:crosshair}.reportLineSvg circle:hover{r:7}.reportLineHint{color:#8993a3;font-size:11px;margin:5px 0 0}.reportYearComparison{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:#667085;margin-top:7px}.reportYearComparison b{color:#232b39}@media(max-width:600px){.reportLineSvg{min-width:460px}.reportLineScroll{margin-right:-8px}.reportYearComparison{gap:8px}}
