:root {
    --jj-ink: #111111;
    --jj-accent: #c46a2d;
    --jj-paper: #f1e6d5;
    --jj-deep: #24150d;
    --jj-cream: #fcf6ee;
    --staff-bg: #f3f6fb;
    --staff-panel: #ffffff;
    --staff-panel-alt: #f8fbff;
    --staff-border: #dbe3ee;
    --staff-ink: #0f172a;
    --staff-muted: #64748b;
    --staff-primary: #1d4f91;
    --staff-primary-dark: #173e72;
    --staff-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body {
    background: radial-gradient(circle at top left, #f7efe3, #ead7bf 45%, #d9b189 100%);
    color: var(--jj-ink);
    font-family: "Manrope", sans-serif;
}

body.staff-ui-body {
    background:
        radial-gradient(circle at top left, rgba(76, 122, 175, 0.12), transparent 26%),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.05), transparent 22%),
        linear-gradient(180deg, #f6f9fc, #eef3f9 46%, #edf2f7 100%);
    color: var(--staff-ink);
}

.staff-shell {
    min-height: 100vh;
}

.staff-shell-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 1.25rem 0.9rem;
    background: rgba(246, 249, 252, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(219, 227, 238, 0.9);
}

.staff-shell-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.staff-shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--staff-ink);
    text-decoration: none;
}

.staff-shell-brand:hover {
    color: var(--staff-ink);
}

.staff-shell-brand strong {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 1.05rem;
    line-height: 1.1;
}

.staff-shell-brand small {
    display: block;
    margin-top: 0.12rem;
    color: var(--staff-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.staff-shell-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f172a, #1d4f91);
    color: white;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.staff-shell-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.staff-shell-utility {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--staff-border);
    color: var(--staff-ink);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.staff-shell-utility:hover {
    color: var(--staff-ink);
    border-color: #bfd0e2;
    background: white;
}

.staff-shell-utility-danger {
    color: #8b1e3f;
}

.staff-shell-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    flex: 1 1 520px;
}

.staff-shell-navitem {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.staff-shell-navdropdown {
    align-self: stretch;
}

.staff-shell-navlink {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.58rem 0.9rem;
    border-radius: 11px;
    color: var(--staff-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    background: transparent;
    border: 1px solid transparent;
}

.staff-shell-navlink:hover {
    color: var(--staff-ink);
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--staff-border);
}

.staff-shell-navlink.is-active {
    color: white;
    background: linear-gradient(135deg, var(--staff-primary), var(--staff-primary-dark));
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(29, 79, 145, 0.22);
}

.staff-shell-submenu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    display: none;
    min-width: 240px;
    padding: 0.45rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--staff-border);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    z-index: 20;
}

.staff-shell-navdropdown:hover .staff-shell-submenu,
.staff-shell-navdropdown:focus-within .staff-shell-submenu {
    display: grid;
    gap: 0.3rem;
}

.staff-shell-sublink {
    display: flex;
    align-items: center;
    min-height: 28px;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--staff-border);
    color: var(--staff-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
}

.staff-shell-sublink:hover {
    color: var(--staff-ink);
    border-color: #bfd0e2;
    background: white;
}

.staff-shell-sublink.is-active {
    color: var(--staff-primary-dark);
    border-color: rgba(29, 79, 145, 0.24);
    background: rgba(29, 79, 145, 0.12);
}

.staff-language-form {
    margin: 0;
}

.staff-language-form .form-select {
    min-width: 132px;
    border-radius: 999px;
    border-color: var(--staff-border);
    font-size: 0.82rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.9);
}

.staff-shell-sectionbar {
    margin-top: 0.9rem;
    padding: 0.8rem 0.2rem 0;
    border-top: 1px solid rgba(219, 227, 238, 0.95);
}

.staff-shell-sectionbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.staff-shell-sectiontitle {
    margin: 0;
    color: var(--staff-ink);
    font-family: "Fraunces", serif;
    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    line-height: 1.15;
}

.staff-shell-sectionactions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.staff-shell-contextbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--staff-border);
}

