/* The Tora dropdown (assets/select-menu.js, captain 2026-11-08): a capsule that shows the picked value, and a glass
   menu that eases open from under it. No borders: the glass is a darker blur of the page with a soft shadow. The menu
   is a card (radius 20); its rows sit inset by the menu's padding with the menu's radius minus it, so they are
   concentric (shape.css's --r-row rule). Motion is opacity and transform only, with its own easing; Reduce Motion
   keeps a short fade. */
.sm-on{position:relative}
.sm-on>select{display:none!important}
.sm-btn{display:inline-flex;align-items:center;gap:.625rem;height:2.5rem;padding:0 .875rem 0 1.125rem;border:0;border-radius:999px;
  background:rgb(255 255 255 / .06);color:var(--ink,#eef3f6);font:500 .9375rem/1 'DM Sans',sans-serif;cursor:pointer;
  -webkit-tap-highlight-color:transparent;transition:background-color .2s ease,scale .12s cubic-bezier(.2,0,.4,1)}
.sm-btn:hover,.sm-open .sm-btn{background:rgb(255 255 255 / .1)}
.sm-btn:active{scale:.97}
.sm-btn:focus-visible{outline:2px solid var(--cyan,#8fb3cb);outline-offset:2px}
.sm-chev{width:.4375rem;height:.4375rem;margin-top:-.1875rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;opacity:.6;
  rotate:45deg;transition:rotate .32s cubic-bezier(.2,.9,.25,1),margin .32s cubic-bezier(.2,.9,.25,1)}
.sm-open .sm-chev{rotate:225deg;margin-top:.1875rem}
.sm-menu{position:absolute;z-index:40;top:calc(100% - .375rem);right:var(--sm-right,0);min-width:12.5rem;padding:.375rem;border-radius:20px;
  background:rgb(30 32 36 / .72);-webkit-backdrop-filter:blur(24px) saturate(1.5);backdrop-filter:blur(24px) saturate(1.5);
  box-shadow:0 1px 0 rgb(255 255 255 / .06) inset,0 22px 48px -12px rgb(0 0 0 / .6),0 6px 16px -6px rgb(0 0 0 / .4);
  transform-origin:calc(100% - 1.5rem) 0;opacity:0;transform:translateY(-.375rem) scale(.96);
  transition:opacity .12s ease-in,transform .16s cubic-bezier(.4,0,1,1)}
.sm-menu.is-open{opacity:1;transform:none;transition:opacity .18s cubic-bezier(.2,.9,.25,1),transform .34s cubic-bezier(.2,.9,.25,1)}
.sm-menu[hidden]{display:none}
.sm-opt{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;min-height:2.75rem;padding:0 .875rem 0 1rem;
  border-radius:14px;font:400 .9375rem/1.2 'DM Sans',sans-serif;color:var(--body,#c9ced5);white-space:nowrap;cursor:pointer;
  transition:background-color .15s ease,color .15s ease}
/* the rows settle in just behind the glass as it opens; closing, the menu leaves as one piece */
.sm-menu.is-open .sm-opt{animation:smRow .34s cubic-bezier(.2,.9,.25,1) calc(var(--i) * 18ms + 20ms) both}
@keyframes smRow{from{opacity:0;transform:translateY(-.25rem)}}
.sm-opt.is-active{background:rgb(255 255 255 / .08);color:var(--ink,#eef3f6)}
.sm-opt[aria-selected="true"]{color:var(--ink,#eef3f6);font-weight:500}
.sm-opt[aria-selected="true"]::after{content:"";flex:none;width:.875rem;height:.875rem;background:currentColor;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat}
@media(prefers-reduced-motion:reduce){
  .sm-menu,.sm-menu.is-open{transform:none!important;transition:opacity .12s linear!important}
  .sm-menu.is-open .sm-opt{animation:none}
  .sm-chev,.sm-btn{transition:none}
}
