:root{--primary:#0877b9;--dark:#10243a;--bg:#f5fbff;--white:#fff;--line:#d9e8f2}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--dark)}body{min-height:100dvh}.app{width:min(760px,100%);margin:auto;padding:28px 22px 48px}.screen{display:none;text-align:center}.screen.active{display:block}.brand{display:flex;align-items:center;justify-content:center;gap:16px;margin:10px 0 30px}.brand-mark{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:white;font-size:52px;font-weight:300}.brand h1{margin:0;font-size:34px;text-transform:uppercase}.brand p{margin:4px 0 0;letter-spacing:3px;color:var(--primary);font-weight:800}.screen>h2{font-size:38px;margin:24px 0 10px}.subtitle{font-size:22px;line-height:1.45}.grid{display:grid;gap:14px;margin-top:28px}.btn{display:block;width:100%;border:2px solid var(--primary);border-radius:18px;background:white;color:var(--dark);padding:20px 18px;font-size:23px;font-weight:800;text-decoration:none;cursor:pointer;margin:12px 0}.btn.primary{background:var(--primary);color:white}.btn.danger{background:var(--dark);border-color:var(--dark);color:white}.btn.ghost{background:transparent;margin-top:26px}.demo-note{margin-top:28px;font-size:13px;letter-spacing:1px;color:#5e7280}.cards{display:grid;gap:12px;margin-top:22px}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:20px;text-align:left;box-shadow:0 5px 18px rgba(16,36,58,.06)}.card-head{display:flex;justify-content:space-between;gap:15px;font-size:21px;font-weight:900}.card p{margin:8px 0 0;color:#536875}.hours p{display:flex;justify-content:space-between;gap:15px;background:white;border-bottom:1px solid var(--line);padding:19px;font-size:20px;margin:0}.info-list{display:grid;gap:12px;margin:24px 0}.info-item{background:white;border-left:6px solid var(--primary);border-radius:12px;padding:18px;text-align:left;font-size:20px;line-height:1.4}.notice{background:#eaf6fd;border-radius:14px;padding:15px;font-size:17px;line-height:1.4}.quick-questions{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:18px 0}.chip{border:1px solid var(--primary);background:white;color:var(--dark);border-radius:999px;padding:11px 14px;font-size:16px;font-weight:700}.chat-log{min-height:280px;max-height:390px;overflow-y:auto;border:2px solid var(--line);border-radius:16px;padding:14px;background:white;text-align:left}.bubble{max-width:88%;padding:13px 15px;border-radius:14px;margin:8px 0;line-height:1.4;font-size:18px}.bubble.bot{background:#eef8fd}.bubble.user{background:var(--primary);color:white;margin-left:auto}.ask-form{display:grid;gap:10px;margin:16px 0;text-align:left}.ask-label{font-size:20px;font-weight:900}.ask-form textarea{width:100%;min-height:120px;resize:none;border:2px solid var(--primary);border-radius:16px;padding:16px;font-size:21px;font-family:inherit}.send-btn{min-height:60px;border:0;border-radius:14px;background:var(--primary);color:white;font-size:22px;font-weight:900}.qr-placeholder{width:290px;height:290px;margin:22px auto;background:repeating-linear-gradient(45deg,#10243a 0 8px,#fff 8px 16px);border:14px solid white;outline:2px solid var(--line);display:grid;place-items:center;position:relative}.qr-placeholder div{background:white;padding:20px;font-size:24px;font-weight:900}.qr-placeholder small{position:absolute;bottom:8px;background:white;padding:4px 8px}.welcome-screen{position:fixed;inset:0;width:100vw;height:100dvh;padding:0;margin:0;background:white;cursor:pointer;overflow:hidden}.welcome-screen.active{display:grid;place-items:center}.welcome-image{width:100%;height:100%;object-fit:contain;object-position:center;background:white;user-select:none;-webkit-user-select:none}.welcome-screen:focus{outline:none}@media(max-width:600px){.app{padding:20px 16px 38px}.screen>h2{font-size:32px}.brand h1{font-size:27px}.btn{font-size:20px;padding:18px}.qr-placeholder{width:250px;height:250px}.hours p{font-size:18px}}

/* Compact portrait kiosk home — six actions visible without scrolling on a typical iPad. */
.home-screen{min-height:calc(100dvh - 56px);padding-top:0}.home-brand{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 8px}.home-brand img{width:86px;height:86px;object-fit:cover;object-position:50% 15%;border-radius:50%;background:#fff}.home-brand h1{margin:0;font-size:29px;line-height:1.05;text-transform:uppercase}.home-brand p{margin:5px 0 0;letter-spacing:3px;color:var(--primary);font-weight:800;font-size:14px}.home-screen>h2{font-size:36px;margin:12px 0 18px}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:0}.menu-card{min-height:150px;border:2px solid var(--primary);border-radius:20px;background:#fff;color:var(--dark);padding:14px 12px;display:grid;grid-template-columns:52px 1fr 16px;align-items:center;gap:9px;text-align:center;cursor:pointer}.menu-card.primary{background:var(--primary);color:#fff}.menu-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#eaf6fd;color:var(--dark);font-size:27px;font-weight:800}.menu-card.primary .menu-icon{background:rgba(255,255,255,.9);color:var(--primary)}.menu-card strong{display:block;font-size:20px;line-height:1.08}.menu-card small{display:block;margin-top:7px;font-size:14px;line-height:1.2;font-weight:500}.menu-card>b{font-size:34px;font-weight:400}.home-screen .demo-note{margin:14px 0 0;font-size:11px}.home-screen{background:linear-gradient(180deg,#fff 0,#f5fbff 70%,#eaf6fd 100%);border-radius:24px;padding-bottom:14px}
@media(max-width:600px){.home-brand img{width:72px;height:72px}.home-brand h1{font-size:23px}.home-brand p{font-size:11px}.home-screen>h2{font-size:30px;margin:8px 0 14px}.home-grid{gap:9px}.menu-card{min-height:128px;padding:10px 8px;grid-template-columns:42px 1fr 12px}.menu-icon{width:40px;height:40px;font-size:22px}.menu-card strong{font-size:17px}.menu-card small{font-size:12px}.menu-card>b{font-size:27px}.home-screen .demo-note{font-size:9px;margin-top:9px}}


/* v1.2 portrait-tablet refinement */
.home-brand img{object-fit:contain;object-position:center;padding:3px;border-radius:0;background:transparent}
@media (max-width:820px){
  .app{padding:18px 14px 28px}
  .home-screen{min-height:calc(100dvh - 36px);padding:10px 10px 12px}
  .home-brand{gap:10px;margin-bottom:4px}
  .home-brand img{width:64px;height:64px}
  .home-brand h1{font-size:24px;line-height:1.02}
  .home-brand p{font-size:11px;letter-spacing:2.4px;margin-top:4px}
  .home-screen>h2{font-size:31px;line-height:1.05;margin:10px 0 14px}
  .home-grid{gap:10px}
  .menu-card{min-height:132px;padding:10px 9px;grid-template-columns:42px minmax(0,1fr) 12px;gap:6px}
  .menu-icon{width:40px;height:40px;font-size:21px}
  .menu-card strong{font-size:17px;line-height:1.04}
  .menu-card small{font-size:12px;line-height:1.12;margin-top:6px}
  .menu-card>b{font-size:26px}
  .home-screen .demo-note{font-size:9px;line-height:1.2;margin:9px 4px 0}
}
@media (max-width:430px){
  .home-brand img{width:56px;height:56px}
  .home-brand h1{font-size:20px}
  .home-screen>h2{font-size:27px}
  .menu-card{min-height:124px;grid-template-columns:36px minmax(0,1fr) 10px;padding:8px 6px}
  .menu-icon{width:34px;height:34px;font-size:18px}
  .menu-card strong{font-size:15px}
  .menu-card small{font-size:11px}
}
