/* Shared interaction details; no changes to editor toolbar metrics. */
.mfcn-custom-header :is(a,button,input,summary):focus-visible,.mfcn-wrap a:focus-visible,#ct :is(a,button,input,select,textarea):focus-visible{outline:2px solid #27836b;outline-offset:3px}
.mfcn-unified-hero p,.mfcn-hero p{line-height:1.8;text-wrap:pretty}
.mfcn-portal-channel,.mfcn-topic-title,.mfcn-content-title{overflow-wrap:anywhere}
.mfcn-dark :is(input,textarea,select){color-scheme:dark}
@media(max-width:600px){.mfcn-custom-header input[type=search]{font-size:16px}.t_f{overflow-wrap:anywhere}.t_f pre{max-width:100%;overflow:auto;white-space:pre}.t_f table{max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.mfcn-wrap *,.mfcn-custom-header *{transition:none!important;animation:none!important}}
/* v3.23: eliminate native fixed-width layout on login and tag pages. */
body.pg_logging.mfcn-unified,body.pg_tag.mfcn-unified{min-width:0!important}
body.pg_logging.mfcn-unified .wp,body.pg_tag.mfcn-unified .wp{width:calc(100% - 28px)!important;max-width:1160px;min-width:0!important;box-sizing:border-box}
@media(max-width:620px){
body.pg_logging.mfcn-unified #ct .rfm{width:100%!important;margin:14px 0!important}
body.pg_logging.mfcn-unified #ct .rfm table{width:100%!important;table-layout:fixed}
body.pg_logging.mfcn-unified #ct .rfm th{width:72px!important;padding:8px 6px!important;box-sizing:border-box}
body.pg_logging.mfcn-unified #ct .rfm td{min-width:0;padding:8px 4px!important;box-sizing:border-box;overflow-wrap:anywhere}
body.pg_logging.mfcn-unified #ct .rfm input.px{width:100%!important;max-width:100%;box-sizing:border-box;font-size:16px}
body.pg_tag.mfcn-unified #ct .pns{display:flex;flex-wrap:wrap;gap:8px}
body.pg_tag.mfcn-unified #ct .pns input.px{min-width:0;max-width:100%;box-sizing:border-box;font-size:16px}
}
body.pg_logging.mfcn-unified #toptb,body.pg_tag.mfcn-unified #toptb{min-width:0!important;width:100%!important;box-sizing:border-box}
/* v3.24: public search and album pages share the portal shell. */
body#nv_search{min-width:0!important;background:var(--mf-bg,#f6f5f0)}
body#nv_search #toptb{min-width:0!important;width:100%;box-sizing:border-box}
body#nv_search .mw,body#nv_search .w{width:calc(100% - 28px)!important;max-width:1000px;min-width:0!important;box-sizing:border-box;margin-left:auto;margin-right:auto}
body#nv_search .searchlogo{max-width:180px;max-height:64px}
body#nv_search #scform{max-width:100%;width:100%;box-sizing:border-box}
body#nv_search #scform table{max-width:100%;width:100%;table-layout:fixed}
body#nv_search .td_srchtxt{width:auto!important}
body#nv_search #scform_srchtxt{width:100%!important;box-sizing:border-box;font-size:16px;border-radius:8px;color:#243d33}
body#nv_search .td_srchbtn{width:76px!important}
body#nv_search #scform_submit{border-radius:8px;background:#176550;color:#fff;border:0}
body#nv_search .slst li{padding:16px 0;border-bottom:1px solid #dee6df;line-height:1.8;overflow-wrap:anywhere}
body#nv_search .slst h3{line-height:1.6;font-size:17px}
body#nv_search #ft{font-size:12px;line-height:1.9;padding:20px 0}
body#nv_search #searchlogo{content:url(mfcn-logo.svg)}
body.mfcn-member-page .ml.mla{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
body.mfcn-member-page .ml.mla li{width:auto!important;float:none;min-width:0;border:1px solid var(--mf-line,#dee6df);border-radius:12px;padding:12px;box-sizing:border-box}
@media(max-width:620px){body#nv_search #scform_tb{font-size:13px}body#nv_search .searchform .mtw{margin-top:12px!important;padding-top:8px!important}body#nv_search .slst h3{font-size:15px}body.mfcn-member-page .ml.mla{grid-template-columns:repeat(2,minmax(0,1fr))}}
