* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #2a2a2a;
    background: #f8f8f6;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* ===== Compact Header ===== */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(248, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 500;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 16px;
}

.header-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-name:hover {
    opacity: 0.7;
}

.header-tagline {
    font-size: 12px;
    color: #8a8a8a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.header-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
    align-items: center;
    flex-shrink: 0;
}

.header-nav a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.header-nav a:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.04);
}

.header-sep {
    width: 1px;
    height: 20px;
    background: #e0e0e0;
    margin: 0 4px;
    flex-shrink: 0;
}

.header-toggles {
    display: flex;
    gap: 2px;
    background: #eeeeec;
    border-radius: 6px;
    padding: 2px;
    flex-shrink: 0;
}

.header-toggle {
    padding: 4px 12px;
    font-size: 12px;
    font-family: inherit;
    color: #6a6a6a;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.header-toggle:hover {
    color: #2a2a2a;
}

.header-toggle.active {
    color: #1a1a1a;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-external {
    display: flex;
    gap: 2px;
    align-items: center;
    flex-shrink: 0;
    margin-left: -8px;
}

.header-external a {
    color: #6a6a6a;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.header-external a:hover {
    color: #1a1a1a;
}

/* ===== View Containers ===== */

.view-container {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.view-container.active {
    display: block;
}

#graph-view {
    background: #f8f8f6;
    overflow: hidden;
}

#graph {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===== Color Legend ===== */

.graph-legend,
.table-legend {
    position: absolute;
    top: 12px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 11px;
    z-index: 10;
}

.table-legend {
    position: sticky;
    bottom: 16px;
    left: 16px;
    float: left;
    margin-top: 12px;
}

.legend-title {
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 9px;
    margin-bottom: 6px;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 240px;
}

.legend-group { margin-bottom: 8px; }
.legend-group:last-child { margin-bottom: 0; }
.legend-group-title {
    font-weight: 600; color: #777; font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 4px; cursor: pointer;
    padding: 2px 4px; border-radius: 3px;
}
.legend-group-title:hover { background: rgba(0,0,0,0.04); }
.legend-group-title.active { background: rgba(0,0,0,0.08); }

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    cursor: pointer;
    padding: 1px 4px;
    border-radius: 3px;
}

.legend-item:hover { background: rgba(0,0,0,0.04); }
.legend-item.active { background: rgba(0,0,0,0.08); font-weight: 600; }

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-label {
    color: #666;
    text-transform: capitalize;
}

/* ===== Accordion Section Headers ===== */

.accordion-section-header {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 400;
    color: #999;
    padding: 20px 4px 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accordion-section-header:first-child {
    padding-top: 0;
}

/* ===== Table View ===== */

#table-view {
    overflow-y: auto;
    background: #fafafa;
}

#table-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 80px;
}

/* ===== Accordion Table ===== */

