:root {
    --ckh-primary: #006400;
    --ckh-secondary: #0f172a;
    --ckh-bg: #f8fafc;
    --ckh-border: #e2e8f0;
    --ckh-text: #1e293b;
    --ckh-text-muted: #64748b;
    --ckh-card-bg: #ffffff;
    --ckh-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --ckh-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#ckh-filter-container {
    max-width: 1200px;
    margin: 2rem auto;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--ckh-shadow);
    border: 1px solid var(--ckh-border);
}

.filters select {
    flex: 1;
    min-width: 180px;
    padding: 0 0.75rem;
    border: 1px solid var(--ckh-border);
    border-radius: 0.5rem;
}

/* Tabular Div Layout */
.ckh-table-header {
    display: flex;
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--ckh-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ckh-row {
    display: flex;
    align-items: center;
    background: white;
    padding: 1rem;
    border-bottom: 1px solid var(--ckh-border);
    transition: background 0.2s;
}

.ckh-row:hover {
    background: #f8fafc;
}

.ckh-row:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Columns */
.col-img {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
    padding-right: 1.5rem;
}

.col-make {
    flex: 0 0 130px;
    margin-right: 15px;
}

.col-model {
    flex: 0 0 160px;
    padding-right: 1.5rem;
}

.col-year {
    flex: 0 0 140px;
    padding-right: 1.5rem;
}

.col-title {
    flex: 1;
    min-width: 0;
    padding-right: 1.5rem;
}

.col-market {
    flex: 0 0 160px;
    display: flex;
    justify-content: flex-end;
}

.col-img img {
    max-width: 80px;
    height: auto;
    border-radius: 0.25rem;
    display: block;
}

.ckh-no-img {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.ckh-no-img .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

.title-link {
    color: var(--ckh-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.25;
    display: inline-block;
    vertical-align: middle;
}

/* Badges */
.ckh-badge {
    padding: 0.25rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-align: center;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.ckh-badge.make {
    background: #eff6ff;
    color: #1e40af;
    border-color: #dbeafe;
}

.ckh-badge.model {
    background: #fdf2f8;
    color: #9d174d;
    border-color: #fce7f3;
}

.ckh-badge.year {
    background: #f0f9ff;
    color: #0369a1;
    border-color: #e0f2fe;
    font-size: 0.7rem;
    line-height: 1.2;
}

.ckh-badge.market {
    background: #f0fdf4;
    color: #166534;
    border-color: #dcfce7;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.2;
}

/* Pagination */
.ckh-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.ckh-pagination .page-numbers {
    padding: 0.5rem 1rem;
    border: 1px solid var(--ckh-border);
    border-radius: 0.25rem;
    text-decoration: none;
    color: var(--ckh-text);
    background: white;
}

.ckh-pagination .current {
    background: var(--ckh-primary);
    color: white;
    border-color: var(--ckh-primary);
}

#ckh-results {
    position: relative;
    min-height: 400px;
}

#ckh-results::before {
    content: none !important;
}

#ckh-table-body {
    transition: all 0.3s ease;
    min-height: inherit;
}

#ckh-table-body::before {
    content: none !important;
}

#ckh-table-body.loading {
    opacity: 0.4;
}

.ckh-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    z-index: 100;
    border-radius: 0.75rem;
    pointer-events: none;
}

#ckh-results.loading .ckh-loader-overlay {
    display: flex;
}

.ckh-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 100, 0, 0.1);
    border-top-color: var(--ckh-primary);
    border-radius: 50%;
    animation: ckh-spin 0.6s linear infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@keyframes ckh-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInLoader {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px dashed var(--ckh-border);
    color: var(--ckh-text-muted);
    text-align: center;
    margin: 1rem 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.no-results::before {
    content: '🔍';
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results p {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
}

.mobile-label {
    display: none;
}

/* Single Key Page */
#ckh-single-container {
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--ckh-shadow);
    overflow: hidden;
    padding-bottom: 3rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.ckh-single-header {
    background: linear-gradient(135deg, #010101, #334155);
    color: white;
    padding: 3rem;
}

.ckh-header-flex {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.ckh-main-img img {
    max-width: 250px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.ckh-header-info h1 {
    margin: 0 0 0.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: white !important;
}

.ckh-header-info .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Frontend Tabs Navigation */
.ckh-tab-nav {
    background: #f8fafc;
    border-bottom: 1px solid var(--ckh-border);
}

.ckh-tab-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
}

.ckh-tab-nav li a {
    display: block;
    padding: 1.25rem 0.5rem;
    text-decoration: none;
    color: var(--ckh-text-muted);
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.ckh-tab-nav li.active a {
    color: var(--ckh-primary);
    border-bottom-color: var(--ckh-primary);
}

/* Tab Panes */
.ckh-tab-content {
    padding: 2rem;
}

.ckh-tab-pane {
    display: none;
}

.ckh-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview Table */
.ckh-overview-container {
    margin-bottom: 3rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--ckh-border);
}

.ckh-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 3rem;
}

.ckh-ov-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.75rem;
}

.ov-label {
    font-weight: 700;
    color: var(--ckh-text-muted);
    font-size: 0.95rem;
}

.ov-value-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: right;
}

