:root {
    --brand-primary: #0F62A5;
    --brand-azure: #1B9AD6;
    --brand-dark: #0A3E6C;
    --brand-soft: #EBF5FC;
    --teal: #0D7A6F;
    --teal-dark: #095C54;
    --teal-soft: #E6F5F3;
    --danger: #D9381E;
    --danger-dark: #B52A13;
    --danger-soft: #FEF2F0;
    --warn: #D97706;
    --warn-soft: #FFFBEB;
    --bg: #F4F7F9;
    --surface: #FFFFFF;
    --ink: #1E293B;
    --ink-muted: #516176;
    --ink-light: #7A8B9E;
    --border: #E2E8F0;
    --border-strong: #CBD5E1;
    --shadow-sm: 0 2px 8px rgba(15, 38, 67, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 38, 67, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
    color: var(--teal);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    flex: 1 0 auto;
}

/* Header */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(15, 38, 67, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    height: 70px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
    color: var(--brand-primary);
    background: var(--brand-soft);
}

.nav-item.active {
    font-weight: 600;
}

.nav-item.nav-urgent {
    color: var(--danger);
    font-weight: 600;
}

.nav-item.nav-urgent:hover,
.nav-item.nav-urgent.active {
    background: var(--danger-soft);
    color: var(--danger-dark);
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 4px 3px 14px;
    width: 230px;
    flex-shrink: 0;
}

.header-search:focus-within {
    border-color: var(--teal);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(13, 122, 111, 0.14);
}

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.87rem;
    color: var(--ink);
    width: 100%;
    min-width: 0;
    font-family: inherit;
}

.header-search button {
    border: none;
    background: var(--teal);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    color: var(--ink);
    cursor: pointer;
}

.mobile-drawer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 14px 0 18px;
}

.mobile-drawer[hidden] {
    display: none;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
}

.mobile-search button {
    padding: 9px 16px;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.mobile-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-links a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.mobile-links a.active {
    background: var(--teal-soft);
    color: var(--teal);
    font-weight: 600;
}

/* Announcement Bar */
.announce-bar {
    background: linear-gradient(90deg, #094D46 0%, #0D7A6F 52%, #0F62A5 100%);
    color: #fff;
    font-size: 0.88rem;
}

.announce-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 9px;
    padding-bottom: 9px;
    flex-wrap: wrap;
}

.announce-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.announce-text {
    flex: 1;
    min-width: 160px;
    font-weight: 500;
}

.announce-action {
    color: #FEF3C7;
    font-weight: 600;
    font-size: 0.84rem;
    white-space: nowrap;
}

.announce-action:hover {
    color: #fff;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    line-height: 1.25;
}

.btn-primary {
    background: var(--brand-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn-teal {
    background: var(--teal);
    color: #fff;
}

.btn-teal:hover {
    background: var(--teal-dark);
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: var(--danger-dark);
    color: #fff;
}

.btn-outline {
    background: var(--surface);
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-outline:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(155deg, #F0F9F8 0%, #F7FAFC 55%, #FFFFFF 100%);
    border-bottom: 1px solid var(--border);
    padding: 38px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 30px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--teal-soft);
    color: var(--teal);
    border: 1px solid #BCE5DF;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-title {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3.1vw, 2.45rem);
    line-height: 1.26;
    color: #0B253A;
}

.hero-subtitle {
    margin: 0 0 22px;
    color: var(--ink-muted);
    font-size: 1rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.quick-truth-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.truth-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.truth-pill strong {
    font-size: 0.9rem;
    color: #0B253A;
}

.truth-pill span {
    font-size: 0.78rem;
    color: var(--ink-muted);
}

/* Emergency Card in Hero */
.emergency-card {
    background: var(--surface);
    border: 1px solid #F5C9C0;
    border-top: 4px solid var(--danger);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow-md);
}

.emergency-card-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.emergency-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(217, 56, 30, 0.16);
    flex-shrink: 0;
}

.emergency-card-head h2 {
    margin: 0;
    font-size: 1.12rem;
    color: #0B253A;
}

.emergency-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.em-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    align-items: start;
}

.em-step-warn { background: var(--warn-soft); border: 1px solid #FDE68A; }
.em-step-danger { background: var(--danger-soft); border: 1px solid #FECACA; }
.em-step-doc { background: var(--brand-soft); border: 1px solid #C8E2F7; }

.em-step-num {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 0;
    text-align: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    color: #0B253A;
}

.em-step h3 {
    margin: 0 0 3px;
    font-size: 0.94rem;
    color: #0B253A;
}

.em-step p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* Sections */
.section {
    padding: 44px 0;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section-title {
    margin: 0 0 4px;
    font-size: 1.42rem;
    color: #0B253A;
}

.section-sub {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ink-muted);
}

.section-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    white-space: nowrap;
}

/* Anatomy Diagram + Lookalikes */
.anatomy-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
    align-items: start;
}

.anatomy-diagram-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.diagram-caption {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0B253A;
    margin-bottom: 12px;
}

.bug-svg {
    width: 100%;
    border: 1px solid #DFECEB;
    border-radius: var(--radius-sm);
}

.diagram-foot {
    margin-top: 10px;
    font-size: 0.84rem;
    color: var(--ink-muted);
}

.lookalike-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.insect-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.insect-card-toxic {
    border-color: #F6BDB3;
    background: #FFFAF9;
}

.insect-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.insect-head h3 {
    margin: 0;
    font-size: 1rem;
    color: #0B253A;
}

.insect-meta {
    font-size: 0.8rem;
    color: var(--ink-light);
    margin-bottom: 5px;
}

.insect-card p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--ink-muted);
}