.staff-shell-contextcopy {
    display: grid;
    gap: 0.08rem;
}

.staff-shell-contextlabel {
    color: var(--staff-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.staff-shell-contextcopy strong {
    font-size: 0.96rem;
}

.staff-shell-contextcopy span:last-child {
    color: var(--staff-muted);
    font-size: 0.86rem;
}

.staff-shell-contextnav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.staff-shell-contextnav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.5rem 0.72rem;
    border-radius: 10px;
    background: var(--staff-panel);
    border: 1px solid var(--staff-border);
    color: var(--staff-ink);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
}

.staff-shell-contextnav a:hover {
    border-color: #bfd0e2;
    background: #fbfdff;
}

.staff-shell-main {
    padding: 1rem 1.25rem 1.5rem;
}

.staff-shell-messages {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.staff-shell-content {
    max-width: 1440px;
}

.staff-shell-content-wide {
    max-width: none;
}

.staff-stat-grid {
    display: grid;
    gap: 1rem;
}

.staff-stat-grid-columns {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.staff-stat-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid var(--staff-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 254, 0.96));
    box-shadow: var(--staff-shadow);
}

.staff-stat-card-label {
    color: var(--staff-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.staff-stat-card-value {
    font-family: "Fraunces", serif;
    font-size: 1.85rem;
    line-height: 1;
}

.staff-stat-card-meta {
    color: var(--staff-muted);
    font-size: 0.88rem;
}

.staff-progress-row {
    display: grid;
    gap: 0.5rem;
}

.staff-progress-row .progress {
    height: 0.55rem;
    background: rgba(29, 79, 145, 0.08);
}

.staff-progress-row .progress-bar {
    background: linear-gradient(135deg, var(--staff-primary), #5b88c1);
}

.staff-mini-bars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    align-items: end;
    gap: 0.85rem;
    min-height: 200px;
}

.staff-mini-bar-group {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
}

.staff-mini-bar {
    width: 100%;
    min-height: 20px;
    border-radius: 999px 999px 0.75rem 0.75rem;
    background: linear-gradient(180deg, #79a3d4, var(--staff-primary));
}

.staff-mini-bar-group strong {
    font-size: 0.92rem;
}

.staff-mini-bar-group span {
    color: var(--staff-muted);
    font-size: 0.76rem;
}

.staff-social-chip,
.artist-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    color: var(--staff-primary-dark);
}

.social-platform-icon {
    width: 100%;
    height: 100%;
}

.dropdown-menu {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 16px 36px rgba(17, 17, 17, 0.14);
}

.dropdown-item {
    font-weight: 600;
}

.dropdown-header {
    font-family: "Fraunces", serif;
    color: var(--jj-deep);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.navbar-brand {
    font-family: "Fraunces", serif;
}

.hero-panel {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(90, 49, 18, 0.9));
    color: white;
    box-shadow: 0 20px 60px rgba(17, 17, 17, 0.2);
}

.home-stat-grid {
    display: grid;
    gap: 1rem;
}

.home-stat-card {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.home-stat-label {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.home-stat-copy {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
}

.card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

.auth-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(36, 21, 13, 0.94), rgba(97, 54, 21, 0.86));
    color: white;
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
}

.auth-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 212, 180, 0.18), transparent 30%);
    pointer-events: none;
}

.auth-panel,
.auth-aside {
    position: relative;
    z-index: 1;
}

.auth-panel {
    background: rgba(252, 246, 238, 0.94);
    color: var(--jj-ink);
    border-radius: 1.25rem;
}

.auth-kicker {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.72);
}

.auth-value-list {
    display: grid;
    gap: 0.9rem;
}

.auth-value-item {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.07);
}

.auth-field {
    margin-bottom: 1rem;
}

