/* ═══════════════════════════════════════════════════════════
   FIDEOGRAPH COUNCIL TIMELINE — v1.0.0
   Self-contained styles. No theme dependency beyond base vars.
   ═══════════════════════════════════════════════════════════ */

:root {
    --fct-gold:     #C9A84C;
    --fct-gold-dim: rgba(201,168,76,.18);
    --fct-ink:      #1c1810;
    --fct-ink2:     #2e2a1e;
    --fct-parch:    #faf6ed;
    --fct-parch2:   #f4edd8;
    --fct-border:   #ddd5b8;
    --fct-crimson:  #8B3000;
    --fct-teal:     #1A6B5A;
    --fct-blue:     #185FA5;
    --fct-green:    #1A6A38;
    --fct-amber:    #B07215;
    --fct-grey:     #9C9080;
    --fct-serif:    'Source Serif 4', Georgia, serif;
    --fct-display:  'Playfair Display', Georgia, serif;
    --fct-garamond: 'EB Garamond', Georgia, serif;
}

/* ── Reset & Base ──────────────────────────────────────── */
.fct-wrap {
    background: var(--fct-parch);
    min-height: 100vh;
    font-family: var(--fct-serif);
    color: var(--fct-ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.fct-wrap *, .fct-wrap *::before, .fct-wrap *::after {
    box-sizing: border-box;
}

/* ── Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;0,700&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');


/* ═══════════════════════════════════════════════════════════
   MASTHEAD
   ═══════════════════════════════════════════════════════════ */
.fct-masthead {
    background: var(--fct-ink);
    padding: 72px 28px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fct-masthead__glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(201,168,76,.12) 0%, transparent 70%);
    pointer-events: none;
}
.fct-masthead__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}
.fct-masthead__series {
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--fct-gold);
    margin: 0 0 16px;
    font-family: var(--fct-serif);
    font-weight: 600;
}
.fct-masthead__title {
    font-family: var(--fct-display);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    color: var(--fct-parch);
    margin: 0 0 16px;
    line-height: 1.15;
}
.fct-masthead__title em {
    color: var(--fct-gold);
    font-style: italic;
}
.fct-masthead__sub {
    font-family: var(--fct-garamond);
    font-size: clamp(15px, 2.4vw, 19px);
    color: rgba(250,246,237,.55);
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.fct-masthead__meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .08em;
    color: rgba(250,246,237,.35);
    font-family: var(--fct-serif);
    font-weight: 600;
}
.fct-masthead__dot {
    color: var(--fct-gold);
    opacity: .5;
}


/* ═══════════════════════════════════════════════════════════
   VIEW MODE BAR
   ═══════════════════════════════════════════════════════════ */
.fct-view-bar {
    position: sticky;
    top: var(--fgn-bar-height, 62px);
    z-index: 79;
    background: var(--fct-ink2);
    border-bottom: 1px solid var(--fct-gold-dim);
    display: flex;
    gap: 0;
    justify-content: center;
}
.fct-view-btn {
    padding: 14px 24px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(250,246,237,.4);
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    transition: color .15s, border-color .15s;
    font-family: var(--fct-serif);
    font-weight: 600;
    white-space: nowrap;
}
.fct-view-btn:hover {
    color: rgba(250,246,237,.7);
}
.fct-view-btn.active {
    color: var(--fct-gold);
    border-bottom-color: var(--fct-gold);
}


