/* Staff login + manager zone */

.staff-auth {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
    padding: 2.5rem var(--page-gutter) 4rem;
}

.staff-auth-inner {
    max-width: 480px;
    margin: 0 auto;
}

.staff-auth-card {
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.12);
    border-radius: 12px;
    padding: 1.75rem 1.5rem 1.85rem;
    box-shadow: 0 18px 40px rgba(21, 61, 110, 0.08);
}

.staff-auth-card h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.6rem);
    letter-spacing: 0.03em;
    color: var(--secondary-color);
    margin: 0 0 0.45rem;
}

.staff-auth-card > .staff-auth-step > p,
.staff-auth-card > p {
    color: var(--ink-muted);
    margin: 0 0 1.1rem;
}

.staff-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 0.85rem 0 0.35rem;
}

.staff-input,
.staff-zone .form-control,
.staff-zone select.form-control,
.staff-zone textarea.form-control {
    width: 100%;
    border: 1px solid rgba(28, 94, 173, 0.18);
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark);
    background: #fff;
}

.staff-input:focus,
.staff-zone .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 94, 173, 0.15);
}

.staff-auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.staff-auth-actions .home-cta,
.staff-auth-actions button.home-cta,
button.staff-btn,
.staff-auth-actions .staff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3.1rem;
    padding: 0.85rem 1.45rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.staff-auth-actions .home-cta-primary,
.staff-auth-actions .home-cta-solid,
#staff-login-btn,
#staff-2fa-btn {
    flex: 1 1 100%;
    background: var(--primary-color);
    color: #fff !important;
    border: 1px solid transparent;
    box-shadow: 0 14px 30px rgba(28, 94, 173, 0.28);
}

.staff-auth-actions .home-cta-primary:hover,
.staff-auth-actions .home-cta-solid:hover,
#staff-login-btn:hover,
#staff-2fa-btn:hover {
    background: var(--secondary-color);
    color: #fff !important;
    transform: translateY(-2px);
}

.staff-auth-actions .staff-passkey-btn,
#staff-passkey-btn {
    flex: 1 1 100%;
    background: #fff;
    color: var(--secondary-color) !important;
    border: 1px solid rgba(28, 94, 173, 0.28);
    box-shadow: none;
}

.staff-auth-actions .staff-passkey-btn:hover,
#staff-passkey-btn:hover {
    background: #f4f7fb;
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.staff-auth-actions .home-text-link,
#staff-2fa-cancel {
    background: transparent;
    border: 0;
    padding: 0.35rem 0;
    min-height: 0;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
}

.staff-auth-actions .home-text-link:hover,
#staff-2fa-cancel:hover {
    color: var(--secondary-color);
    transform: none;
}

/* Staff manager shell */

.staff-zone {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
    padding: 0 0 3.5rem;
}

.staff-zone-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 1.75rem var(--page-gutter) 0;
}

.staff-zone-intro {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 1.25rem;
    align-items: end;
    margin-bottom: 1.25rem;
}

.staff-zone-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0.03em;
    color: var(--secondary-color);
    margin: 0 0 0.35rem;
}

.staff-zone-intro p {
    margin: 0;
    color: var(--ink-muted);
    max-width: 40rem;
}

.staff-zone-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.staff-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.15rem;
    margin: 0 0 1.35rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(28, 94, 173, 0.12);
}

.staff-subnav .nav-link {
    border: 0;
    background: transparent;
    color: var(--ink-muted);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.staff-subnav .nav-link:hover {
    color: var(--primary-color);
}

.staff-subnav .nav-link.active {
    color: var(--secondary-color);
    background: transparent;
    border-bottom-color: var(--primary-color);
}

.staff-panel {
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.1);
    border-radius: 10px;
    padding: 1.25rem 1.2rem 1.4rem;
    margin-bottom: 1.15rem;
}

.staff-panel h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: 0.03em;
    color: var(--secondary-color);
    margin: 0 0 0.85rem;
}

.staff-zone .profile-box {
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.1);
    border-radius: 10px;
    padding: 1.1rem 1rem 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.staff-zone .profile-box.d-block {
    display: block;
}

.staff-zone .profile-box img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.staff-zone .button,
.staff-zone .button-light,
.staff-zone .button-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    text-decoration: none;
}

