/* S1 Feedback (s1-feedback.js). Only .s1fb-* rules; everything else is the shared kit. Hue means status, ink means action. */
.s1fb-host { display: block; }
.s1fb-send { display: flex; justify-content: flex-end; }
.s1fb-list { display: grid; }
.s1fb-item { display: grid; gap: calc(8px * var(--s1-scale, 1)); padding: calc(14px * var(--s1-scale, 1)) 0; border-bottom: 1px solid var(--s1-line-soft); min-width: 0; }
.s1fb-item:first-child { padding-top: 0; }
.s1fb-item:last-child { border-bottom: 0; padding-bottom: 0; }
.s1fb-item-top { display: flex; align-items: center; gap: calc(8px * var(--s1-scale, 1)); flex-wrap: wrap; }
.s1fb-when { margin-left: auto; color: var(--s1-mute); font-size: var(--s1-text-small); }
.s1fb-msg { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; color: var(--s1-ink); }
.s1fb-note { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: calc(8px * var(--s1-scale, 1)); align-items: start; padding: calc(10px * var(--s1-scale, 1)) calc(12px * var(--s1-scale, 1)); background: var(--s1-column); border: 1px solid var(--s1-line-soft); border-radius: var(--s1-radius-control); color: var(--s1-ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.s1fb-note small { display: block; margin-top: 4px; color: var(--s1-mute); }
.s1fb-item-foot { display: flex; gap: calc(8px * var(--s1-scale, 1)); flex-wrap: wrap; }

.s1fb-item--focus { background: var(--s1-line-soft); border-radius: var(--s1-radius-control); padding-inline: calc(10px * var(--s1-scale, 1)); }
/* Round 3: the page sits on the same left edge as the top bar and every other page (the header gutter, 28px on a desktop, 16px on a phone). */
.k-page.s1fb { --s1-gutter: var(--gut, 28px); }
/* The form and the list share the width evenly: the textarea is no longer a narrow strip beside an empty column. */
@media (min-width: 1100px) { .s1fb .k-cols-side-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.s1fb-item-foot { align-items: center; justify-content: flex-end; }
.s1fb--review [data-s1fb-panel] { order: -1; }
.s1fb-page { color: var(--s1-mute); font-size: var(--s1-text-small); margin-right: auto; }
.s1fb-page a { color: var(--s1-ink); }
