.workshop-staff-access-panel {
    margin: 1.25rem 0;
}

.workshop-staff-access-panel > .panel-title > div h2 {
    margin: .25rem 0 0;
}

.workshop-staff-access-panel > p {
    margin: .25rem 0 1rem;
    color: var(--muted);
    font-size: .85rem;
}

.workshop-staff-access-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: .7rem;
}

.workshop-staff-access-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .7rem;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #f8fafc;
}

.workshop-staff-access-list article.enabled {
    border-color: #a9d4c4;
    background: #f1faf6;
}

.workshop-staff-access-list article b,
.workshop-staff-access-list article small {
    display: block;
}

.workshop-staff-access-list article small {
    margin-top: .18rem;
    color: var(--muted);
    font-size: .7rem;
}

.workshop-access-toggle {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .6rem;
    border: 1px solid #d8dee0;
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.workshop-access-toggle input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--green);
}

.workshop-access-toggle span {
    font-size: .7rem;
    font-weight: 800;
}

@media (max-width: 620px) {
    .workshop-staff-access-list {
        grid-template-columns: 1fr;
    }

    .workshop-staff-access-list article {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .workshop-staff-access-list article > .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 390px) {
    .workshop-staff-access-list article {
        grid-template-columns: auto 1fr;
    }

    .workshop-access-toggle {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

.shared-workshop-top-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.shared-workshop-top-actions form {
    margin: 0;
}

.shared-top-switch {
    min-height: 46px;
    padding: .7rem 1.2rem;
    border-color: #d99c35;
    background: #fff3db;
    color: #764b09;
    font-size: .9rem;
    font-weight: 900;
    white-space: nowrap;
}

/* Shared workshop sessions use a full-width, distraction-free kiosk shell. */
.shared-workshop-shell {
    display: block;
    min-height: 100vh;
    background: linear-gradient(180deg, #eef6f2 0, #f6f8f7 180px, #f6f8f7 100%);
}

.shared-workshop-shell main {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
}

.shared-workshop-shell .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 78px;
    padding: .65rem clamp(1rem, 3vw, 2.5rem);
    border-bottom: 1px solid #b9d1c7;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 5px 18px rgba(23, 35, 40, .08);
    backdrop-filter: blur(12px);
}

.shared-workshop-shell .content {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: clamp(1rem, 2.5vw, 2.5rem);
}

.shared-kiosk-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.shared-kiosk-brand > div {
    min-width: 0;
}

.shared-kiosk-brand b,
.shared-kiosk-brand span {
    display: block;
}

.shared-kiosk-brand b {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.1;
}

.shared-kiosk-brand > div > span {
    margin-top: .2rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.shared-kiosk-mark {
    display: grid !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: var(--green);
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .05em;
    box-shadow: 0 4px 10px rgba(20, 98, 69, .22);
}

.shared-fullscreen-button {
    min-height: 46px;
    padding: .7rem 1rem;
    border-color: #b9c9c3;
    background: #f4f8f6;
    color: #25463a;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.shared-fullscreen-button:hover,
.shared-fullscreen-button:focus-visible {
    border-color: var(--green);
    background: #e7f2ed;
}

@media (max-width: 600px) {
    .shared-workshop-shell .topbar {
        height: auto;
        min-height: 72px;
        gap: .6rem;
        padding-top: .55rem;
        padding-bottom: .55rem;
    }

    .shared-workshop-top-actions {
        gap: .5rem;
    }

    .shared-workshop-top-actions .app-status {
        display: none;
    }

    .shared-kiosk-brand > div > span {
        display: none;
    }

    .shared-fullscreen-button {
        min-width: 50px;
        padding: .75rem;
        font-size: 0;
    }

    .shared-fullscreen-button span {
        font-size: 1.2rem;
    }

    .shared-top-switch {
        min-height: 50px;
        padding: .75rem 1rem;
    }
}

@media (max-width: 430px) {
    .shared-workshop-shell .topbar {
        padding-left: .65rem;
        padding-right: .65rem;
    }

    .shared-kiosk-mark {
        display: none !important;
    }

    .shared-kiosk-brand b {
        font-size: .9rem;
    }

    .shared-top-switch {
        padding-left: .75rem;
        padding-right: .75rem;
        font-size: .8rem;
    }

    .shared-workshop-shell .content {
        padding: .75rem;
    }
}
