/* Impeccable / Operate: dense task-first lists, familiar controls, restrained color. */
:root{--b-paper:#f4f5f3;--b-surface:#fff;--b-ink:#202c26;--b-muted:#5c665f;--b-line:#e0e6e1;--b-copper:#176944;--b-warm:#e6f3ea;--b-sage:#176944;--b-green:#e6f3ea;--b-ice:#176780;--b-cold:#e9f4f8}
body{background:#f4f5f3;color:#202c26}::selection{background:#c8e7d4;color:#163625}input{caret-color:#176944}h1{font-size:30px;letter-spacing:-.025em}h2{letter-spacing:-.015em}.eyebrow{display:none!important}.b-icon{stroke-width:1.8}.lab-banner{position:sticky;top:0;z-index:70;min-height:34px;box-sizing:border-box;padding:6px 16px;display:flex;align-items:center;gap:16px;justify-content:center;background:#fcf0cc;color:#604c13;font-size:11px;line-height:1.25;border-bottom:1px solid #e5d29f}.lab-banner strong{letter-spacing:.06em;font-size:10px}.lab-banner span{font-size:11px}.lab-banner button{min-height:24px;font-size:11px;padding:2px 8px;background:#f6e6b8;color:#604c13;border-radius:5px}.lab-banner:before{content:'';width:6px;height:6px;background:#967319;border-radius:50%}.lab-tools-body{padding:0 22px 24px;font-size:15px}.lab-tools-body p{line-height:1.5}.lab-tools-body h3{margin-top:22px}#lab-feedback{position:fixed;bottom:165px;left:50%;transform:translateX(-50%);padding:12px 16px;background:#20362a;color:#fff;border-radius:10px;max-width:min(440px,calc(100vw - 24px));font-size:14px;line-height:1.4;z-index:95;opacity:0;pointer-events:none;transition:opacity 140ms}#lab-feedback.show{opacity:1}.lab-offline .lab-banner{background:#f8dfdd;color:#9a302b}.lab-login-hint{font-size:13px;line-height:1.5;color:#5c665f;background:#f2f5f1;padding:10px;border-radius:8px}.login h1{font-size:32px}.saving::after{content:'Salvataggio…';position:fixed;right:16px;top:44px;padding:8px 12px;background:#20362a;color:white;border-radius:8px;font-size:12px;z-index:80}.saving #app button.primary{opacity:.7}
.primary,.button.primary,.bar button.primary,.hero .start-service{background:#176944!important;color:white}.primary:hover,.button.primary:hover{background:#105236!important}.blue,.button.blue{background:#e8f1ec;color:#176944}.amber,.button.amber{background:#faf0dd;color:#7f5717}.violet,.button.violet{background:#edf0f5;color:#43576b}.danger{background:#fcefed;color:#ac302b}.brand-mark{background:#176944;border-radius:9px;letter-spacing:0}.work-header,.global-shell{backdrop-filter:none;background:#fafbf9}.work-header strong{font-size:18px}.work-header .edition{font-size:12px}.work-header #account{color:#176944;background:#e8f1ec}.work-brand .brand-mark{width:32px;height:32px;font-size:11px}.workspace-heading h1{font-size:30px}.workspace-heading p{font-size:14px}.service-ready{padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #dce3dd;border-bottom:1px solid #dce3dd;margin-bottom:18px}.service-ready h2{font-size:23px;margin:0 0 8px}.service-ready p{font-size:15px;color:#5c665f;margin:0}.start-service{min-height:52px;font-size:16px;padding:14px 22px;border-radius:12px}.service-shortcuts{display:flex;flex-direction:column;margin:16px 0 24px}.service-shortcuts>a{display:flex;align-items:center;gap:12px;text-decoration:none;color:#203c2a;min-height:58px;border-bottom:1px solid #e0e6e1;font-size:15px}.service-shortcuts>a .b-icon:last-child{margin-left:auto;width:18px}.service-shortcuts>a .b-icon:first-child{color:#176944}.previous-service{padding:20px}.previous-service h2{font-size:19px}.previous-service .stat{font-size:18px}
#nav a.active,.banco-app.authenticated #nav a.active,.global-menu a[aria-current]{background:#e4f1e8!important;color:#176944!important}.nav-more.active{background:#e4f1e8;color:#176944}.navigation-destinations a .b-icon{color:#176944}.navigation-destinations a.active{background:#f1f6f2}.navigation-sheet .quiet{color:#176944}.prep-actions button.primary{background:#176944!important}.prep-actions button.blue{background:#e8f1ec;color:#176944}.prep-actions button.amber{background:#faf0dd;color:#7f5717}.prep-actions button.violet{background:#edf0f5;color:#43576b}.prep-actions{gap:8px;max-width:760px}.prep-fold{border-radius:12px}.prep-fold>summary{font-size:16px!important;min-height:52px}.prep-fold>summary .b-icon{width:22px;height:22px;color:#176944}.prep-fold[data-prep-section=labels]>summary .b-icon{color:#ac302b}.prep-fold[data-prep-section=transfer]>summary .b-icon,.prep-fold[data-prep-section=batch]>summary .b-icon{color:#176780}.prep-screen .preparation-row{grid-template-columns:40px minmax(100px,1fr) 44px auto 32px;padding:12px 16px;gap:12px}.prep-screen .task .tick{width:38px;height:38px;min-height:38px;font-size:19px;border:1.5px solid #b8c8bd;color:#176944}.prep-screen .task.checked .tick{background:#176944;border-color:#176944}.prep-screen .task .name{font-size:16px}.remaining-stock{font-size:13px}.prep-screen .task .meta{font-size:12px}.quantity-badge{color:#176944}.quantity-badge strong{font-size:25px;font-weight:650}.quantity-badge small{font-size:11px}.task-grip{width:32px;min-width:32px;min-height:44px;padding:0;display:grid;place-items:center;background:transparent;color:#7e8e83;border-radius:6px;touch-action:none;cursor:grab}.task-grip .b-icon{width:18px;height:18px}.task-grip:hover{background:#eef2ed}.task-grip:active{cursor:grabbing}.task-actions{gap:6px;align-items:center}.task-actions button.small{font-size:12px;min-height:40px}.prep-utility{gap:8px}.prep-board{gap:10px}.reserve-row{min-height:60px;padding:5px 14px!important}.reserve-product>b{font-size:15px;font-weight:550}.reserve-count button{color:#176944}.reserve-row>.blue{color:#176944;background:transparent}.reserve-count>div{background:#eef2ed}.reserve-count>span{color:#58645b}.reserve-help{background:#fafbf9;font-size:12px!important}.recovered-label{border:1px solid #d3625b!important;background:#fff3f1!important;border-radius:8px!important;margin:8px!important}.label-row .grow{line-height:1.4}.prep-fold[open]>.task,.prep-fold[open]>.opening-row,.prep-fold[open]>.reserve-row{animation:none}.bar{backdrop-filter:none;background:#fafbf9;border-color:#dbe4dc}.bar button{background:#e8f1ec;color:#176944}.bar button.blue{background:#e8f1ec;color:#176944}.compact-settings h2 .b-icon{background:transparent!important;color:#176944;stroke:#176944!important;box-sizing:border-box;padding:0;width:22px;height:22px;border-radius:0}.settings-buttons{background:#f5f7f3}.settings-buttons button,.settings-buttons a{color:#176944}.settings-buttons button:hover{background:#e9f1e9}.target-content{background:#f2f5f0}.target-card summary{min-height:62px}.target-card summary strong{font-size:16px}.product-group legend{font-size:14px}.product-group{border-radius:10px}.target-status[data-state=ready]{color:#176944;background:#e4f1e8}.number-control{background:#eef2ed}.number-control button{color:#176944}.stock-row{padding:10px 0}.stock-row b{font-size:15px}.list-filters input,.list-filters select{background:#eaf0e9}.product-tile{border-radius:12px;box-shadow:none}.product-tile .tap{border-radius:12px}.product-tile .tap .name{color:#20362a}.product-tile.with-freezer{box-shadow:inset 0 2px #73aabc}.product-tile.low-stock .tap{background:#fff8e8}.portion{background:#f2f5f0!important}.drag-handle{touch-action:none!important;background:#e9f1e9!important;color:#176944!important}.display-tile .tap{touch-action:pan-y}.lab-sort-chosen{background:#e4f1e8!important}.lab-sort-ghost{opacity:.35;background:#dfebe0!important}.lab-sort-drag{box-shadow:0 10px 30px #19372626;background:white}.lab-sort-drag .task-grip{cursor:grabbing}.control-tile.selected{background:#e4f1e8!important;box-shadow:inset 0 0 0 2px #176944}.selected .control-choice{background:#176944}.banco-shopping .btn:not(.secondary):not(.ghost){background:#176944}.banco-shopping .textlink,.banco-shopping .text-button{color:#176944}.banco-shopping .supplier-card .arrow{color:#176944}.banco-recipes #filters button.active{color:#176944}
@media(min-width:1100px){body.banco-app.authenticated,body.banco-recipes,body.banco-shopping{padding-left:204px!important}.lab-banner{position:fixed;top:0;left:0;right:0;justify-content:center}.work-header,.global-shell{margin-top:0;padding:16px 26px;min-height:69px}.banco-app.authenticated #nav,.global-shell .global-menu{position:fixed!important;left:0!important;top:0!important;bottom:0;width:204px!important;height:100dvh!important;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:96px 14px 20px!important;background:#edf2ed!important;gap:6px!important;border-right:1px solid #dce5dd;border-bottom:0;backdrop-filter:none}.banco-app.authenticated #nav a,.global-shell .global-menu a{justify-content:flex-start;font-size:14px;min-height:48px;padding:12px!important;border-radius:9px;gap:10px}.banco-app.authenticated #nav::before,.global-shell .global-menu::before{content:'Lavoro quotidiano';position:absolute;top:62px;left:26px;font-size:11px;letter-spacing:0;text-transform:none;color:#5c665f;background:transparent;font-weight:650}.banco-app.authenticated #nav a.active,.global-menu a[aria-current]{color:#fff!important;background:#176944!important}.banco-app.authenticated #app{max-width:1200px;margin:0 auto;padding:25px 28px 110px}.bar{left:204px!important}.global-shell{position:relative}.global-shell .global-brand{margin:0}.global-shell~header,.global-shell~main{margin-left:0}.banco-shopping .shell .main{max-width:1160px}.global-menu .nav-more{display:none!important}.work-header .work-brand{min-height:36px}#lab-feedback{bottom:100px}}
@media(min-width:768px) and (max-width:1099px){#nav,.banco-app.authenticated #nav,.global-menu{top:0!important}.lab-banner{position:sticky;top:0}.work-header{min-height:61px}.prep-screen .preparation-row{grid-template-columns:40px minmax(100px,1fr) 44px auto 28px;gap:9px}.task-actions button.small{font-size:12px;padding:6px 8px}.task-grip{width:28px;min-width:28px}}
@media(max-width:767px){.lab-banner{min-height:32px;padding:5px 10px;gap:8px;font-size:10px;justify-content:space-between}.lab-banner span{display:none}.work-header,.global-shell{min-height:52px;padding:8px 14px}.work-header .work-brand strong{font-size:16px}#app,.prep-screen #app{padding:18px 12px 170px}.workspace-heading h1,.prep-screen .intro h1{font-size:26px}.prep-actions{margin:10px 0 14px!important;gap:5px}.prep-actions button,.prep-actions button:nth-child(4){min-height:58px;font-size:11px;padding:5px 3px}.prep-fold>summary{font-size:15px!important;padding:11px 13px!important;gap:8px}.prep-screen .preparation-row{grid-template-columns:36px minmax(0,1fr) 40px 26px;gap:8px;padding:11px 12px}.prep-screen .task .tick{width:36px;height:36px;min-height:36px}.prep-screen .task .name{font-size:15px}.task-actions{grid-column:2/4;grid-row:2;gap:4px}.task-actions button.small{padding:6px 8px;font-size:11px;min-height:38px}.task-grip{grid-column:4;grid-row:1/3;width:26px;min-width:26px;min-height:48px}.task-grip .b-icon{width:18px}.remaining-stock{font-size:12px}.prep-screen .task .meta{font-size:11px}.quantity-badge strong{font-size:24px}.quantity-badge small{font-size:10px}.reserve-row{padding:4px 12px!important;min-height:62px}.reserve-product>b{font-size:14px}.reserve-help{font-size:11px!important}.opening-row b{font-size:15px}.opening-row .meta{font-size:12px}.service-ready{align-items:stretch;flex-direction:column;gap:20px;padding:22px 0}.service-ready h2{font-size:22px}.service-ready p{font-size:14px}.service-shortcuts{margin-top:0}.start-service{width:100%;min-height:52px}.settings-buttons button,.settings-buttons a{font-size:14px}.target-content{padding:8px}.stock-row b{font-size:13px}.lab-login-hint{font-size:12px}dialog::before{background:#b7c9bd}.navigation-sheet .dialog-head{padding:12px 18px}.lab-tools-body{padding:0 18px 22px}.lab-tools-body h3{font-size:16px}body.service-fullscreen .lab-banner{position:fixed;left:0;right:0;top:0;min-height:26px}body.service-fullscreen #app{padding-top:36px!important}.bar button{font-size:12px}.notice{font-size:13px}.lab-banner strong{font-size:9px;letter-spacing:.02em}.banco-shopping .shell .main{padding:18px 12px 100px}}
body.service-fullscreen{padding-left:0!important}body.service-fullscreen .bar{left:0!important}body.service-fullscreen .lab-banner{display:flex}body.service-fullscreen #app{padding-top:42px!important}@media(prefers-reduced-motion:reduce){.lab-sort-chosen,.lab-sort-drag{transition:none!important}}

.prep-screen .remaining-stock{font-size:16px;line-height:1.4;color:#20362a}.prep-screen .remaining-stock strong{font-weight:750}.prep-screen .remaining-stock .remaining-number{font-size:23px;font-weight:800;font-variant-numeric:tabular-nums}

/* Uniform preparation sections; color distinguishes only their outline. */
.prep-screen .prep-board,.prep-screen .prep-utility{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:12px}
.prep-screen .prep-lane{margin:0;padding:0;min-width:0}
.prep-screen .prep-fold{--section-border:#718096;box-sizing:border-box;width:100%;margin:0!important;border:2px solid var(--section-border)!important;border-radius:12px!important;background:#fff!important;overflow:hidden}
.prep-screen .prep-fold>summary{box-sizing:border-box;min-height:60px!important;padding:14px 16px!important;display:flex;align-items:center;gap:10px;font-size:16px!important;font-weight:650;background:#fff!important}
.prep-screen .prep-fold[data-prep-section=fresh]{--section-border:#29804e}
.prep-screen .prep-fold[data-prep-section=labels]{--section-border:#c14e55}
.prep-screen .prep-fold[data-prep-section=reserves]{--section-border:#847043}
.prep-screen .prep-fold[data-prep-section=purchased]{--section-border:#b78228}
.prep-screen .prep-fold[data-prep-section=batch]{--section-border:#6558a6}
.prep-screen .prep-fold[data-prep-section=transfer]{--section-border:#2983a8}
.prep-screen .prep-fold[data-prep-section=cellar]{--section-border:#4a7695}
.prep-screen .prep-fold[data-prep-section=vacuum]{--section-border:#2b8a7d}
.prep-screen .prep-fold[data-prep-section=openings]{--section-border:#ac6a42}
.prep-screen .prep-fold[data-prep-section=history]{--section-border:#677381;margin-bottom:12px!important}
.production-history-content{padding:12px 16px}.production-history-content>p{margin:0 0 12px}.production-history-content>details{border:1px solid #dce1dd;border-radius:8px;margin:8px 0}.production-history-content>details>summary{padding:12px;min-height:48px;cursor:pointer}

.reprint-count{margin:12px 0}.reprint-count label{display:grid;gap:8px}.reprint-count .number-control{width:144px;grid-template-columns:36px minmax(0,1fr) 36px}.reprint-count .number-control button{min-height:36px;height:36px;font-size:18px;padding:4px}.reprint-count input{min-height:36px;font-size:18px;text-align:center}

#dialog.compact-print-dialog{width:min(390px,calc(100vw - 24px))!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:85dvh;inset:auto 0 auto 0!important;top:50%!important;transform:translateY(-50%)!important;margin:0 auto!important;padding:0!important;border-radius:14px!important}
#dialog.compact-print-dialog .dialog-head{padding:10px 14px;min-height:0;gap:8px}
#dialog.compact-print-dialog .dialog-head h2{font-size:19px;margin:0}
#dialog.compact-print-dialog #dialog-body{padding:0 14px 14px;height:auto;min-height:0}
#dialog.compact-print-dialog #dialog-body p{margin:8px 0;line-height:1.35}
#dialog.compact-print-dialog .actions{margin-top:10px;padding-top:0;gap:8px}
#dialog.compact-print-dialog .actions button{min-height:40px;padding:8px 12px;font-size:14px}
#dialog.compact-print-dialog .label-item{padding:8px;margin:8px 0}
#dialog.compact-print-dialog .label-item h3{margin:0 0 8px;font-size:17px}
#dialog.compact-print-dialog .label-preview{max-width:170px;margin:8px auto}
#dialog.compact-print-dialog .reprint-count{margin:10px 0}
#dialog.compact-print-dialog::before{display:none}
#dialog.compact-print-dialog #dialog-body{max-height:calc(85dvh - 70px);overflow-y:auto;overscroll-behavior:contain}
.service-history{margin-top:20px}.service-history>h2{margin:0 0 5px}.service-history>.muted{margin:0 0 16px}.service-day{border-top:1px solid #dce3dd}.service-day>summary,.service-session>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;cursor:pointer}.service-day>summary strong,.service-session>summary strong{font-size:15px}.service-day>summary span,.service-session>summary span{color:#5c665f;font-size:13px;white-space:nowrap}.service-day-content{padding:0 0 12px 14px}.service-session{border-left:2px solid #bad2c1;padding-left:14px}.service-taps{padding:0 0 8px}.service-tap{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 0;border-top:1px solid #edf0ed;font-size:14px}.service-tap strong{min-width:0;overflow-wrap:anywhere}.service-tap-time{color:#5c665f;font-size:12px}.service-tap.is-undone{color:#7a8180;text-decoration:line-through}.service-taps>.muted{margin:4px 0 12px;font-size:13px}@media(max-width:400px){.service-history{padding:16px}.service-day>summary strong,.service-session>summary strong{font-size:14px}.service-day>summary span,.service-session>summary span{font-size:12px}.service-day-content{padding-left:8px}.service-session{padding-left:8px}}
.service-product{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #edf0ed;font-size:14px}.service-product strong{min-width:0;overflow-wrap:anywhere}.service-product span{color:#445d4d;white-space:nowrap;font-weight:700}.service-day-content>.muted{margin:4px 0 12px;font-size:13px}@media(max-width:400px){.service-product{font-size:13px}.service-product span{font-size:12px}}

.banco-app .unified-product-form .product-group{border:2px solid #727a75;border-radius:14px;padding:16px;margin-bottom:20px}.banco-app .unified-product-form .product-group>legend,.banco-app .unified-product-form .product-group>summary{font-size:20px;font-weight:750;color:var(--ios-text,#20362a);line-height:1.4}.unified-product-form .product-dates-entry{margin-bottom:18px}

/* Product options stay readable and touchable in the light product sheet. */
.banco-app .unified-product-form .product-group{background:#fff!important;color:#20362a!important;color-scheme:light}
.banco-app .unified-product-form :is(label,input,select,textarea){font-size:18px;color:#20362a}
.banco-app .unified-product-form .check{display:flex;align-items:center;gap:14px;min-height:52px;padding:12px;box-sizing:border-box;background:#fff;color:#20362a;font-size:18px;line-height:1.4;cursor:pointer}
.banco-app .unified-product-form .check small{display:block;margin-top:6px;font-size:15px;line-height:1.5;color:#45534a}
.banco-app .unified-product-form .check input[type=checkbox]{appearance:none;-webkit-appearance:none;display:grid;place-content:center;flex:0 0 28px;width:28px;height:28px;min-height:28px;margin:0;padding:0;border:2px solid #515e55!important;border-radius:6px;background:#fff!important;opacity:1;cursor:pointer}
.banco-app .unified-product-form .check input[type=checkbox]:checked{background:#176944!important;border-color:#176944!important}
.banco-app .unified-product-form .check input[type=checkbox]:checked::after{content:"";width:7px;height:14px;border:solid #fff;border-width:0 3px 3px 0;transform:translateY(-2px) rotate(45deg)}
.banco-app .unified-product-form .check input:focus-visible{outline:3px solid #176780;outline-offset:4px}
.banco-app .unified-product-form :is(small,.muted){font-size:15px;color:#45534a}
.banco-app .reprint-count button{min-width:56px;min-height:56px;font-size:28px;background:#176944;color:#fff}
.banco-app .reprint-count input{width:90px;min-height:56px;text-align:center;font-size:24px}
.banco-app .container-count>div{display:flex;align-items:center;justify-content:center;gap:16px}
.banco-app .unified-product-form .product-group>:is(summary,legend){color:#20362a!important}
.banco-app .unified-product-form :is(input,select,textarea){background:#fff!important;color:#20362a!important}
.banco-app .unified-product-form .product-flags{background:#fff!important}
