/* 內容頁共用樣式。刻意不進 Vite 打包，檔名不帶 hash，供 public/ 下的靜態頁直接引用。 */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  font-family: system-ui, "Microsoft JhengHei", "PingFang TC", sans-serif;
  margin: 0;
  background: #f0f2f5;
  color: #1f2937;
}

.p-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 10px 20px; background: #1e3a5f; color: #fff;
}
.p-bar a.p-brand { color: #fff; text-decoration: none; font-size: 18px; font-weight: 600; }
.p-bar .p-tag { font-size: 12px; opacity: 0.8; }
.p-bar .p-spacer { flex: 1; }
.p-bar a.p-open {
  font-size: 13px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 6px; padding: 4px 12px;
}
.p-bar a.p-open:hover { background: rgba(255, 255, 255, 0.12); }

.p-main { background: #fff; }
.p-inner { max-width: 760px; margin: 0 auto; padding: 40px 20px 8px; }
.p-crumb { font-size: 13px; color: #64748b; margin: 0 0 18px; }
.p-crumb a { color: #1d4ed8; }
.p-inner h1 { font-size: 27px; line-height: 1.45; color: #1e3a5f; margin: 0 0 20px; }
.p-inner h2 { font-size: 20px; line-height: 1.5; color: #1e3a5f; margin: 38px 0 14px; padding-top: 4px; border-top: 1px solid #eef2f7; }
.p-inner h3 { font-size: 16px; line-height: 1.6; color: #1e3a5f; margin: 24px 0 10px; }
.p-inner p { font-size: 15px; line-height: 1.85; color: #334155; margin: 0 0 16px; }
.p-lead { font-size: 16px !important; }
.p-inner ul, .p-inner ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.p-inner li { font-size: 15px; line-height: 1.8; color: #334155; }
.p-inner code { background: #f1f5f9; padding: 1px 5px; border-radius: 4px; color: #b45309; font-size: 0.94em; }
.p-inner a { color: #1d4ed8; }
.p-inner strong { color: #1e3a5f; }

.p-note { background: #f8fafc; border: 1px solid #e5e7eb; border-left: 3px solid #94a3b8; border-radius: 6px; padding: 12px 16px; margin: 0 0 16px; }
.p-note p { margin: 0; font-size: 14px !important; }

.p-tablewrap { overflow-x: auto; margin: 0 0 16px; }
.p-table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 14px; }
.p-table th, .p-table td { border: 1px solid #e5e7eb; padding: 9px 12px; text-align: left; line-height: 1.7; }
.p-table thead th { background: #1e3a5f; color: #fff; border-color: #1e3a5f; white-space: nowrap; }
.p-table tbody th { background: #f8fafc; font-weight: 600; white-space: nowrap; }

.p-cta { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 20px 22px; margin: 32px 0 8px; }
.p-cta h2 { margin: 0 0 8px !important; border: none !important; padding-top: 0 !important; font-size: 18px !important; }
.p-cta p { font-size: 14px !important; margin: 0 0 14px; }
.p-cta a.p-btn {
  display: inline-block; background: #2563eb; color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600; padding: 10px 22px; border-radius: 8px;
}
.p-cta a.p-btn:hover { background: #1d4ed8; }

.p-faq { margin: 0; }
.p-faq dt { font-size: 15px; font-weight: 600; color: #1e3a5f; margin: 20px 0 7px; }
.p-faq dd { font-size: 15px; line-height: 1.85; color: #334155; margin: 0; padding-left: 14px; border-left: 2px solid #e5e7eb; }

.p-foot { background: #fff; padding: 8px 20px 40px; }
.p-foot .p-inner { border-top: 1px solid #e5e7eb; padding: 24px 0 0; }
.p-foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; }
.p-foot-nav a { font-size: 14px; color: #1d4ed8; text-decoration: none; }
.p-foot-nav a:hover { text-decoration: underline; }
.p-foot-note { font-size: 13px !important; color: #64748b !important; margin: 0 !important; }

@media (max-width: 620px) {
  .p-inner { padding-top: 28px; }
  .p-inner h1 { font-size: 22px; }
  .p-inner h2 { font-size: 18px; margin-top: 30px; }
}
