:root{--white:#ffffff;--background:#f6f7f3;--surface-subtle:#fafbf7;--cream:#eff2e9;--green-100:#e2ebd6;--line:#e4e8e0;--line-strong:#dce5d3;--green-200:#bbcbb0;--green-300:#8fa97d;--accent:#86bc3d;--muted:#5f6b5b;--green-hover:#344c32;--green:#233a25;--text:#28322a;--warning-bg:#fcf5e8;--warning-line:#eddfbf;--warning-text:#7e6130;--danger-bg:#f8eeec;--danger:#a74636;--fs-xs:12px;--fs-sm:13px;--fs-base:14px;--fs-md:16px;--fs-lg:18px;--fs-xl:22px;--fs-2xl:26px;--fs-3xl:31px;--fs-display:37px;--radius-sm:6px;--radius-md:10px;--radius-lg:13px;--radius-xl:20px;--radius-pill:999px;--radius:var(--radius-lg);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--tap:44px;font-family:Inter,'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text);background:var(--background);font-synthesis:none;font-size:var(--fs-base);line-height:1.55}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.48}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:650;color:var(--green);line-height:1.3}h1{font-size:var(--fs-3xl);letter-spacing:-1px}h2{font-size:var(--fs-lg);letter-spacing:-.25px}h3{font-size:var(--fs-md)}p{line-height:1.65}strong{font-weight:600}[hidden]{display:none!important}input,select,textarea{min-width:0}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}input:focus,select:focus,textarea:focus{outline:2px solid #91ad77;outline-offset:2px;border-color:var(--green-300)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;z-index:500;top:-80px;left:20px;padding:12px 18px;background:var(--green);color:var(--white);border-radius:var(--radius-md)}.skip-link:focus{top:10px}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.small{font-size:var(--fs-xs)}.eyebrow{font-size:var(--fs-xs);letter-spacing:1.2px;font-weight:650;text-transform:uppercase;color:var(--muted);margin-bottom:10px}.numeric{text-align:right;font-variant-numeric:tabular-nums}.preserve-lines{white-space:pre-line}.warning-text{color:var(--warning-text)}.danger-text{color:var(--danger)!important}
.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;position:fixed;top:0;bottom:0;left:0;z-index:60;background:var(--white);border-right:1px solid var(--line);padding:30px 18px 14px;display:flex;flex-direction:column}.brand{padding:0 21px;display:block}.brand img{width:163px;height:78px;object-fit:contain}.sidebar-label{font-size:var(--fs-xs);font-weight:650;letter-spacing:1.2px;color:var(--muted);margin:32px 15px 12px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav-link{display:flex;align-items:center;gap:13px;padding:11px 14px;border-radius:var(--radius-sm);font-size:var(--fs-sm);color:var(--muted);min-height:44px;transition:background .15s}.nav-link>.icon{width:18px;height:18px;stroke-width:1.6}.nav-link:hover{background:var(--background);color:var(--green)}.nav-link.active{background:var(--cream);color:var(--green);font-weight:600}.nav-link.active .icon{stroke-width:2}.nav-count{margin-left:auto;background:var(--line-strong);border-radius:var(--radius-sm);padding:0 6px;font-size:var(--fs-xs);line-height:19px}.sidebar-bottom{margin-top:auto;padding-top:28px}.sidebar-user{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:18px;padding:19px 8px 6px}.sidebar-user strong{display:block;font-size:var(--fs-xs)}.sidebar-user div>span{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:2px}.avatar{display:inline-grid;place-items:center;flex-shrink:0;min-width:36px;height:36px;border-radius:var(--radius-md);background:var(--green-100);color:var(--muted);font-size:var(--fs-xs);font-weight:600}.main-shell{margin-left:238px;width:calc(100% - 238px);display:flex;flex-direction:column;min-width:0}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:#ffffffc9;gap:15px}.breadcrumbs{display:flex;align-items:center;gap:13px;font-size:var(--fs-xs);color:var(--muted)}.breadcrumbs .icon{width:12px;height:12px}.breadcrumbs strong{color:var(--muted);font-weight:500}.topbar-right{display:flex;align-items:center;gap:20px}.topbar-actions{display:flex;align-items:center}.topbar-actions:empty{display:none}.topbar-actions>.work-header-actions{margin:0;flex-wrap:nowrap}.environment-badge{font-size:var(--fs-xs);color:var(--muted);border:1px solid var(--line-strong);background:var(--background);padding:3px 9px;border-radius:var(--radius-sm);letter-spacing:.2px}.user-button{display:grid;place-items:center;background:var(--cream);border:0;border-radius:50%;width:32px;height:32px;color:var(--muted);font-size:var(--fs-xs);font-weight:650}.icon path[d^="M5 12h.01"]{stroke-width:3}@media(pointer:coarse){.icon-button,.action-menu>summary,.delivery-stop-toggle,.preparation-order-toggle{min-width:44px;min-height:44px}.topbar .user-button{width:40px;height:40px}}.mobile-menu{display:none!important}.main-content{padding:34px 38px 46px;max-width:1630px;width:100%;margin:0 auto;flex:1;outline:none}.app-footer{padding:5px 38px 21px;display:flex;justify-content:space-between;color:var(--muted);font-size:var(--fs-xs);gap:16px}.footer-dot{margin:0 7px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.page-heading p{color:var(--muted);font-size:var(--fs-xs);margin-top:8px}.heading-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.heading-actions .action-menu{margin-left:1px}.btn{border:1px solid transparent;background:transparent;color:#41563c;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 14px;font-size:var(--fs-xs);font-weight:550;border-radius:var(--radius-sm);line-height:1.3;white-space:nowrap}.btn .icon{width:16px;height:16px}.btn:hover{background:var(--cream)}.btn-primary{background:var(--green);border-color:var(--green);color:var(--white);box-shadow:0 2px 3px #233a2512}.btn-primary:hover{background:var(--green-hover);border-color:var(--green-hover)}.btn-outline,.btn-secondary{border-color:var(--line-strong);background:var(--white);color:var(--green-hover)}.btn-light{background:var(--white);color:var(--green);border-color:var(--white)}.btn-text,.btn-link{min-height:34px;padding:7px 6px}.btn-danger{background:var(--danger);color:var(--white)}.btn-danger:hover{background:#87362c}.full-width{width:100%}.icon-button{border:0;background:transparent;display:inline-grid;place-items:center;width:34px;height:34px;padding:7px;border-radius:var(--radius-sm);color:var(--muted);flex-shrink:0}.icon-button .icon{width:19px;height:19px}.icon-button:hover{background:var(--cream);color:var(--green)}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px #2b392a03;min-width:0}.padded{padding:24px}.stack{display:flex;flex-direction:column;gap:22px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px}.section-heading p{font-size:var(--fs-xs);color:var(--muted);margin-top:5px}.padded>.section-heading{padding:0 0 20px}.quiet-card{background:var(--cream);border-color:var(--line-strong)}.quiet-card p{font-size:var(--fs-xs);color:var(--muted);margin:11px 0 17px}.quiet-card h2{font-size:var(--fs-xl);max-width:210px}.card>p{color:var(--muted);font-size:var(--fs-xs);margin:13px 0}.inline-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.welcome-card{background:var(--green-hover);color:var(--white);border-radius:var(--radius-lg);padding:22px 30px;display:flex;align-items:center;position:relative;min-height:0;overflow:hidden;margin-bottom:25px;isolation:isolate}.welcome-card:before{content:'';position:absolute;right:100px;bottom:-130px;width:330px;height:330px;border:1px solid #ffffff13;border-radius:50%;z-index:-1}.welcome-card:after{content:'';position:absolute;right:40px;top:-130px;width:390px;height:390px;border:1px solid #ffffff12;border-radius:50%;z-index:-1}.welcome-card .eyebrow{color:#b9cd9d;font-size:var(--fs-xs);margin-bottom:8px}.welcome-card h2{font-size:var(--fs-2xl);font-weight:550;letter-spacing:-.7px;color:var(--white);line-height:1.17}.welcome-card p{font-size:var(--fs-xs);color:#c5d2be;margin:8px 0 14px}.welcome-card>.btn{font-size:var(--fs-xs)}.welcome-card>img{margin-left:auto;position:absolute;right:180px;width:125px;height:148px;object-fit:contain;opacity:.13;filter:brightness(0) invert(1);transform:rotate(-10deg)}.welcome-note{margin-left:auto;align-self:flex-end;display:flex;flex-direction:column;text-align:right;padding-bottom:4px}.welcome-week{font-size:var(--fs-sm);color:var(--line-strong);margin-bottom:6px}.welcome-note>span:last-child{font-size:var(--fs-xs);color:var(--green-200)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin-bottom:28px}.stat-card{padding:21px 22px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);display:flex;justify-content:space-between;align-items:flex-start;min-width:0}.stat-label{font-size:var(--fs-xs);color:var(--muted);display:block;margin-bottom:11px}.stat-card strong{display:block;font-size:var(--fs-2xl);color:var(--green);line-height:1.15;letter-spacing:-.7px;font-weight:600}.stat-meta{display:block;margin-top:8px;font-size:var(--fs-xs);color:var(--muted)}.stat-icon{background:var(--cream);border-radius:var(--radius-md);width:35px;height:35px;display:grid;place-items:center;color:var(--muted);flex-shrink:0}.stat-icon .icon{width:17px;height:17px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:23px}.attention-card .section-heading{padding-bottom:8px}.attention-card>.attention-row:last-child{padding-bottom:24px}.attention-row{display:flex;align-items:center;gap:11px;padding:17px 23px}.attention-row:hover{background:var(--surface-subtle)}.attention-icon{display:grid;place-items:center;border-radius:var(--radius-md);width:33px;height:33px;flex-shrink:0}.attention-icon.amber{background:var(--warning-bg);color:var(--warning-text)}.attention-icon.green{background:var(--cream);color:#566e3a}.attention-icon .icon{width:16px;height:16px}.attention-row strong{font-size:var(--fs-xs);display:block}.attention-row div>span{font-size:var(--fs-xs);color:var(--muted);display:block;margin-top:3px}.attention-row>.icon{margin-left:auto;width:13px;color:var(--muted)}
.period-bar{display:flex;justify-content:space-between;align-items:center;margin:0 0 24px;gap:16px}.period-bar>span{font-size:var(--fs-xs);color:var(--muted)}.period-select{display:flex;align-items:center;gap:3px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);padding:3px}.period-select label{display:flex;align-items:center;gap:8px;padding:0 8px}.period-select label>.icon{width:16px;height:16px;color:var(--muted)}@supports selector(input::-webkit-calendar-picker-indicator){.period-select label>.icon{display:none}}.period-select input{border:0;background:transparent;width:140px;font-size:var(--fs-xs);color:#4a5f40}.period-select .icon-button{height:31px;width:31px}.list-toolbar,.standalone-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;padding:18px 22px}.standalone-toolbar{padding:0;margin-bottom:24px}.search-field{display:flex;align-items:center;gap:9px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-sm);min-height:37px;padding:0 11px;max-width:100%;width:275px;color:var(--muted)}.search-field .icon{width:15px;height:15px}.search-field input{outline:none;border:0;background:transparent;width:100%;font-size:var(--fs-xs);padding:9px 0;min-width:0;color:var(--text)}.search-field:focus-within{outline:2px solid #91ad77;outline-offset:2px}.search-field input:focus{outline:none}.filter-buttons{display:flex;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line-strong)}.filter{font-size:var(--fs-xs);color:var(--muted);padding:7px 0;min-height:40px;gap:6px;border:0;border-bottom:2px solid transparent;border-radius:0;margin-bottom:-1px;background:transparent}.filter:hover{color:var(--green-hover)}.filter.active{color:var(--green-hover);background:transparent;border-bottom-color:var(--green-hover);font-weight:600}.filter span{font-size:var(--fs-xs);opacity:.7}.table-wrap{width:100%;min-width:0}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:var(--fs-xs)}.data-table th{font-size:var(--fs-xs);font-weight:500;letter-spacing:.2px;color:var(--muted);background:var(--surface-subtle);padding:12px 20px;border-top:1px solid var(--cream);border-bottom:1px solid var(--cream)}.data-table td{padding:18px 20px;border-bottom:1px solid var(--cream);vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tr:hover td{background:var(--surface-subtle)}.row-title{font-weight:550;font-size:var(--fs-xs);display:block;color:#384834}.row-meta{font-size:var(--fs-xs);color:var(--muted);display:block;margin-top:4px;font-weight:400}.row-link{display:block}.row-link:hover .row-title{text-decoration:underline}.actions-cell{width:55px;text-align:right}.table-footer{border-top:1px solid var(--line);font-size:var(--fs-xs);color:var(--muted);display:flex;justify-content:space-between;padding:16px 23px;gap:15px}.table-footer strong{color:var(--green-hover);margin-left:8px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;font-size:var(--fs-xs);border-radius:var(--radius-sm);background:var(--background);color:var(--muted);line-height:1.3;white-space:nowrap}.badge-dot{width:4px;height:4px;border-radius:50%;background:currentColor;display:block}.badge.bevestigd,.badge.active,.badge.klaar{background:var(--green-100);color:#4d6831}.badge.geleverd,.badge.verwerkt{background:var(--green-100);color:var(--muted)}.badge.concept,.badge.open{background:var(--warning-bg);color:var(--warning-text)}.badge.geannuleerd,.badge.inactive{background:var(--danger-bg);color:#7e615d}.badge.afhalen{background:#f2edfa;color:#6f617e}.badge.bezorgen{background:#eef3f8;color:var(--muted)}.pill{padding:4px 9px;font-size:var(--fs-xs);border-radius:var(--radius-xl);background:var(--cream);color:var(--muted)}.action-menu{position:relative;display:inline-block;text-align:left}.action-menu summary{list-style:none;cursor:pointer}.action-menu summary::-webkit-details-marker{display:none}.action-menu[open]>summary{background:var(--cream)}.menu-panel{position:fixed;z-index:150;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--white);padding:6px;box-shadow:0 12px 38px #233a2520;min-width:219px;max-width:calc(100vw - 24px)}.menu-panel .btn{display:flex;justify-content:flex-start;width:100%;font-size:var(--fs-xs);font-weight:400;min-height:35px;border:0;gap:10px}.menu-panel .icon{width:15px;height:15px}.action-menu:not([open])>.menu-panel{display:none}.empty-state{padding:46px 23px;text-align:center;max-width:520px;margin:0 auto}.empty-icon{display:inline-grid;place-items:center;background:var(--cream);border-radius:var(--radius-lg);width:55px;height:55px;color:#576e3e;margin-bottom:17px}.empty-icon .icon{width:25px;height:25px}.empty-state h3{font-size:var(--fs-lg);letter-spacing:-.35px}.empty-state p{font-size:var(--fs-xs);color:var(--muted);margin:9px auto 18px;max-width:360px}.empty-state .btn{margin:0 auto}.notice{display:flex;gap:11px;align-items:flex-start;padding:16px 18px;background:var(--cream);border:1px solid var(--line-strong);border-radius:var(--radius-md);font-size:var(--fs-xs);color:var(--muted);margin:22px 0}.notice>.icon{width:17px;height:17px;margin-top:1px}.notice.warning{background:var(--warning-bg);border-color:var(--warning-line);color:var(--warning-text)}.back-link{display:inline-flex;gap:5px;align-items:center;font-size:var(--fs-xs);color:var(--muted);margin-bottom:23px}.back-link .icon{width:13px;height:13px}.detail-status{display:flex;gap:8px;margin-top:-12px;margin-bottom:25px}.detail-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(260px,1fr);gap:25px}.totals-row{display:flex;align-items:center;justify-content:flex-end;gap:35px;padding:22px;border-top:1px solid var(--line);font-size:var(--fs-xs)}.totals-row strong{font-size:var(--fs-lg);color:var(--green)}.components{font-size:var(--fs-xs);color:var(--muted);margin-top:9px}.components summary{cursor:pointer}.components ul{padding-left:16px;line-height:1.9}.address-block{font-size:var(--fs-xs);color:var(--muted);line-height:1.9;margin:17px 0}.contact-list{display:flex;flex-direction:column;gap:11px;font-size:var(--fs-xs);color:var(--muted);margin:20px 0}.contact-list>a,.contact-list>span{display:flex;gap:9px;align-items:center;overflow-wrap:anywhere}.contact-list .icon{width:15px;height:15px}.workflow{padding:10px 0 0;list-style:none;counter-reset:step}.workflow li{counter-increment:step;padding:11px 0;display:flex;align-items:center;gap:12px;color:var(--muted);font-size:var(--fs-xs)}.workflow li:before{content:counter(step);display:grid;place-items:center;width:25px;height:25px;border-radius:50%;border:1px solid var(--line);font-size:var(--fs-xs)}.workflow li.done{color:#536e41}.workflow li.done:before{content:'✓';background:var(--cream);color:#547041;border-color:var(--cream)}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.info-grid div>span{display:block;font-size:var(--fs-xs);color:var(--muted);margin-bottom:6px}.info-grid strong{font-size:var(--fs-xs);font-weight:550}.notes-block{display:flex;gap:10px;padding:15px;background:var(--background);border-radius:var(--radius-md);font-size:var(--fs-xs);color:var(--muted);margin-top:25px}.notes-block>.icon{width:15px;height:15px;margin-top:3px}.template-lines>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--cream);font-size:var(--fs-xs)}.template-lines>div:last-child{border:0}.template-lines small{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:4px}.customer-cell{display:flex;gap:11px;align-items:center}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);overflow:hidden;display:flex;flex-direction:column}.product-media{background:var(--cream);display:flex;align-items:center;justify-content:center;height:195px;position:relative;overflow:hidden}.product-media .product-image{width:100%;height:100%;object-fit:cover;transition:transform .25s}.product-media:hover .product-image{transform:scale(1.03)}.product-media .badge{position:absolute;top:12px;right:12px}.product-body{padding:20px 22px;flex:1;display:flex;flex-direction:column}.product-category{font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:1.4px;color:var(--muted);margin-bottom:8px}.product-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-title-row h2{font-size:var(--fs-lg)}.product-body>p{font-size:var(--fs-xs);color:var(--muted);margin:9px 0 18px;line-height:1.6;flex:1}.product-card-footer{border-top:1px solid var(--cream);padding-top:14px;display:flex;justify-content:space-between;gap:9px;font-size:var(--fs-xs);color:var(--muted);flex-wrap:wrap}.product-card-footer strong{font-size:var(--fs-xs);color:#475d3e}.is-inactive .product-image{opacity:.55;filter:grayscale(.6)}.select-wrap select,.date-control input{border:1px solid var(--line);padding:9px 12px;border-radius:var(--radius-sm);background:var(--white);font-size:var(--fs-xs);color:var(--muted)}.product-detail-photo{padding:28px;display:flex;align-items:center;flex-direction:column;gap:22px;background:var(--cream)}.product-detail-photo .product-image{height:300px;width:100%;object-fit:contain}.product-detail-photo>span{font-size:var(--fs-xs);color:var(--muted)}.subtle-note{font-size:var(--fs-xs);color:var(--muted);margin-top:20px}.package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.package-card{overflow:hidden}.package-art{background:var(--cream);min-height:92px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.package-art>.icon{height:36px;width:36px;color:var(--muted);stroke-width:1.2}.package-art>span:not(.badge){font-size:var(--fs-xs);letter-spacing:2px;color:var(--muted)}.package-art>.badge{position:absolute;top:13px;right:13px}.package-card .padded>p{font-size:var(--fs-xs);color:var(--muted);margin:10px 0 18px}.package-components{list-style:none;padding:0;margin:0}.package-components li{display:flex;gap:8px;font-size:var(--fs-xs);color:var(--muted);padding:7px 0}.package-components .icon{width:12px;height:12px;color:var(--muted);margin-top:3px}.package-card-footer{border-top:1px solid var(--line);padding-top:16px;margin-top:17px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;font-size:var(--fs-xs);color:var(--muted)}.package-card-footer div>span{display:block}.package-card-footer strong{font-size:var(--fs-xl);display:block;margin-top:5px;letter-spacing:-.4px;color:var(--green)}.segmented{display:flex;gap:2px;border:1px solid var(--line-strong);background:var(--cream);border-radius:var(--radius-sm);padding:3px}.segmented .btn{min-height:31px;font-size:var(--fs-xs)}.segmented .active{background:var(--white);color:var(--green-hover);box-shadow:0 1px 3px #2b452318}.date-control{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:var(--fs-xs)}.production-card{overflow:hidden}.production-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--cream);padding:22px 26px}.production-product{display:flex;align-items:center;gap:17px}.production-product img{width:46px;height:52px;object-fit:cover;border-radius:var(--radius-sm)}.production-product h3{font-size:var(--fs-sm)}.production-product span{font-size:var(--fs-xs);color:var(--muted);display:block;margin-top:5px}.production-total{text-align:right}.production-total strong{font-size:var(--fs-xl);font-weight:550;color:#3b5733;display:block}.production-total strong>span{font-size:var(--fs-xs);font-weight:400;color:var(--muted)}.production-total small{font-size:var(--fs-xs);color:var(--muted)}.day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:0 0 27px}.day-chip{padding:13px 8px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--white);color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:7px}.day-chip>span{font-size:var(--fs-xs)}.day-chip>strong{font-size:var(--fs-lg);color:var(--muted);line-height:1.2}.day-chip>small{font-size:var(--fs-xs)}.day-chip.selected{background:var(--cream);border-color:#a8bf8e}.day-chip:hover{border-color:var(--green-200)}.delivery-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:23px}.route-stop{display:flex;align-items:flex-start;gap:16px;padding:21px 23px;border-top:1px solid var(--cream)}.stop-number{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--line-strong);border-radius:50%;color:var(--muted);font-size:var(--fs-xs);flex-shrink:0;margin-top:1px}.stop-number>.icon{width:14px;height:14px}.stop-body{flex:1;min-width:0}.stop-body h3{font-size:var(--fs-xs)}.stop-body p{font-size:var(--fs-xs);color:var(--muted);margin-top:4px}.stop-body>span{font-size:var(--fs-xs);color:var(--muted);display:block;margin-top:7px}.stop-note{font-size:var(--fs-xs);padding:9px;background:var(--surface-subtle);margin-top:8px;color:var(--muted);border-radius:var(--radius-sm)}.stop-actions{display:flex;align-items:center;gap:8px}.is-delivered .stop-number{background:var(--cream)}.pickup-row{padding:19px 23px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--cream)}.pickup-row strong{display:block;font-size:var(--fs-xs)}.pickup-row a>span{font-size:var(--fs-xs);color:var(--muted);margin-top:6px;display:block}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-grid .card>p{margin:9px 0 22px}.settings-days{display:flex;flex-wrap:wrap;gap:12px 16px;margin:22px 0}.settings-days>strong{flex-basis:100%;font-size:var(--fs-xs)}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:var(--fs-xs);color:var(--muted);line-height:1.5}.field{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--muted);font-size:var(--fs-xs)}.field>span{font-weight:550}.field input,.field select,.field textarea,.price-agreement input{width:100%;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--white);padding:10px 11px;color:var(--green-hover);min-height:40px;font-size:var(--fs-xs)}.field textarea{resize:vertical;min-height:78px}.field small{font-size:var(--fs-xs);line-height:1.6;color:var(--muted);font-weight:400}.required{color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 20px}.full{grid-column:1/-1}.form-section-title{margin:30px 0 14px}.field.full{margin-top:20px}.form-grid>.field.full{margin-top:0}.form-error{padding:12px 15px;background:var(--danger-bg);border:1px solid #f0d7d0;color:#9a5244;border-radius:var(--radius-md);font-size:var(--fs-xs);margin:18px 0}.editor-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:29px 0 13px}.editor-section-heading p{font-size:var(--fs-xs);color:var(--muted);margin-top:5px}.editor-line{display:grid;grid-template-columns:minmax(0,1fr) 90px 35px;gap:12px;align-items:end;margin-bottom:12px}.line-remove{margin-bottom:4px}.line-package-note{grid-column:1/-1;font-size:var(--fs-xs);color:var(--muted);margin-top:-6px}.editor-total{display:flex;justify-content:space-between;gap:20px;background:var(--cream);padding:15px 17px;border-radius:var(--radius-md);margin:20px 0;color:var(--muted);font-size:var(--fs-xs)}.editor-total strong{font-size:var(--fs-lg);color:#3e5b31}.variant-editor{display:grid;grid-template-columns:1fr 1fr 1fr 1.1fr;gap:12px;border:1px solid var(--line);border-radius:var(--radius-md);padding:17px;margin-bottom:13px}.variant-editor>.checkbox-label{grid-column:1/4}.variant-editor>.icon-button{justify-self:end}.portal-toggle{padding:19px 0;border-bottom:1px solid var(--cream)}.component-editor{display:grid;grid-template-columns:minmax(0,1fr) 105px 34px;gap:12px;align-items:end;margin-bottom:15px}.component-editor>.icon-button{margin-bottom:3px}.exchange-editor,.route-editor{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);padding:17px;margin:15px 0}.exchange-editor>.field.full{margin:0 0 16px}.exchange-editor>.btn,.route-editor>.btn{margin-top:12px}.route-customers{border:0;margin:17px 0 0;padding:0;display:flex;flex-direction:column;gap:11px}.route-customers legend{font-size:var(--fs-xs);color:var(--muted);padding:0 0 13px}.price-group-editor{display:grid;grid-template-columns:minmax(0,1fr) 105px 33px;gap:12px;align-items:end;margin:15px 0}.price-group-editor>.icon-button{margin-bottom:4px}.price-agreement{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--cream);gap:18px}.price-agreement>span{min-width:0}.price-agreement strong{font-size:var(--fs-xs)}.price-agreement small{font-size:var(--fs-xs);color:var(--muted);display:block;margin-top:4px}.price-agreement input{width:120px}.fulfillment-line{display:grid;grid-template-columns:minmax(0,1.5fr) 100px minmax(0,1fr);gap:20px;align-items:start;padding:18px 0;border-bottom:1px solid var(--cream)}.fulfillment-line>div:first-child strong{display:block;font-size:var(--fs-xs);margin-top:27px}.fulfillment-line>div:first-child>span{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:4px}.fulfillment-fixed{font-size:var(--fs-xs);align-self:center;text-align:right}.export-summary{text-align:center;padding:15px 25px}.export-summary h3{font-size:var(--fs-xl)}.export-summary p{font-size:var(--fs-xs);color:var(--muted);margin-top:12px}.export-actions{display:flex;flex-direction:column;gap:12px;margin:24px 0 8px}.copy-area{display:block;width:100%;resize:vertical;font-family:monospace;border:1px solid var(--line-strong);padding:13px;border-radius:var(--radius-md);margin:18px 0}.help-steps>div{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid var(--cream)}.help-steps>div>span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;color:var(--muted);background:var(--cream);flex-shrink:0;font-size:var(--fs-xs)}.help-steps p{font-size:var(--fs-xs);color:var(--muted);margin-top:6px}.help-list{padding-left:19px;color:var(--muted);font-size:var(--fs-xs);line-height:1.9}.help-list li{margin-bottom:15px}
dialog{border:1px solid var(--line-strong);border-radius:var(--radius-lg);max-width:590px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);padding:0;color:var(--text);background:var(--white);box-shadow:0 22px 80px #233a2540;overflow:hidden;margin:auto}dialog.wide{max-width:790px}dialog::backdrop{background:#1c2b1ccc;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:25px 29px 21px;border-bottom:1px solid var(--line);gap:15px}.dialog-heading .eyebrow{font-size:var(--fs-xs);margin-bottom:7px}.dialog-heading h2{font-size:var(--fs-xl);letter-spacing:-.5px}.dialog-body{padding:23px 29px 27px;overflow:auto;max-height:calc(100dvh - 155px);overscroll-behavior:contain}.dialog-body>.notice:first-child,.dialog-body form>.notice:first-child{margin-top:0}.dialog-footer{display:flex;justify-content:flex-end;gap:11px;border-top:1px solid var(--line);padding-top:22px;margin-top:26px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:14px 20px;border-radius:var(--radius-md);background:var(--green);color:var(--white);z-index:250;box-shadow:0 8px 35px #243e2430;font-size:var(--fs-xs);width:max-content;max-width:calc(100vw - 28px)}.toast.error{background:#8e443b}.toast .icon{width:17px;height:17px}.loading-state,.loading-error{max-width:600px;margin:100px auto;text-align:center;padding:30px;color:var(--muted)}.loading-state img,.loading-error>img{margin:0 auto 25px;width:165px}.loading-state:after{content:'';display:block;margin:25px auto;width:25px;height:25px;border:2px solid var(--line-strong);border-top-color:#78975a;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.document-main{max-width:990px;margin:25px auto 70px;padding:0 25px}.document-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.document-toolbar .back-link{margin:0}.paper{background:var(--white);border:1px solid var(--line-strong);padding:45px 48px;box-shadow:0 3px 20px #233a2508;border-radius:var(--radius-sm)}.paper-heading{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line-strong);padding-bottom:24px}.paper-heading img{width:155px;height:80px;object-fit:contain}.paper-heading>div{text-align:right}.paper-heading h1{font-size:27px}.paper-heading strong{font-size:13px;color:var(--muted);margin-top:5px;display:block}.paper-addresses{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:30px 0;font-size:12px;color:var(--muted)}.paper-addresses strong{display:block;margin-bottom:8px;color:#415e35}.paper-addresses p{font-size:11px;line-height:1.8;margin:6px 0}.paper-meta{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin-bottom:23px;font-size:11px}.paper-meta span{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.paper-meta strong{font-weight:550}.paper-table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}.paper-table th{background:var(--cream);padding:11px 12px;color:var(--muted);font-size:9px;font-weight:550;letter-spacing:.2px}.paper-table td{border-bottom:1px solid var(--line-strong);padding:14px 12px;vertical-align:top}.paper-table td>div{font-size:10px;color:var(--muted);margin-top:5px}.paper-table ul{padding-left:14px;font-size:10px;line-height:1.9}.write-column{min-width:95px}.write-space{min-height:50px;border-bottom:1px solid var(--line-strong)}.checkbox-space{font-size:var(--fs-lg);text-align:center}.paper-totals{max-width:280px;margin:25px 0 30px auto}.paper-totals>div{display:flex;justify-content:space-between;padding:9px 0;font-size:11px;color:var(--muted)}.paper-totals .grand-total{border-top:1px solid var(--line-strong);margin-top:8px;padding-top:16px;font-size:14px;color:#3f5d33}.paper>p{font-size:10px;color:var(--muted);line-height:1.8;margin:20px 0}.paper-note{padding:17px;background:var(--surface-subtle);font-size:11px;color:var(--muted);margin-top:25px}.paper-note p{margin-top:5px;white-space:pre-line}.paper footer{border-top:1px solid var(--line-strong);padding-top:18px;margin-top:32px;font-size:9px;color:var(--muted);text-align:center}.paper-writing{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);margin:35px 0 10px}.print-sheet h2{margin:20px 0 12px}.print-sheet>p{color:var(--muted);font-size:11px;margin-bottom:20px}.print-order{break-after:page}.print-order:last-child{break-after:auto}.print-order h3{margin:15px 0}.print-order>p{font-size:11px;color:var(--muted);margin-bottom:15px}.nav-overlay{display:none}
@media(min-width:1650px){.main-content{padding-top:43px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{padding:24px}}
@media(max-width:1200px){.sidebar{width:212px;padding:25px 13px 12px}.brand{padding:0 15px}.brand img{width:155px}.main-shell{margin-left:212px;width:calc(100% - 212px)}.topbar{padding:0 27px}.main-content{padding:29px 27px 38px}.app-footer{padding-left:27px;padding-right:27px}.stats-grid{gap:13px}.stat-card{padding:18px 15px}.stat-icon{width:28px;height:28px}.stat-icon .icon{width:14px;height:14px}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(235px,1fr);gap:18px}.data-table td{padding:17px 15px}.data-table th{padding:11px 15px}.detail-grid,.delivery-layout{grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr)}.product-grid{gap:17px}.product-body{padding:17px}.product-title-row h2{font-size:var(--fs-md)}.package-grid{gap:17px}.package-card .padded{padding:18px}.stop-actions{flex-direction:column;gap:3px}.list-toolbar{gap:10px;padding:17px}.filter{padding:7px 0}.stat-meta{font-size:var(--fs-xs)}.page-heading h1{font-size:var(--fs-2xl)}}
@media(max-width:980px){.sidebar{width:190px;padding:25px 10px 12px}.sidebar-label{margin-top:26px}.nav-link{font-size:var(--fs-xs);gap:10px;padding:11px}.brand img{width:139px}.main-shell{margin-left:190px;width:calc(100% - 190px)}.main-content{padding:28px 23px 36px}.topbar{padding:0 23px}.topbar-right{gap:12px}.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.stack{display:grid;grid-template-columns:1fr 1fr}.detail-grid,.delivery-layout{grid-template-columns:1fr}.detail-grid>aside,.delivery-layout>aside{display:grid;grid-template-columns:1fr 1fr;align-content:start}.detail-grid>aside>.card:first-child{grid-column:1/-1}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.package-grid{grid-template-columns:1fr 1fr}.welcome-card>img{right:140px}.settings-grid{grid-template-columns:1fr}.list-toolbar>.search-field{flex:1;min-width:200px}.filter-buttons{justify-content:flex-end}.day-chip>small{font-size:var(--fs-xs)}.app-footer>span:last-child{display:none}.sidebar-user strong{font-size:var(--fs-xs)}.sidebar-user>div>span{font-size:var(--fs-xs)}.sidebar-user{gap:8px;padding:18px 3px 5px}}
@media(max-width:760px){:root{font-size:var(--fs-base)}.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;box-shadow:0 8px 40px #233a2520;padding:30px 18px 14px}.nav-open .sidebar{transform:translateX(0)}.main-shell{margin-left:0;width:100%}.mobile-menu{display:inline-grid!important}.nav-link{font-size:var(--fs-sm);padding:12px 14px}.brand img{width:163px}.sidebar-user strong{font-size:var(--fs-xs)}.sidebar-user>div>span{font-size:var(--fs-xs)}.topbar{height:65px;padding:0 21px}.breadcrumbs{flex:1;font-size:var(--fs-xs);gap:8px}.breadcrumbs>span{display:none}.breadcrumbs>.icon{display:none}.topbar-right{gap:8px}.environment-badge{font-size:var(--fs-xs);padding:3px 6px}.topbar-right>.icon-button{display:none}.main-content{padding:26px 21px 34px}.main-content h1{font-size:var(--fs-2xl)}.page-heading{align-items:flex-start;gap:15px;margin-bottom:24px}.heading-actions{gap:4px}.page-heading p{font-size:var(--fs-xs);max-width:260px}.page-heading>.heading-actions>.btn{font-size:var(--fs-xs);padding:9px 12px;min-height:38px}.welcome-card{padding:22px 26px}.welcome-card h2{font-size:var(--fs-2xl)}.welcome-card>img{width:100px;right:145px;opacity:.09}.welcome-note{font-size:var(--fs-xs)}.stats-grid{gap:13px;margin-bottom:23px}.stat-card{padding:19px 20px}.stat-icon{width:32px;height:32px}.stat-label{font-size:var(--fs-xs)}.stat-meta{font-size:var(--fs-xs)}.dashboard-grid>.stack{display:flex}.dashboard-grid .quiet-card h2{max-width:none}.list-toolbar{gap:12px}.list-toolbar .search-field{width:100%;max-width:none;flex-basis:calc(100% - 40px)}.list-toolbar .filter-buttons{order:3;width:100%;justify-content:flex-start}.period-bar{margin-bottom:20px}.period-bar>span{font-size:var(--fs-xs)}.data-table th{font-size:var(--fs-xs)}.data-table td{font-size:var(--fs-xs)}.product-grid{gap:17px}.product-media{height:190px}.product-card-footer{font-size:var(--fs-xs)}.product-card-footer strong{font-size:var(--fs-xs)}.package-grid{grid-template-columns:1fr 1fr}.settings-grid .card{padding:23px}.day-strip{gap:6px}.day-chip{padding:12px 4px}.day-chip>small{font-size:var(--fs-xs)}.day-chip>strong{font-size:var(--fs-lg)}.route-stop{padding:19px;gap:13px}.detail-grid>aside,.delivery-layout>aside{display:flex}.notice{font-size:var(--fs-xs)}.nav-open .nav-overlay{display:block;position:fixed;inset:0;z-index:50;background:#1c2b1c90;border:0;cursor:default}.form-grid{gap:16px}.dialog-heading{padding:23px}.dialog-body{padding:23px}.fulfillment-line{grid-template-columns:minmax(0,1fr) 88px 110px;gap:15px}.fulfillment-line>div:first-child strong{font-size:var(--fs-xs)}.padded{padding:23px}.app-footer{padding:6px 22px 20px}.welcome-note{display:none}.document-main{padding:0 15px;margin-top:20px}.paper{padding:30px 25px}.document-toolbar .btn{font-size:10px}.paper-heading h1{font-size:22px}.paper-heading img{width:120px;height:65px}.paper-addresses{gap:20px}.paper-table{font-size:10px}.paper-table th{padding:9px 6px}.paper-table td{padding:13px 6px}.paper-meta{font-size:10px}.write-column{min-width:75px}.paper-writing{font-size:10px;flex-wrap:wrap}}
@media(max-width:540px){.topbar{padding:0 15px;gap:8px}.main-content{padding:23px 16px 30px}.main-content h1{font-size:var(--fs-2xl)}.page-heading{flex-wrap:wrap;gap:17px}.page-heading>.heading-actions{width:100%;justify-content:flex-start}.page-heading>.heading-actions>.btn{font-size:var(--fs-xs);min-height:40px}.page-heading p{max-width:none}.welcome-card{padding:20px}.welcome-card h2{font-size:var(--fs-2xl)}.welcome-card>img{display:none}.welcome-card p{max-width:220px}.stats-grid{gap:11px}.stat-card{padding:17px 15px}.stat-icon{display:none}.stat-card strong{font-size:var(--fs-2xl)}.stat-label{font-size:var(--fs-xs)}.stat-meta{font-size:var(--fs-xs)}.section-heading{padding:21px 18px}.section-heading h2{font-size:var(--fs-md)}.section-heading>.btn{font-size:var(--fs-xs);padding-right:0}.period-bar{align-items:flex-start;gap:9px;flex-wrap:wrap}.period-bar>span{font-size:var(--fs-xs)}.list-toolbar{padding:16px}.filter{min-height:44px;font-size:var(--fs-xs);padding:8px 0}.table-wrap{overflow:visible}.data-table thead{display:none}.data-table tbody{display:block}.data-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:17px 18px;gap:11px 17px;border-top:1px solid var(--cream);position:relative}.data-table td{display:block;padding:0;border:0!important;min-width:0;font-size:var(--fs-xs)}.data-table td:first-child{grid-column:1/-1;margin-bottom:3px;padding-right:44px}.data-table td.actions-cell{position:absolute;top:10px;right:8px;width:auto}.data-table td:not(:first-child):not(.actions-cell):before{content:attr(data-label);display:block;font-size:var(--fs-xs);letter-spacing:.1px;color:var(--muted);margin-bottom:3px}.data-table td.numeric{text-align:left}.data-table .row-title{font-size:var(--fs-xs)}.data-table .row-meta{font-size:var(--fs-xs)}.data-table .badge{font-size:var(--fs-xs)}.data-table tr:hover td{background:transparent}.table-footer{font-size:var(--fs-xs);padding:16px 18px;flex-wrap:wrap}.line-table tr{grid-template-columns:1fr 1fr}.line-table td:last-child{grid-row:2;grid-column:2;text-align:right}.line-table td:nth-last-child(2){grid-row:3;grid-column:1}.line-table td:nth-child(2){grid-row:2;grid-column:1}.line-table .row-meta{font-size:var(--fs-xs)}.totals-row{justify-content:space-between;gap:10px;padding:20px 18px;font-size:var(--fs-xs)}.totals-row strong{font-size:var(--fs-lg)}.product-grid{grid-template-columns:1fr 1fr;gap:12px}.product-media{height:165px}.product-body{padding:15px 13px}.product-title-row h2{font-size:var(--fs-sm);overflow-wrap:anywhere}.product-category{font-size:var(--fs-xs);letter-spacing:1px}.product-title-row .icon-button{width:25px;height:25px;padding:4px}.product-title-row .icon-button .icon{width:16px;height:16px}.product-body>p{font-size:var(--fs-xs);margin-bottom:13px}.product-card-footer{display:block;font-size:var(--fs-xs)}.product-card-footer strong{display:block;margin-top:5px}.product-body .product-card-footer{padding-top:11px}.standalone-toolbar>.search-field{width:100%}.standalone-toolbar .select-wrap{width:100%}.select-wrap select{width:100%}.package-grid{grid-template-columns:1fr}.package-art{min-height:88px}.package-card .padded{padding:24px}.package-card .product-title-row h2{font-size:var(--fs-xl)}.package-card .padded>p{font-size:var(--fs-xs)}.package-components li{font-size:var(--fs-xs)}.package-card-footer{font-size:var(--fs-xs)}.production-row{padding:19px 18px;gap:12px}.production-product{gap:12px}.production-product img{width:39px;height:47px}.production-product h3{font-size:var(--fs-xs)}.production-product span{font-size:var(--fs-xs);max-width:170px}.production-total strong{font-size:var(--fs-lg)}.production-total small{font-size:var(--fs-xs)}.day-strip{gap:5px}.day-chip>small{font-size:0}.day-chip>small:first-letter{font-size:var(--fs-xs)}.day-chip>strong{font-size:var(--fs-md)}.day-chip>span{font-size:var(--fs-xs)}.route-stop{gap:10px;padding:18px 16px}.stop-number{width:25px;height:25px}.stop-body h3{font-size:var(--fs-xs)}.stop-body p{font-size:var(--fs-xs)}.stop-body>span{font-size:var(--fs-xs)}.stop-actions{gap:8px}.stop-actions>.badge{display:none}.route-stop .menu-panel .btn{font-size:var(--fs-xs)}.info-grid{gap:23px 18px}.info-grid strong{font-size:var(--fs-xs)}.form-grid{grid-template-columns:1fr;gap:16px}.field.full{margin-top:17px}.form-grid>.field.full{margin-top:0}.dialog-heading{padding:21px 20px}.dialog-heading h2{font-size:var(--fs-lg)}.dialog-body{padding:20px;max-height:calc(100dvh - 140px)}dialog{max-height:calc(100dvh - 24px);width:calc(100% - 20px);border-radius:var(--radius-lg)}.editor-line{grid-template-columns:minmax(0,1fr) 70px 28px;gap:9px}.editor-line select{font-size:var(--fs-xs);padding:10px 6px}.editor-section-heading{align-items:flex-start;gap:11px}.editor-section-heading .btn{font-size:var(--fs-xs);white-space:normal}.editor-section-heading p{font-size:var(--fs-xs)}.variant-editor{grid-template-columns:1fr 1fr;padding:15px}.variant-editor>.checkbox-label{grid-column:1}.variant-editor>.icon-button{grid-column:2}.fulfillment-line{grid-template-columns:1fr 1fr;gap:12px}.fulfillment-line>div:first-child{grid-column:1/-1}.fulfillment-line>div:first-child strong{margin-top:0;font-size:var(--fs-sm)}.fulfillment-fixed{font-size:var(--fs-xs)}.component-editor{grid-template-columns:minmax(0,1fr) 80px 28px;gap:9px}.component-editor select{font-size:var(--fs-xs);padding:10px 6px}.price-agreement input{width:100px}.price-agreement strong{font-size:var(--fs-xs)}.price-group-editor{grid-template-columns:minmax(0,1fr) 80px 29px;gap:9px}.dialog-footer{gap:9px}.dialog-footer>.btn{font-size:var(--fs-xs);white-space:normal}.dialog-footer>.btn-primary{flex:1}.environment-badge{font-size:var(--fs-xs)}.topbar .user-button{height:30px;width:30px}.topbar-right{gap:9px}.menu-panel{min-width:220px}.paper{padding:25px 17px}.paper-heading img{width:100px;height:56px}.paper-heading h1{font-size:20px}.paper-addresses{gap:17px;margin:23px 0}.paper-addresses p{font-size:9px}.paper-addresses strong{font-size:10px}.paper-meta{gap:15px}.paper-meta strong{font-size:9px}.paper-table{font-size:9px}.paper-table th{font-size:8px;padding:8px 5px}.paper-table td{padding:12px 5px}.write-column{min-width:55px}.document-toolbar{flex-wrap:wrap}.document-toolbar .btn{font-size:10px}.paper-totals>div{font-size:10px}.paper-totals .grand-total{font-size:13px}}
@media(max-width:420px){body:not(.customer-mode) .product-grid{grid-template-columns:1fr}body:not(.customer-mode) .product-media{height:210px}body:not(.customer-mode) .product-body{padding:18px}body:not(.customer-mode) .product-title-row h2{font-size:var(--fs-lg);overflow-wrap:anywhere}body:not(.customer-mode) .product-body>p{font-size:var(--fs-sm)}body:not(.customer-mode) .product-category{font-size:var(--fs-xs)}body:not(.customer-mode) .product-card-footer{display:flex;font-size:var(--fs-xs)}body:not(.customer-mode) .product-card-footer strong{margin:0;font-size:var(--fs-sm)}body:not(.customer-mode) .product-title-row .icon-button{width:36px;height:36px}}
@media(max-width:350px){.day-strip{gap:3px}.environment-badge{display:none}.stats-grid{gap:8px}.stat-card{padding:16px 13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.data-table{font-size:var(--fs-xs)}.data-table .row-title{font-size:var(--fs-xs)}.data-table .row-meta{font-size:var(--fs-xs)}.data-table th{font-size:var(--fs-xs)}.btn{font-size:var(--fs-xs)}.stat-label{font-size:var(--fs-xs)}.stat-meta{font-size:var(--fs-xs)}.attention-row strong{font-size:var(--fs-xs)}.attention-row div>span{font-size:var(--fs-xs)}.attention-row{padding-top:18px;padding-bottom:18px}.section-heading p{font-size:var(--fs-xs)}.product-body>p{font-size:var(--fs-xs)}.product-card-footer{font-size:var(--fs-xs)}.page-heading p{font-size:var(--fs-sm)}.search-field input{font-size:var(--fs-xs)}.field{font-size:var(--fs-xs)}.field input,.field select,.field textarea{font-size:var(--fs-sm)}.package-order-choices,.order-package-choices{grid-column:1/-1;border:1px solid var(--line-strong);background:var(--surface-subtle);border-radius:var(--radius-md);padding:12px 15px;color:var(--muted);font-size:var(--fs-xs);margin-top:0}.package-order-choices summary,.order-package-choices summary{cursor:pointer;font-weight:550}.package-order-choices .checkbox-label,.order-package-choices .checkbox-label{margin-top:11px}.package-order-choices fieldset,.order-package-choices fieldset{border:0;padding:0;margin:0}
@media(max-width:540px){.data-table .row-title{font-size:var(--fs-sm)}.data-table td{font-size:var(--fs-xs)}.data-table .row-meta{font-size:var(--fs-xs)}.data-table td:not(:first-child):not(.actions-cell):before{font-size:var(--fs-xs)}.page-heading p{font-size:var(--fs-xs)}.stat-label{font-size:var(--fs-xs)}.stat-meta{font-size:var(--fs-xs)}.product-body>p{font-size:var(--fs-xs)}.product-card-footer{font-size:var(--fs-xs)}.field input,.field select,.field textarea{font-size:var(--fs-md)}.editor-line select,.component-editor select{font-size:var(--fs-sm)}.btn{font-size:var(--fs-xs)}.attention-row strong{font-size:var(--fs-xs)}.section-heading p{font-size:var(--fs-xs)}.icon-button{min-width:34px;min-height:34px}.price-agreement input{font-size:var(--fs-md)}.dialog-footer>.btn{font-size:var(--fs-xs)}.package-order-choices,.order-package-choices{font-size:var(--fs-xs)}}
@media print{@page{size:A4;margin:14mm}body{background:var(--white);font-size:11px}.no-print,.toast,.sidebar,.topbar,.app-footer,.document-toolbar,.dialog-heading,.dialog-footer,.notice{display:none!important}.document-main{max-width:none;margin:0;padding:0}.paper{border:0;box-shadow:none;padding:0;border-radius:0;break-after:page}.paper:last-child{break-after:auto}.paper-heading{padding-bottom:18px}.paper-addresses{margin:25px 0}.paper-table thead{display:table-header-group}.paper-table tr{break-inside:avoid}.paper-table th,.paper-table td{padding:12px 8px}.paper-table{font-size:11px}.paper-writing{margin-top:40px}.paper footer{margin-top:35px}.paper-table th{print-color-adjust:exact}.paper .write-space{height:45px}.paper-note{print-color-adjust:exact}body:has(dialog[open]) #app{display:none!important}dialog[open]{position:static;display:block;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;width:100%;max-width:none;max-height:none;overflow:visible}dialog::backdrop{display:none}.dialog-body{overflow:visible;max-height:none;padding:0}.print-sheet>h2{font-size:22px}.print-sheet .document-toolbar{display:none}.print-sheet>.print-order>.paper{padding:0}.print-sheet img{max-width:155px}.print-sheet .paper{box-shadow:none;border:0}.print-order{break-after:page}.print-order:last-child{break-after:auto}body:has(dialog[open]){overflow:visible}}

.production-with-origins{align-items:flex-start}.production-origins{margin-top:11px}.production-origins ul{list-style:none;padding:0;margin:12px 0 0}.production-origins li{padding:10px 0;border-top:1px solid var(--cream)}.production-origins strong{font-size:var(--fs-xs)}.production-origins small{font-size:var(--fs-xs);display:block;color:var(--muted);margin-top:4px}.form-advanced{margin-top:25px;border-top:1px solid var(--line);padding-top:18px}.form-advanced summary{cursor:pointer;font-size:var(--fs-xs);font-weight:550;color:var(--muted)}.form-advanced>p{font-size:var(--fs-xs);color:var(--muted);margin:12px 0 18px}.order-package-fields .package-options{border:0;padding:0;margin:12px 0 0}.order-package-fields .package-choice{display:flex;gap:10px;padding:10px 0;font-size:var(--fs-xs)}.order-package-fields .package-choice small{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:4px}.order-package-fields p{font-size:var(--fs-xs);margin:8px 0 0;color:var(--muted)}

.photo-picker{margin:0}.photo-label{display:block;font-size:var(--fs-xs);color:var(--muted);font-weight:550;margin-bottom:10px}.photo-picker-current{display:flex;align-items:center;gap:19px;border:1px solid var(--line);border-radius:var(--radius-md);padding:16px;background:var(--surface-subtle)}.photo-picker-current>img{width:72px;height:88px;object-fit:cover;border-radius:var(--radius-sm)}.photo-upload-label{position:relative;overflow:hidden;cursor:pointer;font-size:var(--fs-xs)}.photo-upload-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.photo-picker-current p{font-size:var(--fs-xs);color:var(--muted);margin-top:9px;max-width:270px}.photo-presets{margin-top:13px;font-size:var(--fs-xs);color:var(--muted)}.photo-presets summary{cursor:pointer}.photo-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.photo-preset{display:flex;flex-direction:column;text-align:left;gap:6px;border:1px solid var(--line-strong);background:var(--white);border-radius:var(--radius-sm);overflow:hidden;padding:0 0 7px;color:var(--muted)}.photo-preset img{height:87px;width:100%;object-fit:cover}.photo-preset span{font-size:var(--fs-xs);padding:0 7px}.photo-preset:hover{border-color:#9cb982}.photo-picker:focus-within{outline:none}@media(max-width:540px){.photo-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-picker-current{gap:14px;padding:13px}.photo-picker-current>img{width:58px;height:78px}.photo-picker-current p{font-size:var(--fs-xs)}.photo-upload-label{font-size:var(--fs-xs)}}

.fulfillment-configuration{display:block;margin-top:6px;font-size:var(--fs-xs);color:var(--muted)}.paper-meta{flex-wrap:wrap}.paper-meta>div{min-width:100px}

.photo-upload-label:focus-within{outline:3px solid var(--accent);outline-offset:3px}@media print{html,body,#app{background:var(--white)!important}}
.print-sheet .print-route{margin-top:24px}.print-sheet .print-route h3{margin:0 0 10px;break-after:avoid}.print-sheet .print-route small{font-size:10px;color:var(--muted)}
@media print{.paper-heading{padding-bottom:12px}.paper-heading img{height:64px}.paper-addresses{margin:16px 0}.paper-addresses p{line-height:1.6;margin:4px 0}.paper-meta{padding:12px 0;margin-bottom:16px}.paper-table th,.paper-table td{padding:9px 8px}.paper-totals{margin:18px 0 20px auto;break-inside:avoid}.paper-totals>div{padding:7px 0}.paper-totals .grand-total{margin-top:6px;padding-top:12px}.paper>p{margin:12px 0}.paper-note{margin-top:16px;padding:12px;break-inside:avoid}.paper footer{margin-top:20px;padding-top:12px;break-inside:avoid}.paper-writing{margin-top:30px}}
.product-media .product-image[src="/assets/milk-jug.webp"]{object-fit:contain;padding:44px;opacity:.3}@media(max-width:420px){body:not(.customer-mode) .product-media .product-image{object-fit:contain}}

/* Production and delivery cycles, fixed route appointments. */
.period-label{font-size:var(--fs-xs);font-weight:650;color:var(--green);white-space:nowrap;margin-right:6px;padding-left:9px}
.cycle-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px}
.cycle-summary>div{display:flex;align-items:center;gap:13px;padding:17px 19px;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius-md);min-width:0}
.cycle-summary .icon{flex-shrink:0;color:var(--muted)}
.cycle-summary small{display:block;color:var(--muted);font-size:var(--fs-xs);margin-bottom:3px}
.cycle-summary strong{font-size:var(--fs-sm);font-weight:600;color:var(--green)}
.route-editor-intro{font-size:var(--fs-xs);margin-bottom:23px;max-width:650px}
.route-search{margin:20px 0 12px;max-width:100%}
.route-customers{display:block;padding:0;border:0;margin:16px 0}
.route-customers legend{font-size:var(--fs-xs);font-weight:650;color:var(--green);padding:0 0 9px}
.route-customer{display:grid;grid-template-columns:minmax(0,1fr) 136px 68px;gap:12px;align-items:center;padding:13px 0;border-top:1px solid var(--line);min-width:0}
.route-customer>.checkbox-label{margin:0;min-width:0;align-items:center;max-width:100%}
.route-customer>.checkbox-label strong{font-size:var(--fs-xs);font-weight:550;overflow-wrap:anywhere}
.route-customer>.checkbox-label small{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:2px}
.route-arrival{display:flex;flex-direction:column;gap:5px;min-width:0}
.route-arrival>span{font-size:var(--fs-xs);color:var(--muted)}
.route-arrival input{width:100%;padding:7px 9px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:white;color:var(--text);font-size:var(--fs-sm);min-height:36px}
.route-move{display:flex;gap:2px;align-items:center}
.route-move .icon-button{width:32px;height:32px}
.route-move .icon{transform:rotate(90deg)}
.settings-cycle-note{margin:16px 0 23px;font-size:var(--fs-xs);color:var(--green);line-height:1.8}
[data-customer-route-note]{margin-top:15px;font-size:var(--fs-xs)}
.delivery-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:0 0 24px}
.delivery-toolbar .filter-buttons{justify-content:flex-start;flex-wrap:wrap;gap:5px}
.delivery-toolbar .filter{min-height:40px;padding:10px 13px;font-size:var(--fs-xs);gap:7px}
.delivery-toolbar .filter>span{font-size:var(--fs-xs);min-width:19px;display:inline-grid;place-items:center;border-radius:var(--radius-md);background:var(--cream);padding:1px 5px;color:var(--muted)}
.delivery-list-summary{font-size:var(--fs-xs);color:var(--muted)}
.delivery-agenda{display:flex;flex-direction:column;gap:27px}
.delivery-day-group{overflow:visible}
.delivery-day-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:23px 25px;background:var(--cream);border-radius:12px 12px 0 0;border-bottom:1px solid var(--line-strong)}
.delivery-day-title{font-size:var(--fs-xl);letter-spacing:-.35px;line-height:1.35}
.delivery-day-heading p{font-size:var(--fs-xs);color:var(--muted);margin-top:5px}
.delivery-day-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.delivery-overdue-label{font-size:var(--fs-xs);color:var(--warning-text);background:#fcf0da;padding:5px 8px;border-radius:var(--radius-sm)}
.delivery-route-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 25px;background:var(--surface-subtle);border-bottom:1px solid var(--cream)}
.delivery-route-heading h3{display:flex;align-items:center;gap:8px;font-size:var(--fs-xs);font-weight:600;color:var(--muted)}
.delivery-route-heading .icon{width:16px;height:16px}
.delivery-route-heading>span{font-size:var(--fs-xs);color:var(--muted)}
.delivery-stop{display:flex;align-items:flex-start;gap:15px;padding:23px 25px;border-bottom:1px solid var(--line-strong)}
.delivery-stop:last-child{border-bottom:0}
.delivery-route-group+.delivery-route-group,.delivery-pickup-section{border-top:1px solid var(--line-strong)}
.delivery-day-heading+.delivery-pickup-section{border-top:0}
.delivery-stop .stop-number{margin-top:1px}
.delivery-stop-content{flex:1;min-width:0}
.delivery-stop-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}
.delivery-stop-heading h3{font-size:var(--fs-md);line-height:1.4;overflow-wrap:anywhere}
.delivery-stop-heading a:hover h3{text-decoration:underline;text-underline-offset:3px}
.delivery-order-reference{font-size:var(--fs-xs);display:block;color:var(--muted);margin-top:4px}
.delivery-stop-time{display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:var(--fs-xs);color:var(--muted);padding-top:3px;flex-shrink:0}
.delivery-stop-time .icon{width:14px;height:14px}
.delivery-stop-details{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(190px,.9fr);gap:24px;align-items:start}
.delivery-label{display:block;margin-bottom:10px;font-size:var(--fs-xs);line-height:1;letter-spacing:1.1px;text-transform:uppercase;font-weight:600;color:var(--muted)}
.delivery-disclosure{min-width:0}.delivery-disclosure>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;min-height:36px;margin:0;padding:4px 0;font-size:var(--fs-xs)}.delivery-disclosure>summary::-webkit-details-marker{display:none}.delivery-disclosure>summary::marker{content:""}.delivery-disclosure>summary .icon{width:13px;height:13px;opacity:.65;transition:transform .15s ease}.delivery-disclosure[open]>summary{margin-bottom:10px}.delivery-disclosure[open]>summary .icon{transform:rotate(90deg)}.delivery-address-link{text-decoration:underline;text-decoration-color:#b0bda6;text-underline-offset:3px}.delivery-address-link:hover{text-decoration-color:currentColor;color:var(--green)}@media(prefers-reduced-motion:reduce){.delivery-disclosure>summary .icon{transition:none}}
.delivery-product-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:13px}
.delivery-product-description{display:flex;align-items:flex-start;gap:9px;font-size:var(--fs-sm);line-height:1.45}
.delivery-product-description>strong{flex-shrink:0;min-width:25px;font-weight:650;color:#35502c}
.delivery-product-description>span{min-width:0;overflow-wrap:anywhere}
.delivery-product-description small{display:block;margin-top:2px;font-size:var(--fs-xs);color:var(--muted)}
.delivery-package-components{padding:10px 13px;margin:9px 0 0 34px;border-left:2px solid var(--line-strong);background:var(--surface-subtle);border-radius:0 5px 5px 0;font-size:var(--fs-xs)}
.delivery-package-components summary{cursor:pointer;color:var(--muted);font-size:var(--fs-xs);font-weight:600}
.delivery-package-components ul{list-style:none;padding:0;margin:9px 0 0;display:flex;flex-direction:column;gap:7px}
.delivery-package-components li{display:flex;flex-wrap:wrap;gap:2px 9px;justify-content:space-between;line-height:1.45}
.delivery-package-components li>span{min-width:0;overflow-wrap:anywhere}
.delivery-package-components small{font-size:var(--fs-xs);color:var(--muted);white-space:nowrap}
.delivery-exchange-note{font-size:var(--fs-xs);color:var(--muted);margin:7px 0 0 34px;line-height:1.5}
.delivery-stop-location{min-width:0}
.delivery-stop-location address{font-style:normal;font-size:var(--fs-sm);line-height:1.65;overflow-wrap:anywhere;white-space:pre-line;margin:0 0 7px}
.delivery-pickup-location{display:block;font-size:var(--fs-xs);font-weight:600;margin-bottom:4px}
.delivery-contact-name{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:3px}
.delivery-contact-link{display:flex;align-items:flex-start;gap:6px;width:max-content;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.delivery-contact-link .icon{width:13px;height:13px;flex-shrink:0;margin-top:2px}
.delivery-contact-link:hover{text-decoration:underline;text-underline-offset:3px}
.delivery-stop-note{display:flex;gap:8px;font-size:var(--fs-xs);line-height:1.6;color:var(--muted);margin:17px 0 0;padding:11px 13px;background:var(--surface-subtle);border-radius:var(--radius-sm);white-space:pre-line}
.delivery-stop-note .icon{width:14px;height:14px;margin-top:2px;flex-shrink:0}
.delivery-stop-note>span{min-width:0;overflow-wrap:anywhere}
.delivery-stop-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:18px}
.delivery-stop-footer>.btn{min-height:40px;font-size:var(--fs-xs);padding:10px 14px}
.delivery-stop-footer>.action-menu>.icon-button,.delivery-day-actions>.action-menu>.icon-button{width:36px;height:40px}
.delivery-stop.is-delivered .stop-number{border-color:var(--line-strong);background:var(--cream)}
.delivery-load-more{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:26px 0 5px}
.delivery-load-more p{font-size:var(--fs-xs);color:var(--muted)}
.fulfillment-footer{flex-wrap:wrap}
.fulfillment-footer>.btn{min-height:40px}
.invoice-dispatch-summary>h3{font-size:var(--fs-lg);margin:0 0 12px;line-height:1.4}
.invoice-dispatch-summary>p{font-size:var(--fs-xs);line-height:1.7;margin:12px 0;color:var(--muted)}
.invoice-dispatch-summary>.info-grid{margin:20px 0;padding:19px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:20px 18px}
.invoice-dispatch-summary>.notice{margin:18px 0}
@media(max-width:1100px){.delivery-stop-details{grid-template-columns:1fr;gap:8px}.delivery-stop-location{padding-top:8px;border-top:1px solid var(--cream)}.delivery-contact-link{font-size:var(--fs-xs)}}
@media(max-width:760px){.delivery-day-title{font-size:var(--fs-lg)}.delivery-toolbar{gap:12px;margin-bottom:20px}.delivery-day-heading{padding:21px}.delivery-route-heading{padding:14px 21px}.delivery-stop{padding:21px;gap:12px}.delivery-stop-heading{gap:12px;flex-wrap:wrap}.delivery-stop-time{justify-content:flex-start;padding-top:0}.delivery-agenda{gap:23px}}
@media(max-width:540px){.delivery-toolbar{align-items:flex-start}.delivery-toolbar .filter-buttons{gap:4px}.delivery-toolbar .filter{font-size:var(--fs-xs);padding:9px 10px;min-height:40px}.delivery-toolbar .filter>span{font-size:var(--fs-xs);min-width:17px;padding:1px 4px}.delivery-list-summary{font-size:var(--fs-xs)}.delivery-day-heading{padding:19px 16px;gap:8px;align-items:flex-start}.delivery-day-title{font-size:var(--fs-lg);letter-spacing:-.3px}.delivery-day-heading p{font-size:var(--fs-xs);line-height:1.6;margin-top:6px}.delivery-day-actions{gap:4px;flex-direction:column-reverse;align-items:flex-end}.delivery-overdue-label{font-size:var(--fs-xs);padding:4px 5px;white-space:nowrap}.delivery-route-heading{padding:13px 16px;gap:10px}.delivery-route-heading h3{font-size:var(--fs-xs);gap:6px}.delivery-route-heading>span{font-size:var(--fs-xs);white-space:nowrap}.delivery-stop{padding:19px 16px;gap:10px}.delivery-stop .stop-number{width:25px;height:25px}.delivery-stop-heading{margin-bottom:18px;gap:7px}.delivery-stop-heading h3{font-size:var(--fs-md)}.delivery-order-reference{font-size:var(--fs-xs)}.delivery-stop-time{font-size:var(--fs-xs);width:100%;margin-top:3px}.delivery-label{font-size:var(--fs-xs);margin-bottom:9px}.delivery-product-description{font-size:var(--fs-sm);gap:6px}.delivery-product-description>strong{min-width:23px}.delivery-package-components{margin-left:0;padding:10px}.delivery-package-components summary{font-size:var(--fs-xs)}.delivery-package-components li{font-size:var(--fs-xs)}.delivery-package-components small{font-size:var(--fs-xs)}.delivery-exchange-note{margin-left:0}.delivery-stop-location address{font-size:var(--fs-sm)}.delivery-stop-footer{gap:5px;margin-top:17px}.delivery-stop-footer>.btn{font-size:var(--fs-xs);padding:10px 11px}.delivery-contact-link{font-size:var(--fs-xs);line-height:1.5}.delivery-load-more{padding-top:22px}.fulfillment-footer{justify-content:stretch}.fulfillment-footer>.btn-outline{flex:1 1 calc(50% - 5px)}.fulfillment-footer>.btn-primary{flex:1 1 100%;order:3;min-height:44px;font-size:var(--fs-xs)}}
@media(max-width:540px){.period-select{gap:3px;flex-wrap:wrap}.period-label{font-size:var(--fs-xs);margin-right:0}.period-select input{max-width:149px}.cycle-summary{grid-template-columns:1fr;gap:8px}.cycle-summary>div{padding:13px 15px}.cycle-summary strong{font-size:var(--fs-xs)}.route-customer{grid-template-columns:minmax(0,1fr) 64px;gap:10px;padding:14px 0}.route-customer>.checkbox-label{grid-column:1/-1}.route-customer>.checkbox-label strong{font-size:var(--fs-sm)}.route-arrival{padding-left:29px}.route-arrival input{font-size:var(--fs-md);max-width:160px}.route-move{align-self:end;padding-bottom:3px}.route-editor-intro{font-size:var(--fs-xs)}}
.package-availability{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:var(--fs-xs);line-height:1.6;margin:0 0 18px}.package-availability .icon{width:16px;height:16px;flex-shrink:0;margin-top:1px}.package-period-fields{margin:18px 0 24px}.package-period-fields input{max-width:100%}@media(max-width:540px){.package-availability{font-size:var(--fs-xs)}.package-period-fields input{font-size:var(--fs-md)}}

.package-replacement-editor{border:1px solid var(--line-strong);border-radius:var(--radius-md);padding:20px;margin:16px 0;background:var(--surface-subtle)}
.package-replacement-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.package-replacement-heading h4{font-size:var(--fs-base);margin:0}
.package-replacement-heading .btn{font-size:var(--fs-xs)}
.package-replacement-editor>.muted{font-size:var(--fs-xs);line-height:1.7;margin:17px 0 9px}
.package-alternative-editor{display:grid;grid-template-columns:minmax(0,1fr) 150px 34px;align-items:end;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.package-alternative-editor>.icon-button{margin-bottom:3px}
.package-alternative-editor+.btn,.package-replacement-editor>.btn{margin-top:12px}
@media(max-width:540px){.package-replacement-editor{padding:15px}.package-replacement-heading{align-items:flex-start;gap:8px}.package-replacement-heading .btn{font-size:var(--fs-xs);white-space:normal;text-align:right}.package-alternative-editor{grid-template-columns:minmax(0,1fr) 34px;gap:10px}.package-alternative-editor>.field:first-of-type{grid-column:1/-1}.package-alternative-editor .field input,.package-alternative-editor .field select{font-size:var(--fs-md)}}

.package-packing-contents{margin-top:10px;line-height:1.6}
.package-content-heading{display:block;font-size:var(--fs-xs);font-weight:600;margin:12px 0 6px}
.package-packing-contents ul{margin:0 0 10px;padding-left:16px}
.delivery-package-components .package-packing-contents li{display:list-item;font-size:var(--fs-xs);line-height:1.6}
.paper-extra-note{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin:4px 0}
.paper .package-content-heading{font-size:10px;margin:8px 0 3px}
.paper .package-packing-contents{margin-top:5px}

.package-period{margin-top:30px}.package-period-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px 24px;margin-bottom:14px}.package-active-toggle{max-width:360px;align-items:flex-start}.package-active-toggle input{margin:0;transform:translateY(1px)}.package-period-fields{border:0;padding:0;margin:0;min-inline-size:0}.package-period-fields>p{margin-bottom:16px}.package-period-fields:disabled{opacity:.55}.package-period-fields:disabled input{background:var(--background);cursor:not-allowed}@media(max-width:600px){.package-period-heading{flex-direction:column;gap:12px}.package-active-toggle{max-width:none}}

/* Continuous delivery history and compact delivery confirmation. */
.delivery-history-mode{--delivery-topbar-height:74px}.delivery-history-mode .topbar{position:sticky;top:0;z-index:40;height:var(--delivery-topbar-height);flex-shrink:0;background:var(--white)}.delivery-history-toolbar{position:sticky;top:var(--delivery-topbar-height);z-index:25;background:var(--bg,var(--surface-subtle));padding:12px 0 16px;margin:-12px 0 18px;border-bottom:1px solid var(--line)}.delivery-history-toolbar .page-heading{margin-bottom:12px}.delivery-history-toolbar .delivery-list-summary{display:block}.delivery-day-group[data-delivery-history-start]:focus-visible{outline:none}[data-delivery-history-tail]{height:0;flex-shrink:0;pointer-events:none}
.fulfillment-intro{font-size:var(--fs-xs);color:var(--muted);margin:0 0 14px}.fulfillment-compact-line{display:block;padding:13px 0}.fulfillment-row-overview{display:grid;grid-template-columns:minmax(0,1fr) auto 36px;gap:16px;align-items:center}.fulfillment-compact-line .fulfillment-row-overview>.fulfillment-product strong{display:block;font-size:var(--fs-sm);margin:0;line-height:1.5;overflow-wrap:anywhere}.fulfillment-compact-line .fulfillment-row-overview>.fulfillment-product>span{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:3px}.fulfillment-configuration{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.fulfillment-readout{text-align:right;white-space:nowrap}.fulfillment-compact-line .fulfillment-row-overview .fulfillment-readout>strong{display:block;margin:0;font-size:var(--fs-base);color:var(--green)}.fulfillment-readout>small{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:3px}.fulfillment-edit-button{width:36px;height:36px}.fulfillment-edit-button .icon{width:17px;height:17px}.fulfillment-line-editor{padding:16px;margin-top:12px;background:var(--background);border-radius:var(--radius-sm)}.fulfillment-line-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.fulfillment-mark{margin-top:18px}.customer-invoice-fields>p{font-size:var(--fs-xs);margin:0 0 16px}
@media(max-width:760px){.delivery-history-mode{--delivery-topbar-height:64px}.delivery-history-toolbar .page-heading{gap:10px}.delivery-history-toolbar .page-heading h1{font-size:var(--fs-2xl)}.delivery-history-toolbar .page-heading p{font-size:var(--fs-xs)}.delivery-history-toolbar{padding-bottom:12px}.delivery-history-toolbar .heading-actions .btn{min-height:36px;padding:8px 11px;font-size:var(--fs-xs)}}
@media(max-width:540px){.fulfillment-row-overview{gap:10px;grid-template-columns:minmax(0,1fr) auto 34px}.fulfillment-readout>strong{font-size:var(--fs-sm)}.fulfillment-edit-button{width:34px;min-height:36px}.fulfillment-line-editor{padding:12px}.fulfillment-line-editor .form-grid{gap:12px}.fulfillment-line-editor input{font-size:var(--fs-md)}.fulfillment-intro{font-size:var(--fs-xs)}}
@media print{.delivery-history-toolbar{position:static}[data-delivery-history-tail]{display:none!important}}

/* The breadcrumb carries the work portal page title. */
.breadcrumbs{min-width:0;flex:1}.breadcrumbs>a{flex-shrink:0;color:var(--muted);font-size:var(--fs-xs)}.breadcrumbs>a:hover{text-decoration:underline;text-underline-offset:3px}.breadcrumbs>h1{font-size:var(--fs-xl);font-weight:650;letter-spacing:-.4px;line-height:1.35;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-right{flex-shrink:0}.work-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 20px;flex-wrap:wrap}.work-header-actions:empty{display:none}.work-context-meta{font-size:var(--fs-xs);color:var(--muted);margin:0 0 15px}.work-detail-meta{font-size:var(--fs-xs);color:var(--muted);line-height:1.6;margin:0 0 20px;overflow-wrap:anywhere}.delivery-history-toolbar .work-header-actions{margin-bottom:8px}.delivery-history-toolbar{padding-top:8px;padding-bottom:12px}.production-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.production-toolbar>.btn{flex-shrink:0}.period-bar-compact{margin:0;justify-content:flex-start;gap:8px 18px;flex-wrap:wrap;min-width:0}.period-bar-compact .period-select{max-width:100%}.period-range-hint{position:relative;display:inline-flex;min-width:0}.period-range-trigger{border:0;border-bottom:1px dotted var(--green-200);background:transparent;padding:5px 0;font-size:var(--fs-xs);line-height:1.5;color:var(--muted);text-align:left;border-radius:var(--radius-sm);min-height:30px}.period-range-tooltip{position:absolute;top:calc(100% + 8px);left:0;width:max-content;max-width:min(320px,calc(100vw - 40px));padding:10px 13px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--white);box-shadow:0 5px 18px #263e2b15;font-size:var(--fs-xs);line-height:1.6;color:var(--green-hover);z-index:55;visibility:hidden;opacity:0;pointer-events:none}.period-range-hint:not([data-tooltip-dismissed]):hover .period-range-tooltip,.period-range-hint:not([data-tooltip-dismissed]):focus-within .period-range-tooltip,.period-range-hint[data-tooltip-open] .period-range-tooltip{visibility:visible;opacity:1}.production-card>.section-heading{padding-top:18px;padding-bottom:18px}.production-row{padding-top:18px;padding-bottom:18px}
@media(max-width:980px){.production-toolbar{align-items:flex-start}.period-bar-compact{gap:6px 12px}}
@media(max-width:760px){.breadcrumbs>.breadcrumb-root,.breadcrumbs>.breadcrumb-parent{display:none}.breadcrumbs>h1{font-size:var(--fs-lg)}.work-header-actions{margin-bottom:16px}.work-header-actions>.btn{min-height:38px;font-size:var(--fs-xs)}.production-toolbar{gap:12px}.production-toolbar>.btn{font-size:var(--fs-xs);padding:10px 12px}.period-bar-compact .period-label{font-size:var(--fs-xs)}}
@media(max-width:540px){.production-toolbar{flex-wrap:wrap;gap:12px}.production-toolbar>.period-bar-compact{flex:1 1 100%;width:100%;justify-content:space-between}.production-toolbar>.btn{margin-left:auto}.period-bar-compact .period-select{flex-wrap:nowrap;gap:1px;padding:3px 2px}.period-bar-compact .period-select input{width:115px;font-size:var(--fs-xs)}.period-bar-compact .period-select label{gap:5px;padding:0 4px}.period-bar-compact .period-select .icon-button{width:28px}.period-range-trigger{font-size:var(--fs-xs)}.work-header-actions .btn{font-size:var(--fs-xs)}.breadcrumbs>h1{font-size:var(--fs-lg)}.work-detail-meta{font-size:var(--fs-xs);margin-bottom:16px}}

/* Secondary administration pages share one expandable navigation group. */
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar>.brand,.sidebar>.sidebar-label,.sidebar>nav,.sidebar>.sidebar-bottom{flex-shrink:0}.nav-management>summary{list-style:none;cursor:pointer}.nav-management>summary::-webkit-details-marker{display:none}.nav-management>summary::marker{content:""}.nav-management-summary.is-active-section{color:var(--green);font-weight:600}.nav-management-summary>.nav-management-chevron{width:13px;height:13px;margin-left:auto;opacity:.65;transition:transform .15s ease}.nav-management[open]>.nav-management-summary>.nav-management-chevron{transform:rotate(90deg)}.nav-management-links{display:flex;flex-direction:column;gap:2px;margin:5px 0 3px 22px;padding-left:9px;border-left:1px solid var(--line-strong)}.nav-management-links>.nav-sublink{font-size:var(--fs-xs);gap:10px;min-height:38px;padding:9px 10px}.nav-sublink>.icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.nav-management-summary>.nav-management-chevron{transition:none}}

@media(max-width:760px){.nav-management-links>.nav-sublink{min-height:44px}}

/* Orders remain one chronological list; the week picker only moves its viewport. */
.orders-history-mode{--orders-topbar-height:74px}.orders-history-mode .topbar{position:sticky;top:0;z-index:40;flex-shrink:0;height:var(--orders-topbar-height);background:var(--white)}.orders-history-toolbar{position:sticky;top:var(--orders-topbar-height);z-index:30;background:var(--bg,var(--surface-subtle));padding:8px 0 14px;margin:-8px 0 20px;border-bottom:1px solid var(--line-strong)}.orders-history-primary{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.orders-history-primary .work-header-actions{margin:0;flex-shrink:0}.orders-history-primary .period-bar{margin:0}.orders-history-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}.orders-history-filters>.action-menu{margin-left:auto}.orders-history-summary{font-size:var(--fs-xs);line-height:1.5;color:var(--muted);margin:10px 0 0}.orders-history-summary strong{font-weight:550;color:var(--muted)}.orders-week-group{margin-bottom:20px;outline:none}.orders-week-group:focus-visible{outline:none}.orders-week-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 23px;background:var(--cream);border-bottom:1px solid var(--line-strong);border-radius:11px 11px 0 0}.orders-week-heading h2{font-size:var(--fs-lg)}.orders-week-dates{font-size:var(--fs-xs);color:var(--muted);margin-top:5px}.orders-week-count{font-size:var(--fs-xs);color:var(--muted);white-space:nowrap}.orders-week-empty{padding:22px 23px;font-size:var(--fs-xs);color:var(--muted)}.orders-stream-row{display:grid;grid-template-columns:minmax(150px,1.6fr) minmax(110px,1fr) 74px 92px 86px 108px;align-items:center;gap:15px;padding:18px 23px;border-top:1px solid var(--cream)}.orders-stream-row:first-child{border-top:0}.orders-stream-customer{min-width:0}.orders-stream-customer strong{display:block;font-size:var(--fs-sm);line-height:1.5;overflow-wrap:anywhere}.orders-stream-customer a>span,.orders-stream-delivery>span,.orders-stream-quantity>span,.orders-stream-amount>span{display:block;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:1.5}.orders-stream-delivery>time{font-size:var(--fs-xs)}.orders-stream-quantity>strong,.orders-stream-amount>strong{font-size:var(--fs-xs);font-weight:550}.orders-stream-amount{text-align:right}.orders-stream-status{min-width:0}.orders-stream-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.orders-stream-row-actions>.icon-button,.orders-stream-row-actions>.action-menu>summary{display:inline-flex;align-items:center;justify-content:center;width:32px;height:34px;min-height:34px;padding:0;border:0}.orders-stream-row-actions .icon{width:16px;height:16px}.orders-week-action-scope{padding:9px 10px 11px;border-bottom:1px solid var(--line);margin-bottom:4px;max-width:300px}.orders-week-action-scope strong{font-size:var(--fs-xs);font-weight:600}.orders-week-action-scope p{font-size:var(--fs-xs);color:var(--muted);margin-top:5px;line-height:1.6}[data-orders-history-tail]{height:0;flex-shrink:0;pointer-events:none}
@media(max-width:1250px){.orders-stream-row{grid-template-columns:minmax(0,1fr) 100px 108px;grid-template-areas:"customer amount actions" "delivery quantity status";gap:10px 16px}.orders-stream-customer{grid-area:customer}.orders-stream-delivery{grid-area:delivery}.orders-stream-quantity{grid-area:quantity;text-align:right}.orders-stream-amount{grid-area:amount}.orders-stream-status{grid-area:status;text-align:right}.orders-stream-row-actions{grid-area:actions}}
@media(max-width:760px){.orders-history-mode{--orders-topbar-height:64px}.orders-history-primary{align-items:flex-start;gap:12px}.orders-history-primary .work-header-actions>.btn{font-size:var(--fs-xs);padding:10px 12px}.orders-history-filters .search-field{flex:1 1 220px;width:auto}.orders-history-filters .filter-buttons{order:3;flex-basis:100%;gap:3px}.orders-history-filters>.action-menu{order:2;margin-left:0}.orders-week-heading{padding:18px}.orders-week-heading h2{font-size:var(--fs-md)}.orders-stream-row{padding:16px 18px}.orders-stream-row-actions>.icon-button,.orders-stream-row-actions>.action-menu>summary{min-height:40px;height:40px}.orders-history-summary{font-size:var(--fs-xs)}}
@media(max-width:540px){.orders-history-primary{flex-wrap:wrap;gap:10px}.orders-history-primary>.period-bar{flex:1 1 100%;gap:5px}.orders-history-primary>.work-header-actions{margin-left:auto}.orders-history-primary .period-select{flex-wrap:nowrap;gap:1px;padding:3px 2px}.orders-history-primary .period-select input{width:115px;font-size:var(--fs-xs)}.orders-history-primary .period-select label{gap:5px;padding:0 4px}.orders-history-primary .period-select .icon-button{width:28px}.orders-history-primary .period-label{font-size:var(--fs-xs)}.orders-history-filters{gap:8px}.orders-history-filters .filter{font-size:var(--fs-xs);padding:7px 9px;min-height:36px}.orders-history-toolbar{padding-bottom:10px}.orders-history-summary{margin-top:7px}.orders-week-heading{padding:16px;gap:10px;align-items:flex-start}.orders-week-heading h2{font-size:var(--fs-md)}.orders-week-count{font-size:var(--fs-xs);padding-top:4px}.orders-week-dates{font-size:var(--fs-xs)}.orders-stream-row{grid-template-columns:minmax(0,1fr) 108px;grid-template-areas:"customer amount" "delivery status" "quantity actions";padding:15px 16px;gap:8px 12px}.orders-stream-customer strong{font-size:var(--fs-xs)}.orders-stream-quantity{text-align:left;display:flex;align-items:center;gap:5px}.orders-stream-quantity>span{margin-top:0}.orders-stream-delivery>time{font-size:var(--fs-xs)}.orders-week-empty{padding:18px 16px;font-size:var(--fs-xs)}}
@media print{.orders-history-toolbar{position:static}[data-orders-history-tail]{display:none!important}}
.order-customer-picker{position:relative;min-width:0}
.order-customer-picker input[data-order-customer-search][role=combobox]{width:100%;min-height:44px;background:var(--white)}
.order-customer-picker input[aria-expanded=true]{border-color:var(--green-300)}
.order-customer-results[role=listbox]{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;max-height:220px;overflow:auto;overscroll-behavior:contain;scroll-padding:5px;background:var(--white);border:1px solid var(--line-strong);border-radius:var(--radius-md);box-shadow:0 10px 28px #233a2520;padding:5px;min-width:0}
.order-customer-option[role=option]{display:block;width:100%;min-height:44px;margin:0;border:0;border-radius:var(--radius-sm);padding:10px 11px;background:var(--white);color:var(--text);text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.5;cursor:pointer}
.order-customer-option strong{display:block;font-size:var(--fs-sm);font-weight:600;color:var(--green)}
.order-customer-option small{display:block;margin-top:3px;font-size:var(--fs-xs);line-height:1.5;color:var(--muted);font-weight:400}
.order-customer-option[aria-selected=true],.order-customer-option.is-active,.order-customer-option:hover{background:var(--cream)}
.order-customer-option:focus-visible{outline:2px solid var(--green-300);outline-offset:-2px}
.order-customer-empty{padding:13px 11px;font-size:var(--fs-xs);line-height:1.6;color:var(--muted);white-space:normal;overflow-wrap:anywhere}
.order-customer-create{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:44px;padding:11px;border:0;border-radius:var(--radius-sm);background:var(--cream);color:var(--green-hover);font-size:var(--fs-xs);font-weight:500;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.order-customer-create:hover{background:var(--cream)}
.order-customer-create .icon{width:16px;height:16px;flex-shrink:0}
.order-customer-results .order-customer-create{position:sticky;bottom:0;margin-top:5px;border-top:1px solid var(--line);border-radius:0 0 5px 5px}
.order-customer-selected{min-width:0;color:var(--green);overflow-wrap:anywhere}
.order-delivery-summary{grid-column:1/-1;display:flex;align-items:flex-start;gap:11px;min-width:0;padding:14px 15px;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--cream);color:var(--muted);overflow-wrap:anywhere}
.order-delivery-summary>.icon{width:19px;height:19px;margin-top:2px;flex-shrink:0;color:var(--muted)}
.order-delivery-summary>div{min-width:0}
.order-delivery-summary strong{display:block;font-size:var(--fs-base);line-height:1.5;font-weight:600;color:var(--green)}
.order-delivery-summary p,.order-delivery-summary small{display:block;font-size:var(--fs-xs);line-height:1.65;font-weight:400;color:var(--muted);margin:3px 0 0}
.order-delivery-warning{grid-column:1/-1;min-width:0;padding:12px 14px;background:var(--warning-bg);border:1px solid var(--warning-line);border-radius:var(--radius-md);font-size:var(--fs-xs);line-height:1.65;color:var(--warning-text);overflow-wrap:anywhere}
.order-delivery-warning strong,.order-delivery-warning p,.order-delivery-warning small,.order-delivery-warning>.icon{color:var(--warning-text)}
@media(max-width:540px){.order-customer-results[role=listbox]{max-height:200px}.order-customer-picker input[data-order-customer-search][role=combobox]{font-size:var(--fs-md)}.order-customer-option[role=option]{min-height:48px;padding:11px 10px}.order-customer-create{min-height:46px}.order-delivery-summary{padding:13px 12px;gap:9px}.order-delivery-summary strong{font-size:var(--fs-sm)}}

.order-customer-picker>label{display:block;font-weight:550;margin-bottom:7px}.order-customer-create{align-self:flex-start;min-height:34px;padding:5px 0;background:transparent}.order-customer-create:hover{background:transparent;text-decoration:underline}

.order-customer-popup{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;min-width:0;background:var(--white);border:1px solid var(--line-strong);border-radius:var(--radius-md);box-shadow:0 10px 28px #233a2520;padding:5px}.order-customer-popup .order-customer-results[role=listbox]{position:static;border:0;border-radius:0;box-shadow:none;padding:0}.order-customer-popup .order-customer-create{width:100%;padding:11px;min-height:44px;border-top:1px solid var(--line);margin-top:5px;background:var(--cream);text-decoration:none}.order-customer-popup .order-customer-create:hover{background:var(--cream)}
.delivery-agenda .delivery-stop{display:block;padding:0}
.delivery-stop-row{display:grid;grid-template-columns:28px minmax(130px,1fr) minmax(90px,max-content) auto 44px;align-items:center;gap:12px;min-height:72px;padding:10px 20px}
.delivery-stop-row>.stop-number{width:28px;height:28px;margin:0;font-size:var(--fs-xs);align-self:center}
.delivery-stop-row>.stop-number .icon{width:14px;height:14px}
.delivery-stop-identity{display:block;min-width:0}
.delivery-stop-identity h3{font-size:var(--fs-sm);font-weight:600;line-height:1.4;margin:0;overflow-wrap:anywhere}
.delivery-stop-identity:hover h3{text-decoration:underline;text-underline-offset:3px}
.delivery-stop-identity .delivery-order-reference{font-size:var(--fs-xs);line-height:1.35;font-weight:400;font-variant-numeric:tabular-nums;color:var(--muted);margin-top:3px}
.delivery-stop-row>.delivery-stop-time{min-width:0;padding:0;justify-content:flex-start;font-size:var(--fs-xs);line-height:1.5;white-space:nowrap}
.delivery-stop-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.delivery-stop-actions>.btn{min-height:36px;padding:8px 11px;font-size:var(--fs-xs)}
.delivery-stop-actions>.badge{font-size:var(--fs-xs)}
.delivery-stop-actions>.action-menu>summary{width:36px;height:36px;min-height:36px}
.delivery-stop-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:15px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted);cursor:pointer}
.delivery-stop-toggle:hover{background:var(--cream);color:var(--green)}
.delivery-stop-toggle .icon{width:14px;height:14px;transition:transform .15s ease}
.delivery-stop-toggle[aria-expanded=true] .icon{transform:rotate(90deg)}
.delivery-stop-expanded{padding:4px 20px 18px 60px;min-width:0}
.delivery-stop-expanded[hidden]{display:none!important}
.delivery-stop-expanded .delivery-stop-details{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px;padding-top:8px}
.delivery-stop-expanded .delivery-stop-products,.delivery-stop-expanded .delivery-stop-location{min-width:0}
.delivery-stop-expanded h4.delivery-label{margin:0 0 10px;font-size:var(--fs-xs);line-height:1.4;letter-spacing:.8px;font-weight:600;color:var(--muted)}
.delivery-stop-expanded .delivery-product-description{font-size:var(--fs-xs);line-height:1.5}
.delivery-stop-expanded .delivery-product-description small{font-size:var(--fs-xs)}
.delivery-stop-expanded .delivery-stop-note{margin-top:14px}
@media(max-width:1050px){.delivery-stop-row{grid-template-columns:24px minmax(0,1fr) auto 44px;grid-template-areas:"number identity identity toggle" ". time actions actions";gap:3px 9px;padding:8px 16px;min-height:102px}.delivery-stop-row>.stop-number{grid-area:number;width:24px;height:24px}.delivery-stop-identity{grid-area:identity}.delivery-stop-row>.delivery-stop-time{grid-area:time;white-space:normal;align-items:flex-start}.delivery-stop-actions{grid-area:actions;gap:4px}.delivery-stop-toggle{grid-area:toggle}.delivery-stop-expanded{padding:4px 16px 18px 49px}.delivery-stop-actions>.btn{min-height:40px}.delivery-stop-actions>.action-menu>summary{width:44px;height:44px;min-height:44px}}
@media(max-width:540px){.delivery-stop-row{padding:8px 12px;gap:3px 8px;min-height:104px}.delivery-stop-identity h3{font-size:var(--fs-xs);line-height:1.35}.delivery-stop-identity .delivery-order-reference{font-size:var(--fs-xs);line-height:1.3;margin-top:2px}.delivery-stop-row>.delivery-stop-time{font-size:var(--fs-xs);line-height:1.4;gap:4px}.delivery-stop-row>.delivery-stop-time .icon{width:12px;height:12px;margin-top:1px}.delivery-stop-actions>.btn{font-size:var(--fs-xs);padding:8px;max-width:142px;white-space:normal}.delivery-stop-actions>.btn .icon{width:14px;height:14px}.delivery-stop-actions>.badge{font-size:var(--fs-xs)}.delivery-stop-expanded{padding:3px 12px 17px}.delivery-stop-expanded .delivery-stop-details{grid-template-columns:1fr;gap:20px;padding:10px 0 0}.delivery-stop-expanded h4.delivery-label{font-size:var(--fs-xs);margin-bottom:9px}.delivery-stop-expanded .delivery-product-list{gap:11px}}
@media(prefers-reduced-motion:reduce){.delivery-stop-toggle .icon{transition:none}}

