:root {
  color-scheme: light;
  --nx-ink: #202128;
  --nx-muted: #646974;
  --nx-line: #e1e3e8;
  --nx-accent: #6930c3;
  --nx-green: #267052;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  color: var(--nx-ink);
  background: #fafbfc;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input, textarea { font: inherit; letter-spacing: 0; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: var(--nx-accent); text-underline-offset: 3px; }
a:hover { color: #492185; }
button { cursor: pointer; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid #936acb; outline-offset: 4px; }
button:disabled { opacity: .55; cursor: not-allowed; }
p { line-height: 1.6; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, dd, p, a { overflow-wrap: anywhere; }
.nx-header {
  min-height: 104px; padding: 22px max(28px, calc((100% - 1120px) / 2));
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  border-bottom: 1px solid var(--nx-line); background: white;
}
.nx-brand { display: inline-flex; gap: 14px; align-items: center; text-decoration: none; color: var(--nx-ink); }
.nx-brand img { display: block; width: 56px; height: 56px; border-radius: 8px; object-fit: contain; }
.nx-brand strong { display: block; font-size: 24px; line-height: 1.3; font-weight: 750; }
.nx-brand small { display: block; color: var(--nx-muted); font-size: 10px; margin-top: 4px; font-weight: 600; }
.nx-header-note, .nx-header-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--nx-muted); }
.nx-header-note svg { color: var(--nx-green); }
.nx-header-link { text-decoration: none; }
.nx-workspace { width: min(100%, 976px); margin: 0 auto; padding: 40px 28px 56px; flex: 1; }
.nx-progress { list-style: none; display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 48px; padding: 0; }
.nx-progress li { display: flex; align-items: center; gap: 12px; padding: 0 12px 19px 0; color: var(--nx-muted); border-bottom: 2px solid var(--nx-line); font-size: 13px; }
.nx-progress li[aria-current] { color: var(--nx-ink); border-bottom-color: var(--nx-accent); font-weight: 600; }
.nx-progress li > span { font-variant-numeric: tabular-nums; display: flex; align-items: center; justify-content: center; min-width: 25px; height: 25px; font-size: 12px; }
.nx-progress li[aria-current] > span { border-radius: 50%; color: white; background: var(--nx-accent); }
.nx-progress .is-complete { color: var(--nx-green); border-bottom-color: var(--nx-green); }
.nx-kicker { font-size: 11px; line-height: 1.4; color: var(--nx-accent); font-weight: 700; margin-bottom: 12px; }
.nx-heading { margin-bottom: 38px; }
.nx-heading h1 { font-size: 36px; line-height: 1.2; font-weight: 700; margin-bottom: 12px; }
.nx-heading > p:last-child { color: var(--nx-muted); margin-bottom: 0; font-size: 16px; }
.nx-form-section { padding: 24px 0 32px; border-top: 1px solid var(--nx-line); }
.nx-section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.nx-section-title h2 { font-size: 17px; font-weight: 650; margin: 0; }
.nx-reset { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--nx-muted); font-size: 13px; }
.nx-reset svg { width: 15px; height: 15px; }
.nx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nx-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.nx-field > span { min-height: 22px; font-size: 13px; font-weight: 600; }
.nx-field-wide { grid-column: 1 / -1; }
.nx-label-line { display: flex; align-items: center; gap: 8px; }
.nx-help { border: 0; padding: 0; height: 22px; width: 24px; display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--nx-muted); }
.nx-help svg { width: 16px; height: 16px; }
.nx-field input { height: 50px; width: 100%; border: 1px solid #cbd0d9; border-radius: 6px; padding: 0 14px; background: white; color: var(--nx-ink); font-size: 15px; }
input::placeholder { color: #808591; opacity: 1; }
.nx-field input:focus { border-color: var(--nx-accent); }
.nx-form-bottom { border-top: 1px solid var(--nx-line); padding-top: 26px; display: flex; gap: 32px; align-items: flex-start; justify-content: space-between; }
.nx-consent { display: flex; gap: 12px; line-height: 1.7; font-size: 13px; color: var(--nx-muted); max-width: 550px; }
.nx-consent input { accent-color: var(--nx-accent); width: 17px; height: 17px; margin: 3px 0 0; flex-shrink: 0; }
.nx-consent a { color: var(--nx-ink); }
.nx-primary { min-height: 50px; border: 1px solid var(--nx-accent); border-radius: 6px; padding: 12px 21px; background: var(--nx-accent); color: white; display: inline-flex; align-items: center; justify-content: center; gap: 19px; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.nx-primary:hover { background: #54269d; }
.nx-assistance { margin-top: 50px; padding: 20px 0 0; border-top: 1px solid var(--nx-line); display: flex; align-items: center; gap: 10px; color: var(--nx-muted); font-size: 12px; }
.nx-assistance > svg { width: 16px; height: 16px; }
.nx-assistance p { margin: 0; flex: 1; }
.nx-assistance a { display: inline-flex; align-items: center; gap: 6px; color: var(--nx-ink); white-space: nowrap; text-decoration: none; }
.nx-assistance a svg { width: 15px; height: 15px; }
.nx-footer { border-top: 1px solid var(--nx-line); padding: 22px max(28px, calc((100% - 1120px) / 2)); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--nx-muted); background: white; }
.nx-footer > span:first-child { color: var(--nx-ink); font-weight: 650; }
.nx-footer a { display: inline-flex; align-items: center; gap: 6px; color: var(--nx-muted); text-decoration: none; }
.nx-alert { display: flex; gap: 12px; padding: 14px 16px; margin: 0 0 24px; background: #fff1ef; border-left: 3px solid #b73831; color: #9d2a24; }
.nx-alert svg { margin-top: 3px; }
.nx-alert p { margin: 0; font-size: 14px; }
.nx-workspace-result { width: min(100%, 1176px); }
.nx-result-heading { max-width: 850px; }
.nx-result-heading h1 { font-size: 30px; line-height: 1.35; }
.nx-order-meta { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; padding: 0 0 28px; margin: 0 0 30px; border-bottom: 1px solid var(--nx-line); }
.nx-order-meta dt { color: var(--nx-muted); font-size: 12px; margin-bottom: 6px; }
.nx-order-meta dd { margin: 0; font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.nx-result-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
.nx-access, .nx-tutorial { min-width: 0; }
.nx-private { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--nx-green); }
.nx-private svg { height: 14px; width: 14px; }
.nx-credentials { display: grid; gap: 20px; }
.nx-credential { min-width: 0; }
.nx-credential-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.nx-credential-heading label { font-size: 12px; color: var(--nx-muted); }
.nx-credential-actions { display: flex; gap: 4px; }
.nx-icon { width: 32px; height: 32px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: 4px; color: var(--nx-muted); background: transparent; }
.nx-icon:hover { border-color: var(--nx-line); background: white; color: var(--nx-ink); }
.nx-icon.copied { color: var(--nx-green); background: #e6f4ec; }
.nx-credential input, .nx-credential textarea { border: 1px solid var(--nx-line); border-radius: 5px; width: 100%; background: white; color: var(--nx-ink); padding: 13px; font-size: 14px; line-height: 1.5; }
.nx-credential input { height: 48px; }
.nx-credential textarea { min-height: 112px; resize: vertical; }
.nx-inbox { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-block: 1px solid var(--nx-line); font-size: 14px; font-weight: 600; text-decoration: none; }
.nx-fallback { white-space: pre-wrap; overflow-wrap: anywhere; background: white; padding: 16px; border: 1px solid var(--nx-line); border-radius: 6px; line-height: 1.6; }
.nx-tutorial { padding-left: 36px; border-left: 1px solid var(--nx-line); }
.nx-tutorial h2 { font-size: 19px; margin-bottom: 22px; }
.nx-tutorial > p:not(.nx-kicker) { color: var(--nx-muted); font-size: 14px; }
.markdown-body { font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.markdown-body h1 { font-size: 23px; }
.markdown-body h2 { font-size: 19px; }
.markdown-body h3 { font-size: 16px; }
.markdown-body img, .markdown-body video, .markdown-body iframe { max-width: 100%; height: auto; }
.markdown-body pre { overflow: auto; max-width: 100%; padding: 14px; background: #f0f2f5; border-radius: 4px; }
.markdown-body table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
.markdown-body td, .markdown-body th { padding: 8px; border: 1px solid var(--nx-line); }
.markdown-body blockquote { margin-left: 0; padding-left: 15px; border-left: 3px solid var(--nx-line); color: var(--nx-muted); }
.nx-processing { padding: 28px 0; }
.nx-processing-label { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: #866213; }
.nx-processing h3 { font-size: 21px; margin: 20px 0 12px; line-height: 1.4; }
.nx-processing p { color: var(--nx-muted); font-size: 14px; }
.nx-processing-hint { padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--nx-line); }
.nx-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.has-open-modal { overflow: hidden; }
.modal-overlay { position: fixed; inset: 0; z-index: 100; padding: 32px 20px; background: rgb(21 22 29 / .5); display: none; align-items: center; justify-content: center; }
.modal-overlay.is-open { display: flex; }
.modal { width: min(100%, 800px); max-height: 100%; display: flex; flex-direction: column; background: white; border: 1px solid var(--nx-line); border-radius: 8px; box-shadow: 0 18px 64px rgb(0 0 0 / .15); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--nx-line); flex-shrink: 0; }
.modal-header h2 { font-size: 23px; margin: 0; line-height: 1.3; }
.modal-header .nx-kicker { margin-bottom: 6px; }
.modal-body { padding: 24px 28px; overflow-y: auto; overscroll-behavior: contain; }
.policy-content { font-size: 14px; line-height: 1.7; color: #4c515b; }
.policy-heading { font-weight: 650; color: var(--nx-ink); margin: 0 0 16px; }
.policy-item, .policy-subitem { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.policy-item { color: var(--nx-ink); font-weight: 650; margin-top: 20px; }
.policy-subitem > span:first-child, .policy-index { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.policy-paragraph, .policy-note { margin: 0 0 10px; }
.policy-spacer { height: 4px; }
.nx-guide h3 { font-size: 17px; }
.nx-guide p { font-size: 14px; color: var(--nx-muted); }
.nx-guide section + section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--nx-line); }
.nx-guide img { display: block; width: 100%; height: auto; border: 1px solid var(--nx-line); border-radius: 5px; }
@media (max-width: 700px) {
  .nx-header { min-height: 88px; padding: 18px 20px; }
  .nx-header-note { display: none; }
  .nx-brand { gap: 10px; }
  .nx-brand strong { font-size: 21px; }
  .nx-brand img { width: 48px; height: 48px; }
  .nx-brand small { font-size: 9px; }
  .nx-header-link { font-size: 12px; gap: 3px; }
  .nx-workspace { padding: 28px 20px 38px; }
  .nx-progress { margin-bottom: 32px; }
  .nx-progress li { font-size: 11px; gap: 6px; line-height: 1.4; padding-bottom: 16px; }
  .nx-heading { margin-bottom: 28px; }
  .nx-heading h1 { font-size: 29px; }
  .nx-result-heading h1 { font-size: 25px; }
  .nx-heading > p:last-child { font-size: 14px; }
  .nx-fields { grid-template-columns: 1fr; gap: 20px; }
  .nx-form-section { padding: 24px 0; }
  .nx-form-bottom { flex-direction: column; gap: 24px; }
  .nx-primary { width: 100%; }
  .nx-assistance { margin-top: 36px; align-items: flex-start; flex-wrap: wrap; }
  .nx-assistance > svg { margin-top: 3px; }
  .nx-assistance p { flex-basis: calc(100% - 30px); }
  .nx-assistance a { margin-left: 26px; }
  .nx-footer { padding: 20px; flex-wrap: wrap; gap: 10px; font-size: 11px; }
  .nx-order-meta { grid-template-columns: 1fr; gap: 16px; margin-bottom: 26px; }
  .nx-result-grid { grid-template-columns: 1fr; gap: 32px; }
  .nx-tutorial { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--nx-line); }
  .nx-credential input, .nx-credential textarea { font-size: 16px; }
  .modal-overlay { padding: 16px 12px; }
  .modal-header { padding: 18px; }
  .modal-header h2 { font-size: 20px; }
  .modal-body { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