.accordion-group {
    margin-bottom: 2px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0ee;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.accordion-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.accordion-arrow {
    font-size: 10px;
    color: #8a8a8a;
    width: 14px;
    flex-shrink: 0;
}

.accordion-title {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    text-transform: capitalize;
}

.accordion-count {
    font-size: 12px;
    color: #8a8a8a;
    background: #f0f0ee;
    padding: 2px 8px;
    border-radius: 10px;
}

.accordion-meta {
    font-size: 11px;
    color: #aaa;
    margin-left: auto;
}

.accordion-body {
    border-top: 1px solid #f0f0ee;
}

.accordion-row {
    padding: 10px 16px 10px 40px;
    cursor: pointer;
    transition: background 0.1s ease;
    border-bottom: 1px solid #f8f8f6;
}

.accordion-row:last-child {
    border-bottom: none;
}

.accordion-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

.accordion-row-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.accordion-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.accordion-row-text {
    flex: 1;
    min-width: 0;
}

.accordion-row-title {
    font-weight: 500;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

.accordion-row-desc {
    font-size: 12px;
    color: #8a8a8a;
    margin-top: 2px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.accordion-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.accordion-date {
    font-size: 12px;
    color: #8a8a8a;
    white-space: nowrap;
}

.accordion-engagement {
    font-size: 12px;
    color: #6a6a6a;
    white-space: nowrap;
}

.salience-bar {
    height: 2px;
    background: #f0f0ee;
    border-radius: 1px;
    margin: 6px 0 0 40px;
    overflow: hidden;
}

.salience-fill {
    height: 100%;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.table-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 10px;
    white-space: nowrap;
}

.table-badge.type-project { background: rgba(139, 125, 184, 0.15); color: #6b5d9e; }
.table-badge.type-post { background: rgba(107, 154, 172, 0.15); color: #4a7a8c; }
.table-badge.type-tweet { background: rgba(184, 168, 139, 0.15); color: #8a7a5e; }
.table-badge.type-post\ \+\ tweet { background: rgba(139, 154, 168, 0.15); color: #5a7a8c; }

.topic-tag {
    display: inline-block;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.55);
}

/* ===== Bottom Sheet Content Panel ===== */

#panel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#panel-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Desktop: right-side panel */
#content-panel {
    position: fixed;
    top: 50px;
    right: 0;
    bottom: 0;
    width: 0;
    background: white;
    border-radius: 12px 0 0 12px;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.10);
    z-index: 700;
    display: flex;
    flex-direction: column;
    transition: width 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
}

#content-panel.half,
#content-panel.full {
    width: 55%;
    min-width: 420px;
    max-width: 720px;
}

#content-panel.dragging {
    transition: none;
}

#panel-drag-handle {
    display: none;
}

.handle-bar {
    width: 36px;
    height: 4px;
    background: #d0d0d0;
    border-radius: 2px;
}

#close-panel {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    color: #6a6a6a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    z-index: 10;
}

#close-panel:hover {
    background: #e0e0e0;
    color: #1a1a1a;
}

#panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px 24px;
    -webkit-overflow-scrolling: touch;
}

#panel-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-right: 36px;
}

#panel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

#panel-meta .badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #6a6a6a;
    background: #f0f0f0;
    border-radius: 12px;
    text-transform: capitalize;
}

#panel-meta .date {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    background: #f0f0f0;
    border-radius: 12px;
    color: #6a6a6a;
}

#panel-content {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
}

#panel-content p {
    margin-bottom: 12px;
}

#panel-content a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: opacity 0.15s ease;
}

#panel-content a:hover {
    opacity: 0.6;
}

#panel-content .panel-link {
    display: inline-block;
    margin-top: 12px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1.5px solid #1a1a1a;
    transition: opacity 0.15s ease;
}

#panel-content .panel-link:hover {
    opacity: 0.6;
}

/* Multi-link panel items */
.panel-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.panel-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f4f4f2;
    border-radius: 6px;
    text-decoration: none;
    color: #1a1a1a;
    transition: background 0.15s ease;
}

.panel-link-item:hover {
    background: #eaeae8;
}

.panel-link-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.panel-link-label {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.panel-link-meta {
    font-size: 12px;
    color: #8a8a8a;
    flex-shrink: 0;
}

/* Markdown content in panel */
#panel-content h1 { font-family: Georgia, serif; font-size: 24px; font-weight: 400; margin: 24px 0 16px; color: #1a1a1a; }
#panel-content h2 { font-family: Georgia, serif; font-size: 20px; font-weight: 400; margin: 20px 0 12px; color: #1a1a1a; }
#panel-content h3 { font-size: 16px; font-weight: 500; margin: 16px 0 8px; color: #1a1a1a; }
#panel-content ul { padding-left: 20px; margin-bottom: 12px; }
#panel-content li { margin-bottom: 6px; color: #4a4a4a; }
#panel-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 16px 0; }

/* URL preview cards in panel */
#panel-content .content-item {
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 12px;
    background: rgba(107, 154, 172, 0.04);
    border-left: 2px solid rgba(107, 154, 172, 0.2);
    transition: all 0.2s ease;
}

