:root {
  color-scheme: light;
  --ink: #142638;
  --muted: #53616c;
  --gold: #865c28;
  --navy: #10253a;
  --bg: #f5f5f1;
  --paper: #fff;
  --line: #d9ddd8;
  --radius: 13px;
  --gold-light: #ebce96;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, dl, dd, ul, ol { margin: 0; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, summary:focus-visible { outline: 2px solid #8e591b; outline-offset: 4px; }
html { scroll-padding-top: 20px; }
.wrap { width: min(920px, calc(100% - 36px)); margin-inline: auto; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: clamp(218px, 33vw, 305px);
  color: #fff7e7;
  background: var(--navy);
}
.hero::before, .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before { content: ""; background: linear-gradient(98deg, #07152ce8 0%, #0b192db8 45%, #0e1c3061 80%), linear-gradient(0deg,#0815295e,transparent 45%); z-index: -1; }
.hero-art { object-fit: cover; object-position: center 54%; z-index: -2; }
.hero-copy { width: min(920px, calc(100% - 36px)); margin-inline: auto; padding-block: 60px; text-align: center; }
.brand-logo {
  position: absolute; top: clamp(14px, 2vw, 24px); left: clamp(18px, 2.8vw, 40px);
  width: clamp(86px, 15vw, 108px); height: auto;
}
.hero h1 { font-size: clamp(1.85rem, 7.1vw, 3.8rem); letter-spacing: -.045em; line-height: 1.16; text-shadow: 0 2px 14px #081122; }
.hero p { color: #f7daa1; font-size: clamp(1rem, 3.75vw, 1.34rem); letter-spacing: .045em; margin-top: 9px; font-weight: 650; text-shadow: 0 2px 10px #081122; }
.event-strip { background: #fff; border-bottom: 1px solid var(--line); }
.event-meta { display: flex; justify-content: space-between; align-items: center; min-height: 49px; gap: 9px; font-size: .9rem; font-weight: 650; }
.event-meta span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.event-meta small { color: var(--muted); font-weight: 450; font-size: .875rem; }
.guide { padding-block: 25px 38px; }
.guide h2 { font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.3; letter-spacing: -.035em; margin-bottom: 15px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 7px;
  min-height: 106px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 2px 5px #16263805;
  transition: border-color .15s, background-color .15s;
}
.tile:hover { border-color: #af8556; background-color: #fffbf4; }
.tile strong { display: block; line-height: 1.27; font-size: 1.06rem; }
.tile span { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.tile-icon { width: 28px; height: 28px; }
.tile-highlight { background: #fcfbf7; border-color: #d9cdb8; }
.tile-highlight:hover { background: #f9eccf; }

.sub-header { background: var(--navy); color: #f9f3e8; border-bottom: 1px solid #21334c; }
.sub-bar { display: flex; align-items: center; justify-content: space-between; min-height: 51px; gap: 12px; }
.sub-bar > span { color: #e4bf7f; font-size: .9rem; font-weight: 650; }
.home-link { padding: 8px 8px 8px 0; font-weight: 650; font-size: .9rem; }
.home-link:hover { text-decoration: underline; }
.home-link:focus-visible { outline-color: #f9db9b; }
.subpage { padding-block: 23px 34px; }
.sub-title { margin-bottom: 17px; }
.sub-title h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); letter-spacing: -.04em; line-height: 1.2; }
.sub-title p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.pills { display: flex; gap: 8px; margin-bottom: 13px; }
.pills a { border: 1px solid var(--line); background: var(--paper); padding: 6px 12px; border-radius: 7px; color: var(--gold); font-size: .875rem; font-weight: 650; }
.agenda-grid { display: grid; gap: 14px; }
.agenda-panel { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow: clip; }
.agenda-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: #e9eee9; }
.agenda-heading h2 { font-size: 1.24rem; line-height: 1.25; }
.agenda-heading span, .agenda-heading b { color: var(--gold); font-size: .875rem; }
.timeline > li { border-top: 1px solid var(--line); }
.agenda-row { display: grid; grid-template-columns: 89px minmax(0, 1fr) auto; align-items: start; gap: 8px; padding: 11px 12px; }
.time-range { font-size: .875rem; color: var(--gold); white-space: nowrap; font-weight: 650; font-variant-numeric: tabular-nums; }
.session-title { display: block; line-height: 1.45; }
.session-title small { display: block; font-size: .875rem; color: var(--muted); margin-bottom: 2px; }
.muted, .note { color: var(--muted); font-size: .875rem; }
.note { margin-top: 10px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: #fbf6ee; }
.expander { display: inline-block; width: 9px; height: 9px; margin: 4px 3px; border: solid var(--gold); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
details[open] > summary .expander { transform: rotate(225deg); margin-top: 8px; }
.session-guests { margin: 0 12px 14px 109px; border-left: 2px solid #d5b789; padding-left: 10px; }
.session-guests li + li { margin-top: 7px; }
.session-guests span { display: block; color: var(--muted); font-size: .875rem; }
.session-guests small { color: var(--gold); font-size: .8rem; }
.info-panel, .contacts li, .rankings li, .guests li, .videos li { border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.info-panel { padding: 17px; }
.info-panel dl { display: grid; gap: 13px; margin-bottom: 18px; }
.info-panel dl div { display: grid; grid-template-columns: minmax(60px, 83px) 1fr; gap: 8px; }
dt { color: var(--gold); font-weight: 650; }
dd { font-weight: 650; }
dd span { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; }
.inline-link, .contacts a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 7px 17px; border-radius: 7px; background: var(--navy); color: #fff7e8; font-weight: 650; }
.button:hover { background: #233857; }
.status { color: var(--muted); }
.guests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.guests li { display: flex; align-items: center; gap: 9px; padding: 10px; min-width: 0; }
.guests img { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #c39a5f; flex: 0 0 auto; }
.guests strong, .guests span { display: block; }
.guests span { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.rankings, .contacts, .videos { display: grid; gap: 9px; }
.rankings li { border-left: 3px solid #b78a52; padding: 12px 14px; font-weight: 650; }
.contacts li { display: grid; justify-items: start; gap: 4px; padding: 13px 16px; }
.contacts span, .contacts small { color: var(--muted); font-size: .875rem; }
.videos li { padding: 12px; }
.videos h2 { font-size: 1.1rem; margin-bottom: 8px; }
.videos video { width: 100%; background: #000; border-radius: 5px; }
.site-footer { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px 13px; padding: 14px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { padding: 15px; min-height: 115px; }
  .agenda-row { grid-template-columns: 115px minmax(0, 1fr) auto; padding-inline: 16px; }
  .session-guests { margin-left: 139px; }
  .contacts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .guests { grid-template-columns: 1fr; }
}

.partners { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.partner-groups { display: grid; gap: 10px; }
.partner-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: var(--paper); min-width: 0; }
.partner-group h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.35; }
.partner-logo-box { display: flex; align-items: center; justify-content: center; height: 64px; padding: 9px 12px; background: #0c192b; border-radius: 6px; }
.organizer-logo img { width: 125px; height: auto; }
.co-organizer-logos img { width: min(100%, 350px); height: auto; }
.media-partners { margin-top: 10px; }
.media-logos { overflow: hidden; border-radius: 6px; background: #0b1625; }
.media-logos img { width: 100%; height: auto; }
.more-media summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 8px 13px; color: var(--gold); background: #f9f2e6; font-size: .875rem; font-weight: 650; }
.more-media summary:hover { background: #f4e7cf; }
.more-media .hide-media, .more-media[open] .show-media { display: none; }
.more-media[open] .hide-media { display: inline; }
@media (min-width: 640px) {
  .partner-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #815b24; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sub-bar .sub-logo { width: 88px; height: auto; }
.site-footer a { color: var(--gold); text-underline-offset: 3px; text-decoration: underline; }
.checkin-entry {
  display: flex; align-items: center; gap: 13px;
  min-height: 86px; padding: 13px clamp(13px, 2.4vw, 23px);
  margin-bottom: 12px; border: 1px solid #19344b; border-radius: var(--radius);
  color: white; background: linear-gradient(100deg, #0f243a, #203d51);
  box-shadow: 0 4px 12px #152d3c12;
}
.checkin-entry:hover { background: #1b374c; }
.checkin-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 9px; background: #f6ead1; }
.checkin-symbol img { width: 32px; height: 32px; }
.entry-copy { min-width: 0; flex: 1; }
.entry-copy strong, .entry-copy > span { display: block; }
.entry-copy strong { font-size: clamp(1.1rem, 3vw, 1.35rem); }
.entry-copy > span { color: #dde4e6; font-size: .875rem; }
.entry-cta { display: flex; align-items: center; min-height: 42px; padding-inline-start: 15px; border-left: 1px dashed #9b9b8a; color: var(--gold-light); font-weight: 650; font-size: .95rem; }
.subpage { padding-block: clamp(26px, 4.5vw, 45px) 42px; }
.sub-title h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); letter-spacing: -.04em; }
.sub-title p { font-size: .94rem; }
.detail-checkin .subpage { max-width: 570px; }
.surface { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 25px); }
.panel-head { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 17px; }
.panel-head h2, .desk h2 { font-size: 1.17rem; line-height: 1.35; }
.field-hint, .feedback { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.feedback:not(:empty) { margin-block: 12px 5px; }
.mode-label { padding: 3px 10px; color: #76511e; border: 1px solid #ddc9a5; border-radius: 99px; font-size: .875rem; }
.button { border: 1px solid transparent; min-height: 46px; }
.button.wide { width: 100%; }
.button.subtle { color: var(--ink); border-color: #c4cdc9; background: #f5f7f5; }
.button.subtle:hover { background: #e9eeeb; }
.text-button { color: var(--gold); font-size: .9rem; font-weight: 650; min-height: 40px; padding: 6px 4px; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--ink); }
.admission-layout label, .import-body label { display: block; font-weight: 650; font-size: .94rem; margin-bottom: 5px; }
input:not([type="file"]), select, textarea {
  min-height: 46px; width: 100%; max-width: 100%; min-width: 0;
  border: 1px solid #aab8b8; border-radius: 7px; padding: 9px 11px; color: var(--ink); background: white;
}
input::placeholder, textarea::placeholder { color: #66757e; }
.entry-form { border-top: 3px solid #b49461; }
.entry-form .field-hint { margin-block: 7px 15px; }
#ticket-step { margin-top: 12px; }
.form-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.form-links:not(:empty) { margin-top: 3px; }
.entry-footer { margin-top: 20px; }
.entry-footer a { color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
/* The session selector and the credentials carry the same names as the programme. */
.admission-sessions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid #c8d0ce; margin: 0 0 18px; }
.admission-sessions a { position: relative; display: grid; gap: 2px; padding: 7px 12px 10px; color: var(--muted); }
.admission-sessions a::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; }
.admission-sessions a[aria-current="page"] { color: var(--navy); }
.admission-sessions a[aria-current="page"]::after { background: #84683c; }
.admission-sessions strong { font-size: 1.02rem; }
.admission-sessions span { font-size: .875rem; font-variant-numeric: tabular-nums; }
.desk .admission-sessions { margin-bottom: 0; }
.pass-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.pass-examples > span { font-size: .875rem; color: var(--muted); }
.admission-pass {
  --card-ink: #fff6e5; --card-accent: #eddbb9; --card-rule: #ceb785;
  overflow: hidden; border: 1px solid #c8ba9e; border-radius: 8px;
  background: #fff; box-shadow: 0 9px 28px #1828390c;
}
.pass-head {
  position: relative; isolation: isolate; padding: 25px clamp(23px,6vw,38px) 26px; color: var(--card-ink);
  background: linear-gradient(100deg,#0c1b30f7 5%,#102239d4 51%,#12294155), url("./assets/beijing-skyline.webp") center 62% / cover, #14263b;
}
.pass-head::after {
  content: ""; position: absolute; inset: 9px; border: 1px solid var(--card-rule); opacity: .48; pointer-events: none;
}
.pass-topline, .pass-schedule { display: flex; align-items: center; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; font-size: .875rem; }
.pass-topline { justify-content: space-between; font-weight: 650; }
#pass-mode { font-weight: 500; }
.pass-titles { margin-block: clamp(26px,7vw,40px) 20px; }
.pass-titles h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Noto Serif SC", "SimSun", serif;
  font-weight: 600; font-size: clamp(1.38rem,5.5vw,2.5rem); letter-spacing: .035em; line-height: 1.18;
}
#pass-ticket {
  margin-top: 7px; color: var(--card-accent); overflow-wrap: anywhere;
  font: 500 clamp(2.25rem,10vw,3.6rem)/1.1 Georgia, "Songti SC", serif; letter-spacing: .035em;
}
.pass-schedule { color: var(--card-accent); font-variant-numeric: tabular-nums; }
.pass-schedule span { display: inline-flex; align-items: center; gap: 9px; }
.pass-schedule span::before { content: ""; height: .8em; width: 1px; background: currentColor; opacity: .55; }
.state-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; padding: 3px 9px; border: 1px solid transparent; border-radius: 99px; font-size: .875rem; font-weight: 700; line-height: 1.55; white-space: nowrap; }
.state-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state-pill[data-state="pending"] { color: #79501b; background: #f8ead2; border-color: #e3cda8; }
.state-pill[data-state="checked"] { color: #19563d; background: #e2f1e6; border-color: #bcd9c6; }
.state-pill[data-state="disabled"] { color: #793a3c; background: #f7e5e3; border-color: #dfc3c1; }
.pass-body { padding: clamp(19px,5.2vw,30px); border-top: 1px solid var(--card-rule); }
.holder-row { display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.holder-row > div { min-width: 0; }
.holder-label, .pass-arrival dt { font-size: .875rem; color: var(--muted); font-weight: 500; }
#pass-holder { margin: 2px 0 0; color: var(--ink); font-size: 1.4rem; line-height: 1.35; overflow-wrap: anywhere; }
.pass-greeting { color: #554c3b; margin-top: 10px; font-size: 1rem; }
.pass-arrival { border-top: 1px solid #e3e4dc; padding-top: 12px; margin-top: 16px; display: grid; gap: 6px; }
.pass-arrival > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px 12px; }
.pass-arrival dd { font-size: .96rem; text-align: right; overflow-wrap: anywhere; }
#pass-time { font-variant-numeric: tabular-nums; }
.pass-actions { padding-top: 13px; }
.pass-actions .field-hint { margin-bottom: 8px; text-align: center; }
.back-to-entry { display: block; margin: 4px auto 0; }
.detail-fields dt { font-size: .875rem; color: var(--muted); font-weight: 500; }
.desk-table td[data-label="票种"] small { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; }

.auth-panel p { margin-bottom: 9px; }
.desk { display: grid; gap: 14px; }
.desk-top, .door, .pager, .detail-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.segmented { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #c7d0ca; background: #e8ece7; border-radius: 9px; }
.segmented button { min-height: 38px; padding: 5px 13px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-weight: 650; font-size: .9rem; }
.segmented button[aria-pressed="true"] { background: var(--navy); color: #fff9ec; }
.desk-figures { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.desk-figures > div { padding: 12px clamp(10px,2.5vw,22px); }
.desk-figures > div + div { border-left: 1px solid var(--line); }
.desk-figures span { display: block; color: var(--muted); font-size: .875rem; }
.desk-figures strong { display: block; font-size: clamp(1.5rem,4vw,2.35rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.desk-figures #count-checked { color: #245940; }
#desk-search { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(105px, 145px) auto; gap: 8px; }
.desk-table { width: 100%; border-collapse: collapse; margin-top: 17px; font-size: .94rem; }
.desk-table th { text-align: left; font-size: .875rem; font-weight: 650; background: #eef1ec; color: #465767; }
.desk-table th, .desk-table td { padding: 9px 10px; }
.desk-table td { border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.desk-table .person-cell small, .state-cell small { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.action-cell { text-align: right; white-space: nowrap; }
.desk-detail { border: 1px solid #c6b494; background: #fbf7ec; padding: 14px; border-radius: 9px; margin-top: 13px; }
.desk-detail .panel-head { margin-bottom: 10px; }
.desk-detail h3 { margin: 0; font-size: 1.16rem; }
.detail-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.detail-fields dd { overflow-wrap: anywhere; }
.detail-actions { justify-content: flex-start; margin-top: 11px; }
.pager { margin-top: 7px; color: var(--muted); font-size: .875rem; }
.pager > div { display: flex; gap: 10px; }
.empty-state { margin-block: 12px; padding: 15px; border: 1px dashed var(--line); border-radius: 6px; font-size: .92rem; color: var(--muted); }
.door { margin-bottom: 10px; }
.door h2 { margin-bottom: 4px; }
.import-section { padding-block: 0; }
.import-section summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; font-weight: 680; }
.import-section summary:hover { background: transparent; }
.import-body { padding-bottom: 16px; display: grid; justify-items: start; gap: 7px; }
.import-body p { color: var(--muted); font-size: .9rem; }
.import-body label { margin-top: 8px; }
.import-body textarea { resize: vertical; }
.import-body input[type="file"] { max-width: 100%; }
.import-sample li { font-size: .9rem; overflow-wrap: anywhere; }
@media (max-width: 570px) {
  #desk-search { grid-template-columns: minmax(0,1fr) auto; }
  #staff-query { grid-column: 1/-1; }
  .desk-table, .desk-table tbody { display: block; }
  .desk-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .desk-table tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px 11px; border-top: 1px solid var(--line); padding: 13px 0; }
  .desk-table td { display: block; border: 0; padding: 0; }
  .desk-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: .85rem; }
  .desk-table .person-cell { grid-row: 1; grid-column: 1; }
  .desk-table .state-cell { grid-row: 1; grid-column: 2; justify-self: end; text-align: right; }
  .desk-table .action-cell { grid-column: 1/-1; }
  .detail-fields { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; } }

#coupon-note { padding: 16px clamp(19px,5.2vw,30px); border-top: 1px dashed #ccb993; background: #faf6ec; color: #58482d; font-size: .9rem; }
#coupon-note strong { display: block; margin-bottom: 4px; }
.pass-arrival:has(> [hidden]:only-child), .pass-arrival:has(> [hidden]:first-child + [hidden]:last-child) { display: none; }

.badge-instructions { margin-top: 1rem; }
.badge-instructions strong { display: block; font-weight: 650; }