/* ═══════════════════════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════════════════════ */
.fct-filter-bar {
    background: var(--fct-ink2);
    padding: 10px 28px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(201,168,76,.1);
}
.fct-filter {
    display: flex;
    align-items: center;
    gap: 6px;
}
.fct-filter__label {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(250,246,237,.35);
    font-family: var(--fct-serif);
    font-weight: 600;
}
.fct-filter__select {
    background: rgba(250,246,237,.06);
    border: 1px solid rgba(250,246,237,.12);
    color: var(--fct-parch);
    font-size: 12px;
    font-family: var(--fct-serif);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.fct-filter__select option {
    background: var(--fct-ink2);
    color: var(--fct-parch);
}


/* ═══════════════════════════════════════════════════════════
   TIMELINE VIEW
   ═══════════════════════════════════════════════════════════ */
.fct-view--timeline {
    padding-bottom: 80px;
}
.fct-timeline {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Era Bands */
.fct-era-band {
    padding: 0 0 8px;
    margin-bottom: 0;
}
.fct-era-header {
    padding: 36px 0 20px;
    border-bottom: 1px solid rgba(201,168,76,.1);
}
.fct-era-header__label {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fct-gold);
    margin: 0 0 4px;
    font-family: var(--fct-serif);
    font-weight: 600;
}
.fct-era-header__title {
    font-family: var(--fct-display);
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 900;
    color: var(--fct-ink);
    margin: 0 0 6px;
    line-height: 1.2;
}
.fct-era-header__desc {
    font-size: 14px;
    color: #48432e;
    line-height: 1.65;
    margin: 0;
    font-family: var(--fct-garamond);
}

/* Era left accent */
.fct-era--first-millennium .fct-era-header { border-left: 4px solid #C9A84C; padding-left: 16px; }
.fct-era--medieval .fct-era-header         { border-left: 4px solid #1A6B5A; padding-left: 16px; }
.fct-era--reformation .fct-era-header      { border-left: 4px solid #8B3000; padding-left: 16px; }
.fct-era--modern .fct-era-header           { border-left: 4px solid #185FA5; padding-left: 16px; }

/* Era collapsed state */
.fct-era-band.is-collapsed .fct-node { display: none; }
.fct-era-band.is-collapsed .fct-era-header { opacity: .5; }

/* Council Node */
.fct-node {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--fct-border);
}
.fct-node.is-dimmed {
    opacity: .3;
    pointer-events: none;
}

/* Spine */
.fct-node__spine {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
}
.fct-node__year {
    font-family: var(--fct-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--fct-gold);
    line-height: 1;
    margin-bottom: 8px;
    text-align: center;
}
.fct-node__number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--fct-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--fct-gold);
    font-family: var(--fct-serif);
    margin-bottom: 8px;
    flex-shrink: 0;
}
.fct-node__line {
    flex: 1;
    width: 1px;
    background: var(--fct-border);
    min-height: 40px;
}

/* Card */
.fct-card {
    background: #fff;
    border: 1px solid var(--fct-border);
    border-left: 3px solid var(--fct-gold);
    border-radius: 10px;
    padding: 20px 24px;
    cursor: pointer;
    transition: box-shadow .2s, transform .15s;
}
.fct-card:hover {
    box-shadow: 0 6px 24px rgba(28,24,16,.1);
    transform: translateY(-1px);
}
.fct-card--placeholder {
    opacity: .45;
    cursor: default;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(201,168,76,.04) 8px,
        rgba(201,168,76,.04) 16px
    ), #fff;
}
.fct-card--placeholder:hover {
    box-shadow: none;
    transform: none;
}
.fct-card__pending {
    font-size: 11px;
    color: var(--fct-grey);
    font-style: italic;
    margin: 8px 0 0;
}
.fct-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.fct-card__type-pill {
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8B6A1A;
    background: rgba(201,168,76,.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-family: var(--fct-serif);
}
.fct-card__name {
    font-family: var(--fct-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--fct-ink);
    margin: 0 0 6px;
    line-height: 1.3;
}
.fct-card__meta {
    font-size: 12px;
    color: #8B6A1A;
    letter-spacing: .04em;
    margin: 0 0 14px;
    font-family: var(--fct-serif);
}

/* Heresy Block */
.fct-heresy-block {
    background: rgba(139,48,0,.06);
    border-left: 3px solid var(--fct-crimson);
    border-radius: 0 6px 6px 0;
    padding: 10px 14px;
    margin-bottom: 10px;
}
.fct-heresy-block__label {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fct-crimson);
    font-weight: 700;
    margin: 0 0 4px;
    font-family: var(--fct-serif);
}
.fct-heresy-block__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--fct-crimson);
    margin: 0;
}
.fct-heresy-block__claim {
    font-family: var(--fct-garamond);
    font-size: 13px;
    font-style: italic;
    color: #48432e;
    line-height: 1.6;
    margin: 4px 0 0;
}

