/* CPS_TYPOGRAPHY_SCOPED_REFINEMENT_V1
   Based on runtime audit V5.4.1, 2026-11-14.
   Scope: Templates, Reports, Workspace Settings and CPS Production Order components only.
   Deliberately excludes ID-card canvas/print, Print Center, POS and Billing typography.
*/

/* Design Templates: the audit measured template-card captions at 6px. */
#moduleTemplates .template-card small {
  font-size: 9px !important;
}

/* Reports: improve only the named report metric and report-v3 helper labels. */
#moduleReports .metric-foot {
  font-size: 10px !important;
}
#moduleReports .cps-r3-eyebrow {
  font-size: 9px !important;
}
#moduleReports #cpsR3FilterNote {
  font-size: 10px !important;
}

/* Workspace Settings: named preview/nav captions only; no blanket small/span rule. */
#moduleSettings .cps-settings-preview-label-v2,
#moduleSettings .cps-settings-preview-foot-v2,
#moduleSettings .cps-ew-nav-label-v2 {
  font-size: 10px !important;
}

/* Production Orders: unique cps-p4 component classes observed at 7-8px. */
.cps-p4-select-order,
.cps-p4-priority,
.cps-p4-card-status {
  font-size: 8px !important;
}
.cps-p4-filter-summary {
  font-size: 9px !important;
}
/* CPS_TYPOGRAPHY_SCOPED_REFINEMENT_V2
   Targeted follow-up to source audit 2026-11-14.
   Scope: Design Templates captions and Production Control Center V4 Kanban text only.
   Preserve tiny in-card credential artwork text; exclude Print Center, POS, Billing and ID-card canvas/print.
*/

/* Design Templates: readable caption hierarchy below the sample card artwork. */
#moduleTemplates .template-art small {
  font-size: 6px !important;
}
#moduleTemplates .template-card > span b {
  font-size: 12px !important;
  line-height: 1.3 !important;
}
#moduleTemplates .template-card > span small {
  font-size: 10px !important;
  line-height: 1.4 !important;
  color: #64748b !important;
}
#moduleTemplates .template-card > i {
  font-size: 10px !important;
  line-height: 1.35 !important;
}

/* Production Orders: increase text inside the five-lane Kanban cards only. */
#cpsProductionControlV4 .cps-p4-lane > header > b {
  font-size: 12px !important;
  line-height: 1.3 !important;
}
#cpsProductionControlV4 .cps-p4-lane > header > span {
  font-size: 10px !important;
  line-height: 1.4 !important;
}
#cpsProductionControlV4 .cps-p4-order-card {
  font-size: 10px !important;
  line-height: 1.4 !important;
}
#cpsProductionControlV4 .cps-p4-order-card > b {
  font-size: 10px !important;
  line-height: 1.35 !important;
}
#cpsProductionControlV4 .cps-p4-order-card > strong {
  font-size: 11px !important;
  line-height: 1.35 !important;
}
#cpsProductionControlV4 .cps-p4-order-card > small {
  font-size: 9px !important;
  line-height: 1.4 !important;
}
#cpsProductionControlV4 .cps-p4-order-info,
#cpsProductionControlV4 .cps-p4-order-info span {
  font-size: 10px !important;
  line-height: 1.4 !important;
}
#cpsProductionControlV4 .cps-p4-due-label,
#cpsProductionControlV4 .cps-p4-lane-empty {
  font-size: 10px !important;
  line-height: 1.4 !important;
}
#cpsProductionControlV4 .cps-p4-select-order,
#cpsProductionControlV4 .cps-p4-priority,
#cpsProductionControlV4 .cps-p4-card-status,
#cpsProductionControlV4 .cps-p4-card-status > span {
  font-size: 9px !important;
  line-height: 1.35 !important;
}
#cpsProductionControlV4 .cps-p4-card-status select {
  font-size: 10px !important;
  line-height: 1.35 !important;
}
/* END CPS_TYPOGRAPHY_SCOPED_REFINEMENT_V2 */
/* CPS_TYPOGRAPHY_SCOPED_REFINEMENT_V3
   Visual follow-up after V2 screenshots, 2026-11-14.
   Stronger readable hierarchy for Design Templates captions and Production V4 Kanban cards.
   Does not alter miniature credential artwork, card-print canvas, Print Center, POS or Billing.
*/

/* Design Templates: only text below each artwork preview. */
#moduleTemplates .template-card > span > b {
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}
#moduleTemplates .template-card > span > small {
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #64748b !important;
}
#moduleTemplates .template-card > i {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
}

