html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #ecfeff;
    --text: #111827;
    --muted: #64748b;
    --border: #e2e8f0;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f59e0b;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px max(16px, calc((100vw - 1120px) / 2));
    background: rgba(248, 250, 252, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    overflow-x: clip;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    max-width: 100%;
}

.brand-logo {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-name,
.brand-tagline {
    display: block;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.brand-tagline {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.main-nav a,
.category-list a {
    padding: 8px 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.main-nav a:hover,
.category-list a:hover {
    color: var(--primary);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: end;
    padding: 28px 0;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero-copy h1 {
    max-width: 760px;
    margin-bottom: 14px;
    font-size: clamp(36px, 7vw, 64px);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-text {
    max-width: 640px;
    color: var(--muted);
    font-size: 18px;
}

.search-box {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.search-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 800;
}

.search-row {
    display: flex;
    gap: 8px;
}

.search-row input,
.newsletter-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
}

button,
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

button,
.button.primary {
    background: var(--primary);
    color: #ffffff;
}

button:hover,
.button.primary:hover {
    background: var(--primary-dark);
}

.button.secondary {
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
}

.top-story,
.article-card,
.side-panel,
.article-detail,
.empty-state {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.article-card,
.article-detail {
    overflow: hidden;
}

.top-story {
    margin: 10px 0 30px;
    padding: 28px;
}

.top-story h2 {
    max-width: 800px;
    margin-bottom: 12px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
}

.audio-playlist {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 18px;
    align-items: center;
    margin: 0 0 18px;
    border: 1px solid #b5e3dc;
    border-radius: 8px;
    background: #f0fdfa;
    padding: 18px;
}

.audio-playlist h2 {
    margin-bottom: 0;
    font-size: 22px;
    line-height: 1.2;
}

.audio-playlist-note {
    max-width: 560px;
    margin: 8px 0 0;
    color: #475569;
    font-size: 14px;
}

.audio-playlist-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.audio-playlist-controls p {
    grid-column: 1 / -1;
    min-height: 20px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.app-install-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 18px;
    align-items: center;
    margin: -4px 0 24px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    padding: 16px;
}

.app-install-card[hidden] {
    display: none;
}

.app-install-card-article {
    margin: 14px 0 0;
}

.app-install-copy h2 {
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.2;
}

.app-install-copy p:not(.eyebrow),
.app-install-status,
.ios-install-steps {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.app-install-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.ios-install-steps {
    grid-column: 1 / -1;
    padding-left: 20px;
}

.ios-install-steps li + li {
    margin-top: 4px;
}

.app-install-status {
    grid-column: 1 / -1;
    min-height: 20px;
    font-weight: 700;
}

.meta-row,
.card-meta,
.card-footer,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.meta-row,
.card-meta,
.card-footer {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.meta-row span,
.card-meta span,
.card-footer span,
.card-footer a,
.article-card h2 a,
.article-card h3 a,
.article-detail p,
.article-detail h1,
.article-detail h2 {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.button-row {
    margin-top: 22px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.section-heading h2,
.section-heading h1 {
    margin-bottom: 0;
    font-size: 28px;
    line-height: 1.15;
}

.section-heading.compact {
    margin-bottom: 16px;
}

.page-heading {
    margin: 18px 0 20px;
}

.article-list {
    display: grid;
    gap: 14px;
}

.article-list.single-column {
    max-width: 820px;
}

.article-card {
    padding: 20px;
}

.article-card.is-playing,
.top-story .card-audio.is-playing {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.card-audio.is-playing {
    border-radius: 8px;
    background: #ccfbf1;
    padding: 10px;
}

.article-card h2,
.article-card h3 {
    margin: 10px 0 8px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
}

.article-card h3 a:hover,
.article-card h2 a:hover,
.card-footer a:hover {
    color: var(--primary);
}

.article-card p {
    color: #334155;
}

.video-thumbnail,
.video-hero-image {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.video-thumbnail {
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
}

.video-hero-image {
    max-height: 420px;
    margin: 22px 0 4px;
}

.video-card {
    overflow: hidden;
}

.card-audio {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr);
    gap: 10px;
    align-items: center;
    margin: 14px 0;
}

.card-audio-button {
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
}

.card-audio audio {
    width: 100%;
    height: 38px;
}

.card-audio-status {
    grid-column: 1 / -1;
    min-height: 18px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.card-footer {
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.card-footer-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: flex-end;
}

.card-footer a {
    color: var(--primary);
}

.share-tools {
    position: relative;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    vertical-align: middle;
}

.share-tools-detail {
    width: fit-content;
    margin-top: 18px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.share-tools-top {
    margin-top: 12px;
}

.share-icon-button {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    padding: 0 !important;
    color: var(--muted);
    line-height: 1;
    overflow: hidden;
    box-shadow: none !important;
}

.share-icon-button:hover {
    color: var(--primary);
}

.share-icon-button svg {
    display: block;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.share-icon-button[hidden] {
    display: none;
}

.share-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 20;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 8px 10px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.share-tools-detail .share-menu {
    right: auto;
    left: 0;
    bottom: auto;
    top: calc(100% + 8px);
}

.share-tools-card {
    gap: 6px;
}

.share-tools-card .share-icon-button {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    color: var(--primary);
}

.share-tools-card .share-icon-button svg {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
}

.share-status {
    min-height: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.pagination div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pagination a {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 10px;
    color: var(--text);
}

.pagination a.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.sidebar {
    display: grid;
    gap: 16px;
}

.side-panel {
    padding: 18px;
}

.side-panel h2 {
    margin-bottom: 12px;
    font-size: 18px;
}

.category-list {
    display: grid;
    gap: 4px;
}

.accent-panel {
    background: var(--surface-soft);
}

.newsletter-form {
    display: grid;
    gap: 10px;
}

.article-page {
    max-width: 860px;
}

.article-detail,
.empty-state {
    padding: 28px;
}

.article-detail h1 {
    max-width: 760px;
    font-size: clamp(32px, 6vw, 54px);
    line-height: 1.02;
    letter-spacing: 0;
}

.article-detail section {
    margin-top: 28px;
}

.article-detail h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.audio-briefing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 16px;
    align-items: center;
    margin-top: 22px;
    border: 1px solid #b5e3dc;
    border-radius: 8px;
    background: #f0fdfa;
    padding: 18px;
}

.audio-briefing h2 {
    margin-bottom: 4px;
    font-size: 18px;
}

.audio-briefing p {
    margin-bottom: 0;
    color: #475569;
    font-size: 14px;
}

.audio-controls {
    display: grid;
    gap: 10px;
}

.audio-play-button {
    width: 100%;
}

.audio-controls audio {
    width: 100%;
}

.audio-status {
    min-height: 20px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.search-page {
    max-width: 760px;
    margin: 10px 0 24px;
}

.search-box.wide {
    box-shadow: none;
}

.contact-body {
    background: #edf4fb;
}

.contact-page {
    width: min(1120px, calc(100% - 32px));
    padding-top: 20px;
}

.contact-panel {
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    background: #ffffff;
    padding: clamp(18px, 3vw, 32px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.contact-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(18px, 3vw, 28px);
}

.contact-logo {
    width: 58px;
    height: 56px;
    object-fit: contain;
}

.contact-brand-name,
.contact-brand-url {
    display: block;
}

.contact-brand-name {
    color: #0f766e;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1;
}

.contact-brand-url {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.contact-heading {
    margin-bottom: 22px;
}

.contact-heading h1 {
    margin-bottom: 8px;
    color: #0f172a;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.12;
    letter-spacing: 0;
}

.contact-heading p:not(.contact-pill) {
    max-width: 680px;
    color: #64748b;
    font-size: clamp(14px, 1.8vw, 17px);
    line-height: 1.5;
}

.contact-pill {
    width: fit-content;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #eaf1ff;
    padding: 6px 16px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-card-list {
    display: grid;
    gap: 14px;
}

.contact-info-card {
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    background: #f8fbff;
    padding: 16px 18px;
}

.contact-info-card h2 {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-info-card p {
    margin-bottom: 0;
    color: #0f172a;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 700;
    line-height: 1.5;
}

.contact-actions {
    gap: 12px;
    margin-top: 22px;
}

.contact-button-primary,
.contact-button-secondary {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
}

.contact-button-primary {
    background: #2563eb;
}

.contact-button-primary:hover {
    background: #1d4ed8;
}

@media (max-width: 860px) {
    .site-header,
    .hero-section,
    .content-grid,
    .audio-playlist,
    .app-install-card {
        display: block;
    }

    .main-nav {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .hero-section {
        padding-top: 22px;
    }

    .search-box,
    .sidebar {
        margin-top: 18px;
    }

    .audio-playlist-controls {
        margin-top: 14px;
    }

    .app-install-actions {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .audio-briefing {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .contact-logo-row {
        margin-bottom: 26px;
    }
}

@media (max-width: 560px) {
    main {
        width: min(100% - 24px, 1120px);
        padding-top: 18px;
    }

    .site-header {
        padding: 12px;
    }

    .brand {
        min-width: 0;
        max-width: 100%;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .brand-tagline {
        display: none;
    }

    .main-nav {
        gap: 2px;
        min-width: 0;
        max-width: 100%;
    }

    .main-nav a {
        padding: 7px 8px;
        font-size: 13px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero-copy h1,
    .article-detail h1 {
        font-size: 34px;
    }

    .search-row,
    .button-row,
    .card-audio,
    .audio-playlist-controls,
    .app-install-actions {
        display: grid;
    }

    .app-install-actions .button,
    .app-install-actions button {
        width: 100%;
    }

    .top-story,
    .article-card,
    .side-panel,
    .article-detail,
    .empty-state {
        padding: 18px;
    }

    .article-list.single-column {
        max-width: 100%;
    }

    .article-page,
    .article-detail,
    .article-card,
    .video-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .video-thumbnail,
    .video-hero-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .video-card > a,
    .article-card > a {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .meta-row,
    .card-meta,
    .card-footer,
    .button-row,
    .share-tools,
    .share-tools-detail {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .video-hero-image {
        max-height: none;
        aspect-ratio: 16 / 9;
        margin: 18px 0 4px;
    }

    .share-menu {
        max-width: calc(100vw - 40px);
        flex-wrap: wrap;
        justify-content: flex-start;
        row-gap: 8px;
    }

    .share-tools-top .share-menu,
    .share-tools-card .share-menu {
        right: 0;
        left: auto;
    }

    .share-tools-detail .share-menu {
        left: 0;
        right: auto;
    }

    .contact-page {
        width: min(100% - 24px, 1120px);
        padding-top: 16px;
    }

    .contact-panel {
        padding: 20px;
    }

    .contact-logo {
        width: 50px;
        height: 48px;
    }

    .contact-brand-name {
        font-size: 22px;
    }

    .contact-heading h1 {
        font-size: 26px;
    }

    .contact-heading p:not(.contact-pill) {
        font-size: 14px;
    }

    .contact-pill {
        margin-right: auto;
        margin-left: 0;
    }

    .contact-info-card {
        padding: 16px;
    }

    .contact-info-card p {
        font-size: 15px;
    }

    .contact-button-primary,
    .contact-button-secondary {
        min-height: 44px;
        padding: 0 14px;
        font-size: 15px;
    }
}

.admin-body {
    background: #f1f5f9;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px max(16px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.admin-nav a,
.admin-link {
    color: var(--primary);
}

.admin-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.admin-login {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.admin-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.login-card {
    width: min(100%, 420px);
    padding: 24px;
}

.login-card h1,
.admin-title-row h1 {
    margin-bottom: 6px;
}

.login-card p,
.admin-title-row p {
    color: var(--muted);
}

.login-card label,
.edit-form label {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.login-card input,
.edit-form input,
.edit-form textarea,
.edit-form select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 11px 12px;
    color: var(--text);
    font: inherit;
    font-weight: 400;
}

.edit-form textarea {
    resize: vertical;
}

.admin-alert {
    margin: 16px 0;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    padding: 12px;
    color: #1e3a8a;
    font-size: 14px;
}

.admin-alert.error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.admin-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin: -4px 0 14px;
}

.admin-toolbar label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-toolbar select {
    min-height: 38px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 10px;
    color: var(--text);
    font: inherit;
}

.status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.status-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 9px 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.status-tabs a.active {
    border-color: var(--primary);
    color: var(--primary);
}

.status-tabs span {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--border);
    padding: 14px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.admin-table th:first-child,
.admin-table td:first-child {
    width: 42px;
    text-align: center;
}

.admin-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.admin-table strong,
.admin-table small {
    display: block;
}

.admin-table small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.4;
}

.admin-error-text {
    color: #b91c1c !important;
}

.admin-help-text {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.status-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    background: #ecfeff;
    padding: 0 10px;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-badge.muted {
    background: #f1f5f9;
    color: #64748b;
}

.admin-empty {
    padding: 24px;
    color: var(--muted);
}

.bulk-action-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    padding: 14px;
}

.bulk-action-bar label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bulk-action-bar select {
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 10px;
    color: var(--text);
    font: inherit;
    text-transform: none;
}

.admin-pagination {
    border-top: 1px solid var(--border);
    margin-top: 0;
    padding: 14px;
}

.edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

.edit-form,
.source-panel {
    padding: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkbox-label {
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    gap: 10px !important;
}

.checkbox-label input {
    width: auto;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.admin-actions .danger {
    background: #b91c1c;
}

.admin-actions .danger:hover {
    background: #991b1b;
}

.secondary-button {
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
}

.source-panel h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

.source-panel dl {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
}

.source-panel dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.source-panel dd {
    margin: 0;
}

.source-panel p {
    color: #334155;
}

.source-panel code {
    border-radius: 6px;
    background: #f1f5f9;
    padding: 2px 5px;
    font-size: 13px;
}

.analytics-card {
    margin-top: 18px;
}

.analytics-card h2 {
    margin: 0;
    padding: 18px 18px 0;
    font-size: 20px;
}

.source-active-label {
    align-content: end;
    min-height: 76px;
}

@media (max-width: 900px) {
    .admin-header,
    .edit-layout,
    .form-grid {
        display: block;
    }

    .admin-nav,
    .source-panel {
        margin-top: 16px;
    }
}
