/* Interaction and reflow repairs for the shared industry/Law controls. */

/* Match the legacy theme's section specificity so states survive its late sheet. */
html body.contrast #page #content main#section-main.mfsa-switcher-template a[href]:is(:hover,:focus-visible),
html body.contrast #page #content main#section-main.mfsa-switcher-template nav :is(a.mfsa-nav-item,a.mfsa-sidebar-item):is(:hover,:focus-visible) {
 color:#000 !important;-webkit-text-fill-color:#000 !important;background:#ff0 !important;
 text-decoration:underline !important;text-decoration-thickness:2px !important;
}
html body.contrast #page #content main#section-main.mfsa-switcher-template nav :is(a.mfsa-nav-item,a.mfsa-sidebar-item):is(.active,.is-active,.is-current,.is-active-path,[aria-current="page"]):is(:hover,:focus-visible),
html body.contrast #page #content main#section-main.mfsa-switcher-template :is(button,a[role="button"],a.mfsa-firb-button,a.mfsa-global-btn):is(:hover,:focus-visible) {
 color:#000 !important;-webkit-text-fill-color:#000 !important;background:#fff !important;border-color:#fff !important;
}
html body.contrast #page #content main#section-main.mfsa-switcher-template :is(a,button):is(:hover,:focus-visible) :is(span,i,strong,em,b,svg) {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;
}
html body.contrast #page #content main#section-main.mfsa-switcher-template :is(a,button,input,select,textarea,summary):focus-visible {
 outline:3px solid #0ff !important;outline-offset:3px !important;
}
/* Programmatic skip-link focus marks the destination without painting its contents. */
html body.contrast #page #content #section-main #focus[tabindex="-1"]:focus {
 background:#000 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;
 outline:3px solid #0ff !important;outline-offset:4px !important;box-shadow:none !important;
}
/* A focused input and its placeholder must use the same foreground. */
html body.contrast #page :is(input,textarea):focus,
html body.contrast #page #content #section-main :is(input,textarea):focus {
 color:#000 !important;-webkit-text-fill-color:#000 !important;background:#ff0 !important;caret-color:#000 !important;
}
html body.contrast #page :is(input,textarea)::placeholder,
html body.contrast #page #content #section-main :is(input,textarea)::placeholder {
 color:#fff !important;-webkit-text-fill-color:#fff !important;opacity:1 !important;
}
html body.contrast #page :is(input,textarea):focus::placeholder,
html body.contrast #page #content #section-main :is(input,textarea):focus::placeholder {
 color:#000 !important;-webkit-text-fill-color:#000 !important;opacity:1 !important;
}
html body.contrast #page #content #section-main :is(.search-wrap,.mfsa-rfc-search-wrap):focus-within .dashicons {
 color:#000 !important;-webkit-text-fill-color:#000 !important;background:transparent !important;
}
/* A clearly contrasting row, with readable nested text and links. */
html body.contrast #page #content main#section-main.mfsa-switcher-template table tbody tr:is(:hover,:focus-within) > :is(td,th),
html body.contrast #page #content main#section-main.mfsa-switcher-template table tbody tr:is(:hover,:focus-within) > :is(td,th) :is(p,div,span,strong,b,em,i,ul,ol,li,a[href]) {
 background:#fff !important;color:#000 !important;-webkit-text-fill-color:#000 !important;
}
html body.contrast #page #content main#section-main.mfsa-switcher-template table tbody tr:is(:hover,:focus-within) a[href]:is(:hover,:focus-visible) {
 background:#ff0 !important;color:#000 !important;-webkit-text-fill-color:#000 !important;
}
/* Stroke icons inherit the link/button colour rather than a fixed white paint. */
html body.contrast #page #content #section-main a[href] :is(.mfsa-window-icon,.edac-nww-external-link-icon),
html body.contrast #page #content #section-main :is(a,button).mfsa-firb-button :is(.mfsa-firb-icon,.mfsa-firb-button-label) {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;
}
html body.contrast #page #content #section-main :is(a,button) :is(.mfsa-window-icon,.mfsa-firb-icon) :is(svg,path),
html body.contrast #page #content #section-main :is(a,button) svg.mfsa-firb-icon {
 color:inherit !important;fill:none !important;stroke:currentColor !important;background:transparent !important;opacity:1 !important;visibility:visible !important;
}
/* Selected pagination/layout is yellow; other controls are black; hover is white. */
html body.contrast #page #content #section-main :is(.mfsa-firb-pages,.mfsa-view-toggles,.mfsa-rfc-view-toggles,.mfsa-rfc-toolbar-actions) button {
 background:#000 !important;color:#0ff !important;-webkit-text-fill-color:#0ff !important;border:2px solid #fff !important;
}
html body.contrast #page #content #section-main :is(.mfsa-firb-pages,.mfsa-view-toggles,.mfsa-rfc-view-toggles) button:is([aria-current="page"],[aria-pressed="true"],.active) {
 background:#ff0 !important;color:#000 !important;-webkit-text-fill-color:#000 !important;border:3px double #000 !important;outline:1px solid #ff0 !important;font-weight:700 !important;
}
html body.contrast #page #content main#section-main.mfsa-switcher-template :is(.mfsa-firb-pages,.mfsa-view-toggles,.mfsa-rfc-view-toggles,.mfsa-rfc-toolbar-actions) button:is(:hover,:focus-visible) {
 background:#fff !important;color:#000 !important;-webkit-text-fill-color:#000 !important;
}
html body.contrast #page #content #section-main :is(.mfsa-view-toggles,.mfsa-rfc-view-toggles,.mfsa-rfc-toolbar-actions) button .dashicons {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;
}

