:root {
    color-scheme: light;
    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-muted: #f8f9ff;
    --ink: #111827;
    --ink-soft: #4b5563;
    --line: #dbe1ee;
    --brand: #cf1e2f;
    --brand-strong: #143d78;
    --accent: #2d68b6;
    --danger: #dc2626;
    --warning: #d97706;
    --ok: #15803d;
    --radius: 14px;
    --shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top right, #f8dee2 0%, #f6f8fc 38%, #edf3fe 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 100% - 2rem);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
    background: rgba(244, 246, 251, 0.82);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 58px;
}

.brand-text strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
}

.brand-text small {
    color: var(--ink-soft);
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-shell {
    min-width: 0;
}

.site-nav a {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    color: var(--ink-soft);
    font-weight: 500;
}

.site-nav a:hover {
    background: #e8efff;
    color: var(--brand-strong);
}

.site-nav a.nav-home-link {
    color: var(--brand);
    font-weight: 700;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font-weight: 600;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
    background: #e8efff;
    color: var(--brand-strong);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    display: none;
    min-width: 220px;
    padding: 0.45rem;
    border: 1px solid #d5e3f7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(17, 44, 79, 0.16);
    z-index: 30;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: grid;
}

.nav-dropdown-menu a {
    border-radius: 8px;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #eef4ff;
}

.pcl-about-page {
    max-width: 920px;
    margin: 0 auto;
}

.pcl-about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.pcl-about-grid div {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    border: 1px solid #d7e4f7;
    border-radius: 12px;
    background: #f4f8ff;
}

.pcl-about-grid strong {
    color: var(--brand-strong);
}

.pcl-about-grid span {
    color: #5c799d;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-chip {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: right;
}

.user-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.user-role {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.nav-toggle {
    display: none;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--brand-strong);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-main {
    min-height: calc(100vh - 160px);
}

.hero {
    padding: 3.5rem 0;
}

.pcl-home-hero {
    position: relative;
    isolation: isolate;
    min-height: 520px;
    background-image: linear-gradient(120deg, rgba(243, 247, 255, 0.96), rgba(255, 238, 241, 0.9)), var(--pcl-home-background, none);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.pcl-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, rgba(20, 61, 120, 0.08), rgba(207, 30, 47, 0.12));
}

.pcl-home-hero-copy {
    position: relative;
    z-index: 1;
}

.pcl-previous-module {
    min-height: 360px;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    border-color: #c8daf6;
}

.pcl-previous-module-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.7rem;
}

.pcl-previous-module-head h2 {
    margin: 0.2rem 0 0;
}

.pcl-module-count {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-strong);
    color: #fff;
    font-weight: 800;
}

.pcl-module-lede {
    margin-top: 0.75rem !important;
}

.pcl-previous-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.pcl-previous-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 0.65rem;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid #d7e4f7;
    border-radius: 10px;
    background: #f5f9ff;
}

.pcl-previous-image {
    width: 74px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
}

.pcl-previous-image-placeholder,
.slider-image-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-strong), var(--brand));
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
}

