body { min-height: 100vh; display: flex; flex-direction: column; }
.modal-header { background: var(--koc-brand-primary); color: var(--koc-surface); }
.modal-header .modal-title { color: inherit; }
.modal-header .btn-close { filter: brightness(0) invert(1); opacity: 1; }
.modal-header .btn-close:focus-visible { outline-color: var(--koc-surface); }
img.avatar { object-fit: cover; object-position: center; }
[hidden] { display: none !important; }
.section-title, .form-section h2, .aside-info h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.form-section { padding-block: 1.5rem; border-top: 1px solid var(--koc-border-subtle); }
.form-section:first-of-type { padding-top: 0; border-top: 0; }
.measure { max-width: 72ch; }
.rule-list > div { display: flex; gap: 1.5rem; padding-block: 1rem; border-bottom: 1px solid var(--koc-border-subtle); }
.rule-list dt { min-width: 10rem; font-size: .875rem; }
.rule-list dd { margin: 0; }
.aside-info { border-top: 3px solid var(--koc-brand-primary); padding-block: 1.5rem; }
.photo-preview { object-fit: cover; margin-block: 1rem; border: 1px solid var(--koc-border-subtle); }
.qr-image { align-self: center; max-width: 100%; height: auto; }
.qr-scanner-video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--koc-navigation-dark); border-radius: var(--koc-radius-sm); }
.reception-lookup-actions .btn { min-height: 3.5rem; }
.reception-validity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); background: var(--koc-surface); }
.reception-validity > div { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem; }
.reception-validity > div + div { border-inline-start: 1px solid var(--koc-border-subtle); }
.reception-validity span { font-size: .8125rem; color: var(--koc-text-muted); }
.reception-validity strong { font-size: 1.125rem; color: var(--koc-text-strong); }
.access-area-list { padding-inline-start: 1.25rem; }
.access-area-list li + li { margin-top: .25rem; }
.table th { font-size: .875rem; white-space: nowrap; }
.table td { font-size: .875rem; min-width: 6rem; }
.table-responsive { max-width: 100%; }
.settings-tabs .nav-link { color: var(--koc-brand-primary); min-height: 44px; font-weight: 700; }
.settings-tabs .nav-link.active { color: var(--koc-text-strong); background: var(--koc-surface); border-color: var(--koc-border-subtle) var(--koc-border-subtle) var(--koc-surface); }
[data-member-admin-form] .form-control, [data-member-admin-form] .form-select { min-height: 3.5rem; }
[data-member-admin-form] input[type="file"] { min-width: 0; width: 100%; }
.member-admin-form .form-label { font-weight: 700; }
.member-admin-form .member-admin-photo-preview:not(:has([data-photo-preview]:not([hidden]))) { display: none !important; }
.member-admin-form [data-photo-error]:empty { display: none; }
.member-admin-modal .member-admin-form { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; max-height: 100%; padding: 0; }
.member-admin-modal .member-admin-form .modal-body { min-height: 0; overflow-y: auto; }
.member-admin-modal .member-admin-form .modal-header { border-bottom: 1px solid var(--koc-border-subtle); }
.member-admin-modal .member-admin-form .modal-footer { border-top: 1px solid var(--koc-border-subtle); }
.member-admin-modal .member-admin-form [data-member-admin-error]:empty,
[data-member-admin-result]:empty,
[data-admin-user-result]:empty { display: none; }
.member-identity-cell { display: grid; min-width: 20rem; gap: .75rem; white-space: normal; }
.member-identity-main { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.member-identity-details { display: grid; justify-items: start; gap: .35rem; min-width: 0; }
.member-identity-name { font-weight: 700; color: var(--koc-text-strong); overflow-wrap: anywhere; }
.status-inactive { color: var(--koc-text-muted); background: var(--koc-surface-page); }
.report-stat { height: 100%; padding: 1.25rem; border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); background: var(--koc-surface); }
.report-stat dt, .report-stat h3 { margin: 0 0 .75rem; color: var(--koc-text-muted); font-size: .875rem; font-weight: 600; }
.report-stat dd, .report-stat-count { margin: 0; color: var(--koc-text-strong); font-size: 2rem; font-weight: 700; line-height: 1.2; }
.report-stat-count span { margin-inline-start: .5rem; color: var(--koc-text-muted); font-size: .875rem; font-weight: 400; }
.report-request-pending { --request-stat-color: #766016; background: #fcf8e9; border-color: #e9dfba; }
.report-request-approved { --request-stat-color: #176140; background: #edf7f1; border-color: #cce5d6; }
.report-request-rejected { --request-stat-color: var(--koc-status-danger); background: #fdf0f0; border-color: #efcdd0; }
.report-request-stats .report-stat dt { display: flex; align-items: center; gap: .625rem; }
.report-request-stats .report-stat dt, .report-request-stats .report-stat dd { color: var(--request-stat-color); }
.report-request-stats .report-stat dt i { font-size: 1.25rem; }
.member-dependents-toggle { justify-self: start; }
.member-dependent-list { display: grid; gap: 1rem; width: 100%; }
.member-dependent-item { display: flex; align-items: center; gap: 1.5rem; border-block-end: 1px solid var(--koc-border-subtle); padding-block-end: 1rem; }
.member-dependent-item:last-child { border-block-end: 0; padding-block-end: 0; }
.member-dependent-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .5rem .75rem; width: 100%; margin: 0; }
.member-dependent-details > div { min-width: 0; }
.member-dependent-details dt { color: var(--koc-text-muted); font-size: .75rem; font-weight: 600; }
.member-dependent-details dd { margin: 0; overflow-wrap: anywhere; }
.portal-table-region .table-koc[data-member-admin-table] > :is(thead, tbody) > tr > :first-child { width: 23rem; min-width: 23rem; max-width: none; white-space: normal; }
.portal-table-region .table-koc[data-member-admin-table] > tbody > .member-dependents-row > td { position: static; width: auto; min-width: 0; max-width: none; border-inline-end: 0; background: var(--koc-surface-subtle); font-weight: 400; }
.portal-table-region [data-admin-user-table] > tbody > tr > :nth-child(2) { white-space: nowrap; }
@media (max-width: 575.98px) {
    .member-admin-modal .modal-dialog { margin: .5rem; }
    .member-admin-modal .modal-footer .btn { flex: 1 1 auto; }
}
.visit-chart-row { display: grid; grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr) 2rem; align-items: center; gap: 1rem; margin-block: 1rem; font-size: .875rem; }
.visit-chart-row svg { width: 100%; height: 24px; background: var(--koc-surface-selected); }
.visit-chart-row rect { fill: var(--koc-brand-primary); }
[data-center-admin] .center-list { display: flex; flex-direction: column; gap: .75rem; }
[data-center-admin] .center-list > div { flex-wrap: wrap; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); background: var(--koc-surface); transition: border-color 160ms cubic-bezier(0.16, 1, 0.3, 1); }
[data-center-admin] .center-list > div:hover { border-color: var(--koc-brand-primary); }
[data-center-admin] .center-list strong { overflow-wrap: anywhere; min-width: 0; font-size: .9375rem; }
.center-list-hours { font-size: .8125rem; color: var(--koc-text-muted); white-space: nowrap; }
.icon-picker-trigger { display: inline-flex; align-items: center; gap: .5rem; justify-content: flex-start; text-align: start; }
.icon-picker-trigger::after { margin-inline-start: auto; }
.icon-picker-menu { width: 17.5rem; }
.icon-picker-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; max-height: 13rem; overflow-y: auto; }
.icon-picker-option { display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; border: 1px solid var(--koc-border-subtle); background: var(--koc-surface); color: var(--koc-text-strong); border-radius: var(--koc-radius-sm); }
.icon-picker-option:hover,
.icon-picker-option:focus-visible { border-color: var(--koc-brand-primary); color: var(--koc-brand-primary); background: var(--koc-surface-selected); }
.icon-picker-option.active { border-color: var(--koc-brand-primary); background: var(--koc-brand-primary); color: var(--koc-surface); }
.center-identity { display: grid; justify-items: start; gap: .4rem; }
.center-list .center-access-female { color: oklch(43% .14 350); background: oklch(95% .025 350); }
.center-list .center-access-male { color: var(--koc-brand-primary-dark); background: var(--koc-surface-selected); }
.pool-access-options { margin: 0; border: 0; padding: 0; }
.pool-access-options legend { float: none; width: auto; margin: 0 0 .25rem; font-size: .75rem; }
[data-center-admin-form] .pool-access-options legend { font-size: .875rem; margin-block-end: .5rem; }
[data-center-admin-form] .pool-access-options .form-check { min-height: 2.75rem; display: flex; align-items: center; gap: .5rem; }
[data-center-admin-form] .pool-access-options .form-check-input { margin-block-start: 0; }
@media (min-width: 768px) { [data-center-admin-form] .center-time-field { width: 10rem; } }
@media (max-width: 575.98px) { .visit-chart-row { grid-template-columns: minmax(6rem, 8rem) minmax(0, 1fr) 1.5rem; gap: .5rem; } }
.datatable-input, .datatable-selector { border: 1px solid var(--koc-border-strong); border-radius: var(--koc-radius-sm); padding: .5rem; color: var(--koc-text-body); background: var(--koc-surface); }
.datatable-wrapper .datatable-pagination a, .datatable-wrapper .datatable-pagination button { min-width: 44px; min-height: 44px; }
.portal-table-region { position: relative; border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); background: var(--koc-surface); scrollbar-color: var(--koc-border-strong) var(--koc-surface-subtle); scrollbar-width: thin; }
.portal-table-region:has(.datatable-wrapper) { overflow: visible; }
.portal-table-region .table-koc { margin: 0; border: 0; border-radius: 0; overflow: visible; --bs-table-bg: var(--koc-surface); --bs-table-color: var(--koc-text-body); --bs-table-border-color: var(--koc-border-subtle); }
.portal-table-region .table-koc > :not(caption) > tr > * { padding: 1rem 1.125rem; vertical-align: middle; text-align: start; box-shadow: none; }
.portal-table-region .table-koc > thead > tr > th { background: var(--koc-surface-subtle); color: var(--koc-text-muted); border-bottom: 1px solid var(--koc-border-subtle); font-size: .8125rem; font-weight: 700; }
.portal-table-region .table-koc > tbody > tr > td { font-size: .875rem; line-height: 1.5; min-width: 8rem; }
.portal-table-region .table-koc > tbody > tr:last-child > td { border-bottom: 0; }
.portal-table-region .table-koc > tbody > tr:hover > td, .portal-table-region .table-koc > tbody > tr:focus-within > td { background: var(--koc-surface-selected); }
.portal-table-region .table-koc > :not(caption) > tr > :first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--koc-surface); border-inline-end: 1px solid var(--koc-border-subtle); min-width: 9.5rem; max-width: 11rem; overflow-wrap: anywhere; font-weight: 700; color: var(--koc-text-strong); }
.portal-table-region .table-koc > thead > tr > :first-child { z-index: 2; background: var(--koc-surface-subtle); }
.portal-table-region .table-koc [data-audit-heading], .portal-table-region .table-koc td[data-audit-cell] { width: 4.5rem; min-width: 4.5rem; text-align: center; padding-inline: .5rem; }
.portal-table-region .audit-info-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: var(--koc-text-muted); border: 1px solid transparent; border-radius: var(--koc-radius-sm); }
.portal-table-region .audit-info-button:hover, .portal-table-region .audit-info-button:focus-visible { color: var(--koc-brand-primary); background: var(--koc-surface-selected); border-color: var(--koc-border-subtle); }
.portal-audit-tooltip { --bs-tooltip-bg: var(--koc-navigation-dark); --bs-tooltip-color: var(--koc-surface); --bs-tooltip-opacity: 1; --bs-tooltip-max-width: min(24rem, calc(100vw - 2rem)); }
.portal-audit-tooltip .tooltip-inner { padding: .875rem 1rem; text-align: start; white-space: pre-line; font-family: var(--koc-font-en); font-size: .8125rem; line-height: 1.7; }
[lang="ar"] .portal-audit-tooltip .tooltip-inner { font-family: var(--koc-font-ar); font-size: 1rem; }
.portal-table-region .table-koc caption { padding: .875rem 1.125rem; color: var(--koc-text-muted); background: var(--koc-surface); font-size: .8125rem; font-weight: 400; }
.portal-table-region .table-koc td a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: .2em; }
.portal-table-region .table-koc .btn { font-size: .8125rem; white-space: nowrap; }
.portal-table-region .datatable-wrapper { min-width: 0; }
.portal-table-region .datatable-container { border: 0; scrollbar-color: var(--koc-border-strong) var(--koc-surface-subtle); scrollbar-width: thin; }
.portal-table-region .datatable-top, .portal-table-region .datatable-bottom { padding: 1rem 1.125rem; margin: 0; background: var(--koc-surface); }
.portal-table-region .datatable-top { border-bottom: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm) var(--koc-radius-sm) 0 0; }
.portal-table-region .datatable-bottom { border-top: 1px solid var(--koc-border-subtle); border-radius: 0 0 var(--koc-radius-sm) var(--koc-radius-sm); }
.portal-table-region .datatable-top > *, .portal-table-region .datatable-bottom > * { float: none; }
.portal-table-region .datatable-dropdown label { display: flex; align-items: center; gap: .5rem; color: var(--koc-text-muted); font-size: .8125rem; }
.portal-table-region .datatable-search { flex: 0 1 19rem; }
.portal-table-region .datatable-input { width: 100%; }
.portal-table-region .datatable-input, .portal-table-region .datatable-selector { font-size: .875rem; }
.portal-table-region .datatable-info { margin: 0; color: var(--koc-text-muted); font-size: .8125rem; }
.portal-table-region .datatable-pagination ul { display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; }
.portal-table-region .datatable-pagination li, .portal-table-region .datatable-pagination button { float: none; margin: 0; }
.portal-table-region .datatable-pagination button { border: 1px solid transparent; font-size: .875rem; }
.portal-table-region .datatable-pagination .datatable-active button { border-color: var(--koc-border-subtle); color: var(--koc-brand-primary-dark); font-weight: 700; }
.portal-table-region:has([data-visit-table]) .datatable-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.portal-table-region:has([data-visit-table]) .datatable-top::after, .portal-table-region:has([data-visit-table]) .datatable-bottom::after { display: none; }
.portal-table-region:has([data-visit-table]) .datatable-bottom { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; }
.portal-table-region:has([data-visit-table]) .datatable-pagination ul { justify-content: center; margin: 0; list-style: none; }
.portal-table-region:has([data-visit-table]) .datatable-pagination button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .5rem; border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); color: var(--koc-text-body); background: var(--koc-surface); text-decoration: none; line-height: 1; }
.portal-table-region:has([data-visit-table]) .datatable-pagination button:hover { color: var(--koc-brand-primary-dark); background: var(--koc-surface-selected); }
.portal-table-region:has([data-visit-table]) .datatable-pagination .datatable-active button { color: var(--koc-surface); background: var(--koc-brand-primary); border-color: var(--koc-brand-primary); }
.portal-table-region .datatable-empty { padding-block: 2.5rem !important; color: var(--koc-text-muted); text-align: center !important; font-weight: 400 !important; position: static !important; }
.table-scroll-tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-block: .75rem; color: var(--koc-text-muted); font-size: .8125rem; }
.table-scroll-tools .btn { font-size: .8125rem; min-height: 44px; }
@media (max-width: 575.98px) { .portal-table-region .datatable-top, .portal-table-region .datatable-bottom { gap: .75rem; padding: .875rem; } .portal-table-region .datatable-search { flex-basis: 100%; } .portal-table-region .table-koc > :not(caption) > tr > * { padding: .875rem; } }
@media print { .table-scroll-tools, .portal-table-region .datatable-top, .portal-table-region .datatable-bottom { display: none !important; } .portal-table-region, .portal-table-region .datatable-container { overflow: visible; } .portal-table-region .table-koc > :not(caption) > tr > :first-child { position: static; } }
@media (max-width: 575.98px) { .rule-list > div { flex-direction: column; gap: .25rem; } .rule-list dt { min-width: 0; } }
@media print { .app-header, .app-nav, .app-footer, .demo-strip, .breadcrumb, .page-heading, [data-qr-download] { display: none !important; } .printable-card { print-color-adjust: exact; -webkit-print-color-adjust: exact; break-inside: avoid; } }
main { flex: 1; }
.app-width { max-width: 1440px; padding-inline: 3rem; }
.app-header { background: var(--koc-surface) url('../images/bgdesign.png') center / cover no-repeat; padding-block: 1rem; }
.app-brand { color: var(--koc-text-strong); text-decoration: none; }
.app-brand:hover { text-decoration: none; }
.app-brand strong { display: block; font-size: 1.375rem; line-height: 1.3; }
.app-brand span { display: block; color: var(--koc-text-muted); font-size: .875rem; }
.app-nav { background: var(--koc-navigation-dark); padding-block: 0; }
.app-nav .nav-link, .nav-help { color: var(--koc-surface); padding: 1rem !important; font-size: .875rem; text-decoration: none; }
.app-nav .nav-link i { margin-inline-end: .4rem; }
.app-nav .nav-link:hover, .app-nav .nav-link.active, .nav-help:hover { background: var(--koc-navigation-selected); color: var(--koc-surface); }
.app-nav .nav-link.active { box-shadow: inset 0 -3px var(--koc-brand-secondary); }
.app-nav .navbar-toggler { color: var(--koc-surface); font-size: 1rem; padding: 1rem 0; border: 0; }
.demo-strip { display: flex; justify-content: space-between; gap: .75rem; font-size: .75rem; color: var(--koc-text-muted); border-bottom: 1px solid var(--koc-border-subtle); padding-bottom: .75rem; }
.demo-strip > span:first-child { font-weight: 700; white-space: nowrap; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.page-heading h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: .5rem; }
.page-heading p { margin: 0; color: var(--koc-text-muted); }
.page-heading .btn { flex-shrink: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.section-heading h2 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.section-heading a { font-size: .875rem; font-weight: 700; text-decoration: none; }
.profile-section { background: var(--koc-surface); border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); padding: 1.5rem; }
.profile-section.membership-profile { position: relative; isolation: isolate; overflow: hidden; background: var(--koc-navigation-dark) url("../images/MinimalistBlueEnergySkylineLandscape.png") center / cover no-repeat; border-color: var(--koc-navigation-dark); color: var(--koc-surface); }
.profile-section.membership-profile .section-heading h2,
.profile-section.membership-profile .profile-name,
.profile-section.membership-profile .profile-details dt,
.profile-section.membership-profile .profile-details dd,
.profile-section.membership-profile .text-muted,
.profile-section.membership-profile .form-label,
.profile-section.membership-profile .form-text { color: var(--koc-surface) !important; }
.profile-section.membership-profile .btn-koc-primary,
.profile-section.membership-profile .btn-koc-outline {
    color: var(--koc-surface);
    border: 1px solid rgb(253 254 254 / .45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background-color 160ms cubic-bezier(0.16, 1, 0.3, 1), border-color 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.profile-section.membership-profile .btn-koc-primary {
    background: rgb(0 96 169 / .82);
}
.profile-section.membership-profile .btn-koc-primary:hover,
.profile-section.membership-profile .btn-koc-primary:focus-visible {
    background: var(--koc-brand-primary);
    border-color: var(--koc-surface);
    color: var(--koc-surface);
    transform: translateY(-1px);
}
.profile-section.membership-profile .btn-koc-outline {
    background: rgb(253 254 254 / .14);
}
.profile-section.membership-profile .btn-koc-outline:hover,
.profile-section.membership-profile .btn-koc-outline:focus-visible {
    background: rgb(253 254 254 / .26);
    border-color: var(--koc-surface);
    color: var(--koc-surface);
    transform: translateY(-1px);
}
.profile-section.membership-profile .btn:focus-visible {
    outline: 2px solid var(--koc-surface);
    outline-offset: 2px;
}
@media (prefers-reduced-transparency: reduce) {
    .profile-section.membership-profile .btn-koc-primary { background: var(--koc-brand-primary); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .profile-section.membership-profile .btn-koc-outline { background: var(--koc-navigation-dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.membership-photo-notice { display: flex; justify-content: center; align-items: center; gap: .625rem; margin-inline: clamp(1rem, 3vw, 2rem); padding: .75rem 1rem; border: 1px solid var(--koc-border-subtle); border-top: 0; border-radius: 0 0 var(--koc-radius-sm) var(--koc-radius-sm); background: var(--koc-surface-selected); color: var(--koc-brand-primary-dark); text-align: start; font-size: .875rem; line-height: 1.6; }
.membership-photo-notice > .fa-circle-info { position: relative; flex-shrink: 0; font-size: 1rem; color: var(--koc-brand-primary); }
.membership-photo-notice > .fa-circle-info::after { content: ""; position: absolute; inset: -.2rem; border: 1px solid currentColor; border-radius: 50%; box-shadow: 0 0 .4rem rgb(0 96 169 / .12); pointer-events: none; opacity: 0; animation: membership-info-ripple 3.6s ease-out infinite; }
@keyframes membership-info-ripple {
    0% { transform: scale(.85); opacity: 0; }
    20% { opacity: .3; }
    75%, 100% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .membership-photo-notice > .fa-circle-info::after { animation: none; }
}
.membership-photo-notice a { font-weight: 700; text-underline-offset: .2em; }
.membership-photo-notice { justify-content: flex-start; flex-wrap: wrap; }
.membership-photo-notice > .flex-grow-1 { flex-basis: 18rem; min-width: 0; }
.membership-correction-link { flex-shrink: 0; margin-inline-start: auto; }
.avatar { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--koc-surface-selected); color: var(--koc-brand-primary-dark); border: 1px solid var(--koc-border-subtle); border-radius: 50%; font-size: .875rem; font-weight: 700; }
.avatar-small { width: 38px; height: 38px; }
.app-header .avatar { width: 56px; height: 56px; }
.avatar-large { width: 64px; height: 64px; font-size: 1.25rem; }
.avatar-portrait { width: 104px; height: 104px; }
.membership-avatar-editor { position: relative; flex-shrink: 0; overflow: visible; }
.membership-avatar-camera { position: absolute; inset-inline-end: -.25rem; bottom: -.25rem; width: 44px; height: 44px; padding: 0; border-radius: var(--koc-radius-full); border: 2px solid var(--koc-surface); }
.avatar-family { width: 80px; height: 80px; font-size: 1.5rem; }
.membership-identity > div { min-width: 0; overflow-wrap: anywhere; }
.access-card-name { font-size: 1.25rem; font-weight: 700; color: inherit; margin-bottom: .35rem; }
.member-card { display: flex; flex-direction: column; }
.family-memberships-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; align-items: start; }
.family-memberships-grid > .col-md-6 { width: 100%; min-width: 0; display: flex; }
.family-memberships-grid .member-card { width: 100%; min-height: 12rem; }
.member-card > .member-action { margin-top: .25rem; padding-top: .5rem; }
@media (min-width: 768px) { .family-memberships-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.family-summary > .avatar-family, .family-summary .membership-avatar-editor > .avatar-family { width: 64px; height: 64px; }
.family-summary .membership-avatar-editor { display: flex; margin-inline-end: .375rem; margin-block-end: .375rem; }
.family-summary .membership-avatar-camera { inset-inline-end: auto; right: -.375rem; bottom: -.375rem; display: inline-flex; align-items: center; justify-content: center; font-size: .875rem; line-height: 1; border-width: 3px; }
.membership-avatar-editor .membership-avatar-camera:disabled { display: none; }
.member-summary { min-width: 0; overflow-wrap: anywhere; }
.family-card-actions { direction: ltr; }
.family-card-actions > .btn { padding: .25rem .625rem; }
.family-card-actions > [data-family-request] { margin-left: auto; }
[dir="rtl"] .family-card-actions > .btn { direction: rtl; }
.family-upload-actions > .form-text, .family-upload-actions > [data-photo-filename], .family-upload-actions > [data-photo-error] { flex-basis: 100%; }
.family-upload-actions > .form-text { font-size: .75rem; }
.family-upload-actions > [data-photo-filename]:empty, .family-upload-actions > [data-photo-error]:empty { display: none; }
.family-photo-input { min-width: 0; max-width: 100%; font-size: .75rem; padding: .5rem; }
.family-photo-input::file-selector-button { padding: .5rem; margin: -.5rem; margin-inline-end: .5rem; }
.profile-name { font-size: 1.5rem; margin-bottom: .25rem; font-weight: 700; }
.profile-details dt { font-size: .75rem; color: var(--koc-text-muted); font-weight: 400; }
.profile-details dd { font-weight: 700; margin-bottom: 0; overflow-wrap: anywhere; }
.profile-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--koc-border-subtle); font-size: .75rem; color: var(--koc-text-muted); }
.profile-bottom a { text-decoration: none; }
.status-badge { display: inline-flex; gap: .3rem; align-items: center; width: fit-content; border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-full); padding: .2rem .65rem; font-size: .75rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.status-active { color: #176140; background: #edf7f1; border-color: #cce5d6; }
.status-pending { color: #766016; background: #fcf8e9; border-color: #e9dfba; }
.status-rejected { color: var(--koc-status-danger); background: var(--koc-surface); border-color: var(--koc-status-danger); }
.digital-card { background: var(--koc-navigation-dark); color: var(--koc-surface); border-radius: var(--koc-radius-sm); padding: 1.5rem; display: flex; flex-direction: column; }
.digital-card-skyline { background-image: url('../images/Minimalist%20Blue%20Energy%20Skyline.png'); background-size: cover; background-position: center bottom; background-repeat: no-repeat; }
.digital-card-vip { background-image: url('../images/VIPMinimalistBlueEnergySkyline.png'); }
.digital-card.digital-card-export { box-sizing: border-box; width: 360px; height: 640px; min-width: 360px; min-height: 640px; max-width: none; max-height: none; flex: none !important; }
.digital-card-export .membership-identity { margin-block: 1rem !important; }
.digital-card-export .access-card-details, .digital-card-export .qr-image, .digital-card-export .pending-family-qr { margin-bottom: 1rem !important; }
.digital-card h2 { font-size: 1.125rem; color: inherit; margin: 0; }
.access-card-logo { width: 48px; height: auto; flex-shrink: 0; }
.family-card-title, .member-card .family-card-title { font-size: 1.125rem; line-height: 1.3; color: inherit; margin: 0; }
.family-view-button { width: 100%; background: transparent; color: var(--koc-brand-primary); border: 0; border-top: 1px solid var(--koc-border-subtle); text-align: start; }
.family-access-card .access-card-name { font-size: 1.125rem; }
.pending-family-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; min-height: 120px; text-align: center; font-size: .875rem; }
.pending-family-qr i { font-size: 1.5rem; }
.digital-card .qr-image { width: 200px; height: auto; image-rendering: pixelated; }
.digital-card .pending-family-qr { min-height: 200px; }
.access-card-details { display: flex; flex-direction: column; gap: .75rem; }
.access-card-details dt { font-size: .75rem; font-weight: 400; }
.access-card-details dd { font-size: .875rem; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.digital-card > .d-flex.my-4 { flex: 1; }
.card-symbol { font-size: 2rem; color: var(--koc-brand-secondary); }
.card-meta { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; font-size: .75rem; padding-top: 1rem; border-top: 1px solid #4683d0; }
.digital-card-vip .card-meta { border-top-color: #d6ad25; }
.btn-card { background: var(--koc-surface); color: var(--koc-brand-primary-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; min-height: 44px; }
.btn-card:hover { background: var(--koc-surface-selected); color: var(--koc-brand-primary-dark); }
.count-badge { font-size: .75rem; font-weight: 700; border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); padding: 0 .45rem; }
.member-card { padding: 1rem; }
.member-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.guest-card { overflow-wrap: anywhere; }
.guest-photo-placeholder { display: flex; align-items: center; justify-content: center; width: 160px; max-width: 100%; height: 180px; background: var(--koc-surface-subtle); border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); color: var(--koc-brand-slate); font-size: 4rem; }
.guest-photo-preview { display: block; max-width: 100%; border-radius: var(--koc-radius-sm); }
.guest-request-dialog .form-section { padding-block: 1rem; }
.guest-request-dialog .form-section:first-of-type { padding-block-start: 0; }
.guest-request-dialog .guest-request-section { padding: 1rem; }
.guest-request-dialog .section-title { margin-block-end: .75rem; font-size: 1rem; }
.guest-request-dialog .form-label { margin-block-end: .25rem; font-size: .875rem; }
.guest-request-dialog .guest-photo-placeholder, .guest-request-dialog .guest-photo-preview { width: 120px; height: 140px; margin-block: 0; }
.guest-request-dialog .form-text { font-size: .75rem; }
.guest-photo-select { width: 100%; padding-inline: .5rem; }
.guest-photo-filename { overflow-wrap: anywhere; }
.guest-photo-filename:empty { display: none; }
.guest-request-dialog [data-photo-error]:empty, .guest-request-dialog .validation-summary-valid { display: none; }
.guest-upload-notice { padding: .75rem; border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); background: var(--koc-surface-selected); font-size: .875rem; }
.guest-rejection { padding: .75rem; background: var(--koc-surface-subtle); border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); font-size: .875rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.guest-rejection strong { color: var(--koc-status-danger); }
[data-review-reason] { white-space: pre-wrap; overflow-wrap: anywhere; }
.member-validity { display: flex; flex-direction: column; font-size: .75rem; gap: .15rem; margin-bottom: 1.25rem; }
.member-validity > span { color: var(--koc-text-muted); }
.member-card > .member-validity { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; text-align: end; gap: .25rem .5rem; margin-bottom: .5rem; }
.member-action { display: flex; align-items: center; min-height: 44px; padding-top: .75rem; border-top: 1px solid var(--koc-border-subtle); text-decoration: none; font-size: .875rem; font-weight: 700; }
.record-list { border-block: 1px solid var(--koc-border-subtle); }
.request-row { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; color: var(--koc-text-body); text-decoration: none; border-bottom: 1px solid var(--koc-border-subtle); }
.request-row:last-child { border-bottom: 0; }
.request-row:hover { background: var(--koc-surface-selected); }
.request-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--koc-brand-primary); background: var(--koc-surface-selected); border-radius: var(--koc-radius-sm); flex-shrink: 0; }
.request-row strong { font-size: .875rem; }
.center-list > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem; border-top: 1px solid var(--koc-border-subtle); font-size: .875rem; }
.center-list span { color: var(--koc-text-muted); font-size: .75rem; white-space: nowrap; }
.center-box-card { display: flex; flex-direction: column; height: 100%; padding: 1rem 1.125rem; background: var(--koc-surface); border: 1px solid var(--koc-border-subtle); border-radius: var(--koc-radius-sm); color: var(--koc-text-strong); text-decoration: none; transition: border-color 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 160ms cubic-bezier(0.16, 1, 0.3, 1); }
.center-box-card:hover,
.center-box-card:focus-visible { border-color: var(--koc-brand-primary); color: var(--koc-text-strong); text-decoration: none; transform: translateY(-2px); }
.center-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: var(--koc-radius-sm); background: var(--koc-surface-selected); color: var(--koc-brand-primary); font-size: 1.125rem; }
.center-detail-icon { width: 3.25rem; height: 3.25rem; font-size: 1.5rem; }
.center-card-icon-ladies { background: oklch(95% .025 350); color: oklch(43% .14 350); }
.center-card-title { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.35; margin-bottom: .25rem; }
.center-card-hours { font-size: .75rem; color: var(--koc-text-muted); margin-top: auto; }
.center-nav-group { display: inline-flex; align-items: center; gap: .4rem; }
.center-scroll-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-block: 2px; }
.center-scroll-track::-webkit-scrollbar { display: none; }
.center-scroll-item { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 576px) { .center-scroll-item { flex: 0 0 calc((100% - 1rem) / 2); } }
@media (min-width: 768px) { .center-scroll-item { flex: 0 0 calc((100% - 2rem) / 3); } }
@media (min-width: 1200px) { .center-scroll-item { flex: 0 0 calc((100% - 4rem) / 5); } }
.center-scroll-btn { width: 2.25rem; height: 2.25rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--koc-radius-sm); background: var(--koc-surface); border: 1px solid var(--koc-border-subtle); color: var(--koc-brand-primary); font-size: .8125rem; transition: background-color 160ms cubic-bezier(0.16, 1, 0.3, 1), border-color 160ms cubic-bezier(0.16, 1, 0.3, 1), color 160ms cubic-bezier(0.16, 1, 0.3, 1); }
.center-scroll-btn:hover:not(:disabled),
.center-scroll-btn:focus-visible:not(:disabled) { background: var(--koc-brand-primary); border-color: var(--koc-brand-primary); color: var(--koc-surface); }
.center-scroll-btn:disabled { background: var(--koc-surface-subtle); border-color: var(--koc-border-subtle); color: var(--koc-text-muted); opacity: .55; }
[dir="rtl"] .center-scroll-prev i,
[dir="rtl"] .center-scroll-next i { transform: rotate(180deg); }
.app-footer { padding-block: 1.5rem; margin-top: 3rem; background: var(--koc-navigation-dark); color: var(--koc-surface); }
.app-footer a { color: inherit; }
.skip-link { position: absolute; inset-block-start: -100px; inset-inline-start: 1rem; background: var(--koc-surface); padding: 1rem; z-index: 1100; }
.skip-link:focus { inset-block-start: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--koc-focus-ring); outline-offset: 3px; }
.app-nav a:focus-visible, .app-footer a:focus-visible { outline-color: var(--koc-surface); }
[dir="rtl"] .fa-arrow-right, [dir="rtl"] .fa-chevron-right { transform: scaleX(-1); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--koc-font-ar); }
@media (max-width: 1199.98px) { .app-width { padding-inline: 1.5rem; } .app-nav .nav-link { padding-inline: .75rem !important; } }
@media (max-width: 767.98px) { .app-width { padding-inline: 1rem; } .page-heading { align-items: flex-start; flex-direction: column; } .page-heading h1 { font-size: 1.75rem; } .app-brand strong { font-size: 1rem; } .app-brand span { font-size: .7rem; } .app-brand img { width: 40px; height: 50px; } .demo-strip { flex-direction: column; gap: .25rem; } .request-row { flex-wrap: wrap; } .request-row .status-badge { margin-inline-start: 3.5rem; } .request-row > .fa-chevron-right { margin-inline-start: auto; } .profile-section, .digital-card { padding: 1.25rem; } .section-heading { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }