:root {
  color-scheme: dark;
  --page: #111110;
  --surface: #1b1a18;
  --surface-raised: #23221f;
  --ink: #f2eee8;
  --muted: #a29c92;
  --stroke: #393732;
  --brand: #d66c4a;
  --brand-hover: #ec805d;
  --teal: #7fc8ad;
  font: 16px/1.55 "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--page); }
.shell { margin: 0 auto; padding: 26px 28px 24px; }
.customer { max-width: 1240px; }
.admin { max-width: 1380px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; font-weight: 650; color: var(--ink); cursor: pointer; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
button:hover:enabled { transform: translateY(-1px); }
button:disabled { cursor: default; opacity: .52; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand-hover); outline-offset: 2px; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 52px; line-height: 1.13; font-weight: 560; letter-spacing: 0; }
h2 { font-size: 22px; line-height: 1.3; font-weight: 650; letter-spacing: 0; }
.eyebrow { color: var(--brand); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 42px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 750; letter-spacing: .04em; }
.brand em { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 550; margin-left: 3px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--brand); border-radius: 6px; color: var(--brand); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 15px; }
.secure-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px #7fc8ad55; }
.customer-hero { max-width: 740px; padding: 72px 0 36px; }
.customer-hero h1 { margin-top: 14px; }
.customer-hero h1 strong { color: var(--brand); font-weight: 600; }
.customer-hero > p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.plan-chips span { padding: 5px 9px; border: 1px solid var(--stroke); border-radius: 4px; color: #d7d0c6; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 10px; letter-spacing: .04em; }
.customer-layout { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: 54px; align-items: start; }
.info-rail { padding: 18px 0 0; }
.rail-label { padding-bottom: 16px; border-bottom: 1px solid var(--stroke); color: var(--muted); font-size: 12px; }
.steps { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 17px 0; border-bottom: 1px solid #302e29; }
.steps li > b { padding-top: 1px; color: var(--brand); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; font-weight: 500; }
.steps li strong { display: block; font-size: 14px; font-weight: 620; }
.steps li small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.rail-tip { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 13px 14px; border-left: 2px solid var(--brand); background: #1c1a18; }
.rail-tip > span { color: var(--brand); }
.rail-tip p { color: #c0b9ae; font-size: 12px; line-height: 1.65; }
.panel { min-width: 0; padding: 24px; border: 1px solid var(--stroke); border-radius: 7px; background: var(--surface); }
.customer-card { padding: 22px 24px 0; }
.switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border: 1px solid var(--stroke); border-radius: 5px; background: #151514; }
.switcher button { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 8px; border-radius: 3px; color: var(--muted); background: transparent; font-size: 13px; }
.switcher button[aria-pressed="true"] { color: var(--ink); border-color: #514038; background: #30231e; }
.tab-icon { color: var(--brand); font-size: 16px; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.card-heading h2 { margin-top: 5px; font-size: 20px; }
.card-lock { color: var(--teal); font-size: 11px; white-space: nowrap; }
.card-lock::first-letter { font-size: 9px; }
form { margin-top: 20px; }
label { display: block; margin: 0 0 7px; color: #e8e2d9; font-size: 13px; font-weight: 620; }
input, select, textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #45423d; border-radius: 5px; color: var(--ink); background: #141413; }
input, select { min-height: 46px; }
textarea { resize: vertical; min-height: 105px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #746f67; }
input[readonly], textarea[readonly] { color: #d9d2c9; }
.input-shell, .select-shell { position: relative; }
.code-input, #codes, .mono { font-family: "IBM Plex Mono", Consolas, "Microsoft YaHei", monospace; }
.code-shell > span { position: absolute; top: 50%; left: 12px; z-index: 1; transform: translateY(-50%); color: var(--brand); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 10px; }
.code-shell input { padding-left: 48px; }
.select-shell::after { position: absolute; top: 50%; right: 15px; width: 7px; height: 7px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: translateY(-70%) rotate(45deg); content: ""; pointer-events: none; }
select { appearance: none; padding-right: 36px; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.65; }
.hint:not(:empty) { margin-top: 8px; }
.customer-card form > .hint { margin: 8px 0 18px; }
#redeem-fields > label:not(:first-child) { margin-top: 18px; }
.primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; color: #171311; background: var(--brand); }
.primary:hover:enabled { background: var(--brand-hover); }
.secondary { color: #e8e1d7; border-color: #48443e; background: #292723; }
.secondary:hover:enabled { border-color: #71675d; background: #302d28; }
.wide { width: 100%; min-height: 49px; margin-top: 18px; padding-inline: 16px; }
.wide b { font-size: 19px; font-weight: 500; }
.feedback:not(:empty) { padding: 10px 12px; margin-top: 13px; border: 1px solid #465849; border-radius: 4px; color: #a9d5b6; background: #202820; overflow-wrap: anywhere; }
.feedback[data-kind="error"]:not(:empty) { border-color: #66413b; color: #efb0a3; background: #2b201e; }
.customer-card > .hint:not(:empty) { margin-top: 10px; }
.card-foot { margin: 22px -24px 0; padding: 12px 24px; border-top: 1px solid var(--stroke); color: #817a70; font-size: 10px; }
.order-detail { min-width: 0; margin-top: 28px; }
.detail-heading { gap: 8px; }
.order-badge { padding: 3px 9px; border: 1px solid #36515a; border-radius: 20px; color: #a5d0dc; background: #202c30; font-size: 12px; font-weight: 650; }
.order-badge[data-state="success"] { color: #a5d8be; border-color: #3c5d4e; background: #1f2c25; }
.order-badge[data-state="failed"] { color: #efb0a3; border-color: #65453e; background: #2b211f; }
.order-product { margin-top: 14px; font-size: 18px; font-weight: 650; }
.order-number { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.order-detail dl { margin: 15px 0 0; }
.order-detail dd { margin: 0; font-weight: 620; overflow-wrap: anywhere; }
.order-detail dt, .timeline-meta, .sync-time { color: var(--muted); font-size: 12px; }
.order-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(165px, 100%), 1fr)); gap: 8px; }
.order-facts > div { min-width: 0; padding: 10px 12px; border: 1px solid var(--stroke); border-radius: 4px; background: var(--surface-raised); }
.order-times { display: flex; padding: 12px 0; border-block: 1px solid var(--stroke); }
.order-times > div { flex: 1; padding: 0 3px; text-align: center; }
.order-times > div + div { border-left: 1px solid var(--stroke); }
.order-checks { display: grid; gap: 6px; }
.order-checks > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 4px; background: var(--surface-raised); }
.order-checks dd { font-size: 13px; text-align: right; }
.timeline-title { margin: 22px 0 9px; font-size: 15px; }
.timeline { padding: 2px 0 0; margin: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 13px 22px; overflow-wrap: anywhere; }
.timeline li:not(:last-child)::after { position: absolute; top: 16px; bottom: -4px; left: 5px; border-left: 1px solid #514d45; content: ""; }
.timeline li::before { position: absolute; top: 7px; left: 1px; width: 8px; height: 8px; border: 1px solid #8b8276; border-radius: 50%; background: var(--surface); content: ""; }
.timeline li[data-state="done"]::before { border-color: var(--teal); background: var(--teal); }
.timeline li[data-state="running"]::before { border-color: #85bfd0; background: #85bfd0; }
.timeline li[data-state="failed"]::before { border-color: #d8816f; background: #d8816f; }
.timeline strong { font-size: 13px; }
.sync-time { margin-top: 12px; }
.site-footer { padding: 34px 0 4px; color: #6e6961; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 9px; letter-spacing: .08em; }
.site-footer span { padding-inline: 5px; color: var(--brand); }

.admin-header { padding-bottom: 24px; border-bottom: 1px solid var(--stroke); }
.text-action { display: inline-flex; align-items: center; gap: 12px; color: #d7cfc5; text-decoration: none; font-size: 13px; }
.text-action b { color: var(--brand); font-size: 18px; font-weight: 500; }
.page-title { padding: 28px 0 22px; }
.page-title h1 { margin-top: 4px; font-size: 34px; }
.page-title p { margin-top: 6px; color: var(--muted); font-size: 13px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 16px; align-items: start; }
.admin .panel { padding: 22px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.section-heading h2 { margin-top: 5px; }
.section-index { color: #746d62; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 24px; }
.issue-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 14px; }
.field { min-width: 0; }
.field label { margin-bottom: 8px; }
.issue-qty { display: flex; gap: 8px; }
.issue-qty input { width: 96px; }
.issue-qty .primary { flex: 1; justify-content: center; white-space: nowrap; }
.issue-qty .primary span { font-size: 18px; font-weight: 500; }
.availability-note { min-height: 20px; }
.batch { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--stroke); }
.batch .secondary { margin-top: 12px; }
#copy span { color: var(--brand); }
.connection-mark { display: grid; place-items: center; width: 40px; height: 32px; border: 1px solid #47433d; border-radius: 4px; color: var(--brand); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; }
.connection-copy { margin-top: 21px; color: #b5ada2; font-size: 13px; line-height: 1.75; }
.connection-button { width: 100%; margin-top: 18px; }
.connection-button span { margin-right: 7px; color: var(--brand); font-size: 17px; }
.setup-note { margin-top: 12px; }
.history-panel { grid-column: 1 / -1; }
.history-heading { align-items: center; }
.history-heading .secondary { flex-shrink: 0; }
.small { min-height: 38px; padding: 6px 12px; font-size: 12px; }
.small span { margin-right: 5px; color: var(--brand); }
.find-form { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 0; margin: 18px 0; }
.find-form label { margin: 0; }
.find-form .action-row { display: flex; gap: 8px; }
.find-form .action-row input { flex: 1; }
.find-form .hint { grid-column: 2; margin-top: 5px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--stroke); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th, td { padding: 11px 12px; border-bottom: 1px solid #34322e; }
thead { background: #22211f; }
th { color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #211f1c; }
td { overflow-wrap: anywhere; }
td:first-child, td:nth-child(2), td:nth-child(3) { white-space: nowrap; }
.voucher-cell { min-width: 300px; white-space: nowrap; }
.voucher-code { color: #303036; font-size: 11px; }
.voucher-code.missing { color: var(--muted); font-family: inherit; font-style: italic; }
.copy-code { min-height: 30px; margin-left: 10px; padding: 4px 9px; font-size: 11px; }
td button { min-height: 34px; }
.history-panel > .hint { min-height: 0; }
.history-order { display: block; margin-top: 4px; color: var(--muted); overflow-wrap: anywhere; font-size: 10px; }
.manage-order { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--stroke); scroll-margin-top: 12px; }
.manage-order .section-heading h2 { font-size: 19px; }
.manage-order form { max-width: 520px; }
.manage-order form .primary { margin-top: 12px; }
.manage-order .order-detail { margin-top: 16px; padding: 18px; border: 1px solid var(--stroke); border-radius: 4px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#invoice-fallback { max-width: 620px; margin-top: 14px; }

@media (max-width: 800px) {
  .customer-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; }
  .admin-grid { grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr); }
  .issue-fields { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shell { padding: 18px 16px 18px; }
  .customer-hero { padding: 52px 0 26px; }
  h1 { font-size: 38px; }
  .customer-hero > p { font-size: 13px; }
  .customer-hero > p br { display: none; }
  .customer-layout { grid-template-columns: 1fr; gap: 16px; }
  .info-rail { padding: 0; }
  .rail-label { padding-bottom: 9px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .steps li { display: block; padding: 10px 0; }
  .steps li > b { display: block; margin-bottom: 5px; }
  .steps li strong { font-size: 12px; }
  .steps li small { font-size: 10px; }
  .rail-tip { margin-top: 6px; padding: 9px 11px; }
  .rail-tip p { font-size: 11px; }
  .customer-card { padding: 16px 16px 0; }
  .card-heading { margin-top: 20px; }
  .card-foot { margin-inline: -16px; padding-inline: 16px; }
  .admin-header { padding-bottom: 16px; }
  .page-title { padding: 22px 0 17px; }
  .page-title h1 { font-size: 28px; }
  .admin-grid { grid-template-columns: 1fr; gap: 12px; }
  .admin .panel { padding: 17px; }
  .history-panel { grid-column: auto; }
  .issue-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .issue-qty { flex-direction: column; }
  .issue-qty input { width: 100%; }
  .issue-qty .primary { width: 100%; }
  .find-form { grid-template-columns: 1fr; gap: 7px; }
  .find-form .hint { grid-column: 1; }
  .find-form .action-row { min-width: 0; }
  .table-wrap { margin-inline: -17px; padding-inline: 17px; border-inline: 0; border-radius: 0; }
  table { min-width: 700px; }
  th, td { padding: 10px 9px; }
  .site-footer { padding-top: 26px; }
}
@media (max-width: 380px) {
  .shell { padding-inline: 12px; }
  .customer-card { padding-inline: 13px; }
  .card-foot { margin-inline: -13px; padding-inline: 13px; }
  .issue-fields { grid-template-columns: 1fr; }
  .issue-qty { flex-direction: row; }
  .issue-qty input { width: 86px; }
  .table-wrap { margin-inline: -17px; }
}

/* iOS-inspired light system surface */
:root {
  color-scheme: light;
  --page: #f5f5f7;
  --surface: rgba(255, 255, 255, .88);
  --surface-raised: #f2f2f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --stroke: #dedee3;
  --brand: #007aff;
  --brand-hover: #006fe6;
  --teal: #34c759;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--page);
}
body { color: var(--ink); background: var(--page); }
button { border-radius: 12px; font-weight: 600; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #007aff; }
.shell { padding-top: 24px; }
.site-header { min-height: 44px; }
.brand { color: var(--ink); letter-spacing: 0; }
.brand em { color: var(--muted); }
.brand-mark { border: 0; border-radius: 10px; color: #fff; background: var(--brand); font-family: inherit; font-weight: 750; }
.secure-note { color: var(--muted); }
.status-dot { background: var(--teal); box-shadow: 0 0 0 3px #34c75920; }
.eyebrow { color: var(--brand); font-family: inherit; font-size: 11px; letter-spacing: .08em; }
.customer-hero { padding: 72px 0 40px; }
.customer-hero h1 { color: var(--ink); font-size: 52px; font-weight: 700; letter-spacing: -.035em; }
.customer-hero h1 strong { color: var(--brand); font-weight: 700; }
.customer-hero > p { color: var(--muted); }
.plan-chips span { border-color: #d5d5da; border-radius: 999px; color: #3a3a3c; background: rgba(255,255,255,.7); font-family: inherit; font-size: 11px; letter-spacing: 0; }
.info-rail { padding-top: 20px; }
.rail-label { border-bottom-color: #d9d9de; color: var(--muted); }
.steps li { border-bottom-color: #dedee3; }
.steps li > b { color: var(--brand); font-family: inherit; }
.steps li strong { color: var(--ink); }
.steps li small { color: var(--muted); }
.rail-tip { border-left-color: var(--brand); border-radius: 0 12px 12px 0; background: #eaf3ff; }
.rail-tip > span { color: var(--brand); }
.rail-tip p { color: #37526e; }
.panel { border: 1px solid rgba(0,0,0,.08); border-radius: 20px; background: var(--surface); box-shadow: 0 8px 28px rgba(0,0,0,.05); backdrop-filter: blur(18px); }
.customer-card { padding: 22px 24px 0; }
.switcher { gap: 3px; padding: 3px; border: 0; border-radius: 12px; background: #e9e9ee; }
.switcher button { min-height: 40px; border-radius: 9px; color: #6e6e73; font-size: 13px; }
.switcher button[aria-pressed="true"] { color: var(--ink); border: 0; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.10); }
.tab-icon { color: var(--brand); }
.card-heading h2 { font-size: 21px; font-weight: 700; }
.card-lock { color: #248a43; }
label { color: #3a3a3c; font-size: 13px; }
input, select, textarea { border: 1px solid #d1d1d6; border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.8); box-shadow: inset 0 1px 2px rgba(0,0,0,.02); }
input:focus, select:focus, textarea:focus { border-color: #7cb9f9; box-shadow: 0 0 0 3px #007aff1f; outline: 0; }
input::placeholder, textarea::placeholder { color: #8e8e93; }
.code-shell > span { color: var(--brand); font-family: inherit; font-weight: 650; }
.select-shell::after { border-color: #8e8e93; }
.hint { color: var(--muted); }
.primary { color: #fff; border-radius: 12px; background: var(--brand); box-shadow: 0 2px 5px #007aff2e; }
.primary:hover:enabled { background: var(--brand-hover); }
.secondary { color: #3a3a3c; border-color: #d1d1d6; background: #fff; }
.secondary:hover:enabled { border-color: #b7b7bc; background: #f7f7f8; }
.feedback:not(:empty) { border-color: #bfe5c9; border-radius: 10px; color: #206b31; background: #effaf1; }
.feedback[data-kind="error"]:not(:empty) { border-color: #f2c6c1; color: #a33b32; background: #fff2f0; }
.card-foot { border-top-color: #e5e5ea; color: #8e8e93; }
.order-detail { border-color: rgba(0,0,0,.08); }
.order-badge { border-color: #b8d9fb; border-radius: 999px; color: #1267b4; background: #edf6ff; }
.order-badge[data-state="success"] { border-color: #bfe5c9; color: #206b31; background: #effaf1; }
.order-badge[data-state="failed"] { border-color: #f2c6c1; color: #a33b32; background: #fff2f0; }
.order-number, .order-detail dt, .timeline-meta, .sync-time { color: var(--muted); }
.order-facts > div, .order-checks > div { border-color: #e5e5ea; border-radius: 12px; background: var(--surface-raised); }
.order-times { border-block-color: #e5e5ea; }
.timeline li:not(:last-child)::after { border-left-color: #d1d1d6; }
.timeline li::before { border-color: #8e8e93; background: #fff; }
.timeline li[data-state="done"]::before { border-color: var(--teal); background: var(--teal); }
.timeline li[data-state="running"]::before { border-color: var(--brand); background: var(--brand); }
.timeline li[data-state="failed"]::before { border-color: #ff3b30; background: #ff3b30; }
.site-footer { color: #8e8e93; font-family: inherit; letter-spacing: 0; }
.site-footer span { color: var(--brand); }

.admin-header { border-bottom-color: #dedee3; }
.text-action { color: var(--brand); }
.text-action b { color: var(--brand); }
.page-title h1 { font-weight: 700; letter-spacing: -.03em; }
.page-title p { color: var(--muted); }
.admin .panel { border-radius: 18px; }
.section-heading h2 { font-weight: 700; }
.section-index { color: #8e8e93; }
.connection-mark { border-color: #c7c7cc; border-radius: 9px; color: var(--brand); }
.connection-copy { color: var(--muted); }
.connection-button { box-shadow: none; }
.setup-note { color: var(--muted); }
.small { border-radius: 10px; }
.table-wrap { border-color: #dedee3; border-radius: 12px; }
thead { background: #f2f2f7; }
th, td { border-bottom-color: #e5e5ea; }
th { color: var(--muted); }
tbody tr:hover { background: #f8f8fa; }
.history-order { color: var(--muted); }
.manage-order { border-top-color: #e5e5ea; }
.manage-order .order-detail { border-color: #dedee3; }

@media (max-width: 620px) {
  .customer-hero { padding: 52px 0 28px; }
  .customer-hero h1 { font-size: 38px; letter-spacing: -.03em; }
  .customer-hero > p { font-size: 13px; }
}

/* Subtle motion keeps the customer page responsive without shifting its layout. */
@keyframes customer-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes customer-pulse {
  0%, 100% { box-shadow: 0 0 0 3px #34c75920; }
  50% { box-shadow: 0 0 0 6px #34c75910; }
}
.customer-page .site-header,
.customer-page .customer-hero,
.customer-page .info-rail,
.customer-page .customer-card,
.customer-page .site-footer {
  animation: customer-rise .48s cubic-bezier(.22, 1, .36, 1) both;
}
.customer-page .customer-hero { animation-delay: .06s; }
.customer-page .info-rail { animation-delay: .12s; }
.customer-page .customer-card { animation-delay: .18s; }
.customer-page .site-footer { animation-delay: .24s; }
.customer-page .status-dot { animation: customer-pulse 2.8s ease-in-out infinite; }
.customer-page .plan-chips span,
.customer-page .steps li,
.customer-page .switcher button,
.customer-page .primary {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.customer-page .plan-chips span:hover { transform: translateY(-2px); border-color: #a9cfff; box-shadow: 0 4px 10px #007aff14; }
.customer-page .steps li:hover { transform: translateX(3px); }
.customer-page .switcher button:hover:enabled { transform: translateY(-1px); }
.customer-page .primary:hover:enabled { box-shadow: 0 5px 12px #007aff38; }
.customer-page .feedback:not(:empty),
.customer-page .order-detail:not([hidden]) { animation: customer-rise .3s cubic-bezier(.22, 1, .36, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .customer-page *,
  .customer-page *::before,
  .customer-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
