/* Readable desktop typography layer. Keeps the compact SaaS layout without microtext. */

.avatar-stack i,
.profile-row small,
.script-meta label,
.score-ring span,
.completion-card p,
.structure-item small,
.branch-item small,
.section-heading,
.panel-help,
.variable-row small,
.new-label,
.best-practice-card p,
.best-practice-card button,
.save-state,
.start-node,
.node-kicker,
.node-footer,
.node-footer .node-chip,
.router-tags span,
.branch-label,
.empty-branch,
.conversation-head small,
.live-badge,
.conversation-tabs button,
.message-avatar,
.conversation-message small,
.caller-message small,
.conversation-message em,
.conversation-action,
.add-branch-lane,
.canvas-help,
.zoom-controls span,
.inspector-head span,
.field-label small,
.field-group > label:first-child small,
.field-help,
.token-chip,
.toggle-row small,
.check-row small,
.inspector-badge,
.type-selector button,
.danger-button,
.plain-action,
.quality-row b,
.quality-row small,
.test-note,
.eyebrow,
.prompt-actions span {
  font-size: 11px;
}

.workspace-copy small,
.main-nav a kbd,
.nav-section-label,
.upgrade-card p,
.upgrade-card button,
.profile-avatar,
.profile-row b,
.draft-pill,
.button,
.completion-card b,
.sidebar-tabs button,
.structure-item b,
.branch-item b,
.branch-index,
.variable-search input,
.variable-row b,
.add-variable,
.best-practice-top b,
.view-switcher button,
.canvas-empty-loading small,
.node-label,
.node-copy,
.conversation-head b,
.conversation-message b,
.caller-message b,
.conversation-empty,
.field-label,
.field-group > label:first-child,
.text-field,
.select-field,
.toggle-row b,
.check-row b,
.toast,
.dialog-card > p,
.phone-input span,
.prompt-actions button {
  font-size: 12px;
}

.scenario-generator-head small,
.scenario-generator-tips button,
.scenario-generator-actions > span,
.prompt-section-title {
  font-size: 11px;
}

.scenario-generator-head b,
.scenario-generator textarea,
.scenario-generator-actions button,
.prompt-line {
  font-size: 12px;
}

.workspace-avatar,
.workspace-copy b,
.main-nav a,
.upgrade-card b,
.breadcrumbs,
.script-meta input,
.score-ring strong,
.canvas-empty-loading b,
.phone-input input {
  font-size: 13px;
}

.module-eyebrow,
.card-head small,
.status-banner p,
.status-health > span,
.status-health button,
.metric-trend,
.metric-label,
.metric-card > small,
.chart-legend span,
.chart-column small,
.conversion-ring small,
.conversion-stats small,
.text-action,
.caller-avatar,
.recent-caller b,
.recent-caller small,
.call-kind,
.call-summary,
.call-time b,
.call-time small,
.quick-grid b,
.quick-grid small,
.calls-summary-strip small,
.summary-live,
.module-search input,
.filter-pills button,
.period-switch button,
.filter-button,
.filter-button i,
.calls-table-head,
.table-caller small,
.table-summary b,
.table-summary small,
.table-date b,
.table-date small,
.table-footer,
.table-footer button,
.detail-head small,
.detail-result,
.summary-box b,
.summary-box p,
.recording-player b,
.recording-player small,
.captured-data small,
.captured-data b,
.transcript-head button,
.transcript-line > span,
.transcript-line p,
.empty-transcript small,
.intent-list b,
.intent-list small,
.intent-list strong,
.funnel small,
.funnel em,
.ai-badge,
.insight-list b,
.insight-list p,
.insight-list > button,
.knowledge-health p,
.knowledge-health-meta small,
.knowledge-health-meta b,
.knowledge-health-meta button,
.knowledge-nav > button,
.settings-nav > button,
.knowledge-nav > button i,
.knowledge-tip b,
.knowledge-tip p,
.knowledge-tip button,
.source-type,
.source-status,
.source-card-foot b,
.source-card-foot small,
.add-source-card b,
.add-source-card small,
.drawer-mini-head small,
.source-type-switch button,
.knowledge-add-drawer form label,
.invite-panel form label,
.knowledge-add-drawer form p,
.knowledge-add-drawer form button,
.invite-panel form button,
.faq-item summary > span:first-child,
.faq-item summary b,
.faq-item p,
.faq-item > div button,
.faq-add,
.gap-intro b,
.gap-intro p,
.gap-rank,
.gap-list article b,
.gap-list article small,
.gap-list article em,
.gap-list article button,
.team-summary small,
.team-summary em,
.member-avatar,
.member-copy b,
.member-copy small,
.member-role,
.member-workload b,
.member-workload small,
.invite-card p,
.invite-card > button,
.access-card > div b,
.access-card > div small,
.access-card > button,
.integration-feature p,
.integration-flow i,
.integration-category,
.connected-label,
.integration-card p,
.integration-card-foot button:first-child,
.developer-strip p,
.developer-strip button,
.settings-card-head p,
.setting-field > span,
.setting-field small,
.setting-toggle b,
.setting-toggle small,
.danger-zone p,
.danger-zone button,
.voice-preview p,
.voice-preview button,
.notification-events > b,
.notification-events label,
.retention-row b,
.retention-row small,
.retention-row select,
.security-note b,
.security-note p,
.security-note button {
  font-size: 11px;
}

