/* v1.6.3: isolated UX additions. Light theme keeps existing side-panel styles. */
.mfc-ux-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-block:4px 8px;color:var(--text-muted);font-size:.8rem}
.mfc-ux-btn,.mfc-ux-theme{font:inherit;color:var(--text-main);background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:9px;padding:8px 10px;cursor:pointer;min-height:40px}
.mfc-ux-btn:hover,.mfc-ux-btn[aria-pressed=true]{border-color:var(--accent-blue);color:var(--accent-blue)}
.mfc-ux-btn:focus-visible,.mfc-ux-theme:focus-visible,.mfc-ux-link:focus-visible{outline:3px solid var(--accent-blue);outline-offset:2px}
.mfc-ux-hub{margin:10px 0 14px;display:grid;gap:9px;min-width:0}
.mfc-ux-tabs{display:flex;flex-wrap:wrap;gap:7px}.mfc-ux-tabs .mfc-ux-btn{font-size:.8rem;display:inline-flex;align-items:center;gap:6px}
.mfc-ux-btn svg,.mfc-ux-top svg{width:18px;height:18px;flex:none;vertical-align:middle}
.mfc-ux-list{border:1px solid var(--border-soft);border-radius:12px;background:var(--bg-subtle);padding:10px;display:grid;gap:8px;min-width:0}
.mfc-ux-links{display:flex;flex-wrap:wrap;gap:7px}.mfc-ux-link{color:var(--accent-blue);background:var(--bg-surface);border:1px solid var(--border-soft);padding:8px 10px;min-height:40px;display:inline-flex;align-items:center;border-radius:8px;text-decoration:none;font-size:.82rem;max-width:100%;overflow-wrap:anywhere}
.mfc-ux-note{margin:0;color:var(--text-muted);font-size:.8rem}.mfc-ux-clear{justify-self:start;font-size:.78rem}
.mfc-ux-cardwrap{position:relative;display:grid;min-width:0}.mfc-ux-cardwrap>.tool-card{height:100%;min-width:0;padding-inline-end:42px}.mfc-ux-star{position:absolute;inset-inline-end:5px;top:5px;z-index:1;display:grid;place-items:center;padding:5px;width:34px;height:34px;min-height:34px;background:var(--bg-surface);color:var(--text-faint)}.mfc-ux-star[aria-pressed=true],.mfc-ux-favorite[aria-pressed=true]{color:#a16207;border-color:#ca8a04}.mfc-ux-star[aria-pressed=true] svg,.mfc-ux-favorite[aria-pressed=true] svg{fill:#facc15}
.mfc-ux-top{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));inset-inline-end:16px;z-index:20;border:1px solid var(--border-strong);background:var(--bg-surface);color:var(--accent-blue);width:46px;height:46px;border-radius:50%;box-shadow:var(--shadow-hover);cursor:pointer;display:grid;place-items:center}
.mfc-ux-suggestions{margin:6px 0 10px}.mfc-ux-suggestions .mfc-ux-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}
@media(max-width:640px){.mfc-ux-toolbar{justify-content:flex-start}.mfc-ux-tabs .mfc-ux-btn{min-height:44px}.mfc-ux-cardwrap>.tool-card{padding-inline-end:48px}.mfc-ux-star{width:42px;height:42px;min-height:42px}.mfc-ux-top{inset-inline-end:10px;bottom:max(12px,env(safe-area-inset-bottom))}.mfc-ux-theme{min-height:44px;font-size:16px}#mfc-tool-search{font-size:16px}.mfc-ux-link{min-height:44px}}
html[data-mfc-theme=dark]{color-scheme:dark;--bg-page:#0b1220;--bg-surface:#172235;--bg-subtle:#111c2e;--border-soft:#344258;--border-strong:#52617a;--text-main:#e5edf9;--text-muted:#c1cde0;--text-faint:#a7b6cd;--accent-blue:#83b4ff;--accent-blue-hover:#a9ccff;--accent-teal:#75b449;--accent-green:#276f32;--shadow-card:0 2px 10px #0003;--shadow-hover:0 8px 24px #0005}
html[data-mfc-theme=dark] body{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22520%22%20height%3D%22520%22%20viewBox%3D%220%200%20520%20520%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.line%20%7B%20fill%3A%20none%3B%20stroke%3A%20%2394a3b8%3B%20stroke-opacity%3A0.36%3B%20stroke-width%3A2.0%3B%20stroke-linecap%3A%20round%3B%20stroke-linejoin%3A%20round%3B%20%7D%20.line-blue%20%7B%20fill%3A%20none%3B%20stroke%3A%20%2383b4ff%3B%20stroke-opacity%3A0.36%3B%20stroke-width%3A2.0%3B%20stroke-linecap%3A%20round%3B%20stroke-linejoin%3A%20round%3B%20%7D%20.line-teal%20%7B%20fill%3A%20none%3B%20stroke%3A%20%2375b449%3B%20stroke-opacity%3A0.36%3B%20stroke-width%3A2.0%3B%20stroke-linecap%3A%20round%3B%20stroke-linejoin%3A%20round%3B%20%7D%20.tag%20%7B%20font-family%3A%20%22Inter%22%2C%20system-ui%2C%20-apple-system%2C%20sans-serif%3B%20font-weight%3A%20800%3B%20fill%3A%20%23cbd5e1%3B%20fill-opacity%3A0.39%3B%20letter-spacing%3A%200.04em%3B%20%7D%20.tag-blue%20%7B%20font-family%3A%20%22Inter%22%2C%20system-ui%2C%20-apple-system%2C%20sans-serif%3B%20font-weight%3A%20800%3B%20fill%3A%20%2383b4ff%3B%20fill-opacity%3A0.39%3B%20letter-spacing%3A%200.04em%3B%20%7D%20.tag-teal%20%7B%20font-family%3A%20%22Inter%22%2C%20system-ui%2C%20-apple-system%2C%20sans-serif%3B%20font-weight%3A%20800%3B%20fill%3A%20%2375b449%3B%20fill-opacity%3A0.39%3B%20letter-spacing%3A%200.04em%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3C%21--%20PDF%20Icon%20--%3E%20%3Cg%20transform%3D%22translate%2824%2C28%29%22%3E%20%3Cpath%20class%3D%22line-blue%22%20d%3D%22M8%202%20H34%20L46%2014%20V52%20A4%204%200%200%201%2042%2056%20H8%20A4%204%200%200%201%204%2052%20V6%20A4%204%200%200%201%208%202%20Z%22%2F%3E%20%3Cpolyline%20class%3D%22line-blue%22%20points%3D%2234%202%2034%2014%2046%2014%22%2F%3E%20%3Ctext%20x%3D%2212%22%20y%3D%2234%22%20font-size%3D%2211.5%22%20class%3D%22tag-blue%22%3EPDF%3C%2Ftext%3E%20%3Cline%20class%3D%22line-blue%22%20x1%3D%2212%22%20y1%3D%2243%22%20x2%3D%2238%22%20y2%3D%2243%22%2F%3E%20%3C%2Fg%3E%20%3C%21--%20MP3%20Audio%20Icon%20--%3E%20%3Cg%20transform%3D%22translate%28151%2C37%29%22%3E%20%3Crect%20class%3D%22line-teal%22%20x%3D%222%22%20y%3D%222%22%20width%3D%2254%22%20height%3D%2250%22%20rx%3D%2210%22%2F%3E%20%3Ccircle%20class%3D%22line-teal%22%20cx%3D%2219%22%20cy%3D%2236%22%20r%3D%225.5%22%2F%3E%20%3Ccircle%20class%3D%22line-teal%22%20cx%3D%2239%22%20cy%3D%2232%22%20r%3D%225.5%22%2F%3E%20%3Cpolyline%20class%3D%22line-teal%22%20points%3D%2224.5%2036%2024.5%2017%2044.5%2013%2044.5%2032%22%2F%3E%20%3Ctext%20x%3D%2211%22%20y%3D%2266%22%20font-size%3D%2210.5%22%20class%3D%22tag-teal%22%3EMP3%3C%2Ftext%3E%20%3C%2Fg%3E%20%3C%21--%20MP4%20Video%20Icon%20--%3E%20%3Cg%20transform%3D%22translate%28280%2C27%29%22%3E%20%3Crect%20class%3D%22line-blue%22%20x%3D%222%22%20y%3D%228%22%20width%3D%2256%22%20height%3D%2242%22%20rx%3D%227%22%2F%3E%20%3Cline%20class%3D%22line-blue%22%20x1%3D%222%22%20y1%3D%2219%22%20x2%3D%2258%22%20y2%3D%2219%22%2F%3E%20%3Cline%20class%3D%22line-blue%22%20x1%3D%2215%22%20y1%3D%228%22%20x2%3D%2221%22%20y2%3D%2219%22%2F%3E%20%3Cline%20class%3D%22line-blue%22%20x1%3D%2233%22%20y1%3D%228%22%20x2%3D%2239%22%20y2%3D%2219%22%2F%3E%20%3Cpolygon%20class%3D%22line-blue%22%20points%3D%2225%2027%2025%2042%2039%2034.5%22%2F%3E%20%3Ctext%20x%3D%2216%22%20y%3D%2264%22%20font-size%3D%2210.5%22%20class%3D%22tag-blue%22%3EMP4%3C%2Ftext%3E%20%3C%2Fg%3E%20%3C%21--%20Image%20Icon%20--%3E%20%3Cg%20transform%3D%22translate%2824%2C154%29%22%3E%20%3Crect%20class%3D%22line%22%20x%3D%222%22%20y%3D%224%22%20width%3D%2254%22%20height%3D%2244%22%20rx%3D%228%22%2F%3E%20%3Ccircle%20class%3D%22line%22%20cx%3D%2217%22%20cy%3D%2217%22%20r%3D%224.5%22%2F%3E%20%3Cpolyline%20class%3D%22line%22%20points%3D%226%2042%2022%2025%2033%2036%2041%2028%2052%2042%22%2F%3E%20%3Ctext%20x%3D%2211%22%20y%3D%2262%22%20font-size%3D%2210%22%20class%3D%22tag%22%3EIMG%3C%2Ftext%3E%20%3C%2Fg%3E%20%3C%21--%2020-Language%20%2F%20Local%20Browser%20Globe%20--%3E%20%3Cg%20transform%3D%22translate%28151%2C151%29%22%3E%20%3Ccircle%20class%3D%22line-teal%22%20cx%3D%2232%22%20cy%3D%2232%22%20r%3D%2224%22%2F%3E%20%3Cellipse%20class%3D%22line-teal%22%20cx%3D%2232%22%20cy%3D%2232%22%20rx%3D%2211%22%20ry%3D%2224%22%2F%3E%20%3Cline%20class%3D%22line-teal%22%20x1%3D%228%22%20y1%3D%2232%22%20x2%3D%2256%22%20y2%3D%2232%22%2F%3E%20%3Cpath%20class%3D%22line-blue%22%20d%3D%22M10%2014%20A28%2028%200%200%201%2046%208%22%2F%3E%20%3Cpath%20class%3D%22line-blue%22%20d%3D%22M54%2050%20A28%2028%200%200%201%2018%2056%22%2F%3E%20%3Ctext%20x%3D%2211%22%20y%3D%2272%22%20font-size%3D%229.5%22%20class%3D%22tag-teal%22%3E20%20LANG%3C%2Ftext%3E%20%3C%2Fg%3E%20%3C%21--%20ZIP%20Archive%20Icon%20--%3E%20%3Cg%20transform%3D%22translate%28280%2C157%29%22%3E%20%3Cpath%20class%3D%22line%22%20d%3D%22M6%206%20H24%20L29%2012%20H52%20A4%204%200%200%201%2056%2016%20V46%20A4%204%200%200%201%2052%2050%20H6%20A4%204%200%200%201%202%2046%20V10%20A4%204%200%200%201%206%206%20Z%22%2F%3E%20%3Cline%20class%3D%22line%22%20x1%3D%2229%22%20y1%3D%2214%22%20x2%3D%2229%22%20y2%3D%2246%22%2F%3E%20%3Crect%20class%3D%22line%22%20x%3D%2225%22%20y%3D%2220%22%20width%3D%228%22%20height%3D%226%22%20rx%3D%221.5%22%2F%3E%20%3Crect%20class%3D%22line%22%20x%3D%2225%22%20y%3D%2230%22%20width%3D%228%22%20height%3D%226%22%20rx%3D%221.5%22%2F%3E%20%3Ctext%20x%3D%2218%22%20y%3D%2264%22%20font-size%3D%2210%22%20class%3D%22tag%22%3EZIP%3C%2Ftext%3E%20%3C%2Fg%3E%20%3C%21--%20DOC%20%2F%20CSV%20%2F%20JSON%20Icon%20--%3E%20%3Cg%20transform%3D%22translate%2824%2C282%29%22%3E%20%3Crect%20class%3D%22line-blue%22%20x%3D%222%22%20y%3D%222%22%20width%3D%2254%22%20height%3D%2248%22%20rx%3D%228%22%2F%3E%20%3Cpolyline%20class%3D%22line-blue%22%20points%3D%2220%2017%2012%2026%2020%2035%22%2F%3E%20%3Cpolyline%20class%3D%22line-blue%22%20points%3D%2238%2017%2046%2026%2038%2035%22%2F%3E%20%3Cline%20class%3D%22line-blue%22%20x1%3D%2232%22%20y1%3D%2215%22%20x2%3D%2226%22%20y2%3D%2237%22%2F%3E%20%3Ctext%20x%3D%226%22%20y%3D%2264%22%20font-size%3D%229.5%22%20class%3D%22tag-blue%22%3EDOC%20%C2%B7%20CSV%3C%2Ftext%3E%20%3C%2Fg%3E%20%3C%21--%20Bidirectional%20Convert%20Arrows%20--%3E%20%3Cg%20transform%3D%22translate%28151%2C286%29%22%3E%20%3Cpath%20class%3D%22line-teal%22%20d%3D%22M10%2018%20H44%20L37%2011%22%2F%3E%20%3Cpath%20class%3D%22line-teal%22%20d%3D%22M46%2034%20H12%20L19%2041%22%2F%3E%20%3Ctext%20x%3D%226%22%20y%3D%2258%22%20font-size%3D%229.5%22%20class%3D%22tag-teal%22%3ECONVERT%3C%2Ftext%3E%20%3C%2Fg%3E%20%3C%21--%20PNG%20Layers%20Icon%20--%3E%20%3Cg%20transform%3D%22translate%28280%2C282%29%22%3E%20%3Cpolygon%20class%3D%22line-blue%22%20points%3D%2228%204%2052%2016%2028%2028%204%2016%22%2F%3E%20%3Cpolyline%20class%3D%22line-blue%22%20points%3D%224%2026%2028%2038%2052%2026%22%2F%3E%20%3Cpolyline%20class%3D%22line-blue%22%20points%3D%224%2036%2028%2048%2052%2036%22%2F%3E%20%3Ctext%20x%3D%2215%22%20y%3D%2262%22%20font-size%3D%2210%22%20class%3D%22tag-blue%22%3EPNG%3C%2Ftext%3E%20%3C%2Fg%3E%20%3C%21--%20Subtle%20Floating%20Accents%20--%3E%20%3Ccircle%20cx%3D%22109%22%20cy%3D%22111%22%20r%3D%222.2%22%20fill%3D%22%2383b4ff%22%20fill-opacity%3D%220.15%22%2F%3E%20%3Ccircle%20cx%3D%22240%22%20cy%3D%22116%22%20r%3D%222.2%22%20fill%3D%22%2375b449%22%20fill-opacity%3D%220.15%22%2F%3E%20%3Ccircle%20cx%3D%22370%22%20cy%3D%22237%22%20r%3D%222.2%22%20fill%3D%22%2375b449%22%20fill-opacity%3D%220.15%22%2F%3E%20%3Ccircle%20cx%3D%22109%22%20cy%3D%22368%22%20r%3D%222.2%22%20fill%3D%22%2383b4ff%22%20fill-opacity%3D%220.15%22%2F%3E%20%3Ccircle%20cx%3D%22240%22%20cy%3D%22375%22%20r%3D%222.2%22%20fill%3D%22%2383b4ff%22%20fill-opacity%3D%220.14%22%2F%3E%20%3Ccircle%20cx%3D%22370%22%20cy%3D%22499%22%20r%3D%222.2%22%20fill%3D%22%2375b449%22%20fill-opacity%3D%220.14%22%2F%3E%20%3C%21--%20Tools%20count%20icon%20--%3E%20%3Cg%20transform%3D%22translate%2824%2C427%29%22%3E%20%3Crect%20class%3D%22line-blue%22%20style%3D%22stroke-opacity%3A0.36%3Bstroke-width%3A2.0%22%20x%3D%228%22%20y%3D%222%22%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%2F%3E%20%3Crect%20class%3D%22line-blue%22%20style%3D%22stroke-opacity%3A0.36%3Bstroke-width%3A2.0%22%20x%3D%2232%22%20y%3D%222%22%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%2F%3E%20%3Crect%20class%3D%22line-blue%22%20style%3D%22stroke-opacity%3A0.36%3Bstroke-width%3A2.0%22%20x%3D%228%22%20y%3D%2226%22%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%2F%3E%20%3Crect%20class%3D%22line-blue%22%20style%3D%22stroke-opacity%3A0.36%3Bstroke-width%3A2.0%22%20x%3D%2232%22%20y%3D%2226%22%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%2F%3E%20%3Cpath%20class%3D%22line-blue%22%20style%3D%22stroke-opacity%3A0.36%3Bstroke-width%3A2.0%22%20d%3D%22M42%2031%20V41%20M37%2036%20H47%22%2F%3E%20%3Ctext%20x%3D%2230%22%20y%3D%2262%22%20font-size%3D%2210.5%22%20text-anchor%3D%22middle%22%20class%3D%22tag-blue%22%20style%3D%22fill-opacity%3A0.39%22%3E180%2B%20TOOLS%3C%2Ftext%3E%20%3C%2Fg%3E%20%3Cg%20transform%3D%22translate%28412%2C28%29%22%3E%3Cpath%20class%3D%22line%22%20d%3D%22M8%202%20H34%20L46%2014%20V52%20A4%204%200%200%201%2042%2056%20H8%20A4%204%200%200%201%204%2052%20V6%20A4%204%200%200%201%208%202%20Z%22%2F%3E%3Cpolyline%20class%3D%22line%22%20points%3D%2234%202%2034%2014%2046%2014%22%2F%3E%3Ccircle%20class%3D%22line%22%20cx%3D%2217%22%20cy%3D%2225%22%20r%3D%223.5%22%2F%3E%3Cpolyline%20class%3D%22line%22%20points%3D%2210%2044%2021%2033%2028%2040%2034%2034%2040%2044%22%2F%3E%3Ctext%20x%3D%2225%22%20y%3D%2270%22%20font-size%3D%2210.5%22%20text-anchor%3D%22middle%22%20class%3D%22tag%22%3EJPG%3C%2Ftext%3E%3C%2Fg%3E%20%3Cg%20transform%3D%22translate%28412%2C151%29%22%3E%3Crect%20class%3D%22line-blue%22%20x%3D%222%22%20y%3D%224%22%20width%3D%2254%22%20height%3D%2244%22%20rx%3D%228%22%2F%3E%3Ccircle%20class%3D%22line-blue%22%20cx%3D%2217%22%20cy%3D%2217%22%20r%3D%224.5%22%2F%3E%3Cpolyline%20class%3D%22line-blue%22%20points%3D%226%2042%2022%2025%2033%2036%2041%2028%2052%2042%22%2F%3E%3Ctext%20x%3D%2229%22%20y%3D%2265%22%20font-size%3D%2210.5%22%20text-anchor%3D%22middle%22%20class%3D%22tag-blue%22%3EJPEG%3C%2Ftext%3E%3C%2Fg%3E%20%3Cg%20transform%3D%22translate%28412%2C282%29%22%3E%3Crect%20class%3D%22line-teal%22%20x%3D%224%22%20y%3D%2212%22%20width%3D%2246%22%20height%3D%2242%22%20rx%3D%225%22%2F%3E%3Cpath%20class%3D%22line-teal%22%20d%3D%22M12%2012%20V5%20H52%20Q58%205%2058%2011%20V44%20H50%22%2F%3E%3Cpath%20class%3D%22line-teal%22%20d%3D%22M11%2044%2022%2030%2030%2039%2035%2034%2043%2044%22%2F%3E%3Ccircle%20class%3D%22line-teal%22%20cx%3D%2217%22%20cy%3D%2224%22%20r%3D%223%22%2F%3E%3Ctext%20x%3D%2230%22%20y%3D%2269%22%20font-size%3D%2210.5%22%20text-anchor%3D%22middle%22%20class%3D%22tag-teal%22%3ETIFF%3C%2Ftext%3E%3C%2Fg%3E%20%3Cg%20transform%3D%22translate%28151%2C414%29%22%3E%3Crect%20class%3D%22line-blue%22%20x%3D%222%22%20y%3D%222%22%20width%3D%2256%22%20height%3D%2250%22%20rx%3D%228%22%2F%3E%3Cpolygon%20class%3D%22line-blue%22%20points%3D%2230%2010%2050%2020%2030%2030%2010%2020%22%2F%3E%3Cpolyline%20class%3D%22line-blue%22%20points%3D%2210%2029%2030%2039%2050%2029%22%2F%3E%3Cpolyline%20class%3D%22line-blue%22%20points%3D%2210%2038%2030%2048%2050%2038%22%2F%3E%3Ctext%20x%3D%2230%22%20y%3D%2267%22%20font-size%3D%2210.5%22%20text-anchor%3D%22middle%22%20class%3D%22tag-blue%22%3EPSD%3C%2Ftext%3E%3C%2Fg%3E%20%3Cg%20transform%3D%22translate%28280%2C421%29%22%3E%3Crect%20class%3D%22line-teal%22%20x%3D%222%22%20y%3D%222%22%20width%3D%2254%22%20height%3D%2250%22%20rx%3D%228%22%2F%3E%3Cpath%20class%3D%22line-teal%22%20d%3D%22M16%2039%2029%2013%2043%2039%20M21%2030%20H37%22%2F%3E%3Ccircle%20class%3D%22line-teal%22%20cx%3D%2229%22%20cy%3D%2213%22%20r%3D%222%22%2F%3E%3Ctext%20x%3D%2229%22%20y%3D%2265%22%20font-size%3D%2210.5%22%20text-anchor%3D%22middle%22%20class%3D%22tag-teal%22%3EAI%3C%2Ftext%3E%3C%2Fg%3E%20%3Cg%20transform%3D%22translate%28412%2C414%29%22%3E%3Cpath%20class%3D%22line%22%20d%3D%22M8%202%20H34%20L46%2014%20V52%20A4%204%200%200%201%2042%2056%20H8%20A4%204%200%200%201%204%2052%20V6%20A4%204%200%200%201%208%202%20Z%22%2F%3E%3Cpolyline%20class%3D%22line%22%20points%3D%2234%202%2034%2014%2046%2014%22%2F%3E%3Cpath%20class%3D%22line%22%20d%3D%22M12%2027%20H38%20M12%2035%20H38%20M12%2043%20H30%22%2F%3E%3Ctext%20x%3D%2225%22%20y%3D%2270%22%20font-size%3D%2210.5%22%20text-anchor%3D%22middle%22%20class%3D%22tag%22%3EUDF%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
html[data-mfc-theme=dark] :is(.brand-wordmark,.footer-brand-name){color:var(--text-main)}
html[data-mfc-theme=dark] :is(.brand-logo-svg,.footer-logo-svg){background:#f8fafc;border-radius:7px;padding:2px}
html[data-mfc-theme=dark] :is(.about-toggle,.pill-badge,.drop-area:hover,.drop-area.dragover,.mfc-side-left a:hover,.mfc-side-left a[aria-current=page]){background:#213c61;color:#bfdbfe;border-color:#5279a5}
html[data-mfc-theme=dark] :is(.nav-link:hover,.preview-text,.preview-foot,.mini-dl-btn,.media-field input[type=file],.media-status,.mfc-ext-card,.file-chip,.btn-soft,.mfc-corp-card,.mfc-guide-card,.header-tool-select,.ctrl-input,.ctrl-select,#mfc-search-wrap){background:var(--bg-subtle);color:var(--text-main);border-color:var(--border-strong)}
html[data-mfc-theme=dark] :is(.btn-primary,.cat-btn.active){background:#2563eb;color:#fff}html[data-mfc-theme=dark] .btn-primary:hover:not(:disabled){background:#1d4ed8}
html[data-mfc-theme=dark] .lang-btn.active{background:#dbeafe;color:#10203b;border-color:#dbeafe}
html[data-mfc-theme=dark] .free-banner{background:#19321b;color:#b7d6ba;border-color:#356b3f}
html[data-mfc-theme=dark] .mfc-free-message svg{color:#6ee7b7}
html[data-mfc-theme=dark] .status-ok{color:#75b449}html[data-mfc-theme=dark] .status-err{color:#fca5a5}
html[data-mfc-theme=dark] .mfc-ux-btn[aria-pressed=true]{color:#a9ccff}html[data-mfc-theme=dark] :is(.mfc-ux-star,.mfc-ux-favorite)[aria-pressed=true]{color:#fde68a}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Compact language picker; shared by all routes and theme modes. */
.mfc-header-preferences{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.mfc-header-preferences .mfc-ux-toolbar{margin:0;flex:0 1 auto;min-width:0}
.mfc-header-preferences .lang-bar{padding:0;flex:0 0 auto;justify-content:flex-end}
.mfc-language{position:relative;line-height:1.35;color:var(--text-main)}
.mfc-language-toggle{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;list-style:none;min-height:40px;padding:7px 12px;border:1px solid var(--border-soft);border-radius:9px;background:var(--bg-surface);font-weight:650;font-size:.9rem;box-sizing:border-box}
.mfc-language-toggle::-webkit-details-marker{display:none}.mfc-language-toggle::marker{content:''}
.mfc-language-toggle svg{width:19px;height:19px;flex:none;color:var(--text-muted)}.mfc-language-toggle .mfc-language-chevron{width:15px;height:15px}
.mfc-language[open] .mfc-language-chevron{transform:rotate(180deg)}
.mfc-language-toggle:hover{border-color:var(--border-strong)}.mfc-language-toggle:focus-visible,.mfc-language .lang-btn:focus-visible{outline:2px solid var(--accent-blue);outline-offset:2px}
.mfc-language-list{position:absolute;inset-inline-end:0;top:calc(100% + 7px);z-index:70;width:min(260px,calc(100vw - 48px));max-height:min(360px,48vh);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid var(--border-soft);border-radius:12px;background:var(--bg-surface);box-shadow:0 12px 36px rgba(0,0,0,.16);box-sizing:border-box}
.mfc-language:not([open])>.mfc-language-list{display:none}
.mfc-language .lang-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;text-align:start;padding:8px 10px;margin:0;background:transparent;color:var(--text-main);border:1px solid transparent;border-radius:7px;font-size:.9rem;font-weight:500;box-sizing:border-box}
.mfc-language .lang-btn:hover{background:var(--bg-subtle);color:var(--text-main)}
.mfc-language .lang-btn.active{background:var(--bg-subtle);color:var(--text-main);border-color:var(--border-soft);font-weight:650}
html[data-mfc-theme=dark] .mfc-language .lang-btn.active{background:#213c61;color:#e5edf9;border-color:#5279a5}
.mfc-language-flag{width:24px;height:18px;flex:none;background:url('mfc-language-flags.png') no-repeat;background-size:24px 360px;border-radius:3px}
.mfc-language-name{flex:1;min-width:0;overflow-wrap:anywhere}.mfc-language-check{visibility:hidden;color:var(--accent-blue);font-weight:700}.mfc-language-option.active .mfc-language-check{visibility:visible}html[data-mfc-theme=dark] .mfc-language-check{color:#93c5fd}
@media(max-width:640px){.mfc-header-preferences{gap:8px;justify-content:flex-end}.mfc-header-preferences .mfc-ux-toolbar{flex:1 1 auto;justify-content:flex-start}.mfc-language-toggle,.mfc-language .lang-btn{min-height:44px}.mfc-language-toggle{font-size:16px}.mfc-language-list{max-height:min(360px,48vh)}}

.mfc-header-preferences .lang-bar{position:relative}.mfc-language-status:not([hidden]){position:absolute;inset-inline-end:0;top:calc(100% + 7px);z-index:71;width:min(260px,calc(100vw - 48px));padding:10px;background:var(--bg-surface);color:var(--text-main);border:1px solid var(--border-soft);border-radius:8px;font-size:.8rem;box-shadow:0 8px 20px rgba(0,0,0,.12);box-sizing:border-box}

/* v1.8.6.4: two file-selection modes; original patterned page background retained. */
:is(.site-header,.panel,.tool-card){background-color:var(--bg-surface);background-image:none;}
.brand-tagline{margin:0;}
.mfc-seo-summary{font-weight:600;margin:0;}
.mfc-file-choose{justify-self:center;min-height:44px;}
.mfc-drag-hint{font-size:.86rem;color:var(--text-muted);margin:4px 0;line-height:1.45;}
.mfc-media-drop{padding:14px;text-align:start;display:grid;gap:8px;min-width:0;cursor:default;}
.mfc-media-drop input[type=file]{width:100%;max-width:100%;min-width:0;cursor:pointer;}
.mfc-media-drop input[type=file]::file-selector-button,#v15-file::file-selector-button{background:#2563eb;color:#fff;border:0;border-radius:8px;padding:8px 12px;font:inherit;cursor:pointer;}
.mfc-drop-error{font-size:.84rem;color:#b91c1c;}
html[data-mfc-theme=dark] .mfc-drop-error{color:#fca5a5;}
.mfc-rights-note{font-size:.8rem;color:var(--text-muted);margin:4px 0 0;line-height:1.5;}

/* v1.8.7.4: opaque, edge-to-edge sticky masthead. Content grid is unchanged. */
.site-header.mfc-global-header{display:block;width:100%;max-width:none;margin:0;padding:0;border:0;border-bottom:1px solid #d6e0ee;border-radius:0 0 16px 16px;box-shadow:0 4px 16px rgba(15,23,42,.09);position:sticky;top:0;z-index:80;background:#fff;isolation:isolate;overflow:visible}
html[data-mfc-theme=dark] .site-header.mfc-global-header{background:#172235;border-bottom-color:var(--border-soft);box-shadow:0 4px 16px #0004}
/* Keep anchor destinations and keyboard-focused content clear of the sticky bar. */
html{scroll-padding-top:var(--mfc-header-offset,96px)}
.site-header.mfc-global-header.mfc-header-static{position:relative}

.mfc-header-inner{max-width:1920px;min-height:86px;margin-inline:auto;padding:12px clamp(14px,2.8vw,46px);display:flex;align-items:center;gap:clamp(12px,1.5vw,24px);flex-wrap:wrap;min-width:0}
.mfc-global-header .brand-row{flex:0 0 auto;min-width:0;gap:0;padding-inline-end:clamp(10px,1.5vw,24px);border-inline-end:1px solid var(--border-soft)}
.mfc-global-header .brand-lockup{gap:8px;white-space:nowrap}
.mfc-global-header .brand-logo-svg{width:44px;height:44px}
.mfc-global-header .brand-wordmark{font-size:clamp(1.1rem,1.65vw,1.62rem);line-height:1.2}
.mfc-global-header .brand-title-group{gap:0;flex-wrap:nowrap}
.mfc-global-header .nav-strip{padding:0;border:0;flex:1 1 auto;justify-content:flex-start;min-width:0}
.mfc-global-header .nav-links{gap:3px;align-items:center;min-width:0}
.mfc-global-header .nav-link{padding:10px 11px;background:transparent;color:var(--text-main);font-size:.9rem;font-weight:550;line-height:1.35;white-space:nowrap}
.mfc-global-header .nav-link:hover{background:var(--bg-subtle);color:var(--accent-blue);border-color:var(--border-soft)}
.mfc-global-header .nav-link[aria-current=page]{background:#e8f1ff;border-color:transparent;color:#1d4ed8}
html[data-mfc-theme=dark] .mfc-global-header .nav-link[aria-current=page]{background:#213c61;color:#a9ccff}
.mfc-header-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 1 auto;min-width:0;gap:9px;padding-inline-start:clamp(10px,1.5vw,24px);border-inline-start:1px solid var(--border-soft)}
.mfc-global-header .mfc-header-preferences{flex-wrap:nowrap;gap:9px}
.mfc-global-header .mfc-ux-toolbar{flex-wrap:nowrap;gap:5px;justify-content:flex-end;margin:0}
.mfc-global-header .mfc-ux-toolbar label{font-size:.78rem;white-space:nowrap}
.mfc-global-header .mfc-ux-theme{max-width:112px;min-width:78px;min-height:40px;padding:6px 7px;font-size:.82rem}
.mfc-global-header .header-tool-select{width:145px;max-width:100%;min-height:40px;padding:6px 8px;font-size:.82rem}
.mfc-global-header .mfc-language-toggle{min-height:40px}
.mfc-global-header :is(.mfc-language-toggle,.mfc-ux-theme,.header-tool-select){border:1px solid var(--border-strong);border-radius:7px;background-color:var(--bg-surface);box-shadow:0 1px 3px rgba(15,23,42,.04)}
.mfc-global-header .mfc-language-list{z-index:100}
.mfc-global-header :is(a,select,summary):focus-visible{outline:2px solid var(--accent-blue);outline-offset:2px}
/* Keep the original patterned background, side panels, card grid and free banner. */
.mfc-intro{display:grid;gap:9px;justify-items:center;min-width:0;text-align:center;padding:16px 12px 5px}
.mfc-intro .brand-tagline{font-size:clamp(1.5rem,2.65vw,2.55rem);line-height:1.2;font-weight:800;letter-spacing:-.025em;color:var(--text-main);max-width:100%;overflow-wrap:anywhere}
.mfc-intro .header-sub{max-width:72ch;line-height:1.55;overflow-wrap:anywhere}
.mfc-intro #ui-sub{font-size:.95rem}
.mfc-intro .mfc-seo-summary{font-size:1rem}
.mfc-intro .about-box{text-align:start;justify-self:stretch;background:var(--bg-surface)}
.mfc-intro .mfc-ux-favorite{font-size:.82rem;display:inline-flex;align-items:center;gap:6px}
body:not([data-route=home]) .mfc-intro{padding:4px 8px;gap:6px}
body:not([data-route=home]) .mfc-intro .brand-tagline{font-size:1.15rem;letter-spacing:0;font-weight:700}
@media(max-width:1350px){.mfc-header-inner{min-height:74px;padding-inline:clamp(12px,1.5vw,24px);column-gap:12px}.mfc-global-header .nav-link{padding-inline:7px;font-size:.83rem}.mfc-header-actions{padding-inline-start:12px}.mfc-global-header .mfc-ux-toolbar label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
@media(max-width:1100px){.mfc-header-inner{min-height:0;gap:8px 16px}.mfc-global-header .brand-row{border:0;padding:0}.mfc-global-header .nav-strip{order:3;flex:1 0 100%;padding-top:8px;border-top:1px solid var(--border-soft)}.mfc-header-actions{margin-inline-start:auto;padding:0;border:0}.mfc-global-header .nav-link{padding-inline:10px}}
@media(max-width:620px){.mfc-header-inner{padding:10px 12px;gap:10px}.mfc-global-header .brand-row{flex:1 0 100%}.mfc-global-header .brand-logo-svg{width:36px;height:36px}.mfc-global-header .brand-wordmark{font-size:1.2rem}.mfc-header-actions{flex:1 1 100%;margin:0;justify-content:flex-start;flex-wrap:wrap;gap:8px}.mfc-global-header .mfc-header-preferences{flex:0 1 auto}.mfc-global-header .mfc-ux-toolbar{flex:0 1 auto}.mfc-global-header .mfc-ux-theme,.mfc-global-header .header-tool-select,.mfc-global-header .mfc-language-toggle{min-height:44px;font-size:16px}.mfc-global-header .header-tool-select{width:132px;flex:1 1 112px;min-width:0}.mfc-global-header .mfc-ux-theme{max-width:94px}.mfc-global-header .nav-links{gap:3px;flex-wrap:wrap}.mfc-global-header .nav-link{font-size:.82rem;padding:10px 8px;min-height:40px}.mfc-global-header .mfc-language-list{inset-inline-start:0;inset-inline-end:auto;width:min(260px,calc(100vw - 32px))}.mfc-intro{padding:6px 3px 4px}.mfc-intro .brand-tagline{font-size:1.65rem}.mfc-intro #ui-sub{font-size:.86rem}}
/* Give the introductory text an opaque, borderless reading surface without changing the theme or patterned backdrop. */
.mfc-intro{background:var(--bg-page);border-radius:var(--radius-lg);padding:16px 16px 12px}
body:not([data-route=home]) .mfc-intro{padding:10px 12px}
@media(max-width:620px){.mfc-intro{padding:12px 9px}}

/* The header must not cover most of a short/mobile viewport when scripts are unavailable. */
@media(max-height:440px){.site-header.mfc-global-header{position:relative}html{scroll-padding-top:0}}

/* v1.8.7.5: clean intro card and complete, non-overlapping original pattern icons. */
body{position:relative;isolation:isolate;}
body.mfc-pattern-ready,html[data-mfc-theme=dark] body.mfc-pattern-ready{background-image:none;}
.mfc-pattern-svg{position:absolute;left:0;display:block;width:100%;max-width:100%;pointer-events:none;z-index:-1;overflow:hidden;}
body[data-route=home] .mfc-layout{padding-top:94px;}
body[data-route=home] .mfc-layout>.page-shell{padding-top:0;}
body[data-route=home] .mfc-side{margin-top:0;}
.mfc-intro{background:var(--bg-surface);border:1px solid var(--border-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:22px 24px 18px;gap:8px;}
body[data-route=home] .mfc-intro .brand-tagline{font-size:clamp(1.5rem,2.25vw,2.12rem);line-height:1.24;letter-spacing:-.025em;font-weight:750;text-wrap:balance;}
body[data-route=home] .mfc-intro .mfc-seo-summary{color:var(--accent-blue);font-size:.98rem;font-weight:650;}
body[data-route=home] .mfc-intro #ui-sub{font-size:.88rem;line-height:1.55;max-width:76ch;}
.mfc-intro .about-toggle{margin-top:3px;font-size:.78rem;}
body:not([data-route=home]) .mfc-intro{padding:12px 16px;}
@media(max-width:1023px){body[data-route=home] .mfc-layout{padding-top:76px;}}
@media(max-width:620px){.mfc-intro{padding:17px 13px 14px;}body[data-route=home] .mfc-intro .brand-tagline{font-size:clamp(1.35rem,5.2vw,1.65rem);}body[data-route=home] .mfc-intro .mfc-seo-summary{font-size:.9rem;}body[data-route=home] .mfc-intro #ui-sub{font-size:.83rem;}body[data-route=home] .mfc-layout{padding-top:70px;}}
 .mfc-pattern-svg .line { fill: none; stroke: #64748b; stroke-opacity:0.36; stroke-width:2.0; stroke-linecap: round; stroke-linejoin: round; } .mfc-pattern-svg .line-blue { fill: none; stroke: #2563eb; stroke-opacity:0.36; stroke-width:2.0; stroke-linecap: round; stroke-linejoin: round; } .mfc-pattern-svg .line-teal { fill: none; stroke: #2c873a; stroke-opacity:0.36; stroke-width:2.0; stroke-linecap: round; stroke-linejoin: round; } .mfc-pattern-svg .tag { font-family: "Inter", system-ui, -apple-system, sans-serif; font-weight: 800; fill: #475569; fill-opacity:0.39; letter-spacing: 0.04em; } .mfc-pattern-svg .tag-blue { font-family: "Inter", system-ui, -apple-system, sans-serif; font-weight: 800; fill: #2563eb; fill-opacity:0.39; letter-spacing: 0.04em; } .mfc-pattern-svg .tag-teal { font-family: "Inter", system-ui, -apple-system, sans-serif; font-weight: 800; fill: #2c873a; fill-opacity:0.39; letter-spacing: 0.04em; } 
 html[data-mfc-theme=dark] .mfc-pattern-svg .line { fill: none; stroke: #94a3b8; stroke-opacity:0.36; stroke-width:2.0; stroke-linecap: round; stroke-linejoin: round; } html[data-mfc-theme=dark] .mfc-pattern-svg .line-blue { fill: none; stroke: #83b4ff; stroke-opacity:0.36; stroke-width:2.0; stroke-linecap: round; stroke-linejoin: round; } html[data-mfc-theme=dark] .mfc-pattern-svg .line-teal { fill: none; stroke: #75b449; stroke-opacity:0.36; stroke-width:2.0; stroke-linecap: round; stroke-linejoin: round; } html[data-mfc-theme=dark] .mfc-pattern-svg .tag { font-family: "Inter", system-ui, -apple-system, sans-serif; font-weight: 800; fill: #cbd5e1; fill-opacity:0.39; letter-spacing: 0.04em; } html[data-mfc-theme=dark] .mfc-pattern-svg .tag-blue { font-family: "Inter", system-ui, -apple-system, sans-serif; font-weight: 800; fill: #83b4ff; fill-opacity:0.39; letter-spacing: 0.04em; } html[data-mfc-theme=dark] .mfc-pattern-svg .tag-teal { font-family: "Inter", system-ui, -apple-system, sans-serif; font-weight: 800; fill: #75b449; fill-opacity:0.39; letter-spacing: 0.04em; } 

.mfc-pattern-svg{--mfc-pattern-neutral:#64748b;--mfc-pattern-tag:#475569;--mfc-pattern-blue:#2563eb;--mfc-pattern-teal:#2c873a;}
html[data-mfc-theme=dark] .mfc-pattern-svg{--mfc-pattern-neutral:#94a3b8;--mfc-pattern-tag:#cbd5e1;--mfc-pattern-blue:#83b4ff;--mfc-pattern-teal:#75b449;}

.mfc-language a.lang-btn{text-decoration:none;}

/* v1.8.9.20: focus visibility and small-screen file controls; existing palette/layout retained. */
:where(button,a[href],input,select,textarea,summary):focus-visible{outline:2px solid var(--accent-blue,#2563eb);outline-offset:3px}
@media(max-width:620px){
  .mfc-global-header .mfc-header-preferences{max-width:100%;flex-wrap:wrap}
  .mfc-global-header .mfc-ux-toolbar{max-width:100%;flex-wrap:wrap}
  .mfc-global-header .mfc-language-toggle{max-width:100%;white-space:normal}
  .mfc-global-header .mfc-language-list{max-height:min(360px,40vh);overscroll-behavior:contain}
  .media-field,.media-field input[type=file],.preview-foot,.preview-name,.file-chip{min-width:0;max-width:100%}
  .preview-name,.file-chip{overflow-wrap:anywhere}
  .media-field input[type=file]{box-sizing:border-box}
  :is(.ctrl-input,.ctrl-select,textarea){max-width:100%;box-sizing:border-box}
}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}}
