:root {
  --green: #00a66c;
  --dark: #087651;
  --mint: #eaf8f1;
  --ink: #243731;
  --muted: #84918c;
  --line: #e7eeeb;
  --bg: #f3f8f7;
  --amber: #a8752a;
  --radius: 20px;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.4;
}
h2 {
  font-size: 20px;
  font-weight: 650;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8dcfb1;
  outline-offset: 4px;
}
input:focus,
select:focus {
  outline: 2px solid #8dcfb1;
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -100px;
  padding: 10px;
  background: #fff;
  z-index: 50;
}
.skip-link:focus {
  top: 0;
}
.preview-bar {
  background: #e4efea;
  color: #61776c;
  font-size: 11px;
  padding: 7px 24px;
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: center;
}
.preview-bar button {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px;
  min-height: 25px;
}
.site-header {
  height: 80px;
  max-width: 900px;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 650;
}
.brand-symbol {
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  border-radius: 11px;
  width: 32px;
  height: 32px;
  font-size: 25px;
  font-weight: 400;
}
.site-caption {
  color: #9baaa3;
  font-size: 12px;
  border-left: 1px solid #dce8e1;
  padding-left: 18px;
}
.help-link {
  margin-left: auto;
  font-size: 13px;
  color: #71877b;
  min-height: 44px;
}
.site-footer {
  font-size: 11px;
  color: #a2b1a8;
  text-align: center;
  padding: 32px 20px;
}
#main {
  max-width: 844px;
  margin: auto;
  padding: 14px 0 0;
  min-height: 70vh;
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 4px 6px 26px;
}
.avatar {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #59a086;
  background: linear-gradient(145deg, #d9efe7, #edf7f3);
  flex-shrink: 0;
}
.avatar svg {
  width: 35px;
  height: 35px;
}
.avatar.gray {
  background: #f0f3f2;
  color: #b3c0ba;
}
.avatar.small {
  height: 52px;
  width: 52px;
  border-radius: 16px;
}
.profile-info {
  flex: 1;
  min-width: 0;
}
.profile-info h1 {
  font-size: 23px;
  letter-spacing: 0.5px;
}
.profile-info p {
  font-size: 12px;
  color: #92a39a;
  margin-top: 5px;
}
.profile-info p button {
  color: var(--green);
  padding: 3px 5px;
}
.profile-actions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 12px;
  align-items: center;
}
.profile-actions > .help-link {
  margin: 0;
  grid-row: 1/3;
}
.button {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  line-height: 1.5;
}
.button.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 12px #00a66c12;
}
.button.primary:hover {
  background: #009660;
}
.button.outline {
  color: var(--green);
  border: 1px solid #b5dfca;
  background: white;
}
.button.soft {
  color: var(--dark);
  background: var(--mint);
}
.button.neutral {
  border: 1px solid #dce6df;
  background: white;
  color: #65796c;
}
.button.danger {
  color: #aa5349;
  background: #fcefeb;
}
.button svg {
  width: 17px;
  height: 17px;
}
.text-button {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 0;
  font-weight: 500;
  font-size: 14px;
}
.text-button svg {
  height: 17px;
  width: 17px;
}
.promo {
  width: 100%;
  border: 1px solid #d8e8d8;
  background: linear-gradient(110deg, #e2f3e7, #f4f4de);
  display: flex;
  text-align: left;
  align-items: center;
  gap: 18px;
  padding: 19px 24px;
  border-radius: 15px;
  margin-bottom: 26px;
}
.promo-symbol {
  height: 43px;
  width: 43px;
  border-radius: 13px;
  background: #fff9;
  color: #619e7f;
  display: grid;
  place-items: center;
}
.promo strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.4px;
}
.promo p {
  font-size: 12px;
  color: #83a08c;
  margin-top: 1px;
}
.promo .promo-link {
  margin-left: auto;
  font-size: 13px;
  color: #52856a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px 30px;
  box-shadow: 0 6px 20px #35694703;
  margin-bottom: 22px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.panel-head h2 {
  font-size: 19px;
}
.panel-head .text-button {
  color: #8b9d91;
  font-size: 13px;
  min-height: 30px;
}
.count {
  color: #9caaa2;
  font-size: 0.8em;
  font-weight: 400;
  margin-left: 7px;
}
.wechat-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wechat-main {
  flex: 1;
  min-width: 0;
}
.wechat-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wechat-name h3 {
  font-size: 18px;
}
.wechat-main p {
  font-size: 12px;
  color: #99a79f;
  margin-top: 6px;
}
.wechat-main p button {
  color: #c89758;
  padding: 0 7px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #98a69d;
  background: #f2f5f3;
  white-space: nowrap;
}
.tag.online {
  background: #eaf7ee;
  color: #47a275;
}
.tag.online:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #53b787;
}
.tag.warn {
  background: #fff5e7;
  color: #b28548;
}
.wechat-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.wechat-actions .text-button {
  font-size: 12px;
}
.account-note {
  margin-top: 18px;
  border-top: 1px solid #f0f4f2;
  padding-top: 14px;
  font-size: 12px;
  color: #96a59c;
  display: flex;
  align-items: center;
  gap: 7px;
}
.account-note svg {
  width: 15px;
  height: 15px;
}
.module-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 25px 0 21px;
}
.module-tab {
  font-size: 21px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #a0ada6;
  padding: 17px 10px;
  position: relative;
}
.module-tab svg {
  width: 26px;
  height: 26px;
}
.module-tab.active {
  color: var(--green);
}
.module-tab.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 32px;
  height: 4px;
  border-radius: 5px;
  background: var(--green);
}
.setup-section + .setup-section {
  border-top: 1px dashed #e2eae5;
  margin-top: 27px;
  padding-top: 27px;
}
.step-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.step-number {
  height: 25px;
  width: 25px;
  border: 1.6px solid #536e60;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}
.step-title h2 {
  font-size: 20px;
}
.explanation {
  font-size: 13px;
  color: #94a49b;
  line-height: 1.85;
  margin-bottom: 17px;
}
.explanation button {
  color: var(--green);
  padding: 0;
}
.selection {
  background: #f6f9f7;
  border: 1px solid #eef3ef;
  border-radius: 13px;
  display: flex;
  align-items: center;
  padding: 18px;
  gap: 15px;
}
.selection > .avatar {
  height: 46px;
  width: 46px;
  border-radius: 13px;
}
.selection > .avatar svg {
  width: 25px;
  height: 25px;
}
.selection-info {
  flex: 1;
  min-width: 0;
}
.selection-info h3 {
  font-size: 16px;
}
.selection-info p {
  font-size: 12px;
  color: #98a79d;
  margin-top: 3px;
}
.selection .text-button {
  white-space: nowrap;
}
.locked-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  background: #f5f8f5;
  border: 1px solid #e7eee7;
  border-radius: 10px;
  font-size: 13px;
  color: #92a193;
  margin-bottom: 20px;
}
.locked-note svg {
  width: 18px;
  height: 18px;
}
.locked-note button {
  color: var(--green);
  white-space: nowrap;
  margin-left: auto;
  font-weight: 600;
}
.empty-groups {
  text-align: center;
  padding: 24px 12px 17px;
  background: #fbfcfb;
  border: 1px dashed #dfe9e1;
  border-radius: 13px;
}
.empty-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f0f6f1;
  display: grid;
  place-items: center;
  color: #a4bdab;
  margin: 0 auto 10px;
}
.empty-groups p {
  font-size: 13px;
  color: #9bab9f;
  margin: 4px 0 15px;
}
.group-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 13px;
}
.group-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #f0f7f1;
  padding: 10px 12px;
  font-size: 13px;
  color: #6c8975;
}
.group-chip button {
  display: grid;
  place-items: center;
  padding: 3px;
}
.group-chip button svg {
  width: 14px;
  height: 14px;
}
.group-chip > svg {
  width: 17px;
  height: 17px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
}
.setting-row + .setting-row {
  border-top: 1px solid #edf2ee;
}
.setting-row h3 {
  font-size: 15px;
}
.setting-row p {
  font-size: 12px;
  color: #95a499;
  margin-top: 4px;
}
.setting-row > button {
  flex-shrink: 0;
}
.settings-extra {
  margin-top: 23px;
  border-top: 1px solid #edf2ee;
  padding-top: 4px;
}
.switch {
  height: 28px;
  width: 48px;
  border-radius: 20px;
  background: #e0e7e2;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.switch:before {
  content: "";
  height: 22px;
  width: 22px;
  background: white;
  box-shadow: 0 2px 4px #203d2c12;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 3px;
  transition: transform 0.2s;
}
.switch[aria-checked="true"] {
  background: var(--green);
}
.switch[aria-checked="true"]:before {
  transform: translateX(20px);
}
.switch:after {
  content: "";
  position: absolute;
  inset: -9px -4px;
}
.start-area {
  border-top: 1px solid #edf2ee;
  margin-top: 18px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.start-area p {
  font-size: 12px;
  color: #92a499;
}
.running {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
}
.running svg {
  width: 18px;
  height: 18px;
}
.tools-panel h2 {
  margin-bottom: 20px;
  font-size: 18px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 10px;
}
.tool {
  text-align: center;
  font-size: 13px;
  padding: 8px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.tool-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: #edf8f0;
  color: #62a980;
}
.tool:nth-child(2) .tool-icon,
.tool:nth-child(6) .tool-icon {
  background: #edf4fb;
  color: #7aa1bd;
}
.tool:nth-child(3) .tool-icon {
  background: #faf4e9;
  color: #bd9c67;
}
.tool:nth-child(4) .tool-icon {
  background: #f3effa;
  color: #aa98bd;
}
.bottom-note {
  font-size: 12px;
  color: #9daea1;
  text-align: center;
}
.bottom-note button {
  min-height: 44px;
}
.back-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 24px;
}
.back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7f9588;
  min-height: 44px;
  font-size: 13px;
}
.back-link svg {
  height: 17px;
  width: 17px;
}
.page-title {
  margin: 0 4px 22px;
}
.page-title p {
  color: #8fa397;
  font-size: 14px;
  margin-top: 7px;
}
.auth-layout {
  max-width: 470px;
  margin: 26px auto 50px;
}
.auth-intro {
  text-align: center;
  margin-bottom: 26px;
}
.auth-intro .brand-symbol {
  width: 52px;
  height: 52px;
  font-size: 37px;
  border-radius: 16px;
  margin: 0 auto 18px;
}
.auth-intro h1 {
  font-size: 27px;
}
.auth-intro p {
  font-size: 14px;
  color: #8fa397;
  margin-top: 8px;
}
.auth-panel {
  padding: 30px 35px;
}
.auth-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 27px;
  border-bottom: 1px solid var(--line);
}
.auth-tabs button {
  font-size: 18px;
  font-weight: 600;
  padding: 0 0 14px;
  color: #a2aea5;
}
.auth-tabs button.active {
  color: var(--green);
  border-bottom: 3px solid var(--green);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
}
.field > span,
.field > label {
  font-size: 14px;
  font-weight: 550;
}
.field input,
.field select {
  width: 100%;
  height: 48px;
  border: 1px solid #dfe8e2;
  border-radius: 9px;
  padding: 10px 13px;
  background: white;
  color: var(--ink);
  font-size: 16px;
}
.field input[readonly] {
  background: #f6f9f7;
  color: #92a198;
}
.field small {
  font-size: 12px;
  color: #97a59c;
  font-weight: 400;
}
.input-row {
  display: flex;
  gap: 10px;
}
.input-row input {
  min-width: 0;
  flex: 1;
}
.input-row .button {
  font-size: 12px;
  padding: 9px 12px;
}
.full {
  width: 100%;
}
.auth-panel .form-note {
  font-size: 12px;
  color: #9aa89f;
  margin-top: 17px;
  line-height: 1.9;
}
.auth-bottom {
  text-align: center;
  font-size: 13px;
  color: #8da091;
  margin-top: 20px;
}
.auth-bottom button {
  color: var(--green);
  padding: 6px;
}
.auth-footsteps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #96aa9c;
  margin: 24px 0;
}
.auth-footsteps svg {
  height: 14px;
  width: 14px;
}
.form-error {
  color: #b75e51;
  font-size: 13px;
  margin: 12px 0;
  padding: 9px 12px;
  background: #fff3ef;
  border-radius: 8px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
}
.login-steps {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 28px;
  gap: 8px;
  color: #b0bcb3;
  font-size: 13px;
}
.login-step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.login-step i {
  width: 24px;
  height: 24px;
  border: 1px solid #dae4dc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
}
.login-step.active {
  color: var(--green);
}
.login-step.active i {
  background: var(--mint);
  border-color: #b9e1c9;
}
.qr-placeholder {
  height: 218px;
  width: 218px;
  border: 1px solid #dce8df;
  border-radius: 17px;
  margin: 0 auto 15px;
  background: #f7faf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9bb5a4;
  position: relative;
}
.qr-placeholder:before,
.qr-placeholder:after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  inset: 16px auto auto 16px;
  border-top: 3px solid #bfdbca;
  border-left: 3px solid #bfdbca;
  border-radius: 3px;
}
.qr-placeholder:after {
  inset: auto 16px 16px auto;
  transform: rotate(180deg);
}
.qr-placeholder > svg {
  height: 46px;
  width: 46px;
  margin-bottom: 15px;
}
.qr-placeholder strong {
  font-size: 15px;
  font-weight: 500;
  color: #6d967c;
}
.qr-placeholder small {
  font-size: 11px;
  max-width: 155px;
  margin-top: 7px;
}
.login-status {
  text-align: center;
}
.login-status strong {
  display: block;
  font-size: 16px;
  color: var(--dark);
}
.login-status p {
  font-size: 12px;
  color: #91a596;
  margin-top: 5px;
}
.login-instructions h3 {
  font-size: 16px;
  margin-bottom: 20px;
}
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: instructions;
}
.numbered-list li {
  padding-left: 32px;
  position: relative;
  margin: 0 0 22px;
  font-size: 14px;
  counter-increment: instructions;
}
.numbered-list li:before {
  content: counter(instructions);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf6ef;
  color: #76a185;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.numbered-list li small {
  display: block;
  color: #8e9f93;
  font-size: 12px;
  margin-top: 4px;
}
.callout {
  background: #f4f8f4;
  border: 1px solid #e4eee4;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 12px;
  color: #829a85;
  line-height: 1.9;
}
.demo-controls {
  border-top: 1px dashed #dce7de;
  padding-top: 20px;
  margin-top: 24px;
}
.demo-controls p {
  font-size: 11px;
  color: #a0afa3;
  margin-bottom: 12px;
}
.demo-control-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.demo-controls .button {
  font-size: 12px;
}
.account-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.account-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 11px;
}
.account-tile.current {
  border-color: #a2d9b9;
}
.account-tile p {
  font-size: 12px;
  color: #98aa9c;
}
.account-tile .tile-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.account-tile .button {
  font-size: 13px;
  padding: 9px 15px;
}
.add-account {
  border-style: dashed;
  justify-content: center;
  min-height: 225px;
  cursor: pointer;
}
.add-account .avatar {
  background: #eef8f1;
  border: 1px solid #d8ebdf;
  color: #83b496;
}
.mall-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mall-row {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.mall-icon {
  display: grid;
  place-items: center;
  height: 45px;
  width: 45px;
  background: #f7f0e5;
  color: #bc9e69;
  border-radius: 12px;
  flex-shrink: 0;
}
.mall-row h3 {
  font-size: 16px;
}
.mall-row p {
  font-size: 12px;
  color: #8ea294;
  margin-top: 4px;
}
.mall-row .mall-text {
  flex: 1;
  min-width: 0;
}
.mall-row .button {
  font-size: 13px;
}
.card-sample {
  background: #f6f9f6;
  border: 1px solid #e0ebe1;
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.card-sample p {
  font-size: 12px;
  color: #8a9f90;
}
.card-sample strong {
  display: block;
  margin-top: 3px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 53px;
  border-bottom: 1px solid #edf2ed;
  font-size: 14px;
  cursor: pointer;
}
.check-row:last-child {
  border: 0;
}
.check-row input {
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.check-row small {
  color: #9cae9f;
  font-size: 12px;
  display: block;
}
.search-input {
  height: 45px;
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #dde8df;
  border-radius: 9px;
  font-size: 16px;
  margin-bottom: 15px;
}
.list-help {
  font-size: 12px;
  color: #90a394;
  margin: 12px 0;
}
.empty-page {
  text-align: center;
  padding: 45px 15px;
}
.empty-page svg {
  width: 37px;
  height: 37px;
  color: #b0c7b7;
  margin-bottom: 14px;
}
.empty-page h3 {
  font-size: 16px;
}
.empty-page p {
  color: #8eaa97;
  font-size: 13px;
  margin: 8px auto 18px;
  max-width: 350px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.material {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
}
.material > svg {
  color: #83ac90;
  margin-bottom: 12px;
}
.material h3 {
  font-size: 16px;
}
.material p {
  font-size: 12px;
  color: #9aac9d;
  margin: 6px 0 12px;
}
.record-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.record-row:last-child {
  border: 0;
}
.record-row .record-info {
  flex: 1;
}
.record-info h3 {
  font-size: 14px;
}
.record-info p {
  font-size: 12px;
  color: #94a59a;
  margin-top: 3px;
}
.record-row > svg {
  color: #8eb79c;
}
.moment-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.moment-switch-row h2 {
  font-size: 20px;
}
.tab-strip {
  display: flex;
  gap: 30px;
  margin: 0 0 18px;
}
.tab-strip button {
  color: #a4b1a8;
  padding: 8px 0;
  font-size: 16px;
}
.tab-strip button.active {
  color: var(--green);
  border-bottom: 3px solid var(--green);
}
dialog {
  padding: 0;
  border: 1px solid #dfe9e1;
  border-radius: 22px;
  width: 540px;
  max-width: calc(100vw - 36px);
  max-height: 88vh;
  color: var(--ink);
  box-shadow: 0 25px 100px #234c3630;
}
dialog::backdrop {
  background: #213e324e;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 27px 28px 19px;
  border-bottom: 1px solid var(--line);
}
.dialog-head > div {
  flex: 1;
}
.dialog-head h2 {
  font-size: 22px;
}
.dialog-head p {
  font-size: 13px;
  color: #8fa394;
  margin-top: 6px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #8ba091;
  background: #f2f6f3;
  flex-shrink: 0;
}
.icon-button svg {
  height: 19px;
  width: 19px;
}
.dialog-body {
  padding: 24px 28px;
}
.dialog-footer {
  padding: 18px 28px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.dialog-body h3 {
  font-size: 16px;
  margin: 15px 0 6px;
}
.dialog-body h3:first-child {
  margin-top: 0;
}
.dialog-body > p {
  font-size: 14px;
  color: #869e8e;
  line-height: 1.9;
}
.dialog-body > .button + .button {
  margin-top: 10px;
}
.price-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.price-option {
  border: 1px solid #dce8df;
  border-radius: 10px;
  padding: 17px 5px;
  text-align: center;
}
.price-option.selected {
  border-color: var(--green);
  background: var(--mint);
}
.price-option strong {
  display: block;
  font-size: 15px;
}
.price-option span {
  font-size: 12px;
  color: #9aa99e;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.summary-row > span:first-child {
  color: #95a89a;
}
#toast {
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translate(-50%, 15px);
  max-width: calc(100vw - 35px);
  width: max-content;
  padding: 12px 20px;
  border-radius: 11px;
  background: #284a39ed;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
  z-index: 100;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 900px) {
  #main {
    margin: 0 24px;
  }
  .site-header {
    padding: 0 24px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .preview-bar {
    padding: 5px 12px;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
  }
  .preview-bar button {
    font-size: 10px;
  }
  .site-header {
    height: 68px;
    padding: 0 20px;
  }
  .site-caption {
    display: none;
  }
  .brand {
    font-size: 17px;
    gap: 9px;
  }
  .brand-symbol {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    font-size: 23px;
  }
  .help-link {
    font-size: 12px;
  }
  #main {
    margin: 0 16px;
    padding-top: 9px;
  }
  .profile-head {
    gap: 11px;
    margin: 3px 3px 22px;
  }
  .profile-head .avatar {
    height: 52px;
    width: 52px;
    border-radius: 18px;
  }
  .profile-head .avatar svg {
    width: 28px;
    height: 28px;
  }
  .profile-info h1 {
    font-size: 19px;
  }
  .profile-info p {
    font-size: 10px;
    line-height: 1.7;
    white-space: nowrap;
  }
  .profile-info p button {
    padding: 2px 4px;
    font-size: 10px;
  }
  .profile-actions {
    gap: 7px;
  }
  .profile-actions > .help-link {
    display: none;
  }
  .profile-actions .button {
    grid-column: 1;
    font-size: 12px;
    min-height: 33px;
    padding: 6px 11px;
    border-radius: 100px;
  }
  .promo {
    padding: 15px 16px;
    gap: 11px;
    margin-bottom: 20px;
    border-radius: 14px;
  }
  .promo-symbol {
    height: 37px;
    width: 37px;
    border-radius: 11px;
  }
  .promo strong {
    font-size: 15px;
  }
  .promo p {
    font-size: 10px;
  }
  .promo .promo-link {
    font-size: 11px;
    white-space: nowrap;
    gap: 3px;
  }
  .promo .promo-link svg {
    width: 15px;
    height: 15px;
  }
  .panel {
    padding: 21px 20px;
    margin-bottom: 18px;
    border-radius: 19px;
  }
  .panel-head {
    margin-bottom: 17px;
  }
  .panel-head h2 {
    font-size: 18px;
  }
  .panel-head .text-button {
    font-size: 12px;
  }
  .wechat-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .wechat-main {
    min-width: 130px;
  }
  .wechat-name {
    gap: 6px;
  }
  .wechat-name h3 {
    font-size: 16px;
  }
  .wechat-main p {
    font-size: 11px;
  }
  .wechat-row .avatar {
    height: 48px;
    width: 48px;
    border-radius: 14px;
  }
  .wechat-actions {
    margin-left: 60px;
    width: calc(100% - 60px);
    gap: 12px;
  }
  .wechat-actions .button {
    font-size: 13px;
    min-height: 39px;
    padding: 8px 15px;
    border-radius: 100px;
  }
  .account-note {
    font-size: 11px;
    margin-top: 16px;
    padding-top: 12px;
    align-items: flex-start;
  }
  .account-note svg {
    margin-top: 3px;
  }
  .module-tabs {
    margin: 21px 0 16px;
    gap: 10px;
  }
  .module-tab {
    font-size: 20px;
    padding: 14px 10px;
    gap: 8px;
  }
  .module-tab svg {
    width: 24px;
    height: 24px;
  }
  .step-title h2 {
    font-size: 18px;
  }
  .step-number {
    width: 23px;
    height: 23px;
    font-size: 13px;
  }
  .explanation {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .selection {
    padding: 15px 12px;
    gap: 11px;
  }
  .selection > .avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .selection-info h3 {
    font-size: 15px;
  }
  .selection-info p {
    font-size: 11px;
  }
  .selection .text-button {
    font-size: 13px;
  }
  .selection .text-button svg {
    width: 15px;
    height: 15px;
  }
  .empty-groups {
    padding: 19px 10px 15px;
  }
  .empty-groups p {
    font-size: 12px;
  }
  .empty-groups .button {
    font-size: 13px;
    min-height: 42px;
  }
  .setup-section + .setup-section {
    margin-top: 25px;
    padding-top: 25px;
  }
  .locked-note {
    padding: 11px 12px;
    font-size: 12px;
    gap: 7px;
    align-items: flex-start;
  }
  .locked-note svg {
    height: 16px;
    width: 16px;
    margin-top: 2px;
  }
  .locked-note button {
    font-size: 12px;
    padding: 0;
  }
  .setting-row h3 {
    font-size: 14px;
  }
  .setting-row p {
    font-size: 11px;
  }
  .setting-row .text-button {
    font-size: 12px;
  }
  .start-area {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
  .start-area > .button {
    width: 100%;
    font-size: 15px;
    min-height: 46px;
  }
  .start-area p {
    font-size: 12px;
  }
  .tools-grid {
    gap: 12px 8px;
  }
  .tool {
    font-size: 12px;
  }
  .tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .tool-icon svg {
    width: 22px;
    height: 22px;
  }
  .tools-panel h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .auth-layout {
    margin: 20px auto 35px;
    max-width: 400px;
  }
  .auth-intro h1 {
    font-size: 24px;
  }
  .auth-intro p {
    font-size: 13px;
  }
  .auth-panel {
    padding: 26px 23px;
  }
  .auth-tabs button {
    font-size: 17px;
  }
  .input-row .button {
    font-size: 11px;
    padding: 9px 11px;
  }
  .auth-footsteps {
    gap: 6px;
    font-size: 11px;
  }
  .auth-bottom {
    font-size: 12px;
  }
  .back-row {
    margin-bottom: 18px;
  }
  .page-title h1 {
    font-size: 25px;
  }
  .page-title p {
    font-size: 13px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .login-instructions {
    border-top: 1px solid var(--line);
    padding-top: 23px;
  }
  .login-steps {
    font-size: 11px;
    margin-bottom: 23px;
    gap: 6px;
  }
  .login-step {
    gap: 5px;
  }
  .login-step i {
    height: 21px;
    width: 21px;
    font-size: 11px;
  }
  .login-instructions h3 {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .demo-controls .button {
    min-height: 43px;
  }
  .account-list {
    gap: 12px;
  }
  .account-tile {
    padding: 22px 12px;
  }
  .account-tile h3 {
    font-size: 15px;
  }
  .account-tile .button {
    font-size: 12px;
    padding: 8px 13px;
    min-height: 39px;
  }
  .account-tile p {
    font-size: 11px;
  }
  .account-tile .tile-actions {
    gap: 8px;
  }
  .account-tile .avatar {
    width: 50px;
    height: 50px;
  }
  .mall-row {
    padding: 17px 14px;
    flex-wrap: wrap;
    gap: 11px;
  }
  .mall-row .mall-text {
    flex: 1 1 calc(100% - 56px);
  }
  .mall-row .button {
    margin-left: 56px;
  }
  .library-grid {
    grid-template-columns: 1fr;
  }
  .moment-switch-row h2 {
    font-size: 18px;
  }
  .record-row .tag {
    font-size: 10px;
  }
  .record-info h3 {
    font-size: 13px;
  }
  .record-info p {
    font-size: 11px;
  }
  dialog {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    max-height: 92dvh;
    border-radius: 23px 23px 0 0;
  }
  .dialog-head {
    padding: 23px 22px 17px;
  }
  .dialog-head h2 {
    font-size: 21px;
  }
  .dialog-head p {
    font-size: 12px;
  }
  .dialog-body {
    padding: 21px 22px;
  }
  .dialog-footer {
    padding: 17px 22px max(22px, env(safe-area-inset-bottom));
  }
  .dialog-footer .button {
    flex: 1;
    font-size: 14px;
  }
  .dialog-body .callout {
    font-size: 12px;
  }
  .site-footer {
    padding: 25px 16px;
  }
  .switch {
    width: 46px;
    height: 27px;
  }
  .switch:before {
    width: 21px;
    height: 21px;
  }
  .switch[aria-checked="true"]:before {
    transform: translateX(19px);
  }
}
@media (max-width: 360px) {
  #main {
    margin: 0 12px;
  }
  .panel {
    padding: 20px 16px;
  }
  .profile-head {
    gap: 8px;
  }
  .profile-head .avatar {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }
  .profile-info h1 {
    font-size: 17px;
  }
  .profile-info p {
    font-size: 9px;
  }
  .profile-actions .button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .promo {
    padding: 13px;
    gap: 9px;
  }
  .promo strong {
    font-size: 13px;
  }
  .promo-symbol {
    width: 33px;
    height: 33px;
  }
  .promo p {
    font-size: 9px;
  }
  .promo .promo-link {
    font-size: 10px;
  }
  .tag {
    font-size: 10px;
  }
  .wechat-main {
    min-width: 115px;
  }
  .step-title h2 {
    font-size: 17px;
  }
  .selection-info p {
    font-size: 10px;
  }
  .auth-panel {
    padding: 23px 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
/* Official software-account login; the business UI below remains unchanged. */
.wechat-auth-panel {
  text-align: center;
  padding-top: 36px;
  padding-bottom: 28px;
}
.wechat-login-symbol {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: #e8f7ee;
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}
.wechat-login-symbol svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.5;
}
.wechat-auth-panel h2 {
  font-size: 21px;
}
.wechat-login-description {
  font-size: 13px;
  color: #8c9e92;
  line-height: 1.9;
  margin: 11px 0 27px;
}
.wechat-auth-panel .button.primary {
  min-height: 48px;
  font-size: 16px;
}
.oauth-availability {
  font-size: 12px;
  line-height: 1.9;
  color: #91a498;
  margin: 14px 0 22px;
}
.auth-separator {
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.auth-explain {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
  color: #8a9f91;
  font-size: 12px;
  line-height: 1.9;
}
.auth-explain svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.auth-bottom p {
  font-size: 11px;
  color: #a0afa5;
  margin-top: 3px;
}
.wechat-auth-panel .form-error {
  text-align: left;
}
@media (max-width: 600px) {
  .wechat-auth-panel {
    padding: 30px 24px 26px;
  }
  .wechat-auth-panel h2 {
    font-size: 20px;
  }
  .wechat-login-description {
    font-size: 13px;
  }
  .wechat-login-symbol {
    width: 68px;
    height: 68px;
    border-radius: 21px;
  }
}
.profile-info h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-info p {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Account-bound companion pairing */
.pair-demo-note{padding:12px 16px;margin-bottom:22px;border-radius:12px;background:#fff7e5;color:#89651f;font-size:13px;line-height:1.6}
.pair-account-tabs,.pair-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.pair-add{margin:22px 0}.pair-add label{display:block;color:#63766e;font-size:13px;margin-bottom:8px}.pair-add>div{display:flex;gap:10px}.pair-add input{min-width:0;flex:1;padding:13px;border:1px solid #dce8e2;border-radius:10px;background:#fafdfb;font:inherit}
.pair-current{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 0;border-top:1px solid #edf2ef}.pair-current p{font-size:13px;color:#6c7c75;margin:8px 0}
.pair-empty{padding:32px 12px;color:#7b8d83;text-align:center}.pair-task{padding:28px;background:#f4faf7;border:1px solid #deeee4;border-radius:20px;margin:10px 0 20px}.pair-eyebrow{display:block;letter-spacing:.08em;font-size:12px;color:#49836a;margin-bottom:12px}.pair-task h3{font-size:24px;margin:0 0 18px}.pair-task>p{color:#667d70;line-height:1.7;font-size:14px}.pair-digits{display:flex;gap:10px}.pair-digits span{display:grid;place-items:center;width:60px;height:72px;background:white;color:#14704f;border:1px solid #cee5d7;border-radius:14px;font-size:38px;font-weight:650;font-variant-numeric:tabular-nums;box-shadow:0 4px 12px #134b2810}
.pair-claim{margin:18px 0;padding:22px;background:white;border-radius:14px;border:1px solid #cae7d5}.pair-claim>span{display:block;color:#7b8d83;font-size:12px}.pair-claim>strong,.pair-phrase{display:block;font-size:24px;color:#187451;margin:12px 0}.pair-claim p{font-size:13px;color:#63796b}.pair-connected{padding:16px 0;color:#159e67;font-size:24px;font-weight:650}
.companion-preview{max-width:430px;margin:36px auto;padding:32px;display:flex;flex-direction:column;gap:12px}.companion-preview h1{font-size:26px;margin:10px 0 30px}.companion-preview h2{font-size:22px;margin:0}.companion-preview p{line-height:1.8;color:#718278}.companion-preview a{margin-top:16px;text-align:center}.phone-code{width:100%;padding:18px;border-radius:12px;border:1px solid #bcdccb;font-size:38px;letter-spacing:.5em;text-align:center;color:#16734f}.pairing-demo{margin:24px auto;max-width:680px}.pairing-demo p{line-height:1.8;color:#6d7e75}
@media(max-width:540px){.pair-task{padding:20px}.pair-digits span{width:50px;height:62px;font-size:32px}.pair-add>div{flex-direction:column}.pair-current{align-items:flex-start}.pair-current .button{white-space:nowrap}.pair-claim{padding:16px}.pair-actions .button{flex:1}.companion-preview{margin:20px 0}}
