:root {
  --navy: #102b46;
  --navy-deep: #0b2036;
  --ink: #18334a;
  --muted: #607488;
  --subtle: #758697;
  --teal: #087f72;
  --teal-hover: #06685e;
  --teal-light: #e6f5f0;
  --canvas: #f3f6f9;
  --line: #dce5ec;
  --red: #b53743;
  --red-light: #fff0f1;
  --amber: #8b5a19;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; font-size: 14px; line-height: 1.65; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: var(--teal); }
button, input, textarea, a, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid #209e93; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
h1 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 750; letter-spacing: -.8px; }
h2 { font-size: 19px; font-weight: 700; letter-spacing: -.25px; }
h3 { font-size: 16px; font-weight: 650; }
svg { display: block; }
.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; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 10px 16px; color: var(--navy); background: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--navy); color: #fff; border-bottom: 1px solid #213e58; }
.header-inner { max-width: 1120px; margin: 0 auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #16463e; color: #90ead1; border: 1px solid #326658; }
.brand strong { display: block; font-size: 18px; font-weight: 650; letter-spacing: .4px; }
.brand-caption { display: block; margin-top: 2px; font-size: 11px; color: #c0cfdd; letter-spacing: 1.5px; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 13px; flex-wrap: wrap; }
.session-status { color: #b6d7d0; font-size: 12px; }
.current-user { max-width: 155px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8e4ed; font-size: 13px; }
.header-button { min-height: 38px; padding: 6px 12px; color: #edf5fa; border: 1px solid #526b80; background: transparent; border-radius: 8px; font-size: 13px; }
.header-button:hover:not(:disabled) { border-color: #96b6c8; background: #203f59; }
.page-shell { max-width: 1120px; margin: 0 auto; padding: 35px 0 20px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.eyebrow { font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: 2px; margin-bottom: 7px; }
.page-subtitle { color: var(--muted); margin-top: 9px; font-size: 14px; }
.privacy-tag { color: #46647a; background: #e7edf3; border: 1px solid #d8e2eb; padding: 6px 12px; border-radius: 30px; font-size: 12px; white-space: nowrap; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 14px #14334b04; }
.muted { color: var(--muted); }
.notice { margin-bottom: 22px; border: 1px solid #c7dfe9; border-radius: 10px; padding: 12px 16px; font-size: 13px; }
.notice-info { background: #edf7fb; color: #265770; }
.notice-error { background: var(--red-light); color: var(--red); border-color: #efc9ce; }
.login-layout { display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 72px; padding: 20px 28px 38px; }
.login-context h2 { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.5; letter-spacing: -.8px; margin-bottom: 18px; }
.login-context > p:not(.eyebrow) { color: var(--muted); max-width: 390px; }
.feature-list { list-style: none; margin: 24px 0; padding: 0; }
.feature-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #37566b; }
.feature-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: 0 0 auto; box-shadow: 0 0 0 4px #e0efe9; }
.context-note { font-size: 12px; }
.login-card { padding: 30px; box-shadow: 0 12px 32px #16365008; }
.login-card > .muted { margin: 8px 0 24px; font-size: 13px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
input, textarea { width: 100%; border: 1px solid #cbd9e2; border-radius: 10px; padding: 12px 14px; color: var(--ink); background: #fbfcfd; transition: border-color .15s, background .15s; }
input { min-height: 46px; }
input:focus, textarea:focus { background: #fff; border-color: var(--teal); }
input:disabled, textarea:disabled { background: #eef3f6; color: #6c8192; }
textarea { display: block; min-height: 161px; resize: vertical; line-height: 1.85; font-size: 14px; }
textarea::placeholder { color: #778b9b; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 19px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.45; transition: background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.button-primary { color: white; background: var(--teal); border-color: var(--teal); box-shadow: 0 2px 4px #087f7210; }
.button-primary:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--teal-hover); border-color: var(--teal-hover); }
.button-secondary { color: #38596e; background: #fff; border-color: #cedbe4; }
.button-secondary:hover:not(:disabled) { background: #f3f7fa; border-color: #9fb7c8; }
.button-text { padding: 8px 0; min-height: 40px; background: transparent; color: var(--teal); font-size: 13px; }
.button-text:hover:not(:disabled) { text-decoration: underline; }
.button-full { width: 100%; }
.button-compact { min-height: 38px; padding: 8px 13px; font-size: 12px; }
.button-delete { color: #99505a; border-color: #e8d6d9; background: #fff; }
.button-delete:hover:not(:disabled) { background: var(--red-light); border-color: #daacb3; }
.button-danger { color: #fff; background: var(--red); border-color: var(--red); }
.button-danger:hover:not(:disabled) { background: #952a35; border-color: #952a35; }
.button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.session-retry { display: flex; margin: 8px auto 0; }
.login-footnote { font-size: 12px; color: var(--subtle); border-top: 1px solid #e9eff3; margin-top: 17px; padding-top: 17px; }
.inline-feedback { color: var(--teal); font-size: 13px; overflow-wrap: anywhere; }
.inline-feedback:empty { display: none; }
.inline-feedback:not(:empty) { margin: 12px 0; }
.inline-feedback.is-error { color: var(--red); }
.workspace-top { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 22px; align-items: start; }
.composer-card { padding: 25px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.subtle-tag { color: #627d8c; font-size: 11px; background: #f2f6f8; border: 1px solid #e3ebf0; border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.input-caption { display: flex; justify-content: space-between; gap: 12px; color: var(--subtle); font-size: 11px; margin: 9px 0 19px; }
#text-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.composer-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.action-note { margin-left: auto; font-size: 11px; color: var(--subtle); }
.system-stack { display: grid; gap: 16px; }
.worker-card { padding: 21px; }
.worker-card .section-heading { margin-bottom: 13px; }
.worker-card h2 { font-size: 15px; }
.worker-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 24px; font-size: 11px; padding: 4px 9px; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.is-online { color: #087664; background: #e6f5ef; }
.is-offline { color: var(--red); background: var(--red-light); }
.is-unknown { color: #617383; background: #edf2f6; }
.worker-description { color: var(--muted); font-size: 12px; }
.heartbeat-label { margin-top: 16px; font-size: 11px; color: var(--subtle); }
.heartbeat-value { font-size: 13px; margin-top: 3px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.small-note { margin-top: 14px; border-top: 1px solid #eaf0f4; padding-top: 12px; font-size: 11px; color: var(--subtle); }
.browser-note { background: #eaf1f6; border: 1px solid #d9e5ed; border-radius: 12px; padding: 19px 20px; }
.browser-note h2 { font-size: 13px; margin-bottom: 10px; }
.browser-note p { font-size: 12px; color: #567185; }
.browser-note p + p { margin-top: 9px; }
.browser-note strong { font-weight: 600; color: #35546b; }
.browser-note.needs-attention { background: #fff8ea; border-color: #ecd9b8; }
.browser-attention { color: var(--amber) !important; font-weight: 600; }
.queue-section { margin-top: 33px; }
.queue-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.queue-heading .eyebrow { margin-bottom: 4px; }
.queue-heading h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 27px; padding: 2px 8px; font-size: 11px; font-weight: 650; border-radius: 7px; color: #56758a; background: #e6edf2; font-variant-numeric: tabular-nums; }
.queue-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 17px; }
.filter-tabs { display: inline-flex; border-radius: 10px; background: #e8eef3; padding: 4px; gap: 3px; }
.filter-tabs button { color: #5d7588; background: transparent; border: 1px solid transparent; padding: 8px 19px; min-height: 38px; border-radius: 7px; font-size: 13px; white-space: nowrap; }
.filter-tabs button[aria-selected="true"] { background: white; color: var(--teal); font-weight: 650; box-shadow: 0 2px 5px #193b5010; border-color: #dfe8ed; }
.filter-tabs button:hover:not([aria-selected="true"]) { color: var(--ink); background: #f1f5f8; }
.filter-description { color: var(--subtle); font-size: 11px; }
.queue-feedback:not(:empty) { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 12px 15px; margin-top: 0; }
.queue-feedback.is-error { background: var(--red-light); border-color: #efd0d4; }
.job-list { display: grid; gap: 14px; }
.job-card { padding: 21px 24px; overflow: hidden; }
.job-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 7px; }
.job-title { font-size: 16px; font-weight: 650; overflow-wrap: anywhere; min-width: 0; }
.job-status { flex-shrink: 0; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.status-active { background: #eaf3fb; color: #276992; }
.status-success { background: #e5f5ee; color: #087664; }
.status-failed { background: var(--red-light); color: var(--red); }
.status-muted { background: #eff2f5; color: #687d8e; }
.job-identifiers { display: flex; gap: 7px 20px; flex-wrap: wrap; color: var(--subtle); font-size: 11px; margin-bottom: 4px; overflow-wrap: anywhere; }
.job-url { font-size: 12px; color: #5d778a; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.job-message { margin-top: 11px; padding: 8px 11px; color: #426276; background: #f4f7fa; border-radius: 6px; font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap; }
.job-message.is-error { color: var(--red); background: #fff4f5; }
.job-browser-help { margin-top: 10px; color: var(--amber); font-size: 12px; border-left: 3px solid #ddbd80; padding-left: 10px; }
.progress-row { display: flex; justify-content: space-between; gap: 15px; margin-top: 17px; font-size: 11px; }
.progress-label { color: var(--subtle); }
.progress-value { color: #527789; font-variant-numeric: tabular-nums; }
.job-progress { display: block; width: 100%; height: 6px; margin-top: 7px; border: 0; border-radius: 6px; appearance: none; -webkit-appearance: none; background: #e8eff3; overflow: hidden; accent-color: var(--teal); }
.job-progress::-webkit-progress-bar { background: #e8eff3; border-radius: 6px; }
.job-progress::-webkit-progress-value { background: var(--teal); border-radius: 6px; }
.job-progress::-moz-progress-bar { background: var(--teal); border-radius: 6px; }
.job-metadata { display: grid; grid-template-columns: 1fr .8fr .85fr 1.5fr; gap: 17px; margin: 18px 0 17px; }
.meta-item dt { color: var(--subtle); font-size: 11px; margin-bottom: 3px; }
.meta-item dd { margin: 0; color: #3b5a70; font-size: 12px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.job-footer { border-top: 1px solid #edf1f4; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.job-updated { font-size: 11px; color: var(--subtle); font-variant-numeric: tabular-nums; }
.job-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 44px 22px; border-style: dashed; box-shadow: none; background: #ffffffb8; }
.empty-symbol { display: grid; place-items: center; margin: 0 auto 17px; width: 62px; height: 62px; border-radius: 18px; color: #7d9aa9; background: #edf3f7; }
.empty-state h3 { color: #38586f; font-size: 16px; }
.empty-state p { color: var(--subtle); margin-top: 8px; font-size: 12px; }
.settings-panel { margin-top: 27px; padding: 0 23px; box-shadow: none; background: #f9fbfc; scroll-margin-top: 24px; }
.settings-panel summary { cursor: pointer; padding: 18px 0; color: #516c80; font-size: 13px; font-weight: 600; }
.settings-panel[open] summary { border-bottom: 1px solid var(--line); color: var(--ink); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 35px; padding: 24px 0; }
.settings-grid h3 { font-size: 13px; margin-bottom: 7px; }
.settings-grid p { color: var(--muted); font-size: 12px; }
.page-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #738799; font-size: 11px; padding: 23px 2px 3px; }
.delete-dialog { width: min(460px, calc(100% - 32px)); padding: 27px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 24px 90px #0b203633; }
.delete-dialog::backdrop { background: #0b20368a; }
.delete-dialog h2 { margin-bottom: 13px; }
.delete-dialog > p { font-size: 13px; color: var(--muted); }
.delete-dialog .delete-job-title { padding: 11px 13px; margin: 16px 0; background: #f2f6f9; border-radius: 8px; color: var(--ink); overflow-wrap: anywhere; }
.delete-dialog .inline-feedback.is-error { color: var(--red); }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.toast-region { position: fixed; z-index: 90; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: min(560px, calc(100% - 32px)); pointer-events: none; }
.toast { color: #fff; background: var(--navy-deep); border: 1px solid #425c71; border-radius: 11px; padding: 13px 20px; box-shadow: 0 8px 28px #102b4629; font-size: 13px; overflow-wrap: anywhere; }
.toast.is-error { background: #822f39; border-color: #a7646d; }
@media (max-width: 1184px) {
  .header-inner { margin: 0 28px; }
  .page-shell { margin: 0 28px; }
  .login-layout { padding-right: 8px; padding-left: 8px; gap: 40px; }
}
@media (max-width: 900px) {
  .workspace-top { grid-template-columns: minmax(0, 1fr) 285px; gap: 16px; }
  .composer-card { padding: 21px; }
  .action-note { width: 100%; margin: 2px 0 0; }
  .login-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; }
  .login-card { padding: 25px; }
  .login-context h2 { font-size: 29px; }
  .job-metadata { grid-template-columns: 1fr .7fr .8fr 1.6fr; }
  .header-tools { gap: 9px; }
}
@media (max-width: 760px) {
  .header-inner { margin: 0 20px; gap: 14px; min-height: 80px; }
  .brand strong { font-size: 16px; }
  .brand-caption { font-size: 10px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 11px; }
  .header-tools { gap: 8px; }
  .session-status { display: none; }
  .page-shell { margin: 0 20px; padding-top: 27px; }
  .page-heading { margin-bottom: 23px; }
  .privacy-tag { display: none; }
  .workspace-top { grid-template-columns: minmax(0, 1fr); }
  .system-stack { grid-template-columns: minmax(0, 1fr); }
  .worker-card { padding: 19px 21px; }
  .browser-note { padding: 18px 21px; }
  .worker-description { font-size: 13px; }
  .small-note { margin-top: 12px; }
  .login-layout { grid-template-columns: minmax(0, 1fr); padding: 0 0 12px; gap: 24px; }
  .login-context { padding: 6px 3px 0; }
  .login-context h2 { font-size: 27px; margin-bottom: 12px; }
  .login-context h2 br { display: none; }
  .login-context .feature-list, .login-context .context-note { display: none; }
  .login-context > p:not(.eyebrow) { max-width: none; }
  .login-card { padding: 25px; }
  .queue-section { margin-top: 29px; }
  .queue-toolbar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .filter-tabs { width: 100%; }
  .filter-tabs button { flex: 1; padding: 8px 12px; }
  .job-metadata { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; }
  .job-card { padding: 20px; }
  .job-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .job-actions { width: 100%; justify-content: flex-start; }
  .settings-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toast-region { bottom: 18px; }
}
@media (max-width: 440px) {
  .header-inner { margin: 0 16px; flex-wrap: wrap; gap: 12px; padding: 15px 0; }
  .header-tools { margin-left: auto; }
  .current-user { max-width: 92px; }
  .header-button { min-height: 36px; padding: 6px 9px; font-size: 12px; }
  .page-shell { margin: 0 16px; padding-top: 24px; }
  .page-subtitle { font-size: 13px; }
  .composer-card, .login-card { padding: 20px; }
  .section-heading { gap: 8px; }
  .section-heading h2 { font-size: 17px; }
  .input-caption { flex-wrap: wrap; gap: 3px; }
  .input-caption p { width: 100%; }
  .action-note { font-size: 11px; }
  .composer-actions .button { flex: 1; }
  .job-card { padding: 18px 16px; }
  .job-heading { gap: 10px; }
  .job-title { font-size: 15px; }
  .job-identifiers { flex-direction: column; gap: 2px; }
  .job-actions .button { flex: 1; }
  .filter-tabs button { padding: 8px 4px; font-size: 12px; }
  .settings-panel { padding: 0 18px; }
  .delete-dialog { padding: 22px; }
  .dialog-actions .button { flex: 1; padding-right: 12px; padding-left: 12px; }
  .page-footer { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .status-dot, .feature-list li::before { background: CanvasText; }
  .button, .job-status, .worker-badge, .filter-tabs button { border: 1px solid ButtonText; }
  .filter-tabs button[aria-selected="true"] { outline: 2px solid Highlight; }
}
select { font: inherit; min-height: 44px; border: 1px solid #cbd9e2; border-radius: 9px; padding: 9px 12px; color: var(--ink); background: #fbfcfd; max-width: 100%; }
select:disabled { opacity: .55; cursor: not-allowed; }
.header-tools a.header-button { display: inline-flex; align-items: center; text-decoration: none; }
.field-help { margin-top: 6px; color: var(--muted); font-size: 12px; }
.wallet-card { padding: 25px; margin-bottom: 24px; scroll-margin-top: 22px; }
.wallet-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; }
.wallet-summary > div { background: #f2f7f8; border: 1px solid #dce9eb; border-radius: 12px; padding: 14px 18px; }
.wallet-summary dt { color: var(--muted); font-size: 12px; }
.wallet-summary dd { margin: 4px 0 0; color: var(--teal); font-size: 26px; font-weight: 700; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.wallet-summary dd small { font-size: 12px; color: var(--muted); font-weight: 400; }
.billing-note { color: var(--muted); font-size: 12px; line-height: 1.9; }
.wallet-recharge { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; margin-top: 22px; align-items: start; }
#recharge-options { border: 0; padding: 0; margin: 0; min-width: 0; }
#recharge-options legend { font-weight: 650; margin-bottom: 12px; }
#recharge-options legend span { margin-left: 12px; font-weight: 400; font-size: 12px; color: var(--teal); }
.recharge-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.recharge-packages label { position: relative; display: flex; align-items: center; cursor: pointer; min-width: 0; }
.recharge-packages input { position: absolute; inset: 0 auto 0 10px; width: 15px; min-height: 0; margin: auto 0; height: 15px; accent-color: var(--teal); }
.recharge-packages span { width: 100%; display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px 10px 32px; background: #fbfcfd; font-weight: 650; }
.recharge-packages small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.recharge-packages input:checked + span { border-color: var(--teal); background: var(--teal-light); }
.recharge-packages input:focus-visible + span { outline: 3px solid #209e93; outline-offset: 3px; }
.recharge-packages input:disabled + span { opacity: .55; cursor: not-allowed; }
.payment-channel { margin: 14px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.payment-channel label { font-size: 12px; }
#payment-notice { margin: 12px 0; }
.payment-next { background: #edf7f3; border: 1px solid #cbe4dc; border-radius: 12px; padding: 18px; }
.payment-next h3 { font-size: 15px; margin-bottom: 9px; }
.payment-next p { font-size: 12px; color: var(--muted); margin: 7px 0 12px; overflow-wrap: anywhere; }
.payment-next .button { margin: 5px 6px 0 0; }
.wallet-history { border-top: 1px solid var(--line); padding-top: 13px; margin-top: 17px; }
.wallet-history summary { cursor: pointer; font-weight: 600; color: #3b5a70; }
.table-scroll { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.data-table th { background: #f1f6f9; font-weight: 650; color: #446278; white-space: nowrap; }
.data-table th, .data-table td { padding: 11px 13px; vertical-align: top; border-bottom: 1px solid #e8eef3; }
.data-table td { overflow-wrap: anywhere; min-width: 90px; max-width: 260px; font-variant-numeric: tabular-nums; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.table-empty { text-align: center; color: var(--muted); padding: 22px; }
.table-actions .button { margin: 0 4px 5px 0; }
@media (max-width: 760px) {
  .wallet-recharge { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .wallet-summary { gap: 9px; }
  .wallet-summary > div { padding: 12px; }
  .wallet-summary dd { font-size: 23px; }
  .wallet-summary dd small { display: block; }
}
@media (max-width: 440px) {
  .wallet-card { padding: 20px; }
  .wallet-summary { grid-template-columns: minmax(0, 1fr); }
  .wallet-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .wallet-summary dd { margin: 0; }
  .wallet-summary dd small { display: inline; }
  .wallet-card .section-heading { align-items: flex-start; flex-wrap: wrap; }
  .recharge-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-next .button { width: 100%; margin-right: 0; white-space: normal; }
}
