.style-picker-trigger{anchor-name:--style-picker;border-radius:var(--r-in);width:32px;height:32px;color:var(--text-2);cursor:pointer;transition:background-color .15s ease, color .15s ease, scale .16s var(--ease-out);background:0 0;border:0;flex:none;place-items:center;display:grid}.style-picker-trigger:hover{background:var(--raise);color:var(--text)}.style-picker-trigger:active{scale:.96}.style-picker-trigger:focus-visible,.style-options button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.style-picker-popover{position-anchor:--style-picker;inset:auto;top:anchor(bottom);right:anchor(right);border-radius:calc(var(--r-in) + 6px);background:var(--surface);width:min(344px,100vw - 24px);max-height:min(560px,100dvh - 72px);color:var(--text);box-shadow:inset 0 0 0 1px var(--line-2), 0 12px 32px #00000047;transform-origin:100% 0;transition:opacity .16s var(--ease-out), scale .16s var(--ease-out), display .16s allow-discrete, overlay .16s allow-discrete;border:0;flex-direction:column;margin:8px 0 0;padding:6px;display:none;position:fixed}.style-picker-popover:popover-open{display:flex}.style-picker-popover:not(:popover-open){opacity:0;scale:.97}@starting-style{.style-picker-popover:popover-open{opacity:0;scale:.97}}.style-picker-popover>p{color:var(--text-3);justify-content:space-between;margin:4px 8px 6px;font-size:11px;display:flex}.style-picker-popover>p span{font-variant-numeric:tabular-nums}.style-picker-popover .style-options{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-2) transparent;flex:1;min-height:0;padding:0 2px 2px;overflow-y:auto}.style-options{flex-direction:column;gap:10px;display:flex}.style-group-label{letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);margin:0 0 4px 6px;font-size:10px;font-weight:600}.style-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.style-options button{border-radius:var(--r-in);min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:stretch;gap:6px;padding:6px;transition:background-color .15s,box-shadow .15s;display:flex;position:relative}.style-options button:hover{background:var(--raise)}.style-options button[aria-checked=true]{background:var(--raise);box-shadow:inset 0 0 0 1.5px var(--accent)}.style-options-text{min-width:0;padding:0 2px}.style-options strong,.style-options small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.style-options strong{font-size:12px;font-weight:500;line-height:16px}.style-options small{color:var(--text-2);font-size:11px;line-height:16px;display:none}.style-options-check{box-sizing:content-box;background:var(--accent);color:var(--bg);opacity:0;transition:opacity .15s ease, scale .16s var(--ease-out);border-radius:50%;padding:2px;position:absolute;top:10px;right:10px;scale:.7}.style-options button[aria-checked=true] .style-options-check{opacity:1;scale:1}.style-swatch{flex:none;align-items:stretch;width:100%;height:44px;padding:5px;display:flex}.style-swatch-panel{flex-direction:column;flex:1;justify-content:space-between;min-width:0;padding:4px 5px;display:flex}.style-swatch-panel>b{border-radius:2px;width:40%;height:3px}.style-swatch-panel>span{align-items:flex-end;gap:3px;height:14px;display:flex}.style-swatch-panel i{border-radius:1.5px;flex:1}.style-swatch-panel i:first-child{height:100%}.style-swatch-panel i:nth-child(2){height:65%}.style-swatch-panel i:nth-child(3){height:40%}.style-options--cards{gap:16px}.style-options--cards .style-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:8px}.style-options--cards button{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);border-radius:calc(var(--r-in) + 4px);gap:8px;padding:8px}.style-options--cards button:hover{background:var(--raise)}.style-options--cards button[aria-checked=true]{box-shadow:inset 0 0 0 1.5px var(--accent);background:var(--raise)}.style-options--cards .style-swatch{height:52px}.style-options--cards strong{font-size:13px;line-height:18px}.style-options--cards small{display:block}@media (prefers-reduced-motion:reduce){.style-picker-popover{transition:opacity .12s;scale:1}.style-options-check{transition:none}}@supports not (anchor-name:--a){.style-picker-popover{top:56px;right:16px}}
