* { box-sizing: border-box; }
body { margin: 0; padding: 16px; background: #f7f3ff; color: #29223b; font: 16px/1.5 system-ui, sans-serif; }
main { max-width: 480px; margin: 0 auto; }
h1 { margin: 8px 0 12px; font-size: 25px; line-height: 1.25; }
p { margin: 12px 0; }
.eyebrow { color: #685780; font-size: 13px; }
.summary { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.summary p { margin: 4px 0 12px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
button { min-height: 46px; padding: 10px 16px; border: 1px solid #6d50a8; border-radius: 10px; background: #6d50a8; color: white; font: inherit; cursor: pointer; }
.card { min-height: 76px; padding: 8px; background: white; color: #342247; font-size: 23px; font-weight: 700; }
.card:hover:not(:disabled) { background: #eee4ff; }
.card.is-selected { background: #dfd1f8; color: #342247; }
button:disabled { cursor: default; opacity: .62; }
button:focus-visible { outline: 3px solid #d88913; outline-offset: 3px; }
.status { min-height: 72px; padding: 12px; border-radius: 10px; background: white; }
@media (max-width: 360px) { body { padding: 12px; } h1 { font-size: 22px; } .summary { gap: 0 16px; } }

.test-table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 9px; text-align: left; border: 1px solid #bdaacc; }
.test-pass td:last-child { background: #e4f4e5; color: #214b2b; }
.test-fail td:last-child { background: #fbe2e2; color: #7a2020; }

.selection { padding: 10px 12px; background: #eee4ff; border-radius: 10px; overflow-wrap: anywhere; }

.journal { margin-top: 20px; padding: 12px; background: white; border-radius: 10px; }
.journal summary { cursor: pointer; }
.journal ol { list-style: none; padding-left: 0; font-size: 14px; overflow-wrap: anywhere; max-height: 220px; overflow-y: auto; }
