/* ==========================================================================
   陶溪川艺术中心 · 艺术家自主展览申报系统
   文件：exhibition.css（仅本目录使用）
   视觉参考：Apple 官网设计语言
   - 白色画布 + #f5f5f7 分区，单一蓝色强调色
   - SF 风格无衬线字体，大字号、紧字距、克制字重
   - 毛玻璃吸顶导航、胶囊按钮、18px 圆角磁贴
   - 表单为浅灰填充、聚焦蓝色描边
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-alt-2: #efeff2;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: #e8f2fd;
  --green: #1a7f37;
  --green-soft: #e6f5ea;
  --amber: #8a5000;
  --amber-soft: #fff4e0;
  --red: #c4000f;
  --red-soft: #ffe9eb;
  --purple: #6b3fbf;
  --purple-soft: #f1eafd;
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --radius-xl: 28px;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-m: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-l: 0 20px 60px rgba(0, 0, 0, 0.16);
  --maxw: 1024px;
  --maxw-wide: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern";
}

body.has-drawer { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.02em; }
h4 { font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2.5rem 0; }

::selection { background: rgba(0, 113, 227, 0.18); color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 2. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }
.container-wide { max-width: var(--maxw-wide); }

.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

.page-head {
  padding: 84px 0 52px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { margin-bottom: 14px; }
.page-head .lede { font-size: 1.1875rem; color: var(--muted); }

.eyebrow,
.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  display: block;
}
.eyebrow::before { content: none; }

.lede {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 64ch;
  letter-spacing: -0.01em;
}
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; letter-spacing: -0.01em; }
.mono { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0; }
.nowrap { white-space: nowrap; }
.text-c { text-align: center; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }

/* 分区标题（居中） */
.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { margin-bottom: 14px; }
.section-head .lede { margin: 0 auto; }
.section-head.is-left { margin-left: 0; text-align: left; }
.section-head.is-left .lede { margin-left: 0; }

