/* Explicit opt-in skin. Copy, visibility and business state stay intact. */
html[data-customer-theme="mono"] {
  color-scheme: dark;
  --bg: #090909;
  --panel: #111111;
  --ink: #f4f4f4;
  --muted: #b5b5b5;
  --line: #353535;
  --accent: #f4f4f4;
  --accent-strong: #dddddd;
  --accent-soft: #242424;
  --ios-accent: #f4f4f4;
  --ios-accent-pressed: #dddddd;
  --danger: #ffaba5;
  background: #090909;
}
html[data-customer-theme="mono"] body,
html[data-customer-theme="mono"] .minimal-shell {
  --ios-accent: #f4f4f4;
  --ios-accent-pressed: #dddddd;
  color: #f4f4f4;
  background: #090909;
}
html[data-customer-theme="mono"] :is(.minimal-card, .minimal-head, .minimal-body, .account-confirm-dialog) {
  color: #f4f4f4;
  background: #111111;
  border-color: #353535;
  box-shadow: none;
}
html[data-customer-theme="mono"] :is(h1, h2, h3, .minimal-field > span, .guide-step strong, .account-confirm-prompt, .success-reminder-summary-copy strong, .success-reminder-row strong, .success-reminder-toast-copy strong) {
  color: #f4f4f4;
}
html[data-customer-theme="mono"] :is(.minimal-subtitle, .field-note, .guide-step small, .status-message, .status-eyebrow, .muted, .session-file-status, .session-import-alternatives-help, .account-confirm-help, .account-confirm-copy-state, .card-status-meta, .card-status-item p, .success-reminder-summary-copy small, .success-reminder-row small, .success-reminder-scope, .success-reminder-toast-copy span, .invoice-box > p) {
  color: #b5b5b5;
}
html[data-customer-theme="mono"] :is(.minimal-field, .token-guide, .field-note, .queue-pill, .result-panel, .status-panel, .invoice-box, .session-import-alternatives, .session-file-import, .account-confirm-copy-row, .recharge-elapsed-timer, .card-status-item, .success-reminder-panel, .success-reminder-toast) {
  color: #ededed;
  background: #191919;
  border-color: #3b3b3b;
  box-shadow: none;
}
html[data-customer-theme="mono"] :is(input, textarea, select) {
  color: #f4f4f4;
  background: #0d0d0d;
  border-color: #505050;
  caret-color: #ffffff;
}
html[data-customer-theme="mono"] :is(input, textarea)::placeholder { color: #a3a3a3; }
html[data-customer-theme="mono"] :is(input, textarea, select):focus {
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}
html[data-customer-theme="mono"] :is(a, .account-confirm-eyebrow, .invoice-head > strong) { color: #eeeeee; }
html[data-customer-theme="mono"] :is(.btn.primary, .minimal-shell .btn.primary) {
  color: #111111;
  background: #f4f4f4;
  border-color: #f4f4f4;
  box-shadow: none;
}
html[data-customer-theme="mono"] :is(.btn.primary, .minimal-shell .btn.primary):hover { background: #dcdcdc; }
html[data-customer-theme="mono"] :is(.btn.secondary, .account-email-copy, .guide-index, .session-import-alternatives > summary, .success-reminder-summary, .success-reminder-bell, .success-reminder-permission button) {
  color: #ededed;
  background: #242424;
  border-color: #555555;
}
html[data-customer-theme="mono"] :is(.btn.secondary, .account-email-copy, .success-reminder-summary):hover { background: #303030; }
html[data-customer-theme="mono"] :is(button, a, summary):focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
html[data-customer-theme="mono"] .flow-stepper::before,
html[data-customer-theme="mono"] .utility-links a + a::before,
html[data-customer-theme="mono"] .progress-list::before,
html[data-customer-theme="mono"] :is(.order-progress, .invoice-progress) { background: #404040; }
html[data-customer-theme="mono"] .flow-step { color: #b5b5b5; }
html[data-customer-theme="mono"] .flow-step span { background: #181818; color: #b5b5b5; border-color: #555555; }
html[data-customer-theme="mono"] :is(.flow-step.active, .flow-step.done) { color: #ffffff; }
html[data-customer-theme="mono"] .flow-step.active span { background: #f4f4f4; color: #111111; border-color: #f4f4f4; box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
html[data-customer-theme="mono"] .flow-step.done span { color: #ffffff; background: #333333; border-color: #bbbbbb; }
html[data-customer-theme="mono"] .session-import-alternatives > summary::after,
html[data-customer-theme="mono"] :is(.badge, .card-status-pill, .recharge-product-banner, .external-processing-banner, .session-import-alternatives > summary small) {
  color: #ededed;
  background: #2a2a2a;
  border-color: #555555;
}
html[data-customer-theme="mono"] .progress-list li { color: #b5b5b5; background: transparent; }
html[data-customer-theme="mono"] .progress-list li.active { color: #ffffff; }
html[data-customer-theme="mono"] .progress-list li::before { border-color: #777777; background: #191919; }
html[data-customer-theme="mono"] .progress-list li.done::before { background: #dddddd; border-color: #dddddd; box-shadow: inset 0 0 0 3px #191919; }
html[data-customer-theme="mono"] .progress-list li.active::before { border-color: #eeeeee; background: #191919; }
html[data-customer-theme="mono"] .recharge-elapsed-timer > :is(span, small) { color: #b5b5b5; }
html[data-customer-theme="mono"] .recharge-elapsed-timer > strong { color: #ffffff; }
html[data-customer-theme="mono"] .chatgpt-mark { filter: grayscale(1) brightness(0) invert(1); }
html[data-customer-theme="mono"] .account-confirm-backdrop { background: rgba(0,0,0,.75); }
html[data-customer-theme="mono"] .success-reminder-row:hover { background: #282828; }
html[data-customer-theme="mono"] .success-reminder-toast-close { color: #eeeeee; background: #303030; }
html[data-customer-theme="mono"] .success-reminder-switch > span { background: #555555; }
html[data-customer-theme="mono"] .success-reminder-switch input:checked + span { background: #d5d5d5; }
/* Status signals remain distinct; monochrome branding must not hide a warning. */
html[data-customer-theme="mono"] :is(.token-guide-alert, .intake-pause-banner, .manual-action-box) { color: #ffd49a; background: #30271b; border-color: #84683d; }
html[data-customer-theme="mono"] .manual-action-box strong { color: #ffe0b5; }
html[data-customer-theme="mono"] .manual-action-box p { color: #e6c9a1; }
html[data-customer-theme="mono"] .external-processing-banner span { color: #cccccc; }
html[data-customer-theme="mono"] :is(.status-panel.is-review .badge, .card-status-pill.pending, .card-status-pill.used) { color: #ffd49a; background: #30271b; }
html[data-customer-theme="mono"] :is(.status-panel.is-error .badge, .session-file-status.error, .account-confirm-copy-state.error, .account-email-copy-feedback.error, .progress-list li.error) { color: #ffaba5; }
html[data-customer-theme="mono"] :is(.status-panel.is-error .badge, .btn.danger, .result-panel.is-error, .result-panel.error) { color: #ffaba5; background: #331c1c; border-color: #90504b; }
html[data-customer-theme="mono"] .result-panel.error :is(h2, p) { color: #ffaba5; }
html[data-customer-theme="mono"] .result-panel.success :is(h2, p) { color: #ade4c0; }
html[data-customer-theme="mono"] :is(.status-panel.is-success .badge, .session-file-status.success, .account-confirm-copy-state.success, .account-email-copy-feedback, .card-status-pill.unused) { color: #ade4c0; background-color: #1b2a20; }
html[data-customer-theme="mono"] .card-status-pill.success { color: #beddf2; background: #1c2831; }
html[data-customer-theme="mono"] .card-status-pill.danger { color: #ffaba5; background: #331c1c; }
html[data-customer-theme="mono"] .status-panel.is-success .recharge-elapsed-timer { background: #1b2a20; border-color: #44614d; }
html[data-customer-theme="mono"] .status-panel.is-success .recharge-elapsed-timer > strong { color: #ade4c0; }
html[data-customer-theme="mono"] .status-panel.is-retrying .badge { color: #beddf2; background: #1c2831; }

/* Terminal-inspired revision: restrained panels, left-aligned reading flow. */
html[data-customer-theme="mono"] .minimal-shell {
  place-items: start center;
  padding: 44px 24px 64px;
}
html[data-customer-theme="mono"] .minimal-card,
html[data-customer-theme="mono"] .public-shell-recharge .minimal-card {
  width: min(740px, 100%);
  border: 1px solid #292929;
  border-radius: 6px;
  background: #0e0e0e;
  animation: none;
}
html[data-customer-theme="mono"] .minimal-head {
  justify-items: start;
  padding: 28px 32px 26px;
  text-align: left;
  background: #0e0e0e;
}
html[data-customer-theme="mono"] .minimal-logo,
html[data-customer-theme="mono"] .minimal-card-query .minimal-logo {
  width: 44px;
  height: 44px;
  margin: 0 0 20px;
}
html[data-customer-theme="mono"] .chatgpt-mark,
html[data-customer-theme="mono"] .chatgpt-mark.compact {
  width: 30px;
  height: 30px;
}
html[data-customer-theme="mono"] .minimal-head h1,
html[data-customer-theme="mono"] .minimal-card-query .minimal-head h1 {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.02em;
  text-wrap: initial;
}
html[data-customer-theme="mono"] .minimal-subtitle {
  max-width: 570px;
  margin-top: 9px;
  font-size: 13px;
  color: #a8a8a8;
  text-wrap: initial;
}
html[data-customer-theme="mono"] .queue-pill {
  min-height: 24px;
  margin-top: 16px;
  padding: 4px 8px;
  border: 1px solid #303030;
  border-radius: 3px;
  background: transparent;
  color: #bcbcbc;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, "Microsoft YaHei", monospace;
}
html[data-customer-theme="mono"] .queue-pill strong { font-weight: 500; }
html[data-customer-theme="mono"] .flow-stepper {
  width: calc(100% - 64px);
  margin: 0 32px 24px;
  border: 1px solid #2c2c2c;
  border-radius: 4px;
  background: #0c0c0c;
}
html[data-customer-theme="mono"] .flow-stepper::before { height: 0; background: transparent; }
html[data-customer-theme="mono"] .flow-step {
  min-width: 0;
  justify-items: start;
  gap: 5px;
  padding: 12px 14px;
  border-right: 1px solid #2c2c2c;
  border-bottom: 2px solid transparent;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Microsoft YaHei", monospace;
  font-weight: 500;
}
html[data-customer-theme="mono"] .flow-step:last-child { border-right: 0; }
html[data-customer-theme="mono"] .flow-step :is(span, strong) { text-align: left; }
html[data-customer-theme="mono"] .flow-step span {
  width: auto;
  height: 18px;
  min-width: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 18px;
}
html[data-customer-theme="mono"] .flow-step strong { max-width: none; font-size: 11px; font-weight: 500; }
html[data-customer-theme="mono"] .flow-step.active { border-bottom-color: #dddddd; background: #181818; }
html[data-customer-theme="mono"] .flow-step.active span,
html[data-customer-theme="mono"] .flow-step.done span { color: #eeeeee; background: transparent; border: 0; box-shadow: none; }
html[data-customer-theme="mono"] .minimal-body { padding: 26px 32px 30px; border-top-color: #292929; background: #0e0e0e; }
html[data-customer-theme="mono"] .minimal-form { gap: 18px; }
html[data-customer-theme="mono"] .minimal-field {
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
html[data-customer-theme="mono"] .minimal-field > span {
  padding: 0;
  color: #c6c6c6;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, "Microsoft YaHei", monospace;
}
html[data-customer-theme="mono"] .minimal-field :is(input, textarea) {
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #3d3d3d;
  border-radius: 4px;
  background: #090909;
  font-size: 14px;
}
html[data-customer-theme="mono"] .minimal-field textarea { min-height: 180px; font-family: ui-monospace, SFMono-Regular, Consolas, "Microsoft YaHei", monospace; }
html[data-customer-theme="mono"] .field-note { padding: 0; border-radius: 0; background: transparent; color: #a7a7a7; line-height: 1.6; }
html[data-customer-theme="mono"] .minimal-actions { flex-direction: row; flex-wrap: wrap; width: fit-content; max-width: 100%; gap: 12px 20px; padding: 2px 0 0; }
html[data-customer-theme="mono"] .minimal-actions.primary-actions { padding-top: 0; }
html[data-customer-theme="mono"] .minimal-shell .btn {
  width: auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 4px !important;
  font-size: 13px;
  font-weight: 600;
}
html[data-customer-theme="mono"] .minimal-shell .btn.primary { min-width: 132px; }
html[data-customer-theme="mono"] .minimal-shell .btn.secondary { background: #111111; border-color: #3b3b3b; }
html[data-customer-theme="mono"] .utility-links { width: fit-content; max-width: 100%; padding-top: 0; }
html[data-customer-theme="mono"] .utility-links a { min-height: 44px; padding: 12px 14px 12px 0; line-height: 20px; }
html[data-customer-theme="mono"] .utility-links a + a { padding-left: 14px; }
html[data-customer-theme="mono"] .back-link { min-height: 44px; margin: 0; padding: 12px 0; line-height: 20px; }
html[data-customer-theme="mono"] .query-link { min-height: 44px; padding: 12px 0; line-height: 20px; }
html[data-customer-theme="mono"] :is(.token-guide, .result-panel, .status-panel, .invoice-box, .session-import-alternatives, .session-file-import, .account-confirm-copy-row, .recharge-elapsed-timer, .card-status-item, .account-confirm-dialog, .success-reminder-panel, .success-reminder-toast, .recharge-product-banner, .external-processing-banner, .intake-pause-banner, .manual-action-box) {
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  border-color: #303030;
  box-shadow: none;
}
html[data-customer-theme="mono"] :is(.token-guide, .session-import-alternatives, .invoice-box) { background: #111111; }
html[data-customer-theme="mono"] .token-guide { padding: 0; }
html[data-customer-theme="mono"] .token-guide-alert { margin: 0; padding: 11px 14px; border-radius: 3px 3px 0 0; border-width: 0 0 1px; font-size: 13px; font-weight: 500; }
html[data-customer-theme="mono"] .guide-step { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; min-height: 70px; padding: 14px; }
html[data-customer-theme="mono"] .guide-step:not(:last-child) { border-bottom-color: #2c2c2c; }
html[data-customer-theme="mono"] .guide-index { width: 22px; height: 24px; border-radius: 0; background: transparent; color: #aaaaaa; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
html[data-customer-theme="mono"] .guide-step strong { font-weight: 550; }
html[data-customer-theme="mono"] .guide-step small { font-size: 11px; line-height: 1.5; }
html[data-customer-theme="mono"] .guide-step .btn.btn-small { min-height: 44px !important; font-size: 12px !important; }
html[data-customer-theme="mono"] .session-file-button { min-height: 44px !important; }
html[data-customer-theme="mono"] .recharge-product-banner { margin-bottom: 20px; padding: 10px 12px; background: #151515; color: #cfcfcf; font-size: 12px; font-weight: 500; text-align: left; }
html[data-customer-theme="mono"] .session-import-alternatives > summary { min-height: 44px; padding: 0 12px; background: #111111; font-size: 12px; }
html[data-customer-theme="mono"] .session-import-alternatives > summary small { border-radius: 3px; background: transparent; color: #9c9c9c; }
html[data-customer-theme="mono"] .session-import-alternatives > summary::after { border-radius: 2px; background: transparent; }
html[data-customer-theme="mono"] :is(.badge, .card-status-pill, .account-email-copy) { border-radius: 3px; }
html[data-customer-theme="mono"] .minimal-card-query .status-panel { padding: 20px; animation: none; }
html[data-customer-theme="mono"] .minimal-card-query .status-top h2 { font-size: 23px; font-weight: 600; }
html[data-customer-theme="mono"] .status-eyebrow { font-family: ui-monospace, SFMono-Regular, Consolas, "Microsoft YaHei", monospace; font-weight: 500; }
html[data-customer-theme="mono"] :is(.order-progress, .invoice-progress, .order-progress span, .invoice-progress span) { border-radius: 0; }
html[data-customer-theme="mono"] .minimal-card-query .progress-list li::before { border-radius: 2px; animation: none; box-shadow: none; }
html[data-customer-theme="mono"] .minimal-card-query .progress-list li { border-radius: 0; }
html[data-customer-theme="mono"] .success-reminder-settings { top: 24px; right: 28px; }
html[data-customer-theme="mono"] .success-reminder-summary { grid-template-columns: 22px minmax(0, auto) 14px; min-height: 44px; gap: 6px; padding: 5px 8px; border: 1px solid #323232; border-radius: 4px; background: #111111; box-shadow: none; }
html[data-customer-theme="mono"] .success-reminder-bell { width: 22px; height: 24px; border-radius: 0; background: transparent; }
html[data-customer-theme="mono"] .success-reminder-summary-copy strong { font-size: 11px; font-weight: 500; }
html[data-customer-theme="mono"] .success-reminder-summary-copy small { font-size: 9px; color: #999999; }
html[data-customer-theme="mono"] .success-reminder-summary:hover,
html[data-customer-theme="mono"] .success-reminder-settings.is-open .success-reminder-summary { background: #1a1a1a; border-color: #555555; box-shadow: none; }
@media (max-width: 600px) {
  html[data-customer-theme="mono"] .minimal-shell { padding: 22px 14px 40px; }
  html[data-customer-theme="mono"] .minimal-head { padding: 22px 20px 24px; }
  html[data-customer-theme="mono"] .minimal-head h1,
  html[data-customer-theme="mono"] .minimal-card-query .minimal-head h1 { font-size: 26px; }
  html[data-customer-theme="mono"] .minimal-body { padding: 22px 20px 24px; }
  html[data-customer-theme="mono"] .flow-stepper { width: calc(100% - 40px); margin: 0 20px 22px; }
  html[data-customer-theme="mono"] .flow-step { gap: 5px; padding: 10px 8px; }
  html[data-customer-theme="mono"] .flow-step strong { font-size: 10px; line-height: 1.4; }
  html[data-customer-theme="mono"] .guide-step { grid-template-columns: 22px minmax(0, 1fr); }
  html[data-customer-theme="mono"] .guide-step .btn { grid-column: 2; justify-self: start; width: auto; }
  html[data-customer-theme="mono"] .success-reminder-settings { top: 18px; right: 18px; }
  html[data-customer-theme="mono"] .minimal-card-query .status-panel { padding: 16px; }
  html[data-customer-theme="mono"] .success-reminder-panel { width: min(330px, calc(100vw - 64px)); right: 0; }
}