.pcl-previous-item span {
    color: var(--ok);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pcl-previous-item h3 {
    margin: 0.1rem 0 0;
    font-size: 0.9rem;
}

.pcl-previous-placeholder {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    padding: 1rem 0.4rem;
    text-align: center;
}

.home-event-slider {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #091126;
    box-shadow: 0 18px 42px rgba(9, 17, 38, 0.2);
}

.slider-head {
    position: absolute;
    top: 1.2rem;
    left: 1.4rem;
    right: 1.4rem;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.slider-head h2 {
    margin: 0.25rem 0 0;
    color: #fff;
}

.slider-head .eyebrow {
    color: #7fa7ff;
}

.slider-controls .btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(8, 18, 40, 0.38);
}

.slider-controls {
    display: flex;
    gap: 0.45rem;
}

.slider-track {
    position: relative;
    min-height: 500px;
}

.slider-slide {
    display: none;
    position: relative;
    min-height: 500px;
    isolation: isolate;
}

.slider-slide.active {
    display: grid;
}

.slider-image-wrap {
    position: absolute;
    inset: 0;
    z-index: -3;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background-color: #17274c;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slider-image {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.slider-image-placeholder {
    min-height: 0;
    height: 100%;
    background: linear-gradient(135deg, #143d78 0%, #275db0 52%, #cf1e2f 100%);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.slider-slide-placeholder .slider-image-wrap {
    background: linear-gradient(135deg, #143d78 0%, #275db0 52%, #cf1e2f 100%);
}

.slider-slide-placeholder .slider-overlay {
    background: linear-gradient(90deg, rgba(20, 61, 120, 0.72), rgba(207, 30, 47, 0.42));
}

.home-event-placeholder {
    border-color: #c8daf6;
    background: linear-gradient(135deg, #eef4ff 0%, #ffffff 54%, #fff0f2 100%);
}

.featured-placeholder-art {
    min-height: 150px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #143d78 0%, #275db0 52%, #cf1e2f 100%);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(5, 12, 29, 0.94) 0%, rgba(8, 17, 39, 0.72) 52%, rgba(8, 17, 39, 0.42) 100%), linear-gradient(0deg, rgba(5, 12, 29, 0.82), transparent 60%);
}

.slider-date-badge {
    position: absolute;
    top: 7rem;
    left: 1.5rem;
    z-index: 2;
    width: 108px;
    min-height: 116px;
    padding: 0.8rem 0.65rem;
    display: grid;
    align-content: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 14px;
    color: #fff;
    text-align: center;
    background: rgba(10, 20, 45, 0.3);
    backdrop-filter: blur(8px);
}

.slider-date-badge strong,
.slider-date-badge span {
    position: relative;
    z-index: 1;
}

.slider-date-badge strong {
    font-family: "Montserrat", sans-serif;
    font-size: 1.15rem;
    line-height: 1.1;
}

.slider-date-badge span {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: #91b6ff;
    font-weight: 800;
}

.slider-content {
    position: absolute;
    left: 10rem;
    right: 4rem;
    bottom: 4.6rem;
    max-width: 760px;
    color: #fff;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(4, 13, 31, 0.68);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(3px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.86);
    overflow: visible;
}

.slider-content h3 {
    margin: 0;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.slider-content p {
    margin: 0;
}

.slider-kicker {
    margin-bottom: 0.55rem !important;
    color: #dbe8ff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.slider-meta {
    margin-top: 0.8rem !important;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
}

.slider-description {
    max-width: 58ch;
    margin-top: 0.65rem !important;
    color: #ffffff;
    line-height: 1.55;
}

.slider-actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.slider-actions .btn-primary {
    background: #2d68f3;
    color: #fff;
}

.btn-light-outline {
    border: 1px solid rgba(255, 255, 255, 0.58);
    color: #fff;
    background: rgba(7, 15, 34, 0.62);
    text-shadow: none;
}

.slider-dots {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 5;
    margin-top: 0;
    display: flex;
    gap: 0.45rem;
    justify-content: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.slider-dot.active {
    background: #2d68f3;
}

.home-previous-band {
    padding-bottom: 1rem;
}

.previous-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.previous-event-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.8rem;
    align-items: center;
    padding: 0.75rem;
}

.previous-event-image,
.previous-event-placeholder {
    width: 110px;
    height: 82px;
    object-fit: cover;
    border-radius: 10px;
}

.previous-event-placeholder,
.featured-placeholder-art {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-strong), var(--brand));
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.event-status-label {
    display: inline-block;
    color: var(--ok);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.previous-event-card h3 {
    margin: 0.15rem 0 0;
    font-size: 0.98rem;
}

.event-placeholder-card,
.home-event-placeholder {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.72);
}

.event-placeholder-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 1.4rem;
}

.placeholder-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    background: #e8effd;
    border: 2px solid var(--brand);
    color: var(--brand);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
}

.home-featured-band {
    padding-top: 1rem;
}

.home-event-placeholder {
    min-height: 300px;
    display: grid;
    align-content: center;
    gap: 0.5rem;
}

.featured-placeholder-art {
    min-height: 120px;
    border-radius: 12px;
    margin-top: 0.8rem;
    opacity: 0.88;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.eyebrow {
    display: inline-block;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.hero h1 {
    margin: 0.8rem 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 2.5vw, 3.2rem);
    line-height: 1.08;
}

.lede {
    color: var(--ink-soft);
    font-size: 1.06rem;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-panel {
    border: 1px solid #cae2ff;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.hero-panel ul {
    padding-left: 1.1rem;
    margin: 0.8rem 0 0;
}

.section {
    padding: 1.5rem 0 3rem;
}

.section-narrow {
    padding-top: 2rem;
}

.pcl-qr-event-select {
    display: grid;
    gap: 0.45rem;
    max-width: 34rem;
    margin: 1.25rem 0;
    font-weight: 700;
    color: var(--ink);
}

.pcl-qr-event-select select {
    min-height: 2.75rem;
    border: 1px solid #b9cce5;
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

#pcl-qr-reader {
    min-height: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
    overflow: hidden;
}

#pcl-qr-feedback {
    min-height: 1.5rem;
    margin-top: 0.75rem;
}

.section-head h1,
.section-head h2 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

.section-head p {
    color: var(--ink-soft);
    margin: 0.5rem 0 1.2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 1.1rem;
}

.card h2,
.card h3 {
    margin: 0 0 0.65rem;
    font-family: "Montserrat", sans-serif;
}

.card p {
    color: var(--ink-soft);
    margin: 0;
}

.news-meta {
    font-size: 0.82rem;
    color: #6b7280;
}

.news-single {
    max-width: 900px;
}

.news-featured-image {
    margin: 0.8rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.news-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-content {
    color: var(--ink-soft);
    line-height: 1.65;
}

.module-card {
    display: block;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: #99c2ff;
}

.stat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-stat-grid {
    margin-top: 1rem;
}

.admin-chart-grid {
    margin-top: 1rem;
}

.admin-chart-grid .card {
    min-height: 300px;
}

.admin-chart-grid canvas {
    margin-top: 0.6rem;
}

.chart-fallback {
    margin-top: 0.75rem;
    color: var(--warning);
    font-weight: 600;
}

.admin-queue-preview {
    margin-top: 1rem;
}

.stat-card p {
    color: var(--brand);
    font-size: 1.8rem;
    font-weight: 700;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.table-wrap > table {
    min-width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid var(--line);
    text-align: left;
    padding: 0.75rem;
    vertical-align: top;
    font-size: 0.93rem;
}

.data-table th {
    color: var(--ink-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.data-table tbody tr:hover {
    background: #f8fbff;
}

.pcl-filter-bar {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.9rem 0;
    align-items: end;
}

.pcl-filter-bar input,
.pcl-filter-bar select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    background: #fff;
}

.pcl-hotel-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.6rem;
    margin: 0.8rem 0 1rem;
}

.pcl-hotel-filter-bar input,
.pcl-hotel-filter-bar select {
    min-width: 190px;
    flex: 1 1 190px;
}

.pcl-hotel-actions {
    min-width: 190px;
}

.pcl-hotel-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.pcl-hotel-action-buttons .btn {
    margin: 0;
}

.pcl-hotel-edit-form {
    margin-top: 0.5rem;
}

.pcl-room-count {
    font-weight: 700;
    color: #166534;
}

.pcl-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: grid;
    place-items: center;
    padding: 1rem;
    z-index: 9999;
}

.pcl-modal[hidden] {
    display: none;
}

.pcl-modal-panel {
    width: min(760px, 100%);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
}

.pcl-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.pcl-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.pcl-move-details {
    display: grid;
    gap: 0.75rem;
    max-height: 320px;
    overflow-y: auto;
}

.pcl-move-detail-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.4rem;
    border: 1px solid #d9e2f1;
    border-radius: 10px;
    padding: 0.75rem;
}

.pcl-move-detail-card div {
    display: flex;
    flex-direction: column;
}

.pcl-move-detail-card span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.pcl-hotel-pagination {
    align-items: center;
    margin-top: 1rem;
}

.pcl-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.9rem;
    flex-wrap: wrap;
}

.pcl-pagination-links {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pcl-pagination-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    background: #fff;
}

.pcl-pagination-links a.current {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.status {
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-block;
}

.status.pending_payment {
    background: #ffedd5;
    color: var(--warning);
}

.status.for_approval {
    background: #dbeafe;
    color: var(--brand-strong);
}

.status.queued,
.status.approved {
    background: #dcfce7;
    color: var(--ok);
}

.status.rejected {
    background: #fee2e2;
    color: var(--danger);
}

.btn {
    border: 0;
    border-radius: 10px;
    padding: 0.62rem 0.92rem;
    cursor: pointer;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-strong);
}

.btn-secondary {
    background: #334155;
    color: #fff;
}

.btn-outline {
    border: 1px solid #9bbcff;
    color: var(--brand-strong);
    background: #f8fbff;
}

.btn-sm {
    padding: 0.45rem 0.62rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 0.8rem 1.2rem;
}

.form-card {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

label {
    display: grid;
    gap: 0.45rem;
    font-weight: 600;
    color: #1f2937;
}

label small {
    color: var(--ink-soft);
    font-weight: 400;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #b8c7e3;
    border-radius: 10px;
    padding: 0.62rem 0.7rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 1px;
}

.subsection {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    background: var(--surface-muted);
}

.subsection-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.subsection-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.form-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.form-feedback {
    margin: 0;
    min-height: 1.2em;
    font-weight: 600;
}

.form-feedback.error {
    color: var(--danger);
}

.form-feedback.success {
    color: var(--ok);
}

.account-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    color: var(--ink-soft);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 35;
}

.modal.open {
    display: flex;
}

.modal-card {
    width: min(560px, 100%);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.proof-preview {
    border: 1px dashed #9fb8e6;
    border-radius: 10px;
    min-height: 190px;
    display: grid;
    place-items: center;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.proof-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    min-height: 74px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

/* Theme login page */
.pcl-auth-layout {
    min-height: calc(100vh - 154px);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    border-top: 1px solid var(--line);
}

.pcl-auth-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 38%),
        linear-gradient(132deg, var(--brand-strong) 0%, #2259a6 55%, var(--brand) 100%);
}

.pcl-auth-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 27, 49, 0.5), rgba(10, 27, 49, 0.2));
}

