:host{
  --blue:#0b1f3f;--blue-2:#15345f;--teal:#05b8aa;--teal-soft:#e8faf7;--bg:#f4f7fb;
  --surface:#fff;--surface-2:#f9fbfd;--line:#e2e8f0;--line-2:#d6dfeb;--text:#13213c;
  --muted:#6b7b92;--success:#198754;--warning:#bd7715;--danger:#c53d47;--shadow:0 18px 48px rgba(11,31,63,.08);
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:Manrope,sans-serif;background:var(--bg);color:var(--text)}
button,input,textarea,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}a{text-decoration:none;color:inherit}[hidden]{display:none!important}
.brand{font-size:24px;font-weight:800;color:var(--blue)}.brand span{color:var(--teal)}.muted{color:var(--muted);font-size:13px}
.eyebrow{display:inline-block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--teal)}
h1,h2,h3,p{margin-top:0}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 10% 10%,rgba(5,184,170,.16),transparent 30rem),radial-gradient(circle at 100% 0%,rgba(11,31,63,.08),transparent 28rem),linear-gradient(145deg,#f9fcff,#eef8f6)}
.login-card{width:min(100%,480px);padding:36px;background:#fff;border-radius:32px;box-shadow:0 30px 85px rgba(11,31,63,.15)}.login-card h1{font-size:38px;line-height:1.08;margin:14px 0 10px}.login-card p,.login-card small{color:var(--muted)}.login-card .field{margin:24px 0 14px}.form-message{min-height:20px;color:var(--danger);font-size:13px;margin-top:10px}
.btn{border:0;border-radius:14px;padding:12px 16px;font-weight:800;transition:.16s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.62;cursor:wait;transform:none}.btn--primary{background:var(--blue);color:#fff;box-shadow:0 10px 24px rgba(11,31,63,.14)}.btn--soft{background:var(--teal-soft);color:var(--blue)}.btn--ghost{background:#fff;color:var(--blue);border:1px solid var(--line)}.btn--danger{background:#fff0f1;color:var(--danger);border:1px solid #f1c9cd}.btn--block{width:100%}
.icon-button{width:44px;height:44px;padding:0;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--blue);font-size:24px;display:grid;place-items:center}
.field{display:grid;gap:8px}.field__label{font-size:13px;font-weight:800}.field small{font-size:12px;color:var(--muted)}input,textarea,select{width:100%;border:1px solid var(--line-2);border-radius:15px;background:#fff;color:var(--text);padding:12px 14px;outline:none;transition:.15s ease}input:focus,textarea:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(5,184,170,.12)}textarea{resize:vertical;min-height:110px}
.switch-field{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}.switch-field input{width:20px;height:20px;accent-color:var(--teal);margin-top:2px}.switch-field span{display:grid;gap:3px}.switch-field small{color:var(--muted);font-size:12px}.switch-field strong{font-size:13px}
.topbar{height:82px;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;background:rgba(255,255,255,.93);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.topbar__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.layout{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:calc(100vh - 82px)}.sidebar{position:sticky;top:82px;height:calc(100vh - 82px);overflow:auto;padding:22px 18px;background:#fff;border-right:1px solid var(--line)}.sidebar__heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.sidebar__heading h2{margin:4px 0 0}.count-pill{min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800}.search-box{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:14px;margin-bottom:14px}.search-box input{border:0;padding-left:0;box-shadow:none!important}.stores-list{display:grid;gap:9px}.store-item{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) 10px;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:17px;padding:13px;color:var(--text)}.store-item:hover{border-color:#b9c7da}.store-item.is-active{border-color:var(--teal);background:rgba(5,184,170,.07)}.store-item__emoji{width:38px;height:38px;border-radius:12px;background:#f1f5f9;display:grid;place-items:center;font-size:20px}.store-item__copy{min-width:0}.store-item strong,.store-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-item small{color:var(--muted);margin-top:4px;font-size:12px}.status-light{width:9px;height:9px;border-radius:999px;background:#94a3b8}.status-light--active{background:#22a66b}.status-light--paused{background:#e0a124}.status-light--closed{background:#cc4e58}.sidebar-empty{padding:18px;text-align:center;color:var(--muted);font-size:13px}
.workspace{padding:26px;min-width:0}.card{background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow)}.empty-state{min-height:62vh;display:grid;place-items:center;text-align:center;padding:36px}.empty-state__icon{font-size:48px}.empty-state h2{margin-bottom:8px}.empty-state p{color:var(--muted);max-width:500px}.store-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;margin-bottom:18px;background:linear-gradient(135deg,#fff,#f6fbff)}.store-hero__identity{display:flex;gap:16px;align-items:center}.store-avatar{width:68px;height:68px;border-radius:22px;background:var(--teal-soft);display:grid;place-items:center;font-size:34px}.store-hero h1{font-size:34px;margin:6px 0 8px}.store-hero__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px}.tag{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef2f7;color:#607087;font-weight:800;font-size:11px}.tag--active{background:#e7f8ef;color:var(--success)}.tag--paused{background:#fff6e8;color:var(--warning)}.tag--closed{background:#fff0f1;color:var(--danger)}
.tabs{display:flex;gap:8px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:18px;overflow:auto}.tab{white-space:nowrap;border:0;background:transparent;color:var(--muted);border-radius:13px;padding:11px 14px;font-weight:800}.tab.is-active{background:var(--blue);color:#fff}.tab span{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-left:5px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.16);font-size:11px}
.form-card,.list-card{padding:24px;margin-bottom:18px}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.section-head h2{font-size:27px;margin:6px 0}.section-head p{color:var(--muted);margin:0}.section-head--wrap{flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field--full{grid-column:1/-1}.schedule-grid{display:grid;gap:10px}.schedule-row{display:grid;grid-template-columns:minmax(150px,1fr) 150px 150px;gap:12px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}.schedule-row.is-disabled{opacity:.58}.schedule-row label{display:grid;gap:5px}.schedule-row small{color:var(--muted)}.schedule-switch{display:flex!important;align-items:center;gap:10px;font-weight:800}.schedule-switch input{width:20px;height:20px;accent-color:var(--teal)}
.asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.asset-card{border:1px solid var(--line);border-radius:22px;background:var(--surface-2);padding:17px}.asset-card--sticky{position:sticky;top:14px}.asset-card__heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}.asset-card__heading h3{margin-bottom:5px}.asset-card__heading p{color:var(--muted);font-size:12px;margin:0}.asset-card__heading>span{white-space:nowrap;padding:7px 9px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:11px;font-weight:800}.asset-preview{display:grid;place-items:center;overflow:hidden;border:1px dashed #bfd0e3;border-radius:18px;background:linear-gradient(180deg,#fff,#f5f9fc);color:var(--muted);margin-bottom:12px}.asset-preview img{width:100%;height:100%;object-fit:cover}.asset-preview--square{aspect-ratio:1/1;max-width:260px}.asset-preview--large{max-width:none}.asset-preview--wide{aspect-ratio:16/9}.asset-preview--banner{aspect-ratio:16/7}.asset-note{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0}.upload-control{position:relative;display:grid;gap:4px;padding:14px;border:1px dashed #b9c9dc;border-radius:16px;background:#fff;cursor:pointer}.upload-control input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-control strong{color:var(--blue);font-size:13px}.upload-control small{color:var(--muted);font-size:12px;word-break:break-word}.save-footer{display:flex;justify-content:flex-end;margin-top:18px}
.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar input{width:240px}.toolbar select{width:220px}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:15px}.product-card{display:grid;grid-template-columns:112px minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:21px;background:#fff}.product-card__image{min-height:112px;background:#edf2f7}.product-card__image img{width:100%;height:100%;object-fit:cover}.product-card__image.is-empty{display:grid;place-items:center}.empty-photo{display:grid;place-items:center;gap:4px;text-align:center;color:var(--muted);font-size:13px;padding:10px}.empty-photo span{display:block}.product-card__content{padding:15px}.product-card__top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.product-card h3{margin-bottom:7px;font-size:19px}.product-card__top>strong{font-size:22px;color:var(--blue);white-space:nowrap}.product-card p{color:var(--muted);font-size:13px;line-height:1.5;margin:12px 0}.tags{display:flex;flex-wrap:wrap;gap:6px}.tags span{font-size:10px;font-weight:800;padding:5px 8px;border-radius:999px;background:#f0f4f8;color:#67778e}.tags .ok{background:#e6f8ee;color:var(--success)}.tags .warn{background:#fff5e7;color:var(--warning)}.tags .off{background:#eef1f5;color:#7d8796}.product-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-card__footer small{color:var(--muted)}.list-empty{grid-column:1/-1;padding:34px;text-align:center;border:1px dashed #c3d0df;border-radius:20px;background:#fbfdff}.list-empty>div{font-size:42px}.list-empty h3{margin:8px 0}.list-empty p{color:var(--muted)}
.promos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.promo-card{border:1px solid var(--line);border-radius:21px;overflow:hidden;background:#fff}.promo-card__image{aspect-ratio:16/7;background:#eef3f8;display:grid;place-items:center;overflow:hidden}.promo-card__image img{width:100%;height:100%;object-fit:cover}.promo-card__body{padding:16px}.promo-card h3{margin-bottom:8px}.promo-card p{color:var(--muted);font-size:13px;line-height:1.5}.promo-card small{display:block;color:var(--muted);margin-bottom:14px}
.dialog{border:0;padding:0;width:min(1180px,calc(100% - 24px));max-height:92vh;border-radius:28px;box-shadow:0 35px 100px rgba(11,31,63,.28)}.dialog::backdrop{background:rgba(8,19,40,.62)}.dialog-card{padding:25px;max-height:92vh;overflow:auto;background:#fff}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}.dialog-head h2{font-size:32px;margin:6px 0}.dialog-head p{color:var(--muted);margin:0}.dialog-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.75fr);gap:20px}.form-section{margin-bottom:18px}.form-section h3{margin-bottom:14px}.advanced{border:1px solid var(--line);border-radius:18px;background:var(--surface-2)}.advanced summary{padding:15px 17px;font-weight:800;cursor:pointer}.advanced__body{padding:0 17px 17px}.checks-row{display:flex;flex-wrap:wrap;gap:8px}.day-check input{display:none}.day-check span{display:grid;place-items:center;min-width:48px;padding:9px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:12px;font-weight:800;cursor:pointer}.day-check input:checked+span{background:var(--blue);color:#fff;border-color:var(--blue)}.dialog-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.dialog-actions__right{display:flex;gap:10px}.promo-assets{display:grid;gap:16px}
.toast{position:fixed;right:20px;bottom:20px;z-index:80;max-width:min(420px,calc(100% - 40px));padding:14px 18px;border-radius:15px;background:var(--blue);color:#fff;box-shadow:0 22px 60px rgba(11,31,63,.24);opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.toast.is-visible{opacity:1;transform:none}.toast.is-error{background:var(--danger)}
@media(max-width:1100px){.layout{grid-template-columns:260px minmax(0,1fr)}.dialog-columns{grid-template-columns:1fr}.asset-card--sticky{position:static}.products-grid{grid-template-columns:1fr}}
@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}.stores-list{grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);overflow:auto}.asset-grid{grid-template-columns:1fr}.workspace{padding:18px}.schedule-row{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:700px){.topbar{height:auto;padding:14px;align-items:flex-start;flex-direction:column}.topbar__actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.topbar__actions .btn:first-child{grid-column:1/-1}.form-grid{grid-template-columns:1fr}.field--full{grid-column:auto}.section-head,.store-hero,.dialog-head,.dialog-actions,.product-card__top{flex-direction:column;align-items:flex-start}.section-head .btn,.save-footer .btn,.toolbar,.toolbar input,.toolbar select,.toolbar .btn{width:100%}.store-hero__identity{align-items:flex-start}.store-hero__actions{width:100%}.store-hero__actions .btn{width:100%}.schedule-row{grid-template-columns:1fr 1fr}.schedule-switch{grid-column:1/-1}.dialog-actions__right{width:100%;display:grid;grid-template-columns:1fr 1fr}.dialog-actions>.btn{width:100%}.products-grid{grid-template-columns:1fr}.product-card{grid-template-columns:96px minmax(0,1fr)}.product-card__image{min-height:96px}.dialog{width:calc(100% - 10px)}.dialog-card{padding:17px}.login-card h1,.dialog-head h2,.store-hero h1{font-size:29px}}
@media(max-width:460px){.workspace{padding:12px}.form-card,.list-card,.store-hero{padding:17px}.login-card{padding:25px}.tabs{border-radius:14px}.tab{padding:10px 12px}.product-card{grid-template-columns:84px minmax(0,1fr)}.product-card__image{min-height:84px}.product-card__top>strong{font-size:18px}.asset-card__heading{flex-direction:column}.asset-card__heading>span{white-space:normal}.topbar__actions{grid-template-columns:1fr}}

:host{display:block;font:inherit;color:var(--text);--teal:#00877c;--shadow:0 6px 20px #182f4010}
.topbar{position:static;height:auto;min-height:58px;padding:10px 16px}.layout{min-height:0;grid-template-columns:minmax(175px,230px) minmax(0,1fr)}
.sidebar{position:static;height:auto}.workspace{padding:clamp(12px,2vw,24px)}.app{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--bg)}
.brand{font-size:17px}.store-hero h1{font-size:clamp(22px,4vw,32px)}.store-hero,.card{border-radius:18px}.save-footer{position:sticky;bottom:0;background:#fff;padding:10px 0;z-index:2}
button:focus-visible,a:focus-visible{outline:3px solid #00877c;outline-offset:2px}
[data-catalog-error]{padding:12px 16px;color:var(--danger);margin:0}
@media(max-width:900px){.layout{grid-template-columns:1fr}.topbar{flex-direction:row;align-items:center}.topbar__actions{display:flex;width:auto}.stores-list{grid-auto-columns:minmax(155px,48%)}}
@media(max-width:460px){.workspace,.sidebar{padding:10px}.topbar{gap:6px}.topbar .btn{padding:9px;font-size:12px}.form-card,.list-card{padding:12px}.tab{font-size:12px}.schedule-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.schedule-row input[type=time]{min-width:0;padding-inline:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

select:not([multiple]){appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23263e54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px;padding-right:40px}
@media(forced-colors:active){select:not([multiple]){appearance:auto;background-image:none}}
