:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #f1f2f4;
  --surface-raised: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #747478;
  --text-tertiary: #a2a2a7;
  --line: rgba(60, 60, 67, 0.09);
  --line-strong: rgba(60, 60, 67, 0.16);
  --accent: #087fe8;
  --accent-hover: #006fd2;
  --accent-soft: rgba(8, 127, 232, 0.11);
  --danger: #ff3b30;
  --danger-soft: rgba(255, 59, 48, 0.09);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.018), 0 6px 20px rgba(0, 0, 0, 0.035);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --content-width: 1180px;
  --header-height: 68px;
  --nav-height: 66px;
  --control-height: 42px;
  --panel-padding: 16px;
  --section-gap: 12px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111214;
  --surface: #1c1d20;
  --surface-soft: #26272b;
  --surface-raised: #222327;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #77777d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.13);
  --accent: #2997ff;
  --accent-hover: #64b5ff;
  --accent-soft: rgba(41, 151, 255, 0.15);
  --danger: #ff453a;
  --danger-soft: rgba(255, 69, 58, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 22px 70px rgba(0, 0, 0, 0.45);
}

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

html {
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 0.52;
}

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

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.zz-shell {
  min-height: 100vh;
}

.zz-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: max(10px, env(safe-area-inset-top)) max(24px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.zz-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.zz-brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.zz-brand-title {
  overflow: hidden;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zz-icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.zz-icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.zz-icon-button:active {
  transform: scale(0.94);
}

.zz-theme-toggle {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.zz-theme-toggle:hover {
  border-color: transparent;
  background: var(--accent-soft);
}

.zz-theme-icon {
  width: 25px;
  height: 25px;
  fill: none;
  color: var(--accent);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: color 180ms ease, transform 180ms ease;
}

.zz-theme-icon-half {
  fill: currentColor;
  stroke: none;
}

html[data-theme="dark"] .zz-theme-icon {
  color: #f5f5f7;
  transform: rotate(180deg);
}

.zz-main {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 20px 0 calc(var(--nav-height) + 28px + env(safe-area-inset-bottom));
}

.zz-page {
  display: none;
  animation: zz-page-in 220ms ease both;
}

.zz-page.is-active {
  display: block;
}

@keyframes zz-page-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.zz-notice-panel,
.zz-upload-card,
.zz-query-card,
.zz-member-card,
.zz-form-card,
.zz-action-list,
.zz-help-card,
.zz-empty,
.zz-record-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.zz-notice-panel {
  margin-bottom: var(--section-gap);
  padding: 14px var(--panel-padding);
  border-radius: var(--radius-md);
}

.zz-notice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 15px;
}

.zz-notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.zz-notice-list {
  color: var(--text-secondary);
  font-size: 13px;
}

.zz-notice-list p {
  margin: 3px 0 0;
}

.zz-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.zz-search {
  display: flex;
  min-width: 0;
  height: var(--control-height);
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.zz-search span {
  color: var(--text-tertiary);
  font-size: 20px;
  line-height: 1;
}

.zz-search input,
.zz-query-line input,
.zz-field-list input,
.zz-field-list textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.zz-search input {
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.zz-search input::-webkit-search-cancel-button {
  opacity: 0.55;
}

.zz-search input::placeholder,
.zz-query-line input::placeholder,
.zz-field-list input::placeholder,
.zz-field-list textarea::placeholder {
  color: var(--text-tertiary);
}

.zz-query-line input:focus,
.zz-field-list input:focus,
.zz-field-list textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.zz-primary,
.zz-outline,
.zz-sign-btn {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.zz-primary,
.zz-sign-btn {
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
}

.zz-primary:hover,
.zz-sign-btn:hover {
  background: var(--accent-hover);
}

.zz-outline {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--accent);
}

.zz-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.zz-outline.is-danger {
  border-color: color-mix(in srgb, var(--danger) 30%, transparent);
  color: var(--danger);
}

.zz-outline.is-danger:hover {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.zz-primary:active,
.zz-outline:active,
.zz-sign-btn:active {
  filter: brightness(0.94);
}

.zz-primary.full {
  width: 100%;
}

.zz-primary.large {
  min-height: 46px;
  font-size: 15px;
}

.zz-outline.small {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.zz-chip-row {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 2px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.zz-chip-row::-webkit-scrollbar {
  display: none;
}

.zz-chip {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.zz-chip:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.zz-chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.zz-upload-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
}

.zz-upload-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 25px;
  font-weight: 300;
}

.zz-upload-body {
  min-width: 0;
  flex: 1;
}

.zz-upload-title {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 650;
}

.zz-upload-desc {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zz-list,
.zz-record-list,
.zz-help-list {
  display: grid;
  gap: var(--section-gap);
}

.zz-app-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zz-app-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

html[data-theme="dark"] .zz-app-card:hover {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.zz-app-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
}

.zz-app-info {
  min-width: 0;
}

.zz-app-title-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
}

.zz-app-title-row h3 {
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zz-app-title-row span {
  flex: 0 0 auto;
  color: var(--text-tertiary);
  font-size: 12px;
}

.zz-app-meta {
  overflow: hidden;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zz-app-info p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zz-sign-btn {
  min-width: 76px;
  border-radius: 999px;
  font-weight: 600;
}

.zz-sign-btn.is-disabled {
  background: var(--surface-soft);
  color: var(--text-tertiary);
  pointer-events: none;
}

.zz-query-card,
.zz-form-card {
  margin-bottom: var(--section-gap);
  padding: var(--panel-padding);
  border-radius: var(--radius-md);
}

.zz-query-card > label,
.zz-form-card > label,
.zz-field-list > label {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.zz-query-line {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 6px;
}

.zz-query-line input {
  height: var(--control-height);
  flex: 1;
  padding: 0 12px;
}

.zz-record-card {
  padding: var(--panel-padding);
  border-radius: var(--radius-md);
}

.zz-record-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.zz-record-card p {
  margin: 4px 0;
  color: var(--text-secondary);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.zz-record-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.zz-sign-task-card {
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}

.zz-sign-task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.zz-sign-task-head h3 {
  min-width: 0;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.zz-sign-task-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.zz-sign-task-status.is-pending {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent);
}

.zz-sign-task-status.is-success {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.zz-sign-task-status.is-failed {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.zz-help-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.zz-help-card h2 {
  margin: 0;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.zz-help-card p {
  margin: 0;
  padding: 15px 18px 17px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
}

.zz-member-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--section-gap);
  padding: var(--panel-padding);
  border-radius: var(--radius-md);
}

.zz-member-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 1px solid var(--line);
  border-radius: 13px;
  object-fit: cover;
}

.zz-member-card > div {
  min-width: 0;
  flex: 1;
}

.zz-member-card h2 {
  margin: 0 0 3px;
  font-size: 17px;
}

.zz-member-card p {
  overflow: hidden;
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zz-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: var(--section-gap);
}

.zz-stat {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.zz-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 12px;
}

.zz-stat strong {
  display: block;
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zz-form-card > label:not(:first-child) {
  margin-top: 14px;
}

.zz-action-list {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.zz-action-list > a,
.zz-action-list > button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.zz-action-list > :last-child {
  border-bottom: 0;
}

.zz-action-list > a:hover,
.zz-action-list > button:hover {
  background: var(--surface-soft);
}

.zz-action-list em {
  color: var(--text-tertiary);
  font-size: 20px;
  font-style: normal;
}

.zz-empty {
  padding: 42px 18px;
  border-radius: var(--radius-md);
  text-align: center;
}

.zz-empty.compact {
  padding-block: 34px;
}

.zz-empty-icon {
  position: relative;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--surface-soft);
}

.zz-empty-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-tertiary);
  border-radius: 50%;
  content: "";
  transform: translate(-58%, -58%);
}

.zz-empty-icon::after {
  position: absolute;
  top: 29px;
  left: 28px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-tertiary);
  content: "";
  transform: rotate(45deg);
}

.zz-empty h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.zz-empty p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.zz-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.zz-bottom-nav {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  padding: 5px max(16px, calc((100vw - var(--content-width)) / 2)) env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.04);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
}

.zz-bottom-nav button {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
}

.zz-bottom-nav button:hover {
  color: var(--text);
}

.zz-bottom-nav button.is-active {
  color: var(--accent);
}

.zz-nav-badge {
  position: absolute;
  top: 1px;
  left: calc(50% + 7px);
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  line-height: 13px;
  text-align: center;
}

.zz-nav-mask {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.zz-nav-home { -webkit-mask-image: url('../img/nav/nav-home.png'); mask-image: url('../img/nav/nav-home.png'); }
.zz-nav-records { -webkit-mask-image: url('../img/nav/nav-records.png'); mask-image: url('../img/nav/nav-records.png'); }
.zz-nav-help { -webkit-mask-image: url('../img/nav/nav-help.png'); mask-image: url('../img/nav/nav-help.png'); }
.zz-nav-member { -webkit-mask-image: url('../img/nav/nav-member.png'); mask-image: url('../img/nav/nav-member.png'); }

.zz-bottom-nav .zz-tutorial-tab {
  position: relative;
  color: var(--text-secondary);
  font-weight: 600;
}

.zz-bottom-nav .zz-tutorial-tab > span {
  position: relative;
  display: flex;
  width: 34px;
  height: 34px;
  margin: -4px auto 2px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd3a6, #ffb877);
  box-shadow: 0 8px 18px rgba(249, 146, 60, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
  color: #fff;
}

.zz-bottom-nav .zz-tutorial-tab:active > span {
  transform: scale(0.92);
}

.zz-bottom-nav .zz-nav-svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zz-bottom-nav .zz-tutorial-tab .zz-nav-svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zz-bottom-nav .zz-tutorial-tab .zz-nav-svg path:last-child {
  fill: currentColor;
  stroke: none;
}

.zz-bottom-nav .zz-tutorial-tab > span::after {
  content: '必看';
  position: absolute;
  top: -7px;
  right: -11px;
  padding: 0 5px;
  border: 1.5px solid var(--surface);
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.22);
}

.zz-bottom-nav .zz-tutorial-tab.is-active {
  color: var(--accent);
}

.zz-bottom-nav .zz-tutorial-tab.is-active > span {
  box-shadow: 0 9px 20px rgba(249, 115, 22, 0.38);
}

.zz-tutorial-page {
  padding-bottom: 12px;
}

.zz-tutorial-head-card,
.zz-tutorial-video-card,
.zz-tutorial-empty {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-radius: 20px;
}

.zz-tutorial-head-card {
  margin-bottom: 12px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.14) 0%, var(--surface) 58%, var(--accent-soft) 100%);
}

.zz-tutorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  font-size: 12px;
  font-weight: 800;
}

.zz-tutorial-head-card h2 {
  margin: 12px 0 6px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
}

.zz-tutorial-head-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.zz-tutorial-video-card {
  padding: 10px;
  overflow: hidden;
}

.zz-tutorial-video {
  display: block;
  width: 100%;
  max-height: 68vh;
  border: 0;
  border-radius: 14px;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.zz-tutorial-video-tip {
  padding: 10px 4px 2px;
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.zz-tutorial-empty {
  display: flex;
  min-height: 42vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.zz-tutorial-empty-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff9f43, #ff6b00);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.25);
  color: #fff;
  font-size: 24px;
}

.zz-tutorial-empty h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 19px;
}

.zz-tutorial-empty p {
  max-width: 320px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.zz-tutorial-empty .zz-primary {
  margin-top: 16px;
}

html[data-theme="dark"] .zz-tutorial-head-card {
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.16) 0%, var(--surface) 60%, rgba(41, 151, 255, 0.12) 100%);
}

.zz-mask,
.zz-dialog-mask {
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.zz-sheet {
  position: fixed;
  z-index: 70;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 720px);
  max-height: min(88vh, 920px);
  margin: auto;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  transform: translateY(105%);
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1);
}

.zz-sheet.is-open {
  transform: translateY(0);
}

.zz-sheet-handle {
  width: 42px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 4px;
  background: var(--line-strong);
}

.zz-sheet-head,
.zz-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.zz-sheet-head {
  margin-bottom: 14px;
}

.zz-sheet-head h2,
.zz-dialog-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.zz-sheet-head p {
  margin: 2px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.zz-sheet-head .zz-icon-button,
.zz-dialog-head .zz-icon-button {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  box-shadow: none;
  font-size: 22px;
}

.zz-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 13px;
  background: var(--surface-soft);
}

.zz-segment.zz-segment-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zz-segment label {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.zz-segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.zz-segment span {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.zz-segment input:checked + span {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.zz-segment label.is-unavailable {
  cursor: not-allowed;
}

.zz-segment label.is-unavailable span {
  opacity: 0.48;
}

.zz-sign-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.zz-sign-preview img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
}

.zz-field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.zz-field-list > label:last-child,
.zz-field-list > .zz-field-udid,
.zz-field-list > .zz-field-exchange,
.zz-field-list > .zz-field-selfsign {
  grid-column: 1 / -1;
}

.zz-field-list input,
.zz-field-list textarea {
  display: block;
  min-height: 40px;
  margin-top: 6px;
  padding: 9px 11px;
  resize: vertical;
}

.zz-field-list textarea {
  min-height: 72px;
}

.zz-field-list input[type="file"] {
  height: auto;
  padding: 9px;
  font-size: 13px;
}

.zz-field-is-hidden {
  display: none !important;
}

.zz-udid-line,
.zz-exchange-line {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.zz-udid-line input,
.zz-exchange-line input {
  min-width: 0;
  flex: 1;
}

.zz-udid-get,
.zz-buy-cert {
  min-height: 40px;
  flex: 0 0 auto;
  padding-inline: 14px;
}

.zz-dialog {
  position: fixed;
  z-index: 80;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 32px), 520px);
  max-height: min(78vh, 720px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
}

.zz-dialog-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.zz-dialog-body {
  max-height: calc(min(78vh, 720px) - 72px);
  padding: 16px;
  overflow-y: auto;
  color: var(--text-secondary);
  line-height: 1.75;
  white-space: pre-line;
}

.zz-cert-download-tip {
  margin: 0 0 14px;
}

.zz-cert-actions {
  display: flex;
  gap: 10px;
}

.zz-cert-actions > * {
  flex: 1;
}

.zz-toast {
  position: fixed;
  z-index: 100;
  bottom: calc(96px + env(safe-area-inset-bottom));
  left: 50%;
  max-width: min(86vw, 520px);
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(23, 32, 51, .90);
  color: #fff;
  box-shadow: 0 12px 34px rgba(18, 31, 53, .18);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  transform: translateX(-50%);
  animation: zz-toast-in 180ms ease-out both;
}

@keyframes zz-toast-in {
  from { opacity: 0; transform: translate(-50%, 7px) scale(0.98); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}


/* 已签名页面 */
.zz-record-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: var(--section-gap);
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 92% 14%, var(--accent-soft), transparent 30%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.zz-record-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.zz-record-hero h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.zz-record-hero p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.zz-record-query-state {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 650;
}

.zz-record-query-state.is-loading {
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
  background: var(--accent-soft);
  color: var(--accent);
}

.zz-record-query-state.is-ready {
  border-color: rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.zz-record-query-state.is-empty {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--text-tertiary);
}

.zz-record-query-card {
  margin-bottom: var(--section-gap);
  padding: var(--panel-padding);
  border-radius: var(--radius-md);
}

.zz-record-query-card .zz-query-line input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.01em;
}

.zz-record-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: var(--section-gap);
}

.zz-record-summary[hidden] {
  display: none;
}

.zz-record-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.zz-record-summary span {
  color: var(--text-secondary);
  font-size: 12px;
}

.zz-record-summary strong {
  font-size: 20px;
  line-height: 1;
}

.zz-record-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.zz-record-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--line-strong);
  content: "";
}

.zz-record-card.is-success::before {
  background: #22c55e;
}

.zz-record-card.is-pending::before {
  background: var(--accent);
}

.zz-record-card.is-failed::before {
  background: var(--danger);
}

.zz-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.zz-record-title {
  min-width: 0;
}

.zz-record-title h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.35;
}

.zz-record-title p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.zz-record-meta {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(120px, 0.7fr) minmax(150px, 0.8fr);
  gap: 10px;
  margin-top: 14px;
}

.zz-record-meta-item {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.zz-record-meta-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 650;
}

.zz-record-meta-item strong {
  display: block;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.zz-record-error,
.zz-record-progress {
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 11px;
}

.zz-record-error {
  border: 1px solid color-mix(in srgb, var(--danger) 18%, var(--line));
  background: var(--danger-soft);
}

.zz-record-error > strong {
  display: block;
  margin-bottom: 4px;
  color: var(--danger);
  font-size: 11px;
}

.zz-record-error p,
.zz-record-progress p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.zz-record-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  background: var(--accent-soft);
}

.zz-record-progress > span {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 2px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: zz-record-spin 0.8s linear infinite;
}

@keyframes zz-record-spin {
  to { transform: rotate(360deg); }
}

.zz-record-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.zz-record-actions > a,
.zz-record-actions > button {
  min-height: 38px;
}

.zz-sign-task-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.zz-sign-task-status.is-pending {
  border-color: color-mix(in srgb, var(--accent) 20%, transparent);
  background: var(--accent-soft);
  color: var(--accent);
}

.zz-sign-task-status.is-success {
  border-color: rgba(34, 197, 94, 0.16);
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.zz-sign-task-status.is-failed {
  border-color: color-mix(in srgb, var(--danger) 18%, transparent);
  background: var(--danger-soft);
  color: var(--danger);
}

@media (max-width: 700px) {
  :root {
    --header-height: 60px;
    --nav-height: 58px;
    --radius-md: 14px;
    --control-height: 40px;
    --panel-padding: 13px;
    --section-gap: 10px;
  }

  .zz-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .zz-brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 9px;
  }

  .zz-brand-title {
    font-size: 16px;
  }

  .zz-icon-button {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .zz-main {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .zz-toolbar {
    gap: 8px;
  }

  .zz-search {
    height: var(--control-height);
    padding-inline: 12px;
  }

  .zz-toolbar .zz-primary {
    min-height: var(--control-height);
    padding-inline: 13px;
  }

  .zz-upload-card {
    gap: 10px;
    padding: 12px;
  }

  .zz-upload-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 10px;
  }

  .zz-upload-card .zz-outline {
    padding-inline: 12px;
  }

  .zz-app-card {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 0;
    padding: 12px;
  }

  .zz-app-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .zz-sign-btn {
    grid-column: auto;
    width: auto;
    min-width: 64px;
    min-height: 36px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .zz-app-info p {
    -webkit-line-clamp: 1;
  }

  .zz-help-card h2,
  .zz-help-card p {
    padding-right: 14px;
    padding-left: 14px;
  }

  .zz-help-card h2 {
    padding-block: 13px;
    font-size: 14px;
  }

  .zz-help-card p {
    padding-block: 13px 15px;
    font-size: 12px;
  }

  .zz-query-card,
  .zz-form-card {
    padding: var(--panel-padding);
  }

  .zz-query-line {
    gap: 8px;
  }

  .zz-query-line .zz-primary {
    padding-inline: 13px;
  }

  .zz-member-card {
    padding: var(--panel-padding);
  }

  .zz-stat {
    padding: 12px;
  }

  .zz-stat strong {
    font-size: 15px;
  }

  .zz-bottom-nav {
    padding-right: 6px;
    padding-left: 6px;
  }

  .zz-nav-mask {
    width: 19px;
    height: 19px;
  }

  .zz-sheet {
    padding-right: 14px;
    padding-left: 14px;
  }

  .zz-field-list {
    grid-template-columns: 1fr;
  }

  .zz-field-list > label,
  .zz-field-list > label:last-child,
  .zz-field-list > .zz-field-udid,
  .zz-field-list > .zz-field-exchange,
  .zz-field-list > .zz-field-selfsign {
    grid-column: auto;
  }

  .zz-udid-line,
  .zz-exchange-line {
    align-items: flex-end;
    flex-direction: row;
  }

  .zz-udid-get,
  .zz-buy-cert {
    min-height: 40px;
  }
}

@media (max-width: 420px) {
  .zz-upload-desc {
    white-space: normal;
  }

  .zz-cert-actions {
    flex-direction: column;
  }
}


@media (max-width: 700px) {
  .zz-record-hero {
    padding: 17px;
  }

  .zz-record-hero h1 {
    font-size: 21px;
  }

  .zz-record-hero p {
    font-size: 12px;
  }

  .zz-record-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .zz-record-summary > div {
    min-height: 58px;
    padding: 12px;
  }

  .zz-record-card {
    padding: 15px;
  }

  .zz-record-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .zz-record-actions > a,
  .zz-record-actions > button {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .zz-record-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .zz-record-query-state {
    align-self: flex-start;
  }

  .zz-record-head {
    gap: 10px;
  }

  .zz-record-title h3 {
    font-size: 16px;
  }

  .zz-record-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zz-record-actions > a,
  .zz-record-actions > button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* 已签名页面：恢复简洁卡片样式 */
.zz-record-hero,
.zz-record-summary,
.zz-record-query-state {
  display: none !important;
}

.zz-record-query-card {
  margin-bottom: var(--section-gap);
  padding: var(--panel-padding);
}

.zz-record-card {
  position: static;
  padding: var(--panel-padding);
  overflow: visible;
  border-radius: var(--radius-md);
  transition: none;
}

.zz-record-card::before {
  display: none !important;
  content: none !important;
}

.zz-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.zz-record-head h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.45;
}

.zz-record-card > p {
  margin: 4px 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.zz-record-meta,
.zz-record-title,
.zz-record-error,
.zz-record-progress {
  display: none !important;
}

.zz-record-message.is-failed {
  margin-top: 8px;
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, var(--danger) 16%, var(--line));
  border-radius: 10px;
  background: var(--danger-soft);
  color: var(--danger);
}

.zz-record-message.is-pending {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
  border-radius: 10px;
  background: var(--accent-soft);
}

.zz-record-message.is-pending > span {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 2px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: zz-record-spin 0.8s linear infinite;
}

.zz-record-message.is-pending p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

.zz-record-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}

.zz-record-actions > a,
.zz-record-actions > button {
  min-height: var(--control-height);
}

@media (max-width: 700px) {
  .zz-record-card {
    padding: var(--panel-padding);
  }

  .zz-record-actions > a,
  .zz-record-actions > button {
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .zz-record-head {
    gap: 10px;
  }

  .zz-record-actions {
    display: flex;
    grid-template-columns: none;
  }

  .zz-record-actions > a,
  .zz-record-actions > button {
    width: auto;
  }
}

/* ===== 参考站风格工具栏（公告 / 搜索 / 分类 / 应用卡）===== */
:root {
  --zzref-blue-1: #168cf8;
  --zzref-blue-2: #0478e9;
  --zzref-shadow-card: 0 12px 30px rgba(31, 45, 61, 0.055);
  --zzref-border: rgba(31, 41, 55, 0.055);
}

.zz-header {
  background: rgba(247, 250, 255, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.zz-notice-panel {
  padding: 14px 16px;
  border: 1px solid var(--zzref-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--zzref-shadow-card);
}

.zz-notice-title {
  gap: 8px;
  margin-bottom: 6px;
  color: #182236;
  font-size: 15px;
  font-weight: 650;
}

.zz-notice-dot {
  width: 8px;
  height: 8px;
  background: #0b83f6;
  box-shadow: 0 0 0 4px rgba(11, 131, 246, 0.11);
}

.zz-notice-list {
  margin-top: 4px;
  font-size: 12px;
}

.zz-notice-list p {
  margin: 0;
  color: #6f7785;
  font-size: 12px;
  line-height: 1.5;
}

.zz-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
  margin: 0 0 10px;
  align-items: center;
}

.zz-search {
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(31, 41, 55, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.04);
}

.zz-search span {
  color: #7b8492;
  font-size: 19px;
}

.zz-search input {
  height: 100%;
  font-size: 13px;
}

.zz-search:focus-within {
  border-color: rgba(47, 111, 235, 0.22);
  box-shadow: 0 0 0 4px rgba(47, 111, 235, 0.07);
}

.zz-primary,
.zz-sign-btn {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--zzref-blue-1) 0%, var(--zzref-blue-2) 100%);
  box-shadow: 0 8px 18px rgba(11, 131, 246, 0.18);
  font-weight: 600;
}

.zz-outline {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--zzref-blue-1) 0%, var(--zzref-blue-2) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 131, 246, 0.18);
}

.zz-primary:hover,
.zz-sign-btn:hover,
.zz-outline:hover {
  background: linear-gradient(180deg, #0f82ed 0%, #026fdd 100%);
}

.zz-primary:active,
.zz-sign-btn:active,
.zz-outline:active {
  transform: scale(0.98);
  filter: none;
}

#zzSearchBtn {
  height: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 13px;
}

.zz-chip-row {
  gap: 8px;
  margin: 0 0 12px;
  padding: 14px 0 8px;
}

.zz-chip {
  height: 38px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(31, 41, 55, 0.06);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(31, 45, 61, 0.043);
  color: #6f7786;
  font-size: 13px;
  font-weight: 560;
}

.zz-chip:hover {
  border-color: rgba(31, 41, 55, 0.1);
  color: #6f7786;
}

.zz-chip.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, var(--zzref-blue-1) 0%, var(--zzref-blue-2) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 131, 246, 0.22);
}