.auth-field label,
.form-check-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-field input,
.auth-field select,
.auth-field textarea,
.auth-panel input[type="text"],
.auth-panel input[type="email"],
.auth-panel input[type="password"],
.auth-panel input[type="url"],
.auth-panel select,
.auth-panel textarea {
    width: 100%;
    border: 1px solid rgba(36, 21, 13, 0.14);
    border-radius: 0.95rem;
    padding: 0.9rem 1rem;
    background: white;
    color: var(--jj-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus,
.auth-panel input[type="text"]:focus,
.auth-panel input[type="email"]:focus,
.auth-panel input[type="password"]:focus,
.auth-panel input[type="url"]:focus,
.auth-panel select:focus,
.auth-panel textarea:focus {
    border-color: var(--jj-accent);
    box-shadow: 0 0 0 0.2rem rgba(196, 106, 45, 0.18);
    outline: 0;
}

.auth-form .helptext,
.form-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: rgba(17, 17, 17, 0.68);
}

.auth-social-grid {
    display: grid;
    gap: 0.75rem;
}

.auth-choice-grid {
    display: grid;
    gap: 0.85rem;
}

.auth-choice-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.auth-choice-card {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(36, 21, 13, 0.14);
    border-radius: 1rem;
    background: white;
    cursor: pointer;
}

.auth-choice-input {
    padding-top: 0.1rem;
}

.auth-choice-input input {
    accent-color: var(--jj-accent);
}

.auth-choice-copy {
    font-weight: 700;
    line-height: 1.4;
}

.auth-social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    padding: 0.8rem 1rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--jj-deep);
    background: rgba(255, 255, 255, 0.84);
}

.auth-social-link:hover {
    background: white;
}

.staff-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(214, 232, 255, 0.55), transparent 32%),
        radial-gradient(circle at bottom right, rgba(116, 148, 255, 0.26), transparent 28%),
        linear-gradient(135deg, #0b1321, #101d33 48%, #1a2e4f 100%);
    color: #eff4ff;
}

.staff-login-shell {
    max-width: 1100px;
    overflow: hidden;
    border-radius: 1.6rem;
    box-shadow: 0 26px 80px rgba(4, 11, 23, 0.45);
}

.staff-login-aside {
    background: linear-gradient(180deg, rgba(8, 14, 26, 0.96), rgba(16, 29, 51, 0.92));
    color: white;
}

.staff-login-panel {
    background: rgba(247, 250, 255, 0.98);
    color: #10203a;
}

.staff-login-kicker {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.72);
}

.staff-login-note-list {
    display: grid;
    gap: 0.9rem;
}

.staff-login-note {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-public {
    --artist-accent: var(--jj-accent);
}

.artist-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: linear-gradient(140deg, rgba(36, 21, 13, 0.96), rgba(77, 43, 19, 0.88));
    color: white;
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.18);
}

.artist-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--artist-accent) 65%, white), transparent 35%);
    opacity: 0.55;
    pointer-events: none;
}

.artist-hero-content,
.artist-hero-media {
    position: relative;
    z-index: 1;
}

.artist-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.artist-meta-list,
.artist-stat-grid,
.artist-detail-grid,
.artist-gallery-grid,
.artist-benefit-grid,
.artist-tier-grid,
.artist-social-grid {
    display: grid;
    gap: 1rem;
}

.artist-meta-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.artist-meta-chip,
.artist-stat-card,
.artist-detail-card,
.artist-gallery-card,
.artist-benefit-card,
.artist-tier-card,
.artist-social-card {
    border-radius: 1.15rem;
}