/* Section headings stick within their own week/day, below the measured page controls. */
.orders-history .orders-week-group{overflow:visible}
.orders-history .orders-week-heading{position:sticky;top:var(--orders-history-chrome-height,74px);z-index:20;box-shadow:0 2px 3px #263e2b06}
.delivery-history-mode .delivery-day-heading{position:sticky;top:var(--delivery-history-chrome-height,74px);z-index:20;box-shadow:0 2px 3px #263e2b06}
.delivery-history-mode .delivery-day-heading:has(.action-menu[open]){z-index:50}
@media print{.orders-history .orders-week-heading,.delivery-history-mode .delivery-day-heading{position:static;box-shadow:none}}
.operations-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;min-width:0}
.operations-toolbar>.period-bar{margin:0;min-width:0}
.operations-toolbar>.btn{min-height:44px;flex-shrink:0}
.operations-toolbar .period-select .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
.operations-storage-note{font-size:var(--fs-xs);line-height:1.6;color:var(--muted);margin:0 0 18px;overflow-wrap:anywhere}
.operations-card>.section-heading{padding:16px 20px;border-bottom:1px solid var(--line-strong);gap:12px}
.operations-card>.section-heading h2{font-size:var(--fs-md);line-height:1.4}
.operations-card>.section-heading small{font-size:var(--fs-xs);color:var(--muted);font-weight:400}
.production-work-list{min-width:0}
.production-task{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 20px;min-width:0;min-height:72px;border-top:1px solid var(--cream)}
.production-task:first-child{border-top:0}
.operation-check{position:relative;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;cursor:pointer;align-self:center}
.operation-check>input[type=checkbox]{position:absolute;inset:0;width:44px;height:44px;margin:0;opacity:0;cursor:pointer;z-index:1}
.operation-check>span{display:grid;place-items:center;width:23px;height:23px;background:var(--white);border:1.5px solid var(--green-200);border-radius:var(--radius-sm);color:var(--white);pointer-events:none}
.operation-check>span .icon{width:15px;height:15px;opacity:0}
.operation-check>input:checked+span{background:var(--green-hover);border-color:var(--green-hover)}
.operation-check>input:checked+span .icon{opacity:1}
.operation-check>input:focus-visible+span{outline:3px solid #91ad77;outline-offset:3px}
.operation-check>input:disabled{cursor:wait}
.operation-check>input:disabled+span{opacity:.5}
.production-task-info{min-width:0;overflow-wrap:anywhere}
.production-task-info h3{font-size:var(--fs-sm);line-height:1.45;margin:0;font-weight:600}
.production-task-info p{font-size:var(--fs-xs);line-height:1.6;color:var(--muted);margin:4px 0 0}
.production-task-total{min-width:0;max-width:180px;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.production-task-total strong{display:block;font-size:var(--fs-lg);line-height:1.4;font-weight:600;color:#385331}
.production-task-total small{display:block;font-size:var(--fs-xs);line-height:1.5;margin-top:3px;color:var(--muted)}
.operation-changed{display:block;font-size:var(--fs-xs);line-height:1.6;color:var(--warning-text);margin-top:6px;overflow-wrap:anywhere}
.operations-completed{margin:20px 0 0;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--white);min-width:0}
.operations-completed>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 18px;list-style:none;font-size:var(--fs-sm);font-weight:550;color:var(--muted);cursor:pointer}
.operations-completed>summary::-webkit-details-marker{display:none}
.operations-completed>summary::marker{content:""}
.operations-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:var(--radius-lg);background:var(--cream);font-size:var(--fs-xs);font-weight:500;color:var(--muted)}
.operations-completed>summary>.operations-count{margin-left:auto}
.operations-completed>summary>.icon{width:14px;height:14px;flex-shrink:0;transition:transform .15s ease}
.operations-completed[open]>summary{border-bottom:1px solid var(--line-strong)}
.operations-completed[open]>summary>.icon{transform:rotate(90deg)}
.operations-completed .production-task{background:var(--surface-subtle)}
.operations-completed .production-task-info h3{color:var(--muted)}
.operations-empty{padding:20px;font-size:var(--fs-xs);line-height:1.65;color:var(--muted);margin:0}
.operations-card>.operations-empty{margin:0}
.preparation-day{margin:0 0 20px;min-width:0;overflow:visible}
.preparation-day-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 20px;border-bottom:1px solid var(--line-strong);background:var(--cream);border-radius:12px 12px 0 0}
.preparation-day-heading h2{font-size:var(--fs-md);line-height:1.4;overflow-wrap:anywhere}
.preparation-day-heading small,.preparation-day-heading>span{font-size:var(--fs-xs);line-height:1.5;color:var(--muted);flex-shrink:0}
.preparation-route+.preparation-route{border-top:1px solid var(--line-strong)}
.preparation-route-heading{font-size:var(--fs-xs);line-height:1.5;font-weight:600;color:var(--muted);padding:10px 20px;background:var(--surface-subtle);border-bottom:1px solid var(--cream);margin:0}
.preparation-order{min-width:0;border-top:1px solid var(--cream)}
.preparation-order:first-child,.preparation-route-heading+.preparation-order{border-top:0}
.preparation-order-row{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;align-items:center;gap:10px;min-height:76px;padding:11px 20px;min-width:0}
.preparation-order-identity{min-width:0;overflow-wrap:anywhere}
.preparation-order-identity strong{display:block;font-size:var(--fs-sm);line-height:1.4;font-weight:600;color:var(--text)}
.preparation-order-identity>span{display:block;font-size:var(--fs-xs);line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:2px}
.preparation-order-identity small{display:block;font-size:var(--fs-xs);line-height:1.5;color:var(--muted);margin-top:3px}
.preparation-order-row>.preparation-packing-link,.preparation-order-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:13px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted);cursor:pointer}
.preparation-packing-link .icon{width:17px;height:17px}
.preparation-order-toggle .icon{width:14px;height:14px;transition:transform .15s ease}
.preparation-order-row>.preparation-packing-link:hover,.preparation-order-toggle:hover{background:var(--cream);color:var(--green)}
.preparation-order-toggle[aria-expanded=true] .icon{transform:rotate(90deg)}
.preparation-order-details{padding:0 20px 18px 74px;min-width:0}
.preparation-order-details[hidden]{display:none!important}
.preparation-product-list{list-style:none;padding:0;margin:0;min-width:0}
.preparation-product-list>li{padding:11px 0;border-top:1px solid var(--cream);min-width:0}
.preparation-product-list>li:first-child{border-top:0}
.preparation-product-main{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;font-size:var(--fs-xs);line-height:1.5;min-width:0}
.preparation-product-main>div,.preparation-product-main>span{min-width:0;overflow-wrap:anywhere}
.preparation-product-main strong{font-size:var(--fs-xs);line-height:1.5;font-weight:600}
.preparation-product-main>strong:last-child{flex-shrink:0;text-align:right;max-width:35%;overflow-wrap:anywhere}
.preparation-product-main small{display:block;font-size:var(--fs-xs);line-height:1.5;color:var(--muted);margin-top:3px}
.preparation-order-details .package-packing-contents{padding-left:13px;border-left:2px solid var(--line-strong);margin:10px 0 0;font-size:var(--fs-xs);overflow-wrap:anywhere}
.preparation-order-details .package-content-heading{font-size:var(--fs-xs);margin:9px 0 5px}
.preparation-order-details .package-packing-contents li{font-size:var(--fs-xs);line-height:1.6}
.preparation-order-note{padding:10px 12px;background:var(--surface-subtle);border-radius:var(--radius-sm);font-size:var(--fs-xs);line-height:1.65;color:var(--muted);margin:10px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.preparation-weight-note{font-size:var(--fs-xs);line-height:1.65;color:var(--muted);margin:10px 0 0;overflow-wrap:anywhere}
.operations-completed .preparation-day{border:0;border-radius:0;box-shadow:none;margin:0}
.operations-completed .preparation-day+.preparation-day{border-top:1px solid var(--line-strong)}
.operations-completed .preparation-day-heading{border-radius:0;background:var(--background)}
.orders-stream-row-actions>.action-menu:only-child>summary{width:44px;height:44px;min-width:44px;min-height:44px}
@media(min-width:1251px){.orders-stream-row:has(>.orders-stream-row-actions>.action-menu:only-child){grid-template-columns:minmax(150px,1.6fr) minmax(110px,1fr) 74px 92px 86px 44px}}
@media(max-width:760px){.operations-toolbar{align-items:flex-start}.operations-toolbar>.btn{font-size:var(--fs-xs);padding:10px 12px}.preparation-day-heading{padding:15px 17px}.preparation-order-row{padding:10px 17px;gap:8px}.preparation-order-details{padding-left:69px;padding-right:17px}}
@media(max-width:540px){.operations-toolbar{flex-wrap:wrap;gap:10px}.operations-toolbar>.period-bar{width:100%;flex-basis:100%;justify-content:space-between}.operations-toolbar>.btn{margin-left:auto}.operations-storage-note{font-size:var(--fs-xs);margin-bottom:15px}.operations-card>.section-heading{padding:15px 12px}.operations-card>.section-heading h2{font-size:var(--fs-md)}.production-task{padding:11px 12px;gap:8px;grid-template-columns:44px minmax(0,1fr) auto}.production-task-info h3{font-size:var(--fs-xs)}.production-task-info p{font-size:var(--fs-xs)}.production-task-total{max-width:96px}.production-task-total strong{font-size:var(--fs-md)}.production-task-total small{font-size:var(--fs-xs)}.operation-changed{font-size:var(--fs-xs)}.operations-completed>summary{padding:10px 12px;min-height:50px;font-size:var(--fs-xs)}.operations-empty{padding:17px 12px;font-size:var(--fs-xs)}.preparation-day-heading{padding:14px 12px;gap:10px;align-items:flex-start}.preparation-day-heading h2{font-size:var(--fs-base)}.preparation-day-heading small,.preparation-day-heading>span{font-size:var(--fs-xs)}.preparation-route-heading{padding:9px 12px;font-size:var(--fs-xs)}.preparation-order-row{grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:6px;padding:10px 12px}.preparation-order-identity strong{font-size:var(--fs-sm)}.preparation-order-identity>span{font-size:var(--fs-xs)}.preparation-order-identity small{font-size:var(--fs-xs)}.preparation-order-details{padding:0 12px 16px}.preparation-product-main{font-size:var(--fs-xs);gap:10px}.preparation-product-main strong{font-size:var(--fs-xs)}.preparation-product-main small{font-size:var(--fs-xs)}}
@media(prefers-reduced-motion:reduce){.operations-completed>summary>.icon,.preparation-order-toggle .icon{transition:none}}
.preparation-route-heading{display:flex;align-items:center;gap:7px}
.preparation-route-heading>.icon{width:16px;height:16px;flex-shrink:0}
.preparation-order-details .preparation-package-total,.preparation-order-details .preparation-exchanges{font-size:var(--fs-xs);line-height:1.6;color:var(--muted);margin:6px 0 0}
.preparation-order-note{display:flex;align-items:flex-start;gap:7px}
.preparation-order-note>.icon{width:14px;height:14px;flex-shrink:0;margin-top:2px}
.preparation-order-note>span{min-width:0;overflow-wrap:anywhere}

/* One compact ordering toolbar: week, search and primary action share a row when space permits. */
.orders-toolbar-compact{container-type:inline-size}
.orders-toolbar-compact .orders-history-primary{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;grid-template-areas:"week search create";align-items:center;gap:12px;margin-bottom:6px}
.orders-toolbar-compact .orders-history-primary>.period-bar{grid-area:week;min-width:0;flex:none}
.orders-toolbar-compact .orders-history-primary>.search-field{grid-area:search;width:100%;min-width:0;max-width:420px;justify-self:center;min-height:44px}
.orders-toolbar-compact .orders-history-primary>.work-header-actions{grid-area:create;margin:0;justify-self:end;min-width:0}
.orders-toolbar-compact .work-header-actions>.btn{min-height:44px;white-space:nowrap}
.orders-toolbar-compact .period-select{min-height:44px;box-sizing:border-box;flex-wrap:nowrap}
.orders-toolbar-compact .period-select label{min-width:0}
.orders-toolbar-compact .period-select input{min-width:0}
.orders-toolbar-compact .orders-history-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.orders-toolbar-compact .orders-history-summary{margin:0;min-width:0;line-height:1.6}
.orders-toolbar-compact .orders-history-summary strong{white-space:nowrap}
.orders-toolbar-compact .orders-history-meta>.action-menu{flex-shrink:0}
.orders-toolbar-compact .orders-history-meta>.action-menu>summary{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:8px}
@container(max-width:760px){.orders-toolbar-compact .orders-history-primary{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"week create" "search search";gap:10px 12px;margin-bottom:4px}.orders-toolbar-compact .orders-history-primary>.period-bar{justify-self:start;width:auto;max-width:100%;flex:none}.orders-toolbar-compact .orders-history-primary>.search-field{max-width:none}.orders-toolbar-compact .orders-history-meta>.action-menu>summary{width:44px;height:44px;min-height:44px}.orders-toolbar-compact .orders-history-meta{gap:8px}}
@media(max-width:540px){.orders-toolbar-compact .orders-history-primary{gap:9px 10px}.orders-toolbar-compact .orders-history-primary>.period-bar{width:100%;flex:none;gap:0}.orders-toolbar-compact .period-select{width:100%;padding:3px 6px;gap:0}.orders-toolbar-compact .period-select>.period-label,.orders-toolbar-compact .period-select>button,.orders-toolbar-compact .period-select>label>.icon{display:none}.orders-toolbar-compact .period-select>label{display:flex;width:100%;min-width:0;padding:0}.orders-toolbar-compact .period-select input{width:100%;font-size:var(--fs-xs);min-height:36px;padding:0}.orders-toolbar-compact .work-header-actions>.btn{font-size:var(--fs-xs);padding:10px 11px;gap:6px}.orders-toolbar-compact .work-header-actions>.btn>.icon{width:15px;height:15px}.orders-toolbar-compact .orders-history-summary{font-size:var(--fs-xs)}}

/* Quiet reading guides for repeated data rows, shared with the customer portal. */
:root{--row-surface:var(--white);--row-alternate:var(--cream);--row-hover:var(--cream)}
.orders-history .orders-week-list>.orders-stream-row.orders-stream-compact{grid-template-columns:minmax(0,1fr) 112px 44px;grid-template-areas:"customer amount actions";gap:12px;min-height:52px;padding:4px 20px}
.orders-stream-compact .orders-stream-customer>.row-link{display:grid;grid-template-columns:minmax(0,1fr) 94px;align-items:center;gap:16px;min-width:0;line-height:1.45}
.orders-stream-compact .orders-stream-customer strong{font-size:var(--fs-sm);line-height:1.45;font-weight:550;overflow-wrap:anywhere}
.orders-stream-compact .orders-stream-customer a>span{font-size:var(--fs-xs);line-height:1.45;margin:0;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.orders-stream-compact .orders-stream-amount{min-width:0;text-align:right;white-space:nowrap}
.orders-stream-compact .orders-stream-amount>strong{font-size:var(--fs-xs);line-height:1.45;font-weight:550;font-variant-numeric:tabular-nums}
.orders-stream-compact .orders-stream-row-actions>.action-menu>summary{width:44px;height:44px;min-height:44px}
@media(max-width:760px){.orders-history .orders-week-list>.orders-stream-row.orders-stream-compact{grid-template-columns:minmax(0,1fr) max-content 44px;gap:10px;min-height:56px;padding:6px 14px}.orders-stream-compact .orders-stream-customer>.row-link{display:block}.orders-stream-compact .orders-stream-customer strong{font-size:var(--fs-xs);line-height:1.45}.orders-stream-compact .orders-stream-customer a>span{display:block;font-size:var(--fs-xs);margin-top:2px}.orders-stream-compact .orders-stream-amount>strong{font-size:var(--fs-xs)}}
@media screen{
 .app-shell .data-table>tbody>tr{background:var(--row-surface)}
 .app-shell .data-table>tbody>tr:nth-child(even){background:var(--row-alternate)}
 .app-shell .data-table>tbody>tr>td,.app-shell .data-table>tbody>tr:hover>td{background:transparent}
 :is(.orders-week-list>.orders-stream-row,.production-work-list>.production-task,.preparation-route>.preparation-order,.delivery-route-group>.delivery-stop,.delivery-pickup-section>.delivery-stop,.template-lines>div,.price-agreement,.route-customers>.route-customer,.fulfillment-compact-line){background:var(--row-surface)}
 .orders-week-list>.orders-stream-row:nth-child(even of .orders-stream-row),.production-work-list>.production-task:nth-child(even of .production-task),.preparation-route>.preparation-order:nth-child(even of .preparation-order),.delivery-route-group>.delivery-stop:nth-child(even of .delivery-stop),.delivery-pickup-section>.delivery-stop:nth-child(even of .delivery-stop),.template-lines>div:nth-child(even of div),.price-agreement:nth-child(even of .price-agreement),.route-customers>.route-customer:nth-child(even of .route-customer:not([hidden])),.fulfillment-compact-line:nth-child(even of .fulfillment-compact-line){background:var(--row-alternate)}
}
@media screen and (hover:hover){:is(.app-shell,.dialog-body) :is(.data-table>tbody>tr,.orders-week-list>.orders-stream-row,.production-work-list>.production-task,.preparation-route>.preparation-order,.delivery-route-group>.delivery-stop,.delivery-pickup-section>.delivery-stop,.template-lines>div,.price-agreement,.route-customers>.route-customer,.fulfillment-compact-line):nth-child(n):hover{background:var(--row-hover)}}

/* Compact delivery columns; the action icons stay together at every width. */
.delivery-agenda{container-type:inline-size;container-name:delivery-list}
.delivery-agenda .delivery-stop-row.delivery-stop-row-compact{grid-template-columns:24px minmax(0,1fr) 108px 160px 88px;grid-template-areas:"number identity time registration icons";align-items:center;gap:10px;min-height:56px;padding:6px 18px}
.delivery-stop-row-compact>.stop-number{grid-area:number;width:24px;height:24px;margin:0;font-size:var(--fs-xs)}
.delivery-stop-row-compact>.delivery-stop-identity{grid-area:identity;min-width:0}
.delivery-stop-row-compact .delivery-stop-identity h3{font-size:var(--fs-sm);line-height:1.4;font-weight:550}
.delivery-stop-row-compact .delivery-order-reference{display:block;margin-top:2px;font-size:var(--fs-xs);line-height:1.4;font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums}
.delivery-stop-row-compact>.delivery-stop-time{grid-area:time;width:auto;margin:0;padding:0;min-width:0;align-items:center;justify-content:flex-start;font-size:var(--fs-xs);line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.delivery-stop-row-compact>.delivery-stop-time>.icon{flex-shrink:0}
.delivery-stop-registration{grid-area:registration;display:flex;align-items:center;justify-content:flex-end;min-width:0}
.delivery-stop-registration>.btn{width:100%;min-height:44px;padding:8px 10px;font-size:var(--fs-xs);gap:6px;white-space:nowrap}
.delivery-stop-registration>.badge{font-size:var(--fs-xs);white-space:nowrap}
.delivery-registration-short{display:none}
.delivery-stop-row-compact>.delivery-stop-icons{grid-area:icons;display:flex;align-items:center;justify-content:flex-end;gap:0;min-width:88px;width:88px}
.delivery-stop-icons>.action-menu>summary,.delivery-stop-icons>.delivery-stop-toggle{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:14px;grid-area:auto}
.delivery-stop-icons>.action-menu>summary>.icon{width:16px;height:16px}
.delivery-agenda .delivery-stop-expanded{padding-left:52px}
@container delivery-list (max-width:680px){.delivery-agenda .delivery-stop-row.delivery-stop-row-compact{grid-template-columns:22px minmax(0,1fr) 74px 142px 88px;gap:7px;min-height:54px;padding:5px 12px}.delivery-stop-row-compact .delivery-stop-identity h3{font-size:var(--fs-sm)}.delivery-stop-row-compact .delivery-order-reference{font-size:var(--fs-xs)}.delivery-stop-row-compact>.delivery-stop-time{font-size:var(--fs-xs);gap:4px}.delivery-stop-registration>.btn{font-size:var(--fs-xs);padding:8px 7px;gap:4px}.delivery-stop-registration>.btn>.icon{width:14px;height:14px}}
@container delivery-list (max-width:510px){.delivery-agenda .delivery-stop-row.delivery-stop-row-compact{grid-template-columns:minmax(0,1fr) 44px 80px 88px;grid-template-areas:"name name registration icons" "reference time registration icons";column-gap:4px;row-gap:2px;min-height:54px;padding:4px 8px}.delivery-stop-row-compact>.stop-number{display:none}.delivery-stop-row-compact>.delivery-stop-identity{display:contents}.delivery-stop-row-compact .delivery-stop-identity>a{grid-area:name;min-width:0}.delivery-stop-row-compact .delivery-stop-identity h3{font-size:var(--fs-sm);line-height:1.35}.delivery-stop-row-compact .delivery-stop-identity>.delivery-order-reference{grid-area:reference;align-self:start;min-width:0;font-size:var(--fs-xs);margin:0;line-height:1.4}.delivery-stop-row-compact>.delivery-stop-time{grid-area:time;align-self:start;font-size:var(--fs-xs);line-height:1.45;gap:0;justify-content:flex-end;text-align:right}.delivery-stop-row-compact>.delivery-stop-time>.icon{display:none}.delivery-stop-row-compact .delivery-stop-registration{align-self:center}.delivery-stop-registration>.btn{padding:7px 5px;font-size:var(--fs-xs)}.delivery-stop-registration>.btn>.icon,.delivery-registration-full{display:none}.delivery-registration-short{display:inline}.delivery-stop-registration>.badge{font-size:var(--fs-xs);padding:5px 6px}.delivery-stop-registration>.badge>.badge-dot{display:none}.delivery-agenda .delivery-stop-expanded{padding:4px 12px 16px}}

.delivery-time-compact{display:none}
@container delivery-list (max-width:680px){.delivery-time-full{display:none}.delivery-time-compact{display:inline;overflow-wrap:normal}}

/* Exceptions stay quiet; primary lists keep their compact rhythm. */
a.stat-card{color:inherit;text-decoration:none}a.stat-card:hover{border-color:var(--green-200)}a.stat-card:focus-visible{outline:2px solid var(--green-300);outline-offset:3px}
.attention-icon.amber{background:var(--warning-bg);color:var(--warning-text)}
.order-cancelled-marker{display:block;font-size:var(--fs-xs);font-weight:500;line-height:1.35;color:#8a6256;font-variant-numeric:normal}.orders-stream-compact.is-cancelled .orders-stream-amount{color:var(--muted)}.orders-stream-compact.is-cancelled .orders-stream-amount>strong{text-decoration:line-through;text-decoration-color:#bac1b3;text-decoration-thickness:1px}
.delivery-open-notice{display:flex;align-items:center;gap:8px;min-height:36px;padding:8px 10px;margin:4px 0 8px;border:1px solid #e8dfc9;background:var(--warning-bg);border-radius:var(--radius-sm);color:var(--warning-text);font-size:var(--fs-xs);line-height:1.5;text-decoration:none}.delivery-open-notice>.icon{width:15px;height:15px;flex-shrink:0}.delivery-open-notice>span:first-of-type{min-width:0}.delivery-open-notice-action{display:flex;align-items:center;gap:4px;margin-left:auto;white-space:nowrap;font-weight:550}.delivery-open-notice-action>.icon{width:13px;height:13px}.delivery-open-notice:hover{background:var(--warning-bg)}.delivery-open-notice:focus-visible{outline:2px solid #b39862;outline-offset:3px}
.invoice-scope-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 22px}.invoice-scope-heading h2{font-size:var(--fs-lg)}.invoice-scope-heading p{font-size:var(--fs-xs);color:var(--muted);margin-top:5px}
.dirty-page-actions{position:fixed;right:24px;bottom:16px;width:min(430px,calc(100vw - 40px));z-index:35;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;margin-top:18px;background:var(--white);border:1px solid #ccd9bf;border-radius:var(--radius-md);box-shadow:0 5px 22px #354c2720}.dirty-page-actions[hidden]{display:none}.dirty-page-actions>[data-page-dirty]{font-size:var(--fs-xs);color:var(--muted)}.dirty-page-actions>.btn{min-height:42px;flex-shrink:0}
@media(max-width:540px){.order-cancelled-marker{display:inline;margin-left:6px}.invoice-scope-heading{gap:10px;align-items:flex-start}.invoice-scope-heading>.btn{font-size:var(--fs-xs);padding:7px 0}.delivery-open-notice{font-size:var(--fs-xs);gap:6px}.delivery-open-notice-action{font-size:var(--fs-xs)}.dirty-page-actions{right:12px;bottom:12px;width:calc(100vw - 24px);padding:8px 10px}.dirty-page-actions>[data-page-dirty]{font-size:var(--fs-xs)}}
@media print{.dirty-page-actions,.delivery-open-notice{display:none!important}}

.delivery-remainder-marker{display:block;font-size:var(--fs-xs);line-height:1.3;font-weight:500;color:var(--warning-text);margin-top:1px}

[data-page-form]:has([data-page-save]:not([hidden])){padding-bottom:84px}

/* Route and exception controls appear only while editing the relevant task. */
[data-form="routes"] .route-editor-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}[data-form="routes"] .route-editor-toolbar>.field{flex:1 1 220px;min-width:0}[data-form="routes"] .route-editor-toolbar>.btn{margin-bottom:2px}
[data-form="routes"] .dialog-footer{position:sticky;bottom:0;z-index:5;background:var(--white);border-top:1px solid var(--line-strong);padding:14px 0 8px;margin-top:20px;min-height:64px;box-shadow:0 -6px 14px var(--white)}
[data-form="routes"] .route-add-results{display:grid;gap:3px;max-height:280px;overflow:auto;overscroll-behavior:contain;margin:8px 0 16px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:5px;background:var(--white)}[data-form="routes"] .route-add-results>.btn{justify-content:flex-start;text-align:left;white-space:normal;font-size:var(--fs-xs);min-height:40px}[data-form="routes"] .route-add-results small{font-size:var(--fs-xs);color:var(--muted)}[data-form="routes"] [data-route-add-choices]{margin:15px 0}[data-form="routes"] [data-route-add-choices]>.search-field{width:100%}
.remainder-decision{display:grid;gap:9px;padding:13px 14px;border:1px solid #e6dfcd;border-radius:var(--radius-md);background:var(--surface-subtle);margin:14px 0}.remainder-decision>p,.remainder-decision>legend{font-size:var(--fs-xs);color:#796744}.remainder-decision .checkbox-label{font-size:var(--fs-xs)}.remainder-decision .field{max-width:300px}.remainder-decision[hidden]{display:none}
@media(max-width:540px){[data-form="routes"] .route-editor-toolbar{gap:8px}[data-form="routes"] .route-editor-toolbar>.field{flex-basis:180px}[data-form="routes"] .dialog-footer{bottom:0;padding-bottom:5px}[data-form="routes"] .dialog-footer>.btn{min-height:42px}.remainder-decision{padding:12px;gap:8px}}

[data-form="fulfillment"] .fulfillment-footer{position:sticky;bottom:0;z-index:5;background:var(--white);border-top:1px solid var(--line-strong);padding:13px 0 8px;margin-top:20px;min-height:64px;box-shadow:0 -6px 14px var(--white)}
@media(max-width:540px){[data-form="fulfillment"] .fulfillment-footer:has([data-fulfillment-intent="send"][hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}[data-form="fulfillment"] .fulfillment-footer:has([data-fulfillment-intent="send"][hidden])>.btn{width:100%;min-width:0;min-height:44px;order:initial;flex:none;font-size:var(--fs-xs)}}

/* The same packing list can be read by order or by physical product. */
.preparation-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 17px;min-width:0;flex-wrap:wrap}
.preparation-status-switch{display:inline-flex;align-items:center;gap:16px;min-width:0;border-bottom:1px solid var(--line-strong)}
.preparation-status-switch>button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:7px 0;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:transparent;font-family:inherit;font-size:var(--fs-xs);line-height:1.4;color:var(--muted);cursor:pointer;white-space:nowrap}
.preparation-status-switch>button[aria-pressed=true]{border-bottom-color:var(--green-hover);color:var(--green-hover);font-weight:600}
.preparation-status-switch>button:hover{color:var(--green-hover)}
.preparation-completed-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;padding:2px 5px;border-radius:var(--radius-md);background:var(--cream);color:var(--muted);font-size:var(--fs-xs);line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums}
.preparation-view-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--cream);min-width:0;flex-shrink:0}
.preparation-view-switch>button{display:flex;align-items:center;justify-content:center;min-height:32px;padding:6px 11px;border:0;border-radius:var(--radius-sm);background:transparent;font:inherit;font-size:var(--fs-xs);line-height:1.4;color:var(--muted);cursor:pointer;white-space:nowrap}
.preparation-view-switch>button[aria-pressed=true]{background:var(--white);color:var(--green-hover);box-shadow:0 1px 3px #2b452318;font-weight:550}
.preparation-view-switch>button:hover{color:var(--green-hover)}
.preparation-status-switch>button:focus-visible,.preparation-view-switch>button:focus-visible{outline:2px solid var(--green-300);outline-offset:3px}
.preparation-partial-progress{color:var(--muted)!important}
.preparation-product-group{min-width:0;margin:0 0 16px;overflow:hidden}
.preparation-product-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 20px;border-bottom:1px solid var(--line-strong);background:var(--cream);min-width:0}
.preparation-product-heading>div{min-width:0;overflow-wrap:anywhere}
.preparation-product-heading h2{font-size:var(--fs-base);line-height:1.45;font-weight:600}
.preparation-product-heading>div>span{display:block;color:var(--muted);font-size:var(--fs-xs);line-height:1.5;margin-top:2px}
.preparation-product-heading>strong{font-size:var(--fs-lg);line-height:1.4;color:#36552c;white-space:nowrap;font-variant-numeric:tabular-nums}
.preparation-product-heading>strong>small{font-size:var(--fs-xs);font-weight:500;color:var(--muted)}
.preparation-allocation{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:62px;padding:7px 20px;border-top:1px solid var(--cream);min-width:0;background:var(--row-surface)}
.preparation-allocation:first-child{border-top:0}
.preparation-allocation:nth-child(even){background:var(--row-alternate)}
.preparation-allocation-identity{min-width:0;overflow-wrap:anywhere}
.preparation-allocation-identity>strong{display:block;font-size:var(--fs-xs);line-height:1.45;font-weight:550}
.preparation-allocation-identity>span:not(.preparation-allocation-sources){display:block;margin-top:2px;font-size:var(--fs-xs);line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums}
.preparation-allocation-sources{display:block;margin-top:5px}
.preparation-allocation-sources>small{display:block;font-size:var(--fs-xs);line-height:1.55;color:var(--muted)}
.preparation-allocation-quantity{font-size:var(--fs-sm);line-height:1.4;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;color:#435f37}
.preparation-allocation-note{font-size:var(--fs-xs);line-height:1.5;margin-top:3px;color:var(--muted)}
.preparation-allocation-note>summary{display:flex;align-items:center;gap:4px;width:fit-content;min-height:28px;cursor:pointer;list-style:none}
.preparation-allocation-note>summary::-webkit-details-marker{display:none}
.preparation-allocation-note>summary>.icon{width:12px;height:12px;flex-shrink:0}
.preparation-allocation-note>summary:focus-visible{outline:2px solid var(--green-300);outline-offset:2px}
.preparation-allocation-note>p{margin:3px 0 4px;padding:7px 9px;background:var(--cream);border-left:2px solid var(--line-strong);border-radius:var(--radius-sm);white-space:pre-line;overflow-wrap:anywhere}
@media(hover:hover){.preparation-allocation:hover{background:var(--row-hover)}}
@media(max-width:760px){.preparation-status-switch>button{min-height:44px}.preparation-view-switch>button{min-height:38px}.preparation-product-heading{padding:13px 17px}.preparation-allocation{padding:7px 17px;gap:8px}.preparation-allocation-note>summary{min-height:36px}}
@media(max-width:540px){.preparation-view-toolbar{gap:10px;margin-bottom:14px}.preparation-status-switch{gap:18px}.preparation-status-switch>button{font-size:var(--fs-xs)}.preparation-view-switch>button{font-size:var(--fs-xs);padding:6px 12px;min-height:38px}.preparation-product-heading{padding:12px}.preparation-product-heading h2{font-size:var(--fs-sm)}.preparation-product-heading>div>span{font-size:var(--fs-xs)}.preparation-product-heading>strong{font-size:var(--fs-md)}.preparation-product-heading>strong>small{font-size:var(--fs-xs)}.preparation-allocation{grid-template-columns:44px minmax(0,1fr) auto;padding:6px 12px;gap:6px;min-height:60px}.preparation-allocation-identity>strong{font-size:var(--fs-xs)}.preparation-allocation-identity>span:not(.preparation-allocation-sources),.preparation-allocation-sources>small{font-size:var(--fs-xs)}.preparation-allocation-quantity{font-size:var(--fs-xs)}}
@media print{.preparation-view-toolbar{display:none!important}.preparation-product-group{break-inside:avoid}.preparation-allocation{break-inside:avoid}}
[data-preparation-work] .operation-check>input:indeterminate+span{position:relative;background:var(--cream);border-color:var(--green-300)}
[data-preparation-work] .operation-check>input:indeterminate+span::after{content:'';position:absolute;width:11px;height:2px;background:#597347;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:var(--radius-sm)}
[data-preparation-work] .operation-check>input:indeterminate+span .icon{opacity:0}
[data-preparation-work] .operation-check>input:disabled{cursor:default}

/* Owner order entry: one quiet sequence, with optional details out of the way. */
dialog[open]:has(.order-entry){display:flex;flex-direction:column;overflow:clip}
dialog:has(.order-entry)>.dialog-heading{flex-shrink:0}
dialog:has(.order-entry)>.dialog-body{flex:0 1 auto;min-height:0}
.order-entry .order-entry-customer{grid-template-columns:minmax(0,1fr) 155px;gap:10px 18px}
.order-entry .order-delivery-summary{border:0;border-left:2px solid var(--line-strong);border-radius:0;background:transparent;padding:5px 0 5px 12px;gap:9px}
.order-entry .order-delivery-summary>.icon{width:17px;height:17px;margin-top:2px;flex-shrink:0}
.order-entry .order-delivery-summary strong{font-size:var(--fs-xs);font-weight:550;line-height:1.6}
.order-entry .order-delivery-summary p{line-height:1.5;margin-top:2px}
.order-entry .editor-section-heading{margin:24px 0 12px;gap:10px}
.order-entry .editor-section-heading h3{font-size:var(--fs-sm);font-weight:600}
.order-entry .editor-section-heading>.btn{min-height:32px;padding:4px 0;font-size:var(--fs-xs);font-weight:450}
.order-entry .editor-section-heading>.btn>.icon{width:14px;height:14px}
.order-entry .order-lines-heading,.order-entry .editor-line{display:grid;grid-template-columns:minmax(0,1fr) 76px 32px;gap:8px;align-items:center}
.order-entry .order-lines-heading{padding:0 10px 7px;font-size:var(--fs-xs);color:var(--muted)}
.order-entry #order-lines{border:1px solid var(--line);border-radius:var(--radius-md)}
.order-entry #order-lines:empty{display:none}
.order-entry .editor-line{padding:8px 9px;margin:0;border-bottom:1px solid var(--line)}
.order-entry .editor-line:last-child{border-bottom:0;border-radius:0 0 var(--radius-md) var(--radius-md)}
.order-entry .editor-line:first-child{border-radius:var(--radius-md) var(--radius-md) 0 0}
.order-entry .editor-line:only-child{border-radius:var(--radius-md)}
.order-entry .editor-line:nth-child(even){background:var(--surface-subtle)}
.order-entry .editor-line>.field>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.order-entry .editor-line>.field{gap:0}
.order-entry .editor-line>.field select,.order-entry .editor-line>.field input{min-height:40px;padding:8px;overflow:hidden;text-overflow:ellipsis}
.order-entry .line-remove{width:32px;min-width:32px;min-height:36px;margin:0;color:var(--muted)}
.order-entry .line-remove>.icon{width:16px;height:16px}
.order-entry .order-package-fields{grid-column:1/-1;min-width:0;margin:0}
.order-entry .order-package-fields .components{margin:0;padding:0 0 2px;border:0}
.order-entry .order-package-fields .components>summary{font-size:var(--fs-xs);padding:4px 0;min-height:28px}
.order-entry .order-package-fields .components[open]>summary{margin-bottom:8px}
.order-entry .order-package-content{margin:0 0 7px;padding-left:17px;line-height:1.8}
.order-entry .order-entry-items>[data-action=add-line]{min-height:36px;padding:6px 0;font-size:var(--fs-xs);margin-top:3px}
.order-entry-options{border-top:1px solid var(--line);margin-top:16px;padding-top:2px}
.order-entry-options>summary{cursor:pointer;font-size:var(--fs-xs);color:var(--muted);padding:12px 0;list-style:none;display:flex;align-items:center;gap:8px;width:fit-content}
.order-entry-options>summary::-webkit-details-marker{display:none}
.order-entry-options>summary::before{content:'';width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 0 1px}
.order-entry-options[open]>summary::before{transform:rotate(135deg);margin-top:-3px}
.order-entry-options>summary:focus-visible{outline:2px solid var(--green-300);outline-offset:3px;border-radius:3px}
.order-entry-option-fields{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:14px;align-items:start;padding-bottom:10px}
.order-entry-option-fields>.field.full{grid-column:auto;margin:0}
.order-entry-option-fields textarea{min-height:76px}
.order-entry .order-entry-footer{position:sticky;bottom:-27px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--white);padding:14px 0 17px;margin-top:10px;border-top:1px solid var(--line-strong);box-shadow:0 -7px 12px var(--white)}
.order-entry-footer .editor-total{display:flex;flex-direction:column;gap:3px;border:0;border-radius:0;background:transparent;padding:0;margin:0;font-size:var(--fs-xs);min-width:0}
.order-entry-footer .editor-total strong{font-size:var(--fs-lg);font-variant-numeric:tabular-nums;white-space:nowrap}
.order-entry-footer>.btn{flex-shrink:0;min-height:42px}
@media(max-width:540px){
 .order-entry .order-entry-customer{grid-template-columns:minmax(0,1fr) 104px;gap:10px}
 .order-entry .order-entry-customer select{padding:10px 7px}
 .order-entry .editor-section-heading{flex-wrap:wrap;gap:0 14px;margin-top:21px;margin-bottom:8px}
 .order-entry .editor-section-heading>.btn{font-size:var(--fs-xs);min-height:36px}
 .order-entry .order-lines-heading,.order-entry .editor-line{grid-template-columns:minmax(0,1fr) 58px 28px;gap:6px}
 .order-entry .order-lines-heading{padding-left:7px;padding-right:7px}
 .order-entry .editor-line{padding:7px 6px}
 .order-entry .editor-line>.field select,.order-entry .editor-line>.field input{font-size:16px;min-height:42px;padding:7px 5px}
 .order-entry .line-remove{width:28px;min-width:28px;min-height:42px}
 .order-entry-option-fields{grid-template-columns:minmax(0,1fr)}
 .order-entry-option-fields>.field:not(.full){max-width:180px}
 .order-entry .order-entry-footer{bottom:-20px;gap:10px;padding:12px 0 14px}
 .order-entry-footer>.btn{padding:10px 11px;gap:6px}
 .order-entry-footer>.btn>.icon{display:none}
}
@media print{.order-entry-footer{display:none!important}}

.package-extra-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:22px;padding:3px 0}
.package-extra-settings>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:13px 0;font-size:var(--fs-sm);font-weight:550;color:var(--green)}
.package-extra-settings>summary::-webkit-details-marker{display:none}
.package-extra-settings>summary::before{content:'';width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 0 2px;flex-shrink:0}
.package-extra-settings[open]>summary::before{transform:rotate(135deg);margin-top:-3px}
.package-extra-settings>summary:focus-visible{outline:2px solid var(--green-300);outline-offset:2px;border-radius:3px}
.package-extra-settings>summary>small{margin-left:auto;font-size:var(--fs-xs);font-weight:400;color:var(--muted);text-align:right}
.package-extra-settings>p{font-size:var(--fs-xs);margin:0 0 12px}
.package-extra-settings>.field{max-width:320px;margin-bottom:14px}
.package-extra-settings fieldset{padding:0;border:0;margin:0 0 14px;min-width:0}
.package-extra-settings .search-field{margin-bottom:10px;width:100%;max-width:320px}
.package-extra-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:270px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--radius-md)}
.package-extra-choice{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:60px;min-width:0;border-bottom:1px solid var(--line);font-size:var(--fs-xs);cursor:pointer;background:var(--white)}
.package-extra-choice:nth-child(4n+3),.package-extra-choice:nth-child(4n+4){background:var(--surface-subtle)}
.package-extra-choice input{flex-shrink:0;margin:0}
.package-extra-choice>span{min-width:0;overflow-wrap:anywhere}
.package-extra-choice strong,.package-extra-choice small{display:block}
.package-extra-choice strong{font-weight:500}
.package-extra-choice small{font-size:var(--fs-xs);color:var(--muted);margin-top:2px}
.package-extra-choice.is-unavailable{color:var(--muted)}
.package-extra-choices>p{padding:12px;font-size:var(--fs-xs);grid-column:1/-1}
@media(max-width:540px){.package-extra-choices{grid-template-columns:minmax(0,1fr);max-height:300px}.package-extra-choice:nth-child(n){background:var(--white)}.package-extra-choice:nth-child(even){background:var(--surface-subtle)}.package-extra-settings>summary{gap:8px}.package-extra-settings>summary>small{max-width:125px;line-height:1.4}}
@media(max-width:540px){[data-form=package] .component-editor{grid-template-columns:minmax(0,1fr) 72px 34px;gap:8px}}
@media(max-width:540px){[data-form=package] .package-bundle-editor>.btn{min-width:0;max-width:100%;white-space:normal;text-align:left;justify-content:flex-start}[data-form=package] .package-bundle-editor>.btn>.icon{flex-shrink:0}}

