:root{font-family:var(--ui-font, "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);color:var(--text-primary, #172033);background:var(--bg-app, #f4f6fa);font-synthesis:none}.storefront-management-page,.storefront-editor-page{--storefront-row-gap: 12px}.storefront-table td{vertical-align:middle}.storefront-table td:first-child{min-width:230px}.storefront-table td>span:not(.ui-status){display:block;margin-top:3px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.storefront-choice{display:flex;gap:12px;min-height:92px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);cursor:pointer}.storefront-choice.selected{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 15%,transparent)}.storefront-choice span{display:grid;gap:5px}.storefront-choice small{color:var(--text-muted);line-height:var(--ui-type-secondary-line-height)}.storefront-selection-list{display:grid;max-height:360px;overflow:auto;margin:14px 0;border:1px solid var(--border);border-radius:var(--radius-md)}.storefront-selection-list label{display:flex;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid var(--border)}.storefront-selection-list label:last-child{border-bottom:0}.storefront-selection-list span{display:grid;gap:2px}.storefront-selection-list small{color:var(--text-muted)}.storefront-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.storefront-channel-card{min-width:0;padding:18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-subtle)}.storefront-channel-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.storefront-add-product{position:relative;max-width:720px;margin-bottom:18px}.storefront-add-product>input{width:100%}.storefront-product-picker{position:absolute;z-index:20;inset:calc(100% + 6px) 0 auto;max-height:360px;overflow:auto;padding:6px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-lg)}.storefront-product-picker button{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;width:100%;padding:9px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text);text-align:left}.storefront-product-picker button:hover{background:var(--surface-hover)}.storefront-product-picker img,.storefront-product-cell img{width:40px;height:40px;object-fit:cover;border:1px solid var(--border);border-radius:8px}.storefront-product-picker span:nth-child(2),.storefront-product-cell>div{display:grid;min-width:0;gap:2px}.storefront-product-picker small,.storefront-product-cell small{color:var(--text-muted)}.storefront-product-cell{display:flex;align-items:center;gap:11px;min-width:260px}.storefront-variant-prices{display:grid;gap:10px;min-width:620px}.storefront-variant-price-card{display:grid;gap:9px;padding:11px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-subtle)}.storefront-variant-price-card>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.storefront-variant-price-card>header small{white-space:nowrap}.storefront-tier-price-grid{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:8px}.storefront-variant-prices label{display:grid;gap:5px}.storefront-variant-prices label>span{display:grid}.storefront-variant-prices small{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.storefront-variant-prices input{min-width:0}.storefront-table-link{padding:0;border:0;background:transparent;color:var(--text);font-weight:var(--ui-type-navigation-weight);text-align:left}.storefront-table-link:hover{color:var(--primary);text-decoration:underline}.storefront-inline-form{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px;margin-bottom:14px}.storefront-tree-list,.storefront-domain-list{display:grid;gap:8px}.storefront-tree-list article,.storefront-domain-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.storefront-tree-list article>div,.storefront-domain-list article>div{display:grid;gap:3px}.storefront-tree-list small,.storefront-domain-list small{color:var(--text-muted)}.domain-dns-instruction{display:grid;grid-template-columns:max-content minmax(180px,1fr);align-items:center;gap:5px 10px;margin-top:8px;padding:10px 12px;border:1px dashed var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);font-size:var(--ui-type-secondary-size)}.domain-dns-instruction code{min-width:0;overflow-wrap:anywhere;color:var(--text);font-weight:var(--ui-font-weight-medium);-webkit-user-select:all;user-select:all}@media(max-width:720px){.domain-dns-instruction{grid-template-columns:1fr}}.storefront-color-field{display:grid;grid-template-columns:46px 1fr;gap:8px}.storefront-color-field input[type=color]{width:46px;padding:4px}.storefront-theme-preview{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:22px;overflow:hidden;border-radius:var(--radius-lg);color:#fff}.storefront-theme-preview-background{position:absolute;inset:0;width:100%;height:100%}.storefront-theme-preview strong{position:relative;z-index:1}.storefront-theme-preview button{position:relative;z-index:1;padding:10px 16px;overflow:hidden;border:0;border-radius:var(--radius-sm);background:transparent;color:#fff;font-weight:var(--ui-type-button-weight)}.storefront-theme-preview button svg{position:absolute;inset:0;width:100%;height:100%}.storefront-theme-preview button span{position:relative;z-index:1}.storefront-module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.storefront-module-grid article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:15px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.storefront-module-grid article>div{display:grid;gap:3px}.storefront-module-grid small{color:var(--text-muted)}.storefront-module-grid .button{grid-column:1 / -1}@media(max-width:1280px){.storefront-channel-grid{grid-template-columns:1fr}.storefront-tier-price-grid{grid-template-columns:repeat(3,minmax(100px,1fr))}}@media(max-width:760px){.storefront-inline-form{grid-template-columns:1fr}.storefront-variant-prices{min-width:460px}.storefront-tier-price-grid{grid-template-columns:repeat(2,minmax(100px,1fr))}.storefront-theme-preview{align-items:stretch;flex-direction:column}}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}.shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{background:#111827;color:#fff;padding:24px 16px}.brand{font-size:22px;font-weight:var(--ui-font-weight-bold);padding:0 12px 24px}.sidebar nav{display:grid;gap:6px}.sidebar a{color:#cbd5e1;text-decoration:none;padding:11px 12px;border-radius:10px}.sidebar a:hover,.sidebar a.active{background:#243044;color:#fff}.main{min-width:0}.topbar{min-height:72px;background:#fff;border-bottom:1px solid #e6eaf0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 28px}.topbar strong,.topbar span{display:block}.muted{color:var(--text-muted);font-size:var(--ui-type-secondary-size);margin-top:2px}.user-menu{display:flex;align-items:center;gap:12px}.user-details{text-align:right}.user-details strong{font-size:var(--ui-type-body-size)}.user-details span{color:var(--text-muted);font-size:var(--ui-type-secondary-size);margin-top:2px}.logout-button{border:1px solid #d7dce5;background:#fff;color:var(--text-secondary);border-radius:10px;padding:8px 12px}.logout-button:hover{background:#f8fafc}.content{padding:28px}.page-title h1{margin:0;font-size:var(--ui-type-page-title-size)}.page-title p{color:var(--text-muted);margin:8px 0 24px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{background:#fff;border:1px solid #e5e9f0;border-radius:16px;padding:20px;box-shadow:0 8px 24px #0f172a0a}.card h2{margin:0 0 8px;font-size:var(--ui-type-section-title-size)}.card p{margin:0;color:var(--text-muted);line-height:var(--ui-type-body-line-height)}.app-loading,.page-loading,.auth-status,.fatal-state{min-height:100vh;display:grid;place-content:center;text-align:center;padding:32px}.page-loading{min-height:40vh}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(320px,1fr) minmax(420px,560px);align-items:center;gap:72px;padding:64px max(6vw,32px);background:radial-gradient(circle at 15% 15%,rgba(84,105,212,.22),transparent 35%),linear-gradient(135deg,#0f172a,#172554 52%,#f4f6fa 52%)}.auth-intro{color:#fff;max-width:560px}.auth-logo{display:inline-flex;padding:9px 13px;border:1px solid rgba(255,255,255,.25);border-radius:12px;font-weight:var(--ui-font-weight-bold);letter-spacing:.04em;background:#ffffff14}.auth-intro h1{margin:28px 0 14px;font-size:clamp(38px,5vw,64px);line-height:1.02}.auth-intro p{max-width:520px;color:#dbe4ff;line-height:1.7;font-size:18px}.auth-card{width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:34px;box-shadow:0 28px 80px #0f172a38}.auth-card-heading{margin-bottom:26px}.auth-card h1,.auth-card h2{margin:6px 0 0}.eyebrow{color:#4f46e5;font-size:var(--ui-type-badge-size);font-weight:var(--ui-font-weight-semibold);letter-spacing:.1em;text-transform:uppercase}.auth-card label{display:grid;gap:8px;margin-top:18px;color:var(--text-secondary);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight)}.auth-card input{width:100%;min-height:46px;border:1px solid #cfd6e2;border-radius:11px;padding:10px 12px;outline:none;color:var(--text-primary);background:#fff}.auth-card input:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f11f}.auth-card small{color:var(--text-muted);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.form-error{margin-top:18px;border:1px solid #fecaca;background:#fff1f2;color:#b42318;border-radius:10px;padding:11px 12px;font-size:var(--ui-type-body-size)}.primary-button{width:100%;min-height:48px;margin-top:22px;border:0;border-radius:11px;background:#4f46e5;color:#fff;font-weight:var(--ui-type-button-weight)}.primary-button:hover{background:#4338ca}.fatal-state button,.auth-card>button:not(.primary-button){justify-self:center;border:0;border-radius:10px;padding:10px 16px;background:#4f46e5;color:#fff}@media(max-width:980px){.auth-layout{grid-template-columns:1fr;gap:30px;background:linear-gradient(180deg,#111827,#172554 42%,#f4f6fa 42%)}.auth-intro h1{font-size:42px}}@media(max-width:900px){.shell{grid-template-columns:82px 1fr}.brand{font-size:0}.brand:after{content:"V2";font-size:20px}.sidebar a{font-size:0;text-align:center}.sidebar a:first-letter{font-size:18px}.grid{grid-template-columns:1fr}}@media(max-width:640px){.auth-layout{padding:32px 18px}.auth-card{padding:24px}.topbar{align-items:flex-start}.user-details{display:none}}.page-heading-row{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.button{min-height:40px;border:1px solid #d7dce5;background:#fff;color:var(--text-secondary);border-radius:10px;padding:9px 14px;font-weight:var(--ui-type-button-weight)}.button:hover{background:#f8fafc}.button-primary{border-color:#4f46e5;background:#4f46e5;color:#fff}.button-primary:hover{background:#4338ca}.button-danger-soft{border-color:#fecaca;background:#fff1f2;color:#b42318}.button-danger{border-color:#b42318;background:#b42318;color:#fff}.success-banner{margin:12px 18px 0;padding:11px 13px;border:1px solid #a6f4c5;border-radius:10px;background:#ecfdf3;color:#067647}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.metric-card{background:#fff;border:1px solid #e5e9f0;border-radius:14px;padding:17px 18px}.metric-link{display:flex;min-height:100%;color:inherit;text-decoration:none;flex-direction:column}.metric-card:has(.metric-link):hover{border-color:var(--primary);box-shadow:0 8px 22px color-mix(in srgb,var(--primary) 12%,transparent)}.table-link{padding:0;border:0;background:transparent;color:var(--primary);cursor:pointer;text-align:left}.rank-row[href]{color:inherit;text-decoration:none}.rank-row[href]:hover{background:var(--surface-hover)}.finance-tabs,.audit-filter-panel{margin-bottom:16px}.audit-diff-table{margin:12px 0;font-size:var(--ui-type-table-value-size)}.audit-diff-table code{white-space:pre-wrap;overflow-wrap:anywhere}.metric-card span,.contact-grid span,.mini-stats span{display:block;color:var(--text-muted);font-size:var(--ui-type-secondary-size);margin-bottom:6px}.metric-card strong{font-size:22px}.clients-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 180px 180px;gap:12px;margin-bottom:18px;padding:14px}.search-input,.clients-toolbar select,.field input,.field select,.field textarea,.drawer-section textarea{width:100%;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:var(--text-primary);padding:10px 12px;outline:none}.search-input:focus,.clients-toolbar select:focus,.field input:focus,.field select:focus,.field textarea:focus,.drawer-section textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.clients-table-card{padding:0;overflow:hidden}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse}.data-table th{padding:13px 16px;background:#f8fafc;color:var(--text-muted);font-size:var(--ui-type-table-header-size);text-align:left;border-bottom:1px solid #e5e9f0}.data-table td{padding:15px 16px;border-bottom:1px solid #eef1f5;vertical-align:middle}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover{background:#fafbff}.data-table td strong,.data-table td span{display:block}.data-table td span{color:var(--text-muted);font-size:var(--ui-type-secondary-size);margin-top:4px}.icon-button{border:0;background:transparent;color:#4f46e5;font-size:18px}.empty-state{min-height:220px;display:grid;place-content:center;gap:8px;text-align:center;color:var(--text-muted);padding:28px}.empty-state strong{color:var(--text-primary);font-size:var(--ui-type-section-title-size)}.error-banner{border:1px solid #fecaca;background:#fff1f2;color:#b42318;border-radius:10px;padding:11px 12px;margin:12px 0}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;z-index:100;background:#0f172a73}.drawer-backdrop{display:flex;justify-content:flex-end}.client-drawer{position:relative;width:min(620px,100vw);height:100%;overflow-y:auto;background:#f8fafc;box-shadow:-20px 0 50px #0f172a29}.drawer-close{border:0;background:transparent;color:var(--text-muted);font-size:30px;line-height:1}.client-drawer>.drawer-close{position:absolute;top:18px;right:18px;z-index:2}.client-drawer-header{background:#fff;border-bottom:1px solid #e5e9f0;padding:30px}.client-drawer-header h2{margin:12px 0 4px;font-size:var(--ui-type-page-title-size)}.client-drawer-header p{margin:0;color:var(--text-muted)}.status-badge{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.status-badge.active{background:#ecfdf3;color:#027a48}.status-badge.archived{background:#f2f4f7;color:#475467}.drawer-actions{display:flex;gap:10px;margin-top:20px}.drawer-section{margin:16px;background:#fff;border:1px solid #e5e9f0;border-radius:14px;padding:18px}.drawer-section h3{margin:0 0 14px;font-size:var(--ui-type-section-title-size)}.contact-grid,.mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.contact-grid strong{overflow-wrap:anywhere}.mini-stats div{background:#f8fafc;border-radius:10px;padding:14px}.mini-stats strong{font-size:18px}.address-card{display:grid;gap:5px;padding:12px 0;border-top:1px solid #eef1f5}.address-card:first-of-type{border-top:0}.address-card span,.muted-text,.notes-text{color:var(--text-muted);line-height:var(--ui-type-body-line-height)}.drawer-section textarea{min-height:90px;resize:vertical;margin-bottom:10px}.timeline{display:grid;gap:16px}.timeline-item{position:relative;display:grid;grid-template-columns:16px 1fr;gap:10px}.timeline-dot{width:10px;height:10px;border-radius:999px;background:#6366f1;margin-top:5px}.timeline-dot.order{background:#16a34a}.timeline-item p{margin:4px 0;color:var(--text-muted)}.timeline-item b,.timeline-item small{display:block;margin-top:4px}.timeline-item small{color:var(--text-muted)}.modal-backdrop{display:grid;place-items:center;overflow-y:auto;padding:24px}.client-modal{width:min(820px,100%);max-height:calc(100vh - 48px);overflow-y:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 30px 80px #0f172a47}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.modal-header h2{margin:5px 0 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:grid;gap:7px;color:var(--text-secondary);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight)}.field-wide{grid-column:1 / -1}.field textarea{min-height:100px;resize:vertical}.form-section-title{margin:26px 0 14px;padding-top:20px;border-top:1px solid #eef1f5}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}@media(max-width:820px){.shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:18px}.stats-row,.clients-toolbar,.form-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}.page-heading-row{flex-direction:column}.contact-grid,.mini-stats{grid-template-columns:1fr}}.product-toolbar{grid-template-columns:minmax(260px,1fr) repeat(3,minmax(150px,auto))}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.inline-form{display:grid;grid-template-columns:minmax(180px,1fr) 140px 42px;gap:10px;margin-bottom:10px}.checkbox-label{display:flex!important;align-items:center;gap:10px;padding-top:28px}.checkbox-label input{width:auto}@media(max-width:900px){.product-toolbar{grid-template-columns:1fr}}.order-toolbar{grid-template-columns:minmax(260px,1fr) 220px}.order-form-modal{width:min(1180px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto}.client-modal.order-items-editor{display:flex;flex-direction:column;width:min(1100px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:hidden}.form-grid-wide{grid-column:1 / -1}.modal-header p,.section-title-row p{margin:5px 0 0;color:var(--text-muted)}.order-items-editor .order-line select{width:100%;min-height:40px;border-radius:9px;padding:8px 10px}.order-form-columns{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.order-form-main{display:grid;gap:18px}.form-section{border:1px solid var(--border-color, #e5e7eb);border-radius:14px;padding:18px;background:#fff}.form-section h3,.order-summary h3{margin:0 0 14px}.product-picker{display:grid;gap:8px;max-height:220px;overflow:auto;margin-top:10px}.product-picker button{display:flex;flex-direction:column;gap:3px;width:100%;padding:10px 12px;text-align:left;border:1px solid #e5e7eb;border-radius:10px;background:#fff;cursor:pointer}.product-picker button:hover{background:#f8fafc}.product-picker span,.order-line span,.shipment-card-head span,.shipment-preview span{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.order-lines{display:grid;gap:10px;margin-top:14px}.order-line{display:grid;grid-template-columns:minmax(220px,1fr) 110px 150px 40px;gap:10px;align-items:end;padding:12px;border:1px solid #e5e7eb;border-radius:12px}.order-line>div:first-child{display:flex;flex-direction:column;gap:4px;align-self:center}.order-summary{position:sticky;top:0;display:grid;gap:12px;padding:18px}.total-row{padding-top:10px;border-top:1px solid #e5e7eb;font-size:var(--ui-type-amount-total-size)}.shipment-preview-list,.shipment-cards{display:grid;gap:10px}.shipment-preview,.shipment-card{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.order-detail-drawer{width:min(760px,100vw)}.shipment-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.shipment-card-head>div{display:flex;flex-direction:column;gap:4px}.shipment-item{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed #e5e7eb}@media(max-width:900px){.order-form-columns{grid-template-columns:1fr}.order-summary{position:static}.order-line{grid-template-columns:1fr 100px}}input,select,textarea{background-color:#fff;color:var(--text-primary);border:1px solid #d0d5dd;opacity:1}input:disabled,select:disabled,textarea:disabled{background-color:#f2f4f7;color:var(--text-muted)}.modal-card,.detail-drawer,.order-detail-drawer{background:#f8fafc}.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;background:#fff;border-bottom:1px solid #e5e9f0}.drawer-header h2,.drawer-header p{margin:0}.drawer-header p{margin-top:5px;color:var(--text-muted)}.order-detail-drawer{width:min(820px,100vw);height:100%;overflow-y:auto;box-shadow:-20px 0 50px #0f172a29}.drawer-content{padding:16px}.detail-section{margin-bottom:16px;padding:18px;background:#fff;border:1px solid #e5e9f0;border-radius:14px}.detail-section h3{margin:0 0 14px}.detail-drawer{width:min(680px,100vw);height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;box-shadow:-20px 0 50px #0f172a29}.detail-drawer>.drawer-header{flex:0 0 auto}.detail-drawer>.drawer-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.order-detail-drawer{display:flex;min-height:0;flex-direction:column;overflow:hidden}.order-detail-drawer>.drawer-header{flex:0 0 auto}.order-detail-drawer>.drawer-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.detail-section>select,.shipment-card select{width:100%;min-height:42px;border-radius:10px;padding:9px 11px}.order-actions{padding:14px 18px;margin:0;background:#fff;border-bottom:1px solid #e5e9f0;flex-wrap:wrap}.order-status{display:inline-flex!important;width:fit-content;margin:0!important;padding:5px 9px;border-radius:999px;font-weight:var(--ui-type-badge-weight);background:#eef2ff;color:#4338ca!important}.status-completed,.status-shipped{background:#ecfdf3;color:#027a48!important}.status-cancelled{background:#fff1f2;color:#b42318!important}.shipment-cards{display:grid;gap:14px}.shipment-card{display:grid;gap:12px;padding:16px;border:1px solid #e5e9f0;border-radius:12px;background:#fff}.shipment-card-head{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:14px;align-items:center}.shipment-card-head strong,.shipment-card-head span{display:block}.shipment-card-head span,.shipment-meta{color:var(--text-muted);font-size:var(--ui-type-secondary-size);margin-top:4px}.shipment-item,.info-row{display:flex;justify-content:space-between;gap:16px}.shipment-item{padding:9px 0;border-bottom:1px solid #eef1f5}.total-row{padding-top:10px;margin-top:8px;border-top:1px solid #e5e9f0;font-size:var(--ui-type-amount-total-size)}.shipment-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.shipment-actions input{flex:1 1 220px;min-height:40px;border:1px solid #d7dce5;border-radius:10px;padding:9px 12px}.shipment-meta{display:flex;gap:14px;flex-wrap:wrap}.order-summary{position:sticky;top:0}.order-summary .button{width:100%;margin-top:10px}.order-line{display:grid;grid-template-columns:minmax(220px,1fr) 110px 130px 38px;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #eef1f5}.order-line label{display:grid;gap:6px;font-size:var(--ui-type-field-label-size);color:var(--text-secondary)}.order-line input{width:100%;min-height:40px;border-radius:9px;padding:8px 10px}.order-line>div strong,.order-line>div span{display:block}.order-line>div span{margin-top:4px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.order-lines{margin-top:12px}.shipment-preview{display:grid;gap:3px;padding:10px 0;border-top:1px solid #eef1f5}.shipment-preview span{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}@media(max-width:900px){.order-form-columns,.shipment-card-head,.order-line{grid-template-columns:1fr}.order-summary{position:static}}.order-items-editor-body{display:grid;min-height:0;overflow-y:auto}.order-items-products{padding:2px 0 24px}.order-items-products .section-title-row h3,.order-edit-conditions h3,.order-edit-summary h3{margin:0}.order-items-editor .order-lines{margin-top:12px}.order-items-editor .order-line{grid-template-columns:minmax(280px,1fr) 112px 160px 40px;gap:12px;padding:14px 0;border:0;border-bottom:1px solid var(--ui-border, var(--border-default));border-radius:0}.order-items-editor .order-line:first-child{border-top:1px solid var(--ui-border, var(--border-default))}.order-items-editor .order-line>.icon-button{align-self:end;margin-bottom:1px}.order-items-editor-lower{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);border-top:1px solid var(--ui-border, var(--border-default))}.order-edit-conditions,.order-edit-summary{min-width:0;padding-top:24px}.order-edit-conditions{padding-right:28px}.order-edit-summary{display:grid;align-content:start;gap:8px;padding-left:28px;border-left:1px solid var(--ui-border, var(--border-default))}.order-edit-conditions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;margin-top:16px}.order-edit-promotion-field{grid-column:1 / -1}.order-edit-finance-field{grid-template-rows:minmax(38px,auto) auto minmax(36px,auto);align-content:start}.order-edit-finance-field>span{align-self:end}.order-edit-finance-field>small{align-self:start}.order-edit-summary .muted{margin:6px 0 0}.client-modal.order-items-editor>.modal-actions.order-items-editor-actions{justify-content:space-between;flex:none}.order-items-editor-actions>div{display:flex;gap:9px}@media(max-width:900px){.client-modal.order-items-editor{width:min(760px,calc(100vw - 20px));max-height:calc(100dvh - 20px)}.order-items-editor-lower{grid-template-columns:1fr}.order-edit-conditions{padding-right:0}.order-edit-summary{margin-top:22px;padding-left:0;border-top:1px solid var(--ui-border, var(--border-default));border-left:0}.order-items-editor .order-line{grid-template-columns:minmax(240px,1fr) 100px 140px 38px}}@media(max-width:720px){.order-items-editor .order-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px}.order-items-editor .order-line>label:first-child{grid-column:1 / -1}.order-edit-conditions-grid{grid-template-columns:1fr}.order-edit-promotion-field{grid-column:auto}.order-edit-finance-field{grid-template-rows:auto}.client-modal.order-items-editor>.modal-actions.order-items-editor-actions{display:grid;grid-template-columns:1fr}.order-items-editor-actions>div{display:grid;grid-template-columns:1fr 1fr}}@media(max-width:520px){.order-items-products .section-title-row{align-items:stretch;flex-direction:column}.order-items-products .section-title-row .button{width:100%}.order-items-editor .order-line{grid-template-columns:1fr}.order-items-editor .order-line>label:first-child{grid-column:auto}.order-items-editor .order-line>.icon-button{justify-self:end}.order-items-editor-actions>div{grid-template-columns:1fr}}.finance-adjustment-form{margin:16px 0}.finance-tabs{display:flex;gap:8px;margin:20px 0 12px;flex-wrap:wrap}.platform-page{display:grid;gap:20px}.page-title-row,.toolbar,.button-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.metric-grid,.attention-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px}.attention-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}.metric-card{padding:18px;border-radius:14px;background:#fff;border:1px solid #e4e7ec;box-shadow:0 5px 18px #1018280d}.metric-card span{display:block;color:var(--text-muted);margin-bottom:8px}.metric-card strong{font-size:25px}.metric-danger{border-color:#fda29b;background:#fff4f2}.two-columns,.analytics-grid,.settings-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.compact-list,.rank-list{display:grid;gap:8px}.compact-list>div,.rank-list>div{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:10px 0;border-bottom:1px solid #eaecf0}.compact-list small,.compact-list span{color:var(--text-muted)}.table-wrap{overflow:auto;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.table-wrap table{width:100%;border-collapse:collapse;min-width:900px}.table-wrap th,.table-wrap td{padding:12px 14px;border-bottom:1px solid #eaecf0;text-align:left;vertical-align:top}.table-wrap th{background:#f9fafb;color:var(--text-muted);position:sticky;top:0}.toolbar label{display:flex;align-items:center;gap:8px}.button-link{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:8px;background:#175cd3;color:#fff;text-decoration:none}.settings-list textarea,.platform-page textarea,.global-search input{width:100%;background:#fff;color:var(--text-primary);border:1px solid #d0d5dd;border-radius:8px;padding:10px 12px;box-sizing:border-box}.spark-bars{height:220px;display:flex;align-items:flex-end;gap:3px;padding-top:16px}.spark-bars>div{flex:1;min-width:4px;background:#1570ef;border-radius:4px 4px 0 0}.status-pill{display:inline-flex;padding:3px 9px;border-radius:999px;background:#f2f4f7}.status-sent{background:#dcfae6;color:#067647}.status-error{background:#fee4e2;color:#b42318}.block{display:block;margin-top:4px;color:var(--text-muted)}.global-search{position:relative;width:min(460px,42vw)}.global-search-results{position:absolute;z-index:1000;top:calc(100% + 8px);left:0;right:0;max-height:420px;overflow:auto;background:#fff;border:1px solid #d0d5dd;border-radius:12px;box-shadow:0 16px 42px #1018282e}.global-search-results button{width:100%;display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:11px 12px;text-align:left;border:0;border-bottom:1px solid #eaecf0;background:#fff;color:var(--text-primary)}.global-search-results button:hover{background:#f9fafb}.global-search-results span,.global-search-results small{color:var(--text-muted)}.search-empty{padding:16px;color:var(--text-muted)}@media(max-width:1000px){.metric-grid,.attention-grid,.two-columns,.analytics-grid,.settings-list{grid-template-columns:1fr}.global-search{width:100%;order:3}.topbar{flex-wrap:wrap}}:root{--bg-app: #f4f6fa;--bg-surface: #ffffff;--bg-surface-raised: #ffffff;--bg-subtle: #f8fafc;--bg-hover: #f4f7ff;--bg-disabled: #f2f4f7;--input-bg: #ffffff;--text-primary: #172033;--text-secondary: #344054;--text-muted: #667085;--text-subtle: #475467;--text-placeholder: #98a2b3;--border-default: #dfe4ec;--border-strong: #d0d5dd;--border-subtle: #eaecf0;--focus-ring: rgba(99, 102, 241, .18);--surface-shadow: rgba(15, 23, 42, .08);--overlay-bg: rgba(15, 23, 42, .52);--primary-soft-border: #b7ccff;--primary-soft-text: #2459e8;--success-soft: #ecfdf3;--success-soft-text: #067647;--success-soft-border: #a6f4c5;--danger-soft: #fff1f2;--danger-soft-hover: #fff5f4;--danger-soft-text: #b42318;--danger-soft-border: #fecaca;--warning-soft: #fff7ed;--warning-soft-text: #8a3b12;--warning-soft-border: #fed7aa;--sidebar: #090d15;--sidebar-soft: #1f2a3e;--primary: #3157d5;--primary-hover: #2848bd;--primary-soft: #eef2ff;--border: var(--border-default);--muted: var(--text-muted);--danger: #c2413b;--success: #16835b}.shell{grid-template-columns:268px minmax(0,1fr)}.sidebar{position:sticky;z-index:40;top:0;height:100vh;height:100dvh;padding:18px 14px;display:flex;flex-direction:column;overflow:hidden;background:var(--sidebar)}.brand{position:relative;display:flex;gap:12px;align-items:center;min-width:0;padding:8px 10px 22px;font-size:var(--ui-type-body-size)}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#3157d5;color:#fff;font-weight:var(--ui-font-weight-bold)}.brand>div{min-width:0}.brand strong,.brand small{display:block}.brand small{color:#8290a8;margin-top:3px;font-weight:var(--ui-type-secondary-weight)}.sidebar nav{flex:1 1 auto;min-height:0;align-content:start;gap:4px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}.sidebar nav::-webkit-scrollbar{width:6px}.sidebar nav::-webkit-scrollbar-track{background:transparent}.sidebar nav::-webkit-scrollbar-thumb{border-radius:999px;background:#354158}.sidebar nav{scrollbar-width:thin;scrollbar-color:#354158 transparent}.sidebar a{display:flex;gap:11px;align-items:center;min-height:44px;padding:10px 12px;border-radius:10px;color:#c3ccda;font-weight:var(--ui-type-navigation-weight)}.sidebar a.active,.sidebar a:hover{background:var(--sidebar-soft);color:#fff}.sidebar a:focus-visible{outline:2px solid #6f8dff;outline-offset:-2px}.nav-icon{display:inline-grid;flex:0 0 22px;width:22px;place-items:center;text-align:center}.nav-separator{height:1px;background:#273146;margin:10px 8px}.sidebar-footer{flex:0 0 auto;margin-top:10px;border-top:1px solid #273146;padding-top:14px;background:var(--sidebar)}.sidebar-user{padding:5px 12px 12px}.sidebar-user strong,.sidebar-user small{display:block}.sidebar-user small{color:#8290a8;margin-top:3px}.sidebar-tenant-switcher{display:grid;gap:5px;padding:4px 12px 10px;color:#8290a8;font-size:var(--ui-type-secondary-size)}.sidebar-storefront-switcher{position:relative;display:grid;gap:5px;padding:0 12px 10px;color:#8290a8;font-size:var(--ui-type-secondary-size)}.sidebar-tenant-switcher select,.sidebar-storefront-switcher select{width:100%;min-width:0;height:36px;border:1px solid #33415a;border-radius:9px;padding:0 30px 0 9px;color:#e7edf7;background:var(--sidebar-soft)}.sidebar-tenant-switcher select:focus-visible,.sidebar-storefront-switcher select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sidebar-task-badge{display:inline-grid;flex:0 0 auto;min-width:20px;height:20px;place-items:center;margin-left:auto;border-radius:999px;padding:0 6px;background:#dc2626;color:#fff;font-size:11px;font-weight:var(--ui-font-weight-semibold);line-height:1}.sidebar-footer .sidebar-storefront-trigger{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:7px;min-height:38px;padding:7px 9px;border:1px solid #33415a;background:var(--sidebar-soft);color:#e7edf7;font-weight:var(--ui-type-navigation-weight)}.sidebar-storefront-trigger>span:first-child,.sidebar-storefront-menu button>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-storefront-chevron{display:grid;grid-column:3;place-items:center;color:#9aa7bb}.sidebar-storefront-menu{position:absolute;z-index:80;right:12px;bottom:calc(100% - 2px);left:12px;display:grid;gap:3px;max-height:min(320px,55vh);overflow-y:auto;border:1px solid #33415a;border-radius:10px;padding:5px;background:#111827;box-shadow:0 14px 36px #00000059}.sidebar-footer .sidebar-storefront-menu button{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:7px;min-height:38px;padding:8px 9px;color:#dbe4f1}.sidebar-footer .sidebar-storefront-menu button:hover,.sidebar-footer .sidebar-storefront-menu button.selected{background:var(--sidebar-soft);color:#fff}.sidebar-storefront-check{grid-column:3;color:#8eabff;text-align:center}.product-panel-subsection{margin-top:22px;padding-top:20px;border-top:1px solid var(--border)}.product-panel-subsection h3{margin:0;font-size:var(--ui-type-section-title-size)}.section-help{margin:6px 0 14px;color:var(--muted);font-size:var(--ui-type-secondary-size)}.sidebar-footer button{width:100%;border:0;color:#c3ccda;background:transparent;padding:11px 12px;text-align:left;border-radius:10px}.sidebar-footer button:hover{background:var(--sidebar-soft);color:#fff}.topbar{min-height:68px;padding:10px 26px}.topbar-heading{display:flex;align-items:center;gap:12px;min-width:0}.topbar-title strong{font-size:var(--ui-type-body-size)}.topbar-title span{color:var(--muted);font-size:var(--ui-type-secondary-size);margin-top:2px}.global-search{width:min(560px,55vw);position:relative}.global-search input{width:100%;min-height:42px;border:1px solid var(--border);border-radius:12px;padding:0 14px;background:#f8fafc}.topbar-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;width:min(620px,62vw)}.topbar-tools .global-search{flex:1;width:auto}.theme-toggle{flex:0 0 42px;width:42px;height:42px;padding:0;font-size:17px}.mobile-navigation-toggle,.sidebar-mobile-close,.sidebar-backdrop{display:none}.content{padding:24px 28px 40px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}.page-header h1{margin:0;font-size:var(--ui-type-page-title-size)}.page-header p{margin:7px 0 0;color:var(--muted)}.page-actions{display:flex;gap:8px}button,.button-link{border:1px solid #cfd6e2;background:#fff;color:var(--text-secondary);border-radius:9px;padding:9px 13px;font-weight:var(--ui-type-button-weight)}button.primary,.button-primary{background:var(--primary);border-color:var(--primary);color:#fff}.panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:0 6px 20px #0f172a09}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.panel-header h2,.panel-header h3{margin:0}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.metric-card{min-height:126px;padding:18px;border:1px solid var(--border);border-radius:14px;background:#fff;display:flex;flex-direction:column;justify-content:center}.metric-label{color:var(--muted);font-size:var(--ui-type-secondary-size)}.metric-value{font-size:25px;margin-top:9px}.metric-note{color:var(--muted);margin-top:7px}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.rank-list{display:grid}.rank-row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #edf0f5}.rank-row:last-child{border-bottom:0}.rank-title{font-weight:var(--ui-font-weight-semibold)}.rank-subtitle{color:var(--muted);font-size:var(--ui-type-secondary-size);margin-top:4px}.chart-bars{height:220px;display:flex;align-items:end;gap:5px;padding-top:14px}.chart-bar{flex:1;width:100%;min-width:4px;max-width:24px;height:100%}.chart-bar-fill{fill:#4f6fe7}.settings-section{background:#fff;border:1px solid var(--border);border-radius:14px;padding:20px;margin-bottom:16px}.settings-section h3{margin:0 0 18px}.admin-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.selected-client-card{display:flex;justify-content:space-between;gap:16px;background:#f6f8fc;border:1px solid #dbe2ef;border-radius:11px;padding:13px 14px}.selected-client-card strong,.selected-client-card span{display:block}.selected-client-card span{color:var(--muted);font-size:var(--ui-type-secondary-size);margin-top:4px}.field-error{color:var(--danger);margin-top:6px}@media(max-width:1050px){.metric-grid,.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.global-search{width:100%}.topbar-title{display:none}.content{padding:18px}.admin-grid,.admin-form-grid{grid-template-columns:1fr}}[data-theme=dark]{color-scheme:dark;--bg-app: #0f141c;--bg-surface: #171d28;--bg-surface-raised: #1c2431;--bg-subtle: #202938;--bg-hover: #273244;--bg-disabled: #1b2230;--input-bg: #202938;--text-primary: #e8edf5;--text-secondary: #c7d0dd;--text-muted: #9ca6b7;--text-subtle: #b7c0ce;--text-placeholder: #7f8b9d;--border-default: #313a49;--border-strong: #3b4657;--border-subtle: #2b3443;--focus-ring: rgba(111, 140, 255, .26);--surface-shadow: rgba(0, 0, 0, .32);--overlay-bg: rgba(2, 6, 15, .72);--primary: #5f7df0;--primary-hover: #728df4;--primary-soft: #1b2d55;--primary-soft-border: #385897;--primary-soft-text: #9bb0ff;--success-soft: #123429;--success-soft-text: #6ee7b7;--success-soft-border: #28674f;--danger-soft: #3a1d24;--danger-soft-hover: #47232b;--danger-soft-text: #fda4af;--danger-soft-border: #7f3542;--warning-soft: #3b2c17;--warning-soft-text: #fdba74;--warning-soft-border: #7c5527;--border: var(--border-default);--muted: var(--text-muted);color:var(--text-primary);background:var(--bg-app)}[data-theme=dark] body,[data-theme=dark] .main,[data-theme=dark] .content,[data-theme=dark] .order-wizard-page{background:var(--bg-app);color:var(--text-primary)}[data-theme=dark] .topbar,[data-theme=dark] .card,[data-theme=dark] .panel,[data-theme=dark] .metric-card,[data-theme=dark] .settings-section,[data-theme=dark] .wizard-card,[data-theme=dark] .confirmation-section,[data-theme=dark] .confirmation-summary,[data-theme=dark] .supplier-order-block,[data-theme=dark] .product-filter-panel,[data-theme=dark] .order-draft-modal,[data-theme=dark] .order-draft-summary div,[data-theme=dark] .detail-section,[data-theme=dark] .modal-card,[data-theme=dark] .auth-card{background:var(--bg-surface);color:var(--text-primary);border-color:var(--border)}[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select,[data-theme=dark] .global-search input,[data-theme=dark] .country-input,[data-theme=dark] .selected-client-card,[data-theme=dark] .supplier-subtotals,[data-theme=dark] .global-search-results,[data-theme=dark] .global-search-results button,[data-theme=dark] .client-search-dropdown,[data-theme=dark] .client-search-dropdown button,[data-theme=dark] .searchable-select-dropdown,[data-theme=dark] .searchable-select-dropdown button{background:var(--input-bg);color:var(--text-primary);border-color:var(--border-strong)}[data-theme=dark] .global-search-results button:hover,[data-theme=dark] .client-search-dropdown button:hover,[data-theme=dark] .searchable-select-dropdown button:hover,[data-theme=dark] .searchable-select-dropdown button.active,[data-theme=dark] .table-wrap th,[data-theme=dark] .supplier-order-block h3{background:var(--bg-hover);color:var(--text-primary)}[data-theme=dark] .table-wrap td,[data-theme=dark] .rank-row,[data-theme=dark] .info-row,[data-theme=dark] .supplier-order-table th,[data-theme=dark] .supplier-order-table td,[data-theme=dark] .confirmation-table th,[data-theme=dark] .confirmation-table td{border-color:var(--border-subtle)}[data-theme=dark] .page-header p,[data-theme=dark] .page-title p,[data-theme=dark] .muted,[data-theme=dark] small,[data-theme=dark] .metric-label,[data-theme=dark] .metric-note,[data-theme=dark] .rank-subtitle{color:var(--text-muted)}@media(max-width:1000px){.topbar-tools{width:100%;order:3}}.order-wizard-page{position:fixed;inset:68px 0 0 268px;z-index:900;overflow:auto;padding:24px 34px 48px;background:#f5f7fb}.order-wizard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;max-width:1320px;margin:0 auto 18px}.order-wizard-heading h1{margin:0;font-size:var(--ui-type-page-title-size)}.order-wizard-heading p{margin:5px 0 0;color:var(--text-muted)}.order-wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:1320px;margin:0 auto 16px}.order-wizard-steps button{display:flex;align-items:center;gap:10px;min-height:54px;text-align:left;color:var(--text-muted);background:#fff;border:1px solid #dfe4ec}.order-wizard-steps button span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#eef2f6}.order-wizard-steps button.active{color:#2459e8;border-color:#2459e8}.order-wizard-steps button.active span{color:#fff;background:#2459e8}.wizard-card{max-width:1320px;margin:0 auto;padding:20px;border:1px solid #dfe4ec;border-radius:16px;background:#fff;box-shadow:0 10px 30px #0f172a0d}.wizard-card h2{margin:0 0 5px}.wizard-loading-state{margin-top:60px;text-align:center;color:var(--text-muted)}.wizard-notice{max-width:1320px;margin:0 auto 16px}.client-search-box{position:relative;margin-top:16px}.client-search-dropdown{position:absolute;z-index:20;top:calc(100% + 5px);left:0;right:0;max-height:340px;overflow:auto;border:1px solid #d0d5dd;border-radius:12px;background:#fff;box-shadow:0 18px 40px #1018282e}.client-search-dropdown button{display:block;width:100%;padding:12px 14px;text-align:left;border:0;border-bottom:1px solid #eaecf0;border-radius:0}.client-search-dropdown button:hover{background:#f6f8fc}.client-search-dropdown strong,.client-search-dropdown span{display:block}.client-search-dropdown span{margin-top:4px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.selected-client-banner{display:flex;justify-content:space-between;align-items:center;margin:12px 0;padding:10px 13px;border:1px solid #b7ccff;border-radius:10px;background:#eef4ff;color:#2459e8}.selected-client-banner button{padding:5px 8px;color:#2459e8;background:transparent;border:0}.wizard-address-selector{display:grid;gap:12px;margin-top:16px;padding:14px;border:1px solid #dfe4ec;border-radius:12px;background:#f8fafc}.wizard-address-selector-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.wizard-address-selector-heading strong,.wizard-address-selector-heading small{display:block}.wizard-address-selector-heading small{margin-top:3px;color:var(--text-muted)}.wizard-address-selector-heading>span{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#eef2f6;color:var(--text-secondary);font-size:var(--ui-type-badge-size)}.wizard-address-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.wizard-address-options>button{display:grid;align-content:start;gap:6px;min-height:112px;padding:12px;text-align:left;border:1px solid #d0d5dd;border-radius:10px;background:#fff}.wizard-address-options>button:hover{border-color:#84a8ff;background:#f5f8ff}.wizard-address-options>button.active{border-color:#2459e8;box-shadow:0 0 0 2px #2459e81f}.wizard-address-options>button>span:not(.wizard-address-option-title){display:flex;align-items:center;gap:6px;line-height:var(--ui-type-field-value-line-height)}.wizard-address-options>button>small{color:var(--text-muted);line-height:var(--ui-type-secondary-line-height)}.wizard-address-option-title{display:flex;justify-content:space-between;gap:10px}.wizard-address-option-title small{padding:2px 6px;border-radius:999px;background:#eef4ff;color:#2459e8;font-size:var(--ui-type-badge-size)}.wizard-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:16px}.country-input{display:flex;align-items:center;border:1px solid #d0d5dd;border-radius:9px;background:#fff}.country-input>span{padding-left:11px;font-size:20px}.country-input input{border:0!important}.price-tier-box{margin-top:18px}.price-tier-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 6px}.price-tier-buttons button.active{color:#2459e8;border-color:#2459e8;background:#eef4ff}.price-tier-box small{color:var(--text-muted)}.wizard-checkbox{display:flex;align-items:center;gap:9px;margin-top:16px;padding:12px;border:1px solid #b7ccff;border-radius:10px;background:#f5f8ff;font-weight:var(--ui-type-field-label-weight)}.wizard-footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid #eaecf0}.product-filter-panel{margin:16px 0;padding:14px;border:1px solid #dfe4ec;border-radius:12px;background:#f8fafc}.product-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-filter-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.button-small{padding:6px 9px;font-size:var(--ui-type-button-size)}.product-dropdown{max-height:430px}.supplier-order-groups{display:grid;gap:16px;margin-top:18px}.supplier-order-block{overflow:hidden;border:1px solid #dfe4ec;border-radius:13px}.supplier-order-block h3{margin:0;padding:14px 16px;background:#f7f9fc;border-bottom:1px solid #dfe4ec}.supplier-table-wrap{overflow-x:auto}.supplier-order-table,.confirmation-table{width:100%;border-collapse:collapse}.supplier-order-table th,.supplier-order-table td,.confirmation-table th,.confirmation-table td{padding:11px 12px;text-align:left;border-bottom:1px solid #eaecf0}.supplier-order-table small{display:block;margin-top:3px;color:var(--text-muted)}.supplier-order-table input{width:82px}.supplier-order-table .supplier-offer-select{display:block;width:min(100%,300px);margin-top:8px;padding:7px 9px;font-size:var(--ui-type-field-value-size)}.order-return-editor{width:min(1040px,calc(100vw - 32px))}.order-return-lines{display:grid;gap:10px;margin:18px 0}.order-return-line{display:grid;grid-template-columns:minmax(240px,1fr) 110px 180px 190px;gap:12px;align-items:end;padding:14px;border:1px solid var(--border-color, #dfe4ec);border-radius:12px}.order-return-product{display:grid;gap:4px;align-self:center}.order-return-product small{color:var(--text-secondary, #667085)}.order-return-restock{align-self:center;margin-top:20px}.order-return-history{display:grid;gap:10px}.order-return-history-card{display:grid;grid-template-columns:minmax(180px,.35fr) 1fr;gap:20px;padding:14px 16px;border:1px solid var(--border-color, #dfe4ec);border-radius:12px}.order-return-history-card>div:first-child,.order-return-history-items{display:grid;gap:4px}.order-return-history-card small{color:var(--text-secondary, #667085)}@media(max-width:800px){.order-return-line,.order-return-history-card{grid-template-columns:1fr}.order-return-restock{margin-top:0}}.supplier-subtotals{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:20px;padding:13px 16px;background:#fbfcfe}.supplier-subtotals div{min-width:130px}.supplier-subtotals span,.supplier-subtotals strong{display:block}.supplier-subtotals span{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.wizard-empty{padding:40px;text-align:center;color:var(--text-muted);border:1px dashed #cfd6e2;border-radius:12px}.wizard-inline-alert{display:flex;align-items:center;justify-content:space-between;gap:14px}.wizard-inline-alert .button{flex:0 0 auto}.delivery-field{max-width:360px;margin-top:18px}.confirmation-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;margin-top:18px}.confirmation-section{margin-bottom:16px;padding:16px;border:1px solid #dfe4ec;border-radius:12px}.confirmation-section h3{margin-top:0}.order-confirmation-title,.order-confirm-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.order-confirmation-title p{margin:5px 0 0;color:var(--text-muted)}.quote-state{flex:0 0 auto;padding:7px 10px;border:1px solid #a7e2bd;border-radius:999px;background:#f0fdf4;color:#067647;font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.quote-state.loading,.quote-state.stale{border-color:#f4cc72;background:#fffaeb;color:#8a6116}.order-confirmation-stack{display:flex;flex-direction:column;margin-top:18px}.order-confirmation-main{display:contents}.order-confirm-client{order:1}.order-confirm-products{order:2}.order-confirm-finance,.order-confirm-parameters{order:3}.order-confirmation-stack>.confirmation-summary{order:4}.order-confirm-message{order:5}.order-confirm-section-heading h3{margin-bottom:0}.order-confirm-product{display:flex;align-items:center;gap:10px}.order-confirm-product>span:last-child,.order-confirm-product small{display:block}.order-confirm-product small{margin-top:3px;color:var(--text-muted)}.order-confirm-product-image{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;overflow:hidden;border:1px solid #e4e7ec;border-radius:9px;background:#f8fafc}.order-confirm-product-image img{width:100%;height:100%;object-fit:cover}.order-confirm-product-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.order-confirm-product-totals>div{padding:11px 12px;border:1px solid #e4e7ec;border-radius:9px;background:#f8fafc}.order-confirm-product-totals span,.order-confirm-product-totals strong{display:block}.order-confirm-product-totals span{margin-bottom:4px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.order-confirm-message summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer}.order-confirm-message summary span{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.order-confirm-message textarea{width:100%;margin-top:14px}.partner-attribution-preview{display:grid;gap:8px;margin-top:12px}.partner-attribution-preview>div{display:flex;justify-content:space-between;gap:16px;padding:11px 12px;border:1px solid #b7ccff;border-radius:10px;background:#f5f8ff}.partner-attribution-preview span:last-child{text-align:right}.partner-attribution-preview strong,.partner-attribution-preview small{display:block}.order-confirmation-stack>.confirmation-summary{position:static;width:100%;margin-bottom:16px}.order-confirmation-footer{position:sticky;bottom:-20px;z-index:5;gap:12px;margin:0 -20px -20px;padding:14px 20px;border-top:1px solid var(--border-default, #e4e7ec);background:var(--bg-surface, #fff);box-shadow:0 -10px 24px #0f172a14}.order-confirmation-footer-state{margin-left:auto;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.order-confirmation-footer>strong{font-size:var(--ui-type-amount-total-size);white-space:nowrap}[data-theme=dark] .order-confirmation-title p,[data-theme=dark] .order-confirm-product small,[data-theme=dark] .order-confirm-product-totals span,[data-theme=dark] .order-confirm-message summary span,[data-theme=dark] .order-confirmation-footer-state{color:var(--text-muted)}[data-theme=dark] .order-confirm-product-image,[data-theme=dark] .order-confirm-product-totals>div,[data-theme=dark] .confirmation-summary{border-color:var(--border-default);background:var(--bg-subtle)}[data-theme=dark] .partner-attribution-preview>div{border-color:var(--primary-soft-border);background:var(--primary-soft)}[data-theme=dark] .quote-state{border-color:var(--success-soft-border);background:var(--success-soft);color:var(--success-soft-text)}[data-theme=dark] .quote-state.loading,[data-theme=dark] .quote-state.stale{border-color:var(--warning-soft-border);background:var(--warning-soft);color:var(--warning-soft-text)}.client-warning-note{margin-top:12px;padding:11px 12px;color:#8a3b12;border:1px solid #fed7aa;border-radius:9px;background:#fff7ed}.confirmation-summary{align-self:start;position:sticky;top:18px;padding:18px;border:1px solid #dfe4ec;border-radius:13px;background:#fbfcfe}.confirmation-summary>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eaecf0}.confirmation-summary .grand-total{margin-top:8px;padding-top:15px;font-size:var(--ui-type-amount-total-size);border-top:2px solid #cfd6e2}.confirmation-summary .button{width:100%;margin-top:12px}.order-draft-modal-backdrop{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:20px;background:#0f172a94;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.order-draft-modal{width:min(580px,100%);padding:24px;border:1px solid #dfe4ec;border-radius:18px;background:#fff;box-shadow:0 28px 80px #0f172a4d}.order-draft-modal-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:14px;border-radius:14px;background:#eef4ff;font-size:24px}.order-draft-modal h2{margin:0;font-size:var(--ui-type-section-title-size)}.order-draft-modal p{margin:7px 0 0;color:var(--text-muted);line-height:var(--ui-type-secondary-line-height)}.order-draft-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.order-draft-summary div{min-width:0;padding:12px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc}.order-draft-summary span,.order-draft-summary strong{display:block}.order-draft-summary span{margin-bottom:4px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.order-draft-summary strong{overflow-wrap:anywhere}.order-draft-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}@media(max-width:1050px){.order-wizard-page{left:78px}.confirmation-grid{grid-template-columns:1fr}.confirmation-summary{position:static}}@media(max-width:760px){.order-wizard-page{inset:68px 0 0;padding:16px}.order-wizard-steps,.wizard-form-grid,.product-filter-grid{grid-template-columns:1fr}.wizard-inline-alert{align-items:stretch;flex-direction:column}.order-draft-actions{flex-direction:column-reverse}.order-draft-actions .button{width:100%}}@media(max-width:760px){.order-confirmation-title,.order-confirm-section-heading{align-items:stretch;flex-direction:column}.order-confirm-product-totals{grid-template-columns:1fr}.order-confirmation-footer{flex-wrap:wrap;bottom:-16px;margin:0 -16px -16px;padding:12px 16px}.order-confirmation-footer-state{order:-1;width:100%;margin-left:0}.order-confirmation-footer .button-primary{flex:1}}.searchable-select{position:relative;min-width:0}.searchable-select-dropdown{position:absolute;z-index:80;top:calc(100% + 6px);left:0;right:0;max-height:360px;overflow-y:auto;border:1px solid #d0d5dd;border-radius:12px;background:#fff;box-shadow:0 20px 48px #1018282e}.searchable-select-dropdown button{display:block;width:100%;padding:12px 14px;text-align:left;border:0;border-bottom:1px solid #eaecf0;border-radius:0;background:#fff}.searchable-select-dropdown button:last-child{border-bottom:0}.searchable-select-dropdown button:hover,.searchable-select-dropdown button.active{background:#f4f7ff}.searchable-select-dropdown strong,.searchable-select-dropdown span,.searchable-select-dropdown small{display:block}.searchable-select-dropdown span{margin-top:3px;color:var(--text-secondary)}.searchable-select-dropdown small{margin-top:3px;color:var(--text-muted)}.searchable-select-empty{padding:16px;color:var(--text-muted);background:#fff}.wizard-form-grid>.searchable-select{align-self:end}.supplier-modal-backdrop{padding:20px;overflow-y:auto}.supplier-form-modal{width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 40px);margin:auto;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e4e7ec;border-radius:18px;background:#fff;box-shadow:0 28px 80px #0f172a47}.supplier-modal-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px 14px;background:#fff}.supplier-modal-header h2{margin:0;color:var(--text-primary);font-size:var(--ui-type-section-title-size);line-height:var(--ui-type-section-title-line-height)}.supplier-close-button,.supplier-remove-rate{display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid #d0d5dd;background:#fff;color:var(--text-secondary);cursor:pointer}.supplier-close-button{width:30px;height:30px;border-radius:50%;font-size:21px;line-height:1}.supplier-modal-body{min-height:0;overflow-y:auto;padding:8px 22px 20px}.supplier-main-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}.supplier-main-grid .field>span,.supplier-notes-field>span{color:var(--text-secondary);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight)}.supplier-main-grid input,.supplier-main-grid textarea,.supplier-notes-field textarea,.supplier-rate-row input{border-radius:9px}.supplier-telegram-users{min-height:72px;resize:vertical}.supplier-main-grid small{color:var(--text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.supplier-rates-section{margin-top:22px}.supplier-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.supplier-section-heading h3{margin:0;color:var(--text-primary);font-size:var(--ui-type-field-label-size)}.supplier-add-country{white-space:nowrap;min-height:38px}.supplier-rate-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 42px;align-items:center;gap:10px}.supplier-rate-row .searchable-select,.supplier-rate-row .field{min-width:0}.searchable-select-field-compact{gap:0}.supplier-rate-row .searchable-select input,.supplier-rate-price input{min-height:40px}.supplier-rate-price{position:relative}.supplier-rate-price input{width:100%;padding-right:34px}.supplier-rate-price span{position:absolute;top:50%;right:12px;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.supplier-remove-rate{width:42px;height:40px;border-radius:9px;font-size:21px}.supplier-remove-rate:hover{border-color:#f04438;background:#fff5f4;color:#d92d20}.supplier-empty-rates{padding:18px;border:1px dashed #d0d5dd;border-radius:10px;color:var(--text-muted);text-align:center}.supplier-rates-help{margin:10px 0 0;color:var(--text-muted);font-size:var(--ui-type-secondary-size);line-height:var(--ui-type-secondary-line-height)}.supplier-notes-field{margin-top:14px}.supplier-notes-field textarea{min-height:84px;resize:vertical}.supplier-active-checkbox{display:inline-flex;align-items:center;gap:8px;margin-top:12px;color:var(--text-secondary);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight);cursor:pointer}.supplier-active-checkbox input{width:16px;height:16px}.supplier-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px 18px;border-top:1px solid #eaecf0;background:#fff}.country-option,.country-display{display:inline-flex!important;align-items:center;gap:8px}.country-option-flag,.country-display>span{flex:0 0 auto;font-size:18px;line-height:1}.country-option strong{display:inline!important}.supplier-rate-row .searchable-select-dropdown{z-index:120;max-height:250px}@media(max-width:700px){.supplier-modal-backdrop{padding:10px}.supplier-form-modal{width:100%;max-height:calc(100vh - 20px)}.supplier-main-grid{grid-template-columns:1fr}.supplier-rate-row{grid-template-columns:minmax(0,1fr) 108px 42px}}@media(max-width:480px){.supplier-section-heading{align-items:stretch;flex-direction:column}.supplier-rate-row{grid-template-columns:minmax(0,1fr) 42px}.supplier-rate-row .searchable-select{grid-column:1 / -1}}.searchable-select-input-wrap{position:relative}.searchable-select-input-wrap.has-leading input{padding-left:46px}.searchable-select-leading{position:absolute;top:50%;left:12px;z-index:1;display:inline-flex;align-items:center;justify-content:center;transform:translateY(-50%);pointer-events:none}.country-flag-image{display:block;width:24px;height:18px;flex:0 0 24px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px #1018281a}.country-flag-emoji{display:inline-flex;width:24px;min-width:24px;align-items:center;justify-content:center;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:18px;line-height:1}.supplier-close-button{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:0}.supplier-close-button svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.supplier-main-grid>.field{align-self:start}.supplier-main-grid>.field>input{height:40px;min-height:40px}.supplier-main-grid>.field>textarea.supplier-telegram-users{min-height:72px}.country-option,.country-display{min-width:0}.order-details-page{width:100%;font-size:var(--ui-type-body-size)}.order-details-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.order-details-heading .page-title p{margin-bottom:0}.order-details-heading .page-title{flex:1 1 350px;min-width:340px}.order-details-heading .page-title h1{font-size:var(--ui-type-page-title-size);white-space:nowrap}.order-details-heading-actions,.order-transfer-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.order-details-page .button{min-height:36px;padding:7px 12px;border-radius:9px}.order-copy-icon{width:36px;min-width:36px;padding-inline:0}.order-loading-card{min-height:180px;display:grid;place-items:center;color:var(--muted)}.order-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.order-info-card{min-width:0;min-height:0;padding:14px 16px;border-radius:12px}.order-wide-card{margin-bottom:12px;padding:14px 16px;border-radius:12px}.order-panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.order-panel-header h2{margin:0;font-size:var(--ui-type-section-title-size)}.order-kv{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--border);line-height:var(--ui-type-field-value-line-height)}.order-kv:last-child{border-bottom:0}.order-kv span{color:var(--muted)}.order-kv strong{text-align:right;overflow-wrap:anywhere}.order-kv .order-date-editor{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:var(--text)}.order-date-editor input{min-width:145px}.order-customer-name{margin:2px 0 10px;font-size:var(--ui-type-section-title-size)}.order-customer-link{border:0;padding:0;background:transparent;color:var(--primary);font:inherit;font-weight:var(--ui-type-navigation-weight);text-align:left}.order-customer-link:hover{text-decoration:underline}.order-bonus-box{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#f7f9fc}.order-bonus-box>div:first-child{min-width:0}.order-bonus-box span,.order-bonus-box strong,.order-bonus-box small{display:block}.order-bonus-box>div:first-child>span,.order-bonus-box small{color:var(--muted)}.order-bonus-box strong{margin:3px 0 2px;font-size:var(--ui-type-amount-total-size)}.order-bonus-actions{display:grid;justify-items:end;gap:6px}.order-bonus-indicator{display:inline-flex!important;align-items:center;gap:6px;padding:4px 8px;border:1px solid transparent;border-radius:999px;background:#eef1f6;color:var(--text-muted);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight);white-space:nowrap}.order-bonus-indicator:before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 18%,transparent)}.order-bonus-indicator.accrued{background:#e9f8f1;color:#16835b}.order-client-notes{display:grid;gap:5px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}.order-client-notes textarea{width:100%;min-height:54px;resize:vertical;border-radius:10px;padding:8px 10px}.order-notes-save{margin-top:6px}.order-delivery-summary{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr);gap:10px 24px;align-items:start}.order-delivery-column{display:grid;gap:3px;min-width:0}.order-delivery-column strong{font-size:var(--ui-type-field-value-size)}.order-delivery-column span:not(.order-delivery-label){line-height:var(--ui-type-field-value-line-height);overflow-wrap:anywhere}.order-delivery-label{color:var(--muted);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight);letter-spacing:.04em;text-transform:uppercase}.order-delivery-track{grid-column:1 / -1;display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:end;padding-top:10px;border-top:1px solid var(--border)}.order-track-state{min-width:112px;padding-bottom:8px;color:var(--muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight)}.order-track-state.saved{color:#16835b}.order-items-table-wrap,.order-history-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:10px}.order-items-table,.order-history-table{width:100%;border-collapse:collapse}.order-items-table{min-width:620px}.order-history-table{min-width:820px}.order-items-table th,.order-items-table td,.order-history-table th,.order-history-table td{padding:8px 10px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.order-items-table th,.order-history-table th{background:#f8fafc;color:var(--muted);font-size:var(--ui-type-table-header-size);text-transform:uppercase}.order-items-table tbody tr:last-child td,.order-history-table tbody tr:last-child td{border-bottom:0}.order-items-table td:first-child strong,.order-items-table td:first-child small{display:block}.order-items-table td:first-child small{margin-top:2px;color:var(--muted);font-size:var(--ui-type-secondary-size)}.order-details-totals{width:min(400px,100%);margin:12px 0 0 auto}.order-details-totals>div{display:flex;justify-content:space-between;gap:14px;padding:4px 0}.order-details-totals span{color:var(--muted)}.order-product-link{color:var(--primary);font-weight:var(--ui-type-navigation-weight);text-decoration:none}.order-product-link:hover{text-decoration:underline}.order-product-link:focus-visible{border-radius:4px;outline:2px solid var(--primary);outline-offset:2px}.order-total-emphasis{margin-top:3px;padding-top:8px!important;border-top:1px solid var(--border);font-size:var(--ui-type-amount-total-size)}.order-total-emphasis span,.order-total-emphasis strong{color:inherit;font-weight:var(--ui-type-amount-total-weight)}.pricing-breakdown{margin-top:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden}.pricing-breakdown summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;cursor:pointer;list-style-position:inside;color:var(--muted)}.pricing-breakdown summary>span:first-child{display:inline-grid;gap:3px;margin-left:4px;color:var(--text)}.pricing-breakdown summary small,.pricing-breakdown-row small{color:var(--muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight)}.pricing-breakdown-list{border-top:1px solid var(--border);padding:4px 12px 8px}.pricing-breakdown-row,.pricing-breakdown-result{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid var(--border)}.pricing-breakdown-row>span{display:grid;gap:2px}.pricing-breakdown-row.pricing-discount>strong,.pricing-breakdown-row.pricing-payment>strong{color:var(--success)}.pricing-breakdown-row.pricing-manual>strong{color:var(--warning-soft-text)}.pricing-breakdown-result{padding-top:12px;border-bottom:0;font-size:var(--ui-type-amount-size)}.pricing-breakdown-result strong{font-size:var(--ui-type-amount-total-size)}.order-status-editor{display:grid;grid-template-columns:minmax(220px,320px) minmax(280px,1fr) auto;gap:10px;align-items:end;margin-bottom:12px}.order-status-comment{margin:0}.order-status-comment textarea{min-height:64px;height:64px;padding:8px 10px}.order-status-actions{display:flex;align-items:stretch;gap:8px}.order-status-actions .button{white-space:nowrap}.order-status-action-column{display:grid;gap:7px}.order-notify-client{display:flex;align-items:flex-start;gap:9px;cursor:pointer}.order-notify-client input{width:17px;height:17px;margin:2px 0 0}.order-notify-client span{display:grid;gap:2px}.order-notify-client small{color:var(--text-muted);font-weight:var(--ui-type-secondary-weight)}@media(max-width:1180px){.order-overview-grid{grid-template-columns:1fr}.order-info-card{min-height:auto}.order-status-editor{grid-template-columns:1fr}.order-status-actions{justify-content:flex-start}}@media(max-width:760px){.order-details-heading{flex-direction:column}.order-details-heading .page-title{min-width:0}.order-details-heading .page-title h1{white-space:normal}.order-details-heading-actions{justify-content:flex-start}.order-delivery-summary{grid-template-columns:1fr}.order-delivery-track{grid-column:auto;grid-template-columns:1fr}.order-track-state{padding-bottom:0}.order-bonus-box,.order-status-actions{align-items:stretch;flex-direction:column}.order-bonus-actions{justify-items:start}}[data-theme=dark] .order-bonus-box,[data-theme=dark] .order-items-table th,[data-theme=dark] .order-history-table th{background:#202735;color:#e5e7eb}[data-theme=dark] .order-items-table th,[data-theme=dark] .order-items-table td,[data-theme=dark] .order-history-table th,[data-theme=dark] .order-history-table td{border-color:var(--border)}.clients-reference-panel{padding:18px}.clients-reference-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.clients-reference-toolbar .search-input{max-width:420px}.clients-reference-table{min-width:760px}.clients-reference-table th,.clients-reference-table td{padding:12px 10px}.clients-reference-table th{background:transparent;text-transform:uppercase;letter-spacing:.04em}.clients-reference-table td>span:not(.country-display){color:var(--text-muted);font-size:var(--ui-type-secondary-size);margin-top:4px}.clients-reference-pagination{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:14px}.clients-reference-pagination span{color:var(--text-muted)}.client-modal.client-modal-reference{width:min(980px,96vw);max-height:92vh;padding:22px}.client-modal-reference-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.client-modal-reference-header h2{margin:0;font-size:var(--ui-type-section-title-size)}.client-modal-reference-header .button{min-width:42px;padding-inline:11px}.client-modal-reference-grid{gap:12px}.client-modal-reference-grid .field{gap:6px;color:var(--text-secondary);font-size:var(--ui-type-field-label-size)}.client-address-book,.client-notes-field{grid-column:1 / -1}.client-address-book{display:grid;gap:12px;margin-top:4px;padding-top:18px;border-top:1px solid var(--border-subtle)}.client-address-book-heading,.client-address-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.client-address-book-heading h3{margin:0 0 4px;color:var(--text-primary);font-size:var(--ui-type-section-title-size)}.client-address-book-heading p{margin:0;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.client-address-editor{display:grid;gap:14px;padding:16px;border:1px solid var(--border-subtle);border-radius:14px;background:var(--bg-subtle)}.client-address-editor-heading>div,.client-primary-address{display:flex;align-items:center;gap:10px}.client-primary-address{color:var(--text-secondary);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.client-address-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.client-address-line{grid-column:span 2}.client-address-instructions{grid-column:1 / -1}.client-address-empty{padding:18px;border:1px dashed var(--border);border-radius:12px;color:var(--text-muted);text-align:center}.store-identity-status{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 14px}.store-identity-status span{padding:7px 10px;border:1px solid var(--border-subtle);border-radius:999px;background:var(--bg-subtle);color:var(--text-secondary);font-size:var(--ui-type-badge-size)}.client-modal-reference .modal-actions{margin-top:18px}@media(max-width:760px){.client-address-book-heading,.client-address-editor-heading{align-items:stretch;flex-direction:column}.client-address-editor-heading>div{justify-content:space-between}.client-address-grid{grid-template-columns:1fr}.client-address-line,.client-address-instructions{grid-column:auto}}.client-toast{position:fixed;right:22px;bottom:22px;z-index:120;max-width:420px;padding:13px 16px;border-radius:12px;background:#172033;color:#fff;box-shadow:0 14px 40px #0f172a3d}.client-toast.error{background:#b42318}[data-theme=dark] .client-modal-reference{background:#171d28;color:#e5e7eb}[data-theme=dark] .clients-reference-table th,[data-theme=dark] .clients-reference-table td{border-color:var(--border)}[data-theme=dark] .clients-reference-table tbody tr:hover{background:#202735}@media(max-width:760px){.clients-reference-panel{padding:14px}.clients-reference-toolbar .search-input{max-width:none}.clients-reference-pagination{align-items:stretch;flex-direction:column;text-align:center}}html,body,.main,.content,.order-wizard-page{background:var(--bg-app);color:var(--text-primary)}.topbar,.auth-card,.card,.panel,.metric-card,.settings-section,.wizard-card,.confirmation-section,.confirmation-summary,.supplier-order-block,.table-wrap,.form-section,.shipment-preview,.shipment-card,.order-actions,.drawer-section,.detail-section{background:var(--bg-surface);color:var(--text-primary);border-color:var(--border-default)}.client-modal,.modal-card,.supplier-form-modal,.order-draft-modal{background:var(--bg-surface-raised);color:var(--text-primary);border-color:var(--border-default);box-shadow:0 28px 80px var(--surface-shadow)}.client-drawer,.detail-drawer,.order-detail-drawer{background:var(--bg-app);color:var(--text-primary)}.client-drawer-header,.drawer-header,.supplier-modal-header,.supplier-modal-actions{background:var(--bg-surface-raised);color:var(--text-primary);border-color:var(--border-default)}.mini-stats div,.selected-client-card,.product-filter-panel,.wizard-address-selector,.product-picker button,.supplier-order-block h3,.supplier-subtotals,.order-draft-summary div,.order-bonus-box,.order-bonus-indicator,.wizard-empty{background:var(--bg-subtle);color:var(--text-primary);border-color:var(--border-default)}.wizard-address-options>button{background:var(--bg-surface);color:var(--text-primary);border-color:var(--border-default)}.wizard-address-options>button:hover{background:var(--bg-hover);border-color:var(--primary-soft-border)}.wizard-address-options>button.active{background:var(--primary-soft);border-color:var(--primary)}.wizard-address-selector-heading>span,.wizard-address-option-title small{background:var(--primary-soft);color:var(--primary-soft-text)}.order-wizard-steps button{background:var(--bg-surface);color:var(--text-muted);border-color:var(--border-default)}.order-wizard-steps button:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary)}.order-wizard-steps button.active{background:var(--bg-surface-raised);color:var(--primary-soft-text);border-color:var(--primary)}.order-wizard-steps button span{background:var(--bg-disabled);color:var(--text-muted)}.order-wizard-steps button.active span{background:var(--primary);color:#fff}input,select,textarea,.country-input,.searchable-select-dropdown,.searchable-select-empty,.client-search-dropdown,.global-search-results{background:var(--input-bg);color:var(--text-primary);border-color:var(--border-strong)}input::placeholder,textarea::placeholder{color:var(--text-placeholder);opacity:1}input:disabled,select:disabled,textarea:disabled{background:var(--bg-disabled);color:var(--text-muted);border-color:var(--border-default)}input:focus,select:focus,textarea:focus,.search-input:focus,.clients-toolbar select:focus,.field input:focus,.field select:focus,.field textarea:focus,.drawer-section textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus-ring)}button:focus-visible,.button-link:focus-visible,a:focus-visible{outline:2px solid var(--primary);outline-offset:2px}button,.button,.button-link,.logout-button,.supplier-close-button,.supplier-remove-rate{background:var(--bg-surface);color:var(--text-secondary);border-color:var(--border-strong)}button:hover:not(:disabled),.button:hover:not(:disabled),.logout-button:hover,.supplier-close-button:hover{background:var(--bg-hover);color:var(--text-primary)}button.primary,.button-primary,.primary-button,.button-link{background:var(--primary);color:#fff;border-color:var(--primary)}button.primary:hover:not(:disabled),.button-primary:hover:not(:disabled),.primary-button:hover:not(:disabled),.button-link:hover{background:var(--primary-hover);color:#fff;border-color:var(--primary-hover)}.button-danger{background:var(--danger);color:#fff;border-color:var(--danger)}.button-danger-soft,.form-error,.error-banner,.metric-danger{background:var(--danger-soft);color:var(--danger-soft-text);border-color:var(--danger-soft-border)}.button-danger-soft:hover:not(:disabled),.supplier-remove-rate:hover{background:var(--danger-soft-hover);color:var(--danger-soft-text);border-color:var(--danger-soft-border)}.success-banner{background:var(--success-soft);color:var(--success-soft-text);border-color:var(--success-soft-border)}.client-warning-note{background:var(--warning-soft);color:var(--warning-soft-text);border-color:var(--warning-soft-border)}.order-status,.selected-client-banner,.wizard-checkbox,.price-tier-buttons button.active,.order-draft-modal-icon{background:var(--primary-soft);color:var(--primary-soft-text);border-color:var(--primary-soft-border)}.selected-client-banner button{background:transparent;color:var(--primary-soft-text)}.status-badge.active,.status-completed,.status-shipped,.status-sent,.order-bonus-indicator.accrued{background:var(--success-soft);color:var(--success-soft-text)!important;border-color:var(--success-soft-border)}.status-cancelled,.status-error,.order-bonus-indicator.not-accrued{background:var(--danger-soft);color:var(--danger-soft-text)!important;border-color:var(--danger-soft-border)}.status-badge.archived,.status-pill{background:var(--bg-disabled);color:var(--text-subtle)}.data-table th,.table-wrap th,.supplier-order-table th,.confirmation-table th,.order-items-table th,.order-history-table th{background:var(--bg-subtle);color:var(--text-subtle);border-color:var(--border-subtle)}.data-table td,.table-wrap td,.supplier-order-table td,.confirmation-table td,.order-items-table td,.order-history-table td,.rank-row,.compact-list>div,.info-row,.address-card{border-color:var(--border-subtle)}.data-table tbody tr:hover,.table-wrap tbody tr:hover,.clients-reference-table tbody tr:hover{background:var(--bg-hover)}.global-search-results button,.client-search-dropdown button,.searchable-select-dropdown button{background:var(--input-bg);color:var(--text-primary);border-color:var(--border-subtle)}.global-search-results button:hover,.client-search-dropdown button:hover,.searchable-select-dropdown button:hover,.searchable-select-dropdown button.active{background:var(--bg-hover);color:var(--text-primary)}.field,.auth-card label,.supplier-section-heading h3,.supplier-active-checkbox,.supplier-modal-header h2{color:var(--text-secondary)}.page-header p,.page-title p,.topbar-title span,.user-details span,.card p,.auth-card small,.metric-card span,.metric-label,.metric-note,.contact-grid span,.mini-stats span,.data-table td span,.empty-state,.client-drawer-header p,.drawer-header p,.address-card span,.muted,.muted-text,.notes-text,.timeline-item p,.modal-header p,.section-title-row p,.shipment-card-head span,.shipment-meta,.order-line label,.order-line>div span,.shipment-preview span,.compact-list small,.compact-list span,.block,.global-search-results span,.global-search-results small,.search-empty,.order-wizard-heading p,.wizard-loading-state,.client-search-dropdown span,.price-tier-box small,.product-filter-meta,.supplier-order-table small,.supplier-subtotals span,.order-draft-modal p,.order-draft-summary span,.searchable-select-dropdown small,.searchable-select-empty,.supplier-main-grid .field>span,.supplier-notes-field>span,.supplier-rate-price span,.supplier-empty-rates,.clients-reference-table td>span:not(.country-display),.clients-reference-pagination span,.client-modal-reference-grid .field{color:var(--text-muted)}.searchable-select-dropdown span,.supplier-main-grid small,.supplier-rates-help{color:var(--text-subtle)}.empty-state strong{color:var(--text-primary)}.drawer-backdrop,.modal-backdrop,.order-draft-modal-backdrop{background:var(--overlay-bg)}[data-theme=dark] .chart-bar,[data-theme=dark] .spark-bars>div{filter:saturate(.88) brightness(1.08)}.list-filter-shell{display:grid;gap:12px;margin-bottom:18px;padding:14px}.list-filter-primary{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}.list-filter-primary>.search-input{flex:1 1 260px;min-width:220px}.list-filter-primary>select,.list-filter-primary>.multi-filter{flex:0 1 170px;min-width:145px}.list-filter-toggle{margin-left:auto}.list-filter-toggle.active,.filter-quick-button.active,.metric-filter-card.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-soft-text)}.list-filter-quick,.list-filter-chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-quick-button{min-height:34px;padding:6px 10px;font-size:var(--ui-type-button-size);font-weight:var(--ui-type-button-weight)}.list-filter-advanced{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;padding-top:12px;border-top:1px solid var(--border-subtle)}.list-filter-field{display:grid;align-content:start;gap:6px;min-width:0;color:var(--text-muted);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight)}.list-filter-field>input,.list-filter-field>select,.list-filter-primary>select{width:100%;min-height:40px;border:1px solid var(--border-strong);border-radius:10px;background:var(--input-bg);color:var(--text-primary);padding:9px 11px;outline:none}.list-filter-chip{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 9px;border:1px solid var(--primary-soft-border);border-radius:999px;background:var(--primary-soft);color:var(--primary-soft-text);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.list-filter-chip span{font-size:16px;line-height:1}.list-filter-clear{min-height:30px;border:0;background:transparent;color:var(--text-muted);font-size:var(--ui-type-navigation-size);font-weight:var(--ui-type-navigation-weight);text-decoration:underline;text-underline-offset:3px}.dropdown-popover{position:relative;min-width:0}.dropdown-popover-trigger{font:inherit}.multi-filter-trigger{width:100%;min-height:40px;display:flex;align-items:center;justify-content:flex-start;padding:9px 32px 9px 11px;border:1px solid var(--border-strong);border-radius:10px;background:var(--input-bg);color:var(--text-primary);font-size:var(--ui-type-field-value-size);font-weight:var(--ui-type-field-value-weight);text-align:left;cursor:pointer}.multi-filter-trigger:after{content:"⌄";position:absolute;right:12px;color:var(--text-muted)}.multi-filter.open>.multi-filter-trigger{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus-ring)}.multi-filter-menu{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:max(100%,230px);max-height:280px;overflow:auto;padding:7px;border:1px solid var(--border-default);border-radius:11px;background:var(--bg-surface-raised);box-shadow:0 16px 36px var(--surface-shadow)}.multi-filter-menu label{display:flex;align-items:center;gap:9px;padding:8px;border-radius:8px;color:var(--text-secondary);font-size:var(--ui-type-field-label-size);cursor:pointer}.multi-filter-menu label:hover{background:var(--bg-hover)}.multi-filter-menu input{width:auto;margin:0}.multi-filter-menu button{width:100%;margin-top:4px;padding:7px 8px;border:0;border-top:1px solid var(--border-subtle);background:transparent;color:var(--primary);text-align:left;font-size:var(--ui-type-navigation-size);font-weight:var(--ui-type-navigation-weight)}.metric-filter-card{width:100%;color:var(--text-primary);text-align:left;font:inherit;cursor:pointer}.metric-filter-card:hover{border-color:var(--primary);background:var(--bg-hover)}@media(max-width:760px){.list-filter-primary{display:grid;grid-template-columns:1fr}.list-filter-primary>.search-input,.list-filter-primary>select,.list-filter-primary>.multi-filter{width:100%;min-width:0}.list-filter-toggle{width:100%;margin-left:0}.list-filter-advanced{grid-template-columns:1fr}.list-filter-quick{align-items:stretch;flex-direction:column}.filter-quick-button{width:100%;text-align:left}.multi-filter-menu{position:static;width:100%;margin-top:6px}}.sidebar-group{display:grid;gap:0}.sidebar-group-toggle{display:grid;grid-template-columns:22px minmax(0,1fr) auto 18px;align-items:center;gap:11px;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#c3ccda;font-size:var(--ui-type-navigation-size);font-weight:var(--ui-type-navigation-weight);letter-spacing:0;text-align:left;text-transform:none;transition:background-color .16s ease,color .16s ease}.sidebar-group-toggle:hover,.sidebar-group.open>.sidebar-group-toggle{background:#ffffff0b;color:#fff}.sidebar-group.active-context>.sidebar-group-toggle{background:#3157d52e;color:#fff}.sidebar-group-toggle:focus-visible{outline:2px solid #6f8dff;outline-offset:-2px}.sidebar-group-toggle .nav-icon{font-size:17px}.sidebar-group-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-group-chevron{display:grid;grid-column:4;place-items:center;font-size:19px;line-height:1;transition:transform .18s ease}.sidebar-group.open .sidebar-group-chevron{transform:rotate(90deg)}.sidebar-group-panel{display:grid;grid-template-rows:0fr;visibility:hidden;opacity:0;transition:grid-template-rows .18s ease,opacity .14s ease,visibility 0s linear .18s}.sidebar-group.open .sidebar-group-panel{grid-template-rows:1fr;visibility:visible;opacity:1;transition:grid-template-rows .18s ease,opacity .16s ease,visibility 0s}.sidebar-group-items{position:relative;display:grid;min-height:0;gap:2px;overflow:hidden;padding:3px 0 7px}.sidebar-group-items:before{position:absolute;top:8px;bottom:12px;left:22px;width:1px;background:#2d394d;content:""}.sidebar .sidebar-group-items a{position:relative;min-height:38px;gap:9px;padding:8px 10px 8px 38px;border-radius:8px;color:#9da9bb;font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-navigation-weight)}.sidebar .sidebar-group-items a .nav-icon{flex-basis:18px;width:18px;font-size:14px;opacity:.78}.sidebar .sidebar-group-items a:hover{background:#ffffff0d;color:#edf2fa}.sidebar .sidebar-group-items a.active{background:#3157d529;color:#fff}.sidebar .sidebar-group-items a.active:before{position:absolute;top:9px;bottom:9px;left:20px;width:3px;border-radius:999px;background:#6f8dff;content:""}.sidebar .sidebar-group-items a.active .nav-icon{opacity:1}.sidebar-group+.sidebar-group{margin-top:3px}@media(prefers-reduced-motion:reduce){.sidebar,.sidebar-backdrop,.sidebar-group-panel,.sidebar-group-chevron{transition:none}}@media(max-width:760px){body.sidebar-drawer-open{overflow:hidden}.shell{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;z-index:100;left:0;width:min(292px,calc(100vw - 36px));transform:translate(-105%);visibility:hidden;box-shadow:18px 0 50px #04091257;transition:transform .2s ease,visibility 0s linear .2s}.sidebar.mobile-open{transform:translate(0);visibility:visible;transition:transform .2s ease,visibility 0s}.brand:after{display:none;content:none}.sidebar-backdrop{position:fixed;z-index:90;inset:0;display:block;padding:0;border:0;border-radius:0;background:#080d1794;opacity:0;pointer-events:none;transition:opacity .2s ease}.sidebar-backdrop.visible{opacity:1;pointer-events:auto}.sidebar-mobile-close{display:grid;flex:0 0 34px;width:34px;height:34px;margin-left:auto;padding:0;place-items:center;border:1px solid #344158;border-radius:9px;background:transparent;color:#c3ccda;font-size:23px;font-weight:var(--ui-font-weight-regular);line-height:1}.sidebar-mobile-close:hover,.sidebar-mobile-close:focus-visible{border-color:#6f8dff;background:var(--sidebar-soft);color:#fff;outline:none}.mobile-navigation-toggle{display:grid;flex:0 0 42px;width:42px;height:42px;padding:0;place-items:center;border-color:var(--border-default);background:var(--bg-surface);color:var(--text-primary);font-size:19px}.topbar{gap:8px;padding-inline:14px}.topbar-heading{flex:0 0 auto}.topbar-tools{flex:1 1 auto;min-width:0;width:auto}.sidebar-group-label,.brand>div,.sidebar-user,.sidebar-footer button span,.sidebar a span:not(.nav-icon){display:block}}.supplier-list-metrics,.integration-status-grid,.integration-card-grid{margin-bottom:18px}.supplier-list-card td span,.integration-status-grid span,.integration-status-grid small{display:block}.settings-tabs{overflow-x:auto;scrollbar-width:thin}.settings-editor-page .settings-section{margin:0}.settings-integrations,.integration-card-grid{display:grid;gap:18px}.integration-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-card{display:grid;gap:18px;padding:22px;border:1px solid var(--border-default);border-radius:16px;background:var(--bg-surface)}.integration-card-heading,.integration-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.integration-card-heading h3,.integration-card-heading p{margin:0}.integration-card-heading p{margin-top:5px;color:var(--text-muted)}.integration-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.integration-status-grid>div{padding:13px;border-radius:12px;background:var(--bg-subtle)}.integration-status-grid span,.integration-status-grid small{color:var(--text-muted)}.integration-actions{justify-content:flex-start;flex-wrap:wrap}.unsaved-indicator{align-self:center;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.unsaved-indicator.active{color:#b45309;font-weight:var(--ui-font-weight-medium)}@media(max-width:980px){.integration-card-grid{grid-template-columns:1fr}}.product-editor-page{width:100%;max-width:1500px;margin:0 auto}.commerce-operations-layout{display:grid;grid-template-columns:minmax(270px,340px) minmax(0,1fr);align-items:start;gap:18px}.commerce-fulfillment-layout{grid-template-columns:minmax(560px,1.15fr) minmax(380px,.85fr)}.commerce-operations-sidebar{position:sticky;top:86px;max-height:calc(100dvh - 110px);overflow:auto}.foundation-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.foundation-choice-grid>div{min-width:0;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle)}.foundation-choice-grid h3{margin:0 0 14px}.storefront-selling-currency{max-width:none}.product-editor-page:has(.storefront-selling-currency) .foundation-choice-grid>div:last-child>.product-field:last-child{display:none}.table-number-input{width:112px;min-width:92px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit}.foundation-channel-row{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(180px,1.2fr) minmax(170px,1fr) auto auto;align-items:end;gap:12px}.foundation-split{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.8fr);gap:18px;align-items:start}.foundation-editor{position:sticky;top:86px;max-height:calc(100dvh - 105px);overflow:auto}.publication-matrix{margin:18px 0 22px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle)}.publication-matrix .data-table select,.publication-matrix .data-table input{min-width:150px}.foundation-zone-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;margin-top:12px}.foundation-zone-rule{display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.foundation-zone-rule span{flex:1}.foundation-zone-rule select{width:auto;min-width:95px}@media(max-width:1050px){.foundation-split,.foundation-choice-grid{grid-template-columns:1fr}.foundation-editor{position:static;max-height:none}.foundation-channel-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.foundation-channel-row{grid-template-columns:1fr}}.notification-template-list{display:grid;gap:7px}.notification-template-list button{display:grid;gap:4px;width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-subtle);color:var(--text);text-align:left}.notification-template-list button:hover,.notification-template-list button.active{border-color:var(--primary);background:var(--primary-soft)}.notification-template-list button span{overflow-wrap:anywhere;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.commerce-fulfillment-layout tbody tr{cursor:pointer}.commerce-fulfillment-layout tbody tr.selected{background:var(--primary-soft)}@media(max-width:1180px){.commerce-operations-layout,.commerce-fulfillment-layout{grid-template-columns:1fr}.commerce-operations-sidebar{position:static;max-height:none}}.product-editor-header{position:sticky;z-index:30;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:-24px -28px 0;padding:18px 28px;border-bottom:1px solid var(--border-default);background:color-mix(in srgb,var(--bg-surface) 94%,transparent);box-shadow:0 8px 22px color-mix(in srgb,var(--surface-shadow) 52%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.product-editor-heading,.product-editor-actions,.product-editor-meta,.subsection-heading,.repeat-card-header,.promotion-targets,.header-action-group{display:flex;align-items:center;gap:10px}.product-editor-heading{min-width:0;align-items:flex-start}.product-editor-heading .icon-button{flex:0 0 auto;margin-top:3px}.product-storefront-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.product-storefront-link{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.product-editor-heading h1{overflow:hidden;max-width:740px;margin:2px 0 6px;font-size:var(--ui-type-page-title-size);text-overflow:ellipsis;white-space:nowrap}.product-editor-eyebrow{color:var(--text-muted);font-size:var(--ui-type-badge-size)}.product-editor-eyebrow a,.field-link,.catalog-breadcrumbs a{color:var(--primary);text-decoration:none}.link-button{padding:0;border:0;background:transparent;color:var(--primary);font:inherit;text-decoration:none}.link-button:hover{text-decoration:underline}.product-editor-meta{flex-wrap:wrap;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.unsaved-indicator{color:var(--warning-soft-text)}.publication-badge,.status-badge{display:inline-flex;align-items:center;width:fit-content;min-height:25px;padding:3px 9px;border:1px solid var(--border-default);border-radius:999px;font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.publication-published,.status-active{border-color:var(--success-soft-border);background:var(--success-soft);color:var(--success-soft-text)}.publication-draft{border-color:var(--warning-soft-border);background:var(--warning-soft);color:var(--warning-soft-text)}.publication-hidden,.status-archived{background:var(--bg-subtle);color:var(--text-muted)}.publication-archived{border-color:var(--danger-soft-border);background:var(--danger-soft);color:var(--danger-soft-text)}.product-editor-actions{flex:0 0 auto;justify-content:flex-end}.product-completion{display:block;width:calc(100% + 56px);height:3px;margin:0 -28px;overflow:hidden;border:0;-webkit-appearance:none;appearance:none;background:var(--border-subtle)}.product-completion::-webkit-progress-bar{background:var(--border-subtle)}.product-completion::-webkit-progress-value{border-radius:0 999px 999px 0;background:linear-gradient(90deg,var(--primary),#42b883);transition:width .25s ease}.product-completion::-moz-progress-bar{border-radius:0 999px 999px 0;background:linear-gradient(90deg,var(--primary),#42b883);transition:width .25s ease}.product-editor-tabs{display:flex;gap:3px;overflow-x:auto;margin:18px 0;padding:5px;border:1px solid var(--border-default);border-radius:14px;background:var(--bg-surface);scrollbar-width:thin}.product-editor-tabs button{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:42px;padding:8px 13px;border:0;background:transparent;color:var(--text-muted);white-space:nowrap}.product-editor-tabs button:hover{background:var(--bg-hover);color:var(--text-primary)}.product-editor-tabs button.active{background:var(--primary-soft);color:var(--primary-soft-text)}.product-editor-tabs button i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--warning-soft);color:var(--warning-soft-text);font-size:10px;font-style:normal}.language-tabs{display:flex;align-items:stretch;gap:6px;overflow-x:auto;margin:-8px 0 18px;padding:6px;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-subtle);scrollbar-width:thin}.language-tabs button{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:40px;padding:7px 30px 7px 11px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text-secondary)}.language-tabs button:hover{background:var(--bg-hover);color:var(--text-primary)}.language-tabs button.active{border-color:var(--primary);background:var(--bg-surface);color:var(--text-primary);box-shadow:0 1px 3px #0f172a14}.language-tabs button small{padding:2px 5px;border-radius:999px;background:var(--bg-hover);color:var(--text-muted);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.language-tabs button i{position:absolute;top:50%;right:10px;width:8px;height:8px;border-radius:50%;background:var(--border-strong);transform:translateY(-50%)}.language-tabs button.translation-ready i{background:var(--success)}.language-tabs button.translation-draft i{background:var(--warning-soft-text)}.language-tabs button.translation-missing i{background:var(--border-strong)}.settings-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.settings-section-heading h3{margin-bottom:4px}.settings-section-heading p{margin:0;color:var(--text-muted)}.locale-table{min-width:820px}.locale-table td>span,.locale-table td>strong{display:block}.locale-table td>span+span{margin-top:4px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.locale-form-modal{width:min(760px,calc(100vw - 32px))}.locale-form-modal .form-grid{margin-top:16px}@media(max-width:720px){.settings-section-heading{flex-direction:column}}.product-editor-error{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.product-editor-error button{flex:0 0 auto;border:0;background:transparent;color:inherit;font-size:20px}.product-editor-content{min-height:560px}.product-panel{overflow:hidden;border:1px solid var(--border-default);border-radius:16px;background:var(--bg-surface);box-shadow:0 8px 28px color-mix(in srgb,var(--surface-shadow) 58%,transparent)}.settings-general-primary{position:relative;z-index:2;overflow:visible}.settings-general-primary>.product-panel-title{border-radius:inherit;border-bottom-right-radius:0;border-bottom-left-radius:0}.product-panel-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--border-subtle);background:var(--bg-surface-raised)}.product-panel-title h2,.product-subsection h3,.subsection-heading h3,.repeat-card h3{margin:0}.product-panel-title h2{font-size:var(--ui-type-section-title-size)}.product-panel-title p,.subsection-heading p{margin:5px 0 0;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.product-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:22px}.product-form-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));padding:0}.product-form-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.product-field{display:grid;align-content:start;gap:7px;min-width:0;color:var(--text-secondary);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight)}.product-field-wide{grid-column:1 / -1}.product-field>span em{margin-left:4px;color:var(--danger);font-style:normal}.product-field input,.product-field select,.product-field textarea,.media-fields input,.repeat-row input,.repeat-row select,.catalog-toolbar input,.catalog-form-modal input,.catalog-form-modal select,.catalog-form-modal textarea{width:100%;min-height:43px;border:1px solid var(--border-default);border-radius:9px;outline:0;background:var(--input-bg);color:var(--text-primary)}.product-field input,.product-field select,.media-fields input,.repeat-row input,.repeat-row select,.catalog-form-modal input,.catalog-form-modal select{padding:9px 11px}.product-field textarea,.catalog-form-modal textarea{min-height:90px;padding:11px;resize:vertical}.product-field input:focus,.product-field select:focus,.product-field textarea:focus,.media-fields input:focus,.catalog-form-modal input:focus,.catalog-form-modal select:focus,.catalog-form-modal textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus-ring)}.product-field small{color:var(--text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight)}.product-field .product-field-error{color:var(--danger);font-weight:var(--ui-font-weight-semibold)}.product-field-invalid>span{color:var(--danger)}.product-field-invalid input,.product-field-invalid select,.product-field-invalid textarea,.product-field-invalid .searchable-select-trigger,.product-field-invalid [role=combobox]{border-color:var(--danger);background:color-mix(in srgb,var(--danger-soft) 45%,var(--input-bg));box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 18%,transparent)}.subsection-note{margin:5px 0 0;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.product-description-editor{line-height:var(--ui-type-body-line-height)}.rich-text-editor{overflow:hidden;border:1px solid var(--border-default);border-radius:10px;background:var(--input-bg)}.rich-text-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:8px;border-bottom:1px solid var(--border-default);background:var(--bg-subtle)}.rich-text-toolbar button{min-height:31px;padding:5px 9px;border:1px solid var(--border-default);border-radius:7px;background:var(--bg-surface);color:var(--text-secondary);font-size:var(--ui-type-button-size)}.rich-text-toolbar button.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-soft-text)}.product-field .rich-text-editor textarea{border:0;border-radius:0;box-shadow:none}.product-description-preview{display:block;width:100%;min-height:330px;border:0;background:#fff}.tag-editor{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:43px;padding:6px 8px;border:1px solid var(--border-default);border-radius:9px;background:var(--input-bg)}.tag-editor>span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:var(--primary-soft);color:var(--primary-soft-text);font-size:var(--ui-type-field-label-size)}.tag-editor>span button{padding:0;border:0;background:transparent;color:inherit}.product-field .tag-editor input{flex:1 1 180px;width:auto;min-height:30px;padding:3px;border:0;box-shadow:none}.field-link{width:fit-content;font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-navigation-weight)}.product-subsection{padding:21px 22px;border-top:1px solid var(--border-subtle)}.product-panel-title+.product-subsection{border-top:0}.product-subsection>h3{margin-bottom:2px;font-size:var(--ui-type-section-title-size)}.product-subsection>h3+.product-form-grid{padding-right:0;padding-bottom:0;padding-left:0}.subsection-heading{justify-content:space-between;margin-bottom:14px}.catalog-checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}.catalog-checkbox-grid label,.attribute-options label,.inline-switch,.checkbox-field,.channel-switches label{display:flex;align-items:center;gap:8px}.catalog-checkbox-grid label{min-height:42px;padding:9px 11px;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-subtle);color:var(--text-secondary);font-size:var(--ui-type-field-label-size)}.catalog-checkbox-grid label small{margin-left:auto;color:var(--primary-soft-text)}.repeat-list,.repeat-cards,.media-grid{display:grid;gap:12px}.repeat-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,.35fr) auto;gap:10px;align-items:center}.related-product-picker{display:grid;grid-template-columns:minmax(280px,1fr) minmax(190px,.35fr) auto;gap:10px;align-items:start;margin-bottom:14px}.related-product-picker>select{min-height:43px;padding:9px 11px;border:1px solid var(--border-default);border-radius:9px;background:var(--input-bg);color:var(--text-primary)}.related-product-option,.related-product-selected{display:grid;gap:2px}.related-product-option small,.related-product-selected small{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.related-product-selected{min-height:43px;justify-content:center;padding:7px 11px;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-surface)}.repeat-card{padding:18px;border:1px solid var(--border-default);border-radius:13px;background:var(--bg-subtle)}.repeat-card-header{justify-content:flex-end;margin-bottom:18px}.repeat-card-header h3{margin-right:auto;font-size:var(--ui-type-section-title-size)}.button-danger-soft{border-color:var(--danger-soft-border);background:var(--danger-soft);color:var(--danger-soft-text)}.button-danger-soft:hover{background:var(--danger-soft-hover)}.inline-empty,.info-banner,.feature-empty{padding:18px;border:1px dashed var(--border-strong);border-radius:12px;background:var(--bg-subtle);color:var(--text-muted);text-align:center}.info-banner{margin:22px;border-style:solid;border-color:var(--primary-soft-border);background:var(--primary-soft);color:var(--primary-soft-text)}.feature-empty{display:grid;justify-items:center;margin:22px;padding:42px 20px}.feature-empty>span{margin-bottom:10px;font-size:32px}.feature-empty p{max-width:580px;margin:7px 0 0}.repeat-cards{padding:22px}.variant-builder{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(150px,.35fr) minmax(240px,1fr) auto;gap:10px;align-items:end;padding:18px 22px;border-bottom:1px solid var(--border-subtle);background:var(--bg-subtle)}.variant-builder>div{display:grid;gap:3px}.variant-builder small{color:var(--text-muted)}.variant-builder input,.variant-builder select{min-height:43px;padding:9px 11px;border:1px solid var(--border-default);border-radius:9px;background:var(--input-bg);color:var(--text-primary)}.variant-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.variant-option-grid label{display:grid;gap:5px}.variant-option-grid label>span{color:var(--text-secondary);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight)}.variant-offers-section{display:grid;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid var(--border-subtle)}.variant-offers-section h4,.variant-offers-section p{margin:0}.variant-offers-section p{margin-top:4px;color:var(--text-muted)}.variant-offers-table-wrap{overflow-x:auto;border:1px solid var(--border-subtle);border-radius:10px}.variant-offers-table{width:100%;min-width:1040px;border-collapse:collapse}.variant-offers-table th,.variant-offers-table td{padding:8px;border-bottom:1px solid var(--border-subtle);text-align:left}.variant-offers-table th{color:var(--text-muted);font-size:var(--ui-type-table-header-size)}.variant-offers-table input:not([type=checkbox]):not([type=radio]),.variant-offers-table select{width:100%;min-width:90px}.variant-offers-table td:nth-child(2) select{min-width:180px}.inventory-page{display:grid;gap:18px}.inventory-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-filters{display:grid;grid-template-columns:minmax(280px,1fr) minmax(180px,260px);gap:10px}.inventory-filters input,.inventory-filters select{min-height:42px}.inventory-table td>span:not(.status-badge),.inventory-table td>strong{display:block}.inventory-table td>span:not(.status-badge){margin-top:3px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.inventory-modal{width:min(900px,calc(100vw - 32px))}.inventory-adjust-modal{width:min(620px,calc(100vw - 32px))}.attribute-options{display:flex;flex-wrap:wrap;gap:8px 15px;min-height:43px;padding:10px 11px;border:1px solid var(--border-default);border-radius:9px;background:var(--input-bg);color:var(--text-secondary);font-weight:var(--ui-type-field-value-weight)}.promotion-targets{align-items:flex-start;margin-top:17px}.promotion-targets>div{flex:1}.promotion-targets>div>strong{display:block;margin-bottom:7px;color:var(--text-secondary);font-size:var(--ui-type-field-label-size)}.select-all-option{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:var(--text-secondary);font-size:var(--ui-type-field-label-size)}.compact-warning{margin-bottom:14px;padding:10px 12px;border:1px solid var(--warning-soft-border);border-radius:9px;background:var(--warning-soft);color:var(--warning-soft-text);font-size:var(--ui-type-secondary-size)}.timezone-note{align-self:end;padding:10px 12px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.file-button,.media-dropzone label{position:relative;overflow:hidden}.file-button input,.media-dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-button.disabled{opacity:.65;pointer-events:none}.media-dropzone{display:grid;justify-items:center;margin:22px;padding:54px 20px;border:2px dashed var(--border-strong);border-radius:14px;background:var(--bg-subtle);color:var(--text-muted);text-align:center}.media-dropzone>span{font-size:38px}.media-dropzone strong{margin-top:12px;color:var(--text-primary)}.media-dropzone p{margin:6px 0 18px}.media-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:22px}.media-dropzone+.media-grid:empty{display:none}.upload-progress{display:flex;align-items:center;gap:10px;margin:16px 22px 0;padding:10px 12px;border:1px solid var(--primary-soft-border);border-radius:9px;background:var(--primary-soft);color:var(--primary-soft-text);font-size:var(--ui-type-secondary-size)}.upload-progress span{width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:product-upload-spin .7s linear infinite}@keyframes product-upload-spin{to{transform:rotate(360deg)}}.media-fields small{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.media-card{overflow:hidden;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-subtle)}.media-card.primary{border-color:var(--primary);box-shadow:0 0 0 2px var(--focus-ring)}.media-preview{position:relative;display:grid;place-items:center;aspect-ratio:4 / 3;overflow:hidden;background:linear-gradient(45deg,var(--border-subtle) 25%,transparent 25%) 0 0 / 18px 18px,linear-gradient(-45deg,var(--border-subtle) 25%,transparent 25%) 0 9px / 18px 18px,var(--bg-surface)}.media-preview img{width:100%;height:100%;object-fit:contain}.media-preview>span{font-size:46px}.media-preview b{position:absolute;top:9px;left:9px;padding:4px 8px;border-radius:999px;background:var(--primary);color:#fff;font-size:var(--ui-type-badge-size)}.media-fields{display:grid;gap:7px;padding:11px}.media-actions{display:flex;gap:6px;padding:0 11px 11px}.media-actions button{min-width:35px;padding:7px 8px;font-size:var(--ui-type-button-size)}.media-actions button:first-child{margin-right:auto}.media-actions .danger,.icon-button.danger{color:var(--danger-soft-text)}.publication-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start}.publication-layout .product-subsection:first-child{border-top:0}.channel-switches{display:grid;gap:8px}.channel-switches label{min-height:54px;padding:9px 12px;border:1px solid var(--border-default);border-radius:10px;background:var(--bg-subtle)}.channel-switches label span{display:grid;gap:2px}.channel-switches label small{color:var(--text-muted)}.delivery-provider-card{display:grid;gap:16px;margin-top:16px;padding:18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-subtle)}.delivery-provider-card__header{display:flex;align-items:center;justify-content:space-between;gap:16px}.delivery-provider-card__header>div{display:grid;gap:4px}.delivery-provider-card__header small,.delivery-provider-options>div>strong{color:var(--text-muted)}.delivery-location-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;max-height:260px;overflow:auto}.delivery-location-results button{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);text-align:left;cursor:pointer}.delivery-location-results button:hover,.delivery-location-results button:focus-visible{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus-ring)}.delivery-location-results small{color:var(--text-muted)}@media(max-width:720px){.delivery-provider-card__header{align-items:stretch;flex-direction:column}}.input-with-action{display:flex;gap:8px}.input-with-action input{flex:1}.store-preview{position:sticky;top:126px;margin:22px 22px 22px 0;padding:15px;border:1px solid var(--border-default);border-radius:14px;background:var(--bg-subtle)}.store-preview>span{display:block;margin-bottom:11px;color:var(--text-muted);font-size:var(--ui-type-badge-size);font-weight:var(--ui-font-weight-semibold);letter-spacing:.06em;text-transform:uppercase}.store-preview-image{display:grid;place-items:center;aspect-ratio:1;overflow:hidden;border-radius:10px;background:var(--bg-surface)}.store-preview-image img{width:100%;height:100%;object-fit:contain}.store-preview-image div{font-size:50px}.store-preview>small{display:block;margin-top:13px;color:var(--text-muted)}.store-preview h3{margin:5px 0}.store-preview p{min-height:38px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.store-preview>strong{color:var(--primary-soft-text);font-size:var(--ui-type-section-title-size)}.catalog-breadcrumbs{display:flex;gap:8px;margin-bottom:8px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.catalog-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding:12px}.catalog-toolbar .search-input{flex:1;min-width:220px}.catalog-toolbar>span{color:var(--text-muted);font-size:var(--ui-type-secondary-size);white-space:nowrap}.catalog-table-card{overflow:hidden;padding:0}.catalog-form-modal{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 36px);overflow:auto}.quick-attribute-modal{width:min(760px,calc(100vw - 32px))}.confirmation-modal{width:min(480px,calc(100vw - 32px))}.catalog-form-wide{width:min(940px,calc(100vw - 32px))}.catalog-group-modal{width:min(520px,calc(100vw - 32px))}.catalog-form-modal .drawer-header{position:sticky;z-index:2;top:0}.catalog-form-modal .form-grid{padding:20px}.catalog-form-modal .modal-actions{position:sticky;bottom:0;background:var(--bg-surface-raised)}.catalog-attribute-picker{display:grid;gap:8px;margin:0 20px 20px;padding:14px;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-subtle)}.catalog-attribute-picker>div:first-child{display:grid;gap:3px;margin-bottom:4px}.catalog-attribute-picker>div:first-child span{color:var(--text-muted);font-size:var(--ui-type-field-label-size)}.catalog-attribute-picker-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-surface)}.catalog-attribute-picker-row label{display:flex;align-items:center;gap:9px}.catalog-attribute-picker-row label:first-child{flex:1}.catalog-attribute-picker-row label:first-child span{display:grid}.catalog-attribute-picker-row small{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.attribute-group-strip{display:flex;align-items:center;gap:8px;overflow-x:auto;margin-bottom:12px;padding:10px 12px}.attribute-group-strip>strong{color:var(--text-muted);font-size:var(--ui-type-field-label-size)}.attribute-group-strip button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 10px;white-space:nowrap}.attribute-group-strip button small{display:grid;place-items:center;min-width:19px;height:19px;border-radius:999px;background:var(--primary-soft);color:var(--primary-soft-text)}.checkbox-field{min-height:43px;padding:8px 10px;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-subtle)}@media(max-width:1100px){.product-editor-header{position:static;flex-direction:column}.product-editor-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.product-form-grid-three,.product-form-grid-four,.media-grid,.catalog-checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.publication-layout{grid-template-columns:1fr}.store-preview{position:static;margin:0 22px 22px}}@media(max-width:760px){.product-editor-header{margin:-18px -18px 0;padding:15px 18px}.product-completion{width:calc(100% + 36px);margin:0 -18px}.product-editor-actions .button{flex:1 1 auto}.product-form-grid,.product-form-grid-three,.product-form-grid-four,.media-grid,.catalog-checkbox-grid{grid-template-columns:1fr}.product-panel-title{align-items:flex-start;flex-direction:column}.repeat-row{grid-template-columns:1fr auto}.related-product-picker,.variant-builder{grid-template-columns:1fr}.repeat-row select:first-child{grid-column:1 / -1}.promotion-targets,.catalog-toolbar{align-items:stretch;flex-direction:column}.catalog-attribute-picker-row{align-items:flex-start;flex-direction:column}}.bulk-selection-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:11px 14px;border:1px solid #b7ccff;border-radius:12px;background:#eef4ff;color:#173d9a;box-shadow:0 8px 24px #2459e814}.page-header-actions,.page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex-wrap:nowrap}.page-header-actions>.button-primary,.page-actions>.primary{flex:0 0 auto}.bulk-selection-bar.bulk-selection-bar-compact{flex:0 1 auto;margin:0;padding:0;border:0;background:transparent;color:var(--text-primary);box-shadow:none}.bulk-selection-inline{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}.bulk-selection-inline>strong{color:var(--primary);font-size:var(--ui-type-body-size)}.bulk-selection-inline .bulk-selection-actions{flex-wrap:nowrap}.bulk-selection-cancel{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid var(--border-default);border-radius:8px;background:var(--bg-surface-raised);color:var(--text-muted);font-size:20px;line-height:1}.bulk-selection-mobile-menu{display:none;position:relative}.bulk-selection-mobile-menu summary{min-height:40px;padding:9px 13px;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-surface-raised);color:var(--text-primary);font-weight:var(--ui-type-button-weight);cursor:pointer;list-style:none}.bulk-selection-mobile-menu summary::-webkit-details-marker{display:none}.bulk-selection-mobile-menu>div{position:absolute;top:calc(100% + 7px);right:0;z-index:80;display:grid;gap:8px;min-width:220px;padding:10px;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-surface-raised);box-shadow:0 16px 40px var(--surface-shadow)}.bulk-selection-mobile-menu>div>*{width:100%}.bulk-selection-bar>strong{margin-right:4px;white-space:nowrap}.bulk-selection-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bulk-selection-actions select{min-height:38px;border-radius:8px;padding:7px 34px 7px 10px}.bulk-selection-clear{margin-left:auto}.selection-column{box-sizing:border-box;width:48px;min-width:48px;max-width:48px;padding-right:15px!important;padding-left:15px!important;text-align:center!important;vertical-align:middle!important}.selection-column .selection-checkbox{display:block;width:18px;height:18px;margin:0 auto;vertical-align:middle;accent-color:#2459e8;cursor:pointer}.selection-column .selection-checkbox:disabled{cursor:not-allowed}.selection-column+th,.selection-column+td{padding-left:0!important}.product-list-identity,.product-drawer-heading{display:flex;align-items:center;gap:12px;min-width:0}.product-list-identity>img,.product-image-placeholder{flex:0 0 48px;width:48px;height:48px;border:1px solid var(--border-default);border-radius:10px;background:var(--bg-surface-muted)}.product-list-identity>img{object-fit:contain}.product-list-identity>div{min-width:0}.product-image-placeholder{display:inline-grid;place-items:center;font-size:21px}.product-drawer-heading>img,.product-drawer-heading>.product-image-placeholder{flex-basis:64px;width:64px;height:64px;object-fit:contain;border-radius:12px}.product-drawer-heading h2{overflow-wrap:anywhere}.category-tree-table{min-width:1080px}.category-tree-table tbody tr{transition:background .16s ease}.category-tree-table .category-child-row{animation:category-row-reveal .2s ease both}@keyframes category-row-reveal{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.category-tree-table .category-root-row>td{background:color-mix(in srgb,var(--bg-subtle) 62%,transparent)}.category-tree-table tr.search-match>td{background:var(--warning-soft)}.category-tree-name{position:relative;display:flex;align-items:center;gap:9px;min-width:280px}.category-tree-indents{display:flex;align-self:stretch;flex:0 0 auto;margin-right:-9px}.category-tree-indent{position:relative;display:block;flex:0 0 30px;width:30px}.category-tree-indent-last:before{content:"";position:absolute;top:-29px;right:3px;width:13px;height:49px;border-bottom:1px solid var(--border-strong);border-left:1px solid var(--border-strong);border-radius:0 0 0 7px;pointer-events:none}.category-tree-toggle,.category-tree-toggle-spacer{flex:0 0 26px;width:26px;height:26px}.category-tree-toggle{display:grid;place-items:center;padding:0;border:1px solid var(--border-default);border-radius:7px;background:var(--bg-surface);color:var(--text-muted);font-size:22px;line-height:1;transition:transform .18s ease,background .18s ease}.category-tree-toggle:hover{background:var(--bg-hover);color:var(--text-primary)}.category-tree-toggle.expanded{transform:rotate(90deg)}.category-tree-name>img,.category-tree-image-placeholder{flex:0 0 38px;width:38px;height:38px;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-surface-muted)}.category-tree-name>img{object-fit:cover}.category-tree-image-placeholder{display:grid;place-items:center}.category-tree-title{min-width:0;padding:0;border:0;background:transparent;color:var(--text-primary);text-align:left}.category-tree-title strong,.category-tree-title small{display:block}.category-tree-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-tree-title small{margin-top:4px;color:var(--text-muted)}.category-channel-badges,.category-row-actions,.category-media-actions{display:flex;align-items:center;gap:7px}.category-channel-badges span{display:grid!important;place-items:center;width:28px;height:28px;margin:0!important;border:1px solid var(--border-subtle);border-radius:8px;background:var(--bg-subtle);opacity:.28;filter:grayscale(1)}.category-channel-badges span.enabled{border-color:var(--success-soft-border);background:var(--success-soft);opacity:1;filter:none}.category-channel-badges span.blocked{border-color:var(--warning-soft-border);background:var(--warning-soft);opacity:.75;filter:grayscale(.5)}.category-row-actions{justify-content:flex-end;white-space:nowrap}.category-path-preview{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px;border:1px solid var(--border-default);border-radius:11px;background:var(--bg-subtle)}.category-path-preview span:after{content:"›";margin-left:8px;color:var(--text-subtle)}.category-attribute-groups{display:grid;gap:18px;padding:22px}.category-attribute-groups>section{overflow:hidden;border:1px solid var(--border-default);border-radius:12px}.category-attribute-groups>section>h3{margin:0;padding:13px 15px;border-bottom:1px solid var(--border-default);background:var(--bg-subtle)}.category-attribute-row{display:grid;grid-template-columns:minmax(280px,1fr) 150px 170px;align-items:center;gap:14px;padding:12px 15px;border-bottom:1px solid var(--border-subtle)}.category-attribute-row:last-child{border-bottom:0}.category-attribute-row label{display:flex;align-items:center;gap:9px}.category-attribute-row label:first-child span,.category-attribute-row label:first-child strong,.category-attribute-row label:first-child small{display:block}.category-attribute-row label:first-child small{margin-top:3px;color:var(--text-muted)}.category-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:22px}.category-media-card{min-width:0;padding:15px;border:1px solid var(--border-default);border-radius:13px;background:var(--bg-subtle)}.category-media-card h3{margin:13px 0 4px}.category-media-card p{min-height:36px;margin:0 0 13px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.category-media-preview{display:grid;place-items:center;aspect-ratio:4 / 3;overflow:hidden;border:1px dashed var(--border-strong);border-radius:10px;background:var(--bg-surface);color:var(--text-subtle);font-size:42px}.category-media-bannerUrl{aspect-ratio:16 / 6}.category-media-iconUrl{width:min(150px,100%);aspect-ratio:1}.category-media-preview img{width:100%;height:100%;object-fit:cover}.category-editor-page .tag-editor{display:flex}.category-editor-page .tag-list{display:flex;flex-wrap:wrap;gap:7px}.category-editor-page .tag-list button{padding:5px 9px;border:0;border-radius:999px;background:var(--primary-soft);color:var(--primary-soft-text)}.category-editor-page .tag-editor>input{min-height:32px;padding:4px;border:0;background:transparent;box-shadow:none}.editor-main-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start}.editor-main-form{min-width:0;border-right:1px solid var(--border-subtle)}.editor-main-form .product-subsection:first-child{border-top:0}.editor-main-form .product-form-grid{grid-template-columns:minmax(0,1fr);padding:0}.editor-main-form .subsection-heading{display:flex;margin-bottom:15px}.editor-main-form textarea.category-short-description,.editor-main-form textarea.editor-short-description{min-height:112px;max-height:240px}.editor-main-form textarea.category-full-description{min-height:190px;max-height:480px;line-height:var(--ui-type-body-line-height)}.editor-main-form .product-description-editor,.editor-main-form .product-description-preview{min-height:250px}.editor-main-preview{margin-left:22px}.input-prefix{display:flex;align-items:center;overflow:hidden;border:1px solid var(--border-default);border-radius:9px;background:var(--input-bg)}.input-prefix>span{padding-left:11px;color:var(--text-muted);white-space:nowrap}.input-prefix input{border:0!important;box-shadow:none!important}.input-with-action>.input-prefix{flex:1 1 auto;min-width:0}.input-with-action>.button{flex:0 0 auto;white-space:nowrap}.manufacturer-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.manufacturer-table th:first-child,.manufacturer-table td:first-child{width:46px}.manufacturer-table tbody tr{cursor:pointer}.manufacturer-list-identity,.manufacturer-drawer-heading{display:flex;align-items:center;gap:12px}.manufacturer-list-identity>img,.manufacturer-list-identity>span{width:44px;height:44px;flex:0 0 44px;object-fit:contain;padding:5px;border:1px solid var(--border-default);border-radius:10px;background:var(--bg-surface)}.manufacturer-list-identity>span{display:grid;place-items:center;padding:0;font-size:20px}.manufacturer-list-identity strong,.manufacturer-list-identity small{display:block}.manufacturer-list-identity small{max-width:300px;overflow:hidden;margin-top:4px;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap}.manufacturer-drawer-heading>img,.manufacturer-drawer-heading>span{width:54px;height:54px;flex:0 0 54px;object-fit:contain;padding:6px;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-surface)}.manufacturer-drawer-heading>span{display:grid;place-items:center;padding:0;font-size:24px}.manufacturer-drawer-heading h2,.manufacturer-drawer-heading p{margin:0}.manufacturer-drawer-heading p{margin-top:4px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.manufacturer-product-link{display:grid;width:100%;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:9px 0;border:0;border-bottom:1px solid var(--border-subtle);background:transparent;color:inherit;text-align:left;cursor:pointer}.manufacturer-product-link>img,.manufacturer-product-link>span:first-child{width:42px;height:42px;object-fit:contain;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-surface)}.manufacturer-product-link>span:first-child{display:grid;place-items:center}.manufacturer-product-link strong,.manufacturer-product-link small{display:block}.manufacturer-product-link small{margin-top:3px;color:var(--text-muted)}.manufacturer-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manufacturer-media-logoUrl img,.manufacturer-store-preview .store-preview-image img{object-fit:contain}.manufacturer-media-bannerUrl{aspect-ratio:16 / 6}.manufacturer-editor-page .tag-editor{display:flex}.manufacturer-editor-page .tag-list{display:flex;flex-wrap:wrap;gap:7px}.manufacturer-editor-page .tag-list button{padding:5px 9px;border:0;border-radius:999px;background:var(--primary-soft);color:var(--primary-soft-text)}.manufacturer-editor-page .tag-editor>input{min-height:32px;padding:4px;border:0;background:transparent;box-shadow:none}.client-editor-page{padding-bottom:36px}.client-editor-page .product-editor-tabs button:disabled{opacity:.45;cursor:not-allowed}.client-main-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:stretch}.client-main-form{min-width:0;border-right:1px solid var(--border-subtle)}.client-form-section{padding:22px}.client-form-section+.client-form-section{border-top:1px solid var(--border-subtle)}.client-form-section .subsection-heading{margin-bottom:17px}.client-form-section .product-form-grid{padding:0}.client-profile-aside{display:flex;flex-direction:column;align-items:center;min-width:0;padding:30px 24px;background:var(--bg-surface-raised);text-align:center}.client-profile-aside h3{margin:14px 0 5px}.client-profile-aside>p{max-width:100%;overflow:hidden;margin:0;color:var(--text-muted);font-size:var(--ui-type-secondary-size);text-overflow:ellipsis;white-space:nowrap}.client-avatar{display:grid;width:78px;height:78px;place-items:center;border:1px solid color-mix(in srgb,var(--primary) 28%,var(--border-default));border-radius:24px;background:linear-gradient(135deg,var(--primary-soft),var(--bg-surface));color:var(--primary-soft-text);font-size:34px;font-weight:var(--ui-font-weight-bold)}.client-profile-progress{width:100%;margin:25px 0 18px;text-align:left}.client-profile-progress>span{display:block;margin-bottom:7px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.client-profile-progress progress{display:block;width:100%;height:7px;overflow:hidden;border:0;border-radius:999px;-webkit-appearance:none;appearance:none;background:var(--border-subtle)}.client-profile-progress progress::-webkit-progress-bar{background:var(--border-subtle)}.client-profile-progress progress::-webkit-progress-value{border-radius:inherit;background:linear-gradient(90deg,var(--primary),#42b883)}.client-profile-progress progress::-moz-progress-bar{border-radius:inherit;background:linear-gradient(90deg,var(--primary),#42b883)}.storefront-tree-item-child{margin-inline-start:24px}.client-profile-aside dl{width:100%;margin:0}.client-profile-aside dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-subtle);text-align:left}.client-profile-aside dt{color:var(--text-muted);font-size:var(--ui-type-field-label-size)}.client-profile-aside dd{margin:0;font-size:var(--ui-type-field-value-size);font-weight:var(--ui-type-field-value-weight);text-align:right}.client-profile-hint{margin-top:22px;padding:12px;border:1px solid var(--warning-soft-border);border-radius:10px;background:var(--warning-soft);color:var(--warning-soft-text);font-size:var(--ui-type-secondary-size);line-height:var(--ui-type-secondary-line-height);text-align:left}.client-address-layout,.client-finance-layout,.client-account-layout,.client-activity-layout{display:grid;gap:18px}.client-address-cards,.client-new-address-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px 22px 22px}.client-address-cards article,.client-new-address-item{min-width:0;padding:17px;border:1px solid var(--border-default);border-radius:13px;background:var(--bg-surface)}.client-address-cards article.primary{border-color:color-mix(in srgb,var(--primary) 52%,var(--border-default));box-shadow:inset 3px 0 0 var(--primary)}.client-address-card-heading,.client-address-card-heading>div,.client-new-address-title,.client-new-address-title>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.client-address-card-heading>div:first-child{justify-content:flex-start}.client-address-card-heading strong,.client-address-card-heading span{display:block}.client-address-card-heading span{margin-top:3px;color:var(--primary-soft-text);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.client-address-card-heading>div:last-child,.client-new-address-title>div{flex-wrap:wrap;justify-content:flex-end}.client-address-cards article>p{margin:15px 0 8px;color:var(--text-secondary);line-height:var(--ui-type-body-line-height)}.client-address-cards article>small{display:block;margin-top:5px;color:var(--text-muted)}.client-address-form .product-form-grid{padding:22px}.client-address-line-field{grid-column:span 2}.client-option-row{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--border-default);border-radius:10px;background:var(--bg-subtle)}.client-option-row input,.client-check-grid input{width:17px;height:17px;flex:0 0 auto;margin-top:2px}.client-option-row span,.client-option-row strong,.client-option-row small,.client-check-grid span,.client-check-grid strong,.client-check-grid small{display:block}.client-option-row small,.client-check-grid small{margin-top:3px;color:var(--text-muted);font-weight:var(--ui-type-secondary-weight)}.client-new-address-item{padding:0;overflow:hidden}.client-new-address-title{padding:14px 17px;border-bottom:1px solid var(--border-subtle);background:var(--bg-surface-raised)}.client-new-address-title label{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:var(--ui-type-field-label-size)}.client-new-address-item .product-form-grid{padding:17px}.client-panel-actions{display:flex;justify-content:flex-end;gap:9px;padding:16px 22px;border-top:1px solid var(--border-subtle);background:var(--bg-surface-raised)}.client-inline-error{margin:0 22px 14px}.client-panel-loading,.client-empty-state{padding:34px 22px;color:var(--text-muted);text-align:center}.client-metric-grid,.client-account-summary,.client-order-metrics,.client-list-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:20px 22px}.client-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.client-metric-grid article,.client-account-summary article,.client-order-metrics article,.client-list-metrics article{min-width:0;padding:15px;border:1px solid var(--border-default);border-radius:11px;background:var(--bg-surface-raised)}.client-metric-grid span,.client-metric-grid strong,.client-account-summary span,.client-account-summary strong,.client-account-summary small,.client-order-metrics span,.client-order-metrics strong,.client-list-metrics span,.client-list-metrics strong{display:block}.client-metric-grid span,.client-account-summary span,.client-order-metrics span,.client-list-metrics span{color:var(--text-muted);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight)}.client-metric-grid strong,.client-account-summary strong,.client-order-metrics strong,.client-list-metrics strong{overflow:hidden;margin-top:7px;font-size:18px;text-overflow:ellipsis}.client-account-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.client-account-summary small{overflow:hidden;margin-top:5px;color:var(--text-muted);font-size:var(--ui-type-secondary-size);text-overflow:ellipsis}.client-segmented{display:flex;padding:3px;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-subtle)}.client-segmented button{padding:6px 10px;border:0;border-radius:6px;background:transparent;color:var(--text-muted)}.client-segmented button.active{background:var(--bg-surface);color:var(--text-primary);box-shadow:0 1px 4px var(--surface-shadow)}.client-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 22px 22px}.client-check-grid>label{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--border-default);border-radius:10px;background:var(--bg-subtle)}.client-identity-list,.client-consent-list{padding:5px 22px 18px}.client-identity-list article,.client-consent-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--border-subtle)}.client-identity-list article:last-child,.client-consent-list article:last-child{border-bottom:0}.client-identity-list strong,.client-identity-list span,.client-identity-list small,.client-consent-list strong,.client-consent-list small{display:block}.client-identity-list span,.client-identity-list small,.client-consent-list small{margin-top:3px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.client-positive{color:var(--success-soft-text)!important}.client-negative{color:var(--danger-soft-text)!important}.client-device-cell{max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-info-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border:1px solid var(--primary-soft-border);border-radius:10px;background:var(--primary-soft);color:var(--primary-soft-text)}.client-info-banner button{border:0;background:transparent;color:inherit;font-size:20px;cursor:pointer}.route-error-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--bg-page);color:var(--text-primary)}.route-error-card{width:min(620px,100%);display:grid;grid-template-columns:auto 1fr;gap:18px;padding:28px;border:1px solid var(--border-default);border-radius:16px;background:var(--bg-panel);box-shadow:var(--shadow-lg)}.route-error-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--danger-soft);color:var(--danger);font-size:24px;font-weight:var(--ui-font-weight-bold)}.route-error-card h1{margin:3px 0 10px;font-size:var(--ui-type-page-title-size)}.route-error-card p,.route-error-card small{margin:0;color:var(--text-muted)}.route-error-eyebrow{font-size:var(--ui-type-badge-size);font-weight:var(--ui-font-weight-semibold);letter-spacing:.04em;text-transform:uppercase}.route-error-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px}.client-orders-toolbar{display:flex;align-items:center;gap:10px;padding:0 22px 18px}.client-orders-toolbar select,.client-orders-toolbar input{min-height:39px;padding:7px 10px;border:1px solid var(--border-default);border-radius:8px;background:var(--input-bg);color:var(--text-primary)}.client-orders-toolbar label{display:flex;align-items:center;gap:6px;color:var(--text-muted);font-size:var(--ui-type-field-label-size)}.client-order-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.client-orders-table tbody tr,.client-list-table tbody tr{cursor:pointer}.client-note-form{display:grid;gap:12px;padding:22px}.client-note-form textarea{min-height:110px;padding:12px;border:1px solid var(--border-default);border-radius:10px;background:var(--input-bg);color:var(--text-primary);resize:vertical}.client-note-form .button{justify-self:end}.client-activity-list{padding:4px 22px 20px}.client-activity-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:13px;padding:16px 0;border-bottom:1px solid var(--border-subtle)}.client-activity-list article:last-child{border-bottom:0}.client-activity-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:var(--bg-subtle)}.client-activity-list article>div>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.client-activity-list article>div>div span,.client-activity-list time,.client-activity-list small{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.client-activity-list strong{display:block;margin-top:5px}.client-activity-list p{margin:5px 0;color:var(--text-secondary);line-height:var(--ui-type-body-line-height)}.client-list-metrics{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:16px 0}.client-list-metrics article{background:var(--bg-surface)}.client-list-table .selection-column{width:50px}.list-filter-search{min-width:min(520px,100%);min-height:41px;flex:1 1 380px;padding:8px 12px;border:1px solid var(--border-default);border-radius:9px;background:var(--input-bg);color:var(--text-primary)}@media(max-width:1100px){.client-main-layout{grid-template-columns:1fr}.client-main-form{border-right:0;border-bottom:1px solid var(--border-subtle)}.client-profile-aside{align-items:flex-start;text-align:left}.client-account-summary,.client-order-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.client-address-cards,.client-new-address-list{grid-template-columns:1fr}}@media(max-width:760px){.client-editor-page .product-editor-header{position:static;flex-direction:column}.client-editor-page .product-editor-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.client-form-section .product-form-grid,.client-address-form .product-form-grid,.client-new-address-item .product-form-grid,.client-account-layout .product-form-grid{grid-template-columns:1fr}.client-address-line-field{grid-column:auto}.client-metric-grid,.client-account-summary,.client-order-metrics,.client-list-metrics,.client-check-grid{grid-template-columns:1fr}.client-orders-toolbar{align-items:stretch;flex-direction:column}.client-activity-list article{grid-template-columns:34px minmax(0,1fr)}.client-activity-list article>b{grid-column:2}}.manufacturer-products-toolbar{display:flex;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid var(--border-subtle)}.manufacturer-products-toolbar input{flex:1 1 auto}.manufacturer-products-toolbar span{color:var(--text-muted);white-space:nowrap}.manufacturer-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:22px}.manufacturer-product-card{display:grid;grid-template-columns:50px minmax(0,1fr) 10px;align-items:center;gap:12px;padding:12px;border:1px solid var(--border-default);border-radius:11px;background:var(--bg-surface);color:inherit;text-align:left;cursor:pointer}.manufacturer-product-card:hover{border-color:var(--primary);background:var(--primary-soft)}.manufacturer-product-card>img,.manufacturer-product-card>span:first-child{width:50px;height:50px;object-fit:contain;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-subtle)}.manufacturer-product-card>span:first-child{display:grid;place-items:center}.manufacturer-product-card strong,.manufacturer-product-card small{display:block}.manufacturer-product-card small{overflow:hidden;margin-top:4px;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap}.publication-dot{width:8px;height:8px;border-radius:50%;background:var(--text-subtle)}.publication-dot.publication-published{background:var(--success)}.publication-dot.publication-draft{background:var(--warning-soft-text)}@media(max-width:920px){.manufacturer-stats,.manufacturer-product-grid,.manufacturer-media-grid{grid-template-columns:1fr}.manufacturer-table th:nth-child(3),.manufacturer-table td:nth-child(3),.manufacturer-table th:nth-child(5),.manufacturer-table td:nth-child(5),.manufacturer-table th:nth-child(7),.manufacturer-table td:nth-child(7){display:none}}.bulk-confirmation-backdrop{z-index:220;display:grid;place-items:center;padding:18px}[data-theme=dark] .bulk-selection-bar{border-color:#31558f;background:#13243f;color:#c7d8ff;box-shadow:0 8px 24px #0003}html[data-theme=dark] .bulk-selection-bar.bulk-selection-bar-compact{border:0;background:transparent;color:var(--text-primary);box-shadow:none}@media(max-width:1320px){.editor-main-layout{grid-template-columns:1fr}.editor-main-form{border-right:0}.editor-main-preview{position:static;margin:0 22px 22px}}@media(max-width:980px){.bulk-selection-bar-compact .bulk-selection-inline{display:none}.bulk-selection-bar-compact .bulk-selection-mobile-menu{display:block}.category-media-grid,.category-attribute-row{grid-template-columns:1fr}}@media(max-width:720px){.bulk-selection-clear{width:100%;margin-left:0}.page-header-actions,.page-actions{width:100%;justify-content:flex-start}.detail-drawer{width:100vw}}.promotion-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.promotion-tabs{display:flex;gap:4px;margin:18px 0 0;padding:6px;overflow-x:auto;border:1px solid var(--border, #e5e9f0);border-bottom:0;border-radius:14px 14px 0 0;background:var(--surface, #fff)}.promotion-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;white-space:nowrap;border:0;border-radius:9px;background:transparent;color:var(--text-secondary, #667085);font-weight:var(--ui-type-navigation-weight)}.promotion-tabs button:hover,.promotion-tabs button.active{background:var(--primary-soft, #eef4ff);color:var(--primary, #2459e8)}.promotion-table-card{border-radius:0 0 14px 14px;width:100%;min-width:0}.promotion-table-card td strong,.promotion-table-card td small{display:block}.promotion-table-card td small{margin-top:4px;color:var(--text-secondary, #667085)}.promotion-table-card table{width:100%;min-width:1040px}.promotion-filter{display:grid;grid-template-columns:minmax(260px,1fr) repeat(4,minmax(145px,auto)) auto;gap:10px;margin:14px 0;padding:14px}.promotion-filter input,.promotion-filter select{min-width:0}.promotion-channel-list{display:flex;flex-wrap:wrap;gap:5px}.promotion-channel-list span{padding:4px 7px;border-radius:999px;background:var(--primary-soft, #eef4ff);color:var(--primary, #2459e8);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.status-scheduled,.status-pending{border-color:var(--warning-soft-border);background:var(--warning-soft);color:var(--warning-soft-text)}.status-expired,.status-exhausted,.status-disabled,.status-cancelled,.status-superseded{background:var(--bg-subtle);color:var(--text-muted)}.status-approved,.status-paid,.status-applied{border-color:var(--success-soft-border);background:var(--success-soft);color:var(--success-soft-text)}.status-rejected{border-color:var(--danger-soft-border);background:var(--danger-soft);color:var(--danger-soft-text)}.promotion-editor-modal{width:min(1040px,100%)}.promotion-small-modal{width:min(760px,100%)}.promotion-check-group{margin:0;padding:12px;border:1px solid var(--border, #d8dee9);border-radius:10px}.promotion-check-group legend{padding:0 5px}.promotion-check-group label,.promotion-rules-grid label,.promotion-inline-checkbox{display:inline-flex;align-items:center;gap:8px}.promotion-check-group label{margin-right:18px}.promotion-rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid var(--border, #e5e9f0);border-radius:12px;background:var(--surface-muted, #f8fafc)}.promotion-cap-fields{margin-top:16px}.promotion-editor-page .product-editor-content{min-height:480px}.promotion-editor-form{padding:22px}.promotion-editor-form .form-grid{align-items:start}.promotion-editor-form textarea{resize:vertical}.promotion-section-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:18px}.promotion-section-grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.promotion-side-stack{display:grid;align-content:start;gap:18px}.promotion-form-section{overflow:hidden;border:1px solid var(--border-subtle);border-radius:13px;background:var(--bg-surface-raised)}.promotion-form-section>header{padding:15px 17px 13px;border-bottom:1px solid var(--border-subtle)}.promotion-form-section>header h3,.promotion-form-section>header p{margin:0}.promotion-form-section>header h3{font-size:var(--ui-type-section-title-size)}.promotion-form-section>header p{margin-top:4px;color:var(--text-muted);font-size:var(--ui-type-secondary-size);line-height:var(--ui-type-secondary-line-height)}.promotion-form-section>.form-grid{padding:17px}.promotion-toggle-list{display:grid;gap:9px}.promotion-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:11px 12px;border:1px solid var(--border-subtle);border-radius:10px;background:var(--bg-surface);cursor:pointer}.promotion-toggle-row>span,.promotion-toggle-row strong,.promotion-toggle-row small{display:block}.promotion-toggle-row>span{min-width:0}.promotion-toggle-row strong{font-size:var(--ui-type-field-label-size)}.promotion-toggle-row small{margin-top:3px;color:var(--text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.promotion-toggle-row input{appearance:none;position:relative;flex:0 0 38px;width:38px;height:22px;margin:0;border:1px solid var(--border-default);border-radius:999px;background:var(--bg-subtle);transition:.18s ease}.promotion-toggle-row input:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--text-muted);transition:.18s ease}.promotion-toggle-row input:checked{border-color:var(--primary);background:var(--primary)}.promotion-toggle-row input:checked:after{transform:translate(16px);background:#fff}.promotion-scope-layout{display:grid;gap:16px}.promotion-scope-rule{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(330px,1.3fr);align-items:end;gap:14px;padding:16px;border:1px solid var(--border-subtle);border-radius:13px;background:var(--bg-surface-raised)}.promotion-scope-summary{grid-column:1 / -1;display:flex;gap:9px;flex-wrap:wrap}.promotion-scope-summary span{padding:7px 10px;border-radius:999px;background:var(--bg-subtle);color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.promotion-scope-summary strong{color:var(--text-primary)}.promotion-scope-mode,.promotion-entity-tabs{display:flex;gap:6px;flex-wrap:wrap}.promotion-scope-mode button,.promotion-entity-tabs button{border:1px solid var(--border-default);border-radius:9px;background:var(--bg-surface);color:var(--text-primary);font-weight:var(--ui-type-button-weight)}.promotion-scope-mode button.active,.promotion-entity-tabs button.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-soft-text)}.promotion-entity-tabs button span{margin-left:7px;padding:1px 6px;border-radius:999px;background:var(--bg-subtle);font-size:var(--ui-type-badge-size)}.promotion-scope-toolbar{display:flex;align-items:center;gap:12px}.promotion-scope-toolbar input{flex:1}.promotion-scope-toolbar span{flex:0 0 auto;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.promotion-scope-table-wrap{max-height:590px;border:1px solid var(--border-subtle);border-radius:12px}.promotion-scope-table thead{position:sticky;top:0;z-index:2}.promotion-scope-table tr.is-selected td{background:var(--primary-soft)}.promotion-scope-table td{vertical-align:middle}.promotion-scope-table td small{display:block;margin-top:3px;color:var(--text-muted)}.promotion-scope-identity{display:flex;align-items:center;gap:11px;min-width:230px}.promotion-scope-identity img,.promotion-scope-placeholder{flex:0 0 42px;width:42px;height:42px;border:1px solid var(--border-subtle);border-radius:9px;background:var(--bg-subtle);object-fit:contain}.promotion-scope-placeholder{display:grid;place-items:center}.promotion-price-stack{display:grid;gap:2px;min-width:125px}.promotion-price-stack span{display:flex;justify-content:space-between;gap:10px;font-size:var(--ui-type-secondary-size)}.promotion-price-stack span small{margin:0}.promotion-price-stack>strong{margin-top:4px;color:var(--danger);font-size:var(--ui-type-amount-size)}.promotion-price-stack>strong small{color:inherit;font-weight:var(--ui-type-secondary-weight)}.promotion-scope-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px}.promotion-scope-pagination span{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.analytics-filter-panel{display:grid;gap:14px;margin-bottom:18px;padding:16px}.analytics-type-tabs,.analytics-presets{display:flex;gap:6px;flex-wrap:wrap}.analytics-type-tabs button,.analytics-presets button{border:1px solid var(--border-default);border-radius:9px;background:var(--bg-surface);color:var(--text-primary);font-weight:var(--ui-type-button-weight)}.analytics-type-tabs button.active{border-color:var(--primary);background:var(--primary);color:#fff}.analytics-period-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.analytics-period-row .analytics-presets{flex:1}.analytics-period-row .field{min-width:155px}.analytics-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.analytics-chart-header p{margin:4px 0 0;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.analytics-overview-grid{align-items:stretch}.analytics-explanation p{margin:0;padding:10px 16px;border-top:1px solid var(--border-subtle);color:var(--text-muted);line-height:var(--ui-type-body-line-height)}.analytics-explanation p strong{color:var(--text-primary)}.analytics-ranking-table td{vertical-align:middle}.analytics-rank-identity{display:flex;align-items:center;gap:11px;min-width:220px}.analytics-rank-identity>img,.analytics-rank-identity>span{width:42px;height:42px;flex:0 0 42px;border:1px solid var(--border-subtle);border-radius:9px;background:var(--bg-subtle);object-fit:contain}.analytics-rank-identity>span{display:grid;place-items:center}.analytics-rank-identity small{display:block;margin-top:3px;color:var(--text-muted)}.promotion-target-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;max-height:440px;overflow-y:auto;padding:10px;border:1px solid var(--border-default);border-radius:12px;background:var(--bg-subtle)}.promotion-target-picker label{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid var(--border-subtle);border-radius:9px;background:var(--bg-surface)}.promotion-target-picker strong,.promotion-target-picker small{display:block}.promotion-target-picker small{margin-top:3px;color:var(--text-muted)}.info-callout{padding:14px;border:1px solid var(--primary-soft-border);border-radius:11px;background:var(--primary-soft);color:var(--primary-soft-text);line-height:var(--ui-type-body-line-height)}.promotion-history{display:grid;gap:0}.promotion-history>div{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid var(--border-subtle)}.promotion-history p,.promotion-history small{margin:4px 0 0;color:var(--text-muted)}.promotion-commission-filter{display:flex;justify-content:flex-end;padding:14px 16px;border-bottom:1px solid var(--border, #e5e9f0)}.promotion-commission-filter .field{min-width:220px}.promotion-code-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.promotion-code-chips,.order-promotion-summary>div{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.promotion-code-chips>span,.order-promotion-summary b{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:var(--primary-soft, #eef4ff);color:var(--primary, #2459e8);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.promotion-code-chips button{padding:0;border:0;background:transparent;color:inherit;font-size:18px;line-height:1}.promotion-results{display:grid;gap:8px;margin:12px 0}.promotion-results>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border, #e5e9f0);border-radius:10px}.promotion-results>div>div{display:grid;gap:2px}.promotion-results .applied{border-color:#a7e2bd;background:#f0fdf4;color:#067647}.promotion-results .rejected{border-color:#fecaca;background:#fff1f2;color:#b42318}.order-promotion-summary{margin-top:14px;padding:12px 14px;border:1px solid var(--border, #e5e9f0);border-radius:10px}.order-promotion-summary>div{margin-bottom:0}.order-promotion-history{margin-top:14px;border:1px solid var(--border, #e5e9f0);border-radius:10px;background:var(--surface);overflow:hidden}.order-promotion-history summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;cursor:pointer;color:var(--muted)}.order-promotion-history summary>span:first-child,.order-promotion-history-row>span{display:grid;gap:3px}.order-promotion-history summary strong,.order-promotion-history-row strong{color:var(--text)}.order-promotion-history summary small,.order-promotion-history-row small{color:var(--muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight)}.order-promotion-history-list{padding:4px 14px;border-top:1px solid var(--border, #e5e9f0)}.order-promotion-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--border, #e5e9f0)}.order-promotion-history-row:last-child{border-bottom:0}[data-theme=dark] .promotion-results .applied{border-color:#216d47;background:#0f3023;color:#9ee7bd}[data-theme=dark] .promotion-results .rejected{border-color:#81333b;background:#34191e;color:#ffb4bc}[data-theme=dark] .promotion-editor-modal,[data-theme=dark] .promotion-small-modal{background:var(--surface)}@media(max-width:760px){.promotion-stats,.promotion-rules-grid,.promotion-filter,.promotion-section-grid,.promotion-section-grid.equal,.promotion-scope-rule{grid-template-columns:1fr}.analytics-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-period-row{align-items:stretch}.analytics-period-row .field{min-width:calc(50% - 6px)}.promotion-editor-page .product-editor-header{position:static;flex-direction:column}.promotion-editor-page .product-editor-actions{width:100%}.promotion-editor-page .product-editor-actions .button{flex:1}}@media(min-width:761px)and (max-width:1280px){.promotion-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.promotion-filter{grid-template-columns:minmax(240px,1fr) repeat(2,minmax(150px,auto))}}.stock-receipts-page,.stock-receipt-editor{width:100%;max-width:1600px;margin:0 auto}.receipt-filters{display:grid;grid-template-columns:minmax(280px,1fr) repeat(2,minmax(160px,auto)) repeat(2,minmax(145px,auto));gap:10px;margin-bottom:16px;padding:14px;border:1px solid var(--border-default);border-radius:14px;background:var(--bg-surface)}.receipt-filters>label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px;color:var(--text-muted);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight)}.receipt-filters input,.receipt-filters select,.receipt-sku-modal>input,.receipt-lots-table input,.receipt-lots-table select,.receipt-item-meta select{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--border-default);border-radius:9px;background:var(--bg-surface);color:var(--text-primary)}.receipt-table tbody tr{cursor:pointer}.receipt-table tbody tr:hover{background:var(--bg-hover)}.receipt-table td:first-child,.receipt-table td:nth-child(5){display:table-cell}.receipt-table td strong,.receipt-table td span{display:block}.receipt-table td span{margin-top:3px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.status-badge.receipt-draft{border-color:var(--warning-soft-border);background:var(--warning-soft);color:var(--warning-soft-text)}.status-badge.receipt-posted{border-color:var(--success-soft-border);background:var(--success-soft);color:var(--success-soft-text)}.status-badge.receipt-cancelled,.status-badge.receipt-reversed{border-color:var(--danger-soft-border);background:var(--danger-soft);color:var(--danger-soft-text)}.receipt-editor-header>div:first-child{min-width:0}.receipt-editor-header h1{margin:5px 0 8px}.receipt-tabs{margin-top:18px}.receipt-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px}.receipt-editor-main,.receipt-items{display:grid;min-width:0;gap:16px}.stock-receipt-editor .editor-card{overflow:hidden;padding:20px;border:1px solid var(--border-default);border-radius:14px;background:var(--bg-surface);box-shadow:0 5px 18px color-mix(in srgb,var(--surface-shadow) 30%,transparent)}.stock-receipt-editor .section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.stock-receipt-editor .section-heading h2,.receipt-summary-panel h2{margin:0;font-size:var(--ui-type-section-title-size)}.stock-receipt-editor .section-heading p{margin:5px 0 0;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.receipt-header-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.receipt-header-grid .product-field-wide{grid-column:1 / -1}.receipt-summary-panel{position:sticky;top:102px;display:grid;gap:12px;padding:18px;border:1px solid var(--border-default);border-radius:14px;background:var(--bg-surface);box-shadow:0 8px 24px color-mix(in srgb,var(--surface-shadow) 40%,transparent)}.receipt-summary-panel dl{display:grid;gap:0;margin:0}.receipt-summary-panel dl>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--border-subtle)}.receipt-summary-panel dt{color:var(--text-muted)}.receipt-summary-panel dd{margin:0;font-weight:var(--ui-type-amount-weight)}.receipt-summary-panel .total{margin-top:4px;border-bottom:0;color:var(--text-primary);font-size:var(--ui-type-amount-total-size)}.receipt-save-state{margin:0;color:var(--warning-soft-text);font-size:var(--ui-type-badge-size);font-weight:var(--ui-font-weight-medium)}.receipt-save-state.success{color:var(--success-soft-text)}.receipt-item-card{overflow:hidden;border:1px solid var(--border-default);border-radius:13px;background:var(--bg-surface)}.receipt-item-card>header,.receipt-item-card>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;background:var(--bg-subtle)}.receipt-item-card>header>div,.receipt-item-card>header>div>div{display:flex;align-items:center;min-width:0;gap:11px}.receipt-item-card h3,.receipt-item-card p{margin:0}.receipt-item-card p{margin-top:3px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.receipt-item-position{display:grid;flex:0 0 28px;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--primary-soft);color:var(--primary-soft-text);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight)}.receipt-item-meta{display:flex;flex-wrap:wrap;align-items:end;gap:12px 20px;padding:12px 15px;border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);color:var(--text-muted);font-size:var(--ui-type-field-label-size)}.receipt-item-meta label{display:grid;flex:1 1 330px;gap:5px}.receipt-item-meta em{flex-basis:100%;color:var(--danger-soft-text);font-style:normal;font-weight:var(--ui-font-weight-semibold)}.receipt-lots-table{min-width:1000px}.receipt-lots-table th,.receipt-lots-table td{padding:9px 7px;vertical-align:top}.receipt-lots-table td:nth-child(1){min-width:125px}.receipt-lots-table td:nth-child(2),.receipt-lots-table td:nth-child(3){min-width:145px}.receipt-lots-table td:nth-child(4),.receipt-lots-table td:nth-child(5){min-width:105px}.receipt-lots-table td:nth-child(6){min-width:155px}.receipt-lots-table td:nth-child(7){min-width:125px}.receipt-lots-table td small{display:block;margin-top:4px;color:var(--text-muted);white-space:nowrap}.receipt-expiry-disabled{display:grid;min-height:40px;align-content:center;gap:2px;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.receipt-expiry-disabled a{color:var(--primary);text-decoration:none}.receipt-history{display:grid}.receipt-history article{display:grid;grid-template-columns:22px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--border-subtle)}.receipt-history article>span{color:var(--primary)}.receipt-history article div{display:grid;gap:3px}.receipt-history small{color:var(--text-muted)}.receipt-sku-modal,.receipt-quick-variant-modal{width:min(920px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 32px));overflow:auto}.receipt-sku-results{display:grid;gap:8px;margin-top:13px}.receipt-sku-results article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px;border:1px solid var(--border-default);border-radius:11px}.receipt-sku-results article>div{display:grid;gap:4px}.receipt-sku-results article>div:last-child{grid-auto-flow:column;align-items:center}.receipt-sku-results small,.receipt-sku-results span{color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.positive-value{color:var(--success-soft-text);font-weight:var(--ui-type-amount-weight)}.negative-value{color:var(--danger-soft-text);font-weight:var(--ui-type-amount-weight)}.reservation-policy-table select,.reservation-policy-table input{min-width:140px;min-height:36px;border:1px solid var(--border-default);border-radius:8px;background:var(--bg-surface);color:var(--text-primary);padding:6px 9px}.reservation-policy-table td:nth-child(2) span{display:block;color:var(--text-muted);font-size:var(--ui-type-secondary-size)}.reservation-policy-table input[type=number]{min-width:90px;width:105px}@media(max-width:1180px){.receipt-filters{grid-template-columns:minmax(240px,1fr) repeat(2,minmax(150px,auto))}.receipt-editor-layout{grid-template-columns:1fr}.receipt-summary-panel{position:static;grid-template-columns:1fr 1fr}.receipt-summary-panel h2,.receipt-summary-panel dl,.receipt-summary-panel .receipt-save-state{grid-column:1 / -1}}@media(max-width:760px){.stock-receipt-editor .receipt-editor-header{position:static;flex-direction:column}.receipt-editor-header .product-editor-actions,.receipt-editor-header .product-editor-actions .button,.receipt-summary-panel .button{width:100%}.receipt-editor-header .product-editor-actions{display:grid;grid-template-columns:1fr}.receipt-filters,.receipt-header-grid,.receipt-summary-panel{grid-template-columns:1fr}.receipt-filters>label,.receipt-summary-panel h2,.receipt-summary-panel dl,.receipt-summary-panel .receipt-save-state{grid-column:auto}.stock-receipts-page .page-heading-row,.stock-receipts-page .page-actions,.stock-receipt-editor .section-heading,.receipt-sku-results article{align-items:stretch;flex-direction:column}.stock-receipts-page .page-actions .button,.stock-receipt-editor .section-heading .button{width:100%}.receipt-sku-results article>div:last-child{grid-auto-flow:row}}.listing-publication-settings{display:grid;gap:8px;min-width:220px}.listing-publication-settings select{width:100%;min-height:38px}.listing-publication-settings .compact-checkbox{justify-content:flex-start}.storefront-workspace-shell{display:grid;gap:16px}.storefront-workspace-home{min-height:180px}.storefront-access-matrix{display:grid;gap:10px}.storefront-access-matrix>p{margin:0}.storefront-access-matrix>article{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.55fr);gap:10px 16px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-subtle)}.storefront-access-matrix>article>.storefront-custom-roles{grid-column:1/-1}.storefront-access-matrix .compact-checkbox{margin:0}.storefront-custom-roles{padding-top:2px}@media(max-width:760px){.storefront-access-matrix>article{grid-template-columns:1fr}}:root{--ui-font: "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--ui-font-weight-regular: 400;--ui-font-weight-medium: 500;--ui-font-weight-semibold: 600;--ui-font-weight-bold: 700;--ui-type-body-size: 14px;--ui-type-body-line-height: 1.45;--ui-type-body-weight: var(--ui-font-weight-regular);--ui-type-secondary-size: 13px;--ui-type-secondary-line-height: 1.5;--ui-type-secondary-weight: var(--ui-font-weight-regular);--ui-type-field-label-size: 13px;--ui-type-field-label-line-height: 1.4;--ui-type-field-label-weight: var(--ui-font-weight-semibold);--ui-type-field-value-size: 14px;--ui-type-field-value-line-height: 1.45;--ui-type-field-value-weight: var(--ui-font-weight-regular);--ui-type-navigation-size: 14px;--ui-type-navigation-line-height: 1.4;--ui-type-navigation-weight: var(--ui-font-weight-medium);--ui-type-table-header-size: 13px;--ui-type-table-header-line-height: 1.35;--ui-type-table-header-weight: var(--ui-font-weight-semibold);--ui-type-table-value-size: 14px;--ui-type-table-value-line-height: 1.45;--ui-type-table-value-weight: var(--ui-font-weight-regular);--ui-type-section-title-size: 18px;--ui-type-section-title-line-height: 1.3;--ui-type-section-title-weight: var(--ui-font-weight-semibold);--ui-type-page-title-size: clamp(25px, 2vw, 32px);--ui-type-page-title-line-height: 1.18;--ui-type-page-title-weight: var(--ui-font-weight-bold);--ui-type-button-size: 14px;--ui-type-button-line-height: 1.2;--ui-type-button-weight: var(--ui-font-weight-semibold);--ui-type-badge-size: 12px;--ui-type-badge-line-height: 1.25;--ui-type-badge-weight: var(--ui-font-weight-semibold);--ui-type-amount-size: 14px;--ui-type-amount-line-height: 1.4;--ui-type-amount-weight: var(--ui-font-weight-medium);--ui-type-amount-total-size: 16px;--ui-type-amount-total-line-height: 1.3;--ui-type-amount-total-weight: var(--ui-font-weight-bold);--ui-canvas: #f5f7fb;--ui-surface: #ffffff;--ui-surface-raised: #ffffff;--ui-surface-subtle: #f8fafc;--ui-surface-hover: #f3f6fc;--ui-surface-selected: #eef3ff;--ui-text: #152033;--ui-text-secondary: #344054;--ui-text-muted: #667085;--ui-text-subtle: #8a94a6;--ui-border: #dde3ec;--ui-border-strong: #c9d2df;--ui-primary: #3157d5;--ui-primary-hover: #2849bb;--ui-primary-soft: #edf2ff;--ui-primary-border: #b9c9f9;--ui-success: #087a55;--ui-success-soft: #eafaf3;--ui-success-border: #a9e4cb;--ui-warning: #9a4f0c;--ui-warning-soft: #fff7e8;--ui-warning-border: #f4d39c;--ui-danger: #b83b3b;--ui-danger-hover: #9d3030;--ui-danger-soft: #fff1f1;--ui-danger-border: #f1bcbc;--ui-info: #1769aa;--ui-info-soft: #eef7ff;--ui-info-border: #b9dafa;--ui-focus: 0 0 0 3px rgba(49, 87, 213, .18);--ui-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);--ui-shadow-md: 0 8px 24px rgba(16, 24, 40, .07);--ui-shadow-lg: 0 24px 64px rgba(16, 24, 40, .22);--ui-radius-xs: 6px;--ui-radius-sm: 9px;--ui-radius-md: 12px;--ui-radius-lg: 16px;--ui-radius-xl: 20px;--ui-control-sm: 34px;--ui-control: 42px;--ui-control-lg: 46px;--ui-page-gap: 24px;--ui-section-gap: 18px;--ui-content-x: clamp(18px, 2.2vw, 34px);--ui-content-y: clamp(20px, 2.4vw, 34px);--bg-app: var(--ui-canvas);--bg-surface: var(--ui-surface);--bg-surface-raised: var(--ui-surface-raised);--bg-subtle: var(--ui-surface-subtle);--bg-hover: var(--ui-surface-hover);--input-bg: var(--ui-surface);--text-primary: var(--ui-text);--text-secondary: var(--ui-text-secondary);--text-muted: var(--ui-text-muted);--text-subtle: var(--ui-text-secondary);--border-default: var(--ui-border);--border-strong: var(--ui-border-strong);--border-subtle: #e8edf3;--primary: var(--ui-primary);--primary-hover: var(--ui-primary-hover);--primary-soft: var(--ui-primary-soft);--focus-ring: rgba(49, 87, 213, .18)}[data-theme=dark]{--ui-canvas: #111723;--ui-surface: #18202d;--ui-surface-raised: #1c2533;--ui-surface-subtle: #141b27;--ui-surface-hover: #222d3d;--ui-surface-selected: #23345d;--ui-text: #f3f6fb;--ui-text-secondary: #d5dcea;--ui-text-muted: #9eabc0;--ui-text-subtle: #7f8ca2;--ui-border: #2d394b;--ui-border-strong: #425169;--ui-primary: #7696ff;--ui-primary-hover: #91aaff;--ui-primary-soft: #213157;--ui-primary-border: #415a9d;--ui-success: #6fd8af;--ui-success-soft: #15382f;--ui-success-border: #286b56;--ui-warning: #f2b86b;--ui-warning-soft: #3b2b18;--ui-warning-border: #725129;--ui-danger: #ff8d8d;--ui-danger-hover: #ffaaaa;--ui-danger-soft: #432326;--ui-danger-border: #784249;--ui-info: #80c3f4;--ui-info-soft: #18344b;--ui-info-border: #2d668e;--ui-focus: 0 0 0 3px rgba(118, 150, 255, .24);--ui-shadow-md: 0 10px 28px rgba(0, 0, 0, .2);--ui-shadow-lg: 0 26px 72px rgba(0, 0, 0, .5)}html{color-scheme:light;background:var(--ui-canvas)}html[data-theme=dark]{color-scheme:dark}.mfa-recovery-notice{position:relative;z-index:20;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:var(--ui-page-gap);padding:20px;border:1px solid var(--ui-warning-border);border-radius:var(--ui-radius-lg);background:var(--ui-warning-soft);color:var(--ui-text)}.mfa-recovery-notice p{margin:6px 0 12px;color:var(--ui-text-secondary)}.mfa-recovery-notice pre{margin:0;white-space:pre-wrap;font:600 13px/1.6 ui-monospace,monospace}.mfa-recovery-actions{display:flex;gap:8px;flex-wrap:wrap}.auth-mfa-setup{display:grid;gap:8px;padding:14px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle)}.auth-mfa-setup p,.auth-mfa-setup small{margin:0;color:var(--ui-text-secondary)}.auth-mfa-setup code{overflow-wrap:anywhere;font-weight:var(--ui-font-weight-bold);letter-spacing:.05em}.json-preview{max-height:620px;overflow:auto;margin:0;padding:16px;border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle);color:var(--ui-text-secondary)}@media(max-width:720px){.mfa-recovery-notice{flex-direction:column}}body{color:var(--ui-text);background:var(--ui-canvas);font-family:var(--ui-font);font-size:var(--ui-type-body-size);font-weight:var(--ui-type-body-weight);line-height:var(--ui-type-body-line-height);-webkit-font-smoothing:antialiased}.ui-type-body{font-size:var(--ui-type-body-size);font-weight:var(--ui-type-body-weight);line-height:var(--ui-type-body-line-height)}.ui-type-secondary{font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.ui-type-page-title{font-size:var(--ui-type-page-title-size);font-weight:var(--ui-type-page-title-weight);line-height:var(--ui-type-page-title-line-height)}.ui-type-section-title{font-size:var(--ui-type-section-title-size);font-weight:var(--ui-type-section-title-weight);line-height:var(--ui-type-section-title-line-height)}.ui-type-field-label{font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight);line-height:var(--ui-type-field-label-line-height)}.ui-type-field-value{font-size:var(--ui-type-field-value-size);font-weight:var(--ui-type-field-value-weight);line-height:var(--ui-type-field-value-line-height)}.ui-type-navigation{font-size:var(--ui-type-navigation-size);font-weight:var(--ui-type-navigation-weight);line-height:var(--ui-type-navigation-line-height)}.ui-type-table-header{font-size:var(--ui-type-table-header-size);font-weight:var(--ui-type-table-header-weight);line-height:var(--ui-type-table-header-line-height)}.ui-type-table-value{font-size:var(--ui-type-table-value-size);font-weight:var(--ui-type-table-value-weight);line-height:var(--ui-type-table-value-line-height)}.ui-type-button{font-size:var(--ui-type-button-size);font-weight:var(--ui-type-button-weight);line-height:var(--ui-type-button-line-height)}.ui-type-badge{font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight);line-height:var(--ui-type-badge-line-height)}.ui-type-amount{font-size:var(--ui-type-amount-size);font-weight:var(--ui-type-amount-weight);line-height:var(--ui-type-amount-line-height)}.ui-type-amount-total{font-size:var(--ui-type-amount-total-size);font-weight:var(--ui-type-amount-total-weight);line-height:var(--ui-type-amount-total-line-height)}body.ui-overlay-open{overflow:hidden}::selection{background:color-mix(in srgb,var(--ui-primary) 26%,transparent)}:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--ui-primary);outline-offset:2px}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.58}.main,.content{background:var(--ui-canvas)}.content{padding:var(--ui-content-y) var(--ui-content-x) 48px;min-width:0;max-width:100%;overflow-x:hidden}.content>*,.products-page,.product-editor-page,.order-wizard-page{min-width:0;max-width:100%}.product-panel{max-width:100%}.topbar{min-height:68px;border-color:var(--ui-border);background:color-mix(in srgb,var(--ui-surface) 94%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand strong,.sidebar-user strong,.topbar-title strong{font-size:var(--ui-type-body-size);font-weight:var(--ui-font-weight-semibold);line-height:var(--ui-type-body-line-height)}.brand small,.sidebar-user small,.topbar-title span{font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.sidebar a,.sidebar-group-toggle,.sidebar-footer button{font-size:var(--ui-type-navigation-size);font-weight:var(--ui-type-navigation-weight);line-height:var(--ui-type-navigation-line-height)}.sidebar .sidebar-group-items a{font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-navigation-weight);line-height:var(--ui-type-navigation-line-height)}.global-search input,.theme-toggle{border-color:var(--ui-border);background:var(--ui-surface-subtle);color:var(--ui-text)}.global-search input:focus{border-color:var(--ui-primary);background:var(--ui-surface);box-shadow:var(--ui-focus)}.ui-page-header,.page-heading,.page-heading-row,.page-header,.product-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;min-width:0;width:100%;margin:0 0 var(--ui-page-gap)}.ui-page-header{display:grid;grid-template-columns:minmax(0,1fr) max-content}.ui-page-header-copy,.ui-page-header>div:first-child,.page-heading>div:first-child,.page-heading-row>div:first-child,.page-header>div:first-child,.product-editor-header>div:first-child{flex:1 1 0;min-width:0}.ui-page-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.ui-page-header h1,.page-heading h1,.page-heading-row h1,.page-header h1,.product-editor-header h1{margin:0;color:var(--ui-text);font-size:var(--ui-type-page-title-size);font-weight:var(--ui-type-page-title-weight);line-height:var(--ui-type-page-title-line-height);letter-spacing:-.025em}.ui-page-header p,.page-heading p,.page-heading-row p,.page-header p,.product-editor-header p{max-width:820px;margin:7px 0 0;color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.ui-page-actions,.product-editor-actions,.section-actions,.ui-section-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:100%;gap:9px}.ui-breadcrumbs,.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:7px;color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-navigation-weight);line-height:var(--ui-type-navigation-line-height)}.ui-breadcrumbs a,.breadcrumbs a{color:var(--ui-primary);text-decoration:none}.button,.primary-button,.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--ui-control);padding:8px 14px;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text-secondary);font-size:var(--ui-type-button-size);font-weight:var(--ui-type-button-weight);line-height:var(--ui-type-button-line-height);text-align:center;text-decoration:none;white-space:nowrap;box-shadow:var(--ui-shadow-sm);transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .08s ease}.button:hover:not(:disabled),.ui-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--ui-primary) 35%,var(--ui-border));background:var(--ui-surface-hover);color:var(--ui-text)}.button:active:not(:disabled),.ui-button:active:not(:disabled){transform:translateY(1px)}.button-primary,.primary-button{border-color:var(--ui-primary);background:var(--ui-primary);color:#fff;box-shadow:0 4px 12px color-mix(in srgb,var(--ui-primary) 22%,transparent)}.button-primary:hover:not(:disabled),.primary-button:hover:not(:disabled){border-color:var(--ui-primary-hover);background:var(--ui-primary-hover);color:#fff}.button-danger,.button-danger-soft{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger);box-shadow:none}.button-danger:hover:not(:disabled),.button-danger-soft:hover:not(:disabled){border-color:var(--ui-danger);background:var(--ui-danger-soft);color:var(--ui-danger-hover)}.button-compact{min-height:var(--ui-control-sm);padding:6px 10px;font-size:var(--ui-type-secondary-size)}.ui-icon-button,.icon-button,.drawer-close{display:inline-grid;place-items:center;flex:0 0 auto;width:38px;height:38px;min-height:38px;padding:0;border:1px solid transparent;border-radius:var(--ui-radius-sm);background:transparent;color:var(--ui-text-muted);font-size:20px;line-height:1;transition:background-color .16s ease,color .16s ease,border-color .16s ease}.ui-icon-button:hover:not(:disabled),.icon-button:hover:not(:disabled),.drawer-close:hover:not(:disabled){border-color:var(--ui-border);background:var(--ui-surface-hover);color:var(--ui-text)}.ui-icon-button-danger{color:var(--ui-danger)}.ui-icon-button-danger:hover:not(:disabled){border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.ui-tabs,.product-editor-tabs,.detail-tabs,.finance-tabs{display:flex;align-items:stretch;gap:4px;width:100%;margin:0 0 18px;padding:5px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle)}.ui-tabs-shell{position:relative;display:grid;grid-template-columns:0 minmax(0,1fr) 0;align-items:stretch;width:100%;margin-bottom:18px;transition:grid-template-columns .16s ease}.ui-tabs-shell.has-previous{grid-template-columns:38px minmax(0,1fr) 0}.ui-tabs-shell.has-next{grid-template-columns:0 minmax(0,1fr) 38px}.ui-tabs-shell.has-previous.has-next{grid-template-columns:38px minmax(0,1fr) 38px}.ui-tabs-shell>.ui-tabs{margin-bottom:0;scrollbar-width:none}.ui-tabs-shell>.ui-tabs::-webkit-scrollbar{display:none}.ui-tabs-scroll{position:relative;z-index:2;display:grid;place-items:center;min-width:0;min-height:100%;padding:0;overflow:hidden;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text-muted)}.ui-tabs-scroll:disabled{visibility:hidden}.ui-tabs-scroll-previous{border-radius:var(--ui-radius-md) 0 0 var(--ui-radius-md)}.ui-tabs-scroll-previous svg{transform:rotate(180deg)}.ui-tabs-scroll-next{border-radius:0 var(--ui-radius-md) var(--ui-radius-md) 0}.ui-tabs-shell.has-previous>.ui-tabs{border-top-left-radius:0;border-bottom-left-radius:0}.ui-tabs-shell.has-next>.ui-tabs{border-top-right-radius:0;border-bottom-right-radius:0}.ui-tabs button,.product-editor-tabs button,.detail-tabs button,.finance-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:40px;padding:8px 13px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ui-text-muted);font-size:var(--ui-type-navigation-size);font-weight:var(--ui-type-navigation-weight);line-height:var(--ui-type-navigation-line-height);white-space:nowrap}.ui-tabs button:hover:not(:disabled),.product-editor-tabs button:hover:not(:disabled),.detail-tabs button:hover:not(:disabled),.finance-tabs button:hover:not(:disabled){background:var(--ui-surface-hover);color:var(--ui-text)}.ui-tabs button.active,.ui-tabs button[aria-selected=true],.product-editor-tabs button.active,.detail-tabs button.active,.finance-tabs button.active{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-primary);box-shadow:var(--ui-shadow-sm)}.ui-tabs button svg{flex:0 0 auto}.ui-tab-attention,.product-editor-tabs button i{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--ui-warning-soft);color:var(--ui-warning);font-size:11px;font-style:normal}.ui-tabs-vertical{display:grid;align-content:start;gap:4px;min-width:236px;margin:0;padding:6px;overflow:visible}.ui-tabs-vertical button{justify-content:flex-start;width:100%}.language-tabs{display:flex;align-items:stretch;gap:6px;width:fit-content;max-width:100%;margin:0 0 16px;padding:5px;overflow-x:auto;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle)}.language-tabs button{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:42px;padding:7px 11px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ui-text-muted);font-size:var(--ui-type-navigation-size);font-weight:var(--ui-type-navigation-weight);line-height:var(--ui-type-navigation-line-height);white-space:nowrap}.language-tabs button.active{border-color:var(--ui-primary-border);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-sm)}.language-tabs button strong{line-height:1.2}.language-tabs button small{flex:0 0 auto;color:var(--ui-text-subtle);font-size:var(--ui-type-badge-size)}.language-tabs button i{position:static;flex:0 0 7px;width:7px;height:7px;margin-left:1px;border-radius:50%;background:var(--ui-text-subtle);transform:none}.language-tabs button.translation-ready i{background:var(--ui-success)}.language-tabs button.translation-draft i{background:var(--ui-warning)}.ui-section,.product-panel,.editor-card,.settings-section,.card,.panel{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-sm)}.ui-section,.editor-card{margin-bottom:var(--ui-section-gap);padding:clamp(18px,2vw,24px)}.product-panel{margin-bottom:var(--ui-section-gap);padding:0}.ui-section-header,.product-panel-title,.section-heading,.settings-section-heading,.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.ui-section-header h2,.product-panel-title h2,.section-heading h2,.settings-section-heading h3,.card-header h2{margin:0;color:var(--ui-text);font-size:var(--ui-type-section-title-size);font-weight:var(--ui-type-section-title-weight);line-height:var(--ui-type-section-title-line-height)}.ui-section-header p,.product-panel-title p,.section-heading p,.settings-section-heading p,.card-header p{max-width:780px;margin:5px 0 0;color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.ui-section-content{min-width:0}.product-panel>.product-panel-title{margin:0;padding:20px 22px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface-raised)}.product-panel>.table-scroll{border:0;border-radius:0}.product-subsection{padding-top:20px;border-top:1px solid var(--ui-border)}.product-subsection+.product-subsection{margin-top:22px}.product-subpanel{border-color:var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle)}.product-form-grid,.form-grid,.ui-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:17px 18px;align-items:start}.product-form-grid>*,.form-grid>*,.ui-form-grid>*{grid-column:span 6;min-width:0}.product-form-grid-three>*{grid-column:span 4}.product-form-grid-four>*{grid-column:span 3}.product-field-wide,.field-wide{grid-column:1 / -1!important}.product-field,.field{display:grid;align-content:start;gap:7px;min-width:0;margin:0;color:var(--ui-text-secondary);font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight);line-height:var(--ui-type-field-label-line-height)}.product-field>span:first-child,.field>span:first-child{min-height:18px}.product-field small,.field small{color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}:where(.product-field,.field) :where(input:not([type=checkbox]):not([type=radio]),select,textarea),.search-input,.manufacturer-products-toolbar select,.table-filter-select,.modal-card>input,.client-modal>input{width:100%;min-width:0;min-height:var(--ui-control);border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text);padding:9px 11px;font-size:var(--ui-type-field-value-size);font-weight:var(--ui-type-field-value-weight);line-height:var(--ui-type-field-value-line-height);outline:none;box-shadow:0 1px 2px #10182805;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}:where(.product-field,.field) textarea{min-height:104px;resize:vertical;line-height:var(--ui-type-field-value-line-height)}:where(.product-field,.field) :where(input,select,textarea):hover:not(:disabled){border-color:color-mix(in srgb,var(--ui-border-strong) 75%,var(--ui-primary))}:where(.product-field,.field) :where(input,select,textarea):focus{border-color:var(--ui-primary);box-shadow:var(--ui-focus)}:where(input,textarea)::placeholder{color:var(--ui-text-subtle)}input[type=checkbox],input[type=radio]{accent-color:var(--ui-primary)}.client-option-row,.channel-switches>label{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:11px;min-height:0;padding:13px 14px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle)}.client-option-row:hover,.channel-switches>label:hover{border-color:var(--ui-primary-border);background:var(--ui-surface-hover)}.client-option-row input,.channel-switches>label input{width:17px;height:17px;margin:2px 0 0}.client-option-row span,.channel-switches>label span{display:grid;gap:3px}.client-option-row small,.channel-switches>label small{color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.channel-switches{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:10px;margin:0 0 18px}.ui-inline-row,.supplier-rate-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle)}.ui-inline-row-fields{display:grid;grid-template-columns:minmax(240px,1fr) minmax(130px,180px);align-items:end;gap:14px;min-width:0}.supplier-delivery-rate-fields{grid-template-columns:minmax(240px,1fr) minmax(130px,180px) minmax(140px,190px)}.supplier-rate-list{display:grid;gap:10px}.supplier-delivery-panel>.ui-tabs-shell{margin:18px 20px 0;width:auto}.supplier-delivery-method-tabs{background:var(--ui-surface)}.supplier-delivery-method-content{display:grid;gap:18px;padding:18px 20px 22px}.supplier-delivery-method-header,.supplier-delivery-block-heading,.supplier-delivery-tier-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.supplier-delivery-method-header h3,.supplier-delivery-block-heading h4{margin:0;color:var(--ui-text)}.supplier-delivery-method-header h3{font-size:18px}.supplier-delivery-block-heading h4{font-size:15px}.supplier-delivery-method-header p,.supplier-delivery-block-heading p{margin:4px 0 0;color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size);line-height:var(--ui-type-secondary-line-height)}.supplier-delivery-global-discounts,.supplier-delivery-countries{display:grid;gap:14px;padding:16px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface)}.supplier-delivery-add-country{display:grid;grid-template-columns:minmax(190px,260px) auto;gap:8px}.supplier-delivery-add-country .searchable-select input,.supplier-delivery-compact-field input,.supplier-delivery-compact-field select,.supplier-delivery-discount-mode select{width:100%;min-width:0;min-height:38px;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text)}.supplier-delivery-add-country .searchable-select,.supplier-delivery-compact-field .searchable-select{width:100%}.supplier-delivery-add-country .searchable-select-dropdown,.supplier-delivery-compact-field .searchable-select-dropdown{z-index:120;max-height:250px}.language-tab-flag{width:22px;height:16px;flex:0 0 22px}.language-tab-flag-fallback{display:inline-flex;width:22px;flex:0 0 22px;align-items:center;justify-content:center}.supplier-delivery-country-list,.supplier-delivery-tier-list,.supplier-delivery-tier-editor{display:grid;gap:8px}.supplier-delivery-country-columns,.supplier-delivery-country-row{display:grid;grid-template-columns:minmax(210px,1.25fr) minmax(100px,.55fr) minmax(150px,.75fr) minmax(210px,1fr) 38px;align-items:center;gap:10px}.supplier-delivery-country-columns.provider,.supplier-delivery-country-row.provider{grid-template-columns:minmax(240px,1fr) minmax(240px,1.25fr) 38px}.supplier-delivery-country-columns{padding:0 12px;color:var(--ui-text-muted);font-size:12px;font-weight:600}.supplier-delivery-country{overflow:hidden;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle)}.supplier-delivery-country-row{padding:10px 12px}.supplier-delivery-compact-field{display:grid;min-width:0}.supplier-delivery-compact-field>span{display:none}.supplier-delivery-discount-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:8px 11px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text);text-align:left}.supplier-delivery-discount-summary:hover{border-color:var(--ui-primary-border);background:var(--ui-surface-hover)}.supplier-delivery-provider-note{color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size)}.supplier-delivery-country-discounts{display:grid;gap:12px;padding:14px 16px 16px;border-top:1px solid var(--ui-border);background:var(--ui-surface)}.supplier-delivery-discount-mode{max-width:420px}.supplier-delivery-override-hint{margin:0}.supplier-delivery-tier-heading{align-items:center;min-height:32px;font-size:13px;font-weight:600}.supplier-delivery-tier-row{display:grid;grid-template-columns:minmax(150px,220px) minmax(150px,220px) 38px;align-items:end;gap:10px}.supplier-delivery-empty-line{margin:0;padding:10px 12px;border-radius:var(--ui-radius-sm);background:var(--ui-surface-subtle);color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size)}.supplier-telegram-list{display:grid;gap:14px;padding:20px 22px}.supplier-telegram-store{display:grid;gap:14px;padding:16px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle)}.supplier-telegram-store>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.supplier-telegram-store h3{margin:0;font-size:var(--ui-type-section-title-size);font-weight:var(--ui-type-section-title-weight);line-height:var(--ui-type-section-title-line-height)}.supplier-telegram-store header p,.supplier-telegram-meta{margin:4px 0 0;color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.supplier-telegram-statuses,.supplier-telegram-store>footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.supplier-telegram-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}.supplier-telegram-fields textarea{min-height:82px}.supplier-telegram-store>.error-banner{margin:0}.supplier-telegram-panel>.info-banner{margin:0 22px 20px}.inline-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px}.inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.checkbox-cluster{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:6px 14px;min-width:390px}.checkbox-cluster label{display:flex;align-items:center;gap:7px;font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight);line-height:var(--ui-type-field-label-line-height)}.ui-grid-span-2{grid-column:1 / -1}.checkbox-row{display:flex;min-height:var(--ui-control-height);align-items:center;gap:9px;align-self:end}.checkbox-row input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:0}.table-scroll{width:100%;overflow:auto;overscroll-behavior-inline:contain;overscroll-behavior-block:auto;scrollbar-width:thin;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface)}.product-panel>.table-scroll,.editor-card>.table-scroll{margin:0}.data-table,.table-wrap table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0;color:var(--ui-text-secondary);font-size:var(--ui-type-table-value-size);font-weight:var(--ui-type-table-value-weight);line-height:var(--ui-type-table-value-line-height)}.data-table th,.table-wrap th{height:43px;padding:10px 14px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface-subtle);color:var(--ui-text-muted);font-size:var(--ui-type-table-header-size);font-weight:var(--ui-type-table-header-weight);line-height:var(--ui-type-table-header-line-height);letter-spacing:.025em;text-align:left;text-transform:none;white-space:nowrap}.data-table td,.table-wrap td{padding:13px 14px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text-secondary);font-size:var(--ui-type-table-value-size);font-weight:var(--ui-type-table-value-weight);line-height:var(--ui-type-table-value-line-height);vertical-align:middle}.data-table tbody tr:last-child td,.table-wrap tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover td,.table-wrap tbody tr:hover td{background:var(--ui-surface-hover)}.data-table tbody tr:focus-within td{background:var(--ui-surface-selected)}.data-table td strong{color:var(--ui-text)}.data-table td span{color:var(--ui-text-muted)}.ui-status,.status-badge,.status-pill,.order-status{display:inline-flex!important;align-items:center;width:fit-content;min-height:26px;margin:0;padding:4px 9px;border:1px solid var(--ui-border);border-radius:999px;background:var(--ui-surface-subtle);color:var(--ui-text-secondary);font-size:var(--ui-type-badge-size);font-weight:var(--ui-type-badge-weight);line-height:var(--ui-type-badge-line-height);white-space:nowrap}.ui-status-success,.status-active,.status-badge.active,.status-pill.paid,.status-pill.completed,.status-pill.delivered,.status-pill.sent{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ui-status-warning,.status-pill.pending,.status-pill.processing,.status-pill.awaiting_payment,.status-pill.draft{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.ui-status-danger,.status-archived,.status-badge.archived,.status-pill.failed,.status-pill.cancelled,.status-pill.rejected{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.ui-status-info{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.error-banner,.warning-banner,.info-banner,.success-banner{border-radius:var(--ui-radius-md);padding:12px 14px;line-height:var(--ui-type-body-line-height)}.error-banner{border-color:var(--ui-danger-border);background:var(--ui-danger-soft);color:var(--ui-danger)}.warning-banner{border-color:var(--ui-warning-border);background:var(--ui-warning-soft);color:var(--ui-warning)}.info-banner{border-color:var(--ui-info-border);background:var(--ui-info-soft);color:var(--ui-info)}.success-banner{border-color:var(--ui-success-border);background:var(--ui-success-soft);color:var(--ui-success)}.ui-empty-state,.empty-state,.inline-empty,.feature-empty{display:grid;place-items:center;align-content:center;gap:8px;min-height:210px;padding:28px;color:var(--ui-text-muted);text-align:center}.ui-empty-state.compact{min-height:120px;padding:20px}.ui-empty-state-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--ui-primary-soft);color:var(--ui-primary)}.ui-empty-state strong,.empty-state strong{color:var(--ui-text);font-size:var(--ui-type-section-title-size);font-weight:var(--ui-type-section-title-weight);line-height:var(--ui-type-section-title-line-height)}.ui-empty-state>span:not(.ui-empty-state-icon){max-width:480px}.ui-loading-state,.page-loading,.loading-state{display:flex;align-items:center;justify-content:center;gap:10px;min-height:260px;color:var(--ui-text-muted)}.ui-loading-state.compact{min-height:96px}.ui-spinner{width:18px;height:18px;border:2px solid var(--ui-border-strong);border-top-color:var(--ui-primary);border-radius:50%;animation:ui-spin .7s linear infinite}@keyframes ui-spin{to{transform:rotate(360deg)}}.ui-dialog-backdrop,.modal-backdrop,.order-draft-modal-backdrop,.drawer-backdrop{position:fixed;inset:0;z-index:1100;background:#070c169e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.ui-dialog-backdrop,.modal-backdrop,.order-draft-modal-backdrop{display:grid;place-items:center;overflow-y:auto;padding:22px}.ui-dialog,.client-modal,.modal-card,.order-draft-modal,.confirmation-modal{width:min(720px,100%);max-height:calc(100dvh - 44px);overflow:auto;border:1px solid var(--ui-border);border-radius:var(--ui-radius-xl);background:var(--ui-surface-raised);color:var(--ui-text);box-shadow:var(--ui-shadow-lg)}.ui-dialog{padding:0}.ui-dialog-small{width:min(460px,100%)}.ui-dialog-large{width:min(1000px,100%)}.ui-dialog-header,.modal-header,.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0;padding:20px 22px;border-bottom:1px solid var(--ui-border)}.ui-dialog-header h2,.modal-header h2,.drawer-header h2{margin:0;color:var(--ui-text);font-size:var(--ui-type-section-title-size);font-weight:var(--ui-type-section-title-weight);line-height:var(--ui-type-section-title-line-height)}.ui-dialog-header p,.modal-header p,.drawer-header p{margin:5px 0 0;color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.ui-dialog-body{padding:22px}.ui-dialog-actions,.modal-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin:0;padding:16px 22px;border-top:1px solid var(--ui-border);background:var(--ui-surface-subtle)}.client-modal,.modal-card,.order-draft-modal{padding:22px}.client-modal>.modal-header,.modal-card>.modal-header,.order-draft-modal>.modal-header{margin:-22px -22px 20px}.client-modal>.modal-actions,.modal-card>.modal-actions,.order-draft-modal>.modal-actions{margin:22px -22px -22px}.detail-drawer,.order-detail-drawer,.client-drawer{width:min(720px,100vw);height:100dvh;overflow:auto;background:var(--ui-canvas);color:var(--ui-text);box-shadow:-24px 0 60px #00000038}.drawer-content,.drawer-body{padding:18px}.metric-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface);box-shadow:var(--ui-shadow-sm)}.metric-card span{color:var(--ui-text-muted)}.metric-card strong{color:var(--ui-text)}.settings-editor-layout{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:20px}.settings-editor-layout>.settings-tabs{position:sticky;top:84px;display:grid;align-content:start;gap:4px;width:100%;margin:0;padding:6px;overflow:visible}.settings-editor-layout>.settings-tabs button{justify-content:flex-start;width:100%}.settings-editor-content{min-width:0}.supplier-rate-row{grid-template-columns:minmax(260px,1fr) minmax(130px,180px) 40px}.supplier-rate-row>.product-field:first-child{min-width:0}.supplier-rate-row>.product-field:nth-last-child(2){min-width:0}.supplier-rate-row .country-display{display:none}.supplier-rate-row>.button-danger{width:38px;min-width:38px;height:38px;min-height:38px;padding:0;overflow:hidden;font-size:0}.supplier-rate-row>.button-danger:before{content:"×";font-size:20px;line-height:1}@media(max-width:1100px){.product-form-grid-three>*,.product-form-grid-four>*{grid-column:span 6}.stats-row,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-delivery-country-columns{display:none}.supplier-delivery-country-row{grid-template-columns:minmax(190px,1fr) minmax(110px,.55fr) minmax(145px,.7fr) minmax(210px,1fr) 38px}}@media(max-width:860px){.content{padding:18px 16px 38px}.ui-page-header,.page-heading,.page-heading-row,.page-header,.product-editor-header{align-items:stretch;flex-direction:column;gap:15px}.ui-page-header{grid-template-columns:minmax(0,1fr)}.ui-page-actions,.product-editor-actions{justify-content:flex-start}.settings-editor-layout{grid-template-columns:1fr}.settings-editor-layout>.settings-tabs{position:static;display:flex;width:100%;overflow-x:auto}.settings-editor-layout>.settings-tabs button{width:auto}.product-form-grid>*,.form-grid>*,.ui-form-grid>*,.product-form-grid-three>*,.product-form-grid-four>*{grid-column:1 / -1}.ui-section-header,.product-panel-title,.section-heading,.settings-section-heading,.card-header{flex-direction:column}.ui-section-actions,.product-panel-title>.button,.product-panel-title>.product-editor-actions{align-self:stretch}.ui-inline-row-fields{grid-template-columns:1fr}.supplier-rate-row{grid-template-columns:minmax(0,1fr) 130px 40px}.supplier-telegram-fields{grid-template-columns:1fr}.supplier-telegram-store>header{flex-direction:column}.supplier-telegram-statuses{justify-content:flex-start}.supplier-delivery-method-header,.supplier-delivery-block-heading{flex-direction:column}.supplier-delivery-add-country{width:100%;grid-template-columns:minmax(0,1fr) auto}.supplier-delivery-country-row,.supplier-delivery-country-row.provider{grid-template-columns:repeat(2,minmax(0,1fr)) 38px;align-items:end}.supplier-delivery-compact-field.country{grid-column:1 / 3}.supplier-delivery-compact-field>span{display:block;margin-bottom:5px;color:var(--ui-text-muted);font-size:12px;font-weight:600}.supplier-delivery-discount-summary,.supplier-delivery-provider-note{grid-column:1 / 3}}@media(max-width:620px){.inline-copy-row{grid-template-columns:1fr}.inline-copy-row>*{width:100%}.checkbox-cluster{grid-template-columns:1fr;min-width:0}.ui-page-actions,.product-editor-actions{display:grid;grid-template-columns:1fr;width:100%}.ui-page-actions>*,.product-editor-actions>*{width:100%}.ui-section,.editor-card{padding:16px;border-radius:var(--ui-radius-md)}.product-panel{border-radius:var(--ui-radius-md)}.product-panel>.product-panel-title{padding:16px}.supplier-telegram-list{padding:16px}.supplier-telegram-panel>.info-banner{margin:0 16px 16px}.supplier-telegram-store>footer{align-items:stretch;flex-direction:column}.supplier-telegram-store>footer>.button{width:100%}.supplier-delivery-panel>.ui-tabs-shell{margin:14px 16px 0}.supplier-delivery-method-content{padding:14px 16px 18px}.supplier-delivery-add-country{grid-template-columns:1fr}.supplier-delivery-add-country>*{width:100%}.supplier-delivery-country-row,.supplier-delivery-country-row.provider{grid-template-columns:minmax(0,1fr) 38px}.supplier-delivery-country-row>.supplier-delivery-compact-field,.supplier-delivery-discount-summary,.supplier-delivery-provider-note{grid-column:1 / 2}.supplier-delivery-country-row>.ui-icon-button-danger{grid-column:2;grid-row:1;align-self:end}.supplier-delivery-tier-row{grid-template-columns:minmax(0,1fr) 38px}.supplier-delivery-tier-row>.product-field{grid-column:1 / 2}.stats-row,.metric-grid{grid-template-columns:1fr}.supplier-rate-row,.ui-inline-row{grid-template-columns:minmax(0,1fr) 38px;align-items:end}.supplier-rate-row>.product-field:first-child{grid-column:1 / -1}.ui-dialog-backdrop,.modal-backdrop,.order-draft-modal-backdrop{padding:10px}.ui-dialog,.client-modal,.modal-card,.order-draft-modal{max-height:calc(100dvh - 20px);border-radius:var(--ui-radius-lg)}.ui-dialog-actions,.modal-actions{display:grid;grid-template-columns:1fr}.ui-dialog-actions>*,.modal-actions>*{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.data-table tbody tr[role=link]{cursor:pointer}.data-table tbody tr[role=link]:focus-visible{outline:2px solid var(--ui-primary);outline-offset:-2px;position:relative;z-index:1}.onboarding-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--ui-primary) 35%,var(--ui-border));border-radius:var(--ui-radius-lg);background:color-mix(in srgb,var(--ui-primary) 8%,var(--ui-surface))}.onboarding-banner div,.onboarding-steps article div,.storefront-readiness-list article div{display:grid;gap:4px}.onboarding-banner span,.onboarding-steps small{color:var(--ui-text-muted)}.onboarding-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.onboarding-steps article{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface)}.onboarding-steps article>span{display:grid;flex:0 0 32px;width:32px;height:32px;place-items:center;border-radius:999px;background:var(--ui-surface-subtle);font-weight:var(--ui-type-badge-weight)}.onboarding-steps article.active{border-color:var(--ui-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-primary) 12%,transparent)}.onboarding-steps article.active>span,.onboarding-steps article.done>span{color:#fff;background:var(--ui-primary)}.storefront-readiness-list{display:grid;gap:8px;margin-top:16px}.storefront-readiness-list article{display:grid;grid-template-columns:minmax(120px,auto) minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface)}.storefront-readiness-list p{margin:0;color:var(--ui-text-muted)}.storefront-preview-url{min-width:min(34rem,100%)}@media(max-width:800px){.onboarding-banner{align-items:flex-start;flex-direction:column}.onboarding-steps{grid-template-columns:1fr}.onboarding-steps article{align-items:flex-start}.storefront-readiness-list article{grid-template-columns:1fr}}.feedback-workspace{display:grid;grid-template-columns:minmax(18rem,24rem) minmax(0,1fr);gap:var(--space-4);align-items:start}.feedback-queue{display:grid;gap:.5rem;max-height:calc(100vh - 17rem);overflow:auto;padding-right:.25rem}.feedback-queue>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.35rem .75rem;text-align:left;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);padding:.8rem;cursor:pointer}.feedback-queue>button:hover,.feedback-queue>button.selected{border-color:var(--primary);background:var(--surface-subtle)}.feedback-queue span{display:grid;gap:.15rem;min-width:0}.feedback-queue small{color:var(--text-muted)}.feedback-queue p{grid-column:1/-1;margin:0;color:var(--text-secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.feedback-rating{font-size:1.25rem;color:#d97706;letter-spacing:.08em;margin-bottom:var(--space-3)}.feedback-replies{display:grid;gap:.5rem;margin-block:var(--space-3)}.feedback-replies blockquote{margin:0;border-left:3px solid var(--primary);background:var(--surface-subtle);padding:.75rem 1rem;border-radius:0 var(--radius-md) var(--radius-md) 0}.feedback-replies small{display:block;color:var(--text-muted);margin-top:.35rem}@media(max-width:900px){.feedback-workspace{grid-template-columns:1fr}.feedback-queue{max-height:24rem}}.homepage-builder{border-top:1px solid var(--border);margin-top:var(--space-5);padding-top:var(--space-5)}.homepage-builder__header{display:flex;justify-content:space-between;align-items:start;gap:var(--space-4);margin-bottom:var(--space-4)}.homepage-builder__header h3,.homepage-builder__header p{margin:0}.homepage-builder__header p{color:var(--text-muted);margin-top:.25rem}.homepage-builder__header select{width:auto;min-width:12rem}.homepage-builder__list{display:grid;gap:.75rem}.homepage-builder__list>article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-3);background:var(--surface-subtle)}.homepage-builder__order{display:grid;align-content:start;gap:.25rem}.homepage-builder__list .inline-actions{grid-column:2}@media(max-width:720px){.homepage-builder__header{display:grid}.homepage-builder__header select{width:100%}.homepage-builder__list>article{grid-template-columns:1fr}.homepage-builder__order{display:flex}.homepage-builder__list .inline-actions{grid-column:1}}.banner-items-editor{grid-column:2;display:grid;gap:.75rem}.banner-items-editor__heading{display:flex;align-items:end;justify-content:space-between;gap:1rem}.banner-items-editor__heading>div{display:grid;gap:.2rem}.banner-items-editor__heading small{color:var(--text-muted)}.banner-item-editor{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:1rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.banner-item-editor__preview{display:grid;min-height:100px;place-items:center;overflow:hidden;border:1px dashed var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--text-muted);font-size:var(--ui-type-secondary-size);text-align:center}.banner-item-editor__preview img{width:100%;height:100%;object-fit:cover}.banner-item-editor__fields{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.banner-upload-row{display:flex;gap:.5rem}.banner-upload-row>input{min-width:0;flex:1}.banner-upload-row .file-button{flex:none}.banner-item-editor__actions{display:grid;align-content:start;gap:.35rem}.banner-item-editor__live-previews{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,28%);align-items:start;gap:1rem;padding-top:1rem;border-top:1px solid var(--ui-border)}.banner-live-preview{display:grid;gap:.5rem;min-width:0;margin:0}.banner-live-preview figcaption{display:flex;align-items:center;gap:.4rem;color:var(--ui-text);font-weight:var(--ui-type-field-label-weight)}.banner-live-preview figcaption>span{font-size:1.25rem}.banner-live-preview figcaption small{margin-left:auto;color:var(--ui-text-muted);font-weight:var(--ui-type-secondary-weight)}.banner-live-preview>div{display:grid;place-items:center;overflow:hidden;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle);color:var(--ui-text-muted);box-shadow:var(--ui-shadow-sm);text-align:center}.banner-live-preview--desktop>div{aspect-ratio:3.2/1}.banner-live-preview--mobile>div{aspect-ratio:1.25/1}.banner-live-preview img{display:block;width:100%;height:100%;object-fit:cover}.banner-live-preview__fallback{color:var(--ui-warning);line-height:var(--ui-type-secondary-line-height)}@media(max-width:900px){.banner-item-editor__live-previews{grid-template-columns:1fr}.banner-live-preview--mobile{width:min(100%,420px)}}@media(max-width:900px){.banner-item-editor{grid-template-columns:1fr}.banner-item-editor__preview{aspect-ratio:3/1}.banner-item-editor__fields{grid-template-columns:1fr}.banner-item-editor__actions{display:flex}.banner-items-editor__heading{align-items:stretch;flex-direction:column}}@media(max-width:720px){.banner-items-editor{grid-column:1}.banner-upload-row{align-items:stretch;flex-direction:column}}.media-library{display:grid;gap:1rem;min-height:24rem}.media-library__toolbar{display:flex;gap:.65rem;align-items:center}.media-library__toolbar>input{min-width:12rem;flex:1}.media-library-requirement{padding:.75rem 1rem;border-radius:var(--radius-md);background:var(--surface-subtle);color:var(--text-secondary);font-size:var(--ui-type-secondary-size)}.media-library__breadcrumbs{color:var(--text-muted)}.media-library__breadcrumbs button{padding:0;border:0;background:none;color:var(--primary);cursor:pointer}.media-library__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.8rem;align-content:start}.media-folder,.media-asset{position:relative;min-width:0;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);overflow:hidden}.media-folder__open{display:grid;width:100%;gap:.25rem;padding:1rem;border:0;background:none;color:var(--text);text-align:left;cursor:pointer}.media-folder__open>span{font-size:2.25rem}.media-folder__open small,.media-asset small{color:var(--text-muted)}.media-card__delete{position:absolute;top:.4rem;right:.4rem;display:grid;width:25px;height:25px;place-items:center;padding:0;border:0;border-radius:50%;background:var(--surface-subtle);color:var(--text-muted);cursor:pointer}.media-card__delete:hover{background:#fee2e2;color:#dc2626}.media-asset{cursor:pointer}.media-asset.selected{outline:2px solid var(--primary);outline-offset:1px}.media-asset.unsuitable{border-color:#f59e0b}.media-asset>img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:repeating-conic-gradient(#f1f5f9 0 25%,#fff 0 50%) 50%/18px 18px}.media-asset>div{display:grid;gap:.2rem;padding:.7rem}.media-asset strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-asset__warning{color:#b45309!important}.media-asset>.button{margin:.2rem .6rem .7rem}.media-library__details{position:sticky;bottom:.5rem;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.75rem;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-lg)}.media-library__details>img{width:64px;height:64px;border-radius:var(--radius-sm);object-fit:contain}.media-library__details>div{display:grid;gap:.2rem}.media-library__details>div:last-child{display:flex;gap:.5rem}.media-library__empty{display:grid;min-height:12rem;place-items:center;color:var(--text-muted)}.media-picker-backdrop{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:2rem;background:#0f172a9e}.media-picker-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1120px,96vw);height:min(820px,92vh);overflow:hidden;border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xl)}.media-picker-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--border)}.media-picker-dialog h2,.media-picker-dialog p{margin:0}.media-picker-dialog p{color:var(--text-muted)}.media-picker-dialog>.media-library{overflow:auto;padding:1rem}.media-library--compact .media-library__grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}@media(max-width:720px){.media-library__toolbar{align-items:stretch;flex-wrap:wrap}.media-library__toolbar>input{order:3;flex-basis:100%}.media-library__details{grid-template-columns:48px minmax(0,1fr)}.media-library__details>img{width:48px;height:48px}.media-library__details>div:last-child{grid-column:1/-1}.media-picker-backdrop{padding:0}.media-picker-dialog{width:100vw;height:100vh;border-radius:0}}.media-assign-button{display:flex;align-items:center;gap:.65rem;min-height:46px;padding:.45rem;border:1px dashed var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--text);cursor:pointer}.media-assign-button:hover{border-color:var(--primary)}.media-assign-button img{width:58px;height:42px;border-radius:4px;object-fit:cover}.media-assign-button b{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:var(--primary);color:#fff;font-size:1.3rem}.media-picker-dialog{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow-lg)}.media-picker-dialog>header,.media-picker-dialog>.media-library{background:var(--ui-surface)}.media-picker-dialog>header{border-color:var(--ui-border)}.media-picker-dialog p,.media-library__breadcrumbs,.media-folder__open small,.media-asset small,.media-library__empty{color:var(--ui-text-muted)}.media-library-requirement{border-radius:var(--ui-radius-md);background:var(--ui-surface-subtle);color:var(--ui-text-secondary)}.media-folder,.media-asset,.media-library__details{border-color:var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface);color:var(--ui-text)}.media-folder__open{color:var(--ui-text)}.media-card__delete{background:var(--ui-surface-subtle);color:var(--ui-text-muted)}.media-library__details{box-shadow:var(--ui-shadow-lg)}.media-assign-button{border-radius:var(--ui-radius-sm);background:var(--ui-surface-subtle);color:var(--ui-text)}.promo-bar-editor{display:grid;gap:var(--space-3);margin-top:var(--space-4);padding:var(--space-4);border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface-subtle)}.promo-bar-editor>header{display:flex;align-items:start;justify-content:space-between;gap:var(--space-4)}.promo-bar-editor>header h3,.promo-bar-editor>header p{margin:0}.promo-bar-editor>header p{margin-top:.25rem;color:var(--ui-text-muted);font-size:var(--ui-type-secondary-size)}.promo-bar-editor>article{display:grid;grid-template-columns:auto repeat(2,minmax(150px,1fr)) repeat(2,minmax(120px,.65fr));align-items:end;gap:.75rem;padding:1rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface)}.promo-bar-editor__order{display:grid;gap:.3rem;align-self:start}.promo-bar-editor>article>.compact-checkbox{align-self:center}.promo-bar-editor>article>.button-danger{align-self:center;justify-self:end}@media(max-width:1100px){.promo-bar-editor>article{grid-template-columns:auto repeat(2,minmax(0,1fr))}.promo-bar-editor>article>.button-danger{justify-self:start}}@media(max-width:720px){.promo-bar-editor>header{align-items:stretch;flex-direction:column}.promo-bar-editor>article{grid-template-columns:1fr}.promo-bar-editor__order{display:flex}.promo-bar-editor>article>.button-danger{width:100%}}.module-secret-editor{display:grid;gap:.75rem;margin-top:var(--space-4);padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-subtle)}.module-secret-editor>div:first-child{display:grid;gap:.2rem}.module-secret-editor small{color:var(--text-muted)}.mfa-settings-summary{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-bottom:var(--space-4)}.mfa-settings-summary>div:not(.warning-banner){display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);min-width:min(18rem,100%);padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-subtle)}.mfa-settings-summary>div>span:first-child{color:var(--text-muted)}.mfa-settings-summary>.warning-banner{flex-basis:100%}.mfa-settings-form{max-width:48rem;margin-top:var(--space-4)}.mfa-enrollment-panel{display:grid;gap:var(--space-4);max-width:48rem;margin-top:var(--space-4)}.mfa-enrollment-panel>label{display:grid;gap:.45rem;max-width:22rem;font-weight:var(--ui-type-field-label-weight)}.mfa-recovery-code-list{max-width:30rem;margin:0 0 var(--space-4);padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-subtle);color:var(--text);font:600 .95rem/1.75 ui-monospace,SFMono-Regular,Consolas,monospace}.auth-mfa-setup p,.auth-mfa-setup small,.onboarding-banner span,.onboarding-steps small,.storefront-readiness-list p,.feedback-queue small,.feedback-replies small,.homepage-builder__header p,.banner-items-editor__heading small,.banner-item-editor__preview,.banner-live-preview figcaption small,.banner-live-preview__fallback,.media-library-requirement,.media-folder__open small,.media-asset small,.media-picker-dialog p,.promo-bar-editor>header p,.module-secret-editor small{font-size:var(--ui-type-secondary-size);font-weight:var(--ui-type-secondary-weight);line-height:var(--ui-type-secondary-line-height)}.onboarding-banner strong,.onboarding-steps article strong,.storefront-readiness-list article strong,.media-library-requirement strong,.banner-live-preview figcaption,.module-secret-editor strong,.mfa-settings-summary>div>span:first-child,.mfa-enrollment-panel>label{font-size:var(--ui-type-field-label-size);font-weight:var(--ui-type-field-label-weight);line-height:var(--ui-type-field-label-line-height)}.banner-items-editor__heading strong{font-size:var(--ui-type-section-title-size);font-weight:var(--ui-type-section-title-weight);line-height:var(--ui-type-section-title-line-height)}.feedback-queue strong,.media-folder__open strong,.media-asset strong{font-size:var(--ui-type-navigation-size);font-weight:var(--ui-type-navigation-weight);line-height:var(--ui-type-navigation-line-height)}.auth-mfa-setup code{font-size:var(--ui-type-field-value-size);line-height:var(--ui-type-field-value-line-height)}.onboarding-steps article>span{font-size:var(--ui-type-badge-size);line-height:var(--ui-type-badge-line-height)}.mfa-settings-summary strong{font-size:var(--ui-type-amount-size);font-weight:var(--ui-type-amount-weight);line-height:var(--ui-type-amount-line-height)}@media(max-width:720px){.mfa-settings-summary{display:grid}.mfa-settings-summary>div:not(.warning-banner){min-width:0}.mfa-recovery-code-list{max-width:100%;overflow:auto}}
