/* Seal Rifle & Pistol Club Members Area */
:root {
    --srpc-bg: #151915;
    --srpc-panel: #232925;
    --srpc-panel-2: #2f3732;
    --srpc-gold: #9f7a31;
    --srpc-gold-light: #f7df9b;
    --srpc-text: #f5f5f1;
    --srpc-muted: #c9c7be;
    --srpc-border: rgba(247, 223, 155, 0.22);
    --srpc-danger: #b94a48;
    --srpc-success: #4f8f5b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--srpc-text);
    background:
        radial-gradient(circle at top, rgba(159, 122, 49, 0.18), transparent 34rem),
        linear-gradient(180deg, #111 0%, var(--srpc-bg) 100%);
    line-height: 1.6;
}

.members-header {
    background: #fff;
    color: #000;
    text-align: center;
    padding: 14px 20px;
}

.members-header img {
    max-width: 120px;
    border-radius: 8px;
}

.members-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #303633 0%, #202522 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 3px solid var(--srpc-gold);
    box-shadow: 0 4px 18px rgba(0,0,0,0.28);
    padding: 0 12px;
}

.members-nav a {
    color: #fff;
    padding: 14px 18px;
    text-decoration: none;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 52px;
    border-radius: 10px;
}

.members-nav a:hover {
    background: rgba(159, 122, 49, 0.24);
    color: var(--srpc-gold-light);
}

.menu-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.members-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto;
}

.panel {
    background: linear-gradient(180deg, rgba(47,55,50,0.96), rgba(35,41,37,0.96));
    border: 1px solid var(--srpc-border);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.34);
    padding: 22px;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}

h1, h2, h3 {
    margin-top: 0;
}

.muted {
    color: var(--srpc-muted);
}

.login-card {
    width: min(480px, calc(100% - 32px));
    margin: 42px auto;
}

.form-row {
    margin-bottom: 14px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: var(--srpc-gold-light);
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid var(--srpc-border);
    background: #111611;
    color: var(--srpc-text);
}

.button,
button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    background: linear-gradient(180deg, #c69a43, var(--srpc-gold));
    color: #151515;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}

.button.secondary,
button.secondary {
    background: rgba(255,255,255,0.08);
    color: var(--srpc-text);
    border: 1px solid var(--srpc-border);
}

.button.disabled,
button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.notice {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.notice.error {
    background: rgba(185, 74, 72, 0.18);
    border: 1px solid rgba(185, 74, 72, 0.5);
}

.notice.success {
    background: rgba(79, 143, 91, 0.18);
    border: 1px solid rgba(79, 143, 91, 0.5);
}

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

.calendar-toolbar h2 {
    margin: 0;
}

.calendar-title-group {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
}

.view-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--srpc-border);
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
}

.view-toggle-button {
    padding: 6px 12px;
    box-shadow: none;
}

.view-toggle-button.active {
    background: linear-gradient(180deg, #d7ac52, var(--srpc-gold));
    color: #151515;
}

.calendar-view {
    display: none;
}

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

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

.calendar-weekday {
    text-align: center;
    color: var(--srpc-gold-light);
    font-weight: bold;
    padding: 8px 4px;
    border-bottom: 1px solid var(--srpc-border);
}

.calendar-day {
    min-height: 150px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(247, 223, 155, 0.12);
    border-radius: 14px;
    padding: 9px;
    position: relative;
}

.calendar-day.empty {
    opacity: 0.25;
    background: transparent;
}

.compact-calendar-grid {
    gap: 6px;
}

.compact-calendar-day {
    min-height: 142px;
    padding: 8px;
    overflow: visible;
}

.compact-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.day-number {
    font-weight: 700;
    color: var(--srpc-gold-light);
    margin-bottom: 8px;
}

.compact-day-header .day-number {
    margin-bottom: 0;
}

.event-count {
    color: var(--srpc-muted);
    font-size: 0.74rem;
    white-space: nowrap;
}

.event-chip {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    width: 100%;
    min-width: 0;
    padding: 7px 8px;
    margin-bottom: 5px;
    overflow: visible;
    border: 1px solid var(--srpc-border);
    border-left: 4px solid var(--srpc-gold);
    border-radius: 9px;
    background: rgba(17,22,17,0.88);
    color: var(--srpc-text);
    text-align: left;
    box-shadow: none;
}

.event-chip-title {
    display: grid;
    gap: 3px;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
    font-weight: 700;
    line-height: 1.16;
}

.event-chip-location {
    width: max-content;
    max-width: 100%;
    padding: 1px 6px;
    border: 1px solid rgba(247, 223, 155, 0.35);
    border-radius: 999px;
    color: var(--srpc-gold-light);
    background: rgba(0,0,0,0.24);
    font-size: 0.68rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-chip-name {
    min-width: 0;
}

.event-chip-time,
.event-chip-capacity {
    color: var(--srpc-gold-light);
    font-size: 0.75rem;
    font-weight: 700;
}

.event-chip-capacity {
    align-self: start;
}

.event-chip-fill {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: var(--fill, 0%);
    background: linear-gradient(90deg, var(--srpc-success), var(--srpc-gold-light));
}

.event-more {
    width: 100%;
    padding: 5px 7px;
    border: 1px dashed var(--srpc-border);
    border-radius: 9px;
    background: rgba(247, 223, 155, 0.1);
    color: var(--srpc-gold-light);
    box-shadow: none;
    font-size: 0.78rem;
}

.event-card {
    background: rgba(17,22,17,0.78);
    border: 1px solid var(--srpc-border);
    border-left: 4px solid var(--srpc-gold);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 8px;
}

.event-card h3 {
    font-size: 0.98rem;
    margin: 0 0 4px;
}

.event-meta {
    font-size: 0.86rem;
    color: var(--srpc-muted);
    margin-bottom: 8px;
}

.capacity-line {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.88rem;
    margin: 8px 0 6px;
}

.capacity-bar {
    height: 7px;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 9px;
}

.capacity-bar span {
    display: block;
    height: 100%;
    width: var(--fill, 0%);
    background: linear-gradient(90deg, var(--srpc-success), var(--srpc-gold-light));
    border-radius: inherit;
}

.attendees {
    margin-top: 8px;
    font-size: 0.86rem;
}

.attendees summary {
    cursor: pointer;
    color: var(--srpc-gold-light);
}

.attendees ul {
    margin: 6px 0 0 18px;
    padding: 0;
    color: var(--srpc-muted);
}

.event-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.full-year-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--srpc-border);
}

