:root {
  --navy-950: #0b1f35;
  --navy-900: #102a47;
  --navy-800: #173b67;
  --navy-700: #24527f;
  --blue-100: #e8f0f8;
  --blue-50: #f4f8fc;
  --red-700: #a92c2c;
  --red-600: #c53b35;
  --red-50: #fff1ef;
  --ink: #14202e;
  --muted: #617083;
  --line: #dce3eb;
  --surface: #ffffff;
  --canvas: #f3f6f9;
  --shadow: 0 24px 60px rgba(15, 39, 67, .12);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { min-height: 100%; color-scheme: light; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.public-body {
  background: #e9eef4;
}

.public-body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 76% 18%, rgba(255,255,255,.92), transparent 36%), linear-gradient(135deg, #e5ebf1, #f7f9fb 65%);
  content: "";
  pointer-events: none;
}

.public-main { min-height: calc(100vh - 48px); }

.public-shell {
  display: grid;
  grid-template-columns: minmax(520px, .94fr) minmax(600px, 1.06fr);
  width: 100%;
  min-height: calc(100vh - 48px);
  margin: 0;
}

.public-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 48px);
  padding: clamp(52px, 6vw, 96px) clamp(42px, 6.4vw, 108px);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--navy-950);
  background-image: url("/static/img/home-hero-cr450-v2.jpg");
  background-position: center;
  background-size: cover;
  color: white;
}
.public-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,22,39,.95) 0%, rgba(7,27,48,.86) 46%, rgba(7,27,48,.48) 76%, rgba(7,27,48,.36) 100%),
    linear-gradient(0deg, rgba(5,18,31,.92) 0%, transparent 42%, rgba(6,21,38,.22) 100%);
  content: "";
}
.public-intro::after {
  position: absolute;
  right: -11%;
  bottom: 7%;
  z-index: -1;
  width: 62%;
  height: 1px;
  background: rgba(255,255,255,.2);
  box-shadow: 0 13px rgba(255,255,255,.08), 0 26px rgba(255,255,255,.04);
  content: "";
  transform: rotate(-7deg);
}
.public-brand { display: flex; gap: 14px; align-items: center; margin-bottom: clamp(56px, 8vh, 92px); }
.public-brand__seal { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.44); background: rgba(7,30,53,.48); color: #fff; font-family: "STZhongsong", "SimSun", serif; font-size: 17px; letter-spacing: .06em; backdrop-filter: blur(6px); }
.public-brand > span:last-child { display: grid; line-height: 1.35; }
.public-brand strong { font-size: 15px; letter-spacing: .1em; }
.public-brand small { color: #a9bfd2; font-size: 10px; letter-spacing: .08em; }
.unit-kicker, .page-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #b9cde0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.unit-kicker span { width: 34px; height: 2px; background: #da554d; }
.unit-kicker.light { color: #c7d6e4; }
.public-intro h1 {
  display: grid;
  gap: 4px;
  margin: 20px 0 21px;
  font-family: "STZhongsong", "SimSun", serif;
  line-height: 1.12;
}
.public-intro h1 span { color: #d7e2eb; font-size: clamp(28px, 2.4vw, 42px); font-weight: 500; letter-spacing: .12em; }
.public-intro h1 strong { font-size: clamp(48px, 4.4vw, 74px); font-weight: 700; letter-spacing: .035em; white-space: nowrap; }
.public-intro > p { max-width: 590px; margin: 0; color: #c6d3df; font-size: 16px; line-height: 1.95; text-shadow: 0 1px 16px rgba(0,0,0,.28); }

.submission-flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 14px; align-items: center; margin-top: 38px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.14); }
.submission-flow > div { display: flex; gap: 10px; align-items: center; }
.submission-flow b { color: #ef756d; font-family: Georgia, serif; font-size: 11px; font-weight: 500; }
.submission-flow span { display: grid; }
.submission-flow strong { font-size: 12px; letter-spacing: .04em; }
.submission-flow small { color: #8fa7bc; font-size: 10px; white-space: nowrap; }
.submission-flow i { width: 100%; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.32), rgba(255,255,255,.06)); }

.feature-list { display: flex; gap: 26px; margin-top: 22px; }
.feature-list > div { display: flex; gap: 17px; align-items: center; }
.feature-list b {
  display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  color: #ef756d; font-family: Arial, sans-serif; font-size: 11px; font-weight: 700;
}
.feature-list span { display: grid; }
.feature-list strong { font-size: 12px; letter-spacing: .03em; }
.feature-list small { color: #8fa7bd; font-size: 10px; }

.form-stage { display: grid; align-content: center; min-height: calc(100vh - 48px); padding: clamp(36px, 5vw, 76px) clamp(34px, 6.2vw, 100px); background: linear-gradient(140deg, rgba(247,249,251,.96), rgba(230,236,242,.94)); }
.form-stage__topline { display: flex; justify-content: space-between; align-items: center; width: min(720px, 100%); margin: 0 auto 12px; color: #526478; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.form-stage__topline small { color: #9ba7b3; font: 10px Georgia, serif; letter-spacing: .16em; }

.form-card {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 3.2vw, 45px);
  border: 1px solid rgba(255,255,255,.92);
  border-top: 3px solid var(--navy-800);
  border-radius: 2px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 28px 76px rgba(18,43,70,.15);
}
.form-card__heading { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; margin-bottom: 26px; }
.form-card__heading h2 { margin: 0; font-size: 27px; line-height: 1.3; }
.form-card__heading p { grid-column: 2; margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.form-card em, .field em { color: var(--red-600); font-style: normal; }
.step-badge { display: inline-grid; place-items: center; width: 42px; height: 42px; background: var(--navy-800); color: white; font: 13px Georgia, serif; letter-spacing: .08em; }
.form-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 10px; align-items: center; margin: -3px 0 26px; padding: 12px 15px; background: #f5f8fb; color: #8491a0; font-size: 11px; }
.form-progress span { display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.form-progress b { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #c8d2dc; border-radius: 50%; font: 10px Georgia, serif; }
.form-progress .is-active { color: var(--navy-800); font-weight: 700; }
.form-progress .is-active b { border-color: var(--navy-800); background: var(--navy-800); color: white; }
.form-progress i { height: 1px; background: #d8e0e8; }

.form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span { color: #344255; font-size: 13px; font-weight: 700; }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 15px; border: 1px solid #cbd5df; border-radius: 2px; outline: none; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(36,82,127,.1); }
.field input::placeholder { color: #a1acb8; }

.upload-zone {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; min-height: 108px; padding: 22px 24px; border: 1px dashed #9dafc0;
  border-radius: 2px; background: linear-gradient(135deg, #f8fafc, #f1f5f8); cursor: pointer; transition: .2s;
}
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--navy-700); background: #f0f5fa; }
.upload-zone.has-files { border-style: solid; border-color: #7693b0; background: #f2f7fb; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #e3ebf3; color: var(--navy-800); font-size: 29px; font-weight: 300; line-height: 1; }
.upload-zone__copy { display: grid; }
.upload-zone strong { color: var(--navy-800); font-size: 14px; }
.upload-zone small { color: var(--muted); font-size: 11px; }
.upload-zone__action { padding: 7px 12px; border: 1px solid #b7c5d3; background: white; color: var(--navy-700); font-size: 11px; font-weight: 700; }
.file-summary { margin: 8px 2px 0; color: var(--muted); font-size: 12px; }

.upload-note { margin: 20px 0 24px; padding: 16px 18px; border-left: 3px solid var(--navy-700); background: var(--blue-50); color: #556579; font-size: 11px; }
.upload-note strong { display: block; margin-bottom: 5px; color: var(--navy-800); font-size: 13px; }
.upload-note ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.upload-note li span { display: inline-block; min-width: 42px; margin-right: 7px; color: var(--navy-800); font-weight: 700; }

.primary-button, .secondary-button, .export-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--navy-800); border-radius: 3px; background: var(--navy-800); color: white; font-weight: 700; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.primary-button:hover, .export-button:hover { border-color: var(--navy-900); background: var(--navy-900); }
.primary-button:active, .secondary-button:active, .export-button:active { transform: translateY(1px); }
.primary-button:disabled { cursor: wait; opacity: .68; }
.primary-button--wide { width: 100%; min-height: 54px; box-shadow: 0 12px 24px rgba(23,59,103,.16); }
.primary-button b { margin-left: auto; font-size: 20px; }
.secondary-button { border-color: #b9c7d5; background: white; color: var(--navy-800); }
.secondary-button:hover { border-color: var(--navy-800); background: var(--blue-50); }
.export-button { min-height: 46px; padding-left: 50px; background-image: linear-gradient(90deg, rgba(255,255,255,.1) 0 38px, transparent 38px); }
.export-button.is-disabled { border-color: #aeb9c5; background-color: #aeb9c5; cursor: not-allowed; opacity: .72; }
.privacy-note { margin: 12px 0 0; color: #8793a1; font-size: 10px; text-align: center; }
.privacy-note span { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 4px; border-radius: 50%; background: #e7eef5; color: var(--navy-700); font-size: 9px; }
.public-footer { height: 48px; padding-top: 13px; color: #7b8998; background: #e9eef4; font-size: 11px; text-align: center; }

.alert { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; padding: 12px 14px; border-radius: 3px; font-size: 13px; }
.alert--error { border: 1px solid #f1c7c4; background: var(--red-50); color: #8c2e2a; }
.alert strong { white-space: nowrap; }

.success-shell { display: grid; place-items: center; min-height: calc(100vh - 48px); padding: 36px; }
.success-card { width: min(560px, 100%); padding: 58px; background: white; box-shadow: var(--shadow); text-align: center; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 20px; border: 1px solid #9fb3c8; border-radius: 50%; color: var(--navy-800); font-family: Georgia, serif; font-size: 34px; }
.success-eyebrow { color: var(--red-600); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.success-card h1 { margin: 10px 0; font-family: "STZhongsong", serif; font-size: 40px; }
.success-card > p { color: var(--muted); }
.success-details { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0; border-block: 1px solid var(--line); }
.success-details div { display: grid; gap: 5px; padding: 17px; }
.success-details div + div { border-left: 1px solid var(--line); }
.success-details span, .success-card small { color: var(--muted); font-size: 12px; }
.success-details strong { color: var(--navy-800); }
.success-card .primary-button { margin-top: 4px; }
.success-card > small { display: block; margin-top: 18px; }

.login-body { background: #edf1f5; }
.login-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.login-brand-panel { position: relative; display: grid; place-items: center; overflow: hidden; padding: 60px; background: var(--navy-950); color: white; }
.login-brand-panel::before, .login-brand-panel::after { position: absolute; border: 1px solid rgba(255,255,255,.06); content: ""; transform: rotate(45deg); }
.login-brand-panel::before { width: 540px; height: 540px; right: -300px; top: -240px; }
.login-brand-panel::after { width: 380px; height: 380px; left: -240px; bottom: -180px; }
.login-brand-panel__content { position: relative; z-index: 1; width: min(440px, 100%); }
.brand-seal { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 44px; border: 1px solid rgba(255,255,255,.35); color: #f17168; font-family: "STZhongsong", serif; font-size: 25px; }
.login-brand-panel h1 { margin: 20px 0; font-family: "STZhongsong", serif; font-size: clamp(44px, 5vw, 68px); line-height: 1.22; letter-spacing: .03em; }
.login-brand-panel > * > p { color: #b3c4d4; font-size: 17px; }
.login-brand-panel__line { width: 100%; height: 1px; margin: 56px 0 18px; background: rgba(255,255,255,.15); }
.login-brand-panel small { color: #8097ac; letter-spacing: .12em; }
.login-form-panel { display: grid; place-items: center; padding: 48px; }
.login-card { width: min(410px, 100%); padding: 46px; background: white; box-shadow: 0 18px 50px rgba(25,47,73,.1); }
.login-card h2 { margin: 20px 0 3px; font-size: 28px; }
.login-card > p { margin: 0 0 28px; color: var(--muted); }
.login-card .alert { margin-top: -8px; }
.back-link { display: block; margin-top: 22px; color: var(--muted); font-size: 13px; text-align: center; }

.admin-body { background: var(--canvas); }
.admin-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid #dbe2e9; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.admin-header__inner { display: flex; justify-content: space-between; align-items: center; width: min(1480px, calc(100% - 48px)); height: 72px; margin: auto; }
.brand { display: flex; gap: 12px; align-items: center; color: var(--navy-900); }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--navy-900); color: white; font-family: "STZhongsong", serif; font-size: 18px; }
.brand > span:last-child { display: grid; line-height: 1.25; }
.brand strong { font-size: 15px; letter-spacing: .05em; }
.brand small { color: #778596; font-size: 10px; letter-spacing: .08em; }
.admin-nav { display: flex; gap: 6px; align-items: center; }
.admin-nav a { padding: 9px 13px; border-radius: 3px; color: #536274; font-size: 13px; font-weight: 700; }
.admin-nav a:hover { background: var(--blue-50); color: var(--navy-800); }
.admin-nav a.is-active { background: var(--navy-900); color: white; }
.admin-user { margin-left: 12px; padding-left: 18px; border-left: 1px solid var(--line); color: #8490a0; font-size: 12px; }
.nav-toggle { display: none; padding: 6px 12px; border: 1px solid var(--line); background: white; color: var(--navy-900); }
.admin-main { width: min(1480px, calc(100% - 48px)); margin: 0 auto; padding: 44px 0 70px; }

.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 26px; }
.page-kicker { display: block; color: var(--red-600); font-size: 10px; }
.page-heading h1 { margin: 5px 0 2px; font-family: "STZhongsong", serif; font-size: 34px; line-height: 1.3; letter-spacing: .03em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.page-actions { display: flex; gap: 10px; align-items: center; }
.back-inline { display: inline-block; margin-bottom: 7px; color: var(--navy-700); font-size: 13px; font-weight: 700; }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.stat-cards article { position: relative; min-height: 176px; padding: 26px 28px; overflow: hidden; border: 1px solid var(--line); background: white; }
.stat-cards article::after { position: absolute; right: -30px; bottom: -55px; width: 150px; height: 150px; border: 22px solid var(--blue-50); border-radius: 50%; content: ""; }
.stat-cards article:nth-child(3)::after { border-color: var(--red-50); }
.card-index { position: absolute; right: 20px; top: 18px; color: #c5ced8; font-family: Georgia, serif; font-size: 12px; }
.stat-cards p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.stat-cards strong { position: relative; z-index: 1; display: block; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: 48px; line-height: 1.15; }
.stat-cards small { color: #95a0ad; }

.panel, .filter-panel { border: 1px solid var(--line); background: white; }
.panel__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 24px; border-bottom: 1px solid var(--line); }
.panel__heading h2 { margin: 0; font-size: 18px; }
.panel__heading p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.panel__heading a { color: var(--navy-700); font-size: 13px; font-weight: 700; }
.panel--flush { margin-top: 20px; }
.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 13px 15px; border-bottom: 1px solid #cdd7e2; background: #f6f8fa; color: #526174; font-size: 12px; font-weight: 700; text-align: left; white-space: nowrap; }
td { padding: 14px 15px; border-bottom: 1px solid #e8edf2; color: #354356; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfd; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.title-cell { min-width: 200px; font-weight: 600; }
.wide-table { min-width: 1220px; }
.row-actions { display: flex; gap: 11px; }
.row-actions a { color: var(--navy-700); font-size: 12px; font-weight: 700; }
.row-actions a + a { padding-left: 11px; border-left: 1px solid var(--line); }
.path-cell { max-width: 360px; color: #6d7b8c; font-family: Consolas, "Microsoft YaHei", monospace; font-size: 11px; overflow-wrap: anywhere; }
.type-tag { display: inline-block; padding: 3px 8px; border: 1px solid #c8d8e8; border-radius: 2px; background: #edf4fa; color: #29567e; font-size: 11px; white-space: nowrap; }
.type-tag--video { border-color: #efd0cc; background: #fff1ef; color: #9c3832; }
.empty-state { padding: 50px 20px; color: #8b97a5; text-align: center; }

.filter-panel { padding: 20px 22px; }
.filter-grid { display: grid; grid-template-columns: 1.4fr .8fr .75fr .75fr auto; gap: 14px; align-items: end; }
.filter-grid .field { margin: 0; }
.filter-grid .field input, .filter-grid .field select { height: 42px; }
.filter-actions { display: flex; gap: 9px; align-items: center; }
.filter-actions .primary-button { min-height: 42px; }
.text-button { padding: 8px 12px; color: var(--muted); font-size: 13px; }
.filter-help { margin: 10px 2px 0; color: var(--muted); font-size: 12px; }
.pagination { display: flex; justify-content: center; gap: 16px; align-items: center; padding: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.pagination a { padding: 6px 12px; border: 1px solid var(--line); background: white; color: var(--navy-700); }

.report-forms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.report-form { padding: 20px; border: 1px solid var(--line); background: white; }
.report-form.is-active { border-top: 3px solid var(--navy-800); padding-top: 18px; }
.report-form__title { display: flex; gap: 13px; align-items: center; margin-bottom: 16px; }
.report-form__title > span { display: grid; place-items: center; width: 32px; height: 32px; background: var(--blue-50); color: var(--navy-700); font-family: Georgia, serif; font-size: 11px; }
.report-form__title h2 { margin: 0; font-size: 16px; }
.report-form__title p { margin: 0; color: var(--muted); font-size: 11px; }
.report-form__fields { display: flex; gap: 9px; align-items: end; }
.report-form__fields .field { min-width: 0; margin: 0; flex: 1; }
.report-form__fields .field input, .report-form__fields .field select { height: 39px; padding: 0 9px; font-size: 12px; }
.report-form__fields .secondary-button { min-height: 39px; padding: 0 12px; white-space: nowrap; font-size: 12px; }
.report-total { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 12px; }
.report-total strong { color: var(--navy-800); font-family: Georgia, serif; font-size: 32px; line-height: 1; }
.statistics-table { min-width: 680px; }
.statistics-table th:nth-child(n+3) { text-align: center; }
.number-cell { color: var(--navy-800); font-family: Georgia, serif; font-size: 16px; text-align: center; }
.number-cell.strong { font-weight: 700; }
.total-row { background: #eef3f8; font-weight: 700; }
.total-row:hover { background: #e8eef5; }

.detail-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; border: 1px solid var(--line); background: white; }
.detail-summary dl { min-width: 0; margin: 0; padding: 20px 22px; }
.detail-summary dl + dl { border-left: 1px solid var(--line); }
.detail-summary dt { margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.detail-summary dd { margin: 0; color: var(--navy-900); font-weight: 700; overflow-wrap: anywhere; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 0 0 14px; }
.section-heading h2 { margin: 0; font-size: 20px; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.file-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.file-card { min-width: 0; border: 1px solid var(--line); background: white; }
.file-card__header { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.file-card__header > div { display: grid; min-width: 0; }
.file-card__header strong { overflow: hidden; color: var(--navy-900); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.file-card__header span { color: var(--muted); font-size: 11px; }
.small-button { flex: 0 0 auto; padding: 6px 11px; border: 1px solid #bdcad8; color: var(--navy-700); font-size: 12px; font-weight: 700; }
.small-button:hover { border-color: var(--navy-700); background: var(--blue-50); }
.file-preview { display: grid; place-items: center; min-height: 280px; max-height: 520px; overflow: auto; background: #eef2f6; }
.file-preview img { display: block; max-width: 100%; max-height: 520px; margin: auto; object-fit: contain; }
.file-preview video { display: block; width: 100%; max-height: 520px; background: #10151a; }
.file-preview iframe { display: block; width: 100%; height: 500px; border: 0; background: white; }
.file-preview pre { align-self: stretch; width: 100%; min-height: 280px; max-height: 500px; margin: 0; padding: 22px; overflow: auto; background: #fbfcfd; color: #26374a; font: 13px/1.75 Consolas, "Microsoft YaHei", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-placeholder { display: grid; gap: 6px; place-items: center; padding: 28px; color: var(--muted); text-align: center; }
.preview-placeholder b { color: var(--navy-700); font-size: 18px; }
.preview-placeholder span { font-size: 12px; }
.preview-placeholder--error b { color: var(--red-600); }
.preview-note { margin: 0; padding: 9px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.technical-details { margin-top: 18px; border: 1px solid var(--line); background: white; }
.technical-details summary { padding: 14px 18px; color: var(--navy-700); cursor: pointer; font-size: 13px; font-weight: 700; }
.technical-details dl { display: grid; grid-template-columns: 130px 1fr; margin: 0; padding: 0 18px 18px; font-size: 12px; }
.technical-details dt, .technical-details dd { margin: 0; padding: 8px 0; border-bottom: 1px solid #eef1f4; }
.technical-details dt { color: var(--muted); }
.technical-details dd { overflow-wrap: anywhere; }

@media (max-width: 1080px) {
  .public-body { background: #e9eef4; }
  .public-shell { grid-template-columns: 1fr; width: 100%; }
  .public-intro { min-height: 650px; padding: 58px max(34px, 8vw); background-position: center 52%; }
  .public-brand { margin-bottom: 70px; }
  .public-intro h1 strong { font-size: clamp(48px, 8vw, 70px); }
  .public-intro > p { max-width: 650px; }
  .submission-flow { max-width: 680px; }
  .form-stage { min-height: auto; padding: 60px max(24px, 8vw) 70px; }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-actions { grid-column: 1 / -1; }
  .report-forms { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
  .detail-summary { grid-template-columns: repeat(2, 1fr); }
  .detail-summary dl:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .detail-summary dl:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .public-shell { width: 100%; }
  .public-intro { min-height: 600px; padding: 34px 22px 42px; background-position: 58% center; }
  .public-intro::before { background: linear-gradient(90deg, rgba(5,22,39,.96), rgba(7,27,48,.72)), linear-gradient(0deg, rgba(5,18,31,.93), transparent 55%); }
  .public-brand { margin-bottom: 58px; }
  .public-brand__seal { width: 42px; height: 42px; }
  .unit-kicker { font-size: 10px; letter-spacing: .1em; }
  .public-intro h1 { margin-top: 16px; }
  .public-intro h1 span { font-size: 25px; }
  .public-intro h1 strong { font-size: clamp(39px, 11vw, 52px); white-space: normal; }
  .public-intro > p { font-size: 15px; }
  .submission-flow { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 15px 0; }
  .submission-flow i { display: none; }
  .submission-flow > div { display: grid; gap: 3px; }
  .submission-flow small { display: none; }
  .feature-list { display: none; }
  .form-stage { padding: 32px 12px 46px; }
  .form-stage__topline { padding-inline: 4px; }
  .form-card { padding: 27px 19px; }
  .form-card__heading { margin-bottom: 20px; }
  .form-card__heading p { font-size: 11px; }
  .form-progress { gap: 6px; padding-inline: 10px; }
  .form-progress span { gap: 4px; font-size: 10px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .upload-zone { grid-template-columns: auto 1fr; min-height: 104px; padding: 18px; }
  .upload-zone__action { display: none; }
  .success-shell { padding: 16px; }
  .success-card { padding: 38px 22px; }
  .success-details { grid-template-columns: 1fr; }
  .success-details div + div { border-top: 1px solid var(--line); border-left: 0; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand-panel { display: none; }
  .login-form-panel { padding: 20px; }
  .login-card { padding: 32px 24px; }
  .admin-header__inner { width: calc(100% - 28px); height: 64px; }
  .nav-toggle { display: block; }
  .admin-nav { position: absolute; top: 64px; right: 14px; display: none; width: 210px; padding: 10px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
  .admin-nav.is-open { display: grid; }
  .admin-nav a { padding: 10px 12px; }
  .admin-user { margin: 5px 0 0; padding: 9px 12px; border-top: 1px solid var(--line); border-left: 0; }
  .admin-main { width: calc(100% - 24px); padding: 28px 0 48px; }
  .page-heading { display: grid; align-items: start; }
  .page-heading .secondary-button, .page-heading .export-button { width: 100%; }
  .page-actions { display: grid; width: 100%; }
  .stat-cards { grid-template-columns: 1fr; }
  .stat-cards article { min-height: 140px; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-actions { grid-column: auto; }
  .report-form__fields { flex-wrap: wrap; }
  .report-form__fields .secondary-button { width: 100%; }
  .panel__heading { align-items: start; }
  .detail-summary { grid-template-columns: 1fr; }
  .detail-summary dl + dl, .detail-summary dl:nth-child(3), .detail-summary dl:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
  .file-card-grid { grid-template-columns: 1fr; }
  .file-preview iframe { height: 420px; }
  .technical-details dl { grid-template-columns: 1fr; }
  .technical-details dt { padding-bottom: 0; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
