/* Suppress the old, independently maintained table before its first paint. */
[data-p6090ti-console-prices] > * { display: none !important; }
[data-p6090ti-console-prices]::before {
  content: '模型价格加载中；长时间未显示请刷新页面。';
  display: block; padding: 1rem; color: #6b7280; font-size: .875rem;
}
html:not([lang^="zh"]) [data-p6090ti-console-prices]::before {
  content: 'Loading model prices. Refresh the page if prices do not appear.';
}
[data-p6090ti-console-prices][data-p6090ti-price-bridge] { display: none !important; }
.p6-live-prices {
  /* Match the WordPress price table without changing the console's theme. */
  --p6-live-text: #1d2a33;
  --p6-live-muted: #4b5b66;
  --p6-live-surface: #fff;
  --p6-live-heading: #e3ece7;
  --p6-live-our: #f7faf8;
  --p6-live-line: #e3ece7;
  --p6-live-border: #1d2a33;
  --p6-live-model: #145a3e;
  color: var(--p6-live-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.p6-live-prices__header { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-bottom: 1rem; }
.p6-live-prices__title { flex: 1; margin: 0; font-size: 1.25rem; font-weight: 600; }
.p6-live-prices__button { padding: .45rem .9rem; border: 1px solid #d1d5db; border-radius: .5rem; background: #fff; color: #374151; cursor: pointer; font: inherit; }
.p6-live-prices__button:hover { background: #f9fafb; }
.p6-live-prices__button:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.p6-live-prices__button:disabled { opacity: .5; cursor: wait; }
.p6-live-prices__status { padding: 1.25rem; border: 1px solid #e5e7eb; border-radius: .75rem; background: #fff; color: #6b7280; }
.p6-live-prices__status p { margin: 0; }
.p6-live-prices__status--unavailable { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.p6-live-prices__status--unavailable .p6-live-prices__button { margin-top: .75rem; }
.p6-live-prices__scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 3px solid var(--p6-live-border); border-radius: 0; background: var(--p6-live-surface); }
.p6-live-prices__table { width: 100%; min-width: 760px; margin: 0; border-collapse: collapse; background: var(--p6-live-surface); color: var(--p6-live-text); font-size: 14px; text-align: left; }
.p6-live-prices__table th, .p6-live-prices__table td { padding: 11px 14px; border: 0; border-bottom: 2px solid var(--p6-live-line); text-align: left; vertical-align: top; white-space: nowrap; }
.p6-live-prices__table thead th { background: var(--p6-live-heading); color: var(--p6-live-text); font-weight: 700; }
.p6-live-prices__table tbody tr:last-child th, .p6-live-prices__table tbody tr:last-child td { border-bottom: 0; }
.p6-live-prices__model { font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, Menlo, "Liberation Mono", monospace; font-weight: 600; color: var(--p6-live-model); }
.p6-live-prices__official { color: var(--p6-live-muted); }
.p6-live-prices__our { background: var(--p6-live-our); }
.p6-live-prices__table thead .p6-live-prices__our { background: var(--p6-live-heading); }
.p6-live-prices__our .p6-live-prices__value { font-weight: 700; }
.p6-live-prices__unit, .p6-live-prices__cache { display: block; margin-top: 3px; color: var(--p6-live-muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.p6-live-prices__discount { display: inline-block; margin-left: 6px; padding: 0 6px; background: #1f7a55; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.p6-live-prices__sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
html.dark .p6-live-prices {
  --p6-live-text: #e2ece6;
  --p6-live-muted: #b7c9be;
  --p6-live-surface: #15271f;
  --p6-live-heading: #294237;
  --p6-live-our: #1b3026;
  --p6-live-line: #365246;
  --p6-live-border: #789a88;
  --p6-live-model: #9bd4b5;
}
html.dark .p6-live-prices__status, html.dark .p6-live-prices__button { background: #1f2937; border-color: #374151; color: #e5e7eb; }
html.dark .p6-live-prices__status--unavailable { background: #302b1d; border-color: #92400e; color: #fde68a; }
