/* FARA overrides for Universal Theme 26.1
   Shared by all apps through app 140's theme style "Vita FARA" (workspace file css/fara-ut26.css).
   Selectors are prefixed with "html" so they win over legacy FARA CSS files (main.css, subsystem-menu.css)
   that load after the theme style. */

/* Header: 48px height, logo/title aligned, logo column never collapses on narrow screens */
html .t-Header-branding{padding-block:0;min-height:48px;grid-template-columns:auto auto minmax(0,1fr)}
html .t-Header .t-Header-logo-link{margin-top:0}
html .t-Header-branding .t-Button{margin-top:0}
html .t-Header-logo-link h6{margin:0}
html .t-Header-logo-link h4,html .t-Header-logo-link h6{white-space:nowrap}

/* Font size: every 12px (.75rem) text raised to 14px (.875rem) */
html:root{--a-button-font-size:.875rem;--a-checkbox-label-font-size:.875rem;--a-chip-font-size:.875rem;--a-chip-input-font-size:.875rem;--a-combobox-chip-font-size:.875rem;--a-cv-subtitle-font-size:.875rem;--a-field-input-font-size:.875rem;--a-gv-font-size:.875rem;--a-gv-nodata-message-font-size:.875rem;--a-menu-font-size:.875rem;--a-report-controls-cell-label-font-size:.875rem;--a-report-controls-input-font-size:.875rem;--a-rv-font-size:.875rem;--a-treeview-node-font-size:.875rem;--jui-dialog-font-size:.875rem;--ojet-small-font-size:.875rem;--ut-cardlist-desc-font-size:.875rem;--ut-cardlist-subtitle-font-size:.875rem;--ut-cardlist-title-font-size:.875rem;--ut-fc4-event-font-size:.875rem;--ut-field-fl-label-font-size:.875rem;--ut-megamenu-label-font-size:.875rem;--ut-pillbutton-font-size:.875rem;--ut-text-body-xs-font-size:.875rem;--ut-timeline-type-font-size:.875rem;
--a-alert-message-font-size:.875rem;--a-chat-disclaimer-font-size:.875rem;--a-chat-item-inline-status-font-size:.875rem;--a-chat-message-button-font-size:.875rem;--a-chat-message-pre-font-size:.875rem;--a-chat-message-visual-font-size:.875rem;--a-datepicker-monthpicker-select-font-size:.875rem;--a-datepicker-timepicker-select-font-size:.875rem;--a-field-display-font-size:.875rem;--a-fs-control-item-font-size:.875rem;--a-iconlist-font-size:.875rem;--a-irr-alert-font-size:.875rem;--a-menu-accel-font-size:.875rem;--a-percent-chart-bar-font-size:.875rem;--a-popuplov-chip-font-size:.875rem;--fc3-day-header-font-size:.875rem;--ut-badgelist-label-font-size-medium:.875rem;--ut-ccalendar-day-font-size:.875rem;--ut-ccalendar-heading-font-size:.875rem;--ut-ccalendar-list-date-font-size:.875rem;--ut-comment-info-font-size:.875rem;--ut-cr-actions-font-size:.875rem;--ut-cr-misc-font-size:.875rem;--ut-field-label-font-size:.875rem;--ut-footer-apex-font-size:.875rem;--ut-medialist-desc-font-size:.875rem;--ut-megamenu-desc-font-size:.875rem;--ut-metric-card-meta-font-size:.875rem;--ut-metric-card-title-font-size:.875rem;--ut-minical-month-font-size:.875rem;--ut-nodata-font-size:.875rem;--ut-ojet-small-font-size:.875rem;--ut-popuplov-footer-font-size:.875rem;--ut-popuplov-item-font-size:.875rem;--ut-report-cell-font-size:.875rem;--ut-report-header-cell-font-size:.875rem;--ut-report-links-font-size:.875rem;--ut-report-pagination-font-size:.875rem;--ut-searchresults-item-misc-font-size:.875rem;--ut-timeline-username-font-size:.875rem;--ut-validaiton-user-font-size:.875rem;--ut-wp-label-font-size:.875rem;--ut-xs-notification-item-font-size:.875rem}
html .t-Button--small,html .t-InlineActions--small,html .t-Report-paginationLink,html .a-FS-clearAll,html .a-FS-clearButton,html .a-FS-clear{--a-button-font-size:.875rem}
html .t-Cards--basic,html .t-Cards--compact,html .t-Cards--featured{--ut-cardlist-subtitle-font-size:.875rem}
html .t-Cards--compact{--ut-cardlist-desc-font-size:.875rem}
html .t-Timeline-typename{--ut-timeline-type-font-size:.875rem}
html .t-MegaMenu-list--sub{--ut-megamenu-label-font-size:.875rem}
html .t-Form--large,html .t-Form-fieldContainer--large{--ut-pillbutton-font-size:.875rem}
html .t-Form--large .t-Form-fieldContainer--floatingLabel{--ut-field-fl-label-font-size:.875rem}
html h6,html .t-Footer,html .t-Form-itemText,html .u-Form-label,html .a-Form-groupHeading,html .ui-menu-item,html .u-Report--standardLook,html .u-Report--dataLoad,html .t-NavTabs--stacked .t-NavTabs-label,html .apex-slider-value,html .a-ListView-searchbar input,html .a-FS-currentLabel,html .a-FS .apex-group-label,html .a-IRR-form-label,html .a-IRR-singleRow-title,html .a-IRR-singleRow-name,html .a-IRR-singleRow-value,html .a-IRR-dialogList li,html .a-IRR-viewOption label,html .a-IRR-dialogTable,html .a-IRR-sortWidget-search>.a-IRR-sortWidget-searchField,html .a-IG-dialog-list-link,html .a-IG-reportSummary-value,html .a-IRR-reportSummary-value,html .t-Alert--wizard .t-Alert-inset ul{font-size:.875rem}

