.lib .filters{border:1px solid var(--rule);background:#fff;border-radius:16px;max-height:calc(100vh - 96px);padding:16px 14px 8px;position:sticky;top:80px;overflow:auto;box-shadow:0 1px 2px #13284a0d}.lib .filters-top{border-bottom:1px solid var(--rule-2);justify-content:space-between;align-items:center;gap:8px;min-height:34px;padding:0 4px 12px;display:flex}.lib .filters-h{font:700 18px/1.3 var(--display);color:var(--navy);align-items:center;gap:8px;display:flex}.lib .filters-h .ic{width:19px;height:19px;color:var(--accent-ink)}.lib .fg{border:0;border-top:1px solid var(--rule-2);margin:0;padding:14px 0 10px}.lib .filters-top+.fg,.lib .fg:first-of-type{border-top:0}.lib .fg legend{float:left;width:100%;font:700 12.5px/1.4 var(--sans);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);align-items:center;gap:7px;margin-bottom:6px;padding:0 4px;display:flex}.lib .fg legend .ic{width:16px;height:16px;color:var(--accent-ink)}.lib .fg legend+*{clear:both}.lib .opt{cursor:pointer;border-radius:9px;align-items:center;gap:9px;min-height:38px;padding:3px 6px;font-size:15px;display:flex}.lib .opt:hover{background:var(--bar)}.lib .opt input{appearance:none;cursor:pointer;background:#fff;border:1.5px solid #8c8c8c;border-radius:5px;flex:none;place-content:center;width:19px;height:19px;margin:0;display:grid}.lib .opt input:after{content:"";border:0 solid #fff;border-width:0 0 2.2px 2.2px;width:10px;height:6px;margin-top:-2px;transition:transform .12s;transform:rotate(-45deg)scale(0)}.lib .opt input:checked{background:var(--accent);border-color:var(--accent)}.lib .opt input:checked:after{transform:rotate(-45deg)scale(1)}.lib .opt input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.lib .opt-mark{width:24px;height:24px;box-shadow:none;border-radius:7px;flex:none;place-items:center;margin-right:-1px;display:grid}.lib .opt-mark .ic{width:15px;height:15px}.lib .opt-t{flex:1;min-width:0}.lib .opt small{min-width:30px;font:600 12px/1.6 var(--sans);color:var(--muted);text-align:center;background:var(--bar);border:1px solid var(--rule-2);font-variant-numeric:tabular-nums;border-radius:999px;padding:0 7px}.lib .opt:has(input:disabled){cursor:default;color:#8c8c8c}.lib .opt:has(input:disabled) input{background:var(--bar);cursor:default;border-color:#c9c6be}.lib .opt:has(input:disabled) .opt-mark{opacity:.5}.lib .opt:has(input:disabled):hover{background:0 0}.lib .opt:has(input:checked){background:var(--accent-soft)}.lib .opt:has(input:checked) .opt-t{color:var(--accent-ink);font-weight:600}.lib .opt:has(input:checked) small{color:var(--accent-ink);border-color:var(--accent-line);background:#fff}.lib .apply{width:100%;margin:6px 0 12px}.lib .sheet{width:min(560px,100vw);max-width:100vw;max-height:min(86vh,760px);color:var(--ink);background:#fff;border:0;border-radius:16px 16px 0 0;margin:auto auto 0;padding:0;box-shadow:0 -10px 40px #13284a33}.lib .sheet::backdrop{background:#13284a59}.lib .sheet-in{max-height:inherit;flex-direction:column;display:flex}.lib .sheet-top{border-bottom:1px solid var(--rule-2);justify-content:space-between;align-items:center;padding:14px 16px 10px 20px;display:flex}.lib .sheet-top h2{font:bold 24px/1.2 var(--display)}.lib .ibtn{width:44px;height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.lib .ibtn:hover{background:var(--bar)}.lib .sheet-b{overscroll-behavior:contain;flex:1;padding:4px 20px 8px;overflow:auto}.lib .sheet-b .opt{min-height:44px;font-size:16px}.lib .sheet-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--rule-2);gap:10px;display:flex}.lib .sheet-foot .btn{min-height:48px}.lib .sheet-foot .btn-p{flex:1}@media (min-width:701px){.lib .sheet{border-radius:16px;margin:auto}}@media (prefers-reduced-motion:no-preference){.lib .sheet[open]{animation:.22s ease-out lib-up}@keyframes lib-up{0%{opacity:.6;transform:translateY(24px)}}}
