@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');
:root{--orange:#ef8738;--orange-dark:#c96025;--cream:#fff8ed;--ink:#283a37;--teal:#176d68;--muted:#71807a;--line:#f0e5d7;--white:#fff;--shadow:0 12px 35px #49321a12}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;border:0}.topbar{height:76px;padding:12px max(20px,calc((100vw - 1040px)/2));display:flex;align-items:center;gap:12px;background:#fffdf8;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.brandmark{width:44px;height:44px;border-radius:15px;background:#ffead2;display:grid;place-items:center;font-size:24px}.brand{font-weight:800;letter-spacing:-.4px}.tagline{font-size:11px;color:var(--muted)}.topbar .quiet{margin-left:auto}main{max-width:1040px;margin:28px auto;padding:0 20px;min-height:70vh}.login{max-width:430px;margin:8vh auto}.panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow)}h1,h2,h3,p{margin-top:0}h1{font:700 clamp(30px,5vw,44px) 'Playfair Display',serif;letter-spacing:-.8px;margin-bottom:8px}h2{font:700 24px 'Playfair Display',serif;margin:0}h3{font-size:18px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;color:var(--orange-dark);margin-bottom:9px}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.welcome{display:flex;justify-content:space-between;align-items:center;padding:18px 0 26px}.welcome p{margin-bottom:0}.round-icon{width:68px;height:68px;border-radius:22px;background:#fbe4c8;display:grid;place-items:center;font-size:34px}.tabs{display:flex;gap:8px;overflow:auto;border-bottom:1px solid var(--line);margin-bottom:24px}.tab{white-space:nowrap;background:transparent;padding:12px 15px;color:var(--muted);font-weight:700;border-bottom:3px solid transparent}.tab.active{color:var(--teal);border-color:var(--orange)}.count{background:#fbe4c8;color:var(--orange-dark);border-radius:20px;padding:2px 6px;font-size:10px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 15px}.chips{display:flex;gap:8px;overflow:auto;margin-bottom:18px}.chip{background:#fff;border:1px solid var(--line);border-radius:30px;padding:8px 14px;color:var(--muted);white-space:nowrap}.chip.active{background:var(--teal);color:#fff;border-color:var(--teal)}.menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:16px}.food-card{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden;box-shadow:var(--shadow)}.food-card img{width:100%;height:155px;object-fit:cover;background:#f4e6d5}.food-placeholder{height:155px;display:grid;place-items:center;background:#f8e9d7;font-size:44px}.food-info{padding:15px}.food-info h3{margin:0 0 6px}.food-info p{font-size:12px;line-height:1.5;color:var(--muted);min-height:36px;margin-bottom:12px}.price-row{display:flex;align-items:center;justify-content:space-between;font-weight:800}.price{color:var(--teal)}.add{background:#ffead2;color:#a94f1f;border-radius:12px;padding:8px 12px;font-weight:800}.cart{margin:25px 0;max-width:650px}.cart-line,.total-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.cart-line button{background:#fff0e4;color:#a94f1f;border-radius:8px;padding:3px 8px}.total-row{font-size:18px;border:0;padding:17px 0}.total-row strong{color:var(--teal)}label{display:block;font-size:12px;font-weight:700;margin:14px 0;color:#53635d}input,textarea{display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #e8ddd0;border-radius:11px;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px #ef873822}.inline{display:flex;align-items:center;gap:8px}.inline input{width:auto;margin:0}.primary{background:var(--orange);color:#fff;padding:11px 17px;border-radius:12px;font-weight:800}.primary:hover{background:var(--orange-dark)}.full{width:100%;padding:14px}.quiet{background:transparent;color:var(--teal);font-weight:700;padding:8px}.stack{display:grid;gap:12px}.order-card,.manage-row{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px}.order-top,.manage-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.status{font-size:10px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;border-radius:30px;padding:6px 9px;background:#fff0d8;color:#9b5b18}.status.accepted,.status.ready{background:#dff3e9;color:#176d50}.status.preparing{background:#e4efff;color:#315d9b}.status.declined{background:#fde5e2;color:#a33b32}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.actions button{font-size:12px}.manage-row img{width:54px;height:54px;border-radius:12px;object-fit:cover}.manage-info{flex:1}.manage-info strong{display:block}.error{color:#b43c31;font-size:12px}.hidden{display:none!important}footer{text-align:center;padding:25px;color:#9a9b8e;font-size:11px}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 18px;border-radius:30px;z-index:10;box-shadow:var(--shadow)}@media(max-width:560px){main{margin:15px auto;padding:0 14px}.panel{padding:18px}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.food-card img,.food-placeholder{height:115px}.food-info{padding:11px}.food-info h3{font-size:14px}.food-info p{font-size:11px;min-height:48px}.add{padding:7px 9px}.welcome{padding-top:12px}.round-icon{width:54px;height:54px;font-size:27px}}

/* Phone-first layout: no horizontal page overflow, readable controls. */
html,body{width:100%;max-width:100%;overflow-x:hidden}
main,.panel,.welcome,.menu-grid,.food-card,.manage-row,.order-card{min-width:0}
img{max-width:100%}
.topbar{height:auto;min-height:68px;padding:10px 14px;gap:9px}
.topbar>div:nth-child(2){min-width:0;flex:1}
.brand{font-size:clamp(14px,4.3vw,18px)}
.tagline{font-size:10px}
.topbar .quiet{flex-shrink:0;font-size:12px;padding:7px}
@media(max-width:600px){
 main{width:100%;max-width:100%;margin:10px auto;padding:0 12px}
 h1{font-size:clamp(27px,8vw,36px)}
 .welcome{gap:8px}
 .welcome>div:first-child{min-width:0}
 .round-icon{flex-shrink:0;width:46px;height:46px}
 .tabs,.chips{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .tab{padding:12px 11px;font-size:13px}
 .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .food-card{min-width:0}
 .food-info{padding:10px}
 .price-row{gap:5px;flex-wrap:wrap}
 .food-info p{overflow-wrap:anywhere}
 .manage-row,.order-top{flex-wrap:wrap;align-items:flex-start}
 .actions{width:100%}
 .actions button{min-height:40px}
 input,textarea{font-size:16px;max-width:100%}
 .panel{padding:16px;border-radius:16px}
 .login{margin:22px auto}
}
@media(max-width:360px){
 .menu-grid{grid-template-columns:1fr}
 .food-card img,.food-placeholder{height:170px}
}

/* Readable phone typography: avoid tiny desktop-style labels and two-column cards. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:17px;line-height:1.5}
@media(max-width:650px){
  main{padding:0 16px}
  .brand{font-size:19px}
  .tagline{font-size:13px}
  h1{font-size:clamp(31px,8vw,39px);line-height:1.16}
  h2{font-size:26px;line-height:1.25}
  h3,.food-info h3{font-size:21px}
  p,.muted,.food-info p{font-size:16px;line-height:1.5}
  .eyebrow,.tiny,.small,.tagline{font-size:13px}
  label{font-size:16px}
  input,textarea,select{font-size:17px;min-height:48px}
  button,.tab,.chip,.add,.quiet,.primary,.actions button{font-size:16px;min-height:44px}
  .topbar .quiet{font-size:15px}
  .count,.status{font-size:13px}
  .menu-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .food-card img,.food-placeholder{height:190px}
  .food-info{padding:17px}
  .food-info p{min-height:0;margin-bottom:14px}
  .price-row{font-size:18px}
  .panel,.order-card,.manage-row{padding:18px}
  .order-top{gap:10px}
  footer{font-size:13px}
  .toast{max-width:calc(100vw - 24px);font-size:15px}
}
