/* 实验室使用申请系统 · 清晰、克制、具有高校行政服务气质的响应式视觉系统 */
:root {
  color-scheme: light;
  --ink: #172b42;
  --ink-soft: #43576c;
  --muted: #7b8b9d;
  --line: #e3eaf0;
  --line-strong: #d4dfe8;
  --paper: #ffffff;
  --canvas: #f4f7fa;
  --navy: #12304a;
  --navy-2: #1b4562;
  --teal: #1a8c83;
  --teal-dark: #11736d;
  --teal-soft: #e8f6f3;
  --blue-soft: #edf4f9;
  --gold: #c99a52;
  --danger: #b94242;
  --danger-soft: #fff1ef;
  --success: #18765d;
  --shadow-sm: 0 5px 18px rgba(24, 51, 75, .045);
  --shadow-card: 0 16px 48px rgba(24, 51, 75, .075);
  --radius: 18px;
  --radius-sm: 12px;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(26, 140, 131, .24); outline-offset: 3px; }
[hidden] { display: none !important; }

.site-header {
  position: relative;
  z-index: 3;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(213, 224, 233, .8);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--content), calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; color: #f5fbff; background: linear-gradient(145deg, #173d5b, #102c44); border-radius: 13px; box-shadow: 0 7px 18px rgba(18,48,74,.16); flex: 0 0 auto; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-lines { display: grid; gap: 1px; }
