/* Bright white, sky blue and a mint accent. Local interface only; Tawk.to owns its embedded message UI. */
:root {
  color-scheme: light;
  --canvas: #eef4fb;
  --sidebar: #f4f8ff;
  --surface: #ffffff;
  --raised: #f2f6fd;
  --ink: #233750;
  --muted: #5e728a;
  --dim: #596d87;
  --line: #dce6f0;
  --accent: #176bd6;
  --accent-hover: #0957bd;
  --accent-soft: #e9f2ff;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; padding: 24px; background: var(--canvas); font-size: 14px; line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { border: 0; font: inherit; color: inherit; cursor: pointer; }
button, a { transition: background .18s, color .18s, border-color .18s, box-shadow .18s; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: var(--accent); text-underline-offset: 4px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px 20px; z-index: 20; background: var(--raised); border-radius: 7px; }
.skip-link:focus { top: 12px; }

/* Frame and navigation */
.support-app { display: grid; grid-template-columns: 246px minmax(0, 1fr); max-width: 1520px; height: calc(100vh - 48px); height: calc(100dvh - 48px); min-height: 620px; margin: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 22px 75px #284c7314; }
.sidebar { display: flex; flex-direction: column; min-width: 0; overflow: auto; padding: 32px 17px 22px; background: var(--sidebar); border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #b6cce5 transparent; }
.brand-header { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 0 9px 38px; }
.brand-avatar { position: relative; width: 49px; height: 54px; border: 1px solid #cad8e6; border-radius: 11px; overflow: hidden; background: #000; flex-shrink: 0; }
.brand-avatar img { position: absolute; width: 142px; height: 142px; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.brand-copy { min-width: 0; }
.brand-copy strong { display: block; color: #213750; font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -.5px; overflow-wrap: anywhere; }
.brand-copy > span { display: block; margin-top: 4px; color: var(--dim); font-size: 11px; letter-spacing: 2px; }
.sidebar-label { margin: 0 13px 13px; font-size: 11px; color: var(--dim); letter-spacing: 1px; }
.topics { display: grid; gap: 8px; }
.topic { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 64px; padding: 9px 12px; border: 1px solid transparent; border-radius: 9px; text-align: left; background: transparent; color: #435970; }
.topic:hover { background: #f2f7fe; }
.topic[aria-pressed=true] { background: var(--accent-soft); border-color: #c3dcff; color: var(--accent); }
.topic[aria-pressed=true]::before { content: ""; position: absolute; left: -1px; top: 23px; bottom: 23px; width: 2px; background: var(--accent); border-radius: 2px; }
.topic-icon, .topic-image { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.topic-icon { display: grid; place-items: center; background: #eef3fa; color: #5d789a; border: 1px solid #d7e3f0; }
.topic[aria-pressed=true] .topic-icon { color: var(--accent); border-color: #bbd4f9; background: #deecff; }
.topic-icon .icon { width: 19px; height: 19px; }
.topic-copy { flex: 1; min-width: 0; }
.topic-copy strong { display: block; font-size: 14px; font-weight: 600; }
.topic-copy small { display: block; font-size: 11px; margin-top: 4px; color: var(--dim); white-space: nowrap; }
.topic-arrow { width: 14px; height: 14px; opacity: 0; }
.topic[aria-pressed=true] .topic-arrow { opacity: 1; }
.topic-hint { padding: 17px 13px 0; color: var(--dim); font-size: 11px; }
.sidebar-bottom { margin-top: auto; padding: 40px 10px 0; }
.bookmark-note > .icon { width: 21px; height: 21px; margin-bottom: 12px; color: var(--accent); }
.bookmark-note > strong { display: block; font-size: 15px; font-weight: 500; letter-spacing: .3px; }
.bookmark-note > p { margin-top: 8px; color: var(--dim); font-size: 12px; line-height: 1.9; }
.bookmark-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; margin-top: 18px; padding: 10px 12px; border: 1px solid #c9dcf5; border-radius: 7px; color: var(--accent); background: #eaf2ff; font-size: 12px; }
.bookmark-button:hover { background: #deebff; border-color: #92b6e8; }
.bookmark-button .icon { width: 16px; height: 16px; }
.sidebar-signature { display: flex; align-items: center; gap: 9px; margin-top: 32px; color: var(--dim); font-size: 10px; letter-spacing: 1px; }
.signature-line { width: 17px; height: 1px; background: #9db8d7; }
.backup-channels { margin-top: 22px; font-size: 12px; overflow-wrap: anywhere; }
.backup-channels .sidebar-label { display: block; margin: 0 0 6px; }
.backup-channels a { display: block; padding: 10px 0; }
.mobile-save { display: none !important; }

/* Main section header and shared footer */
.conversation { display: flex; flex-direction: column; min-width: 0; min-height: 0; outline: none; background: var(--surface); }
.conversation-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; padding: 23px 34px; flex-shrink: 0; border-bottom: 1px solid var(--line); background: #ffffff; }
.conversation-heading { min-width: 0; }
.heading-line { display: flex; align-items: center; gap: 13px; }
.heading-line h1 { font-size: 22px; line-height: 1.5; font-weight: 600; letter-spacing: -.3px; }
.service-label { padding: 2px 8px; border: 1px solid #d6e4f7; border-radius: 4px; background: #f0f5fc; color: var(--accent); font-size: 10px; white-space: nowrap; }
.conversation-heading > p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.connection-badge { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #dce6f0; border-radius: 30px; background: #f2f6fa; color: #566b83; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #8493a8; }
.connection-badge[data-state=online] { color: #286d4d; background: #eaf7ef; border-color: #cde9d8; }
.connection-badge[data-state=online] .status-dot { background: #33996b; }
.connection-badge[data-state=loading] .status-dot { background: var(--accent); }
.connection-badge[data-state=error] { background: #fff2e9; color: #984c2a; border-color: #ebd2bd; }
.connection-badge[data-state=error] .status-dot { background: #ae6240; }
.connection-badge[data-state=away] .status-dot { background: #a57b2a; }
.conversation-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 25px; flex-shrink: 0; border-top: 1px solid var(--line); background: #f8fafe; font-size: 11px; }
.conversation-footer > span { display: flex; align-items: center; gap: 7px; color: var(--dim); }
.conversation-footer .icon { width: 15px; height: 15px; color: #7589a1; }
.conversation-footer > button { min-height: 44px; padding: 8px 0; background: transparent; color: #506f95; font-size: 11px; white-space: nowrap; }
.conversation-footer > button:hover { color: var(--accent-hover); }

/* Measurable embedded chat: hiding the panel never discards its session. */
.content-panels { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); flex: 1; min-height: 360px; position: relative; overflow: hidden; }
.content-panels > .live-area, .content-panels > .mj-navigation { grid-area: 1/1; min-width: 0; min-height: 0; }
.live-area { position: relative; overflow: auto; background: var(--surface); scrollbar-width: thin; }
.livechat-host { position:absolute; inset:0; min-height:0; overflow:hidden; background:#fff; }
.livechat-host > .isolated-chat-frame { display:block; width:100%; height:100%; min-height:0; border:0; }
.live-area[inert] { visibility: hidden; opacity: 0; pointer-events: none; }
.tawk-host { width: 100%; height: 100%; min-width: 280px; min-height: 360px; background: #fff; color-scheme: light; }
.connection-state { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 36px 24px 66px; background: var(--surface); text-align: center; overflow: auto; }
.state-content { max-width: 380px; }
.connecting-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 25px; border: 1px solid #c6ddfb; border-radius: 18px; background: #e9f2ff; color: var(--accent); }
.connecting-icon .icon { width: 28px; height: 28px; }
.connection-state h2 { font-size: 23px; line-height: 1.5; font-weight: 550; letter-spacing: -.3px; }
.connection-state p { max-width: 330px; margin: 13px auto 0; font-size: 13px; line-height: 1.9; color: var(--muted); }
.connection-provider { position: absolute; bottom: 23px; left: 0; right: 0; color: var(--dim); font-size: 11px; }
.connection-state[data-state=error] .connecting-icon { background: #fff4ed; border-color: #e6cbb7; color: #ae6240; }
.connection-state[data-state=paused] .connecting-icon { background: #f1f6ff; border-color: #d5e1ef; color: #6b86a8; }
.loading-dots { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.loading-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: loading 1.3s ease-in-out infinite; }
.loading-dots i:nth-child(2) { animation-delay: .16s; }.loading-dots i:nth-child(3) { animation-delay: .32s; }
.connection-state:not([data-state=loading]) .loading-dots { display: none; }
.connection-state .button { margin-top: 26px; }
.dialog-backup { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.dialog-backup a { padding: 6px; }

/* MJ access desk */
.mj-navigation { overflow: auto; background: var(--surface); scrollbar-width: thin; scrollbar-color: #becfe1 transparent; overscroll-behavior: contain; }
.mj-navigation-inner { max-width: 960px; margin: 0 auto; padding: 38px 44px 34px; }
.mj-app-intro { display: flex; align-items: center; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.mj-app-intro > img { width: 80px; height: 80px; border-radius: 18px; flex-shrink: 0; }
.mj-eyebrow { display: block; margin-bottom: 8px; color: var(--accent); font-size: 10px; line-height: 1.3; font-weight: 500; letter-spacing: 2.5px; }
.mj-app-intro h2 { color: #253d5a; font-size: 28px; line-height: 1.45; font-weight: 550; letter-spacing: -.6px; }
.mj-app-intro p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.mj-section { margin-top: 28px; }
.mj-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.mj-section-heading h3 { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 550; letter-spacing: .3px; }
.section-index { color: var(--accent); font-size: 10px; font-weight: 400; letter-spacing: 1px; }
.mj-section-heading > span { color: var(--dim); font-size: 11px; }
.download-grid, .login-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.download-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 20px; min-height: 154px; padding: 22px 24px 18px; border: 1px solid #d6e5fa; border-radius: 13px; background: #f1f6ff; color: var(--ink); text-decoration: none; }
.download-card:hover { border-color: #9fc0ef; background: #e7f0ff; }
.download-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #cbdff9; border-radius: 11px; background: #ffffff; color: var(--accent); }
.download-icon .icon { width: 26px; height: 26px; }
.download-copy { min-width: 0; }
.download-copy strong { display: block; font-size: 18px; font-weight: 550; letter-spacing: .3px; }
.download-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.download-action { display: flex; align-items: center; justify-content: space-between; grid-column: 1/-1; width: 100%; padding-top: 13px; border-top: 1px solid #cfe0f5; font-size: 11px; color: var(--accent); }
.download-action .icon { width: 16px; height: 16px; }
.android-download { background: #f1faf6; border-color: #d0e9dc; }
.android-download:hover { background: #e8f7ef; border-color: #9ccdb5; }
.android-download .download-action { color: #287455; border-color: #cbe4d5; }
.android-download .download-icon { background: #e5f5ef; border-color: #c0e4d3; color: #2c7856; }
.download-note { margin-top: 12px; color: var(--dim); font-size: 11px; line-height: 1.8; }
.login-section { margin-top: 28px; }
.login-card { display: flex; align-items: center; gap: 14px; min-height: 79px; padding: 16px 19px; border: 1px solid #dce6f1; border-radius: 10px; color: var(--ink); background: #ffffff; text-decoration: none; }
.login-card:hover { border-color: #a6c6f1; background: #f5f9ff; }
.line-number { display: grid; place-items: center; width: 32px; height: 33px; flex-shrink: 0; border: 1px solid #d3e4fb; border-radius: 6px; background: #eaf2ff; color: var(--accent); font-size: 11px; font-weight: 400; font-variant-numeric: tabular-nums; }
.login-card > span:nth-child(2) { flex: 1; min-width: 0; }
.login-card strong { display: block; font-size: 14px; font-weight: 500; }
.login-card small { display: block; margin-top: 3px; color: var(--dim); font-size: 11px; overflow-wrap: anywhere; }
.login-card > .icon { width: 16px; height: 16px; color: #5f85b7; }
.login-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; color: var(--dim); font-size: 11px; line-height: 1.8; }
.login-note > .icon { width: 14px; height: 18px; margin-top: 1px; }
[data-kind=app] .heading-line { padding-right: 0; }

/* 名爵 shares the app navigation layout, with its own room notice and source logo. */
.room-notice { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0 16px; margin-bottom:26px; padding:16px 20px; border:1px solid #d8d9fa; border-radius:12px; background:#f4f3ff; color:#443b86; }
.room-number-line { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; }
.room-number-line > span { font-size:13px; }
.room-number-line > strong { font-size:28px; font-weight:650; line-height:1.4; letter-spacing:3px; font-variant-numeric:tabular-nums; user-select:all; }
.room-copy { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:8px 12px; border:1px solid #cdcbed; border-radius:7px; background:#fff; color:#5147a0; font-size:12px; }
.room-copy:hover:not(:disabled) { background:#e9e7ff; border-color:#a9a2da; }
.room-copy .icon { width:16px; height:16px; }
#room-copy-feedback { flex-basis:100%; font-size:12px; line-height:1.7; margin-top:8px; overflow-wrap:anywhere; }
#room-copy-feedback:empty { display:none; }
.topic-image.mingjue-app-image,.mj-app-intro > .mingjue-app-image,.topic-image.fuyou-app-image,.mj-app-intro > .fuyou-app-image { border-radius:0; }
.single-app-download { grid-template-columns:44px minmax(0,1fr) auto; min-height:96px; gap:16px; padding:20px 24px; }
.single-app-download .download-action { grid-column:auto; border:0; padding:0; gap:14px; }
.single-app-download .download-copy small { overflow-wrap:anywhere; }
.fuyou-access-notice { margin-bottom:26px; padding:4px 20px; border:1px solid #eadac7; border-radius:12px; background:#fff9f0; }
.fuyou-access-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:0 16px; padding:15px 0; }
.fuyou-access-row + .fuyou-access-row { border-top:1px solid #eadac7; }
.access-value { min-width:0; }
.access-value > span { display:block; margin-bottom:3px; font-size:12px; color:#73562f; }
.access-value > strong { display:block; font-size:28px; line-height:1.4; font-weight:650; letter-spacing:3px; color:#61421f; font-variant-numeric:tabular-nums; user-select:all; }
.access-value > code { display:block; font-family:Consolas, "SFMono-Regular", monospace; font-size:20px; line-height:1.6; color:#61421f; overflow-wrap:anywhere; user-select:all; }
.fuyou-copy { color:#735125; border-color:#e1cbaa; }
.fuyou-copy:hover:not(:disabled) { color:#61421f; background:#fff0dc; border-color:#c8aa7f; }
.access-copy-feedback { grid-column:1/-1; margin-top:8px; font-size:12px; color:#73562f; }
.access-copy-feedback:empty { display:none; }

/* Common actions and dialogs */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 11px 22px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-outline { background: #ffffff; color: #4e688a; border-color: #bdcfe4; }
.button-outline:hover { background: #edf4fe; border-color: #8badd8; }
.full-width { width: 100%; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 7px; flex-shrink: 0; background: transparent; color: #5f7da4; }
.icon-button:hover:not(:disabled) { background: #e7f0fc; }
.icon-button .icon { width: 20px; height: 20px; }
dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 32px; border: 1px solid #d4e0ef; border-radius: 14px; color: var(--ink); background: #fff; box-shadow: 0 30px 100px #1839562b; overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #1f3f6452; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 12px; top: 12px; }
.dialog-symbol { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 18px; border: 1px solid #cfdef5; border-radius: 11px; color: var(--accent); background: #edf4ff; }
dialog h2 { font-size: 23px; font-weight: 550; line-height: 1.5; }
dialog p { margin: 12px 0; font-size: 13px; line-height: 1.85; color: #5e7188; }
dialog .inline-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 12px; }
.inline-link .icon { width: 14px; height: 14px; }
.url-panel { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; margin-top: 20px; padding: 7px 8px 7px 14px; border: 1px solid #d6e2ef; border-radius: 8px; background: #f3f7fc; overflow-wrap: anywhere; }
.url-panel > span { min-width: 0; font-size: 13px; }
.local-preview-note { font-size: 12px !important; color: #8c602b !important; }
#copy-feedback:empty { display: none; }
#copy-feedback { font-size: 12px; color: #26774b; }
.save-instructions { margin: 22px 0; padding-left: 20px; color: var(--accent); }
.save-instructions li { padding-left: 4px; margin: 14px 0; }
.save-instructions strong { display: block; color: var(--ink); font-size: 13px; font-weight: 550; }
.save-instructions span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.8; }
kbd { padding: 0 4px; font: inherit; border: 1px solid #ccdaea; border-radius: 3px; background: #edf3fb; color: #526b89; }
.dialog-actions { display: flex; gap: 12px; margin-top: 20px; }
.dialog-actions .button { flex: 1; padding-inline: 12px; }
.noscript { position: fixed; z-index: 5; top: 40%; left: 50%; transform: translateX(-50%); width: min(420px, 90%); padding: 25px; border: 1px solid #ccddee; border-radius: 14px; background: #ffffff; box-shadow: 0 12px 35px #284a7226; }
@keyframes loading { 0%,70%,100% { opacity: .3; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }

/* Laptop and tablet */
@media (min-width: 1800px) { body { padding-block: 32px; }.support-app { height: calc(100dvh - 64px); } }
@media (max-width: 1100px) {
  body { padding: 16px; }.support-app { height: calc(100dvh - 32px); grid-template-columns: 216px minmax(0, 1fr); border-radius: 13px; }
  .sidebar { padding-inline: 12px; }.brand-header { padding-inline: 6px; gap: 10px; }.brand-copy strong { font-size: 20px; }.brand-avatar { width: 43px; height: 48px; }.brand-avatar img { width: 128px; height: 128px; }
  .topic { gap: 10px; padding-inline: 10px; }.topic-arrow, .service-label { display: none; }
  .conversation-header { padding: 22px 25px; gap: 15px; }.mj-navigation-inner { padding: 30px; }
  .mj-app-intro { gap: 19px; }.mj-app-intro > img { width: 65px; height: 65px; border-radius: 15px; }.mj-app-intro h2 { font-size: 23px; }
  .download-card { grid-template-columns: 36px minmax(0, 1fr); padding: 20px 18px 16px; column-gap: 12px; min-height: 144px; }.download-icon { width: 36px; height: 39px; border-radius: 9px; }.download-icon .icon { width: 23px; height: 23px; }.download-copy strong { font-size: 16px; }
  .login-card { padding-inline: 15px; gap: 10px; }.line-number { width: 29px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .mj-navigation-inner { padding-inline: 25px; }.mj-app-intro h2 { font-size: 21px; }.download-card { padding-inline: 15px; }.download-copy strong { font-size: 15px; }.login-card { padding-inline: 12px; gap: 9px; }.login-card small { font-size: 10px; }.login-card > .icon { display: none; }
}

/* Phone: five chat tabs, then separate app rows. Chat keeps its minimum usable height. */
@media (max-width: 760px) {
  body { padding: 0; background: var(--sidebar); }
  .support-app { display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: calc(910px + env(safe-area-inset-top) + env(safe-area-inset-bottom)); border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  .sidebar { display: block; flex-shrink: 0; overflow: visible; padding: 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-header { padding: max(16px, env(safe-area-inset-top)) 0 15px; gap: 11px; }.brand-avatar { width: 37px; height: 42px; border-radius: 9px; }.brand-avatar img { width: 110px; height: 110px; }.brand-copy strong { font-size: 20px; letter-spacing: -.4px; }.brand-copy > span { font-size: 10px; margin-top: 1px; letter-spacing: 1.5px; }
  .mobile-save { display: grid !important; width: 44px; height: 44px; margin-left: auto; background: #ffffff; border: 1px solid #d5e3f4; }
  .sidebar-label, .topic-hint, .sidebar-bottom { display: none; }
  .topics { display: flex; gap: 8px; padding-bottom: 13px; }.topic { justify-content: center; min-width: 0; min-height: 43px; flex: 1; gap: 8px; padding: 7px 10px; border-radius: 7px; }.topic[aria-pressed=true]::before { display: none; }
  .topic-copy { flex: 0 1 auto; }.topic-copy strong { font-size: 13px; white-space: nowrap; font-weight: 500; }.topic-copy small { display: none; }.topic-icon, .topic-image { width: 23px; height: 23px; border-radius: 5px; }.topic-icon .icon { width: 15px; height: 15px; }
  .conversation { flex: 1; min-height: 501px; }.conversation-header { position: relative; align-items: flex-start; min-height: 96px; padding: 16px 18px 14px; gap: 10px; }.conversation-heading { width: 100%; }.heading-line { min-height: 25px; padding-right: 110px; }.heading-line h1 { font-size: 18px; letter-spacing: 0; }.conversation-heading > p { font-size: 11px; margin-top: 5px; }
  .connection-badge { position: absolute; right: 16px; top: 18px; padding: 4px 8px; gap: 5px; font-size: 10px; }.status-dot { width: 5px; height: 5px; }
  .conversation-footer { min-height: 46px; padding: 0 16px env(safe-area-inset-bottom); gap: 6px; font-size: 10px; }.conversation-footer > span { gap: 5px; }.conversation-footer .icon { width: 13px; height: 13px; }.conversation-footer > button { font-size: 10px; }
  .connection-state { padding: 28px 24px 60px; }.connecting-icon { width: 57px; height: 57px; margin-bottom: 23px; border-radius: 15px; }.connecting-icon .icon { width: 25px; height: 25px; }.connection-state h2 { font-size: 20px; }.connection-state p { font-size: 12px; max-width: 280px; }.connection-provider { font-size: 10px; bottom: 20px; }
  [data-kind=app] .conversation-header { min-height: 77px; padding-block: 13px; }
  .mj-navigation-inner { padding: 22px 20px 28px; }.mj-app-intro { gap: 14px; padding-bottom: 21px; }.mj-app-intro > img { width: 48px; height: 48px; border-radius: 12px; }.mj-eyebrow { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 5px; }.mj-app-intro h2 { font-size: 17px; letter-spacing: -.3px; }.mj-app-intro p { font-size: 10px; line-height: 1.7; margin-top: 5px; }
  .mj-section { margin-top: 20px; }.mj-section-heading { margin-bottom: 12px; }.mj-section-heading h3 { gap: 9px; font-size: 13px; }.section-index { font-size: 9px; }.mj-section-heading > span { font-size: 10px; }
  .download-grid, .login-grid { gap: 10px; }.download-card { grid-template-columns: 27px minmax(0, 1fr); gap: 14px 9px; padding: 15px 13px 12px; min-height: 116px; border-radius: 9px; }.download-icon { width: 27px; height: 33px; border-radius: 7px; }.download-icon .icon { width: 20px; height: 20px; }.download-copy strong { font-size: 14px; letter-spacing: 0; }.download-copy small { font-size: 9px; margin-top: 3px; }.download-action { font-size: 10px; padding-top: 10px; }.download-action .icon { width: 13px; height: 13px; }.download-note { font-size: 10px; margin-top: 10px; }
  .login-card { min-height: 74px; padding: 12px; gap: 9px; border-radius: 7px; }.line-number { width: 24px; height: 29px; border-radius: 5px; font-size: 10px; }.login-card strong { font-size: 12px; }.login-card small { font-size: 10px; margin-top: 3px; }.login-card > .icon { display: none; }.login-note { font-size: 10px; gap: 6px; margin-top: 15px; }
  .button { font-size: 12px; }dialog { padding: 27px 24px; }dialog h2 { font-size: 21px; }.dialog-actions { gap: 8px; }
}
@media (max-width: 359px) {
  .sidebar { padding-inline: 12px; }.topic-copy strong { font-size: 12px; }.conversation-header { padding-inline: 14px; }.heading-line { padding-right: 100px; }.heading-line h1 { font-size: 16px; }.connection-badge { right: 12px; font-size: 9px; }.conversation-footer { padding-inline: 12px; }.conversation-footer > span, .conversation-footer > button { font-size: 10px; }
  .mj-navigation-inner { padding-inline: 16px; }.mj-app-intro { gap: 11px; }.mj-app-intro > img { width: 42px; height: 42px; border-radius: 10px; }.mj-app-intro h2 { font-size: 16px; }.download-card { padding-inline: 10px; gap: 13px 7px; grid-template-columns: 23px minmax(0, 1fr); }.download-icon { width: 23px; height: 29px; }.download-icon .icon { width: 18px; height: 18px; }.download-copy strong { font-size: 13px; }.download-copy small { font-size: 9px; }.login-card { padding-inline: 9px; gap: 7px; }.login-card small { font-size: 9px; }.dialog-actions { flex-direction: column; }
}
@media (max-height: 650px) and (min-width: 761px) {
  body { padding: 10px; }.support-app { height: calc(100dvh - 20px); min-height: 524px; }.sidebar { padding-block: 22px; }.brand-header { padding-bottom: 24px; }.sidebar-bottom { padding-top: 24px; }.bookmark-note > p, .bookmark-note > .icon, .sidebar-signature { display: none; }.conversation-header { min-height: 86px; padding-block: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Additional providers each run in their own browsing context, not in the original Tawk_API. */
.isolated-provider-panel { grid-area: 1/1; position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #fff; }
.isolated-provider-panel[inert] { visibility: hidden; opacity: 0; pointer-events: none; }
[id$="-frame-host"], .isolated-chat-frame { width: 100%; height: 100%; min-height: 360px; }
.isolated-chat-frame { display: block; border: 0; background: #fff; }
.embedded-chat-page { margin: 0; padding: 0; background: #fff; }
.embedded-chat { position: relative; width: 100%; height: 100vh; height: 100dvh; min-height: 360px; overflow: hidden; }
.mingjue-icon { background: #eaf7f3; border-color: #cde6dd; color: #32775f; }
.topic[aria-pressed=true] .mingjue-icon { background: #e3f3ed; border-color: #b8dacb; color: #246b50; }
@media(max-width:760px) { .topics { gap: 6px; }.topic { padding-inline: 4px; gap: 7px; }.topic-copy strong { font-size: 12px; } }
@media(max-width:359px) { .topic { gap: 5px; }.topic-icon,.topic-image { width: 21px; height: 21px; }.topic-copy strong { font-size: 11px; } }

/* Named chat destinations: do not squeeze them into one mobile row. */
.tianyu-icon { background:#eaf4ff; color:#3268a4; border-color:#cfe0f5; }
.yicheng-icon { background:#f2edfc; color:#745498; border-color:#e1d6ef; }
.huiguan-icon { background:#fff5e6; color:#90662c; border-color:#eddcbe; }
@media(max-width:760px) {
  .topics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  .topic { min-height:44px; }
}
/* The application entry stays below every customer-service destination, including on phones. */
.topic-divider { grid-column:1/-1; width:calc(100% - 24px); height:0; margin:8px 12px 0; border:0; border-top:1px solid #c3d2e5; }
.topic.app-topic { margin-top:8px; border-color:var(--line); }
@media(min-width:761px) and (max-width:1100px) { .brand-copy strong { font-size:18px; } }
@media(max-width:760px) {
  .topic-divider { width:100%; margin:5px 0; }
  .topic.app-topic { grid-column:1/-1; justify-content:flex-start; min-height:54px; margin-top:2px; padding:9px 13px; gap:11px; }
  .topic.app-topic .topic-copy { display:flex; align-items:center; justify-content:space-between; flex:1; gap:10px; }
  .topic.app-topic .topic-copy small { display:block; margin:0; font-size:10px; }
  .room-notice { margin-bottom:20px; padding:12px; gap:0 8px; }
  .room-number-line { gap:4px; }
  .room-number-line > span { font-size:11px; }
  .room-number-line > strong { font-size:24px; letter-spacing:2px; }
  .room-copy { padding-inline:9px; gap:5px; font-size:11px; }
  #room-copy-feedback { font-size:11px; }
  .single-app-download { grid-template-columns:30px minmax(0,1fr) auto; gap:10px; min-height:84px; padding:16px 13px; }
  .single-app-download .download-action { font-size:11px; gap:6px; }
  .fuyou-access-notice { margin-bottom:20px; padding:0 12px; }
  .fuyou-access-row { padding-block:12px; gap:0 8px; }
  .access-value > strong { font-size:24px; letter-spacing:2px; }
  .access-value > code { font-size:14px; }
  .fuyou-copy { padding-inline:8px; font-size:10px; }
  .fuyou-copy .icon { width:14px; height:14px; }
  .access-copy-feedback { font-size:11px; }
  #mingjue-app-navigation .login-grid { grid-template-columns:minmax(0,1fr); }
  #mingjue-app-navigation .login-card { min-height:66px; }
  #mingjue-app-navigation .login-card small { font-size:11px; }
  #mingjue-app-navigation .login-card > .icon { display:block; }
}

/* Customer service identity: original image files, clipped only in the UI. */
.brand-header { justify-content:center; }
.brand-copy { text-align:center; }
.service-logo { position:relative; display:inline-block; flex-shrink:0; width:36px; height:36px; border:1px solid #d6e1ee; border-radius:50%; overflow:hidden; background:#fff; vertical-align:middle; }
.service-logo img { display:block; width:100%; height:100%; max-width:none; object-fit:contain; }
.service-logo[data-logo=general],.service-logo[data-logo=yicheng] { background:#000; }
.service-logo[data-logo=general] img { transform:scale(1.65); transform-origin:50% 53%; }
/* Use the main monogram for small round avatars; the supplied source file stays intact. */
.service-logo[data-logo=mingjue] img { position:absolute; width:150%; height:150%; left:50%; top:50%; transform:translate(-50%,-42%); clip-path:inset(0 0 36% 0); }
.service-logo[data-logo=tianyu] { background:#f00; }
.service-logo[data-logo=tianyu] img { transform:scale(1.13); }
.service-logo[data-logo=huiguan] { background:#0b1924; }
.service-logo[data-logo=huiguan] img { transform:scale(1.04); }
.topic[aria-pressed=true] .service-logo { border-color:#84b2ef; box-shadow:0 0 0 2px #dfeeff; }
.conversation-heading { display:grid; grid-template-columns:46px minmax(0,1fr); column-gap:14px; align-items:center; }
.heading-logo { width:46px; height:46px; grid-column:1; grid-row:1/3; }
.conversation-heading.no-guidance .heading-logo { grid-row:1; }
.heading-line,.conversation-heading>p { grid-column:2; }
[data-kind=app] .conversation-heading { grid-template-columns:minmax(0,1fr); }
[data-kind=app] .heading-line,[data-kind=app] .conversation-heading>p { grid-column:1; }
.connection-logo { display:block; width:78px; height:78px; margin:0 auto 24px; box-shadow:0 8px 24px #24456512; }
@media(max-width:760px) {
  .brand-header { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; gap:8px; align-items:center; }
  .brand-copy { grid-column:2; }
  .mobile-save { grid-column:3; margin-left:0; }
  .nav-logo { width:25px; height:25px; }
  .conversation-heading { grid-template-columns:36px minmax(0,1fr); column-gap:10px; }
  .heading-logo { width:36px; height:36px; }
  .connection-logo { width:66px; height:66px; margin-bottom:22px; }
}
@media(max-width:359px) { .nav-logo { width:23px; height:23px; }.brand-copy strong { font-size:18px; } }

/* Mobile access desk: full-width conversations, two clear destination groups.
   Reuse the same topic buttons and chat frames; desktop layout is unchanged. */
.mobile-modes,.mobile-nav-toggle,.mobile-nav-guidance { display:none; }
@media(max-width:760px) {
  .support-app { display:flex; flex-direction:column; width:100%; min-width:320px; height:100vh; height:100dvh; min-height:calc(712px + env(safe-area-inset-top) + env(safe-area-inset-bottom)); overflow:hidden; }
  .sidebar { display:block; flex:none; padding:env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); border-right:0; border-bottom:1px solid var(--line); overflow:visible; background:#f6f9fe; }
  .brand-header { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; height:54px; gap:8px; padding:0; }
  .brand-copy { grid-column:2; text-align:center; }
  .brand-copy strong { max-width:none; font-size:18px; line-height:1.4; letter-spacing:0; }
  .mobile-nav-toggle { display:block; grid-column:1; width:44px; min-height:44px; padding:0; border-radius:8px; background:transparent; color:var(--accent); font-size:12px; }
  .mobile-nav-toggle:hover { background:var(--accent-soft); }
  .sidebar .mobile-save { display:grid !important; grid-column:3; margin:0; background:transparent; border:0; color:var(--accent); }
  .mobile-modes { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; margin:0 0 10px; border:1px solid #dee8f4; border-radius:12px; background:#eaf0f8; }
  .mobile-modes button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; border-radius:8px; background:transparent; color:#576b83; font-size:14px; font-weight:600; }
  .mobile-modes button[aria-pressed=true] { background:#fff; color:var(--accent); box-shadow:0 2px 6px #2445650c; }
  .mobile-modes .icon { width:18px; height:18px; }
  .sidebar-label,.topic-hint,.sidebar-bottom,.topic-divider { display:none; }
  .topics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; padding:0; }
  .topic,.topic.app-topic { display:flex; flex-direction:column; align-items:center; justify-content:center; grid-column:auto; gap:7px; min-height:77px; padding:8px 0; margin:0; border:1px solid transparent; border-radius:10px; text-align:center; }
  .topic[aria-pressed=true] { background:#e8f1ff; border-color:#bdd7fa; color:#115fbf; }
  .topic[aria-pressed=true]::before,.topic-arrow { display:none; }
  .topic-copy,.topic.app-topic .topic-copy { display:block; flex:none; width:100%; min-width:0; }
  .topic-copy strong { font-size:12px; line-height:1.5; white-space:nowrap; font-weight:600; letter-spacing:0; }
  .topic-copy small,.topic.app-topic .topic-copy small { display:none; }
  .topic-image,.nav-logo { width:36px; height:36px; }
  .mobile-nav-guidance { display:block; margin:7px 0 9px; text-align:center; color:var(--muted); font-size:11px; line-height:18px; }
  [data-mobile-group=chat] .topic.app-topic,[data-mobile-group=app] .topic:not(.app-topic) { display:none; }
  [data-mobile-group=app] .topics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .topic.app-topic { flex-direction:row; gap:10px; min-height:77px; padding:8px; }
  .topic.app-topic .topic-copy { flex:0 1 auto; width:auto; }
  .topic.app-topic .topic-copy strong { font-size:14px; }
  .support-app[data-nav-collapsed=true] { min-height:calc(532px + env(safe-area-inset-top) + env(safe-area-inset-bottom)); }
  [data-nav-collapsed=true] .topic-navigation { display:none; }
  .conversation { flex:1; min-height:0; }
  .conversation-header,[data-kind=app] .conversation-header { align-items:center; min-height:58px; padding:10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); gap:12px; }
  .conversation-heading { width:auto; grid-template-columns:32px minmax(0,1fr); column-gap:9px; }
  .heading-logo { width:32px; height:32px; grid-row:1; }
  .heading-line { min-height:0; padding:0; }
  .heading-line h1 { font-size:17px; line-height:1.5; }
  .conversation-heading > p,.service-label { display:none; }
  .connection-badge { position:static; padding:4px 8px; font-size:11px; gap:5px; }
  [data-kind=app] .conversation-heading { display:block; }
  [data-kind=app] .conversation-heading > p { display:block; margin-top:1px; font-size:11px; }
  .conversation-footer { min-height:46px; padding:0 max(16px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px, env(safe-area-inset-left)); font-size:11px; }
  .conversation-footer > button { font-size:11px; }
  .support-app .connection-state { padding-inline:22px; }
  .support-app .connection-state h2 { font-size:21px; }
  .support-app .connection-state p { font-size:13px; }
  .support-app .connection-logo { width:64px; height:64px; margin-bottom:20px; }
  .support-app .connection-state .button { min-height:46px; padding-inline:28px; font-size:14px; }
  .mj-navigation-inner { padding:20px max(18px, env(safe-area-inset-right)) 26px max(18px, env(safe-area-inset-left)); }
  .mj-app-intro { gap:14px; }
  .mj-app-intro > img { width:52px; height:52px; }
  .mj-app-intro > div { min-width:0; }
  .mj-app-intro h2 { font-size:20px; }
  .mj-app-intro p,.download-note,.login-note { font-size:12px; }
  .mj-section-heading h3 { font-size:15px; }
  .download-copy strong { font-size:16px; }
  .download-copy small,.single-app-download .download-action { font-size:12px; }
  .download-action { font-size:12px; }
  .login-card strong { font-size:14px; }
  .login-card small,#mingjue-app-navigation .login-card small { font-size:12px; }
  .login-card > .icon { display:block; }
  .room-number-line { flex-direction:row; align-items:center; gap:8px; }
  .room-number-line > span,.access-value > span { font-size:12px; }
  .room-copy,.fuyou-copy { font-size:12px; }
  .access-value > code { font-size:16px; }
}
@media(max-width:560px) {
  .download-grid,.login-grid { grid-template-columns:minmax(0,1fr); }
  .download-card { min-height:110px; }
  .single-app-download { min-height:84px; }
}
@media(max-width:359px) {
  .topic.app-topic { gap:7px; padding-inline:4px; }
  .topic-image,.nav-logo { width:32px; height:32px; }
  .single-app-download { grid-template-columns:27px minmax(0,1fr); }
  .single-app-download .download-action { grid-column:1/-1; justify-content:flex-end; }
  .fuyou-access-row { gap:8px; }
  .access-value > code { font-size:14px; }
}

/* v23: separate mobile document scrolling from a viewport-sized conversation.
   A keyboard must not keep the old 712px shell or 360px iframe minimum alive. */
/* v26: entry-only service chooser; selected chat and app layouts stay unchanged. */
.support-app[data-entry=choose] .conversation-header { display:none; }
.content-panels > .service-choice { grid-area:1/1; min-width:0; min-height:0; overflow:auto; overscroll-behavior:contain; background:#f5f8fc; }
.service-choice-inner { width:min(100%,620px); margin:0 auto; padding:38px 28px 28px; }
.service-choice-heading { margin-bottom:24px; }
.service-choice-heading h2 { font-size:26px; line-height:1.5; color:#213a56; font-weight:650; }
.service-choice-heading p { margin-top:6px; font-size:14px; line-height:1.6; color:#586d85; }
.service-choice-list { display:grid; gap:12px; }
.service-choice-button { display:flex; align-items:center; gap:16px; width:100%; min-height:84px; padding:14px 18px; border:1px solid #dce7f3; border-radius:14px; background:#fff; text-align:left; color:#213a56; transition:background .15s,border-color .15s; }
.service-choice-button:hover { background:#edf5ff; border-color:#92bcee; }
.service-choice-button:focus-visible { outline:3px solid #176bd6; outline-offset:3px; }
.service-choice-button .nav-logo { width:48px; height:48px; flex:none; }
.service-choice-button .topic-copy { flex:1; width:auto; }
.service-choice-button .topic-copy strong { display:block; font-size:17px; line-height:1.5; color:#213a56; }
.service-choice-button .topic-copy small { display:block; margin-top:3px; font-size:12px; line-height:1.5; color:#586d85; }
.service-choice-button .choice-arrow { width:19px; height:19px; color:#176bd6; flex:none; }
.service-choice-note { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:22px; color:#586d85; font-size:12px; line-height:1.6; }
.service-choice-note .icon { width:15px; height:15px; }
.app-shortcuts { display:none; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.embedded-chat-page { height:100vh; height:100dvh; overflow:hidden; }
.embedded-chat-page .embedded-chat { height:100%; min-height:0; }
.embedded-chat-page .tawk-host { min-height:0; }
@media(max-width:760px) {
  html[data-mobile-kind=chat],html[data-mobile-kind=chat] body { overflow:hidden; }
  html[data-mobile-kind=app],html[data-mobile-kind=app] body { overflow-x:hidden; overflow-y:auto; height:auto; }
  .support-app[data-mobile-group=chat] {
    position:fixed; top:var(--chat-viewport-top,0px); left:0;
    height:var(--chat-viewport-height,100dvh); min-height:0; max-height:none;
  }
  .support-app[data-mobile-group=chat] .content-panels { min-height:0; }
  .support-app[data-mobile-group=chat] .tawk-host,
  .support-app[data-mobile-group=chat] [id$="-frame-host"],
  .support-app[data-mobile-group=chat] .isolated-chat-frame { min-height:0; }
  .support-app[data-mobile-group=chat] .live-area { overscroll-behavior:contain; }
  .support-app[data-mobile-group=app] { position:static; height:auto; min-height:100vh; min-height:100svh; overflow:visible; }
  .support-app[data-mobile-group=app] .conversation { display:block; flex:none; }
  .support-app[data-mobile-group=app] .content-panels { display:block; flex:none; min-height:0; overflow:visible; }
  .support-app[data-mobile-group=app] .content-panels > .live-area,
  .support-app[data-mobile-group=app] .content-panels > .isolated-provider-panel { position:absolute; inset:0; pointer-events:none; }
  .support-app[data-mobile-group=app] .mj-navigation { height:auto; max-height:none; overflow:visible; overscroll-behavior:auto; }
  .app-shortcuts { display:grid; grid-template-columns:1.25fr 1fr; gap:10px; margin:0 0 20px; }
  .app-shortcuts button { min-height:62px; padding:10px 12px; border:1px solid #bed6f7; border-radius:10px; background:#edf4ff; text-align:left; color:#115fbf; }
  .app-shortcuts button:first-child { background:#176bd6; border-color:#176bd6; color:#fff; }
  .app-shortcuts strong { display:block; font-size:15px; line-height:1.5; }
  .app-shortcuts span { display:block; margin-top:2px; font-size:11px; line-height:1.5; }
  .mj-section-heading h3 { scroll-margin-top:16px; }
  .mj-section-heading h3:focus-visible { outline:2px solid #0957bd; outline-offset:5px; }
}
@media(max-height:480px) {
  .embedded-chat-page .connection-state,.support-app .connection-state { align-items:flex-start; padding:18px 18px 30px; }
  .embedded-chat-page .state-content,.support-app .state-content { margin-block:auto; }
  .embedded-chat-page .connection-logo,.support-app .connection-logo { width:44px; height:44px; margin-bottom:12px; }
  .embedded-chat-page .connection-provider,.support-app .connection-provider { display:none; }
}

