/* Theme values are local to this module, with no media/device override. */
:root{--oq-color-bg:#fff;--oq-color-surface:#f7f3fa;--oq-color-ink:#30223a;--oq-color-muted:#65546e;--oq-color-line:#e6ddec;--oq-color-link:#653078;--oq-color-error:#74213e;--oq-color-error-bg:#fff0f5;--oq-color-warn:#68350c;--oq-color-warn-bg:#fff3dd}
:root[data-oq-color-scheme=dark]{--oq-color-bg:#202027;--oq-color-surface:#2c2933;--oq-color-ink:#f1edf5;--oq-color-muted:#c4bacd;--oq-color-line:#60546c;--oq-color-link:#ddaff1;--oq-color-error:#ffb7cc;--oq-color-error-bg:#482a36;--oq-color-warn:#f8d29c;--oq-color-warn-bg:#403326}
.gl-oq{--oq-accent:var(--theme-base-color,#633c79);--oq-ink:var(--oq-color-ink);--oq-muted:var(--oq-color-muted);--oq-line:var(--oq-color-line);max-width:1180px;margin:32px auto;padding:32px;background:var(--oq-color-surface);border:1px solid var(--oq-line);border-radius:18px;color:var(--oq-ink);font:inherit}
.gl-oq *,.gl-oq *::before,.gl-oq *::after{box-sizing:border-box}.gl-oq [hidden]{display:none!important}.gl-oq header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 28px;padding:0}.gl-oq header>div{max-width:790px}.gl-oq .oq-kicker{display:block;font-size:11px;line-height:1.5;font-weight:600;letter-spacing:1.5px;color:var(--oq-accent)}.gl-oq header h2{font-size:clamp(26px,3.2vw,36px);line-height:1.25;letter-spacing:-.5px;margin:8px 0 10px;padding:0;color:var(--oq-ink);font-weight:600}.gl-oq header p{margin:0;color:var(--oq-muted)}.gl-oq .oq-head-mark{display:flex;align-items:center;justify-content:center;width:86px;height:86px;flex:none;border:1px solid var(--oq-line);border-radius:24px;background:var(--oq-color-bg);color:var(--oq-accent)}.gl-oq p{font-size:14px;line-height:1.65}.gl-oq .oq-body{padding:28px;background:var(--oq-color-bg);border:1px solid var(--oq-line);border-radius:14px}.gl-oq h2,.gl-oq legend{font-size:24px;line-height:1.35;font-weight:600;color:var(--oq-ink);margin:0 0 22px;padding:0}.gl-oq fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;border:0;padding:0;margin:0}.gl-oq legend{float:none;width:100%;padding-bottom:4px}.gl-oq .oq-option{display:flex;gap:12px;align-items:center;min-width:0;min-height:72px;padding:18px;border:1px solid var(--oq-line);border-radius:10px;margin:0;cursor:pointer;line-height:1.5;font-size:15px;color:var(--oq-ink);transition:border-color .15s,background-color .15s}.gl-oq .oq-option:hover{border-color:var(--oq-accent)}.gl-oq .oq-option:has(input:checked){border-color:var(--oq-accent);background:var(--oq-color-surface);box-shadow:inset 0 0 0 1px var(--oq-accent)}.gl-oq input[type=radio],.gl-oq input[type=checkbox]{appearance:auto;position:static;opacity:1;accent-color:var(--oq-accent);width:17px;height:17px;margin:0;flex:none;cursor:pointer}
.gl-oq button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;height:auto;border:1px solid var(--oq-accent);border-radius:8px;padding:13px 20px;margin:0;background:var(--oq-accent);color:#fff;box-shadow:none;text-shadow:none;font:inherit;font-size:14px;font-weight:500;line-height:1.5;cursor:pointer;white-space:normal;text-transform:none;letter-spacing:normal;transition:filter .15s}.gl-oq button:hover{filter:brightness(.93)}.gl-oq button:disabled{opacity:.45;cursor:default;filter:none}.gl-oq .oq-secondary{color:var(--oq-accent);border-color:var(--oq-line);background:var(--oq-color-bg)}.gl-oq .oq-secondary:hover{background:var(--oq-color-surface);filter:none}.gl-oq :focus-visible{outline:3px solid var(--oq-accent);outline-offset:4px}.gl-oq .oq-actions{display:flex;gap:12px;margin-top:24px}.gl-oq .oq-progress{font-size:12px;color:var(--oq-muted);margin:0 0 10px}.gl-oq .oq-progress-bar{height:4px;margin-bottom:26px;border-radius:4px;background:var(--oq-color-surface);overflow:hidden}.gl-oq .oq-progress-bar>span{display:block;height:100%;border-radius:4px;background:var(--oq-accent)}.gl-oq .oq-start-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:0 0 28px}.gl-oq .oq-start-steps li{display:flex;align-items:center;gap:14px;list-style:none;margin:0;padding:0;color:var(--oq-muted);font-size:14px;line-height:1.5}.gl-oq .oq-start-steps li::before{display:none}.gl-oq .oq-start-steps b{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;flex:none;background:var(--oq-color-surface);color:var(--oq-accent);font-size:12px;font-weight:600}
.gl-oq .oq-result-note{margin:-8px 0 24px;color:var(--oq-muted)}.gl-oq .oq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:16px;margin:24px 0}.gl-oq .oq-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:18px;border:1px solid var(--oq-line);border-radius:12px;background:var(--oq-color-bg)}.gl-oq .oq-card:has(input:checked){border-color:var(--oq-accent);box-shadow:inset 0 0 0 1px var(--oq-accent)}.gl-oq .oq-card img{display:block;width:100%;height:170px;object-fit:contain}.gl-oq .oq-card .oq-product-name{font-size:15px;line-height:1.55;font-weight:600;color:var(--oq-ink);text-decoration:none;overflow-wrap:anywhere}.gl-oq .oq-product-name:hover{text-decoration:underline}.gl-oq .oq-card p{margin:0;font-size:13px;line-height:1.6;color:var(--oq-muted)}.gl-oq .oq-card .oq-price{margin-top:auto;padding-top:8px;font-size:20px;line-height:1.4;font-weight:600}.gl-oq .oq-card button{width:100%;min-height:42px;font-size:13px}.gl-oq .oq-selection{display:flex;align-items:flex-start;gap:9px;margin:0;min-height:38px;font-size:12px;line-height:1.5;color:var(--oq-muted);cursor:pointer}.gl-oq .oq-selection input{margin-top:1px}.gl-oq .oq-card-set .oq-selection{color:var(--oq-accent);font-weight:500}.gl-oq .oq-total{font-size:20px;line-height:1.5;font-weight:600;margin:0}.gl-oq .oq-result-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;background:var(--oq-color-surface);border:1px solid var(--oq-line);border-radius:12px}.gl-oq .oq-result-summary button{max-width:420px}.gl-oq .oq-message:not(:empty){padding:16px 20px;background:var(--oq-color-bg);border-left:3px solid var(--oq-accent);border-radius:8px;margin:0 0 20px;font-size:14px}.gl-oq .oq-native{margin-top:24px;font-size:13px;color:var(--oq-muted)}.gl-oq .oq-native summary{cursor:pointer}.gl-oq .oq-native button{margin-top:12px}
@media(max-width:900px){.gl-oq{padding:24px}.gl-oq .oq-body{padding:22px}.gl-oq .oq-start-steps{gap:16px}.gl-oq .oq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gl-oq .oq-result-summary{align-items:stretch;flex-direction:column}.gl-oq .oq-result-summary button{max-width:none}}
@media(max-width:600px){.gl-oq{padding:16px;margin:16px auto;border-radius:14px}.gl-oq header{gap:14px;margin-bottom:22px}.gl-oq .oq-head-mark{width:52px;height:62px;border-radius:16px}.gl-oq .oq-head-mark svg{width:34px;height:34px}.gl-oq header h2{font-size:26px}.gl-oq .oq-body{padding:18px 16px}.gl-oq h2,.gl-oq legend{font-size:21px}.gl-oq fieldset{grid-template-columns:1fr}.gl-oq .oq-option{min-height:62px;padding:16px}.gl-oq .oq-start-steps{grid-template-columns:1fr;gap:16px}.gl-oq .oq-grid{grid-template-columns:1fr}.gl-oq .oq-card{padding:20px}.gl-oq .oq-card img{height:190px}.gl-oq .oq-selection{min-height:0}.gl-oq .oq-actions{flex-wrap:wrap}.gl-oq .oq-actions button{flex:1}.gl-oq .oq-start{width:100%}.gl-oq .oq-result-summary{padding:18px}.gl-oq .oq-total{font-size:18px}}
@media(prefers-reduced-motion:reduce){.gl-oq button,.gl-oq .oq-option{transition:none}}

