/**
 * Readability overrides: higher contrast and slightly larger type for UI chrome.
 * Loaded after index-t3_IcQQc.css
 */
:root {
  --text-secondary: #384252;
  --text-tertiary: #4d566b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-secondary: #c9d2e4;
    --text-tertiary: #adb8ce;
  }
}

html {
  font-size: 100%;
}

body {
  font-size: 16px;
  line-height: 1.55;
}

.wordmark {
  font-size: 23px;
}

.wordmark .tm {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.brand-logo {
  width: 44px;
  height: 44px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-tagline {
  font-size: 12px;
  letter-spacing: 0.05em;
}

.batch-meta {
  font-size: 13px;
}

.stage-pill {
  font-size: 14px;
  padding: 8px 15px;
}

.stage-pill .stage-num {
  font-size: 12px;
}

.stage-pill .stage-label {
  font-size: 15px;
}

.stage-arrow {
  font-size: 13px;
}

.stage-pill.done {
  color: var(--text-secondary);
}

.stages {
  padding: 9px 24px 14px;
}

.app-footer {
  font-size: 12px;
  padding: 15px 24px;
}

.footer-mark {
  font-size: 14px;
}

.ghost-btn {
  font-size: 14px;
  padding: 8px 15px;
}

.primary-btn {
  font-size: 15px;
  padding: 10px 17px;
}

.danger-btn {
  font-size: 14px;
}

.label,
.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
select,
textarea {
  font-size: 15px;
  padding: 9px 11px;
}

input.input-mono {
  font-size: 14px;
}

.path-bar .label {
  font-size: 12px;
  color: var(--text-secondary);
}

.path-bar .path {
  font-size: 14px;
}

.path-bar .meta {
  font-size: 14px;
}

.panel-empty p {
  font-size: 16px;
}

.api-panel-setup p {
  font-size: 15px;
}

.api-panel-setup .api-head h3 {
  font-size: 19px;
}

.api-panel-unlock .lbl {
  font-size: 12px;
  color: rgba(240, 243, 248, 0.78);
}

.api-panel-unlock input {
  font-size: 14px;
}

.api-panel-unlock .unlock-btn {
  font-size: 14px;
}

.api-panel-unlock .reset-link {
  font-size: 13px;
}

.api-panel-active .status {
  font-size: 14px;
}

.api-panel-active .masked {
  font-size: 13px;
}

.api-panel-active .mini-btn {
  font-size: 13px;
}

.thumb {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
}

.fname {
  font-size: 14px;
}

.fmeta {
  font-size: 13px;
  color: var(--text-secondary);
}

.badge {
  font-size: 13px;
}

.badge.uncoded {
  color: var(--text-secondary);
  font-weight: 600;
}

.timing {
  font-size: 12px;
  color: var(--text-secondary);
}

.summary-counts {
  font-size: 14px;
}

.summary-counts .num {
  font-size: 23px;
}

.summary-counts .lbl {
  font-size: 12px;
  color: var(--text-secondary);
}

.progress-meta {
  font-size: 13px;
}

table.review {
  font-size: 15px;
}

table.review th {
  font-size: 12px;
  color: var(--text-secondary);
}

table.review td {
  height: 44px;
}

.pdf-toolbar,
.fields-toolbar {
  font-size: 12px;
  color: var(--text-secondary);
}

.field-group label {
  font-size: 12px;
  color: var(--text-secondary);
}

.field-group .val {
  font-size: 15px;
}

.field-group input.field-input {
  font-size: 15px;
}

.line-items {
  font-size: 13px;
}

.line-items .li-row.li-head {
  font-size: 11px;
  color: var(--text-secondary);
}

.card-nav {
  font-size: 13px;
  color: var(--text-secondary);
}

.error-detail {
  font-size: 13px;
}

.modal-head .eyebrow {
  font-size: 12px;
}

.modal-head .invoice-meta {
  font-size: 13px;
}

.modal-head .vendor-name {
  font-size: 38px;
}

.modal-card.standard .modal-head .modal-sub {
  font-size: 14px;
}

.toggle-row .toggle-title {
  font-size: 15px;
}

.toggle-row .toggle-help {
  font-size: 13px;
}

.modal-foot .skip-link {
  font-size: 14px;
}

table.rules {
  font-size: 15px;
}

table.rules th {
  font-size: 12px;
  color: var(--text-secondary);
}

table.rules td {
  font-size: 14px;
}

.rule-empty {
  font-size: 15px;
}

.settings-section .section-help {
  font-size: 14px;
}

.settings-row label {
  font-size: 13px;
  color: var(--text-secondary);
}

.settings-row .val {
  font-size: 15px;
}

.settings-row .help {
  font-size: 13px;
  color: var(--text-secondary);
}

.toast {
  font-size: 14px;
}

.cell-missing {
  color: var(--text-secondary);
}

.coding-pill {
  font-size: 12px;
}

@media (max-width: 760px) {
  .modal-head .vendor-name {
    font-size: 30px;
  }
}

/* —— User guide (guide.html) —— */
.guide-shell {
  font-size: 17px;
  line-height: 1.65;
}

.guide-hero .guide-brand-img {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.guide-hero .guide-brand-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.guide-shell .hero-eyebrow {
  font-size: 12px;
}

.guide-shell .hero-mark {
  font-size: 40px;
}

.guide-shell .hero-mark .tm {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.guide-shell .hero-tagline {
  font-size: 19px;
}

.guide-shell .hero-back a {
  font-size: 13px;
  color: var(--text-secondary);
}

.guide-shell h2 {
  font-size: 27px;
}

.guide-shell h2 .num {
  font-size: 12px;
}

.guide-shell h3 {
  font-size: 20px;
}

.guide-shell .toc-head {
  font-size: 12px;
  color: var(--text-secondary);
}

.guide-shell .toc li {
  font-size: 16px;
}

.guide-shell .toc li::before {
  font-size: 12px;
}

.guide-shell footer.guide-footer {
  font-size: 14px;
  color: var(--text-secondary);
}

.guide-shell footer.guide-footer .footer-mark {
  font-size: 15px;
}

.guide-shell .callout .callout-head {
  font-size: 13px;
}

.guide-shell .meta-pill {
  font-size: 12px;
}

.guide-shell pre {
  font-size: 14px;
}

@media (max-width: 760px) {
  .guide-shell .hero-mark {
    font-size: 32px;
  }
}
