:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#131821;background:#f5f6f8;font-synthesis:none;--yellow:#ffe900;--ink:#131821;--muted:#737985;--line:#e7e9ee}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button{border:0;background:none;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}input,textarea,select{border:1px solid #dce0e6;background:white;border-radius:9px;padding:12px;color:var(--ink);min-height:44px;max-width:100%;outline:none}textarea{width:100%;resize:vertical}input:focus,textarea:focus,select:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-halo)}input:disabled,textarea:disabled{background:#f6f7f9;color:#555c67;opacity:1}label{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:600}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.17;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.4px;margin-bottom:14px}h3{font-size:15px;line-height:1.5}p{line-height:1.6}svg{width:21px;height:21px;flex-shrink:0}small{font-size:12px}strong{font-weight:600}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:#777e88;margin-bottom:14px}.primary,.secondary{min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:var(--button-radius);font-size:13px;line-height:22px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:#00512d}.secondary{background:white;border:1px solid #dfe2e8}.secondary:hover{background:var(--hover-bg)}.wide{width:100%}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px;font-size:12px;min-height:44px}.text-button:hover{text-decoration:underline}.danger{color:var(--error)}
.secondary.danger{border-color:var(--error-line)}
.secondary.danger:hover{background:var(--error-light)}.form-error{color:var(--error);background:var(--error-light);border:1px solid var(--error-line);border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.5;margin:12px 0;overflow-wrap:anywhere}.form-error:empty{display:none}.icon-button{padding:10px}.avatar{width:35px;height:35px;border-radius:50%;background:#eaecf1;display:grid;place-items:center;font-weight:700;flex-shrink:0}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:#fff}.auth-story{background:var(--yellow);padding:64px 11%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.big-logo{width:88px;height:88px;object-fit:contain;margin-bottom:65px}.auth-story .eyebrow{color:#3c420f}.auth-story h1{font-size:clamp(36px,4vw,62px);letter-spacing:-2.5px;line-height:1.08;margin-bottom:25px}.auth-story p{color:#555021;font-size:15px}.auth-bottom{display:flex;justify-content:space-between;gap:20px;position:absolute;bottom:32px;left:11%;right:11%;font-size:11px}.auth-bottom span:first-child{font-weight:800;letter-spacing:3px}.auth-form{width:min(390px,100%);margin:auto;padding:45px 20px}.auth-form h2{font-size:30px;margin-top:23px}.auth-form p{font-size:14px}.auth-form label{margin:20px 0}.auth-form .primary{margin-top:12px}.lab-label{display:inline-block;border:1px solid #e1e4ea;border-radius:30px;font-size:11px;padding:7px 12px;color:#707784}.auth-note{border-top:1px solid var(--line);margin-top:32px;padding-top:22px;font-size:12px;line-height:1.8;color:#9296a0}.shell{--page-gutter:42px;min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr)}.sidebar{background:white;border-right:1px solid var(--line);padding:0 20px 18px;position:fixed;inset:0 auto 0 0;width:240px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;padding:0 9px}.brand small{font-size:10px;display:block;letter-spacing:0;color:var(--muted);font-weight:500;margin-top:4px}.sidebar nav{display:grid;gap:7px;margin-top:32px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px;font-weight:550;color:#737985;min-height:47px;padding:12px;border-radius:9px}.nav-item b{font-size:10px;background:#13182112;padding:3px 7px;border-radius:6px;margin-left:auto}.sidebar-footer{margin-top:auto}.lab-pill{font-size:10px;font-weight:650;margin:25px 8px 10px;display:flex;align-items:center;gap:7px}.lab-pill span,.status-dot{width:7px;height:7px;border-radius:50%;background:#b5a624;display:inline-block;flex-shrink:0}.sidebar-footer p{font-size:10px;color:#959ba5;margin:0 8px 20px;line-height:1.8}.profile{border-top:1px solid var(--line);padding-top:19px;display:flex;align-items:center;gap:9px}.profile strong{font-size:12px;display:block;max-width:110px;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.profile .icon-button{margin-left:auto;padding:3px}.profile .icon-button svg{width:16px}.shell main{grid-column:2;min-width:0;display:flex;flex-direction:column}.topbar{border-bottom:1px solid var(--line);background:white;font-size:11px;color:#9298a2}
.content,.topbar-inner,.portal-footer{width:100%;max-width:1460px;margin-inline:auto}
.topbar-inner{min-height:76px;padding:8px var(--page-gutter);display:flex;align-items:center;justify-content:space-between;gap:15px}.company-name{font-size:16px;line-height:22px;font-weight:750;color:var(--ink);white-space:nowrap}
.current-shop{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}
.current-shop strong{font-size:16px;line-height:22px;color:var(--ink);font-weight:750}
.current-shop small{font-size:13px;line-height:18px;color:var(--muted)}
.header-logo{display:block;width:120px;height:auto;flex-shrink:0;object-fit:contain}
.sidebar>.header-logo{display:none}
.shop-switcher{position:relative;isolation:isolate;display:flex;align-items:center;gap:16px;min-height:48px;min-width:0;max-width:100%;padding:8px 0;border:0;border-radius:10px;background:transparent;text-align:left}
.shop-switcher::before{content:"";position:absolute;inset:0 -10px;z-index:-1;border-radius:10px;pointer-events:none}
.shop-switcher:hover::before{background:#f3f7ef}
.shop-switcher>svg{width:18px;height:18px;flex-shrink:0;transform:rotate(90deg);color:var(--green)}
.mobile-shop{display:none}.content{flex:1;padding:39px var(--page-gutter) 60px}
.portal-footer{display:flex;align-items:center;justify-content:center;padding:16px var(--page-gutter) 24px;color:var(--muted);font-size:12px;line-height:1.5}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.page-heading .eyebrow{margin-bottom:10px}.page-heading p{font-size:12px;margin-bottom:0}.page-heading .primary{align-self:center}.catalog-banner{background:var(--ink);color:white;border-radius:14px;min-height:158px;padding:31px;display:flex;justify-content:space-between;gap:15px;align-items:center;overflow:hidden;margin-bottom:25px}.catalog-banner .eyebrow{color:var(--yellow);font-size:9px;margin-bottom:16px}.catalog-banner h2{font-size:23px;margin-bottom:10px}.catalog-banner p{font-size:12px;color:#afb4bf;margin:0}.banner-mark{font-size:100px;font-weight:900;line-height:1;color:var(--yellow);position:relative;min-width:150px;text-align:center}.banner-mark span{font-size:12px;position:absolute;right:0;bottom:5px;color:#e4e6eb;border:1px solid #ffffff40;border-radius:30px;padding:7px 12px}.filters{display:flex;gap:12px;margin-bottom:19px}.search{position:relative;flex:1;display:flex;flex-direction:row;align-items:center}.search > svg{position:absolute;left:15px;color:#a2a8b2;width:18px}.search input{padding-left:43px;padding-right:48px;width:100%;font-size:12px;min-height:45px}
.search-clear{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:10px;display:grid;place-items:center;color:var(--muted);border-radius:9px}
.search-clear[hidden]{display:none}
.search-clear:hover{color:var(--ink);background:var(--line)}.filters>select{font-size:12px;width:210px}.catalog-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;font-size:11px}.chips{display:flex;gap:7px}.chip{padding:9px 15px;border-radius:25px;background:white;font-size:11px;border:1px solid var(--line);min-height:35px}.chip.active{color:white;background:var(--ink);border-color:var(--ink)}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product{background:white;border:1px solid var(--line);border-radius:11px;padding:18px;min-height:206px;display:flex;flex-direction:column}.product.in-cart{border-color:#d9c800;box-shadow:0 0 0 1px #d9c800}.product-top{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:17px}.brand-tag{font-size:9px;letter-spacing:.6px;text-transform:uppercase;font-weight:700;padding:5px 7px;border-radius:4px;background:#f5f3dc;color:#7e751d}.brand-tag.mountain{background:#edf0f3;color:#666e7e}.product-code{font-size:9px;color:#a0a6af;white-space:nowrap}.product h3{font-size:12px;font-weight:650;margin:0 0 13px;line-height:1.55}.product-unit{font-size:10px;color:#89919d;margin-bottom:19px}.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;gap:6px}.unit-label{font-size:12px;color:#8b929d}.stepper{display:flex;align-items:center;background:#f5f6f8;border:1px solid #e9ebef;border-radius:8px;overflow:hidden;height:39px}.stepper button{width:35px;height:38px;font-size:19px}.stepper button:hover{background:#ffe900}.stepper input{width:58px;min-height:36px;padding:3px;border:0;background:none;text-align:center;font-size:12px;box-shadow:none;appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.source-note{font-size:10px;color:#989ea8;margin-top:22px}.empty{grid-column:1/-1;text-align:center;padding:50px 25px;color:#7f8793;background:white;border:1px dashed #dce0e6;border-radius:12px}.empty h3{color:#444d5a}.empty p{font-size:13px}.empty.large{padding:80px 20px}.empty.large svg{width:40px;height:40px;margin-bottom:22px}.empty h2{color:#313947}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line)}.panel-header h2{font-size:16px;margin:0}.panel-header h2 span{color:#999fa9;font-weight:400;margin-left:9px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.cart-row{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #f1f2f5}.cart-row:last-child{border:0}.cart-row>div{flex:1;min-width:0}.cart-row strong{font-size:12px;line-height:1.5;display:block}.cart-row small{display:block;color:#939aa5;font-size:10px;margin-top:8px}.cart-row label{flex-direction:row;align-items:center;color:#7d8490;font-size:11px;white-space:nowrap}.cart-row input{width:85px;font-size:12px;padding:10px}.remove{font-size:23px;color:#959ba6;width:30px;min-height:44px}.checkout{--checkout-field-height:44px;padding:24px}.checkout h2{font-size:17px}.checkout label{margin:19px 0}.checkout input,.checkout textarea{font-size:13px;width:100%}
@media(min-width:1201px){
 .checkout{position:sticky;top:24px;max-height:calc(100dvh - 48px);overflow-y:auto}
}
.checkout .date-picker-trigger,.dialog-select-trigger{height:var(--checkout-field-height)}
.checkout textarea{height:calc(var(--checkout-field-height)*3);min-height:calc(var(--checkout-field-height)*3);max-height:calc(var(--checkout-field-height)*3);resize:none;overflow-y:auto}.cart-total{display:flex;flex-direction:column;gap:9px;border-top:1px solid var(--line);padding:20px 0;font-size:13px}.cart-total span{color:var(--muted)}.checkout .small{margin:14px 0 0;font-size:10px}.stats{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px;margin:28px 0 32px}.stat{justify-content:space-between;background:white;border:1px solid var(--line);border-radius:11px;display:flex;flex-direction:column;align-items:start;gap:15px;padding:21px;text-align:left}.stat span{font-size:12px;color:#7b8290}.stat strong{font-size:30px;letter-spacing:-1px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.section-title h2{font-size:16px;margin:0}.section-title .text-button{color:#7d8592}.record-list{display:grid;gap:10px}.record-card{background:white;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:20px;width:100%;text-align:left;padding:19px 22px}.record-card:hover{border-color:var(--green);background:var(--hover-bg)}.record-symbol{background:#f3f4f7;border-radius:9px;padding:11px;display:flex;color:#78818e}.record-info{flex:1}.record-info strong,.order-date strong{display:block;font-size:13px;margin-bottom:7px}.record-info span,.order-date span{font-size:11px;color:#9198a2;display:block;line-height:1.5}.order-date{margin-right:15px}.record-end{display:flex;align-items:center;gap:20px;min-width:0;margin-left:auto}
.record-statuses{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}
.record-end>svg{width:20px;height:20px;flex-shrink:0;color:var(--green)}
.record-end .badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}.badge{display:inline-flex;font-size:10px;white-space:nowrap;padding:6px 10px;border-radius:5px;background:#f0f1f4;color:#7c8595;align-self:center}.badge.submitted{background:#fcf5cd;color:#9a8528}.badge.approved,.badge.accepted{background:#e8f3eb;color:#568866}.badge.rejected{background:#f8eded;color:#ad6b6b}.integration-note{margin-top:25px;border:1px solid #e4e7ed;display:flex;gap:12px;padding:20px;border-radius:10px;align-items:start}.status-dot{margin-top:5px;background:#a2a9b4}.integration-note strong{font-size:12px}.integration-note p{font-size:11px;color:#939aa6;margin:7px 0 0}.mobile-user{display:none}dialog{padding:0;border:1px solid #e1e4e9;border-radius:15px;width:min(760px,calc(100% - 28px));max-height:90vh;color:var(--ink);box-shadow:0 30px 110px #13182130}dialog::backdrop{background:var(--dialog-backdrop);backdrop-filter:blur(3px)}.modal-header{padding:26px 28px;border-bottom:1px solid var(--line);position:relative}.modal-header .eyebrow{max-width:90%}.modal-header h2{font-size:24px;margin:0;padding-right:44px;overflow-wrap:anywhere}
.modal-header .badge{margin-top:13px}.modal-header>.close-modal{position:absolute;right:18px;top:20px;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:12px;color:var(--muted)}
.modal-header>.close-modal:hover{background:var(--hover-bg);color:var(--green)}
.modal-header>.close-modal svg{width:20px;height:20px}.modal-body{padding:25px 28px}.modal-body>label{margin-bottom:20px}.modal-body form label,.modal-body label{font-size:12px}.modal-body input,.modal-body select,.modal-body textarea{font-size:13px}.detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;margin:0 0 26px}.detail-field{min-width:0}.detail-field dt{color:var(--muted);font-size:13px;margin-bottom:8px}.detail-field dd{font-size:15px;line-height:1.5;margin:0;overflow-wrap:anywhere}.detail-date-label{margin:0}.order-detail-body h3{font-size:16px;margin:0 0 14px}.detail-invoice{padding:20px;border:1px solid var(--line);border-radius:12px;margin-bottom:26px}
.detail-comment{margin-bottom:26px}.detail-comment p{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0}.detail-history{margin-top:16px}.detail-products{margin-top:24px}.detail-row{display:flex;gap:20px;align-items:center;border-top:1px solid var(--line);padding:16px 0}.detail-row>div:first-child{flex:1}.detail-row strong{font-size:12px;line-height:1.5;display:block}.detail-row small{display:block;font-size:10px;color:#8c949f;margin-top:7px}.detail-row>div:last-child{white-space:nowrap;font-size:13px}.detail-row input{width:95px}.detail-row span{color:#8c949f;font-size:11px}.detail-summary{font-size:13px;text-align:right;border-top:1px solid var(--line);padding:18px 0}.timeline{padding-top:20px}.timeline>div{border-left:1px solid var(--line);padding:0 0 18px 18px;position:relative}.timeline>div>span{background:#cad0d8;width:7px;height:7px;border-radius:50%;position:absolute;left:-4px;top:4px}.timeline strong{font-size:11px;display:block}.timeline small{font-size:10px;color:#959ba6;display:block;margin-top:7px}.modal-footer{border-top:1px solid var(--line);padding:18px 28px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.user-row{padding:18px 22px;border-top:1px solid var(--line);display:flex;align-items:center;gap:15px}.user-row:first-of-type{border-top:0}.grow{flex:1;min-width:0}.grow strong{display:block;font-size:13px}.grow small{display:block;font-size:11px;color:#939ba5;margin-top:7px}.buyers{margin-top:27px}.buyer-row{width:100%;padding:20px 22px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;font-size:14px}
.buyer-row:hover{background:var(--hover-bg)}
.buyer-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.buyer-copy small{font-size:13px}
.buyer-row>svg{flex-shrink:0;color:var(--muted)}.assortment-search{margin-bottom:18px}

.client-row .record-info{min-width:0;overflow-wrap:anywhere}



.customer-card-name,.customer-account{overflow-wrap:anywhere}
.customer-card-name{font-weight:700;font-size:18px}
.invitation-share{margin-top:16px}
.invitation-share input{font-size:14px}
.invitation-page{min-height:100dvh;display:grid;place-items:center;padding:24px 16px}
.invitation-form{width:min(480px,100%);padding:28px}
.invitation-form h1{font-size:28px;margin:12px 0 16px}
.invitation-form label{margin:18px 0 10px}
.invitation-form [data-exit]{margin-top:16px;min-height:44px}
@media(max-width:760px){.invitation-form{padding:22px 18px}}
.clients-panel{scroll-margin-top:20px}.assortment-row{flex-direction:row;justify-content:space-between;align-items:center;gap:25px;padding:18px 22px;border-top:1px solid var(--line)}.assortment-row:first-child{border:0}.assortment-row strong{font-size:12px;line-height:1.5;display:block}.assortment-row small{font-size:10px;color:#959ca7;font-weight:400;display:block;margin-top:7px}:is(.assortment-row input,.assortment-toggle input[role="switch"]){appearance:none;width:38px;min-width:38px;height:22px;min-height:22px;background:#dce0e6;border:0;border-radius:20px;padding:0;position:relative;cursor:pointer}:is(.assortment-row input,.assortment-toggle input[role="switch"]):before{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transition:transform .15s}:is(.assortment-row input,.assortment-toggle input[role="switch"]):checked{background:#ded01a}:is(.assortment-row input,.assortment-toggle input[role="switch"]):checked:before{transform:translateX(16px)}
/* Shared portal notifications, including feedback above modal dialogs. */
#toast{display:none;position:fixed;inset:auto 24px 24px auto;margin:0;width:420px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow:auto;box-sizing:border-box;grid-template-columns:40px minmax(0,1fr) 44px;align-items:start;gap:12px;padding:16px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 32px #153d2a24;font-family:inherit;font-size:15px;line-height:1.45;z-index:100;--notice-accent:var(--green);--notice-tint:#e9f2e1}
#toast.show{display:grid}
#toast::backdrop{background:transparent;pointer-events:none}
#toast.notification-error{--notice-accent:var(--error);--notice-tint:var(--error-light)}
#toast.notification-info{--notice-accent:#557361;--notice-tint:#f1f6ed}
.notification-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--notice-tint);color:var(--notice-accent)}
.notification-icon svg{width:22px;height:22px}
.notification-copy{min-width:0;overflow-wrap:anywhere;padding-top:1px}
.notification-copy strong{display:block;color:var(--notice-accent);font-size:15px;font-weight:700;margin-bottom:4px}
.notification-copy span{display:block}
.notification-close{display:grid;place-items:center;padding:0;width:44px;height:44px;min-height:44px;border:0;border-radius:12px;background:transparent;color:var(--muted)}
.notification-close:hover{background:#f1f6ed;color:var(--green)}
.notification-close svg{width:20px;height:20px}

@media(min-width:1600px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.header-logo{width:88px}.company-name,.topbar .current-shop strong{font-size:14px}.shell{--page-gutter:25px;grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px;padding:0 14px 25px}.content{padding:30px var(--page-gutter)}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.cart-layout{grid-template-columns:minmax(0,1fr)}.checkout{max-width:none}.user-row{flex-wrap:wrap}.user-row .grow{min-width:180px}.record-card{gap:13px;padding:16px}.order-date{margin:0}}
@media(max-width:760px){.auth{grid-template-columns:1fr}.auth-story{padding:28px 25px 35px;min-height:280px}.big-logo{width:43px;height:43px;margin-bottom:23px}.auth-story h1{font-size:36px;letter-spacing:-1px;margin-bottom:14px}.auth-story p{font-size:12px;margin-bottom:0}.auth-story .eyebrow{font-size:8px}.auth-bottom{display:none}.auth-form{padding:32px 25px;width:min(470px,100%)}.auth-form h2{font-size:25px}.auth-note{margin-top:22px}.shell{display:block}.sidebar{position:sticky;top:0;width:100%;border-right:0;padding:12px 16px 0;border-bottom:1px solid var(--line);display:block}.brand{padding:0 0 10px;gap:8px}.brand small{font-size:9px;margin:0;font-weight:400}.sidebar-footer{display:none}.sidebar nav{display:flex;gap:3px;margin:0 -6px;overflow-x:auto;scrollbar-width:none}.nav-item{min-width:max-content;width:auto;padding:10px;gap:7px;font-size:11px;border-radius:7px 7px 0 0;min-height:43px}.nav-item svg{width:16px;height:16px}.nav-item b{font-size:9px;padding:2px 5px;margin:0}.content{padding:26px 18px 35px}.page-heading{align-items:start;gap:10px;margin-bottom:23px}.page-heading h1{font-size:26px;letter-spacing:-.8px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.page-heading p{font-size:11px}.page-heading .primary svg{width:14px}.catalog-banner{padding:23px 20px;min-height:140px;border-radius:11px;margin-bottom:20px}.catalog-banner h2{font-size:19px;max-width:220px;line-height:1.3}.catalog-banner p{font-size:10px;max-width:230px}.banner-mark{min-width:45px;font-size:60px}.banner-mark span{display:none}.catalog-banner .eyebrow{font-size:7px;letter-spacing:1.3px;margin-bottom:12px}.filters{flex-direction:column;gap:9px;margin-bottom:14px}.filters>select{width:100%;font-size:11px;min-height:39px;padding:9px 12px}.search input{font-size:11px}.catalog-meta{gap:6px;align-items:center}.chips{gap:4px}.chip{padding:7px 10px;font-size:10px;min-height:34px}.catalog-meta>.muted{font-size:9px;white-space:nowrap}.products{gap:10px}.product{padding:13px;min-height:213px;border-radius:9px}.product-top{flex-wrap:wrap;gap:8px;margin-bottom:12px}.brand-tag{font-size:8px}.product-code{font-size:8px}.product h3{font-size:10px;line-height:1.6;margin-bottom:10px;overflow-wrap:anywhere}.product-unit{font-size:9px;line-height:1.6;margin-bottom:13px}.product-bottom{gap:3px}.unit-label{font-size:10px}.stepper{height:39px}.stepper button{width:29px}.stepper input{width:40px;font-size:11px}.source-note{font-size:9px;line-height:1.8}.stats{gap:9px;margin:20px 0 25px}.stat{padding:15px 12px;gap:12px}.stat span{font-size:10px}.stat strong{font-size:27px}.section-title{flex-wrap:wrap;gap:10px}.section-title>div{display:flex;flex-wrap:wrap}.section-title h2{font-size:14px}.record-card{display:grid;grid-template-columns:minmax(0,1fr)}
.record-end{grid-column:1/-1;width:100%;margin-left:0;justify-content:space-between;gap:12px}
.record-statuses{justify-content:flex-start}.record-symbol{display:none}.record-info strong{font-size:12px}.record-info span,.order-date span{font-size:10px}.order-date{grid-row:2;grid-column:1/-1}.order-date strong{font-size:11px;display:block;margin-right:0}.integration-note{padding:15px;gap:9px}.integration-note strong{font-size:11px}.integration-note p{font-size:10px}.cart-row{padding:16px;flex-wrap:wrap;gap:10px}.cart-row>div{flex-basis:calc(100% - 42px);order:0}.cart-row .remove{order:1}.cart-row label{order:2;margin-left:auto}.cart-row strong{font-size:11px}.cart-row label input{width:100px}.checkout{--checkout-field-height:48px;padding:20px}.panel-header{padding:14px 17px}.panel-header h2{font-size:15px}.mobile-user{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px 30px;font-size:10px;color:#939ba5}.mobile-user button{min-height:44px;padding:10px}.modal-header{padding:23px 19px}
.modal-header>.close-modal{right:12px;top:18px}.modal-body{padding:21px 19px}.modal-header h2{font-size:22px}.modal-header .eyebrow{font-size:9px}.detail-meta{grid-template-columns:1fr;gap:18px}.detail-row{gap:10px}.detail-row strong{font-size:10px}.detail-row small{font-size:9px}.detail-row input{width:73px;font-size:12px;padding:10px}.detail-summary{font-size:11px}.modal-footer{padding:17px 19px;gap:8px}.user-row{padding:17px;gap:12px}.user-row .grow{min-width:140px}.user-row .badge{margin-left:auto}.user-row .text-button{font-size:10px}.buyer-row{padding:17px;gap:12px}.assortment-row{padding:15px;gap:12px}.assortment-row strong{font-size:10px}.assortment-row small{font-size:9px}.empty{padding:35px 15px}.empty h3{font-size:14px}.empty p{font-size:11px}}
@media(max-width:355px){.products{grid-template-columns:1fr}.product{min-height:180px}.product h3{font-size:12px}.product-top{justify-content:space-between}.page-heading{flex-wrap:wrap}.chip{padding:7px 8px}.catalog-meta>.muted{display:none}.banner-mark{display:none}.nav-item{font-size:10px;padding:10px 8px}}
/* 0.1.1 — official Slavniy Kray identity, sourced from batyrbroiler.ru */
@font-face{font-family:Nunito;src:url('/nunito-regular.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Nunito;src:url('/nunito-semibold.woff2') format('woff2');font-weight:600;font-display:swap}@font-face{font-family:Nunito;src:url('/nunito-bold.woff2') format('woff2');font-weight:700 900;font-display:swap}
:root{font-family:Nunito,-apple-system,sans-serif;--green:#006a3b;--focus-ring:var(--green);--button-radius:24px;--hover-bg:#f1f6ed;--selected-bg:#e9f2e1;--assortment-bg:#edf4e7;--dialog-backdrop:#18372866;--focus-halo:#006a3b26;--error:#a43c32;--error-light:#fff0ed;--error-line:#f0d3cd;--green-light:#b6da9b;--yellow:#006a3b;--ink:#153d2a;--muted:#77877c;--line:#e0e8e1;color:#1a3022;background:#f6f8f3}.brand{display:flex;flex-direction:column;align-items:start;justify-content:center;gap:3px;min-height:76px;padding:8px 9px}.brand>small{font-size:13px;line-height:18px;color:var(--muted);padding:0;margin:0;font-weight:500}.auth-story{background:#e8f1de;color:var(--green)}.auth-story .eyebrow{color:var(--green);text-transform:uppercase}.auth-story p{color:#557361}.auth-story h1{font-weight:700}.big-logo{width:270px;height:auto;margin-bottom:70px}.auth-form h2,h1,h2{color:#174b30}.auth-bottom span{color:#50765b}.catalog-banner{background:#e5f0db;color:var(--green);border:1px solid #dce9d0;border-radius:24px}.catalog-banner h2{color:var(--green)}.catalog-banner .eyebrow{color:#56813c}.catalog-banner p{color:#547361}.banner-mark{font-size:16px;color:var(--green);min-width:110px;text-align:center;border-left:1px solid #b8d0ab;padding-left:25px}.banner-mark span{position:static;border:0;padding:0;display:block;color:var(--green);font-size:42px;font-weight:700}.banner-mark small{display:block;font-size:11px;font-weight:400;line-height:1.6}.brand-tag{background:#eaf4e2;color:#337148}.brand-tag.mountain{background:#eef0ef;color:#657a6e}.chip.active{background:var(--green);border-color:var(--green)}.chip{border-radius:20px}.product.in-cart{border-color:#6eaa63;box-shadow:0 0 0 1px #6eaa63}.stepper{height:44px;background:#f3f7ef}.stepper button{height:44px}.stepper button:hover{background:#d9ebcb}.stepper input{min-height:42px}.lab-pill span{background:#619744}.stat.chosen{border-color:var(--green);background:var(--selected-bg)}:is(.assortment-row input,.assortment-toggle input[role="switch"]):checked{background:var(--green)}.catalog-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:22px;align-items:start}.catalog-layout .products{grid-template-columns:repeat(2,minmax(0,1fr))}.folder-panel{background:white;border:1px solid var(--line);border-radius:14px;padding:16px 12px;position:sticky;top:20px}.folder-panel>summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--green);padding:4px 8px 14px}.folder-link{width:100%;display:flex;text-align:left;align-items:center;gap:9px;justify-content:space-between;padding:10px 9px;font-size:11px;line-height:1.5;border-radius:8px;min-height:42px}.folder-link span{overflow-wrap:anywhere}.folder-link small{font-size:9px;color:#8d9b90}.folder-link.selected{background:var(--selected-bg);color:var(--green);font-weight:700}.folder-link:not(.selected):hover{background:var(--hover-bg)}.folder-branch{margin:5px 0}.folder-branch>summary{font-size:11px;line-height:1.6;padding:10px 8px;cursor:pointer;font-weight:700}.folder-branch>div{margin-left:7px;border-left:1px solid #deead7;padding-left:6px}.folder-breadcrumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:10px;margin:0 0 15px;color:#7c9183}.folder-breadcrumb button{font-size:11px;padding:6px 0;min-height:30px}.folder-breadcrumb button:last-child{font-weight:700;color:var(--green)}.catalog-results{min-width:0}.role-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.role-guide article{background:#edf4e6;border-radius:12px;padding:18px}.role-guide strong{font-size:13px;color:var(--green)}.role-guide p{font-size:11px;line-height:1.7;margin:8px 0 0;color:#6b806f}
@media(min-width:1700px){.catalog-layout .products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.catalog-layout{grid-template-columns:190px minmax(0,1fr);gap:14px}.catalog-layout .product{padding:13px}.catalog-layout .product-top{flex-wrap:wrap}.folder-link{font-size:10px}}
@media(max-width:950px){.catalog-layout{grid-template-columns:1fr}.folder-panel{position:static}.folder-panel>summary{padding-bottom:5px}.folder-panel[open]>summary{padding-bottom:15px}.role-guide{grid-template-columns:1fr}.role-guide article{padding:15px}.catalog-layout .products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.brand{flex-direction:row;align-items:center;gap:15px;padding:3px 1px 14px}.brand>small{font-size:9px;max-width:100px}.big-logo{width:220px;height:auto;margin-bottom:28px}.catalog-banner{border-radius:18px;padding:24px 20px}.banner-mark{display:none}.catalog-banner h2{font-size:20px;max-width:100%}.catalog-banner p{max-width:100%;font-size:11px}.catalog-banner .eyebrow{font-size:8px}.folder-panel{border-radius:12px;padding:13px}.folder-link{font-size:12px;min-height:44px}.folder-branch>summary{font-size:12px;min-height:44px}.folder-panel>summary{font-size:12px;min-height:32px}.folder-breadcrumb{margin-top:0;font-size:10px}.catalog-meta{flex-wrap:wrap}.chip{font-size:10px;padding:8px 12px}.catalog-meta>.muted{margin-left:auto}.catalog-layout .product h3{font-size:11px}.catalog-layout .product-unit{font-size:10px}.auth-story h1{font-size:35px}.auth-story{min-height:270px}.role-guide{gap:8px}.role-guide article{padding:13px 16px}.role-guide p{margin-top:4px}}
@media(max-width:355px){.catalog-layout .products{grid-template-columns:1fr}.brand{gap:10px}}

/* 0.1.3 — mobile navigation and readable ordering screens */
.bottom-nav{display:none}
.nav-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.nav-icon [data-cart-count]{position:absolute;top:-8px;right:-12px;margin:0;padding:2px 5px;min-width:18px;border-radius:10px;background:var(--green);color:#fff;font-size:10px;line-height:14px;text-align:center}
[data-cart-count][hidden]{display:none}
.account-panel{padding:28px}
.account-heading{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.account-heading .avatar{width:60px;height:60px;font-size:26px;color:var(--green);background:#e9f2e1}
.account-heading>div:last-child{min-width:0}
.account-heading h2{margin:0 0 7px;overflow-wrap:anywhere}
.account-heading span{color:var(--muted);font-size:14px}
.account-details{margin:0 0 24px}
.account-details>div{display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-top:1px solid var(--line);font-size:15px}
.account-details dt{color:var(--muted)}
.account-details dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}
.account-actions{border-top:1px solid var(--line);padding-top:20px;margin-bottom:20px}

.account-actions button{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;text-align:left;padding:12px 0;font-size:15px}
.account-actions button span{flex:1}
.profile-logout{color:#a03b35;font-size:15px}
@media(max-width:760px){
 html{scroll-padding-bottom:110px;-webkit-text-size-adjust:100%}
 body{font-size:16px}
 .shell{--page-gutter:16px;padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
 .sidebar{position:static;inset:auto;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:14px var(--page-gutter);border-bottom:1px solid var(--line)}
 .sidebar .brand{display:none}
 .mobile-shop{display:block;min-width:0;flex:1}
 .mobile-shop .shop-switcher{width:100%;gap:8px;padding:8px 0}

 .brand>small,.sidebar nav,.sidebar-footer,.topbar,.mobile-user{display:none}
 .sidebar>.header-logo{display:block;width:95px}
 .bottom-nav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);position:fixed;inset:auto 0 0;z-index:20;padding:8px max(8px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));background:#fffffff5;backdrop-filter:blur(16px);border-top:1px solid #dbe5d9;box-shadow:0 -4px 20px #183d2607}
 .bottom-tab{min-width:0;min-height:62px;padding:4px 1px;display:grid;grid-template-rows:30px 1fr;align-items:start;justify-items:center;gap:5px;color:#627469;font-size:12px;font-weight:600;line-height:1.3;border-radius:12px}
 .bottom-tab .nav-icon{width:48px;height:30px;border-radius:16px}
 .bottom-tab svg{width:24px;height:24px}
 .bottom-tab.selected{color:var(--green);font-weight:800}
 .bottom-tab.selected .nav-icon{background:#e3efd9}
 .bottom-tab .nav-icon [data-cart-count]{top:-3px;right:-2px;border:2px solid white;min-width:21px;padding:1px 4px;font-size:11px}
 .bottom-tab:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}
 .content{padding:18px var(--page-gutter) 30px}
 .primary,.secondary,.text-button{font-size:16px;min-height:48px}
 .primary,.secondary{padding:12px 18px;white-space:normal}
 label,.modal-body label{font-size:15px}
 input:not([type=checkbox]),select,textarea,.search input,.modal-body input,.modal-body select,.modal-body textarea{font-size:16px;min-height:48px}
 .auth-story p,.auth-form p{font-size:15px}
 .auth-note{font-size:14px}
 .catalog-banner{display:none;padding:18px;min-height:0;margin-bottom:20px;border-radius:18px}
 .catalog-banner .eyebrow{font-size:10px;margin-bottom:8px}
 .catalog-banner h2{font-size:20px;line-height:1.3;margin-bottom:8px}
 .catalog-banner p{font-size:14px;line-height:1.5}


 .filters{margin-bottom:14px}
 .search input{min-height:50px}
 .catalog-meta{gap:12px;margin-bottom:16px}
 .chips{gap:6px;flex-wrap:wrap}
 .chip{font-size:13px;min-height:44px;padding:10px 12px}
 .catalog-meta>.muted{font-size:13px}
 .folder-panel{padding:12px 14px}
 .folder-panel>summary{font-size:16px;min-height:44px;padding:10px 4px}
 .folder-panel[open]>summary{padding-bottom:15px}
 .folder-link,.folder-branch>summary{font-size:15px;min-height:48px}
 .folder-link small{font-size:13px}
 .folder-breadcrumb{gap:8px;font-size:14px;margin-bottom:8px}
 .folder-breadcrumb button{font-size:14px;min-height:44px}
 .catalog-layout .products{grid-template-columns:minmax(0,1fr);gap:12px}
 .catalog-layout .product{padding:18px;min-height:0;border-radius:16px}
 .product-top{justify-content:space-between;margin-bottom:12px;gap:8px}
 .brand-tag{font-size:12px;padding:5px 9px}
 .product-code{font-size:12px}
 .catalog-layout .product h3{font-size:17px;line-height:1.4;overflow-wrap:normal;margin-bottom:8px}
 .catalog-layout .product-unit{font-size:14px;line-height:1.5;margin-bottom:16px}
 .product-bottom{gap:12px}
 .unit-label{font-size:15px}
 .stepper{height:50px;border-radius:12px;overflow:hidden}
 .stepper button{width:48px;height:48px;min-height:48px;font-size:25px}
 .stepper input{width:76px;min-height:48px;font-size:18px;padding:8px 2px}
 .source-note{font-size:12px;line-height:1.6}
 .stats{gap:8px;margin:22px 0}
 .stat{padding:16px 10px;gap:10px}
 .stat span{font-size:13px}
 .stat strong{font-size:28px}
 .section-title{gap:8px;flex-wrap:wrap}
 .section-title h2{font-size:18px}
 .section-title .text-button{font-size:14px}
 .record-card{padding:18px 16px;gap:12px}

 .record-info{min-width:0}
 .record-info strong{font-size:16px}
 .record-info span{font-size:14px;line-height:1.5;display:block;overflow-wrap:anywhere}
 .order-date strong{font-size:15px}
 .order-date span{font-size:13px}
 .badge{font-size:12px;padding:7px 9px}
 .integration-note{padding:18px 16px}
 .integration-note strong{font-size:15px}
 .integration-note p{font-size:14px;line-height:1.5}
 .panel-header{padding:18px 16px;gap:10px;flex-wrap:wrap}
 .panel-header h2{font-size:18px}
 .cart-row{padding:18px 16px}
 .cart-row strong{font-size:16px;line-height:1.45}
 .cart-row small{font-size:13px;line-height:1.5}
 .cart-row>div{min-width:0}
 .cart-row label{font-size:16px}
 .cart-row label input{font-size:18px;min-height:48px}
 .cart-row .remove{width:44px;min-height:44px}
 .cart-total{font-size:16px;line-height:1.5;flex-wrap:wrap}
 .checkout .small{font-size:13px}
 .empty h2{font-size:22px}
 .empty h3{font-size:18px}
 .empty p{font-size:15px}
 .account-panel{padding:20px 18px}
 .account-heading{gap:14px;align-items:flex-start}
 .account-heading h2{font-size:21px;line-height:1.35}
 .account-heading .avatar{width:48px;height:48px;font-size:23px}
 .account-heading span{font-size:14px}
 .account-details>div{font-size:15px;gap:14px}
 .account-actions button{font-size:16px}
 .role-guide strong{font-size:16px}
 .role-guide p{font-size:14px}
 .user-row .grow{min-width:0;flex-basis:calc(100% - 65px)}
 .grow strong{font-size:16px;overflow-wrap:anywhere}
 .grow small{font-size:13px;line-height:1.5}
 .user-row .text-button{font-size:14px;min-height:48px}
 .buyer-row{font-size:16px}
 .buyer-copy small{font-size:14px}
 .assortment-row strong{font-size:16px;line-height:1.45}
 .assortment-row small{font-size:13px}
 dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
 .modal-header h2{font-size:24px}
 .modal-header .eyebrow{font-size:12px;line-height:1.5}

 .detail-row strong{font-size:15px}
 .detail-row small{font-size:12px}
 .detail-row>div:last-child{font-size:16px}
 .detail-row span{font-size:14px}
 .detail-row input{font-size:16px;width:80px;min-height:48px;padding:8px}
 .detail-summary{font-size:15px}
 .timeline strong{font-size:14px}
 .timeline small{font-size:12px;line-height:1.5}

 .small,.form-error{font-size:14px}
 #toast{inset:auto 16px calc(96px + env(safe-area-inset-bottom,0px)) 16px;width:auto;max-height:calc(100dvh - 128px - env(safe-area-inset-bottom,0px));padding:12px;grid-template-columns:32px minmax(0,1fr) 44px;gap:8px}.notification-icon{width:32px;height:32px;border-radius:10px}.notification-icon svg{width:20px;height:20px}
}

/* UI groups 1–3: categories drawer and quantity controls */
.catalog-layout{display:block}
.catalog-filters{display:flex;flex-direction:row;align-items:center;gap:12px}
.categories-button{flex-shrink:0;border-color:#b8ceba;color:var(--green);min-height:50px}
.catalog-filters .search{flex:1;min-width:0}
body.categories-open{overflow:hidden}
dialog.categories-drawer{position:fixed;inset:0 auto 0 0;margin:0;padding:0;width:min(420px,calc(100vw - 32px));max-width:none;height:100dvh;max-height:none;border:0;border-radius:0 20px 20px 0;background:#fff;color:var(--ink);box-shadow:12px 0 50px #122a2926;overflow:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom,0px)}

.categories-drawer[open]{animation:categories-in .2s ease-out}
@keyframes categories-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
.categories-header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#fff;z-index:1;border-bottom:1px solid var(--line);padding:calc(20px + env(safe-area-inset-top,0px)) 20px 16px}
.categories-header h2{font-size:24px;margin:0}
.categories-header .icon-button{width:48px;height:48px;border-radius:12px;background:#f2f6ee}
#folder-tree{padding:16px 12px 24px}
.categories-drawer .folder-link{font-size:16px;min-height:52px;padding:12px;flex:1;min-width:0}
.categories-drawer .folder-link small{font-size:12px}
.category-parent>span{flex:1;min-width:0}
.category-parent>svg{width:20px;height:20px;color:var(--green)}
.category-parent[aria-expanded=true]>svg{transform:rotate(90deg)}
.categories-drawer .category-view-all{font-size:14px;color:var(--green);background:#f5f8f1;margin:4px 0}
.categories-drawer .category-view-all.selected{background:#e9f2e1;font-weight:700}
.category-children{margin-left:12px;padding-left:8px;border-left:1px solid var(--line)}
.category-children[hidden]{display:none}
.stepper .clear-quantity{color:#8e4840;border-right:1px solid #dbe5d9;display:grid;place-items:center}
.stepper .clear-quantity svg{width:18px;height:18px}
.stepper .clear-quantity:disabled{opacity:.3}
.stepper input{width:76px}

@media(max-width:760px){.catalog-filters{flex-wrap:wrap;gap:10px}.catalog-filters .search{flex-basis:100%}.categories-button{width:100%;justify-content:flex-start}.product-bottom{gap:4px}.stepper button{width:44px}.stepper input{width:72px}.sidebar{gap:8px}}
@media(prefers-reduced-motion:reduce){.categories-drawer[open]{animation:none}}

/* Group 4 — product identity, photo slot and clear ordering controls */
:is(.catalog-layout,.cart-products) .products{align-items:stretch;gap:18px}
:is(.catalog-layout,.cart-products) .product{--product-controls-height:48px;--product-selection-color:#377e47;display:flex;flex-direction:column;min-height:0;position:relative;isolation:isolate;padding:20px;border:1px solid #d4dfd5;border-radius:16px;background:#fff;box-shadow:0 2px 5px #183d2605}
:is(.catalog-layout,.cart-products) .product.in-cart{border-color:var(--product-selection-color);box-shadow:0 0 0 1px var(--product-selection-color)}
/* One inset shadow follows the same rounded edge and exact colour as the border. */
:is(.catalog-layout,.cart-products) .product::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:0;box-shadow:inset 0 0 var(--quantity-glow-depth,0px) var(--product-selection-color);transition:opacity .16s,box-shadow .16s}
:is(.catalog-layout,.cart-products) .product.in-cart::before{opacity:1}
.stepper [data-step]{position:relative;isolation:isolate;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.stepper [data-step]::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--green-light);transform:scaleY(0);transform-origin:bottom;pointer-events:none}
.stepper [data-step].step-holding::before{animation:step-hold-fill .45s linear forwards}
@keyframes step-hold-fill{to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){:is(.catalog-layout,.cart-products) .product::before{transition:none}.stepper [data-step].step-holding::before{animation:none;transform:scaleY(1)}}
:is(.catalog-layout,.cart-products) .product-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:18px}
:is(.catalog-layout,.cart-products) .brand-tag{font-size:11px;letter-spacing:.25px;line-height:1.4;font-weight:700;padding:5px 8px;border-radius:6px}
:is(.catalog-layout,.cart-products) .product-code{font-size:12px;line-height:1.4;color:#65756b;white-space:nowrap}
.product-main{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:start;flex:1;margin-bottom:20px}
.product-info{min-width:0}
:is(.catalog-layout,.cart-products) .product h3{font-size:17px;line-height:1.45;font-weight:700;letter-spacing:0;color:#173e29;margin:0 0 10px;overflow-wrap:anywhere}
:is(.catalog-layout,.cart-products) .product-unit{font-size:13px;line-height:1.5;color:#526959;margin:0}
.product-media{width:96px;aspect-ratio:1;align-self:start;display:grid;place-items:center;background:#f3f6f0;border:1px solid #e3e9df;border-radius:12px;overflow:hidden}
.product-media.has-photo{background:#fff}
.product-photo{display:block;width:100%;height:100%;object-fit:contain;padding:5px}
.product-photo[hidden],.product-photo-empty[hidden]{display:none}
.product-photo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#70836f}
.product-photo-empty svg{width:30px;height:30px;stroke-width:1.3}
.product-photo-empty span{font-size:11px;line-height:1.3}
:is(.catalog-layout,.cart-products) .product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:16px;border-top:1px solid #e4ebe2;margin-top:auto}
:is(.catalog-layout,.cart-products) .unit-label{display:flex;flex-direction:column;gap:2px;flex-shrink:0}
:is(.catalog-layout,.cart-products) .unit-label>span{font-size:11px;color:#687b6e;line-height:1.3}
:is(.catalog-layout,.cart-products) .unit-label strong{font-size:17px;color:#173e29;font-weight:700}
:is(.catalog-layout,.cart-products) .stepper{display:flex;align-items:center;flex-shrink:0;height:var(--product-controls-height);border:1px solid #cfddc9;background:#f3f7ef;border-radius:10px;overflow:hidden}
:is(.catalog-layout,.cart-products) .stepper button{display:grid;place-items:center;width:40px;height:46px;min-height:46px;padding:0;font-size:24px}
:is(.catalog-layout,.cart-products) .stepper input{width:76px;min-height:46px;height:46px;padding:6px 2px;font-size:18px;font-weight:600;border:0;border-radius:0;box-shadow:none;text-align:center;background:transparent;color:#173e29}
:is(.catalog-layout,.cart-products) .stepper input:focus{background:#fff;box-shadow:inset 0 0 0 2px var(--focus-ring)}
@media(min-width:1700px){.product-main{grid-template-columns:104px minmax(0,1fr)}.product-media{width:104px}}
@media(min-width:761px) and (max-width:1100px){:is(.catalog-layout,.cart-products) .products{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
 :is(.catalog-layout,.cart-products) .products{gap:14px}
 :is(.catalog-layout,.cart-products) .product{--product-controls-height:50px;padding:16px;border-radius:14px}
 :is(.catalog-layout,.cart-products) .product-top{margin-bottom:16px;gap:6px}
 .product-main{grid-template-columns:76px minmax(0,1fr);gap:12px;margin-bottom:18px}
 .product-media{width:76px;border-radius:10px}
 .product-photo-empty svg{width:26px;height:26px}
 :is(.catalog-layout,.cart-products) .product h3{font-size:17px;line-height:1.4;margin-bottom:8px}
 :is(.catalog-layout,.cart-products) .product-unit{font-size:13px}
 :is(.catalog-layout,.cart-products) .product-bottom{padding-top:14px;gap:8px}
 :is(.catalog-layout,.cart-products) .stepper button{width:44px;height:48px;min-height:48px}
 :is(.catalog-layout,.cart-products) .stepper input{width:66px;height:48px;min-height:48px}
}
@media(max-width:355px){
 :is(.catalog-layout,.cart-products) .product{padding:14px}
 .product-main{grid-template-columns:64px minmax(0,1fr);gap:10px}
 .product-media{width:64px}
 .product-photo-empty{gap:4px}
 .product-photo-empty span{font-size:10px}
 :is(.catalog-layout,.cart-products) .product h3{font-size:16px}
 :is(.catalog-layout,.cart-products) .unit-label>span{font-size:10px}
 :is(.catalog-layout,.cart-products) .stepper input{width:58px}
 :is(.catalog-layout,.cart-products) .product-bottom{gap:4px}
}

/* Catalog pagination — 20 products per page */
#result-count{scroll-margin-top:20px}
#result-count:focus{outline:none}
.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.pagination[hidden]{display:none}
.page-numbers{display:flex;align-items:center;justify-content:center;gap:4px}
.pagination button{height:44px;min-width:44px;padding:0 10px;border:1px solid #d4dfd5;border-radius:9px;background:#fff;font-size:15px;font-weight:600;color:var(--green)}
.pagination button:hover:not(:disabled){background:#eaf2e2}
.pagination button[aria-current=page]{background:var(--green);color:#fff;border-color:var(--green)}
.pagination button:disabled{opacity:.4}
.page-gap{min-width:12px;text-align:center;color:#77877c}
@media(max-width:760px){.pagination{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.page-numbers{grid-column:1/-1;grid-row:1;gap:4px}.page-prev{grid-column:1;grid-row:2}.page-next{grid-column:2;grid-row:2}.pagination button{height:48px}.page-number{padding:0 6px}.catalog-meta #result-count{display:block;font-size:13px}}

/* Login uses the visible viewport; short screens can still scroll to the form. */
html:has(.auth){overscroll-behavior-y:none}
.auth{min-height:100dvh}
@media(max-width:760px){
 .auth{grid-template-rows:auto 1fr}
 .auth-story{min-height:0;padding:24px 25px}
 .auth-form{padding:24px 25px max(24px,env(safe-area-inset-bottom,0px))}
 .auth-form h2{margin-top:0}
}

/* Cart shares the catalog product card and quantity control. */
.cart-list{min-width:0;container-type:inline-size;container-name:cart-items}
.cart-products{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
/* Keep a single item full-width; below the checkout breakpoint keep one column. */
.cart-products>.product:only-child{grid-column:1/-1}
@media(min-width:1201px){
 @container cart-items (min-width:780px){
  .cart-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 }
}

.shop-profile-form{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
.shop-profile-form h3{font-size:19px;margin-bottom:18px}
.shop-profile-form label{margin-bottom:18px}
.shop-profile-form input{width:100%;min-width:0;font-size:16px}
.coordinate-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.coordinate-fields label{min-width:0}
.profile-save-status{color:var(--green);font-size:14px;margin:12px 0 0}
.profile-save-status:empty{display:none}
@media(max-width:355px){.coordinate-fields{grid-template-columns:1fr;gap:0}}

.clear-cart-button{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;padding:0;border:0;border-radius:8px;background:transparent;color:#8e4840}
.clear-cart-button svg{width:20px;height:20px}
.clear-cart-button:hover{background:#e7efdf}
/* Customer selection shares the portal dialog shell and confirmation component. */
dialog.customer-dialog{width:min(520px,calc(100% - 32px));background:#fff;overscroll-behavior:contain}


.customer-dialog .search{margin:0 0 16px}
.customer-dialog .search input{font-size:16px;min-height:48px}
.customer-options{display:grid;gap:8px;max-height:42vh;overflow-y:auto;overscroll-behavior:contain;padding:3px;min-height:0}
.customer-count{font-size:13px;margin:0 0 12px}
.customer-dialog .customer-pagination{margin-top:16px;gap:8px}
.customer-dialog[open]{display:flex;flex-direction:column}
.customer-dialog .modal-header{flex-shrink:0}
.customer-dialog .modal-body{min-height:0;overflow-y:auto}
.customer-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;text-align:left;font-size:16px;background:#fff;color:var(--ink)}
.customer-option-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;overflow-wrap:anywhere}
.customer-option-info strong{font-size:16px;font-weight:700;line-height:1.4}
.customer-option-info small{font-size:14px;font-weight:400;line-height:1.45;color:var(--muted)}
.customer-option svg{width:22px;height:22px;flex-shrink:0}
.customer-option:hover{background:var(--hover-bg);border-color:var(--green)}
.customer-option[aria-pressed="true"]{background:var(--selected-bg);border-color:var(--green);color:var(--green)}
.customer-option:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
/* Shared date field and calendar, including nested order-editor dialogs. */
.date-picker-trigger,.dialog-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:12px;border:1px solid #dce0e6;border-radius:9px;background:#fff;text-align:left;font-size:13px}
.date-picker-trigger:hover,.dialog-select-trigger:hover{border-color:#6e9d7f}
.date-picker-trigger svg,.dialog-select-trigger svg{width:20px;height:20px;color:var(--green)}
.date-picker-dialog{width:min(440px,calc(100% - 4px));max-width:calc(100% - 4px);padding:3px;border-radius:20px;background:#fff}
.date-picker-header,.date-picker-month{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px}
.date-picker-header h2{font-size:21px;margin:0}
.date-picker-header .icon-button,.date-picker-month .icon-button{min-width:44px;min-height:44px;display:grid;place-items:center;border-radius:12px;color:var(--green)}
.date-picker-header .icon-button:hover,.date-picker-month .icon-button:hover{background:#e8f1dd}
.date-picker-month strong{text-transform:capitalize;font-size:18px}
.date-picker-month [data-month="-1"] svg{transform:rotate(180deg)}
.date-picker-grid [role=row]{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.date-picker-weekdays{padding:8px 0;color:var(--muted);font-size:13px;text-align:center}
.date-picker-day{min-height:44px;border-radius:12px;font-size:16px;border:2px solid transparent}
.date-picker-day.outside-month{color:#8b978f}
.date-picker-day[aria-current=date]{border-color:#b6cda8}
.date-picker-day:hover{background:#e8f1dd}
.date-picker-day[aria-selected=true]{background:#006a3b;color:white;font-weight:700}
.date-picker-day:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-3px}
.date-picker-footer{padding:12px;border-top:1px solid var(--line);margin-top:12px}
.date-picker-footer>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}
.date-picker-footer .text-button{color:var(--green);font-size:15px}
@media(max-width:760px){.date-picker-trigger,.dialog-select-trigger{font-size:16px;min-height:48px}}

body.portal-dialog-open{overflow:hidden}
dialog.portal-confirm-dialog{width:min(420px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:28px;border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--ink);text-align:center;overflow:auto;box-shadow:0 20px 80px #153d2a33}

.confirm-symbol{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;border-radius:18px;background:#f3f7ef;color:#8e4840}
.confirm-symbol svg{width:32px;height:32px}
.portal-confirm-dialog h2{font-size:24px;line-height:1.3;margin:0 0 12px}
.portal-confirm-dialog p{font-size:16px;color:var(--muted);margin:0 0 24px}
.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}


.phone-input{display:flex;align-items:center;border:1px solid #dce0e6;border-radius:9px;background:#fff;overflow:hidden}
.phone-prefix{padding-left:12px;font-size:16px;font-weight:600;flex-shrink:0}
.shop-profile-form .phone-input input{border:0;box-shadow:none;background:transparent;padding-left:8px;border-radius:0;min-width:0}
.phone-input:focus-within{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-halo)}
#phone-format{font-size:12px;font-weight:400;color:var(--muted)}

.profile-field{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}
.profile-field:last-child{border-bottom:0}
.profile-field-copy{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.profile-field-label{font-size:13px;color:var(--muted)}
.profile-field-value{font-size:17px;line-height:1.45;overflow-wrap:anywhere}
.profile-pencil,.profile-save,.profile-cancel{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;padding:0}
.profile-pencil{background:#f3f7ef;color:var(--green);border:1px solid #dce7d7}
.profile-pencil svg{width:20px;height:20px}
.profile-save{background:var(--green);color:white}
.profile-cancel{background:#f2f5f0;border:1px solid var(--line);color:#64756b}
.profile-inline-form{width:100%;min-width:0}
.profile-inline-form input{width:100%;min-width:0;font-size:16px}
.profile-inline-form .phone-input input{border:0;background:transparent;box-shadow:none;border-radius:0;padding-left:8px}
.profile-inline-form .coordinate-fields label{margin-bottom:0}
.profile-edit-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
.shop-profile-section{border-top:1px solid var(--line);margin-top:20px;padding-top:24px}
.profile-section-title{font-size:19px;font-weight:700;line-height:1.4;margin-bottom:0}
.customer-section{border-bottom:1px solid var(--line)}
.customer-section:last-child{border-bottom:0}
.customer-section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:18px 0;cursor:pointer;list-style:none;color:var(--green)}
.customer-section>summary::-webkit-details-marker{display:none}
.customer-section>summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:9px}
.customer-section>summary>svg{width:20px;height:20px;flex-shrink:0;transition:transform .15s}
.customer-section[open]>summary>svg{transform:rotate(90deg)}
.customer-section-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.customer-section-status{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.customer-section-body{padding-bottom:22px}
.customer-section-body .dialog-select-trigger{height:auto;min-height:48px}
.customer-section-body .dialog-select-trigger span{min-width:0;overflow-wrap:anywhere}
[data-1c-form]>label{margin-bottom:16px}
.customer-1c-route>label{margin-bottom:14px}
.customer-1c-route>label:last-child{margin-bottom:0}
.customer-1c-route{min-width:0;border:1px solid var(--line);border-radius:12px;padding:16px;margin:20px 0}
.customer-1c-route legend{font-weight:700;padding:0 6px}
.customer-1c-toggle{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px}
.customer-1c-toggle input{width:16px;flex-shrink:0}
.customer-export-mode{margin:12px 0 20px}
.customer-export-mode input[type=radio]{appearance:auto;accent-color:var(--green);width:18px;min-width:18px;height:18px;padding:0;margin:0}

.profile-password-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}
#role-customer-label[hidden]{display:none}

/* Shared page frame: title and action on one row, full-width content. */
.page-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(44px,auto) auto;gap:0 16px;align-items:center}
.page-heading>.eyebrow{grid-column:1/-1}
.page-heading>h1{grid-column:1;grid-row:2;min-width:0;margin:0}
.page-heading>button,.page-heading>.heading-actions{grid-column:2;grid-row:2;margin:0;align-self:center}
.page-heading>p{grid-column:1/-1;grid-row:3;margin:12px 0 0}
.page-heading .profile-logout{width:auto;white-space:nowrap}
@media(max-width:760px){
 .page-heading{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:0;margin-bottom:16px}
 .page-heading>.eyebrow{margin-bottom:6px;font-size:11px;letter-spacing:1px}
 .page-heading>h1{font-size:28px;line-height:1.2;letter-spacing:-.5px}
 .page-heading>p{grid-row:3;margin-top:8px;font-size:15px;line-height:1.5}
 .page-heading>button:is(.primary,.secondary){grid-column:1;grid-row:4;justify-self:stretch;width:100%;margin-top:12px;min-height:48px;padding:12px 18px;font-size:16px;gap:8px;white-space:normal}
}

/* Shared catalog tabs on desktop and mobile. */
.catalog-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 24px}
.catalog-switch button{min-width:0;min-height:54px;padding:8px 4px;gap:6px;border:0;border-radius:9px;background:transparent;color:#737985;font-size:14px;line-height:18px;white-space:normal;justify-content:center}
.nav-item:hover,.catalog-switch button:hover{background:var(--hover-bg)}
.nav-item.selected,.catalog-switch button.active{background:var(--selected-bg);color:var(--green)}
.catalog-switch button.active{font-weight:750}
.catalog-switch .catalog-icon{width:36px;height:32px}
.catalog-switch-label{min-width:0;overflow-wrap:anywhere}
.catalog-switch small{flex-shrink:0;margin:0;padding:1px 5px;border-radius:6px;background:#e9eee6;color:var(--muted);font-size:12px;line-height:18px}
.catalog-switch button.active small{background:#e3efd9;color:var(--green)}
.catalog-switch small:empty{display:none}
/* One product across customers, using the shared dialog and switch controls. */
.product-card-actions{display:flex;align-items:center;gap:4px;min-width:0}
.product-customers-button{width:44px;height:44px;min-height:44px;margin-block:-9px;color:var(--green);border-radius:10px;flex-shrink:0}
.product-customers-button:hover{background:var(--hover-bg)}
.product-customers-button svg{width:20px;height:20px}
dialog.product-clients-dialog{width:min(680px,calc(100% - 32px))}
.product-clients-name{overflow-wrap:anywhere;line-height:1.4;margin-bottom:8px}
.product-clients-actions{display:flex;flex-wrap:wrap;gap:10px}
.product-clients-actions>button{white-space:normal}
.product-clients-actions+[data-bulk-count]{margin:16px 0 0}
.product-client-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.product-client-row>.product-client-toggle{flex:0 0 44px;justify-content:center}
.product-clients-footer{padding:16px 28px;border-top:1px solid var(--line);flex-shrink:0;background:white}
.product-clients-footer [data-changes]{margin:0 0 10px}
.product-clients-footer [data-bulk-error]:empty{display:none}
@media(max-width:760px){
 .product-clients-footer{padding:14px 19px}
 .product-clients-actions>button{flex:1;min-width:0;padding-inline:12px}
}
.assortment-selection{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 20px;padding:16px;border:1px solid var(--line);border-radius:16px;background:white}
.assortment-selection[hidden]{display:none}
.product-select-control{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;margin-block:-9px;cursor:pointer}
.product.bulk-selected{border-color:var(--green);background:var(--selected-bg)}
.product-client-selection{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-height:44px;cursor:pointer}
.bulk-product-list{margin-bottom:16px}
.bulk-product-list summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--green);font-weight:700}
.bulk-product-list summary svg{width:20px;height:20px;margin-right:8px;flex-shrink:0}
.bulk-product-list[open] summary svg{transform:rotate(90deg)}
.bulk-product-list ul{max-height:160px;overflow:auto;overflow-wrap:anywhere;padding-left:24px}
.bulk-section-actions{margin-bottom:16px}
.bulk-section{border:0;padding:0;margin:0 0 14px;min-width:0}
.bulk-section legend{padding:0;margin-bottom:8px;font-weight:700;font-size:14px;color:var(--ink)}
.bulk-section .chip{flex:1;min-height:44px;white-space:normal}
.product-clients-footer [data-section-summary]{margin:0 0 8px;overflow-wrap:anywhere}
.bulk-availability-action{margin-bottom:16px}
.bulk-availability-action>button{min-height:44px}
@media(max-width:760px){
 .assortment-selection>.heading-actions{width:100%}
 .assortment-selection .heading-actions>button{flex:1;white-space:normal}
 .bulk-availability-action>button{flex:1;white-space:normal}
}
/* Draft assortment controls share catalog cards, dialogs, buttons and switches. */
.shell.assortment-mode{background:var(--assortment-bg)}
.heading-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}
.assortment-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.assortment-tab{display:flex;align-items:stretch;gap:4px;min-width:0}
.assortment-tab>[data-editor-tab]{flex:1}
.assortment-tab>.assortment-section-toggle{width:44px;flex:0 0 44px;justify-content:center;align-self:center}
.assortment-tab-note{display:block;font-size:12px;font-weight:500;color:var(--muted);margin-top:3px}
.assortment-product-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 60px;gap:8px;align-items:center;width:100%;height:var(--product-controls-height)}
.assortment-product-choice{display:flex;flex-direction:row;align-items:center;gap:6px;min-width:0;min-height:44px;margin:0;cursor:pointer;font-size:12px;line-height:16px}
/* Native checkbox semantics, shared branded appearance. */
input.portal-checkbox{appearance:none;display:inline-grid;place-content:center;width:16px;min-width:16px;height:16px;min-height:16px;padding:0;margin:0;flex-shrink:0;border:1.5px solid var(--muted);border-radius:4px;background:white;color:white;box-shadow:none;cursor:pointer;vertical-align:middle}
input.portal-checkbox::before{content:"";width:5px;height:9px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg);visibility:hidden}
input.portal-checkbox:checked{background:var(--green);border-color:var(--green)}
input.portal-checkbox:checked::before{visibility:visible}
@media(hover:hover){
 label:hover>input.portal-checkbox:not(:disabled){border-color:var(--green);box-shadow:0 0 0 3px var(--focus-halo)}
}
input.portal-checkbox:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}
input.portal-checkbox:disabled{opacity:.5;cursor:not-allowed}
@media(forced-colors:active){
 input.portal-checkbox{appearance:auto;accent-color:auto}
 input.portal-checkbox::before{display:none}
}
.assortment-product-choice span{min-width:0;overflow-wrap:anywhere}
.assortment-product-controls>.assortment-product-visibility{flex-direction:column;justify-content:center;gap:4px;font-size:11px;line-height:14px;min-height:44px}
.assortment-toggle{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin:0;flex:1;cursor:pointer;font-size:14px}
.assortment-toggle input{flex-shrink:0}
.assortment-toggle input[type="checkbox"]:not([role="switch"]){appearance:auto;width:20px;height:20px;min-height:20px;accent-color:var(--green)}
.assortment-leave-actions{display:flex;flex-wrap:wrap;gap:10px}
#assortment-error:empty{display:none}
@media(max-width:1200px){
 .page-heading>.heading-actions{grid-column:1/-1;grid-row:4;margin-top:14px}
}
@media(max-width:760px){
 .heading-actions{width:100%}.heading-actions>button{flex:1;min-height:48px;white-space:normal}
 .heading-actions>#configure-assortment{flex-basis:100%}
 .assortment-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .assortment-tabs>.assortment-tab:first-child{grid-column:1/-1}
 .assortment-tab>[data-editor-tab]:not([data-editor-tab="all"]){flex-wrap:wrap}.assortment-tab>[data-editor-tab]:not([data-editor-tab="all"]) .catalog-switch-label{flex-basis:100%}
 .assortment-leave-actions>button{width:100%}
}
@media(max-width:760px){.catalog-switch{margin-bottom:18px}.catalog-switch button{gap:4px}.catalog-switch .catalog-icon{width:28px;height:28px}}