/* Let enlarged titles wrap on a proportional line height. */
html body #page #content main#section-main.mfsa-switcher-template article.mfsa-level-content :is(.wp-block-accordion-heading,.wp-block-accordion-heading__toggle,.wp-block-accordion-heading__toggle-title) {
 height:auto !important;max-height:none !important;line-height:1.4 !important;white-space:normal !important;
}
html body #page #content #section-main .wp-block-accordion-heading__toggle-title {min-width:0;overflow-wrap:anywhere;}
html body #page #content #section-main .wp-block-accordion-heading__toggle-icon {flex-shrink:0;}
html body #page #content #section-main .mfsa-standard-wrapper .mfsa-type-icon {
 display:inline-block;flex-shrink:0;width:1em !important;height:1em !important;font-size:1em !important;line-height:1 !important;vertical-align:-.1em !important;
}
html body #page #content #section-main .mfsa-standard-wrapper .mfsa-form-list-icon {width:1.2em;min-height:1.2em;}
/* Counts take their own row; controls have room for their persistent labels. */
html body #page #content #section-main :is(.mfsa-standard-toolbar,.mfsa-rfc-toolbar) {display:flex;flex-direction:column;align-items:stretch;gap:12px;}
html body #page #content #section-main :is(.mfsa-toolbar-left,.mfsa-rfc-toolbar-counts) {width:100%;white-space:normal;}
html body #page #content #section-main :is(.mfsa-counts,.mfsa-rfc-counts) {white-space:normal;line-height:1.5;}
html body #page #content #section-main :is(.mfsa-toolbar-right,.mfsa-rfc-toolbar-controls) {width:100%;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-start;gap:12px;}
html body #page #content #section-main :is(.mfsa-toolbar-right,.mfsa-rfc-toolbar-controls) > .mfsa-persistent-field {flex:1 1 20em;width:auto;min-width:min(100%,16em);}
html body #page #content #section-main :is(.sort-wrap,.mfsa-rfc-sort-wrap) {flex:1 1 20em;min-width:min(100%,16em);max-width:100%;}
html body #page #content #section-main :is(.mfsa-standard-toolbar,.mfsa-rfc-toolbar) :is(input,select) {
 box-sizing:border-box !important;width:100% !important;max-width:100% !important;height:auto !important;min-height:calc(1.5em + 20px) !important;
 line-height:1.5 !important;padding-block:8px !important;border-width:2px !important;margin:0 !important;
}
html body #page #content #section-main :is(.mfsa-standard-toolbar,.mfsa-rfc-toolbar) :is(.search-wrap,.mfsa-rfc-search-wrap) {max-width:none;width:100%;}
html body #page #content #section-main :is(.mfsa-rfc-view-toggles,.mfsa-rfc-toolbar-actions) {overflow:visible;gap:6px;}
html body #page #content #section-main :is(.mfsa-rfc-view-btn,.mfsa-rfc-tool-btn) {min-width:44px;min-height:44px;}
@media(max-width:700px) {
 html body #page #content #section-main :is(.mfsa-toolbar-right,.mfsa-rfc-toolbar-controls) > :is(.mfsa-persistent-field,.sort-wrap,.mfsa-rfc-sort-wrap) {flex-basis:100%;width:100%;}
}
/* In enlarged-text mode each field gets a full row, so native options fit. */
html.fontsize body #page #content #section-main :is(.mfsa-toolbar-right,.mfsa-rfc-toolbar-controls) > :is(.mfsa-persistent-field,.sort-wrap,.mfsa-rfc-sort-wrap) {
 flex-basis:100%;width:100%;
}
html body:not(.contrast) #page #content #section-main .mfsa-rfc-wrapper :is(.mfsa-rfc-view-btn,.mfsa-rfc-tool-btn):hover {
 background:#d6ebe7 !important;color:#004d44 !important;box-shadow:inset 0 0 0 2px #00685e !important;
}
html body:not(.contrast) #page #content #section-main .mfsa-rfc-wrapper .mfsa-rfc-view-btn.active:hover {
 background:#004d44 !important;color:#fff !important;
}
html body:not(.contrast) #page #content #section-main .mfsa-rfc-wrapper :is(a,button,input,select):focus-visible {
 outline:3px solid #00685e !important;outline-offset:3px !important;
}

