.member-actions{display:flex;gap:8px;align-items:center}.member-actions button{white-space:nowrap}.selected-header #add-project{margin-left:auto}.selected-header #generate{margin-left:0}.membership-dialog{width:min(580px,calc(100vw - 32px));max-height:90vh;overflow:auto}.auth-tabs{display:flex;gap:10px;margin:18px 0}.auth-tabs button[aria-pressed=true]{background:#21568E;color:#fff}.membership-fields{border:0;margin:0;padding:0}.membership-fields label,.membership-dialog form>label{display:block;margin-top:12px}.membership-fields .terms{display:flex;gap:10px;align-items:flex-start;margin:16px 0;font-size:13px}.membership-fields .terms input{width:auto;margin-top:3px}.membership-dialog .primary.full{margin-top:18px}.project-dialog{width:min(1080px,calc(100vw - 32px));max-height:90vh;overflow:auto}.project-fields{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:20px 0}.project-fields label{display:block}.project-dialog table{min-width:700px;width:100%}.project-dialog td{vertical-align:top}.project-dialog td small{display:block;max-width:250px}.project-dialog td input[data-quantity]{min-width:70px;width:75px}.project-dialog td input[data-label]{max-width:230px;margin-top:8px}.project-dialog textarea{width:100%;min-height:75px;resize:vertical;font:inherit;padding:12px;border:1px solid #dfe5ef;border-radius:6px}.project-dialog .report-buttons{flex-wrap:wrap}.project-dialog [role=status],.membership-dialog [role=status]{white-space:pre-wrap;min-height:24px}.member-actions .member-logout{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:760px){header{flex-wrap:wrap;height:auto;gap:10px;padding:12px}.header-right{margin-left:auto}.member-actions{flex-wrap:wrap;width:100%}.selected-header{flex-wrap:wrap}.selected-header #add-project{margin-left:0}.project-fields{grid-template-columns:1fr}.project-dialog .report-buttons button{width:100%}}
.phone-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px}.phone-fields>div{min-width:0}.phone-fields select{width:100%;text-overflow:ellipsis}.membership-dialog .required-note{margin-bottom:8px}.membership-dialog #member-phone-hint{margin:8px 0 0}@media(max-width:480px){.phone-fields{grid-template-columns:1fr;gap:0}}
.membership-dialog form>label.remember-choice{display:flex;align-items:flex-start;gap:10px;margin-top:16px;font-size:14px}.remember-choice input{width:auto;margin-top:3px;flex-shrink:0}
.project-workspace{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:20px}.project-workspace h2{margin:0;font-size:20px}.project-workspace p{margin:8px 0 0}.workspace-actions{display:flex;gap:10px;flex-shrink:0}.project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:20px 0 10px}.saved-project-list{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.saved-project-list button{display:flex;flex-direction:column;text-align:left;gap:5px}.saved-project-list button[aria-pressed=true]{border-color:#21568E;background:#eef3fb}.saved-project-list small{font-size:12px;color:#526886}.results-table .result-actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:nowrap}.results-table .selection-column .fan-add{display:inline-block;min-width:106px;margin:0;padding:8px 10px;font-size:13px;line-height:18px}.results-table .selection-column{min-width:140px;width:140px}.results-table .pdf-column{width:90px;min-width:90px}.results-table .pdf-column .fan-pdf{min-width:64px;padding:8px 12px;font-size:13px;line-height:18px}.results-table th.selection-indicator,.results-table td.selection-indicator{width:64px;min-width:64px;text-align:center;vertical-align:middle}.results-table .selection-indicator .select-fan{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;margin:0;padding:0;background:#fff;color:#16803c;border:1px solid #cbd5e4;font-size:24px;line-height:1}.results-table tr.selected .selection-indicator .select-fan{background:#fff;color:#16803c;border-color:#16803c}.project-dialog[data-mode=setup]{width:min(640px,calc(100vw - 32px))}.project-dialog[data-mode=setup] .project-fields{grid-template-columns:1fr}.project-dialog[data-mode=setup] #project-start-actions{justify-content:flex-end}.project-dialog[data-mode=setup] #begin-product-selection{flex:0 1 auto;min-width:220px}@media(max-width:760px){.project-workspace{align-items:stretch;flex-direction:column}.workspace-actions{flex-wrap:wrap}.workspace-actions button{flex:1}.project-dialog .report-buttons{gap:10px}}
.project-workspace{gap:16px;padding:16px}
.project-workspace h2{font-size:18px;line-height:1.4}
.project-workspace p{margin-top:6px;font-size:14px;line-height:1.5}
.project-workspace #active-project-label{font-size:12px}
.project-workspace .workspace-actions{gap:8px}
.project-workspace .workspace-actions button{min-height:36px;padding:7px 12px;font-size:13px;line-height:1.5}

/* Keep the software stationary while account or password recovery is open. */
html{scrollbar-gutter:stable}
html:has(#member-dialog[open],#password-dialog[open]),
body:has(#member-dialog[open],#password-dialog[open]){overflow:hidden;overscroll-behavior:none}
#member-dialog,#password-dialog{overscroll-behavior:contain}

/* Soften the software behind account dialogs while keeping the form sharp. */
.membership-dialog::backdrop{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