#panel-content .content-item:hover {
    background: rgba(107, 154, 172, 0.08);
    transform: translateX(2px);
}

#panel-content .content-item h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 4px;
    color: #1a1a1a;
}

#panel-content .content-item p {
    color: #6a6a6a;
    font-size: 14px;
    margin: 4px 0;
}

#panel-content .url-preview-card {
    padding: 0;
    overflow: hidden;
}

#panel-content .url-preview-link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

#panel-content .url-preview-content {
    flex: 1;
    padding: 16px;
    min-width: 0;
}

#panel-content .url-preview-image-container {
    width: 80px;
    min-width: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px 0 0 4px;
}

#panel-content .url-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#panel-content .url-domain {
    display: inline-block;
    font-size: 11px;
    color: #8a8a8a;
    margin-top: 4px;
}

/* Tweet cluster list in panel */
.cluster-tweet-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cluster-tweet-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-bottom: none;
}

.cluster-tweet-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0ee;
    transition: background 0.1s ease;
}

.cluster-tweet-link:hover .cluster-tweet-item {
    background: rgba(0, 0, 0, 0.02);
}

.cluster-tweet-text {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 6px;
}

.cluster-tweet-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cluster-tweet-likes {
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 500;
}

.cluster-tweet-date {
    font-size: 12px;
    color: #aaa;
}

/* Repercussions list in panel */
#panel-content .repercussions-list {
    list-style: none;
    padding: 0;
}

#panel-content .repercussions-list li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.6;
}

#panel-content .repercussions-list li:before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #6a6a6a;
}

/* ===== Graph Node Tooltip ===== */

.node-tooltip {
    position: fixed;
    padding: 8px 12px;
    background: rgba(26, 26, 26, 0.9);
    color: white;
    font-size: 12px;
    border-radius: 6px;
    pointer-events: none;
    z-index: 550;
    max-width: 240px;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.node-tooltip.visible {
    opacity: 1;
}

.node-tooltip .tooltip-title {
    font-weight: 500;
    margin-bottom: 2px;
}

.node-tooltip .tooltip-type {
    font-size: 10px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    #site-header {
        padding: 0 12px;
        gap: 8px;
    }

    .header-tagline {
        display: none;
    }

    .header-nav {
        gap: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .header-nav::-webkit-scrollbar {
        display: none;
    }

    .header-nav a {
        font-size: 12px;
        padding: 4px 8px;
    }

    .header-sep {
        display: none;
    }

    .header-external {
        display: none;
    }

    .header-toggle {
        padding: 4px 8px;
        font-size: 11px;
    }

    /* Mobile: revert to bottom sheet */
    #content-panel {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
        transition: height 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }

    #content-panel.half {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 60vh;
    }

    #content-panel.full {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: calc(100vh - 50px);
        border-radius: 0;
    }

    #panel-drag-handle {
        display: flex;
        padding: 12px 0 8px;
        cursor: grab;
        justify-content: center;
        flex-shrink: 0;
        touch-action: none;
    }

    #panel-body {
        padding: 0 16px 16px;
    }

    #panel-title {
        font-size: 20px;
    }

    /* Table responsive */
    .accordion-row-desc {
        display: none;
    }

    .accordion-row-meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }

    .accordion-engagement {
        display: none;
    }

    .accordion-row {
        padding-left: 24px;
    }

    .salience-bar {
        margin-left: 24px;
    }
}

@media (max-width: 480px) {
    .header-name {
        font-size: 16px;
    }

    .header-toggles {
        display: none;
    }
}

/* ===== Legacy page support ===== */
/* Keep styles for standalone pages like reads-i-love.html etc. */

.landing-page {
    background: #fafafa;
    min-height: 100vh;
    overflow: auto;
    height: auto;
}