/* FARA text sizes: body 18px, list title 18px, list description 16px, header company name 18px */
html:root{--ut-base-font-size:1rem}
html .t-MediaList-title{font-size:1rem}
html .t-MediaList-desc{font-size:1rem}
html .t-Header-logo-link h4{font-size:1rem}

/* Media List icon size fix for Icon Type = Large: UT default (4rem/64px
   container, 2rem/32px icon) overrides the smaller default we set above.
   Bring both down proportionally. */
html .t-MediaList--large {
  --ut-medialist-icon-container-size: 4rem;
  --ut-medialist-icon-size: 2rem;
}



/* Legacy FARA CSS (main.css, subsystem-menu.css) was written for the old theme's 10px rem; UT 26.1 uses 16px.
   Restore the original spacing of navigation (subsystem) pages. */
html .t-MediaList-itemWrap{padding:0}
html .t-Region-headerItems--title{padding:20px 8px 12px}
html .block-right .t-Region-bodyWrap .t-Region-body,html .block-right .t-Region-bodyWrap .t-Region-body .t-LinksList .t-LinksList-item .t-LinksList-link{font-size:.875rem}



/* 183:1935 scrap form - production-row LOV (modal dialog, 9 columns): wider dialog, readable columns.
   The LOV dialog is rendered in the parent page (1934/965), so this rule must live in this shared file.
   The grid uses fixed table layout, so column width is set on the <col> elements of both header and body tables. */
html .ui-dialog-popuplov:has(#PopupLov_1935_P1935_Q5PRODUCTPROCESS_PRODUCTS_ID_dlg){width:min(96vw,1100px)!important;left:50%!important;transform:translateX(-50%)}
html #PopupLov_1935_P1935_Q5PRODUCTPROCESS_PRODUCTS_ID_dlg .a-GV-table{width:auto!important;min-width:100%}
html #PopupLov_1935_P1935_Q5PRODUCTPROCESS_PRODUCTS_ID_dlg .a-GV-table col{width:115px!important}
html #PopupLov_1935_P1935_Q5PRODUCTPROCESS_PRODUCTS_ID_dlg .a-GV-header,html #PopupLov_1935_P1935_Q5PRODUCTPROCESS_PRODUCTS_ID_dlg .a-GV-cell{white-space:nowrap}

/* Icon scale fix: UT 26.1 maps legacy fa-Nx classes to large fixed px
   (fa-2x/fa-lg=32px, fa-3x=48px, fa-4x=64px, fa-5x=80px) instead of the
   old relative scaling these buttons/icons were set up for years ago.
   Milder fixed scale until the classes are removed at the source. */
html .fa.fa-lg,
html .force-fa-lg .fa,
html .fa-2x,
html .fa-sm.fa-2x,
html .force-fa-lg .fa.fa-sm.fa-2x {
  --a-icon-size: 20px;
  --a-button-icon-size: 20px;
}
html .fa-3x,
html .fa-sm.fa-3x,
html .force-fa-lg .fa.fa-sm.fa-3x {
  --a-icon-size: 24px;
  --a-button-icon-size: 24px;
}
html .fa-4x,
html .fa-sm.fa-4x,
html .force-fa-lg .fa.fa-sm.fa-4x {
  --a-icon-size: 28px;
  --a-button-icon-size: 28px;
}
html .fa-5x,
html .fa-sm.fa-5x,
html .force-fa-lg .fa.fa-sm.fa-5x {
  --a-icon-size: 32px;
  --a-button-icon-size: 32px;
}
/* Media List icon size fix: UT 26.1 default (2rem/32px) for the circular
   Media List icon is larger than what this project's lists were built for.
   Bring it down to line up with the button icon size fixed above. */
html:root {
  --ut-medialist-icon-container-size: 0.5rem;
}