.finance-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 18px
}

.finance-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.finance-card strong {
    font-size: 24px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px
}

.section-heading h2 {
    margin: 0
}

.table-wrap {
    overflow-x: auto
}

.amount-income {
    color: #207655;
    font-weight: 700
}

.amount-expense {
    color: #a24f4f;
    font-weight: 700
}

.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #17303a66;
    z-index: 5
}

.modal[hidden] {
    display: none
}

.paused-club-notice {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #17303af2;
    z-index: 20
}

.paused-club-dialog {
    width: min(560px, 100%);
    margin: 0;
    padding: 32px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px #00000040;
    text-align: center
}

.paused-club-dialog h1 {
    margin: 8px 0 14px
}

.dialog {
    width: min(620px, 100%);
    max-height: 90vh;
    overflow: auto;
    margin: 0;
    box-shadow: 0 18px 50px #17303a33
}

.small-dialog {
    width: min(460px, 100%)
}

.inline-field {
    display: flex;
    gap: 8px
}

.inline-field select {
    min-width: 0;
    flex: 1
}

.category-list {
    display: grid;
    gap: 8px;
    margin-top: 18px
}

.category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #d9e5e2;
    border-radius: 6px
}

.small {
    padding: 7px 10px;
    font-size: 12px
}

.checkboxes {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto
}

@media (max-width:760px) {
    .sidebar {
        position: fixed;
        height: auto;
        max-height: 100vh
    }
}

.nav a.nav-subitem {
    padding-left: 25px
}

.nav details[open] summary {
    pointer-events: none
}

.finance-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 18px
}

.finance-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.finance-card strong {
    font-size: 24px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px
}

.section-heading h2 {
    margin: 0
}

.table-wrap {
    overflow-x: auto
}

.amount-income {
    color: #207655;
    font-weight: 700
}

.amount-expense {
    color: #a24f4f;
    font-weight: 700
}

.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background: #17303a66;
    z-index: 50;
    overflow-y: auto;
    overscroll-behavior: contain
}

.modal[hidden] {
    display: none !important
}

.dialog {
    width: min(620px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    margin: auto;
    box-shadow: 0 18px 50px #17303a33
}

.small {
    padding: 7px 10px;
    font-size: 12px
}

.checkboxes {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.checkboxes label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 400
}

.nav details {
    margin: 2px 0
}

.nav summary {
    padding: 10px 11px;
    color: #607478;
    cursor: pointer;
    list-style: none
}

.nav summary::-webkit-details-marker {
    display: none
}

.nav details a {
    padding-left: 25px
}

.settings-panel {
    max-width: 720px
}

@media (max-width:760px) {
    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 4;
        transform: translateX(-100%);
        transition: transform .2s
    }

    .sidebar.open {
        transform: translateX(0)
    }

    .topbar {
        padding: 0 18px
    }

    .content {
        padding: 24px 16px
    }

    .heading {
        gap: 16px;
        flex-direction: column
    }

    .finance-cards {
        grid-template-columns: 1fr
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }

    .data-table {
        min-width: 620px
    }

    .mobile {
        display: block
    }

    .dialog {
        padding: 16px
    }
}

.calendar-tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #dfeae6;
    margin-bottom: 18px
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px
}

.dashboard-panel {
    margin: 0
}

.dashboard-link {
    color: inherit;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s
}

.dashboard-link:hover {
    border-color: #9bcbb6;
    box-shadow: 0 8px 22px #17303a12
}

.dashboard-announcements {
    grid-column: 1/-1;
    min-height: 310px
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px
}

.panel-heading h2 {
    margin: 4px 0 0
}

.panel-heading .eyebrow {
    margin: 0
}

.dashboard-arrow {
    font-size: 24px;
    color: #2b8768
}

.dashboard-count {
    min-width: 31px;
    height: 31px;
    padding: 8px;
    border-radius: 50%;
    background: #e4f3eb;
    color: #205f49;
    text-align: center;
    font-weight: 700
}

.dashboard-list {
    display: grid;
    gap: 10px
}

.dashboard-item {
    display: grid;
    gap: 5px;
    padding: 13px 14px;
    border-left: 3px solid #2b8768;
    background: #f5faf7;
    color: #17303a;
    text-decoration: none
}

.dashboard-item[href]:hover {
    background: #e8f5ef
}

