/* ===== 保二總隊心理健康關懷平台｜共用視覺系統 =====
   色彩與圓角沿用既有預約系統的設計規範（日系療癒極簡）。
   本檔只定義：設計變數、頁首、頁尾、通用元件。各頁專屬樣式用獨立 class，不使用裸標籤選擇器，
   以免影響預約頁內原有的樣式。 */
:root {
  --bg: #F6F8F5;
  --card: #FCFCFA;
  --brand: #6F8F7D;
  --brand-solid: #5C7D6B;
  --brand-solid-hover: #4F6F5E;
  --brand-solid-active: #446150;
  --ink: #3F5A4E;
  --body: #44554C;
  --muted: #7D8982;
  --muted-text: #66726B;
  --soft: #E7EFE9;
  --soft-hover: #D8E5DC;
  --soft-active: #CBDCD1;
  --border: #DFE8E1;
  --divider: #E7ECE7;
  --danger: #B76565;
  --danger-text: #A24F4F;
  --danger-bg: #FAEEEE;
  --shadow: 0 4px 14px rgba(38, 65, 48, 0.04);
  --shadow-hover: 0 8px 22px rgba(38, 65, 48, 0.08);
  --ease: 180ms ease;
  --container: 1080px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--brand-solid); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ===== 頁首 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 245, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
}
.site-header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.site-brand svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.site-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.site-brand-text b { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.site-brand-text small { font-size: 12px; color: var(--muted-text); letter-spacing: .08em; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle:hover { background: var(--soft); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--divider); box-shadow: var(--shadow); padding: 8px 20px 16px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav-link {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500;
  transition: background-color var(--ease), color var(--ease);
}
a.nav-link:hover { background: var(--soft); }
.nav-link[aria-current="page"] { background: var(--soft); color: var(--ink); font-weight: 700; }
.nav-soon { color: var(--muted-text); cursor: default; }
.nav-soon em, .badge-soon {
  font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--muted-text); background: #EEF1EE; border: 1px solid var(--divider);
  border-radius: 999px; padding: 1px 8px; line-height: 1.6; white-space: nowrap;
}
.nav-cta { background: var(--brand-solid); color: #fff !important; font-weight: 600; }
a.nav-cta:hover { background: var(--brand-solid-hover); }
.nav-cta[aria-current="page"] { background: var(--brand-solid-active); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 2px; }
  .nav-link { padding: 0 12px; font-size: 15px; }
  .nav-cta { margin-left: 6px; }
}

/* ===== 頁尾 ===== */
.site-footer { margin-top: 72px; border-top: 1px solid var(--divider); background: var(--card); text-align: left; color: var(--muted-text); font-size: 14px; }
.site-footer-inner { max-width: var(--container); margin: 0 auto; padding: 32px 20px 28px; display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.footer-brand svg { width: 20px; height: 20px; color: var(--brand); }
.footer-note { margin: 6px 0 0; max-width: 56ch; }
.footer-help { background: var(--soft); border-radius: 14px; padding: 14px 18px; color: var(--ink); font-size: 14px; }
.footer-help b { display: block; margin-bottom: 2px; }
.footer-copy { font-size: 13px; }
@media (min-width: 900px) { .site-footer-inner { grid-template-columns: 1.2fr 1fr; align-items: start; } .footer-copy { grid-column: 1 / -1; } }

/* ===== 通用元件 ===== */
.btn-site {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--brand); cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn-site-primary { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }
.btn-site-primary:hover { background: var(--brand-solid-hover); border-color: var(--brand-solid-hover); }
.btn-site-primary:active { background: var(--brand-solid-active); }
.btn-site-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-site-ghost:hover { background: var(--soft); border-color: var(--brand); }
.chip-cat {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--brand-solid-hover); background: var(--soft); border-radius: 999px; padding: 2px 10px; line-height: 1.7;
}
.badge-demo {
  display: inline-block; font-size: 12px; font-weight: 600; color: #8A6A3B; background: #F6EEDD;
  border: 1px solid #EBDDBF; border-radius: 999px; padding: 1px 10px; line-height: 1.7;
}
.section { padding: 56px 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title { margin: 0; font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.section-sub { margin: 4px 0 0; color: var(--muted-text); font-size: 15px; }
.link-more { color: var(--brand-solid-hover); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ===== 首頁 ===== */
.hero-home { padding: 48px 0 8px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 14px; font-weight: 600; letter-spacing: .08em; margin-bottom: 12px; }
.hero-eyebrow svg { width: 18px; height: 18px; }
.hero-title { margin: 0 0 14px; font-size: clamp(30px, 5.4vw, 46px); line-height: 1.25; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.hero-lead { margin: 0 0 26px; font-size: 17px; color: var(--muted-text); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { width: 100%; max-width: 480px; justify-self: center; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (min-width: 900px) { .hero-home { padding: 72px 0 16px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }

.service-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
a.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.service-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--soft); color: var(--brand-solid); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.service-icon svg { width: 24px; height: 24px; }
.service-name { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.service-desc { margin: 0; font-size: 14px; color: var(--muted-text); }
.service-go { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--brand-solid-hover); }
.service-card.is-soon { background: #F8F9F7; box-shadow: none; border-style: dashed; cursor: default; }
.service-card.is-soon .service-icon { background: #EEF1EE; color: var(--muted); }
.service-card.is-soon .service-name { color: var(--muted-text); }
.service-card.is-soon .badge-soon { position: absolute; top: 18px; right: 18px; }
.service-soon-text { margin-top: 10px; font-size: 14px; color: var(--muted-text); }

/* ===== 文章卡片 ===== */
.article-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.article-cover { aspect-ratio: 4 / 3; width: 100%; background: var(--soft); overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.article-card-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.article-card-summary { margin: 0; font-size: 14px; color: var(--muted-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted-text); }

/* ===== 文章列表頁 ===== */
.page-hero { padding: 40px 0 8px; }
.page-title { margin: 0 0 8px; font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.page-lead { margin: 0; color: var(--muted-text); max-width: 40em; }
.demo-banner { margin: 20px 0 0; background: #F9F3E6; border: 1px solid #EBDDBF; color: #7A5E33; border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 24px; }
.filter-chip {
  font: inherit; font-size: 14px; font-weight: 500; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.filter-chip:hover { background: var(--soft); border-color: var(--brand); }
.filter-chip[aria-pressed="true"] { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; font-weight: 600; }
.list-status { color: var(--muted-text); font-size: 14px; margin: 0 0 16px; }
.empty-box { text-align: center; padding: 56px 16px; background: var(--card); border: 1px dashed var(--border); border-radius: 20px; color: var(--muted-text); }
.empty-box b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

/* ===== 文章內頁 ===== */
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--brand-solid-hover); font-weight: 600; font-size: 15px; text-decoration: none; margin-top: 28px; }
.back-link:hover { text-decoration: underline; }
.back-link svg { width: 18px; height: 18px; }
.post-title { margin: 14px 0 10px; font-size: clamp(26px, 4.4vw, 34px); line-height: 1.35; font-weight: 700; color: var(--ink); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: var(--muted-text); font-size: 14px; }
.post-cover { margin: 24px auto 28px; max-width: 600px; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { font-size: 17px; line-height: 1.95; color: var(--body); }
.post-body p { margin: 0 0 1.1em; }
.post-body h2 { margin: 1.8em 0 .6em; font-size: 21px; line-height: 1.4; color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.post-body li { margin-bottom: .45em; }
.tip-box { margin: 1.6em 0; background: var(--soft); border-radius: 16px; padding: 16px 20px; color: var(--ink); font-size: 16px; line-height: 1.8; border-left: 4px solid var(--brand); }
.tip-box b { display: block; margin-bottom: 2px; }
.post-info { margin-top: 40px; border-top: 1px solid var(--divider); padding-top: 24px; display: grid; gap: 18px; }
.post-info h2 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.post-info p, .post-info ul { margin: 0; font-size: 14px; color: var(--muted-text); }
.post-info ul { padding-left: 1.2em; }
.post-info li { margin-bottom: 4px; }
.cta-card { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow); }
.cta-card h2 { margin: 0 0 2px; font-size: 18px; color: var(--ink); }
.cta-card p { margin: 0; font-size: 14px; color: var(--muted-text); }
.related { margin-top: 48px; }
.related .article-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .related .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .container, .container-narrow, .site-header-inner { padding-left: 16px; padding-right: 16px; } .post-body { font-size: 16.5px; } .section { padding-top: 44px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .service-card:hover, .article-card:hover { transform: none; } }

/* ===== 諮商資源頁 ===== */
.notice-soft { margin: 20px 0 0; background: var(--soft); border-radius: 14px; padding: 14px 18px; color: var(--ink); font-size: 15px; }
.region-tabs { display: flex; gap: 10px; margin: 28px 0 8px; }
.region-tab {
  flex: 1; max-width: 160px; font: inherit; font-size: 16px; font-weight: 600; min-height: 48px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.region-tab small { font-weight: 500; opacity: .75; margin-left: 4px; }
.region-tab:hover { background: var(--soft); border-color: var(--brand); }
.region-tab[aria-selected="true"] { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }
.region-meta { margin: 0 0 18px; color: var(--muted-text); font-size: 14px; }
.org-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .org-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .org-grid { grid-template-columns: repeat(3, 1fr); } }
.org-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.org-name { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.org-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-tele { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand-solid-hover); background: var(--soft); border: 1px solid var(--border); border-radius: 999px; padding: 1px 10px; line-height: 1.7; }
.org-phone { margin: 2px 0 0; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.org-ext { font-size: 15px; font-weight: 600; color: var(--muted-text); margin-left: 6px; letter-spacing: 0; }
.org-note { margin: 0; font-size: 14px; color: var(--muted-text); }
.org-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 6px; }
.org-actions .btn-site { min-height: 44px; padding: 0 12px; font-size: 15px; }
.copy-ok { background: var(--soft) !important; border-color: var(--brand) !important; color: var(--brand-solid-hover) !important; }
.pc-hint { display: none; margin: 14px 0 0; font-size: 13px; color: var(--muted-text); }
@media (hover: hover) and (pointer: fine) { .pc-hint { display: block; } }
.support-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
.support-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.support-card .org-phone { font-size: 20px; }
@media (max-width: 480px) { .region-tabs { gap: 8px; } .region-tab { max-width: none; padding: 0 8px; } .org-phone { font-size: 21px; } }

/* ===== 心理狀態自評 ===== */
.assess-wrap { padding-top: 28px; }
.assess-wrap .demo-banner { margin: 0 0 16px; }
.assess-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; margin-bottom: 20px; }
.assess-eyebrow { margin: 0 0 6px; color: var(--brand); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.assess-title { margin: 0 0 16px; font-size: 28px; line-height: 1.35; color: var(--ink); font-weight: 700; }
.assess-title small { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--muted-text); letter-spacing: .02em; }
.assess-title .score { font-size: 44px; color: var(--brand-solid-hover); margin: 0 4px; }
.assess-title:has(.score) small { display: inline; margin: 0; font-size: 18px; }
.assess-title:focus, .q-title:focus { outline: none; }
.assess-h2 { margin: 0 0 16px; font-size: 20px; color: var(--ink); }
.assess-facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.assess-facts li { background: var(--soft); border-radius: 14px; padding: 12px 16px; font-size: 15px; color: var(--ink); line-height: 1.7; }
.assess-facts b { display: block; font-size: 13px; letter-spacing: .08em; color: var(--brand-solid-hover); margin-bottom: 2px; }
.assess-actions { display: flex; }
.assess-actions-col { flex-direction: column; gap: 10px; }
.assess-actions .btn-site svg { margin-right: 8px; flex: none; }
.assess-note-gap { margin-top: 12px; }
.assess-actions .btn-site { width: 100%; min-height: 50px; font-size: 16px; }
.progress-wrap { margin-bottom: 20px; }
.progress-text { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--muted-text); }
.progress { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: #9DB8A6; transition: width 240ms ease; }
.assess-stem { margin: 0 0 18px; font-size: 14px; color: var(--muted-text); line-height: 1.7; }
.q-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-title { padding: 0; margin: 0 0 18px; font-size: 21px; line-height: 1.55; font-weight: 700; color: var(--ink); }
.q-no { color: var(--brand); margin-right: 2px; }
.opt-list { display: grid; gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 18px; background: #fff; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; color: var(--ink); font-size: 17px; font-weight: 500; transition: background-color var(--ease), border-color var(--ease); }
.opt:hover { background: var(--soft); border-color: var(--brand); }
.opt input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.opt-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--brand); flex: none; position: relative; background: #fff; }
.opt.is-checked { background: var(--soft); border-color: var(--brand-solid); }
.opt.is-checked .opt-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand-solid); }
.opt:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.assess-hint { min-height: 22px; margin: 12px 0 0; color: var(--danger-text); font-size: 14px; }
.assess-nav { display: flex; gap: 12px; margin-top: 12px; }
.assess-nav .btn-site { flex: 1; min-height: 50px; }
.assess-nav .btn-site[disabled] { opacity: .45; cursor: not-allowed; }
.assess-nav .btn-site[aria-disabled="true"] { background: #A9BDB0; border-color: #A9BDB0; cursor: not-allowed; }
.meter { height: 16px; border-radius: 999px; background: var(--soft); overflow: hidden; margin: 8px 0 18px; }
.meter-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #B5CBB9, #9DB8A6); }
.band-name { margin: 0 0 4px; font-size: 22px; font-weight: 700; color: var(--ink); }
.band-text { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.band-soft { margin: 0 0 18px; color: var(--muted-text); }
.band-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .band-legend { grid-template-columns: repeat(4, 1fr); } }
.band-legend li { border: 1px solid var(--divider); border-radius: 12px; padding: 8px 12px; font-size: 13px; color: var(--muted-text); line-height: 1.5; }
.band-legend li span { display: block; font-weight: 700; font-size: 14px; }
.band-legend li.is-current { background: var(--soft); border-color: var(--brand); color: var(--ink); }
.crisis { background: #FBF3EF; border: 1px solid #EBD3CA; border-radius: 20px; padding: 24px 24px 20px; margin-bottom: 20px; color: #5B4A44; }
.crisis h2 { margin: 0 0 8px; font-size: 20px; color: #5B4A44; }
.crisis p { margin: 0 0 16px; line-height: 1.8; }
.crisis-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid #EFDDD6; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.crisis-line b { display: block; font-size: 15px; }
.crisis-num { display: block; font-size: 22px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.crisis-note { display: block; font-size: 13px; color: var(--muted-text); }
.crisis-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.crisis-btns .btn-site { min-height: 44px; padding: 0 16px; }
.crisis-urgent { margin: 14px 0 0 !important; font-size: 15px; }
.crisis-urgent a { font-weight: 700; color: var(--brand-solid-hover); }
.next-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 18px; }
@media (min-width: 720px) { .next-grid { grid-template-columns: repeat(3, 1fr); } }
.next-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); transition: background-color var(--ease), border-color var(--ease); }
.next-card:hover { background: var(--soft); border-color: var(--brand); }
.next-card b { font-size: 16px; }
.next-card span { font-size: 13px; color: var(--muted-text); }
.assess-note { margin: 0 0 4px; font-size: 13px; color: var(--muted-text); }
.copy-tmp { position: fixed; opacity: 0; left: -9999px; }
@media (max-width: 480px) { .assess-card { padding: 22px 18px; } .assess-title { font-size: 25px; } .q-title { font-size: 19px; } .assess-nav { flex-direction: column-reverse; } .crisis { padding: 20px 18px 16px; } }
