/* PWA の外枠だけの並べ方（アプリ担当）
   色・文字・部品は ./_ui/stay.css（共通の部品の写し）。ここに色や文字の大きさを足さない */

#app { min-height: 100dvh; display: flex; flex-direction: column; }
.app-main { flex: 1; width: 100%; padding-top: 4px; }
.app-main > * + * { margin-top: 16px; }
.app-notices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.app-notices:empty { display: none; }
.app-boot { padding: 40px 28px; color: var(--stay-ink-soft); }

/* 準備中のタブ */
.app-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 20px; text-align: center; color: var(--stay-ink-soft); }
.app-empty .s-icon-disc { width: 64px; height: 64px; }

/* オフのタブ（施設でそのモジュールを使っていない）。押せるが灰色。押すと案内（統括 追記8 の 2.） */
.s-tab[data-off] { color: var(--stay-line-strong); }
.s-tab[data-off][aria-current="page"] { color: var(--stay-ink-soft); }

/* 招待の QR とコード */
.app-qr { display: flex; justify-content: center; }
.app-qr svg { width: min(240px, 70vw); height: auto; border: 1px solid var(--stay-line); border-radius: 8px; }
.app-code {
  margin: 4px 0; padding: 14px 8px; text-align: center;
  font-size: 30px; font-weight: 700; letter-spacing: 0.16em; font-variant-numeric: tabular-nums;
  border: 1px dashed var(--stay-line-strong); border-radius: 8px; background: var(--stay-ground);
}
.app-steps { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.7; }
.app-steps svg { display: inline-block; vertical-align: -4px; }

/* デモの帯（?demo= のときだけ。本番には出ない） */
.app-demobar {
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center;
  padding: calc(env(safe-area-inset-top) + 8px) 16px 8px;
  background: var(--stay-accent-tint); color: var(--stay-accent-deep); font-size: 13px;
}
.app-demobar a { color: inherit; min-height: 32px; display: inline-flex; align-items: center; }
.app-demobar a[aria-current="true"] { font-weight: 700; }
.app-demobar + .s-header { padding-top: 16px; }