.zz-list {
  gap: 9px;
  padding-top: 5px;
}

.zz-app-card {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--zzref-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--zzref-shadow-card);
}

.zz-app-card:hover {
  border-color: var(--zzref-border);
  box-shadow: 0 14px 34px rgba(31, 45, 61, 0.09);
  transform: translateY(-1px);
}

.zz-app-icon {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 15px;
  background: #eef2ff;
  box-shadow: none;
}

.zz-app-title-row {
  gap: 8px;
}

.zz-app-title-row h3 {
  font-size: 15px;
  font-weight: 650;
}

.zz-app-title-row span {
  padding: 1px 7px;
  border-radius: 999px;
  background: #f0f2f7;
  color: #7b8492;
}

.zz-app-meta {
  margin-top: 3px;
  color: #767d89;
}

.zz-app-info p {
  margin-top: 3px;
  font-size: 12px;
  -webkit-line-clamp: 1;
}

.zz-sign-btn {
  width: 92px;
  min-width: 92px;
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 760;
  line-height: 38px;
}

/* ===== 参考站风格工具栏 · 深色模式 ===== */
html[data-theme="dark"] .zz-header {
  background: rgba(17, 20, 28, 0.82);
}

html[data-theme="dark"] .zz-notice-panel,
html[data-theme="dark"] .zz-app-card {
  border-color: rgba(255, 255, 255, 0.07);
  background: var(--surface-raised);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .zz-app-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .zz-notice-title {
  color: var(--text);
}

html[data-theme="dark"] .zz-notice-dot {
  background: #2997ff;
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.14);
}

