/* Minification failed. Returning unminified contents.
(2,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(30,71): run-time error CSS1039: Token not allowed after unary operator: '-bg'
(31,17): run-time error CSS1039: Token not allowed after unary operator: '-text'
(65,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(112,22): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(140,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(147,22): run-time error CSS1039: Token not allowed after unary operator: '-success-soft'
(149,17): run-time error CSS1039: Token not allowed after unary operator: '-success'
(153,22): run-time error CSS1039: Token not allowed after unary operator: '-danger-soft'
(155,17): run-time error CSS1039: Token not allowed after unary operator: '-danger'
(159,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(167,17): run-time error CSS1039: Token not allowed after unary operator: '-text-soft'
(172,22): run-time error CSS1039: Token not allowed after unary operator: '-surface'
(173,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(174,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(176,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(201,22): run-time error CSS1039: Token not allowed after unary operator: '-primary-soft'
(218,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(238,17): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(256,17): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(280,17): run-time error CSS1039: Token not allowed after unary operator: '-text-soft'
(291,22): run-time error CSS1039: Token not allowed after unary operator: '-surface'
(292,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(293,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(295,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(318,17): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(345,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(346,22): run-time error CSS1039: Token not allowed after unary operator: '-surface'
(367,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(378,17): run-time error CSS1039: Token not allowed after unary operator: '-text-soft'
(388,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(389,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(390,22): run-time error CSS1039: Token not allowed after unary operator: '-surface'
(392,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(431,17): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(473,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(486,25): run-time error CSS1039: Token not allowed after unary operator: '-radius'
(567,17): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(622,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(632,17): run-time error CSS1039: Token not allowed after unary operator: '-text-soft'
 */
