.fqv--steps [hidden] { display: none !important; }
.fqv--steps h2 { margin-bottom: 1.5rem; }
.fqv--steps .fqv-journey[data-step-count="3"] { --fqv-step-count: 3; }
.fqv--steps .fqv-journey[data-step-count="5"] { --fqv-step-count: 5; }
.fqv--steps .fqv-journey ol { display: grid; grid-template-columns: repeat(var(--fqv-step-count, 4), minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0; }
.fqv--steps .fqv-journey a { display: flex; gap: .35rem; align-items: center; justify-content: center; min-height: 3rem; padding: .65rem .5rem; border: 1px solid #e6dbd2; border-radius: .5rem; background: #fff; color: #5a514a; text-decoration: none; }
.fqv--steps .fqv-journey a:hover { background: #fff8f3; color: #91420d; }
.fqv--steps .fqv-journey a[aria-current="step"] { font-family: 'BeVietnamPro-Bold', Helvetica, Arial, sans-serif; border-color: #b35b20; background: #fff4e9; color: #91420d; }
.fqv--steps .fqv-journey-context { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1rem; font-size: .85rem; }
.fqv--steps .fqv-file-label { padding: .3rem .6rem; border-radius: .3rem; background: #fff4e9; color: #91420d; font-family: 'BeVietnamPro-SemiBold', Helvetica, Arial, sans-serif; }
.fqv--steps .fqv-current-step { margin-left: auto; color: #5a514a; }
.fqv--steps .fqv-step-panel { scroll-margin-top: 12rem; padding: 1.5rem 0; border-top: 1px solid #e8e1da; }
.fqv--steps.fqv-is-interactive .fqv-step-panel { padding: 0; border-top: 0; }
.fqv--steps.fqv-is-interactive .fqv-fallback-number { display: none; }
.fqv--steps .fqv-step-panel h3 { margin: 0 0 .6rem; color: #542701; font-size: 1.2rem; line-height: 1.35; }
.fqv--steps .fqv-step-summary { margin: 0; max-width: 58rem; }
.fqv--steps .fqv-simple-flow { display: grid; grid-template-columns: minmax(0, 1fr) 1.5rem minmax(0, 1fr); align-items: center; gap: .75rem; margin: 1.25rem 0; }
.fqv--steps .fqv-simple-input, .fqv--steps .fqv-simple-result { padding: 1rem .75rem; border: 1px solid #e6dbd2; border-radius: .5rem; text-align: center; font-family: 'BeVietnamPro-SemiBold', Helvetica, Arial, sans-serif; overflow-wrap: anywhere; }
.fqv--steps .fqv-simple-result { border-color: #c3d4c5; background: #f0f7f1; color: #386341; }
.fqv--steps .fqv-simple-arrow { color: #6a5b50; font-size: 1.4rem; text-align: center; }
.fqv--steps .fqv-step-qualifier { margin: 0 0 1rem; color: #5a514a; font-size: .875rem; }
.fqv--steps .fqv-step-detail { padding-top: .65rem; border-top: 1px solid #e8e1da; }
.fqv--steps .fqv-step-detail summary { padding: .65rem 0; cursor: pointer; color: #91420d; }
.fqv--steps .fqv-step-detail ul { list-style: disc; padding-left: 1.25rem; margin: .5rem 0 0; max-width: 58rem; color: #5a514a; font-size: .9rem; }
.fqv--steps .fqv-step-detail li + li { margin-top: .65rem; }
.fqv--steps .fqv-step-detail li::marker { color: #ad7147; }
.fqv--steps .fqv-detail-note { margin: .85rem 0 0; max-width: 58rem; color: #5a514a; font-size: .85rem; }
.fqv--steps .fqv-step-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.fqv--steps .fqv-step-controls button { min-height: 2.75rem; padding: .6rem .9rem; border: 1px solid #d4cec8; border-radius: .45rem; background: #fff; color: #5a514a; cursor: pointer; }
.fqv--steps .fqv-step-controls button:disabled { opacity: .5; cursor: default; }
.fqv--steps .fqv-step-controls button:hover:not(:disabled) { background: #fff4e9; color: #91420d; }
.fqv--steps .fqv-step-controls .fqv-next-step { background: #9e420c; border-color: #9e420c; color: #fff; margin-left: auto; }
.fqv--steps .fqv-step-controls .fqv-next-step:hover { background: #7f350a; color: #fff; }
.fqv--steps .fqv-completion { margin: 0 0 0 auto; color: #386341; font-size: .875rem; }
.fqv--steps a:focus-visible, .fqv--steps button:focus-visible, .fqv--steps summary:focus-visible { outline: 3px solid #3266a2; outline-offset: 4px; }
@media (max-width: 640px) {
  .fqv--steps .fqv-journey ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fqv--steps .fqv-simple-flow { gap: .4rem; font-size: .9rem; }
  .fqv--steps .fqv-simple-input, .fqv--steps .fqv-simple-result { padding: .8rem .5rem; }
  .fqv--steps .fqv-step-controls button { font-size: .9rem; }
}
@media print {
  .fqv--steps .fqv-journey, .fqv--steps .fqv-step-controls, .fqv--steps .fqv-current-step { display: none !important; }
  .fqv--steps .fqv-step-panel[hidden] { display: block !important; }
  .fqv--steps.fqv-is-interactive .fqv-step-panel { padding: 1rem 0; border-top: 1px solid #e8e1da; break-inside: avoid; }
  .fqv--steps.fqv-is-interactive .fqv-fallback-number { display: inline; }
  .fqv--steps details::details-content { content-visibility: visible; }
}