.package-guest-settings{margin:0 0 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 0 2px}
.package-guest-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;cursor:pointer;font-weight:550;list-style:none}
.package-guest-settings>summary::-webkit-details-marker{display:none}
.package-guest-settings>summary::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex-shrink:0;margin:0 3px 4px 0}
.package-guest-settings[open]>summary::after{transform:rotate(225deg);margin-top:5px}
.package-guest-settings>summary>small{margin-left:auto;color:var(--muted);font-size:var(--fs-xs);font-weight:400;text-align:right}
.package-guest-publish{margin:0 0 14px}
.package-round-assignment{padding-bottom:8px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.package-round-assignment>.muted{font-size:var(--fs-xs);margin:0 0 12px}
.package-round-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}
.package-round-dates>div{min-width:0}
.package-round-dates dt{font-size:var(--fs-xs);color:var(--muted);margin-bottom:4px}
.package-round-dates dd{font-size:var(--fs-sm);margin:0;line-height:1.5}
.package-period-fields.is-inactive{opacity:.5}
.package-guest-settings [data-package-delivery-minimum]{max-width:380px;margin-bottom:16px}
@media(max-width:650px){.package-round-dates{grid-template-columns:1fr;gap:10px}.package-round-dates>div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px}.package-round-dates dt{margin:0}}
.package-guest-settings [data-package-guest-options]>.muted{font-size:var(--fs-xs);line-height:1.6;margin:0 0 16px}
.package-guest-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:16px}
.package-guest-method{min-width:0;padding:0;margin:0;border:0}
.package-guest-method>legend{padding:0;margin-bottom:12px}
.package-guest-method>legend .checkbox-label{margin:0;font-weight:500}
.package-guest-method .form-grid{gap:10px}
.package-guest-method .field{margin-bottom:0;min-width:0}
.package-guest-method .field>span{font-size:var(--fs-xs)}
.package-guest-method input[type=date]{min-width:0;width:100%;padding-left:9px;padding-right:6px}
.package-guest-period>.field{margin-top:12px}
.package-guest-period>.field>small{font-size:var(--fs-xs);line-height:1.5}
.package-guest-edit-policy{padding:16px 0 6px;border-top:1px solid var(--line)}
.package-guest-edit-policy .form-grid{align-items:start;gap:12px 20px}
.package-guest-edit-policy .field{min-width:0;margin-bottom:12px}
.package-guest-edit-policy [data-package-edit-date]{min-width:0}
.package-guest-edit-policy select,.package-guest-edit-policy input{width:100%;min-width:0}
@media(max-width:650px){.package-guest-methods{grid-template-columns:minmax(0,1fr);gap:18px}.package-guest-settings>summary{gap:8px}.package-guest-settings>summary>small{max-width:140px;line-height:1.4}}