.full-year-heading h3 {
    margin: 0 0 4px;
}

.full-year-heading p {
    margin: 0;
}

.print-year-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.agenda-list {
    display: grid;
    gap: 16px;
}

.agenda-day-group {
    display: grid;
    gap: 8px;
}

.agenda-day-group h3 {
    margin: 0;
    color: var(--srpc-gold-light);
}

.agenda-event {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--srpc-border);
    border-left: 4px solid var(--srpc-gold);
    border-radius: 14px;
    background: rgba(17,22,17,0.76);
}

.agenda-event h4 {
    margin: 0 0 4px;
}

.agenda-event p {
    margin: 0;
}

.agenda-capacity {
    display: grid;
    gap: 4px;
    color: var(--srpc-muted);
    font-size: 0.84rem;
}

body.modal-open {
    overflow: hidden;
}

.event-modal[hidden] {
    display: none;
}

.event-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.event-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
}

.event-modal-card {
    position: relative;
    width: min(680px, 100%);
    max-height: min(88vh, 760px);
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--srpc-border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(47,55,50,0.98), rgba(35,41,37,0.98));
    box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}

.event-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
}

.event-detail-card {
    margin: 0;
    padding: 18px;
}

.event-description {
    white-space: normal;
}

.rsvp-form {
    display: inline;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(247, 223, 155, 0.12);
    color: var(--srpc-gold-light);
    border: 1px solid var(--srpc-border);
    font-size: 0.82rem;
}

.full {
    color: #ffd1cf;
}

@media (max-width: 900px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .agenda-event {
        grid-template-columns: 1fr;
    }

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

    .calendar-title-group {
        justify-items: flex-start;
        text-align: left;
    }

    .calendar-weekday {
        display: none;
    }

    .calendar-day {
        min-height: auto;
    }

    .calendar-day.empty {
        display: none;
    }

    .hero-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .members-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
    }

    .members-nav a {
        justify-content: flex-start;
    }
}


.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.admin-card {
    background: rgba(17,22,17,0.78);
    border: 1px solid var(--srpc-border);
    border-left: 4px solid var(--srpc-gold);
    border-radius: 14px;
    padding: 16px;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid rgba(247, 223, 155, 0.15);
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--srpc-gold-light);
}

.inline-form {
    display: inline-block;
    margin: 2px;
}

.member-actions-cell {
    min-width: 280px;
}

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

.member-actions .button,
.member-actions button {
    margin: 0;
    white-space: nowrap;
}

.member-actions .inline-form {
    display: contents;
    margin: 0;
}

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

@media (max-width: 800px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

code {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--srpc-border);
    border-radius: 6px;
    padding: 2px 5px;
    color: var(--srpc-gold-light);
}

.checkin-button {
    margin-top: 8px;
}

#checkinMessage {
    margin-top: 14px;
}

.leaflet-container {
    background: #1f251f;
}

.lane-board {
    display: grid;
    grid-template-columns: 120px repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    align-items: stretch;
}

