/* v6.232.1（機能② 予約管理ページ・C案調整確定版）DESIGN.md 準拠。mb-/bk- 接頭辞（共有 gs-* は非改変）。
   ステータスはドット+黒テキスト。塗りバッジ・色背景アイコンは使わない。shadow-1・weight 最大 500。
   正本 = docs/samples/redesign2_v6232.html（予約管理ページ C案）。 */

body.gs-body { background: var(--color-bg, #f6f8fc); }

/* 白基調トップバー（‹ 戻る + 予約管理） */
.mb-topbar {
  display: flex; align-items: center; gap: 8px;
  background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
  position: sticky; top: 0; z-index: 10;
}
.mb-topbar h1 { font-size: 16px; font-weight: 500; color: var(--color-text); }
.mb-back {
  display: inline-flex; align-items: center; gap: 3px;
  background: none; border: none; color: var(--color-text-muted);
  font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; padding: 2px 4px 2px 0;
}

.mb-page { max-width: 560px; margin: 0 auto; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); }
.mb-loading { text-align: center; color: var(--color-text-muted); font-size: 13px; padding: 48px 20px; }

/* 状態セクション見出し（日付カードの上に・ドット + 状態名） */
.bk-grp { font-size: 12.5px; font-weight: 500; color: var(--color-text-muted); margin: 8px 4px 12px; display: flex; align-items: center; gap: 8px; }
.bk-grp.next { margin-top: 18px; }
.bk-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.bk-dot.amber { background: var(--color-amber, #f29900); }
.bk-dot.green { background: var(--color-green, #188038); }

/* 予約カード */
.bk { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; box-shadow: var(--shadow-1); margin-bottom: 14px; overflow: hidden; }
.bk-body { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 16px 18px; }
/* 日付ブロック（薄い背景 + 枠） */
.bk-date { text-align: center; border-radius: 12px; padding: 8px 0; align-self: start; background: var(--color-surface-2, #f8fafd); border: 1px solid var(--color-border); }
.bk-date .dm { font-size: 10px; color: var(--color-text-muted); font-weight: 500; }
.bk-date .dd { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; color: var(--color-text); }
.bk-date .dw { font-size: 10px; color: var(--color-text-faint); }
.bk-info { min-width: 0; }
.bk-ttl { font-size: 14px; font-weight: 500; color: var(--color-text); }
.bk-meta { font-size: 12px; color: var(--color-text-muted); margin-top: 6px; }
.bk-meta2 { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.bk-pay { font-size: 13px; font-weight: 500; margin-top: 7px; color: var(--color-text); font-variant-numeric: tabular-nums; }
/* フッター（中央寄せ・淡い区切り線） */
.bk-foot { border-top: 1px solid var(--color-divider); padding: 12px 20px; display: flex; justify-content: center; align-items: center; }
.bk-cancel { background: transparent; border: none; color: var(--color-red, #c5221f); font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; padding: 0; }
.bk-note { font-size: 12px; color: var(--color-text-faint); display: inline-flex; align-items: center; gap: 6px; }

/* 空状態 */
.bk-empty { text-align: center; padding: 48px 20px; }
.bk-empty-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--color-surface-2, #f8fafd); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--color-text-faint); font-size: 22px; }
.bk-empty-t { font-size: 14px; color: var(--color-text-muted); font-weight: 500; }
.bk-empty-s { font-size: 12.5px; color: var(--color-text-faint); margin-top: 4px; }

/* 取消確認モーダル */
.mb-confirm-overlay { position: fixed; inset: 0; background: rgba(32,33,36,.45); z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; }
.mb-confirm-overlay.active { display: flex; }
.mb-confirm-box { background: var(--color-surface); border-radius: 16px; box-shadow: var(--shadow-2); width: 100%; max-width: 380px; padding: 20px; }
.mb-confirm-title { font-size: 15px; font-weight: 500; margin-bottom: 8px; color: var(--color-text); }
.mb-confirm-body { font-size: 13.5px; color: var(--color-text); line-height: 1.7; }
.mb-confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.mb-btn { height: 40px; padding: 0 16px; border-radius: 9999px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; }
.mb-btn.danger { background: var(--color-red, #c5221f); border: none; color: #fff; }
