.workspace--feedback-threads { width:min(1250px,calc(100% - 64px)); }
.feedback-toolbar { margin-bottom:20px; }
.feedback-choice { display:inline-flex; min-width:0; max-width:100%; }
.feedback-choice-trigger { display:flex; align-items:center; gap:10px; max-width:100%; min-height:44px; padding:10px 15px; color:var(--ink); border:1px solid #ffffff24; border-radius:999px; background:#ffffff04; font:inherit; font-size:15px; text-align:left; transition:border-color 150ms,background 150ms; }
.feedback-choice-trigger:hover,.feedback-choice-trigger[aria-expanded=true] { border-color:#cfc0e55c; background:#ffffff09; }
.feedback-choice-trigger:focus-visible { outline:2px solid #cfc0e580; outline-offset:3px; }
.feedback-choice-value { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.feedback-choice-symbol { display:grid; place-items:center; flex:none; width:18px; height:20px; color:#bfb3d0; font-size:18px; line-height:1; }
.feedback-choice-symbol.is-state::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--feedback-state,#aaa5b4); }
.feedback-choice-symbol[data-value=open] { --feedback-state:#9fd4b5; }
.feedback-choice-symbol[data-value=approved] { --feedback-state:#a1c2e9; }
.feedback-choice-symbol[data-value=in_progress] { --feedback-state:#e1c485; }
.feedback-choice-symbol[data-value=implemented] { --feedback-state:#c6a9ea; }
.feedback-choice-symbol[data-value=deleted] { --feedback-state:#d6a0ad; }
.feedback-choice-arrow { width:6px; height:6px; flex:none; border-right:1px solid currentColor; border-bottom:1px solid currentColor; transform:translateY(-2px) rotate(45deg); opacity:.6; margin:0 2px 0 10px; }
[aria-expanded=true]>.feedback-choice-arrow { transform:translateY(2px) rotate(225deg); }
.feedback-choice-menu { position:fixed; z-index:1005; box-sizing:border-box; padding:6px; overflow:auto; overscroll-behavior:contain; border:1px solid #d6c5ed33; border-radius:19px; background:#101016ed; backdrop-filter:blur(18px); box-shadow:0 16px 48px #0009,inset 0 1px 0 #ffffff09; animation:feedback-menu-in 120ms ease-out; }
.feedback-choice-option { display:grid; grid-template-columns:18px minmax(0,1fr) 16px; align-items:center; gap:12px; min-height:44px; padding:10px 12px; border-radius:12px; color:var(--ink); font-size:15px; line-height:1.5; cursor:pointer; }
.feedback-choice-option.is-active { background:#ffffff0a; }
.feedback-choice-option[aria-selected=true] { color:#e0d5ef; }
.feedback-choice-check { color:#c7b3df; font-size:13px; }
@keyframes feedback-menu-in { from { opacity:0; transform:translateY(-3px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { .feedback-choice-menu { animation:none; }.feedback-choice-trigger { transition:none; } }
.feedback-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.feedback-form { padding:0; overflow:hidden; }
.feedback-composer-head { padding:20px 28px; border-bottom:1px solid #ffffff12; }
.feedback-editor { padding:0 28px; }
.feedback-form .feedback-editor textarea { min-height:252px; padding:24px 0; border:0; box-shadow:none; font-size:17px; line-height:1.9; }
.feedback-form textarea::placeholder,.feedback-contact-field input::placeholder { color:#9994a3; opacity:1; }
.feedback-form:focus-within::before { opacity:.75; }
.feedback-contact-field { padding:0 28px 20px; }
.feedback-contact-field input { padding:12px 0; font-size:14px; }
.feedback-form .feedback-submit { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:0 20px; margin:0; padding:18px 28px; border-top:1px solid #ffffff12; }
.feedback-submit>.primary { display:flex; align-items:center; justify-content:center; gap:18px; min-width:112px; min-height:44px; padding:10px 22px; margin:0; }
.feedback-submit-arrow { font-size:18px; opacity:.65; }
.feedback-submit>.status { grid-column:1/-1; margin:12px 0 0; }
.feedback-submit>.status:empty { display:none; }
.feedback-layout { grid-template-columns:340px minmax(0,1fr); }
.feedback-list { max-height:calc(100svh - 230px); }
.feedback-row-head,.feedback-thread-heading { display:flex; align-items:center; gap:12px; }
.feedback-row-head { justify-content:space-between; }
.feedback-row-name { display:flex; align-items:center; min-width:0; gap:10px; }
.feedback-row-category { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }
.feedback-number { flex:none; color:var(--muted); font-variant-numeric:tabular-nums; }
.feedback-badge { display:inline-flex; align-items:center; gap:7px; flex:none; font-size:13px; line-height:1.5; padding:4px 10px; border:1px solid color-mix(in srgb,var(--feedback-state) 30%,transparent); border-radius:999px; color:var(--feedback-state); background:color-mix(in srgb,var(--feedback-state) 7%,transparent); }
.feedback-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.feedback-badge[data-state=open] { --feedback-state:#9fd4b5; }
.feedback-badge[data-state=approved] { --feedback-state:#a1c2e9; }
.feedback-badge[data-state=in_progress] { --feedback-state:#e1c485; }
.feedback-badge[data-state=implemented] { --feedback-state:#c6a9ea; }
.feedback-badge[data-state=closed] { --feedback-state:#aaa5b4; }
.feedback-badge[data-state=deleted] { --feedback-state:#d6a0ad; }
.feedback-category-label { color:var(--muted); }
.feedback-thread-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:12px; margin:18px 0; }
.feedback-thread-actions > span { flex-basis:100%; font-size:14px; color:var(--muted); }
.feedback-delete { color:#d6a0ad; }
.feedback-upload { min-width:0; }
.feedback-upload input[hidden] { display:none; }
.feedback-upload .feedback-attach-button { display:flex; align-items:center; gap:9px; min-width:0; min-height:44px; margin:0; padding:10px 0; border:0; background:transparent; color:var(--muted); font-size:14px; }
.feedback-attach-button:hover { color:var(--ink); }
.feedback-attach-button svg { width:19px; height:19px; }
.feedback-upload-list { display:flex; flex-wrap:wrap; gap:7px; }
.feedback-upload-row { display:flex; align-items:center; max-width:100%; gap:6px; padding:3px 3px 3px 12px; border:1px solid #ffffff1c; border-radius:999px; font-size:12px; }
.feedback-upload-row span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.feedback-upload .feedback-remove-file { min-width:28px; width:28px; height:28px; min-height:28px; padding:0; margin:0; border:0; border-radius:50%; background:transparent; color:var(--muted); font-size:20px; }
.feedback-remove-file:hover { color:var(--ink); background:#ffffff0b; }
.feedback-edit-form>.feedback-upload,.feedback-reply-form>.feedback-upload { margin-top:12px; }
.feedback-attachments { display:grid; gap:10px; }
.feedback-attachments:empty { display:none; }
.feedback-attachments a { display:block; width:fit-content; max-width:100%; padding:10px 14px; border:1px solid var(--line); border-radius:12px; font-size:14px; overflow-wrap:anywhere; }
.feedback-comment .feedback-attachments { margin-top:16px; }
.feedback-edit-form { margin-top:22px; }
.feedback-edit-form label { display:block; margin:18px 0 12px; }
.feedback-edit-form textarea { display:block; width:100%; min-height:160px; padding:15px; border:1px solid var(--line); border-radius:16px; color:var(--ink); background:#ffffff03; font:inherit; line-height:1.7; resize:vertical; }
.feedback-edit-event { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; padding:18px 0; border-bottom:1px solid #ffffff12; color:var(--muted); font-size:13px; }
.feedback-edit-event .feedback-attachments { flex-basis:100%; }
.feedback-reply-actions { gap:12px; }
.feedback-detail { padding:30px; }
.feedback-detail-header { align-items:center; flex-wrap:wrap; gap:14px; }
.feedback-author-line { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 16px; margin-top:22px; font-size:14px; }
.feedback-author-line strong { font-weight:500; overflow-wrap:anywhere; }
.feedback-author-line time,.feedback-comment-meta time { color:var(--muted); font-size:12px; }
.feedback-body { margin:22px 0; }
.feedback-meta { gap:10px; margin-top:12px; font-size:12px; }
.feedback-meta time { text-align:right; }
.feedback-timeline { margin-top:28px; border-top:1px solid var(--line); }
.feedback-comment { padding:24px 0; border-bottom:1px solid #ffffff12; }
.feedback-comment-meta { display:flex; align-items:center; gap:8px 12px; flex-wrap:wrap; font-size:14px; }
.feedback-comment-meta strong { font-weight:500; overflow-wrap:anywhere; }
.feedback-comment-meta time { margin-left:auto; }
.feedback-admin-label { font-size:11px; color:#c6b4e0; padding:2px 7px; border:1px solid #c6b4e029; border-radius:999px; }
.feedback-comment p { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; margin:16px 0 0; }
.feedback-state-event { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--muted); font-size:13px; padding:17px 0; border-bottom:1px solid #ffffff12; }
.feedback-state-event time { flex-basis:100%; font-size:12px; }
.feedback-state-event .feedback-badge { font-size:12px; padding:2px 8px; }
.feedback-older { display:block; margin:12px auto 0; font-size:13px; }
.feedback-reply-form { margin-top:28px; }
.feedback-reply-form label { margin:0 0 12px; }
.feedback-reply-form textarea { display:block; width:100%; min-height:120px; resize:vertical; border:1px solid #ffffff24; border-radius:16px; padding:15px; color:var(--ink); background:#ffffff03; font:inherit; line-height:1.7; }
.feedback-reply-form textarea:focus { outline:1px solid var(--focus); }
.feedback-reply-actions { display:flex; justify-content:flex-end; margin-top:18px; }
#feedback-notice:empty { display:none; }
@media(max-width:760px) {
  .feedback-form { padding:0; }
  .feedback-composer-head { padding:18px 20px; }
  .feedback-editor { padding:0 20px; }
  .feedback-form .feedback-editor textarea { min-height:236px; font-size:16px; }
  .feedback-contact-field { padding:0 20px 18px; }
  .feedback-form .feedback-submit { padding:16px 20px; gap:0 12px; }
  .feedback-submit>.primary { min-width:98px; gap:12px; padding:10px 18px; }
  .workspace--feedback-threads { width:calc(100% - 28px); margin-top:14px; }
  .feedback-layout { grid-template-columns:1fr; }
  .feedback-list { max-height:none; }
  .feedback-detail { padding:24px 20px; }
  .feedback-comment-meta time { flex-basis:100%; margin-left:0; }
  .feedback-thread-heading { gap:9px; }
  .feedback-state-picker .feedback-choice-trigger { padding:9px 12px; font-size:14px; }
  #feedback-navigation { max-width:100%; }
  #feedback-navigation a { padding:10px 18px; }
}

.feedback-choice-symbol:not(.is-state),.feedback-attach-button svg,.feedback-submit-arrow { color:var(--ui-rose); }
.feedback-choice-check { color:var(--ui-rose); }
.feedback-choice-trigger:hover,.feedback-choice-trigger[aria-expanded=true] { border-color:#eda5c44c; }
