.contact-panel {
  min-width: 0;
  align-self: start;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(11, 26, 49, .94), rgba(5, 14, 29, .98));
  scroll-margin-top: 104px;
}
.contact-panel h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; }
.contact-panel > p { color: #b6c5d8; font-size: 16px; }
.contact-channel-notice { padding: 14px; border-left: 2px solid var(--lime); background: var(--lime-soft); }
.contact-direct { display: inline-block; margin: 0 0 18px; min-height: 44px; padding-top: 8px; color: var(--cyan); overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 15px; }
.contact-field { display: grid; gap: 6px; min-width: 0; }
.contact-field label { color: #d7e3f2; font-size: 15px; }
.contact-field label span { color: #aabbd0; }
.contact-field input, .contact-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(121, 174, 224, .35);
  border-radius: 10px;
  background: #071326;
  color: var(--text);
  font: inherit;
}
.contact-field textarea { min-height: 86px; resize: vertical; }
.contact-field input[aria-invalid="true"] { border-color: #ffb5a7; }
.contact-field-error { margin: 0; color: #ffb5a7; font-size: 14px; }
.contact-field-error:empty { display: none; }
.contact-optional { color: #c7d6e8; font-size: 15px; }
.contact-optional summary { min-height: 44px; padding: 10px 0; cursor: pointer; }
.contact-optional .contact-field { margin-top: 5px; }
.contact-attachment-toggle { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; color: #d7e3f2; font-size: 15px; cursor: pointer; }
.contact-attachment-toggle input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lime); }
.contact-roi-hint, .contact-privacy { margin: 0; color: #aabbd0; font-size: 14px; line-height: 1.55; }
.contact-privacy a { color: var(--cyan); text-underline-offset: 3px; }
.contact-roi-preview { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #081427; }
.contact-roi-preview h4 { margin: 0 0 10px; font-size: 16px; }
.contact-roi-preview pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 14px; line-height: 1.6; }
.contact-submit {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(185, 243, 75, .5);
  border-radius: 12px;
  background: var(--lime);
  color: #0a1800;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.contact-submit:disabled { border-color: var(--line); background: #17253b; color: #b6c5d8; cursor: not-allowed; }
.contact-status { margin: 0; color: #dbe8f4; font-size: 14px; }
.contact-panel :is(input, textarea, button, a, summary):focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
