/* Conflict style quiz: fight fair plan. Engine styles in engine-u04-quiz-languages.css. */
.tool .cs-form { display: grid; gap: 14px; padding: 16px; border-radius: 20px; background: var(--surface); }
.tool .cs-rules { flex-direction: column; align-items: stretch; }
.tool .cs-rules button { min-height: 44px; height: auto; padding: 10px 14px 10px 40px; border-radius: 16px; text-align: left; line-height: 20px; position: relative; }
.tool .cs-rules button::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; box-shadow: inset 0 0 0 2px rgb(var(--ink) / .25); }
.tool .cs-rules button[aria-pressed="true"]::before { background: var(--surface); box-shadow: none; -webkit-mask: none; }
.tool .cs-rules button[aria-pressed="true"]::after { content: ''; position: absolute; left: 18px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid rgb(var(--ink)); border-bottom: 2px solid rgb(var(--ink)); transform: rotate(-45deg); }
.tool .cs-plan { display: grid; gap: 10px; padding: 20px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.tool .cs-plan ol { display: grid; gap: 8px; counter-reset: p; }
.tool .cs-plan li { position: relative; padding-left: 32px; font-size: 16px; line-height: 23px; font-weight: 700; color: rgb(var(--ink)); counter-increment: p; }
.tool .cs-plan li::before { content: counter(p); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: rgb(var(--accent) / .16); color: var(--link); }

.tool .cs-map { display: grid; gap: 8px; padding: 16px; border-radius: 20px; background: var(--surface); }
.tool .cs-axes { position: relative; aspect-ratio: 1.6; margin: 4px 0 18px 18px; border-radius: 14px; background:
  linear-gradient(rgb(var(--ink) / .08), rgb(var(--ink) / .08)) 50% 0 / 1px 100% no-repeat,
  linear-gradient(rgb(var(--ink) / .08), rgb(var(--ink) / .08)) 0 50% / 100% 1px no-repeat, rgb(var(--ink) / .035); }
.tool .cs-q { position: absolute; font-size: 12px; line-height: 14px; font-weight: 800; color: rgb(var(--ink) / .4); }
.tool .cs-q.is-tl { left: 8px; top: 8px; } .tool .cs-q.is-tr { right: 8px; top: 8px; } .tool .cs-q.is-bl { left: 8px; bottom: 8px; } .tool .cs-q.is-br { right: 8px; bottom: 8px; }
.tool .cs-q.is-c { left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 2px 6px; border-radius: 8px; background: var(--surface); }
.tool .cs-ax { position: absolute; font-size: 11px; line-height: 14px; font-weight: 750; color: rgb(var(--ink) / .5); white-space: nowrap; }
.tool .cs-ax.is-x { left: 0; bottom: -18px; }
.tool .cs-ax.is-y { left: -18px; bottom: 0; transform: rotate(-90deg); transform-origin: left bottom; translate: 14px 0; }
.tool .cs-dot { position: absolute; width: 16px; height: 16px; margin: 0 0 -8px -8px; border-radius: 8px; background: rgb(var(--accent)); box-shadow: 0 0 0 3px var(--surface); }
.tool .cs-dot.is-other { background: rgb(var(--ink) / .7); }
.tool .cs-dot b { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 12px; font-weight: 850; white-space: nowrap; padding: 1px 6px; border-radius: 8px; background: var(--surface); color: rgb(var(--ink)); }
.tool .cs-watch { display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px; background: rgb(var(--c3) / .1); box-shadow: inset 3px 0 0 rgb(var(--c3)); }
.tool .cs-watch p:not(.u4-h) { font-size: 15px; line-height: 22px; font-weight: 650; }
.tool .cs-legend { display: flex; gap: 16px; font-size: 13px; font-weight: 800; color: rgb(var(--ink) / .7); margin-top: 4px; }
.tool .cs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tool .cs-legend span::before { content: ''; width: 12px; height: 12px; border-radius: 6px; background: rgb(var(--accent)); }
.tool .cs-legend span.is-other::before { background: rgb(var(--ink) / .7); }
.tool .cs-q.is-c { top: auto; bottom: 34%; }
.tool .cs-topic { font-size: 13px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; color: var(--link); margin-top: 6px; }
.tool .cs-topic-list { display: grid; gap: 4px; }
.tool .cs-topic-list li { font-size: 15px; line-height: 22px; font-weight: 650; padding-left: 14px; position: relative; }
.tool .cs-topic-list li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 3px; background: rgb(var(--accent)); }
.tool .cs-watch-title { font-size: 20px; line-height: 26px; font-weight: 900; color: rgb(var(--ink)); }
.tool .cs-axes { margin-left: 24px; }
.tool .cs-ax.is-y { left: -22px; }
@media (min-width: 600px) { .tool .cs-axes { aspect-ratio: 2.2; } }
.tool .cs-q { font-size: 12px; color: rgb(var(--ink) / .5); }
.tool .cs-ax { font-size: 12px; }