.artist-meta-chip {
    padding: 0.8rem 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.artist-stat-grid,
.artist-tier-grid,
.artist-benefit-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.artist-stat-card {
    padding: 1rem;
    background: white;
    box-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
}

.artist-stat-value {
    color: var(--artist-accent);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.artist-stat-label {
    margin-top: 0.35rem;
    color: rgba(17, 17, 17, 0.66);
    font-size: 0.92rem;
}

.artist-surface {
    background: rgba(252, 246, 238, 0.88);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

.artist-surface-dark {
    background: linear-gradient(160deg, rgba(36, 21, 13, 0.96), rgba(59, 33, 16, 0.92));
    color: white;
}

.artist-detail-grid,
.artist-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.artist-detail-card,
.artist-gallery-card,
.artist-benefit-card,
.artist-tier-card,
.artist-social-card {
    padding: 1.15rem;
    background: white;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.07);
}

.artist-social-card .artist-social-icon {
    color: white;
    width: 2.35rem;
    height: 2.35rem;
}

.artist-surface-dark .artist-tier-card,
.artist-surface-dark .artist-social-card {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-gallery-media {
    min-height: 170px;
    border-radius: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: end;
    justify-content: start;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(196, 106, 45, 0.2), rgba(17, 17, 17, 0.08));
    color: var(--jj-deep);
    font-weight: 800;
}

.artist-gallery-media img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    border-radius: 1rem;
}

.artist-tier-price {
    color: var(--artist-accent);
    font-size: 1.5rem;
    font-weight: 800;
}

.artist-tier-meta {
    font-size: 0.88rem;
    color: rgba(17, 17, 17, 0.62);
}

.artist-surface-dark .artist-tier-meta,
.artist-surface-dark .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.artist-link {
    color: var(--artist-accent);
    font-weight: 700;
    text-decoration: none;
}

.artist-link:hover {
    color: color-mix(in srgb, var(--artist-accent) 72%, black);
}

.artist-hero-art {
    min-height: 100%;
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.artist-hero-image {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow: 0 16px 36px rgba(17, 17, 17, 0.18);
}

@media (max-width: 991.98px) {
    .artist-hero-image {
        min-height: 260px;
    }
}

.role-shell {
    gap: 1.1rem;
}

.role-hero {
    position: relative;
    overflow: hidden;
    padding: 1.6rem 1.75rem;
    border-radius: 1.4rem;
    color: white;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.role-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.role-hero > * {
    position: relative;
    z-index: 1;
}

.role-hero-staff {
    background: linear-gradient(180deg, #ffffff, #f8fbff 100%);
    color: var(--staff-ink);
    border: 1px solid var(--staff-border);
    box-shadow: var(--staff-shadow);
}

.role-hero-artist {
    background: linear-gradient(135deg, #23130d, #6f3a1c 52%, #c46a2d 100%);
}

.role-hero-fan {
    background: linear-gradient(135deg, #143227, #1f6256 55%, #63a67b 100%);
}

.role-kicker {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.92;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.role-hero-staff .role-kicker {
    color: var(--staff-primary-dark);
    background: rgba(29, 79, 145, 0.08);
    border-color: rgba(29, 79, 145, 0.12);
}

.role-hero-staff h1,
.role-hero-staff h2,
.role-hero-staff h3,
.role-hero-staff p,
.role-hero-staff .lead {
    color: var(--staff-ink);
}

.role-hero-staff .role-inline-link {
    color: var(--staff-primary);
}

.role-hero-staff .role-inline-link:hover {
    color: var(--staff-primary-dark);
}

.role-hero-aside {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.role-hero-staff .role-hero-aside {
    background: var(--staff-panel-alt);
    border-color: var(--staff-border);
}

.role-hero-staff .role-hero-label,
.role-hero-staff .role-bullet-list,
.role-hero-staff .role-bullet-list li {
    color: var(--staff-muted);
}

.role-hero-label {
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.role-bullet-list {
    padding-left: 1.1rem;
}

.role-bullet-list li + li {
    margin-top: 0.45rem;
}

.role-metric-grid,
.role-note-grid {
    display: grid;
    gap: 1rem;
}

.role-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.role-note-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.role-metric-card,
.role-note-card,
.role-surface-card,
.role-subscription-item {
    border-radius: 1.2rem;
}

.role-metric-card {
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.role-metric-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.role-metric-value {
    margin: 0.35rem 0 0.25rem;
    font-family: "Fraunces", serif;
    font-size: 1.85rem;
    line-height: 1;
}

.role-surface-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

body.staff-ui-body .card {
    box-shadow: var(--staff-shadow);
}

body.staff-ui-body .text-muted,
body.staff-ui-body .form-text,
body.staff-ui-body .small.text-muted {
    color: var(--staff-muted) !important;
}

.role-note-card {
    padding: 1rem;
    background: white;
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.05);
}

.role-action-stack {
    display: grid;
    gap: 0.75rem;
}

.role-multiselect {
    min-height: 12rem;
    padding: 0.6rem;
}

.role-form p {
    margin-bottom: 0.85rem;
}

.role-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}

.role-form input[type="text"],
.role-form input[type="email"],
.role-form input[type="url"],
.role-form input[type="number"],
.role-form input[type="password"],
.role-form input[type="search"],
.role-form textarea,
.role-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7dee8;
    border-radius: 0.85rem;
    padding: 0.72rem 0.85rem;
    background: #fbfdff;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.role-form textarea {
    min-height: 120px;
}

.role-form input:focus,
.role-form textarea:focus,
.role-form select:focus {
    border-color: #35699a;
    box-shadow: 0 0 0 0.18rem rgba(53, 105, 154, 0.12);
    background: white;
    outline: 0;
}

.role-subscription-list {
    display: grid;
    gap: 0.9rem;
}

.role-subscription-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.1rem;
    background: white;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.role-shell-staff .role-metric-value {
    color: #173657;
}

.role-shell-artist .role-metric-value {
    color: #9a4f1f;
}

.role-shell-fan .role-metric-value {
    color: #226c57;
}

.role-inline-link {
    color: #27446e;
    font-weight: 700;
    text-decoration: none;
}

.role-inline-link:hover {
    color: #1b3153;
}

.staff-directory-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 0.75rem;
    width: min(100%, 520px);
}

.staff-directory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
}

.staff-directory-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1 1 980px;
}

.staff-column-selector {
    position: relative;
}

.staff-column-selector summary {
    list-style: none;
}

.staff-column-selector summary::-webkit-details-marker {
    display: none;
}

.staff-column-selector[open] .btn {
    border-color: rgba(23, 54, 87, 0.3);
    background: white;
}

.staff-column-selector-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    z-index: 10;
    display: grid;
    gap: 0.55rem;
    min-width: 220px;
    padding: 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.staff-table-dropdown-form {
    min-width: 280px;
}

.staff-column-selector-menu label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #173657;
    font-size: 0.9rem;
    font-weight: 700;
}

.staff-column-selector-menu input {
    width: 16px;
    height: 16px;
}

.staff-table-dropdown-field {
    display: grid !important;
    gap: 0.35rem;
}

.staff-table-dropdown-field span {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.staff-table-dropdown-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.staff-export-menu a {
    color: #173657;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.staff-export-menu a:hover {
    color: #102843;
}

.staff-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.staff-table-meta,
.staff-pagination-meta,
.staff-per-page-label {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
}

.staff-per-page-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.staff-directory-toolbar .staff-per-page-form {
    justify-content: flex-end;
}

.staff-per-page-form .form-select {
    width: auto;
    min-width: 92px;
}

.staff-directory-table table {
    --bs-table-bg: transparent;
}

.staff-directory-table {
    border: 1px solid var(--staff-border);
    border-radius: 14px;
    overflow: hidden;
    background: white;
}

.staff-directory-table-compact {
    border-radius: 12px;
}

.staff-directory-table-compact tbody td {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.staff-table-shell {
    display: grid;
    gap: 0;
}

.staff-directory-table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

.staff-table-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
}

.staff-table-sort:hover,
.staff-table-sort.is-active {
    color: #173657;
}

.staff-directory-table tbody td {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

.staff-directory-table tbody tr:hover {
    background: rgba(29, 79, 145, 0.035);
}

.staff-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.staff-pagination-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.staff-table-active-filters {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.staff-table-active-filters span {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: #eef4fb;
    color: #173657;
    font-size: 0.78rem;
    font-weight: 700;
}

.staff-artist-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.staff-artist-meta {
    display: grid;
    gap: 0.85rem;
}

.staff-mini-list {
    display: grid;
    gap: 0.75rem;
}

.staff-scroll-list {
    max-height: 24rem;
    overflow: auto;
    padding-right: 0.35rem;
}

.staff-mini-list-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    background: white;
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.staff-mini-list-item span {
    color: rgba(17, 17, 17, 0.62);
    font-size: 0.9rem;
}

.staff-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.staff-section-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    background: white;
    color: var(--jj-ink);
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.05);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.staff-section-card span {
    color: rgba(17, 17, 17, 0.62);
    font-size: 0.9rem;
}

.staff-section-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(17, 17, 17, 0.08);
}

.portal-command-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.portal-command-link,
.portal-zone-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--jj-ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.portal-command-link:hover,
.portal-zone-card:hover {
    color: var(--jj-ink);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.portal-command-link-muted {
    background: linear-gradient(180deg, #f8fafc, #eef4fb);
}

.portal-command-kicker,
.portal-zone-tag {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.portal-zone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.staff-filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
    gap: 0.75rem;
    width: min(100%, 760px);
}

.staff-list-link {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 0.95rem;
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.staff-list-link:hover {
    color: #0f172a;
    transform: translateY(-1px);
    border-color: rgba(53, 105, 154, 0.24);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.staff-list-link strong {
    font-size: 0.95rem;
}

.staff-list-link span {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.35;
}

.role-shell-staff .btn-dark,
.role-shell-staff .btn-outline-dark,
.role-shell-staff .btn-light {
    min-height: 40px;
    border-radius: 999px;
    padding: 0.58rem 0.95rem;
    font-weight: 700;
    box-shadow: none;
}

.role-shell-staff .btn-dark {
    border-color: #173657;
    background: #173657;
}

.role-shell-staff .btn-dark:hover {
    border-color: #102843;
    background: #102843;
}

.role-shell-staff .btn-outline-dark {
    color: #173657;
    border-color: rgba(23, 54, 87, 0.18);
    background: rgba(255, 255, 255, 0.82);
}

.role-shell-staff .btn-outline-dark:hover {
    color: #173657;
    border-color: rgba(23, 54, 87, 0.3);
    background: white;
}

.role-shell-staff .btn-light {
    color: var(--staff-ink);
    border-color: var(--staff-border);
    background: white;
}

.role-shell-staff .btn-light:hover {
    color: var(--staff-ink);
    background: var(--staff-panel-alt);
}

.staff-list-link {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 0.95rem;
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.staff-list-link:hover {
    color: #0f172a;
    transform: translateY(-1px);
    border-color: rgba(53, 105, 154, 0.24);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.staff-list-link strong {
    font-size: 0.95rem;
}

.staff-list-link span {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.35;
}

.event-place-note {
    margin-bottom: 1rem;
}

.ticket-scanner-camera-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(160deg, #0f172a, #1d4f91);
    aspect-ratio: 4 / 5;
    min-height: 320px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.ticket-scanner-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    transition: opacity 0.2s ease;
}

[data-ticket-scanner].is-scanning .ticket-scanner-video {
    opacity: 1;
}

.ticket-scanner-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.35));
}

.ticket-scanner-overlay span {
    width: min(72vw, 240px);
    height: min(72vw, 240px);
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    box-shadow: 0 0 0 999px rgba(15, 23, 42, 0.22);
}

@media (max-width: 991.98px) {
    .staff-shell-header,
    .staff-shell-main {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .role-hero {
        padding: 1.25rem;
    }

    .staff-shell-brand-row {
        align-items: flex-start;
    }

    .staff-shell-nav,
    .staff-shell-actions {
        width: 100%;
    }

    .staff-shell-nav {
        order: 3;
    }

    .staff-shell-sectionbar {
        padding-top: 0.7rem;
    }

    .staff-directory-search {
        grid-template-columns: 1fr;
    }

    .staff-directory-toolbar {
        width: 100%;
        align-items: flex-start;
    }

    .staff-directory-actions {
        width: 100%;
    }

    .staff-table-toolbar,
    .staff-pagination-bar {
        align-items: flex-start;
    }

    .staff-column-selector {
        width: 100%;
    }

    .staff-column-selector summary {
        width: 100%;
    }

    .staff-column-selector .btn {
        width: 100%;
        justify-content: center;
    }

    .staff-per-page-form {
        width: 100%;
    }

    .staff-per-page-form .form-select {
        width: 100%;
    }

    .staff-column-selector-menu {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .staff-filter-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .ticket-scanner-camera-shell {
        min-height: 420px;
    }
}