/* Local overrides for OlimpBase poll module */
.archive-poll-table + .archive-poll-table { margin-top: 25px; }
.wrap { max-width: 735px; }
.admin-box, .poll-card, .panel, .narrow, .login-box { max-width: 700px; }
.summary-table { max-width: 700px; }
.admin-main-box { max-width: 700px; }
.admin-primary-row { justify-content: space-between; margin-bottom: 10px; }
.admin-left-actions { display: flex; gap: 8px; align-items: center; }
.admin-secondary-row { justify-content: flex-end; margin-bottom: 18px; }
.admin-save-form { margin: 0; }
.admin-bypass-options { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin: 0; }
.admin-radio-option { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 8px; font-weight: normal; font-family: Arial, Helvetica, sans-serif; font-size: 13px; }
.admin-radio-option input { margin: 0; }
.admin-main-title { margin: 8px 0 12px; }
.admin-summary-table { table-layout: fixed; max-width: 700px; }
.admin-summary-table th, .admin-summary-table td { padding-left: 2px; padding-right: 2px; }
.admin-summary-table th:nth-child(1), .admin-summary-table td:nth-child(1) { width: 40px; }
.admin-summary-table th:nth-child(3), .admin-summary-table td:nth-child(3) { width: 128px; }
.admin-summary-table th:nth-child(4), .admin-summary-table td:nth-child(4), .admin-summary-table th:nth-child(5), .admin-summary-table td:nth-child(5) { width: 78px; }
.admin-summary-table th:nth-child(6), .admin-summary-table td:nth-child(6) { width: 46px; }
.admin-summary-table th:nth-child(7), .admin-summary-table td:nth-child(7) { width: 176px; white-space: nowrap; }
.admin-summary-table th:nth-child(2), .admin-summary-table td:nth-child(2) { width: auto; padding-left: 10px; padding-right: 8px; }
.status-inline-row { display: inline-flex; gap: 4px; align-items: center; flex-wrap: nowrap; justify-content: center; }
.badge-published { background: #d9ebf8; color: #2f5d80; border: 1px solid rgba(100, 130, 160, 0.18); }
.admin-page-title { text-align: center; margin: 0; }
.admin-page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }
.btn-current { background: #f2f2f2; color: #111; border-color: #b7b79c; cursor: default; }
.btn-disabled { opacity: 0.82; }
.actions-gap { display: inline-block; width: 6px; }
.admin-buttons-gap { height: 10px; }
.admin-question-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-question-line .poll-question-inline { font-size: 12pt; }
.stats-preview-gap { height: 10px; }
.stats-results-preview { max-width: 620px; margin: 15px auto 0; }
.country-flag { vertical-align: text-top; margin-right: 4px; border: 1px solid rgba(0,0,0,0.08); }
.archive-results-table .opt-label { padding-right: 5px; }
.admin-view-card .poll-block { max-width: 620px; width: 92%; }
.admin-view-card .poll-meta { margin-top: 8px; }
.preview-only .choice-input { pointer-events: none; }
.preview-only .choice-box { cursor: default; }
.btn[disabled] { opacity: 1; }

.active-title-extra-gap { margin-top: 55px; }
.poll-heading { width: fit-content; max-width: 100%; margin: 0 auto; }
.question-line.centered { justify-content: center; }
.choice-help { margin-top: 5px; }
.login-grid-compact { grid-template-columns: 90px 1fr; max-width: 520px; }
.login-user-line { max-width: 520px; margin: 0 0 8px; font-size: 11pt; }
.login-label-inline { font-weight: normal; }
.login-grid-compact .login-label, .login-grid-compact .login-value { font-size: 11pt; }
.status-stack-tight { align-items: center; gap: 2px; }
.admin-summary-table th:nth-child(3), .admin-summary-table td:nth-child(3) { width: 92px; }
.admin-summary-table th:nth-child(4), .admin-summary-table td:nth-child(4), .admin-summary-table th:nth-child(5), .admin-summary-table td:nth-child(5) { width: 54px; }
.admin-summary-table th:nth-child(6), .admin-summary-table td:nth-child(6) { width: 52px; white-space: nowrap; }
.admin-summary-table th:nth-child(7), .admin-summary-table td:nth-child(7) { width: 144px; padding-left: 2px; padding-right: 2px; }
.admin-summary-table th:nth-child(2), .admin-summary-table td:nth-child(2) { width: auto; }
.admin-summary-table .admin-actions { white-space: nowrap; }
.admin-buttons-gap-large { height: 20px; }
.admin-centered-block { width: fit-content; max-width: 100%; margin: 0 auto; }
.admin-question-line-centered { justify-content: center; }
.stats-preview-gap-large { height: 20px; }

.admin-page-shell-tight { margin-top: 0; }
.admin-page-actions-below-title { margin-top: 18px; margin-bottom: 0; }
.admin-content-box-gap { padding-top: 20px; }
.admin-edit-form { margin-top: 0; }
.admin-view-box .poll-block { max-width: 620px; width: 92%; }
.admin-view-box .poll-heading, .admin-stats-header { width: fit-content; max-width: 100%; margin: 0 auto; text-align: center; }
.admin-view-box .question-line, .admin-stats-header .question-line { justify-content: center; flex-wrap: wrap; }
.admin-view-box .poll-meta { justify-content: center; }
.admin-view-box .poll-question-inline, .admin-stats-header .poll-question-inline { text-align: center; }

.admin-page-shell-tight { padding-bottom: 0; }
.admin-page-actions-below-title { margin-top: 18px; }
.admin-view-box, .admin-stats-box { padding-top: 0; }
.admin-view-box .poll-block, .admin-stats-box .admin-centered-block { width: 100%; max-width: 620px; margin: 0 auto; text-align: center; }
.admin-view-box .poll-heading, .admin-stats-header { width: 100%; margin: 0 auto; text-align: center; }
.admin-view-box .question-line, .admin-stats-header .question-line { display: inline-flex; justify-content: center; flex-wrap: wrap; }
.admin-view-box .poll-meta, .admin-stats-header .poll-meta { display: flex; justify-content: center; }
.admin-view-box .choice-help, .admin-stats-box .choice-help { text-align: center; }
.admin-view-box .poll-question-inline, .admin-stats-header .poll-question-inline { text-align: center; }
.login-label input[type="password"] {
    width: 260px;
    margin-left: 10px;
}