.lane-board-header,
.lane-time {
    padding: 10px;
    border-radius: 10px;
    background: rgba(247, 223, 155, 0.12);
    border: 1px solid var(--srpc-border);
    font-weight: 700;
    color: var(--srpc-gold-light);
}

.lane-slot {
    min-height: 92px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--srpc-border);
    background: rgba(255,255,255,0.045);
}

.slot-past,
.slot-complete {
    background: rgba(120,120,120,0.18);
    border-color: rgba(180,180,180,0.22);
    color: rgba(255,255,255,0.62);
}

.slot-current {
    background: rgba(159, 122, 49, 0.24);
    border: 2px solid var(--srpc-gold-light);
    box-shadow: 0 0 0 3px rgba(247, 223, 155, 0.08);
}

.slot-future {
    border: 1px dashed rgba(255,255,255,0.62);
    background: rgba(255,255,255,0.035);
}

.lane-slot-actions {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .lane-board {
        display: block;
    }

    .lane-board-header,
    .lane-time,
    .lane-slot {
        margin-bottom: 8px;
    }
}

.live-big-number {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--srpc-gold-light);
    line-height: 1;
    margin: 10px 0;
}

.action-queue {
    display: grid;
    gap: 10px;
}

.action-queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--srpc-border);
    border-radius: 14px;
    padding: 12px;
}

.live-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(159, 122, 49, 0.28);
    color: var(--srpc-gold-light);
    font-weight: 800;
    border: 1px solid var(--srpc-border);
}

.live-range-hero {
    position: sticky;
    top: 0;
    z-index: 5;
}


/* V6 calendar/location polish */
.event-location-bi {
    border-left-color: #5fa8d3;
    background: linear-gradient(180deg, rgba(95,168,211,0.16), rgba(17,22,17,0.78));
}

.event-location-wr {
    border-left-color: #7fb069;
    background: linear-gradient(180deg, rgba(127,176,105,0.16), rgba(17,22,17,0.78));
}

.event-location-ly {
    border-left-color: #d08c60;
    background: linear-gradient(180deg, rgba(208,140,96,0.16), rgba(17,22,17,0.78));
}

.event-location-hy {
    border-left-color: #b56576;
    background: linear-gradient(180deg, rgba(181,101,118,0.16), rgba(17,22,17,0.78));
}

.event-location-ch {
    border-left-color: #a7c957;
    background: linear-gradient(180deg, rgba(167,201,87,0.16), rgba(17,22,17,0.78));
}

.date-picker-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--srpc-text);
    margin-bottom: 6px;
}

.checkbox-line input {
    width: auto;
}

.stack-form {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto;
    gap: 6px;
    margin-top: 8px;
}

@media print {
    .members-header,
    .members-nav,
    .event-actions,
    .rsvp-form,
    .attendees,
    .capacity-bar {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #111 !important;
    }

    .members-shell {
        width: 100%;
        margin: 0;
    }

    .panel,
    .event-card,
    .calendar-day {
        box-shadow: none !important;
        background: #fff !important;
        color: #111 !important;
        border-color: #bbb !important;
    }
}


/* V7.6 additions */
.probationary-test-panel {
    border-color: rgba(247, 223, 155, 0.45);
}

.exam-question {
    margin-top: 18px;
}

.exam-question-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.exam-question-header h2 {
    margin: 0;
}

.exam-marks {
    color: var(--srpc-gold-light);
    font-size: 0.74em;
    font-weight: 700;
}

.exam-timer {
    position: fixed;
    top: 14px;
    right: 18px;
    z-index: 20;
    width: fit-content;
    padding: 10px 14px;
    border: 1px solid rgba(247, 223, 155, 0.45);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.82);
    color: var(--srpc-gold-light);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.exam-option {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 10px 12px;
    margin: 8px 0;
    border: 1px solid rgba(247, 223, 155, 0.18);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.12);
    color: var(--srpc-text);
}

.exam-option input {
    width: auto;
    margin: 4px 0 0 0;
}

.exam-option span {
    min-width: 0;
}

