:root {
  --blue: #1F4E79;
  --indigo: #2E3A87;
  --orange: #C55A11;
  --red: #C00000;
  --dark: #222222;
  --gray: #595959;
  --band: #EAF1F8;
  --band2: #F3EDE2;
  --white: #ffffff;
  --line: #BFBFBF;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "宋体", "SimSun", serif; color: var(--dark); background: #f6f8fb; }
a { color: var(--blue); }
.disclaimer {
  background: var(--blue); color: #fff; font-size: 13px; text-align: center;
  padding: 6px 12px; line-height: 1.5;
}
.disclaimer b { color: #ffd9b3; }
.topbar { background: var(--blue); color: #fff; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.topbar h1 { font-family: "微软雅黑", sans-serif; font-size: 20px; margin: 0; }
.topbar .sub { font-size: 13px; opacity: .85; }
.btn { font-family: "微软雅黑", sans-serif; border: none; border-radius: 4px; padding: 9px 18px; font-size: 14px; cursor: pointer; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #163a5a; }
.btn-secondary { background: #fff; color: var(--orange); border: 1px solid var(--orange); }
.btn-warn { background: #fff; color: var(--red); border: 1px solid var(--red); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.container { max-width: 980px; margin: 18px auto; padding: 0 16px; }
.ch-tabs { display: flex; gap: 8px; margin: 4px 0 14px; flex-wrap: wrap; }
.ch-tabs .btn { flex: 1 1 auto; min-width: 160px; }
.ch-tabs .btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; margin-bottom: 16px; }
.card h2 { font-family: "微软雅黑", sans-serif; color: var(--indigo); font-size: 18px; margin: 0 0 12px; }
.form-row { margin: 10px 0; }
.form-row label { display: block; font-size: 14px; margin-bottom: 5px; color: var(--gray); }
.form-row .req { color: var(--red); }
input[type=text], input[type=password], input[type=datetime-local], textarea, select {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; font-family: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.agree { font-size: 13px; color: var(--gray); margin: 6px 0; }
.agree input { margin-right: 6px; }
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 10px; color: #fff; margin-right: 6px; }
.tag-major { background: var(--red); }
.tag-temporary { background: var(--orange); }
.tag-periodic { background: var(--blue); }
.tag-source { background: var(--indigo); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
th { background: var(--blue); color: #fff; font-family: "微软雅黑", sans-serif; }
tbody tr:nth-child(even) { background: var(--band); }
.muted { color: var(--gray); font-size: 13px; }
.center-list .item { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; margin-bottom: 10px; background: #fff; cursor: pointer; }
.center-list .item:hover { border-color: var(--blue); }
.center-list .item.unread { background: #fff7ef; }
.detail-body { white-space: pre-wrap; line-height: 1.8; font-size: 15px; position: relative; }
.wm { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: rgba(192,0,0,.12); transform: rotate(-18deg); font-weight: bold; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.nav .btn { padding: 7px 14px; }
.nav .btn.active { background: var(--indigo); color: #fff; }
.hidden { display: none !important; }
.toast { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); background: var(--indigo); color: #fff; padding: 10px 18px; border-radius: 6px; z-index: 99; font-size: 14px; }
.footer-note { text-align: center; color: var(--gray); font-size: 12px; padding: 16px; line-height: 1.6; }
.footer-note b { color: var(--red); }
.back-link { font-size: 13px; margin-bottom: 8px; display: inline-block; }
.warn-box { background: var(--band2); border-left: 4px solid var(--orange); padding: 10px 12px; font-size: 13px; color: var(--dark); margin: 10px 0; }

/* 列表项（后台审核/用户/操作员/附件列表通用） */
.item { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.item .btn { margin: 8px 8px 0 0; }
.item details { margin-top: 8px; }
.item details .detail-body { border-top: 1px dashed var(--line); padding-top: 8px; }
.center-list .item { cursor: pointer; }

/* 公告附件（投资者端） */
.att-img { margin: 14px 0; }
.att-img img { max-width: 100%; border: 1px solid var(--line); border-radius: 6px; display: block; }
.att-img .muted { margin-top: 6px; }
input[type=file] { font-size: 13px; color: var(--gray); padding: 6px 0; }
input[type=date] { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; font-family: inherit; }

/* 已发布公告栏：筛选、统计、明细 */
.filter-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 10px 14px; margin: 12px 0 2px; }
.filter-bar .form-row { margin: 0; }
.btn-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.stat-bar { background: var(--band); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 13px; line-height: 1.9; margin: 10px 0 14px; }
.stat-bar b { color: var(--indigo); }
.tag-line { background: #fff; }
.tag-ok { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.tag-pending { background: #fff; color: var(--orange); border: 1px solid var(--orange); }
.tag-recalled { background: #fff; color: var(--red); border: 1px solid var(--red); }
.tbl-wrap { overflow-x: auto; }
table.wide { min-width: 1120px; font-size: 13px; }
table.wide th, table.wide td { padding: 7px 9px; vertical-align: top; }
table.wide th { font-size: 12px; }
.th-sub { font-weight: normal; font-size: 11px; opacity: .85; }
.row-btn { padding: 5px 10px; font-size: 12px; margin: 0 4px 4px 0; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px 18px; font-size: 13px; line-height: 1.9; margin: 6px 0 2px; }
.kv i { font-style: normal; color: var(--gray); }
.kv b { color: var(--indigo); font-weight: normal; }
.audit-block { border-left: 4px solid var(--indigo); background: var(--band); padding: 10px 12px; border-radius: 4px; margin: 10px 0; font-size: 13px; line-height: 1.9; }
