[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.brand .wordmark { width: auto; max-width: 100%; height: 80px; object-fit: contain; }
.brand small { flex-shrink: 0; }
.site-header { position: sticky; top: 0; z-index: 50; margin-inline: -18px; padding-inline: 18px; background: rgb(255 255 255 / 62%); -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25); }
.page-hero .mascot-wrap { padding-top: 56px; }
.page-hero .mascot-bubble { top: 0; right: 0; }
.language-switch { position: relative; margin-left: 4px; }
.language-switch summary { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--accent-dark); cursor: pointer; list-style: none; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary:hover, .language-switch[open] summary { background: var(--soft); }
.language-switch summary:focus-visible { outline: 3px solid #2c6d6a; outline-offset: 4px; }
.language-menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: grid; min-width: 132px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: 0 12px 30px #1c2b2a18; }
.language-menu a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.language-menu a:hover { background: var(--wash); }
.language-menu a[aria-current="page"] { background: var(--soft); color: var(--accent-dark); font-weight: 700; }
.footer-links .language-menu { top: auto; bottom: calc(100% + 8px); }
.qr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
.qr-grid:has([data-china-group][hidden]) { grid-template-columns: minmax(0, 360px); }
.qr-grid:has(.qr-card:not([data-china-group])[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qr-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 18px; text-align: center; }
.qr-image { display: block; width: min(100%, 220px); height: auto; aspect-ratio: 1; margin: 0 auto 14px; border-radius: 12px; background: #fff; object-fit: contain; }
.qr-card h3 { margin: 0 0 6px; font-size: 17px; }
.qr-card p { margin: 0; color: var(--muted); font-size: 12px; }
.application-panel { margin: 30px 0; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--wash); }
.application-panel > p { max-width: 760px; color: var(--muted); }
.application-form { display: grid; gap: 24px; margin-top: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.application-form label { display: grid; gap: 7px; min-width: 0; color: var(--ink); font-size: 14px; font-weight: 650; }
.application-form input, .application-form select, .application-form textarea { width: 100%; min-width: 0; border: 1px solid #d3e2e1; border-radius: 10px; background: var(--paper); color: var(--ink); padding: 11px 12px; font: inherit; font-weight: 400; }
.application-form textarea { resize: vertical; }
.application-form input:focus, .application-form select:focus, .application-form textarea:focus { border-color: var(--accent-dark); outline: 3px solid #2c6d6a3d; }
.full-field { grid-column: 1 / -1; }
.choice-group { min-width: 0; margin: 0; border: 0; padding: 0; }
.choice-group legend { margin-bottom: 14px; padding: 0; font-size: 18px; font-weight: 720; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.application-form .choice { display: flex; align-items: flex-start; gap: 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 10px; font-size: 13px; font-weight: 450; line-height: 1.5; cursor: pointer; }
.application-form .choice:has(input:checked) { border-color: var(--accent-dark); background: var(--soft); }
.application-form .choice input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent-dark); }
.application-form .other-field { margin-top: 12px; }
.application-form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 450; }
.application-form .consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 4px; accent-color: var(--accent-dark); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.field-error, .form-status { min-height: 1.4em; margin: 6px 0 0; color: var(--ink); font-size: 13px; font-weight: 650; }
.form-status:empty { display: none; }
.preview-banner { border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--soft); padding: 12px 14px; color: var(--accent-dark) !important; font-size: 13px; }
.success-hero { max-width: none; }
.email-preview { border: 1px solid var(--line); border-radius: 16px; background: var(--wash); padding: 18px; }
.email-preview summary { color: var(--accent-dark); font-weight: 700; cursor: pointer; }
.email-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.version-notice { display: flex; align-items: flex-start; gap: 14px; margin: 26px 0 4px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--soft); padding: 16px 18px; }
.version-notice img { flex: 0 0 auto; width: 32px; height: 32px; }
.version-notice p { margin: 0; color: var(--accent-dark); font-size: 14px; }
.guide-scenes { max-width: 1050px; }
.guide-scene { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 34px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.guide-scene:nth-child(even) { grid-template-columns: minmax(0, 1fr) 260px; }
.guide-scene:nth-child(even) .scene-art { order: 2; }
.scene-art { position: relative; display: grid; place-items: center; min-height: 210px; margin: 0; overflow: hidden; border-radius: 30px 30px 30px 8px; background: var(--wash); }
.scene-art::after { content: ""; position: absolute; right: -30px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; background: var(--soft); }
.scene-icon { position: absolute; z-index: 1; top: 25px; right: 25px; width: 86px; height: 86px; color: var(--accent-dark); }
.scene-mascot { position: absolute; z-index: 2; bottom: 4px; left: 18px; width: 126px; filter: drop-shadow(0 12px 16px #1c2b2a14); }
.scene-art figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.scene-copy h3 { margin: 0 0 14px; }
.scene-copy li { margin: 10px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
@media (prefers-reduced-motion: reduce) {
  .scene-mascot { display: none; }
}
.hero .product-def { max-width: 570px; margin: 16px 0 0; color: #2c6d6a; font-size: clamp(20px, 2.08vw, 26px); font-weight: 760; line-height: 1.45; letter-spacing: -0.02em; word-break: keep-all; overflow-wrap: normal; }
html[lang="en"] .hero .product-def { font-size: clamp(20px, 1.68vw, 22px); }
html[lang="en"] .hero h1 { font-size: clamp(40px, 4.2vw, 54px); }
@media (min-width: 1101px) {
  html[lang="en"] .hero h1 { white-space: nowrap; }
}
@media (max-width: 800px) {
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header { margin-inline: -12px; padding-inline: 12px; }
  .brand { flex-wrap: wrap; row-gap: 8px; }
  .brand .wordmark { width: auto; height: 76px; }
  .site-nav { justify-content: flex-start; }
  .site-nav .language-switch { margin-left: auto; }
  .qr-grid, .qr-grid:has([data-china-group][hidden]) { grid-template-columns: 1fr; }
  .qr-image { width: 190px; }
  .application-panel { padding: 20px 16px; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .guide-scene, .guide-scene:nth-child(even) { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .guide-scene:nth-child(even) .scene-art { order: 0; }
  .scene-art { min-height: 180px; }
  .scene-mascot { width: 108px; }
  .scene-icon { width: 72px; height: 72px; }
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--accent-dark); cursor: pointer; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: var(--soft); }
.nav-toggle:focus-visible { outline: 3px solid #2c6d6a; outline-offset: 3px; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 640px) {
  .site-header { flex-direction: row; align-items: center; gap: 8px; min-height: 68px; padding-block: 10px; }
  .brand { flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; gap: 8px; }
  .brand .wordmark { width: auto; max-width: calc(100vw - 210px); height: 48px; object-position: left center; }
  .brand small { padding: 3px 7px; font-size: 10px; white-space: nowrap; }
  .header-actions { gap: 8px; }
  .header-actions .language-switch { margin-left: 0; }
  .header-actions .language-switch summary { width: 44px; height: 44px; border-radius: 12px; }
  .nav-toggle { display: grid; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 2px; width: auto; padding: 10px 12px 14px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); box-shadow: 0 16px 30px #1c2b2a14; -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25); }
  .site-nav a { min-height: 44px; display: flex; align-items: center; padding: 10px 12px; border-radius: 9px; }
  .site-nav a:hover, .site-nav a.current { background: var(--soft); }
  .workspace-body { grid-template-columns: 64px minmax(0, 1fr); }
  .bot-roster { flex-direction: column; gap: 8px; overflow: visible; padding: 12px 8px; border-right: 1px solid var(--line); border-bottom: 0; }
  .bot-contact { justify-content: center; padding: 8px; }
  .bot-contact > div { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .bot-contact img { width: 32px; height: 32px; }
  .chat { min-width: 0; padding: 18px 12px; }
  .message img { display: none; }
  .message p { max-width: 88%; overflow-wrap: anywhere; }
}
/* --- execute 2026-11-29: 4-item nav (CTA button), footer links, guide blocks + help card, swapped scene art --- */
.site-nav a.nav-cta { padding: 9px 18px; border-radius: 12px; font-size: 14px; font-weight: 680; line-height: 1.4; white-space: nowrap; color: #fff; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta:focus-visible { color: #fff; background: #1c2b2a; }
.footer-links a:not(.language-menu a) { white-space: nowrap; }
.guide-block { padding: 6px 0 14px; }
.guide-block h2 { margin-bottom: 4px; }
.guide-block h2 a { color: var(--accent-dark); text-decoration: none; }
.guide-block h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.guide-block p { margin-top: 0; color: var(--muted); }
.help-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 34px 0 20px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--wash); }
.help-card h3 { margin: 0 0 4px; font-size: 19px; }
.help-card p { margin: 0; color: var(--muted); }
.guide-scene.swapped .scene-art::after,
.guide-scene.swapped .scene-icon,
.guide-scene.swapped .scene-mascot { display: none; }
.guide-scene.swapped .scene-art > img { position: relative; z-index: 1; width: 260px; height: 210px; max-width: 100%; }
@media (max-width: 640px) {
  .site-nav a.nav-cta { justify-content: center; margin-top: 6px; }
  .site-nav a.nav-cta:hover { background: #1c2b2a; color: #fff; }
  .help-card { flex-direction: column; align-items: flex-start; }
}

.privacy-modal { width: min(920px, calc(100vw - 32px)); max-height: min(86vh, 920px); padding: 0; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: inherit; box-shadow: 0 24px 60px #1c2b2a28; }
.privacy-modal::backdrop { background: rgb(28 43 42 / 42%); }
.privacy-modal-panel { display: flex; flex-direction: column; max-height: min(86vh, 920px); }
.privacy-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.privacy-modal-header h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.privacy-modal-close { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--accent-dark); font-size: 24px; line-height: 1; cursor: pointer; }
.privacy-modal-close:hover { background: var(--soft); }
.privacy-modal-close:focus { outline: 3px solid #2c6d6a3d; border-color: var(--accent-dark); }
.privacy-modal-body { overflow: auto; padding: 8px 22px 28px; -webkit-overflow-scrolling: touch; }
.privacy-modal-body .page-hero { margin-top: 12px; }
.privacy-modal-status { margin: 24px 0; color: var(--muted); }
@media (max-width: 640px) {
  .privacy-modal { width: calc(100vw - 16px); max-height: 92vh; border-radius: 18px; }
  .privacy-modal-panel { max-height: 92vh; }
  .privacy-modal-body { padding: 4px 14px 22px; }
}