html[data-theme="dark"] .zz-notice-list p {
  color: var(--text-secondary);
}

html[data-theme="dark"] .zz-search {
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--surface);
  box-shadow: none;
}

html[data-theme="dark"] .zz-search span {
  color: var(--text-tertiary);
}

html[data-theme="dark"] .zz-chip {
  border-color: rgba(255, 255, 255, 0.06);
  background: var(--surface-soft);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-secondary);
}

html[data-theme="dark"] .zz-chip:hover {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

html[data-theme="dark"] .zz-chip.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #2f9bff 0%, #0b83f6 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(11, 131, 246, 0.34);
}

html[data-theme="dark"] .zz-primary,
html[data-theme="dark"] .zz-sign-btn,
html[data-theme="dark"] .zz-outline {
  background: linear-gradient(180deg, #2f9bff 0%, #0b83f6 100%);
  box-shadow: 0 8px 20px rgba(11, 131, 246, 0.3);
}

html[data-theme="dark"] .zz-primary:hover,
html[data-theme="dark"] .zz-sign-btn:hover,
html[data-theme="dark"] .zz-outline:hover {
  background: linear-gradient(180deg, #2590f5 0%, #0878e6 100%);
}

html[data-theme="dark"] .zz-app-icon {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .zz-app-title-row span {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

html[data-theme="dark"] .zz-app-meta {
  color: var(--text-secondary);
}

/* ===== 宽屏限宽居中 + 悬浮药丸导航（对齐参考站）===== */
.zz-shell {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.zz-header {
  padding: max(10px, env(safe-area-inset-top)) 16px 12px;
}

.zz-main {
  width: 100%;
  padding: 14px 12px calc(96px + env(safe-area-inset-bottom));
}

.zz-bottom-nav {
  right: auto;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: calc(100% - 28px);
  max-width: 780px;
  height: auto;
  min-height: 66px;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(31, 41, 55, 0.06);
  border-top: 1px solid rgba(31, 41, 55, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(31, 45, 61, 0.13);
  transform: translateX(-50%);
}

.zz-bottom-nav button {
  height: 52px;
  gap: 3px;
  border-radius: 21px;
  font-size: 12px;
  font-weight: 600;
}

.zz-bottom-nav button .zz-nav-mask {
  width: 24px;
  height: 22px;
  margin-bottom: 1px;
}

.zz-bottom-nav button.is-active {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.08);
}

.zz-bottom-nav .zz-tutorial-tab > span {
  width: 36px;
  height: 36px;
  margin: -5px auto 2px;
  border-radius: 13px;
}

.zz-bottom-nav .zz-tutorial-tab.is-active {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.08);
}

@media (max-width: 560px) {
  .zz-bottom-nav {
    width: calc(100% - 24px);
    bottom: calc(10px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 821px) {
  body {
    background:
      radial-gradient(1200px 480px at 50% -180px, rgba(47, 111, 235, 0.08), transparent 70%),
      #f2f5fa;
  }
}

/* ===== 悬浮药丸导航 · 深色模式 ===== */
html[data-theme="dark"] .zz-bottom-nav {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(28, 30, 34, 0.92);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .zz-bottom-nav button {
  color: var(--text-secondary);
}

html[data-theme="dark"] .zz-bottom-nav button.is-active {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

html[data-theme="dark"] .zz-bottom-nav .zz-tutorial-tab.is-active {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

html[data-theme="dark"] .zz-sign-btn.is-disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-tertiary);
}

@media (min-width: 821px) {
  html[data-theme="dark"] body {
    background:
      radial-gradient(1200px 480px at 50% -180px, rgba(41, 151, 255, 0.07), transparent 70%),
      #0e0f12;
  }
}

/* ========== 签名设置弹窗 sign-sheet-final v7（实测对齐参考站，仅在线签） ========== */
#zzSignSheet.zz-sign-sheet-final {
  --sign-blue: #0a84f7;
  --sign-blue-2: #259bff;
  --sign-text: #101d37;
  --sign-muted: #71819b;
  --sign-line: #e1e8f1;
  --sign-soft: #f2f8ff;
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  width: min(100%, 760px);
  max-height: calc(100dvh - 4px);
  margin: 0;
  padding: 10px 22px 82px;
  border: 0;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 -28px 80px rgba(25, 49, 85, .24);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translate(-50%, 105%);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
  scrollbar-width: thin;
}
#zzSignSheet.zz-sign-sheet-final.is-open { transform: translate(-50%, 0); }

/* 即使系统开启“减弱动态效果”，弹窗滑入与页面切换动画仍保留（对齐参考站） */
@media (prefers-reduced-motion: reduce) {
  #zzSignSheet.zz-sign-sheet-final {
    transition: transform 0.24s cubic-bezier(.2, .8, .2, 1) !important;
  }
  .zz-page {
    animation-duration: 0.22s !important;
  }
}
#zzSignSheet.zz-sign-sheet-final * { box-sizing: border-box; }
#zzSignSheet.zz-sign-sheet-final svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 顶部拖拽条 + 头部 */
#zzSignSheet.zz-sign-sheet-final .zz-sheet-handle {
  width: 56px; height: 5px; margin: 0 auto 12px;
  border-radius: 99px; background: #d3dae5;
}
#zzSignSheet.zz-sign-sheet-final .zz-sheet-head {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 72px; margin: 0 0 14px; padding: 0 62px; text-align: center;
}
#zzSignSheet.zz-sign-sheet-final .zz-sheet-head > div { width: 100%; min-width: 0; }
#zzSignSheet.zz-sign-sheet-final .zz-sheet-head h2 {
  margin: 0; color: var(--sign-text); font-size: 30px; line-height: 1.08;
  font-weight: 900; letter-spacing: -.7px;
}
#zzSignSheet.zz-sign-sheet-final .zz-sheet-head p {
  margin: 8px 0 0; color: #70809a; font-size: 14px; line-height: 1.3;
  font-weight: 650; white-space: normal;
}
#zzSignSheet.zz-sign-sheet-final .zz-sheet-head .zz-icon-button {
  position: absolute; right: 0; top: 4px; width: 48px; height: 48px; padding: 0;
  border: 1px solid #e2ebf5; border-radius: 18px; background: #fff;
  color: #17243b; font-size: 24px; font-weight: 400;
  box-shadow: 0 9px 26px rgba(37, 77, 130, .08);
}

