/* All search text uses a 16pt floor (21.333 CSS px), including metadata. */
html body #page #content .mfsa-unified-search :is(input,button,p,a,.mfsa-filter-pill,.mfsa-count,.showing-count,.mfsa-unified-meta,time,.mfsa-unified-summary,.mfsa-unified-action,.page-numbers,.mfsa-result-count,.mfsa-group-page-count) {
 font-size:max(16pt,1em) !important;line-height:1.5 !important;
}
html body #page #content .mfsa-unified-search :is(.showing-count,.mfsa-unified-meta,time,.mfsa-result-count,.mfsa-group-page-count) {color:#243746 !important;}
html body #page #content .mfsa-unified-search .mfsa-toolbar-bottom {border-top:2px solid #596969 !important;}
html body #page #content .mfsa-unified-search .mfsa-toolbar-search-form {
 display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:12px;
}
html body #page #content .mfsa-unified-search .mfsa-toolbar-search-form > .mfsa-persistent-field {flex:1 1 20rem;width:100%;min-width:0;}
html body #page #content .mfsa-unified-search .mfsa-toolbar-search-form input {
 width:100%;min-width:0;height:auto !important;min-height:60px;box-sizing:border-box;padding:10px 14px;line-height:1.5;
}
html body #page #content .mfsa-unified-search .mfsa-toolbar-search-form > button {min-height:60px;height:auto;padding:.5em 1em;}
html body #page #content .mfsa-unified-search .layout-controls {display:flex;gap:8px;flex:0 0 auto;}
html body #page #content .mfsa-unified-search .layout-controls button {
 display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;min-width:60px;min-height:60px;box-sizing:border-box;padding:8px;
 background:#fff !important;color:#004d44 !important;border:2px solid #596969 !important;
}
html body #page #content .mfsa-unified-search .layout-controls button .dashicons {font-size:26px;width:26px;height:26px;line-height:1;color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;}
html body #page #content .mfsa-unified-search .layout-controls button[aria-pressed="true"] {background:#00685e !important;color:#fff !important;border-color:#00685e !important;box-shadow:inset 0 0 0 2px #fff !important;}
html body #page #content .mfsa-unified-search .layout-controls button:is(:hover,:focus-visible) {background:#e6f2f0 !important;color:#004d44 !important;}
html body #page #content .mfsa-unified-search .layout-controls button:focus-visible {outline:3px solid #00685e !important;outline-offset:3px !important;}
html body.contrast #page #content .mfsa-unified-search :is(.showing-count,.mfsa-unified-meta,time,.mfsa-result-count,.mfsa-group-page-count) {color:#fff !important;-webkit-text-fill-color:#fff !important;background:#000 !important;}
html body.contrast #page #content .mfsa-unified-search .mfsa-toolbar-bottom {border-color:#fff !important;}
html body.contrast #page #content .mfsa-unified-search .layout-controls button {background:#000 !important;color:#0ff !important;-webkit-text-fill-color:#0ff !important;border-color:#fff !important;}
html body.contrast #page #content .mfsa-unified-search .layout-controls button[aria-pressed="true"] {background:#ff0 !important;color:#000 !important;-webkit-text-fill-color:#000 !important;box-shadow:inset 0 0 0 2px #000 !important;}
html body.contrast #page #content .mfsa-unified-search .layout-controls button:is(:hover,:focus-visible) {background:#fff !important;color:#000 !important;-webkit-text-fill-color:#000 !important;}
html body.contrast #page #content .mfsa-unified-search .layout-controls button:focus-visible {outline-color:#0ff !important;}
/* Media Centre: full-width search row with square actions at the right edge. */
html body #page #content #mfsa-app .mfsa-controls > .mfsa-persistent-field {flex:1 1 100% !important;width:100%;}
html body #page #content #mfsa-app .mfsa-search-wrap {display:flex !important;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;gap:10px !important;}
html body #page #content #mfsa-app .mfsa-search-input {flex:1 1 16rem;min-width:0;width:auto;height:60px !important;box-sizing:border-box;}
html body #page #content #mfsa-app :is(.mfsa-search-btn,.mfsa-view-btn) {width:60px !important;height:60px !important;min-width:60px !important;min-height:60px !important;max-height:none !important;padding:8px !important;flex:0 0 60px !important;}
html body #page #content #mfsa-app :is(.mfsa-search-btn,.mfsa-view-btn) :is(i,.fas) {font-size:24px !important;width:24px;line-height:1;}
html body #page #content #mfsa-app .mfsa-layout-btns {display:flex;flex:0 0 auto;gap:8px;margin:0;width:auto;}
html.fontsize body #page #content .mfsa-unified-search .mfsa-toolbar-search-form > .mfsa-persistent-field {flex-basis:100%;}
html.fontsize body #page #content #mfsa-app .mfsa-search-input {height:auto !important;min-height:calc(1.5em + 24px);flex-basis:100%;width:100%;}
@media(max-width:700px) {
 html body #page #content .mfsa-unified-search .mfsa-toolbar-search-form > .mfsa-persistent-field {flex-basis:100%;}
 html body #page #content .mfsa-unified-search .mfsa-toolbar-search-form > button {flex:0 1 auto;}
 html body #page #content #mfsa-app .mfsa-search-input {flex-basis:100%;width:100%;}
 html body #page #content #mfsa-app .mfsa-layout-btns {width:auto;justify-content:flex-start;}
}
html body #page #content .mfsa-unified-search :is(.mfsa-toolbar-filters,.mfsa-toolbar-actions) {min-width:0;max-width:100%;}
html body #page #content .mfsa-unified-search a.mfsa-filter-pill {max-width:100%;flex-wrap:wrap;overflow-wrap:anywhere;white-space:normal;gap:4px;}
html body #page #content .mfsa-unified-search .showing-count {overflow-wrap:anywhere;}
html body #page #content .mfsa-unified-search .layout-controls button[aria-pressed="true"] {border-style:double !important;border-width:4px !important;}
/* 1.4.35: size actions from the field's rendered height, not a fixed 60px. */
html body #page #content .mfsa-unified-search .layout-controls button,
html body #page #content #mfsa-app :is(.mfsa-search-btn,.mfsa-view-btn) {
 width:var(--mfsa-search-control-size,60px) !important;height:var(--mfsa-search-control-size,60px) !important;
 min-width:var(--mfsa-search-control-size,60px) !important;min-height:var(--mfsa-search-control-size,60px) !important;
 flex:0 0 var(--mfsa-search-control-size,60px) !important;
}
html body #page #content .mfsa-unified-search .mfsa-toolbar-search-form > button {
 box-sizing:border-box;height:var(--mfsa-search-control-size,60px) !important;min-height:var(--mfsa-search-control-size,60px) !important;padding-block:8px !important;
}
html body #page #content .mfsa-unified-search .layout-controls button .dashicons,
html body #page #content #mfsa-app :is(.mfsa-search-btn,.mfsa-view-btn) :is(i,.fas) {
 font-size:var(--mfsa-search-icon-size,24px) !important;width:var(--mfsa-search-icon-size,24px) !important;height:var(--mfsa-search-icon-size,24px) !important;line-height:1 !important;
}
/* The glyph itself and its pseudo-element must not paint an opaque square. */
html body.contrast #page #content #section-main #mfsa-app :is(.mfsa-search-btn,.mfsa-view-btn) :is(i,.fas),
html body.contrast #page #content #section-main #mfsa-app :is(.mfsa-search-btn,.mfsa-view-btn) :is(i,.fas)::before,
html body.contrast #page #content #section-main #mfsa-app :is(.mfsa-search-btn,.mfsa-view-btn) :is(i,.fas)::after {
 color:inherit !important;-webkit-text-fill-color:inherit !important;background:transparent !important;border:0 !important;box-shadow:none !important;opacity:1 !important;
}
