/* ==========================================================================
   YouTube Comment Intelligence & Audience Sentiment Radar (GuinRank V7)
   Theme-First Dynamic Platform Identity Standard (var(--primary-color))
   With Bento Features Cluster & Strict Root-Level Modal Architecture
   ========================================================================== */

#comment-intelligence-app {
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
    padding: 28px 20px 80px;
    font-family: inherit;
    color: var(--text-main);
    box-sizing: border-box;
    transition: max-width 0.3s ease, width 0.3s ease;
}

#comment-intelligence-app.is-wide-mode {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: clamp(12px, 2vw, 36px) !important;
    padding-right: clamp(12px, 2vw, 36px) !important;
}

#comment-intelligence-app.is-wide-mode .results-dashboard,
#comment-intelligence-app.is-wide-mode .audit-hub-container,
#comment-intelligence-app.is-wide-mode .table-card,
#comment-intelligence-app.is-wide-mode .table-responsive,
#comment-intelligence-app.is-wide-mode .charts-grid,
#comment-intelligence-app.is-wide-mode .console-features,
#comment-intelligence-app.is-wide-mode .unified-search-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Background Ambient Glow */
.hero-ambient-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 320px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
}

/* Loading & Content Transition */
.tool-loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.tool-content-state {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.tool-content-state.none { display: none; }
.tool-content-state.show { display: flex; animation: tkFadeIn 0.35s ease forwards; }

@keyframes tkFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Console Presentation Hero */
.console-hero {
    text-align: center;
    padding: 20px 10px 10px;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: var(--primary-light);
    border: 1px solid var(--primary-border-light);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-badge i { width: 14px; height: 14px; }

.hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--text-main);
}
.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 70%, #f59e0b) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-description {
    font-size: 15px;
    color: var(--text-sub);
    max-width: 760px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.hero-features-belt {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.belt-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}
.belt-item i { width: 16px; height: 16px; color: var(--primary-color); }

/* Compliance Micro-Pill (Section III.E.2) */
.yt-compliance-micro-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-sub);
    max-width: fit-content;
    margin: 0 auto;
}
.cmp-icon i { width: 15px; height: 15px; color: var(--primary-color); vertical-align: middle; }
.cmp-action-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.cmp-action-btn:hover { opacity: 0.8; }

/* Unified Control & Search Bar */
.unified-search-container {
    width: 100%;
    margin-bottom: 8px;
}
.unified-search-bar {
    display: flex;
    align-items: stretch;
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    padding: 6px;
    gap: 8px;
    box-shadow: var(--shadow-md), 0 0 0 1px var(--primary-border-light);
    flex-wrap: wrap;
}
.search-segment {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.search-segment:hover {
    border-color: var(--border-color);
    background: rgba(255, 255, 255, 0.04);
}
.dropdown-segment { cursor: pointer; user-select: none; }
.channel-segment { flex: 1.2; min-width: 240px; }
.video-url-segment { flex: 2; min-width: 280px; }
.range-segment { min-width: 140px; }
.action-segment { padding: 0; background: none; }

.segment-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.channel-avatar-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid var(--primary-border-light);
}
.channel-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.segment-label-group {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-grow: 1;
}
.segment-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.segment-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chevron-icon i { width: 16px; height: 16px; color: var(--text-muted); }

.segment-icon i { width: 18px; height: 18px; color: var(--primary-color); }
.segment-input-wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-left: 8px;
    margin-right: 8px;
}
.segment-text-input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    padding: 2px 0;
}
.segment-text-input::placeholder { color: var(--text-muted); }
.clear-input-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}
.clear-input-btn:hover { color: var(--text-main); }
.clear-input-btn i { width: 14px; height: 14px; }