/* 1.4.32: search filters use the same pale-green hover cue as pagination. */
html body:not(.contrast) #page #content .mfsa-unified-search a.mfsa-filter-pill:is(:hover,:focus-visible) {
 background:#e6f2f0 !important;color:#004d44 !important;-webkit-text-fill-color:#004d44 !important;
 border-color:#00685e !important;text-decoration:underline !important;
}
html body:not(.contrast) #page #content .mfsa-unified-search a.mfsa-filter-pill:is(:hover,:focus-visible) .mfsa-count {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:#fff !important;
}
html body #page #content .mfsa-unified-search :is(a.mfsa-filter-pill,a.page-numbers):focus-visible {
 outline:3px solid #00685e !important;outline-offset:3px !important;
}
html body.contrast #page #content .mfsa-unified-search a.mfsa-filter-pill {background:#000 !important;color:#0ff !important;-webkit-text-fill-color:#0ff !important;border-color:#fff !important;}
html body.contrast #page #content .mfsa-unified-search a.mfsa-filter-pill.active {background:#ff0 !important;color:#000 !important;-webkit-text-fill-color:#000 !important;}
html body.contrast #page #content .mfsa-unified-search a.mfsa-filter-pill:is(:hover,:focus-visible) {background:#fff !important;color:#000 !important;-webkit-text-fill-color:#000 !important;border-color:#fff !important;}
html body.contrast #page #content .mfsa-unified-search a.mfsa-filter-pill .mfsa-count {color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;}
html body.contrast #page #content .mfsa-unified-search :is(a.mfsa-filter-pill,a.page-numbers):focus-visible {outline-color:#0ff !important;}

