/* Filter Experience: scoped to the shared modal and registration cards. */
.filter-experience-modal { padding:24px; align-items:center; }
#dashboardFilterRuntimeModal.filter-experience-modal { display:flex; align-items:center; justify-content:center; padding:24px; overflow:hidden; background:rgba(15,23,42,.48); }
#dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card { background:#fff!important; width:min(1120px,96vw); max-height:calc(100dvh - 48px); padding:0; overflow:hidden; border-radius:18px; }
#dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card .modal-head { margin:0; padding:24px 28px 18px; border-radius:0; }
#dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card .dashboard-filter-runtime-actions { margin:0; padding:18px 28px; border-radius:0; background:#fff; }
.filter-experience-modal .filter-experience-card { background:#fff!important; color:#182333; width:min(1120px,96vw); max-width:1120px; max-height:calc(100dvh - 48px); padding:0!important; border:1px solid #e0e5ec; border-radius:18px; box-shadow:0 24px 80px #152b4c30; display:flex; flex-direction:column; overflow:hidden; }
.filter-experience-card .modal-head { padding:24px 28px 18px; margin:0; border-bottom:1px solid #edf0f5; flex-shrink:0; }
.filter-experience-card h3 { color:#152338!important; font-size:23px; font-weight:650; letter-spacing:-.4px; margin:0 0 5px; }
.filter-experience-card .dashboard-filter-runtime-heading small { color:#64748b; font-size:13px; }
.filter-experience-card .icon-btn { color:#64748b; background:transparent; border:0; }
.filter-experience-viewport { overflow:auto; scrollbar-gutter:stable; padding:24px 28px 32px; min-height:180px; flex:1 1 auto; }
.filter-experience-grid { display:grid; grid-template-columns:repeat(var(--filter-grid-columns,12),minmax(0,1fr)); grid-auto-rows:44px; gap:12px; align-items:stretch; }
.filter-experience-grid > .filter-experience-field { position:relative!important; left:auto!important; top:auto!important; width:auto!important; height:auto!important; min-width:0!important; margin:0!important; padding:12px 14px!important; border:1px solid #e3e8ef!important; border-radius:10px!important; background:#fff!important; display:flex!important; flex-direction:column; gap:4px; color:#26354a!important; box-shadow:none!important; overflow:visible; }
.filter-experience-field:focus-within { z-index:3; border-color:#8badd4!important; }
.filter-experience-field-head { display:flex; align-items:center; gap:7px; min-height:20px; }
.filter-experience-title { flex:1; min-width:0; font-size:13px; font-weight:650; line-height:1.35; overflow-wrap:anywhere; }
.filter-experience-required { color:#65758b; font-size:10px; font-weight:500; }
.filter-experience-group { color:#637a98; font-size:10px; line-height:1.2; }
.filter-experience-group:empty { display:none; }
.filter-experience-control { min-width:0; flex:1; display:flex; flex-direction:column; justify-content:center; }
.filter-experience-control .filter-dropdown-control { width:100%; min-width:0; margin:0; }
.filter-experience-control .filter-dropdown-toggle,.filter-experience-control input:not([type=checkbox]),.filter-experience-control select { font-size:13px; min-height:36px; width:100%; max-width:100%; border:1px solid #dce3ec; border-radius:7px; background:#fff; color:#25364e; }
.filter-experience-control .filter-between-row { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.filter-experience-control .filter-between-row input { min-width:0; }
.filter-experience-control .filter-option-list { overflow:auto; min-height:40px; flex:1; }
.filter-experience-control .filter-dropdown-menu { z-index:30; min-width:100%; max-width:min(380px,80vw); background:#fff; box-shadow:0 10px 30px #243c5d25; }
.filter-experience-control .filter-dropdown-options { max-height:230px; }
.filter-experience-card .dashboard-filter-runtime-actions { padding:18px 28px; margin:0; border-top:1px solid #edf0f5; display:flex; justify-content:flex-end; gap:10px; background:#fff; flex-shrink:0; }
.filter-experience-card .btn { min-height:36px; border-radius:8px; font-size:12px; }
.filter-experience-card .btn.primary { background:#1467b9; color:white; border-color:#1467b9; }
.filter-experience-card :is(button,input,select):focus-visible { outline:3px solid #66a8ed; outline-offset:3px; }
.filter-experience-toolbar { padding:12px 28px 0; flex-shrink:0; }
.filter-experience-toolbar[hidden] { display:none!important; }
.filter-experience-card .dashboard-filter-runtime-heading { min-width:0; }
.filter-experience-heading-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; min-height:36px; margin-bottom:5px; }
.filter-experience-heading-row h3 { margin:0; }
.filter-experience-customize { flex:0 0 auto; white-space:nowrap; }
@media(max-width:600px) { .filter-experience-heading-row { gap:6px; } .filter-experience-heading-row h3 { font-size:18px; } .filter-experience-heading-row .filter-experience-customize { font-size:11px; padding:5px 7px; } }
.filter-experience-layout-controls { padding:10px 0; }
.filter-experience-layout-controls[hidden] { display:none!important; }
.filter-experience-toolbar-row { display:flex; gap:6px; align-items:center; flex-wrap:wrap; margin-bottom:8px; }
.filter-experience-toolbar-row > input { width:170px; }
.filter-experience-toolbar-row :is(input,select) { color:#25364e; background:#fff; min-height:34px; border:1px solid #dce3ec; border-radius:6px; padding:5px 8px; }
.filter-experience-calendar-label { display:flex; align-items:center; gap:7px; font-size:11px; }
.filter-experience-layout-controls small,.filter-experience-status { color:#64748b; font-size:11px; }
.filter-experience-status { display:block; min-height:16px; padding-top:4px; }
.filter-experience-select,.filter-experience-drag,.filter-experience-resize { display:none!important; }
.filter-experience-designing .filter-experience-select { display:inline-flex!important; position:absolute; top:2px; left:-8px; margin:0; z-index:2; }
.filter-experience-designing .filter-experience-select input { width:14px; height:14px; margin:0; }
.filter-experience-designing .filter-experience-drag { display:inline-block!important; position:absolute; top:0; right:2px; border:0; background:none; color:#71829a; cursor:grab; padding:0; font-size:18px; z-index:2; }
.filter-experience-designing .filter-experience-resize { display:block!important; position:absolute; bottom:3px; right:3px; width:16px; height:16px; border:0; border-bottom:2px solid #8a9bb2; border-right:2px solid #8a9bb2; border-radius:0 0 4px; background:none; cursor:nwse-resize; touch-action:none; }
.filter-experience-designing .filter-experience-selected { border-color:#4b91d5!important; box-shadow:0 0 0 2px #cfe5fb!important; }
.filter-registration-list { display:grid!important; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; align-items:start; overflow:auto; padding:4px; }
.filter-registration-card { background:#fff; color:#26354a; border:1px solid #e1e6ee; border-radius:12px; padding:16px; }
.filter-registration-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.filter-registration-card dl { font-size:12px; display:grid; grid-template-columns:70px minmax(0,1fr); gap:8px; line-height:1.4; }
.filter-registration-card dt { color:#718096; }
.filter-registration-card dd { margin:0; overflow-wrap:anywhere; }
#onlineFilterDropZone:has(.filter-registration-list) { min-height:360px; background:#f7f9fc; }
#onlineFilterModal .online-filter-style-editor[hidden] { display:none!important; }
#ribbonContextTitle { cursor:pointer; font:inherit; }
@media(max-width:700px) { #dashboardFilterRuntimeModal.filter-experience-modal { padding:10px; } #dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card { max-height:calc(100dvh - 20px); width:100%; border-radius:12px; } #dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card .modal-head,.filter-experience-viewport { padding:18px 16px; } .filter-experience-toolbar { padding:10px 16px 0; max-height:35vh; overflow:auto; } #dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card .dashboard-filter-runtime-actions { padding:14px 16px; } .filter-experience-card h3 { font-size:20px; } .filter-experience-calendar-label { align-items:flex-start; flex-direction:column; max-width:100%; } .filter-experience-calendar-label select { max-width:100%; } }

/* 3.5.05 reference: translucency belongs to the surface, never the controls. */
#dashboardFilterRuntimeModal.filter-experience-modal { align-items:flex-start!important; padding-top:clamp(8px,1.5vh,14px); background:rgba(15,30,51,.36); backdrop-filter:blur(5px); }
#dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card { display:flex!important; height:auto!important; background:rgba(255,255,255,.91)!important; backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.72); border-radius:20px; box-shadow:0 18px 56px rgba(15,30,51,.24); }
#dashboardFilterRuntimeModal .filter-experience-card .modal-head { background:transparent; border-bottom:0; }
#dashboardFilterRuntimeModal .filter-experience-viewport { min-height:0; }
#dashboardFilterRuntimeModal .filter-experience-grid { grid-auto-rows:minmax(44px,auto); }
#dashboardFilterRuntimeModal .filter-experience-grid > .filter-experience-field { background:transparent!important; border-color:transparent!important; padding:10px!important; }
#dashboardFilterRuntimeModal .filter-experience-title { font-size:14px; }
#dashboardFilterRuntimeModal .filter-experience-control :is(input:not([type=checkbox]),select,.filter-dropdown-toggle) { background:#fff!important; border-color:#cdd7e2; border-radius:8px; box-shadow:0 2px 4px #20354c0a; }
#dashboardFilterRuntimeModal .filter-dropdown-menu { background:#fff!important; }
#dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card .dashboard-filter-runtime-actions { background:transparent; border-top:0; }

/* Menus belong to the modal's floating layer, outside the scrolling grid. */
#dashboardFilterRuntimeModal .filter-floating-menu { position:fixed!important; inset:auto; margin:0; z-index:100; display:flex!important; flex-direction:column; box-sizing:border-box; min-width:0!important; max-width:calc(100vw - 16px); padding:8px; gap:6px; overflow:hidden; border:1px solid #d4dce7; border-radius:9px; background:#fff!important; color:#25364e; box-shadow:0 10px 30px #243c5d25; }
#dashboardFilterRuntimeModal .filter-floating-menu[hidden] { display:none!important; }
#dashboardFilterRuntimeModal .filter-floating-menu [data-filter-dropdown-search] { box-sizing:border-box; flex:0 0 auto; width:100%; min-width:0; height:36px; margin:0; padding:7px 9px; font:inherit; font-size:13px; background:#fff; border:1px solid #d4dce7; border-radius:6px; }
#dashboardFilterRuntimeModal .filter-floating-menu [data-filter-dropdown-options] { flex:1 1 auto; min-height:0; max-height:none!important; overflow-y:auto; overscroll-behavior:contain; }
#dashboardFilterRuntimeModal .filter-floating-menu [data-filter-dropdown-option] { white-space:normal; overflow-wrap:anywhere; text-overflow:clip; }

.builder-applied-band { min-width:220px; flex:1 1 360px; align-items:flex-start; gap:6px; }
.filter-experience-body { display:grid; grid-template-columns:minmax(0,1fr); flex:1 1 auto; min-height:0; overflow:hidden; }
.filter-experience-body > .filter-experience-viewport { min-width:0; min-height:0; }
.filter-experience-designer { position:fixed; top:64px; right:12px; z-index:40; width:278px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 80px); display:flex; flex-direction:column; min-height:0; border:1px solid #dce3ec; border-radius:10px; box-shadow:0 12px 40px #152b4c30; background:#f8fafc; color:#25364e; font:12px/1.4 Inter,'Segoe UI',sans-serif; }
.filter-designer-panel-head { display:flex; align-items:center; justify-content:space-between; padding:8px 12px; gap:8px; }
.filter-properties-toggle { position:fixed; top:64px; right:12px; z-index:40; background:#fff; color:#174ea6; border:1px solid #8ab9f0; border-radius:8px; padding:8px 12px; }
.filter-properties-toggle[hidden] { display:none!important; }
.filter-experience-designer[hidden],.filter-experience-designer [hidden],.filter-grid-tools[hidden],.filter-grid-new-row[hidden],.filter-grid-drop-preview[hidden] { display:none!important; }
.filter-designer-tabs { display:flex; padding:10px; gap:6px; border-bottom:1px solid #e2e8f0; flex-shrink:0; }
.filter-designer-tabs button { flex:1; border:1px solid #d8e1ec; border-radius:6px; padding:7px 4px; color:#475569; background:#fff; font:inherit; cursor:pointer; }
.filter-designer-tabs button[aria-selected=true] { background:#eaf3ff; border-color:#8ab9f0; color:#174ea6; font-weight:700; }
.filter-designer-tabs button:disabled { opacity:.5; cursor:default; }
.filter-designer-scroll { overflow:auto; min-height:0; padding:12px; flex:1; }
.filter-experience-designer label { display:flex; flex-direction:column; gap:4px; min-width:0; margin:0; font:inherit; color:#334155; }
.filter-experience-designer fieldset { min-width:0; margin:12px 0; padding:10px; border:1px solid #dce3ec; border-radius:7px; }
.filter-experience-designer legend { font-weight:650; color:#334155; padding:0 4px; }
.filter-experience-designer input:not([type=checkbox]),.filter-experience-designer select { min-width:0; width:100%; min-height:32px; height:32px; box-sizing:border-box; padding:4px; border:1px solid #cdd7e2; border-radius:5px; background:#fff; color:#25364e; font:12px Inter,'Segoe UI',sans-serif; }
.filter-experience-designer input[type=color] { padding:2px; cursor:pointer; }
.filter-experience-designer input[type=range] { padding:0; }
.filter-experience-designer .filter-designer-uniform { flex-direction:row; align-items:center; gap:7px; font-weight:600; }
.filter-designer-uniform input { flex:0 0 16px; width:16px!important; height:16px!important; min-height:0!important; margin:0; accent-color:#2563eb; }
.filter-designer-font { display:grid; grid-template-columns:48px 58px minmax(0,1fr); gap:7px; }
.filter-designer-pair { display:grid; grid-template-columns:76px minmax(0,1fr); gap:8px; }
.filter-designer-position { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.filter-experience-designer small { display:block; margin-top:5px; color:#64748b; font-size:11px; }
.filter-designer-card-name { font-weight:700; overflow-wrap:anywhere; margin:8px 0; }
.filter-experience-designer footer { display:flex; flex-direction:column; padding:10px 12px; gap:8px; border-top:1px solid #e2e8f0; flex-shrink:0; background:#f8fafc; }
.filter-experience-designer footer [role=status] { color:#64748b; font-size:11px; min-height:15px; }
.filter-grid-tools { display:flex; align-items:center; flex-wrap:wrap; gap:5px; padding:8px 12px; flex-shrink:0; background:#f4f7fa; }
.filter-grid-tools .btn { min-width:30px; min-height:28px; padding:3px 7px; }
.filter-grid-tools > span { color:#64748b; font-size:11px; }
#dashboardFilterRuntimeModal .filter-experience-grid { position:relative; }
#dashboardFilterRuntimeModal .filter-experience-grid[data-uniform-cards=true] { grid-auto-rows:minmax(44px,1fr); }
.filter-grid-new-row { position:absolute; top:100%; left:0; right:0; display:flex; justify-content:center; align-items:center; height:28px; border:1px dashed #b7c9df; border-radius:8px; color:#71829a; font-size:11px; }
.filter-grid-drop-preview { position:absolute; inset:0; pointer-events:none; z-index:6; border:2px solid #2563eb; border-radius:8px; background:#2563eb18; }
.filter-grid-drop-preview[data-valid=false] { border-color:#dc2626; background:#dc262612; }
.filter-experience-designing .filter-experience-resize { cursor:ew-resize; }
.filter-experience-resize:disabled { opacity:.2; pointer-events:none; }
#dashboardFilterRuntimeModal.filter-experience-modal .filter-experience-card { background:var(--fe-surface,rgba(255,255,255,.91))!important; border-color:var(--fe-border-color,#e2e8f0)!important; border-style:var(--fe-border-style,solid)!important; }
#dashboardFilterRuntimeModal .filter-experience-card .modal-head h3 { color:var(--fe-title-color,#152338)!important; font-size:var(--fe-title-size,19px)!important; font-weight:var(--fe-title-weight,700)!important; }
#dashboardFilterRuntimeModal .dashboard-filter-runtime-heading small { color:var(--fe-text-color,#64748b); font-size:var(--fe-text-size,13px); font-weight:var(--fe-text-weight,400); }
#dashboardFilterRuntimeModal .filter-experience-grid > .filter-experience-field { background:var(--fe-card-background,transparent)!important; border-color:var(--fe-card-border-color,transparent)!important; border-style:var(--fe-card-border-style,solid)!important; }
#dashboardFilterRuntimeModal .filter-experience-field[data-custom-appearance=true] .filter-experience-title { color:var(--fe-heading-color)!important; font-size:var(--fe-heading-size)!important; font-weight:var(--fe-heading-weight)!important; }
#dashboardFilterRuntimeModal .filter-experience-field[data-custom-appearance=true] .filter-experience-control :is(input:not([type=checkbox]),select,.filter-dropdown-toggle,.calendar-group-range-edit) { color:var(--fe-value-color)!important; font-size:var(--fe-value-size)!important; font-weight:var(--fe-value-weight)!important; }
.calendar-group-parts { flex-wrap:wrap; }
@media(min-width:1740px) { .filter-experience-designer,.filter-properties-toggle { right:auto; left:calc(50% + 572px); } }
.builder-applied-band > strong { font-size:12px; color:#334155; }
.builder-applied-filters { display:flex; align-content:flex-start; flex-wrap:wrap; gap:5px; width:100%; min-width:0; max-height:64px; overflow:auto; }
.builder-applied-chip { max-width:260px; min-height:24px; padding:3px 7px; border:1px solid #dce5ee; border-radius:6px; background:#f8fafc; color:#475569; font:inherit; font-size:11px; line-height:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; }
.builder-applied-chip:focus-visible { outline:2px solid #4797dc; outline-offset:1px; }
.builder-applied-empty { color:#64748b; font-size:12px; }
.builder-applied-values { position:fixed; display:flex; flex-direction:column; gap:8px; box-sizing:border-box; z-index:10010; padding:12px; border:1px solid #d4dce7; border-radius:9px; background:#fff; color:#25364e; font:13px/1.5 Inter,'Segoe UI',sans-serif; box-shadow:0 10px 30px #243c5d25; }
.builder-applied-values [data-filter-dropdown-options] { min-height:0; overflow:auto; }
.builder-applied-values ul { margin:0; padding-left:18px; overflow-wrap:anywhere; }
.builder-applied-values > button { align-self:flex-end; flex:0 0 auto; padding:3px 8px; background:#fff; border:1px solid #d4dce7; border-radius:5px; color:#335b86; cursor:pointer; }
