
    :root {
      --navy: #1B2952;
      --navy-light: #30456F;
      --gold: #D6B14A;
      --gold-light: #E9D48B;
      --white: #FFFFFF;
      --off-white: #F6F8FC;
      --text: #2D3748;
      --text-light: #64748B;
      --gray-200: #E8ECF2;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
    }
    * { box-sizing: border-box; }
    body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif; color: var(--text); background: var(--white); line-height: 1.8; }
    a { color: inherit; text-decoration: none; }

    .tool-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 3.5rem 0 2.5rem; color: var(--white); position: relative; overflow: hidden; }
    .tool-hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 60%; height: 200%; background: radial-gradient(ellipse, rgba(214,177,74,0.1) 0%, transparent 70%); pointer-events: none; }
    .tool-hero .container { position: relative; }
    .tool-eyebrow { color: var(--gold); font-family: 'Montserrat', 'PingFang TC', 'Microsoft JhengHei', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.6rem; }
    .tool-hero h1 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; margin-bottom: 0.6rem; line-height: 1.3; color: var(--white); }
    .tool-hero .tool-lead { font-size: 1.05rem; opacity: 0.85; max-width: 720px; line-height: 1.85; }
    .tool-meta { display: flex; gap: 1.5rem; margin-top: 1.2rem; font-size: 0.88rem; opacity: 0.75; flex-wrap: wrap; }
    .tool-meta span::before { content: '·'; margin-right: 0.5rem; color: var(--gold); }
    .tool-meta span:first-child::before { content: '⏱'; margin-right: 0.3rem; }

    .container { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
    .section-title-block { padding: 2.5rem 0 1rem; text-align: center; }
    .section-title-block h2 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--navy); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; }
    .section-title-block p { color: var(--text-light); font-size: 0.95rem; }

    .disclaimer { background: #FFF8E5; border: 1px solid #F0E0A0; border-left: 4px solid var(--gold); padding: 1.2rem 1.5rem; border-radius: var(--radius-sm); margin: 0 auto 2rem; max-width: 760px; font-size: 0.88rem; color: #6B5B1E; line-height: 1.7; }
    .disclaimer strong { color: var(--navy); }

    .progress-wrap { position: sticky; top: 70px; background: var(--white); z-index: 10; padding: 1rem 0; border-bottom: 1px solid var(--gray-200); margin-bottom: 2rem; }
    .progress-bar { background: var(--gray-200); height: 6px; border-radius: 3px; overflow: hidden; }
    .progress-fill { background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%); height: 100%; width: 0%; transition: width 0.4s ease; }
    .progress-text { display: flex; justify-content: space-between; margin-top: 0.5rem; font-size: 0.82rem; color: var(--text-light); }
    .progress-text strong { color: var(--navy); font-weight: 700; }

    .step-section { margin-bottom: 3rem; }
    .step-header { background: var(--navy); color: var(--white); padding: 0.8rem 1.2rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
    .step-num { background: var(--gold); color: var(--navy); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
    .step-title { font-size: 1rem; font-weight: 700; }

    .question-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.2rem; transition: all 0.2s; }
    .question-card:hover { border-color: var(--gold-light); box-shadow: 0 4px 12px rgba(27,41,82,0.06); }
    .question-card.answered { border-color: var(--gold); background: #FFFDF6; }
    .question-text { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; line-height: 1.5; }
    .question-text .q-num { color: #8f7220; margin-right: 0.3rem; }

    .options { display: flex; flex-direction: column; gap: 0.5rem; }
    .option { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; background: var(--off-white); border: 1.5px solid transparent; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s; font-size: 0.95rem; }
    .option:hover { border-color: var(--gold-light); background: var(--white); }
    .option input { accent-color: var(--navy); cursor: pointer; }
    .option input:checked + span { color: var(--navy); font-weight: 600; }
    .option:has(input:checked) { background: #FFFDF6; border-color: var(--gold); }

    .submit-area { text-align: center; padding: 2rem 0 3rem; }
    .submit-btn { background: var(--navy); color: var(--white); border: none; padding: 1rem 2.5rem; font-size: 1rem; font-weight: 700; border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s; font-family: inherit; }
    .submit-btn:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(27,41,82,0.25); }
    .submit-btn:disabled { background: var(--text-light); cursor: not-allowed; transform: none; }
    .submit-hint { font-size: 0.85rem; color: var(--text-light); margin-top: 0.8rem; }

    .result-section { display: none; padding: 2rem 0 4rem; }
    .result-section.show { display: block; }
    .result-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1.5rem; box-shadow: 0 4px 20px rgba(27,41,82,0.08); }
    .result-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--gray-200); }
    .result-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
    .result-icon.green { background: #DCFCE7; color: #166534; }
    .result-icon.yellow { background: #FEF3C7; color: #92400E; }
    .result-icon.orange { background: #FED7AA; color: #9A3412; }
    .result-icon.red { background: #FEE2E2; color: #991B1B; }
    .result-title { font-size: 1.3rem; font-weight: 700; color: var(--navy); }

    .result-list { background: var(--off-white); border-radius: var(--radius-md); padding: 1.2rem 1.5rem; margin: 1rem 0; }
    .result-list h4 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--navy); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6rem; }
    .result-list ul { list-style: none; padding: 0; }
    .result-list li { padding: 0.3rem 0; padding-left: 1.5rem; position: relative; font-size: 0.92rem; }
    .result-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

    .result-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); padding: 1.5rem 1.8rem; border-radius: var(--radius-md); margin-top: 1.5rem; }
    .result-cta h4 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--gold); font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
    .result-cta p { font-size: 0.92rem; opacity: 0.9; line-height: 1.8; margin-bottom: 1rem; }
    .cta-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; }
    .cta-buttons a { background: var(--gold); color: var(--navy); padding: 0.6rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 700; transition: all 0.2s; }
    .cta-buttons a:hover { background: var(--white); transform: translateY(-1px); }
    .cta-buttons a.secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
    .cta-buttons a.secondary:hover { background: rgba(255,255,255,0.1); }

    .result-warn { background: #FFF1F2; border-left: 4px solid #E11D48; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin: 1rem 0; font-size: 0.9rem; color: #881337; }
    .result-warn strong { color: #9F1239; }

    .back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--navy); font-size: 0.92rem; margin: 1.5rem 0; font-weight: 600; }
    .back-link:hover { color: var(--gold); }

    @media (max-width: 640px) {
      .tool-hero { padding: 2.5rem 0 2rem; }
      .question-card { padding: 1.2rem; }
      .result-card { padding: 1.5rem; }
    }