.exam-text-rules {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.exam-rule-input {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.exam-rule-input span {
    color: var(--srpc-gold-light);
    font-weight: 700;
}

.exam-rule-input input {
    width: 100%;
}

.critical-badge {
    background: rgba(198, 48, 48, 0.24);
    border-color: rgba(255, 130, 130, 0.72);
    color: #ffd6d6;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .exam-timer {
        top: auto;
        right: 12px;
        bottom: 12px;
    }

    .exam-question-header,
    .exam-rule-input {
        grid-template-columns: 1fr;
        display: grid;
    }
}

.probationary-badge {
    background: rgba(255, 193, 7, 0.24);
    border-color: rgba(255, 193, 7, 0.7);
    color: #ffe8a3;
}

.probationary-member-row {
    background: rgba(255, 193, 7, 0.12);
}

.probationary-booking {
    outline: 2px solid rgba(255, 193, 7, 0.85);
    box-shadow: inset 0 0 0 999px rgba(255, 193, 7, 0.08);
}

.announcement-images {
    display: grid;
    gap: 14px;
    margin: 16px 0;
}

.announcement-figure {
    margin: 0;
}

.announcement-figure img,
.announcement-image-preview {
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid var(--srpc-border);
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.announcement-figure figcaption {
    color: var(--srpc-muted);
    margin-top: 6px;
    font-size: 0.95rem;
}

.poll-box {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--srpc-border);
    border-radius: 14px;
    background: rgba(0,0,0,0.16);
}

.poll-option {
    display: block;
    color: var(--srpc-text);
    font-weight: normal;
    margin: 8px 0;
}

.poll-results {
    display: grid;
    gap: 10px;
}

.poll-result-row {
    display: grid;
    gap: 5px;
}

.poll-result-row span {
    color: var(--srpc-muted);
}

.poll-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
}

.poll-bar span {
    display: block;
    height: 100%;
    background: var(--srpc-gold);
}


/* V7.7 close whole target-lane time slot */
.close-timeslot-form {
    margin-top: 8px;
}

.close-timeslot-form button {
    font-size: 0.82rem;
    padding: 6px 10px;
}


/* V7.8 member notifications */
.notification-panel {
    border-color: rgba(247, 223, 155, 0.48);
}

.notification-card {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid var(--srpc-border);
}

.notification-card:first-of-type {
    border-top: 0;
}

.notification-card p {
    margin: 4px 0;
}


/* V7.8.1 event-management action button tidy-up */
.event-management-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.event-management-action {
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

button.event-management-action {
    border: 0;
    font-family: inherit;
}

.event-management-action-primary {
    background: linear-gradient(180deg, #d7aa4d, var(--srpc-gold));
    color: #101510;
}

.event-management-action-secondary {
    background: rgba(255,255,255,0.035);
    color: var(--srpc-text);
    border: 1px solid rgba(247, 223, 155, 0.55);
}

.event-management-action-secondary:hover {
    background: rgba(159, 122, 49, 0.18);
    color: var(--srpc-gold-light);
}

.event-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15em;
    opacity: 0.95;
}

@media (min-width: 760px) {
    .event-management-actions {
        margin-top: 20px;
    }
}


/* V7.8.5 consistent page element spacing */
.members-shell > * + * {
    margin-top: 24px;
}

.members-shell > .panel + .panel {
    margin-top: 30px;
}

.members-shell > .notice + .panel,
.members-shell > .panel + .notice,
.members-shell > .notice + .notice {
    margin-top: 20px;
}


/* V8.2.5 existing-member access requests */
.access-request-list {
    display: grid;
    gap: 18px;
}

.access-request-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    gap: 18px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--srpc-border);
    border-radius: 16px;
    background: rgba(17,22,17,0.68);
}

.access-request-card h3 {
    margin-top: 0;
}

.access-request-image {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    border: 1px solid var(--srpc-border);
    border-radius: 14px;
    background: rgba(0,0,0,0.28);
}

.access-review-stamp {
    min-height: 210px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 24px;
    border: 2px solid rgba(247, 223, 155, 0.65);
    border-radius: 14px;
    background: rgba(0,0,0,0.22);
    color: var(--srpc-gold-light);
    text-align: center;
    transform: rotate(-2deg);
}

.access-review-stamp strong {
    display: inline-block;
    padding: 8px 18px;
    border: 3px solid currentColor;
    border-radius: 10px;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
}

.access-review-stamp span {
    color: var(--srpc-muted);
    font-weight: 700;
}

.access-review-stamp-approved strong {
    color: #9fe0ad;
}

.access-review-stamp-rejected strong {
    color: #ffd1cf;
}

.access-review-form {
    margin-top: 14px;
}


/* V8.2.12 member profile */
.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 24px;
}

.profile-detail-list {
    display: grid;
    gap: 12px;
    margin: 16px 0;
}

.profile-detail-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--srpc-border);
}

.profile-detail-list span {
    color: var(--srpc-muted);
}

.profile-detail-list strong {
    text-align: right;
}

.snumber-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.snumber-placeholder table {
    opacity: 0.34;
    filter: blur(1px);
}

.profile-data-table {
    overflow-x: auto;
}

.profile-data-table table {
    opacity: 1;
    filter: none;
}

.snumber-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0,0,0,0.38);
    color: var(--srpc-gold-light);
    font-size: 1.45rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.02em;
}

@media (max-width: 760px) {
    .access-request-card {
        grid-template-columns: 1fr;
    }

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

    .profile-detail-list div {
        display: grid;
    }

    .profile-detail-list strong {
        text-align: left;
    }
}
