.support-connection {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  margin-bottom: 18px;
}
.support-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.support-heading h2 { font-size: 17px; margin: 0 0 4px; }
.support-heading p { margin: 0; color: var(--muted); }
.support-fields {
  display: grid;
  grid-template-columns: 2fr 100px 1.5fr 1fr 1.5fr auto;
  gap: 10px;
  align-items: end;
}
.support-fields label { display: grid; gap: 5px; color: #40535d; }
.support-connection > small { display: block; color: var(--muted); margin-top: 12px; }
.reseller-form { grid-template-columns: repeat(4, minmax(150px, 1fr)); }
.reseller-form .wide { grid-column: span 2; }
.reseller-form .full { grid-column: 1 / -1; }
.actions { display: flex; gap: 8px; align-items: center; }
.muted { color: var(--muted); }
.popover .inline-form input[type="password"] { width: 180px; }
.reseller-toolbar select { min-width: 180px; }
.reseller-dialog { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid #9aa8b1; color: var(--ink); }
.reseller-dialog::backdrop { background: rgba(10, 28, 38, .55); }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: #eef3f5; }
.dialog-heading h2 { margin: 0 0 4px; font-size: 19px; }
.dialog-heading p { margin: 0; color: var(--muted); }
.dialog-close { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 27px; line-height: 1; cursor: pointer; }
.reseller-dialog .reseller-form { padding: 20px; }
.reseller-dialog textarea { width: 100%; resize: vertical; border: 1px solid #aebbc3; padding: 8px 9px; font: inherit; color: var(--ink); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; }
.input-action { display: grid; grid-template-columns: minmax(100px, 1fr) 38px; gap: 6px; align-items: start; }
.input-action .icon-button { width: 38px; height: 38px; min-height: 38px; padding: 0; font-size: 16px; }
.field-status { min-height: 17px; color: var(--muted); font-size: 12px; }
.credential-list { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.credential-list > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.credential-list small { color: var(--muted); overflow-wrap: anywhere; }
.action-stack { display: grid; justify-items: start; gap: 7px; }
@media (max-width: 1100px) {
  .support-fields { grid-template-columns: repeat(3, 1fr); }
  .reseller-form { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .support-fields, .reseller-form { grid-template-columns: 1fr; }
  .reseller-form .wide, .reseller-form .full { grid-column: auto; }
}