.pcl-auth-overlay {
    position: absolute;
    inset: auto -15% -40% auto;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}

.pcl-auth-content {
    position: absolute;
    z-index: 2;
    left: 8%;
    right: 8%;
    bottom: 12%;
    color: #fff;
}

.pcl-auth-content p {
    margin: 0;
    font-size: 1.25rem;
}

.pcl-auth-content h1 {
    margin: 0.4rem 0 0.7rem;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
}

.pcl-auth-content span {
    font-size: 1.2rem;
}

.pcl-auth-panel {
    background: #fff;
    display: grid;
    place-items: center;
    padding: 1.2rem;
}

.pcl-auth-card {
    width: min(460px, 100%);
    border-color: #d5e3f7;
}

.pcl-auth-logo {
    width: 84px;
    height: 84px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 20% 20%, #ffffff 0%, #e8effd 32%, var(--brand-strong) 100%);
    border: 3px solid var(--brand);
    color: var(--brand);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pcl-auth-card h2 {
    text-align: center;
    color: var(--brand-strong);
    margin-bottom: 1rem;
}

.pcl-auth-form {
    display: grid;
    gap: 0.8rem;
}

.pcl-auth-form label {
    color: #4b5e80;
}

.pcl-auth-form input {
    border-color: #c8d8ef;
    border-radius: 10px;
    min-height: 44px;
}

.pcl-auth-form input:focus {
    outline: 2px solid rgba(207, 30, 47, 0.24);
}

.pcl-auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.pcl-auth-remember input {
    width: auto;
    min-height: auto;
}

.pcl-auth-form .btn-primary {
    width: 100%;
}

/* Theme account page */
.section-tight {
    padding-top: 1rem;
}

.pcl-account-grid {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 1.25rem;
    align-items: start;
}

.pcl-account-left,
.pcl-account-right .card,
.pcl-account-balance,
.pcl-account-profile,
.pcl-account-services {
    border-color: #d7e4f7;
}

.pcl-account-left {
    text-align: center;
}

.pcl-account-right {
    display: grid;
    gap: 1.25rem;
}

.pcl-avatar-large {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.7rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, var(--brand), var(--brand-strong));
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.pcl-account-left h2 {
    margin-bottom: 0.2rem;
    color: var(--brand-strong);
}

.pcl-account-left p {
    margin-bottom: 0.3rem;
}

.pcl-account-left > span {
    display: inline-block;
    background: #ecf4ff;
    color: var(--brand-strong);
    border: 1px solid #c5daf8;
    border-radius: 999px;
    padding: 0.24rem 0.7rem;
    font-weight: 700;
    font-size: 0.86rem;
}

.pcl-account-nav {
    margin-top: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pcl-account-nav a {
    text-align: left;
    padding: 0.58rem 0.72rem;
    border-radius: 10px;
    color: #446892;
    font-weight: 600;
}

.pcl-account-left-qr {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #dbe8fa;
}

.pcl-account-left-qr h3,
.pcl-account-left-qr p {
    margin: 0;
}

.pcl-account-left-qr h3 {
    color: var(--brand-strong);
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
}

.pcl-account-qr-image {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
}

.pcl-account-qr-image img {
    display: block;
    width: 184px;
    height: 184px;
    padding: 0.35rem;
    border: 1px solid #c9dbf4;
    border-radius: 8px;
    background: #fff;
}

.pcl-account-qr-image small {
    color: #5a6b85;
}

.pcl-account-nav a:hover,
.pcl-account-nav a.active {
    color: #fff;
    background: linear-gradient(130deg, var(--brand), var(--brand-strong));
}

.pcl-account-main {
    display: grid;
    gap: 1.25rem;
}

.pcl-account-main .card,
.pcl-account-right .card {
    margin: 0;
}

.pcl-account-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #fff;
    background: linear-gradient(120deg, #d92438 0%, #bf1c2f 42%, var(--brand-strong) 100%);
}

.pcl-account-balance h1 {
    color: #fff;
    margin-bottom: 0.2rem;
}

.pcl-account-balance p,
.pcl-account-balance small {
    color: rgba(255, 255, 255, 0.93);
}

.pcl-account-balance-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.pcl-account-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.pcl-account-metric-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.pcl-account-balance-right strong {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.pcl-account-balance .btn-primary {
    background: #fff;
    color: var(--brand-strong);
}

.pcl-account-profile-head {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: flex-start;
}

.pcl-profile-editor {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e0eaf7;
}

.pcl-profile-editor summary {
    display: inline-flex;
    cursor: pointer;
    list-style: none;
}

.pcl-profile-editor summary::-webkit-details-marker {
    display: none;
}

.pcl-profile-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.7rem;
    align-items: end;
    margin-top: 0.8rem;
}

.pcl-profile-form label {
    color: #496987;
}

.pcl-profile-form input {
    min-height: 42px;
}

.pcl-account-profile-head p {
    color: var(--brand);
    font-weight: 700;
}

.pcl-member-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    background: #edf4ff;
    border: 1px solid #bdd4f3;
    color: var(--brand-strong);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.pcl-account-stats {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.pcl-account-stats div {
    border: 1px solid #d9e7fa;
    border-radius: 12px;
    background: #f4f8ff;
    text-align: center;
    padding: 0.6rem;
}

.pcl-account-stats label {
    color: #5878a0;
    font-size: 0.9rem;
    font-weight: 600;
}

.pcl-account-stats strong {
    color: var(--brand-strong);
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
}

.pcl-account-services .pcl-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.pcl-account-services .pcl-services-grid a {
    display: block;
    width: 100%;
    min-height: 112px;
    padding: 1rem 1.15rem;
    border: 1px solid #d9e6f8;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,245,255,0.9));
    text-decoration: none;
    color: #133763;
    font-weight: 700;
    box-shadow: none;
}

.pcl-account-services .pcl-services-grid strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--brand-strong);
}

.pcl-account-services .pcl-services-grid span {
    display: block;
    font-size: 0.97rem;
    line-height: 1.5;
    color: #607a9c;
    font-weight: 400;
}

.pcl-account-services .pcl-services-grid strong {
    color: var(--brand-strong);
}

.pcl-account-services .pcl-services-grid span {
    color: #5c799d;
}

.pcl-account-services .pcl-services-grid a:hover {
    border-color: var(--brand);
}

.pcl-account-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f8ff;
    border: 1px solid #deebfb;
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
}

