:root {
  color-scheme: light;
  --bg: #f4f6fb;
  --ink: #141d39;
  --muted: #596783;
  --line: #e2e8f3;
  --blue: #2a4cee;
  --blue-dark: #1c38c9;
  --soft-blue: #edf1ff;
  --green: #127153;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: var(--bg); color: var(--ink); }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #4864fe; outline-offset: 4px; }
h1, h2, p { margin: 0; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.shell { width: min(calc(100% - 64px), 1104px); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #1a2340; font-size: 15px; font-weight: 750; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; background: var(--blue); color: #fff; }
.brand-mark .icon { width: 23px; height: 23px; }
.header-label { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; border-radius: 100px; font-size: 12px; font-weight: 650; padding: 7px 11px; background: var(--soft-blue); color: #2947c9; }
.header-label > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.main { padding-top: 30px; }
.hero {
  display: flex;
  min-height: 354px;
  align-items: center;
  overflow: hidden;
  position: relative;
  color: #fff;
  border-radius: 25px;
  background: #08133f url('/hero.jpg') center 51% / cover no-repeat;
  box-shadow: 0 14px 32px #152b701a;
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #060f30f0 0%, #08133cdd 24%, #0a174886 56%, transparent 85%);
}
.hero-inner { position: relative; width: min(100%, 865px); padding: 38px 48px; }
.hero-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; color: #a9c2ff; font-weight: 650; font-size: 13px; letter-spacing: .13em; }
.kicker-line { width: 24px; height: 2px; background: #6f8fff; border-radius: 20px; flex: none; }
.hero h1 { font-size: clamp(29px, 4.35vw, 52px); font-weight: 780; line-height: 1.23; letter-spacing: -.04em; overflow-wrap: anywhere; }
.hero-accent { color: #b5c8ff; }
.hero p { margin-top: 16px; font-size: 16px; font-weight: 550; color: #e0e8ff; letter-spacing: .08em; }
.hero-date { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; background: #536cff25; border: 1px solid #8ca8ff60; border-radius: 8px; color: #e4ebff; font-size: 13px; font-weight: 650; letter-spacing: .12em; }
.hero-date .icon { width: 17px; height: 17px; }
.main-grid { margin-top: 23px; display: grid; grid-template-columns: 1.43fr 1fr; gap: 21px; align-items: stretch; }
.card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 5px 17px #1a336006; padding: 26px; }
.card h2 { color: var(--ink); font-size: 21px; line-height: 1.4; letter-spacing: -.025em; font-weight: 750; }
.meeting-card h2 { margin-bottom: 8px; }
.detail-row { display: flex; gap: 13px; align-items: flex-start; padding: 15px 0; }
.detail-row + .detail-row { border-top: 1px solid var(--line); padding-bottom: 0; }
.detail-icon, .check-icon {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #3455df;
  background: var(--soft-blue);
}
.detail-text { display: grid; gap: 3px; min-width: 0; }
.detail-text strong { font-size: 14px; font-weight: 650; line-height: 1.65; overflow-wrap: anywhere; }
.detail-label { font-size: 12px; font-weight: 550; color: var(--muted); }
.route-link { display: inline-flex; align-items: center; gap: 4px; justify-self: start; margin-top: 5px; color: #294bd3; font-weight: 670; font-size: 13px; text-decoration: none; }
.route-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.route-link .icon { width: 14px; height: 14px; }
.check-card { display: flex; flex-direction: column; position: relative; }
.check-heading { display: flex; align-items: center; margin-bottom: 12px; gap: 12px; }
.check-icon { width: 44px; height: 44px; color: #fff; background: var(--blue); box-shadow: 0 5px 12px #2a4cee2b; }
.check-icon .icon { width: 24px; height: 24px; }
.check-hint { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.6; padding-bottom: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid transparent; padding: 9px 15px; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.primary { background: var(--blue); color: white; }
.primary:hover:not(:disabled) { background: var(--blue-dark); }
.primary:disabled { opacity: .63; }
.secondary { color: #2a46c5; background: var(--soft-blue); }
.secondary:hover:not(:disabled) { background: #dfe7ff; }
.secondary:disabled { opacity: .5; }
.check-button { position: relative; min-height: 47px; width: 100%; margin-top: auto; }
.check-button:disabled { background: #e6f7ee; color: var(--green); opacity: 1; }
.check-button:disabled .button-arrow { display: none; }
.button-arrow { position: absolute; right: 15px; }
.attention { animation: pulse 2.5s ease-out infinite; }
.attention .button-arrow { animation: nudge 2.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 #3c5aff00; } 18% { box-shadow: 0 0 0 3px #3c5aff3b; } 59% { box-shadow: 0 0 0 9px #3c5aff00; } }
@keyframes nudge { 0%, 44%, 100% { transform: translateX(0); } 25% { transform: translateX(4px); } }
.intro-card { grid-column: 1 / -1; }
.intro-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
#intro-content { color: #384663; font-size: 15px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
#intro-content p + p { margin-top: 7px; }
.site-footer { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 23px; padding-bottom: max(23px, env(safe-area-inset-bottom)); }
.site-footer a { text-decoration: none; }
.dialog { width: min(435px, calc(100% - 30px)); max-height: calc(100dvh - 32px); color: var(--ink); padding: 27px; }
.dialog::backdrop { background: #0a123c9c; backdrop-filter: blur(4px); }
.dialog h2 { margin-top: 12px; }
.dialog-hint, .muted { color: var(--muted); line-height: 1.65; font-size: 13px; }
.dialog-hint { margin: 5px 0 17px; }
.icon-button { display: grid; place-items: center; min-width: 40px; min-height: 40px; border: 0; border-radius: 9px; background: var(--soft-blue); color: var(--muted); }
.dialog-close { position: absolute; right: 19px; top: 19px; }
form label { display: grid; gap: 6px; color: var(--ink); font-weight: 650; font-size: 13px; margin-bottom: 13px; }
input, textarea { width: 100%; min-width: 0; border-radius: 9px; border: 1px solid #d9e2f0; color: var(--ink); background: #fbfcff; padding: 10px 11px; min-height: 44px; font-size: 16px; }
textarea { resize: vertical; line-height: 1.65; }
input::placeholder { color: #657491; }
.full-width { width: 100%; }
.feedback { padding: 8px 10px; border-radius: 7px; margin-bottom: 12px; color: #a42631; background: #fff0f1; font-size: 13px; line-height: 1.5; }
.feedback[data-type="success"] { color: var(--green); background: #e7f8ee; }
.admin-main { padding-top: 30px; padding-bottom: 35px; }
.admin-intro { margin-bottom: 20px; }
.admin-intro h1 { font-size: 31px; margin-bottom: 4px; }
.admin-login { max-width: 430px; }
.admin-login h2, .admin-panel h2 { margin-bottom: 14px; }
.admin-login > .muted { margin: -7px 0 16px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-panel + .admin-panel { margin-top: 18px; }
.admin-grid > .admin-panel + .admin-panel { margin-top: 0; }
.form-grid { display: grid; gap: 0 11px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.qr-image { display: block; width: min(100%, 237px); height: auto; margin: 5px auto 13px; border: 1px solid var(--line); border-radius: 9px; }
.qr-actions { justify-content: center; }
.admin-qr .muted { text-align: center; margin-bottom: 12px; overflow-wrap: anywhere; }
.admin-records { margin-top: 18px; }
.search-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 9px; }
.search-form input { flex: 1 1 190px; max-width: 320px; }
.search-form .button { white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
th, td { padding: 10px 9px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); background: #f5f7fc; white-space: nowrap; }
td:last-child { white-space: nowrap; }
.pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
@media (max-width: 740px) {
  .shell { width: calc(100% - 34px); }
  .hero { min-height: 295px; }
  .hero-inner { padding: 32px 28px; }
  .main-grid { gap: 13px; }
  .card { padding: 19px; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 26px); }
  .header-inner { min-height: 59px; }
  .brand { font-size: 13px; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 9px; }
  .brand-mark .icon { width: 20px; height: 20px; }
  .main { padding-top: 13px; }
  .hero { min-height: 274px; border-radius: 18px; background-position: 67% center; }
  .hero::before { background: linear-gradient(90deg, #060e30e8, #06143aa3 65%, #09154455); }
  .hero-inner { padding: 23px 19px; }
  .hero-kicker { margin-bottom: 13px; font-size: 11px; }
  .hero h1 { font-size: clamp(24px, 6.45vw, 33px); line-height: 1.3; }
  .hero p { margin-top: 12px; font-size: 14px; }
  .hero-date { margin-top: 16px; }
  .main-grid { display: flex; flex-direction: column; margin-top: 13px; }
  .check-card { order: -2; }
  .intro-card { order: -1; }
  .card { border-radius: 15px; }
  .check-heading { margin-bottom: 8px; }
  .detail-row { padding: 12px 0; }
  .site-footer { margin-top: 15px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid > label:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .attention, .attention .button-arrow { animation: none; }
}
