        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { overflow-y: auto; }
        html, body { width: 100%; height: auto; min-height: 100%; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background: #fbfbf6; color: #111; }
        .container { display: flex; flex-direction: column; min-height: 100vh; }

        /* HEADER */
        .header { display: flex; flex-wrap: wrap; align-items: center; row-gap: 16px; padding: 28px 70px 22px; background: transparent; position: relative; }
        .logo-section { display: flex; flex-direction: column; gap: 0; flex-shrink: 0; margin-right: 150px; }
        .logo-img { height: 80px; width: auto; }
        .title-section { flex: 1 1 0; max-width: 500px; min-width: 220px; margin-left: auto; text-align: right; }
        .title-desc { font-size: 9px; color: #555; line-height: 1.4; }
        .title-desc-text { display: block; text-align: right; }
        @media (max-width: 560px) {
            .header { flex-direction: column; align-items: flex-start; gap: 16px; }
            .logo-section { margin-right: 0; }
            .logo-img { height: 56px; }
            .title-section { flex-basis: 100%; max-width: none; min-width: 0; text-align: left; margin-left: 0; }
            .title-desc-text { text-align: left; }
        }
        .title-desc-text .ln { display: block; }
        .title-desc .title-h1 { margin: 0 0 6px; font-weight: 800; color: #000; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; display: block; }

        /* SEARCH */
        .search-section { padding: 45px 70px; border-bottom: 1px solid #e8e8e8; background: #fff; }
        .search-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: #000; margin-bottom: 35px; text-align: center; display: block; }
        .search-input { width: 420px; max-width: 100%; display: block; margin: 0 auto; padding: 12px 14px; font-size: 15px; border: 2px solid #7CBD2F; border-radius: 0; font-family: inherit; background: #fff; transition: all 0.3s; box-shadow: 0 0 0 3px rgba(122, 205, 47, 0.08); }
        .search-input:focus { outline: none; border-color: #7CBD2F; box-shadow: 0 0 0 5px rgba(122, 205, 47, 0.12); }
        .search-results { position: relative; width: 420px; max-width: 100%; margin: 0 auto; background: #fff; border: 1px solid #ddd; border-top: none; max-height: 300px; overflow-y: auto; display: none; z-index: 1000; }
        .search-results.active { display: block; }
        .search-item { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
        .search-item:hover { background: #f8f8f8; }
        .search-item-title { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
        .search-item-desc { font-size: 11px; color: #666; }
        .search-item-snip { font-size: 12px; color: #444; line-height: 1.5; margin-top: 4px; }
        .search-item mark { background: #d4f57a; color: inherit; padding: 0 2px; }
        .search-detail { display: none; position: relative; width: 760px; max-width: 100%; margin: 24px auto 0; padding: 20px 24px; background: #fff; border-left: 5px solid #000; box-sizing: border-box; text-align: justify; }
        .search-detail.open { display: block; }
        .search-detail h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
        .search-detail p { font-size: 13px; line-height: 1.6; margin: 0 0 10px; color: #222; }
        .search-detail .sd-close { position: absolute; top: 8px; right: 12px; cursor: pointer; font-size: 18px; color: #777; background: none; border: none; }
        .search-detail .sd-close:hover { color: #000; }

        /* TIMELINE */
        .timeline-section { position: relative; padding: 60px 70px 45px; margin-top: 40px; background: #fff; }
        .timeline-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 130px; background: #d4f57a; z-index: 0; }
        .timeline-section > .section-label, .timeline-section > p { display: table; position: relative; z-index: 1; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
        .section-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: #000; margin: 0 0 6px; }
        .timeline { position: relative; height: 600px; margin: 40px 0; overflow-x: auto; overflow-y: visible; cursor: grab; }

        .timeline-top { position: absolute; top: 0; left: 0; right: 0; height: 100px; display: flex; justify-content: space-around; }

        .timeline-line { position: absolute; top: 50%; left: 0; width: 2400px; height: 2px; background: #000; transform: translateY(-50%); }

        .timeline-items { position: absolute; top: 50%; left: 0; width: 2400px; display: flex; justify-content: space-around; align-items: center; transform: translateY(-50%); }

        .timeline-item { position: relative; width: 0; height: 0; }
        .timeline-year { font-size: 15px; font-weight: 600; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
        .timeline-item:nth-child(odd) .timeline-year { bottom: 12px; }
        .timeline-item:nth-child(even) .timeline-year { top: 12px; }
        .timeline-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: currentColor; border: none; z-index: 10; transition: all 0.3s; left: 50%; top: 50%; transform: translate(-50%, -50%); cursor: pointer; }
        .timeline-dot::after { content: ''; position: absolute; width: 30px; height: 30px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
        .timeline-item:nth-child(odd) .timeline-dot::before { content: ''; position: absolute; width: 1px; height: 50px; background: #000; bottom: -50px; left: 50%; transform: translateX(-50%); }
        .timeline-item:nth-child(even) .timeline-dot::before { content: ''; position: absolute; width: 1px; height: 50px; background: #000; top: -50px; left: 50%; transform: translateX(-50%); }
        .timeline-bubble { position: absolute; width: 12px; height: 12px; border-radius: 50%; left: 50%; transform: translateX(-50%); z-index: 11; opacity: 1; }
        .timeline-item:nth-child(odd) .timeline-bubble { bottom: -65px; }
        .timeline-item:nth-child(even) .timeline-bubble { top: -65px; }
        .timeline-detail-block { position: absolute; width: 160px; left: 50%; transform: translateX(-50%); text-align: justify; display: none; }
        .timeline-detail-block.open { display: block; }
        .timeline-item:nth-child(odd) .timeline-detail-block { bottom: -280px; }
        .timeline-item:nth-child(even) .timeline-detail-block { top: -280px; }
        .timeline-detail-block h3 { font-size: 13px; font-weight: 700; color: #000; margin: 0 0 8px 0; }
        .timeline-detail-block p { font-size: 9px; color: #888; line-height: 1.4; margin: 0; }
        .timeline-item.active .timeline-dot { transform: scale(1.3); }

        .timeline-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 100px; display: flex; justify-content: space-around; }

        /* FIELDS */
        .fields-section { position: relative; padding: 35px 70px 20px; border-bottom: 1px solid #e8e8e8; overflow-x: auto; background: #fff; }
        .fields-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 110px; background: #d4f57a; z-index: 0; }
        .fields-section > .section-label, .fields-section > p { display: table; position: relative; z-index: 1; }

        /* MAP */
        .map-section { flex: none; height: 1100px; position: relative; background: #f9f9f9; overflow: hidden; border-top: 1px solid #e8e8e8; }
        .map-reset { position: absolute; top: 14px; right: 14px; z-index: 5; background: #fff; color: #000; border: 1px solid #000; padding: 9px 14px; font-family: inherit; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; }
        .map-reset:hover, .map-zoom button:hover { background: #000; color: #fff; }
        .map-hint { display: none; position: absolute; left: 14px; bottom: 14px; z-index: 5; margin: 0; font-size: 12px; color: #444; background: rgba(255,255,255,0.85); padding: 6px 10px; pointer-events: none; }
        .map-zoom { position: absolute; top: 52px; right: 14px; z-index: 5; display: flex; flex-direction: column; gap: 6px; }
        .map-zoom button { width: 38px; height: 38px; font-family: inherit; font-size: 20px; font-weight: 300; line-height: 1; background: #fff; color: #000; border: 1px solid #000; cursor: pointer; }
        svg { width: 100%; height: 100%; }

        .node-group { cursor: pointer; outline: none; }
        .node-group:focus-visible .node-circle { stroke: #000; stroke-width: 4px; }
        .node-circle { stroke: #fff; stroke-width: 2px; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.1)); transition: all 0.3s; }
        .node-group:hover .node-circle { stroke-width: 3px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15)); }
        .node-label { font-size: 11px; font-weight: 600; text-anchor: middle; fill: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.3); pointer-events: none; }

        .link { fill: none; stroke: #e0e0e0; stroke-width: 1.5px; opacity: 0.4; }
        .node-card { display: none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 760px; max-width: 92vw; max-height: 85vh; overflow-y: auto; background: #fff; border-left: 5px solid #000; box-shadow: 0 10px 30px rgba(0,0,0,0.15); padding: 22px 24px; z-index: 3000; }
        .node-card.open { display: block; }
        .node-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
        .node-card p { font-size: 13px; color: #555; line-height: 1.5; }

        .tooltip { position: fixed; background: #000; color: #fff; padding: 8px 12px; border-radius: 0; font-size: 11px; pointer-events: none; z-index: 2000; border-left: 3px solid #7CBD2F; }
        .tl-filter { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin: 70px 0 10px; position: relative; z-index: 1; }
        .tl-filter button { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border: 1px solid #9a9a94; background: #efefeb; color: #222; padding: 7px 12px; cursor: pointer; }
        .tl-filter button[aria-pressed="true"] { background: #c9c9c3; color: #000; }
        .tl-count { font-size: 12px; color: #555; margin: 0 0 4px; position: relative; z-index: 1; }
        .timeline-detail-block { width: 220px !important; display: block !important; }
        .timeline-detail-block h3 { font-size: 13px; line-height: 1.3; }
        .timeline-detail-block p { font-size: 11px !important; color: #333 !important; line-height: 1.45 !important; }
        .timeline-items { justify-content: flex-start !important; }
        .timeline-item.tl-hit .timeline-detail-block { box-shadow: 0 0 0 3px #000; }
        .timeline-item.is-lt .timeline-year { top: 14px; bottom: auto; transform: translateX(-50%); }
        .timeline-item.is-lt .timeline-dot::before { top: -59px; bottom: auto; height: 59px; }
        .timeline-item.is-lt .timeline-bubble { top: -65px; bottom: auto; }
        .timeline-item.is-lt .timeline-detail-block { top: auto; bottom: 80px; }
        .timeline-item.is-world .timeline-year { top: auto; bottom: 14px; transform: translateX(-50%); }
        .timeline-item.is-world .timeline-dot::before { bottom: -59px; top: auto; height: 59px; }
        .timeline-item.is-world .timeline-bubble { bottom: -65px; top: auto; }
        .timeline-item.is-world .timeline-detail-block { bottom: auto; top: 80px; }
            .timeline-item.grp .timeline-year { left: 50%; right: auto; bottom: auto; transform: translateX(-50%); text-align: center; background: #fff; padding: 0 4px; line-height: 18px; margin: 0; }
        .timeline-item.grp.only-lt .timeline-year { top: 8px; }
        .timeline-item.grp.only-world .timeline-year { top: -26px; }
        .timeline-item.grp.both .timeline-year { top: -26px; left: 50%; margin: 0 0 0 12px; transform: none; text-align: left; }
        .timeline-item.grp .timeline-dot { background: #000; }
        .timeline-item.grp .timeline-dot::before { display: none; }
        .timeline-item.grp .tl-stem { position: absolute; width: 1px; height: 53px; background: #000; left: 50%; transform: translateX(-50%); }
        .timeline-item.grp .tl-stem.up { top: -60px; bottom: auto; }
        .timeline-item.grp .tl-stem.down { top: 7px; bottom: auto; }
        .timeline-item.grp .timeline-bubble.up { top: -65px; bottom: auto; }
        .timeline-item.grp .timeline-bubble.down { top: 53px; bottom: auto; }
        .timeline-item.grp .timeline-detail-block { width: 220px !important; max-height: 200px; overflow-y: auto; text-align: left; }
        .timeline-item.grp .timeline-detail-block.up { bottom: 80px; top: auto; }
        .timeline-item.grp .timeline-detail-block.down { top: 80px; bottom: auto; }
        .timeline-item.grp .tl-ev + .tl-ev { margin-top: 12px; padding-top: 10px; border-top: 1px solid #ddd; }
            .alpha-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; max-width: 1000px; margin: 30px auto 0; }
        .alpha-bar button { font: inherit; font-size: 15px; font-weight: 400; width: auto; height: auto; padding: 4px 3px; border: none; background: none; color: #222; cursor: pointer; }
        .alpha-bar button[aria-pressed="true"] { text-decoration: underline; color: #000; }
        .alpha-bar button:disabled { opacity: 0.35; cursor: default; }
        .alpha-list { width: 760px; max-width: 100%; margin: 18px auto 0; max-height: 420px; overflow-y: auto; transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease; }
        .alpha-list.is-hidden { max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; pointer-events: none; }
        .alpha-item { border-bottom: 1px solid #eee; }
        .alpha-term { display: block; width: 100%; font: inherit; font-size: 14px; font-weight: 400; text-align: left; padding: 11px 14px; border: none; border-left: 5px solid transparent; background: #fff; color: #000; cursor: pointer; }
        .alpha-term:hover { font-weight: 700; color: #000; border-left-color: var(--c); }
        .alpha-term[aria-expanded="true"] { font-weight: 700; color: #000; border-left-color: var(--c); }
        .alpha-term:focus-visible, .alpha-bar button:focus-visible, .tl-filter button:focus-visible, .map-reset:focus-visible, .map-zoom button:focus-visible, .sd-close:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
        .search-item:focus-visible { outline: 2px solid #7CBD2F; outline-offset: -2px; }
        .node-card .sd-close { position: absolute; top: 8px; right: 12px; cursor: pointer; font-size: 18px; color: #777; background: none; border: none; }
        .node-card .sd-close:hover { color: #000; }
        .alpha-tag { display: inline-block; margin-top: 8px; font-size: 10px; font-weight: 400; color: #000; background: #fff; border: 1px solid #000; padding: 2px 6px; }
        .alpha-body { padding: 14px 20px; margin: 0 0 6px; background: #fff; border-left: 5px solid #000; text-align: justify; }
        .alpha-body[hidden] { display: none; }
        .alpha-body p { font-size: 13px; line-height: 1.6; color: #222; margin: 0 0 8px; text-align: justify; }
            @media (max-width: 720px) {
            html, body { overflow-x: hidden; }
            .header { padding: 20px 16px; }
            .title-desc { font-size: 12px; }
            .search-section { padding: 28px 16px; }
            .search-label { margin-bottom: 18px; }
            .search-input, .search-results { width: 100%; }
            .search-input { font-size: 16px; }
            .search-detail { width: 100%; padding: 16px; }
            .alpha-bar { gap: 4px 10px; }
            .alpha-list { width: 100%; }
            .alpha-body { padding: 12px 14px; }
            .fields-section { padding: 24px 16px 16px; }
            .fields-section::before { height: 90px; }
            .timeline-section { padding: 40px 16px 30px; }
            .tl-filter { margin: 40px 0 10px; }
            .timeline { margin: 20px 0; }
            .node-card { width: 92vw; padding: 16px; top: auto; bottom: 12px; transform: translateX(-50%); max-height: 55vh; }
            .node-card h3 { font-size: 15px; }
            .node-card p { font-size: 12px; line-height: 1.5; }
            .map-reset { top: 8px; right: 8px; }
            .map-zoom { right: 8px; }
            .map-section { height: 680px; }
            .map-hint { display: block; }
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
        }

        /* ---- v4: search first, map secondary, area chips, focus, loading states ---- */
        .search-prompt { margin: -6px 0 16px; text-align: center; font-size: 13px; color: #555; }
        .fields-section { background: #d4f57a; }
        .fields-section::before { display: none; }
        .area-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 14px 16px 12px; background: #f9f9f9; border-top: 1px solid #e8e8e8; }
        .area-chips button { font: inherit; font-size: 12px; background: #fff; color: #000; border: 1px solid #000; padding: 7px 12px; cursor: pointer; }
        .area-chips button:hover, .area-chips button[aria-pressed="true"] { background: #000; color: #fff; }
        .node-group.is-focus .node-circle { stroke: #000; stroke-width: 4px; }
        .node-group.is-focus .node-label { font-weight: 700; }
        .sd-map { display: block; margin-top: 12px; font: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; background: #fff; color: #000; border: 1px solid #000; padding: 8px 12px; cursor: pointer; }
        .sd-map:hover { background: #000; color: #fff; }
        .tl-count[data-state="loading"] { animation: lda-pulse 1.4s ease-in-out infinite; }
        @keyframes lda-pulse { 50% { opacity: .35; } }
        @media (prefers-reduced-motion: reduce) { .tl-count[data-state="loading"] { animation: none; } }
