.app-view {
    display: none;
}

.app-view.active {
    display: block;
}

.module-view {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(20px, 3vw, 34px);
}

.module-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.module-head > div:first-child {
    min-width: 0;
    flex: 1 1 360px;
}

.module-head .primary-action {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
}

.module-head h2 {
    margin: 0;
    font-size: 1.65rem;
}

.module-head p:not(.eyebrow) {
    margin: 7px 0 0;
    color: var(--muted);
}

.primary-action {
    min-height: 42px;
    border: 0;
    background: var(--green);
    color: #fff;
    padding: 0 18px;
    font-weight: 800;
}

.primary-action:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 22px;
}

.module-grid article {
    background: #fff;
    padding: 22px;
    min-height: 126px;
}

.module-grid article strong {
    font-size: 1.03rem;
}

.module-grid article p {
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.5;
    margin: 8px 0 0;
}

#mailRecipientList{margin:14px 0 20px}
#mailRecipientList>label{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:start;padding:12px 14px;border:1px solid var(--line);background:#f7faf9;cursor:pointer}
#mailRecipientList>label input{grid-row:1/3;margin-top:3px}
#mailRecipientList>label strong,#mailRecipientList>label span{grid-column:2;min-width:0;overflow-wrap:anywhere}
#mailRecipientList>label span{margin-top:3px;color:var(--muted);font-size:.82rem}
.mail-format-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin:-8px 0 8px}.mail-format-toolbar button{min-height:36px;padding:6px 12px;border:1px solid var(--line);background:#f7faf9;color:var(--ink);font:inherit;font-weight:750;cursor:pointer}.mail-format-toolbar button:hover{border-color:var(--green);color:var(--green)}.mail-preview-wrap{margin:22px 0}.mail-preview{min-height:180px;margin-top:8px;padding:20px;border:1px solid var(--line);background:#f7faf9;line-height:1.55}.mail-preview p{margin:0 0 12px}.mail-preview h3{margin:16px 0 8px}.mail-preview a{color:var(--green)}#mailRecipientGroup{min-height:40px;margin-right:12px;border:1px solid var(--line);background:#fff;padding:6px 10px;font:inherit}.mail-attachment-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;color:var(--muted);font-weight:600}.mail-attachment{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:#f7faf9;padding:8px 10px;color:var(--ink)}.mail-attachment button{border:0;background:transparent;color:var(--red);font:inherit;font-weight:900;cursor:pointer}

.setup-note {
    margin-top: 20px;
    padding: 15px 17px;
    border-left: 4px solid #d59b31;
    background: #fff4df;
    color: #694512;
    font-weight: 650;
}

.setup-note.success {
    border-left-color: var(--green);
    background: var(--green-soft);
    color: var(--green);
}
.setup-note.negative {
    border-left-color: var(--red);
    background: #f9e8e9;
    color: #842f36;
}

.entity-dialog.readiness-dialog{width:min(760px,calc(100% - 28px));padding:24px;overflow-y:auto}
.readiness-dialog>p{line-height:1.5;overflow-wrap:anywhere}
.readiness-dialog .setup-note p{margin:6px 0 0}
.readiness-checks{display:grid;gap:10px;margin-top:16px}
.readiness-check{min-width:0;padding:15px 17px;border:1px solid var(--line);border-left:4px solid var(--green);background:#fff;color:var(--ink)}
.readiness-check.readiness-warning{border-left-color:#d59b31;background:#fffaf0}
.readiness-check.readiness-error{border-left-color:var(--red);background:#fff6f6}
.readiness-check-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.78rem;font-weight:800}
.readiness-check.readiness-warning .readiness-check-head span:last-child{color:var(--amber)}
.readiness-check.readiness-error .readiness-check-head span:last-child{color:var(--red)}
.readiness-check h3{margin:7px 0 4px;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}
.readiness-check p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}
.readiness-live-acceptance{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.readiness-live-acceptance .section-heading{margin-bottom:12px}
.readiness-live-acceptance .section-heading h3{margin:3px 0 5px}
.readiness-live-acceptance .section-heading p:last-child{margin:0;color:var(--muted);font-size:.86rem;line-height:1.5}
.readiness-live-group{display:grid;gap:8px;margin:10px 0;padding:13px 15px;border:1px solid var(--line);background:#fff}
.readiness-live-group legend{padding:0 7px;font-weight:800;color:var(--green)}
.readiness-live-group label{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:start;line-height:1.4;font-size:.88rem}
.readiness-live-group input{margin-top:3px}
.brand-mark.club-logo-mark{padding:0;overflow:hidden;background:#fff}
.brand-mark.club-logo-mark img{display:block;width:100%;height:100%;object-fit:contain}
.entity-dialog.club-logo-dialog{padding:24px;overflow-y:auto}
.club-logo-dialog>p{line-height:1.5;color:var(--muted)}
.club-logo-dialog label{display:grid;gap:8px;margin-top:17px;font-weight:800}
.club-logo-dialog input[type=file]{max-width:100%;padding:10px;border:1px solid var(--line);background:#fff;font:inherit}
.club-logo-dialog>button{margin-top:12px}
.club-logo-dialog hr{border:0;border-top:1px solid var(--line);margin:22px 0}
.club-logo-preview{display:grid;place-items:center;min-height:130px;padding:14px;border:1px solid var(--line);background:#f7faf9;color:var(--muted)}
.club-logo-preview img{display:block;max-width:100%;max-height:160px;object-fit:contain}
.club-logo-preview img[hidden]{display:none}

.member-toolbar{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:18px;margin-top:22px;min-width:0}
.member-filters{display:grid;grid-template-columns:minmax(220px,480px) minmax(160px,220px);gap:12px;flex:1 1 470px;min-width:0}
.member-search,.member-sort{display:grid;gap:6px;color:var(--muted);font-size:.78rem;font-weight:800}
.member-search input,.member-sort select,.form-grid input,.form-grid select,.form-grid textarea{width:100%;min-height:44px;border:1px solid var(--line);background:#fff;padding:10px 12px;font:inherit;color:var(--ink)}
.form-grid input[readonly]{background:#eef2f0;color:var(--muted)}
.form-grid small{color:var(--muted);font-weight:500}
.result-count{color:var(--muted);font-weight:750;white-space:nowrap}
.member-table-wrap{margin-top:16px;border:1px solid var(--line);overflow:auto}
.member-table{width:100%;min-width:760px;border-collapse:collapse}
.member-table th{background:#eef3f1;color:#46564f;text-align:left;font-size:.74rem;text-transform:uppercase;padding:13px 15px}
.member-table td{border-top:1px solid var(--line);padding:15px;vertical-align:middle}
.member-table td:first-child span{display:block;color:var(--muted);font-size:.8rem;margin-top:3px}
.table-empty{text-align:center;color:var(--muted);padding:32px!important}
.table-actions{display:flex;align-items:center;gap:7px}
.table-action,.secondary-action,.icon-action,.danger-action{border:1px solid var(--line);background:#eef3f1;color:#29483f;min-height:40px;padding:0 14px;font-weight:800;cursor:pointer}
.icon-action{width:40px;padding:0;background:var(--green);border-color:var(--green);color:#fff;font-size:1rem}
.danger-action{margin-right:auto;background:#f9e8e9;border-color:#e8c5c8;color:#9a313b}
.status-badge{display:inline-block;padding:6px 9px;background:#eef1f0;font-size:.76rem;font-weight:850}
.status-badge.active{background:#e1f2eb;color:#12634f}
.status-badge.prospective{background:#fff0d8;color:#87550b}
.status-badge.former{background:#eee;color:#606967}
.inline-feedback,.form-error{margin-top:15px;padding:12px 14px;border-left:4px solid var(--red);background:#f9e8e9;color:#842f36;font-weight:700}
.form-error.success{border-left-color:var(--green);background:var(--green-soft);color:var(--green)}
.inline-feedback.success{border-left-color:var(--green);background:var(--green-soft);color:var(--green)}
.entity-dialog{width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 28px);border:0;padding:0;box-shadow:0 22px 70px rgba(10,32,26,.24)}
.entity-dialog.compact-dialog{width:min(640px,calc(100% - 28px))}
#backupManagementDialog{overflow-y:auto;padding:24px}
.server-recovery-section{border-top:1px solid var(--line);padding-top:18px}
.server-recovery-section label{display:grid;gap:7px;margin-top:15px;font-weight:750}
.server-recovery-section details{margin-top:18px;padding:14px;border:1px solid var(--line)}
.server-recovery-section summary{cursor:pointer;font-weight:800}
.entity-dialog.import-dialog{width:min(1040px,calc(100% - 28px))}
.entity-dialog::backdrop{background:rgba(10,25,21,.55)}
.entity-dialog form{padding:26px}
#mailCampaignDetailsDialog,#mailPreviewDialog{padding:26px}
.dialog-head{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid var(--line);padding-bottom:18px}
.dialog-head h2{margin:0}
.dialog-close{width:42px;height:42px;border:0;background:#c6404b;color:#fff;font-size:1.5rem;cursor:pointer}
.dialog-summary{margin:20px 0 0;font-size:1rem;font-weight:850}
.contribution-note{margin-top:14px;font-weight:600;line-height:1.5}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:22px}
.form-grid label{display:grid;gap:7px;font-weight:750}
.form-grid .check-label{display:flex;align-items:center;gap:10px;align-self:end;min-height:44px}
.check-label input{width:20px;min-height:20px}
.form-wide{grid-column:1/-1}
.member-vehicles{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}
.member-vehicles-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.member-vehicles-head h3{margin:2px 0 0;font-size:1.05rem}
.member-vehicle-hint,.vehicle-empty{margin:14px 0 0;color:var(--muted);font-weight:600}
.vehicle-empty.error{color:var(--red)}
.vehicle-list{display:grid;gap:8px;margin-top:14px}
.vehicle-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;border:1px solid var(--line);background:#f7f9f8;color:var(--ink);padding:12px 14px;text-align:left;cursor:pointer}
.vehicle-row:hover,.vehicle-row:focus-visible{border-color:var(--green);background:var(--green-soft)}
.vehicle-row span{min-width:0}.vehicle-row strong,.vehicle-row small{display:block}.vehicle-row small{margin-top:3px;color:var(--muted)}.vehicle-row em{color:var(--muted);font-size:.78rem;font-style:normal;font-weight:750}
.family-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}
.family-picker label{display:grid;gap:7px}
.family-picker-actions{display:flex;flex-wrap:wrap;gap:8px}
.family-manager-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.family-manager-head p{margin:0;color:var(--muted);line-height:1.5}
.import-intro{margin-top:20px;padding:14px 16px;border-left:4px solid var(--green);background:var(--green-soft)}
.import-intro p{margin:5px 0 0;color:var(--muted);line-height:1.5}
.import-file{display:grid;gap:8px;margin-top:18px;font-weight:800}.import-file input{border:1px solid var(--line);padding:12px;background:#fff;font:inherit}.import-file small{color:var(--muted);font-weight:600}
.import-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:16px}
.import-preview{margin-top:18px}.import-table-wrap{border:1px solid var(--line);max-height:360px;overflow:auto}.import-table{margin:0;min-width:820px}.import-table td:first-child span{display:initial}.import-table input{width:19px;height:19px}.import-blocked{background:#fff7e8}.import-issues,.import-warning{display:block;color:#87550b;font-size:.78rem;font-weight:750;line-height:1.4}.import-warning{margin-top:5px;font-weight:650}
.family-list{display:grid;gap:8px;min-height:62px}
.family-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;border:1px solid var(--line);background:#f7f9f8;color:var(--ink);padding:13px 15px;text-align:left;cursor:pointer}
.family-row:hover,.family-row:focus-visible{border-color:var(--green);background:var(--green-soft)}
.family-row span{min-width:0}.family-row strong,.family-row small{display:block}.family-row small{margin-top:4px;color:var(--muted);line-height:1.4}.family-row em{color:var(--muted);font-size:.78rem;font-style:normal;font-weight:750}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.dialog-actions .primary-action{min-width:140px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.attention-grid button,
.section-heading button {
    cursor: pointer;
}

.member-summary{display:flex;align-items:center;flex-wrap:wrap;gap:18px;max-width:100%}
.contribution-years{display:flex;gap:7px;color:var(--muted);font-size:.78rem;font-weight:850}
.contribution-years span{padding:5px 8px;background:#eef3f1}
.contribution-status{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:.78rem;white-space:nowrap}
.contribution-status i{width:12px;height:12px;border-radius:50%;background:#d63b48;display:inline-block}
.contribution-status.paid i{background:#22865e}
.contribution-status.partial i{background:#d49a14}
.contribution-status.pending i{background:#2e6385}
.contribution-status.waived i,.contribution-status.not_applicable i{background:#9aa7a2}
.member-table td>small{display:block;color:var(--muted);font-size:.71rem;margin-top:4px}
.member-table th span{display:block;color:var(--muted);font-size:.68rem;margin-top:2px;text-transform:none}
.member-table{min-width:1080px}
.organization-table{min-width:940px}
.organization-table td:nth-child(3) small{display:block;color:var(--muted);font-size:.73rem;margin-top:4px}
.contract-table{min-width:1080px}
.contract-table td small{display:block;color:var(--muted);font-size:.72rem;margin-top:4px}
.contract-filters{grid-template-columns:minmax(220px,1fr) minmax(150px,190px) minmax(160px,210px)}
.contract-summary{display:flex;flex-wrap:wrap;gap:1px;margin-top:22px;background:var(--line);border:1px solid var(--line)}
.contract-summary span{flex:1 1 170px;background:#f7f9f8;padding:14px 17px;color:var(--muted);font-size:.82rem}
.contract-summary strong{display:block;color:var(--ink);font-size:1.2rem;margin-bottom:2px}
.deadline-value{display:block;white-space:nowrap}
.deadline-value.attention{color:#8a5105;font-weight:850}
.status-badge.contract-active{background:#e1f2eb;color:#12634f}
.status-badge.contract-expiring{background:#fff0d8;color:#87550b}
.status-badge.contract-draft{background:#e4eef5;color:#2e6385}
.status-badge.contract-ended,.status-badge.contract-cancelled{background:#eee;color:#606967}
.contract-document-note{font-size:.8rem;font-weight:600;line-height:1.45}
.event-table{min-width:1120px}
.event-table td small{display:block;color:var(--muted);font-size:.72rem;margin-top:4px}
.event-table td:first-child span{max-width:310px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event-filters{grid-template-columns:minmax(220px,1fr) minmax(150px,190px) minmax(150px,190px)}
.event-links{display:flex;flex-wrap:wrap;gap:6px;min-width:230px}
.event-links a{display:inline-flex;align-items:center;min-height:32px;padding:0 9px;background:#e7efec;color:#29483f;font-size:.72rem;font-weight:850;text-decoration:none}
.event-links a:hover,.event-links a:focus-visible{background:#d6e6e0;color:#123d31}
.status-badge.event-planned{background:#e4eef5;color:#2e6385}
.status-badge.event-active{background:#e1f2eb;color:#12634f}
.status-badge.event-draft{background:#eee;color:#606967}
.status-badge.event-completed{background:#e7efec;color:#29483f}
.status-badge.event-cancelled{background:#f9e8e9;color:#9a313b}
.event-link-note{font-size:.8rem;font-weight:600;line-height:1.45}
.event-detail-dialog{width:min(1080px,calc(100% - 28px))}
.event-detail-shell{padding:26px}
.event-detail-overview{display:grid;grid-template-columns:1.3fr 1fr 1fr .65fr;gap:1px;margin-top:22px;background:var(--line);border:1px solid var(--line)}
.event-detail-overview>span{display:block;min-width:0;padding:15px 16px;background:#f7f9f8}
.event-detail-overview small,.event-detail-overview strong,.event-detail-overview em{display:block}
.event-detail-overview small{color:var(--muted);font-size:.7rem;font-weight:850;text-transform:uppercase}
.event-detail-overview strong{margin-top:5px;overflow-wrap:anywhere}
.event-detail-overview em{margin-top:3px;color:var(--muted);font-size:.72rem;font-style:normal}
.event-detail-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.event-detail-links a{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;background:#e7efec;color:#29483f;font-size:.76rem;font-weight:850;text-decoration:none}
.event-detail-links a:hover,.event-detail-links a:focus-visible{background:#d6e6e0;color:#123d31}
.event-detail-section{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.event-detail-section-head{display:flex;align-items:start;justify-content:space-between;gap:20px}
.event-detail-section h3{margin:3px 0 0;font-size:1.25rem}
.event-detail-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:16px;background:var(--line);border:1px solid var(--line)}
.event-detail-metrics span{padding:14px;background:#fff;color:var(--muted);font-size:.75rem;font-weight:750}
.event-detail-metrics strong{display:block;margin-bottom:3px;color:var(--ink);font-size:1.35rem}
.event-detail-empty{margin-top:16px;padding:16px;border-left:4px solid #b97815;background:#fff2dc;color:#694710;font-weight:700}
.event-ticket-breakdown{margin-top:18px}.event-ticket-breakdown h4{margin:0;font-size:1rem}
.event-detail-source{margin:12px 0 0;color:var(--muted);font-size:.72rem;line-height:1.45}
.event-detail-notes{white-space:pre-wrap;line-height:1.55}
.event-detail-actions{align-items:center}.event-detail-actions #eventDetailRefreshButton{margin-right:auto}
.event-finance-dialog{width:min(820px,calc(100% - 28px))}
.event-finance-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:16px;border:1px solid var(--line);background:var(--line)}
.event-finance-metrics span{padding:15px;background:#fff}.event-finance-metrics small,.event-finance-metrics strong{display:block}.event-finance-metrics small{color:var(--muted);font-size:.7rem;font-weight:800}.event-finance-metrics strong{margin-top:5px;font-size:1.12rem}.event-finance-metrics .negative{color:#a6313b}
.event-finance-meta{display:flex;flex-wrap:wrap;gap:20px;margin-top:15px}.event-finance-meta span{min-width:150px}.event-finance-meta small,.event-finance-meta strong{display:block}.event-finance-meta small{color:var(--muted);font-size:.68rem;font-weight:800}.event-finance-meta strong{margin-top:3px;font-size:.82rem}
.event-finance-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.event-finance-actions a{text-decoration:none}.event-finance-actions [disabled]{cursor:not-allowed;opacity:.58}
.finance-line-items-fieldset{margin:4px 0 0;padding:16px;border:1px solid var(--line)}.finance-line-items-fieldset legend{padding:0 6px;font-weight:800}.finance-line-items{display:grid;gap:8px;margin:12px 0}.finance-line-item{display:grid;grid-template-columns:140px minmax(180px,1fr) 150px 44px;gap:8px;align-items:center}.finance-line-item select,.finance-line-item input{min-width:0}.finance-line-item .icon-action{width:44px;height:44px}.finance-line-items-empty{margin:0;color:var(--muted);font-size:.78rem}.finance-line-items-fieldset>.secondary-action{margin-top:4px}.event-finance-dialog input[readonly]{background:#edf2f0;color:var(--green);font-weight:800}.finance-line-items-report th:nth-child(2),.finance-line-items-report td:nth-child(2){text-align:left}
.event-finance-breakdown{margin-top:18px;border:1px solid var(--line)}.event-finance-breakdown h4{margin:0;padding:13px 15px;background:#eef3f1;font-size:.92rem}.event-finance-breakdown>div{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 15px;border-top:1px solid var(--line)}.event-finance-breakdown>div strong{min-width:0;overflow-wrap:anywhere}.event-finance-breakdown>div>span:last-child{font-weight:800;text-align:right;white-space:nowrap}
.event-finance-actual-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:16px;border:1px solid var(--line);background:var(--line)}.event-finance-actual-summary>div{padding:13px;background:#f5f8f7}.event-finance-actual-summary small,.event-finance-actual-summary strong{display:block}.event-finance-actual-summary small{color:var(--muted);font-size:.68rem;font-weight:800}.event-finance-actual-summary strong{margin-top:4px;font-size:.9rem}
.event-finance-comparison-dialog{width:min(900px,calc(100% - 28px))}.comparison-lead{margin:0 0 18px;line-height:1.55}.finance-comparison-table{border:1px solid var(--line);overflow:hidden}.finance-comparison-head,.finance-comparison-table>div{display:grid;grid-template-columns:1.15fr repeat(3,1fr);gap:1px;background:var(--line)}.finance-comparison-table span,.finance-comparison-table strong{display:block;padding:13px;background:#fff}.finance-comparison-head span{background:#e9f0ed;color:var(--muted);font-size:.68rem;font-weight:850;text-transform:uppercase}.finance-comparison-table .negative{color:#a6313b}.finance-comparison-table .positive{color:#176e5a}.finance-comparison-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.finance-comparison-breakdown h3{margin:0 0 8px;font-size:.95rem}.finance-comparison-breakdown .event-finance-breakdown{margin-top:0}.comparison-reference{display:inline-block;margin:0 0 16px;text-decoration:none}
.event-finance-report-dialog{width:min(960px,calc(100% - 28px));padding:24px}.event-finance-report-sheet{padding:28px;border:1px solid var(--line);background:#fff;color:#17201d}.event-finance-report-head{padding-bottom:20px;border-bottom:3px solid var(--green)}.event-finance-report-head p{margin:0 0 18px;color:var(--green);font-size:.8rem;font-weight:850}.event-finance-report-head h1{margin:0;font-size:2rem}.event-finance-report-head h2{margin:8px 0 0;font-size:1.25rem;font-weight:700}.event-finance-report-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:24px 0;background:var(--line);border:1px solid var(--line)}.event-finance-report-meta div{padding:13px;background:#f7f9f8}.event-finance-report-meta dt{color:var(--muted);font-size:.68rem;font-weight:850;text-transform:uppercase}.event-finance-report-meta dd{margin:5px 0 0;font-weight:750}.event-finance-report-table{width:100%;border-collapse:collapse}.event-finance-report-table th,.event-finance-report-table td{padding:13px;border:1px solid var(--line);text-align:right}.event-finance-report-table th:first-child{text-align:left}.event-finance-report-table thead th{background:#e9f0ed;color:var(--muted);font-size:.7rem;text-transform:uppercase}.event-finance-report-table .positive{color:#176e5a}.event-finance-report-table .negative{color:#a6313b}.event-finance-report-sheet section{margin-top:24px}.event-finance-report-sheet section h3{margin:0 0 8px;font-size:1rem}.event-finance-report-sheet section p{margin:0;white-space:pre-wrap;line-height:1.55}.event-finance-report-sheet aside{margin-top:26px;padding:14px;border-left:4px solid #b97815;background:#fff2dc;font-size:.76rem;line-height:1.5}.event-finance-report-sheet footer{margin-top:24px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:.68rem}
.event-report-dialog{width:min(900px,calc(100% - 28px))}.event-report-dialog textarea{resize:vertical}.event-report-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 20px}.event-report-suggestions strong{flex-basis:100%;font-size:.78rem}.event-report-suggestions span{padding:7px 9px;background:#e7efec;color:#29483f;font-size:.72rem;font-weight:750}.event-report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:16px;border:1px solid var(--line);background:var(--line)}.event-report-metrics span{min-width:0;padding:14px;background:#f7f9f8}.event-report-metrics small,.event-report-metrics strong{display:block}.event-report-metrics small{color:var(--muted);font-size:.68rem;font-weight:800}.event-report-metrics strong{margin-top:4px;font-size:1rem;overflow-wrap:anywhere}.event-report-sources{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.event-report-sources span{padding:7px 9px;background:#eef3f1;color:#40564f;font-size:.7rem;font-weight:700}.event-report-ticket-table{margin-top:12px}.event-report-ticket-table th:nth-child(n+2),.event-report-ticket-table td:nth-child(n+2){text-align:right}.event-report-print-sheet section p{white-space:pre-wrap}
.field-help{margin:0 0 12px;color:var(--muted);font-size:.76rem;line-height:1.45}.finance-share-users{display:grid;grid-template-columns:1fr 1fr;gap:8px}.finance-share-users label{display:flex;align-items:center;gap:9px;padding:9px;background:#f5f8f7}.finance-share-users input{width:18px;min-height:18px}.finance-share-users span,.finance-share-users strong,.finance-share-users small{display:block;min-width:0}.finance-share-users small{color:var(--muted);font-size:.66rem;overflow-wrap:anywhere}
.grant-table{min-width:1180px}.grant-table td:first-child span,.grant-table td small{display:block;color:var(--muted);font-size:.73rem;line-height:1.45;margin-top:4px}.grant-table td:first-child span{max-width:330px}.grant-filters{grid-template-columns:minmax(250px,1.4fr) minmax(150px,190px) minmax(160px,200px)}.grant-overdue{background:#fff8ed}.grant-deadline{font-weight:800}.grant-deadline.soon{color:#87550b}.grant-deadline.urgent,.grant-deadline.overdue{color:#9a313b}.grant-document-link{display:inline-block;margin-top:6px;color:#176e5a;font-size:.72rem;font-weight:850}.status-badge.grant-idea,.status-badge.grant-planned{background:#e4eef5;color:#2e6385}.status-badge.grant-applied{background:#fff0d8;color:#87550b}.status-badge.grant-approved{background:#e1f2eb;color:#12634f}.status-badge.grant-rejected{background:#f9e8e9;color:#9a313b}.status-badge.grant-completed{background:#e7efec;color:#29483f}
.decision-table{min-width:1240px}.decision-table td:first-child span,.decision-table td small{display:block;color:var(--muted);font-size:.73rem;line-height:1.45;margin-top:4px}.decision-table td:nth-child(3){max-width:390px}.decision-text{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-height:1.5}.decision-filters{grid-template-columns:minmax(260px,1.45fr) minmax(150px,190px) minmax(170px,210px)}.decision-document-link{display:block;margin-top:6px;color:#176e5a;font-size:.72rem;font-weight:850}.status-badge.decision-valid{background:#e1f2eb;color:#12634f}.status-badge.decision-superseded{background:#fff0d8;color:#87550b}.status-badge.decision-revoked{background:#f9e8e9;color:#9a313b}
.timeline-empty{padding:22px;color:var(--muted);font-weight:700}
.history-filters{grid-template-columns:minmax(250px,1.4fr) repeat(2,minmax(150px,.65fr)) repeat(2,minmax(135px,.55fr)) minmax(150px,.65fr)}
.history-table{min-width:1160px}.history-table td{vertical-align:top}.history-table td:first-child{white-space:nowrap}.history-table td:nth-child(3){max-width:300px}.history-table td:nth-child(3) small{display:block;margin-top:5px;color:var(--muted);font-size:.68rem;overflow:hidden;text-overflow:ellipsis}.history-table td:nth-child(4){min-width:310px}.history-table td:nth-child(4) p{margin:8px 0 0;line-height:1.45}.history-type{font-weight:800;color:var(--green)}.history-unavailable{display:block;max-width:105px;color:var(--muted);font-size:.72rem;line-height:1.35}.status-badge.history-action-deleted{background:#f9e8e9;color:#9a313b}.status-badge.history-action-imported{background:#e4eef5;color:#2e6385}.status-badge.history-action-created,.status-badge.history-action-returned{background:#e1f2eb;color:#12634f}.status-badge.history-action-loaned{background:#fff0d8;color:#87550b}
.module-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}
.inventory-table{min-width:1180px}
.inventory-table td small,.inventory-table td:first-child span,.loan-table td:first-child span{display:block;color:var(--muted);font-size:.75rem;line-height:1.45;margin-top:3px}
.inventory-table td:nth-child(5) small{white-space:nowrap}
.inventory-filters{grid-template-columns:minmax(250px,1.3fr) repeat(3,minmax(150px,190px))}
.availability{color:#176f56;font-size:1.05rem}.availability.empty{color:#a7333d}
.status-badge.inventory-ready{background:#e1f2eb;color:#12634f}.status-badge.inventory-used{background:#e7efec;color:#29483f}.status-badge.inventory-damaged{background:#f9e8e9;color:#9a313b}.status-badge.inventory-incomplete,.status-badge.inventory-inspection{background:#fff0d8;color:#87550b}.status-badge.inventory-out_of_service{background:#eee;color:#606967}
.ownership-badge{display:inline-block;padding:5px 7px;font-size:.7rem;font-weight:800;background:#e7efec;color:#29483f}.ownership-badge.ownership-private{background:#fff0d8;color:#754b13}
.loan-section{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.loan-section h3{margin:0;font-size:1.25rem}.loan-table{min-width:980px}.loan-overdue{background:#fff8ed}.status-badge.loan-active{background:#e4eef5;color:#2e6385}.status-badge.loan-late{background:#f9e8e9;color:#9a313b}.status-badge.loan-returned{background:#e1f2eb;color:#12634f}
.table-action:disabled{opacity:.45;cursor:not-allowed}
.muted-cell{color:var(--muted)}
.role-badges{display:flex;flex-wrap:wrap;gap:5px}
.role-badge{display:inline-block;background:#e7efec;color:#29483f;padding:5px 7px;font-size:.72rem;font-weight:800}
.organization-dialog{width:min(900px,calc(100% - 28px))}
.role-fieldset{border:1px solid var(--line);padding:14px;margin:0}
.role-fieldset legend{font-weight:800;padding:0 7px}
.role-options{display:flex;flex-wrap:wrap;gap:14px 22px}
.role-options label{display:flex;align-items:center;gap:7px;font-weight:700}
.role-options input{width:18px;min-height:18px}
.contact-editor{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.contact-editor-head{display:flex;align-items:start;justify-content:space-between;gap:18px}
.contact-editor-head h3{margin:0;font-size:1.08rem}
.contact-editor-head p{margin:5px 0 0;color:var(--muted);font-size:.8rem}
.contact-list{display:grid;gap:12px;margin-top:15px}
.contact-row{display:flex;align-items:start;gap:10px;border:1px solid var(--line);background:#f7f9f8;padding:13px}
.contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;flex:1}
.contact-fields label{display:grid;gap:5px;color:var(--muted);font-size:.75rem;font-weight:800}
.contact-fields input{width:100%;min-height:40px;border:1px solid var(--line);background:#fff;padding:8px 10px;font:inherit;color:var(--ink)}
.contact-remove{flex:0 0 40px;width:40px;height:40px;border:0;background:#c6404b;color:#fff;font-size:1.35rem;cursor:pointer}
.task-table{min-width:1120px}.task-table td:first-child span,.task-table td small{display:block;color:var(--muted);font-size:.73rem;line-height:1.45;margin-top:4px}.task-table td:first-child span{max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-filters{grid-template-columns:minmax(230px,1.3fr) repeat(3,minmax(145px,190px))}.task-overdue{background:#fff8ed}.priority-badge{display:inline-block;padding:6px 9px;font-size:.75rem;font-weight:850;background:#eef1f0;color:#4f5d58}.priority-high{background:#fff0d8;color:#87550b}.priority-urgent{background:#f9e8e9;color:#9a313b}.priority-low{background:#e4eef5;color:#2e6385}.status-badge.task-open{background:#eef1f0;color:#4f5d58}.status-badge.task-in_progress{background:#e4eef5;color:#2e6385}.status-badge.task-done{background:#e1f2eb;color:#12634f}.dashboard-task-list{display:grid;margin-top:6px}.dashboard-task{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:62px;padding:12px 0;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;color:var(--ink);cursor:pointer}.dashboard-task:first-child{border-top:0}.dashboard-task span:nth-child(2){min-width:0}.dashboard-task strong,.dashboard-task small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-task small{margin-top:3px;color:var(--muted);font-size:.74rem}.dashboard-task em{color:var(--muted);font-style:normal;font-size:.76rem}.task-check{width:15px;height:15px;border:2px solid #719087;background:#fff}.task-check.overdue{border-color:#c6404b;background:#f9e8e9}
.document-filters{grid-template-columns:minmax(240px,1.4fr) repeat(3,minmax(150px,190px))}
.document-table{min-width:1050px}
.document-table td:first-child span,.document-table td small{display:block;color:var(--muted);font-size:.73rem;line-height:1.45;margin-top:4px}
.document-provider{display:inline-block;padding:5px 7px;background:#e7efec;color:#29483f;font-size:.72rem;font-weight:850}
.document-provider.provider-pretix{background:#eee5f3;color:#68417b}
.document-provider.provider-other{background:#eef1f0;color:#4f5d58}
.document-open-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.document-dialog-actions>span{flex:1}
.integration-security-note{line-height:1.5}
.integration-center-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:22px;border:1px solid var(--line);background:var(--line)}
.integration-service{display:flex;flex-direction:column;min-width:0;background:#fff;padding:20px}
.integration-service header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.integration-service header>div{display:flex;align-items:center;gap:12px;min-width:0}.integration-service h3{margin:0;font-size:1.05rem}.integration-service header p{margin:3px 0 0;color:var(--muted);font-size:.76rem}
.integration-service-mark{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;background:#e7efec;color:var(--green);font-weight:900}
.integration-state{padding:6px 8px;background:#eef1f0;color:#4f5d58;font-size:.7rem;font-weight:850;white-space:nowrap}.integration-state.state-ready{background:#e1f2eb;color:#12634f}.integration-state.state-legacy{background:#e4eef5;color:#285675}.integration-state.state-attention{background:#f8e5e7;color:#962f39}.integration-state.state-pending{background:#fff0d8;color:#87550b}
.integration-service-body{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:17px 0}.integration-service-body strong{font-size:.76rem;text-transform:uppercase;color:var(--muted)}.integration-service-body p{margin:6px 0 0;font-size:.84rem;line-height:1.5}
.integration-capabilities{display:flex;flex-wrap:wrap;gap:6px}.integration-capabilities span{padding:5px 7px;background:#f1f4f3;color:#344a44;font-size:.7rem;font-weight:750}
.integration-service footer{margin-top:auto;padding-top:17px}.integration-service footer>span{display:block;color:var(--muted);font-size:.7rem}.integration-service footer p{margin:6px 0 0;font-size:.8rem;line-height:1.45}
.integration-action{margin-top:14px}.pretix-read-panel{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.pretix-read-panel .section-heading{align-items:flex-start}.pretix-read-panel .section-heading h3{margin:3px 0 0;font-size:1.25rem}.pretix-read-panel .section-heading p:not(.eyebrow){margin:6px 0 0;color:var(--muted);font-size:.82rem}.pretix-table{min-width:1180px}.pretix-table .table-subline{display:block;margin-top:4px;color:var(--muted);font-size:.72rem}.pretix-table .table-link{color:var(--green);font-weight:750}.pretix-target{width:100%;min-width:240px;min-height:38px}.pretix-actions{display:flex;flex-wrap:wrap;gap:7px}.pretix-table .linked-note{color:#12634f;font-weight:800}.compact-action{min-height:36px;padding:8px 11px;font-size:.75rem}
.pretix-product-highlights{display:flex;flex-wrap:wrap;gap:6px;width:100%;margin-top:10px}.pretix-product-highlights span{display:flex;align-items:baseline;gap:5px;padding:6px 8px;background:#e1f2eb;color:#12634f;font-size:.68rem;font-weight:800}.pretix-product-highlights strong{font-size:.92rem}.pretix-product-list{display:grid;gap:1px;margin-top:10px;background:var(--line);border:1px solid var(--line)}.pretix-product-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:10px 12px;background:#fff;font-size:.74rem}.pretix-product-row>span{min-width:0}.pretix-product-row strong,.pretix-product-row em,.pretix-product-row small{display:block}.pretix-product-row strong{overflow-wrap:anywhere}.pretix-product-row em{margin-top:2px;color:var(--muted);font-size:.64rem;font-style:normal;font-weight:750}.pretix-product-row small{margin-top:3px;color:var(--muted);font-size:.65rem}.pretix-product-row>span:last-child{text-align:right;white-space:nowrap}.pretix-product-hint{margin:10px 0 0;color:var(--muted);font-size:.7rem;line-height:1.45}.pretix-product-details{width:100%;margin-top:7px}.pretix-product-details summary{color:#176e5a;font-size:.69rem;font-weight:850;cursor:pointer}.pretix-product-details .pretix-product-list{min-width:330px}.pretix-product-empty{display:block;width:100%;margin-top:6px;color:var(--muted);font-size:.68rem;line-height:1.4}
.event-integration-note{display:block;color:#12634f;font-size:.72rem;font-weight:800;overflow-wrap:anywhere}
.user-table{min-width:940px}.user-table td:first-child span{display:block;color:var(--muted);font-size:.76rem;margin-top:4px}.security-note{font-size:.82rem;font-weight:650;line-height:1.5}.user-summary span{flex-basis:210px}
.timeline-entry{display:grid;grid-template-columns:auto 16px minmax(0,1fr);gap:10px;padding:20px 18px 14px 0;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer;min-width:0}.timeline-entry:hover strong{color:var(--green)}.timeline-entry time{font-weight:900;color:var(--green);line-height:1.15}.timeline-entry>span{width:9px;height:9px;background:#f1c75b;border-radius:50%;margin-top:4px}.timeline-entry p{margin:0;min-width:0}.timeline-entry em{display:block;color:var(--muted);font-size:.68rem;font-style:normal;font-weight:800;text-transform:uppercase;margin-bottom:3px}.timeline-entry strong,.timeline-entry small{display:block}.timeline-entry small{color:var(--muted);margin-top:5px}.timeline>.timeline-empty{grid-column:1/-1}
.report-filters{grid-template-columns:minmax(220px,1fr) minmax(150px,190px) minmax(180px,220px) auto;align-items:end}
.report-privacy-note{margin-top:18px;padding:13px 15px;border-left:4px solid #b97815;background:#fff2dc;color:#694710;font-size:.82rem;font-weight:700;line-height:1.5}
.report-sheet{margin-top:24px;border:1px solid var(--line);background:#fff;padding:24px}
.report-sheet-head{display:flex;align-items:start;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.report-sheet-head h3{margin:3px 0 0;font-size:1.55rem}.report-sheet-head p:not(.eyebrow){margin:7px 0 0;color:var(--muted)}.report-sheet-head time{color:var(--muted);font-size:.78rem;font-weight:700;white-space:nowrap}
.report-summary{display:flex;flex-wrap:wrap;gap:1px;margin:18px 0;background:var(--line);border:1px solid var(--line)}
.report-summary span{flex:1 1 150px;background:#f7f9f8;padding:12px 15px;color:var(--muted);font-size:.78rem}.report-summary strong{display:block;margin-bottom:2px;color:var(--ink);font-size:1.08rem}
.report-table{min-width:1050px}.report-table td{vertical-align:top;white-space:normal}.report-table th{white-space:nowrap}
.event-appointment-dialog{width:min(820px,calc(100vw - 28px))}.event-appointment-list{display:grid;border:1px solid var(--line)}.event-appointment-row{display:grid;grid-template-columns:minmax(150px,210px) minmax(220px,1fr) auto;gap:20px;align-items:center;padding:18px;border-bottom:1px solid var(--line)}.event-appointment-row:last-child{border-bottom:0}.event-appointment-date strong,.event-appointment-date small{display:block}.event-appointment-date small,.event-appointment-row>div:nth-child(2)>small{margin-top:5px;color:var(--muted)}.event-appointment-row h4{margin:8px 0 3px;font-size:1rem}.event-appointment-row p{margin:0;color:var(--muted)}.event-appointment-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.event-appointment-actions .secondary-action{white-space:nowrap}
.donation-protocol-list{white-space:pre-line}.donation-protocol-declaration{margin-top:24px;padding:18px;border:1px solid var(--line);background:#f7f9f8}.donation-protocol-declaration h2{margin-top:0}.donation-protocol-signatures{display:grid;grid-template-columns:1fr 1fr;gap:42px;margin-top:70px}.donation-protocol-signatures span{display:block;border-top:1px solid var(--ink);margin-bottom:9px}.donation-protocol-signatures strong,.donation-protocol-signatures small{display:block}.donation-protocol-signatures small{margin-top:4px;color:var(--muted)}.donation-protocol-footer{margin-top:42px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem}.finance-journal-table{min-width:1180px}.finance-journal-table td{vertical-align:top}

@media (max-width: 720px) {
    .module-head {
        display: block;
    }

    .module-head .primary-action {
        margin-top: 16px;
        width: 100%;
    }

    .module-actions{display:grid;width:100%;margin-top:16px}.module-actions button{width:100%}

    .module-view {
        padding: 18px;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .document-filters{grid-template-columns:1fr}
    .document-dialog-actions>span{display:none}
    .integration-center-list{grid-template-columns:1fr}.integration-service header{align-items:flex-start}.integration-service-body{grid-template-columns:1fr}.pretix-read-panel .section-heading{display:block}.pretix-read-panel .section-heading button{width:100%;margin-top:14px}
    .pretix-product-details .pretix-product-list{min-width:0}.pretix-product-row{grid-template-columns:minmax(0,1fr)}.pretix-product-row>span:last-child{text-align:left;white-space:normal}

    .member-toolbar{align-items:stretch;flex-direction:column}.member-filters,.history-filters,.report-filters{grid-template-columns:1fr}.member-summary{display:grid;grid-template-columns:1fr auto;gap:10px}.member-summary .secondary-action{grid-column:1/-1}.form-grid{grid-template-columns:1fr}.form-wide{grid-column:auto}.dialog-actions{flex-direction:column-reverse}.dialog-actions button{width:100%}.danger-action{margin-right:0}.entity-dialog form{padding:20px}.table-actions{flex-direction:column;align-items:stretch}.icon-action,.table-action{width:100%}.role-fieldset{grid-column:auto}.role-options{display:grid;grid-template-columns:1fr 1fr}.contact-editor-head{display:block}.contact-editor-head .secondary-action{width:100%;margin-top:13px}.contact-fields{grid-template-columns:1fr}.contact-row{align-items:end}.contact-remove{position:sticky;top:0}.dashboard-task{grid-template-columns:auto minmax(0,1fr)}.dashboard-task em{grid-column:2}.member-vehicles-head{align-items:stretch;flex-direction:column}.member-vehicles-head .secondary-action{width:100%}.vehicle-row,.family-row{grid-template-columns:1fr}.vehicle-row em,.family-row em{justify-self:start}.family-picker{grid-template-columns:1fr}.family-picker-actions{display:grid}.family-manager-head{align-items:stretch;flex-direction:column}.family-manager-head .primary-action{width:100%}.report-sheet{padding:16px}.report-sheet-head{display:block}.report-sheet-head time{display:block;margin-top:10px}
    .event-detail-shell{padding:20px}.event-detail-overview,.event-detail-metrics,.event-finance-metrics,.event-finance-actual-summary,.event-report-metrics{grid-template-columns:1fr 1fr}.event-detail-section-head{align-items:flex-start}.event-detail-actions #eventDetailRefreshButton{margin-right:0}.finance-share-users{grid-template-columns:1fr}.finance-line-item{grid-template-columns:120px minmax(150px,1fr) 130px 44px}.finance-comparison-details{grid-template-columns:1fr}.event-finance-report-dialog{padding:18px}.event-finance-report-sheet{padding:18px}
    .event-appointment-row{grid-template-columns:1fr}.event-appointment-actions{justify-content:flex-start}.event-appointment-actions .secondary-action{width:100%}
}

@media (max-width: 440px) {
    .event-detail-overview,.event-detail-metrics,.event-finance-metrics,.event-finance-actual-summary,.event-report-metrics{grid-template-columns:1fr}.finance-line-item{grid-template-columns:1fr 44px}.finance-line-item [data-finance-item-type],.finance-line-item [data-finance-item-label],.finance-line-item [data-finance-item-amount]{grid-column:1}.finance-line-item [data-remove-finance-item]{grid-column:2;grid-row:1/4}.event-finance-breakdown>div{grid-template-columns:auto minmax(0,1fr)}.event-finance-breakdown>div>span:last-child{grid-column:2}.finance-comparison-table{overflow-x:auto}.finance-comparison-head,.finance-comparison-table>div{min-width:620px}.event-finance-report-meta{grid-template-columns:1fr}.event-finance-report-sheet{padding:14px}.event-finance-report-head h1{font-size:1.5rem}.event-finance-report-table th,.event-finance-report-table td{padding:8px;font-size:.76rem}
}

@media print {
    @page{size:landscape;margin:12mm}
    body.report-printing{background:#fff}
    body.report-printing .sidebar,body.report-printing .topbar,body.report-printing .app-view:not([data-view-panel="reports"]),body.report-printing .report-view>.module-head,body.report-printing .report-toolbar,body.report-printing .report-privacy-note,body.report-printing .inline-feedback{display:none!important}
    body.report-printing main{display:block!important;margin:0!important;padding:0!important;width:auto!important}
    body.report-printing .report-view{display:block!important;padding:0!important}
    body.report-printing .report-sheet{margin:0;border:0;padding:0}
    body.report-printing .report-table-wrap{overflow:visible;border:0}
    body.report-printing .report-table{min-width:0;width:100%;font-size:8.5pt}
    body.report-printing .report-table th,body.report-printing .report-table td{padding:6px;border-color:#bbb}
    body.report-printing .report-summary span{break-inside:avoid;background:#f3f3f3}
    body.event-finance-report-printing{background:#fff}
    body.event-finance-report-printing>*:not(#eventFinanceReportDialog){display:none!important}
    body.event-finance-report-printing #eventFinanceReportDialog{display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}
    body.event-finance-report-printing #eventFinanceReportDialog::backdrop,body.event-finance-report-printing .event-finance-report-controls{display:none!important}
    body.event-finance-report-printing .event-finance-report-sheet{padding:0;border:0}
    body.event-finance-report-printing .event-finance-report-head h1{font-size:22pt}
    body.event-finance-report-printing .event-finance-report-meta,body.event-finance-report-printing .event-finance-report-table,body.event-finance-report-printing .event-finance-report-sheet section,body.event-finance-report-printing .event-finance-report-sheet aside{break-inside:avoid}
    body.finance-year-report-printing{background:#fff}
    body.finance-year-report-printing>*:not(#financeYearReportDialog){display:none!important}
    body.finance-year-report-printing #financeYearReportDialog{display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}
    body.finance-year-report-printing #financeYearReportDialog::backdrop,body.finance-year-report-printing .finance-year-report-controls{display:none!important}
    body.finance-year-report-printing .event-finance-report-sheet{padding:0;border:0}
    body.finance-year-report-printing .event-finance-report-meta,body.finance-year-report-printing .event-finance-report-table,body.finance-year-report-printing .event-finance-report-sheet section,body.finance-year-report-printing .event-finance-report-sheet aside{break-inside:avoid}
    body.finance-year-report-printing .finance-journal-table{min-width:0;font-size:7pt}
    body.finance-year-report-printing .finance-journal-table th,body.finance-year-report-printing .finance-journal-table td{padding:4px;word-break:break-word}
    body.finance-year-report-printing .event-finance-report-sheet section:has(.finance-journal-table){break-inside:auto}
    body.finance-statement-printing{background:#fff}
    body.finance-statement-printing>*:not(#financeStatementDialog){display:none!important}
    body.finance-statement-printing #financeStatementDialog{display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}
    body.finance-statement-printing #financeStatementDialog::backdrop,body.finance-statement-printing #financeStatementDialog>.dialog-head,body.finance-statement-printing #financeStatementDialog>.dialog-actions{display:none!important}
    body.finance-statement-printing #financeStatementContent{padding:0;border:0}
    body.finance-statement-printing #financeStatementContent table{min-width:0;font-size:8pt}
    body.finance-statement-printing #financeStatementContent th,body.finance-statement-printing #financeStatementContent td{padding:4px;word-break:break-word}
    body.finance-statement-printing #financeStatementContent section{break-inside:auto}
    body.event-report-printing{background:#fff}
    body.event-report-printing>*:not(#eventReportPrintDialog){display:none!important}
    body.event-report-printing #eventReportPrintDialog{display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}
    body.event-report-printing #eventReportPrintDialog::backdrop,body.event-report-printing .event-report-print-controls{display:none!important}
    body.event-report-printing .event-report-print-sheet{padding:0;border:0}
    body.event-report-printing .event-finance-report-meta,body.event-report-printing .event-finance-report-table,body.event-report-printing .event-report-print-sheet section,body.event-report-printing .event-report-print-sheet aside{break-inside:avoid}
    body.donation-protocol-printing{background:#fff}
    body.donation-protocol-printing>*:not(#donationProtocolDialog){display:none!important}
    body.donation-protocol-printing #donationProtocolDialog{display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}
    body.donation-protocol-printing #donationProtocolDialog::backdrop,body.donation-protocol-printing .donation-print-controls{display:none!important}
    body.donation-protocol-printing .event-finance-report-sheet{padding:0;border:0}
    body.donation-protocol-printing .event-finance-report-meta,body.donation-protocol-printing .donation-protocol-declaration,body.donation-protocol-printing .donation-protocol-signatures{break-inside:avoid}
    body.raffle-protocol-printing{background:#fff}
    body.raffle-protocol-printing>*:not(#raffleProtocolDialog){display:none!important}
    body.raffle-protocol-printing #raffleProtocolDialog{display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}
    body.raffle-protocol-printing #raffleProtocolDialog::backdrop,body.raffle-protocol-printing .raffle-print-controls{display:none!important}
    body.raffle-protocol-printing .event-finance-report-sheet{padding:0;border:0}
    body.raffle-protocol-printing .event-finance-report-table,body.raffle-protocol-printing .donation-protocol-signatures{break-inside:avoid}
    body.self-receipt-printing{background:#fff}
    body.self-receipt-printing>*:not(#selfReceiptPrintDialog){display:none!important}
    body.self-receipt-printing #selfReceiptPrintDialog{display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}
    body.self-receipt-printing #selfReceiptPrintDialog::backdrop,body.self-receipt-printing .self-receipt-print-controls{display:none!important}
    body.self-receipt-printing .event-finance-report-sheet{padding:0;border:0}
    body.self-receipt-printing .event-finance-report-meta,body.self-receipt-printing .donation-protocol-declaration,body.self-receipt-printing .donation-protocol-signatures{break-inside:avoid}
}

@media (min-width: 721px) and (max-width: 1120px) {
    .module-head .primary-action {
        flex-basis: 100%;
        width: 100%;
    }

    .member-filters {
        grid-template-columns: 1fr;
    }
}

@media print {
    body.cash-report-printing{background:#fff}
    body.cash-report-printing>*:not(#cashReportDialog){display:none!important}
    body.cash-report-printing #cashReportDialog{display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}
    body.cash-report-printing #cashReportDialog::backdrop,body.cash-report-printing .cash-report-controls{display:none!important}
    body.cash-report-printing .event-finance-report-sheet{padding:0;border:0}
    body.cash-report-printing .event-finance-report-table,body.cash-report-printing .event-finance-report-sheet section,body.cash-report-printing .event-finance-report-sheet aside{break-inside:avoid}
}
.readiness-item{border:1px solid var(--border,#d7e1de);border-left:5px solid var(--success,#187565);padding:16px;margin:14px 0;background:#fff}.readiness-item.warning{border-left-color:#d49a24;background:#fffaf0}.readiness-item.error{border-left-color:#c83f4d;background:#fff7f8}.readiness-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.readiness-item-head h3{margin:.2rem 0 .7rem}.readiness-item-head small{text-transform:uppercase;font-weight:700;color:#687772}.readiness-item-head>strong{white-space:nowrap}