/* Definition Block */
.fct-definition-block {
    background: rgba(201,168,76,.06);
    border-left: 3px solid var(--fct-gold);
    border-radius: 0 6px 6px 0;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.fct-definition-block__label {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8B6A1A;
    font-weight: 700;
    margin: 0 0 4px;
    font-family: var(--fct-serif);
}
.fct-definition-block__text {
    font-family: var(--fct-garamond);
    font-size: 14px;
    color: var(--fct-ink2);
    line-height: 1.7;
    margin: 0;
}

/* Tradition Dots */
.fct-traditions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.fct-tradition-dot {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-family: var(--fct-serif);
    color: #48432e;
}
.fct-tradition-dot__icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.fct-tradition-dot__icon--green  { background: var(--fct-green); }
.fct-tradition-dot__icon--amber  { background: var(--fct-amber); }
.fct-tradition-dot__icon--red    { background: var(--fct-crimson); }
.fct-tradition-dot__icon--grey   { background: var(--fct-grey); }

/* Read Button */
.fct-read-btn {
    font-size: 12px;
    color: var(--fct-gold);
    text-decoration: none;
    letter-spacing: .04em;
    font-family: var(--fct-serif);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-weight: 600;
    transition: color .15s;
}
.fct-read-btn:hover {
    color: #a88a3a;
}


/* ═══════════════════════════════════════════════════════════
   TRADITION MATRIX VIEW
   ═══════════════════════════════════════════════════════════ */
.fct-view--matrix {
    padding: 40px 28px 80px;
}
.fct-matrix-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.fct-matrix__title {
    font-family: var(--fct-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    color: var(--fct-ink);
    margin: 0 0 6px;
    text-align: center;
}
.fct-matrix__sub {
    font-family: var(--fct-garamond);
    font-size: 15px;
    color: #48432e;
    text-align: center;
    margin: 0 0 28px;
}
.fct-matrix {
    overflow-x: auto;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--fct-border);
    border-radius: 10px;
}
.fct-matrix table {
    border-collapse: collapse;
    min-width: 700px;
    width: 100%;
}
.fct-matrix th {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 12px 10px;
    text-align: center;
    color: #8B6A1A;
    background: var(--fct-parch2);
    border-bottom: 2px solid var(--fct-border);
    font-family: var(--fct-serif);
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}
.fct-matrix th:hover {
    background: rgba(201,168,76,.15);
}
.fct-matrix__corner {
    text-align: left !important;
    padding-left: 14px !important;
    cursor: default !important;
}
.fct-matrix td {
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid var(--fct-border);
    cursor: pointer;
    transition: background .15s;
    font-size: 16px;
}
.fct-matrix tr:hover td {
    background: var(--fct-parch2);
}
.fct-matrix__name {
    text-align: left !important;
    padding-left: 14px !important;
    font-size: 13px !important;
    font-weight: 600;
    color: var(--fct-ink);
    white-space: nowrap;
}
.fct-matrix__roman {
    display: inline-block;
    width: 32px;
    color: var(--fct-gold);
    font-weight: 700;
    font-size: 11px;
}
.fct-matrix__year {
    font-size: 10px;
    color: var(--fct-grey);
    margin-left: 4px;
    font-weight: 400;
}
.fct-matrix__row--missing td {
    opacity: .4;
}
.fct-cell--yes {
    color: var(--fct-green);
    font-size: 18px;
}
.fct-cell--no {
    color: var(--fct-crimson);
    font-size: 14px;
}
.fct-cell--unknown {
    color: var(--fct-grey);
    font-size: 14px;
}
.fct-matrix__cell--summary {
    font-size: 13px !important;
    font-weight: 700;
    color: var(--fct-ink);
    background: var(--fct-parch2);
}
.fct-matrix__summary td {
    border-top: 2px solid var(--fct-border);
}

/* Observation */
.fct-matrix__observation {
    font-family: var(--fct-garamond);
    font-size: 16px;
    line-height: 1.75;
    color: var(--fct-ink2);
    text-align: center;
    max-width: 640px;
    margin: 32px auto 0;
    padding: 24px;
    background: rgba(201,168,76,.06);
    border: 1px solid var(--fct-gold-dim);
    border-radius: 8px;
    font-style: italic;
}


/* ═══════════════════════════════════════════════════════════
   CRISIS MAP VIEW
   ═══════════════════════════════════════════════════════════ */
.fct-view--crisis {
    padding: 40px 28px 80px;
}
.fct-crisis-wrap {
    max-width: 1000px;
    margin: 0 auto;
}
.fct-crisis__title {
    font-family: var(--fct-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    color: var(--fct-ink);
    margin: 0 0 6px;
    text-align: center;
}
.fct-crisis__sub {
    font-family: var(--fct-garamond);
    font-size: 15px;
    color: #48432e;
    text-align: center;
    margin: 0 0 24px;
}
.fct-crisis__zoom {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}
.fct-crisis__zoom-btn {
    font-size: 11px;
    letter-spacing: .08em;
    font-family: var(--fct-serif);
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid var(--fct-border);
    border-radius: 6px;
    background: #fff;
    color: #48432e;
    cursor: pointer;
    transition: all .15s;
}
.fct-crisis__zoom-btn:hover {
    background: var(--fct-parch2);
}
.fct-crisis__zoom-btn.active {
    background: var(--fct-ink);
    color: var(--fct-gold);
    border-color: var(--fct-ink);
}
.fct-crisis__svg-wrap {
    background: #1c1810;
    border: 1px solid rgba(201,168,76,.12);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    min-height: 580px;
}
.fct-crisis__svg-wrap svg {
    display: block;
    width: 100%;
    height: auto;
}

/* SVG internal styles */
.fct-crisis__svg-wrap .fct-svg-heresy-dot {
    cursor: pointer;
    transition: r .15s, fill .15s;
}
.fct-crisis__svg-wrap .fct-svg-heresy-dot:hover {
    r: 8;
    fill: #c05020;
}
.fct-crisis__svg-wrap .fct-svg-council-bar {
    cursor: pointer;
    transition: opacity .15s, filter .15s;
}
.fct-crisis__svg-wrap .fct-svg-council-bar:hover {
    opacity: 1;
    filter: brightness(1.2);
}
.fct-crisis__svg-wrap .fct-svg-arc {
    fill: none;
    stroke-width: 1.5;
    transition: stroke-width .2s, stroke-opacity .2s, stroke .2s;
    pointer-events: stroke;
}
.fct-crisis__svg-wrap .fct-svg-arc:hover {
    stroke-width: 3;
    stroke-opacity: 0.7;
}
.fct-crisis__svg-wrap .fct-svg-arc.is-highlight {
    stroke-width: 3;
    stroke: #C9A84C !important;
    stroke-opacity: 0.9 !important;
}


/* ═══════════════════════════════════════════════════════════
   DETAIL PANEL
   ═══════════════════════════════════════════════════════════ */
.fct-panel {
    position: fixed;
    top: var(--fgn-bar-height, 62px);
    right: 0;
    width: 480px;
    max-width: 95vw;
    height: calc(100vh - var(--fgn-bar-height, 62px));
    background: var(--fct-ink);
    color: var(--fct-parch);
    overflow-y: auto;
    z-index: 90;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    padding: 0;
    box-shadow: -8px 0 40px rgba(0,0,0,.3);
}
.fct-panel.is-open {
    transform: translateX(0);
}
.fct-panel__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 85;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.fct-panel__overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}
.fct-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(201,168,76,.12);
    position: sticky;
    top: 0;
    background: var(--fct-ink);
    z-index: 2;
}
.fct-panel__close {
    font-size: 28px;
    color: rgba(250,246,237,.4);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}
