.inquiry {
  --iq-ink: #15332c;
  --iq-line: #d2dfd9;
  --iq-teal: #096b54;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-block: clamp(38px, 5vw, 72px) clamp(56px, 7vw, 96px);
  color: var(--iq-ink);
}

.inquiry [hidden] { display: none !important; }
.iq-intro { max-width: 720px; margin-bottom: clamp(26px, 4vw, 45px); }
.inquiry h1 { font-size: clamp(2rem, 4.3vw, 3.75rem); line-height: 1.15; margin: 12px 0 18px; letter-spacing: -.045em; }
.inquiry h2 { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.4; }
.iq-intro > p:last-child, .iq-receipt p { color: #4c635a; line-height: 1.8; margin: 0; }
.iq-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, .9fr); gap: clamp(22px, 4vw, 54px); align-items: start; }
.iq-card { border: 1px solid var(--iq-line); border-radius: 18px; padding: clamp(22px, 3.3vw, 42px); background: white; min-width: 0; }
.iq-steps { display: flex; list-style: none; counter-reset: iq-step; padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--iq-line); gap: 10px; }
.iq-steps li { flex: 1; counter-increment: iq-step; font-size: .85rem; padding-bottom: 12px; color: #567064; display: flex; align-items: center; gap: 7px; }
.iq-steps li::before { content: counter(iq-step); display: inline-grid; place-items: center; border: 1px solid #b9ccc2; border-radius: 50%; font-size: .75rem; width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }
.iq-steps li[aria-current] { color: var(--iq-teal); font-weight: 700; border-bottom: 2px solid currentColor; margin-bottom: -1px; }
.iq-steps li[aria-current]::before { background: var(--iq-teal); color: #fff; border-color: var(--iq-teal); }
.iq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.iq-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.iq-field label { font-size: .94rem; font-weight: 650; }
.iq-field :is(input, select, textarea) { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #aebfb6; border-radius: 7px; min-height: 46px; padding: 10px 12px; background: #fff; color: var(--iq-ink); font: inherit; }
.iq-field textarea { resize: vertical; }
.iq-field input::placeholder, .iq-field textarea::placeholder { color: #61756a; opacity: 1; }
.inquiry :is(input, select, textarea, button, a, summary):focus-visible { outline: 3px solid #138169; outline-offset: 2px; }
.inquiry h2:focus { outline: none; }
.iq-wide { grid-column: 1 / -1; }
.iq-field small, .iq-note { color: #4e665b; line-height: 1.6; font-size: .875rem; margin: 8px 0 0; }
.iq-field small { margin: 0; }
.iq-note a, .iq-aside a { color: var(--iq-teal); text-decoration: underline; text-underline-offset: 3px; }
.iq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.iq-actions button { cursor: pointer; font: inherit; font-weight: 650; }
.iq-actions button:disabled { cursor: progress; opacity: .66; }
.iq-field [aria-invalid] { border-color: #9f3c25; }
.iq-field-error, #iq-error { color: #973c26; font-size: .88rem; }
#iq-error { background: #fff3eb; padding: 12px; border-radius: 6px; }
.iq-aside { background: #edf5ef; border-radius: 16px; padding: clamp(24px, 3vw, 36px); }
.iq-aside h2 { font-size: 1.25rem; }
.iq-aside ol { list-style: none; margin: 22px 0 18px; padding: 0; }
.iq-aside li { border-left: 2px solid #9abdad; padding-left: 14px; margin: 16px 0; }
.iq-aside p { margin: 4px 0 0; color: #4b6356; font-size: .94rem; line-height: 1.65; }
.iq-fit { margin: 22px 0 0; background: #eff7f1; border-left: 3px solid #41856d; padding: 12px 16px; }
.iq-fit p { margin: 0; font-size: .92rem; line-height: 1.7; }
#iq-more { margin-top: 22px; border-block: 1px solid var(--iq-line); padding-block: 15px; }
#iq-more summary { cursor: pointer; color: var(--iq-teal); font-weight: 650; }
#iq-more .iq-grid { margin-bottom: 5px; }
.iq-review { margin: 18px 0; display: grid; grid-template-columns: auto minmax(0, 1fr); }
.iq-review dt, .iq-review dd { padding: 10px 0; margin: 0; border-bottom: 1px solid var(--iq-line); overflow-wrap: anywhere; }
.iq-review dt { color: #4c6457; padding-right: 18px; }
.iq-receipt { max-width: 800px; }
#iq-receipt-details { margin: 28px 0; border: 1px solid var(--iq-line); background: #f2f8f4; border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
#iq-receipt-details h2 { font-size: 1.2rem; margin: 22px 0 5px; }
#iq-receipt-summary { white-space: pre-line; margin-top: 12px; }
#iq-receipt-id { display: inline-block; margin-left: 8px; color: var(--iq-ink); overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .inquiry { width: calc(100% - 32px); }
  .iq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .iq-card { padding: 20px 16px; }
  .iq-grid { grid-template-columns: 1fr; gap: 16px; }
  .iq-steps { gap: 5px; }
  .iq-steps li { font-size: .8rem; gap: 4px; }
}