/* Keep visible boundaries in the current industry's existing palette. */
html body { --mfsa-control-border:var(--mfsa-brand-teal,#00685e); }
html body .theme-securities { --mfsa-control-border:var(--securities,#514689); }
html body .theme-real-estate { --mfsa-control-border:var(--real-estate,#c04427); }
html body .theme-firb { --mfsa-control-border:var(--firb,#4d7a33); }
html body:not(.contrast) #page #content :is(input:not([type="hidden"]):not([aria-invalid="true"]):not(:focus),select:not(:focus),textarea:not([aria-invalid="true"]):not(:focus),.wp-block-details,.wp-block-accordion-item,.mfsa-standard-toolbar,.mfsa-rfc-toolbar,.mfsa-search-toolbar-card) {
 border-color:var(--mfsa-control-border,#00685e) !important;
}
html body:not(.contrast) #page #content :is(.wp-block-details > summary,.wp-block-accordion-heading__toggle):is(:hover,:focus-visible) {
 background:#e6f2f0 !important;color:#004d44 !important;-webkit-text-fill-color:#004d44 !important;
}
html body:not(.contrast) #page #content :is(.wp-block-details > summary,.wp-block-accordion-heading__toggle):focus-visible {
 outline:3px solid #00685e !important;outline-offset:3px !important;
}
/* Cover the two accordion implementations, including nested bold titles. */
html body.contrast #page #content main#section-main.mfsa-switcher-template :is(.wp-block-details > summary,button.wp-block-accordion-heading__toggle) {
 background:#000 !important;color:#ff0 !important;-webkit-text-fill-color:#ff0 !important;
}
html body.contrast #page #content main#section-main.mfsa-switcher-template :is(.wp-block-details > summary,button.wp-block-accordion-heading__toggle):is(:hover,:focus-visible) {
 background:#ff0 !important;color:#000 !important;-webkit-text-fill-color:#000 !important;
}
html body #page #content main#section-main.mfsa-switcher-template :is(.wp-block-details > summary,button.wp-block-accordion-heading__toggle) :is(span,strong,b,em,i) {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;
}
/* The details arrow is a font glyph; never give its pseudo-element a solid tile. */
html body #page #content .wp-block-details > summary::after {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;
 border:0 !important;box-shadow:none !important;flex-shrink:0;line-height:1;
}
html body.contrast #page #masthead :is(.dropdown-menu-toggle,.ast-icon,.ast-menu-toggle),
html body.contrast #page #content :is(.mfsa-sidebar-item,.mfsa-nav-item) :is(.ast-icon,.dropdown-menu-toggle) {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;
}
html body.contrast #page :is(.dropdown-menu-toggle,.ast-icon,.ast-menu-toggle) svg [fill]:not([fill="none"]) {fill:currentColor !important;}
html body.contrast #page :is(.dropdown-menu-toggle,.ast-icon,.ast-menu-toggle) svg [stroke]:not([stroke="none"]) {stroke:currentColor !important;}
/* Keep cell boundaries visible against the white highlighted row. */
html body.contrast #page #content table tbody tr:is(:hover,:focus-within) > :is(td,th),
html body.contrast #page #content main#section-main.mfsa-switcher-template table tbody tr:is(:hover,:focus-within) > :is(td,th) {
 border-color:#000 !important;box-shadow:inset 0 0 0 1px #000 !important;
}

/* 1.4.42: tables use the existing neutral grey, independent of industry.
   Change colour only: borderless tables, widths and focus outlines are retained.
   Leave site high-contrast and operating-system forced colours in control. */
@media (forced-colors: none) {
  html body:not(.contrast):not(.pojo-a11y-high-contrast) #page #content
  :is(table, thead, tbody, tfoot, tr, th, td, .mfsa-firb-table-wrap, .mfsa-ui-table-scroll, figure.wp-block-table) {
    border-color: #808d8d !important;
  }
}

