/* ag48-mobile.css */
/* V48 shared mobile rules */
@media(max-width:700px){
body .v7-header .mobile-nav.open{grid-template-columns:minmax(0,1fr)!important;overflow-y:auto}
body .v7-header .mobile-nav a{min-height:44px;white-space:normal}
body input,body select,body textarea{font-size:16px!important}
body .ag28-detail-grid{grid-template-columns:1fr!important;gap:18px!important}
body .ag28-detail-card figcaption{font-size:14px!important}
body .ag11-footer-inner nav a{min-height:44px;display:flex;align-items:center}
body .dc-product>div:first-child{align-items:flex-start;flex-wrap:wrap}
body .dc-product>div:first-child>a{font-size:12px;min-height:30px;display:flex;align-items:center}
body .dc-product>div:first-child>a:after{content:none}
body .dc-product label{line-height:1.5}
body .dc-tabs button{min-height:44px}
body .dc-mobile-total{bottom:calc(12px + env(safe-area-inset-bottom));max-width:calc(100% - 28px);white-space:normal;text-align:center;padding:12px 18px}
body .dc-page{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
body .dc-dose{gap:8px;flex-wrap:wrap}
body .dc-result>span{overflow-wrap:anywhere}
body .v7-lightbox .ag-watermark-frame{max-width:100%}
}

/* application.css */
/* Functional controls inherit the approved AquaGrower visual language. */
button:disabled{cursor:not-allowed;opacity:.55}.order-data{padding:18px;border-top:1px solid #dce7e8;min-width:0}.order-data p{font-size:12px;line-height:1.6}.order-data label{display:block;font-size:13px;line-height:1.5;margin:12px 0}.order-data input:not([type=checkbox]),.order-data textarea{display:block;width:100%;max-width:100%;padding:9px;border:1px solid #cadcdd;border-radius:6px;font:inherit}.order-data input[type=checkbox]{width:18px;height:18px;vertical-align:middle}.order-data fieldset{min-width:0;border:1px solid #d9e4e5;border-radius:8px}.cart-qty{display:block;max-width:90px;min-height:40px;padding:8px;font:inherit}.cart-entry button{min-height:40px;padding:6px 12px;border:1px solid #ccdfe0;border-radius:6px;color:#174e59;background:white}.history-row>div{display:flex;gap:8px;flex-wrap:wrap}.history-row button{min-height:40px}#partner-order-dialog{width:min(700px,95vw);max-height:90dvh;padding:24px;border:1px solid #c9dadb;border-radius:12px;color:#153848}#partner-order-dialog::backdrop{background:#092b43aa}#partner-order-dialog button{min-height:44px;padding:8px 14px}#partner-password-form input{display:block;width:100%;padding:12px;margin:8px 0 20px;font:inherit;border:1px solid #cadbdf;border-radius:6px}#partner-password-form label{display:block}#material-downloads{padding:20px;background:#fff}.application-page{max-width:880px;margin:auto;padding:40px 24px;line-height:1.75;color:#153848}.application-page h1{font-size:32px;line-height:1.2}.application-page h2{font-size:22px;line-height:1.3;margin-top:30px}.application-page a{color:#16766e}.application-page table{width:100%;border-collapse:collapse}.application-page td,.application-page th{padding:10px;text-align:left;border:1px solid #d5e0e0}.skip-link{position:fixed;top:0;left:20px;z-index:1000;padding:12px;background:white;color:#123848;transform:translateY(-150%)}.skip-link:focus{transform:none}@media(max-width:700px){.application-page{padding:24px 18px}.history-row>div{grid-column:1/-1}.history-row{min-width:0}.order-toolbar{flex-wrap:wrap}.order-toolbar input,.order-toolbar select{max-width:100%;min-height:44px;font-size:16px}#refresh-portal{font-size:11px;max-width:100px}.cart-entry{gap:6px}.order-data input,.order-data textarea{font-size:16px!important}}
/* Partner actions get their own row below the mobile breadcrumb. */
body.b2b-body .portal-header{position:sticky;top:0;z-index:60}
@media(max-width:700px){body.b2b-body .portal-header{flex-wrap:wrap!important;align-items:flex-start!important;gap:8px!important}body.b2b-body .portal-crumb{flex:1 1 100%!important}body.b2b-body .portal-header-right{position:static!important;flex:1 1 100%;justify-content:flex-start;gap:8px!important}#refresh-portal{max-width:none;white-space:nowrap}}

.catalog-real-photo,.v7-tile-img img,.portal-product-spotlight-grid img{border-radius:14px}

/* Round the visible photo background inside the source white margins. */
img[src*="ag-product-15593.webp"],img[src*="ag-15593.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15596.webp"],img[src*="ag-15596.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15599.webp"],img[src*="ag-15599.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15602.webp"],img[src*="ag-15602.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15605.webp"],img[src*="ag-15605.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15608.webp"],img[src*="ag-15608.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15611.webp"],img[src*="ag-15611.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15614.webp"],img[src*="ag-15614.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15617.webp"],img[src*="ag-15617.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15620.webp"],img[src*="ag-15620.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15623.webp"],img[src*="ag-15623.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15626.webp"],img[src*="ag-15626.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15629.webp"],img[src*="ag-15629.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15632.webp"],img[src*="ag-15632.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15635.webp"],img[src*="ag-15635.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15638.webp"],img[src*="ag-15638.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15641.webp"],img[src*="ag-15641.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15644.webp"],img[src*="ag-15644.webp"]{clip-path:inset(0 21.875000% 0 21.777344% round 14px)}
img[src*="ag-product-15647.webp"],img[src*="ag-15647.webp"]{clip-path:inset(0 12.500000% 0 12.500000% round 14px)}
img[src*="ag-product-15650.webp"],img[src*="ag-15650.webp"]{clip-path:inset(0 12.500000% 0 12.500000% round 14px)}
img[src*="ag-product-15653.webp"],img[src*="ag-15653.webp"]{clip-path:inset(0 12.500000% 0 12.500000% round 14px)}
img[src*="ag-product-15656.webp"],img[src*="ag-15656.webp"]{clip-path:inset(0 12.500000% 0 12.500000% round 14px)}
img[src*="ag-product-15659.webp"],img[src*="ag-15659.webp"]{clip-path:inset(0 20.898438% 0 20.800781% round 14px)}
img[src*="ag-product-15662.webp"],img[src*="ag-15662.webp"]{clip-path:inset(0 21.777344% 0 21.777344% round 14px)}

/* Brand mark above the partner sign-in form. */
.v7-login-panel-logo{display:block;width:200px;max-width:100%;height:auto;margin:0 0 12px}

/* Shared AquaGrower leaf-green brand accent. */
.site-header,.portal-header{border-bottom:3px solid #78ac4d}
.site-header.v7-header.ag20-header{border-bottom:3px solid #78ac4d!important}

/* Shared partner app navigation and personal profile. */
/* Scroll the touch portal's content without pulling its header and fixed controls. */
@media(max-width:700px), (hover:none) and (pointer:coarse){
 html.partner-portal-active,html.partner-portal-active body{height:100%;overflow:hidden}
 html.partner-portal-active .portal-shell{height:100dvh;min-height:0}
 html.partner-portal-active .portal-main{display:flex;flex-direction:column;height:100%;min-height:0}
 html.partner-portal-active .portal-header{flex:none}
 html.partner-portal-active .portal-content{flex:1;min-height:0;margin:0 auto;overflow-y:auto;overscroll-behavior-y:none;scroll-padding:12px 0 calc(110px + env(safe-area-inset-bottom,0px))}
 html.partner-portal-active:has(dialog:modal) .portal-content{overflow-y:hidden}
 html.partner-portal-active .portal-sidebar{height:100dvh;min-height:0;overflow-y:auto}
}
body.b2b-body .portal-header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:14px!important;min-height:76px;padding:14px 24px!important;background:#0d3044!important;color:#fff;border-bottom:3px solid #78ac4d!important}
.partner-header-brand{display:flex;align-items:center}.partner-header-brand img{width:150px;height:auto}
.partner-profile-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid #ffffff45;border-radius:10px;background:transparent;color:white;font:650 14px system-ui}
.partner-profile-link svg{width:20px;height:20px;flex-shrink:0}.partner-profile-link.active{background:#ffffff16;border-color:#a8c69a}
.partner-profile-card{background:#fff;border:1px solid #dce6e8;border-radius:16px;padding:22px;margin:18px 0}.partner-profile-card h2{margin-top:0;font-size:20px}
.partner-profile-card dl{margin:0}.partner-profile-card dl>div{padding:12px 0;border-bottom:1px solid #edf1f2}.partner-profile-card dt{font-size:12px;color:#607985}.partner-profile-card dd{margin:4px 0 0;overflow-wrap:anywhere;font-weight:600}
.partner-profile-card form{max-width:460px}.partner-profile-card label{display:block;margin:14px 0;font-size:14px;font-weight:600}.partner-profile-card input{display:block;width:100%;min-height:46px;margin-top:6px;padding:10px;border:1px solid #cbd9dc;border-radius:8px;font:inherit}
.partner-profile-card button,.partner-profile-signout button{min-height:46px;padding:10px 16px;border:1px solid #b9ccce;border-radius:9px;background:white;color:#164d55;font:inherit}
.partner-profile-card form p{font-size:13px}.partner-profile-card [role=status]:empty{display:none}
body .partner-profile-language .ag25-portal-language{position:relative!important;top:auto!important;right:auto!important;display:inline-block;z-index:20}.partner-profile-language .ag16-lang-list{position:absolute!important;top:100%!important;right:0!important}
.partner-profile-signout{margin-top:22px;border-top:1px solid #dbe5e8;padding-top:20px}.partner-profile-signout button{color:#a02e27;border-color:#dbb8b3;width:100%;max-width:400px}
.partner-dashboard-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.partner-dashboard-stats button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border:1px solid #dce6e8;border-radius:14px;background:white;color:#153848;text-align:left;font:inherit}.partner-dashboard-stats strong{font-size:28px}
body.b2b-body .portal-account-footer{padding:14px 0}.partner-profile .portal-account-footer .ag-cookie-settings{min-height:44px;display:block;margin:0;padding:10px 0}
@media(max-width:700px){
 body.b2b-body .portal-header{min-height:66px;padding:10px 14px!important;gap:8px!important;top:0!important}
 .partner-header-brand img{width:100px}.partner-profile-link{font-size:12px;padding:8px 9px;gap:6px}
 body.b2b-body .mobile-portal-nav{display:grid!important;position:fixed;inset:auto 0 0;z-index:70;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;margin:0!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px))!important;background:#fff;border-top:1px solid #dbe5e8;box-shadow:0 -4px 24px #0d30440a}
 body.b2b-body .mobile-portal-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:56px;padding:6px 2px!important;border:0;border-radius:12px;background:transparent;color:#647b85;font:650 11px/1.2 system-ui!important;white-space:normal}
 body.b2b-body .mobile-portal-nav button.active{background:#e8f1e3;color:#315b24}
 .mobile-portal-nav svg{width:23px;height:23px;flex-shrink:0}
 body.b2b-body .portal-content{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important}
 .partner-profile-card{padding:18px}.partner-dashboard-stats{gap:8px}.partner-dashboard-stats button{padding:13px;font-size:12px}.partner-dashboard-stats strong{font-size:25px}
 .partner-profile-signout button{max-width:none}body.b2b-body #toast{bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
}
@media(min-width:701px){body.b2b-body .mobile-portal-nav{display:none!important}}

.partner-profile-card>p{margin:16px 0;line-height:1.5;font-size:14px}.partner-dashboard-stats{margin-top:0}

body .partner-profile-language .ag16-lang-list{position:static!important;max-height:50dvh;overflow:auto}.partner-profile-language [data-ag-lang]{min-height:44px}

.dashboard-shortcuts svg,.portal-nav .side-icon svg{width:24px;height:24px}.dashboard-shortcuts b svg{width:18px;height:18px}

/* Compact partner overview, meaningful order scopes and shared profile identities. */
.partner-order-start{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 18px;padding:22px;border-radius:16px;background:#0d3044;color:#fff;border-bottom:3px solid #78ac4d}
.partner-order-start>div{flex:1 1 170px;min-width:0}.partner-order-start h2{margin:0 0 7px;color:#fff;font-size:23px;line-height:1.25}.partner-order-start p{margin:0;color:#ccdae1;font-size:14px;line-height:1.5}.partner-order-start .button{flex:none;min-height:46px;padding:12px 18px;border:0;border-radius:9px;white-space:normal}
.partner-dashboard-stats{margin:0 0 18px;gap:12px}.partner-dashboard-stats button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:18px;font-size:14px;cursor:pointer}.partner-dashboard-stats button>span:first-child{grid-column:1/-1}.partner-dashboard-stats button>span:last-child{font-size:20px;color:#56843c}.partner-dashboard-stats strong{font-size:28px;line-height:1.1}
.partner-recent-card{padding:20px;border:1px solid #dce6e8;border-radius:16px;background:#fff}.partner-recent-card h2{margin:0 0 8px;font-size:20px}.partner-recent-order{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:12px;width:100%;min-height:76px;padding:14px 0;border:0;border-bottom:1px solid #edf1f2;background:transparent;color:#153848;text-align:left;font:inherit;cursor:pointer}.partner-recent-order:last-child{border-bottom:0}.partner-recent-order>span{display:grid;gap:6px;min-width:0}.partner-recent-order>span:nth-child(2){text-align:right}.partner-recent-order strong{overflow-wrap:anywhere;font-size:14px}.partner-recent-order small{font-size:12px;color:#607985}.partner-overview-empty{margin:14px 0 4px;color:#607985;font-size:14px;line-height:1.6}
.partner-order-scopes{display:flex;gap:4px;max-width:100%;margin:0 0 18px;padding:4px;border:1px solid #dce6e8;border-radius:12px;background:#fff}.partner-order-scopes button{flex:1;min-width:0;min-height:44px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#526e7d;font:600 14px/1.3 system-ui;cursor:pointer}.partner-order-scopes button.active{background:#e8f1e3;color:#315b24}
.partner-company-details dl,.partner-profile-contacts dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.partner-profile-card .profile-detail-wide{grid-column:1/-1}.partner-profile-card dl>div{padding:10px 0}.partner-profile-card dd{font-size:15px;line-height:1.5}.partner-profile-contacts{margin-top:18px;padding-top:18px;border-top:1px solid #dce6e8}.partner-profile-contacts h3{margin:0 0 12px;color:#607985;font-size:14px}.partner-profile-contacts article+article{margin-top:16px}.partner-profile-contacts h4{margin:0 0 4px;font-size:16px;color:#153848}
.partner-password-settings summary{min-height:28px;padding:4px 0;color:#153848;font-size:20px;font-weight:700;cursor:pointer}.partner-password-settings[open] summary{margin-bottom:14px}
.partner-order-start button:focus-visible,.partner-dashboard-stats button:focus-visible,.partner-recent-order:focus-visible,.partner-order-scopes button:focus-visible,.partner-password-settings summary:focus-visible{outline:2px solid #56843c;outline-offset:3px}
@media(max-width:700px){
 .partner-overview .portal-title-row{margin-bottom:18px}.partner-order-start{padding:18px}.partner-order-start h2{font-size:20px}.partner-dashboard-stats button{padding:14px;font-size:13px}.partner-dashboard-stats strong{font-size:27px}.partner-recent-card{padding:16px}.partner-recent-order{gap:8px}.partner-order-scopes button{padding:10px 7px;font-size:12px}
}
body.b2b-body [data-panel="historie"] .order-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px;padding:0;border:0;background:transparent}
body.b2b-body [data-panel="historie"] .order-toolbar label{display:grid;gap:6px;min-width:0;max-width:none;padding:0;color:#526e7d;font-size:13px;font-weight:600}
body.b2b-body [data-panel="historie"] .order-toolbar input,body.b2b-body [data-panel="historie"] .order-toolbar select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #cbd9dc;border-radius:8px;background:#fff;color:#153848;font:16px system-ui}
.partner-recent-order .history-status{padding:6px 10px;background:#eef4f6;color:#3d626f;font-size:12px;line-height:1.3;white-space:normal}
/* Order states are identifiable by their label, icon and color on every screen. */
body.b2b-body #partner-history .history-head,body.b2b-body #partner-history .history-row{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,2fr)}
body.b2b-body #partner-history .history-order-id{grid-column:1;grid-row:1;align-self:start}
body.b2b-body #partner-history .history-order-total{display:block;grid-column:1;grid-row:1;align-self:end}
body.b2b-body #partner-history .history-order-date{grid-column:2;grid-row:1;align-self:center}
body.b2b-body #partner-history .history-status{grid-column:3;grid-row:1;align-self:center}
body.b2b-body #partner-history .history-order-actions{grid-column:4;grid-row:1}
body.b2b-body #partner-history .history-status{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin:0;padding:6px 9px;border:1px solid transparent;font-size:12px!important;font-weight:600;line-height:1.3;white-space:normal}
#partner-history .history-status svg{width:16px;height:16px;flex:none}
#partner-history .history-status>span{min-width:0;overflow-wrap:anywhere}
body.b2b-body #partner-history .history-status--new{background:#fff2d5;color:#855516!important;border-color:#f0d69d}
body.b2b-body #partner-history .history-status--confirmed{background:#e8f1ff;color:#225b9b!important;border-color:#c6daf2}
body.b2b-body #partner-history .history-status--preparing{background:#f0ebfa;color:#6a4994!important;border-color:#dcd0ed}
body.b2b-body #partner-history .history-status--shipped{background:#e5f5f6;color:#146975!important;border-color:#bce1e5}
body.b2b-body #partner-history .history-status--delivered{background:#eaf3e4;color:#38662d!important;border-color:#c8ddb9}
body.b2b-body #partner-history .history-status--cancelled{background:#fceceb;color:#9c4240!important;border-color:#edcecb}
body.b2b-body #partner-history .history-order-total{margin:0;color:#153848;font-size:16px;font-weight:750;line-height:1.2;font-variant-numeric:tabular-nums}
body.b2b-body #partner-history .history-order-date{font-size:12px;color:#607985;font-variant-numeric:tabular-nums}
body.b2b-body #partner-history .history-order-actions{gap:8px}
body.b2b-body #partner-history .history-order-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid #cbd9dc;border-radius:8px;background:#fff;color:#164d55;font:600 12px/1.3 system-ui}
.history-order-actions button svg{width:16px;height:16px;flex:none}
.history-order-actions button>span{min-width:0}
.history-order-actions button:focus-visible{outline:2px solid #56843c;outline-offset:2px}
@media(max-width:700px){
 body.b2b-body #partner-history{border:0;border-radius:0;background:transparent;overflow:visible}
 body.b2b-body #partner-history .history-head{display:none}
 body.b2b-body #partner-history .history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px!important;align-items:start;margin-bottom:10px;padding:10px;border:1px solid #dce6e8;border-radius:12px;background:#fff}
 body.b2b-body #partner-history .history-row:last-child{margin-bottom:0}
 body.b2b-body #partner-history .history-order-id{grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.35}
 body.b2b-body #partner-history .history-order-total{grid-column:1/-1;grid-row:2;align-self:center;max-width:calc(100% - 88px);margin:0;font-size:20px;line-height:1.15;overflow-wrap:anywhere}
 body.b2b-body #partner-history .history-order-date{display:block;grid-column:2;grid-row:2;justify-self:end;align-self:end;font-size:12px;line-height:1.35}
 body.b2b-body #partner-history .history-status{grid-column:2;grid-row:1;justify-self:end;min-width:0;max-width:140px;padding:5px 8px;font-size:11px!important}
 body.b2b-body #partner-history .history-order-actions{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:0}
 body.b2b-body #partner-history .history-order-actions button{min-width:0;width:100%;justify-self:stretch;padding:7px 8px;text-align:center}
}
@media(max-width:360px){body.b2b-body [data-panel="historie"] .order-toolbar{grid-template-columns:minmax(0,1fr)}body.b2b-body #partner-history .history-order-total{font-size:18px}body.b2b-body #partner-history .history-status{max-width:132px}}

/* Readable cart lines with one quantity control and no nested item scroller. */
body.b2b-body .cart-panel{scroll-margin-top:90px}
body.b2b-body .cart-title{align-items:center;gap:16px;padding:18px;border-bottom:1px solid #e5ecef}
body.b2b-body .cart-title h2{margin:0;color:#153848;font-size:21px;line-height:1.3}
.cart-count-label{display:grid;justify-items:center;gap:5px;flex:none}.cart-count-label .cart-count{display:grid;place-items:center;min-width:34px;min-height:34px;font-size:16px}.cart-title .cart-count-label small{font-size:11px;letter-spacing:0;color:#607985;font-weight:500;text-align:center}
body.b2b-body .cart-items{min-height:0;max-height:none;overflow:visible;padding:0 18px}
body.b2b-body .cart-entry{display:block;min-width:0;padding:18px 0;border-bottom:1px solid #e5ecef}.cart-entry:last-child{border-bottom:0}
.cart-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.cart-item-heading>div{min-width:0}.cart-item-heading strong{font-size:16px;line-height:1.35;overflow-wrap:anywhere}.cart-item-pack{display:block;margin-top:5px;color:#607985;font-size:13px;font-weight:600}
body.b2b-body .cart-entry .cart-remove{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:10px;border:1px solid #d7e2e6;border-radius:8px;background:#fff;color:#607985}.cart-remove svg{width:20px;height:20px}
body.b2b-body .cart-unit-price{margin:8px 0 12px;color:#607985;font-size:13px;line-height:1.4}
.cart-item-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-width:0}.cart-quantity-control{display:grid;grid-template-columns:44px 48px 44px;flex:none;overflow:hidden;border:1px solid #cbd9dc;border-radius:8px;background:#fff}
body.b2b-body .cart-quantity-control button{min-width:0;min-height:44px;padding:0;border:0;border-radius:0;background:#fff;color:#164d55;font-size:21px;line-height:1}
body.b2b-body .cart-quantity-control .cart-qty{box-sizing:border-box;display:block;width:48px;max-width:none;min-width:0;min-height:44px;margin:0;padding:4px 0;border:0;border-right:1px solid #e1e8eb;border-left:1px solid #e1e8eb;border-radius:0;background:#fff;color:#153848;font:600 16px system-ui;text-align:center;appearance:textfield}
.cart-quantity-control .cart-qty::-webkit-inner-spin-button,.cart-quantity-control .cart-qty::-webkit-outer-spin-button{appearance:none;margin:0}
body.b2b-body .cart-quantity-control .cart-qty[aria-invalid="true"]{outline:2px solid #a03333;outline-offset:-2px;background:#fff5f5}
.cart-item-total{display:grid;gap:5px;min-width:0;text-align:right}.cart-entry .cart-item-total small{margin:0;color:#607985;font-size:12px;line-height:1.4}.cart-entry .cart-item-total strong{font-size:18px;line-height:1.3;overflow-wrap:anywhere}.cart-availability-error{margin:12px 0 0;color:#a03333;font-size:13px}
body.b2b-body .order-data{padding:18px}.order-data h3{margin:0 0 12px;color:#153848;font-size:18px}.order-data #billing-summary{display:grid;gap:6px;margin:0 0 16px;color:#526e7d;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.order-data #billing-summary strong{color:#153848;font-weight:650}
body.b2b-body .order-data .order-check{display:flex;align-items:flex-start;gap:10px;min-height:44px;margin:12px 0;font-size:13px;line-height:1.6}.order-check>span{min-width:0}.order-data .order-check input{flex:none;margin:2px 0 0}.order-check a{font-size:inherit}
body.b2b-body .cart-bottom{padding:18px}.cart-bottom .cart-sum{gap:12px;margin-bottom:16px}.cart-sum span{font-size:14px}.cart-sum strong{font-size:24px}.cart-bottom #place-order{min-height:48px;font-size:16px}.cart-bottom>small{font-size:12px;color:#607985}
.cart-quantity-control button:focus-visible,.cart-remove:focus-visible{outline:2px solid #56843c;outline-offset:-3px}
@media(max-width:700px){body.b2b-body .cart-panel{position:static;margin-top:0}}
.cart-total-block{padding:16px 18px;border-top:1px solid #dce7e8;background:#f1f7f5}.cart-total-block .cart-sum{gap:12px;margin:0}.cart-total-block .cart-sum span{color:#315c4c;font-size:14px;font-weight:600}.cart-total-block .cart-sum strong{font-size:24px;color:#153848}
.cart-price-breakdown{display:grid;gap:9px;margin:0 0 13px;padding:0 0 13px;border-bottom:1px solid #d3e2dc;font-size:14px;color:#526e65}.cart-price-breakdown>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.cart-price-breakdown dt,.cart-price-breakdown dd{margin:0}.cart-price-breakdown dd{color:#153848;font-weight:600;text-align:right;overflow-wrap:anywhere}
body.b2b-body .cart-title h2{min-width:0;overflow-wrap:anywhere}.cart-count-label{max-width:100px}.cart-count-label small{overflow-wrap:anywhere}

/* Product selection and cart are separate steps in the partner order flow. */
body.b2b-body [data-panel="rychla"] .order-layout{grid-template-columns:minmax(0,1fr)}
.partner-cart-screen{max-width:760px;margin:0 auto}.partner-cart-screen .cart-panel{position:static}
body.b2b-body .partner-cart-heading{padding:0 0 20px;border:0;background:transparent}.partner-cart-heading h1{min-width:0;margin:0;color:#153848;font-size:32px;line-height:1.2;overflow-wrap:anywhere}
.partner-catalog-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 0 20px;padding:9px 12px;border:1px solid #cbd9dc;border-radius:8px;background:#fff;color:#17638e;font:600 14px/1.4 system-ui;cursor:pointer}
.partner-cart-screen .empty-cart{margin:0;padding:32px 0;color:#607985;font-size:15px;line-height:1.6}
#cart-checkout-details[hidden],.partner-cart-heading .cart-count-label[hidden],#partner-cart-launcher[hidden]{display:none!important}
.partner-cart-launcher{position:fixed;right:26px;bottom:24px;z-index:65;display:flex;align-items:center;gap:16px;box-sizing:border-box;width:420px;max-width:calc(100vw - 40px);min-height:64px;padding:12px 18px;border:1px solid #6e9d53;border-radius:12px;background:#0d3044;color:#fff;text-align:left;font:600 16px/1.3 system-ui;box-shadow:0 8px 26px #0d30442b;cursor:pointer}
.cart-launcher-copy{display:grid;flex:1;gap:4px;min-width:0}.cart-launcher-copy strong{font-size:16px}.cart-launcher-copy small{color:#ccdae1;font-size:12px;font-weight:400;overflow-wrap:anywhere}.partner-cart-launcher>strong{max-width:45%;color:#fff;font-size:18px;overflow-wrap:anywhere}.partner-cart-launcher>span:last-child{font-size:21px}
.partner-cart-launcher:hover{background:#16465a}.partner-cart-launcher:focus-visible,.partner-catalog-back:focus-visible{outline:2px solid #78ac4d;outline-offset:3px}
.partner-has-cart [data-panel="rychla"]{padding-bottom:100px}
@media(max-width:700px){
 .partner-cart-launcher{right:14px;left:14px;bottom:calc(82px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;gap:12px;padding:12px 16px}
 .partner-cart-heading h1{font-size:29px}.partner-catalog-back{margin-bottom:18px}
}

/* One approved product visual and one ordering action on the overview. */
.partner-order-start{display:block;overflow:hidden;padding:0;isolation:isolate}
.partner-order-start .partner-order-visual{height:140px;min-width:0;background:#0d3044 url('/ag194-user-banner.webp') center/auto 100% no-repeat}
.partner-order-start .partner-order-copy{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:20px;background:#0d3044}
.partner-order-copy>div{flex:1 1 160px;min-width:0}
@media(min-width:900px){
 .partner-order-start{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);min-height:220px}
 .partner-order-start .partner-order-visual{grid-column:2;grid-row:1;height:100%;min-height:220px;background-image:linear-gradient(90deg,#0d3044,transparent 25%),url('/ag194-user-banner.webp')}
 .partner-order-start .partner-order-copy{grid-column:1;grid-row:1;padding:28px}
}

/* Preview is a separate action from downloading partner marketing files. */
body.b2b-body #partner-materials>article{display:block;min-height:0;padding:20px}.materials-grid#partner-materials h3{margin:0 0 16px;font-size:20px}
.partner-material-file+.partner-material-file{margin-top:18px;padding-top:18px;border-top:1px solid #dce6e8}
.partner-material-file .partner-material-preview{gap:10px;min-height:100px;padding:12px;border:1px solid #dce6e8;border-radius:10px;background:#f4f7f9}
.partner-material-preview>span{display:inline-flex;align-items:center;gap:8px;color:#17638e;font:600 13px/1.4 system-ui;letter-spacing:0}.partner-material-preview>span>span{font-size:17px;letter-spacing:0}
.partner-material-info{display:grid;gap:8px;margin-top:14px;min-width:0}.partner-material-info strong{color:#153848;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.partner-material-info small{color:#607985;font-size:12px}.partner-material-info .partner-material-download{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:44px;padding:9px 14px;border:1px solid #cbd9dc;border-radius:8px;background:#fff;color:#17638e;font:600 13px/1.4 system-ui;text-decoration:none}
.partner-material-info .partner-material-download:focus-visible{outline:2px solid #17638e;outline-offset:3px}
body.b2b-body #partner-materials .partner-material-preview img{width:auto;height:auto;max-width:100%;max-height:220px;object-fit:contain}.partner-material-preview>span>svg{width:18px;height:18px;flex:none}


/* Client home: order banner, live status, materials, recent history and contact. */
.partner-home .portal-title-row{margin-bottom:18px}.partner-home .portal-title-row h1{margin:0;color:#153848;font-size:30px;line-height:1.25;letter-spacing:-.03em}
.partner-home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}
.partner-home-action{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;min-height:150px;padding:17px;border:1px solid #dce6e8;border-radius:14px;background:#fff;color:#153848;text-align:left;font:inherit;cursor:pointer}
.home-action-title{padding-right:16px;font-size:14px;font-weight:600;line-height:1.4}.partner-home-action>.home-action-arrow{position:absolute;top:18px;right:13px;width:16px;height:16px;color:#56843c}
.home-active-summary{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;min-width:0}.home-active-summary svg,.home-material-summary>svg{width:30px;height:30px;flex:none;color:#17638e}.home-active-summary [data-order-status-icon="truck"]{color:#56843c}.home-active-summary [data-order-status-icon="none"]{color:#8a9ca6}.home-active-state{display:flex;align-items:center;flex-wrap:wrap;gap:7px;max-width:100%}.home-active-state strong{font-size:17px;line-height:1.3}.home-active-summary>small{color:#607985;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.home-active-count{font-size:28px;line-height:1}
.home-material-summary{display:flex;flex-direction:column;gap:8px;min-width:0}.home-material-summary>span{color:#607985;font-size:13px;line-height:1.5}
.partner-home-history-card{margin-top:0}.partner-home-history-list{max-height:320px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}.home-history-empty{margin:14px 0 4px;color:#607985;font-size:14px;line-height:1.6}
.home-history-all{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:10px;padding:8px 0;border:0;background:transparent;color:#17638e;font:600 14px/1.4 system-ui;cursor:pointer}.home-history-all>svg{width:18px;height:18px}.home-history-all[hidden]{display:none!important}
.partner-home-action:focus-visible,.partner-home-history-list:focus-visible,.home-history-all:focus-visible{outline:2px solid #56843c;outline-offset:3px}
.partner-welcome-support{display:grid;gap:18px;margin-top:22px;padding:22px;border:1px solid #dce6e8;border-radius:16px;background:#fff}.welcome-support-copy h2{margin:0;color:#153848;font-size:22px;line-height:1.3}.welcome-support-copy p{margin:8px 0 0;color:#607985;font-size:14px;line-height:1.6}
.welcome-support-mail{display:flex;align-items:center;gap:14px;min-width:0;min-height:72px;padding:12px 16px;border:1px solid #cbdce0;border-radius:10px;background:#f4f8fa;color:#17638e;text-decoration:none}.welcome-support-mail>svg{width:28px;height:28px;flex:none}.welcome-support-mail>span{display:grid;gap:4px;min-width:0}.welcome-support-mail small{font-size:12px;color:#607985}.welcome-support-mail strong{overflow-wrap:anywhere;font-size:16px;font-weight:650}
.welcome-support-links{display:flex;flex-wrap:wrap;gap:8px}.welcome-support-links a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;box-sizing:border-box;padding:8px 10px;border:1px solid #dce6e8;border-radius:8px;color:#17638e;text-decoration:none;font-size:13px}.welcome-support-links svg{width:14px;height:14px;flex:none}.welcome-support-mail:focus-visible,.welcome-support-links a:focus-visible{outline:2px solid #56843c;outline-offset:3px}
@media(max-width:700px){.partner-home .portal-title-row h1{font-size:28px}.partner-home-action{padding:15px;min-height:150px}.home-action-title{font-size:13px}.home-active-state strong{font-size:15px}.welcome-support-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-support-links a:first-child{grid-column:1/-1}}
@media(max-width:360px){.partner-home-action{padding:13px}.home-active-state{gap:6px}.home-active-summary svg{width:27px;height:27px}.welcome-support-mail{padding:12px}.welcome-support-mail strong{font-size:14px}}
@media(min-width:900px){.partner-home .portal-title-row h1{font-size:34px}.partner-welcome-support{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 30px;padding:26px}.welcome-support-copy{grid-row:1/3}.welcome-support-links{grid-column:2}}

/* Saved carts remain accessible, with stock changes attached to each item. */
.partner-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.partner-cart-access{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid #ffffff45;border-radius:10px;background:transparent;color:#fff;font:650 14px/1.3 system-ui;cursor:pointer}
.partner-cart-access svg{width:22px;height:22px;flex:none}.partner-cart-access strong{display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border-radius:20px;background:#e8f1e3;color:#315b24;font-size:12px}
.cart-access-total{color:#d6e4e9;font-size:12px;font-weight:500}
.partner-cart-access.active{background:#ffffff16;border-color:#a8c69a}.partner-cart-access.has-cart-issues strong{background:#ffdfaa;color:#824800}
.partner-saved-cart{display:flex;align-items:center;gap:16px;width:100%;margin:0 0 18px;padding:18px;border:1px solid #b7cdab;border-radius:14px;background:#f0f6eb;color:#153848;text-align:left;font:inherit;cursor:pointer}
.partner-saved-cart>svg{width:30px;height:30px;flex:none;color:#4f773b}.saved-cart-copy{display:grid;flex:1;gap:6px;min-width:0}.saved-cart-copy>strong{font-size:17px;line-height:1.3}.saved-cart-copy>span{color:#526e65;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.saved-cart-copy>small{color:#914515;font-size:13px;line-height:1.5}.partner-saved-cart>span:last-child{font-size:24px;color:#4f773b}.partner-saved-cart.has-cart-issues{border-color:#dda144;background:#fff8ec}
.partner-cart-status,.partner-cart-save-status{margin:0 0 18px;padding:16px 18px;border:1px solid #d9aa60;border-radius:12px;background:#fff7e8;color:#704612;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.partner-cart-status{margin:16px 18px 0}.cart-status-message{margin:0}.partner-cart-save-status button,.partner-cart-status button,.cart-adjust-available{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:8px 8px 0 0;padding:9px 13px;border:1px solid #a46d28;border-radius:8px;background:#fff;color:#704612;font:600 13px/1.4 system-ui;cursor:pointer}
.cart-reservation-note{margin:16px 18px 0;color:#607985;font-size:12px;line-height:1.6}
body.b2b-body .cart-entry .cart-adjust-available{min-height:44px;padding:9px 13px;border:1px solid #a46d28;border-radius:8px;background:#fff;color:#704612;font:600 13px/1.4 system-ui}
.partner-cart-save-status.is-saving,.partner-cart-save-status.is-saved{padding:8px 14px;border-color:#dce6e8;background:#f1f7f5;color:#526e65;font-size:12px}
body.b2b-body .cart-entry.has-stock-issue{margin:12px 0;padding:16px;border:1px solid #d9aa60;border-left:4px solid #c57d17;border-radius:10px;background:#fff8ee}
body.b2b-body .order-product.has-stock-issue{border-left:4px solid #c57d17;background:#fff8ee}.cart-entry.has-stock-issue .cart-availability-error{display:block;margin-top:14px;color:#854b1d;line-height:1.6}.cart-availability-error strong{display:block;font-size:14px}.cart-availability-error p{margin:4px 0}.cart-entry.has-stock-issue .cart-qty{background:#fff3de}.cart-adjust-available:disabled{opacity:.55;cursor:default}
.partner-cart-access:focus-visible,.partner-saved-cart:focus-visible,.partner-cart-save-status button:focus-visible,.cart-adjust-available:focus-visible{outline:2px solid #78ac4d;outline-offset:3px}
#partner-saved-cart[hidden],#partner-cart-status[hidden],#partner-cart-save-status[hidden],[data-cart-issues][hidden]{display:none!important}
@media(max-width:700px){
 .partner-header-actions{gap:7px;max-width:calc(100% - 108px)}.partner-header-actions .partner-profile-link{min-width:0;max-width:132px;white-space:normal;text-align:left;line-height:1.3}.partner-header-actions .partner-profile-link span{min-width:0;overflow-wrap:anywhere}
 .partner-cart-access{padding:8px 10px;flex:none}.cart-access-label,.cart-access-total{display:none}.partner-cart-access strong{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 4px;border:2px solid #0d3044;font-size:10px}
 .partner-saved-cart{gap:12px;padding:16px}.saved-cart-copy>strong{font-size:16px}.partner-cart-status{margin:14px 14px 0;padding:14px}.partner-cart-save-status{padding:14px}.partner-cart-save-status button{width:100%;margin-right:0}
 body.b2b-body .cart-entry.has-stock-issue{padding:14px}.cart-item-bottom{flex-wrap:wrap}.cart-adjust-available{max-width:100%;margin-right:0}
}