.staff-zone .button {
    background: var(--primary-color);
    color: #fff;
}

.staff-zone .button:hover {
    background: var(--secondary-color);
}

.staff-zone .button-light {
    background: #eef3f9;
    color: var(--secondary-color);
}

.staff-zone .button-danger {
    background: #c8102e;
    color: #fff;
}

.staff-zone .dropzone {
    border: 1px dashed rgba(28, 94, 173, 0.35);
    border-radius: 10px;
    background: #f7faff;
    min-height: 120px;
}

.staff-security-grid {
    display: grid;
    gap: 1.15rem;
}

.staff-security-block h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 0.4rem;
}

.staff-security-block p {
    color: var(--ink-muted);
    margin: 0 0 0.85rem;
}

.staff-qr {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    border: 1px solid rgba(28, 94, 173, 0.12);
    background: #fff;
    margin: 0 0 0.85rem;
}

.staff-backup-codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0.75rem 0 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
}

.staff-passkey-list {
    display: grid;
    gap: 0.65rem;
    margin: 0.75rem 0 1rem;
}

.staff-passkey-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(28, 94, 173, 0.1);
    border-radius: 8px;
    background: #f7faff;
}

.staff-passkey-item strong {
    display: block;
    color: var(--secondary-color);
}

.staff-passkey-item span {
    color: var(--ink-muted);
    font-size: 0.88rem;
}

.staff-status-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(28, 94, 173, 0.12);
    color: var(--primary-color);
    margin-bottom: 0.55rem;
}

.staff-status-pill.is-on {
    background: rgba(22, 163, 74, 0.14);
    color: #15803d;
}

/* Content manager panels */

.staff-panel-head {
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(28, 94, 173, 0.1);
}

.staff-panel-head h3 {
    margin-bottom: 0.35rem;
}

.staff-panel-head p {
    margin: 0;
    color: var(--ink-muted);
    max-width: 40rem;
}

.staff-panel-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.85rem 1rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(28, 94, 173, 0.1);
}

.staff-zone label.staff-live-toggle {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1 1 280px;
    margin: 0;
    padding: 0.95rem 1.05rem;
    border-radius: 10px;
    border: 1px solid rgba(28, 94, 173, 0.14);
    background: #f7faff;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-size: inherit;
    font-weight: 400;
    color: inherit;
}

.staff-live-toggle-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.staff-live-toggle-ui {
    position: relative;
    flex: 0 0 auto;
    width: 3.6rem;
    height: 2rem;
    border-radius: 999px;
    background: #c5d0de;
    border: 1px solid rgba(21, 61, 110, 0.15);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.staff-live-toggle-ui::after {
    content: "";
    position: absolute;
    top: 0.18rem;
    left: 0.18rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(8, 14, 26, 0.2);
    transition: transform 0.2s ease;
}

.staff-live-toggle-input:checked + .staff-live-toggle-ui {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.staff-live-toggle-input:checked + .staff-live-toggle-ui::after {
    transform: translateX(1.55rem);
}

.staff-live-toggle-input:focus-visible + .staff-live-toggle-ui {
    box-shadow: 0 0 0 3px rgba(28, 94, 173, 0.25);
}

.staff-live-toggle-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.staff-live-toggle-copy strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
}

.staff-live-toggle-copy em {
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--ink-muted);
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}

.staff-panel-footer > .button {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: auto;
    padding: 0.95rem 1.35rem;
    font-size: 0.92rem;
    white-space: nowrap;
}

.staff-label,
.staff-zone label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 0 0 0.35rem;
}

.staff-field {
    margin-bottom: 0.9rem;
}

.staff-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
}

.staff-field-grid .staff-field--full {
    grid-column: 1 / -1;
}

.staff-live-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.staff-live-block {
    padding: 1rem;
    border-radius: 8px;
    background: #f7faff;
    border: 1px solid rgba(28, 94, 173, 0.1);
}

.staff-live-block h4 {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.staff-opponent-list {
    display: grid;
    gap: 0.65rem;
}

.staff-opponent-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
    align-items: end;
    padding: 0.75rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.1);
}

.staff-opponent-fields {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr;
    gap: 0.55rem;
}