.risk-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.risk-high {
    background: var(--danger-soft);
    color: var(--danger);
}

.risk-low {
    background: var(--teal-soft);
    color: var(--teal);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.category-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    color: var(--ink);
}

.category-card:hover {
    background: var(--surface);
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: var(--teal-soft);
    color: var(--teal);
}

.category-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #0B253A;
}

.category-card p {
    margin: 0 0 12px;
    font-size: 0.84rem;
    color: var(--ink-muted);
    flex: 1;
}

.category-cta {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--teal);
}

/* Myth Grid */
.myth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.myth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.myth-wrong {
    font-weight: 700;
    color: #991B1B;
    font-size: 0.96rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.myth-right {
    font-size: 0.89rem;
    color: var(--ink-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.myth-badge-no,
.myth-badge-yes {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}

.myth-badge-no { background: var(--danger-soft); color: var(--danger); }
.myth-badge-yes { background: var(--teal-soft); color: var(--teal); }

/* Articles Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.article-card:hover {
    border-color: #A7DBD4;
    box-shadow: var(--shadow-md);
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--ink-light);
    margin-bottom: 10px;
}

.article-cat-pill {
    background: var(--teal-soft);
    color: var(--teal);
    padding: 2px 9px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.76rem;
}

.article-card-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.42;
}

.article-card-title a {
    color: #0B253A;
}

.article-card-title a:hover {
    color: var(--teal);
}

.article-card-excerpt {
    margin: 0 0 16px;
    font-size: 0.88rem;
    color: var(--ink-muted);
    flex: 1;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--ink-light);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.read-more-link {
    font-weight: 600;
    color: var(--brand-primary);
}

/* Page Banner & Breadcrumb */
.page-banner {
    background: linear-gradient(135deg, #EEF7F6 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--border);
    padding: 26px 0 30px;
}

.banner-urgent {
    background: linear-gradient(135deg, #FEF4F2 0%, #FFFFFF 100%);
}

.page-banner h1 {
    margin: 8px 0 10px;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    color: #0B253A;
}

.page-banner p {
    margin: 0;
    color: var(--ink-muted);
    max-width: 800px;
}

.breadcrumb {
    font-size: 0.84rem;
    color: var(--ink-light);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.breadcrumb a {
    color: var(--ink-muted);
}

/* First Aid Timeline */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.timeline-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    box-shadow: var(--shadow-sm);
}

.tl-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.tl-1 { background: var(--danger-soft); color: var(--danger); }
.tl-2 { background: var(--warn-soft); color: var(--warn); }
.tl-3 { background: var(--brand-soft); color: var(--brand-primary); }
.tl-4 { background: var(--teal-soft); color: var(--teal); }

.timeline-step h2 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    color: #0B253A;
}

.timeline-step p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.alert-box-danger {
    background: #FFF6F5;
    border: 1px solid #F7C2B9;
    border-left: 5px solid var(--danger);
    border-radius: var(--radius-md);
    padding: 22px 24px;
}

.alert-box-danger h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: #991B1B;
}

.alert-box-danger ul {
    margin: 0;
    padding-left: 20px;
    color: #451A14;
    font-size: 0.93rem;
}

.alert-box-danger li {
    margin-bottom: 7px;
}

/* Triage Interactive Layout */
.triage-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.triage-form-panel,
.triage-result-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.triage-group {
    border: none;
    padding: 0 0 18px;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.triage-group:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

.triage-group legend {
    font-weight: 700;
    font-size: 0.98rem;
    color: #0B253A;
    margin-bottom: 10px;
    padding: 0;
}

.radio-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: var(--bg);
}

.radio-card:hover {
    border-color: var(--teal);
    background: #F6FCFB;
}

.radio-card input {
    margin-top: 3px;
    accent-color: var(--teal);
    flex-shrink: 0;
}

.radio-card span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.radio-card strong {
    font-size: 0.92rem;
    color: #0B253A;
}

.radio-card small {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.triage-banner {
    border-radius: var(--radius-md);
    padding: 18px 20px;
    color: #fff;
    margin-bottom: 16px;
}

.triage-low { background: linear-gradient(135deg, #0D7A6F 0%, #109E8E 100%); }
.triage-mid { background: linear-gradient(135deg, #B45309 0%, #D97706 100%); }
.triage-high { background: linear-gradient(135deg, #991B1B 0%, #D9381E 100%); }

.triage-banner-kicker {
    font-size: 0.78rem;
    opacity: 0.88;
    margin-bottom: 4px;
}

.triage-banner h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.35;
}

.triage-banner p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.triage-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 14px;
}

.triage-card-dont {
    background: #FFF8F7;
    border-color: #FAD3CD;
}

.triage-card h3 {
    margin: 0 0 10px;
    font-size: 0.98rem;
    color: #0B253A;
}

.triage-do-list,
.triage-dont-list {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--ink);
}

.triage-do-list li,
.triage-dont-list li {
    margin-bottom: 7px;
}

.triage-disclaimer {
    font-size: 0.82rem;
    color: var(--ink-muted);
    background: var(--brand-soft);
    padding: 11px 13px;
    border-radius: var(--radius-sm);
}

/* Identify & Tables */
.feature-4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    box-shadow: var(--shadow-sm);
}

.feature-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 6px;
}

.feature-box h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    color: #0B253A;
}

.feature-box p {
    margin: 0;
    font-size: 0.87rem;
    color: var(--ink-muted);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 680px;
}

.data-table th,
.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: #F1F6FA;
    color: #0B253A;
    font-weight: 700;
}

.data-table tr.row-highlight {
    background: #FFF8F6;
}

/* Prevention Seasons & Checklist */
.season-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.season-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
}

.season-peak {
    border-color: #F5B8AE;
    background: #FFFAF9;
}

.season-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.season-period {
    font-weight: 800;
    color: var(--brand-primary);
}

.season-card h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    color: #0B253A;
}

.season-card p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--ink-muted);
}

