:root {
  --ink: #142b46;
  --muted: #63758b;
  --line: #dbe4ef;
  --paper: #ffffff;
  --wash: #f3f6fb;
  --blue: #175fae;
  --blue-dark: #0c447f;
  --teal: #347dcc;
  --red: #bc4c3f;
  --gold: #c49a45;
  --shadow: 0 18px 55px rgba(21, 49, 65, .09);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wash); font-family: var(--sans); line-height: 1.65; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 10px; }
.page-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: relative; z-index: 20; color: #fff; background: linear-gradient(112deg, #082f61 0%, #0d4f96 58%, #1968b7 100%); border-bottom: 2px solid rgba(255,255,255,.18); }
.site-header::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0 52%, rgba(255,255,255,.05) 52% 52.2%, transparent 52.2%); }
.site-header__inner { position: relative; z-index: 1; width: min(1320px, calc(100% - 48px)); min-height: 68px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand:hover { color: #fff; }
.brand__logo { width: 42px; height: 42px; display: block; flex: 0 0 auto; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 19px var(--serif); letter-spacing: .14em; }
.brand small { margin-top: 0; color: rgba(255,255,255,.72); font-size: 10px; letter-spacing: .18em; }
.top-nav { display: flex; gap: 6px; }
.top-nav a { padding: 7px 13px; color: rgba(255,255,255,.9); border-radius: 3px; font-size: 14px; }
.top-nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.messages { position: fixed; z-index: 100; top: 78px; left: 50%; width: min(600px, calc(100% - 30px)); transform: translateX(-50%); }
.message { padding: 12px 16px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.message--success { background: #176d5f; }.message--error { background: #9a3e35; }
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(118deg, #0b4381 0%, #11589f 58%, #1c6ab5 100%); }
.hero::before { content: ""; position: absolute; right: -4vw; top: -170px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.02); }
.hero::after { content: "意见 · 建议 · 共建"; position: absolute; right: 8%; bottom: 14px; color: rgba(255,255,255,.08); font: 700 68px var(--serif); letter-spacing: .16em; white-space: nowrap; }
.hero__inner { position: relative; z-index: 1; width: min(1240px, calc(100% - 40px)); min-height: 286px; margin: auto; padding: 52px 0 48px; }
.hero h1 { max-width: 840px; margin: 10px 0 15px; font: 700 clamp(32px, 3.7vw, 50px)/1.25 var(--serif); letter-spacing: .04em; }
.hero p:last-child { max-width: 760px; margin: 0; color: rgba(255,255,255,.82); font-size: 17px; }
.eyebrow { margin: 0; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero .eyebrow, .editor-head .eyebrow { color: #b9d8fb; }
.home-shell { padding: 58px 0 84px; }
.campaign-section + .campaign-section { margin-top: 66px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.section-heading > div { display: flex; align-items: baseline; gap: 14px; }
.section-heading h2 { margin: 0; font: 700 30px var(--serif); }
.section-heading p { margin: 0; color: var(--muted); }
.section-kicker { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.campaign-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.campaign-card { position: relative; overflow: hidden; padding: 28px 30px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(21,49,65,.04); transition: transform .2s, box-shadow .2s; }
.campaign-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70px; height: 4px; background: var(--teal); }
.campaign-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.campaign-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.status-badge { display: inline-flex; padding: 4px 10px; color: #fff; background: var(--teal); font-size: 12px; font-weight: 700; }
.status-badge--muted { color: var(--muted); background: #e7edef; }
.campaign-card h3 { margin: 22px 0 10px; font: 700 23px/1.45 var(--serif); }
.campaign-card h3 a { color: var(--ink); }.campaign-card h3 a:hover { color: var(--blue); }
.campaign-card > p { min-height: 52px; color: var(--muted); }
.campaign-card__stats { display: flex; gap: 28px; margin: 25px 0 18px; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 13px; }
.campaign-card__stats strong { margin-right: 4px; color: var(--ink); font-size: 20px; font-family: var(--serif); }
.text-link { font-weight: 700; }.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s; }.text-link:hover span { transform: translateX(4px); }
.ended-list { background: #fff; border: 1px solid var(--line); }
.ended-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.ended-item:last-child { border-bottom: 0; }.ended-item h3 { display: inline; margin: 0 0 0 12px; font: 700 18px var(--serif); }.ended-item p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.ended-item__numbers { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
.empty-state { grid-column: 1/-1; padding: 45px; text-align: center; background: #fff; border: 1px dashed #bdcdd2; }.empty-state h3 { font-family: var(--serif); }
.subpage-head, .editor-head { color: #fff; background: linear-gradient(120deg, #0a4381, #1a65b0); }
.subpage-head .page-shell, .editor-head .page-shell { padding: 38px 0 42px; }.subpage-head h1, .editor-head h1 { max-width: 950px; margin: 18px 0 6px; font: 700 32px/1.35 var(--serif); }.subpage-head p, .editor-head p { margin: 0; color: rgba(255,255,255,.75); }
.breadcrumb { display: flex; gap: 9px; color: rgba(255,255,255,.68); font-size: 13px; }.breadcrumb a { color: rgba(255,255,255,.86); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .85fr); align-items: start; gap: 24px; padding: 38px 0 72px; }
.intro-panel, .form-panel { position: relative; padding: 42px 44px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel-number { position: absolute; top: 24px; right: 28px; color: #dbe4e6; font: 700 48px/1 var(--serif); }
.intro-panel h2, .form-panel h2 { margin: 8px 0 26px; font: 700 25px var(--serif); }.rich-text { color: #334c59; font: 17px/2 var(--serif); }.rich-text p { margin: 0 0 1em; }
.download-box { display: grid; gap: 10px; margin-top: 35px; padding: 20px; background: var(--wash); border-left: 3px solid var(--teal); }
.form-panel { position: sticky; top: 20px; }.required-note { margin: -15px 0 22px; color: var(--muted); font-size: 13px; }.required-note span, .form-group label span { color: var(--red); }
.form-group { margin-bottom: 19px; }.form-group label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }.form-group input:not([type=checkbox]):not([type=radio]), .form-group select, .form-group textarea, .admin-form input:not([type=checkbox]):not([type=radio]), .admin-form select, .admin-form textarea, .filter-bar input, .filter-bar select { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #bdcbd0; border-radius: 2px; outline: 0; transition: border .2s, box-shadow .2s; }.form-group textarea { resize: vertical; }.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(27,139,131,.12); }.form-group small, .upload-field small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.form-group ul, .errorlist { margin: 5px 0 0; padding: 0; color: var(--red); font-size: 12px; list-style: none; }.form-group ul[id$="_0"] { display: flex; flex-wrap: wrap; gap: 15px; color: var(--ink); }.form-group ul[id$="_0"] label { font-weight: 400; }.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 9px 20px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-weight: 700; transition: background .2s, color .2s, border .2s; }.button--primary { color: #fff; background: var(--blue); }.button--primary:hover { color: #fff; background: var(--blue-dark); }.button--secondary { color: var(--ink); background: #fff; border-color: #b8c7cd; }.button--secondary:hover { color: var(--blue); border-color: var(--blue); }.button--danger { color: #fff; background: var(--red); }.button--wide { width: 100%; }.privacy-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: center; }.notice-box, .form-errors { margin-bottom: 18px; padding: 13px 15px; background: #fff7e8; border-left: 3px solid var(--gold); }.form-errors { color: #843b32; background: #fff0ed; border-color: var(--red); }
.editor-head .page-shell { padding-top: 28px; padding-bottom: 30px; }.editor-head h1 { margin-top: 13px; font-size: 26px; }.editor-tabs { display: none; }
.editor-shell { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(380px, .95fr) minmax(430px, 1.4fr); width: min(1600px, calc(100% - 32px)); min-height: 730px; margin: 24px auto 55px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.editor-column { min-width: 0; padding: 24px; border-right: 1px solid var(--line); }.editor-column:last-child { border-right: 0; }.editor-column__head { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }.editor-column__head > span { color: var(--teal); font: 700 25px var(--serif); }.editor-column__head small { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .17em; }.editor-column__head h2 { margin: 0; font: 700 18px var(--serif); }.editor-directory > p { color: var(--muted); font-size: 12px; }
.section-tree, .section-tree ul { padding: 0; list-style: none; }.section-tree { max-height: 640px; overflow: auto; }.section-tree ul { margin-left: 19px; padding-left: 10px; border-left: 1px solid #dce6e8; }.tree-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 8px; color: #415762; text-align: left; background: transparent; border: 0; border-bottom: 1px solid #eef2f3; cursor: pointer; }.tree-item:hover, .tree-item.is-active { color: var(--blue); background: #eef7f7; }.tree-index { flex: 0 0 auto; color: #9dafb6; font: 700 11px var(--serif); }
.opinion-panel { display: none; padding-top: 20px; }.opinion-panel.is-active { display: block; }.opinion-panel__title > span { color: var(--teal); font-size: 11px; font-weight: 700; }.opinion-panel__title h3 { margin: 5px 0 8px; font: 700 21px var(--serif); }.opinion-panel__title p { max-height: 90px; overflow: auto; margin: 0 0 13px; color: var(--muted); font-size: 13px; }.opinion-panel textarea { width: 100%; min-height: 340px; padding: 14px; resize: vertical; border: 1px solid #bdcbd0; outline: 0; }.opinion-panel textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(27,139,131,.1); }.character-count { color: var(--muted); font-size: 11px; text-align: right; }.upload-field { margin-top: 18px; padding: 14px; background: var(--wash); }.upload-field label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 13px; }.consent-field { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-top: 18px; font-size: 12px; }.consent-field .errorlist { width: 100%; }.editor-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.editor-document { display: flex; flex-direction: column; padding-bottom: 14px; background: #f1f4f4; }.pdf-viewer { width: 100%; flex: 1; min-height: 620px; margin-top: 15px; background: #d7dfe1; }.pdf-fallback { display: grid; min-height: 300px; place-content: center; gap: 12px; padding: 30px; text-align: center; background: #fff; }.document-link { margin-top: 9px; font-size: 12px; text-align: right; }
.success-page { min-height: 670px; display: grid; place-items: center; padding: 60px 20px; background: linear-gradient(160deg, #eef6f5, #edf2f4); }.success-card { width: min(700px, 100%); padding: 52px 65px; text-align: center; background: #fff; border-top: 4px solid var(--teal); box-shadow: var(--shadow); }.success-mark { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 20px; color: #fff; background: var(--teal); border-radius: 50%; font-weight: 700; font-size: 15px; }.success-card h1 { margin: 8px 0 12px; font: 700 33px var(--serif); }.receipt-text { color: var(--muted); }.serial-box { margin: 30px 0; padding: 22px; background: var(--wash); border: 1px dashed #afc2c7; }.serial-box span, .serial-box strong { display: block; }.serial-box strong { margin: 5px 0; color: var(--blue); font: 700 27px var(--serif); letter-spacing: .05em; }.serial-box p { margin: 0; color: var(--muted); font-size: 12px; }.receipt-meta { margin: 0 0 30px; text-align: left; }.receipt-meta div { display: grid; grid-template-columns: 100px 1fr; padding: 9px 0; border-bottom: 1px solid var(--line); }.receipt-meta dt { color: var(--muted); }.receipt-meta dd { margin: 0; }.simple-state { width: min(760px, calc(100% - 40px)); min-height: 600px; margin: auto; padding: 100px 0; text-align: center; }.simple-state h1 { font: 700 34px var(--serif); }.simple-state p { margin: 18px 0 30px; color: var(--muted); }
.login-page { min-height: 690px; display: grid; place-items: center; padding: 50px 20px; background: linear-gradient(135deg, #e8f1f2, #f6f8f8); }.login-card { width: min(440px, 100%); padding: 42px; background: #fff; border-top: 4px solid var(--blue); box-shadow: var(--shadow); }.login-card h1 { margin: 8px 0; font: 700 29px var(--serif); }.login-card > p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); }
.site-footer { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 35px max(24px, calc((100% - 1240px)/2)); color: rgba(255,255,255,.72); background: #0b2d55; }.site-footer div { display: flex; flex-direction: column; }.site-footer strong { color: #fff; font: 700 18px var(--serif); }.site-footer span { font-size: 12px; letter-spacing: .13em; }.site-footer p { max-width: 570px; margin: 0; font-size: 12px; text-align: right; }
@media (max-width: 1050px) {
  .detail-layout { grid-template-columns: 1fr; }.form-panel { position: static; }.editor-shell { grid-template-columns: 240px 1fr; }.editor-document { grid-column: 1/-1; min-height: 650px; border-top: 1px solid var(--line); }.pdf-viewer { min-height: 580px; }
}
@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 1240px); }.site-header__inner { width: calc(100% - 28px); min-height: 58px; }.brand__logo { width: 34px; height: 34px; }.brand { gap: 8px; }.brand strong { font-size: 16px; }.brand small { font-size: 8px; letter-spacing: .12em; }.top-nav a { padding: 6px; font-size: 12px; }.top-nav a:first-child { display: none; }
  .hero__inner { width: calc(100% - 28px); min-height: 238px; padding: 37px 0 35px; }.hero h1 { font-size: 29px; }.hero p:last-child { font-size: 15px; }.hero::after { font-size: 36px; }.home-shell { padding-top: 34px; }.section-heading { align-items: start; flex-direction: column; gap: 5px; }.section-heading > div { align-items: start; flex-direction: column; gap: 3px; }.campaign-grid { grid-template-columns: 1fr; }.campaign-card { padding: 23px 20px; }.campaign-card__top { align-items: start; flex-direction: column; }.ended-item { grid-template-columns: 1fr; }.ended-item h3 { display: block; margin: 9px 0 0; }.ended-item__numbers { gap: 18px; }
  .subpage-head .page-shell, .editor-head .page-shell { padding: 26px 0 30px; }.subpage-head h1, .editor-head h1 { font-size: 25px; }.detail-layout { width: 100%; padding: 0 0 40px; gap: 0; }.intro-panel, .form-panel { padding: 34px 22px; box-shadow: none; border-width: 0 0 1px; }.rich-text { font-size: 16px; }.panel-number { top: 22px; right: 20px; }
  .editor-tabs { position: sticky; z-index: 12; top: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid var(--line); }.editor-tab { padding: 13px 4px; color: var(--muted); background: #fff; border: 0; border-bottom: 3px solid transparent; font-size: 13px; }.editor-tab.is-active { color: var(--blue); border-color: var(--teal); font-weight: 700; }
  .editor-shell { display: block; width: 100%; min-height: 0; margin: 0; border: 0; box-shadow: none; }.editor-column { display: none; min-height: 570px; padding: 20px 16px 30px; border: 0; }.editor-column.is-mobile-active { display: block; }.section-tree { max-height: none; }.opinion-panel textarea { min-height: 300px; }.editor-actions { position: sticky; bottom: 0; margin: 22px -16px -30px; padding: 12px 16px; background: rgba(255,255,255,.96); box-shadow: 0 -7px 20px rgba(21,49,65,.08); }.editor-actions .button { flex: 1; padding-inline: 10px; }.pdf-viewer { min-height: 530px; }.success-card { padding: 38px 20px; }.serial-box strong { font-size: 21px; word-break: break-all; }
  .site-footer { align-items: start; flex-direction: column; padding: 30px 20px; }.site-footer p { text-align: left; }
}