.staff-item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.staff-item {
    display: grid;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.1);
    border-radius: 10px;
    padding: 1rem;
}

.staff-item-media {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f4f7fb;
    border: 1px solid rgba(28, 94, 173, 0.08);
}

.staff-item-media img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    margin: 0 !important;
    border-radius: 0 !important;
}

.staff-item-media--logo img {
    max-height: 140px;
    object-fit: contain;
    padding: 0.75rem;
    background: #fff;
}

.staff-item-body {
    display: grid;
    gap: 0.15rem;
}

.staff-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(28, 94, 173, 0.08);
}

.staff-item-actions .button,
.staff-item-actions .button-light,
.staff-item-actions .button-danger,
.staff-team-actions .button,
.staff-team-actions .button-danger {
    min-height: 2.4rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
}

.staff-team-list {
    display: grid;
    gap: 0.75rem;
}

.staff-people-list {
    display: grid;
    gap: 0.75rem;
}

.staff-people-row,
.staff-team-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.1);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.staff-people-row--plain {
    grid-template-columns: minmax(0, 1fr) auto;
}

.staff-account-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    background: #eef3f9;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.staff-people-photo,
.staff-team-logo {
    margin: 0;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    border: 1px solid rgba(28, 94, 173, 0.08);
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.staff-people-photo img,
.staff-team-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
}

.staff-people-photo--logo img {
    object-fit: contain;
    padding: 0.4rem;
    background: #fff;
}

.staff-people-meta {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
}

.staff-people-meta strong {
    color: var(--secondary-color);
    font-size: 1.05rem;
    line-height: 1.25;
}

.staff-people-meta span {
    color: var(--ink-muted);
    font-size: 0.92rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-people-actions,
.staff-team-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.staff-people-actions .button,
.staff-people-actions .button-danger,
.staff-team-actions .button,
.staff-team-actions .button-danger {
    min-height: 2.4rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
}

.staff-edit-modal .modal-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.03em;
    color: var(--secondary-color);
}

.staff-edit-modal .modal-body {
    max-height: min(70vh, 640px);
    overflow: auto;
}

.staff-edit-modal .modal-footer {
    gap: 0.55rem;
}

.staff-team-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.staff-team-fields .staff-field {
    margin-bottom: 0;
}

.staff-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.staff-stats-box {
    padding: 0.75rem;
    border-radius: 8px;
    background: #f7faff;
    border: 1px solid rgba(28, 94, 173, 0.1);
}

.staff-stats-box h5 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.staff-datetime-row {
    display: grid;
    grid-template-columns: minmax(4.5rem, 0.7fr) minmax(8rem, 1.3fr) minmax(5.5rem, 0.9fr);
    gap: 0.55rem;
}

.staff-datetime-row--time {
    grid-template-columns: minmax(4.5rem, 0.7fr) auto minmax(4.5rem, 0.7fr);
    max-width: 16rem;
    align-items: center;
}

.staff-datetime-sep {
    font-weight: 700;
    color: var(--secondary-color);
}

.staff-event-steps {
    display: grid;
    gap: 1rem;
}

.staff-event-step {
    padding: 1.1rem 1.05rem 1.15rem;
    border-radius: 10px;
    border: 1px solid rgba(28, 94, 173, 0.12);
    background: #f7faff;
}

.staff-event-step-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    margin-bottom: 1rem;
}

.staff-event-step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
}

.staff-event-step-head h4 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.staff-event-step-head p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.staff-event-matchup {
    display: grid;
    grid-template-columns: minmax(160px, 0.9fr) auto minmax(0, 1.2fr);
    gap: 0.85rem 1rem;
    align-items: start;
}

.staff-event-side {
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.1);
    border-radius: 10px;
    padding: 0.85rem;
}

.staff-event-side--home {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 100%;
}

.staff-event-side--home img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: #f4f7fb;
    padding: 0.35rem;
}

.staff-event-side--home em {
    display: block;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.15rem;
}

.staff-event-side--home strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1.05rem;
    line-height: 1.25;
}

.staff-event-matchup-vs {
    align-self: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
    text-align: center;
}

.staff-event-opp-list {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.staff-event-opp-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: center;
}

