.line-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
dialog {
  width: min(530px, calc(100vw - 36px));
  max-height: calc(100dvh - 48px);
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 25px 90px #0003;
}
dialog::backdrop { background: #211b295f; backdrop-filter: blur(5px); }
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 10px;
}
.dialog-heading .icon-button { font-size: 24px; }
dialog h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.7px; }
.field {
  display: grid;
  gap: 9px;
  margin-top: 23px;
  font-size: 11px;
  font-weight: 600;
}
.field input, .field select {
  width: 100%;
  padding: 13px;
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--inset);
  font-size: 12px;
  font-weight: 400;
}
form > .primary { margin-top: 20px; }
#form-error, .form-error {
  margin: 16px 0 0;
  color: var(--accent);
  font-size: 12px;
}
.delete-description { margin-top: 16px; font-size: 13px; line-height: 1.7; }
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
}

@media (max-width: 700px) {
  dialog { padding: 21px; }
  dialog h2 { font-size: 22px; }
}
