/* How Well Do You Know Me quiz maker (couples-quiz.js). Option, key and question styles come from engine-quiz.css. */
.tool.cq .cq-h { font-size: 24px; line-height: 30px; text-wrap: balance; }
.tool.cq .cq-sub { margin: -4px 0 0; }
.tool.cq .cq-home .tool-hint { margin-top: -10px; }
.tool.cq .tool-chips button { min-height: 44px; }
.tool.cq input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #D0335E; }
.tool.cq .cq-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin: -4px -8px -4px; }
.tool.cq .cq-head .qz-count { flex: 1; text-align: center; }
.tool.cq .cq-head .g-pill { margin-right: 8px; }
.tool.cq .cq-head > .qz-count:first-child { text-align: left; padding-left: 8px; }
.tool.cq .cq-head-r { display: flex; }
.tool.cq .qz-question { outline: none; min-height: 0; }
.tool.cq .qz-opt { position: relative; }
.tool.cq .qz-opt:disabled { cursor: default; opacity: 1; }
.tool.cq .qz-opt:disabled:not(.is-right):not(.is-wrong) { opacity: .7; }
.tool.cq .qz-opt.is-right { box-shadow: inset 0 0 0 2px #1F9D62; background: rgb(46 204 125 / .22); }
.tool.cq .qz-opt.is-right .cq-mark-icon .tool-icon { animation: cq-check .35s var(--ease-out) both; }
@keyframes cq-check { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.tool.cq .qz-opt.is-wrong { box-shadow: inset 0 0 0 2px #D0335E; background: rgb(208 51 94 / .1); }
.tool.cq .qz-opt.is-right .qz-key { background: #1F9D62; color: #fff; }
.tool.cq .qz-opt.is-wrong .qz-key { background: #D0335E; color: #fff; }
.tool.cq .cq-mark-icon { margin-left: auto; display: none; }
.tool.cq .cq-mark-icon .tool-icon { display: none; width: 22px; height: 22px; }
.tool.cq .is-right .cq-mark-icon, .tool.cq .is-wrong .cq-mark-icon { display: inline-flex; }
.tool.cq .is-right .cq-mark-icon .tool-icon:first-child { display: block; color: #1F9D62; }
.tool.cq .is-wrong .cq-mark-icon .tool-icon:last-child { display: block; color: #D0335E; }
.tool.cq .cq-verdict { min-height: 24px; font-size: 16px; font-weight: 800; }
.tool.cq .cq-verdict.is-right { color: #1A8754; }
.tool.cq .cq-verdict.is-wrong { color: #C02A54; }
.tool.cq .cq-next { align-self: stretch; }
.tool.cq .cq-err { color: #C02A54; min-height: 20px; }
.tool.cq .cq-opt-ins { display: grid; gap: 8px; }
.tool.cq .cq-ready, .tool.cq .cq-result { align-items: stretch; }
.tool.cq .cq-ready > .tool-title, .tool.cq .cq-ready > .tool-sub { text-align: center; }
.tool.cq .cq-mark { align-self: center; }
.tool.cq .cq-center { text-align: center; }
.tool.cq .cq-details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 800; color: var(--link); list-style: none; }
.tool.cq .cq-details summary::-webkit-details-marker { display: none; }
.tool.cq .cq-details summary::after { content: ''; width: 8px; height: 8px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease-out); }
.tool.cq .cq-details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.tool.cq .cq-answers { display: grid; gap: 8px; }
.tool.cq .cq-answers button { display: flex; gap: 12px; width: 100%; text-align: left; padding: 12px 16px; border-radius: 16px; background: var(--surface); color: rgb(var(--ink)); font-size: 15px; line-height: 22px; font-weight: 600; }
.tool.cq .cq-answers button:hover { box-shadow: inset 0 0 0 2px rgb(var(--accent) / .4); }
.tool.cq .cq-n { flex: none; width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: var(--surface-2); color: rgb(var(--ink) / .6); }
.tool.cq .cq-a { color: var(--link); font-weight: 800; }
.tool.cq .cq-link { align-self: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 800; color: var(--link); background: none; text-decoration: underline; text-decoration-color: rgb(var(--accent) / .35); text-underline-offset: 3px; }
.tool.cq .cq-review { display: grid; gap: 8px; }
.tool.cq .cq-review li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 16px; background: var(--surface); font-size: 15px; line-height: 22px; }
.tool.cq .cq-review b { font-weight: 850; color: rgb(var(--ink)); }
.tool.cq .cq-review-i { flex: none; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; margin-top: -2px; }
.tool.cq .cq-review .tool-icon { width: 18px; height: 18px; }
.tool.cq .is-right .cq-review-i { background: rgb(31 157 98 / .14); color: #1A8754; }
.tool.cq .is-wrong .cq-review-i { background: rgb(var(--accent) / .14); color: var(--link); }
.tool.cq .cq-guess { display: block; color: rgb(var(--ink) / .55); }
.tool.cq .g-ring { transition: --p .8s var(--ease-out); }
.tool.cq .cq-recent li { justify-content: space-between; }
.tool.cq .cq-recent small { font-size: 13px; color: rgb(var(--ink) / .55); font-weight: 650; }
.tool.cq .cq-recent .tool-label { margin-bottom: 8px; display: block; }
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
@media (prefers-color-scheme: dark) {
  .tool.cq .cq-verdict.is-right, .tool.cq .is-right .cq-review-i { color: #5BD69A; }
  .tool.cq .cq-verdict.is-wrong, .tool.cq .is-wrong .cq-review-i { color: #FF7FA3; }
}
@media (prefers-reduced-motion: reduce) { .tool.cq .g-ring { transition: none; } }

.tool.cq .cq-pack-d { margin-top: 2px; min-height: 36px; }
.tool.cq .cq-sub b { color: rgb(var(--ink)); font-weight: 850; }
.tool.cq .cq-guess-label { font-size: 13px; line-height: 18px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: -8px; }
.tool.cq .cq-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool.cq .cq-duo .g-ring { width: 132px; height: 132px; }
.tool.cq .cq-duo .g-ring > div { width: 108px; height: 108px; padding: 0 8px; }
.tool.cq .cq-duo .g-ring b { font-size: 32px; line-height: 36px; }
.tool.cq .cq-duo .g-ring span { font-size: 12px; line-height: 14px; }
.tool.cq .cq-here { justify-content: center; margin-top: -4px; }
.tool.cq .cq-ring-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tool.cq .cq-ring-cap { font-size: 14px; line-height: 18px; font-weight: 850; color: rgb(var(--ink) / .75); }

.tool.cq .cq-tool-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border-radius: 22px; font-size: 14px; font-weight: 800; color: var(--link); background: transparent; }
.tool.cq .cq-tool-btn:hover { background: rgb(var(--accent) / .1); }
.tool.cq .cq-tool-btn:active { transform: scale(.96); }
.tool.cq .cq-tool-btn .tool-icon { width: 18px; height: 18px; }
.tool.cq .cq-guess { color: rgb(var(--ink) / .7); }
.tool.cq .cq-pack-d { margin-top: 6px; }
@media (prefers-color-scheme: dark) { .tool.cq .is-wrong .cq-review-i { color: var(--link); } }

.tool.cq .cq-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; margin-top: -8px; }
.tool.cq .cq-review-wrap { display: flex; flex-direction: column; gap: 8px; }
.tool.cq .cq-ready-t { text-align: left; }
.tool.cq .cq-ready > .tool-sub.cq-ready-t { text-align: center; max-width: 420px; align-self: center; }
.tool.cq .tool-field > .tool-hint { margin-top: 6px; }
.tool.cq .g-ring b { font-size: 36px; }

@media (hover: none) and (pointer: coarse) { .tool.cq .qz-key { display: none; } }
.tool.cq .tool-meter > span { min-width: 4%; }
.tool.cq .cq-ready .tool-actions .btn { flex: 1 1 auto; }
