/* Shared Brindiamo presentation. Status colors and hidden state remain semantic. */
body[data-brindiamo-sales-theme]{--ink:#001b41;--wine:#001b41;--paper:#fff5df;--gold:#d29804;color-scheme:light;background:#fff5df;color:#001b41;font-family:Lato,Arial,sans-serif;font-size:16px;line-height:1.5;margin:0}
body[data-brindiamo-sales-theme] main{color:#001b41}
body[data-brindiamo-sales-theme] :is(h1,h2,.brand){color:#001b41;font-family:'Bodoni Moda',Georgia,serif}
body[data-brindiamo-sales-theme] h1{font-size:clamp(29px,3vw,42px);line-height:1.2}
body[data-brindiamo-sales-theme] h2{line-height:1.3}
body[data-brindiamo-sales-theme] :is(a,label,.eyebrow){color:#001b41}
body[data-brindiamo-sales-theme] :is(input,select,textarea){font:inherit;color:#001b41;background:#fffdf7;border-color:#d6bc83;border-radius:9px;accent-color:#001b41}
body[data-brindiamo-sales-theme] :is(input,select,textarea):focus-visible,body[data-brindiamo-sales-theme] :is(a,button,summary):focus-visible{outline:3px solid #d29804;outline-offset:3px}
body[data-brindiamo-sales-theme] :is(button,.button,.sales-account-link){font-family:Lato,Arial,sans-serif;color:#001b41;background:#fffaf0;border:1px solid #d6bc83;border-radius:10px;box-shadow:none}
body[data-brindiamo-sales-theme] :is(button,.button){min-height:42px}
body[data-brindiamo-sales-theme] :is(button,.button):hover:not(:disabled){border-color:#d29804;background:#ffefc7}
body[data-brindiamo-sales-theme] :is(.primary,.btn-primary,button[type=submit]){background:#001b41;color:#fff8e9;border-color:#001b41}
body[data-brindiamo-sales-theme] :is(.primary,.btn-primary,button[type=submit]):hover:not(:disabled){background:#12375c;color:#fff8e9}
body[data-brindiamo-sales-theme] > header,body[data-brindiamo-sales-theme] main > header:first-child{background:#fff0cc;color:#001b41;border-top:5px solid #d29804;border-bottom:1px solid #d6bc83;background-image:linear-gradient(90deg,#fff0cc00,#fff0cc 230px),url('/_sales-login/brindiamo-druiven.png');background-size:auto,240px auto;background-position:left top;background-repeat:no-repeat;padding:18px 24px}
body[data-brindiamo-sales-theme] header :is(a,button){font-size:14px;line-height:1.35;padding:10px 15px;color:#001b41}
body[data-brindiamo-sales-theme] header nav{gap:8px;border-color:#d6bc83;background:transparent}
body[data-brindiamo-sales-theme] header :is(h1,.brand){font-size:clamp(29px,3vw,42px)}
body[data-brindiamo-sales-theme] header p{color:#001b41}
body[data-brindiamo-sales-theme] header .brand span{letter-spacing:2px}
body[data-brindiamo-sales-theme] :is(.card,.panel,.task,dialog){background:#fffdf7;color:#001b41;border-color:#dfcda5;border-radius:14px}
body[data-brindiamo-sales-theme] :is(.hint,.muted,small){color:#5c563f}
body[data-brindiamo-sales-theme] table{color:#001b41}
body[data-brindiamo-sales-theme] th{background:#ffefc7;color:#001b41;border-color:#dfcda5}
body[data-brindiamo-sales-theme] :is(td,tr){border-color:#dfcda5}
body[data-brindiamo-sales-theme] .notice[role=alert]{background:#fff0cc;color:#001b41;border:1px solid #d2ad59;border-left:4px solid #d29804}
body[data-brindiamo-sales-theme] :is(.menu,.toolbar,.filters){border-color:#dfcda5}
/* Existing Next/Tailwind Sales app: replace only its old neutral/brand surfaces. */
body[data-brindiamo-sales-theme] :is(.bg-stone-100,.bg-stone-50,.bg-gray-100,.bg-gray-50){background:#fff5df}
body[data-brindiamo-sales-theme] :is(.bg-white,.bg-white\/10){background:#fffdf7;color:#001b41}
body[data-brindiamo-sales-theme] [class*="bg-[#24130f]"]{background-color:#fff0cc;color:#001b41}
body[data-brindiamo-sales-theme] [class*="bg-[#8b1e2d]"]{background:#001b41;color:#fff8e9;border-color:#001b41}
body[data-brindiamo-sales-theme] :is([class*="text-[#8b1e2d]"],[class*="text-[#24130f]"],.text-stone-900){color:#001b41}
body[data-brindiamo-sales-theme] header .flex.flex-wrap{gap:8px}
body[data-brindiamo-sales-theme] header .border-white\/20{border-color:#d6bc83}
body[data-brindiamo-sales-theme] .sales-account-link{font-size:13px}
body[data-brindiamo-sales-theme] .packing-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}
body[data-brindiamo-sales-theme] .packing-actions form{margin:0}
/* The portal already has its own grape strip. Preserve that layout. */
body[data-brindiamo-sales-theme].brand-gold-shell > header{background-image:none}
@media(max-width:640px){body[data-brindiamo-sales-theme] > header,body[data-brindiamo-sales-theme] main > header:first-child{padding:14px 16px}body[data-brindiamo-sales-theme] header :is(a,button){padding:9px 11px;font-size:13px}body[data-brindiamo-sales-theme] header .flex.flex-wrap{gap:7px}body[data-brindiamo-sales-theme] header{flex-wrap:wrap}body[data-brindiamo-sales-theme] .packing-actions{align-items:stretch;flex-direction:column}}
@media print{body[data-brindiamo-sales-theme]{background:#fff}body[data-brindiamo-sales-theme]>header{background-image:none}}
/* Compact portal download controls, also loaded by the customer portal. */
body.customer-portal .packing-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}
body.customer-portal .packing-actions form{margin:0}
body.customer-portal .packing-actions .button{display:inline-block;text-decoration:none;padding:12px 18px;border-radius:10px;background:#001b41;color:#fff8e9;border:1px solid #001b41;font-weight:700}
@media(max-width:600px){body.customer-portal .packing-actions{align-items:stretch;flex-direction:column}body.customer-portal .packing-actions .button{text-align:center}}
body[data-brindiamo-sales-theme].brindiamo-login{min-height:100vh;background:#fff5df url('/_sales-login/brindiamo-druiven.png') left top / min(26vw,340px) auto no-repeat;padding:32px 16px}
body[data-brindiamo-sales-theme].brindiamo-login main{background:#fffdf7;border:1px solid #d6bc83;border-top:5px solid #d29804;border-radius:16px;padding:28px}
body[data-brindiamo-sales-theme].brindiamo-login h1{color:#001b41}
body[data-brindiamo-sales-theme].brindiamo-login :is(button,.button){background:#001b41;color:#fff8e9}
@media(max-width:600px){body[data-brindiamo-sales-theme].brindiamo-login{background-size:180px auto;padding:16px 10px}}

body.customer-portal .notice[role="alert"]{background:#fff0cc;border:1px solid #d2ad59;border-left:4px solid #d29804;color:#001b41;border-radius:14px;padding:18px 22px;line-height:1.6}
body[data-brindiamo-sales-theme] :is(.text-stone-500,.text-stone-600,.text-stone-700,.text-gray-500,.text-gray-600){color:#5c563f}
body[data-brindiamo-sales-theme] :is(.danger,.destructive){color:#9e2924;border-color:#c98579;background:#fff3eb}

body[data-brindiamo-sales-theme] .sales-login-brand{font:500 39px/1.2 'Bodoni Moda',Georgia,serif;text-align:center;color:#001b41;margin-bottom:26px}
body[data-brindiamo-sales-theme] .sales-login-brand span{display:block;font:10px/2 Lato,Arial,sans-serif;letter-spacing:1.5px;margin-top:7px}

/* Original Brindiamo image; accessible brand text remains in the markup. */
body[data-brindiamo-sales-theme] .brand,
body[data-brindiamo-sales-theme] .sales-login-brand,
body.brand-gold-shell .site-header .brand,
body[data-brindiamo-sales-theme] > main > header:first-child h1.font-serif{
 display:block;width:190px;max-width:100%;height:99px;min-height:99px;flex-shrink:0;
 background:transparent url('/klanten/photo.php?brindiamo_logo=1&v=1') left center/contain no-repeat;
 font-size:0!important;line-height:0!important;color:transparent!important;text-shadow:none;
 padding:0!important;overflow:hidden
}
body[data-brindiamo-sales-theme] .brand span,
body[data-brindiamo-sales-theme] .sales-login-brand span,
body.brand-gold-shell .site-header .brand span{font-size:0!important;line-height:0!important;letter-spacing:0}
body[data-brindiamo-sales-theme] .sales-login-brand{margin:0 auto 24px;background-position:center}
body[data-brindiamo-sales-theme] > main > header:first-child h1.font-serif + p{display:none}
/* Utility screens without a header still show the same brand image. */
body[data-brindiamo-sales-theme]:not(.brindiamo-login):not(.brand-gold-shell):not(:has(>header)):not(:has(>main>header)) >main:before{
 content:'';display:block;width:180px;max-width:100%;height:94px;margin:0 0 24px;
 background:transparent url('/klanten/photo.php?brindiamo_logo=1&v=1') left center/contain no-repeat
}
@media(max-width:600px){
 body[data-brindiamo-sales-theme] .brand,body.brand-gold-shell .site-header .brand,
 body[data-brindiamo-sales-theme] > main > header:first-child h1.font-serif{width:155px;height:81px;min-height:81px}
 body[data-brindiamo-sales-theme] .sales-login-brand{width:190px;height:99px}
}
@media print{body[data-brindiamo-sales-theme] .brand,body.brand-gold-shell .site-header .brand{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* BRINDIAMO_LOGO_ALL_V2 */

/* BRINDIAMO_ARTICLE_PRESENTATION_V1 — presentation only, original controls remain in place. */
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"]){background:#fff5df;color:#001b41;font-family:Lato,Arial,sans-serif;line-height:1.5}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header{background:#fff5df;color:#001b41;border-bottom:1px solid #dfc99b;padding:24px}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header>.mb-5.flex.flex-wrap{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;border-color:#dfc99b;padding-bottom:22px;margin-bottom:24px}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header :is(a,button){box-sizing:border-box;min-height:52px;max-width:100%;white-space:normal;overflow-wrap:anywhere;background:#faedcd;color:#001b41;border:1px solid #cba24b;border-radius:10px;padding:12px 16px;text-decoration:none;font:600 14px/1.4 Lato,Arial,sans-serif;box-shadow:none}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header :is(a,button):hover:not(:disabled){background:#f3dfad;border-color:#b58a32}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header :is(a,button)[aria-pressed=true]{background:#f3dfad;box-shadow:inset 0 0 0 1px #b58a32}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header [class*="bg-[#8b1e2d]"]{background:#001b41;color:#fff5df;border-color:#001b41}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header h1{font-family:Georgia,serif;color:#001b41}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header p{color:#001b41}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header .flex.flex-wrap{gap:10px;min-width:0}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header .flex.flex-wrap>button{flex:1 1 auto}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"]) :is(label,[class*="text-[#8b1e2d]"]){color:#001b41}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"]) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;min-height:48px;padding:11px 12px;background:#fffdf6;color:#001b41;border:1px solid #cfb47d;border-radius:9px;font:400 16px/1.4 Lato,Arial,sans-serif}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"]) :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #001b41;outline-offset:3px}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section{background:#fffaf0;border-color:#dfc99b;color:#001b41}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section button{box-sizing:border-box;min-height:48px;padding:11px 15px;border:1px solid #cba24b;border-radius:10px;background:#faedcd;color:#001b41;font:500 14px/1.4 Lato,Arial,sans-serif;white-space:normal}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section button:hover:not(:disabled){background:#f3dfad}
@media(max-width:900px){main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header>.mb-5.flex.flex-wrap{grid-template-columns:repeat(3,minmax(0,1fr))}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header>.flex{flex-direction:column;align-items:stretch;gap:18px}}
@media(max-width:600px){main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header{padding:18px 14px}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header>.mb-5.flex.flex-wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header .flex.flex-wrap>button{flex:1 1 calc(50% - 10px);min-width:0}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header :is(a,button){font-size:14px;padding:11px 10px;min-height:48px}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section{padding:18px 14px}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section .grid{grid-template-columns:1fr}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section .flex{flex-wrap:wrap;min-width:0}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section .flex>button{flex:1 1 auto}}

main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>header>.mb-5.flex.flex-wrap>a:not([hidden]):not(.hidden){display:flex;align-items:center;justify-content:center;text-align:center}

@media(max-width:600px){main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section .flex>label{flex:1 1 100%;width:100%;min-width:0}main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section .flex>button{flex:1 1 calc(50% - 12px)}}

/* Brindiamo Sales: approved soft leaf green, 2026-11-22. */
body[data-brindiamo-sales-theme]{--sales-leaf:#e1edcf;--sales-leaf-ink:#001b41;--sales-cream:#fff5df;--sales-gold:#d6bc83}
body[data-brindiamo-sales-theme] :is(.card,.panel,.order,.task,.receipt-row,.totals,.line.picked,.save-state.saved){background:var(--sales-leaf);color:var(--sales-leaf-ink);border-color:var(--sales-gold)}
body[data-brindiamo-sales-theme] .ml-dialog .ml-inventory{background:var(--sales-leaf);color:var(--sales-leaf-ink);border-color:var(--sales-gold)}
body[data-brindiamo-sales-theme] .save-state.saved{border:1px solid var(--sales-gold)}
body[data-brindiamo-sales-theme] :is(.bg-green-50,.bg-emerald-50,.bg-green-100,.bg-emerald-100){background:var(--sales-leaf);color:var(--sales-leaf-ink)}
body[data-brindiamo-sales-theme] :is(.bg-white,.bg-white\/10){background:var(--sales-leaf);color:var(--sales-leaf-ink)}
main.min-h-screen.bg-stone-100:has(>header[class*="bg-[#24130f]"])>section{background:#e1edcf;color:#001b41;border-color:#d6bc83}
/* Keep editable fields cream and preserve error/warning status colors. */
body[data-brindiamo-sales-theme] :is(input,select,textarea){background:#fffdf7;color:#001b41}
body[data-brindiamo-sales-theme] .ml-dialog .ml-saved{background:var(--sales-leaf);color:var(--sales-leaf-ink);border-color:var(--sales-gold);border-left-color:#d29804}