.pcl-account-list li strong {
    color: var(--brand);
    font-family: "Montserrat", sans-serif;
}

.pcl-account-total-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.75rem 0 1rem;
}

.pcl-account-total-card {
    padding: 0.8rem;
    border: 1px solid #deebfb;
    border-radius: 10px;
    background: #f5f8ff;
}

.pcl-account-total-card span {
    display: block;
    color: #607a9c;
    font-size: 0.8rem;
    font-weight: 700;
}

.pcl-account-total-card strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--brand-strong);
    font-size: 1.45rem;
}

.pcl-account-qr-list li {
    align-items: center;
    gap: 0.75rem;
}

.pcl-account-qr-list li span {
    line-height: 1.4;
}

.pcl-account-qr-list li small {
    color: #5a6b85;
}

/* Shortcode dashboard theming */
.pcl-dashboard-intro {
    margin-bottom: 1rem;
    border-color: #d7e4f7;
    background: linear-gradient(150deg, #ffffff 0%, #eef4ff 100%);
}

.pcl-dashboard-intro h1 {
    margin: 0.35rem 0;
    color: var(--brand-strong);
}

.pcl-dashboard-intro p:last-child {
    margin-top: 0.2rem;
}

.pcl-dashboard-theme .pcler-wrap {
    max-width: 100%;
    margin: 0;
    border: 1px solid #d7e4f7;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1rem;
    background: #ffffff;
}

.pcl-dashboard-theme .pcler-wrap h2,
.pcl-dashboard-theme .pcler-wrap h3 {
    color: var(--brand-strong);
    font-family: "Montserrat", sans-serif;
}

.pcl-dashboard-theme .pcler-wrap h2 {
    margin-top: 0;
}

.pcl-dashboard-theme .pcler-muted {
    color: #607a9c;
}

.pcl-dashboard-theme .pcler-table {
    margin-top: 0.8rem;
}

.pcl-dashboard-theme .pcler-table th,
.pcl-dashboard-theme .pcler-table td {
    border-bottom: 1px solid #dbe8fa;
    padding: 0.66rem;
}

.pcl-dashboard-theme .pcler-table th {
    color: #5b7699;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f4f8ff;
}

.pcl-dashboard-theme .pcler-table tbody tr:hover {
    background: #f6f9ff;
}

.pcl-dashboard-theme .pcler-status {
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    font-weight: 700;
}

.pcl-dashboard-theme .pcler-pending_payment {
    background: #ffedd5;
    color: #a14e00;
}

.pcl-dashboard-theme .pcler-for_approval {
    background: #d9e7fb;
    color: #1b4f99;
}

.pcl-dashboard-theme .pcler-rejected {
    background: #fde2e5;
    color: #a81c2a;
}

.pcl-dashboard-theme .pcler-queued,
.pcl-dashboard-theme .pcler-approved {
    background: #dcfce7;
    color: #166534;
}

.pcl-dashboard-theme .pcler-stat-grid {
    gap: 0.7rem;
}

.pcl-dashboard-theme .pcler-stat {
    border: 1px solid #d8e5f8;
    border-radius: 12px;
    background: #f5f9ff;
}

.pcl-dashboard-theme .pcler-stat strong {
    color: #58779f;
}

.pcl-dashboard-theme .pcler-stat span {
    color: var(--brand-strong);
    font-family: "Montserrat", sans-serif;
}

.pcl-dashboard-theme .pcler-attendance-summary .pcler-stat span {
    color: var(--brand);
}

.pcl-dashboard-theme .pcl-filter-bar {
    margin: 0.9rem 0;
}

.pcl-dashboard-theme .pcl-filter-bar .button,
.pcl-dashboard-theme .pcler-wrap .button,
.pcl-dashboard-theme .pcler-wrap button {
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid #d4e2f7;
    background: #ffffff;
    color: var(--brand-strong);
    font-weight: 700;
    padding: 0.45rem 0.8rem;
}

.pcl-dashboard-theme .pcl-filter-bar .button-primary,
.pcl-dashboard-theme .pcler-wrap .button-primary,
.pcl-dashboard-theme .pcler-wrap button.button-primary,
.pcl-dashboard-theme .pcler-wrap .btn-primary,
.pcl-dashboard-theme .pcler-wrap button[type="submit"] {
    background: linear-gradient(130deg, var(--brand), var(--brand-strong));
    border-color: transparent;
    color: #fff;
}

.pcl-dashboard-theme .pcler-wrap .button:hover,
.pcl-dashboard-theme .pcler-wrap button:hover {
    transform: translateY(-1px);
}

.pcl-dashboard-theme .pcler-modal-content {
    border-radius: 14px;
    border: 1px solid #d5e3f7;
}

.pcl-dashboard-theme .pcler-modal-content h3 {
    margin-top: 0;
}

.pcl-dashboard-theme .pcl-pagination-links a.current {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
}

.pcl-dashboard-theme .admin-stat-grid {
    margin-top: 0;
}

.pcl-dashboard-theme .module-grid {
    margin-top: 1rem;
}

.pcl-dashboard-theme .module-grid .module-card {
    border-color: #d7e4f7;
    background: linear-gradient(170deg, #ffffff, #eef4ff);
}

.pcl-dashboard-theme .module-grid .module-card h3 {
    color: var(--brand-strong);
}

.pcl-dashboard-theme .module-grid .module-card p {
    color: #5b789e;
}

.pcl-dashboard-theme .admin-queue-preview {
    margin-top: 1rem;
}

.pcl-dashboard-theme .admin-queue-preview > p {
    margin-top: -0.2rem;
    margin-bottom: 0.7rem;
    color: #5f7a9e;
}

.pcl-dashboard-theme .data-table td .status {
    font-size: 0.75rem;
}

.queue-column-note {
    display: block;
    color: #7890ad;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

/* Registration form theming */
.pcl-registration-theme .pcler-wrap {
    max-width: 100%;
    margin: 0;
    padding: 1.2rem;
    border: 1px solid #d7e4f7;
    border-radius: 16px;
    box-shadow: var(--shadow);
    background: #fff;
}

.pcl-registration-theme .pcler-wrap > h2 {
    margin-top: 0;
    color: var(--brand-strong);
    font-family: "Montserrat", sans-serif;
}

.pcl-registration-theme .pcler-wrap label {
    color: #496987;
    font-weight: 700;
}

.pcl-registration-theme .pcler-wrap input,
.pcl-registration-theme .pcler-wrap select,
.pcl-registration-theme .pcler-wrap textarea {
    border: 1px solid #c8d8ef;
    border-radius: 10px;
    min-height: 44px;
    background: #fff;
    color: var(--ink);
}

.pcl-registration-theme .pcler-wrap input:focus,
.pcl-registration-theme .pcler-wrap select:focus,
.pcl-registration-theme .pcler-wrap textarea:focus {
    outline: 2px solid rgba(207, 30, 47, 0.18);
    border-color: var(--brand);
}

.pcl-registration-theme .pcler-grid {
    gap: 0.85rem;
    padding: 0.9rem;
    border: 1px solid #dce8f8;
    border-radius: 12px;
    background: #f5f9ff;
}

.pcl-registration-theme .pcler-table-block {
    padding: 1rem;
    border: 1px solid #dce8f8;
    border-radius: 12px;
    background: #fff;
}

.pcl-registration-theme .pcler-table-header {
    margin-bottom: 0.7rem;
}

.pcl-registration-theme .pcler-table-header h3 {
    color: var(--brand-strong);
    font-family: "Montserrat", sans-serif;
}

.pcl-registration-theme .pcler-table {
    margin-top: 0;
}

.pcl-registration-theme .pcler-table th,
.pcl-registration-theme .pcler-table td {
    border-bottom-color: #dbe8fa;
    padding: 0.68rem;
}

.pcl-registration-theme .pcler-table th {
    background: #f4f8ff;
    color: #5b7699;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pcl-registration-theme .pcler-actions {
    padding-top: 0.9rem;
    border-top: 1px solid #e0eaf7;
}

.pcl-registration-theme .pcler-wrap .button,
.pcl-registration-theme .pcler-wrap button {
    min-height: 42px;
    border: 1px solid #c8d8ef;
    border-radius: 10px;
    background: #fff;
    color: var(--brand-strong);
    font-weight: 700;
    padding: 0.5rem 0.8rem;
}

.pcl-registration-theme .pcler-wrap .button-primary,
.pcl-registration-theme .pcler-wrap button.button-primary {
    border-color: transparent;
    background: linear-gradient(130deg, var(--brand), var(--brand-strong));
    color: #fff;
}

.pcl-registration-theme .pcler-wrap .button:hover,
.pcl-registration-theme .pcler-wrap button:hover {
    transform: translateY(-1px);
}

.pcl-registration-theme #pcler_feedback,
.pcl-registration-theme #pcler_feedback.pcler-error,
.pcl-registration-theme #pcler_feedback.pcler-success {
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
}

.pcl-registration-theme .pcler-error {
    background: #fff1f2;
}

.pcl-registration-theme .pcler-success {
    background: #ecfdf3;
}

.coordinator-event-list {
    margin-bottom: 1rem;
    border-color: #d7e4f7;
}

.coordinator-event-list-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.coordinator-event-list-head h1 {
    margin: 0.25rem 0;
    color: var(--brand-strong);
}

.coordinator-event-list .data-table td {
    vertical-align: middle;
}

.pcler-event-context {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.8rem;
    border: 1px solid #d7e4f7;
    border-radius: 12px;
    background: #f4f8ff;
    color: var(--brand-strong);
}

.pcler-coordinator-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.8rem;
}

.pcler-coordinator-actions .button[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
    background: #e5eaf2;
    color: #667085;
    border-color: #d5dce7;
}

.pcl-dashboard-theme .pcler-table td:last-child {
    position: relative;
    overflow: visible;
}

.pcl-dashboard-theme .pcler-qr-popup {
    position: relative;
    display: inline-block;
}

.pcl-dashboard-theme .pcler-qr-popup summary {
    list-style: none;
}

.pcl-dashboard-theme .pcler-qr-popup summary::-webkit-details-marker {
    display: none;
}

.pcl-dashboard-theme .pcler-qr-popup-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 220px;
    max-width: min(320px, 80vw);
    background: #ffffff;
    border: 1px solid #d7e4f7;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(17, 44, 79, 0.16);
    padding: 0.6rem;
    z-index: 25;
}

