/* Keep the feedback invitation independent of generated utility CSS.
   Expanded cards have four direct spans; collapsed cards have one icon span. */
[data-site-beta-feedback-card] {
  box-sizing: border-box;
  display: block;
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid #b4dce4;
  border-radius: 16px;
  background: linear-gradient(140deg, #edfafd 0%, #fff 65%, #fff9ed 100%);
  color: #102c3c;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 3px 12px rgb(15 45 60 / 5%);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
[data-site-beta-feedback-card]:has(> span:nth-child(4)) {
  width: 100%;
  padding: 16px;
}
[data-site-beta-feedback-card] > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
[data-site-beta-feedback-card]:has(> span:nth-child(4)) > span:first-child > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid #b4dce4;
  border-radius: 10px;
  background: #fff;
  color: #14627a;
}
[data-site-beta-feedback-card] svg { width: 16px; height: 16px; flex-shrink: 0; }
[data-site-beta-feedback-card] > span:first-child > span:nth-child(2) {
  color: #14627a;
  font-size: 9px;
  line-height: 14px;
  font-weight: 750;
  letter-spacing: .12em;
}
[data-site-beta-feedback-card] > span:first-child > span:nth-child(3) {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 6px;
  background: #ffebae;
  color: #664109;
  font-size: 9px;
  line-height: 13px;
  font-weight: 750;
  letter-spacing: .04em;
}
[data-site-beta-feedback-card] > span:nth-child(2) {
  display: block;
  margin: 0;
  color: #102c3c;
  font-size: 14px;
  line-height: 21px;
  font-weight: 700;
}
[data-site-beta-feedback-card] > span:nth-child(3) {
  display: block;
  margin-top: 4px;
  color: #506a7b;
  font-size: 12px;
  line-height: 19px;
  font-weight: 400;
}
[data-site-beta-feedback-card] > span:nth-child(4) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 10px;
  border: 1px solid #b4dce4;
  border-radius: 9px;
  background: #e3f5fa;
  color: #15566b;
  font-size: 12px;
  line-height: 18px;
  font-weight: 650;
}
[data-site-beta-feedback-card]:hover { border-color: #3490a5; box-shadow: 0 4px 16px rgb(15 80 100 / 12%); }
[data-site-beta-feedback-card]:hover > span:nth-child(4) { background: #d2eef5; }
[data-site-beta-feedback-card]:focus-visible { outline: 2px solid #0891b2; outline-offset: 3px; }
[data-site-beta-feedback-card][aria-current='page'] { border-color: #0891b2; box-shadow: 0 0 0 1px #0891b2; }
[data-site-beta-feedback-card]:not(:has(> span:nth-child(4))) { width: 44px; height: 44px; padding: 0; margin-inline: auto; }
[data-site-beta-feedback-card]:not(:has(> span:nth-child(4))) > span:first-child { justify-content: center; width: 100%; height: 100%; margin: 0; }
.dark [data-site-beta-feedback-card] {
  border-color: #294758;
  background: linear-gradient(140deg, #102b38 0%, #101d2b 75%, #192735 100%);
  color: #f0f8fc;
  box-shadow: 0 3px 12px rgb(0 0 0 / 12%);
}
.dark [data-site-beta-feedback-card]:has(> span:nth-child(4)) > span:first-child > span:first-child { border-color: #345869; background: #193b4a; color: #9de5f5; }
.dark [data-site-beta-feedback-card] > span:first-child > span:nth-child(2) { color: #9dd8e6; }
.dark [data-site-beta-feedback-card] > span:first-child > span:nth-child(3) { background: #f5d778; color: #4c3508; }
.dark [data-site-beta-feedback-card] > span:nth-child(2) { color: #f0f8fc; }
.dark [data-site-beta-feedback-card] > span:nth-child(3) { color: #aec3d0; }
.dark [data-site-beta-feedback-card] > span:nth-child(4) { border-color: #345869; background: #193b4a; color: #b6edfa; }
.dark [data-site-beta-feedback-card]:hover { border-color: #70c4d9; box-shadow: 0 4px 16px rgb(0 0 0 / 20%); }
.dark [data-site-beta-feedback-card]:hover > span:nth-child(4) { background: #224c5c; }
.dark [data-site-beta-feedback-card][aria-current='page'] { border-color: #70c4d9; box-shadow: 0 0 0 1px #70c4d9; }
@media (prefers-reduced-motion: reduce) { [data-site-beta-feedback-card] { transition: none; } }