/* Production Orders: lane headings and counts. */
#cpsProductionControlV4 .cps-p4-lane > header > b {
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}
#cpsProductionControlV4 .cps-p4-lane > header > span {
  font-size: 11px !important;
  line-height: 1.45 !important;
}
#cpsProductionControlV4 .cps-p4-lane-empty {
  font-size: 11px !important;
  line-height: 1.45 !important;
}

/* Production order cards: explicit descendants cover nested labels and values. */
#cpsProductionControlV4 .cps-p4-order-card {
  font-size: 12px !important;
  line-height: 1.5 !important;
}
#cpsProductionControlV4 .cps-p4-order-card > b,
#cpsProductionControlV4 .cps-p4-order-card > strong,
#cpsProductionControlV4 .cps-p4-order-card > small,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info span,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info b,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-due-label {
  font-size: 12px !important;
  line-height: 1.5 !important;
}
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-select-order,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-priority,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status > span {
  font-size: 11px !important;
  line-height: 1.4 !important;
}
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status select {
  font-size: 12px !important;
  line-height: 1.4 !important;
}
/* END CPS_TYPOGRAPHY_SCOPED_REFINEMENT_V3 */
/* CPS_WHOLE_SOFTWARE_TYPOGRAPHY_UNIFIED_V1
   Consolidated readable typography layer for CPS White Label ID Pro.
   V1.1 correction: explicit exclusions for actual ID-card, designer-canvas and print markup.
*/
/* CPS_TYPOGRAPHY_UNIFIED_SAFETY_DASHBOARD_CORRECTION_V1_1 */

/* Shared text and helper copy; do not affect card artwork, canvas or print descendants. */
:where(.module-screen) :where(p, li, .design-note, .metric-foot, .settings-row small, .saved-templates-list small):not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

/* Page and section hierarchy. */
:where(.module-screen) :where(.module-heading h2, .section-head h2, .panel-title h3, .card h3, .card h2):not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 19px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}
:where(.module-screen) :where(.eyebrow, .module-heading .eyebrow):not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 11px !important;
  line-height: 1.4 !important;
  letter-spacing: .08em !important;
  font-weight: 800 !important;
}

/* Forms and controls outside protected visual/print surfaces. */
:where(.module-screen) label:not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 14px !important;
  line-height: 1.45 !important;
}
:where(.module-screen) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), select, textarea):not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 14px !important;
  line-height: 1.4 !important;
}
:where(.module-screen) :where(button, .button, .primary, .secondary, .file-pick):not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 13px !important;
  line-height: 1.4 !important;
}
:where(.module-screen) :where(.status-tag, .status-pill, .badge, .tag):not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* Tables, summaries and metrics, excluding protected output surfaces. */
:where(.module-screen) :where(th, td, .table-scroll, .report-summary):not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 13px !important;
  line-height: 1.45 !important;
}
:where(.module-screen) :where(.metrics article > span, .metrics article > small):not(.id-card-preview):not(.id-card-preview *):not(#idCardPreview):not(#idCardPreview *):not(.design-canvas):not(.design-canvas *):not(.print-page):not(.print-page *):not(.print-card):not(.print-card *):not(.print-obj):not(.print-obj *):not(#printRoot):not(#printRoot *):not(.cps-preview-student-card):not(.cps-preview-student-card *):not(.cps-sr-preview-card):not(.cps-sr-preview-card *):not(.template-art):not(.template-art *) {
  font-size: 12px !important;
  line-height: 1.4 !important;
}

/* Template captions below the artwork; miniature art lettering remains unchanged. */
#moduleTemplates .template-card > span > b {
  font-size: 14px !important;
  line-height: 1.35 !important;
}
#moduleTemplates .template-card > span > small {
  font-size: 12px !important;
  line-height: 1.45 !important;
}
#moduleTemplates .template-card > i {
  font-size: 12px !important;
  line-height: 1.4 !important;
}
#moduleTemplates .template-card > .template-art b {
  font-size: 10px !important;
}
#moduleTemplates .template-card > .template-art small {
  font-size: 6px !important;
}

/* Production V3/V4. */
:where(#cpsProductionControlV3, #cpsProductionControlV4) {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
#cpsProductionControlV4 .cps-p4-lane > header > b {
  font-size: 14px !important;
  line-height: 1.35 !important;
}
#cpsProductionControlV4 .cps-p4-lane > header > span,
#cpsProductionControlV4 .cps-p4-lane-empty {
  font-size: 12px !important;
  line-height: 1.45 !important;
}
#cpsProductionControlV4 .cps-p4-order-card,
#cpsProductionControlV4 .cps-p4-order-card > b,
#cpsProductionControlV4 .cps-p4-order-card > strong,
#cpsProductionControlV4 .cps-p4-order-card > small,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info span,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info b,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-due-label {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-select-order,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-priority,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status > span {
  font-size: 12px !important;
  line-height: 1.4 !important;
}
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status select {
  font-size: 13px !important;
}

