/* Readable type floor for the dense LOS workspaces. */
:root {
  --muted: #566178;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 15px !important;
  line-height: 1.55;
}

p:not(.eyebrow),
.form-error,
.model-caveat,
.condition-import-notice,
.condition-import-warning,
.condition-provenance,
.supervisor-review-empty,
.schedule-empty,
.agenda-empty {
  font-size: 13px !important;
  line-height: 1.55 !important;
}

small {
  font-size: 12px !important;
  line-height: 1.45 !important;
}

label,
.eyebrow,
.nav-label,
.connection-status,
.permission-editor-head #permissionEditorSummary,
.permission-role-picker,
.permission-default,
.source-meta,
.source-file,
.source-pill,
.status-pill,
.validation-badge,
.agenda-read-only,
.workflow-heading > span,
.transaction-filter,
.audit-toolbar label,
.agenda-management-toolbar label,
.agenda-note-area label,
.agenda-add-search label,
.agenda-add-footer label {
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.closing-readiness-toolbar label,
.closing-readiness-summary small,
.closing-readiness-summary span,
.closing-loan-identity > span,
.closing-status,
.closing-card-facts small,
.closing-card-facts span,
.closing-progress > span,
.closing-gate b,
.closing-gate small,
.closing-evidence-heading small,
.closing-source-line,
.closing-evidence-row strong,
.closing-evidence-row p,
.closing-evidence-row b,
.closing-evidence-row span {
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.closing-readiness-heading .workspace-actions > span,
.closing-readiness-list-head > span,
.closing-loan-identity p,
.closing-card-facts strong,
.closing-evidence > summary,
.closing-evidence-note,
.closing-empty,
.closing-loading span,
.closing-empty-state span {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.primary-button,
.secondary-button,
.text-button,
.segmented button,
.drawer-tabs button,
.workflow-filters button,
.workflow-task-actions button,
.workflow-task-actions a,
.condition-card button,
.condition-card a,
.vote-actions button,
.row-open,
.upload-button,
.push-change {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

table th,
.data-table th,
.loan-table th,
.preview-table th,
.comp-head {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

table td,
.data-table td,
.loan-table td,
.preview-table td,
.comp-row {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.nav-item,
.profile-card,
.quick-launch strong,
.deal-linking-guide strong,
.deal-linking-guide small,
.deal-linking-steps span,
.metric-top,
.task-title,
.task-meta,
.task-due strong,
.panel-footer,
.agenda-time,
.agenda-copy strong,
.attention-copy strong,
.loan-name strong,
.workflow-task-main strong,
.workflow-task-main p,
.handoff-row strong,
.condition-card strong,
.condition-card p,
.integration-status,
.overnight-row strong,
.overnight-row .instruction-copy,
.history-row,
.command-alert strong,
.command-alert p,
.command-row strong,
.command-row button,
.decision-summary dl,
.command-step strong,
.project-loan-row,
.condition-register-row strong,
.condition-register-row small,
.condition-history > div,
.audit-event-context,
.audit-event-time,
.audit-event summary {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.task-accountability-banner,
.task-state,
.task-accountability-summary small,
.task-accountability-summary strong,
.task-accountability-summary span,
.task-reassignment-notice strong,
.task-reassignment-notice span,
.task-recent-comments p,
.agenda-linked-task-heading strong,
.agenda-linked-task-heading span,
.agenda-linked-task-heading b,
.agenda-linked-task strong,
.agenda-linked-task p,
.agenda-task-status,
.agenda-linked-task-empty {
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.transaction-kpis small,
.transaction-kpis span,
.bnote-kpis small,
.bnote-kpis span,
.preview-metrics span,
.overnight-summary span,
.conditions-kpis small,
.conditions-kpis span,
.audit-summary small,
.audit-summary span,
.project-case-kpis small,
.project-case-kpis span,
.command-kpis small,
.command-kpis span,
.transaction-command-card small,
.transaction-command-card > div,
.agenda-management-summary small,
.agenda-management-summary span,
.agenda-management-context > span,
.agenda-loan-meta small,
.agenda-milestone-header span,
.agenda-candidate-context > span,
.agenda-add-footer > div span,
.valuation-metrics small {
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.agenda-loan-identity strong,
.agenda-loan-meta strong,
.agenda-milestone-header h4,
.agenda-milestone-copy strong,
.agenda-candidate-copy strong,
.agenda-candidate-amount strong,
.agenda-add-footer > div strong {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.agenda-progress b,
.agenda-stage strong,
.agenda-gate strong,
.condition-stage-group > header strong,
.condition-stage-heading strong {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.agenda-milestone,
.agenda-candidate,
.agenda-loan-summary {
  min-height: 56px;
}

@media (max-width: 760px) {
  body {
    font-size: 16px !important;
  }

  p:not(.eyebrow),
  small,
  label,
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  table td {
    font-size: 14px !important;
  }
}
