/* Compact social-style controls; loaded after the earlier demo styles. */
.idea-feedback { padding: 20px 0; border: 0; border-top: 1px solid #dbe4ef; border-radius: 0; background: #fff; }
.idea-feedback h2 { margin: 0 0 8px; font-size: 17px; }
.idea-feedback .idea-feedback-notice { padding: 0; border: 0; background: transparent; color: #728097; font-size: 12px; line-height: 1.8; }
.idea-feedback .reaction-buttons { align-items: center; gap: 5px; margin: 14px 0 5px; }
.idea-feedback .reaction-button, .idea-feedback .reaction-comment-toggle { flex: 0 0 auto; min-height: 40px; padding: 7px 10px; border: 1px solid transparent; border-radius: 20px; background: #f3f6fa; font-size: 13px; text-align: center; }
.idea-feedback .reaction-button[aria-pressed="true"], .idea-feedback .reaction-comment-toggle[aria-expanded="true"] { border-color: #a9c8ec; background: #eaf3ff; color: #215d9f; box-shadow: none; }
.idea-feedback .reaction-selection { margin: 5px 0; font-size: 12px; }
.idea-feedback .idea-feedback-status { min-height: 0; margin: 7px 0; font-size: 12px; }
.idea-feedback .idea-feedback-status:empty { display: none; }
.idea-feedback form { margin-top: 15px; padding: 14px; border-radius: 10px; background: #f6f8fb; }
.idea-feedback form h3 { margin: 0; font-size: 14px; }
.idea-feedback form label { font-size: 12px; }
.idea-feedback textarea { border-radius: 8px; }
.idea-feedback .idea-feedback-composer-actions { display: flex; justify-content: flex-end; gap: 8px; }
.idea-feedback .idea-feedback-composer-actions button { padding: 7px 12px; border-radius: 18px; }
.idea-feedback [data-feedback-thread] > h3 { font-size: 13px; margin: 20px 0 8px; color: #64738a; }
.idea-feedback .idea-feedback-comments > li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 0 8px; padding: 12px 0; border-bottom: 0; }
.idea-feedback .idea-feedback-comments > li::before { content: ''; grid-column: 1; grid-row: 1 / 3; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: #dbe9f8; }
.idea-feedback .idea-feedback-comments > li > strong { grid-column: 2; font-size: 12px; font-weight: 500; }
.idea-feedback .idea-feedback-comments > li > p { grid-column: 2; justify-self: start; max-width: 100%; padding: 9px 13px; margin: 4px 0; border-radius: 3px 14px 14px; background: #f0f4f9; font-size: 14px; line-height: 1.8; }
.idea-feedback .idea-feedback-comments > li > button { grid-column: 2; justify-self: start; min-height: 32px; padding: 4px 0; border: 0; color: #70829b; background: transparent; font-size: 12px; }
.idea-feedback .idea-feedback-clear { margin-top: 12px; padding: 5px 0; min-height: 32px; border: 0; background: transparent; color: #77859a; font-size: 12px; }
.idea-feedback button:focus-visible, .idea-feedback textarea:focus-visible { outline: 2px solid #3675ba; outline-offset: 3px; }
@media (max-width: 620px) {
  .idea-feedback { padding: 18px 0; }
  .idea-feedback h2 { font-size: 17px; }
  .idea-feedback .reaction-button, .idea-feedback .reaction-comment-toggle { flex: 0 0 auto; min-height: 40px; padding: 7px 9px; text-align: center; }
}

/* Embedded card widgets keep the same controls without a large panel heading. */
.idea-feedback.idea-feedback-compact { margin: 0; padding: 12px 16px; border-top: 1px solid #e1e8f2; }
.idea-feedback-compact > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.idea-feedback-compact .idea-feedback-notice { margin: 0 0 8px; font-size: 11px; line-height: 1.7; }
.idea-feedback-compact .reaction-buttons { margin: 0; gap: 4px; }
.idea-feedback-compact .reaction-button, .idea-feedback-compact .reaction-comment-toggle { padding: 6px 9px; font-size: 12px; }
.idea-feedback-compact form { margin-top: 10px; padding: 10px; }
.idea-feedback-compact .idea-feedback-composer-actions { flex-wrap: wrap; }
.idea-feedback-compact .idea-feedback-clear { margin-top: 7px; font-size: 11px; }
@media (max-width: 620px) { .idea-feedback.idea-feedback-compact { padding: 12px; } }
