.bi-app-dialog { width: 520px; max-width: 95vw; border-radius: 10px; overflow: hidden; }
.bi-app-dialog__content { padding: 0 24px 8px !important; display: flex; flex-direction: column; gap: 14px; }
.bi-app-top-spacer { height: 18px !important; flex-shrink: 0; }
.bi-app-dialog__actions { padding: 8px 16px 14px; }

.bi-app-field { display: flex; flex-direction: column; gap: 4px; }
.bi-app-label { font-size: 12px; font-weight: 600; color: #475569; text-transform: uppercase; letter-spacing: 0.03em; }
.bi-app-required { color: #dc2626; }
.bi-app-input {
  border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; font-size: 14px;
  font-family: inherit; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.bi-app-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.bi-app-input--error, .bi-app-input--error:focus { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }
.bi-app-textarea { resize: vertical; min-height: 64px; }
/* Domain: boxed like the inputs, fixed colours — no underline / focus animation */
md-select.bi-app-select {
  margin: 0 !important; height: 40px; padding: 0 10px !important;
  border: 1px solid #cbd5e1; border-radius: 6px; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
md-select.bi-app-select:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); outline: none; }
md-select.bi-app-select .md-select-value {
  border-bottom: none !important; padding: 0 !important; min-height: 38px;
  font-size: 14px; color: #111827 !important; transition: none !important;
}
md-select.bi-app-select .md-select-value.md-select-placeholder { color: #94a3b8 !important; }
md-select.bi-app-select[disabled] { opacity: .6; background: #f8fafc; }

.bi-app-hint { min-height: 18px; font-size: 12px; }
.bi-app-hint md-icon { font-size: 15px; width: 15px; height: 15px; min-height: 15px; min-width: 15px; vertical-align: -3px; }
.bi-app-hint--muted { color: #64748b; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.bi-app-hint--ok { color: #16a34a; }
.bi-app-hint--ok md-icon { color: #16a34a; }
.bi-app-hint--error { color: #dc2626; }
.bi-app-hint--error md-icon { color: #dc2626; }
