#consultation-modal {
  box-sizing: border-box;
  width: min(1000px, calc(100% - 2rem));
  height: min(850px, calc(100dvh - 2rem));
  max-width: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid #69578e;
  border-radius: 20px;
  background: #101c2e;
  color: #edf6ff;
  overflow: hidden;
}
#consultation-modal[open] { display: flex; flex-direction: column; }
#consultation-modal::backdrop { background: #030812b8; }
#consultation-modal .comparison-modal-bar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  background: rgba(124, 92, 255, 0.25);
}
#consultation-modal-title { margin: 0; font-size: 1.1rem; }
#consultation-close {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid #73849d;
  border-radius: 10px;
  background: #192b40;
  color: #edf6ff;
  font: inherit;
  cursor: pointer;
}
#consultation-close:focus-visible { outline: 3px solid #71e9db; outline-offset: 3px; }
.consultation-note { flex-shrink: 0; margin: 0; padding: 0.8rem 1.2rem; color: var(--muted); font-size: 0.85rem; }
.consultation-note a { color: var(--teal); text-decoration: underline; }
#consultation-frame { display: block; flex: 1; min-height: 0; width: 100%; border: 0; background: white; }
@media print { #consultation-modal { display: none !important; } }