:root {
    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --text: #101828;
    --text-soft: #475467;
    --border: #dde3ee;
    --primary: #0b63ce;
    --primary-soft: #eaf2ff;
    --success: #146c43;
    --success-soft: #e7f8ef;
    --danger: #9f1239;
    --danger-soft: #ffe8ef;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
    background: radial-gradient(circle at top right, #eef4ff 0%, var(--bg) 50%, #f8fafc 100%);
    color: var(--text);
    line-height: 1.65;
}

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

img {
    max-width: 100%;
    display: block;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 999;
    background: #111827;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 10px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.topbar-inner {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a,
.link-button {
    font-size: 0.92rem;
    color: #253143;
    border-radius: 999px;
    padding: 6px 10px;
    border: 1px solid transparent;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.main-nav a:hover,
.link-button:hover {
    background: #f1f5f9;
    border-color: #dbe3ee;
}

.main-nav .nav-highlight {
    background: var(--primary);
    color: #ffffff;
}

.main-nav .nav-highlight:hover {
    background: #0953ad;
    border-color: #0953ad;
}

.logout-form {
    margin: 0;
}

.link-button {
    font-family: inherit;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.container {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 20px 16px 30px;
}

.alert-card {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 0.94rem;
}

.alert-card.is-success {
    background: var(--success-soft);
    border-color: #bfe8cf;
    color: var(--success);
}

.alert-card.is-error {
    background: var(--danger-soft);
    border-color: #ffc9d9;
    color: var(--danger);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.site-footer-inner {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 18px 16px;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.page-title {
    margin: 0 0 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.label,
.kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #566273;
    font-weight: 600;
}

.pill {
    display: inline-flex;
    align-items: center;
    background: var(--primary-soft);
    border: 1px solid #cde0ff;
    color: #10407a;
    font-size: 0.76rem;
    border-radius: 999px;
    padding: 3px 8px;
}

.news-hero {
    margin-bottom: 18px;
}

.featured-card {
    background: linear-gradient(130deg, #ffffff 0%, #f7f9ff 45%, #edf3ff 100%);
    border: 1px solid #d6e2f7;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #3f4d63;
    margin-bottom: 10px;
}

.featured-card h1 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.25;
}

.featured-card h1 a:hover {
    color: var(--primary);
}

.featured-summary {
    margin: 0 0 10px;
    color: #213045;
    max-width: 76ch;
}

.featured-why {
    margin: 0 0 12px;
    color: #213045;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
}

.read-more-link:hover {
    text-decoration: underline;
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.16rem;
}

.section-heading p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.news-stream-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.news-stream-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
}

.news-stream-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.news-stream-head time {
    color: #5d6b7d;
    font-size: 0.8rem;
}

.news-stream-item h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
    line-height: 1.35;
}

.news-stream-item h3 a:hover {
    color: var(--primary);
}

.news-stream-item p {
    margin: 0 0 10px;
    color: #253143;
    font-size: 0.95rem;
}

.news-why {
    border-left: 3px solid #bdd4f7;
    padding-left: 10px;
}

.quick-read-section {
    margin-top: 18px;
}

.quick-read-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style-position: inside;
}

.quick-read-list li {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.quick-read-list li span {
    font-size: 0.82rem;
    color: #667389;
}

.news-category-shell {
    display: grid;
    gap: 16px;
}

.category-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.category-header h1 {
    margin: 6px 0;
    font-size: clamp(1.24rem, 2vw, 1.8rem);
}

.category-header p {
    margin: 0;
    color: var(--text-soft);
}

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

.news-grid-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-grid-image {
    aspect-ratio: 16 / 10;
    display: block;
    background: #e8edf5;
}

.news-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-grid-content {
    padding: 12px;
}

.news-grid-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.news-grid-meta time {
    font-size: 0.8rem;
    color: #647084;
}

.news-grid-content h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.news-grid-content h2 a:hover {
    color: var(--primary);
}

.news-grid-content p {
    margin: 0 0 10px;
    font-size: 0.93rem;
    color: #243246;
}

.news-article {
    display: grid;
    gap: 16px;
}

.news-article-header h1 {
    margin: 6px 0 10px;
    font-size: clamp(1.4rem, 2.8vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    color: #4f5d71;
    font-size: 0.88rem;
}

.confidence-badge {
    border: 1px solid #cfe0ff;
    background: #edf4ff;
    color: #0f4b9f;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 600;
}

.article-hero-image {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #e9eef7;
}

.article-hero-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article-summary-box {
    border: 1px solid #d7e3f7;
    background: #f8fbff;
    border-radius: var(--radius);
    padding: 14px;
}

.article-summary-box h2,
.article-body h2,
.article-aside h3 {
    margin: 0 0 10px;
}

.article-summary-box p,
.article-body p {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1rem;
    line-height: 1.9;
    color: #142136;
    max-width: 78ch;
}

.article-why {
    margin-top: 10px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.article-body {
    padding: 18px;
}

.key-points-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.key-points-list li {
    font-family: "Merriweather", Georgia, serif;
    color: #19253a;
}

.article-aside {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 80px;
}

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

.source-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.source-list li {
    display: grid;
    gap: 3px;
}

.source-list li span {
    font-weight: 600;
    color: #1d2b3d;
}

.source-list li time {
    font-size: 0.8rem;
    color: #667389;
}

.source-list li a {
    color: var(--primary);
    font-size: 0.9rem;
}

.source-list li a:hover {
    text-decoration: underline;
}

.pagination-wrap {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pagination-link {
    border: 1px solid #d3deed;
    border-radius: 999px;
    padding: 6px 12px;
    color: #1d3f70;
    background: #f7fbff;
}

.pagination-link:hover {
    background: #edf4ff;
}

.pagination-current {
    color: #4f5d71;
    font-size: 0.9rem;
}

.empty-state {
    border: 1px dashed #c8d6ea;
    background: #fbfdff;
    border-radius: 12px;
    padding: 16px;
    color: #5d6b7d;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

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

.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-soft);
}

.stack-mobile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.inline-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.mt-12 {
    margin-top: 12px;
}

.mb-12 {
    margin-bottom: 12px;
}

.ml-12 {
    margin-left: 12px;
}

.mx-8 {
    margin: 0 8px;
}

.news-card-title {
    margin-top: 6px;
}

.news-card-image {
    width: 100%;
    border-radius: 8px;
    margin: 10px 0;
}

.input,
textarea,
select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
}

button {
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    background: #0f172a;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
}

.admin-body {
    background: #eef2f7;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    background: #0f172a;
    color: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-topbar-left,
.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-topbar .brand {
    color: #f8fafc;
}

.admin-shortcut-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

.admin-user-label {
    font-size: 13px;
    color: #cbd5e1;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 60px);
}

.admin-sidebar {
    background: #111827;
    padding: 16px 14px;
    overflow-y: auto;
}

.admin-nav-group {
    margin-bottom: 18px;
}

.admin-nav-title {
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.admin-nav-link {
    display: block;
    color: #e5e7eb;
    text-decoration: none;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 4px;
    font-size: 14px;
}

.admin-nav-link:hover {
    background: #1f2937;
}

.admin-nav-link.active {
    background: #0ea5e9;
    color: #ffffff;
}

.admin-main {
    padding: 20px;
    min-width: 0;
}

@media (max-width: 1180px) {
    .news-grid-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .main-nav a,
    .link-button {
        white-space: nowrap;
    }

    .news-stream-list {
        grid-template-columns: 1fr;
    }

    .news-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        max-height: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding-top: 16px;
    }

    .news-grid-list {
        grid-template-columns: 1fr;
    }

    .featured-card {
        padding: 16px;
    }

    .news-stream-item,
    .card {
        padding: 12px;
    }

    .stack-mobile-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .inline-actions {
        width: 100%;
    }

    .inline-actions > * {
        width: 100%;
    }

    .main-nav a,
    .link-button {
        font-size: 0.86rem;
        padding: 6px 8px;
    }

    .table {
        min-width: 560px;
    }
}