.check-progress {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--teal);
    background: var(--teal-soft);
    padding: 6px 14px;
    border-radius: 999px;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.check-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 15px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.check-item input {
    margin-top: 4px;
    width: 17px;
    height: 17px;
    accent-color: var(--teal);
    flex-shrink: 0;
}

.check-item strong {
    color: #0B253A;
}

.check-item.checked {
    background: #F2FBF9;
    border-color: #9BDAD2;
}

/* Encyclopedia & Article Layout */
.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.filter-pill {
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 500;
    background: var(--surface);
    color: var(--ink-muted);
    border: 1px solid var(--border);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guide-list-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
}

.guide-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--ink-light);
    margin-bottom: 8px;
}

.guide-item-title {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.38;
}

.guide-item-title a {
    color: #0B253A;
}

.guide-item-title a:hover {
    color: var(--teal);
}

.guide-item-excerpt {
    margin: 0 0 12px;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-chip {
    font-size: 0.78rem;
    color: var(--ink-muted);
    background: var(--bg);
    padding: 2px 9px;
    border-radius: 999px;
}

.tag-chip:hover {
    background: var(--teal-soft);
    color: var(--teal);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    margin: 0 0 12px;
    font-size: 1.04rem;
    color: #0B253A;
}

.sidebar-urgent {
    background: #FFF6F5;
    border-color: #F6C3BB;
}

.sidebar-urgent p {
    margin: 0 0 14px;
    font-size: 0.88rem;
    color: #6B2118;
}

.sidebar-links-col {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 0.9rem;
    font-weight: 600;
}

.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.88rem;
}

.rank-num {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--bg);
    color: var(--ink-muted);
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.rank-num.top {
    background: var(--danger-soft);
    color: var(--danger);
}

/* Article Body */
.article-header-wrap {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 26px 0 28px;
}

.article-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 12px 0 10px;
    font-size: 0.84rem;
    color: var(--ink-light);
}