/* 在线签 单模式大按钮 */
#zzSignSheet.zz-sign-sheet-final .zz-segment-online-only {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; margin: 0 0 16px; padding: 7px;
  border-radius: 22px; background: linear-gradient(180deg, #eef7ff 0%, #edf5ff 100%);
}
#zzSignSheet.zz-sign-sheet-final .zz-segment-online-only label { width: min(430px, 64%); margin: 0 auto; }
#zzSignSheet.zz-sign-sheet-final .zz-segment-online-only input { display: none; }
#zzSignSheet.zz-sign-sheet-final .zz-segment-online-only span {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 50px; border-radius: 17px;
  background: linear-gradient(180deg, var(--sign-blue-2) 0%, var(--sign-blue) 100%);
  color: #fff; font-size: 17px; font-weight: 850; letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(10, 132, 247, .23);
}
#zzSignSheet.zz-sign-sheet-final .zz-segment-online-only span svg { width: 20px; height: 20px; stroke-width: 2; }

/* 应用预览卡 */
#zzSignSheet.zz-sign-sheet-final .zz-sign-preview-card {
  display: grid; grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center; gap: 16px; margin: 0 0 18px; padding: 16px;
  border: 1px solid #edf2f8; border-radius: 24px; background: #fff;
  box-shadow: 0 10px 30px rgba(27, 63, 109, .055);
}
#zzSignSheet.zz-sign-sheet-final .zz-sign-preview-card img {
  width: 78px; height: 78px; border-radius: 20px; object-fit: cover;
  background: #eef5ff; box-shadow: 0 8px 18px rgba(26, 69, 125, .09);
}
#zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info {
  min-width: 0; display: flex; flex-direction: column; gap: 7px;
}
#zzSignSheet.zz-sign-sheet-final .zz-preview-title-row {
  display: flex; align-items: center; gap: 9px; min-width: 0; flex-wrap: wrap;
}
#zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info strong {
  min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #101d37; font-size: 19px; line-height: 1.2; font-weight: 900;
}
#zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info span {
  flex: none; padding: 4px 9px; border-radius: 9px; background: #eef4fb;
  color: #70819d; font-size: 11.5px; line-height: 1.25; font-weight: 750;
}
#zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info small {
  color: #7c8ca5; font-size: 13px; line-height: 1.35; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#zzSignSheet.zz-sign-sheet-final .zz-change-icon-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 106px; height: 44px; padding: 0 14px; flex: none;
  border: 0; border-radius: 15px; background: #eaf5ff; color: #087fe9;
  font-size: 14px; font-weight: 850; box-shadow: none;
}
#zzSignSheet.zz-sign-sheet-final .zz-change-icon-btn svg { width: 19px; height: 19px; }

/* 表单 */
#zzSignSheet.zz-sign-sheet-final .zz-sign-form-clean {
  display: flex; flex-direction: column; gap: 14px;
}
#zzSignSheet.zz-sign-sheet-final .zz-form-field {
  margin: 0; color: var(--sign-text); font-size: 14px; font-weight: 820;
}
#zzSignSheet.zz-sign-sheet-final .zz-field-label {
  display: flex; align-items: center; gap: 7px; margin: 0 0 8px;
  color: #20304a; font-size: 14px; line-height: 1.2; font-weight: 820;
}
#zzSignSheet.zz-sign-sheet-final .zz-field-label i {
  display: inline-grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; background: #9aa7bd; color: #fff;
  font-size: 11px; line-height: 1; font-style: normal; font-weight: 800;
  cursor: help;
}
#zzSignSheet.zz-sign-sheet-final .zz-input-shell {
  position: relative; display: flex; align-items: center; width: 100%; min-width: 0;
  height: 52px; border: 1px solid #dfe6ef; border-radius: 17px; background: #fff;
  box-shadow: 0 4px 14px rgba(31, 66, 110, .035); overflow: hidden;
}
#zzSignSheet.zz-sign-sheet-final .zz-input-shell > svg {
  flex: none; width: 21px; height: 21px; margin-left: 16px; color: #223b61;
}
#zzSignSheet.zz-sign-sheet-final .zz-input-text-icon {
  flex: none; width: 21px; margin-left: 16px; color: #223b61;
  font-family: Georgia, serif; font-size: 25px; font-weight: 500; line-height: 1;
}
#zzSignSheet.zz-sign-sheet-final .zz-sign-form-clean .zz-input-shell input {
  flex: 1 1 auto; min-width: 0; width: auto; height: 50px; min-height: 50px;
  margin: 0; padding: 0 15px 0 14px; border: 0; border-radius: 0;
  background: transparent; color: #18263d; font-size: 14px; font-weight: 650;
  box-shadow: none; outline: 0;
}
#zzSignSheet.zz-sign-sheet-final .zz-sign-form-clean .zz-input-shell input::placeholder {
  color: #a0a8b6; font-weight: 600;
}
#zzSignSheet.zz-sign-sheet-final .zz-udid-line {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 10px; margin-top: 8px;
}
#zzSignSheet.zz-sign-sheet-final .zz-field-label + .zz-udid-line { margin-top: 0; }
#zzSignSheet.zz-sign-sheet-final #zzGetSignUdidBtn {
  display: flex; align-items: center; justify-content: center;
  min-width: 112px; height: 52px; min-height: 52px; padding: 0 15px;
  border: 0; border-radius: 17px; text-decoration: none;
  background: linear-gradient(180deg, #2499ff 0%, #0a84f7 100%);
  color: #fff; font-size: 14px; font-weight: 850;
  box-shadow: 0 9px 20px rgba(10, 132, 247, .21);
}

