/* Component-scoped CSS: does not override the active WordPress theme. */
.icop { --icop-ink: #152a43; --icop-border: #c9d6e4; --icop-bg: #fff; --icop-soft: #eef4fa; --icop-accent: #075b99; color: var(--icop-ink); background: var(--icop-bg); border: 1px solid var(--icop-border); border-radius: 16px; padding: clamp(1rem,3vw,1.65rem); max-width: 850px; margin: 1.5rem auto; font-size: 1rem; line-height: 1.55; }
.icop *, .icop *::before, .icop *::after { box-sizing: border-box; }
.icop h2, .icop h3, .icop p { color: inherit; }
.icop h2 { font-size: clamp(1.45rem,3vw,2rem); margin: .15rem 0 .5rem; }
.icop h3 { font-size: 1.12rem; margin: .2rem 0 .5rem; }
.icop__eyebrow { font-size: .78rem; color: #3a506a; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.icop__toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; justify-content: space-between; margin: 1rem 0; }
.icop label:not(.icop__choices label) { font-size: .95rem; font-weight: 700; display: block; margin-bottom: .3rem; }
.icop select { display: block; width: min(100%,320px); padding: .6rem .65rem; font-size: 1rem; color: #152a43; background: #fff; border: 1.5px solid #74869c; border-radius: .45rem; }
.icop__counter { font-size: .9rem; font-weight: 700; color: #284968; }
.icop__question { padding: 1rem; border-radius: .65rem; background: var(--icop-soft); }
.icop__question p { margin: .4rem 0 0; }
.icop__choices { border: 0; padding: 0; margin: 1.1rem 0; min-width: 0; }
.icop__choices legend { font-weight: 700; padding: 0 0 .6rem; }
.icop__choices label { background: #fff; color: #152a43; border: 1px solid var(--icop-border); border-radius: .55rem; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .9rem; margin: .18rem .22rem .18rem 0; font-size: 1rem; cursor: pointer; }
.icop__choices label:has(input:checked) { border-color: #075b99; background: #e7f2fd; }
.icop__choices input { width: 1.1rem; height: 1.1rem; accent-color: var(--icop-accent); }
.icop__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.icop button { appearance: none; background: #075b99; border: 2px solid #075b99; color: #fff; padding: .65rem 1rem; font-size: .95rem; font-weight: 750; border-radius: .55rem; cursor: pointer; line-height: 1.25; }
.icop button.icop__button--secondary { color: #075b99; background: #fff; }
.icop button:disabled { opacity: .58; cursor: not-allowed; }
.icop button:focus-visible, .icop input:focus-visible, .icop select:focus-visible { outline: 3px solid #dd8700; outline-offset: 3px; }
.icop__feedback { min-height: 2.1rem; padding: .6rem .75rem; border-left: 4px solid #8a9bae; background: var(--icop-soft); font-weight: 650; }
.icop__feedback[data-state="correct"] { border-left-color: #137443; background: #edf9f1; }
.icop__feedback[data-state="incorrect"] { border-left-color: #a04235; background: #fff1ee; }
.icop__solution { background: #f7f9fc; border: 1px solid var(--icop-border); border-radius: .7rem; padding: .9rem 1rem; }
.icop__solution[hidden] { display: none; }
.icop__fact { margin: .4rem 0; }
.icop__score { margin-top: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.icop__cards { margin-top: 1rem; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); gap: .8rem; }
.icop__card { background: #f7f9fc; border: 1px solid var(--icop-border); padding: .9rem 1rem; border-radius: .75rem; }
.icop__chip { display: inline-block; background: #dcebf8; color: #14334f; font-weight: 750; font-size: .77rem; padding: .18rem .48rem; border-radius: 1rem; }
@media (max-width:480px) { .icop { padding: 1rem .75rem; } .icop__choices label { width: calc(50% - .6rem); } .icop__actions button { flex: 1 1 auto; } }
@media (prefers-reduced-motion: no-preference) { .icop button { transition: background-color .15s, border-color .15s; } .icop button:hover:not(:disabled) { filter: brightness(.94); } }
