/* A compact footer in normal document flow; native content widths are retained. */
@layer finder-compact-finish {
 html {background-color:#fff!important;}
 body {min-height:100vh!important;display:flex!important;flex-direction:column!important;}
 body>.page-frame,
 body>.page,
 body>.IFAccountShell,
 body.pc-classic>#classic-shell,
 body.pc-classic #Background,
 body.pc-classic #Whitebackground,
 body.if-product-k2>#Whitebackground {
  display:flex!important;flex-direction:column!important;flex:1 0 auto!important;min-height:0!important;
 }
 body>.page>main,
 body>.page>main>.tool.active,
 body>.page>main>.tool.active>.legacy-page {
  display:flex!important;flex-direction:column!important;flex:1 0 auto!important;
 }
 body>.page-frame>main,
 body>.IFAccountShell>.IFAccountMain,
 body.pc-classic #MainBody,
 body.if-product-k2 #IFBody,
 body>.page>main>.tool.active>.legacy-page>.method-panel {
  flex:1 0 auto!important;align-content:start!important;
 }
 body :is(.HPFooter,.site-footer,.fk-footer,.if-footer,.IFAccountFooter,#classic-company-footer) {
  flex:none!important;border-image-outset:0 100vw!important;
 }
 body.pc-classic #Whitebackground {padding-block-end:0!important;}
 body.pc-wh .legacy-page>.site-footer {margin-block-start:auto!important;}
 /* Enhance only after the adapter has found the original controls. */
 body.pc-beta.rf-compact-actions .remedy-workspace-toolbar {display:contents!important;}
 body.pc-beta.rf-compact-actions .rf-method-filters {
  display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:12px!important;
 }
 body.pc-beta.rf-compact-actions .rf-filter-list {order:0!important;flex:1 1 600px!important;min-width:0!important;}
 body.pc-beta.rf-compact-actions .rf-filter-actions {
  order:1!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin-inline-start:auto!important;
 }
 body.pc-beta.rf-compact-actions .rf-filter-actions :is(.rf-filter-all,.rf-filter-none) {display:none!important;}
 body.pc-beta.rf-compact-actions .rf-select-all {
  display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;
  margin:0!important;padding:0!important;white-space:nowrap!important;cursor:pointer;
 }
 body.pc-beta.rf-compact-actions .rf-select-all input {width:18px!important;height:18px!important;margin:0!important;}
 body.pc-classic .rf-classic-consent-row {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:16px!important;}
 body.pc-classic .rf-classic-entry-check {flex:0 1 auto!important;min-width:0!important;width:auto!important;margin:0!important;}
 body.pc-classic .rf-classic-entry-links {display:flex!important;flex:0 0 auto!important;width:auto!important;gap:16px!important;margin:0!important;white-space:nowrap!important;}
 body.pc-classic .rs-selection-tools {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;}
 body.pc-classic .rs-selection-tools>.rs-action {min-height:44px!important;}
 body.pc-classic .cf-selection-icon {flex:0 0 44px!important;width:44px!important;min-width:44px!important;padding-inline:0!important;font-size:0!important;}
 body.pc-classic .cf-selection-icon::before {font-size:20px;line-height:1;}
 body.pc-classic .cf-selection-up::before {content:'↑';}
 body.pc-classic .cf-selection-down::before {content:'↓';}
 body.pc-classic .cf-selection-remove::before {content:'×';}
 body.pc-classic .rs-selection-tools>.rs-priority {flex:0 1 auto!important;width:auto!important;min-width:0!important;padding-inline:8px!important;font-size:14px!important;white-space:nowrap!important;}
 body.if-product-k2 .if-basics #FormConfigSearch {flex-direction:row!important;flex-wrap:wrap!important;align-items:flex-end!important;gap:16px!important;}
 body.if-product-k2 .if-basics .if-sex {flex:0 1 auto!important;width:auto!important;min-width:0!important;}
 body.if-product-k2 .if-basics .if-choices {display:flex!important;flex-wrap:nowrap!important;}
 body.if-product-k2 .if-basics .if-choice {flex:0 1 auto!important;min-width:0!important;}
 body.if-product-k2 .if-basics .if-field:has(>#selectAge) {flex:0 1 auto!important;min-width:0!important;width:max-content!important;}
 body.if-product-k2 .if-basics #selectAge {width:auto!important;min-width:7rem!important;max-width:100%!important;}
 @media(min-width:1041px) {
  body.pc-classic.rs-ready .rs-profile {grid-template-columns:minmax(0,1fr) auto auto!important;column-gap:20px!important;row-gap:0!important;align-items:center!important;padding-block:16px!important;}
  body.pc-classic.rs-ready .rs-profile>.rs-panel-heading {margin:0!important;min-width:0!important;}
  body.pc-classic.rs-ready #RFGenderAge {width:auto!important;min-width:0!important;}
  body.pc-classic.rs-ready #FormConfigSearch {gap:16px!important;width:auto!important;align-items:flex-end!important;}
  body.pc-classic.rs-ready .rf-profile-gender {flex:0 0 220px!important;width:220px!important;min-width:0!important;}
  body.pc-classic.rs-ready .rf-profile-age {flex:0 0 auto!important;width:auto!important;gap:16px!important;}
  body.pc-classic.rs-ready .rs-profile-field {flex:0 0 80px!important;width:80px!important;min-width:0!important;}
  body.pc-classic.rs-ready .rs-profile-field:last-child {flex-basis:88px!important;width:88px!important;}
  body.pc-classic.rs-ready .rl-profile-actions {grid-column:auto!important;margin:0!important;padding:0!important;border:0!important;gap:16px!important;align-items:center!important;}
  body.pc-classic.rs-ready .rl-profile-actions>.rs-risk-disclosure {flex:0 1 auto!important;min-width:0!important;}
  body.pc-classic.rs-ready .rl-profile-actions>.rs-risk-disclosure>summary {white-space:nowrap!important;}
  body.pc-classic.rs-ready .rl-reset-explanation {position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
  body.pc-classic.rs-ready .rs-profile:has(.rs-risk-disclosure[open]) .rl-profile-actions {grid-column:1/-1!important;margin-block-start:12px!important;align-items:flex-start!important;}
  body.pc-classic.rs-ready .rs-risk-disclosure[open] {flex:1!important;}
 }
}