.search-result-item strong { font-weight:600; }

  
/* nav-wrap (from styles.css?v=20261021) */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; font-size: 0.82rem; }
.brand-text strong { font-weight: 700; color: var(--navy); font-size: 1rem; 
  white-space: nowrap;}
.brand-text em { font-style: normal; color: var(--gray-500); font-size: 0.78rem; 
  white-space: nowrap;}
.primary-nav { display: flex; gap: 0; }

.primary-nav a:hover { background: var(--gray-100); color: var(--navy); }


.primary-nav a.cta-btn:hover { background: var(--gold-400); }


.primary-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 4px;
  transition: background 0.2s;

  white-space: nowrap;}
.primary-nav a:hover { background: var(--gray-100); color: var(--navy); }
.primary-nav a.active { background: var(--navy); color: #fff !important; }
.primary-nav a.cta-btn { background: var(--gold-600); color: var(--white); font-weight: 600; }
.primary-nav a.cta-btn:hover { background: var(--gold-400); }
.primary-nav a.cta-btn.active { background: var(--navy); }
    .footer-top { display: flex; flex-wrap: wrap; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1.5rem; }
    .footer-brand { flex: 0 0 auto; }
    .footer-col { flex: 1 1 auto; min-width: 140px; display: flex; flex-direction: column; }
    .footer-col h3,
.footer-col h4 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; margin: 0 0 0.75rem; font-size: 0.9rem; font-weight: 600; }
    .footer-col a { display: block; margin-bottom: 0.4rem; font-size: 0.85rem; line-height: 1.4; }
    .footer-bottom { padding-top: 1.5rem; }