.staff-event-opp-row .button-danger {
    min-height: 2.5rem;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
}

.staff-event-add-opp {
    width: 100%;
}

.staff-event-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
}

.staff-optional {
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-muted);
    font-size: 0.85em;
}

.staff-event-list,
.staff-honour-list {
    display: grid;
    gap: 0.85rem;
}

.staff-event-row,
.staff-honour-row {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr auto;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.1);
    border-radius: 10px;
    padding: 0.9rem 1rem;
}

.staff-honour-row {
    grid-template-columns: 1fr auto;
}

.staff-honour-trophy {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
    line-height: 1;
}

.staff-event-teams {
    display: grid;
    grid-template-columns: minmax(72px, 1fr) auto minmax(90px, 1.4fr);
    gap: 0.4rem;
    align-items: center;
    text-align: center;
}

.staff-event-opponents {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.75rem;
    align-items: center;
}

.staff-event-team img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.12);
    padding: 0.2rem;
    margin: 0 auto 0.3rem;
    display: block;
}

.staff-event-team span,
.staff-event-vs {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.staff-event-vs {
    color: var(--ink-muted);
}

.staff-event-copy h4,
.staff-honour-row h4 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.staff-event-copy p,
.staff-honour-row p {
    margin: 0 0 0.2rem;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.staff-section-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.03em;
    color: var(--secondary-color);
    margin: 0.35rem 0 0.85rem;
}

.staff-empty {
    margin: 0;
    padding: 1rem;
    color: var(--ink-muted);
    background: #fff;
    border: 1px dashed rgba(28, 94, 173, 0.2);
    border-radius: 10px;
}

.staff-news-dropzone.is-hidden {
    display: none;
}

.staff-news-preview {
    display: grid;
    gap: 0.85rem;
    justify-items: start;
    margin-top: 0.75rem;
}

.staff-news-preview img {
    display: block;
    width: min(100%, 420px);
    max-height: 240px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(28, 94, 173, 0.14);
}

.staff-news-editor {
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.staff-zone .ql-toolbar.ql-snow {
    border: 1px solid rgba(28, 94, 173, 0.18);
    border-radius: 8px 8px 0 0;
    background: #f7fafc;
}

.staff-zone .ql-container.ql-snow {
    border: 1px solid rgba(28, 94, 173, 0.18);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    min-height: 220px;
    font-family: var(--font-body, inherit);
    font-size: 1rem;
}

.staff-zone .ql-editor {
    min-height: 220px;
}

.staff-news-list {
    display: grid;
    gap: 0.85rem;
}

.staff-news-row {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 1rem;
    background: #fff;
    border: 1px solid rgba(28, 94, 173, 0.12);
    border-radius: 10px;
}

.staff-news-thumb {
    margin: 0;
    width: 96px;
    height: 72px;
    overflow: hidden;
    border-radius: 6px;
    background: #d9e4f2;
    display: grid;
    place-items: center;
}

.staff-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-news-thumb span {
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.staff-news-row h4 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.staff-news-row p {
    margin: 0 0 0.35rem;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.staff-news-row .staff-people-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .staff-news-row {
        grid-template-columns: 72px 1fr;
    }

    .staff-news-row .staff-item-actions,
    .staff-news-row .staff-people-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

.staff-zone .form-check-label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .staff-zone-intro {
        grid-template-columns: 1fr;
    }

    .staff-subnav .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.65rem;
    }

    .staff-live-grid,
    .staff-item-grid,
    .staff-field-grid,
    .staff-opponent-fields,
    .staff-stats-grid,
    .staff-team-fields,
    .staff-datetime-row,
    .staff-event-matchup,
    .staff-event-details-grid {
        grid-template-columns: 1fr;
    }

    .staff-datetime-row--time {
        grid-template-columns: 1fr auto 1fr;
        max-width: none;
    }

    .staff-event-matchup-vs {
        justify-self: start;
    }

    .staff-team-row,
    .staff-people-row {
        grid-template-columns: 64px 1fr;
    }

    .staff-people-row--plain {
        grid-template-columns: 1fr;
    }

    .staff-team-actions,
    .staff-people-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .staff-event-row,
    .staff-honour-row {
        grid-template-columns: 1fr;
    }
}
