.support-panel { max-width: 760px; }
.support-panel h2 { font-size: 20px; line-height: 1.35; letter-spacing: -.015em; }
.support-panel > p { color: #52655c; }
.support-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 20px 0; padding-bottom: 16px; border-bottom: 1px solid #dfe5df; }
.support-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.support-panel textarea { min-height: 160px; resize: vertical; }
.support-panel form > button { justify-self: start; min-width: 220px; }
.support-trap { display: none; }
.support-feedback-fields { display: grid; gap: 12px; }
.support-feedback-fields[hidden],.support-fallback[hidden] { display: none; }
#supportContextPreview { white-space: pre-wrap; overflow-wrap: anywhere; background: #f4f6f2; padding: 12px; font-size: 12px; }
.support-fallback { padding: 12px 0; }
.support-fallback a,.support-fallback button { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; }
.support-draft-hint { font-size: 13px; color: #52655c; }
.ui-feedback-bar { display: flex; justify-content: flex-end; margin-top: -12px; margin-bottom: 12px; }
.ui-feedback-bar .ui-button { font-size: 13px; min-height: 44px; }
.ui-feedback-dialog { width: min(720px,calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid #cdd7d0; border-radius: 16px; color: #20312f; background: #fff; }
.ui-feedback-dialog::backdrop { background: #162d2780; }
.ui-feedback-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: sticky; top: 0; z-index: 1; background: #fff; border-bottom: 1px solid #dfe5df; padding: 12px 20px; }
.ui-feedback-dialog-head h2 { font-size: 20px; margin: 0; }
.ui-feedback-host { padding: 0 20px 20px; }
.ui-feedback-host form { display: grid; gap: 16px; }
.ui-feedback-host label { display: grid; gap: 6px; font-size: 14px; }
.ui-feedback-host .support-trap { display: none; }
.ui-feedback-host summary { min-height: 44px; padding: 10px 0; cursor: pointer; }
.ui-feedback-host input:not([type=checkbox]),.ui-feedback-host textarea,.ui-feedback-host select { box-sizing: border-box; width: 100%; min-height: 44px; border: 1px solid #bccbc3; border-radius: 8px; padding: 10px 12px; font: inherit; color: inherit; background: #fff; }
.ui-feedback-host .consent { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.ui-feedback-host input[type=checkbox] { width: 20px; height: 20px; flex: 0 0 auto; margin: 2px 0; }
.ui-feedback-host button { min-height: 44px; padding: 10px 14px; border: 1px solid #bccbc3; border-radius: 8px; cursor: pointer; }
.ui-feedback-host button[type=submit] { background: #087b63; color: #fff; border-color: #087b63; font-weight: 600; }
.ui-feedback-host button:disabled { opacity: .6; cursor: default; }
.ui-feedback-host [data-error=true] { color: #9b3030; }
@media (max-width: 480px) { .ui-feedback-host { padding: 0 12px 16px; } .ui-feedback-dialog-head { padding: 12px; } }
#supportRequests { list-style: none; padding: 0; margin: 16px 0; }
#supportMessage { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
#supportContact, #supportReference { overflow-wrap: anywhere; }
#supportReference { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #10322f; }
#supportRequests button { display: block; width: 100%; text-align: left; margin: 8px 0; padding: 14px; background: #f5f6f2; color: #20312f; border: 1px solid #dfe5df; font-weight: 500; }
#supportRequests button:hover:not(:disabled) { background: #e7f2e9; border-color: #8ab6a1; color: #10322f; }
#supportRequests button:disabled { color: #5e6e66; background: #f0f2ee; cursor: not-allowed; }
#supportInbox { margin: 28px 0; padding-top: 24px; border-top: 1px solid #dfe5df; }
#supportInbox > button { background: #fff; color: #066850; border-color: #bccbc3; }
#supportInbox > button:hover:not(:disabled) { background: #e7f2e9; border-color: #087b63; }
#supportInbox > button:disabled { color: #5e6e66; background: #e8ede8; border-color: #d8e1da; }
#supportDetail { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dfe5df; }
#supportDetail h3 { margin: 0 0 12px; line-height: 1.4; }
#supportContact { font-size: 13px; color: #5e6e66; }
#supportSuccess { margin: 24px 0; padding: 20px; border: 1px solid #bad6c2; border-radius: 10px; background: #edf6ee; }
#supportSuccess h2 { margin-top: 0; color: #115b40; }
#supportSuccess p { font-size: 14px; }
.support-panel > a:last-child { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
@media (max-width: 480px) {
  .support-panel form > button { width: 100%; min-width: 0; }
  .support-nav { gap: 0 20px; }
  #supportSuccess { padding: 16px; }
  #supportInbox > button { width: 100%; }
}

.support-attachments { min-width: 0; margin: 0; padding: 12px; border: 1px solid #dfe5df; border-radius: 8px; }
.support-attachments[hidden],.support-attachment-links[hidden] { display: none; }
.support-attachments legend { font-weight: 600; padding: 0 4px; }
.support-attachments p,.support-attachments li { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.support-attachments input[type=file] { display: block; width: 100%; min-width: 0; box-sizing: border-box; font-family: inherit; font-size: 0; color: transparent; }
.support-attachments input::file-selector-button { min-height: 44px; max-width: 100%; margin-right: 8px; padding: 8px; font-family: inherit; font-size: 14px; color: #183b35; }
.support-attachments button { min-height: 44px; max-width: 100%; white-space: normal; }
.support-attachment-links a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
#supportAttachmentStatus[data-error=true] { color: #9b3030; }