.fct-panel__close:hover {
    color: var(--fct-parch);
}
.fct-panel__nav {
    display: flex;
    gap: 8px;
}
.fct-panel__nav-btn {
    font-size: 11px;
    letter-spacing: .08em;
    font-family: var(--fct-serif);
    font-weight: 600;
    padding: 5px 12px;
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 4px;
    background: none;
    color: var(--fct-gold);
    cursor: pointer;
    transition: all .15s;
}
.fct-panel__nav-btn:hover {
    background: rgba(201,168,76,.1);
}
.fct-panel__nav-btn:disabled {
    opacity: .3;
    cursor: default;
}
.fct-panel__body {
    padding: 24px;
}

/* Panel Content Sections */
.fct-panel__number {
    font-family: var(--fct-display);
    font-size: 14px;
    color: var(--fct-gold);
    font-weight: 700;
    margin: 0 0 4px;
}
.fct-panel__year {
    font-family: var(--fct-display);
    font-size: 32px;
    font-weight: 900;
    color: var(--fct-gold);
    margin: 0 0 4px;
    line-height: 1;
}
.fct-panel__name {
    font-family: var(--fct-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--fct-parch);
    margin: 8px 0 6px;
    line-height: 1.3;
}
.fct-panel__meta {
    font-size: 13px;
    color: rgba(250,246,237,.45);
    margin: 0 0 24px;
    line-height: 1.6;
}

