@font-face{font-family:'Mali';src:url('/admin/assets/fonts/Mali-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:'Mali';src:url('/admin/assets/fonts/Mali-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:'Mali';src:url('/admin/assets/fonts/Mali-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:'Mali';src:url('/admin/assets/fonts/Mali-Bold.ttf') format('truetype');font-weight:700 900;font-style:normal;font-display:swap}@font-face{font-family:'Noto Sans Thai';src:url('/admin/assets/fonts/NotoSansThai-Variable.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
*{box-sizing:border-box}body{margin:0;background:#f5f6f0;color:#233e33;font-family:'Noto Sans Thai',Tahoma,sans-serif;font-size:15px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:0;border-radius:13px;padding:12px 18px;background:#234d3b;color:white;font-weight:600;transition:.15s}button:hover{filter:brightness(1.08);transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:#edf1e8;color:#325c45}button.danger{background:#fce9df;color:#9c3b27}a{color:#416947}input,select,textarea{width:100%;padding:12px;border:1px solid #dce3d5;border-radius:11px;background:#fff;color:#213c30}textarea{min-height:95px;resize:vertical}label{display:block;font-size:13px;font-weight:600;margin:14px 0 6px}small,.muted{color:#7b867b;font-size:12px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.6px}h2{font-size:20px}h3{font-size:16px}p{line-height:1.7}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:#fff;padding:24px 17px;border-right:1px solid #e4e9dc;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:11px;margin-bottom:28px}.brand img{width:65px;height:65px;object-fit:contain}.brand b{display:block;font-size:18px}.brand small{letter-spacing:1px;font-size:10px}.nav{display:grid;gap:5px}.nav button{text-align:left;background:transparent;color:#7b897d;border-radius:11px;font-size:14px;padding:13px 14px}.nav button.active{background:#e8efdf;color:#305a3a}.nav .ico{margin-right:12px;font-size:19px;display:inline-block;width:23px}.side-bottom{margin-top:auto;border-top:1px solid #e9ede3;padding-top:16px}.side-bottom p{margin:7px}.main{margin-left:242px;padding:0 36px 45px;max-width:1700px}.topbar{height:88px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #e1e7db;margin-bottom:27px}.topbar .right,.row,.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2px;color:#88947d;margin:0 0 5px}.title-row{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.title-row h1{margin-bottom:6px}.badge{display:inline-flex;border-radius:30px;background:#eaf0df;padding:6px 11px;color:#4c6a36;font-size:11px;white-space:nowrap}.badge.orange{background:#f9ead6;color:#a56a32}.badge.red{background:#f9e5df;color:#a44836}.hero{border-radius:24px;background:#e6eddb;padding:30px;position:relative;overflow:hidden;min-height:194px;margin-bottom:24px}.hero h2{font-size:27px;max-width:70%;margin-bottom:10px}.hero p{max-width:65%;margin-bottom:18px}.hero img{position:absolute;width:210px;height:190px;object-fit:contain;right:12px;bottom:0}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{background:white;border:1px solid #e7ebdf;border-radius:19px;padding:22px;min-width:0}.card h3{margin-bottom:14px}.stat .label{color:#74806d;font-size:12px}.stat .value{font-size:29px;font-weight:700;letter-spacing:-.5px;margin:12px 0 5px}.stat .unit{font-size:13px;font-weight:400}.stat .hint{font-size:11px;color:#85907e}.stat.tint{background:#264e3c;color:#fff}.stat.tint .label,.stat.tint .hint{color:#c7d9bc}.two-col{display:grid;grid-template-columns:1.65fr 1fr;gap:18px;margin-top:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head h2{margin-bottom:16px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}th{text-align:left;font-size:11px;color:#81917d;font-weight:500;padding:14px 10px;border-bottom:1px solid #e5eadf}td{padding:14px 10px;border-bottom:1px solid #eff1ea;vertical-align:middle}td button{padding:7px 10px;font-size:12px}tbody tr:last-child td{border:0}.empty{text-align:center;padding:36px 15px;color:#86937e}.empty span{display:block;font-size:33px;margin-bottom:10px}.alert{padding:13px 17px;border-radius:13px;background:#fff1dd;color:#8f6131;margin:14px 0;font-size:13px;line-height:1.7}.alert.good{background:#e9f0e1;color:#44663a}.chart{height:190px;display:flex;gap:8px;align-items:end;border-bottom:1px solid #dce4d3;padding:20px 8px 0}.bar-group{flex:1;display:flex;gap:4px;align-items:end;position:relative;height:100%}.bar{flex:1;background:#a7bc8d;border-radius:7px 7px 0 0;min-height:2px}.bar.profit{background:#edb76f}.bar-group small{position:absolute;top:100%;left:0;margin-top:7px;font-size:9px}.chart-note{margin-top:35px;font-size:11px;color:#81917d}.list-item{padding:14px 0;display:flex;gap:12px;align-items:center;border-bottom:1px solid #edf0e6}.dot{background:#f6e9d4;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex:none}.list-item p{margin:0;font-size:13px}.list-item small{display:block;margin-top:3px}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.menu-card{background:#fff;border:1px solid #e4e9dc;border-radius:20px;overflow:hidden}.menu-card img{width:100%;height:180px;object-fit:cover}.menu-card .body{padding:18px}.menu-card h3{margin:7px 0 10px}.menu-card .foot{display:flex;justify-content:space-between;align-items:center;gap:8px}.menu-card .foot button{padding:8px 12px;font-size:12px}.forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.check{display:flex;align-items:center;gap:8px;font-weight:400}.check input{width:auto}.cart-line{padding:14px 0;border-bottom:1px solid #e9eddf}.cart-line .forms{grid-template-columns:1fr 1fr 1fr;gap:8px}.pos{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.pos .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos .cart{align-self:start;position:sticky;top:15px}.totals{margin-top:15px;border-top:1px solid #e4e9dc;padding-top:12px}.totals p{display:flex;justify-content:space-between;margin-bottom:7px}.order{margin-bottom:14px}.order .lines{color:#67775f;font-size:13px;margin:12px 0}.order .status{font-size:12px}.queue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.progress{height:7px;background:#edf1e5;border-radius:20px;overflow:hidden;margin:12px 0}.progress i{display:block;height:100%;background:#809c5f}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{background:#e8efdf;padding:10%;display:flex;flex-direction:column;justify-content:center}.auth-brand img{width:210px}.auth-brand h1{font-size:40px;margin-top:35px;line-height:1.5}.auth-form{display:flex;align-items:center;justify-content:center;padding:35px}.auth-form form{max-width:400px;width:100%}.auth-form button{width:100%;margin-top:24px}.login-note{margin-top:22px;color:#88937f;font-size:12px}.bottom-nav{display:none}dialog{border:0;border-radius:23px;width:min(760px,94vw);max-height:90vh;padding:28px;box-shadow:0 30px 100px #19352133;color:#284635}dialog::backdrop{background:#14291c70;backdrop-filter:blur(3px)}dialog h2{margin-bottom:10px}dialog .actions{justify-content:end;margin-top:25px}.loading{padding:50px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#203e30;color:#fff;padding:14px 22px;border-radius:14px;box-shadow:0 8px 35px #0002;z-index:100;display:none;max-width:90vw}#toast.show{display:block}.offline{background:#f7dfd3;color:#8c4131;padding:10px;text-align:center;font-size:13px}.search{max-width:300px}.details{display:grid;gap:10px}.details p{margin:0}.demo-banner{background:#f5e7cd;padding:10px 18px;font-size:12px;border-radius:12px;margin-bottom:16px}.timer{font-variant-numeric:tabular-nums;font-size:22px}.inline{display:inline-block;width:auto}.spaced{margin-top:22px}.flow{line-height:2;color:#78856f;font-size:13px}.subtabs{display:flex;gap:8px;overflow:auto;margin:14px 0 22px}.subtabs button{white-space:nowrap}.recipe-img{max-width:100%;border-radius:15px}.steps li{line-height:1.7;margin-bottom:14px}.divider{margin:22px 0;border-top:1px solid #e7ebdf}.pill-button{border-radius:30px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1450px){.menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.sidebar{width:205px}.main{margin-left:205px;padding:0 23px 35px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.pos{grid-template-columns:1fr}.pos .cart{position:static}.queue{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body{font-size:14px}.sidebar{display:none}.main{margin-left:0;padding:0 16px 95px}.topbar{height:75px;margin-bottom:22px}.topbar .right small{display:none}.topbar button{padding:8px 11px;font-size:12px}.topbar .brand{margin:0}.topbar .brand img{width:43px;height:43px}.topbar .brand b{font-size:15px}.title-row{align-items:start}.title-row h1{font-size:25px}.title-row .actions button{padding:10px;font-size:12px}.hero{padding:24px 21px;min-height:200px}.hero h2{font-size:23px;max-width:72%}.hero img{width:135px;height:140px;right:-9px}.hero p{font-size:12px;max-width:70%}.grid{gap:11px}.card{padding:17px;border-radius:16px}.stat .value{font-size:25px}.stat .label{font-size:11px}.menu-grid{gap:11px}.menu-card img{height:135px}.menu-card .body{padding:12px}.menu-card h3{font-size:13px}.menu-card .foot{flex-wrap:wrap}.forms{grid-template-columns:1fr}.queue{grid-template-columns:1fr}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e0e6d7;padding:7px 6px max(8px,env(safe-area-inset-bottom));justify-content:space-around;z-index:9}.bottom-nav button{background:transparent;color:#89927e;font-size:10px;padding:6px 11px}.bottom-nav button b{display:block;font-size:21px;margin-bottom:4px}.bottom-nav button.active{color:#315b3b;background:#edf3e4}.auth{grid-template-columns:1fr}.auth-brand{padding:23px 28px;display:block}.auth-brand img{width:75px;float:left;margin-right:18px}.auth-brand h1{font-size:23px;margin:0 0 6px}.auth-brand p{font-size:12px;margin:0}.auth-form{padding:28px;align-items:start}.auth-form h2{font-size:23px}.cart-line .forms{grid-template-columns:1fr 1fr}.cart-line .forms label:last-child{grid-column:1 / -1}.topbar .brand small{font-size:8px}.two-col{margin-top:15px}dialog{padding:21px}table{font-size:12px}.subtabs button{font-size:12px;padding:9px 13px}}
@media print{.sidebar,.topbar,.bottom-nav,button,.no-print{display:none!important}.main{margin:0;padding:0}.card{break-inside:avoid}body{background:white}}

.sidebar{overflow-y:auto}.muted,small{color:#64745f}.demo-banner{line-height:1.7}

h1,h2,h3,h4,h5,h6,strong,b,.brand,.eyebrow,button,summary,.nav{font-family:'Mali','Noto Sans Thai',sans-serif}h1,h2,h3,strong,b{font-weight:700}input,select,textarea{font-family:'Noto Sans Thai',Tahoma,sans-serif}

/* Generated transparent PNG atlas: 6 columns × 6 rows; preserve original alpha. */
.ui-icon{display:inline-block;width:32px;height:32px;flex:0 0 auto;background-image:url('/admin/assets/IM-CLEAN-icons-thin.png');background-size:600% 600%;background-repeat:no-repeat;vertical-align:middle;pointer-events:none}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}button .ui-icon{width:27px;height:27px}.nav button{justify-content:flex-start}.nav .ui-icon{width:35px;height:35px}.empty .ui-icon{display:block;margin:0 auto 12px;width:60px;height:60px}.dot .ui-icon{width:35px;height:35px}.icon-only{padding:7px}.stat .value{font-family:'Noto Sans Thai',Tahoma,sans-serif;font-variant-numeric:tabular-nums}form button:not([type="button"]):not([data-action])::before{content:'';display:inline-block;flex:0 0 26px;width:26px;height:26px;background:url('/admin/assets/IM-CLEAN-icons-thin.png') 60% 60% / 600% 600% no-repeat}.nav button{padding-top:9px;padding-bottom:9px}.bottom-nav button{display:flex;flex-direction:column;gap:2px}.bottom-nav button .ui-icon{width:32px;height:32px}.bottom-nav button span:not(.ui-icon){font-family:'Mali',sans-serif}.brand b{line-height:1.7}.hero h2{line-height:1.65}.auth-brand h1{line-height:1.65}@media(max-width:760px){.topbar button{gap:3px}.topbar button .ui-icon{width:23px;height:23px}.title-row{flex-wrap:wrap}.hero h2{font-size:22px}.bottom-nav button{padding:4px 9px}.menu-card .foot button{gap:4px}}

.stat-icon{float:right;margin:-6px -4px 0 6px;width:38px;height:38px}.search-wrap{position:relative;max-width:320px;width:100%}.search-wrap>.ui-icon{position:absolute;top:8px;left:8px;width:28px;height:28px}.search-wrap .search{padding-left:43px;max-width:none}.empty>.ui-icon{margin-bottom:10px}button[data-action="close"]:not(.icon-only)::before{content:'';display:inline-block;flex:0 0 25px;width:25px;height:25px;background:url('/admin/assets/IM-CLEAN-icons-thin.png') 40% 40% / 600% 600% no-repeat}.auth-form button{font-weight:700}

/* Each generated symbol has its own measured crop; no neighbouring cells bleed. */
.ui-icon,.empty .ui-icon{display:inline-flex;align-items:center;justify-content:center;background:none;overflow:hidden}.empty>.ui-icon{display:flex}.icon-crop{display:block;flex:none;background-image:url('/admin/assets/IM-CLEAN-icons-thin.png');background-repeat:no-repeat}.empty .ui-icon .icon-crop{margin:0}.stat-icon{float:right}.ui-icon.stat-icon{display:flex}form button:not([type="button"]):not([data-action])::before{background-image:url('/admin/assets/IM-CLEAN-icons-thin.png');background-size:902.1582733812951% 889.3617021276596%;background-position:59.46188340807175% 60.82659478885895%;background-repeat:no-repeat}button[data-action="close"]:not(.icon-only)::before{background-image:url('/admin/assets/IM-CLEAN-icons-thin.png');background-size:830.4635761589404% 830.4635761589404%;background-position:41.069809610154124% 43.33635539437897%;background-repeat:no-repeat}

@media(max-width:760px){.hero h2{max-width:100%;position:relative;z-index:1}.topbar .right{flex-wrap:nowrap;gap:6px}.topbar .right button{padding:7px 6px;font-size:10px;white-space:nowrap;gap:3px}.topbar .right button .ui-icon{width:20px;height:20px}.topbar .brand small{font-size:9px;letter-spacing:.3px}}
