.feedback-hero { padding-bottom: 80px; }
.feedback-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 76px; align-items: end; }
.feedback-hero h1 { max-width: 650px; }
.feedback-intro { padding-bottom: 5px; }
.feedback-intro .lede { margin-top: 0; font-size: 18px; }
.response-note { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .025em; line-height: 1.65; margin-top: 24px; }
.response-note > span { display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: #64b485; box-shadow: 0 0 0 4px rgba(100,180,133,.1); }
.feedback-section { padding: 82px 0 112px; }
.workbench-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.workbench-heading h2, .support-aftercare h2, .feedback-success h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; margin-top: 10px; }
.workbench-heading > p { color: var(--muted); font-size: 13px; }
.workbench-index, .panel-heading, .attachment-rules, .field-hint, .optional, .privacy-note, .fallback-note, .feedback-status { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.workbench-index { color: var(--accent-bright); }
.feedback-workbench { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr); border: 1px solid var(--border); background: rgba(12,10,9,.8); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.feedback-fields { min-width: 0; padding: 34px; border-right: 1px solid var(--border); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-group { margin-bottom: 24px; }
.field-group label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); font-size: 13px; font-weight: 500; margin-bottom: 9px; }
.field-group label > span:not(.optional) { color: var(--accent-bright); }
.optional { color: var(--muted); font-size: 8px; font-weight: 500; }
.field-group input, .field-group select, .field-group textarea { appearance: none; width: 100%; border: 1px solid #35302e; border-radius: 0; background: #0a0909; color: var(--text); font: inherit; font-size: 14px; line-height: 1.5; padding: 13px 14px; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.field-group select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.field-group textarea { min-height: 202px; resize: vertical; }
.field-group input::placeholder, .field-group textarea::placeholder { color: #615b57; }
.field-group input:hover, .field-group select:hover, .field-group textarea:hover { border-color: #4b4541; }
.field-group input:focus-visible, .field-group select:focus-visible, .field-group textarea:focus-visible { border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(125,183,196,.1); background: #0d0c0c; }
.field-group input:user-invalid, .field-group select:user-invalid, .field-group textarea:user-invalid { border-color: #b46f64; }
.field-hint { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); margin-top: 8px; font-size: 9px; }
.versions-row .field-group { margin-bottom: 0; }
.diagnostic-card { margin: 8px 0 28px; padding: 20px; border: 1px solid rgba(125,183,196,.28); background: linear-gradient(135deg, rgba(51,103,116,.18), rgba(9,9,11,.52)); transition: border-color .2s var(--ease), background .2s var(--ease); }
.diagnostic-card.is-emphasized { border-color: rgba(125,183,196,.72); background: linear-gradient(135deg, rgba(51,103,116,.27), rgba(9,9,11,.58)); }
.diagnostic-card.is-complete { border-color: rgba(100,180,133,.48); }
.diagnostic-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 18px; }
.diagnostic-head strong { display: block; font-size: 15px; font-weight: 500; }
.diagnostic-head p { max-width: 480px; color: var(--dim); font-size: 12px; line-height: 1.55; margin-top: 5px; }
.recommendation-badge { flex: 0 0 auto; color: var(--accent-bright); border: 1px solid rgba(125,183,196,.34); padding: 5px 7px; font: 8px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.diagnostic-card .field-group { margin-bottom: 0; }
.version-help { display: block; color: var(--muted); font: 8px 'JetBrains Mono', monospace; line-height: 1.55; letter-spacing: .03em; margin-top: 7px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.attachment-panel { min-width: 0; padding: 34px; background: linear-gradient(155deg, rgba(51,103,116,.14), transparent 52%); }
.panel-heading { display: flex; justify-content: space-between; color: var(--accent-bright); }
.panel-heading > span:last-child { color: var(--muted); }
.attachment-panel h3 { font-size: 25px; font-weight: 400; letter-spacing: -.025em; margin: 15px 0 8px; }
.attachment-panel > p:not(.attachment-rules) { color: var(--dim); font-size: 13px; line-height: 1.65; }
.attachment-dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; margin-top: 24px; padding: 28px 20px; text-align: center; border: 1px dashed #514a46; background: rgba(9,9,11,.58); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.attachment-dropzone:hover, .attachment-dropzone:focus-visible, .attachment-dropzone.is-dragging { border-color: var(--accent-bright); background: rgba(51,103,116,.13); }
.attachment-dropzone:focus-visible { box-shadow: 0 0 0 3px rgba(125,183,196,.1); }
.dropzone-mark { position: relative; width: 46px; height: 46px; margin-bottom: 20px; }
.dropzone-mark span { position: absolute; width: 15px; height: 15px; border-color: var(--accent-bright); border-style: solid; }
.dropzone-mark span:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.dropzone-mark span:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.dropzone-mark span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.dropzone-mark span:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.attachment-dropzone strong { font-size: 15px; font-weight: 500; }
.attachment-dropzone > span { color: var(--muted); font-size: 12px; margin: 6px 0 17px; }
kbd { border: 1px solid #4a4542; background: #171514; color: var(--dim); font: 10px 'JetBrains Mono', monospace; padding: 2px 5px; box-shadow: inset 0 -1px #302b29; }
.attachment-dropzone button, .feedback-success button { border: 0; border-bottom: 1px solid rgba(125,183,196,.45); background: transparent; color: var(--accent-bright); font: 10px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; cursor: pointer; }
.attachment-dropzone button:hover, .attachment-dropzone button:focus-visible, .feedback-success button:hover, .feedback-success button:focus-visible { color: var(--text); border-color: var(--text); }
.attachment-rules { color: var(--muted); font-size: 8px; line-height: 1.6; margin-top: 13px; }
.attachment-list { display: grid; gap: 8px; margin-top: 18px; }
.attachment-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 11px; border-top: 1px solid var(--border); padding-top: 10px; }
.attachment-preview { width: 40px; height: 40px; display: grid; place-items: center; overflow: hidden; background: #171514; color: var(--accent-bright); font: 9px 'JetBrains Mono', monospace; }
.attachment-preview img { width: 100%; height: 100%; object-fit: cover; }
.attachment-details { min-width: 0; }
.attachment-details strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; }
.attachment-details span { display: block; color: var(--muted); font: 9px 'JetBrains Mono', monospace; margin-top: 2px; }
.attachment-remove { width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }
.attachment-remove:hover, .attachment-remove:focus-visible { color: var(--text); }
.feedback-submit { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 24px 34px; border-top: 1px solid var(--border); }
.privacy-note { color: var(--dim); line-height: 1.55; }
.fallback-note { color: var(--muted); margin-top: 7px; }
.submit-button { min-width: 190px; min-height: 52px; display: flex; justify-content: space-between; align-items: center; gap: 28px; border: 0; background: var(--text); color: var(--bg); padding: 0 18px; font: 11px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease); }
.submit-button:hover { transform: translateY(-2px); background: white; }
.submit-button:focus-visible { box-shadow: 0 0 0 3px rgba(125,183,196,.4); }
.submit-button:disabled { cursor: wait; opacity: .56; transform: none; }
.upload-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #171514; overflow: hidden; }
.upload-progress span { display: block; width: 0; height: 100%; background: var(--accent-bright); transition: width .15s linear; }
.feedback-status { grid-column: 1 / -1; min-height: 0; color: #d18b7f; }
.feedback-status:empty { display: none; }
.feedback-success { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; border: 1px solid rgba(100,180,133,.34); background: linear-gradient(135deg, rgba(100,180,133,.1), rgba(12,10,9,.8)); padding: 42px; }
.success-mark { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #64b485; color: #64b485; font-size: 22px; }
.feedback-success p { color: var(--dim); margin: 16px 0 22px; }
.feedback-success code { color: var(--text); font-family: 'JetBrains Mono', monospace; }
.support-aftercare { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 74px; margin-top: 96px; padding-top: 52px; border-top: 1px solid var(--border); }
.support-aftercare ol { list-style: none; }
.support-aftercare li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--border); }
.support-aftercare li:first-child { border-top: 0; padding-top: 0; }
.support-aftercare li > span { color: var(--accent-bright); font: 10px 'JetBrains Mono', monospace; }
.support-aftercare li p { color: var(--dim); font-size: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .feedback-hero-grid, .support-aftercare { grid-template-columns: 1fr; gap: 38px; }
  .feedback-intro { max-width: 680px; }
  .feedback-workbench { grid-template-columns: 1fr; }
  .feedback-fields { border-right: 0; border-bottom: 1px solid var(--border); }
  .attachment-dropzone { min-height: 220px; }
}
@media (max-width: 640px) {
  .feedback-hero { padding-bottom: 58px; }
  .feedback-section { padding-top: 58px; }
  .workbench-heading { align-items: start; flex-direction: column; gap: 12px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .versions-row .field-group { margin-bottom: 24px; }
  .versions-row .field-group:last-child { margin-bottom: 0; }
  .diagnostic-head { flex-direction: column; }
  .feedback-fields, .attachment-panel { padding: 24px 20px; }
  .feedback-submit { grid-template-columns: 1fr; padding: 22px 20px; }
  .submit-button { width: 100%; }
  .feedback-success { grid-template-columns: 1fr; padding: 28px 22px; }
  .support-aftercare { margin-top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .submit-button, .attachment-dropzone, .field-group input, .field-group select, .field-group textarea { transition: none; }
}
html[dir="rtl"] .feedback-fields { border-right: 0; border-left: 1px solid var(--border); }
html[dir="rtl"] .field-group input[dir="ltr"] { text-align: left; }
@media (max-width: 900px) {
  html[dir="rtl"] .feedback-fields { border-left: 0; }
}