.module-page-head p,
.module-quiet-button,
.status-banner b,
.conversion-stats b,
.table-caller b,
.captured-data > b,
.transcript-head > b,
.empty-transcript b,
.funnel b,
.knowledge-health b,
.source-card h3,
.drawer-mini-head b,
.knowledge-add-drawer form input,
.invite-panel form input,
.invite-panel form select,
.invite-visual i,
.integration-feature b,
.developer-strip b,
.setting-field input,
.setting-field select,
.setting-field textarea,
.danger-zone h3,
.voice-preview h3 {
  font-size: 12px;
}

.card-head b,
.caller-avatar.large,
.detail-head b,
.invite-card h3,
.integration-card h3,
.settings-card-head h3 {
  font-size: 13px;
}

.node-copy,
.conversation-message p,
.caller-message p,
.summary-box p,
.transcript-line p,
.insight-list p,
.knowledge-tip p,
.integration-card p,
.settings-card-head p,
.setting-field small {
  line-height: 1.55;
}

/* новые блоки 08.2026: аналитика, телеграм, ключи API, вебхуки, журнал, маршрутизация */
.intent-list b,
.attention-when b,
.attention-reason,
.telegram-chat b,
.api-key-row b,
.audit-row b,
.routing-scheme,
.module-empty,
.faq-add-form input,
.faq-add-form textarea,
.knowledge-fact-card textarea,
.api-key-fresh code,
.telegram-howto ol {
  font-size: 12px;
}

.attention-when small,
.attention-more,
.telegram-chat small,
.telegram-chat button,
.telegram-none,
.telegram-howto b,
.telegram-code small,
.api-key-row small,
.api-key-row button,
.api-key-fresh b,
.api-key-fresh button,
.api-docs-line,
.webhook-events label,
.webhook-actions button,
.audit-when,
.audit-row small,
.routing-scheme small,
.routing-note,
.knowledge-hint,
.faq-add-form button,
.faq-delete {
  font-size: 11px;
}

.routing-scheme b {
  font-size: 13px;
}

.site-scrape-row input,
.site-scrape-row button,
.site-facts-block textarea {
  font-size: 12px;
}

.site-scrape-report {
  font-size: 11px;
}

.attention-when {
  min-width: 128px;
}

/* расширенные настройки агента: редактор ядра и служебные подписи */
#advCoreForm textarea {
  font-size: 13px;
  line-height: 1.6;
}

.adv-group textarea,
#advGuardForm textarea {
  font-size: 12px;
  line-height: 1.55;
}

.advanced-note {
  font-size: 12px;
}

.adv-group > b {
  font-size: 11px;
}

.adv-meta {
  font-size: 11px;
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }
}
