/* English inquiry form: the same typography, navy and fine rules as the page. */
.inquiry-dialog {
  width:min(680px,calc(100vw - 40px));
  max-width:680px;
  max-height:92vh;
  max-height:92dvh;
  margin:auto;
  padding:0;
  border:1px solid var(--line,#d9e0e7);
  border-radius:0;
  overflow:auto;
  overscroll-behavior:contain;
  background:#fff;
  color:var(--ink,#192634);
  font:400 14px/1.6 var(--font,Inter,sans-serif);
  box-shadow:0 24px 96px #0b203833;
  scrollbar-gutter:stable;
}
.inquiry-dialog::backdrop { background:#0b2038b8; }
.inquiry-dialog [hidden] { display:none!important; }
.inquiry-dialog :is(input,textarea,select,button) { font:inherit; }
.inquiry-dialog :is(input,textarea,select) { scroll-margin-top:180px; scroll-margin-bottom:24px; }
.inquiry-dialog :is(input,textarea,select,button,label,p,h2,h3) { letter-spacing:0; }
.inquiry-header {
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:26px 32px 22px;
  border-bottom:1px solid var(--line,#d9e0e7);
  background:#fff;
}
.inquiry-header>div { min-width:0; }
.inquiry-eyebrow {
  margin:0 0 10px;
  color:var(--blue,#0040a0);
  font-size:11px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:.1em!important;
}
body.type-system .inquiry-dialog #inquiry-title {
  margin:0;
  font-size:32px;
  font-weight:550;
  line-height:1.25;
  letter-spacing:-.025em;
}
.inquiry-intro { margin:10px 0 0; color:var(--muted,#566473); }
.inquiry-close-icon {
  display:inline-flex;
  flex:0 0 44px;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  margin:-8px -10px 0 0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--ink,#192634);
  cursor:pointer;
}
.inquiry-close-icon:hover { background:var(--paper,#f3f5f7); }
.inquiry-body { padding:24px 32px 32px; }
#inquiry-form {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px 24px;
}
.inquiry-required {
  grid-column:1/-1;
  margin:0 0 -4px;
  color:var(--muted,#566473);
  font-size:12px;
  line-height:1.5;
}
.inquiry-required>span,.inquiry-asterisk { color:#a83737; }
.inquiry-field { min-width:0; }
.inquiry-field>label { display:block; margin:0 0 7px; font-weight:500; line-height:1.5; }
.inquiry-optional { color:var(--muted,#566473); font-weight:400; white-space:nowrap; }
.inquiry-field-wide,.inquiry-consent,#inquiry-status,.inquiry-actions { grid-column:1/-1; }
.inquiry-field :is(input:not([type="hidden"]),textarea,select) {
  display:block;
  width:100%;
  min-width:0;
  min-height:46px;
  margin:0;
  padding:11px 12px;
  border:1px solid #bdc9d6;
  border-radius:0;
  outline:none;
  background:#fff;
  color:var(--ink,#192634);
  line-height:1.5;
  box-shadow:none;
  transition:border-color .15s,box-shadow .15s;
}
.inquiry-field textarea { min-height:112px; resize:vertical; }
.inquiry-field :is(input,textarea,select)::placeholder { color:#697686; opacity:1; }
.inquiry-field :is(input,textarea,select):focus {
  border-color:var(--blue,#0040a0);
  box-shadow:0 0 0 2px #0040a01a;
}
.inquiry-dialog :is(button,input[type="checkbox"]):focus-visible {
  outline:2px solid var(--blue,#0040a0);
  outline-offset:3px;
}
.country-picker { position:relative; }
.inquiry-field #inquiry-country { padding-right:44px; }
.country-selected-flag {
  position:absolute;
  top:13px;
  left:12px;
  z-index:1;
  pointer-events:none;
}
.country-selected-flag:not([hidden])~#inquiry-country { padding-left:42px; }
.country-selected-flag {
  display:block;
  flex:0 0 20px;
  width:20px;
  height:20px;
  border-radius:50%;
  object-fit:cover;
}
#inquiry-country { appearance:none; -webkit-appearance:none; }
#inquiry-country:disabled { cursor:not-allowed; }
.country-toggle {
  position:absolute;
  top:1px;
  inset-inline-end:1px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:44px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--muted,#566473);
  cursor:pointer;
}
.country-toggle>span {
  content:'';
  width:7px;
  height:7px;
  margin-top:-4px;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  transform:rotate(45deg);
  pointer-events:none;
}
.country-picker.is-open .country-toggle>span { margin-top:4px;transform:rotate(225deg); }
.country-toggle:disabled { cursor:not-allowed; }
#country-options,#country-empty {
  position:absolute;
  top:calc(100% + 4px);
  inset-inline:0;
  z-index:20;
  margin:0;
  border:1px solid #bdc9d6;
  background:#fff;
  box-shadow:0 8px 24px #0b20381a;
}
#country-options {
  max-height:248px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:4px 0;
  list-style:none;
  scrollbar-gutter:stable;
}
#country-options [role="option"] {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:9px 12px;
  color:var(--ink,#192634);
  line-height:1.5;
  cursor:pointer;
}
#country-options [role="option"]>img {
  display:block;
  flex:0 0 20px;
  width:20px;
  height:20px;
  border-radius:50%;
  object-fit:cover;
}
#country-options [role="option"]>span { min-width:0;overflow-wrap:anywhere; }
#country-options [aria-selected="true"] { font-weight:600; }
#country-options [role="option"]:hover,#country-options .is-active { background:#eef3f9; }
#country-empty { padding:12px;color:var(--muted,#566473); }
.inquiry-consent {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
  color:var(--muted,#566473);
  font-size:13px;
  line-height:1.65;
  cursor:pointer;
}
.inquiry-consent input {
  flex:0 0 17px;
  width:17px;
  height:17px;
  margin:2px 0 0;
  accent-color:var(--blue,#0040a0);
  cursor:pointer;
}
#inquiry-status {
  margin:0;
  padding:12px 14px;
  border-left:2px solid #a83737;
  background:#fbf5f4;
  color:#7d2929;
  line-height:1.6;
}
.inquiry-actions { display:flex; justify-content:flex-end; padding-top:2px; }
.inquiry-submit {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:132px;
  min-height:46px;
  padding:11px 24px;
  border:1px solid var(--navy,#142b47);
  border-radius:0;
  background:var(--navy,#142b47);
  color:#fff;
  font-weight:500!important;
  line-height:1.5;
  cursor:pointer;
  transition:background .15s,border-color .15s;
}
.inquiry-submit:hover:not(:disabled) { border-color:var(--blue,#0040a0); background:var(--blue,#0040a0); }
.inquiry-submit:disabled { border-color:#dbe1e8; background:#e9edf2; color:#677587; cursor:not-allowed; }
.inquiry-form-pending #inquiry-status { border-color:var(--blue);background:#eef3f9;color:var(--blue); }
[data-contact-form]:hover>span:last-child { transform:translateX(2px); }
#inquiry-success { padding:16px 0 8px; }
body.type-system .inquiry-dialog #inquiry-success-title {
  margin:0;
  font-size:24px;
  font-weight:550;
  line-height:1.4;
  letter-spacing:-.02em;
}
#inquiry-success>p { margin:14px 0 28px; color:var(--muted,#566473); }
@media(max-width:600px) {
  .inquiry-dialog { width:calc(100vw - 24px); max-height:94vh; max-height:94dvh; }
  .inquiry-header { padding:22px 24px 20px; gap:12px; }
  .inquiry-body { padding:22px 24px 26px; }
  body.type-system .inquiry-dialog #inquiry-title { font-size:28px; }
  .inquiry-eyebrow { margin-bottom:8px; }
  #inquiry-form { grid-template-columns:minmax(0,1fr); gap:20px; }
  .inquiry-field :is(input:not([type="hidden"]),textarea,select) { font-size:16px; }
  .country-selected-flag { top:14px; }
  .inquiry-actions>.inquiry-submit { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .inquiry-field :is(input,textarea,select),.inquiry-submit { transition:none; }
}
