:root {
      --bg: #f4f7fc;
      --card: rgba(255, 255, 255, .94);
      --text: #080d20;
      --muted: #657797;
      --muted-2: #91a1bc;
      --line: #dfe6f1;
      --primary: #5148f4;
      --primary-2: #2867ee;
      --primary-soft: #eef0ff;
      --green: #008a5e;
      --green-soft: #eafaf4;
      --red: #c93838;
      --red-soft: #fff0f0;
      --amber: #a56400;
      --amber-soft: #fff8e7;
      --shadow: 0 24px 58px rgba(25, 43, 76, .13);
      --shadow-soft: 0 12px 32px rgba(25, 43, 76, .08);
      --radius-xl: 30px;
      --radius-lg: 22px;
      --radius-md: 15px;
      --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      min-height: 100vh;
      margin: 0;
      color: var(--text);
      font-family: var(--font);
      background:
        radial-gradient(circle at 8% 0%, rgba(92, 89, 255, .10), transparent 30%),
        radial-gradient(circle at 100% 8%, rgba(56, 189, 248, .12), transparent 28%),
        linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
    }
    button, input, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { cursor: pointer; }
    .hide { display: none !important; }

    .page-shell {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
      padding: 32px 0 46px;
    }

    .surface {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, .86);
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
    }

    .hero {
      position: relative;
      overflow: hidden;
      min-height: 326px;
      padding: 40px 42px 36px;
      border-radius: var(--radius-xl);
    }
    .hero::after {
      position: absolute;
      top: -120px;
      right: -80px;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(86, 82, 255, .10), transparent 68%);
      content: "";
      pointer-events: none;
    }
    .hero-top {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      min-height: 36px;
      padding: 7px 15px;
      color: #4a43eb;
      font-size: 14px;
      font-weight: 800;
      border: 1px solid #d8ddff;
      border-radius: 999px;
      background: #f2f4ff;
    }
    .eyebrow svg { width: 19px; height: 19px; }
    h1 {
      margin: 26px 0 12px;
      font-size: clamp(36px, 5vw, 54px);
      line-height: 1.08;
      letter-spacing: -2px;
    }
    h1 .gradient-text {
      color: transparent;
      background: linear-gradient(100deg, var(--primary) 0%, var(--primary-2) 100%);
      background-clip: text;
      -webkit-background-clip: text;
    }
    .hero-desc {
      max-width: 740px;
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.8;
    }
    .security-badge {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 150px;
      padding: 17px 20px;
      color: var(--green);
      border: 1px solid #c9f0df;
      border-radius: 20px;
      background: var(--green-soft);
      font-size: 14px;
      line-height: 1.45;
    }
    .security-badge svg { width: 27px; height: 27px; flex: 0 0 auto; }
    .security-badge strong { display: block; font-size: 15px; }

    .steps {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 32px;
    }
    .step-pill {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 52px;
      padding: 8px 17px;
      color: var(--muted-2);
      font-weight: 800;
      border: 1px solid transparent;
      border-radius: 15px;
      background: rgba(248, 250, 253, .75);
      transition: .2s ease;
    }
    .step-pill .number {
      display: grid;
      width: 34px;
      height: 34px;
      place-items: center;
      color: #8da0bd;
      border: 1px solid #dbe3ef;
      border-radius: 11px;
      background: #fff;
    }
    .step-pill.active {
      color: #4338e6;
      border-color: #d9ddff;
      background: var(--primary-soft);
    }
    .step-pill.active .number {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(135deg, #6256f5, #2c64ef);
      box-shadow: 0 7px 14px rgba(70, 66, 237, .25);
    }
    .step-pill.complete { color: var(--green); background: #effbf7; }
    .step-pill.complete .number { color: #fff; border-color: transparent; background: var(--green); }

    .content-stack { display: grid; gap: 24px; margin-top: 24px; }
    .card {
      padding: 38px 40px 40px;
      border-radius: var(--radius-xl);
    }
    .card.disabled-card { opacity: .67; }
    .card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 26px;
    }
    .section-kicker {
      margin-bottom: 11px;
      color: #6056f5;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: .18em;
    }
    .card h2 {
      margin: 0;
      font-size: clamp(25px, 3vw, 34px);
      line-height: 1.18;
      letter-spacing: -.6px;
    }
    .sub {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.75;
    }
    .head-action {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #4f46e5;
      font-size: 13px;
      font-weight: 800;
      text-decoration: none;
      white-space: nowrap;
    }
    .head-action:hover { text-decoration: underline; }

    .field-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: stretch;
    }
    input, textarea {
      width: 100%;
      color: var(--text);
      outline: 0;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: #f9fbfe;
      box-shadow: inset 0 1px 2px rgba(16, 24, 40, .02);
      transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }
    input {
      height: 64px;
      padding: 0 20px;
      font-size: 16px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    textarea {
      min-height: 128px;
      padding: 17px 20px;
      resize: vertical;
      font-size: 15px;
      line-height: 1.7;
    }
    input::placeholder, textarea::placeholder { color: #9aabc3; opacity: 1; }
    input:focus, textarea:focus {
      border-color: #746cf5;
      background: #fff;
      box-shadow: 0 0 0 4px rgba(81, 72, 244, .10);
    }
    input:disabled, textarea:disabled { color: #8d9bb1; background: #f4f6f9; cursor: not-allowed; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 48px;
      padding: 0 20px;
      color: #344054;
      font-weight: 850;
      text-decoration: none;
      white-space: nowrap;
      border: 1px solid transparent;
      border-radius: 14px;
      background: #f2f4f7;
      transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    }
    .field-row > .btn { min-width: 164px; min-height: 64px; font-size: 17px; }
    .btn:hover:not(:disabled) { transform: translateY(-1px); }
    .btn.primary {
      color: #fff;
      background: linear-gradient(135deg, #5c4ff0 0%, #2c66ed 100%);
      box-shadow: 0 13px 23px rgba(68, 74, 232, .23);
    }
    .btn.primary:hover:not(:disabled) { box-shadow: 0 15px 27px rgba(68, 74, 232, .31); }
    .btn.ghost { color: #45536a; border-color: var(--line); background: #fff; }
    .btn.outline { color: #4f46e5; border-color: #cfd4ff; background: #f8f8ff; }
    .btn:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
    .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
    .helper-actions { margin: 0 0 14px; }

    .result {
      margin-top: 16px;
      padding: 16px 18px;
      color: #33415c;
      font-size: 14px;
      line-height: 1.65;
      border: 1px solid var(--line);
      border-radius: 15px;
      background: #f8fafc;
    }
    .result.ok { color: #056244; border-color: #b9ead6; background: var(--green-soft); }
    .result.bad { color: #9f2929; border-color: #f4c7c7; background: var(--red-soft); }
    .result.info { color: #3048a8; border-color: #cad4ff; background: #f0f3ff; }
    .rows { display: grid; gap: 8px; }
    .row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
    .key { color: #74839c; }
    .value { font-weight: 750; overflow-wrap: anywhere; }
    .badge {
      display: inline-flex;
      align-items: center;
      min-height: 25px;
      padding: 2px 9px;
      color: #3843b8;
      font-size: 12px;
      font-weight: 850;
      border-radius: 999px;
      background: #e9ecff;
    }
    .badge.ok { color: #087350; background: #d9f7e9; }
    .badge.bad { color: #ac3030; background: #ffe1e1; }
    .badge.wait { color: var(--amber); background: var(--amber-soft); }
    .status-title { margin-bottom: 12px; font-size: 17px; font-weight: 900; }
    .poll-note { margin-top: 12px; padding: 10px 12px; border-radius: 11px; background: rgba(255, 255, 255, .72); }

    .query-card { padding: 30px 30px 32px; }
    .query-title {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 20px;
    }
    .query-icon {
      display: grid;
      width: 52px;
      height: 52px;
      flex: 0 0 auto;
      place-items: center;
      color: #fff;
      border-radius: 16px;
      background: #080d20;
    }
    .query-icon svg { width: 23px; height: 23px; }
    .query-title h2 { margin: 0 0 2px; font-size: 21px; }
    .query-title p { margin: 0; color: var(--muted-2); font-size: 13px; }
    .query-grid { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 14px; }
    .query-grid textarea { min-height: 112px; }
    .query-grid .btn { min-height: 112px; font-size: 16px; }
    .query-tools { margin-top: 10px; }

    .table-wrap { overflow-x: auto; margin-top: 12px; }
    .table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0 8px; }
    .table th { padding: 0 9px; color: #7a889f; font-size: 12px; text-align: left; }
    .table td { padding: 11px 9px; font-size: 13px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top; }
    .table td:first-child { border-left: 1px solid var(--line); border-radius: 12px 0 0 12px; }
    .table td:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; }

    .notice {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-top: 22px;
      padding: 13px 15px;
      color: #5c6880;
      font-size: 13px;
      line-height: 1.65;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #f8fafc;
    }
    .notice svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: #5c54ee; }
    .footer { margin-top: 22px; color: #94a1b5; font-size: 12px; text-align: center; line-height: 1.6; }

    @media (max-width: 820px) {
      .page-shell { width: min(100% - 24px, 1180px); padding: 14px 0 28px; }
      .hero { min-height: auto; padding: 24px 22px; border-radius: 24px; }
      .hero-top { display: block; }
      .security-badge { position: absolute; top: 24px; right: 22px; min-width: auto; padding: 10px 12px; }
      .security-badge span { display: none; }
      h1 { margin-top: 22px; font-size: 37px; letter-spacing: -1.3px; }
      .hero-desc { padding-right: 10px; font-size: 15px; }
      .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 24px; }
      .step-pill { min-width: 0; padding: 7px; justify-content: center; font-size: 12px; }
      .step-pill .number { width: 30px; height: 30px; }
      .content-stack { gap: 14px; margin-top: 14px; }
      .card { padding: 25px 22px; border-radius: 24px; }
      .card-head { margin-bottom: 20px; }
      .field-row, .query-grid { grid-template-columns: 1fr; }
      .field-row > .btn, .query-grid .btn { min-width: 0; min-height: 54px; }
      .query-card { padding: 22px; }
    }

    @media (max-width: 520px) {
      .eyebrow { font-size: 12px; }
      h1 { font-size: 32px; }
      .step-pill { gap: 6px; }
      .step-pill .label { display: none; }
      .step-pill.active .label { display: inline; }
      .card-head { display: block; }
      .head-action { margin-top: 12px; }
      .actions .btn { flex: 1 1 auto; }
      .row { grid-template-columns: 82px minmax(0, 1fr); }
      .query-title { align-items: flex-start; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; }
    }

    /* Compact mobile layout. */
    :root {
      --bg: #f7f8fb;
      --text: #182033;
      --muted: #667085;
      --muted-2: #98a2b3;
      --line: #e7eaf0;
      --primary: #ff7a1a;
      --primary-2: #e86508;
      --primary-soft: #fff2e8;
      --shadow: 0 14px 34px rgba(16, 24, 40, .08);
      --shadow-soft: 0 8px 22px rgba(16, 24, 40, .055);
    }
    body {
      background:
        radial-gradient(circle at 18% -8%, rgba(255, 122, 26, .15), transparent 32%),
        linear-gradient(180deg, #fffaf5 0%, var(--bg) 46%, #f8fbff 100%);
    }
    .page-shell { width: min(920px, calc(100% - 24px)); padding: 18px 0 30px; }
    .surface { border-color: rgba(255, 255, 255, .88); box-shadow: var(--shadow); }
    .hero { min-height: 0; padding: 24px 26px 22px; border-radius: 22px; }
    .hero::after {
      top: -190px;
      right: -135px;
      width: 390px;
      height: 390px;
      background: radial-gradient(circle, rgba(255, 122, 26, .13), transparent 68%);
    }
    .hero-top { display: block; }
    .eyebrow {
      min-height: 30px;
      padding: 5px 12px;
      color: var(--primary-2);
      font-size: 12px;
      border-color: #ffd8bd;
      background: var(--primary-soft);
    }
    .eyebrow svg { width: 16px; height: 16px; }
    h1 { margin: 16px 0 7px; font-size: clamp(27px, 4vw, 35px); letter-spacing: -.8px; }
    h1 .gradient-text {
      background: linear-gradient(100deg, var(--primary) 0%, var(--primary-2) 100%);
      background-clip: text;
      -webkit-background-clip: text;
    }
    .hero-desc { max-width: 790px; font-size: 13px; line-height: 1.65; }
    .security-badge { display: none; }
    .hero-note {
      display: flex;
      gap: 8px;
      align-items: flex-start;
      margin-top: 12px;
      padding: 9px 11px;
      color: #7a4012;
      font-size: 12px;
      line-height: 1.55;
      border: 1px solid #ffe0c7;
      border-radius: 12px;
      background: rgba(255, 255, 255, .72);
    }
    .hero-note strong { flex: 0 0 auto; }
    .steps { gap: 8px; margin-top: 16px; }
    .step-pill {
      min-height: 42px;
      padding: 6px 12px;
      font-size: 13px;
      border-radius: 13px;
      background: rgba(248, 250, 253, .76);
    }
    .step-pill .number { width: 29px; height: 29px; border-radius: 9px; }
    .step-pill.active { color: var(--primary-2); border-color: #ffcda8; background: var(--primary-soft); }
    .step-pill.active .number {
      background: linear-gradient(135deg, #ff8b2b, #ff6817);
      box-shadow: 0 6px 12px rgba(255, 122, 26, .23);
    }
    .step-pill.complete { color: #067647; background: #edfbf3; }
    .step-pill.complete .number { background: #079455; }

    .mode-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
    .mode-tab {
      min-height: 46px;
      padding: 8px 14px;
      color: #667085;
      font-weight: 800;
      text-align: left;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 7px 18px rgba(16, 24, 40, .04);
    }
    .mode-tab small { display: block; margin-top: 2px; color: #98a2b3; font-size: 11px; font-weight: 500; }
    .mode-tab.active { color: var(--primary-2); border-color: #ffc59a; background: linear-gradient(135deg, var(--primary-soft), #fff); }
    .mode-tab.active small { color: #a75a21; }

    .content-stack { display: block; margin-top: 12px; }
    .card { padding: 24px 26px 25px; border-radius: 20px; }
    .card.disabled-card { opacity: 1; }
    .card-head { margin-bottom: 18px; }
    .section-kicker { margin-bottom: 7px; color: var(--primary-2); font-size: 11px; letter-spacing: .14em; }
    .card h2 { font-size: clamp(21px, 3vw, 26px); letter-spacing: -.3px; }
    .sub { margin-top: 7px; font-size: 13px; line-height: 1.6; }
    .head-action { color: var(--primary-2); }
    input { height: 50px; padding: 0 15px; font-size: 14px; }
    textarea { min-height: 98px; padding: 13px 15px; font-size: 13px; }
    input:focus, textarea:focus { border-color: #ffad73; box-shadow: 0 0 0 4px rgba(255, 122, 26, .12); }
    .field-row { gap: 10px; }
    .field-row > .btn { min-width: 138px; min-height: 50px; font-size: 14px; }
    .btn { min-height: 42px; padding: 0 16px; font-size: 13px; border-radius: 12px; }
    .btn.primary {
      background: linear-gradient(135deg, #ff8b2b, #ff6817);
      box-shadow: 0 9px 17px rgba(255, 122, 26, .20);
    }
    .btn.primary:hover:not(:disabled) { box-shadow: 0 11px 20px rgba(255, 122, 26, .27); }
    .btn.outline { color: var(--primary-2); border-color: #ffbf91; background: #fffaf6; }
    .result { margin-top: 12px; padding: 12px 14px; font-size: 12px; border-radius: 13px; }
    .notice { margin-top: 16px; padding: 10px 12px; font-size: 12px; }
    .notice svg { color: var(--primary-2); }
    .query-card { margin-top: 12px; padding: 22px 24px 24px; border-radius: 20px; }
    .query-title { margin-bottom: 14px; }
    .query-icon {
      width: 42px;
      height: 42px;
      color: var(--primary-2);
      border: 1px solid #ffd8bd;
      border-radius: 13px;
      background: var(--primary-soft);
      box-shadow: none;
    }
    .query-icon svg { width: 20px; height: 20px; }
    .query-title h2 { font-size: 18px; }
    .query-grid { grid-template-columns: minmax(0, 1fr) 112px; gap: 10px; }
    .query-grid textarea { min-height: 86px; }
    .query-grid .btn { min-height: 86px; }

    @media (max-width: 680px) {
      .page-shell { width: min(100% - 16px, 920px); padding: 8px 0 20px; }
      .hero { padding: 17px 16px 16px; border-radius: 18px; }
      h1 { margin-top: 13px; font-size: 25px; }
      .hero-desc { font-size: 12px; }
      .hero-note { display: none; }
      .steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 13px; }
      .step-pill { min-width: 0; padding: 5px 7px; justify-content: center; font-size: 11px; }
      .step-pill .number { width: 26px; height: 26px; }
      .step-pill .label { display: none; }
      .step-pill.active .label { display: inline; }
      .mode-tabs { gap: 7px; margin-top: 8px; }
      .mode-tab { min-height: 42px; padding: 7px 10px; font-size: 12px; }
      .mode-tab small { display: none; }
      .content-stack, .query-card { margin-top: 8px; }
      .card { padding: 20px 16px; border-radius: 18px; }
      .card-head { display: block; margin-bottom: 15px; }
      .head-action { margin-top: 9px; }
      .field-row, .query-grid { grid-template-columns: 1fr; }
      .field-row > .btn, .query-grid .btn { min-width: 0; min-height: 46px; }
      .query-card { padding: 18px 16px; border-radius: 18px; }
      .query-grid textarea { min-height: 92px; }
      .actions .btn { flex: 1 1 auto; }
    }

    /* Final spacing and typography refinement. */
    body {
      font-family: Inter, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
      letter-spacing: 0;
    }
    .page-shell { width: min(900px, calc(100% - 28px)); padding-top: 22px; }
    .hero { padding: 30px 32px 28px; }
    .hero-top { padding-right: 0; }
    .eyebrow { font-weight: 700; }
    h1 { margin: 18px 0 9px; font-size: clamp(28px, 4vw, 33px); font-weight: 760; }
    .hero-desc { color: #718096; font-size: 14px; line-height: 1.7; }

    .hero > .mode-tabs {
      position: absolute;
      z-index: 2;
      top: 25px;
      right: 32px;
      display: inline-flex;
      width: auto;
      gap: 4px;
      margin: 0;
      padding: 5px;
      border: 1px solid #ffd2b2;
      border-radius: 14px;
      background: #fff5ed;
      box-shadow: 0 7px 18px rgba(255, 122, 26, .10);
    }
    .hero > .mode-tabs .mode-tab {
      display: inline-flex;
      width: auto;
      height: auto;
      min-height: 38px;
      padding: 0 17px;
      align-items: center;
      justify-content: center;
      color: #4b5568;
      font-size: 13px;
      font-weight: 750;
      text-align: center;
      border: 0;
      border-radius: 10px;
      background: transparent;
      box-shadow: none;
      transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
    }
    .hero > .mode-tabs .mode-tab:hover:not(.active) { color: var(--primary-2); background: rgba(255, 255, 255, .66); }
    .hero > .mode-tabs .mode-tab.active {
      color: #fff;
      background: linear-gradient(135deg, #ff8b2b, #ff6817);
      box-shadow: 0 7px 14px rgba(255, 105, 23, .24);
    }
    .hero > .mode-tabs .mode-tab:focus-visible { outline: 3px solid rgba(255, 122, 26, .22); outline-offset: 2px; }

    .steps { gap: 30px; margin-top: 24px; }
    .step-pill {
      min-height: 34px;
      padding: 0;
      color: #a0a9b8;
      font-size: 13px;
      font-weight: 650;
      border: 0;
      background: transparent;
    }
    .step-pill .number { width: 30px; height: 30px; border-radius: 10px; }
    .step-pill.active { color: #344054; border: 0; background: transparent; }
    .step-pill.complete { color: #667085; background: transparent; }

    .content-stack, .query-card { margin-top: 20px; }
    .card { padding: 32px 34px 34px; border-radius: 22px; }
    .card-head { margin-bottom: 24px; }
    .section-kicker { margin-bottom: 9px; font-size: 12px; font-weight: 750; }
    .card h2 { color: #20283a; font-size: clamp(22px, 3vw, 26px); font-weight: 720; }
    .sub { margin-top: 9px; color: #7b879b; font-size: 14px; line-height: 1.7; }
    .field-row { gap: 14px; }
    input { height: 56px; padding: 0 18px; font-size: 14px; }
    .field-row > .btn { min-width: 142px; min-height: 56px; font-size: 14px; font-weight: 750; }
    .btn { font-weight: 700; }
    .query-card { padding: 28px 30px 30px; border-radius: 22px; }
    .query-title { margin-bottom: 20px; }
    .query-title h2 { font-weight: 720; }
    .footer { margin-top: 20px; }

    @media (max-width: 680px) {
      .page-shell { width: min(100% - 18px, 900px); padding-top: 9px; }
      .hero { padding: 16px 17px 19px; }
      .hero > .mode-tabs {
        position: static;
        display: flex;
        width: 100%;
        margin-bottom: 18px;
      }
      .hero > .mode-tabs .mode-tab { flex: 1; }
      h1 { margin-top: 14px; font-size: 25px; }
      .steps { justify-content: space-between; gap: 12px; margin-top: 20px; }
      .step-pill { font-size: 12px; }
      .step-pill .label, .step-pill.active .label { display: inline; }
      .content-stack, .query-card { margin-top: 12px; }
      .card { padding: 24px 19px 25px; }
      .card-head { margin-bottom: 20px; }
      .field-row { gap: 11px; }
      input { height: 52px; }
      .field-row > .btn { min-height: 48px; }
      .query-card { padding: 23px 19px 24px; }
    }

    #rechargeFlow { position: relative; }
    #rechargeFlow > .steps {
      position: absolute;
      z-index: 3;
      top: 32px;
      right: 34px;
      gap: 22px;
      margin: 0;
    }
    #rechargeFlow .card-head {
      min-height: 76px;
      padding-right: 310px;
    }

    @media (max-width: 680px) {
      #rechargeFlow > .steps {
        top: 23px;
        right: 19px;
        gap: 10px;
      }
      #rechargeFlow > .steps .label { display: none; }
      #rechargeFlow .card-head {
        min-height: 80px;
        padding-right: 126px;
      }
    }

    /* Four-step recharge progress inspired by the reference layout. */
    #rechargeFlow > .steps {
      --progress: 0;
      position: relative;
      top: auto;
      right: auto;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      width: 100%;
      gap: 0;
      margin: 0 0 18px;
      padding: 0 8px;
      isolation: isolate;
    }
    #rechargeFlow > .steps::before,
    #rechargeFlow > .steps::after {
      content: "";
      position: absolute;
      z-index: -1;
      top: 20px;
      left: calc(12.5% + 15px);
      width: calc(75% - 30px);
      height: 4px;
      border-radius: 999px;
    }
    #rechargeFlow > .steps::before { background: #ffe4d1; }
    #rechargeFlow > .steps::after {
      background: linear-gradient(90deg, #ff8b2b, #ff6817);
      transform: scaleX(var(--progress));
      transform-origin: left center;
      transition: transform .28s ease;
    }
    #rechargeFlow > .steps .step-pill {
      position: relative;
      display: flex;
      min-width: 0;
      min-height: 72px;
      padding: 0 4px;
      flex-direction: column;
      justify-content: flex-start;
      gap: 8px;
      color: #98a2b3;
      text-align: center;
      border: 0;
      background: transparent;
    }
    #rechargeFlow > .steps .step-pill .number {
      width: 42px;
      height: 42px;
      color: #98a2b3;
      border: 3px solid #ffe0c9;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 5px 14px rgba(65, 97, 115, .06);
    }
    #rechargeFlow > .steps .step-pill.active,
    #rechargeFlow > .steps .step-pill.complete { color: var(--primary-2); }
    #rechargeFlow > .steps .step-pill.active .number,
    #rechargeFlow > .steps .step-pill.complete .number {
      color: #fff;
      border-color: #ffad73;
      background: linear-gradient(135deg, #ff8b2b, #ff6817);
      box-shadow: 0 9px 18px rgba(255, 105, 23, .22);
    }
    #rechargeFlow > .steps .step-pill.active .label { font-weight: 800; }
    #rechargeFlow .card-head { min-height: 0; padding-right: 0; }

    .login-box {
      padding: 28px 20px;
      text-align: center;
      border: 2px dashed #ffcda8;
      border-radius: 18px;
      background: linear-gradient(135deg, #fffaf6, #fff7f0);
    }
    .login-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--primary-2);
      font-size: 18px;
      font-weight: 800;
      text-decoration: none;
    }
    .login-link:hover { text-decoration: underline; }
    .login-box p { margin: 8px 0 0; color: #98a2b3; font-size: 13px; }
    .verified-banner {
      display: flex;
      gap: 11px;
      align-items: center;
      margin-bottom: 24px;
      padding: 14px 16px;
      color: #047857;
      border: 1px solid #b7ecd6;
      border-radius: 15px;
      background: #ecfdf5;
    }
    .verified-banner .verified-icon {
      display: grid;
      width: 25px;
      height: 25px;
      flex: 0 0 auto;
      place-items: center;
      font-weight: 900;
      border: 2px solid currentColor;
      border-radius: 50%;
    }
    .verified-banner strong { display: block; font-size: 14px; }
    .verified-banner code { display: block; margin-top: 3px; color: #059669; font-size: 12px; }

    @media (max-width: 680px) {
      #rechargeFlow > .steps { top: auto; right: auto; gap: 0; padding: 0; }
      #rechargeFlow > .steps::before,
      #rechargeFlow > .steps::after { left: calc(12.5% + 13px); width: calc(75% - 26px); }
      #rechargeFlow > .steps .step-pill { min-height: 68px; gap: 7px; font-size: 11px; }
      #rechargeFlow > .steps .step-pill .number { width: 40px; height: 40px; }
      #rechargeFlow > .steps .step-pill .label { display: inline; white-space: nowrap; }
      #rechargeFlow .card-head { min-height: 0; padding-right: 0; }
      .login-box { padding: 24px 14px; }
      .login-link { font-size: 16px; }
    }

    /* Mint glass interface based on the selected visual reference. */
    :root {
      --bg: #f4fbfc;
      --card: rgba(251, 254, 255, .92);
      --text: #132238;
      --muted: #71859f;
      --muted-2: #9aacbf;
      --line: #dce8ef;
      --primary: #19c5b8;
      --primary-2: #08acba;
      --primary-soft: #e4f9f7;
      --green: #0a9075;
      --green-soft: #e9faf5;
      --shadow: 0 18px 44px rgba(58, 91, 111, .12);
      --shadow-soft: 0 9px 24px rgba(58, 91, 111, .08);
    }
    body {
      background-color: #f7fcfd;
      background-image:
        radial-gradient(circle at 50% 34%, rgba(39, 211, 195, .16), transparent 29%),
        linear-gradient(rgba(100, 165, 177, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 165, 177, .045) 1px, transparent 1px),
        linear-gradient(180deg, #fbfefe 0%, #f3fbfc 68%, #f9fbfd 100%);
      background-size: auto, 48px 48px, 48px 48px, auto;
      background-attachment: fixed;
    }
    .page-shell {
      width: min(1040px, calc(100% - 32px));
      padding: 0 0 38px;
    }
    .surface {
      border: 1px solid rgba(208, 226, 234, .92);
      background: var(--card);
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
    }
    .hero {
      display: flex;
      min-height: 0;
      padding: 56px 18px 0;
      flex-direction: column;
      align-items: center;
      overflow: visible;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
    }
    .hero::after {
      top: 26px;
      right: 50%;
      width: 560px;
      height: 230px;
      transform: translateX(50%);
      background: radial-gradient(circle, rgba(25, 197, 184, .13), transparent 70%);
    }
    .hero-top {
      order: 1;
      width: 100%;
      text-align: center;
    }
    .hero-top > div { width: 100%; }
    h1 {
      margin: 0;
      font-size: clamp(38px, 6vw, 52px);
      font-weight: 850;
      letter-spacing: .02em;
      line-height: 1.05;
    }
    h1 .gradient-text {
      background-image:
        linear-gradient(110deg,
          transparent 48.6%,
          rgba(224, 255, 253, .82) 49.4%,
          #fff 50%,
          rgba(224, 255, 253, .82) 50.6%,
          transparent 51.4%),
        linear-gradient(100deg, #18bda9 0%, #08b6c7 100%);
      background-size: 240% 100%, 100% 100%;
      background-position: 100% 0, 0 0;
      background-repeat: no-repeat;
      background-clip: text;
      -webkit-background-clip: text;
      animation: title-light-sweep 2.2s linear infinite;
      will-change: background-position;
    }
    @keyframes title-light-sweep {
      from { background-position: 100% 0, 0 0; }
      to { background-position: -100% 0, 0 0; }
    }
    .eyebrow {
      display: block;
      min-height: 0;
      margin-top: 15px;
      padding: 0;
      color: #40526a;
      font-size: 15px;
      font-weight: 800;
      letter-spacing: .16em;
      border: 0;
      border-radius: 0;
      background: transparent;
    }
    .eyebrow svg { display: none; }
    .hero-desc {
      max-width: 650px;
      margin: 10px auto 0;
      color: #8799ae;
      font-size: 13px;
      line-height: 1.65;
    }
    .hero > .mode-tabs {
      position: static;
      order: 2;
      display: grid;
      width: min(620px, 100%);
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      margin: 30px 0 0;
      padding: 7px;
      border: 1px solid #dce7ed;
      border-radius: 18px;
      background: rgba(255, 255, 255, .92);
      box-shadow: 0 13px 30px rgba(59, 93, 111, .12);
    }
    .hero > .mode-tabs .mode-tab {
      min-height: 52px;
      padding: 0 20px;
      color: #40526a;
      font-size: 14px;
      font-weight: 800;
      border: 1px solid transparent;
      border-radius: 13px;
      background: transparent;
      box-shadow: none;
    }
    .hero > .mode-tabs .mode-tab:hover:not(.active) {
      color: #079e9b;
      background: #f4fbfb;
    }
    .hero > .mode-tabs .mode-tab.active {
      color: #08a9a5;
      border-color: #6cded8;
      background: linear-gradient(135deg, #e8faf8, #def6f5);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .68);
    }
    .hero > .mode-tabs .mode-tab:focus-visible {
      outline: 3px solid rgba(25, 197, 184, .23);
      outline-offset: 2px;
    }

    .content-stack { margin-top: 40px; }
    #rechargeFlow > .steps {
      margin-bottom: 22px;
      padding: 0 12px;
    }
    #rechargeFlow > .steps::before { background: #dcecef; }
    #rechargeFlow > .steps::after {
      background: linear-gradient(90deg, #21c8b9, #08afbc);
    }
    #rechargeFlow > .steps .step-pill {
      min-height: 82px;
      gap: 10px;
      color: #98aabe;
      font-weight: 650;
    }
    #rechargeFlow > .steps .step-pill .number {
      width: 46px;
      height: 46px;
      color: #8fa3ba;
      font-size: 15px;
      font-weight: 800;
      border: 1px solid #d9e5eb;
      background: #fff;
      box-shadow: 0 5px 14px rgba(65, 97, 115, .06);
    }
    #rechargeFlow > .steps .step-pill.active,
    #rechargeFlow > .steps .step-pill.complete { color: #08a9a5; }
    #rechargeFlow > .steps .step-pill.active .number {
      color: #07aaa6;
      border-color: #26c8be;
      background: #dcf7f5;
      box-shadow: 0 8px 20px rgba(18, 181, 173, .16);
    }
    #rechargeFlow > .steps .step-pill.complete .number {
      color: #fff;
      border-color: #18bdb3;
      background: linear-gradient(135deg, #25c9ba, #08aebb);
      box-shadow: 0 8px 20px rgba(18, 181, 173, .16);
    }

    .card,
    .query-card {
      padding: 34px 38px 36px;
      border-radius: 22px;
      background: rgba(250, 254, 255, .91);
    }
    .card-head { margin-bottom: 24px; }
    .section-kicker { color: #08a9a5; }
    .card h2,
    .query-title h2 { color: #17243a; }
    .sub { color: #8295ab; }
    input,
    textarea {
      color: #17243a;
      border-color: #dbe7ed;
      background: rgba(247, 250, 252, .94);
    }
    input::placeholder,
    textarea::placeholder { color: #9bacc0; }
    input:focus,
    textarea:focus {
      border-color: #57d3cd;
      background: #fff;
      box-shadow: 0 0 0 4px rgba(25, 197, 184, .12);
    }
    .btn.primary {
      color: #fff;
      background: linear-gradient(135deg, #23c9ba 0%, #08afc0 100%);
      box-shadow: 0 10px 21px rgba(13, 178, 180, .22);
    }
    .btn.primary:hover:not(:disabled) {
      box-shadow: 0 13px 25px rgba(13, 178, 180, .30);
    }
    .btn.outline {
      color: #079e9b;
      border-color: #7bded9;
      background: #effbfa;
    }
    .btn.ghost {
      color: #52657c;
      border-color: #dce7ed;
      background: rgba(255, 255, 255, .88);
    }
    .head-action,
    .notice svg { color: #08a9a5; }
    .result.info {
      color: #197b7a;
      border-color: #a9e5e0;
      background: #ebfaf8;
    }
    .badge {
      color: #167b7a;
      background: #daf5f2;
    }
    .query-icon {
      color: #08a9a5;
      border-color: #a5e6e1;
      background: #e8f9f7;
    }
    .login-box {
      border-color: #8cddd8;
      background: linear-gradient(135deg, #f3fcfb, #e9f9f8);
    }
    .login-link { color: #08a9a5; }
    .verified-banner {
      color: #07866d;
      border-color: #aae5d5;
      background: #eafaf5;
    }
    .verified-banner code { color: #099776; }
    .footer { color: #91a4b8; }

    @media (max-width: 680px) {
      body { background-size: auto, 34px 34px, 34px 34px, auto; }
      .page-shell { width: min(100% - 16px, 1040px); padding-top: 0; }
      .hero { padding: 30px 8px 0; }
      h1 { font-size: 31px; }
      .eyebrow { margin-top: 11px; font-size: 12px; }
      .hero-desc { font-size: 12px; }
      .hero > .mode-tabs {
        display: grid;
        margin-top: 22px;
        padding: 5px;
        border-radius: 15px;
      }
      .hero > .mode-tabs .mode-tab {
        min-height: 44px;
        padding: 0 10px;
        font-size: 13px;
      }
      .content-stack { margin-top: 27px; }
      #rechargeFlow > .steps { margin-bottom: 13px; }
      #rechargeFlow > .steps::before,
      #rechargeFlow > .steps::after { top: 19px; }
      #rechargeFlow > .steps .step-pill {
        min-height: 69px;
        gap: 7px;
        font-size: 10px;
      }
      #rechargeFlow > .steps .step-pill .number {
        width: 40px;
        height: 40px;
        box-shadow: 0 5px 14px rgba(65, 97, 115, .08);
      }
      .card,
      .query-card {
        padding: 24px 18px 26px;
        border-radius: 18px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      h1 .gradient-text {
        animation: none !important;
        background-position: 0 0, 0 0;
      }
    }

    /* Styles needed by the API-document workflow while keeping the original UI. */
    .confirm-card {
      overflow: hidden;
      margin-bottom: 14px;
      border: 1px solid #dbe8ed;
      border-radius: 16px;
      background: rgba(255, 255, 255, .78);
    }
    .confirm-head {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 15px;
      color: #087f7c;
      font-size: 13px;
      font-weight: 800;
      border-bottom: 1px solid #e2ecef;
      background: #edf9f8;
    }
    .confirm-head span {
      display: grid;
      width: 22px;
      height: 22px;
      place-items: center;
      color: #fff;
      border-radius: 50%;
      background: #16b5aa;
    }
    .confirm-card .rows {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      padding: 12px;
      background: rgba(255, 255, 255, .92);
    }
    .confirm-card .row {
      display: flex;
      min-width: 0;
      min-height: 82px;
      flex-direction: column;
      justify-content: center;
      gap: 7px;
      padding: 15px 17px;
      border: 1px solid #e4edef;
      border-radius: 13px;
      background: linear-gradient(145deg, #fbfdfd 0%, #f5fafa 100%);
    }
    .confirm-card .key {
      color: #7b8ea0;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .04em;
    }
    .confirm-card .value {
      color: #17263b;
      font-size: 16px;
      font-weight: 850;
      line-height: 1.45;
    }
    .confirm-card .row:nth-child(3) .value {
      color: #087f7c;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
      letter-spacing: .025em;
    }
    .confirm-card .badge {
      min-height: 28px;
      padding: 3px 11px;
      font-size: 12px;
    }
    @media (max-width: 680px) {
      .confirm-card .rows { grid-template-columns: 1fr; }
      .confirm-card .row { min-height: 72px; padding: 13px 15px; }
      .confirm-card .value { font-size: 15px; }
    }
    .success-title {
      display: flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 10px;
      font-size: 16px;
      font-weight: 850;
    }
    #submitResult .result {
      margin: 0 0 18px;
      padding: 18px 20px;
      border-radius: 16px;
      box-shadow: 0 10px 24px rgba(28, 71, 85, .08);
    }
    .success-title span {
      display: grid;
      width: 28px;
      height: 28px;
      place-items: center;
      color: #fff;
      border-radius: 50%;
      background: #0a9a79;
    }
    .summary-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 14px 0 10px;
    }
    .summary-chip {
      padding: 6px 10px;
      color: #64778c;
      font-size: 12px;
      font-weight: 750;
      border: 1px solid #dce8ed;
      border-radius: 999px;
      background: #fff;
    }
    .summary-chip.ok { color: #087350; border-color: #bce8d6; background: #eaf9f2; }
    .summary-chip.wait { color: var(--amber); border-color: #f1ddb2; background: var(--amber-soft); }
    .summary-chip.bad { color: #a42f36; border-color: #f0c4c7; background: #fff0f1; }
    .toast {
      position: fixed;
      z-index: 99;
      left: 50%;
      bottom: 24px;
      max-width: min(420px, calc(100% - 32px));
      padding: 11px 16px;
      color: #fff;
      font-size: 13px;
      font-weight: 750;
      border-radius: 12px;
      background: rgba(20, 34, 56, .92);
      box-shadow: 0 12px 32px rgba(20, 34, 56, .22);
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, 12px);
      transition: .2s ease;
    }
    .toast.show { opacity: 1; transform: translate(-50%, 0); }

    /* Query tools, single-line result table and tutorial video. */
    h1 {
      letter-spacing: .105em;
    }
    h1 .gradient-text {
      display: inline-block;
      padding-left: .105em;
    }
    .hero-tools {
      display: flex;
      justify-content: center;
      margin-top: 17px;
    }
    .tutorial-btn {
      display: inline-flex;
      min-height: 38px;
      align-items: center;
      gap: 8px;
      padding: 0 16px;
      color: #087f7c;
      font-size: 13px;
      font-weight: 800;
      border: 1px solid #a9e4e0;
      border-radius: 999px;
      background: rgba(241, 252, 251, .92);
      box-shadow: 0 8px 20px rgba(30, 151, 150, .10);
      transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    }
    .tutorial-btn:hover {
      border-color: #62d3cd;
      box-shadow: 0 10px 24px rgba(30, 151, 150, .16);
      transform: translateY(-1px);
    }
    .tutorial-play {
      display: grid;
      width: 23px;
      height: 23px;
      padding-left: 2px;
      place-items: center;
      color: #fff;
      font-size: 9px;
      border-radius: 50%;
      background: linear-gradient(135deg, #24c9bb, #08afbf);
    }
    .query-result-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 14px 0 10px;
    }
    .query-result-toolbar .summary-strip { margin: 0; }
    .query-copy-actions {
      display: flex;
      flex: 0 0 auto;
      gap: 8px;
    }
    .copy-cards-btn {
      min-height: 32px;
      padding: 0 12px;
      font-size: 12px;
      font-weight: 800;
      border: 1px solid;
      border-radius: 10px;
      transition: transform .16s ease, box-shadow .16s ease;
    }
    .copy-cards-btn.unused { color: #087350; border-color: #bce8d6; background: #eaf9f2; }
    .copy-cards-btn.used { color: var(--amber); border-color: #f1ddb2; background: var(--amber-soft); }
    .copy-cards-btn:hover:not(:disabled) { box-shadow: 0 7px 15px rgba(45, 79, 91, .10); transform: translateY(-1px); }
    .copy-cards-btn:disabled { cursor: not-allowed; filter: grayscale(.35); opacity: .48; }

    .table-wrap {
      width: 100%;
      overflow: visible;
    }
    .table {
      width: 100%;
      min-width: 0;
      table-layout: fixed;
    }
    .table .col-card { width: 18%; }
    .table .col-status { width: 9%; }
    .table .col-email { width: 23%; }
    .table .col-id { width: 20%; }
    .table .col-created { width: 15%; }
    .table .col-finished { width: 15%; }
    .table th,
    .table td {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      vertical-align: middle;
    }
    .table th { padding-right: 7px; padding-left: 7px; }
    .table td { height: 58px; padding-right: 7px; padding-left: 7px; font-size: 12px; }
    .table .cell-status { overflow: visible; text-overflow: clip; }
    .table .cell-status .badge { max-width: 100%; white-space: nowrap; }
    .table .cell-email,
    .table .cell-id { white-space: normal; }
    .table .cell-email span,
    .table .cell-id span {
      display: -webkit-box;
      overflow: hidden;
      line-height: 1.35;
      word-break: break-all;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    body.modal-open { overflow: hidden; }
    .tutorial-modal {
      position: fixed;
      z-index: 120;
      inset: 0;
      display: grid;
      padding: 24px;
      place-items: center;
    }
    .tutorial-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(20, 42, 57, .48);
      backdrop-filter: blur(8px);
    }
    .tutorial-dialog {
      position: relative;
      z-index: 1;
      width: min(820px, 100%);
      padding: 20px;
      border: 1px solid rgba(210, 232, 235, .96);
      border-radius: 22px;
      background: #fbfefe;
      box-shadow: 0 28px 80px rgba(30, 61, 74, .28);
      max-height: calc(100dvh - 48px);
      overflow: auto;
    }
    .tutorial-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 2px 2px 16px;
    }
    .tutorial-head h2 { margin: 4px 0 0; color: #17243a; font-size: 21px; }
    .tutorial-close {
      display: grid;
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      place-items: center;
      color: #62788d;
      font-size: 26px;
      line-height: 1;
      border: 1px solid #dae8ed;
      border-radius: 50%;
      background: #f3f9fa;
    }
    .tutorial-close:hover { color: #078f8d; border-color: #95ded9; background: #eaf9f7; }
    .tutorial-close:focus-visible { outline: 3px solid rgba(25, 197, 184, .24); outline-offset: 2px; }
    .tutorial-player {
      overflow: hidden;
      border: 1px solid #dcebee;
      border-radius: 16px;
      background: #101a24;
    }
    .tutorial-video-wrap {
      display: grid;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      place-items: center;
      background: #101a24;
    }
    .tutorial-video-wrap video { width: 100%; height: 100%; object-fit: contain; background: #101a24; }
    .tutorial-controls {
      display: grid;
      min-height: 48px;
      grid-template-columns: 36px auto minmax(90px, 1fr) 36px 36px;
      align-items: center;
      gap: 10px;
      padding: 6px 10px;
      color: #e9f4f5;
      border-top: 1px solid rgba(255, 255, 255, .12);
      background: #101a24;
    }
    .tutorial-controls button {
      display: grid;
      width: 34px;
      height: 34px;
      padding: 0;
      place-items: center;
      color: #f2fbfb;
      font-size: 17px;
      line-height: 1;
      border: 0;
      border-radius: 9px;
      background: transparent;
      cursor: pointer;
    }
    .tutorial-controls button:hover,
    .tutorial-controls button:focus-visible { color: #45ddd1; background: rgba(255, 255, 255, .1); }
    .tutorial-time { min-width: 82px; font-variant-numeric: tabular-nums; font-size: 12px; white-space: nowrap; }
    .tutorial-controls input[type="range"] {
      width: 100%;
      height: 4px;
      min-height: 4px;
      padding: 0;
      appearance: none;
      -webkit-appearance: none;
      outline: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, .30);
      box-shadow: none;
      cursor: pointer;
    }
    .tutorial-controls input[type="range"]:focus,
    .tutorial-controls input[type="range"]:focus-visible {
      outline: 0;
      border: 0;
      background: rgba(255, 255, 255, .36);
      box-shadow: none;
    }
    .tutorial-controls input[type="range"]::-webkit-slider-thumb {
      width: 16px;
      height: 16px;
      appearance: none;
      -webkit-appearance: none;
      border: 0;
      border-radius: 50%;
      background: #27c8bc;
      box-shadow: 0 0 0 3px rgba(39, 200, 188, .16);
    }
    .tutorial-controls input[type="range"]::-moz-range-thumb {
      width: 16px;
      height: 16px;
      border: 0;
      border-radius: 50%;
      background: #27c8bc;
      box-shadow: 0 0 0 3px rgba(39, 200, 188, .16);
    }
    .tutorial-controls input[type="range"]::-moz-range-track {
      height: 4px;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, .30);
    }
    .tutorial-head-actions { display: flex; align-items: center; gap: 10px; }
    .tutorial-open-link {
      color: #078f8d;
      font-size: 13px;
      font-weight: 800;
      text-decoration: none;
      white-space: nowrap;
    }
    .tutorial-open-link:hover { text-decoration: underline; }
    .tutorial-empty {
      display: flex;
      max-width: 430px;
      align-items: center;
      flex-direction: column;
      padding: 24px;
      color: #d7e6e9;
      text-align: center;
    }
    .tutorial-empty-icon {
      display: grid;
      width: 58px;
      height: 58px;
      margin-bottom: 16px;
      padding-left: 4px;
      place-items: center;
      color: #fff;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 50%;
      background: linear-gradient(135deg, #26c8b9, #08aebb);
      box-shadow: 0 10px 25px rgba(15, 182, 180, .25);
    }
    .tutorial-empty strong { font-size: 18px; }
    .tutorial-empty p { margin: 9px 0 0; color: #91a9b5; font-size: 13px; line-height: 1.7; }

    @media (max-width: 760px) {
      h1 { letter-spacing: .08em; }
      h1 .gradient-text { padding-left: .08em; }
      .query-result-toolbar { align-items: flex-start; flex-direction: column; }
      .query-copy-actions { width: 100%; }
      .copy-cards-btn { flex: 1; }
      .table th,
      .table td { padding-right: 4px; padding-left: 4px; font-size: 10px; }
      .table .col-card { width: 20%; }
      .table .col-status { width: 10%; }
      .table .col-email { width: 24%; }
      .table .col-id { width: 22%; }
      .table .col-created,
      .table .col-finished { width: 12%; }
      .table .cell-status .badge { min-height: 24px; padding: 2px 6px; font-size: 10px; }
      .tutorial-modal { padding: 12px; }
      .tutorial-dialog { padding: 14px; border-radius: 18px; }
      .tutorial-head h2 { font-size: 18px; }
      .tutorial-controls { grid-template-columns: 34px auto minmax(52px, 1fr) 34px 34px; gap: 5px; padding-right: 6px; padding-left: 6px; }
      .tutorial-time { min-width: 74px; font-size: 11px; }
    }

    .result-note {
      margin-top: 12px;
      padding-top: 11px;
      color: #9b3137;
      font-size: 12px;
      line-height: 1.65;
      border-top: 1px solid rgba(202, 75, 82, .16);
    }
    .coverage-note {
      margin-top: 12px;
      padding: 11px 13px;
      color: #8a5500;
      font-size: 13px;
      line-height: 1.65;
      border: 1px solid #f1d49a;
      border-radius: 12px;
      background: #fff8e8;
    }
    .coverage-note strong { color: #a86500; }

    /* Final responsive layout: desktop stays one record per row; mobile becomes a labelled card. */
    @media (max-width: 760px) {
      html,
      body { max-width: 100%; overflow-x: hidden; }
      .page-shell { width: min(100% - 16px, 1040px); padding: 0 0 22px; }
      .hero { padding: 22px 8px 0; }
      h1 { font-size: clamp(38px, 13vw, 58px); letter-spacing: .07em; }
      h1 .gradient-text { padding-left: .07em; }
      .eyebrow { margin-top: 7px; font-size: 15px; letter-spacing: .12em; }
      .hero-desc { max-width: 92%; margin: 8px auto 0; font-size: 12px; line-height: 1.55; }
      .hero-tools { margin-top: 12px; }
      .hero > .mode-tabs { width: 100%; margin-top: 18px; padding: 5px; border-radius: 16px; }
      .hero > .mode-tabs .mode-tab { min-height: 48px; padding: 0 8px; font-size: 14px; }

      #rechargeFlow > .steps { margin: 16px 0 12px; }
      #rechargeFlow > .steps::before,
      #rechargeFlow > .steps::after { top: 17px; }
      #rechargeFlow > .steps .step-pill { min-width: 0; min-height: 62px; gap: 5px; font-size: 10px; }
      #rechargeFlow > .steps .step-pill .number { width: 36px; height: 36px; font-size: 13px; }
      #rechargeFlow > .steps .step-pill .label { display: inline; max-width: 74px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

      .card,
      .query-card { padding: 20px 16px; border-radius: 20px; }
      .card-head { margin-bottom: 16px; }
      .card-head h2,
      .query-title h2 { font-size: 22px; }
      .card-head .sub { font-size: 12px; line-height: 1.65; }
      .field-row,
      .query-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
      .field-row > .btn,
      .query-grid .btn { width: 100%; min-width: 0; min-height: 48px; }
      .query-grid textarea { min-height: 104px; }
      .query-title { align-items: center; gap: 12px; }
      .query-icon { width: 44px; height: 44px; }
      .actions { display: flex; flex-wrap: wrap; gap: 9px; }
      .actions .btn { min-width: 0; flex: 1 1 120px; }
      .helper-actions .btn { width: 100%; }
      textarea#accountText { min-height: 190px; font-size: 12px; }

      .query-result-toolbar { gap: 10px; }
      .query-copy-actions { display: grid; grid-template-columns: 1fr 1fr; }
      .copy-cards-btn { width: 100%; min-width: 0; }

      .table-wrap { width: 100%; overflow: visible; }
      .table,
      .table tbody { display: block; width: 100%; }
      .table colgroup,
      .table thead { display: none; }
      .table tr {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(92px, .42fr);
        gap: 10px 12px;
        margin-bottom: 12px;
        padding: 14px;
        border: 1px solid #dce8ed;
        border-radius: 16px;
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 8px 20px rgba(33, 73, 89, .05);
      }
      .table td {
        display: flex;
        width: 100%;
        min-width: 0;
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 0;
        overflow: hidden;
        white-space: normal;
        border: 0;
        font-size: 13px;
        text-overflow: clip;
      }
      .table td::before {
        content: attr(data-label);
        color: #8193a8;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.2;
      }
      .table .cell-card { grid-column: 1; }
      .table .cell-status { grid-column: 2; }
      .table .cell-email,
      .table .cell-id,
      .table .cell-time { grid-column: 1 / -1; }
      .table .cell-value {
        display: block;
        width: 100%;
        overflow: hidden;
        line-height: 1.45;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      .table .cell-email .cell-value,
      .table .cell-id .cell-value {
        display: -webkit-box;
        white-space: normal;
        word-break: break-all;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
      }
      .table .cell-status .badge { min-height: 25px; padding: 3px 8px; font-size: 11px; white-space: nowrap; }
      .tutorial-modal { padding: 10px; }
      .tutorial-dialog { width: 100%; }
    }

    @media (max-width: 390px) {
      .card,
      .query-card { padding: 17px 13px; }
      #rechargeFlow > .steps .step-pill .label { font-size: 9px; }
      .query-copy-actions { grid-template-columns: 1fr; }
      .table tr { padding: 12px; }
    }

/* v1.0.9 — PHP Partner 版本适配 */
.steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.query-icon{font-size:26px;font-weight:800}
.confirm-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 18px}
.confirm-item{min-width:0;padding:14px 15px;border:1px solid var(--line);border-radius:14px;background:#f8faff}
.confirm-item span{display:block;margin-bottom:5px;color:var(--muted);font-size:12px}
.confirm-item strong{display:block;overflow:hidden;color:var(--text);text-overflow:ellipsis;white-space:nowrap}
.risk-warning{margin:0 0 14px;padding:12px 14px;border:1px solid #f0d4a4;border-radius:13px;background:#fff9ed;color:#93601d;font-size:13px}
.order-live{display:grid;gap:10px;padding:18px;border:1px solid #cfd9ff;border-radius:16px;background:#f6f7ff}
.order-live-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.order-live-head strong{font-size:17px}.order-live code{overflow-wrap:anywhere;color:#536789;font-size:12px}
.live-dot{width:10px;height:10px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 7px rgba(81,72,244,.11);animation:v109pulse 1.8s ease-in-out infinite}
.order-live.terminal .live-dot{background:var(--green);animation:none}
.query-results{display:grid;gap:10px;margin-top:14px}
.query-result-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 15px;border:1px solid var(--line);border-radius:14px;background:#fff}
.query-result-card strong,.query-result-card span,.query-result-card code{display:block;overflow-wrap:anywhere}.query-result-card span{margin-top:5px;color:var(--muted);font-size:12px}.query-result-card code{margin-top:7px;color:#72809a;font-size:11px}.query-result-card .state{align-self:start;padding:6px 10px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:800;white-space:nowrap}.query-result-card.bad .state{background:var(--red-soft);color:var(--red)}
@keyframes v109pulse{50%{transform:scale(.72);box-shadow:0 0 0 12px rgba(81,72,244,.04)}}
@media(max-width:680px){.page-shell{width:min(100% - 16px,1040px)!important}.hero{padding:18px 16px!important}.hero-desc{display:none}.hero-tools{margin-top:10px!important}.steps{gap:7px!important;margin-top:12px!important}.step-pill{min-width:0!important;padding:10px 4px!important}.step-pill .label{font-size:11px!important}.flow-panel{padding:20px 16px!important}.card-head{margin-bottom:15px!important}.card-head .sub{font-size:12px!important}.confirm-summary{grid-template-columns:1fr}.query-result-card{grid-template-columns:1fr}.query-result-card .state{justify-self:start}.tutorial-btn{min-height:38px!important}}

/* v1.0.10 — 完整充值时间 */
.order-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.order-times span{display:grid;gap:3px;padding:9px 10px;border:1px solid rgba(81,72,244,.13);border-radius:11px;background:rgba(81,72,244,.045);font-size:11px;line-height:1.4}
.order-times b{color:var(--muted);font-size:10px;font-weight:700}
@media(max-width:620px){.order-times{grid-template-columns:1fr}.order-times span{display:flex;align-items:center;justify-content:space-between;gap:12px}}

/* v1.0.11 — 完整信息显示 */
.confirm-item strong,.verified-banner code{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-word}

/* v1.0.12 — Session 两步入口 */
.session-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
.session-steps .btn{min-width:0;min-height:52px;padding:0 14px;white-space:normal;text-align:center}
.session-steps .session-btn{color:#009b91;border:1px solid #58d8ce;background:#effbf9;box-shadow:none}
.session-steps .session-btn:hover{color:#007f77;border-color:#20bfb4;background:#e4f8f5;box-shadow:0 8px 20px rgba(18,185,173,.12)}
.session-step-no{display:inline-grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:50%;color:#008f86;background:rgba(18,185,173,.12);font-size:12px;font-weight:900}
@media(max-width:520px){.session-steps{gap:7px}.session-steps .btn{min-height:50px;padding:6px 8px;font-size:12px;line-height:1.3}.session-step-no{width:21px;height:21px;font-size:11px}}

/* v1.0.15 — name 用户名识别与确认卡片升级 */
.confirm-summary{
  gap:12px;
  margin:6px 0 20px;
}
.confirm-item{
  position:relative;
  overflow:hidden;
  min-height:104px;
  padding:18px 20px;
  border-color:#d9e7e8;
  border-radius:18px;
  background:linear-gradient(145deg,#fff 0%,#f7fbfb 100%);
  box-shadow:0 8px 24px rgba(19,52,64,.045);
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.confirm-item:hover{
  transform:translateY(-1px);
  border-color:#a9dcd8;
  box-shadow:0 12px 26px rgba(0,148,137,.08);
}
.confirm-item>span,.confirm-copy>span{
  margin-bottom:8px;
  color:#70869a;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}
.confirm-item>strong,.confirm-copy>strong{
  color:#102036;
  font-size:17px;
  line-height:1.45;
}
.confirm-item--identity{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  min-height:118px;
  padding:20px 22px;
  border-color:#9fddd8;
  background:
    radial-gradient(circle at 92% 8%,rgba(17,191,177,.15),transparent 30%),
    linear-gradient(135deg,#f4fffd 0%,#ecfaf8 55%,#f9fffe 100%);
  box-shadow:0 12px 30px rgba(5,157,146,.09);
}
.confirm-item--identity::after{
  position:absolute;
  right:22px;
  bottom:-30px;
  width:100px;
  height:100px;
  border:1px solid rgba(13,174,162,.13);
  border-radius:50%;
  content:"";
}
.confirm-avatar{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:17px;
  color:#fff;
  background:linear-gradient(145deg,#10c4b8,#07978f);
  box-shadow:0 10px 22px rgba(8,162,151,.23);
  font-size:20px;
  font-weight:900;
}
.confirm-copy{min-width:0}
.confirm-copy>span,.confirm-copy>strong,.confirm-copy>small{display:block}
.confirm-copy>small{
  margin-top:4px;
  overflow-wrap:anywhere;
  color:#6f8793;
  font-size:12px;
}
.confirm-item--identity>em{
  position:relative;
  z-index:1;
  padding:7px 11px;
  border:1px solid #9cddd7;
  border-radius:999px;
  color:#078e84;
  background:rgba(255,255,255,.74);
  font-size:11px;
  font-style:normal;
  font-weight:800;
  white-space:nowrap;
}
.confirm-item--wide{grid-column:1/-1;min-height:92px}
.confirm-item--status::after{
  position:absolute;
  top:22px;
  right:20px;
  width:9px;
  height:9px;
  border-radius:50%;
  content:"";
}
.confirm-item--status.is-ready::after{background:#10b981;box-shadow:0 0 0 6px rgba(16,185,129,.10)}
.confirm-item--status.is-risk::after{background:#e29a21;box-shadow:0 0 0 6px rgba(226,154,33,.11)}
.confirm-item--status.is-blocked{border-color:#f1c9cb;background:#fff8f8}.confirm-item--status.is-blocked::after{background:#d74b55;box-shadow:0 0 0 6px rgba(215,75,85,.10)}
@media(max-width:680px){
  .confirm-summary{gap:9px}
  .confirm-item{min-height:82px;padding:14px 15px;border-radius:15px}
  .confirm-item--identity{grid-template-columns:auto minmax(0,1fr);min-height:104px;padding:16px}
  .confirm-item--identity>em{grid-column:2;justify-self:start;margin-top:-6px;padding:4px 8px}
  .confirm-avatar{width:44px;height:44px;border-radius:14px;font-size:17px}
  .confirm-item>span,.confirm-copy>span{margin-bottom:5px;font-size:11px}
  .confirm-item>strong,.confirm-copy>strong{font-size:15px}
  .confirm-item--wide{min-height:82px}
}

/* v1.0.16 — 充值提交与完成时间 */
.order-times{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:620px){.order-times{grid-template-columns:1fr}}

/* v1.0.22 — compact processing panel and complete customer lookup */
.result.wait{color:#946000;border-color:#efd9aa;background:#fff8e8}
#submitStep .card-head{margin-bottom:12px}
#submitStep .order-live{gap:6px;padding:13px 15px;border-radius:14px}
#submitStep .order-live-head strong{font-size:15px}
#submitStep .order-live>span{font-size:12px;line-height:1.45}
#submitStep .order-live code{font-size:11px}
#submitStep .order-times{gap:6px;margin-top:4px}
#submitStep .order-times span{padding:7px 9px;border-radius:9px;font-size:10px}
#submitStep .confirm-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:9px 0 14px}
#submitStep .confirm-item{min-height:70px;padding:10px 12px;border-radius:13px;box-shadow:none}
#submitStep .confirm-item>span,#submitStep .confirm-copy>span{margin-bottom:3px;font-size:10px}
#submitStep .confirm-item>strong,#submitStep .confirm-copy>strong{font-size:13px;line-height:1.35}
#submitStep .confirm-item--identity{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto;min-height:78px;padding:11px 14px;gap:10px}
#submitStep .confirm-avatar{width:38px;height:38px;border-radius:12px;font-size:15px}
#submitStep .confirm-copy>small{margin-top:2px;font-size:10px}
#submitStep .confirm-item--identity>em{padding:4px 8px;font-size:10px}
#submitStep .confirm-item--wide{grid-column:span 2;min-height:70px}
.query-result-card{display:block;padding:15px 16px}.query-result-main{min-width:0}.query-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.query-result-head>strong{font-size:15px}.query-result-head .state{flex:0 0 auto}.query-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.query-detail-grid>div{min-width:0;padding:9px 10px;border:1px solid #e0eaed;border-radius:10px;background:#f8fbfc}.query-detail-grid span{margin:0 0 3px;color:#7890a5;font-size:10px}.query-detail-grid strong{overflow-wrap:anywhere;color:#17283c;font-size:12px;line-height:1.4}.query-result-card code{margin-top:9px}
.query-result-card.unused{padding:13px 16px}.query-result-card.unused .query-result-main>span{margin-top:4px}.query-result-card.unused .state{background:#e5f8f4;color:#079b8e}
@media(max-width:680px){#submitStep .confirm-summary{grid-template-columns:repeat(2,minmax(0,1fr))}#submitStep .confirm-item--identity{grid-template-columns:auto minmax(0,1fr)}#submitStep .confirm-item--identity>em{grid-column:2;margin-top:-4px}#submitStep .confirm-item--wide{grid-column:1/-1}.query-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){#submitStep .confirm-summary{grid-template-columns:1fr}#submitStep .confirm-item--wide{grid-column:auto}.query-detail-grid{grid-template-columns:1fr 1fr}.query-detail-grid>div{padding:8px}}

/* v1.0.27 — outcome colors */
#submitStep .order-live.success{border-color:#b9e7d1;background:#effbf5;color:#155c43}
#submitStep .order-live.success .live-dot{background:#19a66f;box-shadow:0 0 0 7px rgba(25,166,111,.11);animation:none}
#submitStep .order-live.success code{color:#34755e}
#submitStep .order-live.success .order-times span{border-color:#cdebdc;background:#f8fffb}
#submitStep .order-live.failed{border-color:#f0c6c9;background:#fff3f4;color:#8f3037}
#submitStep .order-live.failed .live-dot{background:#d14b54;box-shadow:0 0 0 7px rgba(209,75,84,.10);animation:none}
#submitStep .order-live.failed code{color:#9b5a60}
#submitStep .order-live.failed .order-times span{border-color:#f0d5d7;background:#fffafa}

/* v1.0.28 — integrated account confirmation panel */
#submitStep .confirm-summary{
  position:relative;
  overflow:hidden;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:9px 0 14px;
  padding:13px 15px 12px;
  border:1px solid #91ddd7;
  border-radius:17px;
  background:
    radial-gradient(circle at 92% 0,rgba(23,194,180,.18),transparent 34%),
    linear-gradient(135deg,#f0fcfa 0%,#e8f9f6 56%,#f3fcfb 100%);
  box-shadow:0 12px 28px rgba(5,157,146,.08);
}
#submitStep .confirm-summary::after{
  position:absolute;
  right:-38px;
  bottom:-68px;
  width:150px;
  height:150px;
  border:1px solid rgba(6,158,147,.11);
  border-radius:50%;
  content:"";
  pointer-events:none;
}
#submitStep .confirm-item{
  position:relative;
  z-index:1;
  overflow:visible;
  min-height:60px;
  padding:10px 13px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transition:none;
}
#submitStep .confirm-item:hover{
  transform:none;
  border-color:transparent;
  box-shadow:none;
}
#submitStep .confirm-item:not(.confirm-item--identity){
  border-top:1px solid rgba(7,143,133,.14);
}
#submitStep .confirm-item:not(.confirm-item--identity):not(:nth-child(2)):not(.confirm-item--status){
  border-left:1px solid rgba(7,143,133,.12);
}
#submitStep .confirm-item--identity{
  grid-column:1/-1;
  grid-template-columns:auto minmax(0,1fr) auto;
  min-height:68px;
  padding:2px 4px 13px;
  gap:11px;
  border:0;
  background:transparent;
  box-shadow:none;
}
#submitStep .confirm-item--identity::after{display:none}
#submitStep .confirm-item--wide{
  grid-column:span 2;
  min-height:60px;
}
#submitStep .confirm-item--status.is-blocked{
  border-color:rgba(201,67,78,.22);
  background:rgba(255,236,238,.72);
  border-radius:11px;
}
#submitStep .confirm-item--status::after{top:17px;right:14px}
#submitStep .confirm-avatar{
  width:42px;
  height:42px;
  border-radius:13px;
  font-size:16px;
}
#submitStep .confirm-copy>small{font-size:11px}
#submitStep .confirm-item>span,#submitStep .confirm-copy>span{
  margin-bottom:3px;
  color:#668a8a;
  font-size:10px;
}
#submitStep .confirm-item>strong,#submitStep .confirm-copy>strong{
  color:#102d34;
  font-size:13px;
  line-height:1.4;
}
@media(max-width:680px){
  #submitStep .confirm-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:11px 12px 10px}
  #submitStep .confirm-item--identity{grid-template-columns:auto minmax(0,1fr);padding:2px 3px 11px}
  #submitStep .confirm-item--identity>em{grid-column:2;margin-top:-3px}
  #submitStep .confirm-item:not(.confirm-item--identity){border-top:1px solid rgba(7,143,133,.14)}
  #submitStep .confirm-item:not(.confirm-item--identity):nth-child(odd){border-left:1px solid rgba(7,143,133,.12)}
  #submitStep .confirm-item:not(.confirm-item--identity):nth-child(even){border-left:0}
  #submitStep .confirm-item--wide{grid-column:1/-1;border-left:0!important}
}
@media(max-width:430px){
  #submitStep .confirm-summary{grid-template-columns:1fr;padding:11px 12px 8px}
  #submitStep .confirm-item:not(.confirm-item--identity){min-height:54px;padding:9px 5px;border-left:0!important}
  #submitStep .confirm-item--wide{grid-column:auto}
}

/* v1.0.30 — query statistics and available-card copy */
.query-result-toolbar .summary-chip{display:inline-flex;align-items:center;gap:6px}
.query-result-toolbar .summary-chip b{font-size:14px;font-variant-numeric:tabular-nums}
.query-copy-actions .copy-cards-btn.unused{min-height:36px;padding:0 14px;cursor:pointer}
@media(max-width:520px){
  .query-result-toolbar{align-items:stretch}
  .query-result-toolbar .summary-strip{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
  .query-result-toolbar .summary-chip{justify-content:center;padding:7px 6px;white-space:nowrap}
  .query-copy-actions{display:block;width:100%}
}

/* v1.0.31 — compact query cards and mobile primary action */
.mobile-action-dock{display:none}
.query-result-head-actions{display:flex;flex:0 0 auto;align-items:center;gap:7px}
.query-result-toggle{
  min-height:29px;
  padding:0 10px;
  border:1px solid #cfe3e5;
  border-radius:999px;
  background:#f4fbfb;
  color:#087f77;
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.query-result-toggle:hover{border-color:#92d8d2;background:#eaf9f7}
.query-result-toggle:focus-visible{outline:3px solid rgba(18,185,174,.18);outline-offset:2px}
.query-result-card.is-collapsible.collapsed{padding-top:12px;padding-bottom:12px}
.query-result-card.is-collapsible.collapsed .query-result-main>span,
.query-result-card.is-collapsible.collapsed .query-detail-grid,
.query-result-card.is-collapsible.collapsed .query-result-main>code{display:none}
.summary-chip.processing{color:#087f77;border-color:#b9e8e2;background:#eafaf7}
.summary-chip.missing{color:#63758a;border-color:#d9e3e8;background:#f4f7f9}

@media(max-width:680px){
  body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  .mobile-action-dock{
    position:fixed;
    z-index:80;
    right:0;
    bottom:0;
    left:0;
    display:block;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top:1px solid rgba(110,151,158,.22);
    background:rgba(248,253,253,.93);
    box-shadow:0 -12px 34px rgba(23,65,73,.09);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  .mobile-action-dock .btn{display:flex;width:min(100%,600px);min-height:50px;margin:0 auto;font-size:15px}
  #checkCardBtn,
  #checkAccountBtn,
  #submitBtn,
  #queryBtn{display:none}
  .query-result-head{align-items:center}
  .query-result-head-actions{gap:5px}
}

@media(max-width:430px){
  .query-result-toolbar .summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .query-result-head{align-items:flex-start}
  .query-result-head-actions{flex-direction:column;align-items:flex-end}
  .query-result-toggle{min-height:27px;padding:0 8px}
}

/* v1.0.34 — stable 100-item query queue */
.query-batch-progress{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(180px,320px);
  align-items:center;
  gap:14px;
  margin:10px 0 12px;
  padding:11px 13px;
  border:1px solid #dce9ea;
  border-radius:13px;
  background:#f8fbfb;
}
.query-progress-copy{min-width:0}
.query-progress-copy strong,.query-progress-copy span{display:block}
.query-progress-copy strong{color:#20384b;font-size:12px;font-variant-numeric:tabular-nums}
.query-progress-copy span{margin-top:2px;color:#7890a5;font-size:10px}
.query-progress-track{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#e3eeee;
}
.query-progress-track i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#20c8bb,#079e94);
  transition:width .22s ease;
}
.query-sequence{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  margin-right:7px;
  padding:3px 6px;
  border-radius:7px;
  background:#eef8f7;
  color:#078b82;
  font-size:10px;
  font-weight:900;
  line-height:1.2;
  vertical-align:2px;
}
.query-loading-card{border-style:dashed;background:#fbfdfd}
.query-loading-card .state{background:#f0f5f6;color:#738696}
@media(max-width:680px){
  .query-batch-progress{grid-template-columns:1fr;gap:8px}
  .query-progress-track{height:7px}
}