.fct-panel__section {
    margin-bottom: 24px;
}
.fct-panel__section-label {
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fct-gold);
    font-weight: 700;
    margin: 0 0 10px;
    font-family: var(--fct-serif);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201,168,76,.12);
}
.fct-panel__heresy-name {
    font-size: 15px;
    font-weight: 700;
    color: #e08050;
    margin: 0 0 4px;
}
.fct-panel__heresy-claim {
    font-family: var(--fct-garamond);
    font-size: 14px;
    font-style: italic;
    color: rgba(250,246,237,.6);
    line-height: 1.7;
    margin: 0;
}
.fct-panel__definition-text {
    font-family: var(--fct-garamond);
    font-size: 15px;
    color: var(--fct-parch);
    line-height: 1.75;
    margin: 0;
}
.fct-panel__rome-text {
    font-family: var(--fct-garamond);
    font-size: 14px;
    color: rgba(250,246,237,.65);
    line-height: 1.7;
    margin: 0;
}
.fct-panel__significance {
    font-family: var(--fct-garamond);
    font-size: 14px;
    color: rgba(250,246,237,.65);
    line-height: 1.7;
    margin: 0;
}
.fct-panel__reception {
    font-family: var(--fct-garamond);
    font-size: 13px;
    color: rgba(250,246,237,.45);
    line-height: 1.65;
    margin: 0;
    font-style: italic;
}

/* Panel traditions */
.fct-panel__traditions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.fct-panel__tradition-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-family: var(--fct-serif);
    color: rgba(250,246,237,.6);
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(250,246,237,.1);
}
.fct-panel__tradition-chip--yes {
    border-color: rgba(26,106,56,.5);
    color: #6dba6d;
}
.fct-panel__tradition-chip--no {
    border-color: rgba(139,48,0,.3);
    color: rgba(250,246,237,.3);
}

/* Panel figures */
.fct-panel__figures {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.fct-panel__figure-chip {
    font-size: 11px;
    font-family: var(--fct-serif);
    color: rgba(250,246,237,.5);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(250,246,237,.08);
    background: rgba(250,246,237,.03);
}

/* Panel canon */
.fct-panel__canon {
    font-family: var(--fct-garamond);
    font-size: 13px;
    color: rgba(250,246,237,.55);
    line-height: 1.7;
    margin: 0;
    padding: 12px;
    background: rgba(250,246,237,.03);
    border-radius: 6px;
    border: 1px solid rgba(250,246,237,.06);
}

/* Panel links */
.fct-panel__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(201,168,76,.12);
}
.fct-panel__link {
    font-size: 12px;
    color: var(--fct-gold);
    text-decoration: none;
    font-family: var(--fct-serif);
    font-weight: 600;
    letter-spacing: .04em;
    transition: color .15s;
}
.fct-panel__link:hover {
    color: #e0c060;
}

/* Panel key insight */
.fct-panel__insight {
    font-family: var(--fct-garamond);
    font-size: 14px;
    color: rgba(250,246,237,.55);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .fct-masthead { padding: 48px 20px 36px; }
    .fct-view-bar { overflow-x: auto; justify-content: flex-start; }
    .fct-view-btn { padding: 12px 16px; font-size: 10px; }
    .fct-filter-bar { padding: 8px 16px; gap: 10px; flex-wrap: wrap; }
    .fct-timeline { padding: 0 16px; }
    .fct-node { grid-template-columns: 60px 1fr; gap: 0 14px; padding: 20px 0; }
    .fct-node__year { font-size: 16px; }
    .fct-card { padding: 14px 16px; }
    .fct-card__name { font-size: 16px; }
    .fct-panel { width: 100vw; top: 0; height: 100vh; max-width: 100vw; }
    .fct-matrix { font-size: 11px; }
    .fct-matrix__name { font-size: 11px !important; }
    .fct-crisis__zoom { flex-wrap: wrap; }
    .fct-crisis__zoom-btn { font-size: 10px; padding: 5px 10px; }
    .fct-view--matrix, .fct-view--crisis { padding: 24px 16px 60px; }
}

@media (max-width: 480px) {
    .fct-node { grid-template-columns: 48px 1fr; gap: 0 10px; }
    .fct-node__year { font-size: 14px; }
    .fct-node__number { width: 22px; height: 22px; font-size: 8px; }
    .fct-traditions { gap: 4px; }
    .fct-tradition-dot { font-size: 9px; }
    .fct-heresy-block, .fct-definition-block { padding: 8px 10px; }
}
