.qq-form fieldset.qq-section { border: 0; margin: 0 0 1.6rem; padding: 0; min-width: 0; }
.qq-form .qq-section legend { font-family: Archivo, var(--font-heading, inherit), sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--brand-dark, #1b2430); margin-bottom: .9rem; padding: 0; }
.qq-form .qq-inline { display: flex; gap: .5rem; align-items: stretch; }
.qq-form .qq-inline input { flex: 1; min-width: 0; }
.qq-form .qq-inline .btn { white-space: nowrap; padding-inline: 1.1rem; }
.qq-form .qq-chips { gap: .5rem; }
.qq-form .qq-chips label:has(input:checked) { border-color: var(--brand-primary, #332f83); background: var(--brand-soft, #f2f4fa); }
.qq-form .qq-check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.qq-form .qq-check input { width: auto; margin-top: .25rem; accent-color: var(--brand-primary, #332f83); }
.qq-form [hidden] { display: none !important; }
.qq-form .qq-error { color: #b3261e; font-size: .9rem; margin: .35rem 0 0; }
.qq-form [aria-invalid="true"] { border-color: #b3261e !important; box-shadow: 0 0 0 3px rgb(179 38 30 / .15); }
.qq-form .qq-address-list { margin-top: .5rem; width: 100%; }
.qq-status { border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1.2rem; font-weight: 600; }
.qq-status.is-error { background: #fce8e6; color: #8c1d18; border: 1px solid #f4c7c3; }
.qq-success { background: var(--brand-soft, #f2f4fa); border: 1px solid rgb(0 0 0 / .06); border-left: 5px solid var(--brand-accent, #be1e2d); border-radius: var(--radius, 14px); padding: 1.6rem 1.8rem; }
.qq-success h3 { margin: 0 0 .4rem; color: var(--brand-dark, #1b2430); }
.qq-success p { margin: 0; font-size: 1.05rem; white-space: pre-line; }
.qq-success:focus { outline: none; }
.qq-form .btn.is-busy { opacity: .75; cursor: progress; }
.qq-form { scroll-margin-top: 110px; }
.qq-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .qq-form .qq-inline { flex-direction: column; } }

.qq-trade { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.qq-trade__card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgb(0 0 0 / .08); border-top: 5px solid var(--brand-accent, #be1e2d); border-radius: var(--radius, 14px); padding: 2rem; box-shadow: 0 6px 24px rgb(16 24 40 / .06); }
.qq-trade__card h2 { margin: 0 0 .6rem; font-size: 1.45rem; }
.qq-trade__card > p { margin: 0 0 1.4rem; }
.qq-trade__form { margin-top: auto; }
.qq-trade__form .field { margin: 0 0 1rem; }
.qq-trade__form .field label { display: block; font-family: var(--font-head, inherit); font-weight: 600; font-size: .95rem; color: var(--brand-dark, #1b2430); margin: 0 0 .45rem; }
.qq-trade__form .field input { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--ink, #1b2430); padding: .8rem .9rem; margin: 0; border: 1.5px solid rgb(0 0 0 / .22); border-radius: var(--radius-sm, 8px); background: #fff; }
.qq-trade__form .field input:focus { outline: none; border-color: var(--brand-accent, #be1e2d); box-shadow: 0 0 0 3px rgb(0 0 0 / .08); }
.qq-trade__form .btn { width: 100%; box-sizing: border-box; }
.qq-trade__form .qq-trade__apply { background: var(--brand-primary, #23205c); color: #fff; }
.qq-trade__form .qq-trade__apply:hover { background: var(--brand-dark, #15133a); color: #fff; }
.qq-trade__form .form-note { margin: .9rem 0 0; }
@media (max-width: 760px) { .qq-trade { grid-template-columns: 1fr; } .qq-trade__card { padding: 1.5rem; } }
.topbar-trade { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }

.qq-form .qq-combo { position: relative; }
.qq-form .qq-combo > input { width: 100%; }
.qq-form .qq-combo__list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .25rem; list-style: none; background: #fff; color: var(--ink, #1b2430);
  border: 1px solid rgb(0 0 0 / .18); border-radius: var(--radius-sm, 8px); box-shadow: 0 12px 32px rgb(16 24 40 / .14); max-height: 300px; overflow-y: auto; text-align: left; }
.qq-form .qq-combo__item { display: flex; align-items: baseline; gap: .6rem; padding: .5rem .7rem; border-radius: 6px; cursor: pointer; font-size: 1rem; line-height: 1.3; }
.qq-form .qq-combo__item:hover, .qq-form .qq-combo__item.is-active { background: var(--brand-soft, #f2f4fa); }
.qq-form .qq-combo__label { font-weight: 600; }
.qq-form .qq-combo__hint { color: #6b7380; font-size: .85rem; margin-left: auto; white-space: nowrap; }
.qq-form .qq-combo__foot { padding: .45rem .7rem .3rem; font-size: .8rem; color: #6b7380; border-top: 1px solid rgb(0 0 0 / .08); margin-top: .2rem; }
.qq-offline { background: var(--brand-soft, #f2f4fa); color: var(--brand-dark, #1b2430); border: 1px solid rgb(0 0 0 / .06); border-left: 5px solid var(--brand-accent, #be1e2d); border-radius: var(--radius, 14px); padding: 1.2rem 1.4rem; font-size: 1.05rem; }
.qq-offline p { margin: 0; }
.qq-offline a { color: inherit; text-decoration: none; }
.qq-offline--compact { padding: .8rem 1rem; font-size: 1rem; }
