.pq-sec { padding-top: clamp(28px, 5vw, 56px); }
.pq-wrap { max-width: 860px; }
.pq-wrap [hidden] { display: none !important; }
.pq-nav { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pq-nav::-webkit-scrollbar { display: none; }
.pq-nav li { flex: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px 8px 8px; border-radius: 99px; font-size: .9rem; font-weight: 600; color: var(--ink-3); background: transparent; cursor: default; }
.pq-nav li .pq-go > span:first-child { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--line); font-size: .82rem; }
.pq-nav li.done { color: var(--ink); cursor: pointer; }
.pq-nav li.done .pq-go > span:first-child { background: var(--green); border-color: var(--green); color: #fff; }
.pq-nav li.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.pq-nav li.on .pq-go > span:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.pq-nav .pq-go { all: unset; display: flex; align-items: center; gap: 8px; }
.pq-nav .pq-go:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 99px; }
.pq-nav li { padding: 0; }
.pq-nav .pq-go { min-height: 44px; padding: 0 12px 0 8px; border-radius: 99px; cursor: inherit; }
.pq-nav .pq-go:focus-visible { outline-offset: -3px; }
.pq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 36px); position: relative; overflow: hidden; }
.pq-bar { position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--paper-2); }
.pq-bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .35s ease; }
.pq-step h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 6px 0 22px; outline: none; }
.pq-step h2 > span:first-child { font-family: 'Caslon', serif; font-style: italic; font-weight: 400; color: var(--red); margin-right: 6px; }
.pq .field label small, .pq legend small { font-weight: 400; color: var(--ink-3); }
.pq .req { color: var(--red-dark); }
.pq .hint { margin: -2px 0 8px; font-size: .9rem; color: var(--ink-3); }
.pq-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.pq-group legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.pq-group[aria-invalid="true"] .pq-opt span { border-color: var(--red); }
.pq-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pq-opt { position: relative; }
.pq-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pq-opt span { display: inline-block; padding: 10px 15px; border-radius: 12px; border: 2px solid #8A8174; background: #fff; font-size: .96rem; cursor: pointer; transition: .15s; }
.pq-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pq-opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.pq-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pq-actions #pq-next, .pq-actions #pq-send { margin-left: auto; }
.pq-save { margin: 14px 0 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pq-review { background: var(--paper); border-radius: 16px; padding: 18px 20px; margin: 0 0 18px; }
.pq-review h3 { font-size: 1rem; margin: 14px 0 6px; } .pq-review h3:first-child { margin-top: 0; }
.pq-review dl { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 4px 16px; margin: 0; font-size: .94rem; }
.pq-review dt { color: var(--ink-3); } .pq-review dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) { .pq-review dl { grid-template-columns: minmax(0, 1fr); } .pq-review dd { margin-bottom: 6px; } }
.pq-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.pq-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.pq-consent + .pq-consent { margin-top: 12px; }

.pq .pq-vone { display: flex; gap: 10px; align-items: center; min-height: 44px; margin-top: 6px; font-size: .92rem; color: var(--ink-3); cursor: pointer; }
.pq-vone input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
.pq-mungon { margin: 14px 0 0; font-size: .94rem; }
.pq-done, .pq-fail { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.pq-done { text-align: center; }
.pq-done svg { width: 56px; height: 56px; color: var(--green); margin: 0 auto 12px; }
.pq-done h2 { outline: none; }
.pq-done .btns { justify-content: center; }
.pq-ref b { font-size: 1.15em; letter-spacing: .04em; white-space: nowrap; }
.pq-hapat { text-align: left; max-width: 34em; margin: 16px auto; padding-left: 1.4em; }
.pq-hapat li { margin: 6px 0; }
.pq-fail { margin-top: 18px; border-color: #F0B3A6; background: #FFF6F4; }
.pq-step { padding: 0; }
.pq-rows { border: 0; padding: 0; margin: 0; min-width: 0; }
.pq-rows legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.pq-rr-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.pq-rr { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px 14px; min-width: 0; }
.pq-rr-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.pq-rr-h b { font-family: 'Caslon', serif; font-style: italic; font-weight: 400; color: var(--red-dark); font-size: 1.1rem; }
.pq-rr-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.pq-rr-c { min-width: 0; }
.pq-rr-w { grid-column: 1 / -1; }
.pq .pq-rr-c label, .pq-rr-lbl { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.pq .pq-rr-c input { padding: 11px 13px; }
.pq-rr-add[disabled] { cursor: not-allowed; }
.pq-rr-plot { margin: 8px 0 0; color: var(--ink-3); }
.pq-rr-plot:empty { display: none; }
.pq-rr-foto { min-height: 46px; padding: 4px 16px; gap: 8px; font-size: .95rem; }
.pq-rr-foto img { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; }
@media (max-width: 420px) { .pq-rr-g { grid-template-columns: minmax(0, 1fr); } }
.pq-pals { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.pq-pal { display: block; margin: 0; }
.pq-pal span { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 10px; }
.pq-pal svg { display: block; width: 100%; height: 30px; border-radius: 8px; border: 1px solid var(--line); }
.pq-pal b { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.pq-pal input:checked + span svg { border-color: #fff; }
.pq-up { border: 2px dashed var(--ctl); border-radius: 16px; padding: 14px 16px 12px; background: #fff; }
.pq-up-t { margin: 0 0 4px; }
.pq-up-t small { font-weight: 400; color: var(--ink-3); }
.pq-up-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.pq-up-list:not(:empty) { margin-bottom: 12px; }
.pq-up-list li { position: relative; border-radius: 12px; overflow: hidden; background: var(--paper-2); aspect-ratio: 1; display: grid; place-items: center; min-width: 0; }
.pq-up-list li.sk-audio, .pq-up-list li.sk-logo { aspect-ratio: auto; min-height: 96px; padding: 8px; background: var(--paper); }
.pq-up-list img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pq-up-list li.sk-logo img { object-fit: contain; max-height: 80px; }
.pq-up-list .sk-em { font-size: .82rem; padding: 6px; text-align: center; overflow-wrap: anywhere; color: var(--ink-2); }
.pq-up-list .sk-pr { position: absolute; inset: auto 0 0 0; background: rgba(22, 19, 15, .72); color: #fff; font-size: .78rem; padding: 3px 6px; text-align: center; }
.pq-up-list .sk-del { position: absolute; top: 4px; right: 4px; min-width: 44px; min-height: 44px; border-radius: 99px; border: 0; background: rgba(22, 19, 15, .78); color: #fff; font: 600 .85rem 'Franklin', sans-serif; cursor: pointer; padding: 0 10px; }
.pq-up-list .sk-del:focus-visible { outline: 3px solid var(--sun); outline-offset: 1px; }
.pq .pq-up-btn { display: inline-flex; position: relative; min-height: 48px; padding: 6px 20px; font-size: .98rem; margin: 0; font-weight: 600; }
.pq .pq-up-btn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.pq-up-btn:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.pq-up-btn.sk-plot { opacity: .55; }
.pq-up-msg { margin: 8px 0 0; color: var(--ink-2); }
.pq-up-msg:empty { display: none; }
.pq-up-msg.sk-gab { color: #7A1D10; font-weight: 500; }
.pq-up-ok { margin-top: 12px; }
.pq-up-info { margin: -4px 0 20px; color: var(--ink-3); }
.pq-ngarkim, .pq-derguar { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 4vw, 30px); margin-bottom: 18px; }
.pq-ng-t { font-size: 1.25rem; margin: 0 0 12px; outline: none; }
.pq-ngarkim progress { width: 100%; height: 12px; accent-color: var(--green); }
.pq-ngarkim .err { margin: 12px 0 0; }
.pq-ngarkim .btns:has(> :not([hidden])) { margin-top: 12px; }
.pq-ngarkim.sk-mbaroi, .pq-derguar { border-color: #A9D8C2; background: #F1FAF5; }
.pq-derguar p { margin: 0; }

.pq-ofs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.pq-of { position: relative; display: block; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; cursor: pointer; padding: 14px 40px 14px 16px; transition: border-color .15s, box-shadow .15s; }
.pq-of:hover { border-color: var(--ink); }
.pq-of input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }

.pq-of-b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; align-items: baseline; }
.pq-of-b b { font-size: 1.05rem; }
.pq-of-p { font-weight: 800; color: var(--red-dark); white-space: nowrap; }
.pq-of-b small { flex-basis: 100%; color: var(--ink-3); font-size: .86rem; line-height: 1.35; }
.pq-of:has(input:checked) { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.pq-of:has(input:checked) .sc-tick { transform: scale(1); }
.pq-of:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.pq-of .sc-tick { top: 14px; bottom: auto; }
.pq-group[aria-invalid="true"] .pq-of { border-color: var(--red); }
.pq-kr-bosh { margin: 0; }
.pq-done .wa-lnk { justify-content: center; }
.pq-done .wa-lnk svg { width: 18px; height: 18px; margin: 2px 0 0; color: #107C41; }
.pq .other { max-width: none; }
.pq-step .err { margin: 8px 0 14px; }
.pq .pq-afer { margin: 8px 0 0; font-weight: 600; color: var(--ink-2); }
.pq-hiq { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0 2px; background: none; border: 0; font: inherit; font-size: .88rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pq-hiq:hover { color: var(--ink); }
.pq-hiq:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.pq-hiq[hidden] { display: none; }

.pq-ngec { display: none; }
.js .pq-wrap:not(.pq-pret) .pq-ngec { display: block; opacity: 0; visibility: hidden; animation: pq-ngec 0s 5s forwards; }
@media (prefers-reduced-motion: reduce) { .js .pq-wrap:not(.pq-pret) .pq-ngec { animation: pq-ngec 0s 5s forwards !important; } }
@keyframes pq-ngec { to { opacity: 1; visibility: visible; } }
.pq-zg-m > :not(.pq-zg-hap) { display: none; }
.pq-zg-hap[hidden] { display: none; }