/* Dropdown Glass Menu */
.glass-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-border-light);
    z-index: 100;
    overflow: hidden;
    animation: tkFadeIn 0.2s ease;
}
.dropdown-header {
    padding: 10px 14px 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-sub);
    text-transform: uppercase;
}
.dropdown-list {
    max-height: 220px;
    overflow-y: auto;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.dropdown-item:hover { background: var(--primary-light); }
.dropdown-item.is-selected { background: var(--primary-light); color: var(--primary-color); font-weight: 700; }
.item-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.item-info { display: flex; flex-direction: column; flex-grow: 1; overflow: hidden; }
.item-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-sub { font-size: 11px; color: var(--text-sub); }
.check-icon i { width: 16px; height: 16px; color: var(--primary-color); }
.dropdown-empty { padding: 14px; text-align: center; color: var(--text-muted); font-size: 12px; }
.dropdown-footer { padding: 8px 14px; border-top: 1px solid var(--border-color); }
.add-channel-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.add-channel-link:hover { text-decoration: underline; }
.add-channel-link i { width: 14px; height: 14px; }

/* Primary Action Button */
.run-audit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-gradient-end, var(--primary-color)));
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
    height: 100%;
    min-height: 48px;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary-color) 40%, transparent);
}
.run-audit-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--primary-color) 50%, transparent);
}
.run-audit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-icon i { width: 16px; height: 16px; }
.btn-cost-badge {
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
}
.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   STANDARD BENTO FEATURES CLUSTER (.console-features)
   ========================================================================== */

.console-features {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
}

.bento-features-cluster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(140px, auto);
    gap: 16px;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-border-light);
    box-shadow: var(--shadow-md);
}

.bc-wide-top { grid-column: span 2; }
.bc-wide-mid { grid-column: span 2; }
.bc-tall { grid-row: span 2; }

.dashed-ring-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1.5px dashed var(--primary-color);
    padding: 3px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.bc-icon-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}
.bc-icon-wrapper i { width: 20px; height: 20px; }

.bc-content {
    position: relative;
    z-index: 2;
}

.bc-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-main);
}

.bc-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.bento-decor-icon {
    position: absolute;
    bottom: -10px;
    opacity: 0.08;
    color: var(--text-main);
    pointer-events: none;
}
.bento-decor-icon i { width: 80px; height: 80px; }

[dir="rtl"] .bento-decor-icon { left: 18px; right: auto; }
[dir="ltr"] .bento-decor-icon { right: 18px; left: auto; }

/* CSS Keyframe Animations for Bento Cards */
.anim-spin { animation: bento-spin 4s linear infinite; }
.anim-pulse { animation: bento-pulse 2.2s ease-in-out infinite; }
.anim-float { animation: bento-float 3s ease-in-out infinite; }
.anim-glow { animation: bento-glow 2.5s alternate infinite; }
.anim-tilt { animation: bento-tilt 3s ease-in-out infinite; }
.anim-bounce { animation: bento-bounce 2.2s infinite; }

@keyframes bento-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes bento-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes bento-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes bento-glow { 0% { opacity: 0.05; } 100% { opacity: 0.16; } }
@keyframes bento-tilt { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(12deg); } }
@keyframes bento-bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 60% { transform: translateY(-4px); } }

/* Fetching Progress Banner */
.fetching-progress-banner {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: tkFadeIn 0.3s ease;
}
.progress-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}
.fetching-spinner i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}
.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 70%, #00f2fe));
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Results Studio Container */
.results-studio-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: tkFadeIn 0.4s ease;
}

/* Studio Header Card */
.studio-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 16px;
}
.studio-channel-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}
.sch-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-border-light);
}
.sch-details { display: flex; flex-direction: column; gap: 4px; }
.sch-title-row { display: flex; align-items: center; gap: 12px; }
.sch-title { font-size: 18px; font-weight: 900; margin: 0; color: var(--text-main); }
.nss-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}
.nss-pill i { width: 14px; height: 14px; }
.nss-positive { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.nss-neutral { background: rgba(139, 148, 158, 0.15); color: #8b949e; border: 1px solid rgba(139, 148, 158, 0.3); }
.nss-negative { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.sch-stats-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sch-stat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-sub);
    font-weight: 600;
}
.sch-stat-tag i { width: 14px; height: 14px; color: var(--text-muted); }

.studio-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.action-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.action-pill-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-border-light);
    color: var(--primary-color);
}
.action-pill-btn i { width: 14px; height: 14px; }
.refresh-btn { padding: 8px 10px; }

