:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    sans-serif;
  color: #233247;
  background: #f5f7fa;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 1px solid #dce3ea;
  border-radius: 7px;
  background: white;
  color: #405169;
  padding: 10px 15px;
  font-size: 14px;
}
button:hover {
  border-color: #169a8e;
  background: #f1faf8;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #78c9c1;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: #11253b;
  color: #9aacc0;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}
.logo {
  color: white;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.7px;
  position: relative;
  padding-left: 43px;
}
.logo b {
  position: absolute;
  left: 0;
  top: 0;
  background: #22b3a4;
  border-radius: 9px;
  padding: 6px 9px;
  color: #fff;
  font-size: 23px;
}
.logo span {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #8ca3b9;
  font-weight: 400;
  margin-top: 6px;
}
.workspace {
  margin: 37px 0 28px;
  border: 1px solid #304156;
  border-radius: 8px;
  padding: 13px;
  font-size: 14px;
  color: #d4dfeb;
}
.workspace strong {
  margin-left: 9px;
  font-size: 14px;
}
.workspace small {
  display: block;
  margin: 8px 0 0 25px;
  color: #7d93ab;
  font-size: 10px;
  letter-spacing: 1px;
}
.nav-label {
  font-size: 12px;
  margin: 0 13px 12px;
  color: #748ba4;
}
nav a {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 5px 0;
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 14px;
}
nav a.active {
  background: #1d414e;
  color: #64d5c6;
}
nav a i {
  font-style: normal;
  font-size: 19px;
  width: 21px;
}
nav a em {
  margin-left: auto;
  background: #33475c;
  border-radius: 4px;
  padding: 1px 7px;
  font-style: normal;
  font-size: 12px;
}
.side-bottom {
  margin-top: auto;
}
.plan {
  border: 1px solid #304358;
  padding: 16px;
  border-radius: 8px;
  color: #e2eaf1;
  font-size: 14px;
}
.plan small {
  display: block;
  color: #8aa0b6;
  font-size: 12px;
  margin-top: 9px;
}
.meter {
  height: 4px;
  background: #304558;
  margin-top: 14px;
  border-radius: 8px;
}
.meter i {
  display: block;
  width: 28%;
  height: 100%;
  background: #27b7a3;
}
.user {
  border: 0;
  width: 100%;
  background: transparent;
  color: white;
  display: flex;
  gap: 13px;
  align-items: center;
  text-align: left;
  margin-top: 18px;
  padding: 8px;
}
.user span {
  flex: 1;
}
.user small {
  display: block;
  color: #8aa0b6;
  font-size: 12px;
  margin-top: 5px;
}
.shell {
  margin-left: 244px;
}
header {
  height: 78px;
  background: white;
  border-bottom: 1px solid #e6eaf0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  font-size: 14px;
}
.crumb {
  color: #97a2b1;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.header-actions button {
  border: 0;
}
.demo {
  background: #f1f5fa;
  color: #6c7e94;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 5px;
}
.avatar {
  background: #e7efef;
  color: #3c7470;
  padding: 9px;
  border-radius: 50%;
  font-size: 12px;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 35px 38px 20px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}
h2 {
  font-size: 17px;
  margin: 0;
}
h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
p {
  color: #8390a1;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.primary {
  background: #159a8c;
  color: white;
  border-color: #159a8c;
}
.primary:hover {
  background: #0b8277;
  color: white;
}
.actions {
  display: flex;
  gap: 10px;
}
.notice {
  background: #edf8f5;
  border: 1px solid #d3eee5;
  color: #367f6e;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 25px;
}
.notice span {
  flex: 1;
}
.notice small {
  color: #719b8c;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}
.stat,
.panel {
  background: white;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  box-shadow: 0 2px 4px #132e4d02;
}
.stat {
  padding: 22px;
}
.stat-title {
  color: #7d899b;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.stat-title i {
  font-style: normal;
  background: #eef7f5;
  padding: 6px;
  color: #2a9c8a;
  border-radius: 6px;
  margin-top: -5px;
}
.stat strong {
  font-size: 31px;
  font-weight: 600;
  display: block;
  margin: 10px 0 12px;
  letter-spacing: -1px;
}
.stat small {
  font-size: 12px;
  color: #93a0b0;
}
.up {
  color: #1b9e81 !important;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 23px;
  margin-bottom: 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid #f0f2f5;
}
.panel-head small {
  font-size: 12px;
  color: #95a1b1;
}
.seg {
  display: flex;
  background: #f4f6f9;
  border-radius: 6px;
  padding: 3px;
}
.seg button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  font-size: 12px;
}
.seg button.selected {
  background: #fff;
  box-shadow: 0 1px 4px #0001;
  color: #159a8c;
}
.chart {
  padding: 20px 25px 12px;
}
.legend {
  display: flex;
  gap: 20px;
  color: #8b97a7;
  font-size: 12px;
  margin-bottom: 15px;
}
.legend b {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1ba998;
  margin-right: 7px;
}
.legend span + span b {
  background: #a8b8d1;
}
.chart svg {
  width: 100%;
  height: 190px;
}
.axis {
  display: flex;
  justify-content: space-between;
  color: #9ba7b6;
  font-size: 12px;
  margin: 0 0 10px 33px;
}
.tasks {
  padding: 6px 22px;
}
.task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f2f5;
}
.task:last-child {
  border: 0;
}
.task-icon {
  background: #fff5e6;
  color: #d29832;
  padding: 10px;
  border-radius: 8px;
}
.task-icon.teal {
  background: #eaf7f3;
  color: #24a087;
}
.task div:nth-child(2) {
  flex: 1;
}
.task h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 6px;
}
.task p {
  font-size: 12px;
}
.task b {
  font-size: 21px;
  font-weight: 600;
}
.task button {
  padding: 5px 9px;
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  white-space: nowrap;
}
th {
  font-weight: 400;
  background: #fafbfd;
  color: #8c98a9;
  text-align: left;
  padding: 14px 23px;
  font-size: 12px;
}
td {
  padding: 18px 23px;
  border-top: 1px solid #f0f2f5;
  color: #526077;
}
td strong {
  font-weight: 500;
  color: #2b3e54;
}
td small {
  display: block;
  font-size: 12px;
  color: #9aa5b2;
  margin-top: 5px;
}
.badge {
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  background: #eaf6f1;
  color: #389b7e;
}
.badge.orange {
  background: #fff4df;
  color: #b48a31;
}
.badge.blue {
  background: #edf2fa;
  color: #6c8cb5;
}
.text-btn {
  border: 0;
  background: transparent;
  color: #159a8c;
  padding: 4px;
}
.table-foot {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #99a3b0;
  font-size: 12px;
}
.table-foot button {
  padding: 6px 11px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  margin-top: 24px;
}
.quick {
  display: flex;
  gap: 18px;
  padding: 23px;
  align-items: center;
}
.quick-icon {
  font-size: 25px;
  background: #eef5fb;
  color: #6e97bd;
  padding: 17px;
  border-radius: 10px;
}
.quick div:nth-child(2) {
  flex: 1;
}
.quick p {
  font-size: 12px;
}
.quick button {
  font-size: 12px;
  padding: 7px 10px;
}
footer {
  padding: 23px 38px;
  color: #a0aab7;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.toolbar {
  display: flex;
  gap: 12px;
  padding: 20px;
  flex-wrap: wrap;
}
.toolbar input {
  min-width: 260px;
  flex: 1;
}
input,
select,
textarea {
  border: 1px solid #dce3ea;
  border-radius: 6px;
  padding: 11px 13px;
  background: #fff;
  color: #3b4d63;
  font-size: 14px;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23899aaa'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}
.empty {
  padding: 70px;
  text-align: center;
  color: #8b98a8;
}
.settings {
  padding: 25px;
  max-width: 760px;
}
.field {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
}
.field input,
.field textarea,
.field select {
  display: block;
  width: 100%;
  margin-top: 9px;
}
.field small {
  display: block;
  color: #98a3b0;
  margin-top: 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product {
  padding: 24px;
}
.product-art {
  height: 150px;
  background: #f2f5f8;
  display: grid;
  place-items: center;
  font-size: 60px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.product p {
  margin: 12px 0;
}
.card-preview {
  margin: 25px;
  background: #132b40;
  color: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 520px;
  display: flex;
  gap: 25px;
  align-items: center;
}
.card-preview h2 {
  font-size: 25px;
  margin-bottom: 14px;
}
.card-preview p {
  color: #a6baca;
}
.qr {
  background: white;
  padding: 9px;
  width: 130px;
  height: 130px;
  object-fit: contain;
}
.phone {
  max-width: 380px;
  margin: 15px auto;
  background: #f8fafb;
  border-radius: 30px;
  padding: 30px 24px;
  border: 8px solid #1c2e40;
}
.phone h2 {
  font-size: 25px;
  margin: 25px 0 12px;
}
.phone input,
.phone button {
  width: 100%;
  margin-top: 15px;
}
.phone small {
  display: block;
  font-size: 12px;
  color: #98a5af;
  line-height: 1.7;
  margin-top: 15px;
}
.phone p {
  font-size: 14px;
}
.phone .brand {
  font-size: 19px;
  letter-spacing: 4px;
  color: #1c837b;
}
dialog {
  border: 0;
  border-radius: 15px;
  max-width: 620px;
  width: calc(100% - 32px);
  padding: 32px;
  box-shadow: 0 20px 100px #0003;
}
dialog::backdrop {
  background: #10223988;
  backdrop-filter: blur(3px);
}
.close {
  position: absolute;
  right: 15px;
  top: 12px;
  border: 0;
  font-size: 24px;
  padding: 2px 8px;
}
dialog h2 {
  margin-bottom: 20px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #16394b;
  color: white;
  border-radius: 8px;
  padding: 13px 24px;
  display: none;
  z-index: 10;
  font-size: 14px;
}
.pill {
  font-size: 12px;
  background: #edf5f3;
  color: #458d7e;
  padding: 5px 9px;
  border-radius: 20px;
}
.upload {
  border: 2px dashed #d6e4e2;
  padding: 36px;
  text-align: center;
  border-radius: 10px;
  background: #f7fcfa;
  margin: 20px 0;
}
.upload input {
  max-width: 100%;
  margin-top: 20px;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
.detail div {
  font-size: 14px;
  color: #8796a7;
}
.detail strong {
  display: block;
  color: #31465b;
  margin-top: 7px;
}
.legal {
  padding: 18px;
  background: #f5f8fa;
  color: #788b9e;
  font-size: 12px;
  line-height: 1.8;
  border-radius: 6px;
}
@media (min-width: 1600px) {
  main {
    padding-top: 44px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 210px;
    padding: 25px 14px;
  }
  .shell {
    margin-left: 210px;
  }
  main {
    padding: 25px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .tasks {
    display: flex;
    gap: 20px;
  }
  .task {
    flex: 1;
    border: 0;
  }
  .task button {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  aside {
    width: 66px;
    padding: 22px 7px;
  }
  .logo {
    padding: 0;
    height: 45px;
    font-size: 0;
  }
  .logo b {
    font-size: 22px;
    left: 6px;
  }
  .logo span,
  .workspace,
  .nav-label,
  .side-bottom,
  nav a span,
  nav a em {
    display: none;
  }
  nav {
    margin-top: 24px;
  }
  nav a {
    padding: 13px 12px;
  }
  nav a i {
    font-size: 21px;
  }
  .shell {
    margin-left: 66px;
  }
  header {
    padding: 0 16px;
    height: 65px;
  }
  .header-actions {
    gap: 7px;
  }
  .demo,
  .avatar {
    display: none;
  }
  main {
    padding: 23px 15px;
  }
  .heading {
    gap: 12px;
    align-items: flex-start;
  }
  h1 {
    font-size: 23px;
  }
  .heading p {
    font-size: 12px;
  }
  .heading .actions {
    flex-direction: column;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat strong {
    font-size: 27px;
  }
  .stat small {
    font-size: 11px;
  }
  .notice {
    font-size: 12px;
  }
  .notice small {
    display: none;
  }
  .panel-head {
    padding: 18px 16px;
  }
  .tasks {
    display: block;
  }
  .task {
    border-bottom: 1px solid #eef2f5;
  }
  .bottom-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .quick {
    padding: 20px 15px;
    gap: 10px;
  }
  .quick-icon {
    padding: 12px;
  }
  footer {
    padding: 20px 15px;
  }
  footer span {
    display: none;
  }
  .card-preview {
    margin: 15px;
    padding: 20px;
    flex-direction: column;
  }
  .toolbar input {
    min-width: 160px;
  }
  .header-actions button {
    font-size: 12px;
    padding: 8px;
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .notice {
    align-items: flex-start;
  }
}
/* Marketplace-inspired palette */
:root {
  color: #0f1111;
  background: #eaeded;
}
aside {
  background: #131921;
  color: #b9c3cc;
}
.logo b {
  background: #ff9900;
  color: #131921;
}
.logo span {
  color: #aeb9c4;
}
.workspace {
  border-color: #3c4651;
  color: #fff;
}
nav a.active {
  background: #37475a;
  color: #ffb84d;
}
.plan {
  border-color: #46515d;
}
.meter i {
  background: #ff9900;
}
.primary {
  background: #ffd814;
  border-color: #f0c000;
  color: #0f1111;
  border-radius: 20px;
}
.primary:hover {
  background: #f7ca00;
  color: #0f1111;
  border-color: #e2b500;
}
button:hover {
  border-color: #d5a000;
  background: #fff8e2;
}
.text-btn,
a.text-btn {
  color: #007185;
}
.notice {
  background: #fff8e5;
  border-color: #f2d89c;
  color: #73531b;
}
.notice small {
  color: #947b4d;
}
.stat-title i,
.quick-icon {
  background: #fff4dc;
  color: #b56d00;
}
.up {
  color: #007600 !important;
}
.pill {
  background: #fff0cc;
  color: #805400;
}
.phone .brand {
  color: #232f3e;
}
.task-icon.teal {
  background: #eef3f7;
  color: #37475a;
}
.seg button.selected {
  color: #b46800;
}
.badge {
  color: #067647;
  background: #eaf6ee;
}
.avatar {
  background: #e9edf1;
  color: #232f3e;
}
.card-preview {
  background: #232f3e;
}
.phone {
  border-color: #232f3e;
  background: #fff;
}
.legal {
  color: #536475;
}
.guidance {
  background: #fff;
  border: 1px solid #d5d9d9;
  border-left: 4px solid #ff9900;
  border-radius: 8px;
  margin: 24px 0 18px;
  padding: 16px;
  box-shadow: 0 3px 9px #0f111112;
}
.guidance-title {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 650;
  font-size: 15px;
}
.guidance-icon {
  background: #ff9900;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  color: white;
  font-size: 12px;
}
.guidance-product {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 17px 0;
}
.guidance-art {
  background: #f0f2f2;
  border-radius: 6px;
  min-width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: #37475a;
}
.guidance-product strong {
  display: block;
  font-size: 13px;
}
.guidance-product span {
  display: block;
  color: #8b5000;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 5px;
}
.stars {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.stars button {
  border: 0;
  font-size: 31px;
  padding: 0 3px;
  color: #b0b5b8;
  background: none;
}
.stars button.chosen {
  color: #de7921;
}
.phone textarea {
  width: 100%;
  resize: vertical;
  min-height: 100px;
}
.phone .secondary {
  background: #fff;
  border-color: #d5d9d9;
  border-radius: 20px;
}
.phone a.amazon-link {
  display: block;
  background: #ffd814;
  border: 1px solid #f0c000;
  border-radius: 20px;
  text-align: center;
  padding: 11px;
  font-size: 14px;
  color: #0f1111;
  margin-top: 16px;
}
.phone label {
  font-size: 13px;
}
.phone .review-error {
  color: #b12704;
  font-size: 13px;
}
.phone small {
  color: #68747c;
}

/* ==========================================================================
   2.0 新增组件：二维码 / 卡片批次 / 漏斗 / 合规 / 客户端独立页
   ========================================================================== */
.layout { min-height: 100vh; }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  letter-spacing: .2px;
}
.muted { color: #9aa5b2; font-size: 13px; }
.hint-line { margin: 4px 2px 0; color: #6b7c8f; font-size: 12.5px; line-height: 1.6; }
.hint-line a { color: #007185; text-decoration: underline; word-break: break-all; }
.warn-text { color: #b12704 !important; }
.late-text { color: #b12704; font-weight: 600; }
.err { color: #b12704; font-size: 13px; min-height: 18px; margin: 8px 0 0; }
.badge.grey { background: #f0f2f4; color: #6b7683; }
.badge.red { background: #fdecea; color: #b12704; }
.danger { color: #b12704 !important; }
.danger-btn { border-color: #e6c9c4; color: #b12704; background: #fff; }
.danger-btn:hover { background: #fdf3f1; border-color: #d9a79f; }
.notice.warn { background: #fff6e5; border-color: #f0d9a8; color: #73531b; }
.notice.warn small { color: #947b4d; }

input[readonly] { background: #f5f7f8; color: #7a8590; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f2f4f6;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}

/* 二维码 */
.qr-svg { display: block; width: 100%; height: auto; background: #fff; }
.qr-box {
  width: 220px;
  margin: 8px auto 14px;
  padding: 10px;
  border: 1px solid #e3e7eb;
  border-radius: 10px;
  background: #fff;
}
.qr-mini {
  border: 0;
  padding: 0;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.qr-mini:hover { outline: 2px solid #ff9900; background: #fff; }
.card-qr { width: 132px; min-width: 132px; text-align: center; }
.card-qr .qr-svg { border-radius: 5px; padding: 6px; width: 132px; height: 132px; }
.card-qr small { display: block; color: #c9d6e2; font-size: 10px; margin-top: 7px; letter-spacing: .5px; }
.card-disclaimer {
  font-size: 11px !important;
  color: #8fa5b8 !important;
  border-top: 1px solid #2c3f52;
  padding-top: 9px;
  margin-top: 12px !important;
  line-height: 1.5;
}
.card-preview h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; color: #ffb84d; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cell-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.cell-actions .text-btn { padding: 3px 4px; font-size: 12px; }

/* 表单 */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #3b4d63;
  padding: 11px 13px;
  border: 1px solid #e5eaef;
  border-radius: 7px;
  margin-bottom: 9px;
  background: #fbfcfd;
  cursor: pointer;
  line-height: 1.6;
}
.check input { width: auto !important; margin: 3px 0 0; flex: 0 0 auto; }
.check:hover { border-color: #cbd6df; }

/* 字段开关（设置页） */
.field-hint {
  font-size: 12.5px; line-height: 1.7; color: #6b7075; margin: 0 0 16px;
  background: #f7f9fb; border: 1px solid #e8edf3; border-radius: 7px; padding: 11px 13px;
}
.switch {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px;
  border: 1px solid #e5eaef; border-radius: 8px; background: #fbfcfd;
  margin-bottom: 10px; cursor: pointer;
}
.switch:hover { border-color: #cbd6df; }
.switch input { position: absolute; opacity: 0; width: 0 !important; height: 0; margin: 0; }
.switch i {
  flex: 0 0 auto; width: 38px; height: 22px; border-radius: 999px;
  background: #d7dee6; position: relative; transition: background 0.18s; margin-top: 1px;
}
.switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #00000033; transition: transform 0.18s;
}
.switch input:checked + i { background: #1e8b45; }
.switch input:checked + i::after { transform: translateX(16px); }
.switch input:focus-visible + i { outline: 2px solid #1e8b45; outline-offset: 2px; }
.switch span b { display: block; font-size: 13.5px; color: #1c2b3a; }
.switch span small { display: block; color: #7b8794; font-size: 11.5px; line-height: 1.6; margin-top: 3px; }

/* 合规 lint */
.lint { border-radius: 8px; padding: 13px 15px; font-size: 13px; line-height: 1.7; margin-top: 18px; }
.lint.ok { background: #eef8f0; border: 1px solid #cfe8d5; color: #1e6b34; }
.lint.bad { background: #fdf3f1; border: 1px solid #f0cfc8; color: #8c2d1a; }
.lint ul { margin: 8px 0 0; padding-left: 18px; }
.lint li { margin-bottom: 7px; }

/* 漏斗 / 分布 */
.funnel { padding: 4px 0; }
.funnel-row { display: grid; grid-template-columns: 118px 1fr 76px; gap: 14px; align-items: center; margin-bottom: 16px; }
.funnel-label { font-size: 13px; color: #526077; }
.funnel-bar { position: relative; background: #f2f5f7; border-radius: 5px; height: 30px; overflow: hidden; }
.funnel-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb020, #ff9900); border-radius: 5px; transition: width .4s ease; }
.funnel-bar b { position: absolute; right: 10px; top: 5px; font-size: 13px; color: #232f3e; font-weight: 600; }
.funnel-step { font-size: 12px; color: #8b98a8; text-align: right; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #f0f2f5; font-size: 13.5px; color: #526077; }
.kv b { font-size: 16px; color: #232f3e; }
.dist-row { display: grid; grid-template-columns: 70px 1fr 30px; gap: 10px; align-items: center; margin: 9px 0; font-size: 12.5px; color: #6f7d8c; }
.dist-bar { background: #f2f5f7; height: 9px; border-radius: 6px; overflow: hidden; }
.dist-bar i { display: block; height: 100%; background: #ffb020; border-radius: 6px; }
.dist-bar.alt i { background: #9fb3c7; }

/* SLA */
.sla { font-size: 12px; color: #526077; }
.sla.late { color: #b12704; font-weight: 600; }
.sla.soon { color: #b46800; font-weight: 600; }
.sla.ok { color: #8b98a8; }

/* 时间线 / 反馈 */
.timeline { list-style: none; padding: 0; margin: 10px 0 0; font-size: 13px; }
.timeline li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #eef2f5; color: #526077; }
.timeline li span { color: #9aa5b2; font-size: 12px; min-width: 88px; }
.feedback-row { background: #fbfcfd; border: 1px solid #eef1f4; border-radius: 8px; padding: 13px 15px; margin-bottom: 10px; }
.feedback-row p { margin: 7px 0 5px; color: #3b4d63; }
.feedback-row small { color: #9aa5b2; font-size: 11.5px; }
.stars-static { color: #de7921; letter-spacing: 2px; font-size: 14px; }
.prose p { margin-bottom: 12px; color: #4a5a6e; }
.prose ol { margin: 0 0 12px; padding-left: 20px; color: #4a5a6e; font-size: 13.5px; line-height: 1.85; }
.prose li { margin-bottom: 8px; }
.prose .emph { background: #fff8e5; border-left: 3px solid #ff9900; padding: 12px 14px; border-radius: 0 6px 6px 0; color: #5a4a2a; }
.prose strong { color: #232f3e; }
td.wrap { white-space: normal; min-width: 260px; line-height: 1.65; }

/* ==========================================================================
   客户端独立页（#/c/<token>）
   ========================================================================== */
.customer {
  min-height: 100vh;
  background: #f3f5f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 30px;
  font-size: 15px;
}
.cust-top {
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 2px 10px;
}
.cust-brand { font-size: 15px; letter-spacing: 3.5px; font-weight: 600; color: #232f3e; }
.link-btn { border: 0; background: none; color: #007185; font-size: 13px; padding: 6px; }
.cust-body {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid #e3e7ea;
  border-radius: 14px;
  padding: 26px 24px 30px;
  box-shadow: 0 8px 30px #0f11110a;
}
.cust-hero {
  background: linear-gradient(135deg, #232f3e, #37475a);
  color: #fff;
  border-radius: 10px;
  padding: 22px 20px;
  font-size: 15px;
  letter-spacing: .3px;
  margin-bottom: 22px;
}
.cust-h2 { font-size: 23px; margin: 0 0 10px; letter-spacing: -.4px; }
.cust-h3 { font-size: 16px; margin: 24px 0 8px; }
.cust-p { color: #5d6b79; font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.cust-label { display: block; font-size: 13px; color: #232f3e; font-weight: 600; margin-bottom: 8px; }
.cust-body input[type="text"], .cust-body input[type="email"], .cust-body input:not([type]) {
  width: 100%; padding: 14px; font-size: 17px; letter-spacing: 1.5px;
  border: 1px solid #d5d9d9; border-radius: 8px;
}
.cust-body input:focus { outline: 2px solid #ffb020; outline-offset: 1px; border-color: #ffb020; }
.cust-small { display: block; font-size: 12px; color: #8b98a8; line-height: 1.6; margin-top: 9px; }
.cust-err { color: #b12704; font-size: 13px; min-height: 18px; margin: 10px 0 0; }
.cust-cta {
  width: 100%; margin-top: 16px; padding: 14px; font-size: 15px;
  border-radius: 24px; text-align: center; display: block;
}
.cust-body textarea {
  width: 100%; margin-top: 4px; padding: 12px; border: 1px solid #d5d9d9;
  border-radius: 8px; font-size: 14px; resize: vertical;
}
.ghost { background: #fff; border-color: #d5d9d9; border-radius: 24px; color: #232f3e; }
.cust-check {
  width: 44px; height: 44px; border-radius: 50%;
  background: #eaf6ee; color: #067647;
  display: grid; place-items: center; font-size: 22px; margin-bottom: 16px;
}
.cust-check.big { width: 52px; height: 52px; font-size: 26px; }
.cust-receipt {
  border: 1px solid #e6e9ec; border-radius: 10px; overflow: hidden; margin: 20px 0 6px;
}
.cust-receipt > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 15px; font-size: 13.5px; color: #5d6b79;
  border-bottom: 1px solid #f0f2f4;
}
.cust-receipt > div:last-child { border-bottom: 0; }
.cust-receipt b { color: #232f3e; }
.cust-check-line {
  display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px;
  color: #5d6b79; margin-top: 14px; line-height: 1.6; cursor: pointer;
}
.cust-check-line input { width: auto !important; margin: 3px 0 0; }
.cust-invite {
  margin-top: 24px; padding: 18px; background: #fffdf7;
  border: 1px solid #f3e2bd; border-radius: 10px;
}
.cust-invite .cust-h3 { margin-top: 0; }
.cust-review {
  display: block; text-align: center; padding: 13px; margin-top: 14px;
  background: #ffd814; border: 1px solid #f0c000; border-radius: 24px;
  color: #0f1111; font-size: 14.5px; font-weight: 500;
}
.cust-review:hover { background: #f7ca00; }
.cust-support { font-size: 12.5px; color: #8b98a8; margin-top: 22px; text-align: center; }
.cust-support a { color: #007185; }
.cust-foot {
  width: 100%; max-width: 520px; margin-top: 22px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11.5px; color: #9aa5b2; text-align: center; line-height: 1.6;
}
.customer .stars { justify-content: center; margin: 8px 0 14px; }
.customer .stars button { font-size: 34px; }

@media (max-width: 760px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .funnel-row { grid-template-columns: 96px 1fr; }
  .funnel-step { grid-column: 2; text-align: left; margin-top: -10px; }
  .card-preview { flex-direction: column; align-items: flex-start; }
  .card-qr { width: 100%; display: flex; align-items: center; gap: 12px; }
  .card-qr small { color: #c9d6e2; margin: 0; }
  .cust-body { padding: 20px 16px 24px; border-radius: 12px; }
  .cust-h2 { font-size: 21px; }
  .qr-box { width: 180px; }
}

/* ==========================================================================
   3.0 小屏修正：标题区改为上下结构，避免压缩 H1
   ========================================================================== */
@media (max-width: 760px) {
  .heading { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 20px; }
  .heading .actions { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .heading .actions button {
    flex: 1 1 auto;
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 13px;
  }
  .heading h1 { font-size: 22px; line-height: 1.35; }
  .stat { padding: 15px 14px; }
  .stat strong { font-size: 25px; }
  .card-preview { padding: 18px 16px; }
  .cell-actions { gap: 2px; }
  .cell-actions .text-btn { font-size: 11.5px; }
  .qr-box { width: 200px; }
  .customer { padding: 0 12px 24px; }
}
.cust-err:empty { min-height: 0; margin: 0; }
.cust-err:not(:empty) { margin: 12px 0 2px; }

/* ==========================================================================
   4.0 客户端（Amazon 商城风格：深色导航 / 步骤条 / 右侧订单摘要）
   ========================================================================== */
.az {
  --ink: #0f1111;
  --head: #131921;
  --sub: #232f3e;
  --bg: #eaeded;
  --line: #d5d9d9;
  --link: #007185;
  --cta: #ffd814;
  --ctab: #fcd200;
  --green: #067d62;
  --star: #de7921;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Amazon Ember", Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.az-head { background: var(--head); color: #fff; }
.az-head-in {
  max-width: 1000px; margin: 0 auto; padding: 11px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.az-logo { display: flex; align-items: baseline; gap: 9px; color: #fff; }
.az-logo b { font-size: 19px; letter-spacing: .6px; font-weight: 700; }
.az-logo span { font-size: 9.5px; letter-spacing: 2.2px; color: #c9d1d9; }
.az-head-right { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.az-head-right a {
  color: #fff; opacity: .92; max-width: 46vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.az-head-right a:hover { text-decoration: underline; opacity: 1; }
.az-lang {
  background: none; border: 1px solid #5a6a7a; color: #fff;
  border-radius: 4px; padding: 4px 10px; font-size: 12px;
}
.az-lang:hover { background: #ffffff1a; border-color: #8a9aa8; }
.az-sub { background: var(--sub); color: #fff; }
.az-sub-in {
  max-width: 1000px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 8px; overflow-x: auto;
  scrollbar-width: none;
}
.az-sub-in::-webkit-scrollbar { display: none; }
.az-step {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: #9aa8b5; white-space: nowrap;
}
.az-step i {
  width: 19px; height: 19px; border-radius: 50%;
  border: 1px solid #5d6b78; display: grid; place-items: center;
  font-style: normal; font-size: 11px; flex: 0 0 auto;
}
.az-step.now { color: #fff; font-weight: 600; }
.az-step.now i { background: #ff9900; border-color: #ff9900; color: #131921; }
.az-step.done { color: #cfd8e0; }
.az-step.done i { background: var(--green); border-color: var(--green); color: #fff; }
.az-step-sep { flex: 1; min-width: 12px; height: 1px; background: #3d4a57; }

.az-wrap {
  max-width: 1000px; margin: 18px auto 26px; padding: 0 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) 296px;
  gap: 18px; align-items: start;
}
.az-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }

/* 公开激活落地页（#/vip）：美国 DTC 品牌常见的克制、高信任度服务视觉 */
.lp { --accent: #b88a42; --accent-light: #e5c98f; --navy: #111820; background: #f4f3ef; }
.lp .az-head { background: #111820; border-bottom: 1px solid #ffffff1f; }
.lp .az-head-in { max-width: 1200px; min-height: 68px; }
.lp .az-logo b { color: #fff; font-size: 20px; letter-spacing: 1.4px; }
.lp .az-logo span { color: #aeb8c1; letter-spacing: 1.7px; }
.lp .az-head-right a { color: #e6eaed; }
.lp .az-lang { border-color: #ffffff66; color: #fff; border-radius: 4px; padding: 5px 12px; }
.lp-wrap {
  max-width: 1200px; margin: 44px auto 58px; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(410px, .82fr); gap: 0;
  align-items: stretch; overflow: hidden; background: #fff;
  border: 1px solid #d8dadd; border-radius: 14px;
  box-shadow: 0 24px 60px #10182026;
}
.lp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 640px; display: flex; flex-direction: column;
  background: #111820 url("assets/vip-hero.webp") 63% center / cover no-repeat;
  color: #fff; border-radius: 0; padding: 58px 52px 38px;
  box-shadow: none;
}
.lp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #111820f7 0%, #111820eb 37%, #1118208c 59%, #11182024 84%),
    linear-gradient(0deg, #111820e8 0%, transparent 42%);
}
.lp-hero::after { content: none; }
.lp-mobile-proof { display: none; }
.lp-hero-copy { position: relative; width: min(68%, 530px); }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: #e5c98f; font-size: 11px; font-weight: 700; letter-spacing: .14em;
}
.lp-eyebrow span { font-size: 11px; }
.lp-hero h1 {
  margin: 0 0 20px; max-width: 560px; color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(38px, 4.2vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -.042em;
  text-wrap: balance;
}
.lp-sub { margin: 0 0 30px; max-width: 490px; color: #dce2e7; font-size: 16px; line-height: 1.65; }
.lp-cond { list-style: none; margin: 0; padding: 0; max-width: 500px; color: #f0f2f4; font-size: 13px; line-height: 1.6; }
.lp-cond li { position: relative; margin-bottom: 11px; padding-left: 26px; }
.lp-cond li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #e5c98f; font-size: 13px; font-weight: 800; }
.lp-cond li:last-child { margin-bottom: 0; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 28px; color: #cbd3d9; font-size: 11px; }
.lp-trust span { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust i {
  width: 17px; height: 17px; border: 1px solid #ffffff73; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 9px; font-style: normal;
}
.lp-steps { margin-top: auto; padding-top: 38px; max-width: 590px; }
.lp-steps-title { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #b9c3ca; margin-bottom: 12px; }
.lp-step { display: flex; gap: 13px; align-items: flex-start; padding: 11px 0; border-top: 1px solid #ffffff2b; }
.lp-step i {
  flex: 0 0 auto; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 10px; font-weight: 700; background: #fff; color: #17212a; margin-top: 1px;
}
.lp-step b { display: block; font-size: 12.5px; font-weight: 700; color: #fff; }
.lp-step small { display: block; font-size: 11px; line-height: 1.5; color: #bbc4cb; margin-top: 2px; }
.lp-panel {
  align-self: stretch; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: #fff; border: 0; border-left: 1px solid #e0e2e4;
  border-radius: 0; padding: 48px 40px; box-shadow: none;
}
.lp-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; height: auto; background: #b88a42; }
.lp-panel-badge { color: #8a642a; font-size: 10px; font-weight: 800; letter-spacing: .13em; margin-bottom: 13px; }
.lp-panel h2 {
  margin: 0 0 10px; color: #17212a;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em;
}
.lp-panel-sub { margin: 0 0 10px; color: #59636c; font-size: 13px; line-height: 1.6; }
.lp-panel .az-label { margin-top: 16px; color: #242c33; font-size: 12px; }
.lp-panel .az-input { border-color: #9da3a8; border-radius: 5px; padding: 11px 12px; background: #fff; }
.lp-panel .az-input:focus { border-color: #2f6f96; box-shadow: 0 0 0 3px #2f6f9628; }
.lp-panel .az-consent { color: #59636c; }
.lp-panel .az-cta {
  margin-top: 21px; padding: 13px 16px; border: 1px solid #17212a; border-radius: 5px;
  background: #17212a; color: #fff; font-weight: 700; letter-spacing: 0; box-shadow: none;
}
.lp-panel .az-cta:hover { background: #273642; border-color: #273642; transform: none; }
@media (max-width: 900px) {
  .lp-wrap {
    grid-template-columns: 1fr; width: calc(100% - 32px); margin: 20px auto 36px;
    border-radius: 12px;
  }
  .lp-hero { min-height: 600px; padding: 42px 32px 30px; background-position: 62% center; }
  .lp-panel {
    width: 100%; justify-self: stretch; padding: 34px 28px 30px;
    border-left: 0; border-top: 1px solid #e0e2e4;
  }
  .lp-panel::before { inset: 0 0 auto; width: auto; height: 3px; }
}
@media (max-width: 560px) {
  .lp { background: #fff; }
  .lp .az-head-in { min-height: 56px; padding: 8px 16px; }
  .lp .az-logo b { font-size: 17px; }
  .lp .az-logo span, .lp .az-head-right a { display: none; }
  .lp .az-lang { min-height: 38px; padding: 7px 12px; }
  .lp-wrap { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .lp-hero {
    min-height: 0; border-radius: 0; padding: 22px 20px 24px; background-position: 73% 42%;
  }
  .lp-hero::before {
    background: linear-gradient(90deg, #111820fc 0%, #111820f2 68%, #111820b8 100%),
      linear-gradient(0deg, #111820f8 0%, #11182078 78%, #11182045 100%);
  }
  .lp-mobile-proof {
    display: flex; gap: 14px; margin-bottom: 22px; overflow: hidden;
    color: #dce3e8; font-size: 10.5px; font-weight: 600; white-space: nowrap;
  }
  .lp-mobile-proof span:last-child { margin-left: auto; }
  .lp-hero-copy { width: 100%; }
  .lp-eyebrow { margin-bottom: 12px; font-size: 9.5px; }
  .lp-hero h1 { margin-bottom: 14px; font-size: 32px; line-height: 1.08; max-width: 330px; letter-spacing: -.035em; }
  .lp-sub { margin-bottom: 18px; font-size: 14px; line-height: 1.55; max-width: 335px; }
  .lp-cond { font-size: 12px; line-height: 1.5; max-width: 340px; }
  .lp-cond li { margin-bottom: 8px; padding-left: 22px; }
  .lp-trust, .lp-steps { display: none; }
  .lp-panel { border-radius: 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); }
  .lp-panel::before { height: 3px; }
  .lp-panel-badge { margin-bottom: 10px; font-size: 9.5px; }
  .lp-panel h2 { margin-bottom: 8px; font-size: 25px; }
  .lp-panel-sub { font-size: 13.5px; line-height: 1.55; }
  .lp-panel .az-label { margin-top: 14px; font-size: 13px; }
  .lp-panel .az-input { min-height: 48px; padding: 12px 13px; font-size: 16px; }
  .lp-panel .az-small { font-size: 11px; }
  .lp-panel .az-consent { margin-top: 16px; font-size: 12px; }
  .lp-panel .az-consent input { width: 20px !important; height: 20px; margin-top: 0; }
  .lp-panel .az-cta { min-height: 52px; margin-top: 20px; font-size: 16px; }
}
.az-rail { position: sticky; top: 14px; }
.az-summary h2 { font-size: 15px; margin: 0 0 12px; }
.az-prod { display: flex; gap: 11px; align-items: center; margin-bottom: 13px; }
.az-prod-art {
  width: 46px; height: 46px; border: 1px solid #e6e9e9; border-radius: 4px;
  display: grid; place-items: center; font-size: 22px; background: #f7f8f8; flex: 0 0 auto;
}
.az-prod strong { display: block; font-size: 13px; line-height: 1.35; }
.az-prod small { color: #565959; font-size: 11.5px; }
.az-dl { margin: 0; font-size: 12.5px; }
.az-dl > div {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 6px 0; border-bottom: 1px solid #f1f3f3;
}
.az-dl > div:last-child { border-bottom: 0; }
.az-dl dt { color: #565959; }
.az-dl dd { margin: 0; font-weight: 500; text-align: right; }
.az-ok { color: var(--green); font-weight: 600; }
.az-muted { color: #565959; font-size: 12.5px; }

.az-h1 { font-size: 24px; line-height: 1.3; margin: 0 0 8px; font-weight: 700; letter-spacing: -.2px; }
.az-p { color: #565959; font-size: 13.5px; line-height: 1.6; margin: 0 0 16px; }
.az-label { display: block; font-size: 13px; font-weight: 700; margin: 15px 0 5px; }
.az-input {
  width: 100%; padding: 8px 10px; font-size: 14px;
  border: 1px solid #888c8c; border-radius: 4px;
  box-shadow: inset 0 1px 2px #00000012; background: #fff;
}
.az-input:focus { outline: 0; border-color: #e77600; box-shadow: 0 0 0 3px #e7760033; }
textarea.az-input { resize: vertical; }
.az-small { display: block; color: #565959; font-size: 11.5px; line-height: 1.55; margin-top: 6px; }
.az-err { color: #b12704; font-size: 12.5px; margin: 9px 0 0; }
.az-err:empty { display: none; }
.az-note { color: #565959; font-size: 11.5px; line-height: 1.6; margin: 10px 0 0; }
/* 注记直接位于标题上方时（评价步），补一段下间距，避免与 24px 标题贴住 */
.az-note + .az-h1 { margin-top: 14px; }

.az-cta {
  display: inline-block; width: 100%; margin-top: 16px; padding: 10px 14px;
  background: var(--cta); border: 1px solid var(--ctab); border-radius: 8px;
  color: var(--ink); font-size: 14px; text-align: center; cursor: pointer;
  box-shadow: 0 2px 5px #0000000f;
}
.az-cta:hover { background: #f7ca00; border-color: #e2b500; }
.az-cta.orange { background: #ffa41c; border-color: #ff8f00; }
.az-cta.orange:hover { background: #ff9100; border-color: #f08000; }
.az-cta.block { display: block; text-decoration: none; }
.az-cta[disabled] { opacity: .5; cursor: not-allowed; }
.az-link-btn {
  background: none; border: 0; color: var(--link);
  font-size: 13px; padding: 0; margin-top: 14px; text-align: left;
}
.az-link-btn:hover { text-decoration: underline; background: none; border: 0; }
.az-consent {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; color: #565959; line-height: 1.6; margin-top: 15px; cursor: pointer;
}
.az-consent input { width: auto !important; margin: 3px 0 0; flex: 0 0 auto; }

.az-hero {
  display: flex; gap: 12px; align-items: center;
  background: #f7f8f8; border: 1px solid #e7eaea; border-radius: 8px;
  padding: 12px 14px; margin-bottom: 18px;
}
.az-hero > span { font-size: 26px; color: #37475a; }
.az-hero b { display: block; font-size: 13.5px; }
.az-hero small { color: #565959; font-size: 11.5px; }

.az-banner {
  display: flex; gap: 12px; align-items: center;
  background: #eaf7ee; border: 1px solid #c9e7d4; border-radius: 8px;
  padding: 12px 14px; margin-bottom: 18px;
}
.az-banner.soft { background: #f4f9f5; }
.az-tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green);
  color: #fff; display: grid; place-items: center; font-size: 14px; flex: 0 0 auto;
}
.az-banner b { display: block; font-size: 13.5px; color: #0f1111; }
.az-banner small { color: #565959; font-size: 12px; }

/* 礼遇页：与订单摘要合成一个连续的美国 DTC 服务面板 */
.az-page-gift { --cta: #17212a; --ctab: #17212a; background: #f4f3ef; }
.az-page-gift .az-head { background: #111820; }
.az-page-gift .az-sub { background: #1d2a35; }
.az-page-gift .az-step.now i { background: #b88a42; border-color: #b88a42; color: #fff; }
.az-page-gift .az-wrap {
  max-width: 1120px; grid-template-columns: minmax(0, 1fr) 320px; gap: 0;
  padding: 0; overflow: hidden; align-items: stretch; background: #fff;
  border: 1px solid #d8dadd; border-radius: 14px; box-shadow: 0 22px 56px #1018201f;
}
.az-page-gift .az-main, .az-page-gift .az-rail { min-width: 0; }
.az-page-gift .az-main { display: flex; }
.az-page-gift .az-rail {
  position: static; display: flex; background: #f7f8f8; border-left: 1px solid #e0e2e4;
}
.az-page-gift .az-card { border: 0; border-radius: 0; box-shadow: none; }
.az-page-gift .az-gift-card { width: 100%; padding: 34px 38px 36px; }
.az-page-gift .az-summary { width: 100%; padding: 34px 26px; background: transparent; }
.az-page-gift .az-banner { background: #eef7f1; border-color: #cfe5d6; padding: 13px 15px; margin-bottom: 26px; }
.az-gift-intro { max-width: 610px; }
.az-gift-kicker { display: block; color: #8a642a; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin-bottom: 10px; }
.az-page-gift .az-h1 { color: #17212a; font-size: 32px; line-height: 1.18; letter-spacing: -.035em; }
.az-page-gift .az-p { max-width: 600px; color: #59636c; font-size: 14px; }
.az-gift-focus { margin-top: 24px; padding: 24px; background: #17212a; color: #fff; border-radius: 10px; }
.az-gift-reward { display: flex; align-items: center; gap: 20px; }
.az-gift-reward .az-gift-art {
  width: 72px; height: 72px; display: grid; place-items: center; flex: 0 0 auto;
  margin: 0; border: 1px solid #ffffff38; border-radius: 50%; background: #ffffff0f; color: #e5c98f; font-size: 34px;
}
.az-gift-card-art {
  position: relative; width: 128px; aspect-ratio: 1.58; flex: 0 0 auto; overflow: hidden;
  border: 1px solid #ffffff3d; border-radius: 8px; padding: 14px;
  background: linear-gradient(145deg, #252d34 0%, #07090b 72%); box-shadow: 0 14px 28px #00000055;
}
.az-gift-card-art::after {
  content: ""; position: absolute; left: 22px; bottom: 14px; width: 58px; height: 18px;
  border-bottom: 4px solid #ff9900; border-radius: 0 0 55% 55%; transform: rotate(5deg);
}
.az-gift-card-art span { color: #fff !important; font-size: 15px !important; font-weight: 700 !important; letter-spacing: -.03em !important; text-transform: none !important; }
.az-gift-card-art b { position: absolute; right: 12px; top: 12px; color: #fff; font-size: 18px; }
.az-gift-card-art i { position: absolute; left: 77px; bottom: 9px; color: #ff9900; font-size: 19px; font-style: normal; transform: rotate(21deg); }
.az-gift-reward span { display: block; color: #bfc9d0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.az-gift-reward strong { display: block; margin-top: 4px; color: #fff; font-size: 21px; line-height: 1.25; }
.az-gift-reward em { display: inline-block; margin-top: 9px; color: #e5c98f; font-size: 13px; font-style: normal; font-weight: 700; }
.az-gift-meta { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; margin-top: 24px; border: 1px solid #e0e2e4; border-radius: 9px; overflow: hidden; }
.az-gift-meta section { padding: 20px 22px; background: #fff; }
.az-gift-meta section + section { border-left: 1px solid #e0e2e4; background: #fafbfb; }
.az-gift-meta h3 { margin: 0 0 12px; color: #4d5861; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.az-gift-meta p { margin: 0 0 5px; color: #28343d; font-size: 13px; }
.az-gift-meta small { color: #737d84; font-size: 11.5px; }
.az-page-gift .az-list { color: #59636c; font-size: 12.5px; }
.az-page-gift .az-list li { margin-bottom: 8px; }
.az-gift-actions { margin-top: 24px; }
.az-page-gift .az-gift-actions .az-cta {
  min-width: 220px; padding: 12px 18px; background: #17212a; border-color: #17212a; color: #fff;
  border-radius: 5px; font-weight: 700; box-shadow: none;
}
.az-page-gift .az-gift-actions .az-cta:hover { background: #273642; border-color: #273642; }
.az-page-gift .az-summary h2 { margin-bottom: 18px; color: #17212a; font-size: 17px; }
.az-page-gift .az-prod { padding-bottom: 17px; border-bottom: 1px solid #e0e2e4; }
.az-page-gift .az-prod-art { width: 52px; height: 52px; border-radius: 7px; background: #fff; }
.az-page-gift .az-dl > div { padding: 9px 0; border-color: #e6e8e9; }
.az-page-gift .az-dl dt { color: #68727a; }
.az-page-gift .az-dl dd { color: #28343d; }
.az-gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.az-gift-box {
  border: 1px solid var(--line); border-radius: 8px; padding: 14px;
  background: #fff; font-size: 12.5px; color: #565959;
}
.az-gift-box h3 {
  font-size: 11.5px; margin: 0 0 9px; color: #565959;
  font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.az-gift-box p { margin: 0 0 4px; }
.az-gift-box.highlight { border-color: var(--cta); background: #fffdf3; text-align: center; }
.az-gift-art { font-size: 32px; color: #c45500; margin: 2px 0 8px; }
.az-gift-box strong { display: block; color: var(--ink); font-size: 13.5px; }
.az-gift-val {
  display: inline-block; margin-top: 7px; background: #fff0d6; color: #8a4b00;
  border-radius: 12px; padding: 2px 10px; font-size: 12px;
}
.az-list { margin: 0; padding-left: 16px; }
.az-list li { margin-bottom: 7px; line-height: 1.55; }
.az-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.az-actions .az-cta { width: auto; min-width: 180px; margin-top: 0; }
.az-actions .az-link-btn { margin-top: 0; }

.az-stars { display: flex; gap: 6px; margin: 4px 0 14px; }
.az-stars button {
  border: 0; background: none; font-size: 32px; line-height: 1;
  color: #b0b5b8; padding: 0 2px;
}
.az-stars button:hover { background: none; border: 0; }
.az-stars button.chosen { color: var(--star); }
.az-invite { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fbfcfc; }
.az-invite .az-cta { margin-top: 0; }
/* 客户页底部双按钮并排 */
.az-cta-row { display: flex; gap: 10px; margin-top: 16px; }
.az-cta-row > * { flex: 1 1 0; min-width: 0; width: auto; margin-top: 0; }
.az-cta.ghost { background: #fff; border-color: var(--line); box-shadow: none; }
.az-cta.ghost:hover { background: #f3f6f8; border-color: #c6cfd8; }
/* 外链图标：表明会打开新页面 */
.az-ext { margin-left: 6px; vertical-align: -1px; opacity: .62; }
/* 复制成功：按钮短暂切换为确认态 */
.az-cta.ghost.copied { background: #edf6ee; border-color: #b9d8bc; color: #1c6b33; }
/* 轻推相邻的亚马逊按钮，引导下一步，不改变任何流程 */
.az-cta.nudge { animation: azNudge 1.7s ease-out; }
@keyframes azNudge {
  0% { transform: translateY(0) scale(1); box-shadow: 0 2px 5px #0000000f; background: var(--cta); }
  20% { transform: translateY(-2px) scale(1.012); box-shadow: 0 8px 18px #0000002b, 0 0 0 3px #0f11111f; background: #f3c200; }
  65% { transform: translateY(-1px) scale(1.004); box-shadow: 0 5px 12px #0000001f; background: #f7cc00; }
  100% { transform: translateY(0) scale(1); box-shadow: 0 2px 5px #0000000f; background: var(--cta); }
}
@media (prefers-reduced-motion: reduce) {
  /* 关闭动效时改用静态高亮，仍能指出下一步，但不产生位移 */
  .az-cta.nudge { animation: none; background: #f3c200; box-shadow: 0 6px 14px #00000026, 0 0 0 3px #0f111119; }
}
.az-quote { margin-top: 14px; padding: 10px 12px; background: #fbfcfc; border: 1px solid var(--line); border-radius: 8px; }
.az-quote span { display: block; font-size: 11.5px; color: #565959; margin-bottom: 4px; }
.az-quote p { margin: 0; font-size: 13.5px; color: var(--ink); }
.az-share-disclosure { margin: 12px 0 0; color: #667078; font-size: 12px; line-height: 1.65; }
.az-page-invite .az-wrap { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); }
.az-page-invite .az-card { padding: 26px; }
.az-page-invite .az-cta-row .az-cta:not(.ghost) { background: #ffd814; border-color: #f0c300; color: #17212a; }
.az-page-invite .az-cta-row .az-cta:not(.ghost):hover { background: #f7ca00; border-color: #e8bb00; }
.az-page-support .az-wrap { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); }
.az-page-support .az-card { padding: 26px; }
.az-page-support .az-banner { padding: 18px; border-color: #cfe5d6; background: #f2f8f4; }
.az-page-support .az-banner b { font-size: 15px; }
.az-page-support .az-banner small { display: block; margin-top: 4px; line-height: 1.55; }
.az-support-status { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 15px; border: 1px solid #d9e4dc; border-radius: 8px; background: #f8fbf9; }
.az-support-status > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #178761; color: #fff; font-weight: 800; }
.az-support-status b, .az-support-status small { display: block; }
.az-support-status b { color: #173f31; font-size: 13.5px; }
.az-support-status small { margin-top: 3px; color: #5d6c65; font-size: 12px; line-height: 1.5; }
.az-page-support .az-actions { margin-top: 20px; }
.az-page-support .az-actions .az-cta { background: #17212a; color: #fff; }
.az-support-actions { display: flex; align-items: stretch; gap: 10px; }
.az-support-actions .az-support-done,
.az-support-actions .az-support-mail { flex: 1 1 0; min-height: 50px; border-radius: 7px; }
.az-support-actions .az-support-done { display: grid; place-items: center; border: 1px solid #cfd6da; background: #fff; color: #25313a; font-weight: 700; }
.az-support-actions .az-support-mail { display: flex; align-items: center; justify-content: center; gap: 8px; background: #17212a; color: #fff; text-align: center; text-decoration: none; }
.az-support-actions .az-support-mail svg { flex: 0 0 auto; }
.az-support-actions .az-cta[disabled] { opacity: .58; cursor: not-allowed; }
@media (max-width: 560px) {
  .az-cta-row { flex-direction: column; gap: 8px; }
  .az-page-invite .az-wrap, .az-page-support .az-wrap { width: 100%; margin: 0; grid-template-columns: 1fr; gap: 14px; }
  .az-page-invite .az-card, .az-page-support .az-card { padding: 20px 16px 24px; border-radius: 0; border-left: 0; border-right: 0; }
  .az-page-invite .az-h1, .az-page-support .az-h1 { font-size: 27px; line-height: 1.14; }
  .az-page-invite .az-cta-row > * { min-height: 48px; }
  .az-page-support .az-actions .az-cta { min-height: 52px; }
  .az-support-actions { flex-direction: row; align-items: stretch; gap: 8px; }
  .az-support-actions .az-support-done,
  .az-support-actions .az-support-mail { min-height: 52px; }
}
.az-foot { max-width: 1000px; margin: 0 auto 40px; padding: 0 16px; }
.az-foot p { color: #565959; font-size: 11.5px; line-height: 1.65; margin: 0; }

@media (max-width: 820px) {
  .az-wrap { grid-template-columns: 1fr; gap: 14px; }
  .az-main { order: 1; }
  .az-rail { order: 2; position: static; }
  .az-gift-grid { grid-template-columns: 1fr; }
  .az-card { padding: 18px 16px; }
  .az-h1 { font-size: 21px; }
  .az-stars button { font-size: 34px; }
  .az-actions .az-cta { width: 100%; }
  .az-head-in { gap: 8px; }
  .az-logo span { display: none; }
  .az-step { font-size: 11.5px; }
  .az-page-gift .az-wrap {
    width: calc(100% - 28px); margin: 14px auto 26px; grid-template-columns: 1fr; gap: 0;
    border-radius: 12px;
  }
  .az-page-gift .az-main, .az-page-gift .az-rail { order: initial; }
  .az-page-gift .az-rail { border-left: 0; border-top: 1px solid #e0e2e4; }
  .az-page-gift .az-gift-card { padding: 26px 24px 28px; }
  .az-page-gift .az-summary { padding: 24px; }
  .az-gift-meta { grid-template-columns: 1fr; }
  .az-gift-meta section + section { border-left: 0; border-top: 1px solid #e0e2e4; }
}
@media (max-width: 520px) {
  .az-page-gift .az-head-in { min-height: 56px; padding: 8px 14px; }
  .az-page-gift .az-logo span, .az-page-gift .az-head-right a { display: none; }
  .az-page-gift .az-sub-in { padding: 9px 12px; }
  .az-page-gift .az-step { font-size: 0; gap: 0; }
  .az-page-gift .az-step i { width: 20px; height: 20px; font-size: 10px; }
  .az-page-gift .az-wrap { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .az-page-gift .az-gift-card { padding: 20px 18px 24px; }
  .az-page-gift .az-banner { margin-bottom: 20px; }
  .az-page-gift .az-h1 { font-size: 28px; line-height: 1.12; }
  .az-page-gift .az-p { font-size: 13.5px; }
  .az-gift-focus { margin-top: 20px; padding: 18px; }
  .az-gift-reward { flex-direction: column; align-items: flex-start; gap: 16px; }
  .az-gift-card-art { width: min(100%, 210px); }
  .az-gift-reward strong { font-size: 19px; }
  .az-gift-meta { margin-top: 18px; }
  .az-gift-meta section { padding: 17px; }
  .az-page-gift .az-gift-actions .az-cta { width: 100%; min-height: 52px; font-size: 15px; }
  .az-page-gift .az-summary { padding: 22px 18px; }
  .az-page-gift .az-foot { margin-bottom: 24px; }
}

/* 两段式权益：保修立即生效，调查完成后才解锁额外礼品卡 */
.az-warranty-summary {
  margin: -8px 0 26px; padding: 17px 18px; border: 1px solid #cfe5d6; border-radius: 8px;
  background: #f2f8f4; color: #284e38;
}
.az-warranty-summary span { display: block; margin-bottom: 5px; color: #43805a; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.az-warranty-summary strong { display: block; color: #173c26; font-size: 16px; line-height: 1.35; }
.az-warranty-summary small { display: block; margin-top: 5px; color: #587263; font-size: 11.5px; line-height: 1.55; }
.az-gift-card-art.locked { filter: saturate(.55); opacity: .82; }
.az-gift-card-art.locked::before { content: ""; position: absolute; inset: 0; background: #09101642; }
.az-page-survey .az-wrap, .az-page-claim .az-wrap {
  max-width: 900px; grid-template-columns: minmax(0, 1fr) 270px;
}
.az-survey-card, .az-claim-card { padding: 30px; }
.az-survey-reward {
  display: flex; align-items: center; gap: 18px; margin: 22px 0 26px; padding: 18px;
  border: 1px solid #d8dadd; border-radius: 9px; background: #f7f8f8;
}
.az-gift-card-art.mini { width: 116px; }
.az-survey-reward b { display: block; margin-bottom: 5px; color: #17212a; font-size: 14px; }
.az-survey-reward small { display: block; color: #64717a; font-size: 11.5px; line-height: 1.5; }
.az-survey-label { display: block; margin: 20px 0 8px; color: #25323b; font-size: 13px; font-weight: 700; }
.az-survey-card .az-stars { justify-content: flex-start; margin: 0; }
.az-survey-card textarea { min-height: 120px; font-size: 15px; }
.az-survey-note {
  margin: 12px 0 0; padding: 11px 13px; border-left: 3px solid #b88a42;
  background: #faf7f0; color: #645a49; font-size: 11.5px; line-height: 1.55;
}
.az-survey-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 20px; }
.az-survey-actions .az-cta { min-height: 48px; background: #17212a; border-color: #17212a; color: #fff; }
.az-claim-hero { text-align: center; padding: 12px 10px 20px; }
.az-claim-hero .az-gift-card-art { width: 210px; margin: 0 auto 25px; text-align: left; }
.az-claim-hero .az-gift-kicker { margin-bottom: 9px; }
.az-claim-hero .az-p { max-width: 530px; margin: 0 auto; }
.az-claim-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.az-claim-actions .az-cta { min-height: 50px; background: #17212a; border-color: #17212a; color: #fff; }
.az-claim-confirm { display: flex; gap: 12px; align-items: flex-start; padding: 15px; background: #eef7f1; border: 1px solid #cfe5d6; border-radius: 8px; }
.az-claim-confirm > span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #067d62; color: #fff; }
.az-claim-confirm b, .az-claim-confirm small { display: block; }
.az-claim-confirm small { margin-top: 3px; color: #587263; line-height: 1.45; }
@media (max-width: 820px) {
  .az-page-survey .az-wrap, .az-page-claim .az-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .az-page-survey .az-head-right a, .az-page-claim .az-head-right a { display: none; }
  .az-page-survey .az-step, .az-page-claim .az-step { font-size: 0; gap: 0; }
  .az-page-survey .az-step i, .az-page-claim .az-step i { width: 20px; height: 20px; font-size: 10px; }
  .az-page-survey .az-wrap, .az-page-claim .az-wrap { width: 100%; margin: 0; padding: 0; gap: 0; }
  .az-page-survey .az-card, .az-page-claim .az-card { border-radius: 0; border-left: 0; border-right: 0; padding: 22px 18px 26px; }
  .az-page-survey .az-h1, .az-page-claim .az-h1 { font-size: 27px; line-height: 1.15; }
  .az-survey-reward { gap: 12px; padding: 14px; }
  .az-gift-card-art.mini { width: 105px; }
  .az-survey-card .az-stars button { font-size: 38px; min-width: 48px; min-height: 48px; }
  .az-survey-card textarea { min-height: 132px; font-size: 16px; }
  .az-survey-actions .az-cta, .az-claim-actions .az-cta { min-height: 52px; font-size: 15px; }
  .az-claim-hero .az-gift-card-art { width: min(100%, 230px); }
}

/* 窄屏步骤条：压缩节奏，保证 4 步完整可见 */
@media (max-width: 480px) {
  .az-sub-in { padding: 9px 12px; gap: 6px; }
  .az-step { font-size: 11px; gap: 5px; }
  .az-step i { width: 17px; height: 17px; font-size: 10px; }
  .az-step-sep { min-width: 4px; }
  .az-head-right a { max-width: 38vw; font-size: 11px; }
  .az-lang { padding: 3px 8px; font-size: 11px; }
}

/* 邀评邮件预览 */
.mail-preview {
  background: #f7f8fa; border: 1px solid var(--line, #e6e8eb); border-radius: 8px;
  padding: 14px 16px; font-family: inherit; font-size: 13px; line-height: 1.7;
  white-space: pre-wrap; color: #232f3e; margin: 12px 0 0;
}

/* ==========================================================================
   竞品流程对照（数据洞察页）
   ========================================================================== */
.cmp { margin-top: 18px; }
.cmp-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 26px; padding: 4px 2px 0; }
.cmp-subhead { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #8b98a8; text-transform: uppercase; margin: 4px 0 16px; }
.cmp-funnel { padding: 2px 0; }
.cmp-row { display: grid; grid-template-columns: 108px 1fr 96px; gap: 12px; align-items: center; margin-bottom: 15px; }
.cmp-label b { display: block; font-size: 13px; color: #232f3e; font-weight: 600; }
.cmp-label small { font-size: 11.5px; color: #8b98a8; }
.cmp-bar { position: relative; background: #f6f0ef; border-radius: 5px; height: 32px; overflow: hidden; }
.cmp-bar i { display: block; height: 100%; border-radius: 5px; transition: width .4s ease; }
.cmp-bar i.safe { background: linear-gradient(90deg, #ffb020, #ff9900); }
.cmp-bar i.risk { background: linear-gradient(90deg, #e8755c, #c8371e); }
.cmp-bar span { position: absolute; right: 10px; top: 7px; font-size: 12px; font-weight: 600; color: #232f3e; }
.cmp-step { font-size: 12px; color: #6f7d8c; text-align: right; white-space: nowrap; }
.cmp-step em { font-style: normal; color: #b12704; display: block; font-size: 11px; }
.cmp-total { margin-top: 6px; padding: 12px 14px; background: #fdf3f1; border: 1px solid #f0cfc8; border-radius: 8px; font-size: 13px; color: #8c2d1a; }
.cmp-total b { font-size: 18px; }
.cmp-total span { color: #a8786c; margin-left: 8px; }
.cmp-legend { display: flex; gap: 18px; margin-top: 12px; font-size: 11.5px; color: #8b98a8; }
.cmp-legend span { display: flex; align-items: center; gap: 6px; }
.cmp-legend i { width: 14px; height: 8px; border-radius: 3px; display: inline-block; }
.cmp-legend i.safe { background: #ff9900; }
.cmp-legend i.risk { background: #c8371e; }
.cmp-notes { display: flex; flex-direction: column; gap: 9px; }
.cmp-note { border: 1px solid #f0cfc8; border-left: 3px solid #c8371e; border-radius: 0 7px 7px 0; padding: 10px 13px; background: #fffaf9; }
.cmp-note.ok { border-color: #cfe8d5; border-left-color: #3c9a5c; background: #f6fbf7; }
.cmp-note-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cmp-idx { font-size: 11px; font-weight: 700; color: #8b98a8; font-variant-numeric: tabular-nums; }
.cmp-note-head strong { font-size: 13px; color: #232f3e; }
.cmp-tag { font-size: 10.5px; padding: 2px 7px; border-radius: 20px; font-weight: 600; }
.cmp-tag.bad { background: #fbe3de; color: #a3311a; }
.cmp-tag.ok { background: #e1f2e7; color: #1e6b34; }
.cmp-verdict { margin-left: auto; font-size: 11px; font-weight: 600; color: #b12704; }
.cmp-note.ok .cmp-verdict { color: #1e6b34; }
.cmp-action { margin: 7px 0 4px; font-size: 12.5px; color: #4a5a6e; }
.cmp-why { margin: 0; font-size: 12px; line-height: 1.65; color: #7a5a52; }
.cmp-note.ok .cmp-why { color: #4a6b56; }
.cmp-foot { margin-top: 20px; padding: 15px 17px; border-radius: 8px; background: #fff8e5; border-left: 3px solid #ff9900; display: flex; align-items: flex-start; gap: 16px; }
.cmp-foot strong { font-size: 13px; color: #232f3e; }
.cmp-foot p { margin: 7px 0 0; font-size: 13px; line-height: 1.75; color: #5a4a2a; }
.cmp-foot b { color: #232f3e; }
.cmp-foot a { flex: none; font-size: 12.5px; color: #007185; white-space: nowrap; margin-top: 2px; }

@media (max-width: 900px) {
  .cmp-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .cmp-row { grid-template-columns: 92px 1fr; gap: 10px; }
  .cmp-step { grid-column: 2; text-align: left; margin-top: -9px; white-space: normal; }
  .cmp-step em { display: inline; margin-left: 6px; }
  .cmp-foot { flex-direction: column; gap: 10px; }
}