/* 软件介绍卡 */
#zzSignSheet.zz-sign-sheet-final .zz-field-desc-card {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px;
  align-items: start; margin: 0; padding: 15px 16px;
  border: 1px solid #deebfa; border-radius: 20px;
  background: linear-gradient(135deg, #eff7ff 0%, #f8fbff 100%); color: #22334f;
}
#zzSignSheet.zz-sign-sheet-final .zz-desc-icon {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; color: #0a84f7; background: #e6f3ff;
}
#zzSignSheet.zz-sign-sheet-final .zz-desc-icon svg { width: 24px; height: 24px; stroke-width: 1.9; }
#zzSignSheet.zz-sign-sheet-final .zz-desc-content { min-width: 0; }
#zzSignSheet.zz-sign-sheet-final .zz-desc-content > strong {
  display: block; margin: 1px 0 6px; color: #172641; font-size: 15px;
  line-height: 1.2; font-weight: 900;
}
#zzSignSheet.zz-sign-sheet-final .zz-field-desc-card textarea {
  display: block; width: 100%; min-height: 22px; max-height: 120px; margin: 0;
  padding: 0; border: 0; border-radius: 0; background: transparent;
  color: #6d7d96; font-size: 13px; line-height: 1.55; font-weight: 600;
  box-shadow: none; resize: none; overflow: auto; outline: 0;
}

/* 高级设置折叠 */
#zzSignSheet.zz-sign-sheet-final .zz-advanced-settings {
  margin: 0; border: 1px solid #dceafb; border-radius: 20px;
  background: linear-gradient(135deg, #eef7ff 0%, #f7fbff 100%);
  box-shadow: none; overflow: hidden;
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-settings > summary {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center; gap: 12px; min-height: 72px; padding: 10px 16px;
  list-style: none; cursor: pointer;
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-settings > summary::-webkit-details-marker { display: none; }
#zzSignSheet.zz-sign-sheet-final .zz-advanced-icon {
  display: grid; place-items: center; width: 40px; height: 40px; color: #0a84f7;
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-icon svg { width: 30px; height: 30px; stroke-width: 1.8; }
#zzSignSheet.zz-sign-sheet-final .zz-advanced-copy {
  min-width: 0; display: flex; flex-direction: column; gap: 4px;
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-title {
  color: #15243f; font-size: 15px; line-height: 1.15; font-weight: 900;
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-hint {
  display: block; color: #7385a0; font-size: 12.5px; line-height: 1.25;
  font-weight: 600; white-space: normal;
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-chevron {
  width: 10px; height: 10px; justify-self: center; align-self: center;
  border-right: 2px solid #1c3153; border-bottom: 2px solid #1c3153;
  transform: rotate(45deg) translate(-1px, -1px); transition: transform .18s;
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-settings[open] .zz-advanced-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-settings[open] > summary {
  border-bottom: 1px solid #e2edf9; background: rgba(244, 249, 255, .85);
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-settings-body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 13px 15px 15px; background: #fff;
}
#zzSignSheet.zz-sign-sheet-final .zz-advanced-settings-body .zz-field-label { margin-bottom: 7px; }
#zzSignSheet.zz-sign-sheet-final .zz-advanced-settings-body input {
  width: 100%; height: 46px; min-height: 46px; margin: 0; padding: 0 13px;
  border: 1px solid #e0e7f0; border-radius: 14px; background: #fff;
  color: #18263d; font-size: 13.5px; box-shadow: none; outline: 0;
}

/* 提交按钮（文档流，与参考站一致；避免粘性导致的裁切/发白） */
#zzSignSheet.zz-sign-sheet-final .zz-submit-sign-clean {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 48px; min-height: 48px; margin: 16px 0 0; padding: 0 18px;
  border: 0; border-radius: 16px;
  background: linear-gradient(180deg, #259bff 0%, #0a84f7 100%);
  color: #fff; font-size: 15px; font-weight: 850;
  box-shadow: 0 12px 26px rgba(10, 132, 247, .23);
}
#zzSignSheet.zz-sign-sheet-final .zz-submit-sign-clean::before {
  content: ""; position: absolute; inset: -10px -1px -14px;
  z-index: -1; background: linear-gradient(180deg, rgba(251, 253, 255, 0), #fbfdff 35%);
  pointer-events: none;
}
#zzSignSheet.zz-sign-sheet-final .zz-submit-sign-clean svg { width: 22px; height: 22px; stroke-width: 2; }
#zzSignSheet.zz-sign-sheet-final .zz-submit-sign-clean:active { transform: scale(.985); }
#zzSignSheet.zz-sign-sheet-final #zzGetSignUdidBtn:active,
#zzSignSheet.zz-sign-sheet-final .zz-change-icon-btn:active { transform: scale(.96); }

/* 手机端（≤560px）—— ios-sign-sheet-unified 实测值：全宽贴底、近全屏、紧凑内尺寸 */
@media (max-width: 560px) {
  #zzSignSheet.zz-sign-sheet-final {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: calc(var(--zz-stable-sign-height, 100svh) - max(8px, env(safe-area-inset-top)));
    padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(0, calc(100% + 28px), 0) !important;
    visibility: hidden;
    pointer-events: none;
    opacity: 1;
    transition: transform .20s ease, visibility 0s linear .20s !important;
    will-change: transform;
  }
  #zzSignSheet.zz-sign-sheet-final.is-open {
    transform: translate3d(0, 0, 0) !important;
    visibility: visible;
    pointer-events: auto;
    transition: transform .20s ease, visibility 0s linear 0s !important;
  }
  #zzSignSheet.zz-sign-sheet-final input,
  #zzSignSheet.zz-sign-sheet-final textarea:not([readonly]),
  #zzSignSheet.zz-sign-sheet-final select {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
  }
  #zzSignSheet.zz-sign-sheet-final .zz-sheet-handle { width: 52px; height: 4px; margin-bottom: 10px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sheet-head { min-height: 56px; margin-bottom: 10px; padding: 0 48px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sheet-head h2 { font-size: 22px; letter-spacing: -.3px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sheet-head p { margin-top: 6px; font-size: 11.5px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sheet-head .zz-icon-button { top: 2px; width: 42px; height: 42px; border-radius: 15px; font-size: 20px; }
  #zzSignSheet.zz-sign-sheet-final .zz-segment-online-only { min-height: 48px; margin-bottom: 12px; padding: 5px; border-radius: 17px; gap: 6px; }
  #zzSignSheet.zz-sign-sheet-final .zz-segment-online-only label { width: min(320px, 82%); }
  #zzSignSheet.zz-sign-sheet-final .zz-segment-online-only span { min-height: 38px; border-radius: 13px; font-size: 14px; gap: 7px; }
  #zzSignSheet.zz-sign-sheet-final .zz-segment-online-only span svg { width: 18px; height: 18px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-card {
    grid-template-columns: 56px minmax(0, 1fr) auto; gap: 9px;
    margin-bottom: 12px; padding: 10px; border-radius: 17px;
  }
  #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-card img { width: 56px; height: 56px; border-radius: 15px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info { gap: 4px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info strong { font-size: 14px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info small { font-size: 10.5px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info span { padding: 2px 6px; font-size: 10px; border-radius: 7px; }
  #zzSignSheet.zz-sign-sheet-final .zz-change-icon-btn { min-width: 72px; height: 36px; padding: 0 8px; font-size: 11.5px; border-radius: 12px; gap: 5px; }
  #zzSignSheet.zz-sign-sheet-final .zz-change-icon-btn svg { width: 15px; height: 15px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sign-form-clean { gap: 10px; }
  #zzSignSheet.zz-sign-sheet-final .zz-form-field { font-size: 13px; }
  #zzSignSheet.zz-sign-sheet-final .zz-field-label { margin-bottom: 6px; font-size: 12px; gap: 6px; }
  #zzSignSheet.zz-sign-sheet-final .zz-field-label i { width: 16px; height: 16px; font-size: 10px; }
  #zzSignSheet.zz-sign-sheet-final .zz-input-shell { height: 42px; border-radius: 13px; }
  #zzSignSheet.zz-sign-sheet-final .zz-sign-form-clean .zz-input-shell input { height: 40px; min-height: 40px; padding-left: 11px; }
  #zzSignSheet.zz-sign-sheet-final .zz-input-shell > svg { width: 18px; height: 18px; margin-left: 12px; }
  #zzSignSheet.zz-sign-sheet-final .zz-input-text-icon { width: 18px; margin-left: 12px; font-size: 21px; }
  #zzSignSheet.zz-sign-sheet-final .zz-udid-line { gap: 8px; }
  #zzSignSheet.zz-sign-sheet-final #zzGetSignUdidBtn { min-width: 88px; height: 42px; min-height: 42px; padding: 0 8px; border-radius: 13px; font-size: 11.5px; }
  #zzSignSheet.zz-sign-sheet-final .zz-field-desc-card { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; padding: 10px 11px; border-radius: 15px; }
  #zzSignSheet.zz-sign-sheet-final .zz-desc-icon { width: 30px; height: 30px; border-radius: 10px; }
  #zzSignSheet.zz-sign-sheet-final .zz-desc-icon svg { width: 19px; height: 19px; }
  #zzSignSheet.zz-sign-sheet-final .zz-desc-content > strong { font-size: 13.5px; margin-bottom: 2px; }
  #zzSignSheet.zz-sign-sheet-final .zz-field-desc-card textarea { min-height: 18px; font-size: 11.5px; line-height: 1.45; }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-settings { border-radius: 15px; }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-settings > summary {
    grid-template-columns: 30px minmax(0, 1fr) 14px; gap: 8px;
    min-height: 50px; padding: 7px 10px;
  }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-icon { width: 30px; height: 30px; }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-icon svg { width: 23px; height: 23px; }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-copy { gap: 2px; }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-title { font-size: 14px; }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-hint { font-size: 11px; }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-settings-body { gap: 8px; padding: 10px 11px 12px; }
  #zzSignSheet.zz-sign-sheet-final .zz-advanced-settings-body input { height: 42px; min-height: 42px; border-radius: 12px; }
  #zzSignSheet.zz-sign-sheet-final .zz-submit-sign-clean {
    position: relative;
    left: auto; right: auto; bottom: auto;
    height: 46px; min-height: 46px; margin: 10px 0 0;
    border-radius: 15px; font-size: 14px; transform: none;
  }
}