.export-dropdown-wrapper { position: relative; }
.export-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    display: flex;
    flex-direction: column;
}
.export-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}
.export-item:hover { background: var(--primary-light); color: var(--primary-color); }
.export-item i { width: 15px; height: 15px; color: var(--primary-color); }

/* Master KPIs Grid */
.master-kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1080px) {
    .master-kpis-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .master-kpis-grid { grid-template-columns: 1fr; }
}

.kpi-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-border-light);
}
.kpi-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.kpi-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.kpi-icon i { width: 18px; height: 18px; }
.icon-sentiment i { color: var(--primary-color); }
.icon-positive i { color: #10b981; }
.icon-friction i { color: #ef4444; }
.icon-cyan i { color: #00f2fe; }

.kpi-metric-hero {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 4px;
}
.kpi-number {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    color: var(--text-main);
}
.text-green { color: #10b981 !important; }
.text-red { color: #ef4444 !important; }
.text-cyan { color: #00f2fe !important; }

.kpi-status-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}
.badge-green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge-red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.kpi-sub-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}
.kpi-desc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0;
}
.kpi-mini-bar {
    display: flex;
    height: 4px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 6px;
}
.kmb-pos { background: #10b981; }
.kmb-neu { background: #8b949e; }
.kmb-neg { background: #ef4444; }

/* Friction Points Section */
.friction-radar-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.st-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.st-icon i { width: 22px; height: 22px; color: #ef4444; }
.st-title { font-size: 18px; font-weight: 900; margin: 0; color: var(--text-main); }
.st-subtitle { font-size: 13px; color: var(--text-sub); margin: 2px 0 0; }
.st-count-pill {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    font-size: 12px;
    font-weight: 800;
}

.friction-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}
.friction-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(239, 68, 68, 0.2);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}
.friction-card:hover {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.03);
}
.fc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fc-impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}
.fc-impact-badge i { width: 12px; height: 12px; }
.impact-high { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.impact-medium { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.impact-low { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.fc-count-tag { font-size: 11px; font-weight: 800; color: var(--text-muted); }

.fc-title { font-size: 15px; font-weight: 800; margin: 0; color: var(--text-main); }
.fc-desc { font-size: 12.5px; color: var(--text-sub); line-height: 1.5; margin: 0; }

.fc-quotes-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fc-quotes-title { font-size: 10.5px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; }
.fc-quote-item { display: flex; gap: 6px; font-size: 12px; color: var(--text-main); font-style: italic; }
.quote-mark { color: #ef4444; font-weight: 900; }

.fc-rec-box {
    background: var(--primary-light);
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
[dir="rtl"] .fc-rec-box {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}
.rec-title { font-size: 11px; font-weight: 800; color: var(--primary-color); }
.rec-action { font-size: 12px; color: var(--text-main); line-height: 1.5; margin: 0; }

.fc-actions { margin-top: auto; padding-top: 6px; }
.fc-pinned-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.fc-pinned-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}
.fc-pinned-btn i { width: 14px; height: 14px; }

/* ApexCharts Dual Analytics Grid */
.charts-dual-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 20px;
}
@media (max-width: 980px) {
    .charts-dual-grid { grid-template-columns: 1fr; }
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.chart-header { display: flex; align-items: center; justify-content: space-between; }
.chart-title-group { display: flex; align-items: center; gap: 10px; }
.chart-icon i { width: 20px; height: 20px; }
.chart-title { font-size: 16px; font-weight: 900; margin: 0; color: var(--text-main); }
.chart-subtitle { font-size: 12px; color: var(--text-sub); margin: 2px 0 0; }
.chart-wrapper { width: 100%; min-height: 280px; position: relative; }
.apex-chart-container { width: 100%; height: 100%; min-height: 280px; }

/* Sentiment Action Inbox Section */
.sentiment-inbox-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.inbox-command-hub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}
.hub-header-left { display: flex; align-items: center; gap: 12px; }
.hub-icon i { width: 22px; height: 22px; color: var(--primary-color); }
.hub-title { font-size: 18px; font-weight: 900; margin: 0; color: var(--text-main); }
.hub-subtitle { font-size: 12.5px; color: var(--text-sub); margin: 2px 0 0; }

.hub-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px 12px;
    min-width: 240px;
}
.hs-icon i { width: 14px; height: 14px; color: var(--text-muted); }
.hs-input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 13px;
    width: 100%;
}
.hs-clear { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0; }
.hs-clear i { width: 12px; height: 12px; }

.hub-view-mode-toggles { display: flex; gap: 6px; }
.view-mode-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.view-mode-btn:hover, .view-mode-btn.is-active {
    background: var(--primary-light);
    border-color: var(--primary-border-light);
    color: var(--primary-color);
}
.view-mode-btn i { width: 16px; height: 16px; }

/* Filter Tabs & Sort Row */
.inbox-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.inbox-filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}
.inbox-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.inbox-tab-btn:hover { background: rgba(255, 255, 255, 0.06); color: var(--text-main); }
.inbox-tab-btn.is-active {
    background: var(--primary-light);
    border-color: var(--primary-border-light);
    color: var(--primary-color);
}
.tab-friction.is-active {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}
.tab-positive.is-active {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
}
.tab-questions.is-active {
    background: rgba(0, 242, 254, 0.15);
    border-color: #00f2fe;
    color: #00f2fe;
}
.tab-toxic.is-active {
    background: rgba(127, 29, 29, 0.25);
    border-color: #dc2626;
    color: #f87171;
}

.tab-dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-green { background: #10b981; }
.dot-cyan { background: #00f2fe; }
.dot-dark-red { background: #dc2626; }
.tab-count-badge {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 11px;
}

.inbox-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.sort-label { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.sort-dropdown-custom {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}
.sort-chevron i { width: 14px; height: 14px; color: var(--text-muted); }
.sort-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}
.sort-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-main);
    transition: background 0.15s ease;
}
.sort-item:hover { background: var(--primary-light); color: var(--primary-color); }
.sort-item.is-selected { color: var(--primary-color); background: var(--primary-light); font-weight: 700; }

/* Comment Cards Grid */
.inbox-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
}
@media (max-width: 600px) {
    .inbox-cards-grid { grid-template-columns: 1fr; }
}

.comment-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}
.comment-card:hover {
    border-color: var(--primary-border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.card-sentiment-positive { border-left: 3px solid #10b981; }
.card-sentiment-negative { border-left: 3px solid #ef4444; }
.card-sentiment-question { border-left: 3px solid #00f2fe; }
.card-sentiment-toxic { border-left: 3px solid #dc2626; opacity: 0.85; }
[dir="rtl"] .card-sentiment-positive { border-left: none; border-right: 3px solid #10b981; }
[dir="rtl"] .card-sentiment-negative { border-left: none; border-right: 3px solid #ef4444; }
[dir="rtl"] .card-sentiment-question { border-left: none; border-right: 3px solid #00f2fe; }
[dir="rtl"] .card-sentiment-toxic { border-left: none; border-right: 3px solid #dc2626; }

.cc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.cc-author-meta { display: flex; align-items: center; gap: 10px; }
.cc-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.cc-author-info { display: flex; flex-direction: column; }
.cc-author-name { font-size: 13.5px; font-weight: 800; color: var(--text-main); }
.cc-date { font-size: 11px; color: var(--text-muted); }

.cc-badge-group { display: flex; align-items: center; gap: 6px; }
.sentiment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}
.sentiment-badge i { width: 12px; height: 12px; }
.badge-positive { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-negative { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-question { background: rgba(0, 242, 254, 0.15); color: #00f2fe; border: 1px solid rgba(0, 242, 254, 0.3); }
.badge-toxic { background: rgba(127, 29, 29, 0.35); color: #f87171; border: 1px solid rgba(220, 38, 38, 0.4); }
.badge-neutral { background: rgba(139, 148, 158, 0.15); color: #8b949e; border: 1px solid rgba(139, 148, 158, 0.3); }
.score-pill { font-size: 11px; font-weight: 800; color: var(--text-muted); }

.cc-video-ref {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}
.cvr-icon i { width: 13px; height: 13px; color: var(--text-muted); }
.cvr-link {
    color: var(--text-sub);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}
.cvr-link:hover { color: var(--primary-color); text-decoration: underline; }

.cc-text-box { margin: 2px 0; }
.cc-text { font-size: 13.5px; color: var(--text-main); line-height: 1.55; margin: 0; }

.cc-tags-belt { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-tag-pill {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 11px;
    color: var(--text-sub);
    font-weight: 700;
}

.cc-ai-reply-box {
    background: var(--primary-light);
    border: 1px dashed var(--primary-border-light);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.car-header { display: flex; align-items: center; justify-content: space-between; }
.car-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
}
.car-title i { width: 13px; height: 13px; }
.car-copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
}
.car-copy-btn:hover { background: rgba(255, 255, 255, 0.1); }
.car-copy-btn i { width: 12px; height: 12px; }
.car-reply-text { font-size: 12.5px; color: var(--text-main); line-height: 1.5; margin: 0; }

.cc-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.cca-stats { display: flex; gap: 10px; }
.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--text-muted);
}
.stat-pill i { width: 13px; height: 13px; }
.cca-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.cca-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-border-light);
    color: var(--primary-color);
}
.cca-btn i { width: 13px; height: 13px; }

/* Empty Filter State */
.inbox-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ies-icon i { width: 36px; height: 36px; color: var(--text-muted); }
.ies-title { font-size: 16px; font-weight: 800; margin: 0; color: var(--text-main); }
.ies-desc { font-size: 13px; color: var(--text-sub); margin: 0; }
.ies-reset-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
}

/* Data Table View */
.inbox-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.inbox-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}
[dir="rtl"] .inbox-data-table { text-align: right; }
.inbox-data-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-sub);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
.inbox-data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: top;
}
.inbox-data-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.t-author-cell { display: flex; gap: 12px; max-width: 480px; }
.t-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.t-author-content { display: flex; flex-direction: column; gap: 4px; }
.t-author-head { display: flex; align-items: baseline; gap: 8px; }
.t-author-name { font-weight: 800; font-size: 13px; color: var(--text-main); }
.t-date { font-size: 11px; color: var(--text-muted); }
.t-comment-text { font-size: 12.5px; color: var(--text-sub); line-height: 1.5; margin: 0; }

.t-sentiment-cell { display: flex; flex-direction: column; gap: 4px; }
.t-score { font-size: 11px; color: var(--text-muted); }

.t-video-cell { max-width: 240px; }
.t-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}
.t-video-link:hover { color: var(--primary-color); }
.t-video-link i { width: 13px; height: 13px; color: var(--text-muted); flex-shrink: 0; }

.t-stats-cell { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; font-size: 11.5px; color: var(--text-muted); }
.t-stat { display: inline-flex; align-items: center; gap: 4px; }
.t-stat i { width: 12px; height: 12px; }

.t-actions-cell { display: flex; gap: 6px; }
.t-act-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--text-main);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.t-act-btn:hover { background: var(--primary-light); border-color: var(--primary-border-light); color: var(--primary-color); }
.t-act-btn i { width: 13px; height: 13px; }

/* YouTube Policies Disclaimer Subtle Footer */
.yt-disclaimer-subtle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}
.disclaimer-icon i { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }

/* ==========================================================================
   STANDARD 9: ZERO-SCROLL TRAP ROOT-LEVEL MODALS
   ========================================================================== */

html.modal-open, body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
}

.custom-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    animation: tkFadeIn 0.2s ease;
}

.custom-modal-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.modal-card {
    position: relative;
    z-index: 2;
    background: var(--card-bg) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-border-light) !important;
    width: 100%;
    max-width: 680px;
    max-height: 85vh !important;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
}

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: var(--card-bg);
}
.modal-title-group { display: flex; align-items: center; gap: 10px; }
.modal-header-icon i { width: 22px; height: 22px; color: var(--primary-color); }
.modal-title { font-size: 17px; font-weight: 900; margin: 0; color: var(--text-main); }
.modal-subtitle { font-size: 12px; color: var(--text-sub); margin: 2px 0 0; }
.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--text-main); }
.modal-close-btn i { width: 18px; height: 18px; }

