/* Quick Billing — mobile-only layout. On bigger screens it stays a phone-width column. */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --bg: #eef1f4; --card: #fff; --ink: #111827; --muted: #6b7280; --line: #e5e7eb;
  --brand: #0f766e; --brand-dark: #0b5d57; --brand-soft: #e6f4f2; --danger: #dc2626;
  --nav-h: 62px; --cart-h: 60px; --w: 480px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #d9dee3; color: var(--ink); font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overscroll-behavior-y: none; }
body.locked { overflow: hidden; }
.app { max-width: var(--w); margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--bg); position: relative; }
.hidden { display: none !important; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Inputs: 16px so iOS never zooms in */
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea {
  width: 100%; font-size: 16px; padding: 12px; min-height: 48px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff;
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 72px; resize: vertical; }
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,110,.18); }
input[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
button { cursor: pointer; border: 0; background: none; padding: 0; touch-action: manipulation; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 16px; text-align: center; }
.btn.block { display: flex; width: 100%; }
.btn.big { min-height: 54px; font-size: 17px; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:active { background: var(--brand-dark); }
.btn.secondary { background: #e5e7eb; color: var(--ink); }
.btn.danger { background: #fee2e2; color: var(--danger); }
.btn:active { transform: scale(.98); }
.filebtn { cursor: pointer; margin: 0; }
.textbtn { min-height: 44px; padding: 0 8px; font-weight: 600; color: var(--brand); }
.danger-text { color: var(--danger); }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.iconbtn:active { background: rgba(0,0,0,.06); }

/* App bar */
.appbar { position: sticky; top: 0; z-index: 10; background: var(--brand); color: #fff; padding: calc(10px + var(--safe-t)) 16px 12px; }
.shopname { font-size: 13px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar h1 { margin: 0; font-size: 21px; line-height: 1.2; }

main { padding: 12px 12px calc(var(--nav-h) + var(--safe-b) + 24px); }
body.has-cart main { padding-bottom: calc(var(--nav-h) + var(--cart-h) + var(--safe-b) + 28px); }
.tab { display: none; }
.tab.active { display: block; }
.card { background: var(--card); border-radius: 14px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.group-title { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 18px 4px 8px; font-weight: 600; }
.group-title small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.group-title:first-child { margin-top: 4px; }
.form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.form label:last-child { margin-bottom: 0; }
.form label > input, .form label > select, .form label > textarea { margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { color: var(--muted); font-size: 13px; margin: 4px 4px 0; }
.hint.tight { margin: 0 0 12px; }
.empty { text-align: center; color: var(--muted); padding: 48px 16px; }
.empty .btn { margin-top: 8px; }

/* Search + chips */
.search-wrap { position: sticky; top: 72px; z-index: 5; background: var(--bg); padding: 0 0 4px; margin: -12px -12px 0; padding: 12px 12px 4px; }
.search-wrap input, .filters input[type=search] { padding-left: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 12px center / 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chips.tight { padding: 8px 0 0; }
.chips:empty { display: none; }
.chip { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Menu grid on bill tab */
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.menu-card { position: relative; background: #fff; border-radius: 14px; padding: 12px; min-height: 92px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 1px 2px rgba(0,0,0,.06); border: 2px solid transparent; user-select: none; -webkit-user-select: none; }
.menu-card.in { border-color: var(--brand); background: var(--brand-soft); }
.menu-card .n { font-weight: 600; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-card .p { color: var(--brand); font-weight: 600; font-size: 15px; margin-top: 6px; }
.menu-card .stepper { display: flex; justify-content: space-between; margin-top: 8px; width: 100%; }
.menu-card .stepper button { width: 44px; height: 38px; }
.menu-card:active { transform: scale(.97); }

.stepper { display: inline-flex; align-items: center; background: var(--brand); color: #fff; border-radius: 10px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; font-size: 20px; font-weight: 600; color: #fff; display: grid; place-items: center; }
.stepper button:active { background: var(--brand-dark); }
.stepper .q { min-width: 26px; text-align: center; font-weight: 700; font-size: 15px; }

/* Cart bar */
.cartbar { position: fixed; z-index: 15; left: 0; right: 0; margin: 0 auto; max-width: calc(var(--w) - 24px); width: calc(100% - 24px);
  bottom: calc(var(--nav-h) + var(--safe-b) + 10px); height: var(--cart-h); border-radius: 14px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px; box-shadow: 0 6px 18px rgba(15,118,110,.35); text-align: left; }
.cartbar:active { background: var(--brand-dark); }
.cb-left { display: flex; flex-direction: column; line-height: 1.2; }
.cb-left small { opacity: .85; font-size: 12px; }
.cb-right { display: flex; align-items: center; gap: 6px; font-size: 18px; }
.chev { font-size: 26px; line-height: 1; }

/* Bottom nav */
.bottomnav { position: fixed; z-index: 16; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: var(--w); background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b); }
.bottomnav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 12px; font-weight: 500; }
.bottomnav button.active { color: var(--brand); }
.bottomnav button svg { box-sizing: content-box; padding: 3px 18px; border-radius: 999px; transition: background .15s; }
.bottomnav button.active svg { background: var(--brand-soft); }
.badge { position: absolute; top: 6px; left: calc(50% + 6px); background: var(--danger); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; }
body.kb .bottomnav, body.kb .cartbar, body.kb .fab { display: none !important; }

/* FAB */
.fab { position: fixed; z-index: 15; right: max(16px, calc(50% - var(--w) / 2 + 16px)); bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
  width: 58px; height: 58px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(15,118,110,.4); }
.tab:not(.active) .fab { display: none; }
.fab svg { width: 28px; height: 28px; stroke-width: 2.5; }

/* Menu list */
.mgroup { margin-bottom: 14px; }
.mrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px; background: #fff; text-align: left; border-bottom: 1px solid var(--line); }
.mgroup .mrow:first-of-type { border-radius: 14px 14px 0 0; }
.mgroup .mrow:last-of-type { border-radius: 0 0 14px 14px; border-bottom: 0; }
.mgroup .mrow:only-of-type { border-radius: 14px; }
.mrow:active { background: #f3f4f6; }
.mrow .n { flex: 1; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.mrow .p { font-weight: 600; color: var(--brand); white-space: nowrap; }
.mrow .chev { color: #9ca3af; font-size: 22px; }

/* Segmented controls */
.seg { display: flex; background: #e5e7eb; border-radius: 12px; padding: 3px; gap: 3px; }
.seg button, .seg .seg-date { flex: 1; min-height: 40px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #374151; display: grid; place-items: center; position: relative; white-space: nowrap; padding: 0 6px; }
.seg button.active, .seg .seg-date.active { background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.seg-date input { position: absolute; inset: 0; opacity: 0; min-height: 0; padding: 0; border: 0; width: 100%; height: 100%; cursor: pointer; }
.seg.small { padding: 2px; border-radius: 9px; }
.seg.small button { min-height: 36px; width: 40px; flex: none; }
.seg.pay button { min-height: 46px; font-size: 15px; }

/* Invoices */
.filters { display: grid; gap: 10px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.stat { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); min-width: 0; }
.stat span { font-size: 13px; color: var(--muted); display: block; }
.stat b { font-size: 20px; display: block; overflow-wrap: anywhere; }
.stat.wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.stat.wide span { display: inline; }
.irow { display: flex; align-items: center; gap: 12px; width: 100%; background: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; text-align: left; box-shadow: 0 1px 2px rgba(0,0,0,.05); min-height: 64px; }
.irow:active { background: #f3f4f6; }
.irow .l { flex: 1; min-width: 0; }
.irow .no { font-weight: 600; display: block; }
.irow .sub { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irow .r { text-align: right; }
.irow .amt { font-weight: 700; white-space: nowrap; }
.pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e5e7eb; color: #374151; margin-top: 2px; }
.pill.Cash { background: #dcfce7; color: #166534; } .pill.UPI { background: #e0e7ff; color: #3730a3; }
.pill.Card { background: #fef3c7; color: #92400e; } .pill.Credit { background: #fee2e2; color: #991b1b; }

/* Sheets (full screen pages that slide up) */
.sheet { position: fixed; z-index: 30; top: 0; bottom: 0; left: 0; right: 0; margin: 0 auto; max-width: var(--w); background: var(--bg);
  display: flex; flex-direction: column; transform: translateY(100%); transition: transform .25s ease; visibility: hidden; }
.sheet.open { transform: none; visibility: visible; }
.sheet-head { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; min-height: 56px; padding: var(--safe-t) 4px 0; background: #fff; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: 18px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-head > span { width: 52px; }
.sheet-head .textbtn { min-width: 52px; }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 12px 28px; overscroll-behavior: contain; }
.sheet-foot { background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + var(--safe-b)); }
.sheet-foot.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grand { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 8px; font-size: 18px; }
.grand b { font-size: 26px; }
body.kb .sheet-foot .grand { display: none; }

/* Cart lines */
.line { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.line-top { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.line-top .nm { flex: 1; font-weight: 600; min-width: 0; overflow-wrap: anywhere; padding-top: 10px; }
.line-top input { flex: 1; min-width: 0; }
.line-top .del { width: 44px; height: 44px; color: #9ca3af; display: grid; place-items: center; flex: none; margin: -2px -6px 0 0; }
.line-top .del svg { width: 20px; height: 20px; }
.line-bot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.line-bot .stepper { background: var(--brand-soft); color: var(--brand); }
.line-bot .stepper button { color: var(--brand); width: 42px; height: 44px; }
.line-bot .stepper button:active { background: #cde9e5; }
.line-bot .stepper input { width: 44px; min-height: 44px; padding: 0; text-align: center; border: 0; background: transparent; font-weight: 700; box-shadow: none; }
.pricebox { display: flex; align-items: center; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; padding-left: 10px; min-width: 0; }
.pricebox:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,110,.18); }
.pricebox span { color: var(--muted); font-size: 14px; }
.pricebox input { border: 0; box-shadow: none !important; min-height: 44px; padding: 0 8px 0 4px; min-width: 0; }
.line-bot .amt { font-weight: 700; text-align: right; white-space: nowrap; min-width: 64px; }
.addline { width: 100%; min-height: 48px; border: 2px dashed #c7cdd4; border-radius: 14px; color: var(--brand); font-weight: 600; margin-bottom: 14px; }

.totals .trow { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 10px; }
.totals .trow + .trow { border-top: 1px solid var(--line); }
.tlabel { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini { display: inline-flex; align-items: center; gap: 6px; }
.mini input { width: 76px; min-height: 40px; padding: 6px 8px; }

.check { display: flex; align-items: center; gap: 10px; padding: 6px 4px 16px; font-size: 15px; }
.check input { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--brand); -webkit-appearance: auto; appearance: auto; }

/* Toast */
body.has-cart .toast { bottom: calc(var(--nav-h) + var(--cart-h) + var(--safe-b) + 20px); }
body.locked .toast { bottom: calc(var(--safe-b) + 140px); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 12px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #111827; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 15px; transition: .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Invoice paper */
.paper-bg { background: #d1d5db; }
.invoice { font-family: "Courier New", ui-monospace, monospace; color: #000; background: #fff; margin: 0 auto; font-size: 12px; padding: 12px; width: 100%; max-width: 340px; box-shadow: 0 2px 8px rgba(0,0,0,.15); overflow-wrap: anywhere; }
.invoice.pa4 { max-width: 100%; font-family: system-ui, sans-serif; font-size: 13px; }
.invoice .c { text-align: center; }
.invoice .shop { font-size: 1.35em; font-weight: 700; }
.invoice hr { border: 0; border-top: 1px dashed #000; margin: 6px 0; }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice th, .invoice td { padding: 2px 0; text-align: left; vertical-align: top; }
.invoice th { white-space: nowrap; }
.invoice .r { text-align: right; padding-left: 4px; white-space: nowrap; }
.invoice .tot td { font-weight: 700; font-size: 1.2em; }

@media (min-width: 481px) { .app { box-shadow: 0 0 24px rgba(0,0,0,.12); } }
@media (max-width: 340px) {
  main { padding-left: 8px; padding-right: 8px; }
  .search-wrap { margin: -12px -8px 0; padding: 12px 8px 4px; }
  .menu-grid { gap: 8px; }
  .menu-card { padding: 10px; }
  .line-bot { grid-template-columns: auto minmax(0, 1fr); }
  .line-bot .amt { grid-column: 1 / -1; text-align: right; }
  .seg button, .seg .seg-date { font-size: 13px; padding: 0 3px; }
  .two { grid-template-columns: 1fr; }
}

.sheet-foot.row3 { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; }
.sheet-foot.row3 .btn { padding: 0 8px; }

/* ---------- Print / PDF ---------- */
/* Off screen until printing; kept laid out so the receipt length can be measured. */
#printArea { position: absolute; left: -10000px; top: 0; background: #fff; color: #000; }
#printArea:empty { display: none; }
.print-receipt .invoice { box-shadow: none; padding: 0; margin: 0; max-width: none; font-size: 12px; }
.print-receipt.w58 .invoice { width: 48mm; font-size: 10.5px; }
.print-receipt.w80 .invoice { width: 72mm; }

/* A4 invoice */
.print-a4 { width: 186mm; }
.a4 { font: 10.5pt/1.45 "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #111; }
.a4 table { border-collapse: collapse; width: 100%; }
.a4 .r { text-align: right; white-space: nowrap; }
.a4 .ctr { text-align: center; width: 9mm; }
.a4 .lbl { font-size: 8.5pt; text-transform: uppercase; letter-spacing: .06em; color: #555; font-weight: 600; margin-bottom: 1mm; }
.a4-head { display: flex; justify-content: space-between; gap: 10mm; padding-bottom: 6mm; border-bottom: 2.5px solid #0f766e; }
.a4-from { max-width: 105mm; overflow-wrap: anywhere; }
.a4-shop { font-size: 20pt; font-weight: 700; color: #0f766e; line-height: 1.15; margin-bottom: 2mm; }
.a4-meta { text-align: right; min-width: 60mm; }
.a4-title { font-size: 22pt; font-weight: 800; letter-spacing: .08em; color: #111; margin-bottom: 2mm; }
.a4-meta table { width: auto; margin-left: auto; }
.a4-meta td { padding: .6mm 0 .6mm 6mm; text-align: right; white-space: nowrap; }
.a4-meta td:first-child { color: #555; }
.a4-billto { margin: 6mm 0 0; padding: 4mm 5mm; background: #f1f5f4; border-radius: 2mm; }
.a4-billto .nm { font-size: 12pt; font-weight: 600; }
.a4-items { margin-top: 7mm; }
.a4-items th { background: #0f766e; color: #fff; font-weight: 600; text-align: left; padding: 2.6mm 3mm; font-size: 9.5pt; }
.a4-items th.r { text-align: right; }
.a4-items td { padding: 2.8mm 3mm; border-bottom: 1px solid #ddd; vertical-align: top; overflow-wrap: anywhere; }
.a4-items tbody tr:nth-child(even) td { background: #f8faf9; }
.a4-items tfoot td { font-weight: 600; border-bottom: 1.5px solid #111; border-top: 1.5px solid #111; }
.a4-bottom { display: flex; justify-content: space-between; gap: 10mm; margin-top: 6mm; }
.a4-words { flex: 1; padding-top: 1mm; }
.a4-totals { width: 75mm !important; }
.a4-totals td { padding: 1.8mm 3mm; }
.a4-totals .a4-grand td { background: #0f766e; color: #fff; font-size: 14pt; font-weight: 700; padding: 3mm; }
.a4-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10mm; margin-top: 16mm; color: #444; }
.a4-foot .sign { text-align: center; min-width: 55mm; }
.a4-foot .sign .sig-line { margin-top: 14mm; padding-top: 1.5mm; border-top: 1px solid #555; font-size: 9pt; }

@media print {
  html, body { background: #fff !important; margin: 0; }
  .app { display: none !important; }
  #printArea { position: static; left: auto; }
  .a4, .a4 * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .a4-items tr, .a4-bottom, .a4-foot { break-inside: avoid; }
}
#tab-menu { padding-bottom: 76px; } /* room so the + button never covers the last row */

/* Install */
.appbar { display: flex; align-items: center; gap: 12px; }
.appbar-text { flex: 1; min-width: 0; }
.installbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: 14px; font-weight: 600; }
.installbtn svg { width: 18px; height: 18px; }
.installbtn:active { background: rgba(255,255,255,.3); }
.install-card { display: flex; align-items: center; gap: 12px; }
.install-card img { border-radius: 12px; flex: none; }
.install-card .grow { flex: 1; min-width: 0; }
.install-card b { display: block; }
.install-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
.install-card .btn { flex: none; min-height: 42px; padding: 0 14px; }
.install-steps h3 { margin: 0 0 8px; font-size: 16px; }
.install-steps ol { margin: 0; padding-left: 20px; }
.install-steps li { margin-bottom: 8px; line-height: 1.45; }
.install-steps li:last-child { margin-bottom: 0; }
.kbd { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #e5e7eb; vertical-align: middle; color: #007aff; }
.kbd svg { width: 18px; height: 18px; }
@media (max-width: 340px) { .install-card { flex-wrap: wrap; } .install-card .btn { width: 100%; } }
/* When running as the installed app there is no browser bar: use the status bar area. */
@media (display-mode: standalone) { .appbar { padding-top: calc(12px + var(--safe-t)); } }
