
/* THREESIXOH_DESKTOP_REPAIR_AND_READABILITY_V3
   Restores the structural shell and improves desktop/high-resolution readability.
*/

body.tso-shell-enabled {
  font-size: 15px;
}

/* Restore the three-column desktop topbar. */
body.tso-shell-enabled .tso-mobile-nav-toggle {
  display: none !important;
}

body.tso-shell-enabled .tso-app-topbar {
  grid-template-columns:
    minmax(230px, .68fr)
    minmax(360px, 1fr)
    auto !important;
  align-items: center !important;
  gap: 22px !important;
}

body.tso-shell-enabled .tso-topbar-copy {
  display: block !important;
  min-width: 0;
}

body.tso-shell-enabled .tso-search-wrap {
  min-width: 0;
}

body.tso-shell-enabled .tso-app-topbar .global-search {
  display: block;
  width: 100%;
  min-width: 0;
}

body.tso-shell-enabled .tso-app-topbar .global-search input {
  display: block;
  width: 100%;
  max-width: 680px;
  min-height: 44px;
  margin: 0;
  font-size: 13px !important;
}

body.tso-shell-enabled .tso-topbar-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-width: max-content;
}

body.tso-shell-enabled .tso-topbar-copy strong {
  font-size: 17px !important;
}

body.tso-shell-enabled .tso-topbar-copy span {
  font-size: 12px !important;
}

body.tso-shell-enabled .tso-user-chip strong {
  font-size: 12px !important;
}

body.tso-shell-enabled .tso-user-chip small {
  font-size: 10px !important;
}

/* Restore normal controls without changing their display type. */
body.tso-shell-enabled button,
body.tso-shell-enabled .button,
body.tso-shell-enabled input[type="submit"],
body.tso-shell-enabled input[type="button"] {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 12px;
  line-height: 1.15;
}

body.tso-shell-enabled input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.tso-shell-enabled select,
body.tso-shell-enabled textarea {
  font-size: 13px;
}

body.tso-shell-enabled table th {
  font-size: 11px !important;
}

body.tso-shell-enabled table td {
  font-size: 12px;
}

/* Improve the base navigation without making it oversized. */
body.tso-shell-enabled .tso-sidebar-tagline {
  font-size: 12px !important;
}

body.tso-shell-enabled .tso-sidebar-nav .nav-group-toggle,
body.tso-shell-enabled .tso-sidebar-nav .nav-utility {
  font-size: 14px !important;
}

body.tso-shell-enabled .tso-sidebar-nav .nav-section-title {
  font-size: 10px !important;
}

body.tso-shell-enabled .tso-sidebar-nav .nav-subitem strong {
  font-size: 13px !important;
}

body.tso-shell-enabled .tso-sidebar-nav .nav-subitem small {
  font-size: 11px !important;
}

/* Use more of a large monitor while retaining readable line lengths. */
@media (min-width: 1900px) {
  body.tso-shell-enabled .tso-content.container {
    max-width: 1960px;
    padding: 34px 38px 56px;
  }

  body.tso-shell-enabled .tso-app-topbar {
    padding-right: 38px;
    padding-left: 38px;
  }

  body.tso-shell-enabled .tso-dashboard-grid,
  body.tso-shell-enabled .tso-record-layout,
  body.tso-shell-enabled .tso-sales-record-layout,
  body.tso-shell-enabled .tso-production-record-layout {
    gap: 20px;
  }

  body.tso-shell-enabled .tso-kpi-grid,
  body.tso-shell-enabled .tso-record-kpis,
  body.tso-shell-enabled .tso-sales-kpis,
  body.tso-shell-enabled .tso-opportunity-kpis,
  body.tso-shell-enabled .tso-production-kpis {
    gap: 16px;
  }
}