.dashboard-item strong {
    font-size: 14px
}

.dashboard-item span,
.dashboard-item p {
    margin: 0;
    color: #73868a
}

.dashboard-item p {
    white-space: pre-wrap;
    line-height: 1.5
}

.announcement-form {
    margin-top: 19px;
    padding-top: 19px;
    border-top: 1px solid #e2ebea
}

.announcement-form textarea {
    border: 1px solid #d9e5e2;
    border-radius: 6px;
    padding: 10px;
    font: inherit;
    resize: vertical
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.profile-button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #2b8768;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer
}

.profile-button:hover {
    background: #246f55
}

.profile-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    padding: 5px;
    background: #e8f1ed;
    border: 1px solid #d9e7e1;
    border-radius: 10px;
    width: max-content
}

.profile-tab {
    border: 0;
    border-radius: 7px;
    padding: 10px 18px;
    background: transparent;
    color: #73868a;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.profile-tab.active {
    background: #fff;
    color: #246f55;
    box-shadow: 0 1px 3px #17303a1a
}

.profile-message {
    min-height: 22px
}

.profile-panel {
    max-width: 720px
}

.announcement-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #17303a66;
    z-index: 10
}

.announcement-modal[hidden] {
    display: none
}

.announcement-dialog {
    width: min(620px, 100%);
    margin: 0;
    box-shadow: 0 18px 50px #17303a33
}

.announcement-dialog textarea {
    border: 1px solid #d9e5e2;
    border-radius: 6px;
    padding: 10px;
    font: inherit;
    resize: vertical
}

@media(max-width:760px) {
    .dashboard-grid {
        grid-template-columns: 1fr
    }

    .dashboard-announcements {
        grid-column: auto
    }

    .panel-heading {
        align-items: flex-start;
        flex-direction: column
    }
}

.calendar-tab {
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: #73868a;
    padding: 11px 2px;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.calendar-tab.active {
    border-bottom-color: #2b8768;
    color: #246f55
}

.entry-panel {
    margin-bottom: 18px
}

.calendar-tabs {
    align-items: center;
    gap: 4px;
    padding: 5px;
    background: #e8f1ed;
    border: 1px solid #d9e7e1;
    border-radius: 10px;
    width: max-content
}

.calendar-tab {
    border: 0;
    border-radius: 7px;
    padding: 10px 18px;
    transition: background .15s, color .15s
}

.calendar-tab.active {
    background: #fff;
    box-shadow: 0 1px 3px #17303a1a
}

.calendar-panel {
    overflow: hidden
}

.calendar-toolbar {
    padding: 2px 0 19px
}

.calendar-toolbar h2 {
    font-size: 20px;
    letter-spacing: -.2px
}

.calendar-navigation .button {
    height: 38px;
    min-width: 38px;
    padding: 7px 11px
}

.calendar-navigation .button:first-child,
.calendar-navigation .button:last-child {
    font-size: 23px;
    line-height: 18px
}

.calendar-navigation .button.secondary:hover {
    background: #e8f5ef
}

.calendar-weekdays {
    border: 1px solid #dfeae6;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    background: #f7faf9
}

.calendar-weekdays span {
    padding: 12px 13px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .7px;
    font-size: 10px
}

.calendar-grid {
    border-left: 1px solid #dfeae6
}

.calendar-day {
    min-height: 116px;
    padding: 10px;
    border: 0;
    border-right: 1px solid #dfeae6;
    border-bottom: 1px solid #dfeae6;
    border-radius: 0;
    background: #fff;
    transition: background .15s
}

.calendar-day:hover {
    background: #f3f9f6
}

.calendar-day.outside {
    background: #fafcfb;
    color: #aebdb8
}

.calendar-day.today {
    box-shadow: inset 0 3px 0 #2b8768;
    background: #f0f8f4
}

.day-number {
    width: 27px;
    height: 27px;
    margin: 0 0 7px;
    padding-top: 5px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px
}

.calendar-day.today .day-number {
    background: #2b8768;
    color: #fff
}

.calendar-event {
    margin: 4px 0;
    padding: 6px 7px;
    border-left: 3px solid #2b8768;
    border-radius: 4px;
    background: #e4f3eb;
    color: #205f49;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left
}

.entry-panel {
    border-color: #b9decf;
    box-shadow: 0 8px 24px #17303a12
}

.entry-panel .calendar-toolbar {
    padding-bottom: 16px
}

.tab-panel {
    min-height: 0
}

.tab-panel h2 {
    font-size: 18px;
    margin-bottom: 17px
}

.data-table {
    border: 1px solid #dfeae6;
    border-radius: 8px;
    overflow: hidden
}

.data-table th {
    background: #f7faf9;
    padding: 13px 14px
}

.data-table td {
    padding: 15px 14px
}

.data-table tr:last-child td {
    border-bottom: 0
}

.delete {
    padding: 6px 8px;
    border-radius: 5px
}

.delete:hover {
    background: #fff0ef
}

.empty {
    margin-top: 4px;
    background: #fbfdfc
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f5f8f7;
    color: #17303a;
    font: 14px Arial, sans-serif
}

.layout {
    display: flex;
    min-height: 100vh
}

.sidebar {
    width: 245px;
    background: #fff;
    border-right: 1px solid #e2ebea;
    padding: 24px 15px;
    flex: none
}

.brand {
    font-size: 23px;
    font-weight: 800;
    margin: 0 10px 28px
}

.brand b {
    color: #278261
}

.club {
    padding: 13px;
    border: 1px solid #e2ebea;
    border-radius: 8px;
    margin-bottom: 22px;
    font-weight: 700
}

.sidebar .nav:not(.nav-ready) {
    visibility: hidden;
}

.sidebar .nav a[hidden],
.sidebar .nav .nav-label[hidden] {
    display: none !important;
}

.nav-label {
    margin: 18px 11px 7px;
    color: #8ba0a3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px
}

.nav a {
    display: block;
    padding: 10px 11px;
    border-radius: 7px;
    color: #607478;
    text-decoration: none;
    margin: 2px 0
}

.nav a:hover,
.nav a.active {
    background: #dff1e8;
    color: #246f55;
    font-weight: 700
}

.main {
    flex: 1;
    min-width: 0
}

.topbar {
    height: 68px;
    background: #fff;
    border-bottom: 1px solid #e2ebea;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.topbar strong {
    font-size: 13px
}

.content {
    max-width: 1180px;
    margin: auto;
    padding: 36px
}

.eyebrow {
    color: #2b8768;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px
}

.heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px
}

