.brand img {
    display: block;
    width: 190px;
    max-height: 58px;
}

@media (max-width: 800px) {
    .brand img { width: 155px; max-height: 48px; }
}

.email-entry { margin: 18px 0 0; max-width: 520px; }
.email-entry label { display: flex; align-items: center; gap: 7px; color: var(--navy); font-size: 14px; font-weight: 800; }
.email-entry input { width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid #bdcbd2; border-radius: 10px; font: inherit; background: #fff; }
.tip { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #dfe8ed; color: var(--navy); font-size: 12px; cursor: help; }
.tip:hover::after,.tip:focus::after { content: attr(data-tip); position: absolute; z-index: 5; bottom: 25px; left: -20px; width: 255px; padding: 10px 12px; border-radius: 9px; background: var(--navy2); color: #fff; font-weight: 500; line-height: 1.4; box-shadow: var(--shadow); }
.admin-stats { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--navy); font-weight: 800; }
.admin-stats strong { font-size: 24px; color: var(--orange); }
.mini-results { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; margin-top: 16px; padding: 14px; border-radius: 12px; background: #f3f6f7; }
.mini-results .donut { width: 86px; }
.mini-results .donut-center { font-size: 9px; }
.mini-results .donut-center b { font-size: 20px; }
.mini-results .legend { gap: 5px; }
.mini-results .legend-row { grid-template-columns: 9px minmax(70px,1fr) 62px; gap: 7px; font-size: 12px; }
.mini-results .legend-row i { width: 8px; height: 8px; }
.quiz-toggle { display:flex; gap:8px; align-items:center; padding:10px 12px; margin-bottom:5px; border-radius:10px; background:#fff4df; color:var(--navy); font-weight:800; }
.quiz-help { margin:0 0 18px; }
.correct-choice { display:none; align-items:center; justify-content:center; gap:3px; min-width:43px; color:var(--green); font-weight:900; }
.creator:has(#is-quiz:checked) .correct-choice { display:flex; }
.quiz-submit { display:block; margin-top:16px; }
.quiz-score { display:inline-flex; align-items:center; gap:12px; margin:-18px 0 20px; padding:10px 16px; border-radius:12px; background:#fff; border:1px solid #dce2e5; }
.quiz-score strong { color:var(--orange); font-size:28px; }
.quiz-score span { color:var(--navy); font-weight:800; }
.quiz-correct-total { margin:0 0 22px; color:var(--navy); font-weight:750; }
.quiz-correct-total b { color:var(--orange); font-size:22px; }
.legend-row.correct-answer span::after { content:' ✓ correct'; color:var(--green); font-size:12px; font-weight:900; }
.draw-poll-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }
.draw-poll-tools label { color:var(--navy); font-size:13px; font-weight:800; }
.draw-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:16px 18px; margin-bottom:14px; }
.draw-toolbar b,.draw-toolbar span { display:block; }
.draw-toolbar b { color:var(--navy); font-size:18px; }
.draw-toolbar span { color:var(--muted); font-size:12px; margin-top:2px; }
.winner-card { margin:0 0 14px; padding:22px; text-align:center; border:2px solid var(--orange); }
.winner-card span,.winner-card strong { display:block; }
.winner-card span { color:var(--muted); font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:2px; }
.winner-card strong { margin-top:5px; color:var(--navy); font-size:24px; overflow-wrap:anywhere; }
dialog { width:min(540px,calc(100% - 30px)); max-height:80vh; border:0; border-radius:18px; padding:24px; color:var(--ink); box-shadow:0 25px 80px #052b4560; }
dialog::backdrop { background:#052b4588; }
.dialog-head { display:flex; justify-content:space-between; align-items:center; gap:15px; }
.dialog-head h2 { margin:0; color:var(--navy); }
.email-list { max-height:50vh; overflow:auto; border:1px solid #dce2e5; border-radius:10px; }
.email-list div { padding:10px 12px; border-bottom:1px solid #e7ecee; overflow-wrap:anywhere; }
.email-list div:last-child { border-bottom:0; }
