:root {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #202936;
  background: #f4f7fb;
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  --blue: #2464c8;
  --ink: #193b64;
  --muted: #617087;
  --line: #e5ebf2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  min-height: 44px;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #80aff9;
  outline-offset: 3px;
}
button,
input,
select {
  border: 1px solid #d4deeb;
  border-radius: 8px;
  background: #fff;
  color: inherit;
}
button {
  padding: 9px 16px;
}
input,
select {
  padding: 10px 12px;
  min-width: 0;
  max-width: 100%;
}
input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.35;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 17px;
}
small {
  font-size: 13px;
}
a {
  color: var(--blue);
}
.primary,
.small-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.small-primary {
  padding: 5px 13px;
  white-space: nowrap;
}
.secondary {
  background: #fff;
  color: var(--blue);
}
.text-button {
  background: none;
  border-color: transparent;
  color: var(--blue);
  padding-inline: 8px;
}
.quiet {
  color: var(--muted);
  font-size: 14px;
}
.note {
  padding: 14px 18px;
}
.tag {
  display: inline-block;
  background: #eaf2ff;
  color: #275d9c;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 12px;
}
.loading {
  padding: 30px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#notice {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff0dd;
  color: #704200;
  padding: 12px 24px;
  border-bottom: 1px solid #f0d3a8;
  overflow-wrap: anywhere;
}
#notice:empty {
  display: none;
}
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font-weight: 700;
  font-size: 21px;
}
.brand small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  font-size: 23px;
}
.header-actions {
  display: flex;
  gap: 12px;
}
.home-main {
  max-width: 1080px;
  margin: auto;
  padding: 54px 30px;
}
.home-intro {
  margin-bottom: 32px;
}
.eyebrow {
  color: var(--blue);
  font-size: 14px;
  margin-bottom: 12px;
}
.home-intro h1 {
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.home-intro > p:last-child {
  color: var(--muted);
  font-size: 18px;
}
.lesson-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.lesson {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.lesson:last-child {
  border: 0;
}
.lesson-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--blue);
  background: #edf4ff;
  font-size: 29px;
  border-radius: 14px;
}
.lesson p {
  color: var(--muted);
  margin: 6px 0 17px;
}
.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.recent {
  margin-top: 40px;
}
.recent > h2 {
  margin-bottom: 14px;
}
.history-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  text-align: left;
  background: none;
  gap: 12px;
  padding: 15px 0;
}
.history-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.history-row > span:last-child {
  color: var(--blue);
  font-size: 14px;
}
.home-footer {
  margin-top: 36px;
  color: var(--muted);
  font-size: 13px;
}
.workspace {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 430px) minmax(
      210px,
      0.85fr
    );
  gap: 28px;
  padding: 32px;
}
.task-panel {
  min-width: 0;
}
.task-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
}
.connection {
  font-size: 12px;
  color: #277a50;
}
.connection::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #277a50;
  margin-right: 6px;
}
.connection.offline {
  color: #956715;
}
.connection.offline::before {
  background: #956715;
}
.task-panel h1 {
  font-size: 25px;
}
.task-goal {
  font-size: 18px;
  line-height: 1.9;
  margin: 20px 0 13px;
}
.task-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0;
}
.reference-detail {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.reference-detail p {
  margin-bottom: 12px;
}
.coach {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.coach h2 {
  font-size: 17px;
}
.coach form {
  display: flex;
  gap: 6px;
  margin-top: 13px;
}
.coach input {
  width: 100%;
  flex: 1;
}
.coach button {
  padding-inline: 12px;
  white-space: nowrap;
}
.coach-answer {
  margin-top: 12px;
  white-space: pre-wrap;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.practice-column {
  min-width: 0;
}
.device-caption {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 3px 10px;
}
.phone-app {
  background: #fff;
  border: 1px solid #d6deea;
  border-radius: 18px;
  overflow: hidden;
  min-height: 640px;
  box-shadow: 0 10px 30px #1e41630a;
}
.app-identity {
  background: #eaf1ff;
  color: #41618e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  font-size: 10px;
}
.app-identity strong {
  font-size: 12px;
  font-weight: 500;
}
.app-nav {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  align-items: center;
  text-align: center;
  min-height: 54px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
}
.app-nav button {
  background: none;
  border: 0;
  font-size: 29px;
  padding: 0;
}
.page-counter {
  font-size: 12px;
  color: var(--muted);
}
.screen-content {
  position: relative;
  min-height: 520px;
  padding-bottom: 0;
}
.hospital-welcome {
  padding: 28px 24px;
  background: #edf5fe;
  color: #1b558d;
}
.hospital-welcome > span {
  font-size: 13px;
}
.hospital-welcome h2 {
  font-size: 29px;
  margin: 8px 0;
}
.hospital-welcome p {
  font-size: 14px;
}
.hospital-quick {
  padding: 24px 18px;
}
.service-entry {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr;
  text-align: left;
  column-gap: 14px;
  border-color: var(--line);
  padding: 17px;
}
.service-icon {
  grid-row: span 2;
  background: #eaf3ff;
  color: var(--blue);
  font-size: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.service-entry small {
  color: var(--muted);
  font-size: 12px;
}
.service-notice {
  background: #f8fafc;
  padding: 18px;
  margin: 0 18px 18px;
  font-size: 14px;
  color: #53657a;
  border-radius: 8px;
}
.service-notice h3 {
  margin-bottom: 8px;
}
.service-notice small {
  display: block;
  margin-top: 9px;
}
.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  padding: 17px 4px;
  color: #657890;
  font-size: 14px;
  margin-top: 24px;
}
.phone-nav .selected {
  color: var(--blue);
  font-weight: 600;
}
.search-look {
  margin: 16px;
  padding: 9px 13px;
  border-radius: 7px;
  background: #f3f6fa;
  color: #687589;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.section-title {
  padding: 18px;
  border-bottom: 1px solid #f0f3f7;
  font-size: 17px;
}
.department-layout {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  min-height: 370px;
}
.department-layout aside {
  background: #f5f7fa;
}
.department-layout aside span {
  display: block;
  padding: 17px 10px;
  font-size: 14px;
  color: #596678;
}
.department-layout aside .selected {
  background: #fff;
  color: var(--blue);
  border-left: 3px solid var(--blue);
}
.department {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #eef1f5;
  padding: 17px 18px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}
.department > span,
.person-row > span,
.place-row > span:last-child,
.route-row > span {
  color: #8a98aa;
  font-size: 20px;
}
.filterbar {
  display: flex;
  justify-content: space-between;
  padding: 13px 18px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #596b81;
}
.doctor-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 46px;
  height: 54px;
  border-radius: 6px;
  flex-shrink: 0;
  background: #e8f2fa;
  color: #5584a6;
  display: grid;
  place-items: center;
}
.doctor-detail {
  flex: 1;
  min-width: 0;
}
.doctor-detail h3 {
  font-size: 16px;
}
.doctor-detail small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.doctor-detail p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.doctor-detail .tag {
  margin-top: 8px;
}
.doctor-row > button {
  align-self: center;
}
.doctor-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px;
}
.doctor-summary p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}
.schedule {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 18px;
}
.schedule section {
  text-align: center;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
  overflow: hidden;
}
.schedule header {
  background: #f1f6ff;
  padding: 9px 3px;
}
.schedule header small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.slot {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  border-top: 1px solid #eaf0f6;
  color: var(--blue);
  padding: 12px 3px;
}
.slot small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.person-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 18px;
}
.person-row small,
.passenger-option small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.rail-hero {
  padding: 25px 22px 65px;
  background: #2b79c4;
  color: #fff;
}
.rail-hero span {
  font-size: 13px;
  color: #e6f3ff;
}
.rail-hero h2 {
  font-size: 26px;
  margin-top: 8px;
}
.rail-search {
  position: relative;
  margin: -42px 16px 0;
  padding: 24px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 16px #1b4c7d14;
  border: 1px solid var(--line);
}
.stations {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
}
.stations label {
  font-size: 12px;
  color: var(--muted);
}
.stations label:last-child {
  text-align: right;
}
.stations select {
  display: block;
  appearance: none;
  padding: 7px 0;
  border: 0;
  font-size: 23px;
  font-weight: 600;
  width: 100%;
  color: #202936;
  background: none;
  white-space: normal;
}
.stations label:last-child select {
  text-align: right;
}
.swap {
  border: 0;
  border-radius: 50%;
  padding: 0;
  font-size: 26px;
  color: #3180cc;
  background: #eff7ff;
  width: 40px;
  height: 40px;
}
.date-field {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 12px;
  padding: 20px 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.date-field select {
  border: 0;
  padding: 7px 0;
  font-size: 19px;
  color: #202936;
  background: none;
}
.rail-primary {
  display: block;
  background: #f18422;
  border: 1px solid #f18422;
  color: #fff;
  border-radius: 7px;
  width: 100%;
  font-size: 18px;
  min-height: 48px;
}
.rail-tips {
  padding: 30px 22px;
  color: #586a7f;
  font-size: 14px;
}
.rail-tips h3 {
  margin-bottom: 9px;
}
.ticket .app-nav {
  background: #2777c5;
  color: #fff;
  border: 0;
}
.ticket .app-nav button,
.ticket .page-counter {
  color: #fff;
}
.rail-route-title {
  background: #f1f7ff;
  padding: 17px 18px;
}
.rail-route-title strong,
.rail-route-title span {
  display: block;
}
.rail-route-title span {
  font-size: 13px;
  color: #5e748d;
  margin-top: 6px;
}
.train-row {
  padding: 19px 16px;
  border-bottom: 8px solid #f5f7fa;
}
.train-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.train-top > div > strong {
  font-size: 23px;
  line-height: 1.3;
}
.train-top span {
  display: block;
  font-size: 12px;
  color: #607187;
}
.train-top > div:first-child {
  text-align: left;
}
.train-top > div:last-child {
  text-align: right;
}
.train-middle b {
  font-size: 13px;
  font-weight: 500;
}
.train-middle > span {
  font-size: 11px;
  margin-top: 4px;
}
.train-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 13px;
  gap: 8px;
}
.train-bottom b {
  color: #2f8a62;
  margin-left: 8px;
  font-weight: 500;
}
.train-bottom small {
  display: block;
  margin-top: 4px;
  color: #727d8a;
}
.passenger-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
}
.seat-options {
  display: flex;
  gap: 20px;
  padding: 20px 18px;
}
.seat-options label {
  display: flex;
  gap: 9px;
  align-items: center;
}
.bottom-action {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.bottom-action > button {
  width: 100%;
}
.bottom-action > .quiet {
  text-align: center;
  font-size: 12px;
}
.review-list {
  padding-inline: 18px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.info-row > span {
  color: var(--muted);
  flex-shrink: 0;
}
.info-row strong {
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}
.confirm-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 20px 18px;
  font-size: 14px;
}
.confirm-check input {
  margin: 3px 0 0;
}
.result-heading {
  text-align: center;
  padding: 28px 18px 22px;
}
.result-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue);
  margin: 0 auto 15px;
  font-size: 29px;
}
.result-heading p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.checks {
  padding-inline: 18px;
}
.checks > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  flex-wrap: wrap;
}
.checks > div > small {
  flex-basis: 100%;
  color: #7c561f;
  padding-left: 22px;
  font-size: 13px;
}
.report-meta {
  flex-wrap: wrap;
}
.focus-plan {
  padding: 12px 14px;
  background: #fff4df;
  border-left: 3px solid #d7a04b;
  color: #77511a;
  font-size: 14px;
  margin-top: 12px;
}
.checks strong {
  margin-left: auto;
  font-weight: 400;
  color: var(--muted);
}
.pass {
  color: #27845e;
}
.miss {
  color: #b46515;
}
.report-meta {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  gap: 10px;
}
.event-panel {
  min-width: 0;
  padding-top: 28px;
}
.event-panel h2 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step-current {
  padding-block: 17px;
  margin: 14px 0;
  border-block: 1px solid var(--line);
  color: var(--blue);
  font-size: 14px;
}
.event-panel ol {
  padding: 0;
  list-style: none;
  margin: 0;
}
.event-panel li {
  display: flex;
  flex-direction: column;
  padding: 11px 0;
  border-bottom: 1px solid #e9edf3;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.event-panel time {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.observer-result {
  margin-top: 23px;
  font-size: 14px;
}
.observer-result p {
  margin: 10px 0 15px;
}
.pair-panel {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pair-panel h2 {
  font-size: 18px;
  margin-bottom: 13px;
}
.pair-panel label {
  font-size: 13px;
  color: var(--muted);
  display: block;
}
.pair-panel select {
  width: 100%;
  font-size: 13px;
  margin: 7px 0 12px;
}
.qr-image {
  padding: 12px;
  background: #fff;
  max-width: 256px;
  margin: 15px 0;
}
.qr-image svg {
  display: block;
  width: 100%;
  height: auto;
}
.join-link {
  display: block;
  width: 100%;
  font-size: 12px;
}
.observer-mode .screen-content {
  pointer-events: none;
}
.map-canvas {
  height: 280px;
  position: relative;
  overflow: hidden;
  background-color: #f2f4ed;
  background-image:
    linear-gradient(
      90deg,
      transparent 48%,
      #e1e8da 48%,
      #e1e8da 51%,
      transparent 51%
    ),
    linear-gradient(transparent 45%, #e5eadf 45%, #e5eadf 49%, transparent 49%);
  background-size: 80px 80px;
}
.map-road {
  display: block;
  position: absolute;
  background: #fff;
  width: 140%;
  height: 18px;
  left: -20%;
  top: 30%;
  border: 1px solid #e0e5dc;
  transform: rotate(-24deg);
}
.map-road.r2 {
  top: 70%;
  transform: rotate(13deg);
}
.map-road.r3 {
  top: 0;
  left: 52%;
  height: 150%;
  width: 20px;
  transform: rotate(15deg);
}
.map-pin {
  position: absolute;
  left: 46%;
  top: 38%;
  display: grid;
  place-items: center;
  background: #2679d2;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  width: 38px;
  height: 38px;
  font-size: 25px;
  box-shadow: 0 2px 8px #38587333;
}
.map-label {
  position: absolute;
  left: 45%;
  top: 57%;
  font-size: 12px;
  background: #fff;
  padding: 2px 6px;
}
.map-caption {
  position: absolute;
  bottom: 8px;
  left: 10px;
  color: #526046;
  background: #ffffffd9;
  font-size: 11px;
  padding: 2px 6px;
}
.map-search {
  padding: 23px 18px;
}
.map-search label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
.map-search > div {
  display: flex;
  gap: 8px;
}
.map-search input {
  width: 100%;
  flex: 1;
}
.map-search button {
  white-space: nowrap;
}
.place-row,
.route-row {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 20px 18px;
  width: 100%;
}
.place-row > div {
  flex: 1;
  min-width: 0;
}
.place-icon {
  color: var(--blue);
  font-size: 25px;
}
.place-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.route-destination {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
}
.route-destination small {
  color: var(--muted);
}
.location-dot {
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}
.route-choice {
  flex: 1;
}
.route-choice > strong {
  display: block;
  font-size: 25px;
  margin: 7px 0;
}
.route-choice > strong > small {
  margin-left: 4px;
  font-weight: 400;
}
.route-choice p {
  font-size: 14px;
  margin-bottom: 6px;
}
.route-choice > small {
  font-size: 12px;
  color: var(--muted);
}
dialog {
  border: 1px solid #d7e1ef;
  border-radius: 14px;
  max-width: 560px;
  width: calc(100% - 32px);
  padding: 26px;
  color: #202936;
  line-height: 1.9;
}
dialog::backdrop {
  background: #14293b66;
}
dialog h2 {
  margin-bottom: 13px;
}
dialog p {
  margin-block: 12px;
  font-size: 15px;
}
.close {
  float: right;
  background: none;
  border: 0;
  font-size: 25px;
  padding: 0 8px;
}
html.large {
  font-size: 18px;
}
html.large .screen-content {
  font-size: 18px;
}
html.large .info-row,
html.large .department,
html.large .person-row,
html.large .passenger-option,
html.large .confirm-check {
  font-size: 18px;
}
.large .task-goal {
  font-size: 21px;
}
.large .doctor-detail p,
.large .note {
  font-size: 16px;
}
@media (max-width: 1120px) {
  .workspace {
    grid-template-columns: minmax(230px, 1fr) minmax(320px, 430px);
    gap: 22px;
    padding: 25px;
  }
  .event-panel {
    grid-column: 1/-1;
    padding-top: 0;
  }
  .event-panel ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .task-panel h1 {
    font-size: 23px;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: 72px;
    padding: 0 16px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 19px;
    border-radius: 10px;
  }
  .brand small {
    font-size: 10px;
  }
  .header-actions {
    gap: 0;
  }
  .header-actions button {
    font-size: 12px;
    padding: 7px;
  }
  .home-main {
    padding: 32px 18px;
  }
  .home-intro h1 {
    font-size: 30px;
  }
  .home-intro > p:last-child {
    font-size: 16px;
  }
  .lesson {
    padding: 21px 17px;
    gap: 14px;
  }
  .lesson-icon {
    width: 40px;
    height: 44px;
    font-size: 25px;
  }
  .lesson h2 {
    font-size: 19px;
  }
  .lesson p {
    font-size: 14px;
  }
  .lesson-actions {
    gap: 8px;
  }
  .lesson-actions button {
    font-size: 14px;
    padding-inline: 11px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 12px;
  }
  .task-panel,
  .practice-column,
  .event-panel {
    width: 100%;
  }
  .task-panel {
    padding-inline: 6px;
  }
  .task-panel h1 {
    font-size: 23px;
  }
  .task-goal {
    font-size: 17px;
    margin: 13px 0 8px;
  }
  .task-tools {
    margin: 16px 0 0;
  }
  .task-panel > .quiet {
    font-size: 12px;
  }
  .coach {
    margin-top: 18px;
    padding-top: 14px;
  }
  .coach h2 {
    font-size: 16px;
  }
  .reference-detail {
    margin-top: 15px;
  }
  .phone-app {
    border-radius: 12px;
    min-height: 0;
  }
  .screen-content {
    min-height: 460px;
  }
  .practice-column {
    max-width: 440px;
    align-self: center;
  }
  .event-panel {
    padding: 10px 6px;
  }
  .event-panel ol {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .event-panel li {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }
  .event-panel time {
    white-space: nowrap;
  }
  .pair-panel {
    margin-top: 20px;
  }
  .qr-image {
    margin-inline: auto;
  }
  .history-row {
    font-size: 14px;
  }
  .history-row > span:last-child {
    white-space: nowrap;
    font-size: 12px;
  }
  .schedule {
    gap: 6px;
    padding: 15px 10px;
  }
  .doctor-row {
    gap: 8px;
    padding-inline: 12px;
  }
  .doctor-row .avatar {
    width: 36px;
  }
  .doctor-detail h3 {
    font-size: 15px;
  }
  .train-row {
    padding-inline: 13px;
  }
  .train-top > div > strong {
    font-size: 22px;
  }
  .rail-search {
    margin-inline: 12px;
    padding-inline: 13px;
  }
  .stations select {
    font-size: 22px;
  }
  .app-identity {
    font-size: 9px;
  }
  .app-identity strong {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.event-replay {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14px;
}
.event-replay time {
  white-space: nowrap;
}
.event-replay:hover {
  color: var(--blue);
}
.voice-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.voice-controls button {
  font-size: 13px;
}
.coach-citations {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
  font-size: 12px;
}
.coach .voice-input {
  padding-inline: 10px;
  font-size: 13px;
}
.coach input {
  min-width: 0;
}
.real-map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.live-map {
  background: #eef3f7;
  background-image: none;
  height: auto;
  aspect-ratio: 5/3;
}
.live-map .map-road,
.live-map .map-pin,
.live-map .map-label {
  display: none;
}
.map-image-status {
  position: absolute;
  top: 35%;
  left: 16px;
  right: 16px;
  background: #fff;
  color: #58697b;
  font-size: 13px;
}
.map-image-status:empty {
  display: none;
}
.rail-searchhint {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.rail-searchhint > span:last-child {
  background: #ffffff29;
  border-radius: 20px;
  padding: 7px 12px;
  flex: 1;
  font-size: 11px;
}
.rail-hero:has(.rail-landscape) {
  padding: 17px 16px 0;
  background: #2884d7;
  overflow: hidden;
  height: 154px;
}
.rail-landscape {
  height: 92px;
  position: relative;
  overflow: hidden;
  margin: 5px -16px 0;
  background: linear-gradient(0deg, #cee5f2 0%, #79b5dd 30%, transparent 31%);
}
.rail-building {
  position: absolute;
  bottom: 22px;
  left: 7%;
  width: 16px;
  height: 30px;
  background: #dae8ef;
  box-shadow:
    25px 4px #91b3cb,
    47px -11px #b6d2e2,
    78px 5px #c8dce6,
    110px -6px #9fbed1,
    145px 6px #b6d3e2,
    180px -13px #afcfdf,
    215px 0 #c1dbe7,
    245px -8px #a5c8dc,
    280px 4px #b6d5e5;
}
.rail-train {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 85%;
  height: 34px;
  background: #f8fcff;
  border-radius: 2px 65% 20% 0;
  border-bottom: 5px solid #aac4d7;
  transform: skewX(10deg);
}
.rail-train::before {
  content: "";
  display: block;
  width: 72%;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    #3b6280 0 14px,
    #e5f1f8 14px 19px
  );
  margin-top: 8px;
}
.rail-train::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 94%;
  height: 3px;
  background: #ce5050;
  border-radius: 0 100% 0 0;
}
.rail-service-tabs {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 17px;
  font-size: 14px;
  color: var(--muted);
}
.rail-service-tabs strong {
  color: #2777c5;
  border-bottom: 2px solid #2777c5;
  padding-bottom: 8px;
}
.rail-search-button {
  display: block;
  background: #2787e4;
  color: #fff;
  width: 100%;
  border: 0;
  min-height: 48px;
  font-size: 18px;
}
.rail-search:has(.rail-service-tabs) {
  margin-top: -18px;
  padding-top: 17px;
}
@media (max-width: 700px) {
  .workspace:not(.observer-mode) .task-panel > h1 {
    display: none;
  }
  .workspace:not(.observer-mode) .task-panel > .quiet {
    display: none;
  }
  .workspace:not(.observer-mode) .task-title {
    margin-bottom: 7px;
  }
  .workspace:not(.observer-mode) .task-goal {
    font-size: 16px;
    line-height: 1.7;
    margin: 8px 0;
  }
  .workspace > .coach,
  .workspace > .reference-detail {
    width: 100%;
    padding: 16px 6px;
    margin: 0;
  }
  .workspace > .coach {
    border-top: 1px solid var(--line);
  }
  .workspace > .coach form {
    display: flex;
    gap: 8px;
  }
}

/* ===== 院内报到与微信沟通场景 ===== */
.checkin-hero {
  background: linear-gradient(160deg, #eef6fb, #f8fbfe);
}
.appointment-row,
.channel-row,
.card-pick,
.spot-row {
  margin-bottom: 10px;
}
.appointment-row .place-row,
.channel-row .person-row,
.card-pick .person-row,
.spot-row .place-row {
  width: 100%;
}
.appointment-row .place-row,
.spot-row .place-row {
  align-items: center;
  gap: 12px;
}
.appointment-time {
  display: grid;
  place-items: center;
  gap: 0;
  width: 52px;
  padding: 7px 0;
  border-radius: 10px;
  background: #eef5ff;
  color: var(--blue);
  flex-shrink: 0;
}
.appointment-time strong {
  font-size: 13px;
  line-height: 1.3;
}
.appointment-time small {
  font-size: 10px;
  color: #7d93b3;
  line-height: 1.2;
}
.appointment-info {
  flex: 1;
  min-width: 0;
}
.appointment-info strong {
  font-size: 15px;
  color: var(--ink);
}
.appointment-info p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.wechat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.wechat-plus {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f1f4f8;
  color: var(--muted);
  font-size: 16px;
}
.chat-list {
  padding: 6px 0 12px;
}
.chat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #f1f4f8;
  background: #fff;
  text-align: left;
}
.chat-row:hover {
  background: #f8fbfe;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e8f2ec;
  color: #3d7f63;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}
.chat-copy {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.chat-copy strong {
  font-size: 14px;
  color: var(--ink);
}
.chat-copy small {
  font-size: 11px;
  color: var(--muted);
}
.chat-head {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.chat-head strong {
  font-size: 15px;
  color: var(--ink);
}
.chat-head small {
  font-size: 11px;
  color: var(--muted);
}
.chat-body {
  padding: 16px;
  background: #f2f5f9;
  min-height: 86px;
}
.chat-bubble {
  display: inline-block;
  margin: 0;
  padding: 9px 13px;
  border-radius: 4px 12px 12px 12px;
  background: #fff;
  font-size: 13px;
  color: #33475d;
  box-shadow: 0 1px 2px #1e41630d;
}
.attach-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 6px 16px 16px;
}
.attach-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.attach-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef4fb;
  color: var(--blue);
  font-size: 14px;
}
.attach-item small {
  font-size: 11px;
  color: var(--muted);
}
.map-canvas.mini {
  height: 132px;
  margin: 12px 14px 0;
  border-radius: 12px;
}