.brand-lines strong { font-size: 16px; letter-spacing: .045em; font-weight: 760; line-height: 1.4; }
.brand-lines small { color: #8493a2; font-size: 9px; font-weight: 750; letter-spacing: .15em; }
.header-right { display: flex; align-items: center; gap: 25px; }
.header-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; color: #597084; background: #f3f7fa; border: 1px solid #e6edf2; border-radius: 999px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.header-badge i, .live-pill span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #36a78e; box-shadow: 0 0 0 4px rgba(54,167,142,.12); }
.header-link { color: var(--navy-2); font-size: 13px; font-weight: 750; transition: color .2s ease; white-space: nowrap; }
.header-link:hover { color: var(--teal-dark); }

.public-shell, .detail-shell { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }
.public-shell { padding: 35px 0 76px; }
.hero {
  position: relative;
  min-height: 264px;
  padding: 42px 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: white;
  background: radial-gradient(circle at 82% 20%, rgba(58,142,160,.22), transparent 25%), linear-gradient(112deg, #102d46 0%, #173e59 60%, #1c5363 100%);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(20, 55, 80, .13);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent 10%, black 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #719baf; font-size: 10px; font-weight: 800; letter-spacing: .17em; line-height: 1.5; }
.hero .eyebrow { color: #a8d4d6; }
.eyebrow-line { display: inline-block; width: 22px; height: 1px; background: #78c2bd; }
.hero h1 { margin: 15px 0 13px; font-size: clamp(34px, 4.2vw, 46px); line-height: 1.2; letter-spacing: .035em; font-weight: 800; }
.hero h1 span { margin-left: 10px; color: #8ed1c7; }
.hero-copy > p { max-width: 610px; margin: 0; color: #d2e1e9; font-size: 14px; line-height: 1.95; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-chips span { padding: 6px 11px; border: 1px solid rgba(212,238,243,.18); background: rgba(255,255,255,.06); color: #d9e9ed; border-radius: 7px; font-size: 11px; }
.hero-art { position: relative; width: 210px; height: 190px; flex: 0 0 210px; margin-right: 15px; display: grid; place-items: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(149,218,215,.34); border-radius: 50%; transform: rotate(-22deg); }
.orbit-one { width: 170px; height: 92px; }
.orbit-two { width: 150px; height: 150px; border-color: rgba(149,218,215,.2); }
.hero-hex { width: 92px; height: 104px; display: grid; place-items: center; color: #b9e6df; font-size: 53px; background: linear-gradient(150deg, rgba(117,202,194,.13), rgba(255,255,255,.015)); border: 1px solid rgba(175,231,222,.48); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); filter: drop-shadow(0 8px 24px rgba(0,0,0,.08)); }
.hero-art-tag { position: absolute; bottom: 4px; right: -5px; color: #92b9c2; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.hero-art-tag b { margin-left: 8px; color: #d2e8e6; }
.steps { display: flex; align-items: center; gap: 13px; margin: 28px 4px 21px; color: #8b9aa8; }
.step { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.step b { display: inline-grid; place-items: center; width: 27px; height: 27px; color: #8193a2; background: #e7edf2; border-radius: 50%; font-size: 10px; }
.step.active { color: var(--navy); }
.step.active b { color: white; background: var(--teal); box-shadow: 0 0 0 4px rgba(26,140,131,.1); }
.step-separator { width: 44px; height: 1px; background: #dce5ec; }
.alert-error { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 17px; padding: 13px 16px; color: #963c38; background: var(--danger-soft); border: 1px solid #f4d5d1; border-radius: 11px; font-size: 13px; }
.application-form { display: grid; gap: 18px; }
.form-panel { padding: 29px 32px 32px; background: var(--paper); border: 1px solid #e7edf2; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.section-head { display: flex; align-items: flex-start; gap: 15px; padding-bottom: 23px; margin-bottom: 25px; border-bottom: 1px solid #edf1f4; }
.section-index { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; color: var(--teal-dark); background: var(--teal-soft); border-radius: 11px; font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.section-kicker { display: block; margin-bottom: 3px; color: #91a1af; font-size: 9px; font-weight: 850; letter-spacing: .16em; line-height: 1.4; }
.section-head h2 { margin: 0; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: .015em; line-height: 1.45; }
.section-head p { margin: 5px 0 0; color: #8795a3; font-size: 12px; }
.section-head em, .field label em, .consent-choice em { color: #d36b58; font-style: normal; }
.section-symbol { margin-left: auto; color: #a9bac6; font-size: 18px; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 25px; row-gap: 23px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label { display: block; margin-bottom: 9px; color: #354c61; font-size: 13px; font-weight: 760; }
.input, .select { width: 100%; min-width: 0; color: var(--ink); background: #fbfcfd; border: 1px solid #dfe7ed; border-radius: 10px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.input { min-height: 47px; padding: 11px 14px; }
.input::placeholder { color: #aab6c1; font-size: 12px; }
.input:hover, .select:hover { border-color: #bdcfd9; }
.input:focus, .select:focus { outline: none; background: #fff; border-color: #61aaa3; box-shadow: 0 0 0 4px rgba(26,140,131,.09); }
.textarea { min-height: 142px; resize: vertical; line-height: 1.8; }
.field-description { margin: -4px 0 10px; color: #8796a4; font-size: 12px; }
.label-tip { margin-left: 7px; padding: 3px 7px; color: #718696; background: #f0f4f7; border-radius: 5px; font-size: 10px; font-weight: 600; }
.choice-grid { display: grid; gap: 10px; }
.dep-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nature-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.choice-box { position: relative; min-height: 46px; padding: 11px 10px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #53677a; background: #fbfcfd; border: 1px solid #e1e8ee; border-radius: 10px; font-size: 12px; font-weight: 650; text-align: center; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.choice-box:hover { border-color: #a9ccc8; transform: translateY(-1px); }
.choice-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-dot { position: relative; width: 15px; height: 15px; flex: 0 0 15px; border: 1.5px solid #b8c7d1; border-radius: 50%; background: white; }
.choice-box input:checked + .choice-dot { border-color: var(--teal); box-shadow: inset 0 0 0 3.5px white; background: var(--teal); }
.choice-box:has(input:checked) { color: #176b67; border-color: #86c5bd; background: #f0faf7; }
.choice-box:has(input:focus-visible) { outline: 3px solid rgba(26,140,131,.2); outline-offset: 2px; }
.conditional-field { margin-top: 12px; animation: reveal .18s ease-out; }
.date-input { min-height: 47px; padding: 10px 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #476173; background: #f3f7fa; border: 1px solid #e2eaf0; border-radius: 10px; }
.date-input > span { color: var(--teal); font-size: 16px; }
.date-input strong { color: #536b7d; font-size: 12px; font-weight: 750; }
.date-input small { margin-left: auto; color: #8296a4; font-size: 10px; }
.char-counter { margin-top: 5px; color: #98a5b0; font-size: 10px; text-align: right; }
.safety-panel { padding-bottom: 28px; }
.safety-box { padding: 22px 24px 20px; background: #f8fafb; border: 1px solid #e7edf1; border-radius: 13px; }
.safety-intro { color: #324a5f; font-size: 13px; font-weight: 800; }
.safety-foreword { margin: 12px 0 8px; color: #52677a; font-size: 12px; }
.safety-box ol { margin: 0; padding-left: 22px; color: #5c6f80; font-size: 12px; line-height: 1.95; }
.safety-box li { padding-left: 3px; margin: 2px 0; }
.consent-choice { display: flex; align-items: center; gap: 13px; margin-top: 19px; padding: 17px 18px; color: #304c61; background: #f0faf7; border: 1px solid #d7eee8; border-radius: 12px; cursor: pointer; }
.consent-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent-circle { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; color: transparent; background: white; border: 1.5px solid #a8c7c3; border-radius: 50%; transition: all .18s ease; }
.consent-circle svg { width: 14px; height: 14px; }
.consent-choice input:checked + .consent-circle { color: white; background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 4px rgba(26,140,131,.1); }
.consent-choice input:focus-visible + .consent-circle { outline: 3px solid rgba(26,140,131,.2); outline-offset: 3px; }
.consent-choice > span:last-child { display: grid; gap: 2px; font-size: 13px; font-weight: 750; }
.consent-choice small { color: #7d938f; font-size: 10px; font-weight: 500; }
.submit-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 25px; background: #fff; border: 1px solid #e5edf1; border-radius: 16px; box-shadow: var(--shadow-sm); }
.submit-assurance { display: flex; align-items: center; gap: 12px; }
.assurance-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--teal-dark); background: var(--teal-soft); border-radius: 10px; font-size: 16px; font-weight: 800; }
.submit-assurance strong, .submit-assurance small { display: block; }
.submit-assurance strong { color: #385166; font-size: 12px; }
.submit-assurance small { margin-top: 2px; color: #91a0ac; font-size: 10px; }
.primary-btn, .secondary-btn { min-height: 44px; padding: 11px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 780; text-align: center; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primary-btn { color: #fff; background: linear-gradient(135deg, #1b8c83, #176f75); box-shadow: 0 7px 15px rgba(25,125,119,.16); }
.primary-btn:hover { background: linear-gradient(135deg, #167d76, #145f68); box-shadow: 0 10px 22px rgba(25,125,119,.2); transform: translateY(-1px); }
.primary-btn:disabled { cursor: wait; opacity: .7; transform: none; }
.secondary-btn { color: #486175; background: #fff; border-color: #dce6ed; }
.secondary-btn:hover { background: #f5f9fb; border-color: #b7cbd6; }
.link-btn { display: flex; }
.global-footer { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 18px 0 25px; display: flex; justify-content: space-between; gap: 20px; color: #98a6b1; border-top: 1px solid #e3eaf0; font-size: 9px; }
.global-footer span:first-child { font-weight: 800; letter-spacing: .15em; }

/* 登录 */
.login-shell { width: min(930px, calc(100% - 48px)); min-height: 480px; margin: 70px auto 82px; display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; background: white; border: 1px solid #e2eaf0; border-radius: 23px; box-shadow: var(--shadow-card); }
.login-cover { position: relative; min-height: 480px; padding: 48px 42px; display: flex; flex-direction: column; color: white; background: radial-gradient(circle at 95% 16%, rgba(80,166,165,.28), transparent 29%), linear-gradient(150deg, #12304a, #1a5261); overflow: hidden; }
.login-cover::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -95px; border: 1px solid rgba(187,227,223,.25); border-radius: 50%; box-shadow: 0 0 0 25px rgba(187,227,223,.035), 0 0 0 50px rgba(187,227,223,.025); }
.login-cover .eyebrow { color: #9ed5d3; }
.login-cover h1 { position: relative; z-index: 1; margin: 24px 0 17px; font-size: 31px; line-height: 1.55; letter-spacing: .03em; }
.login-cover h1 span { color: #8bd0c7; }
.login-cover p { max-width: 310px; color: #d1e1e6; font-size: 13px; line-height: 2; }
.login-cover-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: auto; padding-top: 32px; color: #a5c5ce; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.login-cover-bottom span { font-size: 17px; }
.login-form { padding: 51px 39px 38px; display: flex; flex-direction: column; align-items: stretch; }
.login-kicker { color: #8fa1ae; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.login-form h2 { margin: 7px 0 3px; font-size: 24px; letter-spacing: .02em; }
.login-form > p { margin: 0 0 25px; color: #8594a1; font-size: 12px; }
.login-form > label { margin: 0 0 8px; color: #435a6c; font-size: 12px; font-weight: 750; }
.login-form .input { margin-bottom: 19px; }
.full-btn { width: 100%; }
.quiet-link { margin-top: 20px; color: #748899; font-size: 11px; text-align: center; }
.quiet-link:hover { color: var(--teal-dark); }
.login-footnote { margin-top: auto; padding-top: 28px; color: #a0adb7; font-size: 10px; text-align: center; }

/* 后台 */
.admin-screen { background: #f3f6f9; }
.dashboard { width: min(1400px, calc(100% - 42px)); margin: 25px auto 55px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; }
.sidebar { position: sticky; top: 18px; min-height: 690px; padding: 22px 14px 15px; display: flex; flex-direction: column; background: #fff; border: 1px solid #e4ebf0; border-radius: 17px; box-shadow: var(--shadow-sm); }
.side-label { padding: 0 10px 15px; color: #98a6b1; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.nav-item { min-height: 43px; margin: 2px 0; padding: 10px 11px; display: flex; align-items: center; gap: 10px; color: #63788a; border-radius: 9px; font-size: 11px; font-weight: 720; transition: background .18s ease, color .18s ease; }
.nav-item > span { width: 17px; color: #8398a8; font-size: 15px; text-align: center; }
.nav-item b { margin-left: auto; font-size: 12px; font-weight: 500; }
.nav-item:hover, .nav-item.selected { color: #176d68; background: #edf8f5; }
.nav-item.selected > span { color: #238d83; }
.sidebar-bottom { margin-top: auto; }
.side-help { margin: 25px 2px 15px; padding: 16px 13px; background: linear-gradient(145deg, #f1f8f8, #f5f8fb); border: 1px solid #e4f0ef; border-radius: 11px; }
.side-help b { color: #3f6271; font-size: 11px; }
.side-help p { margin: 6px 0 0; color: #8397a1; font-size: 10px; line-height: 1.8; }
.logout-btn { width: 100%; padding: 10px; color: #748899; background: transparent; border: 1px solid #e5ebf0; border-radius: 8px; font-size: 10px; font-weight: 700; }
.logout-btn:hover { color: #a3433d; background: #fff7f6; border-color: #f0d8d5; }
.dashboard-main { min-width: 0; }
.dash-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 5px 0 24px; }
.dash-intro .eyebrow { color: #8d9eab; }
.dash-intro h1 { margin: 5px 0 4px; color: #1a344a; font-size: 27px; letter-spacing: .015em; line-height: 1.45; }
.title-triangle { margin-left: 8px; color: #58a79d; font-size: 17px; }
.dash-intro p { margin: 0; color: #8192a0; font-size: 12px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: #4c8275; background: #edf8f3; border: 1px solid #d9eee4; border-radius: 999px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { min-width: 0; padding: 18px 19px 16px; background: white; border: 1px solid #e4ebf0; border-radius: 13px; box-shadow: var(--shadow-sm); }
.stat-card > span { display: flex; align-items: center; justify-content: space-between; color: #748898; font-size: 11px; font-weight: 700; }
.stat-card i { color: #6bb0a6; font-size: 13px; font-style: normal; }
.stat-card strong { display: block; margin: 9px 0 2px; color: #1d3c53; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.stat-card small { color: #a3b0ba; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.admin-panels { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 17px; align-items: start; }
.records-panel, .qr-panel { min-width: 0; background: #fff; border: 1px solid #e4ebf0; border-radius: 15px; box-shadow: var(--shadow-sm); }
.records-panel { padding: 22px 21px 15px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.panel-top h2, .qr-panel h2 { margin: 4px 0 0; color: #223f55; font-size: 18px; font-weight: 800; }
.panel-top h2 small { margin-left: 6px; color: #96a5b1; font-size: 10px; font-weight: 500; }
.panel-top .secondary-btn { min-height: 36px; padding: 8px 11px; font-size: 10px; white-space: nowrap; }
.filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; }
.search-wrap { min-width: 120px; flex: 1; display: flex; align-items: center; gap: 7px; padding: 0 11px; background: #fafcfd; border: 1px solid #e0e8ee; border-radius: 8px; }
.search-wrap > span { color: #92a2af; font-size: 16px; }
.search-wrap input { width: 100%; min-width: 0; height: 36px; color: var(--ink); background: transparent; border: 0; outline: none; font-size: 11px; }
.search-wrap input::placeholder { color: #aab6c0; }
.select { min-height: 37px; padding: 7px 10px; color: #536a7d; font-size: 10px; }
.filter-bar .select { width: 115px; }
.filter-btn { min-height: 37px; padding: 8px 13px; color: white; background: #1b6d75; border: 0; border-radius: 8px; font-size: 10px; font-weight: 750; }
.filter-btn:hover { background: #155b64; }
.table-scroll { width: 100%; overflow-x: auto; }
.records-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; white-space: nowrap; }
.records-table th { padding: 11px 10px; color: #91a0ac; background: #f7f9fb; border-top: 1px solid #edf1f4; border-bottom: 1px solid #e7edf1; font-size: 9px; font-weight: 800; }
.records-table th:first-child { border-top-left-radius: 7px; }
.records-table th:last-child { border-top-right-radius: 7px; }
.records-table td { padding: 13px 10px; color: #607487; border-bottom: 1px solid #edf1f4; font-size: 10px; }
.records-table tbody tr:hover td { background: #fbfdfd; }
.records-table tbody tr:last-child td { border-bottom: 0; }
.records-table .right { text-align: right; }
.id-cell { color: #6c8b9d !important; font-size: 9px !important; font-weight: 800; letter-spacing: .02em; }
.person-cell { display: flex; align-items: center; gap: 9px; }
.person-avatar { width: 30px; height: 30px; display: grid; place-items: center; color: #2b817a; background: #e8f6f2; border-radius: 9px; font-size: 11px; font-weight: 800; }
.person-cell b, .person-cell small { display: block; }
.person-cell b { color: #354f63; font-size: 11px; }
.person-cell small { margin-top: 1px; color: #9aa8b3; font-size: 9px; }
.department-cell { max-width: 155px; overflow: hidden; text-overflow: ellipsis; }
.status-pill { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 750; }
.status-pending { color: #a5742b; background: #fff5df; }
.status-approved { color: #18785e; background: #e7f7ef; }
.status-rejected { color: #ad514a; background: #fff0ed; }
.table-action { color: #187e78; font-size: 10px; font-weight: 750; }
.table-action:hover { color: #105b58; }
.empty-state { padding: 38px 10px !important; color: #95a4af !important; text-align: center; white-space: normal; }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 14px; color: #98a6b2; font-size: 9px; }
.pagination { display: flex; gap: 8px; }
.pagination a { padding: 5px 9px; color: #567185; border: 1px solid #e1e8ed; border-radius: 6px; }
.pagination a:hover { color: var(--teal-dark); background: #f1faf7; }
.qr-panel { padding: 21px 19px 19px; }
.qr-panel > p { margin: 8px 0 15px; color: #8394a2; font-size: 10px; line-height: 1.8; }
.qr-surface { padding: 16px 12px 13px; display: flex; align-items: center; flex-direction: column; background: #f8fafb; border: 1px dashed #d6e3e8; border-radius: 12px; }
.qr-surface img { display: block; width: min(100%, 180px); aspect-ratio: 1; object-fit: contain; padding: 8px; background: white; border-radius: 7px; }
.qr-surface span { margin-top: 10px; color: #526f7d; font-size: 11px; font-weight: 750; }
.qr-download { width: 100%; min-height: 37px; margin-top: 12px; font-size: 10px; }
.qr-note { margin-top: 14px; display: flex; gap: 7px; color: #9aa7b0; font-size: 9px; line-height: 1.7; }
.qr-note span { color: #60a69d; }

/* 详情页 */
.detail-shell { padding: 29px 0 75px; }
.detail-head { margin-bottom: 24px; }
.back-link { display: inline-block; margin-bottom: 16px; color: #6f8798; font-size: 11px; font-weight: 700; }
.back-link:hover { color: var(--teal-dark); }
.detail-head .eyebrow { display: block; }
.detail-head h1 { margin: 6px 0 5px; color: #1c374d; font-size: 27px; line-height: 1.45; }
.detail-head h1 span { color: #8ba0af; font-size: 13px; font-weight: 600; }
.detail-head p { margin: 0; color: #8394a2; font-size: 12px; }
.detail-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 19px; align-items: start; }
.detail-content { display: grid; gap: 15px; min-width: 0; }
.detail-card { padding: 23px 25px; background: #fff; border: 1px solid #e4ebf0; border-radius: 15px; box-shadow: var(--shadow-sm); }
.detail-card-title { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid #edf1f4; }
.detail-card-title > span { width: 29px; height: 29px; display: grid; place-items: center; color: #1c7c75; background: #e9f7f3; border-radius: 8px; font-size: 10px; font-weight: 800; }
.detail-card-title h2 { margin: 0; font-size: 16px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 25px; }
.detail-grid > div { min-width: 0; }
.detail-grid small { display: block; margin-bottom: 4px; color: #93a1ad; font-size: 10px; }
.detail-grid strong { display: block; color: #385165; font-size: 12px; font-weight: 750; overflow-wrap: anywhere; }
.detail-grid .span-all { grid-column: 1 / -1; }
.detail-description { margin: 0; color: #5e7283; font-size: 12px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.consent-record { display: flex; align-items: center; gap: 12px; padding: 15px; color: #3f675d; background: #f0faf5; border: 1px solid #dcefe5; border-radius: 10px; }
.consent-record > span { width: 30px; height: 30px; display: grid; place-items: center; color: white; background: #27977c; border-radius: 50%; font-weight: 800; }
.consent-record b, .consent-record small { display: block; }
.consent-record b { font-size: 12px; }
.consent-record small { margin-top: 2px; color: #7c9a8f; font-size: 10px; }
.detail-aside { display: grid; gap: 15px; }
.download-card, .review-card { padding: 22px 20px; background: white; border: 1px solid #e4ebf0; border-radius: 15px; box-shadow: var(--shadow-sm); }
.download-card h3, .review-card h3 { margin: 5px 0 6px; color: #2a455a; font-size: 17px; }
.download-card p { margin: 0 0 16px; color: #8294a2; font-size: 10px; line-height: 1.9; }
.download-card .secondary-btn { margin-top: 9px; }
.review-card label { display: block; margin: 14px 0 7px; color: #536a7c; font-size: 11px; font-weight: 750; }
.review-card .select { min-height: 41px; font-size: 11px; }
.review-card .textarea { min-height: 100px; font-size: 11px; }
.review-card .primary-btn { margin-top: 14px; }
.success-alert { margin: 10px 0; padding: 8px 10px; color: #23765d; background: #effaf4; border-radius: 7px; font-size: 10px; }

/* 提交成功 */
.success-shell { width: min(610px, calc(100% - 36px)); margin: 57px auto 80px; }
.success-card { padding: 42px 45px 37px; background: white; border: 1px solid #e3ebf0; border-radius: 22px; box-shadow: var(--shadow-card); text-align: center; }
.success-check { width: 68px; height: 68px; margin: 0 auto 18px; display: grid; place-items: center; color: #228c79; background: #eaf8f3; border-radius: 50%; }
.success-check svg { width: 49px; height: 49px; }
.success-card h1 { margin: 8px 0 8px; color: #203d53; font-size: 27px; }
.success-card > p { margin: 0; color: #8193a1; font-size: 12px; line-height: 1.9; }
.receipt { margin: 25px 0 13px; padding: 18px 21px; background: #f8fafb; border: 1px solid #e5edf1; border-radius: 13px; text-align: left; }
.receipt > span { display: block; color: #8b9ca9; font-size: 10px; }
.receipt > strong { display: block; margin-top: 3px; color: #246e75; font-size: 20px; letter-spacing: .06em; }
.receipt-divider { height: 1px; margin: 15px 0; background: #e5edf1; }
.receipt > div:not(.receipt-divider) { display: flex; justify-content: space-between; gap: 15px; padding: 4px 0; font-size: 11px; }
.receipt > div span { color: #8b9ca9; }
.receipt > div b { color: #486175; font-weight: 750; }
.receipt .status-dot { color: #a5742b; }
.success-card .receipt-hint { margin: 12px 0 20px; font-size: 10px; }

@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .hero { padding: 38px 35px; }
  .hero-art { width: 160px; flex-basis: 160px; margin-right: 0; }
  .dashboard { grid-template-columns: 190px minmax(0,1fr); gap: 17px; }
  .admin-panels { grid-template-columns: minmax(0,1fr); }
  .qr-panel { display: grid; grid-template-columns: minmax(0,1fr) 190px; column-gap: 20px; align-items: start; }
  .qr-panel .section-kicker, .qr-panel h2, .qr-panel > p { grid-column: 1; }
  .qr-surface { grid-column: 2; grid-row: 1 / span 4; }
  .qr-download, .qr-note { grid-column: 1; }
  .qr-surface img { width: 150px; }
}
@media (max-width: 780px) {
  .header-inner { width: calc(100% - 32px); min-height: 72px; gap: 12px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 11px; }
  .brand-mark svg { width: 30px; height: 30px; }
  .brand-lines strong { font-size: 13px; }
  .brand-lines small { font-size: 7px; }
  .header-right { gap: 12px; }
  .header-badge { display: none; }
  .header-link { font-size: 11px; }
  .public-shell, .detail-shell { width: calc(100% - 30px); }
  .public-shell { padding-top: 19px; }
  .hero { min-height: auto; padding: 31px 25px 28px; border-radius: 18px; }
  .hero h1 { font-size: 34px; }
  .hero-copy > p { max-width: 100%; font-size: 12px; }
  .hero-art { display: none; }
  .hero-chips { margin-top: 17px; gap: 6px; }
  .hero-chips span { padding: 5px 8px; font-size: 9px; }
  .steps { gap: 7px; margin: 22px 2px 17px; }
  .step { gap: 5px; font-size: 10px; }
  .step b { width: 23px; height: 23px; font-size: 9px; }
  .step-separator { width: 18px; }
  .form-panel { padding: 23px 19px 24px; border-radius: 15px; }
  .section-head { gap: 11px; padding-bottom: 17px; margin-bottom: 20px; }
  .section-index { width: 34px; height: 34px; border-radius: 9px; }
  .section-head h2 { font-size: 17px; }
  .section-head p { font-size: 10px; }
  .section-symbol { display: none; }
  .form-grid { grid-template-columns: minmax(0,1fr); row-gap: 18px; }
  .field.full { grid-column: auto; }
  .dep-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .choice-box { min-height: 43px; justify-content: flex-start; padding-left: 13px; font-size: 11px; }
  .date-input { align-items: flex-start; }
  .date-input small { width: 100%; margin-left: 25px; }
  .safety-box { padding: 17px 15px; }
  .safety-box ol { padding-left: 19px; font-size: 11px; }
  .consent-choice { align-items: flex-start; padding: 14px 13px; }
  .consent-choice > span:last-child { font-size: 11px; }
  .submit-card { align-items: stretch; flex-direction: column; padding: 18px; }
  .submit-card .primary-btn { width: 100%; }
  .global-footer { width: calc(100% - 30px); flex-direction: column; gap: 5px; font-size: 8px; }
  .login-shell { width: calc(100% - 30px); margin: 25px auto 45px; grid-template-columns: minmax(0,1fr); }
  .login-cover { min-height: 230px; padding: 28px 25px; }
  .login-cover h1 { margin: 13px 0 6px; font-size: 24px; }
  .login-cover p { margin: 0; font-size: 11px; }
  .login-cover-bottom { padding-top: 20px; }
  .login-form { padding: 28px 25px 25px; }
  .login-footnote { padding-top: 20px; }
  .dashboard { width: calc(100% - 24px); margin: 15px auto 35px; grid-template-columns: minmax(0,1fr); gap: 13px; }
  .sidebar { position: static; min-height: 0; padding: 11px; flex-direction: row; align-items: center; gap: 6px; overflow-x: auto; }
  .side-label, .sidebar-bottom, .side-help { display: none; }
  .nav-item { min-width: max-content; margin: 0; padding: 9px 11px; }
  .nav-item b { display: none; }
  .dash-intro { align-items: flex-start; margin: 7px 1px 17px; }
  .dash-intro h1 { font-size: 22px; }
  .dash-intro p { max-width: 420px; font-size: 10px; }
  .live-pill { padding: 6px 8px; font-size: 8px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin-bottom: 13px; }
  .stat-card { padding: 13px 14px; }
  .stat-card strong { font-size: 26px; }
  .records-panel { padding: 17px 13px 13px; }
  .panel-top { align-items: flex-start; flex-direction: column; margin-bottom: 13px; }
  .panel-top h2 { font-size: 16px; }
  .filter-bar { flex-wrap: wrap; }
  .search-wrap { flex-basis: 100%; }
  .filter-bar .select { flex: 1; width: auto; }
  .filter-btn { min-width: 54px; }
  .records-table th, .records-table td { padding: 11px 8px; }
  .qr-panel { display: block; }
  .qr-surface { width: min(100%, 230px); margin: 15px auto 0; }
  .qr-surface img { width: 170px; }
  .detail-shell { padding-top: 20px; }
  .detail-head h1 { font-size: 23px; }
  .detail-columns { grid-template-columns: minmax(0,1fr); }
  .detail-card { padding: 18px 16px; }
  .detail-grid { gap: 16px 14px; }
  .detail-aside { grid-row: 1; }
  .success-shell { margin: 28px auto 45px; }
  .success-card { padding: 31px 22px 27px; }
}
@media (max-width: 420px) {
  .brand-lines strong { font-size: 12px; }
  .header-link { font-size: 10px; }
  .hero h1 { font-size: 30px; }
  .hero .eyebrow { font-size: 8px; }
  .steps { justify-content: space-between; }
  .step { font-size: 9px; }
  .step-separator { width: 10px; }
  .section-head h2 { font-size: 16px; }
  .dash-intro { flex-direction: column; gap: 10px; }
  .live-pill { align-self: flex-start; }
  .detail-grid { grid-template-columns: minmax(0,1fr); }
  .detail-grid .span-all { grid-column: auto; }
}

@media print {
  .site-header, .global-footer, .sidebar, .detail-aside, .back-link { display: none !important; }
  body, .admin-screen { background: white !important; }
  .detail-shell, .dashboard, .dashboard-main { width: 100%; margin: 0; padding: 0; display: block; }
  .detail-head { margin-bottom: 10px; }
  .detail-card { box-shadow: none; break-inside: avoid; }
}


/* v1.1 学生端精简：移动和桌面保持一致的清晰单行信息结构 */
.public-screen .public-shell {
  padding-top: 25px;
  padding-bottom: 54px;
}
.public-screen .hero {
  min-height: 0;
  padding: 27px 35px;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(20,55,80,.10);
}
.public-screen .hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .04em;
}
.public-screen .application-form { margin-top: 18px; gap: 16px; }
.public-screen .form-panel { padding: 23px 29px 27px; }
.public-screen .section-head {
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
  padding-bottom: 16px;
}
.public-screen .section-index {
  width: 35px;
  height: 35px;
  border-radius: 10px;
}
.public-screen .section-head h2 { font-size: 18px; line-height: 1.35; }
.public-screen .date-input {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 15px;
  min-height: 43px;
  padding: 10px 14px;
}
.public-screen .date-input span {
  color: #43586b;
  font-weight: 750;
  font-size: 13px;
}
.public-screen .date-input strong {
  color: #246f6c;
  font-weight: 750;
  font-size: 13px;
  white-space: nowrap;
}
.public-screen .consent-choice {
  min-height: 51px;
  margin-top: 13px;
  padding: 11px 15px;
  gap: 10px;
}
.public-screen .consent-circle { width: 23px; height: 23px; flex-basis: 23px; }
.public-screen .consent-choice > span:last-child {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.public-screen .submit-card {
  padding: 0;
  gap: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  justify-content: flex-end;
}
.public-screen .submit-card .primary-btn {
  min-height: 48px;
  width: 260px;
  font-size: 14px;
}
@media (max-width: 780px) {
  .public-screen .public-shell {
    width: calc(100% - 28px);
    padding-top: 14px;
    padding-bottom: 35px;
  }
  .public-screen .hero {
    padding: 22px 23px;
    border-radius: 14px;
  }
  .public-screen .hero h1 { font-size: 25px; }
  .public-screen .application-form { margin-top: 13px; gap: 12px; }
  .public-screen .form-panel { padding: 19px 17px 20px; border-radius: 14px; }
  .public-screen .section-head { padding-bottom: 13px; margin-bottom: 18px; }
  .public-screen .section-index { width: 31px; height: 31px; font-size: 11px; }
  .public-screen .section-head h2 { font-size: 17px; }
  .public-screen .date-input { align-items: center; }
  .public-screen .consent-choice { align-items: center; padding: 10px 11px; gap: 8px; }
  .public-screen .consent-choice > span:last-child { font-size: 11px; }
  .public-screen .submit-card { padding: 0; }
  .public-screen .submit-card .primary-btn { width: 100%; }
}
@media (max-width: 359px) {
  .public-screen .consent-choice > span:last-child { font-size: 10px; letter-spacing: -.2px; }
  .public-screen .hero h1 { font-size: 23px; }
}

/* 学号/工号说明：紧凑显示，手机端同样适用 */
.id-tip { margin: 5px 0 0; }

/* V1.6 · 教师后台清晰版：取消英文装饰，面向笔记本与宽屏提高字号与可读性。 */
.admin-screen { font-size: 16px; line-height: 1.65; }
.admin-screen .header-inner { width: min(1540px, calc(100% - 48px)); min-height: 75px; }
.admin-screen .brand-lines strong { font-size: 19px; }
.admin-screen .global-footer { color: #708497; font-size: 12px; }
.admin-screen .header-badge { font-size: 13px; }
.admin-screen .header-link { font-size: 14px; }
.admin-screen .dashboard { width: min(1540px, calc(100% - 40px)); grid-template-columns: 190px minmax(0,1fr); gap: 20px; }
.admin-screen .sidebar { min-height: 600px; padding: 18px 12px; }
.sidebar-title { padding: 4px 11px 14px; color: #476579; font-size: 15px; font-weight: 800; }
.admin-screen .nav-item { font-size: 15px; min-height: 48px; }
.admin-screen .logout-btn { font-size: 14px; min-height: 43px; }
.admin-screen .dash-intro { margin: 4px 0 21px; }
.admin-screen .dash-intro h1 { margin: 0; font-size: clamp(26px,2.2vw,32px); }
.admin-screen .live-pill { font-size: 13px; }
.admin-screen .stat-card { padding: 18px 21px; }
.admin-screen .stat-card > span { font-size: 15px; color: #516a7d; }
.admin-screen .stat-card strong { font-size: 32px; margin-top: 6px; }
.admin-screen .admin-panels { grid-template-columns: minmax(0,1fr) 244px; gap: 16px; }
.admin-screen .records-panel { padding: 21px 19px 17px; }
.admin-screen .panel-top h2, .admin-screen .qr-panel h2 { font-size: 21px; margin: 0; }
.admin-screen .panel-top h2 small { font-size: 13px; }
.admin-screen .secondary-btn, .admin-screen .filter-btn { font-size: 14px; min-height: 42px; }
.admin-screen .search-wrap input { height: 42px; font-size: 14px; }
.admin-screen .filter-bar .select { width: 148px; min-height: 43px; font-size: 14px; }
.admin-screen .records-table { white-space: normal; }
.admin-screen .records-table th { font-size: 13px; padding: 13px 12px; color: #506577; }
.admin-screen .records-table td { font-size: 14px; padding: 14px 12px; color: #435a70; }
.admin-screen .person-cell { gap: 10px; min-width: 90px; }
.admin-screen .person-cell b { font-size: 15px; }
.admin-screen .person-avatar { width: 36px; height: 36px; font-size: 15px; flex: none; }
.admin-screen .project-cell { min-width: 120px; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-screen .table-action { font-size: 14px; white-space: nowrap; }
.admin-screen .table-footer, .admin-screen .pagination a { font-size: 13px; }
.admin-screen .qr-panel { padding: 21px 18px; }
.admin-screen .qr-surface span { font-size: 13px; }
.admin-screen .qr-surface img { width: min(100%,175px); }
.admin-screen .detail-shell { width: min(1420px,calc(100% - 48px)); }
.admin-screen .detail-head h1 { font-size: clamp(23px,2.15vw,31px); letter-spacing: .005em; overflow-wrap: anywhere; }
.admin-screen .back-link { font-size: 14px; }
.admin-screen .detail-columns { grid-template-columns: minmax(0,1fr) 295px; gap: 17px; }
.admin-screen .detail-card { padding: 23px 27px; }
.admin-screen .detail-card-title h2 { font-size: 20px; }
.admin-screen .detail-card-title > span { font-size: 14px; width: 35px; height: 35px; }
.admin-screen .detail-grid small { font-size: 14px; color: #60778a; margin-bottom: 5px; }
.admin-screen .detail-grid strong { font-size: 17px; color: #1b3f57; }
.admin-screen .detail-description { font-size: 16px; line-height: 1.8; }
.admin-screen .consent-record b { font-size: 16px; }
.admin-screen .consent-record small { font-size: 13px; }
.admin-screen .download-card h3 { font-size: 20px; margin: 0 0 15px; }
.admin-screen .download-card { padding: 23px 20px; }
.admin-screen .download-card .primary-btn, .admin-screen .download-card .secondary-btn { font-size: 15px; }
.admin-screen .login-form h2 { font-size: 27px; }
.admin-screen .login-form label, .admin-screen .login-form .input { font-size: 15px; }
@media (max-width: 1200px) {
  .admin-screen .admin-panels { grid-template-columns: 1fr; }
  .admin-screen .qr-panel { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .admin-screen .qr-download { width: min(100%,260px); margin: 0; }
  .admin-screen .detail-columns { grid-template-columns: minmax(0,1fr) 265px; }
}
@media (max-width: 850px) {
  .admin-screen .dashboard { grid-template-columns: 1fr; width: calc(100% - 24px); }
  .admin-screen .sidebar { position: static; min-height: 0; flex-direction: row; align-items: center; gap: 6px; }
  .admin-screen .sidebar-title { display: none; }
  .admin-screen .sidebar-bottom { margin: 0 0 0 auto; }
  .admin-screen .logout-btn { min-height: 36px; }
  .admin-screen .detail-columns { grid-template-columns: 1fr; }
  .admin-screen .detail-aside { grid-row: 1; }
  .admin-screen .detail-shell { width: calc(100% - 28px); }
}
@media (max-width: 600px) {
  .admin-screen .brand-lines strong { font-size: 16px; }
  .admin-screen .header-badge { display: none; }
  .admin-screen .stats-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-screen .stat-card { padding: 13px 14px; }
  .admin-screen .stat-card > span { font-size: 13px; }
  .admin-screen .stat-card strong { font-size: 27px; }
  .admin-screen .records-panel { padding: 14px 11px; }
  .admin-screen .panel-top { flex-wrap: wrap; }
  .admin-screen .records-table { white-space: nowrap; }
  .admin-screen .records-table td { font-size: 14px; }
  .admin-screen .detail-grid { grid-template-columns: 1fr; }
  .admin-screen .detail-head h1 { font-size: 22px; }
}
/* 对较长的学院名称自动换行，防止手机端回执横向溢出。 */
.receipt > div b { overflow-wrap: anywhere; text-align: right; }

/* V1.8 教师后台批量导出：清晰可见的选择区，不影响手机端申请页面 */
.admin-screen .batch-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap; padding: 13px 14px; margin: 0 0 8px;
  border: 1px solid #deebed; border-radius: 12px; background: #f5fbfa;
}
.admin-screen .batch-hint { font-size: 14px; color: #3a5c64; }
.admin-screen .batch-hint strong { color: #087f78; font-size: 17px; }
.admin-screen .batch-hint span { color: #72858d; font-size: 13px; }
.admin-screen .batch-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.admin-screen .batch-actions .secondary-btn {
  color: #0f7069; border-color: #b5d5d1; background: #fff; font-size: 14px;
  font-weight: 750; padding: 9px 14px; min-height: 42px;
}
.admin-screen .batch-actions .secondary-btn:hover { background: #e5f5f2; }
.admin-screen .records-table .select-col { width: 40px; min-width: 40px; text-align: center; }
.admin-screen .records-table input[type="checkbox"] { accent-color: #15897e; width: 18px; height: 18px; cursor: pointer; }
@media (max-width: 650px) {
  .admin-screen .batch-bar { align-items: stretch; }
  .admin-screen .batch-actions { width: 100%; }
  .admin-screen .batch-actions .secondary-btn { flex: 1; }
}

/* V1.9：精准格式校验，手机和电脑端共用。 */
.application-form .input[aria-invalid="true"] { border-color: #c73a47; background: #fff9f9; box-shadow: 0 0 0 2px rgba(199,58,71,.08); }
.application-form .field-feedback { display: none; margin: 6px 0 0; color: #b42335; font-size: 13px; line-height: 1.4; font-weight: 600; }
.application-form .field-feedback.visible { display: block; }