/* 1.4.36: retain the editor's capitalization in the homepage agency label. */
html body #page .chb-top-label {text-transform:none !important;letter-spacing:normal !important;}
/* Give already-underlined alert links a visible mouse/keyboard interaction. */
html body:not(.contrast) #page #content .csa-alerts-wrapper .csa-table tbody tr:is(:hover,:focus-within) > td {
 background:#d6ebe7 !important;color:#243746 !important;
}
html body:not(.contrast) #page #content .csa-alerts-wrapper :is(.csa-table td,.csa-card h3) a:is(:hover,:focus-visible) {
 background:#004d44 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;text-decoration:underline !important;
}
html body:not(.contrast) #page #content .csa-alerts-wrapper :is(.csa-table td,.csa-card h3) a:is(:hover,:focus-visible) :is(span,i,svg) {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;
}
/* Theme button colours must not leave white title text on a white open panel. */
html body:not(.contrast) #page #content main#section-main.mfsa-switcher-template button.wp-block-accordion-heading__toggle {
 background:#fff !important;color:#1e293b !important;-webkit-text-fill-color:#1e293b !important;
}
html body:not(.contrast) #page #content main#section-main.mfsa-switcher-template button.wp-block-accordion-heading__toggle[aria-expanded="true"] {
 background:#e6f2f0 !important;color:#004d44 !important;-webkit-text-fill-color:#004d44 !important;
}
html body:not(.contrast) #page #content main#section-main.mfsa-switcher-template button.wp-block-accordion-heading__toggle:is(:hover,:focus-visible) {
 background:#d6ebe7 !important;color:#004d44 !important;-webkit-text-fill-color:#004d44 !important;
}

/* 1.4.37: visible child-switcher outlines on desktop and mobile. */
html body:not(.contrast) #page #content .mfsa-sidebar-col {
 border:1px solid var(--mfsa-control-border,#00685e) !important;
}
html body:not(.contrast) #page #content .mfsa-sidebar-col .mfsa-sidebar-item {
 border-bottom-color:var(--mfsa-control-border,#00685e) !important;
}
html body.contrast #page #content main#section-main.mfsa-switcher-template .mfsa-sidebar-col {
 border:1px solid #fff !important;
}

/* 1.4.38: hero field and action grow together with the user's text size. */
html body #page .chb-hero-container .chb-search-form {align-items:stretch !important;}
html body #page .chb-hero-container .chb-search-form :is(input.chb-search-input,button.chb-search-btn) {
 height:auto !important;min-height:max(60px,2.9em) !important;
 box-sizing:border-box !important;line-height:1.4 !important;
}
/* Hidden-until-found panels must not acquire borders/padding from contrast rules. */
html body #page #content main#section-main.mfsa-switcher-template .wp-block-accordion-item .wp-block-accordion-panel[hidden] {
 height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;
 border:0 !important;box-shadow:none !important;overflow:hidden !important;
}
/* Black tables have white boundaries; highlighted white rows have black ones. */
html body.contrast #page #content main#section-main :is(table,th,td) {border-color:#fff !important;}
html body.contrast #page #content main#section-main table tbody tr:is(:hover,:focus-within) > :is(td,th) {
 border-color:#000 !important;box-shadow:inset 0 0 0 1px #000 !important;
}
html body.contrast #page #content main#section-main table tbody tr:is(:hover,:focus-within) :is(time,.mfsa-rfc-date-wrap) {
 color:#000 !important;-webkit-text-fill-color:#000 !important;background:transparent !important;
}
/* Hearing categories retain a distinct selected, hover and keyboard-focus state. */
html body:not(.contrast) #page #content .mfsa-h-wrap :is(button,a[href]):is(:hover,:focus-visible) {
 background:#004d44 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;border-color:#004d44 !important;
}
html body.contrast #page #content .mfsa-h-wrap button.h-nav-link {
 background:#000 !important;color:#0ff !important;-webkit-text-fill-color:#0ff !important;border:2px solid #fff !important;
}
html body.contrast #page #content .mfsa-h-wrap button.h-nav-link[aria-selected="true"] {
 background:#ff0 !important;color:#000 !important;-webkit-text-fill-color:#000 !important;border-color:#ff0 !important;
}
html body.contrast #page #content .mfsa-h-wrap :is(button,a[href]):is(:hover,:focus-visible) {
 background:#fff !important;color:#000 !important;-webkit-text-fill-color:#000 !important;border-color:#000 !important;
 outline:2px solid #0ff !important;outline-offset:2px !important;
}
html body #page #content .mfsa-h-wrap :is(button,a[href]):is(:hover,:focus-visible) :is(span,i,svg) {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;
}
html body:not(.contrast) #page #content .mfsa-h-wrap :is(button,a[href]):focus-visible {
 outline:3px solid #005fcc !important;outline-offset:3px !important;
}