.ov-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ov-value {
    font-weight: 600;
    color: var(--ckh-text);
    font-size: 0.85rem;
}

.ckh-badge.small {
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 0.25rem;
}

/* Accordion Key Cards */
.key-card-header {
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.key-card-header:hover {
    background: #f1f5f9;
}

.acc-toggle-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
}

.acc-toggle-icon::before,
.acc-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--ckh-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.acc-toggle-icon::before {
    /* Horizontal */
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.acc-toggle-icon::after {
    /* Vertical */
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.key-card.expanded .acc-toggle-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}




.key-card-accordion {
    padding: 0 1.5rem 1.5rem;
    background: white;
    border-top: 1px solid var(--ckh-border);
}

.acc-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--ckh-border);
}

.acc-item:first-child {
    border: none;
}

.acc-item h5 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--ckh-text);
}

.acc-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

/* Internal Elements */
.ckh-tab-pane h3 {
    font-size: 1.6rem;
    margin: 3rem 0 2rem;
    padding-bottom: 0.75rem;
    color: var(--ckh-secondary);
    font-weight: 800;
    position: relative;
    border-bottom: none;
}

.ckh-tab-pane h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--ckh-primary);
    border-radius: 2px;
}

.ckh-tab-pane h3:first-child {
    margin-top: 0;
}

.code-series,
.dec-tips {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    border: 1px solid var(--ckh-border);
}

.code-series {
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap;
}

.dec-tips ul {
    margin: 0;
    padding-left: 1.25rem;
}

.dec-tips li {
    margin-bottom: 0.5rem;
}

/* Grids & Lists */
.key-grid,
.media-grid,
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.key-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.key-card,
.media-item,
.board-item {
    background: var(--ckh-card-bg);
    border-radius: 1rem;
    border: 1px solid var(--ckh-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--ckh-shadow);
}

/* Key List Layout override */
.key-list .key-card-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 2rem;
}

.key-list .key-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--ckh-border);
}

.key-list .card-content {
    flex-grow: 1;
    padding: 0;
}

.key-list .key-card:hover {
    transform: none;
    /* Disable vertical jump for list items */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.key-card:hover,
.media-item:hover,
.board-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--ckh-shadow-lg);
}

.key-card img,
.media-thumb img,
.board-item img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background: transparent;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.board-item h4 {
    background: #f1f5f9;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1rem;
    color: var(--ckh-secondary);
    font-weight: 700;
    border-bottom: 1px solid var(--ckh-border);
}

.card-content,
.media-content {
    padding: 1.5rem;
}

.card-content h4,
.media-content h4 {
    margin: 0 0 0.75rem;
    color: var(--ckh-text);
    font-size: 1.1rem;
}

.card-content.no-badges h4 {
    margin-bottom: 0;
}

/* Programming Sections */
.prog-section {
    margin-bottom: 4rem;
}

.prog-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prog-block {
    background: white;
    border: 1px solid var(--ckh-border);
    border-left: 5px solid var(--ckh-primary);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.prog-block h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--ckh-text);
}

.block-subtitle {
    color: var(--ckh-text-muted);
    font-style: italic;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.block-content {
    line-height: 1.7;
    color: #475569;
}

/* Programming Mini Cards */
.block-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.prog-mini-card {
    background: #f8fafc;
    border: 1px solid var(--ckh-border);
    border-radius: 0.5rem;
    padding: 1.25rem;
    text-align: center;
}

.prog-mini-card img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.prog-mini-card h5 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.prog-mini-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ckh-text-muted);
}

/* Programmers section */
.programmers-section {
    margin-top: 5rem;
}

