/* Visual direction: white, forest green, lime and orange from the supplied reference. */
:root{--forest:#124a20;--leaf:#268c0b;--lime:#edf7d9;--warm:#fff0dc;--line:#edf0e9;--ink:#182b19;--subtle:#667363}
body{background:#f7f8f5;color:var(--ink);font-size:15px}.main{max-width:1500px;padding:0 30px 45px;margin-left:242px}h1,h2,h3,h4,h5,h6{color:#123d17}h1{font-size:27px;letter-spacing:-.5px}h2{font-size:19px;line-height:1.6}h3{font-size:17px}.muted,small{color:#687268}.card{border-color:#ebeee8;box-shadow:0 3px 18px #153c1304;background:#fff;border-radius:17px}.sidebar{background:#fff;border-right:1px solid #e3eade}.nav button.active{background:linear-gradient(90deg,#e2f0ce,#f1f7e6);color:#1d6d14}.nav button{color:#4c5b48;font-size:13px}.nav .ui-icon{width:29px;height:29px}.green-crown{height:13px;background:linear-gradient(100deg,#13461e,#08721c,#103b16);margin:0 -30px}.reference-header{height:82px;background:#fff;margin:0 -30px 22px;padding:0 30px;border-bottom:1px solid var(--line)}.reference-header .brand{margin:0;gap:8px}.reference-header .brand img{width:53px;height:53px}.reference-header .brand b{font-family:'Noto Sans Thai',sans-serif;font-size:19px;font-weight:800;line-height:1.2}.reference-header .brand small{font-family:'Noto Sans Thai',sans-serif;letter-spacing:0;font-size:11px;font-weight:600;color:#18441f}.header-more{display:none}.header-end{margin-left:auto;display:flex;align-items:center;gap:12px}.header-alert{background:transparent;color:var(--forest);padding:5px;position:relative}.header-alert .ui-icon{width:30px;height:30px}.notification-dot{width:9px;height:9px;border:2px solid white;background:#f34c28;border-radius:50%;position:absolute;right:5px;top:3px}.header-exit{font-size:12px;background:#f2f6ee;color:#254c25;padding:8px 12px}.title-row{margin-bottom:15px}.title-row h1{margin:0}.title-row .eyebrow,.title-row>div>small{display:none}.title-row .actions{margin-left:auto}.date-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #e5e9e1;background:#fff;border-radius:20px;padding:6px 12px;font:12px 'Noto Sans Thai',sans-serif;white-space:nowrap}.date-chip .ui-icon{width:19px;height:19px}.demo-banner{background:#f5f8ed;border:1px solid #e5ebdc;color:#647358;font-size:11px;margin:0 0 16px;padding:8px 12px}.reference-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.metric{min-width:0;display:flex;align-items:center;gap:13px;border-radius:14px;padding:19px 16px;background:#eff8df}.metric.green{background:linear-gradient(110deg,#f1f9df,#e4f2cf)}.metric.orange{background:linear-gradient(110deg,#fff5e5,#ffebd8)}.metric.peach{background:linear-gradient(110deg,#fff4e4,#ffe6df)}.metric>.ui-icon{width:37px;height:37px}.metric>div{min-width:0}.metric span:not(.ui-icon):not(.icon-crop){font-size:12px}.metric strong{display:block;font:750 25px/1.5 'Noto Sans Thai',sans-serif;letter-spacing:-.5px;overflow-wrap:anywhere;color:#14540d}.metric.orange strong,.metric.peach strong{color:#ed6511}.metric small{display:block;font-size:10px;line-height:1.6}.reference-panel{margin:18px 0;padding:21px 23px}.reference-panel h2{margin:0 0 12px}.actual-tag{font-size:10px;color:#749263;background:#f0f7e8;border-radius:20px;padding:4px 9px;white-space:nowrap}.reference-chart{position:relative;width:100%;min-height:160px}.reference-chart svg{width:100%;height:auto;display:block;overflow:visible}.reference-chart svg text{font:11px 'Noto Sans Thai',sans-serif;fill:#5d685a}.chart-grid line{stroke:#e9ece5;stroke-width:1}.chart-empty-note{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);background:#ffffffec;border:1px solid #e9eee1;color:#7b8975;border-radius:12px;padding:10px 14px;font-size:12px;white-space:nowrap}.chart-legend{display:flex;gap:20px;justify-content:center;margin:5px 0 8px;font-size:12px}.chart-legend span{display:flex;gap:7px;align-items:center}.chart-legend i{display:block;background:#268c0b;border-radius:50%;width:9px;height:9px}.chart-legend i.orange{background:#fa8b19}.quick-section{margin:22px 0}.quick-section h2{margin:0 0 12px}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.quick-card{display:flex;flex-direction:column;color:#213d1f;padding:18px 10px;border:1px solid #f1f1df;border-radius:17px;gap:9px;background:linear-gradient(135deg,#f4f9df,#edf5d6)}.quick-card.orange{background:linear-gradient(135deg,#fff7d9,#ffedc5)}.quick-card.peach{background:linear-gradient(135deg,#fff1e6,#ffe5dd)}.quick-card .ui-icon{width:38px;height:38px}.quick-card b{font-size:13px}.money-summary{margin:0}.money-summary>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #eff2eb}.money-summary>div:last-child{border:0}.money-summary dt{font-size:13px}.money-summary dd{font-family:'Noto Sans Thai',sans-serif;font-size:15px;font-weight:650;margin:0;white-space:nowrap}.packaging-note{display:flex;gap:16px;align-items:center;background:#f6faee}.packaging-note>.ui-icon{width:42px;height:42px}.packaging-note p{font-size:13px;margin:6px 0 0}.progress i{background:linear-gradient(90deg,#378d13,#9dce33)}
button{background:#237c0e;border-radius:11px}button.secondary{background:#f0f5e9;color:#31582a}button.orange-button{background:linear-gradient(100deg,#ff951e,#ff7a0c);color:#fff;box-shadow:0 3px 8px #ed861925}.right-actions{justify-content:flex-end;margin-bottom:14px}.filter-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;margin:15px 0;padding:0 0 4px}.filter-chip{flex:none;white-space:nowrap;font-size:12px;background:#f3f4f1;border:1px solid #e9ece4;color:#5b6856;border-radius:20px;padding:8px 15px}.filter-chip.selected{background:linear-gradient(110deg,#419a0e,#247a05);border-color:#3a900d;color:#fff}.segment-row{display:flex;padding:4px;background:#f0f1ee;border-radius:13px;margin:18px 0;gap:4px}.segment-row .filter-chip{flex:1;border:0;border-radius:10px;background:transparent;text-align:center;padding:10px 6px;white-space:normal}.segment-row .filter-chip.selected{background:linear-gradient(110deg,#39930c,#217804);color:#fff}.notice{font-size:12px;background:#f5f8ef;border:1px solid #e9eee0;color:#6a785e;padding:11px 14px;border-radius:12px;line-height:1.8;margin:14px 0}.stock-search{display:flex;gap:10px;align-items:center}.stock-search .search-wrap{max-width:none;flex:1}.stock-search input{border-radius:20px;background:#f7f8f5}.item-list{padding:0 18px;overflow:hidden}.ingredient-row{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #ecf0e6;flex-wrap:wrap}.ingredient-row:last-child{border:0}.ingredient-art{display:inline-flex;align-items:center;justify-content:center;width:61px;height:61px;flex:0 0 61px;overflow:hidden;background:#fff;border-radius:12px}.ingredient-art>span:not(.ui-icon){width:100%;height:100%;background-image:url('/admin/assets/IM-CLEAN-ingredients-atlas.png');background-repeat:no-repeat}.ingredient-art>.ui-icon{width:45px;height:45px}.item-name{min-width:0;flex:1}.item-name b{display:block;font-size:14px;line-height:1.6}.item-name small{display:block;font-size:11px;line-height:1.8}.category-label{display:inline-block!important;width:fit-content;background:#edf5e4;color:#5b7b46!important;border-radius:5px;padding:1px 6px;margin:3px 0;font-size:10px!important}.item-amount{display:flex;align-items:flex-end;flex-direction:column;gap:4px;font-family:'Noto Sans Thai',sans-serif;flex:0 0 auto;max-width:45%;text-align:right}.item-amount>span{font-size:12px}.item-amount strong{font-size:16px;color:#143e17}.item-amount small{font-size:10px}.stock-warning{background:#fff0d6;color:#e6790c;border-radius:6px;padding:3px 7px;max-width:100%}.stock-warning.red{background:#ffede8;color:#db563f}.available-text{color:#62a247!important}.row-controls{display:flex;gap:5px;flex:none}.row-controls button{padding:6px 9px;font-size:10px}.row-controls .ui-icon{width:18px;height:18px}.list-title{padding-top:18px}.list-title h2{font-size:16px;margin:0}.purchase-total{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px;border-radius:13px;background:#fff0dc;margin-top:16px;font-size:15px}.purchase-total strong{font:750 24px 'Noto Sans Thai',sans-serif;color:#ee6a0e}
.order-row{display:grid;grid-template-columns:66px 1fr auto;gap:12px;padding:18px 0;border-bottom:1px solid #ebeee7;align-items:center}.order-row:last-child{border:0}.dish-thumb{width:66px;height:66px;object-fit:cover;border-radius:50%;border:2px solid #f0f4e8}.order-main b{font-size:14px;line-height:1.7;display:block}.order-main small{display:block;font-size:11px;line-height:1.7}.order-right{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.order-right strong{font:650 16px 'Noto Sans Thai',sans-serif;white-space:nowrap}.channel-pill,.status-pill{border-radius:7px;padding:3px 9px;font-size:10px;font-weight:600;background:#edf5e3;color:#448d25}.channel-pill.grab{background:#11b93b;color:#fff}.status-pill.new,.status-pill.accepted{background:#fff2d1;color:#ef8f17}.status-pill.preparing{background:#ffe8d2;color:#e67a0a}.status-pill.ready{background:#e7f8e4;color:#278d18}.status-pill.cancelled,.status-pill.refunded{background:#fff0eb;color:#d66349}.order-details{grid-column:1/-1;border-top:1px dashed #e9ece4;padding-top:9px}.order-details summary{font-size:11px;color:#7e8b74;cursor:pointer}.order-details p{font-size:13px}.recipe-search{max-width:100%}.recipe-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.recipe-tile{display:grid;grid-template-columns:130px 1fr;gap:17px;padding:17px;align-items:center}.recipe-tile>img{width:130px;height:130px;object-fit:cover;border-radius:15px}.recipe-tile h2{font-size:16px;margin:4px 0 9px;line-height:1.6}.recipe-tile p{font-size:11px;margin:4px 0;color:#68765f}.recipe-tile p .ui-icon{width:17px;height:17px}.recipe-tile small{display:block;font-size:10px}.recipe-open{margin-top:10px;font-size:11px;padding:7px 12px}.rice-art .ingredient-art{width:110px;height:110px}.recipe-detail-hero{display:flex;gap:20px;align-items:center;padding-bottom:15px}.recipe-detail-hero>img{width:185px;height:185px;border-radius:17px;object-fit:cover}.recipe-detail-hero h3{font-size:20px;line-height:1.7;margin:5px 0 15px}.recipe-detail-hero p{margin:7px 0;font-size:13px}.recipe-detail-hero .ui-icon{width:21px;height:21px;margin-right:5px}.recipe-cost{margin-top:20px;background:#f6f9f1;border-radius:12px;padding:15px}.recipe-cost summary{cursor:pointer;font-size:13px}.packaging-strip{display:flex;align-items:center;gap:8px;background:#fff0df;color:#b06b25;padding:12px;border-radius:9px;margin:17px 0;font-size:13px;flex-wrap:wrap}.packaging-strip .ui-icon{width:23px;height:23px}.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.reports-layout{display:grid;grid-template-columns:1fr 190px;gap:15px}.reports-layout .reference-panel{margin:0}.average-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f1f8e0}.average-panel>.ui-icon{width:44px;height:44px}.average-panel p{font-size:13px;margin:13px 0 4px}.average-panel strong{font:750 28px 'Noto Sans Thai',sans-serif;color:#286c0f;white-space:nowrap}.average-panel small{font-size:10px;margin-top:9px}.bestsellers{padding-left:24px;margin:0}.bestsellers li{padding:9px 0 9px 7px;font-size:13px}.bestsellers li span{float:right;font:600 13px 'Noto Sans Thai',sans-serif}.report-details{margin-top:20px}.report-details>summary{font-size:14px;cursor:pointer;padding:15px;background:#f0f5e7;border-radius:12px}.report-details>.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.compact{padding:30px 10px}.compact p{margin:0;font-size:13px}.compact .ui-icon{width:44px;height:44px}.bottom-nav .ui-icon{width:28px!important;height:28px!important}
@media(min-width:1450px){.reference-overview{gap:18px}.reference-chart{max-width:950px;margin:auto}.recipe-list{grid-template-columns:repeat(3,minmax(0,1fr))}.recipe-tile{grid-template-columns:115px 1fr}.recipe-tile>img{width:115px;height:115px}}
@media(max-width:1150px){.sidebar{width:220px}.main{margin-left:220px;padding-left:23px;padding-right:23px}.green-crown,.reference-header{margin-left:-23px;margin-right:-23px}.reference-header{padding:0 23px}.reference-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-list{grid-template-columns:1fr}.row-controls{flex-basis:100%;justify-content:flex-end}.report-metrics .metric{flex-direction:column;align-items:flex-start;gap:5px;padding:13px}.report-metrics .metric>.ui-icon{width:26px;height:26px}.report-metrics .metric strong{font-size:21px}.reports-layout{grid-template-columns:1fr 155px}}
@media(max-width:760px){body{background:#fff;font-size:14px}.main{margin-left:0;padding:0 16px 95px}.green-crown{margin:0 -16px;height:12px;border-radius:0 0 18px 0}.reference-header{height:62px;margin:0 -16px 17px;padding:0 15px;gap:9px;background:#fff}.header-more{display:flex;padding:3px;background:transparent;color:var(--forest);font-size:0;margin-right:auto}.header-more .ui-icon{width:24px;height:24px}.reference-header .brand{position:absolute;left:50%;transform:translateX(-50%);gap:5px}.reference-header .brand img{width:40px;height:40px}.reference-header .brand b{font-size:15px}.reference-header .brand small{font-size:9px;letter-spacing:0}.header-end{margin-left:auto;gap:4px}.header-alert{padding:3px}.header-alert .ui-icon{width:26px;height:26px}.header-exit{font-size:0;padding:5px;background:transparent}.header-exit .ui-icon{width:20px;height:20px}.notification-dot{right:2px;top:2px}.title-row{align-items:center;flex-wrap:nowrap;margin-bottom:13px;gap:8px}.title-row h1{font-size:21px;line-height:1.6}.date-chip{padding:4px 7px;gap:3px;font-size:10px}.date-chip .ui-icon{width:16px;height:16px}.title-row .actions{gap:0}.demo-banner{font-size:9px;padding:5px 9px;margin-bottom:12px;border-radius:8px;line-height:1.5}.reference-overview{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.metric{border-radius:12px;padding:12px 9px;gap:8px;align-items:center}.metric>.ui-icon{width:28px;height:28px}.metric span:not(.ui-icon):not(.icon-crop){font-size:11px}.metric strong{font-size:20px;letter-spacing:-.5px;line-height:1.55}.metric small{font-size:8px}.reference-panel{padding:15px 13px;border-radius:13px;margin:15px 0}.reference-panel h2{font-size:15px;margin-bottom:7px}.reference-chart{min-height:95px}.reference-chart svg text{font-size:11px}.chart-empty-note{font-size:9px;padding:5px 8px;border-radius:7px}.actual-tag{font-size:8px;padding:3px 6px}.quick-section{margin:17px 0}.quick-section h2{font-size:15px;margin-bottom:8px}.quick-grid{gap:7px}.quick-card{padding:10px 3px;border-radius:11px;gap:5px}.quick-card .ui-icon{width:30px;height:30px}.quick-card b{font-size:10px;white-space:nowrap}.money-summary dt{font-size:11px}.money-summary dd{font-size:13px}.money-summary>div{padding:9px 0}.packaging-note{gap:11px}.packaging-note>b{font-size:13px}.packaging-note p{font-size:11px}.packaging-note small{font-size:9px}.bottom-nav{padding:7px 5px max(9px,env(safe-area-inset-bottom));border-top:1px solid #e3e8dd;box-shadow:0 -5px 15px #29451104}.bottom-nav button{font-size:9px;border-radius:0;padding:3px 8px;gap:3px;color:#687161}.bottom-nav button.active{color:#257a0d;background:transparent}.bottom-nav button.active span:last-child{font-weight:700}.bottom-nav button .ui-icon{width:26px!important;height:26px!important}.main>p.muted.spaced{font-size:9px}.stock-search{gap:7px}.stock-search .orange-button{font-size:10px;padding:8px}.stock-search button .ui-icon{width:20px;height:20px}.stock-search input{padding-top:9px;padding-bottom:9px;font-size:12px}.filter-row{gap:6px;margin:12px 0}.filter-chip{font-size:10px;padding:7px 12px}.item-list{padding:0 10px;border-radius:12px;box-shadow:none}.ingredient-row{gap:8px;padding:12px 0}.ingredient-art{width:49px;height:49px;flex-basis:49px}.item-name b{font-size:12px;line-height:1.5}.item-name small{font-size:9px}.category-label{font-size:8px!important;padding:0 5px}.item-amount{max-width:44%;gap:2px}.item-amount>span{font-size:10px}.item-amount strong{font-size:13px}.item-amount small{font-size:8px}.row-controls{gap:4px;flex-basis:auto;margin-left:auto}.row-controls button{font-size:0;padding:5px;background:#f4f7ef}.row-controls button .ui-icon{width:18px;height:18px}.ingredient-row:has(.row-controls) .item-name{flex-basis:calc(100% - 65px)}.ingredient-row:has(.row-controls) .item-amount{margin-left:57px;max-width:none;align-items:flex-start;text-align:left}.segment-row{margin:12px 0;border-radius:10px;padding:3px}.segment-row .filter-chip{padding:8px 4px;font-size:10px}.right-actions button{font-size:11px;padding:8px 10px}.right-actions button .ui-icon{width:21px;height:21px}.notice{font-size:10px;padding:9px 10px;margin:12px 0}.list-title{padding-top:13px}.list-title h2{font-size:13px}.purchase-total{font-size:12px;padding:12px}.purchase-total strong{font-size:20px}.order-row{grid-template-columns:49px 1fr auto;gap:8px;padding:14px 0}.dish-thumb{width:49px;height:49px}.order-main b{font-size:11px;line-height:1.6}.order-main small{font-size:9px}.order-right{gap:4px}.order-right strong{font-size:13px}.channel-pill,.status-pill{font-size:8px;padding:2px 6px}.order-details summary{font-size:9px}.order-details .actions{gap:6px}.order-details button{font-size:10px;padding:7px 9px}.order-details button .ui-icon{width:20px;height:20px}.recipe-list{gap:11px}.recipe-tile{grid-template-columns:118px 1fr;padding:10px;gap:12px;border-radius:13px}.recipe-tile>img{width:118px;height:132px;border-radius:11px}.recipe-tile h2{font-size:14px;margin:3px 0 7px}.recipe-tile p{font-size:10px;margin:3px 0}.recipe-tile p .ui-icon{width:16px;height:16px}.recipe-tile small{font-size:9px}.recipe-open{padding:6px 9px;font-size:10px;margin-top:6px}.recipe-open .ui-icon{width:19px;height:19px}dialog{padding:17px;border-radius:19px}dialog .panel-head h2{font-size:16px;line-height:1.6}.recipe-detail-hero{gap:12px;padding-bottom:5px}.recipe-detail-hero>img{width:130px;height:145px;border-radius:12px}.recipe-detail-hero h3{font-size:15px;margin:3px 0 9px}.recipe-detail-hero p{font-size:10px;margin:5px 0}.recipe-detail-hero .ui-icon{width:17px;height:17px;margin-right:1px}.recipe-detail-hero .category-label{font-size:8px!important}.packaging-strip{font-size:11px;padding:9px;gap:6px}.packaging-strip small{font-size:9px}.recipe-cost summary{font-size:11px}dialog th,dialog td{padding:10px 7px;font-size:11px}dialog .steps{padding-left:20px;font-size:12px}.report-metrics{gap:6px;margin-bottom:12px}.report-metrics .metric{padding:10px 7px;gap:3px}.report-metrics .metric>.ui-icon{width:24px;height:24px}.report-metrics .metric span:not(.ui-icon):not(.icon-crop){font-size:9px}.report-metrics .metric strong{font-size:15px;letter-spacing:-.6px}.reports-layout{grid-template-columns:1fr 97px;gap:8px}.reports-layout .reference-panel{padding:12px 8px}.reports-layout h2{font-size:12px}.reports-layout .reference-panel>small{font-size:8px;display:block;line-height:1.6}.chart-legend{gap:9px;font-size:8px;margin:2px 0 8px}.chart-legend span{gap:4px}.chart-legend i{width:6px;height:6px}.average-panel{padding:11px 5px;border-radius:12px}.average-panel>.ui-icon{width:30px;height:30px}.average-panel p{font-size:9px;margin:8px 0 4px}.average-panel strong{font-size:19px}.average-panel small{font-size:8px}.bestsellers{padding-left:18px}.bestsellers li{font-size:10px;padding:7px 0 7px 3px}.bestsellers li span{font-size:10px}.report-details>summary{font-size:11px;padding:12px}.report-details>.grid{grid-template-columns:1fr 1fr}.report-details .stat .value{font-size:22px}.reference-panel.packaging-note b{font-size:12px}}
@media print{.green-crown,.reference-header,.bottom-nav,.sidebar,.demo-banner,.quick-section,.row-controls{display:none!important}.main{margin:0;padding:0}.card{break-inside:avoid}.order-details{display:block}.reference-chart svg{max-height:250px}}

@media(max-width:760px){.reference-header .header-more,.reference-header .header-exit{font-size:0!important;padding:4px;background:transparent}.reference-header .header-end{gap:6px}.reference-header .brand{gap:5px;max-width:155px}.reference-header .brand b{font-size:14px}.reference-header .brand img{width:35px;height:35px}.reference-header .brand small{font-size:8px}.reference-header .header-exit .ui-icon{width:19px;height:19px}.reference-header .header-alert .ui-icon{width:23px;height:23px}}

.ingredient-actions{position:relative;flex:none}.ingredient-actions summary{list-style:none;font:26px/1 'Noto Sans Thai',sans-serif;color:#406039;cursor:pointer;padding:8px}.ingredient-actions summary::-webkit-details-marker{display:none}.ingredient-actions .row-controls{position:absolute;right:0;top:38px;z-index:5;background:white;box-shadow:0 8px 24px #23441720;border:1px solid #e5eddc;border-radius:11px;padding:8px;flex-wrap:nowrap;white-space:nowrap}.item-list:has(.ingredient-actions){overflow:visible}@media(max-width:760px){.ingredient-row:has(.ingredient-actions) .item-name{flex-basis:0}.ingredient-row:has(.ingredient-actions) .item-amount{margin-left:0;max-width:35%;align-items:flex-end;text-align:right}.ingredient-actions summary{padding:4px;font-size:23px}.ingredient-actions .row-controls{top:27px}.ingredient-actions .row-controls button{font-size:10px}.ingredient-row:has(.ingredient-actions){gap:6px;flex-wrap:nowrap;min-height:82px}.ingredient-row:has(.ingredient-actions) .item-name b{font-size:11px}.ingredient-row:has(.ingredient-actions) .item-amount strong{font-size:12px}}
