#feedback-page { padding-bottom: 48px; }
.feedback-layout { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr); gap: 20px; align-items: start; }
.feedback-card { background: #fff; border: 1px solid #e3e9ef; border-radius: 16px; padding: 22px; box-shadow: 0 4px 18px rgba(23, 49, 72, .05); }
.feedback-card h2 { margin: 0 0 18px; font-size: 20px; color: #183850; }
.feedback-card h3 { margin: 20px 0 10px; font-size: 16px; color: #183850; }
.feedback-card label { display: block; font-weight: 600; font-size: 14px; color: #314b61; margin: 14px 0 7px; }
.feedback-card input[type="text"], .feedback-card textarea, .feedback-card select {
    width: 100%; box-sizing: border-box; border: 1px solid #cbd8e2; border-radius: 9px;
    padding: 10px 12px; font: inherit; color: #243b4d; background: #fff;
}
.feedback-card textarea { resize: vertical; line-height: 1.55; }
.feedback-card input[type="file"] { max-width: 100%; font-size: 14px; }
.feedback-card input:focus, .feedback-card textarea:focus, .feedback-card select:focus, .feedback-editor:focus { outline: 2px solid #8bc8d4; outline-offset: 1px; }
.feedback-editor-shell { border: 1px solid #cbd8e2; border-radius: 9px; overflow: hidden; }
.feedback-editor { min-height: 150px; padding: 12px; color: #243b4d; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-editor:empty::before { content: attr(data-placeholder); color: #8a9ba7; pointer-events: none; }
.feedback-editor-toolbar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-top: 1px solid #e3e9ef; color: #687f90; font-size: 13px; }
.feedback-editor-toolbar button { border: 1px solid #cbd8e2; border-radius: 7px; padding: 6px 10px; color: #31546a; background: #fff; font: inherit; cursor: pointer; white-space: nowrap; }
.feedback-inline-attachment { display: inline-flex; vertical-align: middle; align-items: center; gap: 6px; max-width: 100%; padding: 4px 6px; margin: 4px 2px; border: 1px solid #dbe5eb; border-radius: 8px; background: #f5f9fb; }
.feedback-inline-attachment img { display: block; max-width: 180px; max-height: 125px; object-fit: contain; border-radius: 5px; }
.feedback-attachment-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.feedback-document-icon { font-size: 18px; }
.feedback-attachment-remove { border: 0; background: transparent; color: #667e8e; font-size: 20px; line-height: 1; cursor: pointer; }
.feedback-primary { margin-top: 15px; padding: 10px 18px; border: 0; border-radius: 9px; background: #126b83; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.feedback-primary:disabled { opacity: .55; cursor: wait; }
.feedback-muted, .feedback-card small { color: #687f90; font-size: 13px; }
.feedback-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feedback-heading h2 { margin: 0 0 14px; }
.feedback-heading button { border: 1px solid #cbd8e2; background: #fff; color: #31546a; border-radius: 8px; padding: 6px 11px; cursor: pointer; }
.feedback-row { display: block; width: 100%; text-align: left; padding: 13px 3px; background: transparent; border: 0; border-bottom: 1px solid #edf1f4; cursor: pointer; color: #193e53; }
.feedback-row:hover { background: #f6fafb; }
.feedback-row strong, .feedback-row small { display: block; }
.feedback-row small { margin-top: 4px; }
.feedback-detail { margin-top: 20px; }
.feedback-detail[hidden], #feedback-admin-status[hidden], #feedback-detail-console-wrap[hidden] { display: none; }
#feedback-detail-description, .feedback-comment p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
#feedback-detail-console { max-height: 340px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: #102b3d; color: #e9f4f8; padding: 16px; border-radius: 9px; font-size: 12px; }
.feedback-detail-attachment { display: inline-flex; vertical-align: middle; align-items: center; gap: 6px; max-width: 100%; margin: 6px 4px; padding: 5px 8px; border: 1px solid #dbe5eb; border-radius: 8px; background: #f5f9fb; text-decoration: none; color: #126b83; }
.feedback-detail-attachment img { display: block; max-width: 240px; max-height: 180px; object-fit: contain; border-radius: 5px; }
.feedback-comment { border-top: 1px solid #e7eef2; padding: 12px 0; }
.feedback-comment small { margin-left: 10px; }
#feedback-form-message, #feedback-comment-message { margin-left: 10px; color: #126b83; font-size: 13px; }
@media (max-width: 900px) { .feedback-layout { grid-template-columns: 1fr; } }
