:root {
  --readable-muted: #a9abb4;
  --readable-subtle: #92959f;
}

/* Shared readability and interaction baseline */
.button,.auth-tabs button,.payment-methods > button,.topup-grid button,.language-trigger { font-size: 14px; }
.icon-button,.close-button,.mobile-avatar { min-width: 40px; min-height: 40px; }
.muted,.section-heading p,.feature-card p,.character-copy > p,.faq-item p,.final-cta p { color: var(--readable-muted); }

/* Landing */
.floating-card span,.trust-row,.social-proof > p,.proof-stats span,.quote-stage blockquote span,.footer-inner {
  font-size: 12px; line-height: 1.5; color: var(--readable-subtle);
}
.section-heading > span,.section-kicker,.eyebrow,.plan-label { font-size: 11px; line-height: 1.45; }
.price-card ul,.topup-callout p { font-size: 14px; line-height: 1.55; }

/* Authentication and payment */
.auth-form label,.settings-card label,.config-grid label { font-size: 13px; color: #c5c6cc; }
.auth-form input,.settings-card input,.config-grid input,
.character-editor-admin input,.character-editor-admin select,.character-editor-admin textarea,
.character-pipeline-filters input,.character-pipeline-filters select { font-size: 14px; }
.auth-modal > .muted,.secure-note,.payment-methods small,.invoice-box > span,.invoice-box p,.wallet-address,.loading-line {
  font-size: 12px; line-height: 1.55; color: var(--readable-muted);
}

/* Dashboard and navigation */
.sidebar nav button,.sidebar-history button { font-size: 14px; }
.sidebar-history > span,.dash-header span,.welcome > div > span,.plan-card > span,.billing-hero > div > span {
  font-size: 10px; color: var(--readable-subtle);
}
.sidebar-user b { font-size: 13px; }
.sidebar-user span { font-size: 12px; color: var(--readable-subtle); }
.stat-grid article > span,.stat-grid small,.quick-card p,.plan-card p {
  font-size: 13px; line-height: 1.55; color: var(--readable-muted);
}

/* Chat */
.chat-person b { font-size: 14px; }
.chat-person span { font-size: 12px; color: var(--readable-subtle); }
.chat-setting-chip span { font-size: 11px; color: var(--readable-subtle); }
.chat-setting-chip b { font-size: 14px; }
.chat-mode-panel.chameleon-compact-source .mode-heading { font-size: 11px; color: #b0b2ba; }
.chat-mode-panel.chameleon-compact-source .model-title b,
.chat-mode-panel.chameleon-compact-source .behavior-options b { font-size: 14px; }
.chat-mode-panel.chameleon-compact-source .model-options small,
.chat-mode-panel.chameleon-compact-source .behavior-options small {
  font-size: 12.5px; line-height: 1.45; color: #aeb0b9;
}
.chat-mode-panel.chameleon-compact-source .model-meta i,
.chat-mode-panel.chameleon-compact-source .model-meta strong { font-size: 11px; }
.chat-mode-panel.chameleon-compact-source .model-options > button,
.chat-mode-panel.chameleon-compact-source .behavior-options > button { position: relative; }
.chat-mode-panel.chameleon-compact-source .model-options > button.active::after,
.chat-mode-panel.chameleon-compact-source .behavior-options > button.active::after {
  content: "\2713"; position: absolute; top: 10px; right: 11px; color: var(--accent); font-size: 15px; font-weight: 800;
}
.empty-chat p { font-size: 14px; color: var(--readable-muted); }
.suggestions button { min-height: 42px; font-size: 13px; line-height: 1.35; color: #c2c3c9; }
.bubble { font-size: 15.5px; line-height: 1.62; }
.chat-input textarea { font-size: 16px; line-height: 1.55; }

/* Billing and settings */
.billing-product-grid article p,.plan-card p,.settings-title p,.payment-info p,.billing-hero p {
  font-size: 13px; line-height: 1.6; color: var(--readable-muted);
}
.price span,.billing-product-grid small,.billing-history td small { font-size: 12px; color: var(--readable-subtle); }
.settings-card label { font-size: 13px; }
.settings-card input { font-size: 14px; }

/* Administration */
.admin-stats span { font-size: 12px; color: var(--readable-muted); }
.admin-panel-title p { font-size: 13px; color: var(--readable-muted); }
.admin-panel th,.billing-history th,.character-pipeline-table th,.novel-import-table th {
  font-size: 11px; line-height: 1.4; color: #a1a4ad; letter-spacing: .06em;
}
.admin-panel td,.billing-history td,.character-pipeline-table td,.novel-import-table td { font-size: 13px; line-height: 1.45; }
.admin-panel td small,.billing-history td small,.character-pipeline-table td small,
.novel-import-table td small,.admin-panel code,.billing-history code { font-size: 11px; color: var(--readable-subtle); }
.status-badge,.pipeline-state,.novel-import-status,.novel-published,.method-dots i,.config-statuses span {
  font-size: 10.5px; line-height: 1.3;
}
.table-actions button,.table-plan-button,.novel-import-delete { min-height: 34px; font-size: 11px; }
.character-editor-head > div > span,.novel-import-title span { font-size: 11px; }
.character-editor-head p,.novel-import-title p,.character-pipeline-head p,
.novel-import-card-head p,.novel-import-warning { font-size: 13px; line-height: 1.55; color: var(--readable-muted); }
.character-editor-admin label,.novel-import-admin label { font-size: 12px; color: #b3b5bd; }
.character-editor-admin input,.character-editor-admin select,.character-editor-admin textarea { font-size: 13px; }
.character-version-banner code,.character-version-banner > span,.novel-import-metrics span,
.novel-file-label span,.novel-file-label b { font-size: 11px; }

@media (max-width: 720px) {
  .sidebar nav button { font-size: 10.5px; line-height: 1.2; }
  .bubble { font-size: 15px; line-height: 1.6; }
  .chat-mode-panel.chameleon-compact-source .model-options small,
  .chat-mode-panel.chameleon-compact-source .behavior-options small { font-size: 12px; }
  .proof-stats span { font-size: 11px; }
}
