/* Opaque surfaces keep all account data readable over the club background. */
.section-page-header.ua-page-header {
    background: #fff;
    color: #17395d;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    max-width: 1400px;
}
.ua-page-header h1 { color: #17395d; margin: 0; font-size: 1.8rem; }
.ua-page {
    box-sizing: border-box;
    padding: 28px;
    max-width: 1400px;
    min-width: 0;
    background: #fff;
    color: #24364b;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(10, 35, 65, 0.12);
    line-height: 1.5;
    color-scheme: light;
}
.ua-page h2, .ua-page h3, .ua-page h4 { color: #17395d; }
.ua-page h2 { margin-top: 0; }
.ua-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.ua-field { display: flex; flex-direction: column; min-width: 0; gap: 6px; margin: 12px 0; font-weight: 500; color: #24364b; }
.ua-field > input {
    box-sizing: border-box; padding: 10px 12px; border: 1px solid #a9b9cb;
    border-radius: 6px; width: 100%; background: #fff; color: #24364b;
}
.ua-page input[type="checkbox"] { accent-color: #123e67; margin-right: 6px; }
.ua-table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid #dce4ee; border-radius: 8px; background: #fff; }
.ua-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.9rem; background: #fff; color: #24364b; }
.ua-table-wrap .ua-table { margin: 0; }
.ua-table th, .ua-table td { text-align: left; padding: 12px; border-bottom: 1px solid #e0e6ef; vertical-align: top; }
.ua-table th { background: #edf2f8; color: #17395d; font-weight: 600; white-space: nowrap; }
.ua-table tbody tr:nth-child(even) { background: #f7f9fc; }
.ua-table tbody tr:hover { background: #eef4fb; }
.ua-summary, .ua-profile { background: #f3f6fa; color: #24364b; border: 1px solid #dce4ee; padding: 16px; border-radius: 8px; margin: 16px 0; overflow-wrap: anywhere; }
.ua-checks { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 18px 0; }
.ua-checks label { display: inline-flex; align-items: center; margin: 0; }
.ua-page details { margin: 24px 0; padding: 18px; background: #f7f9fc; color: #24364b; border: 1px solid #c7d3e1; border-radius: 8px; }
.ua-page summary { cursor: pointer; font-weight: 600; color: #17395d; }
.ua-page details[open] > summary { margin-bottom: 16px; }
.ua-page .home-search-btn, .ua-page .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 42px; padding: 10px 18px; margin-top: 12px;
    border: 1px solid #123e67; border-radius: 6px;
    font: inherit; font-weight: 600; cursor: pointer;
}
.ua-page .home-search-btn { background: #123e67; color: #fff; }
.ua-page .home-search-btn:hover { background: #0b2d4d; }
.ua-page .btn-secondary { background: #fff; color: #123e67; }
.ua-page .btn-secondary:hover { background: #edf2f8; }
.ua-page :is(input, button, summary):focus-visible { outline: 3px solid #4384bf; outline-offset: 3px; }
.ua-page [role="status"] { margin: 12px 0; font-weight: 500; overflow-wrap: anywhere; }
#ua-history { overflow-x: auto; }
@media (max-width: 640px) {
    .section-page-header.ua-page-header, .ua-page { padding: 18px 14px; }
    .ua-grid { gap: 4px; }
    .ua-checks { flex-direction: column; }
    .ua-page details { padding: 14px; }
}
