:root{--y:#ffd91a;--k:#111;--w:#fff;--g:#f3f3ef;--muted:#6b6b65;--r:22px}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Noto Sans Thai",system-ui,sans-serif;background:var(--g);color:var(--k)}button,a{font:inherit}.top,.menu-head{display:flex;justify-content:space-between;align-items:center;padding:20px 28px;background:var(--k);color:#fff}.brand{font-size:22px;font-weight:900}.brand span{color:var(--y)}.btn{display:inline-block;border:0;border-radius:999px;background:var(--y);color:#111;padding:13px 20px;font-weight:800;text-decoration:none;cursor:pointer}.btn.ghost{background:transparent;color:inherit;border:1px solid currentColor}.full{width:100%}.landing{max-width:1200px;margin:auto;padding:72px 24px;display:grid;grid-template-columns:1.4fr .6fr;gap:28px}.hero h1{font-size:clamp(52px,8vw,104px);line-height:.9;margin:10px 0 28px;letter-spacing:-5px}.hero em{font-style:normal;background:var(--y);padding:0 8px}.hero p{font-size:20px;max-width:680px}.eyebrow{font-weight:900;letter-spacing:2px!important;font-size:13px!important}.actions{display:flex;gap:10px;margin-top:30px}.card,.feature{background:#fff;border-radius:var(--r);padding:28px;align-self:end}.menu-head{position:sticky;top:0;z-index:5}.menu-head small{color:#bbb}.menu-head h2{margin:2px 0}.table-pill{background:var(--y);color:#111;padding:9px 14px;border-radius:999px;font-weight:900}.menu-page main{max-width:980px;margin:auto;padding:16px 16px 100px}.cats{display:flex;gap:8px;overflow:auto;padding:8px 0 18px;position:sticky;top:84px;background:var(--g);z-index:4}.cats button{white-space:nowrap;border:0;border-radius:999px;background:#fff;padding:10px 14px;font-weight:700}.cats button.active{background:#111;color:#fff}.menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.food{background:#fff;border-radius:18px;overflow:hidden;display:flex;min-height:130px}.food-img{width:38%;display:grid;place-items:center;background:#ecece6;font-size:46px}.food-img img{width:100%;height:100%;object-fit:cover}.food-info{padding:14px;flex:1}.food-info h3{margin:0 0 5px}.food-info p{margin:0 0 16px;color:var(--muted);font-size:14px}.food-info>div{display:flex;justify-content:space-between;align-items:center}.add{width:36px;height:36px;border:0;border-radius:50%;background:var(--y);font-size:24px}.cart-fab{display:none;position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:10;border:0;background:#111;color:#fff;padding:15px 24px;border-radius:999px;font-weight:900;box-shadow:0 8px 30px #0004}.sheet{position:fixed;inset:0;background:#0008;z-index:20;display:flex;align-items:end}.sheet.hidden{display:none}.sheetbox{background:#fff;width:100%;max-width:720px;margin:auto;border-radius:24px 24px 0 0;padding:24px;max-height:90vh;overflow:auto}.x{float:right;border:0;background:#eee;border-radius:50%;width:36px;height:36px;font-size:22px}.cartline{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #eee}.cartline small{display:block;color:#777}.cartline button{width:32px;height:32px;border:0;border-radius:50%}.cartline span{display:inline-block;min-width:28px;text-align:center}.sheet textarea{width:100%;min-height:80px;margin:18px 0;padding:12px;border:1px solid #ddd;border-radius:14px}.service-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.sheet .ghost{color:#111}.kitchen-page{background:#181818;color:#fff}.kitchen-page main{padding:18px}.orders{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.order{background:#fff;color:#111;border-radius:18px;padding:18px;border-top:8px solid var(--y)}.order-top{display:flex;justify-content:space-between;gap:10px}.order-top h2{margin:2px 0}.order-top span{font-size:12px;font-weight:900;background:#eee;padding:8px;border-radius:999px;height:max-content}.order-items{font-size:18px;margin:18px 0}.order-items>div{padding:8px 0;border-bottom:1px solid #eee}.order-items small{display:block;color:#777;margin-left:28px}.note{background:#fff3b2;padding:10px;border-radius:10px}.empty{grid-column:1/-1;text-align:center;padding:80px;color:#aaa}.error{padding:30px;background:#fff;border-radius:16px}@media(max-width:700px){.landing{grid-template-columns:1fr;padding-top:42px}.hero h1{letter-spacing:-3px}.menu-grid{grid-template-columns:1fr}.food{min-height:120px}.top,.menu-head{padding:16px}.cats{top:76px}}
/* v0.2.0 auth + restaurant dashboard */
.top .brand{color:#fff;text-decoration:none}.top-actions{display:flex;align-items:center;gap:10px}.nav-link{color:#fff;text-decoration:none;font-weight:750}.dark-ghost{color:#111!important}.auth-page{min-height:100vh;background:#111}.auth-wrap{max-width:1180px;margin:auto;min-height:calc(100vh - 78px);display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;padding:50px 24px}.auth-copy{color:#fff}.auth-copy h1{font-size:clamp(54px,7vw,94px);line-height:.92;letter-spacing:-5px;margin:10px 0 24px}.auth-copy h1 em{font-style:normal;color:#111;background:var(--y);padding:0 8px}.auth-copy>p:last-child{font-size:19px;line-height:1.7;color:#c7c7c7;max-width:620px}.auth-card{background:#fff;border-radius:28px;padding:34px;box-shadow:0 26px 80px #0008}.auth-card h2{font-size:30px;margin:0 0 24px}.auth-card label{display:block;font-weight:800;margin:14px 0}.auth-card input{display:block;width:100%;margin-top:7px;padding:14px 15px;border:1px solid #d9d9d3;border-radius:13px;background:#fafaf7;font:inherit;outline:none}.auth-card input:focus{border-color:#111;box-shadow:0 0 0 3px #ffd91a55}.auth-card .btn{margin-top:12px}.auth-card small{display:block;text-align:center;margin-top:18px;color:#777}.auth-card a{color:#111;font-weight:800}.form-msg{min-height:22px;text-align:center;font-size:14px}.error-text{color:#b42318}.auth-card button:disabled{opacity:.55;cursor:wait}
.dash-page{background:#efefeb}.dash-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#111;color:#fff;padding:26px 18px;display:flex;flex-direction:column}.sidebar .brand{text-decoration:none;color:#fff;margin:0 8px 32px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{color:#d7d7d7;text-decoration:none;padding:13px 14px;border-radius:12px;font-weight:700;display:flex;justify-content:space-between;gap:8px}.sidebar nav a b{font-size:9px;background:#323232;padding:4px 6px;border-radius:999px;color:#aaa}.sidebar nav a.active,.sidebar nav a:hover{background:var(--y);color:#111}.sidebar nav a.active b,.sidebar nav a:hover b{background:#111;color:#fff}.side-logout{margin-top:auto;border:1px solid #555;background:transparent;color:#fff;padding:12px;border-radius:12px;font-weight:800;cursor:pointer}.dash-main{padding:30px;max-width:1500px;width:100%;margin:auto}.dash-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.dash-head h1{font-size:36px;margin:2px 0}.dash-head small,.panel-title small{color:#777;font-weight:850;letter-spacing:1.2px}.user-chip{display:grid;background:#fff;padding:10px 15px;border-radius:14px}.user-chip span{font-weight:850}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.stats article{background:#fff;border-radius:20px;padding:22px}.stats span{color:#777;font-size:14px;font-weight:700}.stats strong{display:block;font-size:30px;margin-top:8px;letter-spacing:-1px}.stats strong span{font-size:30px;color:#111}.dash-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.panel{background:#fff;border-radius:20px;padding:24px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:18px}.panel-title h2{margin:4px 0 18px}.steps{display:grid}.steps>div{display:grid;grid-template-columns:42px 1fr 30px;align-items:center;gap:12px;border-top:1px solid #eee;padding:15px 0}.steps b{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff}.steps span{display:grid}.steps small,.branch-list small,.table-row small{color:#777;margin-top:2px}.steps i{font-style:normal;font-weight:900}.branch-list>div{display:flex;justify-content:space-between;padding:14px 0;border-top:1px solid #eee}.branch-list span:first-child{display:grid}.badge{background:#e8f7e9;color:#176b21;padding:7px 9px;border-radius:999px;font-size:12px;font-weight:850;height:max-content}.recent{margin-top:14px}.small-btn{padding:9px 14px;font-size:13px}.order-table{overflow:auto}.table-head,.table-row{display:grid;grid-template-columns:1.5fr .8fr .8fr .7fr;gap:12px;align-items:center;min-width:650px;padding:12px 2px}.table-head{font-size:12px;color:#888;font-weight:900;border-bottom:1px solid #ddd}.table-row{border-bottom:1px solid #eee}.table-row>span:first-child{display:grid}.status{font-size:11px;padding:6px 8px;border-radius:999px;background:#eee}.status.new{background:#fff1a3}.status.accepted{background:#dceeff}.status.cooking{background:#ffe2bf}.status.ready{background:#d9f5dd}.status.served{background:#eee}.muted{color:#888}
@media(max-width:900px){.auth-wrap{grid-template-columns:1fr;gap:25px}.auth-copy h1{font-size:58px}.dash-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:16px}.sidebar nav{display:none}.side-logout{position:absolute;right:16px;top:16px}.sidebar .brand{margin:0}.stats{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr}.dash-main{padding:18px}.dash-head h1{font-size:28px}}@media(max-width:560px){.auth-copy{display:none}.auth-wrap{padding:20px 14px;min-height:calc(100vh - 70px)}.auth-card{padding:24px}.top-actions .nav-link{display:none}.stats{grid-template-columns:1fr 1fr}.stats article{padding:17px}.stats strong,.stats strong span{font-size:23px}.dash-head{align-items:flex-start}.user-chip{display:none}}
