:root {
  --bg: #05080f; --bg-2: #0a1220; --bg-3: #0e1828; --panel: #0b1423; --panel-2: #101b2d;
  --line: rgba(201, 164, 92, .2); --line-cool: rgba(150, 164, 191, .15);
  --gold: #c9a45c; --gold-hi: #ebd19a; --teal: #37c6b8;
  --ink: #eff3fb; --ink-2: #b7c0d3; --ink-3: #8792a9; --danger: #e27872; --success: #4fc8a2;
  --serif: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: rgba(201, 164, 92, .34); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -60px; padding: 8px 14px; background: var(--gold-hi); color: #111722; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.page-grid { position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(rgba(201, 164, 92, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 164, 92, .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.shell-wide { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.shell-narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(5, 8, 15, .92); backdrop-filter: blur(16px); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand b { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.2; white-space: nowrap; }
.brand em { color: var(--gold-hi); font-style: normal; }
.brand small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 10px; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 8px 12px; border-radius: 6px; color: var(--ink-2); font-size: 14px; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-hi); background: rgba(201, 164, 92, .08); }
.main-nav .admin-entry { border: 1px solid var(--line); }
.news-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.news-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 72% 20%, rgba(55, 198, 184, .1), transparent 28%), linear-gradient(145deg, rgba(201, 164, 92, .13), transparent 48%); }
.hero-grid { min-height: 330px; display: grid; grid-template-columns: 1fr 210px; align-items: center; gap: 60px; padding-top: 66px; padding-bottom: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-hi); font-size: 12px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px rgba(55, 198, 184, .7); }
.news-hero h1 { margin: 18px 0 12px; font-family: var(--serif); font-size: clamp(38px, 7vw, 66px); line-height: 1.14; }
.news-hero p { max-width: 660px; margin: 0; color: var(--ink-2); font-size: 17px; }
.hero-stat { min-height: 180px; display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(10, 18, 32, .74); }
.hero-stat strong { color: var(--gold-hi); font-family: var(--serif); font-size: 54px; line-height: 1; }
.hero-stat span { margin-top: 12px; color: var(--ink); }
.hero-stat small { margin-top: 4px; color: var(--teal); }
.content-band { padding: 64px 0 90px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 48px; align-items: start; }
.featured-story { position: relative; padding: 36px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, rgba(201, 164, 92, .11), rgba(55, 198, 184, .045) 70%, rgba(10, 18, 32, .8)); overflow: hidden; }
.featured-story::after { content: "重点"; position: absolute; right: -14px; bottom: -28px; color: rgba(235, 209, 154, .045); font-family: var(--serif); font-size: 112px; font-weight: 900; pointer-events: none; }
.featured-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--ink-3); font-size: 12px; }
.featured-meta span { color: var(--gold-hi); }
.featured-company { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--ink-2); }
.featured-story h2 { max-width: 740px; margin: 12px 0 14px; font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); line-height: 1.35; }
.featured-story h2 a:hover { color: var(--gold-hi); }
.featured-story > p { max-width: 720px; color: var(--ink-2); font-size: 15px; }
.primary-link { position: relative; z-index: 1; display: inline-flex; gap: 10px; margin-top: 14px; color: var(--gold-hi); font-weight: 700; }
.primary-link span, .read-more span { color: var(--teal); }
.verified { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px solid rgba(55, 198, 184, .34); border-radius: 4px; color: var(--teal); background: rgba(55, 198, 184, .08); font-size: 11px; line-height: 1.5; white-space: nowrap; }
.verified svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 44px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-heading span { color: var(--gold); font-size: 11px; }
.section-heading h2 { margin: 3px 0 0; font-family: var(--serif); font-size: 24px; }
.section-heading p, .section-heading > a { margin: 0; color: var(--ink-3); font-size: 13px; }
.news-list { border-top: 1px solid var(--line-cool); }
.news-item { padding: 28px 2px; border-bottom: 1px solid var(--line-cool); }
.item-meta { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12px; }
.item-meta time { margin-left: auto; }
.company-label { color: var(--gold-hi); }
.news-item h2 { margin: 10px 0 8px; font-size: 21px; line-height: 1.45; }
.news-item h2 a:hover { color: var(--gold-hi); }
.news-item > p { margin: 0; color: var(--ink-2); }
.item-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 16px; }
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; }
.tag-row a, .article-tags a { padding: 3px 9px; border: 1px solid var(--line-cool); border-radius: 999px; color: var(--ink-3); font-size: 11px; }
.tag-row a:hover, .article-tags a:hover { color: var(--teal); border-color: rgba(55, 198, 184, .4); }
.read-more { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.read-more:hover { color: var(--gold-hi); }
.empty-state { padding: 64px 20px; border-bottom: 1px solid var(--line-cool); text-align: center; }
.empty-state h2 { margin: 0; font-family: var(--serif); }
.empty-state p { color: var(--ink-3); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination a { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line-cool); border-radius: 5px; color: var(--ink-2); }
.pagination a:hover, .pagination a.current { border-color: var(--gold); color: var(--gold-hi); background: rgba(201, 164, 92, .09); }
.filter-panel { position: sticky; top: 94px; }
.search-form, .filter-group, .publish-note { padding: 22px; border: 1px solid var(--line-cool); border-radius: 8px; background: rgba(10, 18, 32, .72); }
.search-form label, .filter-group h2 { display: block; margin: 0 0 12px; color: var(--ink); font-size: 14px; font-weight: 700; }
.search-form > div { height: 44px; display: flex; border: 1px solid var(--line-cool); border-radius: 6px; overflow: hidden; background: var(--bg); }
.search-form input { min-width: 0; flex: 1; padding: 0 12px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-form button { width: 42px; border: 0; color: #10151e; background: var(--gold); cursor: pointer; }
.filter-group { margin-top: 14px; }
.filter-group a { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(150, 164, 191, .09); color: var(--ink-2); font-size: 13px; }
.filter-group a:last-child { border-bottom: 0; }
.filter-group a span { color: var(--ink-3); }
.filter-group a:hover, .filter-group a.selected { color: var(--gold-hi); }
.publish-note { margin-top: 14px; border-color: var(--line); }
.publish-note > span { color: var(--teal); font-size: 10px; }
.publish-note h2 { margin: 7px 0; font-family: var(--serif); font-size: 20px; }
.publish-note p { color: var(--ink-3); font-size: 13px; }
.publish-note a { color: var(--gold-hi); font-size: 13px; font-weight: 700; }
.preview-banner { padding: 9px 20px; background: var(--gold); color: #111722; text-align: center; font-weight: 700; }
.article-page { padding: 70px 0 86px; }
.breadcrumb { display: flex; gap: 9px; color: var(--ink-3); font-size: 13px; }
.breadcrumb a:hover { color: var(--gold-hi); }
.article-kicker { display: flex; align-items: center; gap: 10px; margin-top: 42px; color: var(--gold-hi); }
.article-header h1 { margin: 16px 0 18px; font-family: var(--serif); font-size: clamp(34px, 6vw, 56px); line-height: 1.28; }
.article-lead { margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.9; }
.article-byline { display: flex; gap: 44px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-byline div { display: flex; flex-direction: column; }
.article-byline b { font-size: 13px; }
.article-byline span { margin-top: 2px; color: var(--ink-3); font-size: 11px; }
.article-cover { margin-top: 52px; }
.article-cover img { width: 100%; max-height: 600px; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; }
.article-cover figcaption { margin-top: 8px; color: var(--ink-3); font-size: 12px; text-align: center; }
.article-layout { display: grid; justify-content: space-between; gap: 60px; margin-top: 62px; }
/* grid-template-columns: minmax(0, 720px) 260px;  */
.article-content { color: #d8deea; font-family: var(--serif); font-size: 17px; line-height: 2.05; }
.article-content > :first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { margin: 2.2em 0 .75em; color: var(--ink); line-height: 1.45; }
.article-content h2 { font-size: 27px; }
.article-content h3 { font-size: 22px; }
.article-content h4 { font-size: 18px; }
.article-content p { margin: 1.15em 0; }
.article-content strong { color: var(--gold-hi); }
.article-content code { padding: 2px 5px; border: 1px solid var(--line-cool); border-radius: 4px; color: var(--teal); background: var(--bg-2); font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
.article-content blockquote { margin: 1.8em 0; padding: 18px 22px; border-left: 3px solid var(--gold); color: var(--ink-2); background: rgba(201, 164, 92, .07); }
.article-content ul, .article-content ol { margin: 1.2em 0; padding-left: 1.5em; }
.article-content li { margin: .45em 0; padding-left: .25em; }
.article-content b { color: var(--gold-hi); }
.article-content a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.article-content img { height: auto; margin: 1.4em auto; border-radius: 6px; }
.article-content .ta-left { text-align: left; }
.article-content .ta-center { text-align: center; }
.article-content .ta-right { text-align: right; }
.article-content .ta-justify { text-align: justify; }
.article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line-cool); font-family: var(--sans); }
.article-tags > span { color: var(--ink-3); font-size: 12px; }
.article-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; font-family: var(--sans); }
.article-pager > a, .article-pager > span { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line-cool); border-radius: 6px; background: var(--bg-2); line-height: 1.5; }
.article-content .article-pager > a { color: inherit; text-decoration: none; }
.article-pager > a:hover { border-color: var(--gold); background: rgba(201, 164, 92, .07); }
.article-pager small { color: var(--ink-3); font-size: 12px; }
.article-pager b { overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.article-pager > a:hover b { color: var(--gold-hi); }
.article-pager .next { text-align: right; }
.article-pager .disabled b { color: var(--ink-3); font-weight: 400; }
.entity-card { position: sticky; top: 100px; padding: 24px; border-top: 2px solid var(--gold); border-right: 1px solid var(--line-cool); border-bottom: 1px solid var(--line-cool); border-left: 1px solid var(--line-cool); border-radius: 0 0 8px 8px; background: var(--panel); }
.entity-card > span { color: var(--gold); font-size: 10px; }
.entity-card h2 { margin: 4px 0 20px; font-family: var(--serif); font-size: 20px; }
.entity-card > strong { display: block; font-size: 15px; line-height: 1.6; }
.entity-card p { margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line-cool); border-bottom: 1px solid var(--line-cool); color: var(--ink-3); font-size: 11px; }
.entity-card p b { color: var(--ink-2); font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; }
.entity-card > div { display: flex; align-items: center; gap: 7px; color: var(--teal); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 9px rgba(55, 198, 184, .65); }
.status-dot.pending { background: var(--gold); box-shadow: none; }
.entity-card small { display: block; margin-top: 18px; color: var(--ink-3); line-height: 1.7; }
.related-band { padding: 64px 0 84px; border-top: 1px solid var(--line); background: var(--bg-2); }
.related-band .section-heading { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-grid article { min-height: 190px; padding: 22px; border: 1px solid var(--line-cool); border-radius: 8px; background: var(--panel); }
.related-grid article > span { color: var(--gold); font-size: 11px; }
.related-grid h3 { margin: 14px 0 22px; font-size: 17px; line-height: 1.55; }
.related-grid h3 a:hover { color: var(--gold-hi); }
.related-grid time { color: var(--ink-3); font-size: 12px; }
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 80px 20px; text-align: center; }
.error-page span { color: var(--gold); font-family: var(--serif); font-size: 96px; line-height: 1; }
.error-page h1 { font-family: var(--serif); font-size: 34px; }
.error-page p { color: var(--ink-3); }
.site-footer { border-top: 1px solid var(--line); background: #04070c; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-top: 44px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand b { font-family: var(--serif); }
.footer-brand p, .footer-grid > p { margin: 3px 0 0; color: var(--ink-3); font-size: 12px; }
.footer-grid > p { line-height: 1.9; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(150, 164, 191, .09); color: var(--ink-3); font-size: 11px; }
.footer-bottom a:hover { color: var(--gold-hi); }

/* Admin */
.admin-body { background: #f3f5f8; color: #1e293b; }
.admin-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.admin-header { height: 64px; display: flex; align-items: center; border-bottom: 1px solid #dbe1e9; background: #fff; }
.admin-header .admin-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.admin-brand { display: flex; align-items: baseline; gap: 10px; }
.admin-brand span { color: #8a6b32; font-family: var(--serif); font-size: 15px; }
.admin-brand b { color: #0f172a; font-size: 15px; }
.admin-header nav { display: flex; align-items: center; gap: 8px; }
.admin-header nav a, .admin-header nav button { height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 0; border-radius: 5px; color: #475569; background: transparent; cursor: pointer; }
.admin-header nav a:hover, .admin-header nav button:hover { background: #f1f5f9; color: #0f172a; }
.admin-header nav svg, .button-link svg, .preview-link svg, .panel-head svg, .row-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-header nav form { margin: 0; }
.admin-main { padding: 42px 0 80px; }
.admin-titlebar, .form-titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.admin-titlebar > div > span { color: #9a7331; font-size: 11px; font-weight: 700; }
.admin-titlebar h1, .form-titlebar h1 { margin: 3px 0; color: #0f172a; font-size: 32px; line-height: 1.3; }
.admin-titlebar p, .form-titlebar p { margin: 0; color: #64748b; }
.admin-primary { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid #9b793d; border-radius: 6px; color: #111827; background: #d8b66e; font-weight: 700; cursor: pointer; }
.admin-primary:hover { background: #e2c481; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.stat-grid > div { min-height: 130px; padding: 20px; border: 1px solid #dce2ea; border-radius: 7px; background: #fff; }
.stat-grid span { display: block; color: #64748b; font-size: 13px; }
.stat-grid strong { display: inline-block; margin-top: 13px; color: #0f172a; font-family: var(--serif); font-size: 36px; line-height: 1; }
.stat-grid small { margin-left: 7px; color: #94a3b8; }
.admin-table-panel { margin-top: 22px; border: 1px solid #dce2ea; border-radius: 7px; background: #fff; overflow: hidden; }
.admin-pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; padding: 14px 20px; border-top: 1px solid #e4e8ee; font-size: 13px; }
.admin-pagination a, .admin-pagination span { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid #dce2ea; border-radius: 5px; color: #475569; background: #fff; }
.admin-pagination a:hover { border-color: #aa8648; color: #172033; }
.admin-pagination a.current { border-color: #aa8648; color: #fff; background: #aa8648; }
.admin-pagination .disabled { color: #cbd5e1; }
.admin-pagination .gap, .admin-pagination .page-info { border-color: transparent; background: none; color: #94a3b8; }
.panel-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border-bottom: 1px solid #e4e8ee; }
.panel-head > div { display: flex; align-items: center; gap: 9px; }
.panel-head h2 { margin: 0; font-size: 15px; }
.panel-head > span { color: #94a3b8; font-size: 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 18px; border-bottom: 1px solid #edf0f4; text-align: left; vertical-align: middle; }
th { color: #64748b; background: #fafbfc; font-size: 12px; font-weight: 700; white-space: nowrap; }
td { color: #475569; font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
.title-cell { min-width: 300px; }
.title-cell strong { display: block; max-width: 560px; color: #0f172a; font-size: 14px; }
.title-cell span { display: block; margin-top: 3px; color: #94a3b8; font-size: 12px; }
.status-badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 11px; white-space: nowrap; }
.status-badge.published { color: #087154; background: #e7f8f2; }
.status-badge.draft { color: #7c5a19; background: #fff5dc; }
.row-actions { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.row-actions a, .row-actions button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid #dce2ea; border-radius: 5px; color: #64748b; background: #fff; cursor: pointer; }
.row-actions a:hover { color: #8a6b32; border-color: #c7aa71; }
.row-actions button:hover { color: #b42318; border-color: #e7aaa5; }
.row-actions form { display: inline-flex; margin: 0; }
.empty-table { padding: 50px; color: #94a3b8; text-align: center; }
.flash { margin-bottom: 18px; padding: 12px 15px; border-radius: 6px; font-size: 13px; }
.flash.success { color: #076249; border: 1px solid #a8e3cf; background: #eaf9f4; }
.flash.error, .form-error { color: #9f2520; border: 1px solid #f0b9b5; background: #fff0ef; }
.form-shell .form-error { margin-bottom: 18px; padding: 12px 15px; border-radius: 6px; font-size: 13px; }
.form-shell { max-width: 1240px; }
.form-titlebar { align-items: center; margin-bottom: 26px; }
.form-titlebar > div > a { color: #64748b; font-size: 13px; }
.preview-link { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid #cfd6df; border-radius: 6px; color: #475569; background: #fff; }
.article-form { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; align-items: start; }
.form-main { display: grid; gap: 20px; }
.form-panel, .side-panel, .seo-hint { padding: 24px; border: 1px solid #dce2ea; border-radius: 7px; background: #fff; }
.panel-title { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #e8ecf1; }
.panel-title > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #73561f; background: #f5ead2; font-size: 11px; font-weight: 800; }
.panel-title h2, .side-panel h2 { margin: 0; color: #0f172a; font-size: 16px; }
.panel-title p { margin: 2px 0 0; color: #94a3b8; font-size: 12px; }
.article-form label, .login-form label { display: flex; flex-direction: column; gap: 7px; color: #334155; font-size: 13px; font-weight: 700; }
.article-form input, .article-form textarea, .article-form select, .login-form input { width: 100%; border: 1px solid #cfd7e2; border-radius: 5px; color: #172033; background: #fff; outline: 0; }
.article-form input, .article-form select, .login-form input { height: 42px; padding: 0 11px; }
.article-form textarea { min-height: 90px; padding: 10px 11px; line-height: 1.65; resize: vertical; }
.article-form .content-editor { min-height: 410px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.article-form input:focus, .article-form textarea:focus, .article-form select:focus, .login-form input:focus { border-color: #aa8648; box-shadow: 0 0 0 3px rgba(201, 164, 92, .14); }
.article-form label > small { color: #94a3b8; font-size: 11px; font-weight: 400; }
.article-form label > small b { color: #64748b; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-panel > label + .form-grid, .form-grid + label, .form-panel > label + label { margin-top: 18px; }
.field-error { color: #b42318; font-size: 11px; font-weight: 500; }
.form-panel > label + .field-block, .form-panel > .field-block + label, .form-panel > .field-block + .field-block { margin-top: 18px; }
.field-block { display: flex; flex-direction: column; gap: 7px; }
.field-label { color: #334155; font-size: 13px; font-weight: 700; }
.article-form input:disabled { color: #64748b; background: #f1f5f9; cursor: not-allowed; }
.article-form ::placeholder, .login-form ::placeholder { color: #a0aec0; font-weight: 400; }
.form-side { position: sticky; top: 84px; display: grid; gap: 14px; }
.side-panel { display: grid; gap: 18px; }
.check-row { flex-direction: row !important; align-items: flex-start; gap: 10px !important; cursor: pointer; }
.check-row input { width: 17px; height: 17px; margin-top: 2px; accent-color: #a98342; }
.check-row span { display: flex; flex-direction: column; }
.check-row b { color: #334155; font-size: 13px; }
.check-row small { color: #94a3b8; font-size: 11px; font-weight: 400; }
.save-button { width: 100%; }
.cancel-link { color: #64748b; font-size: 12px; text-align: center; }
.seo-hint > span { color: #9a7331; font-size: 10px; font-weight: 800; }
.seo-hint ul { margin: 12px 0 0; padding-left: 18px; color: #64748b; font-size: 12px; line-height: 2; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 20px; background: var(--bg); }
.login-panel { width: min(420px, 100%); padding: 36px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--panel); box-shadow: 0 24px 70px rgba(0, 0, 0, .36); }
.login-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.login-mark svg { width: 33px; fill: var(--gold); }
.login-mark circle { fill: var(--teal); }
.login-eyebrow { color: var(--gold); font-size: 10px; }
.login-panel h1 { margin: 5px 0; font-family: var(--serif); font-size: 28px; }
.login-panel > p { margin: 0; color: var(--ink-3); font-size: 13px; }
.login-form { display: grid; gap: 16px; margin-top: 26px; }
.login-form label { color: var(--ink-2); }
.login-form input { color: var(--ink); border-color: var(--line-cool); background: var(--bg); }
.login-form .admin-primary { margin-top: 6px; }
.back-link { display: block; margin-top: 20px; color: var(--ink-3); font-size: 12px; text-align: center; }
.login-panel .form-error { margin-top: 18px; padding: 10px 12px; border-radius: 5px; font-size: 12px; }

@media (max-width: 960px) {
  .content-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .filter-group, .publish-note { margin-top: 0; }
  .search-form { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .entity-card { position: static; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .article-form { grid-template-columns: 1fr; }
  .form-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .shell, .shell-wide, .shell-narrow, .admin-shell { width: min(100% - 28px, 1180px); }
  .site-header { position: static; }
  .header-inner { min-height: 64px; }
  .brand b { font-size: 15px; }
  .brand small { display: none; }
  .main-nav a:not(.admin-entry) { display: none; }
  .hero-grid { min-height: 300px; grid-template-columns: 1fr; gap: 28px; padding-top: 52px; padding-bottom: 46px; }
  .hero-stat { min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px; }
  .hero-stat strong { grid-row: 1 / 3; font-size: 42px; }
  .hero-stat span, .hero-stat small { margin: 0; }
  .content-band { padding-top: 36px; }
  .featured-story { padding: 24px; }
  .featured-story::after { display: none; }
  .featured-meta, .item-foot, .section-heading { align-items: flex-start; }
  .item-foot { flex-direction: column; }
  .filter-panel { grid-template-columns: 1fr; }
  .search-form { grid-column: auto; }
  .article-page { padding-top: 44px; }
  .article-kicker { margin-top: 28px; }
  .article-header h1 { font-size: 36px; }
  .article-lead { font-size: 16px; }
  .article-byline { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .article-layout { margin-top: 42px; }
  .article-pager { grid-template-columns: 1fr; }
  .article-pager .next { text-align: left; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .admin-header { height: auto; padding: 12px 0; }
  .admin-header .admin-shell { align-items: flex-start; }
  .admin-brand { flex-direction: column; gap: 0; }
  .admin-header nav a, .admin-header nav button { font-size: 0; }
  .admin-header nav a svg, .admin-header nav button svg { width: 18px; height: 18px; }
  .admin-titlebar, .form-titlebar { align-items: flex-start; flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-side { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand b { white-space: normal; }
  .news-hero h1 { font-size: 40px; }
  .featured-story h2 { font-size: 26px; }
  .item-meta { align-items: flex-start; flex-wrap: wrap; }
  .item-meta time { width: 100%; margin-left: 0; }
  .article-header h1 { font-size: 31px; }
  .article-byline { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .login-panel { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