.modal-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto !important;
    max-height: calc(85vh - 135px);
}

.modal-comment-quote {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mcq-author { display: flex; align-items: center; gap: 8px; }
.mcq-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.mcq-name { font-size: 13px; font-weight: 800; color: var(--text-main); }
.mini-badge { font-size: 10px; padding: 2px 6px; }
.mcq-text { font-size: 13px; color: var(--text-main); line-height: 1.5; margin: 0; }

.modal-tone-selector { display: flex; flex-direction: column; gap: 8px; }
.mts-label { font-size: 11px; font-weight: 800; color: var(--text-sub); text-transform: uppercase; }
.mts-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.mts-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.2s ease;
}
.mts-tab-btn:hover, .mts-tab-btn.is-active {
    background: var(--primary-light);
    border-color: var(--primary-border-light);
    color: var(--primary-color);
}

.modal-response-box { display: flex; flex-direction: column; gap: 6px; }
.mrb-label { font-size: 11px; font-weight: 800; color: var(--text-sub); text-transform: uppercase; }
.mrb-textarea {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    color: var(--text-main);
    font-size: 13px;
    line-height: 1.6;
    outline: none;
    resize: vertical;
}
.mrb-textarea:focus { border-color: var(--primary-color); }

.pinned-guide-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--primary-light);
    border: 1px solid var(--primary-border-light);
    border-radius: 10px;
}
.pgb-icon i { width: 16px; height: 16px; color: var(--primary-color); flex-shrink: 0; }
.pgb-text { font-size: 12px; color: var(--text-main); margin: 0; line-height: 1.5; }