/* 深色模式配套 */
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final {
  background: linear-gradient(180deg, #23262d 0%, #1c1f26 100%);
  box-shadow: 0 -28px 80px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sheet-handle { background: #3a3f49; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sheet-head h2 { color: #f3f6fb; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sheet-head p { color: #93a0b5; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sheet-head .zz-icon-button {
  background: #262a33; border-color: #353b47; color: #e6ebf4;
  box-shadow: 0 9px 26px rgba(0, 0, 0, .35);
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-segment-online-only {
  background: linear-gradient(180deg, rgba(36, 153, 255, .16) 0%, rgba(14, 132, 247, .12) 100%);
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-card {
  background: #23262e; border-color: #333845;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-card img { background: #2a303c; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info strong { color: #eef2f8; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info span { background: #2c3340; color: #9fabbd; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sign-preview-info small { color: #8b98ac; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-change-icon-btn { background: rgba(36, 153, 255, .16); color: #5aa8ff; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-field-label { color: #cdd7e6; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-field-label i { background: #5a6575; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-input-shell {
  background: #23262e; border-color: #353b48;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-input-shell > svg,
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-input-text-icon { color: #8fa6c6; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sign-form-clean .zz-input-shell input { color: #e9eef6; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-sign-form-clean .zz-input-shell input::placeholder { color: #78839a; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-field-desc-card {
  background: linear-gradient(135deg, rgba(36, 153, 255, .12) 0%, rgba(40, 48, 62, .6) 100%);
  border-color: #33405a; color: #c6d2e4;
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-desc-icon { color: #5aa8ff; background: rgba(36, 153, 255, .16); }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-desc-content > strong { color: #e6ecf5; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-field-desc-card textarea { color: #94a2b8; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-advanced-settings {
  background: linear-gradient(135deg, rgba(36, 153, 255, .12) 0%, rgba(40, 48, 62, .6) 100%);
  border-color: #33405a;
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-advanced-title { color: #e2e9f4; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-advanced-hint { color: #8b98ae; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-advanced-chevron { border-color: #aebcd2; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-advanced-settings[open] > summary {
  border-bottom-color: #33405a; background: rgba(30, 42, 60, .6);
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-advanced-settings-body { background: #20232b; }
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-advanced-settings-body input {
  background: #23262e; border-color: #353b48; color: #e9eef6;
}
html[data-theme="dark"] #zzSignSheet.zz-sign-sheet-final .zz-submit-sign-clean::before {
  background: linear-gradient(180deg, rgba(28, 31, 38, 0), #1c1f26 35%);
}

/* ========== v7 记录（已签名）页：实测对齐参考站 ========== */
/* 查询卡 */
.zz-query-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(31, 41, 55, .055);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(31, 45, 61, .055);
}
.zz-query-card > label {
  display: block;
  margin: 0 2px 9px;
  color: #172033;
  font-size: 13px;
  font-weight: 700;
}
.zz-query-line { gap: 8px; }
.zz-query-line input {
  height: 42px;
  min-height: 42px;
  border: 1px solid rgba(31, 41, 55, .075);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  font-size: 14px;
  box-shadow: none;
}
.zz-query-line input:focus {
  border-color: rgba(10, 132, 247, .5);
  box-shadow: 0 0 0 3px rgba(10, 132, 247, .12);
}
.zz-query-line button,
.zz-query-line .zz-primary,
#zzQueryBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 38px;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #168cf8 0%, #0478e9 100%);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(11, 131, 246, .18);
}
.zz-query-line button:active,
.zz-query-line .zz-primary:active { transform: scale(.97); }

/* 空状态：无白卡、透明底、蓝色圆角方块 mask 放大镜 */
.zz-empty.compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  margin: 0;
  padding: 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
.zz-empty.compact .zz-empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 0 14px;
  border: 1px solid rgba(47, 111, 235, .08);
  border-radius: 16px;
  background: linear-gradient(180deg, #eef5ff 0%, #eaf1ff 100%);
  color: #0b83f6;
  box-shadow: none;
}
.zz-empty.compact .zz-empty-icon::before {
  top: 0; left: 0; right: 0; bottom: 0;
  width: auto; height: auto;
  border: 0;
  border-radius: 0;
  background-color: currentColor;
  -webkit-mask: var(--zz-empty-mask) center / 26px 26px no-repeat;
  mask: var(--zz-empty-mask) center / 26px 26px no-repeat;
  transform: none;
}
.zz-empty.compact .zz-empty-icon.is-search {
  --zz-empty-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='5.8'/%3E%3Cpath d='M15.2 15.2 19 19'/%3E%3C/g%3E%3C/svg%3E");
}
.zz-empty.compact .zz-empty-icon.is-filter {
  --zz-empty-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M10 18h4'/%3E%3C/g%3E%3C/svg%3E");
}
.zz-empty.compact .zz-empty-icon.is-upload {
  --zz-empty-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.7h6l4 4V20a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4.7a1 1 0 0 1 1-1z'/%3E%3Cpath d='M13 3.9v4h4'/%3E%3Cpath d='M12 9.8v6.4'/%3E%3Cpath d='M8.8 13h6.4'/%3E%3C/g%3E%3C/svg%3E");
}
.zz-empty.compact .zz-empty-icon::after { content: none; }
.zz-empty.compact h2 {
  margin: 0;
  color: #172033;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.zz-empty.compact p {
  max-width: 420px;
  margin: 8px 0 0;
  color: #727b8a;
  font-size: 13px;
  line-height: 1.55;
}

/* 记录卡 */
.zz-record-list { display: flex; flex-direction: column; gap: 10px; }
.zz-record-card {
  margin: 0;
  padding: 15px 16px;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid rgba(31, 41, 55, .055) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 30px rgba(31, 45, 61, .055) !important;
  color: #172033;
}
.zz-record-card::before { display: none !important; }
.zz-record-card h3,
.zz-record-card .zz-record-head h3 {
  margin: 0;
  color: #172033;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.zz-record-card p {
  margin: 6px 0 0;
  color: #727b8a;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}
.zz-record-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 0;
}
.zz-record-head .zz-sign-task-status {
  padding: 2px 8px;
  border-radius: 999px;
  background: #edf6ff;
  color: #0b83f6;
  font-size: 11px;
  font-weight: 700;
}
.zz-record-head .zz-sign-task-status.is-pending { background: #fff4e5; color: #e8862b; }
.zz-record-head .zz-sign-task-status.is-failed { background: #fdecec; color: #e05252; }
.zz-record-card .zz-record-message.is-failed {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fdecec;
  color: #c0392b;
  font-size: 12px;
}
.zz-record-card .zz-record-message.is-pending {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #727b8a;
  font-size: 12px;
}
.zz-record-card .zz-record-message.is-pending > span {
  width: 12px; height: 12px; flex: none;
  border: 2px solid #cfe4ff;
  border-top-color: #0b83f6;
  border-radius: 50%;
  animation: zz-record-spin .8s linear infinite;
}
.zz-record-card .zz-record-message.is-pending p { margin: 0; }
.zz-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.zz-record-actions > a,
.zz-record-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  height: 38px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #168cf8 0%, #0478e9 100%) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(11, 131, 246, .18);
}
.zz-record-actions > a:active,
.zz-record-actions > button:active { transform: scale(.97); }

/* 记录页深色配套 */
html[data-theme="dark"] .zz-query-card,
html[data-theme="dark"] .zz-record-card {
  background: rgba(255, 255, 255, .06) !important;
  border-color: rgba(255, 255, 255, .08) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28) !important;
  color: #e9eef6;
}
html[data-theme="dark"] .zz-query-card > label,
html[data-theme="dark"] .zz-record-card h3,
html[data-theme="dark"] .zz-record-card .zz-record-head h3 { color: #eef2f8; }
html[data-theme="dark"] .zz-query-line input {
  background: #23262e;
  border-color: rgba(255, 255, 255, .08);
  color: #e9eef6;
}
html[data-theme="dark"] .zz-empty.compact h2 { color: #eef2f8; }
html[data-theme="dark"] .zz-empty.compact p { color: #94a2b8; }
html[data-theme="dark"] .zz-empty.compact .zz-empty-icon {
  background: rgba(36, 153, 255, .16);
  color: #5aa8ff;
}
html[data-theme="dark"] .zz-record-card p { color: #94a2b8; }
html[data-theme="dark"] .zz-record-card .zz-record-message.is-failed {
  background: rgba(224, 82, 82, .14);
  color: #f09a9a;
}
html[data-theme="dark"] .zz-record-head .zz-sign-task-status {
  background: rgba(36, 153, 255, .18);
  color: #5aa8ff;
}

/* ========== v8 会员页：实测对齐参考站（仅样式，功能不动） ========== */
.zz-page[data-page="member"] .zz-member-card,
.zz-page[data-page="member"] .zz-stat,
.zz-page[data-page="member"] .zz-form-card,
.zz-page[data-page="member"] .zz-action-list {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(31, 41, 55, .055);
  box-shadow: 0 12px 30px rgba(31, 45, 61, .055);
}

/* 设备信息卡 */
.zz-page[data-page="member"] .zz-member-card {
  gap: 10px;
  margin: 0 0 9px;
  padding: 16px;
  border-radius: 22px;
}
.zz-page[data-page="member"] .zz-member-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 0;
  border-radius: 50%;
}
.zz-page[data-page="member"] .zz-member-card h2 {
  margin: 0;
  color: #162033;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
}
.zz-page[data-page="member"] .zz-member-card p {
  margin: 4px 0 0;
  color: #737c8b;
  font-size: 12px;
  line-height: 1.4;
}
.zz-page[data-page="member"] .zz-member-card .zz-outline {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #168cf8 0%, #0478e9 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(11, 131, 246, .18);
}
.zz-page[data-page="member"] .zz-member-card .zz-outline:active { transform: scale(.97); }

/* 统计 2×2 */
.zz-page[data-page="member"] .zz-grid-2 {
  gap: 8px;
  margin: 9px 0;
}
.zz-page[data-page="member"] .zz-stat {
  min-height: 68px;
  padding: 14px;
  border-radius: 22px;
}
.zz-page[data-page="member"] .zz-stat span {
  margin: 0;
  color: #737c8b;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.2;
}
.zz-page[data-page="member"] .zz-stat strong {
  margin: 5px 0 0;
  color: #162033;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
}

/* 兑换码表单卡 */
.zz-page[data-page="member"] .zz-form-card {
  margin: 0 0 10px;
  padding: 14px;
  border-radius: 22px;
}
.zz-page[data-page="member"] .zz-form-card > label {
  margin: 4px 0 6px;
  color: #7b8492;
  font-size: 11.5px;
  font-weight: 600;
}
.zz-page[data-page="member"] .zz-form-card > label:not(:first-child) { margin-top: 4px; }
.zz-page[data-page="member"] .zz-form-card .zz-query-line { margin-top: 0; gap: 8px; }
.zz-page[data-page="member"] .zz-form-card .zz-query-line input {
  height: 42px;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(31, 41, 55, .075);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(31, 45, 61, .055);
  color: #172033;
  font-size: 13px;
}

/* 功能列表 */
.zz-page[data-page="member"] .zz-action-list {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
}
.zz-page[data-page="member"] .zz-action-list > a,
.zz-page[data-page="member"] .zz-action-list > button {
  min-height: 52px;
  padding: 0 16px;
  gap: 12px;
  border-bottom: 1px solid rgba(31, 41, 55, .06);
  background: transparent;
}
.zz-page[data-page="member"] .zz-action-list > :last-child { border-bottom: 0; }
.zz-page[data-page="member"] .zz-action-list > a:hover,
.zz-page[data-page="member"] .zz-action-list > button:hover { background: rgba(11, 131, 246, .04); }
.zz-page[data-page="member"] .zz-action-list span {
  color: #1e293b;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.012em;
}
.zz-page[data-page="member"] .zz-action-list em {
  color: #cbd5e1;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

/* 会员页深色配套 */
html[data-theme="dark"] .zz-page[data-page="member"] .zz-member-card,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-stat,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-form-card,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-action-list {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}
html[data-theme="dark"] .zz-page[data-page="member"] .zz-member-card h2,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-stat strong,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-action-list span { color: #eef2f8; }
html[data-theme="dark"] .zz-page[data-page="member"] .zz-member-card p,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-stat span,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-form-card > label { color: #94a2b8; }
html[data-theme="dark"] .zz-page[data-page="member"] .zz-form-card .zz-query-line input {
  background: #23262e;
  border-color: rgba(255, 255, 255, .08);
  box-shadow: none;
  color: #e9eef6;
}
html[data-theme="dark"] .zz-page[data-page="member"] .zz-action-list > a,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-action-list > button { border-bottom-color: rgba(255, 255, 255, .07); }
html[data-theme="dark"] .zz-page[data-page="member"] .zz-action-list em { color: #5d6675; }
html[data-theme="dark"] .zz-page[data-page="member"] .zz-action-list > a:hover,
html[data-theme="dark"] .zz-page[data-page="member"] .zz-action-list > button:hover { background: rgba(36, 153, 255, .1); }

/* ========== v9 悬浮客服按钮：对齐参考站（可拖拽、贴边、位置记忆） ========== */
.zz-kf-fab {
  position: fixed;
  right: 16px;
  bottom: 110px;
  z-index: 50;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 99, 235, .34);
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  padding: 0;
}
.zz-kf-fab svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zz-kf-fab:active { transform: scale(.97); }
.zz-kf-fab.is-dragging {
  transform: scale(1.06);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .4);
}
@media (min-width: 768px) {
  .zz-kf-fab { right: 28px; bottom: 28px; }
}
@media (max-width: 480px) {
  .zz-kf-fab { right: 14px; bottom: 106px; width: 56px; height: 56px; }
}
.zz-kf-badge {
  position: absolute;
  right: -4px;
  top: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid #fff;
}
.zz-kf-badge[hidden] { display: none !important; }

/* ========== v9 工单中心面板（对齐参考站，含深色） ========== */
.zz-workorder-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, .46);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.zz-workorder-mask[hidden] { display: none !important; }
.zz-workorder-card {
  width: min(560px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, .25);
  padding: 22px;
}
.zz-workorder-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.zz-workorder-head h2 { margin: 0; font-size: 23px; color: #0f172a; }
.zz-workorder-head p { margin: 6px 0 0; color: #64748b; font-size: 13px; }
.zz-workorder-close {
  border: 0;
  background: #f1f5f9;
  color: #475569;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 13px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.zz-workorder-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  border-radius: 14px;
  background: #f1f5f9;
  margin-bottom: 16px;
}
.zz-workorder-tab {
  border: 0;
  border-radius: 11px;
  padding: 10px 12px;
  background: transparent;
  color: #64748b;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}
.zz-workorder-tab.is-active { background: #fff; color: #2563eb; box-shadow: 0 4px 12px rgba(15, 23, 42, .07); }
.zz-workorder-field { display: block; margin: 0 0 14px; }
.zz-workorder-field > span { display: block; margin-bottom: 7px; color: #334155; font-size: 14px; font-weight: 700; }
.zz-workorder-field input,
.zz-workorder-field select,
.zz-workorder-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px 13px;
  font-size: 15px;
  color: #0f172a;
  outline: none;
}
.zz-workorder-field textarea { resize: vertical; min-height: 122px; line-height: 1.55; }
.zz-workorder-field input:focus,
.zz-workorder-field select:focus,
.zz-workorder-field textarea:focus {
  border-color: #60a5fa;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, .14);
}
.zz-workorder-upload { margin: 2px 0 15px; }
.zz-workorder-upload-title { font-size: 14px; font-weight: 700; color: #334155; margin-bottom: 8px; }
.zz-workorder-upload-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zz-upload-btn {
  border: 1px dashed #93c5fd;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  padding: 12px 10px;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}
.zz-upload-btn.video { border-color: #c4b5fd; background: #f5f3ff; color: #7c3aed; }
.zz-upload-hint { margin: 7px 2px 0; font-size: 11px; color: #94a3b8; }
.zz-workorder-selected { display: grid; gap: 8px; margin-top: 10px; }
.zz-workorder-selected[hidden] { display: none; }
.zz-selected-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 7px;
}
.zz-selected-item .thumb {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #e2e8f0;
  overflow: hidden;
  flex: 0 0 auto;
}
.zz-selected-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.zz-selected-item .thumb.video { background: #ede9fe; color: #7c3aed; }
.zz-selected-item .name {
  min-width: 0;
  flex: 1;
  font-size: 12px;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zz-selected-item button { border: 0; background: #fff; color: #94a3b8; width: 30px; height: 30px; border-radius: 8px; font-size: 18px; }
.zz-workorder-submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
.zz-workorder-submit[disabled] { opacity: .6; cursor: wait; }
.zz-workorder-result { margin-top: 12px; border-radius: 14px; padding: 11px 13px; font-size: 14px; line-height: 1.5; }
.zz-workorder-result.is-success { background: #ecfdf5; color: #047857; }
.zz-workorder-result.is-error { background: #fef2f2; color: #b91c1c; }
.zz-workorder-hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.zz-ticket-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.zz-ticket-toolbar p { margin: 0; color: #64748b; font-size: 12px; }
.zz-ticket-refresh { border: 0; border-radius: 10px; padding: 8px 11px; background: #eff6ff; color: #2563eb; font-weight: 700; cursor: pointer; }
.zz-workorder-list { display: grid; gap: 12px; }
.zz-ticket-card { border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px; background: #fff; }
.zz-ticket-card.has-reply { border-color: #a7f3d0; background: linear-gradient(180deg, #fff 0%, #f7fffb 100%); }
.zz-ticket-card.is-closed { opacity: .72; }
.zz-ticket-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.zz-ticket-top h3 { font-size: 15px; margin: 4px 0 0; color: #0f172a; }
.zz-ticket-no { font-size: 11px; color: #94a3b8; letter-spacing: .2px; }
.zz-ticket-status { white-space: nowrap; border-radius: 999px; padding: 5px 8px; font-size: 11px; font-weight: 800; }
.zz-ticket-status.s0 { background: #fff1f2; color: #e11d48; }
.zz-ticket-status.s1 { background: #fff7ed; color: #ea580c; }
.zz-ticket-status.s2 { background: #ecfdf5; color: #059669; }
.zz-ticket-status.s3 { background: #f1f5f9; color: #64748b; }
.zz-ticket-meta { display: flex; gap: 12px; color: #94a3b8; font-size: 11px; margin: 8px 0; }
.zz-ticket-desc { color: #475569; font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.zz-ticket-wait { margin-top: 11px; border-radius: 10px; padding: 9px 10px; background: #f8fafc; color: #64748b; font-size: 12px; }
.zz-ticket-reply { margin-top: 11px; border-radius: 12px; padding: 11px; background: #ecfdf5; border: 1px solid #d1fae5; }
.zz-ticket-reply-title { font-size: 12px; font-weight: 800; color: #047857; margin-bottom: 6px; }
.zz-ticket-reply-title span { float: right; font-weight: 500; color: #6b8f82; }
.zz-ticket-reply-body { font-size: 13px; color: #065f46; white-space: pre-wrap; word-break: break-word; line-height: 1.6; }
.zz-ticket-attachments { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 2px; }
.zz-ticket-attachment { flex: 0 0 auto; width: 108px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; padding: 6px; text-decoration: none; }
.zz-ticket-attachment img { width: 96px; height: 70px; object-fit: cover; border-radius: 7px; display: block; }
.zz-ticket-attachment.video { width: 190px; }
.zz-ticket-attachment video { width: 178px; height: 100px; background: #000; border-radius: 7px; display: block; }
.zz-ticket-attachment span,
.zz-ticket-attachment a { display: block; margin-top: 4px; font-size: 10px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zz-ticket-empty,
.zz-ticket-loading { text-align: center; padding: 32px 12px; color: #64748b; }
.zz-ticket-empty > div { font-size: 34px; margin-bottom: 7px; }
.zz-ticket-empty strong { display: block; color: #334155; margin-bottom: 5px; }
.zz-ticket-empty p { font-size: 12px; margin: 0; }
.zz-ticket-loading { font-size: 13px; }

/* 工单面板深色 */
html[data-theme="dark"] .zz-workorder-card { background: #1c2028; box-shadow: 0 26px 80px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .zz-workorder-head h2,
html[data-theme="dark"] .zz-workorder-field > span,
html[data-theme="dark"] .zz-workorder-upload-title,
html[data-theme="dark"] .zz-ticket-top h3,
html[data-theme="dark"] .zz-ticket-empty strong { color: #e9eef6; }
html[data-theme="dark"] .zz-workorder-head p,
html[data-theme="dark"] .zz-ticket-toolbar p,
html[data-theme="dark"] .zz-ticket-empty,
html[data-theme="dark"] .zz-ticket-loading { color: #93a0b4; }
html[data-theme="dark"] .zz-workorder-close { background: #2a2f3a; color: #b7c1d1; }
html[data-theme="dark"] .zz-workorder-tabs { background: #262b35; }
html[data-theme="dark"] .zz-workorder-tab { color: #93a0b4; }
html[data-theme="dark"] .zz-workorder-tab.is-active { background: #353c49; color: #7db6ff; box-shadow: none; }
html[data-theme="dark"] .zz-workorder-field input,
html[data-theme="dark"] .zz-workorder-field select,
html[data-theme="dark"] .zz-workorder-field textarea {
  background: #23262e;
  border-color: rgba(255, 255, 255, .09);
  color: #e9eef6;
}
html[data-theme="dark"] .zz-workorder-field input:focus,
html[data-theme="dark"] .zz-workorder-field select:focus,
html[data-theme="dark"] .zz-workorder-field textarea:focus { background: #262b35; }
html[data-theme="dark"] .zz-upload-hint,
html[data-theme="dark"] .zz-ticket-no,
html[data-theme="dark"] .zz-ticket-meta { color: #76839a; }
html[data-theme="dark"] .zz-upload-btn { background: rgba(37, 99, 235, .16); border-color: rgba(96, 165, 250, .5); color: #8ab8ff; }
html[data-theme="dark"] .zz-upload-btn.video { background: rgba(124, 58, 237, .16); border-color: rgba(167, 139, 250, .5); color: #c3aefb; }
html[data-theme="dark"] .zz-selected-item,
html[data-theme="dark"] .zz-ticket-wait { background: #23262e; border-color: rgba(255, 255, 255, .07); color: #93a0b4; }
html[data-theme="dark"] .zz-selected-item .name { color: #b7c1d1; }
html[data-theme="dark"] .zz-selected-item button { background: #2c323d; color: #93a0b4; }
html[data-theme="dark"] .zz-ticket-refresh { background: rgba(37, 99, 235, .18); color: #8ab8ff; }
html[data-theme="dark"] .zz-ticket-card { background: #20242d; border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .zz-ticket-card.has-reply { border-color: rgba(52, 211, 153, .35); background: linear-gradient(180deg, #20242d 0%, #1f2a27 100%); }
html[data-theme="dark"] .zz-ticket-desc { color: #c2ccdb; }
html[data-theme="dark"] .zz-ticket-status.s0 { background: rgba(225, 29, 72, .16); color: #fb7185; }
html[data-theme="dark"] .zz-ticket-status.s1 { background: rgba(234, 88, 12, .16); color: #fb923c; }
html[data-theme="dark"] .zz-ticket-status.s2 { background: rgba(5, 150, 105, .18); color: #34d399; }
html[data-theme="dark"] .zz-ticket-status.s3 { background: rgba(148, 163, 184, .14); color: #9fb0c5; }
html[data-theme="dark"] .zz-ticket-reply { background: rgba(5, 150, 105, .14); border-color: rgba(52, 211, 153, .25); }
html[data-theme="dark"] .zz-ticket-reply-title,
html[data-theme="dark"] .zz-ticket-reply-title span { color: #5fc9a0; }
html[data-theme="dark"] .zz-ticket-reply-body { color: #9fe6c4; }
html[data-theme="dark"] .zz-ticket-attachment { background: #23262e; border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .zz-ticket-attachment span,
html[data-theme="dark"] .zz-ticket-attachment a { color: #93a0b4; }
html[data-theme="dark"] .zz-workorder-result.is-success { background: rgba(5, 150, 105, .16); color: #6ee7b7; }
html[data-theme="dark"] .zz-workorder-result.is-error { background: rgba(239, 68, 68, .16); color: #fca5a5; }

@media (min-width: 768px) {
  .zz-workorder-card { padding: 26px; }
}
@media (max-width: 480px) {
  .zz-workorder-mask { align-items: flex-end; padding: 8px; }
  .zz-workorder-card { max-height: 88vh; width: 100%; border-radius: 22px; padding: 18px; }
  .zz-workorder-head h2 { font-size: 21px; }
  .zz-workorder-upload-actions { grid-template-columns: 1fr 1fr; }
}

/* ===== 站内安装卡片弹窗（仅“已签名-打开安装页”使用，视觉对齐站内卡片与主按钮） ===== */
.zz-inst-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.zz-inst-mask[hidden] { display: none !important; }
.zz-inst-modal {
  position: fixed;
  inset: 0;
  z-index: 81;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.zz-inst-modal[hidden] { display: none !important; }
.zz-inst-card {
  position: relative;
  width: min(380px, 100%);
  text-align: center;
  padding: 34px 28px 30px;
  border: 1px solid var(--zzref-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--zzref-shadow-card);
}
.zz-inst-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e2ebf5;
  border-radius: 14px;
  background: #fff;
  color: #17243b;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 9px 26px rgba(37, 77, 130, .08);
  transition: transform 150ms ease;
}
.zz-inst-close:active { transform: scale(.94); }
.zz-inst-title {
  font-size: 22px;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 20px;
  word-break: break-all;
}
.zz-inst-icon {
  display: block;
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  border-radius: 20px;
  object-fit: cover;
  background: #eef5ff;
  box-shadow: 0 8px 18px rgba(26, 69, 125, .09);
}
.zz-inst-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin: 24px 0 18px;
  padding: 15px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #168cf8 0%, #0478e9 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(11, 131, 246, .18);
  -webkit-tap-highlight-color: transparent;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.zz-inst-btn:hover {
  background: linear-gradient(180deg, #0f82ed 0%, #026fdd 100%);
}
.zz-inst-btn:active { transform: scale(.98); }
.zz-inst-btn[disabled] { opacity: .6; pointer-events: none; }
.zz-inst-apple { font-size: 19px; font-weight: 700; line-height: 1; }
.zz-inst-tags { margin-bottom: 6px; }
.zz-inst-tag {
  display: inline-block;
  margin: 0 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.zz-inst-tag.is-blue {
  background: linear-gradient(180deg, #168cf8 0%, #0478e9 100%);
  box-shadow: 0 6px 14px rgba(11, 131, 246, .16);
}
.zz-inst-tag.is-red { background: var(--danger); }
.zz-inst-qrbox { margin-top: 24px; }
.zz-inst-qrbox p { margin: 0 0 16px; font-size: 14px; color: #767d89; }
#zzInstallQr {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid #edf2f8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(27, 63, 109, .055);
  display: flex;
  align-items: center;
  justify-content: center;
}
#zzInstallQr img,
#zzInstallQr canvas,
#zzInstallQr table { width: 100% !important; height: 100% !important; }

/* 安装卡片深色模式（对齐站内深色卡片） */
html[data-theme="dark"] .zz-inst-card {
  border-color: rgba(255, 255, 255, .07);
  background: var(--surface-raised);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}
html[data-theme="dark"] .zz-inst-close {
  border-color: rgba(255, 255, 255, .08);
  background: var(--surface);
  color: var(--text-secondary);
  box-shadow: 0 9px 26px rgba(0, 0, 0, .22);
}
html[data-theme="dark"] .zz-inst-icon {
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}
html[data-theme="dark"] .zz-inst-btn {
  background: linear-gradient(180deg, #2f9bff 0%, #0b83f6 100%);
  box-shadow: 0 8px 20px rgba(11, 131, 246, .3);
}
html[data-theme="dark"] .zz-inst-btn:hover {
  background: linear-gradient(180deg, #2590f5 0%, #0878e6 100%);
}
html[data-theme="dark"] .zz-inst-tag.is-blue {
  background: linear-gradient(180deg, #2f9bff 0%, #0b83f6 100%);
  box-shadow: 0 6px 16px rgba(11, 131, 246, .28);
}
html[data-theme="dark"] .zz-inst-qrbox p { color: var(--text-secondary); }
html[data-theme="dark"] #zzInstallQr {
  border-color: rgba(255, 255, 255, .08);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

/* ===== 签名提交后的“生成中”进度弹窗（颜色沿用站内主题变量，自动适配明/暗） ===== */
.zz-sign-mask {
  position: fixed;
  inset: 0;
  z-index: 84;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.zz-sign-mask[hidden] { display: none !important; }
.zz-sign-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.zz-sign-modal[hidden] { display: none !important; }
.zz-sign-card {
  width: min(440px, 100%);
  padding: 46px 40px 42px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.zz-sign-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
  line-height: 1.15;
}
.zz-sign-title em {
  font-style: normal;
  color: var(--accent);
  margin-left: 6px;
}
.zz-sign-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-secondary);
  letter-spacing: .04em;
}
.zz-sign-bar {
  margin: 36px 0 28px;
  height: 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}
.zz-sign-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width .35s ease;
}
.zz-sign-tip {
  font-size: 15px;
  color: var(--text-tertiary);
  letter-spacing: .03em;
}

