:root{--ink:#20352c;--muted:#6b7a73;--line:#dfe6e1;--surface:#fff;--canvas:#f3f6f4;--brand:#557a46;--brand-dark:#385b38;--sidebar:#263e35}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{color:var(--ink);background:var(--canvas);font-family:Arial,Noto Sans TC,sans-serif}button,input{font:inherit}button{letter-spacing:0}.customer-login{background:#fff;grid-template-columns:minmax(0,1.45fr) minmax(420px,.75fr);min-height:100vh;display:grid}.login-visual{color:#fff;background-image:linear-gradient(90deg,#11231bdb 0%,#11231b73 43%,#11231b0f 75%),url(/images/customer-login-greenhouse.png);background-position:50%;background-size:cover;flex-direction:column;justify-content:space-between;min-height:100vh;padding:42px 52px;display:flex;position:relative}.login-brand,.mobile-brand{align-items:center;display:flex}.customer-brand-logo{aspect-ratio:186/45;color:#fff;width:210px;height:auto;overflow:visible}.mobile-brand .customer-brand-logo{width:190px;color:var(--brand-dark)}.visual-copy{max-width:590px;margin-bottom:7vh}.visual-copy p{color:#dbe99c;margin:0 0 15px;font-size:12px;font-weight:800}.visual-copy h1{letter-spacing:0;max-width:520px;margin:0;font-size:clamp(34px,4vw,58px);line-height:1.12}.visual-copy>span{color:#ffffffc7;margin-top:18px;font-size:15px;line-height:1.7;display:block}.login-panel{background:#fff;flex-direction:column;justify-content:center;min-height:100vh;padding:40px clamp(34px,5vw,74px) 25px;display:flex}.login-form-wrap{width:100%;max-width:430px;margin:auto}.mobile-brand{display:none}.login-heading{margin-bottom:34px}.login-kicker{color:var(--brand);align-items:center;gap:7px;font-size:12px;font-weight:800;display:flex}.login-heading h2{letter-spacing:0;margin:13px 0 8px;font-size:26px}.login-heading p{color:var(--muted);margin:0;font-size:13px}.login-form-wrap form>label:not(.remember-row){margin:0 0 8px;font-size:13px;font-weight:700;display:block}.login-input{color:#7a8981;background:#fff;border:1px solid #ccd7d0;border-radius:6px;align-items:center;gap:10px;height:48px;margin-bottom:20px;padding:0 14px;display:flex}.login-input:focus-within{color:var(--brand-dark);border-color:#719267;box-shadow:0 0 0 3px #557a461f}.login-input input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.password-toggle{color:#78877f;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;width:34px;height:34px;padding:0;display:grid}.remember-row{width:fit-content;color:var(--muted);cursor:pointer;align-items:center;gap:9px;margin:2px 0 24px;font-size:12px;display:flex}.remember-row input{width:16px;height:16px;accent-color:var(--brand-dark)}.login-submit{color:#fff;background:var(--brand-dark);cursor:pointer;border:0;border-radius:6px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:48px;padding:0 18px;font-weight:800;display:flex}.login-submit:hover:not(:disabled){background:#294b2d}.login-submit:disabled{opacity:.68;cursor:wait}.login-error{color:#8a2e29;background:#fbeceb;border:1px solid #efcac7;border-radius:6px;margin-bottom:20px;padding:11px 13px;font-size:12px}.login-help{color:var(--muted);text-align:center;margin:22px 0 0;font-size:11px}.login-footer{color:#8b9690;text-align:center;margin-top:auto;padding-top:28px;font-size:10px}.portal-loading{min-height:100vh;color:var(--muted);background:var(--canvas);place-items:center;display:grid}.portal-shell{min-height:100vh}.sidebar{z-index:30;color:#fff;background:var(--sidebar);flex-direction:column;width:252px;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid #ffffff1a;align-items:center;gap:12px;min-height:76px;padding:16px 20px;display:flex}.brand-mark{color:#263e35;background:#dbe99c;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-size:23px;font-weight:800;display:grid}.brand strong,.brand span{letter-spacing:0;display:block}.brand strong{font-size:16px}.brand span{color:#ffffff9e;margin-top:2px;font-size:12px}.dashboard-brand-logo{color:#fff;width:186px}.sidebar-close{color:#fff;margin-left:auto;display:none}.side-nav{padding:24px 12px}.nav-caption{color:#ffffff73;margin:0 12px 10px;font-size:11px;font-weight:700}.side-nav button{color:#ffffffb8;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:12px;width:100%;min-height:46px;padding:0 13px;display:flex}.side-nav button:hover,.side-nav button.active{color:#fff;background:#ffffff1a}.side-nav button.active{box-shadow:inset 3px 0 #c7d86d}.sidebar-support{border:1px solid #ffffff21;border-radius:6px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin:auto 14px 18px;padding:14px;display:grid}.sidebar-support strong,.sidebar-support span{display:block}.sidebar-support strong{font-size:13px}.sidebar-support span{color:#ffffff8c;margin-top:3px;font-size:11px}.portal-main{flex-direction:column;min-height:100vh;margin-left:252px;display:flex}.topbar{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:20px;height:76px;padding:0 28px;display:flex}.icon-button{width:42px;height:42px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.icon-button:hover{background:#eef3ef}.menu-button{display:none}.search-box{width:min(380px,38vw);height:42px;color:var(--muted);background:#f3f6f4;border:1px solid #0000;border-radius:6px;align-items:center;gap:9px;padding:0 13px;display:flex}.search-box:focus-within{background:#fff;border-color:#9ab28f}.search-box input{width:100%;color:var(--ink);background:0 0;border:0;outline:0}.top-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.notification-button{position:relative}.notification-dot{background:#c64f47;border:2px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:9px;right:10px}.customer-account-control{border-left:1px solid var(--line);margin-left:8px;padding-left:14px;position:relative}.customer-account-trigger{min-height:48px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;padding:4px 6px;display:flex}.customer-account-trigger:hover{background:#f1f5f2}.avatar{width:38px;height:38px;color:var(--brand-dark);background:#e6eee2;border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.customer-account-text{text-align:left;min-width:0}.customer-account-text strong,.customer-account-text small{display:block}.customer-account-text strong{font-size:13px}.customer-account-text small{color:var(--muted);margin-top:2px;font-size:11px}.customer-account-menu{z-index:1100;border:1px solid var(--line);background:#fff;border-radius:6px;width:190px;padding:6px;position:absolute;top:54px;right:0;box-shadow:0 14px 32px #0f23172e}.customer-account-menu button{width:100%;min-height:42px;color:var(--ink);cursor:pointer;text-align:left;background:#fff;border:0;border-radius:4px;align-items:center;gap:10px;padding:0 11px;font-size:12px;display:flex}.customer-account-menu button:hover{background:#eef4ed}.customer-account-menu button.danger{color:#a33d37}.profile-modal-backdrop{z-index:10000;background:#121f1999;justify-content:center;align-items:flex-start;padding:8vh 18px 20px;display:flex;position:fixed;inset:0;overflow:auto}.profile-modal{background:#fff;border-radius:6px;width:min(440px,96vw);box-shadow:0 22px 58px #0a1b124d}.profile-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:70px;padding:15px 18px 15px 21px;display:flex}.profile-modal>header span{color:var(--brand);font-size:11px;font-weight:800}.profile-modal>header h2{margin:4px 0 0;font-size:18px}.profile-modal-body{padding:20px 22px}.profile-modal-body>label{color:#405249;flex-direction:column;gap:7px;margin-bottom:15px;font-size:12px;font-weight:700;display:flex}.profile-modal-body>label:last-child{margin-bottom:0}.profile-modal-body input:not([type=range]):not([type=file]){border:1px solid #ccd7d0;border-radius:5px;outline:0;width:100%;height:42px;padding:0 11px}.profile-modal-body input:focus{border-color:#719267}.profile-modal-body label small{color:var(--muted);font-size:10px;font-weight:400}.profile-modal>footer{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:9px;min-height:66px;padding:11px 20px;display:flex}.profile-modal>footer>button:not(.primary-button){cursor:pointer;background:#fff;border:1px solid #cbd5ce;border-radius:5px;min-height:40px;padding:0 15px}.profile-success{color:#315e3c;background:#e7f3e9;border-left:3px solid #558260;margin-bottom:15px;padding:11px 13px;font-size:12px}.avatar-modal{width:min(620px,96vw)}.avatar-file-button{cursor:pointer;border:1px solid #aebfb2;border-radius:5px;align-items:center;width:max-content;min-height:40px;padding:0 14px;flex-direction:row!important}.avatar-file-button input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.avatar-editor{grid-template-columns:240px 1fr;align-items:center;gap:24px;display:grid}.avatar-crop-preview{color:#688072;background:#edf3ed;border:1px solid #c8d6ca;border-radius:50%;place-items:center;width:240px;height:240px;display:grid;overflow:hidden}.avatar-crop-preview img{object-fit:cover;transform-origin:50%;width:100%;height:100%}.avatar-controls{flex-direction:column;gap:18px;display:flex}.avatar-controls label{color:#405249;flex-direction:column;gap:7px;font-size:11px;font-weight:700;display:flex}.avatar-controls input{width:100%;accent-color:var(--brand-dark)}.confirm-logout-modal{width:min(400px,94vw)}.confirm-logout-modal .profile-modal-body p{color:#4c5e54;margin:0;font-size:13px}.profile-modal>footer .logout-confirm-button{color:#fff;background:#a64039;border-color:#a64039}.content{flex:1;width:min(1220px,100%);margin:0 auto;padding:36px 34px 48px}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.eyebrow{color:var(--brand);margin:0 0 7px;font-size:12px;font-weight:700}.page-heading h1{letter-spacing:0;margin:0;font-size:28px;line-height:1.25}.page-heading p:not(.eyebrow){color:var(--muted);margin:7px 0 0;font-size:14px}.dashboard-filters{align-items:flex-end;gap:10px;display:flex}.dashboard-filters label{color:var(--muted);flex-direction:column;gap:6px;font-size:10px;font-weight:700;display:flex}.dashboard-filters select,.dashboard-filters input{min-width:150px;height:40px;color:var(--ink);background:#fff;border:1px solid #ccd7d0;border-radius:5px;outline:0;padding:0 10px}.dashboard-filters input{min-width:145px}.primary-button{color:#fff;background:var(--brand-dark);cursor:pointer;border:0;border-radius:6px;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-weight:700;display:inline-flex}.primary-button:hover{background:#294b2d}.danger-button{color:#a52d2d;cursor:pointer;background:#fff5f5;border:1px solid #e3b7b7;border-radius:6px;min-height:44px;padding:0 18px;font-weight:700}.customer-order-detail-actions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;padding-top:16px;display:flex}.customer-order-detail-actions span{color:#8a625b;margin-right:auto;font-size:13px}.customer-order-edit-modal{width:min(760px,100vw - 32px)}.customer-order-edit-body{flex-direction:column;gap:20px;padding:22px;display:flex}.customer-order-edit-fields{gap:12px;display:grid}.customer-order-edit-fields label{color:var(--muted);gap:6px;font-size:13px;font-weight:700;display:grid}.customer-order-edit-fields input,.customer-order-edit-fields textarea,.customer-order-edit-item input{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #cbd5ce;border-radius:5px;padding:10px 11px}.customer-order-edit-items{gap:8px;display:grid}.customer-order-edit-items-head{color:var(--muted);justify-content:space-between;align-items:center;font-size:13px;display:flex}.customer-order-edit-items-head strong{color:var(--ink);font-size:15px}.customer-order-edit-item{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 105px 90px;align-items:center;gap:12px;padding:11px 0;display:grid}.customer-order-edit-item strong,.customer-order-edit-item small{display:block}.customer-order-edit-item small{color:var(--muted);margin-top:3px;font-size:12px}.customer-order-edit-item b{text-align:right}.customer-order-edit-footer{justify-content:space-between;align-items:center;gap:14px;padding-top:4px;display:flex}.customer-order-edit-footer>div{gap:8px;display:flex}.management-add-button{min-height:42px;padding-left:16px;padding-right:16px;font-size:calc(1em - 2px)}.order-success{color:#315e3c;background:#e7f3e9;border-left:3px solid #558260;margin-top:18px;padding:12px 14px;font-size:12px}.order-modal-backdrop{z-index:1200;background:#121f199e;justify-content:center;align-items:flex-start;padding:3vh 18px;display:flex;position:fixed;inset:0;overflow:auto}.order-modal{background:#fff;border-radius:6px;flex-direction:column;width:min(1380px,98vw);max-height:94vh;display:flex;box-shadow:0 24px 70px #0919114d}.order-modal-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:76px;padding:17px 22px;display:flex}.order-modal-heading span{color:var(--brand);font-size:11px;font-weight:800}.order-modal-heading h2{margin:5px 0 0;font-size:20px}.order-modal-body{padding:22px;overflow:auto}.order-header-grid{grid-template-columns:2fr 1fr 1fr;gap:15px 18px;display:grid}.order-header-grid label{color:#405249;flex-direction:column;gap:7px;font-size:12px;font-weight:700;display:flex}.order-header-grid input,.order-header-grid select,.order-items-table input,.order-items-table select{width:100%;height:40px;color:var(--ink);background:#fff;border:1px solid #ccd7d0;border-radius:5px;outline:0;padding:0 10px}.order-header-grid input:focus,.order-header-grid select:focus,.order-items-table input:focus,.order-items-table select:focus{border-color:#719267;box-shadow:0 0 0 3px #557a461a}.order-address{grid-column:span 2}.order-items-heading{justify-content:space-between;align-items:flex-end;gap:15px;margin:24px 0 10px;display:flex}.order-items-heading h3{margin:0;font-size:15px}.order-items-heading p{color:var(--muted);margin:4px 0 0;font-size:11px}.order-items-table{overflow:visible}.order-items-table table{border-collapse:collapse;width:100%;min-width:1120px;font-size:11px}.order-items-table th{color:#466052;text-align:left;white-space:nowrap;background:#eaf2e8;border:1px solid #d6e1d7;padding:10px 8px}.order-items-table td{vertical-align:middle;border:1px solid #e1e8e2;padding:7px}.order-items-table th:first-child{width:23%}.order-items-table th:nth-child(2),.order-items-table th:nth-child(3),.order-items-table th:nth-child(4){width:8%}.order-items-table th:nth-child(5){width:9%}.order-items-table th:nth-child(6){width:12%}.order-items-table th:nth-child(7){width:9%}.order-items-table th:nth-child(8){width:15%}.order-items-table input[readonly]{color:#617068;background:#f3f6f4}.order-product-cell,.order-product-search{position:relative}.order-product-search>svg,.order-customer-search>svg{z-index:1;color:#7b8981;position:absolute;top:12px;left:10px}.order-product-search>input,.order-customer-search>input{padding-left:32px}.order-customer-search{position:relative}.order-product-menu{z-index:20;background:#fff;border:1px solid #b9c9bd;border-radius:5px;width:max(100%,300px);max-height:240px;position:absolute;top:42px;left:0;overflow:auto;box-shadow:0 12px 28px #0f23172e}.order-product-menu-portal{z-index:100000;position:fixed}.order-product-menu button{width:100%;min-height:48px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf1ee;flex-direction:column;justify-content:center;padding:7px 11px;display:flex}.order-product-menu button:hover{background:#eef5ec}.order-product-menu strong,.order-product-menu small{display:block}.order-product-menu small{color:var(--muted);margin-top:3px}.quick-select-empty{color:var(--muted);text-align:center;padding:16px 12px;font-size:12px}.order-line-total{text-align:right;white-space:nowrap;font-weight:800}.order-remove-item{color:#a93f38;cursor:pointer;background:#fff;border:1px solid #e2b9b6;border-radius:5px;place-items:center;width:36px;height:38px;display:grid}.order-remove-item:disabled{opacity:.35;cursor:not-allowed}.order-items-table tfoot td{color:var(--brand-dark);text-align:right;background:#f5f8f5;padding:12px 8px;font-size:13px;font-weight:800}.order-modal-actions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:9px;min-height:68px;padding:12px 22px;display:flex}.order-modal-actions>button:not(.primary-button){min-height:42px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cbd5ce;border-radius:5px;padding:0 17px}.summary-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-top:28px;display:grid}.summary-card{background:var(--surface);border:1px solid var(--line);border-radius:6px;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;min-width:0;min-height:132px;padding:22px;display:grid}.summary-card-clickable{cursor:pointer}.summary-card-clickable:hover{background:#fbfdfb;border-color:#a9c3ae}.summary-card-clickable:focus-visible{outline-offset:2px;outline:2px solid #6e956f}.summary-card-month{grid-area:auto}.dashboard-branch-select{position:relative}.dashboard-branch-trigger{width:320px;min-height:42px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:1px solid #ccd7d0;border-radius:5px;justify-content:space-between;align-items:center;padding:0 10px;display:flex}.dashboard-branch-trigger svg{color:var(--muted);transition:transform .15s;transform:rotate(90deg)}.dashboard-branch-trigger svg.branch-chevron-open{transform:rotate(-90deg)}.dashboard-branch-menu{z-index:100000;background:#fff;border:1px solid #b9c9bd;border-radius:5px;width:320px;min-width:320px;max-height:240px;padding:3px;position:absolute;top:47px;left:0;overflow:auto;box-shadow:0 14px 32px #0f231733}.dashboard-filters .dashboard-branch-option{min-height:34px;color:var(--ink);white-space:nowrap;cursor:pointer;flex-direction:row;align-items:center;gap:5px;margin:0;padding:5px 4px;font-size:12px;font-weight:400;display:flex}.dashboard-branch-option:hover{background:#eef5ec}.dashboard-branch-option input{accent-color:#6e956f;width:15px;height:15px;margin:0}.summary-icon{border-radius:6px;place-items:center;width:46px;height:46px;display:grid}.summary-icon.amber{color:#89621e;background:#fff1cc}.summary-icon.green{color:#356342;background:#deeee2}.summary-icon.blue{color:#315b74;background:#dfedf4}.summary-card span,.summary-card strong,.summary-card small{display:block}.summary-card span{color:var(--muted);font-size:12px}.summary-card strong{margin:5px 0;font-size:24px}.summary-card small{color:var(--muted);font-size:11px}.card-arrow{color:#9aa69f}.today-orders-modal{width:min(620px,96vw)}.today-orders-body{padding:14px 20px 20px}.today-orders-list{border:1px solid var(--line)}.today-orders-list article{border-bottom:1px solid #e7ece8;justify-content:space-between;align-items:center;gap:14px;min-height:68px;padding:12px 14px;display:flex}.today-orders-list article:last-child{border-bottom:0}.today-orders-list strong,.today-orders-list small{display:block}.today-orders-list small{color:var(--muted);margin-top:5px;font-size:11px}.today-order-meta{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:5px;display:flex}.today-order-meta span{color:var(--muted);font-size:11px}.today-order-meta b{color:var(--brand-dark);font-size:14px}.today-orders-empty{color:var(--muted);text-align:center;margin:0;padding:30px 10px}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:18px;margin-top:18px;display:grid}.panel{background:var(--surface);border:1px solid var(--line);border-radius:6px}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:18px 22px;display:flex}.panel-heading h2{letter-spacing:0;margin:0;font-size:16px}.panel-heading p{color:var(--muted);margin:5px 0 0;font-size:12px}.text-button{color:var(--brand-dark);cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;font-size:12px;font-weight:700;display:inline-flex}.delivery-panel{grid-template-columns:112px 1fr;display:grid}.delivery-panel .panel-heading{grid-column:1/-1}.delivery-count{color:var(--brand-dark);font-size:12px}.delivery-date{border-right:1px solid var(--line);background:#eef3ee;flex-direction:column;justify-content:center;align-items:center;min-height:238px;display:flex}.delivery-date span{color:var(--brand);font-size:12px;font-weight:800}.delivery-date strong{font-size:42px;line-height:1.15}.delivery-date small{color:var(--muted);font-size:12px}.delivery-detail{align-self:center;padding:30px}.status-pill{color:#376043;background:#e5f1e7;border-radius:999px;align-items:center;gap:6px;width:fit-content;padding:5px 9px;font-size:11px;font-weight:700;display:flex}.status-pill span{background:#4f855c;border-radius:50%;width:6px;height:6px}.delivery-detail h3{letter-spacing:0;margin:15px 0 10px;font-size:17px}.delivery-detail>p{color:var(--muted);align-items:center;gap:7px;margin:0;font-size:13px;display:flex}.product-tags{flex-wrap:wrap;gap:7px;margin-top:23px;display:flex}.product-tags span{color:#53665c;background:#f2f5f3;border-radius:4px;padding:6px 9px;font-size:11px}.today-delivery-order+.today-delivery-order{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.quick-actions{padding:7px 12px 12px}.quick-actions button{width:100%;min-height:68px;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;border-bottom:1px solid #edf0ee;grid-template-columns:38px 1fr auto;align-items:center;gap:8px;padding:12px 8px;display:grid}.quick-actions button:last-child{border-bottom:0}.quick-actions button:hover{background:#f6f8f6}.quick-actions button>svg:first-child{color:var(--brand)}.quick-actions strong,.quick-actions small{display:block}.quick-actions strong{font-size:13px}.quick-actions small{color:var(--muted);margin-top:4px;font-size:11px}.quick-actions button>svg:last-child{color:#a3aca7}.vehicle-map-panel{margin-top:18px;overflow:hidden}.vehicle-map-panel .panel-heading{min-height:68px}.map-status{color:#66766d;background:#f1f4f2;border-radius:4px;padding:5px 9px;font-size:11px}.vehicle-map-frame{background:#eef3ee;height:320px}.vehicle-map-frame iframe{border:0;width:100%;height:100%;display:block}.demo-notice{color:#7a8580;margin:18px 0 0;font-size:11px}.orders-filter-panel{border:1px solid var(--line);background:#fff;grid-template-columns:minmax(240px,1.5fr) minmax(160px,.8fr) minmax(160px,.8fr);align-items:end;gap:16px;margin-top:24px;padding:16px 18px;display:grid}.orders-filter-panel label{color:#405249;flex-direction:column;gap:7px;font-size:11px;font-weight:700;display:flex}.orders-filter-panel input,.orders-branch-select>button{width:100%;min-height:42px;color:var(--ink);background:#fff;border:1px solid #ccd7d0;border-radius:5px;outline:0;padding:0 11px}.orders-branch-select{position:relative}.orders-branch-select>button{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;display:flex}.orders-branch-select>button span{min-width:0}.orders-branch-select strong,.orders-branch-select small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.orders-branch-select small{color:var(--muted);margin-top:2px;font-size:10px;font-weight:400}.orders-branch-menu{z-index:100000;background:#fff;border:1px solid #b9c9bd;border-radius:5px;width:100%;min-width:300px;padding:7px;position:absolute;top:46px;left:0;box-shadow:0 14px 32px #0f231733}.orders-branch-menu>div:first-child{height:36px;color:var(--muted);border-bottom:1px solid var(--line);align-items:center;gap:7px;padding:0 8px;display:flex}.orders-branch-menu input{border:0;min-height:30px;padding:0}.orders-branch-options{max-height:230px;overflow:auto}.orders-branch-options button{width:100%;min-height:47px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf1ee;padding:6px 8px;display:block}.orders-branch-options button:hover,.orders-branch-options button.selected{background:#eef5ec}.orders-branch-options small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.orders-branch-options p{color:var(--muted);padding:10px;font-size:11px}.orders-filter-result{background:#f3f6f4;border-left:3px solid #c7d86d;flex-direction:column;justify-content:center;min-height:42px;padding:5px 11px;display:flex}.orders-filter-result span,.orders-filter-result small{color:var(--muted);font-size:10px}.orders-filter-result strong{margin:2px 0;font-size:12px}.portal-standalone-page{background:var(--canvas);min-height:100vh;padding:28px 34px 0}.standalone-header{align-items:center;gap:16px;max-width:1240px;min-height:82px;margin:0 auto;display:flex}.standalone-header h1{margin:3px 0 0;font-size:25px}.standalone-header p:not(.eyebrow){color:var(--muted);margin:5px 0 0;font-size:12px}.standalone-filter{gap:10px;margin-left:auto;display:flex}.standalone-filter select,.standalone-filter input,.standalone-search{height:40px;color:var(--ink);background:#fff;border:1px solid #ccd7d0;border-radius:5px;padding:0 10px}.standalone-search{align-items:center;gap:6px;display:flex}.standalone-search input{border:0;outline:0;width:160px}.product-catalog,.delivery-list,.billing-list{border:1px solid var(--line);background:#fff;max-width:1240px;margin:24px auto 48px}.product-catalog-row,.delivery-list-row,.billing-list article{border-bottom:1px solid #e7ece8;align-items:center;gap:16px;min-height:80px;padding:14px 18px;display:flex}.product-catalog-row:last-child,.delivery-list-row:last-child,.billing-list article:last-child{border-bottom:0}.product-catalog-icon{width:40px;height:40px;color:var(--brand);background:#e5f1e7;border-radius:5px;place-items:center;display:grid}.product-catalog-row strong,.product-catalog-row small,.billing-list strong,.billing-list small{display:block}.product-catalog-row small,.billing-list small{color:var(--muted);margin-top:5px;font-size:11px}.product-spec-list{gap:10px;margin-left:auto;display:flex}.product-spec-list span{background:#f3f6f4;min-width:110px;padding:7px 10px;font-size:11px}.product-spec-list small{margin-top:3px}.delivery-list-date{min-width:125px;color:var(--brand-dark);align-items:center;gap:8px;font-size:12px;display:flex}.delivery-list-main{flex:1}.delivery-list-main>div{align-items:center;gap:9px;display:flex}.delivery-list-main p{color:var(--muted);align-items:center;gap:5px;margin:7px 0 3px;font-size:11px;display:flex}.delivery-list-main small{color:var(--muted);font-size:10px}.delivery-list-icon,.billing-list article>svg{color:var(--brand)}.billing-list article div{flex:1}.billing-list article>b{color:var(--brand-dark);font-size:15px}.product-catalog-groups{max-width:1240px;margin:0 auto}.product-catalog-groups .product-catalog{margin:24px 0}.product-group-header{background:#eaf2e8;border-bottom:1px solid #d6e1d7;justify-content:space-between;align-items:center;min-height:52px;padding:0 18px;display:flex}.product-group-header h2{color:var(--brand-dark);margin:0;font-size:15px}.product-group-header span{color:var(--muted);font-size:11px}.orders-page-heading{align-items:center}.orders-refresh-button{box-sizing:border-box;height:42px;min-height:42px;color:var(--brand-dark);cursor:pointer;background:#fff;border:1px solid #b9c9bd;border-radius:5px;align-items:center;gap:8px;padding:0 15px;font-size:12px;font-weight:700;display:inline-flex}.orders-heading-actions{align-items:center;gap:8px;display:flex}.orders-create-button{box-sizing:border-box;border:1px solid var(--brand-dark);color:#fff;background:var(--brand-dark);cursor:pointer;border-radius:5px;align-items:center;gap:8px;height:42px;min-height:42px;padding:0 15px;font-size:12px;font-weight:700;display:inline-flex}.orders-create-button:hover{background:#294b2d}.orders-refresh-button:hover:not(:disabled){background:#edf4eb}.orders-refresh-button:disabled{opacity:.6;cursor:wait}.is-spinning{animation:.8s linear infinite order-spin}@keyframes order-spin{to{transform:rotate(360deg)}}.orders-loading,.orders-error{border:1px solid var(--line);background:#fff;margin-top:24px;padding:18px;font-size:13px}.orders-error{color:#8a2e29;background:#fbeceb;border-color:#efcac7}.orders-section{background:#fff;border-top:3px solid #6e8d70;margin-top:22px}.orders-section.partial{border-top-color:#d69d36}.orders-section.incomplete{border-top-color:#87958d}.orders-section>header{border:1px solid var(--line);border-top:0;justify-content:space-between;align-items:center;gap:18px;min-height:72px;padding:14px 18px;display:flex}.orders-section-title{align-items:center;gap:12px;display:flex}.orders-section-title>svg{color:var(--brand)}.orders-section.partial .orders-section-title>svg{color:#a66b12}.orders-section.incomplete .orders-section-title>svg{color:#66766d}.orders-section h2{margin:0;font-size:16px}.orders-section header p{color:var(--muted);margin:4px 0 0;font-size:11px}.orders-section>header>strong{min-width:34px;height:30px;color:var(--brand-dark);background:#e7efe4;border-radius:4px;place-items:center;padding:0 9px;font-size:13px;display:grid}.orders-section-body{border:1px solid var(--line);border-top:0}.customer-order-row{background:#fff;border-bottom:1px solid #e7ece8;grid-template-columns:minmax(260px,2fr) minmax(140px,.8fr) minmax(180px,1fr) minmax(120px,.65fr);align-items:center;gap:20px;min-height:104px;padding:16px 18px;display:grid}.customer-order-row:last-child{border-bottom:0}.customer-order-row:hover{background:#f8faf8}.customer-order-row-clickable{cursor:pointer}.customer-order-row-clickable:focus-visible{outline-offset:-2px;outline:2px solid #6e956f}.customer-order-detail-modal{width:min(760px,96vw)}.customer-order-detail-body{padding:20px}.customer-order-detail-summary{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,1fr);gap:12px;padding-bottom:18px;display:grid}.customer-order-detail-summary span,.customer-order-detail-summary strong{display:block}.customer-order-detail-summary span{color:var(--muted);font-size:11px}.customer-order-detail-summary strong{margin-top:5px;font-size:13px}.customer-order-detail-items{border:1px solid var(--line);margin-top:16px}.customer-order-detail-items article{border-bottom:1px solid #e7ece8;justify-content:space-between;align-items:center;gap:15px;min-height:60px;padding:10px 13px;display:flex}.customer-order-detail-items article:last-child{border-bottom:0}.customer-order-detail-items strong,.customer-order-detail-items small{display:block}.customer-order-detail-items small{color:var(--muted);margin-top:4px;font-size:11px}.customer-order-detail-items article>div:last-child{white-space:nowrap;align-items:center;gap:18px;font-size:12px;display:flex}.customer-order-detail-items b{color:var(--brand-dark)}.customer-order-detail-address{color:var(--muted);margin:14px 0 0;font-size:12px}.customer-order-primary{min-width:0}.customer-order-number{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.customer-order-number strong{overflow-wrap:anywhere;font-size:14px}.customer-order-primary p{margin:8px 0 4px;font-size:13px}.customer-order-primary small{color:var(--muted);overflow-wrap:anywhere;font-size:10px;display:block}.order-state{border-radius:4px;padding:4px 7px;font-size:10px;font-weight:700}.order-state.completed{color:#315e3c;background:#e4f0e5}.order-state.partial{color:#875713;background:#fff0ce}.order-state.incomplete{color:#56645c;background:#e9eeeb}.customer-order-date span,.customer-order-progress span,.customer-order-amount span{color:var(--muted);font-size:10px;display:block}.customer-order-date strong{align-items:center;gap:6px;margin-top:7px;font-size:12px;display:flex}.customer-order-progress>div:first-child{justify-content:space-between;align-items:center;display:flex}.customer-order-progress>div:first-child strong{font-size:11px}.order-progress-track{background:#e5ebe6;border-radius:3px;height:5px;margin:8px 0 5px;overflow:hidden}.order-progress-track span{background:#688d64;height:100%}.customer-order-progress small{color:var(--muted);font-size:10px}.customer-order-amount{text-align:right}.customer-order-amount strong{margin-top:7px;font-size:15px;display:block}.orders-empty{color:var(--muted);text-align:center;padding:28px 18px;font-size:12px}.footer{min-height:54px;color:var(--muted);border-top:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:20px;padding:0 34px;font-size:11px;display:flex}.mobile-nav,.scrim{display:none}.management-caption{margin-top:24px}.management-shell{background:var(--canvas);grid-template-columns:244px 1fr;min-height:100vh;display:grid}.management-sidebar{color:#fff;background:var(--sidebar);flex-direction:column;gap:5px;height:100vh;padding:22px 14px;display:flex;position:sticky;top:0}.management-logo{filter:brightness(0)invert();width:178px;height:auto;margin:25px 12px 22px}.management-sidebar>p{color:#ffffff7a;margin:0 12px 8px;font-size:11px;font-weight:700}.management-sidebar a,.management-sidebar button{color:#ffffffb8;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:11px;min-height:44px;padding:0 13px;text-decoration:none;display:flex}.management-sidebar a:hover,.management-sidebar a.active,.management-sidebar button:hover{color:#fff;background:#ffffff1a}.management-sidebar a.active{box-shadow:inset 3px 0 #c7d86d}.management-sidebar .back-link{color:#dbe99c}.management-sidebar>button{margin-top:auto}.management-content{width:min(1240px,100%);padding:38px 40px 64px}.management-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.management-heading span{color:var(--brand);font-size:12px;font-weight:800}.management-heading h1{letter-spacing:0;margin:7px 0 5px;font-size:27px}.management-heading p{color:var(--muted);margin:0;font-size:13px}.management-form,.data-panel{border:1px solid var(--line);background:#fff;border-radius:6px;margin-bottom:20px}.branch-modal-backdrop{z-index:1000;background:#121f1994;justify-content:center;align-items:flex-start;padding:4vh 20px 20px;display:flex;position:fixed;inset:0;overflow-y:auto}.branch-modal-dialog{width:min(1040px,96vw);max-height:92vh}.management-form.branch-modal-form{max-height:92vh;margin:0;padding:24px;overflow-y:auto;box-shadow:0 20px 54px #0b1c143d}.management-form{padding:24px}.management-form h2{margin:0 0 20px;font-size:17px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px;display:grid}.form-grid label,.form-grid legend{color:#405249;font-size:12px;font-weight:700}.form-grid label{flex-direction:column;gap:7px;display:flex}.form-grid input,.form-grid select{width:100%;height:42px;color:var(--ink);background:#fff;border:1px solid #ccd7d0;border-radius:5px;outline:0;padding:0 11px}.form-grid input:focus,.form-grid select:focus{border-color:#719267;box-shadow:0 0 0 3px #557a461a}.form-grid small{color:var(--muted);font-size:10px;font-weight:400}.form-grid .wide{grid-column:1/-1}.form-grid fieldset{border:0;margin:0;padding:0}.form-section-title{color:var(--brand-dark);border-bottom:1px solid var(--line);margin:24px 0 14px;padding-bottom:7px;font-size:13px;font-weight:800}.form-section-title:first-of-type{margin-top:0}.form-toggle-group{flex-wrap:wrap;align-items:center;gap:16px;min-height:42px;display:flex}.form-toggle-group label{cursor:pointer;flex-direction:row;align-items:center;gap:7px;display:flex}.form-toggle-group input{width:16px;height:16px;accent-color:var(--brand-dark)}.bank-title{justify-content:space-between;align-items:center;display:flex}.icon-text-button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.bank-account-list{flex-direction:column;gap:9px;display:flex}.bank-account-row{grid-template-columns:110px 1fr 1.2fr 1fr 38px;align-items:end;gap:10px;display:grid}.bank-account-row label{color:#405249;flex-direction:column;gap:6px;font-size:11px;font-weight:700;display:flex}.bank-account-row input{border:1px solid #ccd7d0;border-radius:5px;width:100%;height:40px;padding:0 10px}.icon-danger{color:#a93f38;cursor:pointer;background:#fff;border:1px solid #e2b9b6;border-radius:5px;place-items:center;width:38px;height:40px;display:grid}.form-grid legend{margin-bottom:9px}.branch-checks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.branch-checks label{border:1px solid var(--line);cursor:pointer;border-radius:5px;grid-template-columns:auto 1fr;align-items:center;column-gap:9px;min-height:54px;padding:9px 11px;display:grid}.branch-checks input{width:16px;height:16px;accent-color:var(--brand-dark);grid-row:1/3}.branch-checks span{color:var(--ink);font-size:12px}.branch-checks small{font-size:10px}.form-actions{justify-content:flex-end;gap:9px;margin-top:22px;display:flex}.form-actions>button:not(.primary-button),.table-action{min-height:38px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cbd5ce;border-radius:5px;padding:0 14px}.form-error{color:#87332d;background:#fff1f0;border-left:3px solid #b74138;margin-bottom:16px;padding:11px 14px;font-size:12px}.data-panel{overflow:auto}.data-panel table{border-collapse:collapse;width:100%;font-size:12px}.data-panel th{color:#466052;text-align:left;white-space:nowrap;background:#eaf2e8;border-bottom:1px solid #d2dfd3;padding:13px 16px}.data-panel td{vertical-align:middle;border-bottom:1px solid #edf1ee;padding:14px 16px}.data-panel td strong,.data-panel td small{display:block}.data-panel td small{color:var(--muted);margin-top:4px}.state{color:#686f6b;background:#ecefed;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:700}.state.active{color:#376043;background:#e5f1e7}.tag-list{flex-wrap:wrap;gap:5px;display:flex}.tag-list span{background:#f3f7f3;border:1px solid #d9e3da;border-radius:4px;padding:4px 6px;font-size:10px}.table-action{min-height:31px;padding:0 10px;font-size:11px}.edit-account-button{color:#315e3c;background:#e5f1e7;border-color:#c3ddc7}.edit-account-button:hover{background:#d8eadb}.disable-account-button{color:#963e39;background:#fbe9e7;border-color:#ecc5c1}.disable-account-button:hover{background:#f6deda}.data-panel th.account-status-column,.data-panel td.account-status-column,.data-panel th.account-action-column,.data-panel td.account-action-column{white-space:nowrap;padding-left:18.5px;padding-right:18.5px}.empty-state{min-height:150px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:9px;font-size:12px;display:flex}@media (max-width:980px){.sidebar{transition:transform .2s;transform:translate(-100%)}.sidebar.is-open{transform:translate(0)}.sidebar-close,.menu-button{display:grid}.scrim{z-index:20;background:#121f197a;border:0;display:block;position:fixed;inset:0}.portal-main{margin-left:0}.dashboard-grid{grid-template-columns:1fr}}@media (max-width:860px){.customer-login{grid-template-columns:1fr}.login-visual{background-position:50% 43%;min-height:240px;padding:28px}.visual-copy{margin:35px 0 0}.visual-copy h1{font-size:32px}.visual-copy>span{display:none}.login-panel{min-height:calc(100vh - 240px);padding:34px 24px 20px}.login-brand{display:none}.mobile-brand{color:var(--brand-dark);margin-bottom:34px;display:flex}}@media (max-width:520px){.login-visual{min-height:178px;padding:22px}.visual-copy{margin:25px 0 0}.visual-copy p{margin-bottom:8px;font-size:10px}.visual-copy h1{font-size:25px}.login-panel{justify-content:flex-start;min-height:calc(100vh - 178px);padding:28px 20px 18px}.mobile-brand{display:none}.login-heading{margin-bottom:25px}.login-heading h2{font-size:22px}}@media (max-width:720px){.topbar{gap:8px;height:64px;padding:0 14px}.search-box{flex:1;width:auto}.customer-account-control{margin:0;padding-left:8px}.customer-account-text,.customer-account-trigger>svg{display:none}.customer-account-trigger{padding:3px}.customer-account-menu{top:50px}.desktop-only{display:none}.content{padding:25px 16px 94px}.page-heading{align-items:flex-start}.page-heading h1{font-size:23px}.primary-button{justify-content:center;width:44px;min-width:44px;padding:0;font-size:0}.summary-grid{grid-template-columns:1fr;gap:10px}.summary-card,.summary-card-month{grid-area:auto;min-height:102px;padding:16px}.delivery-panel{grid-template-columns:82px 1fr}.delivery-date{min-height:224px}.delivery-detail{padding:22px 18px}.delivery-detail h3{overflow-wrap:anywhere}.footer{flex-direction:column;align-items:flex-start;gap:4px;padding:14px 16px 78px}.mobile-nav{z-index:15;min-height:66px;padding:6px 8px max(6px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;inset:auto 0 0}.mobile-nav button{color:#7c8982;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:52px;font-size:10px;display:flex}.mobile-nav button.active{color:var(--brand-dark)}}@media (max-width:900px){.customer-order-row{grid-template-columns:1fr 1fr}.customer-order-primary{grid-column:1/-1}.customer-order-amount{text-align:left}}@media (max-width:560px){.orders-page-heading{flex-direction:column}.orders-refresh-button{justify-content:center;width:100%}.customer-order-row{grid-template-columns:1fr;gap:13px}.customer-order-primary{grid-column:auto}.orders-section>header{align-items:flex-start}}@media (max-width:720px){.orders-filter-panel{grid-template-columns:1fr}.orders-branch-menu{min-width:0}.dashboard-filters{flex-direction:column;align-items:stretch;width:100%}.dashboard-filters select,.dashboard-filters input{width:100%}.page-heading .dashboard-filters{margin-top:8px}.dashboard-branch-trigger,.dashboard-branch-menu{width:100%;min-width:0}}@media (max-width:620px){.avatar-editor{grid-template-columns:1fr;justify-items:center}.avatar-controls{width:100%}}@media (max-width:800px){.management-shell{display:block}.management-sidebar{flex-direction:row;align-items:center;width:100%;height:auto;padding:10px 12px;position:static;overflow:auto}.management-logo,.management-sidebar>p,.management-sidebar>button{display:none}.management-sidebar a{white-space:nowrap}.management-content{padding:25px 16px 50px}.management-heading{align-items:flex-start}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.branch-checks{grid-template-columns:1fr}.bank-account-row{border:1px solid var(--line);border-radius:5px;grid-template-columns:1fr;padding:12px}.icon-danger{width:100%}.order-modal-backdrop{padding:0}.order-modal{border-radius:0;width:100%;min-height:100vh;max-height:100vh}.order-modal-body{padding:16px}.order-header-grid{grid-template-columns:1fr}.order-address{grid-column:auto}.order-items-table{overflow-x:auto}.order-modal-actions{background:#fff;position:sticky;bottom:0}}.order-details-backdrop{z-index:10020}.today-orders-list .pending-order-button{width:100%;min-height:68px;color:var(--ink);text-align:left;cursor:pointer;font:inherit;background:#fff;border:0;border-bottom:1px solid #e7ece8;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.today-orders-list .pending-order-button:last-child{border-bottom:0}.today-orders-list .pending-order-button:hover{background:#f1f6f1}.today-orders-list .pending-order-button:focus-visible{outline:2px solid var(--brand);outline-offset:-3px}.order-details-table-wrap{overflow-x:auto}.order-details-table{border-collapse:collapse;width:100%;font-size:12px}.order-details-table th,.order-details-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:12px 8px}.order-details-table th{background:#f3f6f4}.order-details-table td:not(:first-child){white-space:nowrap}.order-details-table small{color:var(--muted);margin-top:4px;display:block}.order-details-total{justify-content:flex-end;gap:14px;padding:12px 0;display:flex}.today-delivery-order-clickable{cursor:pointer;border-radius:5px}.today-delivery-order-clickable:hover{background:#f1f6f1}.today-delivery-order-clickable:focus-visible{outline:2px solid var(--brand);outline-offset:4px}.delivery-detail .delivery-order-number{margin:4px 0 8px;font-weight:600}