/* Preserve the intended mobile shell. */
@media (max-width: 920px) {
  body.tso-shell-enabled .tso-app-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  body.tso-shell-enabled .tso-mobile-nav-toggle {
    display: inline-grid !important;
    place-items: center;
  }

  body.tso-shell-enabled .tso-topbar-copy {
    display: none !important;
  }

  body.tso-shell-enabled .tso-topbar-actions {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  body.tso-shell-enabled .tso-app-topbar {
    gap: 8px !important;
    padding: 10px 12px !important;
  }
}

/* Automatically generated desktop readability floors. */
@media (min-width: 1100px) {
.tso-sidebar-tagline{font-size:13px !important;}
.tso-sidebar-nav .nav-group-toggle,.tso-sidebar-nav .nav-utility{font-size:14px !important;}
.tso-sidebar-nav .nav-group-toggle::before,.tso-sidebar-nav .nav-utility::before{font-size:16px !important;}
.tso-sidebar-nav .nav-section-title{font-size:12px !important;}
.tso-sidebar-nav .nav-subitem strong{font-size:13.5px !important;}
.tso-sidebar-nav .nav-subitem small{font-size:12.5px !important;}
.tso-topbar-copy span{font-size:13px !important;}
.tso-topbar-count{font-size:12px !important;}
.tso-user-chip strong{font-size:13px !important;}
.tso-user-chip small{font-size:12px !important;}
.stat span{font-size:13px !important;}
thead th{font-size:12.5px !important;}
.tso-kpi-label{font-size:12.5px !important;}
.tso-kpi-note{font-size:12.5px !important;}
.tso-card-head h2{font-size:16px !important;}
.tso-card-head a,.tso-card-head span{font-size:12.5px !important;}
.tso-queue-main strong{font-size:13px !important;}
.tso-queue-main small{font-size:12px !important;}
.tso-queue-meta{font-size:12px !important;}
.tso-mini-metric span{font-size:12px !important;}
.tso-stage-row a{font-size:12.5px !important;}
.tso-stage-count{font-size:12.5px !important;}
.tso-alert-row strong{font-size:12.5px !important;}
.tso-alert-row small{font-size:12px !important;}
.tso-activity-item{font-size:12.5px !important;}
.tso-activity-item small{font-size:12px !important;}
.tso-auth-brand p{font-size:16px !important;}
.tso-auth-support{font-size:12.5px !important;}
.tso-eyebrow{font-size:12.5px !important;}
.tso-customer-avatar{font-size:15px !important;}
.tso-record-contact-line{font-size:13.5px !important;}
.tso-lifecycle-badge{font-size:13px !important;}
.tso-record-kpi span{font-size:12px !important;}
.tso-record-kpi small{font-size:12px !important;}
.tso-panel-heading h2{font-size:16px !important;}
.tso-panel-heading p{font-size:12.5px !important;}
.tso-panel-heading > span, .tso-panel-heading > a{font-size:12.5px !important;}
.tso-timeline-filters a{font-size:12px !important;}
.tso-timeline-time{font-size:12px !important;}
.tso-timeline-category{font-size:11px !important;}
.tso-timeline-event-head strong{font-size:13px !important;}
.tso-timeline-content p{font-size:12.5px !important;}
.tso-timeline-content small{font-size:12px !important;}
.tso-related-copy strong, .tso-document-row strong, .tso-next-appointment strong, .tso-customer-summary-card strong{font-size:12.5px !important;}
.tso-related-copy small, .tso-document-row small, .tso-next-appointment small, .tso-customer-summary-card small{font-size:11px !important;}
.tso-stage-chip, .tso-soft-chip, .tso-source-chip{font-size:11px !important;}
.tso-source-id{font-size:11px !important;}
.tso-note p{font-size:12.5px !important;}
.tso-note small{font-size:11px !important;}
.tso-task-item strong{font-size:12.5px !important;}
.tso-task-item small{font-size:11px !important;}
.tso-property-card strong{font-size:12.5px !important;}
.tso-property-card small{font-size:11px !important;}
.tso-property-card em{font-size:11px !important;}
.tso-fact-list dt{font-size:11px !important;}
.tso-fact-list dd{font-size:12px !important;}
.tso-inline-create summary{font-size:12px !important;}
.tso-record-empty strong{font-size:13px !important;}
.tso-record-empty p{font-size:12px !important;}
.tso-customer-list-count div span{font-size:12px !important;}
.tso-table-toolbar h2{font-size:16px !important;}
.tso-table-toolbar p{font-size:12px !important;}
.tso-customer-identity strong{font-size:12.5px !important;}
.tso-customer-identity small, .tso-contact-cell small{font-size:11px !important;}
.tso-contact-cell span{font-size:12px !important;}
.tso-table-number{font-size:14px !important;}
.tso-empty-directory p{font-size:12.5px !important;}
.tso-form-grid label{font-size:12.5px !important;}
.tso-form-grid label small{font-size:11px !important;}
.tso-sticky-save strong{font-size:13px !important;}
.tso-sticky-save span{font-size:11px !important;}
.tso-sales-kpi span, .tso-opportunity-kpis article span, .tso-followup-kpis article span, .tso-handoff-kpis article span{font-size:12px !important;}
.tso-sales-kpi small, .tso-opportunity-kpis article small, .tso-followup-kpis article small, .tso-handoff-kpis article small{font-size:11px !important;}
.tso-sales-upcoming-head strong, .tso-sales-panel-head h2{font-size:16px !important;}
.tso-sales-upcoming-head small, .tso-sales-panel-head p{font-size:12px !important;}
.tso-sales-upcoming-head a, .tso-sales-panel-head > a, .tso-sales-panel-head > span{font-size:12px !important;}
.tso-sales-appointment-chip time{font-size:11px !important;}
.tso-sales-appointment-chip strong{font-size:12.5px !important;}
.tso-sales-appointment-chip small{font-size:11px !important;}
.tso-sales-column-head h2{font-size:13px !important;}
.tso-stage-count{font-size:12px !important;}
.tso-opportunity-card-head strong{font-size:12.5px !important;}
.tso-urgency-chip{font-size:10.5px !important;}
.tso-opportunity-customer{font-size:12px !important;}
.tso-opportunity-scope span{font-size:12px !important;}
.tso-opportunity-scope small{font-size:11px !important;}
.tso-opportunity-value span{font-size:11px !important;}
.tso-opportunity-followup span{font-size:10.5px !important;}
.tso-opportunity-followup strong{font-size:11px !important;}
.tso-opportunity-card-footer{font-size:10.5px !important;}
.tso-sales-empty-column, .tso-sales-empty{font-size:12px !important;}
.tso-sales-record-subtitle{font-size:13px !important;}
.tso-sales-stage-badge{font-size:12.5px !important;}
.tso-workflow-option strong{font-size:12px !important;}
.tso-workflow-option span{font-size:10.5px !important;}
.tso-workflow-option p, .tso-workflow-option ul{font-size:11px !important;}
.tso-stage-update-form label{font-size:11px !important;}
.tso-scope-note strong{font-size:12px !important;}
.tso-scope-note p{font-size:12px !important;}
.tso-converted-job-link span{font-size:11px !important;}
.tso-converted-job-link strong{font-size:12px !important;}
.tso-sales-create-drawer summary{font-size:12px !important;}
.tso-sales-form-grid label, .tso-opportunity-form label{font-size:12px !important;}
.tso-appointment-date strong{font-size:14px !important;}
.tso-appointment-date span{font-size:11px !important;}
.tso-appointment-copy > div strong{font-size:12.5px !important;}
.tso-appointment-copy p{font-size:11px !important;}
.tso-appointment-copy small{font-size:11px !important;}
.tso-appointment-update summary{font-size:11px !important;}
.tso-sales-activity-list article > span{font-size:12px !important;}
.tso-sales-activity-list strong{font-size:12px !important;}
.tso-sales-activity-list small{font-size:10.5px !important;}
.tso-sales-activity-list p{font-size:12px !important;}
.tso-sales-activity-list em{font-size:11px !important;}
.tso-sales-doc-icon{font-size:13px !important;}
.tso-sales-doc-card strong{font-size:12px !important;}
.tso-sales-doc-card small{font-size:10.5px !important;}
.tso-sales-doc-card em{font-size:12px !important;}
.tso-sales-task strong{font-size:12px !important;}
.tso-sales-task small{font-size:10.5px !important;}
.tso-sales-customer-card > span{font-size:13.5px !important;}
.tso-sales-customer-card strong{font-size:12px !important;}
.tso-sales-customer-card small{font-size:10.5px !important;}
.tso-sales-facts dt{font-size:10.5px !important;}
.tso-sales-facts dd{font-size:11px !important;}
.tso-qualification-warning strong{font-size:11px !important;}
.tso-qualification-warning ul{font-size:10.5px !important;}
.tso-qualification-history summary{font-size:11px !important;}
.tso-qualification-history strong{font-size:11px !important;}
.tso-qualification-history span, .tso-qualification-history small{font-size:10.5px !important;}
.tso-followup-mini-list > div > span{font-size:11px !important;}
.tso-followup-mini-list strong{font-size:11px !important;}
.tso-followup-mini-list small{font-size:10.5px !important;}
.tso-followup-mini-list em{font-size:10.5px !important;}
.tso-handoff-summary-card span{font-size:11px !important;}
.tso-handoff-summary-card strong{font-size:11px !important;}
.tso-calendar-section-tabs a{font-size:11px !important;}
.tso-calendar-filters label{font-size:11px !important;}
.tso-calendar-legend span{font-size:10.5px !important;}
.tso-calendar-weekday{font-size:11px !important;}
.tso-calendar-day-head a{font-size:12px !important;}
.tso-calendar-day-head span{font-size:10.5px !important;}
.tso-calendar-appointment time{font-size:10.5px !important;}
.tso-calendar-appointment > span{font-size:11px !important;}
.tso-calendar-appointment small{font-size:10.5px !important;}
.tso-calendar-more{font-size:10.5px !important;}
.tso-week-day-column header span{font-size:11px !important;}
.tso-week-day-column header strong{font-size:12px !important;}
.tso-week-day-column header small{font-size:10.5px !important;}
.tso-calendar-empty{font-size:11px !important;}
.tso-day-appointment-time strong{font-size:13.5px !important;}
.tso-day-appointment-time span{font-size:11px !important;}
.tso-day-appointment-details strong, .tso-agenda-row strong{font-size:12px !important;}
.tso-day-appointment-details span, .tso-agenda-row span{font-size:11px !important;}
.tso-day-appointment-details small, .tso-agenda-row small{font-size:10.5px !important;}
.tso-day-appointment-meta{font-size:10.5px !important;}
.tso-agenda-row time{font-size:11px !important;}
.tso-followup-card strong{font-size:12px !important;}
.tso-followup-card p{font-size:11px !important;}
.tso-followup-card small{font-size:10.5px !important;}
.tso-sequence-step{font-size:11px !important;}
.tso-opportunity-form label{font-size:12px !important;}
.tso-sales-sticky-save strong{font-size:12.5px !important;}
.tso-sales-sticky-save span{font-size:11px !important;}
.tso-property-required h2{font-size:15px !important;}
.tso-property-required p{font-size:12px !important;}
.tso-handoff-card-head h3{font-size:13px !important;}
.tso-handoff-card-head p{font-size:11px !important;}
.tso-handoff-summary span{font-size:10.5px !important;}
.tso-handoff-summary strong{font-size:11px !important;}
.tso-handoff-warning{font-size:11px !important;}
.tso-accepted-handoffs summary{font-size:12.5px !important;}
.proposal-summary-grid span, .handoff-summary-grid span{font-size:11px !important;}
.proposal-summary-grid strong, .handoff-summary-grid strong{font-size:14px !important;}
.estimate-items-table, .guided-estimate-table{font-size:11px !important;}
.proposal-section h3{font-size:12.5px !important;}
.proposal-section p{font-size:12px !important;}
.tso-production-kpi span, .tso-job-kpis article span, .tso-schedule-kpis article span, .tso-field-kpis article span, .tso-field-job-kpis article span{font-size:12px !important;}
.tso-production-kpi small, .tso-job-kpis article small, .tso-schedule-kpis article small, .tso-field-kpis article small, .tso-field-job-kpis article small{font-size:11px !important;}
.tso-production-panel-head h2{font-size:16px !important;}
.tso-production-panel-head p{font-size:12px !important;}
.tso-production-panel-head > span, .tso-production-panel-head > strong, .tso-production-panel-head > a{font-size:12px !important;}
.tso-production-handoff-strip strong{font-size:12.5px !important;}
.tso-production-handoff-strip span{font-size:11px !important;}
.tso-production-handoff-strip small{font-size:11px !important;}
.tso-production-column-head h2{font-size:13px !important;}
.tso-production-stage-count{font-size:12px !important;}
.tso-production-job-card-head strong{font-size:12.5px !important;}
.tso-production-late-chip{font-size:10.5px !important;}
.tso-production-customer{font-size:12px !important;}
.tso-production-job-scope span{font-size:12px !important;}
.tso-production-job-scope small{font-size:11px !important;}
.tso-production-age-block span, .tso-production-age-block small{font-size:10.5px !important;}
.tso-production-age-block strong{font-size:11px !important;}
.tso-production-job-card-footer{font-size:10.5px !important;}
.tso-production-empty-column p{font-size:11px !important;}
.tso-saved-job-views details summary{font-size:12px !important;}
.tso-saved-view a{font-size:11px !important;}
.tso-job-icon{font-size:16px !important;}
.tso-job-identity strong, .tso-job-directory td strong, .tso-field-table td strong{font-size:12px !important;}
.tso-job-identity small, .tso-job-directory td small, .tso-field-table td small{font-size:10.5px !important;}
.tso-production-stage-chip{font-size:10.5px !important;}
.tso-production-stage-badge{font-size:12px !important;}
.tso-production-record-subtitle{font-size:13px !important;}
.tso-production-workflow-options strong{font-size:12px !important;}
.tso-production-workflow-options article span{font-size:10.5px !important;}
.tso-production-workflow-options p, .tso-production-workflow-options ul{font-size:11px !important;}
.tso-production-stage-form label{font-size:11px !important;}
.tso-production-milestones span{font-size:10.5px !important;}
.tso-production-milestones strong{font-size:12.5px !important;}
.tso-module-icon{font-size:15px !important;}
.tso-production-module h2{font-size:14px !important;}
.tso-production-module p{font-size:11px !important;}
.tso-production-module-metrics span{font-size:10px !important;}
.tso-production-module-metrics strong{font-size:11px !important;}
.tso-production-warning{font-size:11px !important;}
.tso-closeout-links a > span{font-size:13px !important;}
.tso-closeout-links strong{font-size:12px !important;}
.tso-closeout-links small{font-size:10.5px !important;}
.tso-production-source-link span{font-size:10.5px !important;}
.tso-production-source-link a{font-size:11px !important;}
.tso-production-handoff-record strong, .tso-production-scope strong{font-size:12px !important;}
.tso-production-handoff-record p, .tso-production-scope p{font-size:11px !important;}
.tso-production-create-drawer summary{font-size:11px !important;}
.tso-production-task strong{font-size:12px !important;}
.tso-production-task small{font-size:10.5px !important;}
.tso-production-auto-chip{font-size:10px !important;}
.tso-production-note-list p{font-size:12px !important;}
.tso-production-note-list small{font-size:10.5px !important;}
.tso-production-document-list strong{font-size:11px !important;}
.tso-production-document-list small{font-size:10.5px !important;}
.tso-production-history strong{font-size:12px !important;}
.tso-production-history small{font-size:10.5px !important;}
.tso-production-history p{font-size:11px !important;}
.tso-production-facts dt{font-size:10.5px !important;}
.tso-production-facts dd{font-size:11px !important;}
.tso-production-empty{font-size:11px !important;}
.tso-production-form-grid label{font-size:12px !important;}
.tso-production-form-grid label small{font-size:10.5px !important;}
.tso-production-sticky-save strong{font-size:12.5px !important;}
.tso-production-sticky-save span{font-size:11px !important;}
.tso-schedule-card-head h2{font-size:13.5px !important;}
.tso-schedule-card-head p{font-size:12px !important;}
.tso-schedule-card-head small{font-size:11px !important;}
.tso-schedule-card-metrics span{font-size:10.5px !important;}
.tso-schedule-card-metrics strong{font-size:11px !important;}
.tso-prod-calendar-filters label{font-size:11px !important;}
.tso-prod-calendar-legend span{font-size:10.5px !important;}
.tso-prod-calendar-weekday{font-size:11px !important;}
.tso-prod-calendar-day-head a{font-size:12px !important;}
.tso-prod-calendar-day-head span{font-size:10.5px !important;}
.tso-prod-calendar-job > span{font-size:11px !important;}
.tso-prod-calendar-job small{font-size:10.5px !important;}
.tso-prod-calendar-more{font-size:10.5px !important;}
.tso-prod-week-day header span{font-size:11px !important;}
.tso-prod-week-day header strong{font-size:12px !important;}
.tso-prod-week-day header small{font-size:10.5px !important;}
.tso-prod-calendar-empty{font-size:11px !important;}
.tso-prod-day-row > div:first-child strong{font-size:12.5px !important;}
.tso-prod-day-row > div:first-child span{font-size:10.5px !important;}
.tso-prod-day-row > div:nth-child(2) strong, .tso-prod-agenda-row strong{font-size:12px !important;}
.tso-prod-day-row > div:nth-child(2) span, .tso-prod-agenda-row span{font-size:11px !important;}
.tso-prod-day-row > div:nth-child(2) small, .tso-prod-agenda-row small{font-size:10.5px !important;}
.tso-prod-agenda-row time{font-size:11px !important;}
.tso-field-checkin-form label{font-size:11px !important;}
.tso-field-form-actions small{font-size:10.5px !important;}
.tso-field-checkin-list strong{font-size:12px !important;}
.tso-field-checkin-list small{font-size:10.5px !important;}
.tso-field-checkin-list p{font-size:11px !important;}
}