/* Dashboard areas identified by the supplied runtime audit. */
#app .top .brand small {
  font-size: 10px !important;
  line-height: 1.35 !important;
}
#app #welcomeSub {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
#app .top-searchbar.searchbar input {
  font-size: 14px !important;
}
#app .sidebar-help small {
  font-size: 11px !important;
  line-height: 1.4 !important;
}
#app .quick-actions small {
  font-size: 12px !important;
  line-height: 1.4 !important;
}
@media (min-width: 701px) {
  #app .nav-item {
    font-size: 14px !important;
  }
}

/* Protected source-confirmed classes:
   .id-card-preview / #idCardPreview, .design-canvas,
   .print-page / .print-card / .print-obj, #printRoot,
   .cps-preview-student-card and .cps-sr-preview-card.
*/
/* END CPS_WHOLE_SOFTWARE_TYPOGRAPHY_UNIFIED_V1 */
/* CPS_CONSOLIDATED_WORKSPACE_TYPOGRAPHY_V1
   One-pass readable typography layer for the main CPS White Label workspace.
   Scope: standard workspace modules, controls, data tables, helper copy and production workflow.
   Preserves V1/V2/V3 rules; excludes ID-card artwork/canvas, Advanced Designer canvas, Print Center,
   standalone print documents, POS and Billing surfaces pending their own source/runtime audit.
*/

/* Consistent UI font stack on standard workspace surfaces only. */
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .module-heading,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .card:not(.template-card),
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .panel-title,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .section-head,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) form:not(.designer-form),
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) table {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

/* Page and section hierarchy. */
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) > .module-heading h2 {
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) > .module-heading p {
  font-size: 14px !important;
  line-height: 1.55 !important;
}
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .panel-title h3,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .section-head h2,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .card > h3 {
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

/* Forms and user controls: readable labels and field text. */
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) form:not(.designer-form) > label,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .settings-grid > label,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .bulk-commit-row > label {
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 700;
}
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) select,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) textarea {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px !important;
  line-height: 1.4 !important;
}
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) button:not(.template-card) {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

/* Tables and data lists. */
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) table th {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
}
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) table td {
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .list,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .empty,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .no-results {
  font-size: 13px;
  line-height: 1.5;
}

/* Helper copy and compact status text; do not target generic small or artwork labels. */
#moduleTemplates .design-note,
#moduleBulk .design-note,
#moduleReports .design-note,
#moduleSettings .design-note,
#modulePhotography .design-note {
  font-size: 12px !important;
  line-height: 1.55 !important;
}
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .status-tag,
.module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) .metric-foot {
  font-size: 11px !important;
  line-height: 1.4 !important;
}

/* Production V4: readable cards, lane labels and status controls. */
#cpsProductionControlV4 .cps-p4-lane > header > b { font-size: 14px !important; line-height: 1.35 !important; }
#cpsProductionControlV4 .cps-p4-lane > header > span,
#cpsProductionControlV4 .cps-p4-lane-empty { font-size: 12px !important; line-height: 1.5 !important; }
#cpsProductionControlV4 .cps-p4-order-card { font-size: 13px !important; line-height: 1.5 !important; }
#cpsProductionControlV4 .cps-p4-order-card > b,
#cpsProductionControlV4 .cps-p4-order-card > strong,
#cpsProductionControlV4 .cps-p4-order-card > small,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info span,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-order-info b,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-due-label { font-size: 12px !important; line-height: 1.5 !important; }
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-select-order,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-priority,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status,
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status > span { font-size: 11px !important; line-height: 1.4 !important; }
#cpsProductionControlV4 .cps-p4-order-card .cps-p4-card-status select { font-size: 12px !important; }

/* Design Templates captions only; miniature credential artwork remains unchanged. */
#moduleTemplates .template-card > span > b { font-size: 14px !important; line-height: 1.35 !important; }
#moduleTemplates .template-card > span > small { font-size: 12px !important; line-height: 1.45 !important; }
#moduleTemplates .template-card > i { font-size: 12px !important; line-height: 1.4 !important; }

/* Responsive adjustments for narrow workspaces. */
@media (max-width: 760px) {
  .module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) > .module-heading h2 { font-size: 21px !important; }
  .module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) > .module-heading p { font-size: 13px !important; }
  .module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) table th { font-size: 11px !important; }
  .module-screen:not(#modulePrint):not(#moduleBilling):not(#modulePOS):not(#modulePos) table td { font-size: 12px !important; }
  #moduleTemplates .template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* END CPS_CONSOLIDATED_WORKSPACE_TYPOGRAPHY_V1 */
