/* Scoped enhancement: the existing native selects remain the source of truth. */
.fdm-page select.fdm-select-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;opacity:0!important}
.fdm-page .fdm-select{display:flex;flex:1;min-width:0;width:100%;position:relative}
.fdm-page .fdm-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:34px;padding:4px 0;border:0;border-radius:7px;background:transparent;color:#111827;font:inherit;font-size:13px;font-weight:400;line-height:1.4;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.fdm-page .fdm-select-trigger:disabled{color:#7b89a2;cursor:default}
.fdm-page .fdm-select-trigger:focus-visible{outline:2px solid #2563eb;outline-offset:4px}
.fdm-page .fdm-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.fdm-page .fdm-material-field .fdm-select-value{font-weight:650}
.fdm-page .fdm-select-chevron{display:block;width:7px;height:7px;flex:0 0 7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-right:2px;transition:transform 150ms ease;color:#334155}
.fdm-page .fdm-select-trigger[aria-expanded=true] .fdm-select-chevron{transform:translateY(2px) rotate(225deg);color:#2563eb}
.fdm-page .fdm-select-field-open{border-color:#a7c3fb;box-shadow:0 0 0 2px rgba(37,99,235,.07)}
.fdm-page .fdm-geometry-settings .fdm-select{margin-top:0;min-width:135px}
.fdm-page .fdm-geometry-settings .fdm-select-trigger{border:1px solid #dce6f5;background:#fff;border-radius:8px;padding:6px 10px;font-size:12px;min-height:33px}
.fdm-select-popup{position:fixed;z-index:1600;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:7px;background:#fff;border:1px solid #dce6f5;border-radius:14px;color:#111827;box-shadow:0 12px 32px rgba(15,23,42,.1),0 2px 8px rgba(15,23,42,.04);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;line-height:1.4;scrollbar-width:thin;scrollbar-color:#ccd8eb transparent;transform-origin:top center;animation:fdm-select-open 150ms ease both;-webkit-overflow-scrolling:touch}
.fdm-select-popup[hidden]{display:none!important}
.fdm-select-popup.is-above{transform-origin:bottom center}
.fdm-select-popup *{box-sizing:border-box}
.fdm-select-popup-title{padding:6px 10px 9px;font-size:11px;font-weight:600;color:#64748b}
.fdm-select-list{display:flex;flex-direction:column;gap:3px}
.fdm-select-option{display:flex;align-items:center;gap:12px;position:relative;min-height:58px;padding:9px 11px;border:1px solid transparent;border-radius:9px;cursor:pointer;user-select:none;transition:background 120ms ease,border-color 120ms ease;color:#111827;flex-shrink:0}
.fdm-select-option.is-active:not([aria-disabled=true]){background:#f5f8ff;border-color:#dae6fb}
.fdm-select-option[aria-selected=true]{background:#eff5ff;color:#1d4ed8}
.fdm-select-option[aria-selected=true].is-active{background:#e8f0ff;border-color:#c8dcff}
.fdm-select-option[aria-disabled=true]{opacity:.44;cursor:not-allowed}
.fdm-select-option-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:36px;color:#475569}
.fdm-select-option-icon svg{display:block;width:34px;height:34px}
.fdm-select-option[aria-selected=true] .fdm-select-option-icon{color:#2563eb}
.fdm-select-option-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.fdm-select-option-name{display:block;font-size:13px;line-height:1.3;font-weight:550;overflow-wrap:anywhere}
.fdm-select-option-description{display:block;font-size:11px;line-height:1.4;font-weight:400;color:#64748b}
.fdm-select-option.is-recommended:not([aria-selected=true]){border-color:#c9ddff;background:#f8fbff}
.fdm-select-recommendation{display:inline-block;vertical-align:middle;padding:2px 5px;margin-left:7px;border-radius:4px;background:#e7f0ff;color:#2563eb;font-size:9px;font-weight:500;line-height:1.4}
.fdm-select-option-check{flex:0 0 16px;font-size:17px;font-weight:650;color:#2563eb;opacity:0;text-align:center}
.fdm-select-option[aria-selected=true]>.fdm-select-option-check{opacity:1}
.fdm-select-popup--layerHeight .fdm-select-option,.fdm-select-popup--infill .fdm-select-option{min-height:59px}
.fdm-select-popup--orientation .fdm-select-option{min-height:58px}
.fdm-select-popup--color{padding:10px 12px 13px}
.fdm-select-popup--color .fdm-select-popup-title{padding:4px 4px 5px}
.fdm-select-popup--color .fdm-select-list{gap:9px}
.fdm-select-color-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 4px}
.fdm-select-group-title{grid-column:1/-1;color:#64748b;font-size:11px;font-weight:500;padding:7px 4px 3px}
.fdm-select-color-option{flex-direction:column;gap:7px;min-height:75px;padding:8px 3px 7px;justify-content:flex-start;border-radius:9px;text-align:center}
.fdm-select-color-option .fdm-select-option-copy{flex:0;gap:0;width:100%}
.fdm-select-color-option .fdm-select-option-name{font-size:10px;line-height:1.25;font-weight:450}
.fdm-select-color-option>.fdm-select-option-check{display:none}
.fdm-select-color-group>.fdm-select-option:not(.fdm-select-color-option){grid-column:1/-1}
.fdm-select-swatch{position:relative;display:block;width:32px;height:32px;flex:0 0 32px;border:1px solid rgba(15,23,42,.15);border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.fdm-select-swatch.is-transparent{background:repeating-conic-gradient(#d9e1ef 0 25%,#f8faff 0 50%) 0/9px 9px;box-shadow:inset 0 0 0 5px rgba(239,245,255,.55)}
.fdm-select-swatch.is-unspecified{background:repeating-linear-gradient(135deg,#dce5f4 0 5px,#f8faff 5px 10px)}
.fdm-select-color-option[aria-selected=true] .fdm-select-swatch{outline:2px solid #2563eb;outline-offset:3px}
.fdm-select-swatch-check{position:absolute;right:-5px;bottom:-3px;display:none;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;border:1.5px solid #fff;background:#2563eb;color:#fff;font-size:9px;line-height:1}
.fdm-select-color-option[aria-selected=true] .fdm-select-swatch-check{display:flex}
.fdm-select-empty{padding:14px 10px;color:#64748b;margin:0;font-size:12px}
@keyframes fdm-select-open{from{opacity:0;transform:scale(.985) translateY(-3px)}to{opacity:1;transform:none}}
@media(max-width:680px){.fdm-page .fdm-select-trigger{font-size:14px;min-height:36px}.fdm-select-option{min-height:61px;padding-block:10px}.fdm-select-option-name{font-size:14px}.fdm-select-option-description{font-size:12px}.fdm-select-color-option{min-height:79px}.fdm-select-color-option .fdm-select-option-name{font-size:11px}.fdm-select-popup{border-radius:13px}.fdm-select-popup-title{font-size:12px}}
@media(prefers-reduced-motion:reduce){.fdm-select-popup,.fdm-select-option,.fdm-page .fdm-select-chevron{animation:none!important;transition:none!important}}