.pcl-dashboard-theme .pcler-qr-popup-list {
    display: grid;
    gap: 0.4rem;
}

.pcl-dashboard-theme .pcler-qr-popup-list .button {
    display: block;
    width: 100%;
    text-align: left;
}

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand toggle"
            "actions actions";
        position: relative;
        min-height: 0;
        gap: 0.55rem 1rem;
        padding: 0.65rem 0 0.5rem;
    }

    .brand {
        grid-area: brand;
        min-width: 0;
    }

    .nav-shell {
        grid-area: toggle;
        display: flex;
        justify-self: end;
        align-self: center;
        min-width: auto;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 40px;
        border: 1px solid #9bbcff;
        border-radius: 8px;
        background: #f8fbff;
        padding: 0;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 21px;
        margin: 3px 0;
    }

    .nav-shell .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        justify-content: flex-start;
        display: none;
        width: min(320px, calc(100vw - 2rem));
        max-height: calc(100vh - 7rem);
        overflow-y: auto;
        padding: 0.55rem;
        border: 1px solid #d5e3f7;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 24px rgba(17, 44, 79, 0.1);
        z-index: 40;
    }

    .nav-shell .site-nav.open {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-trigger {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 0.25rem;
    }

    .header-actions {
        grid-area: actions;
        min-width: 0;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 0.35rem;
        border-top: 1px solid #e0e7f1;
    }

    .user-chip {
        min-width: 0;
        flex: 1 1 auto;
        text-align: left;
    }

    .user-name,
    .user-role {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-grid,
    .cards-grid,
    .form-grid,
    .stat-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

    .slider-slide {
        grid-template-columns: 1fr;
    }

    .slider-image {
        max-height: 240px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        padding: 0.8rem 0;
    }

    .pcl-account-grid {
        grid-template-columns: 1fr;
    }

    .pcl-account-right {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .pcl-account-services .pcl-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pcl-auth-layout {
        grid-template-columns: 1fr;
    }

    .pcl-auth-hero {
        min-height: 36vh;
    }

    .pcl-previous-module {
        min-height: 0;
    }

    .previous-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pcl-dashboard-theme .pcler-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .pcl-account-balance {
        flex-direction: column;
        align-items: flex-start;
    }

    .pcl-account-balance-right {
        text-align: left;
        align-items: flex-start;
    }

    .pcl-account-profile-head {
        flex-direction: column;
    }

    .pcl-account-stats,
    .pcl-account-services .pcl-services-grid,
    .pcl-account-right {
        grid-template-columns: 1fr;
    }

    .pcl-auth-content {
        left: 6%;
        right: 6%;
        bottom: 10%;
    }

    .pcl-auth-content p,
    .pcl-auth-content span {
        font-size: 1rem;
    }

    .previous-events-grid {
        grid-template-columns: 1fr;
    }

    .pcl-home-hero {
        min-height: 0;
        background-image: linear-gradient(145deg, rgba(243, 247, 255, 0.97), rgba(255, 238, 241, 0.96)), var(--pcl-home-background, none);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .pcl-previous-item {
        grid-template-columns: 64px 1fr;
    }

    .pcl-previous-image {
        width: 64px;
        height: 52px;
    }

    .slider-image-placeholder {
        min-height: 210px;
    }

    .home-event-slider {
        border-radius: 12px;
    }

    .slider-head {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        min-height: 92px;
        padding: 1rem;
        align-items: flex-start;
        background: #091126;
    }

    .slider-head h2 {
        font-size: 1.25rem;
        line-height: 1.1;
    }

    .slider-controls {
        flex-shrink: 0;
    }

    .slider-controls .btn {
        min-height: 34px;
        padding: 0.35rem 0.55rem;
        font-size: 0.76rem;
    }

    .slider-track,
    .slider-slide {
        min-height: 0;
    }

    .slider-date-badge {
        top: 0.9rem;
        left: 0.9rem;
        width: 78px;
        min-height: 82px;
        padding: 0.55rem 0.4rem;
        z-index: 3;
    }

    .slider-date-badge strong {
        font-size: 0.9rem;
    }

    .slider-content {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: 2;
        min-height: 0;
        height: auto;
        padding: 8.3rem 0.85rem 5.2rem;
        max-width: none;
        overflow: visible;
        border-radius: 12px;
        background: rgba(4, 13, 31, 0.76);
    }

    .slider-content h3 {
        font-size: clamp(1.8rem, 8vw, 2.55rem);
        line-height: 1.05;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .slider-kicker {
        max-width: 22ch;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .slider-meta {
        font-size: 0.95rem;
    }

    .slider-kicker,
    .slider-meta,
    .slider-description {
        display: block;
        max-height: none;
        overflow: visible;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .slider-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 0.9rem;
    }

    .slider-actions .btn {
        width: 100%;
        min-height: 44px;
    }

    .slider-image-wrap {
        height: 100%;
        min-height: 0;
    }

    .slider-overlay {
        background: linear-gradient(180deg, rgba(5, 12, 29, 0.42) 0%, rgba(5, 12, 29, 0.62) 42%, rgba(5, 12, 29, 0.94) 100%);
    }

    .slider-dots {
        bottom: 1rem;
    }

    .pcl-profile-form {
        grid-template-columns: 1fr;
    }

    .pcl-profile-form .btn {
        width: 100%;
    }

    .pcl-account-profile-head {
        align-items: stretch;
    }

    .site-nav {
        width: 100%;
        padding: 0.3rem 0;
    }

    .site-nav a {
        flex: 1 1 auto;
        text-align: center;
        min-width: 100px;
    }

    .pcl-dashboard-theme .pcler-stat-grid,
    .pcl-dashboard-theme .pcl-filter-bar {
        grid-template-columns: 1fr;
    }

    .pcl-dashboard-theme .pcler-actions {
        flex-direction: column;
    }

    .pcl-registration-theme .pcler-table {
        min-width: 760px;
    }

    .pcl-registration-theme .pcler-table-block {
        overflow-x: auto;
    }

    .pcl-registration-theme .pcler-actions .button,
    .pcl-registration-theme .pcler-actions button {
        width: 100%;
    }

    .pcl-about-grid {
        grid-template-columns: 1fr;
    }

    .coordinator-event-list .data-table {
        min-width: 760px;
    }

    .pcler-event-context {
        align-items: flex-start;
        flex-direction: column;
    }

    .pcler-coordinator-actions {
        justify-content: flex-start;
    }

    .table-wrap > .data-table,
    .table-wrap > .pcler-table {
        min-width: 720px;
    }

    .data-table th,
    .data-table td,
    .pcler-table th,
    .pcler-table td {
        white-space: nowrap;
    }
}