.landing-page .landing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
}

.landing-page .landing-header {
    margin-bottom: 80px;
}

.landing-page .header-title {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.landing-page h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 400;
    margin: 0;
    color: #1a1a1a;
}

.landing-page .intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #6a6a6a;
    margin: 20px 0 24px 0;
    max-width: 600px;
}

.landing-page .header-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.landing-page .header-nav a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.landing-page .header-nav a:hover {
    color: #1a1a1a;
}

/* Icon navigation */
.nav-icon {
    position: relative;
    font-size: 18px;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-icon::after {
    content: attr(data-label);
    font-size: 14px;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-icon:hover::after {
    opacity: 1;
    max-width: 150px;
}

/* External links group */
.external-links-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px 4px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.02);
    position: relative;
    margin-left: 8px;
}

.external-links-group::after {
    content: "\2197";
    font-size: 12px;
    color: #6a6a6a;
    margin-left: 4px;
}

.home-link {
    color: inherit;
    text-decoration: none;
}

.home-link:hover {
    opacity: 0.7;
}

.graph-button {
    font-family: inherit;
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    padding: 8px 16px;
    border: 1.5px solid #1a1a1a;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.graph-button:hover {
    background: #1a1a1a;
    color: #fafafa;
}

/* Content section styles for legacy pages */
.content-section {
    margin-bottom: 80px;
}

.content-section p {
    color: #6a6a6a;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content-item {
    padding: 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(107, 154, 172, 0.02);
    border-left: 2px solid rgba(107, 154, 172, 0.2);
}

.content-item:hover {
    background: rgba(107, 154, 172, 0.05);
    transform: translateX(4px);
}

.content-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.content-item h3 a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.content-item h3 a:hover {
    border-bottom-color: #1a1a1a;
}

.content-author {
    font-size: 14px;
    color: #8a8a8a;
    font-style: italic;
    margin-bottom: 8px;
}

.content-item p {
    color: #6a6a6a;
    font-size: 15px;
    line-height: 1.6;
    margin: 4px 0;
}

.reading-note {
    color: #8a8a8a;
    font-size: 14px;
    margin-top: 8px;
}

/* URL Preview Cards */
.url-preview-card {
    padding: 0 !important;
    overflow: hidden;
}

.url-preview-link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.url-preview-card .url-preview-content {
    flex: 1;
    padding: 20px;
    min-width: 0;
}

.url-preview-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.url-preview-card p {
    color: #6a6a6a;
    font-size: 15px;
    line-height: 1.6;
    margin: 4px 0;
}

.url-preview-image-container {
    width: 100px;
    min-width: 100px;
    max-height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px 0 0 4px;
}

.url-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.url-domain {
    display: inline-block;
    font-size: 12px;
    color: #8a8a8a;
    margin-top: 4px;
}

.url-preview-card:hover {
    background: rgba(107, 154, 172, 0.08);
}

/* Repercussions list */
.repercussions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.repercussions-list li {
    color: #6a6a6a;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
}

.repercussions-list li:before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #6a6a6a;
}

/* Markdown images */
.content-section img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 4px;
    display: block;
}

/* Inline links in content */
.content-section p a,
.content-section li a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: opacity 0.2s ease;
}

.content-section p a:hover,
.content-section li a:hover {
    opacity: 0.6;
}

/* Scrollbar styling */
#panel-body::-webkit-scrollbar,
#table-view::-webkit-scrollbar {
    width: 6px;
}

#panel-body::-webkit-scrollbar-track,
#table-view::-webkit-scrollbar-track {
    background: transparent;
}

#panel-body::-webkit-scrollbar-thumb,
#table-view::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 3px;
}

#panel-body::-webkit-scrollbar-thumb:hover,
#table-view::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

@media (max-width: 768px) {
    .landing-page .landing-container {
        padding: 60px 24px;
    }

    .landing-page h1 {
        font-size: 36px;
    }
}
