/* TEMPORARY design switcher. Each design positions it with --ds-top / --ds-bottom / --ds-left / --ds-right. */
.ds {
  position: fixed; z-index: 1000;
  top: var(--ds-top, auto); bottom: var(--ds-bottom, auto);
  left: var(--ds-left, auto); right: var(--ds-right, auto);
  font: 500 13px/1.3 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: 0; color: #f2f1ec;
}
.ds summary {
  list-style: none; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 11px 0 13px;
  background: #191a1b; border-radius: 999px; cursor: pointer; user-select: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform 140ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease;
}
.ds summary::-webkit-details-marker { display: none; }
.ds summary:active { transform: scale(.97); }
.ds summary:focus-visible { outline: 3px solid #f2f1ec; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .ds summary:hover { background: #000; } }
.ds-label { color: #a3a39c; }
.ds svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 200ms cubic-bezier(.23, 1, .32, 1); }
.ds[open] svg { transform: rotate(180deg); }
.ds-panel {
  position: absolute; width: min(290px, calc(100vw - 24px)); padding: 14px; border-radius: 14px;
  background: #191a1b; box-shadow: 0 14px 36px rgba(0, 0, 0, .3);
  top: var(--ds-panel-top, auto); bottom: var(--ds-panel-bottom, calc(100% + 8px));
  left: var(--ds-panel-left, auto); right: var(--ds-panel-right, 0);
  transform-origin: var(--ds-origin, bottom right);
  animation: ds-in 180ms cubic-bezier(.23, 1, .32, 1);
}
@keyframes ds-in { from { opacity: 0; transform: translateY(4px) scale(.97); } }
.ds-note { margin: 0 0 10px; color: #c4c3bb; font-weight: 400; }
.ds ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ds a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 42px; padding: 11px 10px; border-radius: 8px; color: #f2f1ec; text-decoration: none; transition: background-color 140ms ease; }
.ds a small { color: #8f8f88; font-size: 12px; }
.ds a:focus-visible { outline: 2px solid #f2f1ec; outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .ds a:hover { background: #2a2b2c; } }
.ds a[aria-current='page'] { background: #f2f1ec; color: #191a1b; }
.ds a[aria-current='page'] small { color: #5d5d58; }
@media (max-width: 520px) { .ds-name { display: none; } .ds-label { color: inherit; } }
@media (prefers-reduced-motion: reduce) { .ds-panel { animation: none; } .ds svg, .ds summary { transition: none; } }