/* ---------- 3. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 48px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  flex-shrink: 0;
  min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
  align-self: center;
}
.brand-text { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.brand-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  color: rgba(29, 29, 31, 0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  padding: 6px 11px;
  border-radius: 6px;
  position: relative;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); text-decoration: none; background: rgba(0, 0, 0, 0.04); }
.nav a.is-active { color: var(--ink); font-weight: 500; }
.nav a.is-active::after { content: none; }
.nav .nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 6px 13px;
  margin-left: 12px;
  border-radius: 980px;
  font-weight: 400;
  font-size: 12px;
}
.nav .nav-cta:hover { background: var(--blue-hover); color: #fff; }

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border-radius: 980px;
  padding: 2px;
  margin-left: 8px;
  flex-shrink: 0;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 980px;
  cursor: pointer;
  line-height: 1.4;
}
.lang-toggle button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }

.nav-burger {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-burger span {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--ink);
  margin: 4px auto;
  transition: transform 0.2s ease;
}

/* ---------- 4. 页脚 ---------- */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt);
  padding: 56px 0 32px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0;
}
.footer-grid a { color: var(--muted); display: block; padding: 4px 0; font-size: 12px; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-grid p { font-size: 12px; line-height: 1.55; color: var(--muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 11px;
  color: var(--muted-2);
  flex-wrap: wrap;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding: 11px 21px;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { opacity: 0.82; }
.btn-primary,
.btn-accent,
.btn-ok { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover,
.btn-accent:hover,
.btn-ok:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--line); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: transparent;
  padding: 10px 4px;
}
.btn-ghost:hover { color: var(--blue-hover); background: transparent; text-decoration: none; }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { background: #a9000c; border-color: #a9000c; color: #fff; }
.btn-sm { font-size: 13px; padding: 7px 15px; }
.btn-xs { font-size: 12px; padding: 5px 11px; }
.btn-lg { font-size: 17px; padding: 14px 28px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.link-arrow::after { content: " ›"; font-weight: 400; }

/* ---------- 6. 首页 Hero ---------- */
.notice-bar {
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-soft);
}
.notice-bar .container {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.notice-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.notice-bar a { color: var(--blue); }
.notice-bar a:hover { text-decoration: underline; }

.hero { padding: 88px 0 0; background: var(--bg); text-align: center; }
.hero-copy { max-width: 860px; margin: 0 auto; }
.hero h1 { margin: 0 0 20px; }
.hero .lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.45;
  margin: 0 auto;
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-art {
  margin: 64px auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
  max-width: var(--maxw-wide);
}
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 12px;
  border-radius: 980px;
}

.stat-strip {
  display: flex;
  margin: 0 auto;
  max-width: var(--maxw);
  border-bottom: 1px solid var(--line-soft);
}
.stat-strip > div {
  flex: 1;
  padding: 28px 16px;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}
.stat-strip > div:first-child { border-left: 0; }
.stat-strip dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0;
}
.stat-strip dd {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- 7. 卡片与磁贴 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 32px;
}
.card-flush { padding: 0; overflow: hidden; }
.card-hover { transition: box-shadow 0.25s ease, transform 0.25s ease; }
.card-hover:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.card-num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* 磁贴（首页分区卡片） */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-alt);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  min-height: 230px;
  color: var(--ink);
  transition: background 0.2s ease;
}
.tile:hover { background: var(--bg-alt-2); text-decoration: none; }
.tile-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tile h3 { font-size: 24px; margin: 0; letter-spacing: -0.02em; }
.tile p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }
.tile .tile-specs {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.tile .tile-link { color: var(--blue); font-size: 14px; margin-top: auto; padding-top: 16px; }

/* 统计卡（审核端） */
.stat-card {
  border: 0;
  background: var(--bg-alt);
  padding: 20px 22px;
  border-radius: var(--radius);
  min-width: 0;
}
.stat-card .label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.stat-card .value {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-card .value small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.stat-card.is-active { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.stat-card.is-active .value,
.stat-card.is-active .label { color: #0b63b8; }

/* ---------- 8. 表单 ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 36px 40px;
}
.form-section {
  padding: 48px 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 80px;
}
.form-section:first-of-type { border-top: 0; padding-top: 8px; }
.section-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.section-heading .idx {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  flex-shrink: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  display: inline;
  transform: none;
  margin-top: 9px;
}
.section-heading h2 { margin: 0; font-size: 1.75rem; letter-spacing: -0.025em; }
.section-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
  max-width: 70ch;
  letter-spacing: -0.01em;
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; }
.field-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-span-2 { grid-column: span 2; }
.field-span-3 { grid-column: span 3; }

.field { display: flex; flex-direction: column; min-width: 0; }
.field > label,
.field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.field-label .en-sub { font-weight: 400; font-size: 12px; color: var(--muted); }
.req { color: var(--red); font-weight: 500; }
.opt {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  background: var(--bg-alt);
  border-radius: 980px;
  padding: 1px 8px;
  letter-spacing: 0;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="url"], input[type="date"], input[type="password"], select, textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 16px;
  line-height: 1.4;
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  appearance: none;
}
textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
input:hover, select:hover, textarea:hover { background: #efeff2; }
input:focus, select:focus, textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18);
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }

.field .hint { font-size: 12px; color: var(--muted-2); margin: 7px 0 0; line-height: 1.45; letter-spacing: 0; }
.field .err {
  font-size: 12px;
  color: var(--red);
  margin: 7px 0 0;
  display: none;
  line-height: 1.45;
  letter-spacing: 0;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea {
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 0, 15, 0.1);
}
.field.is-invalid .err { display: block; }
.field.is-invalid > label { color: var(--red); }

.counter {
  font-size: 11px;
  color: var(--muted-2);
  margin: 7px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.counter .count.is-low { color: var(--red); }
.counter .count.is-over { color: var(--amber); }

/* 单选 / 复选 */
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid transparent;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 10px 15px;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  line-height: 1.4;
}
.choice:hover { background: var(--bg-alt-2); }
.choice input { margin: 2px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.choice:has(input:checked) { background: var(--blue-soft); border-color: var(--blue); color: #0b63b8; }

.check-list { display: grid; gap: 10px; }
.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid transparent;
  background: var(--bg-alt);
  padding: 18px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.check-item:hover { background: var(--bg-alt-2); }
.check-item:has(input:checked) { background: var(--blue-soft); border-color: rgba(0, 113, 227, 0.35); }
.check-item input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--blue); flex-shrink: 0; }
.check-item .en-line { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.45; }

.conditional { display: none; }
.conditional.is-open { display: flex; }

/* 上传 */
.upload-zone {
  border: 1.5px dashed var(--line);
  background: var(--bg-alt);
  border-radius: var(--radius-l);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.upload-zone:hover, .upload-zone.is-drag { border-color: var(--blue); background: var(--blue-soft); }
.upload-zone .uz-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow-s);
}
.upload-zone strong { display: block; font-size: 15px; font-weight: 500; margin-bottom: 4px; letter-spacing: -0.01em; }
.upload-zone span { font-size: 12px; color: var(--muted); }
.upload-zone input[type="file"] { display: none; }

.upload-group { margin-bottom: 36px; }
.upload-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.upload-group-head h4 { margin: 0; font-size: 15px; font-family: var(--font); font-weight: 600; }
.upload-group-note { font-size: 12px; color: var(--muted); margin: 0 0 12px; }

.file-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.file-item {
  border: 1px solid var(--line-soft);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.file-thumb {
  height: 130px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb .pdf-tag {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--red);
  background: #fff;
  padding: 5px 10px;
  border-radius: 980px;
  box-shadow: var(--shadow-s);
}
.file-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.file-name {
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-meta { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.file-body input[type="text"] { font-size: 12px; padding: 8px 10px; border-radius: 8px; }
.file-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(29, 29, 31, 0.62);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.file-remove:hover { background: var(--red); }

/* 填表进度 */
.apply-layout {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 48px 0 96px;
}
.step-rail { position: sticky; top: 76px; }
.step-rail .rail-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.step-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.step-rail a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
}
.step-rail a .n { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.step-rail a:hover { color: var(--ink); background: var(--bg-alt); }
.step-rail a.is-current { color: var(--blue); font-weight: 500; background: var(--blue-soft); }
.step-rail a.is-current .n { color: var(--blue); }
.step-rail a.is-done { color: var(--ink-2); }
.step-rail a.is-done .n::after { content: " ✓"; color: var(--blue); }
.rail-progress { margin-top: 22px; padding: 0 10px; }
.rail-progress .bar { height: 3px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.rail-progress .bar i { display: block; height: 100%; background: var(--blue); width: 0; transition: width 0.3s ease; border-radius: 3px; }
.rail-progress span { font-size: 11px; color: var(--muted-2); display: block; margin-top: 8px; font-variant-numeric: tabular-nums; }

.form-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding-top: 32px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.form-footer .note { font-size: 12px; color: var(--muted); max-width: 48ch; margin: 0; line-height: 1.5; }

.draft-banner {
  display: none;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  background: var(--amber-soft);
  color: var(--amber);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  letter-spacing: -0.01em;
}
.draft-banner.is-visible { display: flex; }
.draft-banner .btn { color: var(--amber); }

/* ---------- 9. 状态徽章 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 3px 10px;
  border-radius: 980px;
  border: 0;
  white-space: nowrap;
  line-height: 1.6;
}
.badge::before { content: none; }
.badge-submitted { background: var(--amber-soft); color: var(--amber); }
.badge-preliminary { background: var(--blue-soft); color: #0b63b8; }
.badge-interview { background: var(--purple-soft); color: var(--purple); }
.badge-accepted { background: var(--green-soft); color: var(--green); }
.badge-rejected { background: var(--red-soft); color: var(--red); }

/* ---------- 10. 时间线 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 24px; border-left: 1px solid var(--line-soft); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
}
.timeline li.is-current::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.timeline .t-time { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.timeline .t-title { font-size: 14px; font-weight: 600; margin: 2px 0 3px; letter-spacing: -0.01em; }
.timeline .t-note { font-size: 13px; color: var(--ink-2); margin: 0; white-space: pre-wrap; line-height: 1.55; }

/* ---------- 11. 审核端列表 ---------- */
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.toolbar .search { position: relative; flex: 1 1 240px; min-width: 200px; }
.toolbar .search input { padding-left: 38px; }
.toolbar .search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  pointer-events: none;
}
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-select { width: auto; min-width: 150px; }
.result-count { margin-left: auto; }

.chip {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 980px;
  border: 0;
  background: var(--bg-alt);
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.5;
  letter-spacing: 0;
}
.chip:hover { background: var(--bg-alt-2); }
.chip.is-on { background: var(--ink); color: #fff; }
.chip .c { opacity: 0.6; margin-left: 4px; font-variant-numeric: tabular-nums; }

.app-table { width: 100%; border-collapse: collapse; font-size: 14px; letter-spacing: -0.01em; }
.app-table thead th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.app-table tbody tr {
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 0.12s ease;
}
.app-table tbody tr:hover { background: var(--bg-alt); }
.app-table tbody tr.is-selected { background: var(--blue-soft); }
.app-table td { padding: 16px 10px; vertical-align: middle; text-wrap: pretty; }
.app-table .cell-title { font-weight: 500; color: var(--ink); max-width: 280px; }
.app-table .cell-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.app-table .cell-id { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0; white-space: nowrap; color: var(--muted); }

.app-cards { display: grid; gap: 12px; }
.app-card-row {
  border: 1px solid var(--line-soft);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
}
.app-card-row:hover { box-shadow: var(--shadow-m); }

/* 审核列表：窄屏用卡片行替代宽表格 */
.cards-only { display: none; }
button.app-card-row {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  font-family: inherit;
}
button.app-card-row:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.review-card .rc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-card .rc-top .cell-title { max-width: none; }
.review-card .rc-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--muted-2); }

.empty-state {
  text-align: center;
  padding: 72px 24px;
  color: var(--muted);
  border-radius: var(--radius-l);
  background: var(--bg-alt);
}
.empty-state .es-mark { font-size: 34px; color: var(--line); margin-bottom: 10px; font-weight: 300; }
.empty-state h3 { color: var(--ink); }
.empty-state p { font-size: 13px; }

/* ---------- 12. 抽屉 / 弹层 ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 90;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(720px, 100%);
  background: #fff;
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.14);
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.24, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  padding: 24px 32px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  flex-shrink: 0;
}
.drawer-head .dh-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.drawer-head h2 { font-size: 1.5rem; margin: 4px 0 8px; letter-spacing: -0.025em; }
.drawer-close {
  border: 0;
  background: var(--bg-alt);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1;
}
.drawer-close:hover { background: var(--bg-alt-2); color: var(--ink); }
.drawer-body { padding: 28px 32px 40px; overflow-y: auto; flex: 1; }
.drawer-foot {
  border-top: 1px solid var(--line-soft);
  background: #fff;
  padding: 14px 32px;
  flex-shrink: 0;
}

.detail-block { margin-bottom: 36px; }
.detail-block h3 {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.dl { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 10px 20px; font-size: 14px; margin: 0; }
.dl dt { color: var(--muted); font-size: 13px; }
.dl dd { margin: 0; color: var(--ink); word-break: break-word; }
.dl dd.long { white-space: pre-wrap; line-height: 1.6; }

.attach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.attach {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: box-shadow 0.18s ease;
}
.attach:hover { box-shadow: var(--shadow-m); }
.attach .a-img { height: 104px; background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; }
.attach .a-img img { width: 100%; height: 100%; object-fit: cover; }
.attach .a-cap { padding: 9px 11px; font-size: 11px; color: var(--ink-2); line-height: 1.45; }
.attach .a-cap b {
  display: block;
  font-weight: 500;
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0;
  margin-bottom: 2px;
  word-break: break-all;
}

.review-box {
  background: var(--bg-alt);
  border-radius: var(--radius-l);
  padding: 24px;
}
.review-box h4 { margin-bottom: 6px; font-size: 1.0625rem; }
.review-box input,
.review-box textarea { background: #fff; }
.review-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.review-note { margin-top: 16px; }

.modal-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-l);
  width: min(520px, calc(100vw - 32px));
  padding: 32px;
}
.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-wrap.is-open { opacity: 1; pointer-events: auto; }
.modal-card h3 { margin-bottom: 8px; }
.modal-card p { font-size: 14px; color: var(--muted); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 40px;
}
.lightbox.is-open { display: grid; }
.lightbox img, .lightbox iframe {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 0;
  background: #fff;
  border-radius: 12px;
}
.lightbox iframe { width: min(900px, 92vw); height: 78vh; }
.lightbox .lb-cap {
  color: #d2d2d7;
  font-size: 12px;
  text-align: center;
  margin-top: 16px;
  max-width: 70ch;
}
.lightbox .lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.lightbox .lb-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- 13. Toast ---------- */
.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: rgba(29, 29, 31, 0.94);
  backdrop-filter: blur(16px);
  color: #f5f5f7;
  font-size: 13px;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-m);
  max-width: 360px;
  pointer-events: auto;
  animation: toastIn 0.24s ease;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.toast.is-ok { border-left: 3px solid #30d158; }
.toast.is-err { border-left: 3px solid #ff453a; }
.toast.is-out { opacity: 0; transform: translateY(6px); transition: all 0.25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 14. 折叠面板 ---------- */
details.faq { border-bottom: 1px solid var(--line-soft); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-body { padding: 0 0 26px; font-size: 15px; color: var(--muted); max-width: 74ch; line-height: 1.55; }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 15. 成功页 ---------- */
.success-wrap { padding-top: 88px; padding-bottom: 80px; }
.success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 28px;
}
.ticket {
  border: 0;
  background: var(--bg-alt);
  border-radius: var(--radius-l);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ticket .t-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.ticket .t-id { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 26px; letter-spacing: 0.02em; color: var(--ink); line-height: 1.25; }

.summary-list { margin: 0; display: grid; gap: 0; }
.summary-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.summary-list div:last-child { border-bottom: 0; }
.summary-list dt { color: var(--muted); font-size: 13px; }
.summary-list dd { margin: 0; }

/* ---------- 16. 往届展览 ---------- */
.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.showcase-item {
  border: 0;
  background: var(--bg-alt);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.showcase-art { aspect-ratio: 16 / 10; overflow: hidden; background: #e8e8ed; }
.showcase-art svg { width: 100%; height: 100%; display: block; }
.showcase-body { padding: 24px 26px 28px; }
.showcase-body h3 { font-size: 1.3125rem; margin-bottom: 4px; }
.showcase-meta { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.showcase-body p { font-size: 14px; color: var(--muted); margin-bottom: 0; line-height: 1.5; }

/* ---------- 17. 登录门 ---------- */
.gate { min-height: 62vh; display: grid; place-items: center; padding: 72px 0; }
.gate-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}
.gate-card .brand-mark { margin: 0 auto 20px; width: 44px; height: 44px; border-radius: 12px; font-size: 17px; }

/* ---------- 18. 辅助类 ---------- */
.stack-4 > * + * { margin-top: 4px; }
.stack-8 > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; gap: 10px; }
.gap-8 { gap: 8px; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

.rule-list { margin: 0; padding: 0; list-style: none; }
.rule-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.rule-list li:last-child { border-bottom: 0; }
.rule-list .rn { font-size: 11px; color: var(--muted-2); padding-top: 3px; letter-spacing: 0.04em; }

.kv-inline { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.kv-inline span { display: inline-flex; gap: 5px; align-items: center; }
.kv-inline .kv-sep { color: var(--line); }

/* ---------- 19. 审核端补充组件 ---------- */
.grid-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
button.stat-card {
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  border: 0;
}
button.stat-card:hover { background: var(--bg-alt-2); }

/* 横向滚动容器：两端渐隐阴影提示「还能滑」，滚到尽头阴影自动消失 */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-image:
    linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0)),
    linear-gradient(to left, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0));
  background-position: left center, right center, left center, right center;
  background-size: 42px 100%, 42px 100%, 14px 100%, 14px 100%;
  background-repeat: no-repeat;
  background-attachment: local, local, scroll, scroll;
}

/* 进度轨迹（申请端查询页） */
.status-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; }
.status-track .st {
  position: relative;
  padding-top: 26px;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.4;
  letter-spacing: 0;
}
.status-track .st b { font-weight: 500; }
.status-track .st::before {
  content: "";
  position: absolute;
  top: 6px; left: 0; right: 0;
  height: 1px;
  background: var(--line-soft);
}
.status-track .st::after {
  content: "";
  position: absolute;
  top: 2px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  z-index: 1;
}
.status-track .st:last-child::before { display: none; }
.status-track .st.done { color: var(--ink-2); }
.status-track .st.done::after { background: var(--blue); border-color: var(--blue); }
.status-track .st.done::before { background: rgba(0, 113, 227, 0.35); }
.status-track .st.current { color: var(--ink); font-weight: 500; }
.status-track .st.current::after { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px var(--bg-alt); }
.status-track .st.rejected { color: var(--red); }
.status-track .st.rejected::after { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero { padding-top: 68px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .apply-layout { grid-template-columns: 1fr; gap: 24px; }
  .step-rail { position: static; display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-grid-3 { grid-template-columns: 1fr 1fr; }
  .field-span-3 { grid-column: span 2; }
  .section { padding: 84px 0; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 20px;
    gap: 0;
    display: none;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a.is-active::after { display: none; }
  .nav .nav-cta {
    margin: 16px 0 0;
    text-align: center;
    justify-content: center;
    display: flex;
    border-radius: 980px;
    padding: 12px;
    font-size: 15px;
  }
  .nav-burger { display: grid; order: 3; margin-left: 4px; }
  .lang-toggle { margin-left: auto; order: 2; }
  .notice-bar .dot { display: none; }
  .notice-bar .container { flex-direction: column; gap: 4px; }
  .kv-sep { display: none !important; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-grid, .tile-grid-4 { grid-template-columns: 1fr; }
  .field-grid, .field-grid-3 { grid-template-columns: 1fr; }
  .field-span-2, .field-span-3 { grid-column: span 1; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .showcase { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .section-desc { margin-left: 0; }
  .app-card-row { grid-template-columns: 1fr; gap: 10px; }
  .drawer { width: 100%; }
  .dl { grid-template-columns: 1fr; gap: 3px 0; }
  .dl dt { margin-top: 10px; }
  .summary-list div { grid-template-columns: 1fr; gap: 2px; }
  #listRoot .app-table { min-width: 720px; }
  .card-flush .app-table { min-width: 0; table-layout: fixed; }
  .card-flush .app-table .cell-title { max-width: none; }
  .card-flush .app-table .mono { white-space: normal; }
  .card-flush .t-materials th:nth-child(1), .card-flush .t-materials td:nth-child(1) { width: 33%; }
  .card-flush .t-materials th:nth-child(3), .card-flush .t-materials td:nth-child(3) { width: 25%; }
  .card-flush .t-timeline th:nth-child(1), .card-flush .t-timeline td:nth-child(1) { width: 28%; }
  .card-flush .t-timeline th:nth-child(2), .card-flush .t-timeline td:nth-child(2) { width: 38%; }
  .card-flush .t-timeline th:nth-child(3), .card-flush .t-timeline td:nth-child(3) { width: 34%; }
  .filter-select { flex: 1 1 140px; min-width: 0; }
  .result-count { flex-basis: 100%; margin-left: 0; text-align: right; }
  .container { padding: 0 20px; }
  .page-head { padding: 56px 0 36px; }
  .hero-art { margin-top: 44px; border-radius: 20px; }
  .stat-strip { flex-wrap: wrap; }
  .stat-strip > div { flex: 1 1 33%; min-width: 120px; padding: 20px 12px; }
  .stat-strip > div:nth-child(4) { border-left: 0; }
  .ticket { flex-direction: column; align-items: flex-start; }
  .drawer-head, .drawer-body, .drawer-foot { padding-left: 22px; padding-right: 22px; }
  .hero .lede { font-size: 1.0625rem; }
  .brand-sub { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-ghost { width: auto; }
  .grid-2 .card { padding: 24px; }
  .grid-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stat-card { padding: 14px 12px; }
  .stat-card .value { font-size: 24px; }
  .lightbox { padding: 16px; }
  .review-actions .btn { width: 100%; }
  .form-footer .btn-row { width: 100%; }
  .form-footer .btn-row .btn { flex: 1 1 auto; }
  .app-table thead th, .app-table td { padding-left: 10px; padding-right: 10px; }
}

@media (max-width: 430px) {
  .brand-title { font-size: 13px; }
  .lang-toggle button { padding: 4px 9px; font-size: 10.5px; }
}

@media (max-width: 640px) {
  .table-only { display: none; }
  .cards-only { display: grid; }
}

/* ---------- 21. 打印 ---------- */
@media print {
  .site-header, .site-footer, .no-print, .toast-stack, .drawer-foot { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .drawer { display: none; }
  body.has-drawer .drawer {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 0;
  }
  body.has-drawer #consoleView { display: none !important; }
  body.has-drawer .drawer-body { overflow: visible; padding: 0; }
  .drawer-head { border-bottom: 1px solid #ddd; }
  .overlay { display: none; }
  .card, .form-card, .review-box, .attach, .tile { border-color: #ddd; background: #fff; }
  .review-box { border: 1px solid #ddd; }
}