.article-main-title {
    margin: 0 0 8px;
    font-size: clamp(1.48rem, 2.8vw, 2.1rem);
    line-height: 1.3;
    color: #0B253A;
}

.article-subtitle {
    margin: 0;
    font-size: 1rem;
    color: var(--ink-muted);
}

.article-body-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 30px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.article-lead {
    background: var(--bg);
    border-left: 4px solid var(--teal);
    padding: 14px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink-muted);
    font-size: 0.96rem;
    margin-bottom: 22px;
}

.article-toc {
    background: #F6FBFA;
    border: 1px solid #CBE7E2;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 24px;
}

.toc-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--teal);
    margin-bottom: 8px;
}

.article-toc ol {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
}

.prose {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink);
}

.prose h2 {
    margin: 28px 0 12px;
    font-size: 1.28rem;
    color: #0B253A;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 86px;
}

.prose h3 {
    margin: 20px 0 8px;
    font-size: 1.06rem;
    color: var(--teal-dark);
}

.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 0.9rem;
    display: block;
    overflow-x: auto;
}

.prose th, .prose td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    text-align: left;
    min-width: 90px;
}

.prose th {
    background: var(--teal-soft);
    color: #0B253A;
    font-weight: 600;
}

.prose blockquote {
    margin: 18px 0;
    padding: 12px 16px;
    background: var(--danger-soft);
    border-left: 4px solid var(--danger);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #7F1D1D;
}

.article-tags-box {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tags-label { font-size: 0.86rem; color: var(--ink-light); }

.article-disclaimer {
    margin-top: 18px;
    padding: 12px 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: var(--ink-muted);
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.related-list li:last-child { border-bottom: none; padding-bottom: 0; }
.related-list a { font-size: 0.9rem; font-weight: 600; color: #0B253A; }
.related-list a:hover { color: var(--teal); }
.related-list span { font-size: 0.78rem; color: var(--ink-light); }

/* Search, Sub-block, Pagination, Empty */
.search-hero-form {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    max-width: 640px;
}

.search-hero-form input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    font-family: inherit;
}

.hot-search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.86rem;
    color: var(--ink-muted);
}

.pill-link {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink-muted);
    font-size: 0.84rem;
}

.pill-link:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-soft);
}

.sub-block { margin-top: 36px; }

.compact-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.compact-guide-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.compact-guide-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
}

.compact-date { font-size: 0.78rem; color: var(--ink-light); }
.compact-guide-card h3 { margin: 0; font-size: 0.94rem; line-height: 1.42; color: #0B253A; }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.page-btn {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
    font-size: 0.88rem;
}
.page-btn.active, .page-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.empty-state {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
}

.empty-state h2 { margin: 0 0 8px; color: #0B253A; }
.empty-state p { margin: 0 0 18px; color: var(--ink-muted); }

/* Footer */
.site-footer {
    background: #0D2535;
    color: #CBD5E1;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
}

.footer-brand-title {
    font-size: 1.28rem;
    font-weight: 800;
    color: #fff;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-desc,
.footer-note {
    margin: 0 0 10px;
    font-size: 0.86rem;
    color: #94A3B8;
    line-height: 1.7;
}

.footer-col h3 { margin: 0 0 12px; font-size: 0.96rem; color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #CBD5E1; font-size: 0.88rem; }
.footer-col a:hover { color: #5EEAD4; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    font-size: 0.82rem;
    color: #94A3B8;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    text-align: center;
}

.footer-bottom a { color: #CBD5E1; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
    .header-search { width: 180px; }
    .hero-grid,
    .anatomy-split,
    .triage-layout,
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline-grid,
    .feature-4-grid,
    .season-grid,
    .compact-guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .main-nav,
    .header-search { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .myth-grid,
    .checklist-grid,
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 14px; }
    .header-inner { height: 60px; }
    .brand-logo { height: 38px; }
    .hero-section { padding: 24px 0 30px; }
    .section { padding: 30px 0; }
    .quick-truth-strip,
    .category-grid,
    .article-grid,
    .timeline-grid,
    .feature-4-grid,
    .season-grid,
    .compact-guide-grid {
        grid-template-columns: 1fr;
    }
    .em-step { grid-template-columns: 1fr; gap: 6px; }
    .em-step-num { width: fit-content; padding: 2px 10px; }
    .emergency-card,
    .article-body-card,
    .triage-form-panel,
    .triage-result-panel {
        padding: 18px 15px;
    }
    .search-hero-form { flex-direction: column; }
    .footer-sep { display: none; }
    .footer-bottom-inner { flex-direction: column; gap: 6px; }
}
