.gallery-filter-tools{margin:0 0 22px;min-width:0}.gallery-chip-row{display:flex;flex-wrap:nowrap;align-items:center;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 1px 12px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}.gallery-filter-chip{flex:0 0 auto;max-width:min(85vw,320px);display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 15px;border:1px solid var(--border);border-radius:24px;background:#fff;color:var(--text);white-space:nowrap;font-size:13px}.gallery-filter-chip [data-chip-title]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.gallery-filter-chip.is-active{border-color:var(--border);background:var(--primary-soft);color:var(--primary);font-weight:600}.gallery-filter-chip small:empty{display:none}.gallery-filter-chip small{border-radius:20px;background:var(--primary);color:#fff;padding:1px 6px;font-size:11px}.gallery-feedback{padding:10px 0;margin:0;font-size:12px;color:var(--text-muted)}.gallery-feedback.is-error{color:#b62c3c}.gallery-active-tags .active-filter-tags{flex-wrap:nowrap;overflow-x:auto;max-height:55px;margin:0;padding:0 0 5px;align-items:center}.gallery-active-tags .pill,.gallery-active-tags .outline{font-size:11px;padding:6px 11px;white-space:nowrap}.gallery-results[aria-busy=true]{opacity:.55;pointer-events:none}.gallery-filter-dialog{box-sizing:border-box;position:fixed;inset:auto;margin:0;width:450px;max-width:calc(100vw - 32px);max-height:min(700px,calc(100dvh - 40px));padding:0;border:1px solid var(--border);border-radius:19px;color:var(--text);background:#fff;box-shadow:0 12px 55px var(--shadow-strong-color);overflow:hidden;direction:rtl}.gallery-filter-dialog[open]{display:flex;flex-direction:column}.gallery-filter-dialog::backdrop{background:var(--backdrop)}.gallery-sheet-header{position:static;display:flex;align-items:center;gap:8px;padding:15px 18px;border-bottom:1px solid var(--border);background:#fff;flex:none}.gallery-sheet-header h2{flex:1;font-size:16px;margin:0;overflow-wrap:anywhere}.gallery-icon-button{min-width:44px;min-height:44px;border:0;background:transparent;border-radius:12px;color:var(--primary);font-size:25px}.gallery-icon-button:hover{background:var(--background)}.gallery-sheet-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1;padding:8px 18px 18px;min-width:0}.gallery-sheet-search{display:block;font-size:12px;color:var(--text-muted);margin:8px 0 16px}.gallery-sheet-search input{width:100%;font:inherit;font-size:14px;border:1px solid var(--border);border-radius:12px;padding:12px;min-height:44px;box-sizing:border-box;margin-top:6px}.gallery-sheet-footer{position:static;display:flex;align-items:center;gap:10px;padding:13px 18px max(13px,env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#fff;flex:none;text-align:initial}.gallery-sheet-footer>.primary{flex:1;min-height:46px}.gallery-sheet-footer>.outline{min-height:46px}.gallery-sheet-option{display:flex;align-items:center;gap:11px;min-height:48px;padding:8px 3px;border-bottom:1px solid var(--border);font-size:14px;cursor:pointer;overflow-wrap:anywhere}.gallery-sheet-option input{accent-color:var(--primary);width:19px;height:19px;flex:none;margin:0}.gallery-axis-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:52px;text-align:right;border:0;border-bottom:1px solid var(--border);background:white;color:inherit;padding:10px 3px;font:inherit;font-size:14px;cursor:pointer}.gallery-option-subtitle{font-size:11px;color:var(--text-muted);display:block}.gallery-sheet-empty{color:var(--text-muted);text-align:center;padding:28px 6px;line-height:2;font-size:13px}.gallery-sheet-notice{font-size:12px;line-height:1.9;color:var(--primary);background:var(--background);padding:10px 12px;border-radius:11px;margin:6px 0 12px}.gallery-date-fields label{display:block;margin:12px 0;font-size:13px}.gallery-date-fields input,.gallery-date-fields select{display:block;width:100%;min-height:44px;border:1px solid var(--border);border-radius:10px;padding:10px;margin-top:5px;font:inherit;box-sizing:border-box}.gallery-stale-selection{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px;background:#f7f4ed;border-radius:9px;font-size:12px;margin:8px 0}.gallery-stale-selection button{border:0;background:transparent;color:var(--primary);min-height:44px;cursor:pointer}.gallery-filter-tools button:focus-visible,.gallery-filter-dialog button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.gallery-filter-dialog [hidden],.gallery-filter-tools [hidden]{display:none!important}@media(max-width:700px){.gallery-filter-dialog{inset:auto 0 0!important;width:100%!important;max-width:100%;max-height:88vh;max-height:min(88dvh,var(--gallery-viewport-height,88dvh));bottom:var(--gallery-keyboard-offset,0px)!important;border-radius:22px 22px 0 0;border-bottom:0}.gallery-sheet-header{padding:10px 14px}.gallery-sheet-scroll{padding:6px 16px 12px}.gallery-sheet-footer{padding-right:14px;padding-left:14px}.gallery-chip-row{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px;scrollbar-width:none}.gallery-chip-row::-webkit-scrollbar{display:none}.gallery-filter-dialog[open]{animation:namira-sheet-in .18s ease-out}.gallery-filter-chip{min-height:44px;padding:9px 13px}}@keyframes namira-sheet-in{from{transform:translateY(20px);opacity:.6}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.gallery-filter-dialog[open]{animation:none}}