.gl-oq .oq-first-question{margin:0 0 24px;padding-top:22px;border-top:1px solid var(--oq-line)}.gl-oq .oq-first-question h3{font-size:20px;line-height:1.4;margin:0 0 12px;color:var(--oq-ink);font-weight:600}.gl-oq .oq-first-question ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}.gl-oq .oq-first-question li{list-style:none;margin:0;padding:8px 12px;background:var(--oq-color-surface);border:1px solid var(--oq-line);border-radius:8px;font-size:13px;line-height:1.5;color:var(--oq-muted)}.gl-oq .oq-first-question li::before{display:none}
.gl-oq .oq-choice-hint{grid-column:1/-1;margin:0 0 4px;color:var(--oq-muted);font-size:13px}

.gl-oq .oq-step-actions .oq-choice-state{margin:0 auto 0 0;color:var(--oq-muted);font-size:13px;line-height:1.35}
.gl-oq .oq-choice-error{display:block;margin-top:8px;padding:8px 10px;border-left:3px solid #98511a;background:var(--oq-color-warn-bg);color:var(--oq-color-warn);font-size:14px;line-height:1.5;font-weight:600}.gl-oq .oq-choice-error:empty{display:none}
.gl-oq .oq-question-title:focus{outline:none}
.gl-oq button[data-added="1"]:disabled{opacity:.6;cursor:default;filter:none}

:root[data-oq-color-scheme=dark] .gl-oq{color-scheme:dark}
:root[data-oq-color-scheme=dark] .gl-oq .oq-secondary,:root[data-oq-color-scheme=dark] .gl-oq .oq-kicker,:root[data-oq-color-scheme=dark] .gl-oq .oq-card-set .oq-selection{color:var(--oq-color-link)}

.gl-oq .oq-card{padding:14px;gap:9px}
.gl-oq .oq-card-identity{display:flex;align-items:flex-start;gap:10px;min-width:0}
.gl-oq .oq-card-identity>div{flex:1;min-width:0}
.gl-oq .oq-card-identity img{flex:none;width:48px;height:60px;border-radius:6px}
.gl-oq .oq-card .oq-price{display:block;margin:4px 0 0;padding:0;font-size:17px}
.gl-oq .oq-card .oq-selection{min-height:24px;align-items:center}
.gl-oq .oq-selection[hidden]{display:none}
.gl-oq .oq-card-details summary{width:fit-content;color:var(--oq-color-link);cursor:pointer;font-size:13px}
.gl-oq .oq-card-details[open] p{margin-top:6px}
.gl-oq .oq-card button,.gl-oq .oq-result-summary button{width:fit-content;max-width:100%;align-self:flex-start;min-height:38px;padding:7px 13px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;border-radius:10px;background:var(--oq-ai-accent,var(--oq-accent));color:var(--oq-ai-on,#fff);border-color:transparent}
.gl-oq .oq-card button{margin-top:auto}
.gl-oq .oq-result-summary{align-items:flex-start;flex-direction:column;gap:8px;padding:12px 0;border:0;background:transparent}
.gl-oq .oq-total{font-size:14px}
.gl-oq .oq-step-actions{align-items:center;flex-wrap:wrap}
.gl-oq .oq-step-actions button:last-child{margin-left:auto}
@media(max-width:600px){
  .gl-oq .oq-step-actions{position:sticky;bottom:var(--oq-cookie-inset,0px);z-index:3;gap:8px;padding:8px 0 max(8px,env(safe-area-inset-bottom));background:var(--oq-color-bg);border-top:1px solid var(--oq-line)}
  .gl-oq .oq-step-actions button{flex:0 1 auto;min-height:40px;padding:8px 14px}
  .oq-widget-frame .oq-ai-quiz:has(.oq-step-actions) .gl-oq{display:flex;flex-direction:column;min-height:100%;box-sizing:border-box}
  .oq-widget-frame .oq-ai-quiz:has(.oq-step-actions) .oq-body{flex:1;display:flex;flex-direction:column}
  .oq-widget-frame>.gl-oq:has(.oq-step-actions){min-height:100dvh;box-sizing:border-box;display:flex;flex-direction:column}
  .oq-widget-frame>.gl-oq:has(.oq-step-actions) .oq-body{flex:1;display:flex;flex-direction:column}
  .oq-widget-frame .oq-step-actions{margin-top:auto}
}

.gl-oq .oq-result-nav{margin-top:8px}
.gl-oq .oq-result-nav button{flex:0 1 auto;width:fit-content;max-width:100%;min-height:38px;padding:7px 13px;border-radius:10px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4}