.pinned-draft-box { display: flex; flex-direction: column; gap: 6px; }
.pdb-label { font-size: 11px; font-weight: 800; color: var(--text-sub); text-transform: uppercase; }
.pdb-textarea {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    color: var(--text-main);
    font-size: 13px;
    line-height: 1.6;
    outline: none;
    resize: vertical;
}
.pdb-textarea:focus { border-color: #ef4444; }

.pinned-action-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pas-title { font-size: 11px; font-weight: 800; color: var(--text-sub); text-transform: uppercase; }
.pas-desc { font-size: 12px; color: var(--text-main); line-height: 1.5; margin: 0; }

.compliance-statement-box { display: flex; flex-direction: column; gap: 12px; }
.cmp-p { font-size: 13.5px; color: var(--text-main); line-height: 1.6; margin: 0; }
.cmp-p.highlight {
    background: var(--primary-light);
    border-left: 3px solid var(--primary-color);
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
}
[dir="rtl"] .cmp-p.highlight { border-left: none; border-right: 3px solid var(--primary-color); }

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
    background: var(--card-bg);
}
.modal-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.modal-btn i { width: 14px; height: 14px; }
.outline-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}
.outline-btn:hover { background: rgba(255, 255, 255, 0.06); }
.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-gradient-end, var(--primary-color)));
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 40%, transparent);
}
.primary-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ApexCharts Quantum Custom Tooltip */
.sentiment-tooltip-quantum {
    background: var(--card-bg) !important;
    backdrop-filter: blur(14px) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: var(--text-main) !important;
    box-shadow: var(--shadow-lg) !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}
.stq-date { font-weight: 800; color: var(--text-sub); border-bottom: 1px solid var(--border-color); padding-bottom: 4px; }
.stq-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stq-badge { font-weight: 700; }
.stq-val { font-weight: 900; font-family: monospace; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .bento-features-cluster { grid-template-columns: repeat(2, 1fr); }
    .bc-wide-top, .bc-wide-mid { grid-column: span 2; }
}
@media (max-width: 768px) {
    .bento-features-cluster { grid-template-columns: 1fr; }
    .bc-wide-top, .bc-wide-mid, .bc-tall { grid-column: span 1; grid-row: span 1; }
    .hero-title { font-size: 26px; }
    .unified-search-bar { flex-direction: column; align-items: stretch; }
    .run-audit-btn { width: 100%; border-radius: 12px; }
}