.quotation-paper{background:var(--white);padding:28px;color:var(--text);font-size:var(--fs-sm);line-height:1.5;border:1px solid var(--line);border-radius:var(--radius-md)}
.quotation-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.quotation-heading>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.quotation-heading>div:first-child>strong{color:var(--green);font-size:var(--fs-lg)}
.quotation-heading>div:first-child>span,.quotation-heading>div:last-child>span{color:var(--muted);font-size:var(--fs-xs)}
.quotation-heading>div:last-child{text-align:right;flex-shrink:0}
.quotation-heading h3{font-size:var(--fs-xl);margin:0;color:var(--green);font-weight:550}
.quotation-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:23px 0}
.quotation-addresses>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0;overflow-wrap:anywhere}
.quotation-addresses>div:last-child{color:var(--muted);font-size:var(--fs-xs)}
.quotation-addresses .eyebrow{margin-bottom:6px}
.quotation-delivery{font-weight:500;padding-bottom:14px;margin:0}
.quotation-table-wrap{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.quotation-table{border-collapse:collapse;width:100%;font-size:var(--fs-xs);min-width:440px}
.quotation-table th{font-weight:550;color:var(--muted);background:var(--surface-subtle);text-align:right;white-space:nowrap;padding:9px 10px}
.quotation-table th:first-child{text-align:left;width:52%}
.quotation-table td{padding:12px 10px;vertical-align:top;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.quotation-table td:first-child{text-align:left;white-space:normal;min-width:190px}
.quotation-table td:first-child>strong{display:block;font-weight:550;font-size:var(--fs-sm)}
.quotation-table tr:nth-child(even){background:var(--surface-subtle)}
.quotation-table td small{display:block;color:var(--muted);font-size:var(--fs-xs);line-height:1.55;margin-top:2px}
.quotation-totals{display:flex;flex-direction:column;gap:7px;margin:20px 0 22px auto;max-width:290px;font-size:var(--fs-xs)}
.quotation-totals>div{display:flex;justify-content:space-between;gap:16px}
.quotation-totals dt{color:var(--muted)}
.quotation-totals dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.quotation-totals .quotation-grand-total{border-top:1px solid var(--line);padding-top:11px;margin-top:5px;font-weight:550;font-size:var(--fs-sm);color:var(--green)}
.quotation-grand-total dt{color:inherit}
.quotation-note{font-size:var(--fs-xs);color:var(--muted);margin:18px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.quotation-note>p{margin:4px 0 0}
.quotation-paper>footer{margin-top:24px;padding-top:17px;border-top:1px solid var(--line);font-size:var(--fs-xs);color:var(--muted)}
.quotation-preview-disclosure{margin:18px 0;border-top:1px solid var(--line);padding-top:14px}
.quotation-preview-disclosure>summary,.quotation-mail-help>summary{cursor:pointer;font-size:var(--fs-sm);color:var(--green)}
.quotation-preview-disclosure[open]>summary{margin-bottom:14px}
.quotation-mail-help{font-size:var(--fs-xs);color:var(--muted);margin:14px 0 0}
.quotation-mail-help p{margin:10px 0 4px}
.package-flow-filter{display:block;min-width:0}
.package-flow-filter select{max-width:100%;min-height:40px;font-family:inherit;font-size:var(--fs-xs);padding:8px 30px 8px 11px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:8px;color:var(--ink)}
.orders-toolbar-compact .orders-history-primary{grid-template-columns:auto minmax(140px,1fr) auto;grid-template-areas:"week search create"}
.orders-toolbar-compact .orders-history-primary>.package-flow-filter{grid-column:1/-1;justify-self:start}
.package-flow-progress{display:block;font-size:var(--fs-xs);color:var(--muted)}
.package-order-state{font-size:var(--fs-xs);color:var(--muted);font-weight:400;margin-left:10px}
.delivery-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.delivery-list-summary{min-width:0}
.portal-ordering-settings small{line-height:1.55}
@container(max-width:760px){.orders-toolbar-compact .orders-history-primary{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"week create" "search search"}.orders-toolbar-compact .orders-history-primary>.package-flow-filter{grid-row:3}}
@media(max-width:540px){.package-flow-filter{max-width:100%}.package-flow-filter select{width:100%;min-height:40px}.orders-toolbar-compact .orders-history-primary>.package-flow-filter{justify-self:stretch}.quotation-preview-disclosure .quotation-paper{margin-left:-8px;margin-right:-8px}.delivery-list-summary{font-size:var(--fs-xs)}}
@media(max-width:540px){.quotation-paper{padding:17px 14px}.quotation-heading{gap:12px;padding-bottom:16px}.quotation-heading>div:first-child>strong{font-size:var(--fs-md)}.quotation-heading h3{font-size:var(--fs-lg)}.quotation-addresses{grid-template-columns:minmax(0,1fr);gap:15px;padding:17px 0}.quotation-addresses>div:last-child{display:none}.quotation-totals{max-width:270px}.quotation-table td,.quotation-table th{padding-left:8px;padding-right:8px}}

.orders-toolbar-compact .orders-history-meta>.orders-history-summary{flex:1}.orders-toolbar-compact .orders-history-meta>.package-flow-filter{flex:0 1 210px}@media(max-width:640px){.orders-toolbar-compact .orders-history-meta{flex-wrap:wrap}.orders-toolbar-compact .orders-history-meta>.orders-history-summary{flex-basis:100%}.orders-toolbar-compact .orders-history-meta>.package-flow-filter{flex:1}.orders-toolbar-compact .orders-history-meta>.action-menu{margin-left:auto}}

.customer-account-kind{padding:14px 0 0;margin:0}.customer-account-kind>.checkbox-label{font-weight:500}.customer-account-kind>p{font-size:var(--fs-xs);line-height:1.6;color:var(--muted);margin:7px 0 0 27px}
.nav-package-section{margin-top:12px;border-top:1px solid var(--line);border-radius:0!important;padding-top:17px!important}
.package-round-toolbar{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:3px 0 14px}
.package-round-select{width:min(420px,100%)}
.package-round-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.package-work-toolbar{justify-content:flex-end;margin:0 0 18px}
.package-round-periods{display:flex;flex-wrap:wrap;gap:5px 22px;color:var(--muted);font-size:var(--fs-xs);line-height:1.7;margin:0 0 20px}
.package-round-periods>strong{color:var(--green);font-weight:500}
.package-round-tabs{display:flex;gap:4px 20px;border-bottom:1px solid var(--line);margin:0 0 20px;overflow:auto;scrollbar-width:thin}
.package-round-tabs>a{font-size:var(--fs-sm);color:var(--muted);text-decoration:none;white-space:nowrap;padding:11px 2px 13px;min-height:44px;border-bottom:2px solid transparent}
.package-round-tabs>a[aria-current]{color:var(--green);border-color:var(--green);font-weight:550}
.package-round-unassigned{font-size:var(--fs-sm);color:var(--muted);line-height:1.7;margin:12px 0 22px}
.package-round-unassigned>.btn{margin-top:12px}
.package-round-summary,.package-round-caption{font-size:var(--fs-xs);color:var(--muted);line-height:1.65;margin:0 0 15px}
.package-round-orders .data-table td{padding-top:12px;padding-bottom:12px}
.package-round-orders .row-link>strong{font-weight:500}
.package-round-needs td:first-child{width:52px}
.package-round-needs td:nth-child(2)>strong{font-weight:500}
.package-round-completed{margin-top:20px}
.package-round-completed>summary{cursor:pointer;font-size:var(--fs-xs);color:var(--muted);padding:7px 0 12px}
.package-round-week-help{font-size:var(--fs-xs);line-height:1.6;margin-top:12px}
@media(max-width:640px){.package-round-toolbar{gap:10px}.package-round-select{flex:1;min-width:0}.package-round-actions>.btn{font-size:var(--fs-xs);padding:10px;gap:6px}.package-round-periods{display:grid;gap:4px;margin-bottom:14px}.package-round-tabs{gap:16px;margin-bottom:16px}.package-round-tabs>a{font-size:var(--fs-xs)}.package-round-orders .data-table td,.package-round-needs td{padding:11px 12px}.package-round-needs td:first-child{width:40px}.package-round-orders .actions-cell{padding-right:8px}}

.package-round-count-label{display:none}
@media(max-width:760px){
 .package-round-orders .data-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto 26px;grid-template-areas:"identity amount actions" "receipt quantity actions";align-items:start;gap:5px 10px;padding:13px 14px}
 .package-round-orders .data-table td{padding:0!important;margin:0!important;border:0!important;min-width:0;grid-column:auto}
 .package-round-orders .data-table td:before{display:none!important}
 .package-round-orders .data-table td:first-child{grid-area:identity;padding-right:0}
 .package-round-orders .data-table td:nth-child(2){grid-area:quantity;justify-self:end;white-space:nowrap;color:var(--muted)}
 .package-round-orders .data-table td:nth-child(3){grid-area:receipt;color:var(--muted);line-height:1.55}
 .package-round-orders .data-table td:nth-child(4){grid-area:amount;white-space:nowrap}
 .package-round-orders .data-table td.actions-cell{grid-area:actions;position:static;align-self:start;justify-self:end}
 .package-round-orders .data-table .row-meta{margin-top:3px}
 .package-round-orders .data-table .row-link>strong{font-size:var(--fs-xs);line-height:1.5;display:block}
 .package-round-count-label{display:inline}
 .package-round-needs tr{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px 14px}
 .package-round-needs td{grid-column:auto!important;padding:0!important;margin:0!important;width:auto!important}
 .package-round-needs td:before{display:none!important}
 .package-round-needs td:first-child{padding-right:0}
}


.feedback-panel>p{margin:0 0 16px;font-size:var(--fs-sm);color:var(--muted)}
.feedback-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.feedback-choices .feedback-choice{justify-content:flex-start;min-height:52px;padding:13px 15px;border:1px solid var(--line-strong);background:var(--white);color:var(--green);font-size:var(--fs-sm);white-space:normal;text-align:left}
.feedback-choices .feedback-choice:hover{background:var(--background)}
.feedback-choices .feedback-choice.selected{background:var(--cream);border-color:var(--green-300);box-shadow:inset 0 0 0 1px var(--green-300)}
#feedback-editor{margin-top:24px}
#feedback-editor .field{display:flex;flex-direction:column;gap:8px}
#feedback-editor textarea{width:100%;min-height:150px;resize:vertical;line-height:1.6}
.feedback-availability{font-size:var(--fs-xs);color:var(--muted);margin:10px 0 0}
@media(max-width:520px){.feedback-choices{grid-template-columns:minmax(0,1fr);gap:10px}.feedback-choices .feedback-choice{min-height:48px}#feedback-editor textarea{font-size:16px}}

.work-context-meta .btn{white-space:normal;max-width:100%;text-align:left;align-items:flex-start}.work-context-meta .btn>.icon{flex-shrink:0}