.heading h1 {
    font-size: 29px;
    margin: 7px 0
}

.muted {
    color: #73868a
}

.button {
    border: 0;
    border-radius: 6px;
    background: #2b8768;
    color: #fff;
    padding: 11px 15px;
    font-weight: 700;
    cursor: pointer
}

.button.secondary {
    background: #fff;
    color: #285f4c;
    border: 1px solid #d8e6e1
}

.panel {
    background: #fff;
    border: 1px solid #e2ebea;
    border-radius: 9px;
    padding: 21px;
    margin-bottom: 18px
}

.panel h2 {
    font-size: 16px;
    margin: 0 0 7px
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px
}

.empty {
    padding: 48px 20px;
    text-align: center;
    color: #829395;
    border: 1px dashed #cdddda;
    border-radius: 7px
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: 12px;
    font-weight: 700
}

.field input,
.field select {
    border: 1px solid #d9e5e2;
    border-radius: 6px;
    padding: 10px;
    font: inherit
}

.form-actions {
    margin-top: 18px;
    display: flex;
    gap: 9px
}

.data-table {
    width: 100%;
    border-collapse: collapse
}

.data-table th {
    text-align: left;
    color: #829396;
    text-transform: uppercase;
    font-size: 10px;
    padding: 11px;
    border-bottom: 1px solid #e5eeec
}

.data-table td {
    padding: 13px 11px;
    border-bottom: 1px solid #edf2f1
}

.delete {
    border: 0;
    background: none;
    color: #c85e59;
    cursor: pointer
}

.mobile {
    display: none
}

.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
}

.calendar-toolbar h2 {
    text-transform: capitalize;
    margin: 0
}

.calendar-navigation {
    display: flex;
    gap: 8px
}

.calendar-navigation .button {
    min-width: 42px;
    padding: 9px 12px
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr))
}

.calendar-weekdays span {
    padding: 9px 8px;
    color: #829396;
    text-align: right;
    font-size: 11px;
    font-weight: 700
}

.calendar-day {
    min-height: 106px;
    padding: 9px 8px;
    border: 1px solid #edf2f1;
    background: #fff;
    color: #17303a;
    text-align: left;
    vertical-align: top;
    cursor: pointer
}

