:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#171717;background:#f5f6f7;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:320px;min-height:100vh;background:#f5f6f7}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.5;cursor:wait}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #111;outline-offset:2px}
a{color:inherit}
.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;min-width:0;padding:24px 15px 16px;background:#fff;border-right:1px solid #e8e9ea;z-index:5}
.brand{display:flex;align-items:center;gap:11px;min-height:52px;padding:0 10px 22px;border-bottom:1px solid #f0f0f0}
.admin-logo{width:150px;height:34px;object-fit:contain;object-position:left center;flex:none}
.brand-copy{display:flex;flex-direction:column;min-width:0;font-size:18px;font-weight:800;letter-spacing:-.06em;line-height:1}
.brand-copy small{display:block;max-width:160px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;letter-spacing:0;color:#888}
.nav{display:flex;flex-direction:column;gap:3px;overflow:auto;padding:21px 0 20px;scrollbar-width:thin}
.nav-caption{padding:0 14px 9px;color:#9b9b9b;font-size:11px;font-weight:600}
.settings-caption{padding-top:21px}
.nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:42px;padding:9px 13px;border:0;border-radius:11px;background:transparent;text-align:left;color:#535353;font-size:13px;font-weight:540;transition:background .18s,color .18s}
.nav-item:hover{background:#f2f2f2;color:#171717}
.nav-item.active{background:#1c1c1c;color:#fff;font-weight:650}
.nav-item.catalog-active{color:#111;font-weight:700}
.nav-item .nav-ico{display:grid;place-items:center;width:19px;height:19px;flex:none}
.nav-item>span:nth-child(2){min-width:0;flex:1}
.nav-item small{font-size:11px;opacity:.66}
.nav-children{display:grid;gap:2px;margin:1px 0 7px 24px;padding-left:9px;border-left:1px solid #e8e8e8}
.nav-children.collapsed{display:none}
.nav-children .nav-item{font-size:12px;min-height:38px}
.nav-children .nav-ico svg{width:16px;height:16px}
.catalog-chevron{display:grid;transition:transform .18s}
.catalog-parent[aria-expanded=false] .catalog-chevron{transform:rotate(-90deg)}
.catalog-chevron svg{width:16px;height:16px}
.sidebar-bottom{margin-top:auto;padding:15px 9px 0;border-top:1px solid #ededed}
.admin-identity{display:flex;align-items:center;gap:9px;min-width:0}
.identity-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#ececec;font-size:13px;font-weight:700}
.admin-identity>span:last-child{display:grid;gap:3px;min-width:0}
.admin-identity strong{font-size:12px}
.admin-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#929292;font-size:10px}
.logout{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px;padding:9px 3px;border:0;background:transparent;color:#777;font-size:12px}
.logout svg{width:17px;height:17px}
.logout:hover{color:#111}
.main{min-width:0}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:91px;padding:20px clamp(20px,3vw,42px);background:#fff;border-bottom:1px solid #e8e9ea}
.topbar-start{display:flex;align-items:center;gap:12px;min-width:0}
.eyebrow{display:block;margin-bottom:5px;color:#9a9a9a;font-size:11px}
.topbar h1{margin:0;font-size:22px;line-height:1.15;letter-spacing:-.035em}
.topbar p{margin:5px 0 0;color:#929292;font-size:11px}
.topbar-actions{display:flex;align-items:center;gap:12px}
.service-help{position:relative;font-size:13px;color:#555}
.service-help summary{display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid transparent;border-radius:10px;list-style:none;cursor:pointer;white-space:nowrap}
.service-help summary::-webkit-details-marker{display:none}
.service-help summary:hover,.service-help[open] summary{background:#f6f6f6;border-color:#ebebeb;color:#171717}
.service-help summary svg{width:17px;height:17px}
.service-help-menu{position:absolute;z-index:20;top:calc(100% + 9px);right:0;width:min(290px,calc(100vw - 32px));padding:6px;border:1px solid #ececee;border-radius:15px;background:#fff;box-shadow:0 14px 38px #17202c1c}
.service-help-menu a,.service-help-menu .support-placeholder{display:grid;gap:4px;padding:12px;border-radius:10px;text-decoration:none;color:#202020}
.service-help-menu a:hover{background:#f5f6f7}
.service-help-menu strong{font-size:13px;font-weight:620}
.service-help-menu small{font-size:11px;color:#888;line-height:1.4}
.support-placeholder{opacity:.72}
.store-settings-tabs{display:flex;gap:5px;overflow:auto;margin:0 0 18px;padding:5px;border:1px solid #e8e9ea;border-radius:12px;background:#fff;scrollbar-width:none}
.store-settings-tabs::-webkit-scrollbar{display:none}
.store-settings-tabs .nav-item{width:auto;min-height:36px;padding:8px 13px;white-space:nowrap;font-size:12px}
.store-settings-tabs .nav-item.active{background:#1c1c1c;color:#fff}
.service-wordmark{display:block;width:160px;height:auto;max-height:36px;object-fit:contain}
.login-brand{display:block;width:190px;height:auto;margin:0 auto 12px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.store-status{display:inline-flex;align-items:center;gap:6px;color:#737373;font-size:11px;white-space:nowrap}
.store-status i{width:7px;height:7px;border-radius:50%;background:#52a67c}
.view-store{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #e6e6e6;border-radius:10px;background:#fff;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap}
.view-store:hover,.secondary:hover{background:#f4f4f4}
.view-store svg{width:14px;height:14px}
.main-content{max-width:1500px;margin:auto;padding:28px clamp(20px,3vw,42px) 80px}
.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.summary-card,.panel{background:#fff;border:1px solid #e9eaec;border-radius:15px;box-shadow:0 2px 12px #10182005}
.summary-card{display:flex;flex-direction:column;min-height:132px;padding:19px}
.summary-card span{color:#747474;font-size:12px}
.summary-card strong{margin:12px 0 5px;font-size:27px;line-height:1;font-weight:680;letter-spacing:-.045em}
.summary-card small{margin-top:auto;color:#a0a0a0;font-size:11px}
.panel{min-width:0;padding:21px;margin-bottom:17px}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}
.panel h2{margin:0;font-size:16px;line-height:1.25;letter-spacing:-.015em}
.panel-head .muted{margin:5px 0 0}
.muted{color:#858585;font-size:12px;line-height:1.55}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:37px;padding:8px 14px;border-radius:9px;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}
.primary{border:1px solid #1c1c1c;background:#1c1c1c;color:#fff}
.primary:hover{background:#3a3a3a}
.secondary{border:1px solid #e4e4e4;background:#fff;color:#242424}
.table-wrap{width:100%;overflow:auto}
.table{width:100%;border-collapse:collapse;font-size:12px}
.table th{padding:11px 12px;background:#fafafa;text-align:left;color:#8b8b8b;font-size:11px;font-weight:550;white-space:nowrap}
.table th:first-child{border-radius:8px 0 0 8px}
.table th:last-child{border-radius:0 8px 8px 0}
.table td{padding:13px 12px;border-bottom:1px solid #f0f0f0;vertical-align:middle}
.table tbody tr:last-child td{border-bottom:0}
.table tbody tr:hover{background:#fafafa}
.table strong{font-weight:630}
.clients-table{min-width:800px}
.clients-table td{min-width:115px}
.clients-table td:first-child{min-width:175px}
.clients-table td:nth-child(2){min-width:215px}
.clients-table td small,.clients-table td a{display:block;margin-top:5px;overflow-wrap:anywhere}
.availability-button{margin-top:9px}
.console-main .summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.console-main .sidebar-bottom button{margin-top:9px;padding:0;border:0;background:transparent;color:#666;font-size:12px}
.click-row{cursor:pointer}
.name-cell{display:flex;align-items:center;gap:11px;min-width:170px;font-weight:620}
.name-cell>span:last-child{display:flex;flex-direction:column;gap:4px}
.name-cell small{color:#929292;font-size:10px;font-weight:400}
.thumb{position:relative;width:44px;height:47px;flex:none;overflow:hidden;border-radius:8px;background:#f2f2f2}
.thumb img{position:absolute;max-width:none}
.thumb.uploaded img{inset:0;width:100%;height:100%;object-fit:cover}
.pill{display:inline-flex;align-items:center;border-radius:6px;padding:6px 9px;background:#f1f1f1;color:#4b4b4b;font-size:11px;line-height:1;white-space:nowrap}
.pill.green{background:#e9f5ec;color:#43825b}
.pill.gray{background:#eee;color:#777}
.empty{padding:35px;text-align:center;color:#929292;font-size:12px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:17px}
.mini-chart{height:170px;display:flex;align-items:flex-end;justify-content:space-around;gap:7px;padding:15px 4px 0;border-bottom:1px solid #ededed}
.mini-chart button{flex:1;max-width:42px;min-width:5px;border:0;border-radius:5px 5px 0 0;background:#232323;transition:background .2s}
.mini-chart button:hover{background:#777}
.chart-labels{display:flex;justify-content:space-between;margin-top:8px;color:#aaa;font-size:10px}
.quick-action{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:44px;margin:6px 0;padding:10px 12px;border:1px solid #eee;border-radius:9px;background:#fff;text-align:left;color:#313131;font-size:12px}
.quick-action svg{width:17px;height:17px;flex:none;margin-right:8px}
.quick-action:hover{background:#f8f8f8}
.quick-action span{margin-left:auto;font-size:18px;color:#999}
.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:17px}
.toolbar input,.toolbar select,.field input,.field textarea,.field select{min-height:39px;max-width:100%;padding:9px 11px;border:1px solid #e2e2e2;border-radius:9px;background:#fff;color:#222;font-size:12px}
.toolbar input{min-width:220px}
.toolbar .muted{margin-left:auto}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#505050;font-size:11px;font-weight:580}
.field.wide{grid-column:1/-1}
.field input,.field textarea,.field select{width:100%;font-weight:400}
.field textarea{min-height:85px;resize:vertical}
.field input:disabled{background:#f7f7f7;color:#999}
.field input[type=checkbox]{width:auto;min-height:auto;accent-color:#222}
.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:13px}
.preview{display:flex;align-items:center;gap:16px}
.preview .thumb{width:82px;height:88px}
.photo-upload{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:13px;border:1px dashed #dedede;border-radius:10px;background:#fafafa}
.photo-upload input{max-width:260px}
.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#1119;backdrop-filter:blur(4px)}
.modal{width:min(650px,100%);max-height:min(92vh,900px);overflow:auto;padding:24px;border:1px solid #e9e9e9;border-radius:17px;background:#fff;box-shadow:0 24px 80px #0003}
.modal.small-modal{max-width:430px}
.modal h2{margin:0 0 22px;padding-bottom:16px;border-bottom:1px solid #ededed;font-size:17px;letter-spacing:-.025em}
.modal .close{float:right;display:grid;place-items:center;width:29px;height:29px;border:1px solid #e9e9e9;border-radius:50%;background:#fff;color:#555;font-size:19px;line-height:1}
.order-detail{display:grid;gap:0;font-size:12px}
.order-detail>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #efefef}
.order-detail span:first-child{color:#8b8b8b}
.order-detail strong{max-width:65%;text-align:right;overflow-wrap:anywhere}
.order-items{padding-left:20px;margin:20px 0;color:#555;font-size:12px}
.order-items li{margin:7px 0}
.inline-link{padding:0;border:0;background:transparent;text-decoration:underline;color:#666;font-size:11px}
.settings-form{max-width:900px}
.notice{margin-top:16px;padding:14px 16px;border:1px solid #ebebeb;border-radius:10px;background:#fafafa;color:#666;font-size:12px;line-height:1.55}
.error{color:#b52b2b;font-size:12px}
.login-wrap{display:grid;place-items:center;min-height:100vh;padding:20px}
.login{width:min(400px,100%);padding:32px;border:1px solid #e8e8e8;border-radius:17px;background:#fff;box-shadow:0 10px 40px #0000000c}
.login h1{margin:0;text-align:center;font-size:27px;letter-spacing:-.04em}
.login p{margin:9px 0 25px;color:#858585;text-align:center;font-size:12px}
.login .field{margin:13px 0}
.login .primary{width:100%;margin-top:10px}
.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.option-grid.single{max-width:760px;grid-template-columns:1fr}
.catalog-panel{padding:0;overflow:hidden}
.catalog-panel>.panel-head{padding:21px;margin:0;border-bottom:1px solid #ededed}
.catalog-workspace{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:430px}
.catalog-tree{padding:12px;border-right:1px solid #ededed}
.catalog-tree-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 7px 12px}
.catalog-tree-head strong{font-size:12px}
.icon-add{width:27px;height:27px;border:1px solid #e7e7e7;border-radius:7px;background:#fff;color:#333;font-size:17px}
.tree-group{margin-top:3px}
.tree-item{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:34px;padding:7px 10px;border:0;border-radius:8px;background:transparent;text-align:left;color:#666;font-size:12px}
.tree-item:hover{background:#f4f4f4}
.tree-item.selected{background:#222;color:#fff}
.tree-item.child{padding-left:24px;font-size:11px}
.tree-item small{opacity:.6}
.catalog-products{min-width:0;padding:16px}
.catalog-products .toolbar input{flex:1;max-width:390px}
.inline-category{max-width:165px;min-height:31px;padding:4px 7px;border:1px solid #e8e8e8;border-radius:7px;background:#fff;color:#444;font-size:11px}
.category-manager{display:grid;gap:11px}
.category-group{overflow:hidden;border:1px solid #eaeaea;border-radius:11px}
.category-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:59px;padding:11px 14px}
.subcategory-row{margin-left:24px;border-top:1px solid #eee;background:#fcfcfc}
.category-name{display:flex;align-items:center;gap:9px;min-width:0;font-size:12px}
.category-name svg{width:17px;height:17px;flex:none}
.category-name small{color:#999;font-size:11px;white-space:nowrap}
.branch-mark{color:#999;font-size:18px}
.category-actions{display:flex;align-items:center;gap:7px;flex:none}
.icon-edit{min-height:28px;padding:5px 8px;border:1px solid #e9e9e9;border-radius:7px;background:#fff;color:#555;font-size:11px}
.icon-edit:hover{background:#f5f5f5}
.category-actions .secondary{min-height:29px;padding:5px 9px;font-size:11px}
.mailing-panel{max-width:940px}
.mailing-panel .form-grid{gap:15px}
.audience-box{margin:0;padding:0;border:0}
.audience-box legend{margin-bottom:10px}
.audience-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.audience-options label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #e7e7e7;border-radius:9px;cursor:pointer}
.audience-options label:has(input:checked){border-color:#222;background:#fafafa}
.audience-options input{width:auto;min-height:auto;margin:2px 0 0;accent-color:#222}
.audience-options span{display:grid;gap:5px}
.audience-options strong{font-size:12px}
.audience-options small{color:#888;font-size:11px;font-weight:400;line-height:1.35}
.campaign-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid #e9e9e9;border-radius:9px;background:#fafafa}
.campaign-preview span{font-size:12px;font-weight:650}
.campaign-row{padding:16px 0;border-bottom:1px solid #eee}
.campaign-row:last-child{border-bottom:0}
.campaign-row-head,.campaign-meta,.campaign-stats{display:flex;align-items:center;justify-content:space-between;gap:12px}
.campaign-row-head strong{font-size:12px}
.campaign-row p{margin:9px 0;color:#555;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.campaign-meta,.campaign-stats{color:#8a8a8a;font-size:10px}
.campaign-row .secondary{margin-top:12px}
.progress-track{height:7px;margin:13px 0 8px;overflow:hidden;border-radius:20px;background:#e9e9e9}
.progress-track span{display:block;height:100%;border-radius:20px;background:#222;transition:width .3s}
.option-card{overflow:hidden;border:1px solid #eaeaea;border-radius:12px;background:#fff}
.option-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px;border-bottom:1px solid #ededed}
.option-head h3{margin:0 0 4px;font-size:13px}
.option-head small{color:#999;font-size:11px}
.option-list{min-height:60px;padding:3px 15px}
.option-row{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 0;border-bottom:1px solid #f0f0f0;font-size:12px}
.option-row:last-child{border:0}
.option-row>span{flex:1;min-width:0;overflow-wrap:anywhere}
.option-row small{color:#999}
.option-empty{text-align:center}
.icon-danger{display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid #ececec;border-radius:7px;background:#fff;color:#888;font-size:17px}
.icon-danger:hover{color:#bd3030;border-color:#f3d0d0}
.info-panel{max-width:760px}
.info-panel h2{margin-bottom:9px}
.info-panel p{margin-bottom:0}
.palette-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:5px 0 0;padding:0;border:0}
.palette-picker legend{margin-bottom:10px;color:#505050;font-size:11px;font-weight:580}
.palette-choice{position:relative;display:flex;flex-direction:column;gap:7px;min-height:121px;padding:14px;border:1px solid #e5e5e5;border-radius:10px;cursor:pointer}
.palette-choice.selected{border-color:#202020;box-shadow:0 0 0 1px #202020}
.palette-choice input{position:absolute;top:10px;right:10px;width:auto;accent-color:#222}
.palette-choice strong{font-size:12px}
.palette-choice small{color:#888;font-size:10px;line-height:1.4}
.swatches{display:flex;gap:5px}
.swatches i{width:22px;height:22px;border-radius:50%;background:#e8c9c2}
.swatches i:nth-child(2){background:#d9b6a6}
.swatches i:nth-child(3){background:#f5e9e4}
.swatches.graphite i:nth-child(1){background:#637789}
.swatches.graphite i:nth-child(2){background:#adb8c1}
.swatches.graphite i:nth-child(3){background:#e8edf0}
.swatches.sage i:nth-child(1){background:#71866b}
.swatches.sage i:nth-child(2){background:#b6c2a8}
.swatches.sage i:nth-child(3){background:#edf0e8}
.logo-uploader{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px;border:1px dashed #dedede;border-radius:10px;background:#fafafa}
.logo-uploader img{width:52px;height:52px;object-fit:contain;border-radius:8px}
.logo-uploader input{max-width:260px}
.logo-uploader small{flex-basis:100%}
.customer-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#eee;object-fit:cover;color:#777}
.customer-avatar.large{width:62px;height:62px}
.client-profile{display:flex;align-items:center;gap:14px;padding:3px 0 18px}
.client-profile>div{display:grid;gap:5px}
.client-profile small,.customer-order small{color:#929292;font-size:11px}
.client-orders{margin-top:12px}
.client-orders h3{font-size:13px}
.customer-order{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;padding:11px 0;border:0;border-top:1px solid #eee;background:#fff;text-align:left;font-size:12px}
.customer-order>span:first-child{display:grid;gap:4px}
.bot-steps{display:grid;gap:10px;margin:20px 0}
.bot-steps>div{display:flex;align-items:flex-start;gap:10px;color:#666;font-size:12px;line-height:1.5}
.bot-steps b{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#eee;color:#333}
.bot-steps a,.bot-connected a{text-decoration:underline;text-underline-offset:3px}
.bot-connected{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:17px 0;padding:13px;border:1px solid #e8e8e8;border-radius:10px;background:#fafafa;font-size:12px}
.bot-connected strong{margin-right:auto}
.bot-connected .secondary{margin-left:auto}
.icon-button{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid #e7e7e7;border-radius:9px;background:#fff}
.menu-button,.sidebar-close,.sidebar-scrim{display:none}
#toast{position:fixed;bottom:18px;left:50%;z-index:30;max-width:calc(100vw - 30px);padding:11px 17px;border-radius:9px;background:#222;color:#fff;opacity:0;pointer-events:none;transform:translate(-50%,15px);transition:opacity .2s,transform .2s;font-size:12px;text-align:center}
#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.store-status{display:none}}
@media(max-width:850px){
 .shell{display:block}
 .sidebar{position:fixed;left:0;top:0;width:min(280px,85vw);height:100dvh;transform:translateX(-105%);transition:transform .25s ease;box-shadow:10px 0 30px #0000000b}
 .shell.menu-open .sidebar{transform:translateX(0)}
 .sidebar-scrim{display:none;position:fixed;inset:0;z-index:4;width:100%;border:0;background:#0007}
 .shell.menu-open .sidebar-scrim{display:block}
 .menu-button,.sidebar-close{display:grid}
 .sidebar-close{margin-left:auto;width:30px;height:30px}
 .topbar{min-height:74px;padding:15px 22px}
 .main-content{padding:22px 22px 70px}
 .catalog-workspace{grid-template-columns:180px minmax(0,1fr)}
}
@media(max-width:640px){
 .topbar{align-items:flex-start}
 .topbar h1{font-size:18px}
 .eyebrow{font-size:10px}
 .topbar-actions{gap:5px}
 .service-help summary{padding:8px 7px;font-size:11px}
 .service-help-menu{right:-52px}
 .view-store{padding:8px;font-size:0}
 .view-store svg{width:17px;height:17px}
 .main-content{padding:16px 12px 70px}
 .panel{padding:15px;margin-bottom:12px;border-radius:12px}
 .panel-head{align-items:flex-start;flex-wrap:wrap}
 .panel-head>.primary{width:100%}
 .summary{gap:8px;margin-bottom:12px}
 .console-main .summary{grid-template-columns:1fr 1fr}
 .summary-card{min-height:112px;padding:13px;border-radius:11px}
 .summary-card strong{font-size:22px}
 .summary-card span,.summary-card small{font-size:10px}
 .toolbar>*{flex:1 1 100%}
 .toolbar input{min-width:0}
 .toolbar .muted{margin:0}
 .option-grid,.palette-picker,.form-grid{grid-template-columns:1fr}
 .catalog-workspace{display:block}
 .catalog-panel>.panel-head{padding:15px}
 .catalog-tree{border-right:0;border-bottom:1px solid #ededed}
 .catalog-tree-head{padding:0 0 8px}
 .catalog-tree .tree-group{display:contents}
 .catalog-tree{display:flex;align-items:center;gap:7px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
 .catalog-tree::-webkit-scrollbar{display:none}
 .catalog-tree-head{flex:none;margin-right:5px}
 .catalog-tree .tree-item{width:auto;flex:none;border:1px solid #e9e9e9}
 .catalog-tree .tree-item.child{padding-left:10px}
 .catalog-products{padding:13px}
 .category-row{align-items:flex-start;flex-direction:column}
 .category-actions{flex-wrap:wrap}
 .subcategory-row{margin-left:15px}
 .audience-options{grid-template-columns:1fr}
 .campaign-preview{align-items:stretch;flex-direction:column}
 .field.wide{grid-column:1}
 .palette-choice{min-height:100px}
 .table-wrap{overflow:visible}
 .table,.table tbody,.table tr,.table td{display:block;width:100%}
 .clients-table{min-width:0}
 .table thead{display:none}
 .table tr{margin:0 0 10px;padding:9px 12px;border:1px solid #eaeaea;border-radius:10px}
 .table tr:has(.empty){padding:0;border:0}
 .table td{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:33px;padding:7px 0;border-bottom:1px solid #f2f2f2;text-align:right}
 .table td:last-child{border-bottom:0}
 .table td::before{content:attr(data-label);color:#919191;font-size:10px;text-align:left}
 .table td:first-child{padding:3px 0 10px;text-align:left}
 .clients-table td:first-child,.clients-table td:nth-child(2){display:block;text-align:left}
 .clients-table td:first-child strong{display:block}
 .clients-table td:nth-child(2)::before{display:block;margin-bottom:5px}
 .table td:first-child::before,.table td:has(.empty)::before{display:none}
 .table td:only-child{justify-content:center}
 .table .name-cell{min-width:0}
 .table .secondary{min-height:32px}
 .modal-backdrop{padding:9px}
 .modal{max-height:calc(100dvh - 18px);padding:17px;border-radius:13px}
 .form-actions{flex-wrap:wrap}
 .form-actions button{flex:1}
 .order-detail>div{flex-wrap:wrap}
 .order-detail strong{max-width:100%}
 .bot-connected .secondary{margin-left:0}
 .customer-order{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
.filter-add-value{margin:12px 0 0 14px}
.custom-product-filters{padding:17px;border:1px solid #e9e9e9;border-radius:12px;background:#fbfbfb}
.custom-product-filters>strong{display:block;margin-bottom:4px}
.product-filter-group{border:0;border-top:1px solid #ebebeb;margin:14px 0 0;padding:12px 0 0;min-width:0}
.product-filter-group legend{font-weight:600;padding-right:12px}
.product-filter-options{display:flex;flex-wrap:wrap;gap:9px 15px;margin-top:7px}
.product-filter-options label{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e8e8e8;border-radius:8px;background:#fff;cursor:pointer}
.order-editor>.panel-head h2{margin-top:14px;font-size:26px}
.order-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;margin-top:18px}
.order-editor .form-grid{align-items:start}
.order-edit-item{display:grid;grid-template-columns:minmax(130px,1fr) 80px 130px 36px;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #ededed}
.order-edit-item .field{font-size:11px}
.order-edit-item .field input{width:100%}
.order-add-product{display:flex;gap:10px}
.order-add-product select{flex:1;min-width:0}
.order-edit-total{display:flex;align-items:center;gap:10px;font-size:17px}
.order-edit-total small{margin-left:auto;color:#888;font-size:11px}
.order-side{display:grid;align-content:start;gap:15px}
.order-side .panel{padding:17px}
.order-side h3{margin-bottom:15px}
.order-side form{display:grid;gap:12px}
.order-sent-photo{display:grid;gap:5px;margin-top:15px}
.order-sent-photo img{width:100%;max-height:210px;object-fit:cover;border-radius:10px}
.client-bonus{margin:20px 0;padding:18px;border:1px solid #eaeaea;border-radius:12px}
.client-bonus h3{margin-bottom:14px}
.bonus-history{display:grid;gap:8px;margin-top:16px;max-height:200px;overflow:auto}
.bonus-history>div{display:grid;grid-template-columns:48px 1fr auto;gap:8px;padding:7px 0;border-bottom:1px solid #eee;font-size:12px}
.bonus-history .positive{color:#4a8660}.bonus-history .negative{color:#b05050}.bonus-history small{color:#999}
@media(max-width:1050px){.order-editor-grid{grid-template-columns:1fr}.order-side{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.order-side{grid-template-columns:1fr}.order-edit-item{grid-template-columns:minmax(0,1fr) 64px 90px 27px;gap:5px}.order-edit-item .field input{padding:7px 4px}.order-add-product{flex-wrap:wrap}.order-add-product button{width:100%}.order-edit-total{display:block}.order-edit-total small{display:block;margin:5px 0 0}.bonus-history>div{grid-template-columns:44px 1fr}.bonus-history small{grid-column:2}}
.sort-control{display:inline-flex;align-items:center;gap:7px}.sort-grip{display:inline-flex;align-items:center;justify-content:center;width:24px;height:30px;color:#898989;font-size:22px;line-height:1;cursor:grab;user-select:none;touch-action:none}.sort-grip:active{cursor:grabbing}.sort-position{width:52px!important;min-width:52px!important;height:32px!important;padding:4px 5px!important;text-align:center;font-size:12px!important}.sort-static{display:inline-flex;min-width:34px;justify-content:center;color:#888;font-size:12px}.system-id{display:block;color:#949494!important;font-size:10px;font-weight:500}.sort-hint{margin:0 17px 13px;color:#858585;font-size:11px}.dragging{opacity:.48}.drag-target{outline:2px dashed #999;outline-offset:-3px}.sortable-categories .category-name{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}.sortable-categories .category-name .system-id{display:inline}.sortable-categories .subcategory-list{padding-left:24px}.sortable-categories .sort-root{overflow:visible}.sortable-categories .sort-child{margin-left:0}.sortable-table th:first-child{width:88px}
@media(max-width:600px){.sortable-table td:first-child{display:flex;align-items:center;justify-content:space-between;padding:7px 0}.sortable-table td:first-child::before{display:block}.sortable-categories .category-row{align-items:flex-start}.sortable-categories .category-name{gap:5px}.sortable-categories .category-actions{width:100%;justify-content:flex-start;padding-left:0}.sortable-categories .subcategory-list{padding-left:12px}.sort-grip{display:none}}
.content-summary{display:flex;flex-wrap:wrap;gap:8px}.content-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.content-editor .panel-head{margin-bottom:18px}.content-page-form{display:grid;gap:18px}.content-page-form .field{display:grid;gap:8px}.content-page-form textarea{min-height:115px;resize:vertical;line-height:1.55}.content-visibility{display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid #e8e8e8;border-radius:11px;background:#fafafa;cursor:pointer}.content-visibility input{width:18px;height:18px;accent-color:#242424}.content-visibility span{display:grid;gap:3px}.content-visibility strong{font-size:12px}.content-visibility small{font-size:10px;color:#888}.content-editor .form-actions{justify-content:flex-end}.content-editor .form-actions button{min-width:170px}.content-intro{margin-bottom:15px}
@media(max-width:950px){.content-editors{grid-template-columns:1fr}}@media(max-width:600px){.content-editor .form-actions button{width:100%}}
/* Homepage banner management */
.homepage-panel .notice{margin-bottom:18px}.banner-admin-list{display:grid;gap:14px}.banner-admin-card{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.5fr);gap:22px;padding:16px;border:1px solid #e8e9eb;border-radius:14px;background:#fff}.banner-admin-preview{position:relative;min-height:190px;overflow:hidden;display:flex;align-items:flex-end;padding:17px;border-radius:11px;background:linear-gradient(135deg,#eee8e4,#d7c4b9 55%,#b69b8a);color:#fff}.banner-admin-preview>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.banner-admin-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#171514a8,transparent 75%)}.banner-admin-preview>span{position:absolute;top:18px;left:18px;color:#79665c;font-size:13px}.banner-preview-copy{position:relative;z-index:1;display:grid;gap:9px}.banner-preview-copy strong{font-size:18px}.banner-preview-copy small{width:max-content;padding:7px 12px;border-radius:18px;background:#fff;color:#333}.banner-admin-fields{display:grid;gap:11px;min-width:0}.banner-row-head,.banner-row-actions,.banner-upload-row{display:flex;align-items:center;gap:8px}.banner-row-head{justify-content:space-between}.banner-row-actions{flex-wrap:wrap}.banner-admin-fields .field{gap:5px}.banner-admin-fields .form-grid{grid-template-columns:1fr 1.2fr;gap:11px}.banner-upload-row{flex-wrap:wrap}.upload-label{position:relative;display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;cursor:pointer}.upload-label input{display:none}.banner-enabled{display:flex;align-items:center;gap:9px;font-size:13px}.banner-empty{padding:28px;text-align:center;border:1px dashed #d9dade;border-radius:12px}.homepage-panel .form-actions{justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid #ececef}.homepage-panel .form-actions .primary{width:auto;min-width:220px}
@media(max-width:800px){.banner-admin-card{grid-template-columns:1fr;gap:14px}.banner-admin-preview{min-height:170px;aspect-ratio:2.1}.banner-admin-fields .form-grid{grid-template-columns:1fr}.banner-row-head{align-items:flex-start}.banner-row-actions{justify-content:flex-end}.homepage-panel .form-actions .primary{width:100%}}
.banner-external-field[hidden]{display:none!important}
.setup-panel{margin-bottom:22px;border-color:#cfd6dc;background:linear-gradient(135deg,#fff 65%,#edf6fb)}.setup-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.setup-heading h2{font-size:22px;margin:5px 0}.setup-heading .muted{font-size:13px;margin:0}.setup-count{flex:none;border:1px solid #d8e4ec;border-radius:999px;padding:8px 12px;color:#344653;font-size:12px;font-weight:650;background:#f7fafc}.setup-progress{height:5px;border-radius:999px;background:#edf0f2;overflow:hidden;margin:18px 0 10px}.setup-progress span{display:block;height:100%;border-radius:inherit;background:#242424;transition:width .45s ease}.setup-steps{display:grid}.setup-step{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px 3px;border-top:1px solid #eceef0}.setup-step.is-active{background:#f7f9fa;margin-inline:-12px;padding-inline:12px;border-radius:9px;border-color:transparent}.setup-step.is-done .setup-number{background:#202020;color:white;border-color:#202020}.setup-number{width:30px;height:30px;border:1px solid #dce1e5;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:650;color:#626d75}.setup-copy strong{font-size:13px}.setup-copy p{font-size:11px;color:#7b8389;margin:4px 0 0;line-height:1.45}.setup-step button{min-width:128px}@media(max-width:640px){.setup-heading h2{font-size:19px}.setup-step{grid-template-columns:30px minmax(0,1fr);gap:10px}.setup-step button{grid-column:2;justify-self:start;min-width:0}.setup-copy p{max-width:320px}}
.delete-store-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;border-color:#eadada}.delete-store-panel h2{font-size:18px;margin:6px 0}.delete-store-panel .muted{max-width:700px;font-size:13px;margin:0}.danger-button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 14px;border:1px solid #b42318;border-radius:8px;background:#b42318;color:#fff;font-family:inherit;font-size:12px;font-weight:600;white-space:nowrap}.danger-button:hover{background:#921c13}.danger-button:disabled{opacity:.5;cursor:not-allowed}.delete-store-dialog{border-color:#eadada}.delete-store-dialog .eyebrow{color:#a32219}.delete-store-dialog h2{font-size:22px;margin:8px 0}.delete-store-dialog>p{margin:0 0 20px;font-size:13px}.delete-store-dialog form{display:grid;gap:14px}.delete-store-dialog .form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.delete-store-dialog input{width:100%;min-height:39px;border:1px solid #d9d9d9;border-radius:8px;padding:9px 11px;margin-top:6px}.delete-store-dialog input:focus{outline:2px solid #222;outline-offset:2px}.delete-store-dialog .error{color:#b42318;font-size:12px;margin:0}@media(max-width:640px){.delete-store-panel{align-items:stretch;flex-direction:column}.delete-store-panel .danger-button{width:100%}.delete-store-dialog .form-actions{flex-direction:column-reverse}.delete-store-dialog .form-actions>*{width:100%}}
.setup-step button:disabled{opacity:.45;cursor:not-allowed}
.setup-screen{min-height:100dvh;background:#f4f5f6;color:#202327}.setup-screen-header{height:78px;max-width:1160px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.setup-screen-header img{width:136px;max-height:42px;object-fit:contain;object-position:left}.setup-screen-header a{color:#59616a;font-size:13px;text-decoration:none}.setup-screen-header a:hover{text-decoration:underline}.setup-wizard{max-width:1020px;margin:clamp(24px,7vh,90px) auto 0;padding:0 28px 60px;display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,1.1fr);gap:64px;align-items:start}.setup-wizard-side{padding-top:22px}.setup-wizard-side h1{font-size:clamp(28px,3vw,42px);line-height:1.14;letter-spacing:-.04em;margin:14px 0;overflow-wrap:anywhere}.setup-wizard-side>p{color:#717980;line-height:1.55;max-width:340px}.setup-wizard-side ol{list-style:none;margin:38px 0 0;padding:0;display:grid;gap:20px}.setup-wizard-side li{display:flex;align-items:center;gap:13px;color:#8c9399;font-size:14px}.setup-wizard-side li span{width:30px;height:30px;border:1px solid #d9dee2;border-radius:50%;display:grid;place-items:center;flex:none;font-size:12px}.setup-wizard-side li.current{color:#1f2327;font-weight:700}.setup-wizard-side li.current span,.setup-wizard-side li.done span{background:#222;color:white;border-color:#222}.setup-wizard-card{background:#fff;border:1px solid #e3e7e9;border-radius:18px;padding:clamp(24px,4vw,42px);box-shadow:0 18px 52px #19212a0a}.setup-wizard-card .setup-progress{margin:15px 0 28px}.setup-wizard-card h2{font-size:27px;line-height:1.2;letter-spacing:-.035em;margin:0 0 12px}.setup-wizard-hint{font-size:14px;line-height:1.6;color:#626c75;margin:0 0 25px}.setup-wizard-hint a{color:#262626;font-weight:700}.setup-wizard-card form{display:grid;gap:17px}.setup-wizard-card form .primary{width:100%;margin-top:8px;min-height:46px}.setup-wizard-card .field small{font-size:11px;color:#7f878d;margin-top:4px}.setup-wizard-card textarea{resize:vertical;min-height:100px}.setup-wizard-card .error{margin:15px 0 0}@media(max-width:760px){.setup-screen-header{height:64px;padding:0 18px}.setup-wizard{display:block;margin:0 auto;padding:24px 18px 46px}.setup-wizard-side{padding:0}.setup-wizard-side h1{font-size:27px;margin:8px 0}.setup-wizard-side>p{margin:0 0 16px;font-size:13px}.setup-wizard-side ol{display:flex;gap:6px;margin:0 0 23px}.setup-wizard-side li{flex:1;min-width:0;font-size:0;justify-content:center}.setup-wizard-side li span{width:26px;height:26px;font-size:11px}.setup-wizard-card{padding:24px;border-radius:15px}.setup-wizard-card h2{font-size:23px}}
.setup-wizard-single{max-width:1050px;grid-template-columns:minmax(0,1fr) minmax(390px,1fr);gap:clamp(30px,7vw,90px)}.setup-wizard-single .setup-wizard-side>p{max-width:400px}.setup-guide{display:flex;gap:13px;align-items:start;margin-top:23px}.setup-guide>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:1px solid #d5dce0;background:#fff;font-size:12px;font-weight:700;flex:none}.setup-guide strong,.setup-guide small{display:block}.setup-guide strong{font-size:14px;margin:2px 0 4px}.setup-guide small{font-size:12px;color:#788188;line-height:1.5}.setup-token-note{margin:-5px 0 0;font-size:12px;color:#7e868d;line-height:1.5}@media(max-width:760px){.setup-wizard-single{max-width:560px}.setup-wizard-single .setup-wizard-side{margin-bottom:25px}.setup-guide{margin-top:13px}.setup-guide:nth-of-type(3){margin-bottom:0}}
.nav-item.is-locked{opacity:.4;cursor:not-allowed}.nav-item.is-locked:hover{background:transparent;color:#535353}.nav-item[data-section].is-locked::after{content:"🔒";margin-left:auto;font-size:10px;line-height:1}.store-settings-tabs .nav-item.is-locked{background:transparent;color:#666}
@media(min-width:1000px){
 .main-content:has(> .store-settings-tabs){display:grid;grid-template-columns:210px minmax(0,1fr);align-content:start;column-gap:22px;row-gap:16px}
 .main-content:has(> .store-settings-tabs)>.store-settings-tabs{grid-column:1;grid-row:1 / span 30;align-self:start;position:sticky;top:20px;display:flex;flex-direction:column;gap:4px;overflow:visible;margin:0;padding:8px}
 .store-settings-tabs .nav-item{width:100%;min-height:42px;white-space:normal;text-align:left}
 .main-content:has(> .store-settings-tabs)>:not(.store-settings-tabs){grid-column:2;min-width:0;margin-top:0}
}