.prm-item {
    background: white;
    border: 1px solid var(--ckh-border);
    border-radius: 1rem;
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.prm-header {
    background: #f1f5f9;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: background 0.2s;
}

.prm-header.is-collapsible {
    cursor: pointer;
    padding-right: 4rem;
    /* Space for icon */
}

.prm-header.is-collapsible:hover {
    background: #e2e8f0;
}

.prm-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.prm-title-row h4 {
    margin: 0;
}

.prm-badges-under {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ckh-badge.recommended {
    background: #fffbeb;
    color: #92400e;
    border-color: #fef3c7;
}

.prm-toggle-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.prm-toggle-icon::before,
.prm-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--ckh-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.prm-toggle-icon::before {
    /* Horizontal */
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.prm-toggle-icon::after {
    /* Vertical */
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.prm-item.expanded .prm-toggle-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}


.prm-header h4 {
    margin: 0;
    font-size: 1.25rem;
}

.prm-badges {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 1.5rem;
    /* Space between badges and toggle icon */
}

.prm-content {
    padding: 2rem;
}

.prm-sub-sec {
    margin-bottom: 3rem;
}

.prm-sub-sec:last-child {
    margin-bottom: 0;
}

.prm-sub-sec h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--ckh-primary);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.vid-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ef4444;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: background 0.2s;
}

.vid-btn:hover {
    background: #dc2626;
    color: white;
}

.vid-btn::before {
    content: '▶';
    font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 900px) {
    #ckh-single-container {
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
    }

    .ckh-table-header {
        display: none;
    }

    .ckh-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.5rem;
    }

    .col-img,
    .col-make,
    .col-model,
    .col-year,
    .col-title,
    .col-market {
        width: 100%;
        text-align: left;
        padding: 0;
        flex: 0 0 100%;
        display: flex;
        align-items: baseline;
    }

    .col-market {
        justify-content: flex-start;
    }

    .mobile-label {
        display: inline-block;
        font-weight: 700;
        color: var(--ckh-text-muted);
        min-width: 100px;
    }

    .col-img {
        text-align: center;
    }

    /* Single Mobile */
    .ckh-header-flex {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .ckh-tab-nav ul {
        overflow-x: auto;
        padding: 0 1rem;
        scrollbar-width: none;
    }

    .ckh-tab-nav li a {
        white-space: nowrap;
    }

    .ckh-single-header {
        padding: 3rem 1.5rem;
    }

    .ckh-tab-content {
        padding: 2rem 1.5rem;
    }

    .ckh-overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ckh-overview-container {
        padding: 1.5rem;
    }

    .prm-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-right: 4rem;
        /* Space for icon */
    }

    .prm-toggle-icon {
        position: absolute;
        top: 50%;
        right: 1.5rem;
    }
}

/* Modal / Lightbox */
#ckh-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999 !important;
    display: none;
    margin-top: 0 !important;
}

.ckh-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.ckh-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 1000001;
}

.ckh-modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.ckh-modal-title {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.ckh-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.ckh-modal-body {
    padding: 1.5rem;
    background: white;
}

.ckh-modal-open {
    overflow: hidden;
}

.ckh-placeholder.is-video {
    background: #1e293b;
}

.ckh-placeholder.is-video .dashicons {
    color: #f8fafc;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    background: black;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Media Trigger / Play Overlay */
.ckh-media-trigger {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.2s ease;
    background: #f1f5f9;
}

.ckh-media-trigger:hover {
    transform: scale(1.02);
}

.ckh-media-trigger img {
    display: block;
    width: 100%;
    height: auto;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.ckh-media-trigger:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-overlay .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: white;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.ckh-placeholder {
    height: 150px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.ckh-placeholder .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
}

/* ==========================================================================
   Mobile Adaptation
   ========================================================================== */

@media (max-width: 768px) {

    /* Header Stacking */
    .ckh-header-flex {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .ckh-main-img img {
        max-width: 200px;
        margin: 0 auto;
    }

    .ckh-header-info h1 {
        font-size: 1.75rem;
    }

    .ckh-header-info .subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Tab Navigation - Horizontal Scroll */
    .ckh-tab-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .ckh-tab-nav::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .ckh-tab-nav ul {
        padding: 0 1rem;
        gap: 1.5rem;
        width: max-content;
        /* Ensure items don't wrap */
    }

    .ckh-tab-nav li a {
        padding: 1rem 0.25rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* Tab Content Padding */
    .ckh-tab-content {
        padding: 1.5rem 1rem;
    }

    /* Overview Grid - Single Column */
    .ckh-overview-container {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }

    .ckh-overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ckh-ov-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding-bottom: 0.5rem;
    }

    .ov-value-wrap {
        text-align: left;
        width: 100%;
        justify-content: flex-start;
    }

    /* Sections and Spacing */
    .ckh-tab-pane h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 1rem;
    }

    /* Key Cards */
    .key-card-header {
        padding: 1rem !important;
    }

    .key-card-header .col-img {
        display: none;
        /* Hide image on very small mobile if space is tight, or resize */
    }
}

@media (max-width: 480px) {
    .ckh-header-info h1 {
        font-size: 1.5rem;
    }

    .ov-label {
        font-size: 0.85rem;
    }

    .ov-value {
        font-size: 0.95rem;
    }
}