/* =====================================================================================================
   Uniform pages (UI audit, 2026-11-24). Loaded last. One standard for every signed-in page:
   page header, left edge, main and outlined buttons, toolbar fields, table headers and card corners.
   Selector prefix P = html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main, which outranks the
   older !important theme rules. Sliders, drawers, dialogs, tables and pagination are left alone.
   ===================================================================================================== */

/* ---- 1. Page header ---- */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .cv-page-title{
  font-size:28px!important;line-height:1.2!important;font-weight:600!important;letter-spacing:-.02em!important;color:#243044!important;margin:0!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .cv-page-eyebrow{
  font-size:12px!important;line-height:1.3!important;font-weight:500!important;color:#6E6E73!important;margin:0 0 4px!important;letter-spacing:0!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .cv-page-sub{
  font-size:14px!important;line-height:1.5!important;font-weight:400!important;color:#6E6E73!important;margin-top:6px!important}

/* ---- 2. One left edge: drop the extra side padding older pages add around their content ---- */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.activity-prompt-helper > .col-sm-12, .col-sm-12.activity-prompt-helper){padding-left:0!important;padding-right:0!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .activity-prompt-helper > .col-sm-12 > .p-1{padding-left:0!important;padding-right:0!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .cv-governance{padding-left:0!important;padding-right:0!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .settings-page{padding-left:0!important;padding-right:0!important}

/* ---- 3. Main (blue) buttons: 40px, 12px corners, 13.5px text ---- */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.el-button--primary,.cd-btn-primary,.sl-btn-primary,.im-btn-primary,.cl-btn-primary,.po-btn-primary,.cv-acal-new):not(table *):not(.el-pagination *):not(.el-drawer__wrapper *):not(.el-dialog__wrapper *):not(.cv-gs-drawer *):not(.cv-qs-drawer *):not(.el-button--text){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:40px!important;min-height:40px!important;padding:0 18px!important;
  border-radius:12px!important;font-size:13.5px!important;font-weight:600!important;line-height:1!important;background:#173DBB!important;background-image:none!important;border:1px solid #173DBB!important;color:#fff!important;margin-top:0!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.el-button--primary,.cd-btn-primary,.sl-btn-primary,.im-btn-primary,.cl-btn-primary,.po-btn-primary,.cv-acal-new):not(table *):not(.el-pagination *):not(.el-drawer__wrapper *):not(.el-dialog__wrapper *):not(.el-button--text):hover{
  background:#3352CC!important;border-color:#3352CC!important;color:#fff!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.el-button--primary,.cd-btn-primary,.sl-btn-primary,.im-btn-primary,.cl-btn-primary,.po-btn-primary,.cv-acal-new):not(table *) :is(span,i){color:#fff!important}

/* ---- 4. Outlined (secondary) buttons: same size, light border, blue on hover ---- */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.el-button--default:not(.el-button--text),.cd-btn:not(.cd-btn-primary),.cl-btn:not(.cl-btn-primary),.im-btn:not(.im-btn-primary),.po-btn):not(table *):not(.el-pagination *):not(.el-drawer__wrapper *):not(.el-dialog__wrapper *):not(.cv-gs-drawer *):not(.cv-qs-drawer *):not(.is-circle):not([class*="seg"] *):not(.cv-local-tabs *):not([role=tablist] *):not(.el-tabs *):not(.el-button-group *):not(.cd-init-pop *):not(.cd-modal *){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:40px!important;min-height:40px!important;padding:0 16px!important;
  border-radius:12px!important;font-size:13.5px!important;font-weight:500!important;line-height:1!important;background:#fff!important;background-image:none!important;border:1px solid #DCE2EA!important;color:#1D1D1F!important;box-shadow:none!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.el-button--default:not(.el-button--text),.cd-btn:not(.cd-btn-primary),.cl-btn:not(.cl-btn-primary),.im-btn:not(.im-btn-primary),.po-btn):not(table *):not(.el-pagination *):not(.el-drawer__wrapper *):not(.is-circle):not([class*="seg"] *):not(.cv-local-tabs *):not([role=tablist] *):not(.el-tabs *):not(.el-button-group *):hover{
  border-color:#173DBB!important;color:#173DBB!important;background:#fff!important}

/* ---- 5. Toolbar fields (search boxes and filters): 40px, readable 13.5px text ---- */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.el-input--small,.el-input--mini):not(table *):not(.el-pagination *):not(.el-drawer__wrapper *):not(.el-dialog__wrapper *) .el-input__inner{
  height:40px!important;line-height:40px!important;font-size:13.5px!important;border-radius:10px!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.el-input--small,.el-input--mini):not(table *):not(.el-pagination *):not(.el-drawer__wrapper *) .el-input__icon{line-height:40px!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.el-input--small,.el-input--mini):not(table *):not(.el-pagination *):not(.el-drawer__wrapper *) .el-input__inner::placeholder{font-size:13.5px!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.im-viewas select,.cl-select){height:40px!important;border-radius:10px!important;font-size:13.5px!important}

/* ---- 6. Table headers: 12px everywhere ---- */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main table th{font-size:12px!important}

/* ---- 7. Card corners: 16px for every main card ---- */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.fr-card,.rl-type-card,.table-card,.delegate-option-card,.guide-progress-card,.cd-ikpi,.cv-acal-main,.cv-acal-mini,.cv-acal-agenda,.cv-acal-cals){border-radius:16px!important}

/* ---- 2b. Any wrapper that holds the page title loses its side padding, so every title starts at the same edge ---- */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main :is(.col-sm-12,.col-12,.col-md-12,.p-1,.p-2,.p-3,.p-4,.wiki-bg):has(.cv-page-title){padding-left:0!important;padding-right:0!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .wiki-bg:has(.cv-page-title){background:transparent!important;border:0!important;box-shadow:none!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .cv-page-icon{display:none!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .cv-page-head-auto{margin:0 0 20px}
/* small leftovers from the audit */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .cl-search{min-height:40px!important;height:40px!important;border-radius:10px!important;font-size:13.5px!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .cv-acal-nav button{height:40px!important;min-width:40px!important;border-radius:12px!important;font-size:13.5px!important}
/* tag-style action buttons (e.g. Tests: Edit SLAs, Refresh) look like the other outlined buttons */
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .el-tag.action-tag:not(table *){display:inline-flex!important;align-items:center!important;gap:8px!important;height:40px!important;padding:0 16px!important;border-radius:12px!important;font-size:13.5px!important;font-weight:500!important;line-height:1!important;background:#fff!important;border:1px solid #DCE2EA!important;color:#1D1D1F!important;cursor:pointer}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .el-tag.action-tag:not(table *):hover{border-color:#173DBB!important;color:#173DBB!important}
html body:not(#u1):not(#u2):not(#u3):not(#u4) .cv-account-main .el-tag.action-tag:not(table *) i{font-size:16px!important;color:#173DBB!important}

/* Sidebar sub-menu and flyout items: leading icon (the item's own icon_css) */
.cv-navigation-children .cv-navigation-item,.cv-navigation-flyout-item{display:flex!important;align-items:center;gap:9px}
.cv-navigation-sub-ic{flex:0 0 auto;width:16px;font-size:16px;line-height:1;text-align:center;color:#8a94a6;transition:color .15s}
.cv-navigation-children .cv-navigation-item:hover .cv-navigation-sub-ic,.cv-navigation-flyout-item:hover .cv-navigation-sub-ic{color:#173dbb}
.cv-navigation-children .cv-navigation-item.is-current .cv-navigation-sub-ic,.cv-navigation-flyout-item.is-current .cv-navigation-sub-ic{color:#173dbb}

/* Integrations cards: Connected / Requires attention status pills — roomier padding, icon spaced from label */
html body:not(#x1):not(#x2):not(#x3) .c-explorer-overview-card .el-tag.el-tag--mini {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  height: 26px !important; padding: 0 12px 0 10px !important; line-height: 1 !important;
  font-size: 12px !important; font-weight: 500 !important; border-radius: 999px !important;
}
html body:not(#x1):not(#x2):not(#x3) .c-explorer-overview-card .el-tag.el-tag--mini > [class^="el-icon-"] {
  margin: 0 !important; font-size: 13px !important; line-height: 1 !important;
}
html body:not(#x1):not(#x2):not(#x3) .c-explorer-overview-card .mt-3 { margin-top: 14px !important; }

/* New Integration slider: "+ Continue" pill on each library card — same roomy pill as the status tags */
html body:not(#x1):not(#x2):not(#x3) .el-drawer__body .mt-4 > .el-tag.el-tag--mini.el-tag--primary {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  height: 28px !important; padding: 0 14px 0 11px !important; line-height: 1 !important;
  font-size: 12px !important; font-weight: 500 !important; border-radius: 999px !important; cursor: pointer;
}
html body:not(#x1):not(#x2):not(#x3) .el-drawer__body .mt-4 > .el-tag.el-tag--mini.el-tag--primary > [class^="el-icon-"] {
  margin: 0 !important; font-size: 12px !important; line-height: 1 !important;
}

/* ---------- Pop-up buttons: always keep horizontal padding ----------
   Text buttons inside popovers, dialogs, drawers, message boxes and dropdowns had 0 left/right padding
   (Element's link-style "text" buttons, and a few overrides). Buttons with a text label get side padding;
   icon-only buttons (no text span) such as the × close are left square. */
html body:not(#pp1):not(#pp2):not(#pp3) :is(.el-popover,.el-dialog,.el-drawer,.el-message-box,.el-dropdown-menu,.el-picker-panel,[role="dialog"]) .el-button:not(.is-circle):not(.el-dialog__headerbtn):not(.el-message-box__headerbtn):has(> span:not(:empty)){padding-left:16px!important;padding-right:16px!important}
html body:not(#pp1):not(#pp2):not(#pp3) :is(.el-popover,.el-dialog,.el-drawer,.el-message-box,.el-dropdown-menu,[role="dialog"]) .el-button--text:has(> span:not(:empty)){min-height:32px;padding-left:12px!important;padding-right:12px!important;border-radius:8px!important;background:#F1F4FE!important;color:#173DBB!important;font-weight:600!important;transition:background .15s}
html body:not(#pp1):not(#pp2):not(#pp3) :is(.el-popover,.el-dialog,.el-drawer,.el-message-box,.el-dropdown-menu,[role="dialog"]) .el-button--text:has(> span:not(:empty)):hover{background:#E4EAFD!important}
html body:not(#pp1):not(#pp2):not(#pp3) :is(.el-popover,.el-dialog,.el-drawer,.el-message-box,[role="dialog"]) .el-button--mini:has(> span:not(:empty)){padding-left:12px!important;padding-right:12px!important}
/* the organisation pop-up: name and the settings button sit apart, not run together */
html body:not(#pp1):not(#pp2):not(#pp3) .el-popover .el-button--text:has(> span:not(:empty)){margin-left:10px}
html body:not(#pp1):not(#pp2):not(#pp3) .cv-workspace-popover .cv-organisation-detail{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left!important}
html body:not(#pp1):not(#pp2):not(#pp3) .cv-workspace-popover .cv-organisation-detail strong{white-space:nowrap;font-size:13.5px;color:#111827}
html body:not(#pp1):not(#pp2):not(#pp3) .cv-workspace-popover .cv-organisation-detail .el-button{margin-left:0!important;flex:none}
html body:not(#pp1):not(#pp2):not(#pp3) .cv-workspace-popover{min-width:300px}
