/* Commerce, customer history and focused mobile manager navigation. */
.admin-main,.admin-title>div,.admin-nav,.panel,.promo-card,.team-card,.customer-row,.calculator-panel{min-width:0}
.admin-sidebar{overflow-y:auto;overscroll-behavior:contain}.admin-sidebar-bottom{padding-top:18px;margin-top:24px}.admin-nav{gap:3px}.admin-nav a{min-height:43px;padding:11px 13px}.admin-jump{display:none}.manager-name{font-size:12px;max-width:160px;overflow-wrap:anywhere;text-align:right;color:#5d7051}.admin-top>div:last-child{min-width:0}.admin-avatar{flex-shrink:0}
.promo-grid,.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.promo-card,.team-card{background:#fff;border:1px solid #dae3d4;border-radius:14px;padding:24px;overflow-wrap:anywhere}.promo-card header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.promo-card code{font-size:18px;font-weight:650;color:#37572b;letter-spacing:1px;word-break:break-word}.promo-card h3{font-size:20px;line-height:1.4;margin:21px 0 10px;color:#294321}.promo-card>p{font-size:14px;line-height:1.65;color:#617357}.compact-facts{margin:22px 0}.compact-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:12px 0;font-size:12px;line-height:1.5}.compact-facts dt{color:#78846e}.compact-facts dd{margin:0;color:#314a27;text-align:right;max-width:60%;overflow-wrap:anywhere}.promo-card .row-actions{border-top:1px solid #e5ebdf;padding-top:16px;flex-wrap:wrap;gap:10px}.promo-entry{display:flex;gap:8px;align-items:stretch;min-width:0}.promo-entry input{min-width:0;flex:1;width:100%;border:1px solid #ffffff20;border-radius:8px;background:#ffffff08;color:inherit;padding:12px 13px;font-size:15px}.promo-entry button{flex-shrink:0;white-space:normal;min-height:45px}.promo-checkout{padding-top:20px}.promo-checkout>.field{margin-bottom:9px}.promo-feedback{font-size:12px;line-height:1.6;color:#a9d68b;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.promo-feedback>span{flex:1}.promo-feedback:empty{display:none}.promo-feedback svg{width:17px;height:17px;flex-shrink:0}.promo-feedback.error{color:#ffb4aa}.promo-feedback button{font-size:11px}.discount-row{color:#76b656}.team-card h3{margin:16px 0 7px;font-size:20px;color:#314b27}.team-card code{color:#607e4d;font-size:13px}.team-avatar,.customer-avatar{background:#edf3e7;color:#5f804b;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:600;flex-shrink:0}.team-avatar{height:50px;width:50px;font-size:18px}.team-card .row-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.team-card .row-actions button{min-height:38px}.team-card .small{line-height:1.6}
.customer-list{display:grid;gap:12px}.customer-row{display:grid;grid-template-columns:46px minmax(140px,1.2fr) minmax(140px,1fr) minmax(120px,1fr) 20px;align-items:center;gap:20px;width:100%;background:#fff;border:1px solid #dce5d5;border-radius:12px;padding:21px 23px;text-align:left;cursor:pointer;color:#344a2b}.customer-row:hover,.customer-row:focus-visible{border-color:#9cb98a;background:#fbfdf8}.customer-avatar{height:44px;width:44px;font-size:18px}.customer-row strong{display:block;font-size:15px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.customer-row small{display:block;font-size:11px;color:#78866c;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}.customer-row svg{width:20px;height:20px;color:#73925f}.customer-inline{text-align:left;font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0;min-width:0;overflow-wrap:anywhere}.customer-inline small{display:block;font-size:11px;color:#718664;line-height:1.6;margin-top:4px}.accepted-by{font-size:12px;line-height:1.6;color:#688259;margin:9px 0 15px}.customer-summary-link{width:100%;border:1px solid #d4e2ca;border-radius:10px;background:#f2f7ec;color:#466b33;cursor:pointer;text-align:left;padding:16px;margin-top:18px;display:grid;gap:7px}.customer-summary-link>span,.customer-summary-link>small{font-size:12px;line-height:1.5}.customer-summary-link>strong{font-size:16px;font-weight:550}.customer-summary-link>small{display:flex;align-items:center;gap:8px}.customer-summary-link svg{width:16px;height:16px}.customer-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.customer-heading>a{display:flex;align-items:center;gap:8px;font-size:18px;color:#395d2b}.customer-heading svg{height:18px;width:18px}.customer-heading>span{font-size:12px;color:#78876b}.customer-stats{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:12px;margin:18px 0}.customer-stats>div{border:1px solid #dce5d5;border-radius:10px;background:#f0f5e9;padding:17px 14px;min-width:0}.customer-stats strong{display:block;font-size:24px;line-height:1.25;color:#39572c;overflow-wrap:anywhere}.customer-stats span{display:block;font-size:11px;color:#718265;margin-top:8px;line-height:1.4}.customer-history-list{display:grid;gap:10px;margin-top:25px}.customer-history-row{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;width:100%;text-align:left;padding:18px;border:1px solid #dfe6d8;border-left:3px solid var(--tone);border-radius:10px;background:#fff;color:#344b2a;cursor:pointer}.customer-history-row:hover{background:#f8fbf4}.customer-history-row>span{min-width:0}.customer-history-row strong{font-size:14px;display:block;line-height:1.5}.customer-history-row small{font-size:12px;display:block;line-height:1.65;margin-top:7px;color:#75826b;overflow-wrap:anywhere}.customer-history-row>span:last-child{flex-shrink:0;display:grid;justify-items:end;gap:9px}.customer-history-row b{font-size:18px;font-weight:550}.order-delete-area{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:22px 0 0;border-top:1px solid #e4e9de;margin-top:25px}.order-delete-area span{font-size:11px;color:#8c8e84}.danger-text{color:#b14c40!important;font-size:12px}.danger-notice{padding:18px 19px;border-radius:11px;background:#fff0eb;border:1px solid #f3cec5;color:#964b40;font-size:14px;line-height:1.75;margin-bottom:22px}.danger-notice p{margin:12px 0 0}.danger-notice strong{font-size:14px}.btn.danger{background:#b84b3b;color:#fff;border-color:#b84b3b}
.analytics-notice{display:flex;gap:20px;align-items:center;margin-top:25px;margin-bottom:-15px}.analytics-notice>div{flex:1;padding-left:15px;border-left:2px solid #81996c}.analytics-notice strong{display:block;font-size:13px;line-height:1.5;font-weight:500;color:#cfddc4}.analytics-notice span{display:block;font-size:11px;line-height:1.7;color:#839875;max-width:650px;margin-top:3px}.analytics-notice>.textbtn{font-size:11px;min-height:40px;white-space:nowrap}.analytics-notice>.btn{font-size:11px;min-height:40px}.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.action-bars{display:grid;gap:22px}.action-bar>div{display:flex;justify-content:space-between;gap:14px;font-size:13px;color:#5c7350;margin-bottom:8px}.action-bar strong{color:#365d27}.bar-track{display:block;background:#f0f4ea;height:7px;border-radius:5px;overflow:hidden}.bar-track i{display:block;height:100%;background:#84a56c;border-radius:5px}.journey{border-bottom:1px solid #e4ebdf}.journey:last-child{border:0}.journey>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:15px 0;cursor:pointer;font-size:13px;color:#415b34}.journey>summary::-webkit-details-marker{display:none}.journey summary small{display:block;font-size:10px;color:#7e8d72;margin-top:7px;line-height:1.6}.journey summary b{font-size:11px;font-weight:400;white-space:nowrap}.journey summary b:after{content:' +';font-size:16px}.journey[open] summary b:after{content:' −'}.journey ol{padding:0 0 12px;margin:0;list-style:none}.journey li{display:flex;align-items:baseline;gap:14px;font-size:12px;line-height:1.6;margin:14px 0;color:#405b33}.journey time{font-size:10px;color:#829472;flex-shrink:0}.journey li small{display:block;font-size:10px;color:#788c6a;margin-top:4px}
.calculator-panel{align-self:start;padding:26px;border-radius:14px;background:#212a1d}.calculator-tabs{display:flex;gap:4px;background:#11190f;border-radius:10px;padding:4px;margin-bottom:25px}.calculator-tabs button{display:flex;gap:7px;justify-content:center;align-items:center;flex:1;min-height:42px;font-size:12px;line-height:1.4;padding:10px;border:0;background:none;border-radius:7px;color:#90a47f;cursor:pointer}.calculator-tabs button.active{background:#3c4e31;color:#f0f6e8}.calculator-tabs svg{width:17px;height:17px}.calculator-panel h3{font-size:23px;line-height:1.3;margin:0 0 16px}.calculator-panel .small{line-height:1.8}.calculator-next{font-size:12px;margin-top:20px;min-height:35px}.cook-stepper{display:flex;align-items:stretch;border:1px solid #99b2803b;background:#11190f;border-radius:10px;overflow:hidden;margin:10px 0 21px;max-width:220px;height:48px}.cook-stepper button{width:50px;border:0;background:#ffffff04;color:#d2e2c2;font-size:23px;cursor:pointer;flex-shrink:0}.cook-stepper input{border:0;background:transparent;color:#eff7e4;width:100%;min-width:0;text-align:center;font-size:18px;appearance:textfield;-moz-appearance:textfield}.cook-stepper input::-webkit-inner-spin-button{appearance:none}.recipe-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.recipe-tabs button{font-size:11px;min-height:39px;border:1px solid #b5ca9d32;color:#adc29b;border-radius:8px;padding:9px 10px;background:none;cursor:pointer}.recipe-tabs button.active{background:#405a31;border-color:#789263;color:#ebf3e5}.cook-ingredients{margin:16px 0 24px}.cook-ingredients>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #ffffff0d;font-size:14px;line-height:1.5}.cook-ingredients dt{color:#bfd0b0;min-width:0}.cook-ingredients dd{margin:0;color:#f0f4e9;white-space:nowrap;font-size:15px}.cook-ingredients dt small{font-size:10px;display:block;color:#819575;max-width:210px;margin-top:6px;line-height:1.6}.cook-time{display:flex;align-items:flex-start;gap:10px;color:#cbdcba;font-size:12px;line-height:1.65;padding:14px;background:#11190f;border-radius:9px;margin:18px 0}.cook-time svg{width:18px;height:18px;flex-shrink:0;margin-top:2px}.cooking-extra{font-size:11px;color:#9eb78a;line-height:1.5;margin:0 0 10px}.calculator-panel .field{font-size:12px;color:#9eb78c}.calculator-panel .form-error:empty{display:none}.editorial{align-items:start}.editorial-copy{padding-top:18px}
.admin-body .modal{background:#f8faf5;color:#334b28;border-color:#dae4d1}.admin-body .modal .modal-head{border-bottom-color:#dce6d3}.admin-body .modal .field{color:#627b52}.admin-body .modal .field input,.admin-body .modal .field select,.admin-body .modal .field textarea,.admin-body .modal .promo-entry input{background:#fff;border-color:#d0ddc7;color:#304a26}.admin-body .modal .muted,.admin-body .modal .small.muted{color:#778b69}.admin-body .modal .check{color:#557143}.admin-body .modal .btn.secondary{background:#edf4e6;border-color:#d0dfc5;color:#50723b}.admin-body .modal .hint{background:#edf3e7;border-color:#d7e4ca;color:#607d4c}.admin-body .modal .textbtn{color:#5f8149}.admin-body .modal .form-error{color:#b64032}.admin-body .modal .legal-document{color:#5c744c}.admin-body .modal .legal-document h2{color:#365329}.admin-body .modal input:disabled,.admin-body .modal select:disabled{background:#edf1e7;color:#7d8c74;cursor:not-allowed}.field input,.field select,.field textarea{min-width:0;max-width:100%}.modal-head h2{overflow-wrap:anywhere}.modal-head .iconbtn{flex-shrink:0}.form-actions{flex-wrap:wrap}.form-actions .btn{white-space:normal;line-height:1.4}.modal-body{overflow-wrap:anywhere}.promo-entry input:focus-visible,.cook-stepper input:focus-visible{outline:2px solid #a6c58d;outline-offset:-3px}.analytics-notice button:focus-visible,.recipe-tabs button:focus-visible,.calculator-tabs button:focus-visible{outline:2px solid #b3d39a;outline-offset:3px}
@media(max-width:1200px){.analytics-grid{grid-template-columns:1fr}.customer-row{grid-template-columns:42px minmax(120px,1fr) minmax(110px,1fr) 20px;gap:14px}.customer-row>span:nth-child(3){grid-column:2;grid-row:2}.customer-row>span:nth-child(4){grid-column:3;grid-row:1/3}.customer-row>svg{grid-column:4;grid-row:1/3}.customer-row small{font-size:10px}.customer-row-name{grid-column:2}.customer-avatar{grid-row:1/3}.promo-card{padding:21px}.analytics-notice{gap:14px}.manager-name{max-width:100px;font-size:11px}}
@media(max-width:850px){.promo-grid,.team-grid{grid-template-columns:1fr}.calculator-panel{padding:22px}.calculator-tabs button{font-size:11px;padding:10px 7px}.customer-row{padding:18px 15px}.customer-row strong{font-size:14px}.admin-nav a{font-size:12px}.analytics-stats .stat-value{font-size:29px}.analytics-notice{flex-wrap:wrap}.analytics-notice>div{flex-basis:100%}.analytics-notice>.textbtn{margin-left:auto}}
@media(max-width:600px){.admin-sidebar{overflow:visible;padding:11px 17px;position:sticky;top:0}.admin-nav{display:none}.admin-jump{display:flex;gap:12px;align-items:center;width:100%;font-size:11px;color:#8b9d7e}.admin-jump select{min-height:44px;width:100%;flex:1;min-width:0;background:#2b3a22;color:#e8f0df;border:1px solid #4c6240;border-radius:9px;font-size:16px;padding:8px 12px}.admin-top{gap:10px;margin-bottom:22px}.manager-name{display:none}.admin-main{padding-top:19px}.admin-title h1{font-size:28px}.admin-title p{max-width:100%;line-height:1.65}.promo-grid,.team-grid{gap:15px}.promo-card,.team-card{padding:22px 19px}.promo-card h3{font-size:19px}.promo-card code{font-size:17px}.promo-card .row-actions button{min-height:41px;font-size:12px}.compact-facts>div{font-size:12px}.compact-facts dd{max-width:55%}.customer-row{grid-template-columns:34px minmax(100px,1fr) minmax(80px,.8fr);gap:10px;padding:17px 13px}.customer-row>svg{display:none}.customer-avatar{width:32px;height:32px;font-size:14px}.customer-row strong{font-size:13px}.customer-row small{font-size:10px}.customer-row>span:nth-child(4){text-align:right}.customer-row>span:nth-child(4)>strong{font-size:16px}.customer-stats{grid-template-columns:1fr 1fr;gap:10px}.customer-stats>div:last-child{grid-column:1/-1}.customer-stats>div{padding:16px}.customer-stats strong{font-size:25px}.customer-stats>div:last-child strong{font-size:29px}.customer-heading>a{font-size:18px}.customer-heading>span{font-size:11px}.customer-history-row{display:grid;grid-template-columns:1fr;gap:14px;padding:17px 14px}.customer-history-row>span:last-child{display:flex;justify-content:space-between;align-items:center;gap:12px}.customer-history-row strong{font-size:13px}.customer-history-row small{font-size:11px}.customer-summary-link{padding:15px}.customer-summary-link>strong{font-size:15px}.customer-summary-link>span{font-size:11px}.order-delete-area{gap:8px}.order-delete-area .textbtn{min-height:42px;font-size:13px}.order-delete-area>span{width:100%;font-size:11px}.promo-entry input{font-size:16px;padding:12px;min-height:47px}.promo-entry .btn{font-size:11px;padding:10px 12px;max-width:120px}.promo-feedback{font-size:12px}.promo-feedback button{min-height:35px}.modal .form-actions{gap:9px}.modal .form-actions .btn{flex:1;min-height:46px;font-size:13px}.modal-overlay{padding:8px}.modal{max-height:calc(100dvh - 16px)}.modal.cart-drawer{margin:-8px -8px -8px;max-height:100dvh;padding-bottom:env(safe-area-inset-bottom)}.analytics-notice{gap:9px;margin-top:22px;margin-bottom:-8px}.analytics-notice>div{padding-left:12px}.analytics-notice span{font-size:11px}.analytics-notice strong{font-size:12px}.analytics-notice .btn{font-size:11px;min-height:39px}.analytics-notice>.textbtn{font-size:11px}.analytics-grid{gap:18px}.analytics-stats{grid-template-columns:1fr 1fr}.analytics-stats .stat-value{font-size:29px}.action-bar>div{font-size:12px}.analytics-grid .panel-head{flex-wrap:wrap;gap:8px}.journey>summary{font-size:12px}.journey summary b{font-size:10px}.journey li{font-size:12px;gap:10px}.calculator-panel{padding:23px 18px;width:100%;margin-top:10px}.calculator-panel h3{font-size:21px;line-height:1.4}.calculator-tabs{margin-bottom:23px}.calculator-tabs button{font-size:12px;min-height:44px}.recipe-tabs{gap:6px}.recipe-tabs button{font-size:11px;padding:9px 10px;min-height:42px}.cook-ingredients>div{font-size:13px;padding:12px 0}.cook-ingredients dd{font-size:14px}.cook-ingredients dt small{font-size:10px}.cook-stepper input{font-size:20px}.cook-stepper{height:49px}.calculator-next{font-size:12px;min-height:43px}.calculator-panel .small{font-size:12px}.editorial-copy{padding-top:0}.cooking-extra{font-size:10px}.customer-inline small{font-size:11px}.accepted-by{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
