/* CALIBER rating card (caliber-feedback.js). Bottom-left so it never covers CALI (bottom-right); graphite panel,
   violet hairline, gold stars; 44px targets; readable on a 320px screen. */
html body div.cal-fb { position: fixed; left: 20px; bottom: 20px; z-index: 1200; width: min(360px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 18px 18px 14px; border-radius: 16px; border: 1px solid rgba(178, 120, 255, .46);
  background: linear-gradient(180deg, #1B1925, #0E0D14) !important;   /* opaque: the page must not show through */
  isolation: isolate;
  box-shadow: 0 0 24px rgba(164, 92, 255, .2), 0 22px 44px rgba(0, 0, 0, .6);
  color: var(--ds-ink-2, #CBC4DA); font: 400 15px/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
  opacity: 0; transform: translateY(12px); transition: opacity .22s ease, transform .22s ease; }
html body div.cal-fb.is-on { opacity: 1; transform: none; }
html body div.cal-fb::before, html body div.cal-fb::after { content: none !important; }
html body .cal-fb p.cal-fb__title { margin: 0 36px 10px 0; font: 600 17px/1.3 Inter, sans-serif !important; color: var(--ds-ink, #F2EEF8) !important;
  letter-spacing: 0 !important; text-transform: none !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
.cal-fb__x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none;
  color: var(--ds-ink-3, #A9A2BB); font-size: 24px; line-height: 1; cursor: pointer; }
.cal-fb__x:hover { color: var(--ds-ink, #F2EEF8); }
.cal-fb__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cal-fb__stars { display: flex; gap: 2px; margin: 0 0 12px; padding: 0; border: 0; }
.cal-fb__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cal-fb__stars label { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
  font-size: 30px; line-height: 1; color: rgba(203, 196, 218, .32); transition: color .12s ease; }
/* fill every star up to the hovered / chosen one */
.cal-fb__stars:has(input:checked) label { color: #E6C681; }
.cal-fb__stars input:checked ~ input + label { color: rgba(203, 196, 218, .32); }
.cal-fb__stars:hover label { color: #E6C681; }
.cal-fb__stars label:hover ~ label { color: rgba(203, 196, 218, .32); }
.cal-fb__stars input:focus-visible + label { outline: 2px solid #C69BFF; outline-offset: 1px; }
.cal-fb__label { display: block; margin-bottom: 6px; color: var(--ds-ink-2, #CBC4DA); }
.cal-fb__label span { color: var(--ds-ink-3, #A9A2BB); }
.cal-fb textarea { width: 100%; box-sizing: border-box; min-height: 72px; padding: 10px 12px; border-radius: 10px; resize: vertical;
  border: 1px solid rgba(164, 92, 255, .3); background: rgba(8, 8, 12, .7); color: var(--ds-ink, #F2EEF8); font: 400 16px/1.45 Inter, sans-serif; }
.cal-fb textarea:focus { outline: 2px solid #C69BFF; outline-offset: 1px; }
.cal-fb__note { margin: 6px 0 0; font-size: 13px; color: var(--ds-ink-3, #A9A2BB); }
.cal-fb__row { display: flex; gap: 8px; margin-top: 12px; }
.cal-fb__send, .cal-fb__later { min-height: 44px; padding: 0 18px; border-radius: 10px; font: 600 15px/1 Inter, sans-serif; cursor: pointer; }
.cal-fb__send { border: 0; color: #fff; background: linear-gradient(180deg, #8A4DEB, #6A2FD0); box-shadow: 0 0 16px rgba(164, 92, 255, .3); }
.cal-fb__send:disabled { opacity: .45; cursor: default; box-shadow: none; }
.cal-fb__later { border: 1px solid rgba(178, 120, 255, .46); background: none; color: var(--ds-ink, #F2EEF8); }
.cal-fb__send:focus-visible, .cal-fb__later:focus-visible, .cal-fb__x:focus-visible { outline: 2px solid #C69BFF; outline-offset: 2px; }
.cal-fb__msg { margin: 8px 0 0; min-height: 1em; font-size: 13.5px; color: var(--ds-ink-3, #A9A2BB); }
.cal-fb__thanks { margin: 6px 0 4px; font-size: 16px; color: var(--ds-ink, #F2EEF8); }
@media (max-width: 480px) { html body div.cal-fb { left: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .cal-fb, .cal-fb__stars label { transition: none; } }
@media (forced-colors: active) { .cal-fb { border: 1px solid CanvasText; } .cal-fb__stars input:checked + label { outline: 2px solid Highlight; } }