.calendar-day:hover {
    background: #f1f8f4
}

.calendar-day.outside {
    color: #aab8b7;
    background: #fbfcfc
}

.calendar-day.today {
    box-shadow: inset 0 0 0 2px #2b8768
}

.day-number {
    display: block;
    text-align: right;
    font-weight: 700;
    margin-bottom: 7px
}

.calendar-event {
    display: block;
    overflow: hidden;
    margin: 3px 0;
    padding: 4px 5px;
    border-radius: 4px;
    background: #dff1e8;
    color: #246f55;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis
}

@media(max-width:760px) {
    .sidebar {
        position: fixed;
        z-index: 2;
        left: -245px;
        height: 100%;
        transition: .2s
    }

    .sidebar.open {
        left: 0
    }

    .mobile {
        display: block;
        border: 0;
        background: none;
        font-size: 20px
    }

    .topbar {
        padding: 0 17px
    }

    .content {
        padding: 24px 16px
    }

    .heading {
        display: block
    }

    .heading .button {
        margin-top: 12px
    }

    .grid,
    .form-grid {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }
}

[hidden] {
    display: none !important;
}

.trial-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 14px auto 4px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f7a58, #2b9b73);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 26px rgba(36, 111, 85, 0.25);
}

.trial-pill {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #dff3e9;
    color: #1c6b4f;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.usage-meter {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e7efed;
    overflow: hidden;
    margin-top: 6px;
}

.usage-meter-bar {
    height: 100%;
    border-radius: 999px;
    background: #246f55;
    transition: width 0.25s ease;
}

.usage-meter-bar.warning {
    background: #c98a27;
}

.usage-meter-bar.danger {
    background: #b43c3c;
}

.plan-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.plan-option-card {
    border: 2px solid #dfe8e6;
    border-radius: 10px;
    padding: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-option-card.active-plan {
    border-color: #246f55;
    background: #f5fbf8;
    box-shadow: 0 8px 24px rgba(36, 111, 85, 0.1);
}

.plan-option-card.disabled-plan {
    opacity: 0.75;
    background: #fafbfb;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-badge.status-active {
    background: #dff1e8;
    color: #1f6d52;
}

.status-badge.status-paused {
    background: #fff3d6;
    color: #946200;
}

.status-badge.status-cancelled {
    background: #fde8e8;
    color: #a62626;
}

@media(max-width:900px) {
    .plan-selector-grid {
        grid-template-columns: 1fr;
    }
}
/* Export Dropdown Menus & DSGVO Badges */
.export-dropdown {
    position: relative;
    display: inline-block;
}

.export-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #dce8e5;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(23, 48, 58, 0.12);
    z-index: 50;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
}

.export-menu[hidden] {
    display: none;
}

.export-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #17303a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.export-item:hover {
    background: #f2f8f5;
    color: #246f55;
}

.export-item-meta {
    font-size: 11px;
    color: #71878b;
    margin-left: auto;
}

.export-menu-header {
    padding: 6px 14px 4px;
    font-size: 11px;
    font-weight: 700;
    color: #71878b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eef3f2;
    margin-bottom: 4px;
}

.export-menu-footer {
    padding: 6px 14px 4px;
    font-size: 10.5px;
    color: #8c6508;
    background: #fefcf3;
    border-top: 1px solid #fae7b4;
    margin-top: 4px;
}

/* Global Scrollable Pop-up / Modal Overrides */
.modal,
.member-modal,
.contact-modal,
.entry-modal,
.inventory-modal,
.document-modal,
.attendance-modal,
.poll-modal,
.announcement-modal,
.team-modal,
.due-modal {
    overflow-y: auto !important;
    padding: 24px 16px !important;
    overscroll-behavior: contain;
}

.modal > .dialog,
.member-modal > .member-dialog,
.contact-modal > .contact-dialog,
.entry-modal > .entry-panel,
.inventory-modal > .inventory-dialog,
.document-modal > .document-dialog,
.attendance-modal > .attendance-dialog,
.poll-modal > .poll-dialog,
.announcement-modal > .announcement-dialog,
.team-modal > .team-dialog,
.due-modal > .due-dialog,
[role="dialog"] {
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    margin: auto !important;
    box-sizing: border-box;
}

