/* Shared private star (follow) and passive list marker. Only active where the elements exist. */
shq-follow { display: inline-flex; flex: 0 0 auto; vertical-align: middle; }
/* 24 px glyph, 44 px hit area; negative margin keeps layout height near 28 px. */
.shq-star {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: -8px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #627086; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.shq-star .shq-icon, shq-follow-marker .shq-icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.shq-star .shq-icon { width: 24px; height: 24px; }
.shq-star[aria-pressed="true"] .shq-icon, shq-follow-marker .shq-icon { fill: #f2b01e; stroke: #8a5a00; stroke-width: 1.5; }
.shq-star:hover { background: #eef2f6; }
.shq-star:focus-visible { outline: 3px solid #1c72b6; outline-offset: 0; }
.shq-star:disabled { opacity: .5; cursor: default; }
@keyframes shq-pop { 0% { transform: scale(1); } 50% { transform: scale(1.25); } 100% { transform: scale(1); } }
.shq-pop .shq-icon { animation: shq-pop 220ms ease-out; }
.shq-star, .shq-star .shq-icon { transition: background-color 120ms; }
@media (prefers-reduced-motion: reduce) {
  .shq-pop .shq-icon { animation: none; }
  .shq-star, .shq-star .shq-icon { transition: none; }
}
@media (forced-colors: active) {
  .shq-star { color: ButtonText; }
  .shq-star[aria-pressed="true"] { border: 3px solid ButtonText; }
  .shq-star[aria-pressed="true"] .shq-icon, shq-follow-marker .shq-icon { fill: Highlight; stroke: ButtonText; }
}

/* Passive marker (not a control): small amber star on cards the user follows. */
shq-follow-marker { display: inline-flex; width: 14px; height: 14px; pointer-events: none; }
shq-follow-marker[hidden] { display: none; }
shq-follow-marker .shq-icon { width: 14px; height: 14px; }
.shq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* One toast, above the suite bottom bar. */
.shq-toast {
  position: fixed; z-index: 3000; left: 50%; bottom: calc(var(--shq-bottom-space, 48px) + 8px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap;
  width: min(480px, calc(100% - 24px)); padding: 6px 8px 6px 16px; border-radius: 14px;
  background: #16273b; color: #fff; box-shadow: 0 10px 30px rgba(9, 35, 63, .35); font-size: .875rem; line-height: 1.3;
}
.shq-toast[hidden] { display: none; }
.shq-toast__text { display: grid; gap: 2px; min-width: 0; padding: 6px 0; overflow-wrap: anywhere; }
.shq-toast__text small { color: #c9d6e4; font-size: .75rem; }
.shq-toast__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.shq-toast__action {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; color: #9fd0f5; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
.shq-toast__action:hover { background: rgba(255, 255, 255, .1); }
.shq-toast__action:focus-visible { outline: 3px solid #9fd0f5; outline-offset: 1px; }
.shq-keyboard-open .shq-toast { bottom: 12px; }
@media (min-width: 768px) { .shq-toast { bottom: 24px; } }
time + shq-follow-marker { margin-left: 6px; vertical-align: -2px; }
