#live-root .fmd-search-label{flex:1;margin:0;min-width:0}#live-root .fmd-suggestion{display:block;width:100%;text-align:start;margin:9px 0}#live-root .fmd-filter-toolbar{margin:12px 0}#live-root .fmd-filter-chips{margin:10px 0;max-height:110px;overflow:auto}#live-root .fmd-dialog{border:1px solid var(--line);border-radius:18px;background:var(--card);color:var(--ink);font:inherit;direction:rtl;padding:18px;max-height:90dvh;max-width:700px;width:calc(100% - 24px);overscroll-behavior:contain}#live-root .fmd-dialog::backdrop{background:#071121a8}#live-root .fmd-dialog-head{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;position:sticky;top:0;background:var(--card);z-index:2;padding-bottom:12px}#live-root .fmd-dialog-head h2{font-size:18px;margin:0}#live-root .fmd-filter-dialog form{margin:0;padding-bottom:10px}#live-root .fmd-filter-dialog form>.row:last-child{position:sticky;bottom:-18px;background:var(--card);padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}#live-root .fmd-filter-dialog form>button.primary{position:sticky;bottom:0;z-index:2;width:100%}#live-root .fmd-media-dialog{max-width:1000px}#live-root #fmd-media-stage{overflow:auto;min-height:140px;max-height:65dvh;text-align:center;display:block}#live-root #fmd-media-stage img{max-width:100%;height:auto;object-fit:contain;image-orientation:from-image;transform-origin:center top}#live-root #fmd-media-stage iframe{width:100%;height:60dvh;border:0}#live-root .fmd-image-missing{object-fit:contain;background:var(--soft);min-height:70px}#live-root .home-search-entry{width:100%;text-align:start;min-height:50px}#live-root main{min-width:0}#live-root .files{overflow-wrap:anywhere}#live-root .fmd-dialog a:focus-visible{outline:3px solid #eead31;outline-offset:3px}@media(max-width:650px){#live-root .fmd-filter-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:calc(100dvh - 12px);border-radius:20px 20px 0 0;padding-bottom:max(18px,env(safe-area-inset-bottom))}#live-root .fmd-dialog{font-size:14px}#live-root .fmd-dialog-head button{font-size:12px;padding:9px}#live-root .fmd-media-dialog{padding:10px;width:calc(100% - 12px)}#live-root a,#live-root button{touch-action:manipulation}#live-root .live-shell{padding-bottom:100px}}@media(prefers-reduced-motion:reduce){#live-root *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

#live-root .fmd-dialog{max-height:min(90dvh,var(--fmd-viewport-height,90dvh))}@media(max-width:650px){#live-root .fmd-filter-dialog{bottom:var(--fmd-keyboard-gap,0px);max-height:calc(var(--fmd-viewport-height,100dvh) - 12px)}}
