:root {
      --ink: #17315c;
      --ink-strong: #102a56;
      --muted: #61718d;
      --brand: #2863ba;
      --brand-dark: #1f52a0;
      --brand-soft: #eaf2ff;
      --orange: #ed8d3e;
      --orange-soft: #fff0e3;
      --paper: #ffffff;
      --warm: #fffaf3;
      --surface: #f5f8fc;
      --line: #dbe5f2;
      --shadow: 0 14px 34px rgba(25, 57, 103, 0.11);
      --content: 1200px;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

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

    body {
      margin: 0;
      min-width: 320px;
      color: var(--ink);
      background: var(--paper);
      font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    svg {
      display: block;
      max-width: 100%;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      background: rgba(255, 255, 255, 0.96);
      border-bottom: 1px solid #edf1f7;
      backdrop-filter: blur(10px);
    }

    .header-inner {
      width: min(var(--content), calc(100% - 48px));
      min-height: 72px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      min-width: 0;
      color: var(--ink-strong);
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .brand-text {
      display: inline-flex;
      align-items: center;
      white-space: nowrap;
    }

    .header-actions {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex: 0 0 auto;
    }

    .header-resume-link {
      min-height: 40px;
      padding: 0 15px;
      font-size: 14px;
    }

    .brand-logo {
      display: block;
      width: 34px;
      height: 34px;
      flex: 0 0 34px;
      object-fit: contain;
    }

    .button {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      border-radius: 10px;
      padding: 0 20px;
      color: #fff;
      background: var(--brand);
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      box-shadow: 0 8px 18px rgba(36, 89, 173, 0.18);
      transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
    }

    .button:hover {
      background: var(--brand-dark);
      transform: translateY(-1px);
      box-shadow: 0 11px 22px rgba(36, 89, 173, 0.24);
    }

    .button:focus-visible,
    .board-button:focus-visible,
    .record-link:focus-visible {
      outline: 3px solid rgba(237, 141, 62, 0.55);
      outline-offset: 3px;
    }

    .hero {
      overflow: hidden;
      background:
        radial-gradient(circle at 89% 15%, rgba(255, 206, 148, 0.48), transparent 24%),
        linear-gradient(110deg, #ffffff 0%, #fffaf3 58%, #fff6e9 100%);
    }

    .hero-inner {
      width: min(var(--content), calc(100% - 48px));
      min-height: 430px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
      align-items: center;
      gap: 52px;
      padding: 58px 0 46px;
    }

    .hero-copy {
      min-width: 0;
    }

    .eyebrow {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      color: var(--brand);
      font-size: 14px;
      font-weight: 650;
      letter-spacing: 0.04em;
    }

    .eyebrow::before {
      width: 22px;
      height: 3px;
      content: "";
      border-radius: 999px;
      background: var(--orange);
    }

    h1 {
      margin: 0;
      color: var(--ink-strong);
      font-size: clamp(38px, 4.1vw, 58px);
      line-height: 1.17;
      letter-spacing: -0.045em;
    }

    h1 em {
      color: var(--orange);
      font-style: normal;
    }

    .hero-copy p {
      max-width: 610px;
      margin: 20px 0 27px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.85;
    }

    .hero-art {
      position: relative;
      min-width: 0;
      padding: 14px 0 0;
    }

    .hero-art::before {
      position: absolute;
      top: 10%;
      right: 4%;
      width: 74%;
      aspect-ratio: 1;
      content: "";
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.52);
    }

    .hero-art svg {
      position: relative;
      z-index: 1;
      width: 100%;
      height: auto;
    }

    .page-content {
      width: min(var(--content), calc(100% - 48px));
      margin: 0 auto;
      padding: 30px 0 24px;
    }

    .board-entry {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 22px;
      padding: 24px 28px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: linear-gradient(105deg, #f7faff 0%, #fff9ef 100%);
    }

    .city-pair {
      position: relative;
      width: 76px;
      height: 52px;
      flex: 0 0 auto;
    }

    .city-pill {
      position: absolute;
      top: 0;
      left: 0;
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border: 3px solid #fff;
      border-radius: 14px;
      color: var(--brand);
      background: var(--brand-soft);
      font-size: 16px;
      font-weight: 750;
      box-shadow: 0 5px 14px rgba(29, 61, 108, 0.08);
    }

    .city-pill + .city-pill {
      top: 8px;
      left: 28px;
      color: var(--orange);
      background: var(--orange-soft);
    }

    .board-copy h2,
    .section-heading h2 {
      margin: 0;
      color: var(--ink-strong);
      letter-spacing: -0.025em;
    }

    .board-copy h2 {
      font-size: 23px;
    }

    .board-copy p {
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.65;
    }

    .board-button {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #b8cee9;
      border-radius: 10px;
      padding: 0 19px;
      color: var(--brand-dark);
      background: rgba(255, 255, 255, 0.8);
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
    }

    .board-button:hover {
      border-color: var(--brand);
      background: #fff;
      transform: translateY(-1px);
    }

    .section-heading {
      margin: 29px 0 14px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
    }

    .section-heading h2 {
      font-size: 21px;
    }

    .section-heading p {
      margin: 0;
      color: #8491a5;
      font-size: 13px;
    }

    .capabilities {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .capability {
      min-width: 0;
      padding: 22px;
      border: 1px solid transparent;
      border-radius: 15px;
      background: var(--surface);
      transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    }

    .capability:hover {
      border-color: #dbe5f2;
      transform: translateY(-2px);
      box-shadow: 0 9px 22px rgba(30, 63, 109, 0.07);
    }

    .capability-icon {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      margin-bottom: 14px;
      border-radius: 11px;
      color: var(--brand);
      background: var(--brand-soft);
      font-size: 15px;
      font-weight: 800;
    }

    .capability:nth-child(2) .capability-icon {
      color: var(--orange);
      background: var(--orange-soft);
    }

    .capability h3 {
      margin: 0 0 7px;
      color: var(--ink-strong);
      font-size: 17px;
    }

    .capability p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    .site-footer {
      width: min(var(--content), calc(100% - 48px));
      margin: 0 auto;
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      border-top: 1px solid #edf1f7;
      color: #8491a5;
      font-size: 13px;
    }

    .record-link {
      transition: color 160ms ease;
    }

    .record-link:hover {
      color: var(--brand);
    }

    .teacher-resume-trigger {
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #ef9a57;
      border-radius: 8px;
      padding: 0 16px;
      color: #b84d17;
      background: #fff5eb;
      font: inherit;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
      transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
    }

    .teacher-resume-trigger:hover {
      color: #933711;
      background: #ffead8;
      border-color: #dc7b34;
    }

    .teacher-resume-trigger:focus-visible,
    .teacher-qr-close:focus-visible {
      outline: 3px solid rgba(237, 141, 62, 0.5);
      outline-offset: 2px;
    }

    body.teacher-qr-open {
      overflow: hidden;
    }

    .teacher-qr-modal[hidden] {
      display: none;
    }

    .teacher-qr-modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: grid;
      place-items: center;
      padding: 20px;
    }

    .teacher-qr-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.58);
    }

    .teacher-qr-dialog {
      position: relative;
      z-index: 1;
      width: min(360px, 100%);
      max-height: calc(100dvh - 40px);
      overflow: auto;
      border-radius: 8px;
      padding: 26px 24px 22px;
      background: #fff;
      box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
      text-align: center;
    }

    .teacher-qr-dialog h2 {
      margin: 0;
      color: var(--ink-strong);
      font-size: 21px;
    }

    .teacher-qr-dialog p {
      margin: 8px 22px 16px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .teacher-qr-dialog img {
      display: block;
      width: 240px;
      max-width: 100%;
      height: auto;
      margin: 0 auto;
    }

    .city-service-qr-dialog {
      width: min(380px, 100%);
    }

    .city-service-qr-dialog img {
      width: 280px;
      max-width: 100%;
      image-rendering: auto;
    }

    .teacher-qr-close {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: #64748b;
      background: transparent;
      font: inherit;
      font-size: 25px;
      line-height: 1;
      cursor: pointer;
    }

    .teacher-qr-close:hover {
      color: #0f172a;
      background: #f1f5f9;
    }

    @media (max-width: 900px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
        gap: 28px;
      }

      .hero-copy p {
        font-size: 15px;
      }
    }

    @media (max-width: 768px) {
      .header-inner,
      .hero-inner,
      .page-content,
      .site-footer {
        width: min(100% - 32px, 620px);
      }

      .header-inner {
        min-height: 64px;
        gap: 12px;
      }

      .header-actions {
        gap: 7px;
      }

      .brand {
        gap: 8px;
        font-size: 14px;
      }

      .teacher-resume-trigger {
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
      }

      .brand-logo {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
      }

      .site-header .button {
        min-height: 44px;
        padding: 0 15px;
        font-size: 13px;
      }

      .header-resume-link {
        min-height: 38px;
        padding: 0 11px;
        font-size: 12px;
      }

      .hero-inner {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 42px 0 30px;
      }

      .eyebrow {
        margin-bottom: 13px;
        font-size: 12px;
      }

      h1 {
        font-size: clamp(33px, 10vw, 46px);
        line-height: 1.18;
      }

      .hero-copy p {
        margin: 17px 0 22px;
        font-size: 14px;
        line-height: 1.75;
      }

      .hero-copy .button {
        width: 100%;
        min-height: 48px;
      }

      .hero-art {
        width: min(100%, 430px);
        margin: 0 auto;
        padding: 0;
      }

      .page-content {
        padding: 22px 0 18px;
      }

      .board-entry {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
      }

      .city-pair {
        width: 65px;
        height: 48px;
      }

      .city-pill {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        font-size: 14px;
      }

      .city-pill + .city-pill {
        left: 22px;
      }

      .board-copy h2 {
        font-size: 18px;
      }

      .board-copy p {
        margin-top: 5px;
        font-size: 12px;
      }

      .board-button {
        width: 100%;
        min-height: 46px;
        grid-column: 1 / -1;
      }

      .section-heading {
        margin: 24px 0 12px;
      }

      .section-heading h2 {
        font-size: 19px;
      }

      .section-heading p {
        display: none;
      }

      .capabilities {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .capability {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 14px;
        padding: 16px;
      }

      .capability-icon {
        grid-row: 1 / 3;
        margin: 0;
      }

      .capability h3 {
        margin-bottom: 4px;
        font-size: 15px;
      }

      .capability p {
        font-size: 12px;
        line-height: 1.6;
      }

      .site-footer {
        min-height: 82px;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        font-size: 12px;
      }

      .teacher-qr-modal {
        align-items: end;
        padding: 12px;
      }

      .teacher-qr-dialog {
        width: 100%;
        max-height: calc(100dvh - 24px);
        padding: 24px 20px 18px;
      }
    }

    @media (max-width: 480px) {
      .brand-text {
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.2;
      }
    }

    @media (max-width: 360px) {
      .header-inner,
      .hero-inner,
      .page-content,
      .site-footer {
        width: calc(100% - 24px);
      }

      .brand {
        font-size: 12px;
      }

      .header-actions {
        gap: 4px;
      }

      .teacher-resume-trigger {
        padding: 0 8px;
        font-size: 11px;
      }

      .site-header .button {
        padding: 0 8px;
      }

      .header-resume-link {
        padding: 0 7px;
        font-size: 10px;
      }

      h1 {
        font-size: 31px;
      }

      .board-entry {
        padding: 16px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition-duration: 0.01ms !important;
      }
    }

    /* ---- 最新家教单模块 ---- */
    .latest-orders {
      background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
      border-top: 1px solid #edf1f7;
      border-bottom: 1px solid #edf1f7;
      padding: 36px 0 40px;
    }

    .latest-orders-inner {
      width: min(var(--content), calc(100% - 48px));
      margin: 0 auto;
    }

    .latest-orders-header {
      margin-bottom: 20px;
    }

    .latest-orders-title-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }

    .latest-orders-header h2 {
      margin: 0;
      color: var(--ink-strong);
      font-size: 24px;
      letter-spacing: -0.03em;
    }

    .teacher-notice-launch {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 0 13px 0 9px;
      border: 1px solid #b42323;
      border-radius: 7px;
      color: #fff;
      background: #b42323;
      font: inherit;
      font-size: 13px;
      font-weight: 800;
      line-height: 1;
      cursor: pointer;
      white-space: nowrap;
      transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
    }

    .teacher-notice-launch:hover {
      border-color: #8e1b1b;
      background: #8e1b1b;
      transform: translateY(-1px);
    }

    .teacher-notice-launch:focus-visible {
      outline: 3px solid rgba(180, 35, 35, 0.3);
      outline-offset: 3px;
    }

    .teacher-notice-launch .teacher-notice-alert {
      width: 21px;
      height: 21px;
      flex-basis: 21px;
      color: #b42323;
      background: #fff;
      font-size: 13px;
    }

    .latest-orders-header p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .city-tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 18px;
      overflow-x: auto;
      padding-bottom: 2px;
      -webkit-overflow-scrolling: touch;
    }

    .city-tab {
      flex: 0 0 auto;
      min-height: 42px;
      padding: 0 18px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--muted);
      font: inherit;
      font-size: 14px;
      font-weight: 650;
      cursor: pointer;
      transition: border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    }

    .city-tab[aria-selected="true"] {
      border-color: var(--brand);
      background: var(--brand-soft);
      color: var(--brand-dark);
      box-shadow: 0 4px 12px rgba(40, 99, 186, 0.12);
    }

    .city-tab--qr {
      border-color: #f0c69f;
      background: #fffaf5;
      color: #ad642b;
    }

    .city-tab--qr:hover {
      border-color: #e9a15f;
      background: #fff1e4;
      color: #8f4d1d;
    }

    .city-tab:focus-visible {
      outline: 3px solid rgba(237, 141, 62, 0.55);
      outline-offset: 2px;
    }

    .tab-count {
      margin-left: 6px;
      color: inherit;
      opacity: 0.75;
      font-size: 12px;
      font-weight: 600;
    }

    .orders-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .order-card {
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 6px 18px rgba(25, 57, 103, 0.05);
      overflow: hidden;
      transition: border-color 160ms ease, box-shadow 160ms ease;
    }

    .order-card:hover {
      border-color: #c5d8ef;
      box-shadow: 0 10px 24px rgba(25, 57, 103, 0.08);
    }

    .order-card--expanded {
      border-color: #b8cee9;
      box-shadow: var(--shadow);
    }

    .order-card-toggle {
      width: 100%;
      padding: 16px 16px 14px;
      border: 0;
      background: transparent;
      text-align: left;
      font: inherit;
      color: inherit;
      cursor: pointer;
    }

    .order-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }

    .order-card-tags {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .order-region {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      background: var(--brand-soft);
      color: var(--brand-dark);
      font-size: 12px;
      font-weight: 700;
    }

    .order-badge {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      background: var(--orange-soft);
      color: #c56d12;
      font-size: 12px;
      font-weight: 700;
    }

    .order-expand-icon {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      background: var(--surface);
      color: var(--brand);
      font-size: 18px;
      font-weight: 700;
      line-height: 1;
    }

    .order-title {
      margin: 0 0 12px;
      color: var(--ink-strong);
      font-size: 16px;
      line-height: 1.45;
    }

    .order-summary {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 12px;
      margin: 0;
    }

    .order-summary > div {
      min-width: 0;
    }

    .order-summary dt {
      margin: 0 0 2px;
      color: #8491a5;
      font-size: 11px;
      font-weight: 600;
    }

    .order-summary dd {
      margin: 0;
      color: var(--ink);
      font-size: 13px;
      line-height: 1.45;
      word-break: break-word;
    }

    .order-address {
      grid-column: 1 / -1;
    }

    .order-price {
      color: var(--orange);
      font-weight: 700;
    }

    .order-id-row {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      margin-top: 10px;
    }

    .order-id {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      margin: 10px 0 0;
      color: var(--brand);
      font-size: 11px;
      font-weight: 700;
    }

    .order-id-row .order-id {
      margin: 0;
    }

    .order-gender {
      flex: 0 0 auto;
      padding: 3px 7px;
      border: 1px solid #cfe0f5;
      border-radius: 6px;
      background: #f1f7ff;
      color: #315f96;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.2;
      white-space: nowrap;
    }

    .order-detail {
      padding: 0 16px 16px;
      border-top: 1px dashed var(--line);
    }

    .order-detail-text {
      margin: 14px 0 10px;
      padding: 12px;
      border-radius: 12px;
      background: var(--surface);
      color: var(--ink);
      font-family: inherit;
      font-size: 12px;
      line-height: 1.7;
      white-space: pre-wrap;
      word-break: break-word;
    }

    .order-meta {
      margin: 0 0 8px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.65;
    }

    .order-meta strong {
      color: var(--ink-strong);
      margin-right: 6px;
    }

    .latest-orders-cta-wrap {
      margin-top: 18px;
      display: flex;
      justify-content: center;
    }

    .latest-orders-cta {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 22px;
      border-radius: 10px;
      border: 1px solid #b8cee9;
      background: rgba(255, 255, 255, 0.9);
      color: var(--brand-dark);
      font-size: 14px;
      font-weight: 700;
      transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
    }

    .latest-orders-cta:hover {
      border-color: var(--brand);
      background: #fff;
      transform: translateY(-1px);
    }

    .orders-state {
      padding: 36px 20px;
      border: 1px dashed var(--line);
      border-radius: 16px;
      background: #fff;
      text-align: center;
      color: var(--muted);
      font-size: 14px;
    }

    .orders-state--error p {
      margin: 0 0 14px;
      color: #b45309;
    }

    /* ---- 接家教注意事项 ---- */
    .teacher-notice {
      border-top: 1px solid #edf1f7;
      border-bottom: 1px solid #edf1f7;
      background: #fff;
    }

    .teacher-notice-inner {
      width: min(var(--content), calc(100% - 48px));
      margin: 0 auto;
    }

    .teacher-notice-heading {
      margin: 0;
    }

    .teacher-notice-toggle {
      width: 100%;
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 20px;
      padding: 12px 0;
      border: 0;
      color: inherit;
      background: #fff;
      font: inherit;
      text-align: left;
      cursor: pointer;
      transition: background-color 160ms ease;
    }

    .teacher-notice-toggle:hover {
      background: #fffafa;
    }

    .teacher-notice-toggle:focus-visible {
      outline: 3px solid rgba(180, 35, 35, 0.32);
      outline-offset: 3px;
    }

    .teacher-notice-title-wrap {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .teacher-notice-alert {
      width: 30px;
      height: 30px;
      flex: 0 0 30px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: #fff;
      background: #b42323;
      font-size: 17px;
      font-weight: 850;
      line-height: 1;
    }

    .teacher-notice-title {
      color: #8e1b1b;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.35;
      letter-spacing: 0;
    }

    body.teacher-notice-open {
      overflow: hidden;
    }

    .teacher-notice-modal[hidden] {
      display: none;
    }

    .teacher-notice-modal {
      position: fixed;
      inset: 0;
      z-index: 130;
      display: grid;
      place-items: center;
      padding: 20px;
    }

    .teacher-notice-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(10, 24, 46, 0.68);
    }

    .teacher-notice-dialog {
      position: relative;
      z-index: 1;
      width: min(880px, 100%);
      max-height: calc(100dvh - 40px);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 28px 90px rgba(8, 22, 45, 0.38);
    }

    .teacher-notice-dialog-header {
      min-height: 66px;
      display: flex;
      flex: 0 0 auto;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 12px 14px 12px 24px;
      border-bottom: 1px solid #edf1f7;
      background: #fff;
    }

    .teacher-notice-dialog-title-wrap {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .teacher-notice-dialog-header h2 {
      margin: 0;
      color: #8e1b1b;
      font-size: 21px;
      line-height: 1.35;
    }

    .teacher-notice-close {
      width: 40px;
      height: 40px;
      flex: 0 0 40px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: #64748b;
      background: transparent;
      font: inherit;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
    }

    .teacher-notice-close:hover {
      color: #8e1b1b;
      background: #fff5f5;
    }

    .teacher-notice-close:focus-visible {
      outline: 3px solid rgba(180, 35, 35, 0.32);
      outline-offset: 2px;
    }

    .teacher-notice-dialog-body {
      min-height: 0;
      flex: 1 1 auto;
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 2px 28px 22px;
    }

    .teacher-notice-dialog-layout {
      min-height: 0;
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr);
      flex: 1 1 auto;
    }

    .teacher-guide-tabs {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 18px 12px;
      border-right: 1px solid #edf1f7;
      background: #f8fafc;
    }

    .teacher-guide-tab {
      width: 100%;
      min-height: 44px;
      padding: 8px 12px;
      border: 1px solid transparent;
      border-radius: 7px;
      color: #536278;
      background: transparent;
      font: inherit;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.4;
      text-align: left;
      cursor: pointer;
      transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
    }

    .teacher-guide-tab:hover {
      color: #8e1b1b;
      background: #fff;
    }

    .teacher-guide-tab.is-active {
      color: #8e1b1b;
      border-color: #e8b3b3;
      background: #fff5f5;
    }

    .teacher-guide-tab:focus-visible {
      outline: 3px solid rgba(180, 35, 35, 0.28);
      outline-offset: 2px;
    }

    .teacher-guide-panel[hidden] {
      display: none;
    }

    .teacher-guide-content {
      max-width: 680px;
      padding: 22px 0 6px;
      color: #34425a;
      font-size: 15px;
      line-height: 1.85;
      word-break: break-word;
    }

    .teacher-guide-content h3 {
      margin: 0 0 14px;
      color: var(--ink-strong);
      font-size: 20px;
      line-height: 1.4;
    }

    .teacher-guide-content h4 {
      margin: 22px 0 6px;
      color: #263b5e;
      font-size: 16px;
      line-height: 1.5;
    }

    .teacher-guide-content p {
      margin: 0 0 12px;
    }

    .teacher-guide-content ul,
    .teacher-guide-content ol {
      margin: 8px 0 16px;
      padding-left: 24px;
    }

    .teacher-guide-content li + li {
      margin-top: 6px;
    }

    .teacher-guide-content blockquote {
      margin: 12px 0 16px;
      padding: 13px 16px;
      border-left: 3px solid #d98c8c;
      border-radius: 0 6px 6px 0;
      color: #4b3b48;
      background: #fff7f7;
    }

    .teacher-guide-content strong {
      color: #ae1f1f;
      font-weight: 800;
    }

    .teacher-guide-lead {
      color: #8e1b1b;
      font-weight: 700;
    }

    .teacher-guide-closing {
      margin-top: 20px !important;
      padding-top: 14px;
      border-top: 1px solid #edf1f7;
      color: #263b5e;
      font-weight: 650;
    }

    .teacher-notice-list {
      margin: 0;
      padding: 0;
      list-style: none;
      counter-reset: teacher-notice;
    }

    .teacher-notice-list li {
      min-width: 0;
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr);
      gap: 16px;
      padding: 18px 0;
      border-bottom: 1px solid #edf1f7;
      counter-increment: teacher-notice;
    }

    .teacher-notice-list li:last-child {
      padding-bottom: 0;
      border-bottom: 0;
    }

    .teacher-notice-list li::before {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: #fff;
      background: #b42323;
      font-size: 14px;
      font-weight: 800;
      content: counter(teacher-notice);
    }

    .teacher-notice-copy {
      min-width: 0;
      padding-top: 3px;
      color: #34425a;
      font-size: 15px;
      line-height: 1.85;
      word-break: break-word;
    }

    .teacher-notice-copy p {
      margin: 0;
    }

    .teacher-notice-copy p + p {
      margin-top: 5px;
    }

    .teacher-notice-item-title {
      display: block;
      margin-bottom: 3px;
      color: #263b5e;
      font-size: 16px;
      font-weight: 750;
    }

    .teacher-notice-copy strong {
      color: #ae1f1f;
      font-weight: 800;
    }

    /* ---- 服务真实性展示 ---- */
    .trust-showcase {
      padding: 42px 0 46px;
      border-bottom: 1px solid #edf1f7;
      background: #fff;
    }

    .trust-showcase-inner {
      width: min(var(--content), calc(100% - 48px));
      margin: 0 auto;
    }

    .trust-showcase-heading {
      margin-bottom: 20px;
    }

    .trust-showcase-heading h2 {
      margin: 0;
      color: var(--ink-strong);
      font-size: 24px;
    }

    .trust-showcase-heading p {
      max-width: 680px;
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    .trust-showcase-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .trust-card {
      min-width: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 8px 22px rgba(25, 57, 103, 0.06);
      transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .trust-card:hover {
      border-color: #c5d8ef;
      box-shadow: 0 13px 28px rgba(25, 57, 103, 0.1);
      transform: translateY(-2px);
    }

    .trust-card-image {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3;
      display: grid;
      place-items: center;
      overflow: hidden;
      padding: 12px;
      border: 0;
      border-bottom: 1px solid #edf1f7;
      background: #f5f8fc;
      cursor: zoom-in;
    }

    .trust-card-image img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
    }

    .trust-card-zoom {
      position: absolute;
      right: 10px;
      bottom: 10px;
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      padding: 0 9px;
      border-radius: 6px;
      color: #fff;
      background: rgba(16, 42, 86, 0.86);
      font-size: 11px;
      font-weight: 700;
      opacity: 0;
      transform: translateY(3px);
      transition: opacity 160ms ease, transform 160ms ease;
    }

    .trust-card-image:hover .trust-card-zoom,
    .trust-card-image:focus-visible .trust-card-zoom {
      opacity: 1;
      transform: translateY(0);
    }

    .trust-card-image:focus-visible,
    .trust-card-link:focus-visible,
    .proof-viewer-close:focus-visible {
      outline: 3px solid rgba(237, 141, 62, 0.55);
      outline-offset: -3px;
    }

    .trust-card-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 16px;
    }

    .trust-card-kicker {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      margin-bottom: 10px;
      padding: 0 8px;
      border-radius: 6px;
      color: var(--brand-dark);
      background: var(--brand-soft);
      font-size: 11px;
      font-weight: 700;
    }

    .trust-card-kicker--taobao,
    .trust-card-kicker--xianyu {
      color: #a84c18;
      background: var(--orange-soft);
    }

    .trust-card-kicker--wechat {
      color: #167144;
      background: #e9f7ef;
    }

    .trust-card-kicker--license {
      color: #6a4a16;
      background: #f8f0dc;
    }

    .trust-card-body h3 {
      margin: 0;
      color: var(--ink-strong);
      font-size: 17px;
      line-height: 1.4;
    }

    .trust-card-body p {
      margin: 7px 0 14px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.65;
    }

    .trust-card-link {
      margin-top: auto;
      color: var(--brand);
      font-size: 13px;
      font-weight: 700;
    }

    .trust-card-link:hover {
      color: var(--brand-dark);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    body.proof-viewer-open {
      overflow: hidden;
    }

    .proof-viewer[hidden] {
      display: none;
    }

    .proof-viewer {
      position: fixed;
      inset: 0;
      z-index: 120;
      display: grid;
      place-items: center;
      padding: 20px;
    }

    .proof-viewer-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(10, 24, 46, 0.72);
    }

    .proof-viewer-dialog {
      position: relative;
      z-index: 1;
      width: min(960px, 100%);
      max-height: calc(100dvh - 40px);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 28px 90px rgba(8, 22, 45, 0.4);
    }

    .proof-viewer-header {
      min-height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 10px 12px 10px 20px;
      border-bottom: 1px solid var(--line);
    }

    .proof-viewer-header h2 {
      margin: 0;
      color: var(--ink-strong);
      font-size: 18px;
    }

    .proof-viewer-close {
      width: 38px;
      height: 38px;
      flex: 0 0 38px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: #64748b;
      background: transparent;
      font: inherit;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
    }

    .proof-viewer-close:hover {
      color: var(--ink-strong);
      background: var(--surface);
    }

    .proof-viewer-media {
      min-height: 0;
      display: grid;
      place-items: center;
      overflow: auto;
      padding: 18px;
      background: #eef3f8;
    }

    .proof-viewer-media img {
      display: block;
      max-width: 100%;
      max-height: calc(100dvh - 134px);
      width: auto;
      height: auto;
      object-fit: contain;
      box-shadow: 0 7px 24px rgba(16, 42, 86, 0.14);
    }

    .orders-retry {
      min-height: 40px;
      padding: 0 16px;
      border: 0;
      border-radius: 10px;
      background: var(--brand);
      color: #fff;
      font: inherit;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }

    .order-card--skeleton {
      min-height: 148px;
      padding: 16px;
      pointer-events: none;
    }

    .skeleton-line {
      height: 12px;
      margin-bottom: 10px;
      border-radius: 999px;
      background: linear-gradient(90deg, #edf2f8 25%, #f7fafc 50%, #edf2f8 75%);
      background-size: 200% 100%;
      animation: skeleton-shimmer 1.2s ease infinite;
    }

    .skeleton-line--short {
      width: 38%;
    }

    .skeleton-line--medium {
      width: 72%;
    }

    @keyframes skeleton-shimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    @media (max-width: 768px) {
      .latest-orders {
        padding: 28px 0 32px;
      }

      .latest-orders-inner {
        width: min(100% - 32px, 620px);
      }

      .latest-orders-header h2 {
        font-size: 20px;
      }

      .latest-orders-title-row {
        align-items: center;
        gap: 9px;
      }

      .teacher-notice-launch {
        min-height: 31px;
        padding-right: 10px;
        font-size: 12px;
      }

      .orders-grid {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .order-summary {
        grid-template-columns: 1fr;
      }

      .latest-orders-cta {
        width: 100%;
      }

      .teacher-notice {
        padding: 0;
      }

      .teacher-notice-inner {
        width: min(100% - 32px, 620px);
      }

      .teacher-notice-heading {
        margin: 0;
      }

      .teacher-notice-toggle {
        min-height: 68px;
        gap: 14px;
      }

      .teacher-notice-title-wrap {
        gap: 10px;
      }

      .teacher-notice-alert {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 15px;
      }

      .teacher-notice-title {
        font-size: 19px;
      }

      .teacher-notice-modal {
        align-items: end;
        padding: 12px;
      }

      .teacher-notice-dialog {
        width: 100%;
        max-height: calc(100dvh - 24px);
      }

      .teacher-notice-dialog-header {
        min-height: 60px;
        padding: 10px 10px 10px 16px;
      }

      .teacher-notice-dialog-title-wrap {
        gap: 10px;
      }

      .teacher-notice-dialog-header h2 {
        font-size: 18px;
      }

      .teacher-notice-dialog-body {
        padding: 0 16px 18px;
      }

      .teacher-notice-dialog-layout {
        display: flex;
        flex-direction: column;
      }

      .teacher-guide-tabs {
        flex: 0 0 auto;
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        padding: 8px 12px;
        border-right: 0;
        border-bottom: 1px solid #edf1f7;
        -webkit-overflow-scrolling: touch;
      }

      .teacher-guide-tab {
        width: auto;
        min-height: 38px;
        flex: 0 0 auto;
        padding: 6px 10px;
        font-size: 13px;
        text-align: center;
        white-space: nowrap;
      }

      .teacher-guide-content {
        padding-top: 18px;
        font-size: 14px;
        line-height: 1.8;
      }

      .teacher-guide-content h3 {
        font-size: 18px;
      }

      .teacher-notice-list li {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 11px;
        padding: 16px 0;
      }

      .teacher-notice-list li::before {
        width: 30px;
        height: 30px;
        font-size: 13px;
      }

      .teacher-notice-copy {
        padding-top: 1px;
        font-size: 14px;
        line-height: 1.78;
      }

      .teacher-notice-item-title {
        font-size: 15px;
      }

      .trust-showcase {
        padding: 30px 0 34px;
      }

      .trust-showcase-inner {
        width: min(100% - 32px, 620px);
      }

      .trust-showcase-heading h2 {
        font-size: 20px;
      }

      .trust-showcase-heading p {
        font-size: 13px;
      }

      .trust-showcase-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .trust-card {
        display: grid;
        grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
      }

      .trust-card-image {
        height: 100%;
        min-height: 228px;
        aspect-ratio: auto;
        border-right: 1px solid #edf1f7;
        border-bottom: 0;
      }

      .trust-card-zoom {
        opacity: 1;
        transform: none;
      }

      .proof-viewer {
        align-items: end;
        padding: 12px;
      }

      .proof-viewer-dialog {
        width: 100%;
        max-height: calc(100dvh - 24px);
      }

      .proof-viewer-media {
        padding: 12px;
      }

      .proof-viewer-media img {
        max-height: calc(100dvh - 110px);
      }
    }

    @media (min-width: 769px) and (max-width: 1000px) {
      .trust-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 480px) {
      .trust-card {
        display: flex;
      }

      .trust-card-image {
        min-height: 0;
        aspect-ratio: 4 / 3;
        border-right: 0;
        border-bottom: 1px solid #edf1f7;
      }
    }