/* 1.4.39: pseudo-element arrows must follow the link's contrast state. */
html body.contrast #page a.mtc-link::after,
html body.contrast #page footer.mfsa-footer .has-chevron a::before {
 color:inherit !important;-webkit-text-fill-color:inherit !important;
 background:transparent !important;border-color:currentColor !important;
}
html body.contrast #page a.mtc-link:is(:hover,:focus-visible)::after,
html body.contrast #page footer.mfsa-footer .has-chevron a:is(:hover,:focus-visible)::before {
 color:#000 !important;-webkit-text-fill-color:#000 !important;background:transparent !important;
}
/* Preserve source capitalization, including proper names and acronyms. */
html body #page .rca-card :is(.rca-title,.rca-meta,.rca-meta strong) {text-transform:none !important;}
/* A shared, left-aligned reading column for the homepage acknowledgement. */
html body.home #page #content .uagb-block-6e0dddec .uagb-container-inner-blocks-wrap {
 width:100% !important;max-width:60rem !important;margin-inline:auto !important;
 padding-inline:clamp(1rem,3vw,2rem) !important;box-sizing:border-box !important;
}
html body.home #page #content .uagb-block-6e0dddec p {
 width:100% !important;max-width:65ch !important;margin-inline:auto !important;
 padding-inline:0 !important;text-align:left !important;line-height:1.65 !important;
 box-sizing:border-box !important;
}

/* Homepage: align the three sections to the same edges. */
html body.home #page #content :is(
  .rca-wrapper,
  .mfsa-recent-posts,
  .mfsa-csa-recent
) {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

/* Right-align all three More buttons. */
html body.home #page #content :is(
  .rca-footer,
  .mfsa-rp-global-action,
  .mfsa-csa-actions
) {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
}

/* Consistent button dimensions; allow enlarged text to wrap. */
html body.home #page #content :is(
  .rca-footer > a,
  .mfsa-rp-global-action > a,
  .mfsa-csa-actions > a
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15rem !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 3.75rem !important;
  height: auto !important;
  padding: 0.75em 1em !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: normal !important;
  float: none !important;
}

/* Both acknowledgement paragraphs share the same edges. */
html body.home #page #content
.uagb-block-6e0dddec .uagb-container-inner-blocks-wrap {
  max-width: 64rem !important;
}

html body.home #page #content .uagb-block-6e0dddec p {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

/* Equal English/French desktop submenu spacing. */
@media (min-width: 922px) {
  html body #page #masthead .main-header-menu .sub-menu {
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  html body #page #masthead .main-header-menu
  .sub-menu > .menu-item {
    margin: 0 !important;
    padding: 0 !important;
  }

  html body #page #masthead .main-header-menu
  .sub-menu > .menu-item > a,
  html body #page #masthead .main-header-menu
  .sub-menu > .menu-item:hover > a {
    padding: 14px 20px !important;
    margin: 0 !important;
    min-height: 48px !important;
    height: auto !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal !important;
  }
}
/* 1.4.40: explicitly borderless tables; retain keyboard focus outlines. */
html body #page #content table[border="0"],
html body #page #content table[border="0"] > :is(thead,tbody,tfoot) > tr > :is(th,td),
html body #page #content table[border="0"] > tr > :is(th,td),
html body #page #content .mfsa-ui-table-scroll:has(> table[border="0"]),
html body #page #content figure.wp-block-table:has(> table[border="0"]) {
    border: 0 !important;
    box-shadow: none !important;
}

/* Hide only the exact duplicate hearing title identified by audit-repairs.js. */
body.single-hearing main.site-main > h1[data-mfsa-duplicate-title="true"] { display: none !important; }
