/* 不依賴 Tailwind 編譯的少量共用樣式 */
body { font-family: -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
.inp { margin-top: .25rem; width: 100%; border: 1px solid #cbd5e1; border-radius: .75rem; padding: .5rem .75rem; outline: none; background: #fff; font-size: .95rem; }
.inp:focus { border-color: #0ea5e9; box-shadow: 0 0 0 1px #38bdf8; }
.tabnum { font-variant-numeric: tabular-nums; }
.nav-a { display: flex; align-items: center; gap: .6rem; padding: .5rem .75rem; border-radius: .75rem; font-size: .9rem; color: #475569; }
.nav-a:hover { background: #f8fafc; }
.nav-a.on { background: #f0f9ff; color: #0369a1; font-weight: 600; }
/* 分類分頁列 */
#subnav { scrollbar-width: none; }
#subnav::-webkit-scrollbar { display: none; }
.tab-a { display: flex; align-items: center; gap: .35rem; white-space: nowrap; padding: .55rem .9rem; font-size: .9rem; color: #64748b;
  border: 1px solid transparent; border-bottom: none; border-radius: .6rem .6rem 0 0; }
.tab-a:hover { color: #0369a1; background: #f8fafc; }
.tab-a.on { color: #0369a1; font-weight: 600; background: #f8fafc; border-color: #e2e8f0; box-shadow: inset 0 2px 0 #0284c7; }
.tab-n { min-width: 1.25rem; padding: 0 .35rem; border-radius: 999px; font-size: .7rem; line-height: 1.25rem; text-align: center; font-weight: 600; }
/* 可複選膠囊（排約偏好的時段） */
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; flex-direction: column; align-items: center; padding: .35rem .8rem; border: 1px solid #cbd5e1; border-radius: .75rem;
  font-size: .9rem; color: #475569; background: #fff; line-height: 1.2; }
.chip span small { font-size: .65rem; color: #94a3b8; }
.chip input:checked + span { background: #0284c7; border-color: #0284c7; color: #fff; }
.chip input:checked + span small { color: #e0f2fe; }
.chip input:focus-visible + span { box-shadow: 0 0 0 2px #7dd3fc; }
/* 預約看板 */
.slot-line { border-top: 1px solid #f1f5f9; }
.slot-line.hour { border-top: 1px solid #e2e8f0; }
.appt { position: absolute; left: 3px; right: 3px; border-radius: .5rem; padding: 2px 6px; font-size: 12px; line-height: 1.3; overflow: hidden; cursor: pointer; border: 1px solid; }
.offhours { background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 6px, #f1f5f9 6px, #f1f5f9 12px); }
.print-only { display: none; }
@media print {
  .print-only { display: block; }
  .no-print, aside, header { display: none !important; }
  main { padding: 0 !important; margin: 0 !important; }
  .md\:ml-56 { margin-left: 0 !important; }
  body { background: #fff !important; }
  .print-page { break-after: page; }
}