/* ==========================================================================
   Polls & Voting UI (Voting Window & Evaluation Report)
   ========================================================================== */

/* Voting Page Container */
.poll-voting-wrapper {
    max-width: 680px;
    margin: 32px auto 48px;
    padding: 0 16px;
}

.poll-voting-card {
    background: #ffffff;
    border: 1px solid #dce8e5;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 6px 24px rgba(23, 48, 58, 0.06);
}

.poll-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #246f55;
    background: #e4f3eb;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.poll-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.poll-status-pill.active {
    background: #e4f3eb;
    color: #246f55;
}

.poll-status-pill.archived {
    background: #f0f3f2;
    color: #71878b;
}

.poll-header-title {
    font-size: 24px;
    font-weight: 800;
    color: #17303a;
    margin: 4px 0 8px;
    line-height: 1.25;
}

.poll-header-desc {
    color: #607478;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
}

.poll-voter-id-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f7faf9;
    border: 1px solid #dce8e5;
    border-radius: 8px;
    font-size: 13px;
    color: #17303a;
    margin-bottom: 24px;
}

.poll-question-card {
    background: #ffffff;
    border: 1px solid #e2ebe8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.poll-question-number {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #246f55;
    margin-bottom: 6px;
}

.poll-question-title {
    font-size: 16px;
    font-weight: 700;
    color: #17303a;
    margin: 0 0 14px;
}

.poll-options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fafcfb;
    border: 2px solid #e2ebe8;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #17303a;
    transition: all 0.15s ease;
    user-select: none;
}

.poll-option-tile:hover {
    border-color: #246f55;
    background: #f2f8f5;
    transform: translateY(-1px);
}

.poll-option-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.poll-option-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #b8ccc8;
    background: #ffffff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.poll-option-tile.selected {
    border-color: #246f55;
    background: #ebf6f1;
    color: #17303a;
    font-weight: 700;
}

.poll-option-tile.selected .poll-option-circle {
    border-color: #246f55;
    background: #246f55;
}

.poll-option-tile.selected .poll-option-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
}

.poll-vote-submit-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
}

/* Poll Success & Already Voted Views */
.poll-state-card {
    text-align: center;
    padding: 40px 24px;
}

.poll-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 32px;
    margin: 0 auto 16px;
}

.poll-state-icon.success {
    background: #e4f3eb;
    color: #246f55;
}

.poll-state-icon.info {
    background: #fef5db;
    color: #8c6508;
}

/* Evaluation Report Modal (Jahresabschluss Style) */
.poll-eval-dialog {
    width: min(880px, 96vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
}

.poll-eval-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dce8e5;
    flex-wrap: wrap;
}

.poll-eval-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.poll-eval-kpi-card {
    background: #f7faf9;
    border: 1px solid #dce8e5;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.poll-eval-kpi-card .kpi-label {
    font-size: 12px;
    font-weight: 600;
    color: #71878b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.poll-eval-kpi-card .kpi-val {
    font-size: 24px;
    font-weight: 800;
    color: #17303a;
}

.poll-eval-section {
    margin-bottom: 28px;
}

.poll-eval-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #246f55;
    margin: 0 0 14px;
}

.poll-question-result-box {
    background: #ffffff;
    border: 1px solid #dce8e5;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.poll-question-result-title {
    font-size: 15px;
    font-weight: 700;
    color: #17303a;
    margin-bottom: 14px;
}

.poll-bar-item {
    margin-bottom: 14px;
}

.poll-bar-item:last-child {
    margin-bottom: 0;
}

.poll-bar-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #17303a;
    margin-bottom: 6px;
}

.poll-bar-track {
    height: 12px;
    background: #eef3f1;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.poll-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #246f55, #3eb189);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.voter-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.voter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f6f4;
    border: 1px solid #d2e4de;
    border-radius: 14px;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 600;
    color: #205c48;
}

.voter-chip.empty {
    color: #9cb1ad;
    background: transparent;
    border: none;
    font-weight: normal;
    padding: 2px 0;
}

.poll-filter-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.poll-filter-toolbar input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dce8e5;
    border-radius: 6px;
    font-size: 13px;
}

@media print {
    .sidebar, .topbar, .form-actions, .poll-filter-toolbar, .button, .export-dropdown {
        display: none !important;
    }
    .poll-eval-dialog {
        width: 100% !important;
        max-height: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }
}
