@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");

:root {
    color-scheme: light;
    --drd-bg: #edf2f8;
    --drd-surface: #ffffff;
    --drd-surface-muted: #f6f9fc;
    --drd-border: #d7e1ec;
    --drd-text: #17233a;
    --drd-muted: #607089;
    --drd-accent: #0a6f78;
    --drd-accent-soft: #dff5f4;
    --drd-success: #1f845a;
    --drd-warning: #c57b15;
    --drd-danger: #c4314b;
    --drd-shadow: 0 18px 36px rgba(23, 35, 58, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(10, 111, 120, 0.08), transparent 22%),
        linear-gradient(180deg, #f8fbfe 0%, var(--drd-bg) 100%);
    color: var(--drd-text);
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    min-height: 100vh;
    padding: 1.25rem;
}

.shell-header {
    display: flex;
    align-items: center;
    min-height: 3rem;
    margin-bottom: 1rem;
}

.brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.shell-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workflow-card,
.participant-card,
.dashboard-panel,
.tile-card,
.role-panel,
.focus-dialog {
    border: 1px solid var(--drd-border);
    border-radius: 22px;
    background: var(--drd-surface);
    box-shadow: var(--drd-shadow);
}

.page-title {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.05;
}

.eyebrow,
.muted,
.summary-card span,
.field label,
.tile-meta {
    color: var(--drd-muted);
}

.eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.role-screen,
.workflow-shell {
    display: grid;
    place-items: center;
}

.role-screen {
    min-height: calc(100vh - 6rem);
}

.role-panel,
.workflow-card,
.participant-card,
.dashboard-panel,
.focus-dialog {
    padding: 1.5rem;
}

.role-panel {
    width: min(32rem, 100%);
}

.role-actions {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.role-button {
    width: 100%;
    min-height: 4.25rem;
    font-size: 1.1rem;
}

.workflow-shell {
    min-height: calc(100vh - 7rem);
}

.workflow-card-single {
    width: min(72rem, 100%);
}

.workflow-card-narrow {
    width: min(30rem, 100%);
}

.workflow-card-wide {
    width: min(112rem, 100%);
}

.master-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.entry-panel-full {
    margin-top: 1rem;
}

.entry-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--drd-border);
    border-radius: 18px;
    background: var(--drd-surface-muted);
}

.entry-panel h2,
.dashboard-panel h2,
.focus-dialog h2,
.tile-card h3 {
    margin: 0;
}

.field-grid,
.summary-grid,
.session-meta-grid {
    display: grid;
    gap: 0.85rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.field label {
    font-size: 0.95rem;
    font-weight: 600;
}

.field input {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid #c4d1e0;
    border-radius: 14px;
    background: #fff;
    color: var(--drd-text);
    font: inherit;
}

.field select {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid #c4d1e0;
    border-radius: 14px;
    background: #fff;
    color: var(--drd-text);
    font: inherit;
}

.field input:focus,
.field select:focus {
    outline: 3px solid rgba(10, 111, 120, 0.16);
    border-color: rgba(10, 111, 120, 0.55);
}

.field-inline {
    min-width: 20rem;
}

.validation-message {
    color: var(--drd-danger);
    font-size: 0.85rem;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.action-row-spread {
    justify-content: flex-start;
}

.message {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
}

.message.info {
    color: #2559a7;
    background: #edf5ff;
}

.message.success {
    color: var(--drd-success);
    background: #eaf9f0;
}

.message.warning {
    color: var(--drd-warning);
    background: #fff6e8;
}

.message.error {
    color: var(--drd-danger);
    background: #fff1f4;
}

.summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card {
    padding: 1rem;
    border: 1px solid var(--drd-border);
    border-radius: 18px;
    background: var(--drd-surface-muted);
}

.summary-card strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.45rem;
}

.summary-card-compact strong {
    font-size: 1.15rem;
}

.copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.session-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.35rem;
}

.code-value {
    letter-spacing: 0.08em;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-pill.connecte {
    color: var(--drd-success);
    background: rgba(31, 132, 90, 0.12);
}

.status-pill.partageactif,
.status-pill.partage-actif {
    color: var(--drd-accent);
    background: rgba(10, 111, 120, 0.12);
}

.status-pill.inactif {
    color: var(--drd-muted);
    background: rgba(96, 112, 137, 0.14);
}

.participant-workspace,
.dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.participant-card-primary {
    width: min(84rem, 100%);
    margin-inline: auto;
}

.preview-frame,
.focus-frame,
.tile-preview {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.preview-frame,
.focus-frame {
    min-height: 28rem;
    border: 1px dashed #c0cddd;
    background:
        linear-gradient(135deg, rgba(10, 111, 120, 0.10), rgba(40, 95, 160, 0.08)),
        #f4f8fc;
}

.preview-frame-large {
    margin-top: 1rem;
}

.preview-frame video,
.focus-frame video,
.tile-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0f1728;
}

.frame-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    text-align: center;
    color: var(--drd-muted);
}

.dashboard-copy {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 36rem);
    gap: 1rem;
    align-items: start;
}

.dashboard-header-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.dashboard-stat-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.8rem;
    border: 1px solid rgba(129, 146, 171, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--drd-text);
    font-size: 0.84rem;
    font-weight: 700;
}

.dashboard-stat-chip-highlight {
    color: var(--drd-accent);
    background: rgba(10, 111, 120, 0.1);
    border-color: rgba(10, 111, 120, 0.16);
}

.dashboard-stat-chip-warning {
    color: var(--drd-warning);
    background: rgba(197, 123, 21, 0.1);
    border-color: rgba(197, 123, 21, 0.16);
}

.mosaic-grid {
    display: grid;
    gap: 1rem;
}

.mosaic-grid-video {
    grid-template-columns: repeat(var(--drd-mosaic-columns, 3), minmax(0, 1fr));
}

.mosaic-columns-field {
    min-width: 12rem;
}

.mosaic-columns-picker-shell {
    display: grid;
    gap: 0.45rem;
}

.mosaic-columns-picker-label {
    color: var(--drd-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mosaic-column-picker {
    --container-width: 13rem;
    position: relative;
    display: flex;
    align-items: center;
    width: var(--container-width);
    overflow: hidden;
    border: 1px solid rgba(10, 111, 120, 0.2);
    border-radius: 14px;
    background: linear-gradient(180deg, #1b2a43 0%, #152035 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 10px 20px rgba(23, 35, 58, 0.1);
}

.mosaic-column-picker input {
    position: absolute;
    opacity: 0;
    inset: 0;
    pointer-events: none;
}

.mosaic-column-picker label {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.15s ease;
}

.mosaic-column-picker label:has(input:focus-visible) {
    box-shadow: inset 0 0 0 2px rgba(223, 245, 244, 0.72);
}

.mosaic-column-picker-selection {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--container-width) / 4);
    z-index: 0;
    background: linear-gradient(180deg, #dff5f4 0%, #c8eeeb 100%);
    transition: transform 0.18s ease;
}

.mosaic-column-picker label:has(input:checked) {
    color: #17233a;
}

.mosaic-column-picker label:nth-child(1):has(input:checked) ~ .mosaic-column-picker-selection {
    transform: translateX(calc(var(--container-width) * 0 / 4));
}

.mosaic-column-picker label:nth-child(2):has(input:checked) ~ .mosaic-column-picker-selection {
    transform: translateX(calc(var(--container-width) * 1 / 4));
}

.mosaic-column-picker label:nth-child(3):has(input:checked) ~ .mosaic-column-picker-selection {
    transform: translateX(calc(var(--container-width) * 2 / 4));
}

.mosaic-column-picker label:nth-child(4):has(input:checked) ~ .mosaic-column-picker-selection {
    transform: translateX(calc(var(--container-width) * 3 / 4));
}

.tile-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem;
}

.tile-card.selected {
    border-color: rgba(10, 111, 120, 0.4);
    box-shadow: 0 0 0 3px rgba(10, 111, 120, 0.08);
}

.tile-card.hand-raised {
    border-color: #f2d86d;
    box-shadow:
        0 0 0 3px rgba(242, 216, 109, 0.22),
        var(--drd-shadow);
}

.tile-preview {
    aspect-ratio: 16 / 9;
    border: 1px dashed #c0cddd;
    background:
        linear-gradient(135deg, rgba(23, 35, 58, 0.06), rgba(96, 112, 137, 0.08)),
        #f7f9fc;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--drd-muted);
    padding: 1rem;
}

.tile-video {
    position: absolute;
    inset: 0;
    object-fit: contain;
}

.tile-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    text-align: center;
    z-index: 1;
}

.tile-video[data-has-stream="true"] + .tile-overlay,
.focus-video[data-has-stream="true"] + .frame-overlay {
    display: none;
}

.tile-preview-active {
    background:
        linear-gradient(135deg, rgba(10, 111, 120, 0.16), rgba(10, 111, 120, 0.08)),
        #eef8f8;
    color: var(--drd-accent);
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.tile-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.tile-header h3 {
    margin-bottom: 0.4rem;
}

.tile-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.92rem;
}

.tile-actions {
    align-items: stretch;
}

.tile-actions fluent-button {
    flex: 0 0 auto;
}

.badge-main-levee {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(197, 123, 21, 0.12);
    color: var(--drd-warning);
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-alerte-sonore {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(196, 49, 75, 0.12);
    color: var(--drd-danger);
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-qualite {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-qualite-success {
    color: var(--drd-success);
    background: rgba(31, 132, 90, 0.12);
}

.badge-qualite-warning {
    color: var(--drd-warning);
    background: rgba(197, 123, 21, 0.14);
}

.badge-qualite-danger {
    color: var(--drd-danger);
    background: rgba(196, 49, 75, 0.12);
}

.badge-qualite-neutral {
    color: var(--drd-muted);
    background: rgba(96, 112, 137, 0.14);
}

.help-queue-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.help-queue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--drd-border);
    border-radius: 18px;
    background: var(--drd-surface-muted);
}

.help-queue-rank {
    color: var(--drd-warning);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.help-queue-title {
    margin: 0.25rem 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.focus-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(17, 24, 39, 0.32);
    backdrop-filter: blur(4px);
}

.focus-dialog {
    width: min(78rem, 100%);
}

.participant-suspension-dialog {
    width: min(34rem, 100%);
    text-align: center;
    padding: 2rem;
}

.focus-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0f1728;
}

.status-pill.active {
    color: var(--drd-success);
    background: rgba(31, 132, 90, 0.12);
}

.action-row-centered {
    justify-content: center;
}

.session-table-shell {
    overflow-x: auto;
}

.session-table {
    width: 100%;
    border-collapse: collapse;
}

.session-table th,
.session-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--drd-border);
    vertical-align: top;
    text-align: left;
}

.session-table th {
    color: var(--drd-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.session-table-title {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.session-table-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--drd-muted);
    font-size: 0.92rem;
}

.session-volume-list {
    gap: 0.35rem;
}

.session-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 18rem;
}

.session-actions-primary,
.session-actions-danger {
    align-items: flex-start;
}

.session-actions-danger {
    padding-top: 0.15rem;
    border-top: 1px dashed var(--drd-border);
}

.empty-state {
    padding: 2rem;
    border: 1px dashed #c4d1e0;
    border-radius: 20px;
    text-align: center;
    color: var(--drd-muted);
    background: var(--drd-surface-muted);
}

.participant-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.1rem 0 0.2rem;
}

.participant-actions {
    align-items: stretch;
    justify-content: flex-start;
}

.participant-actions fluent-button {
    flex: 0 0 auto;
}

.shell-landing {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    padding: clamp(0.85rem, 1.6vw, 1.25rem);
    overflow: hidden;
}

.shell-header-landing {
    flex: 0 0 auto;
    margin-bottom: 0.85rem;
}

.shell-main-landing {
    flex: 1;
    gap: 0;
    min-height: 0;
}

.landing-page {
    display: flex;
    flex: 1;
    position: relative;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    padding: clamp(1.1rem, 2.2vw, 1.8rem);
    border: 1px solid rgba(129, 146, 171, 0.2);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92) 36%, rgba(243, 247, 252, 0.9) 100%),
        linear-gradient(135deg, rgba(10, 111, 120, 0.12), rgba(43, 84, 165, 0.08));
    box-shadow: 0 30px 68px rgba(23, 35, 58, 0.14);
    isolation: isolate;
}

.landing-page::before,
.landing-page::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(0);
    z-index: -1;
}

.landing-page::before {
    top: -8rem;
    left: -7rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(10, 111, 120, 0.18), rgba(10, 111, 120, 0));
}

.landing-page::after {
    right: -7rem;
    bottom: -9rem;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(70, 116, 197, 0.16), rgba(70, 116, 197, 0));
}

.landing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(24rem, 0.98fr);
    gap: clamp(1.2rem, 2.6vw, 2rem);
    align-items: stretch;
    width: 100%;
    min-height: 0;
    height: 100%;
}

.landing-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    min-height: 0;
    padding: 0.15rem 0;
}

.landing-grid-admin {
    grid-template-columns: minmax(0, 0.84fr) minmax(28rem, 1.16fr);
}

.landing-copy-admin {
    max-width: 35rem;
}

.landing-kicker,
.landing-feature-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.landing-kicker {
    padding: 0.45rem 0.8rem;
    color: var(--drd-accent);
    background: rgba(10, 111, 120, 0.1);
    border: 1px solid rgba(10, 111, 120, 0.14);
    font-size: 0.68rem;
}

.landing-title {
    margin: 0;
    max-width: 8ch;
    font-size: clamp(2.25rem, 4.1vw, 4rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.landing-description {
    margin: 0;
    max-width: 31rem;
    color: var(--drd-muted);
    font-size: 0.93rem;
    line-height: 1.62;
}

.landing-note {
    width: fit-content;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(129, 146, 171, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--drd-muted);
    font-size: 0.83rem;
    line-height: 1.45;
    box-shadow: 0 16px 28px rgba(23, 35, 58, 0.06);
}

.landing-login-panel {
    width: min(29rem, 100%);
}

.landing-footnote {
    margin: 0;
    max-width: 31rem;
    color: var(--drd-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.landing-visual {
    display: flex;
    min-height: 0;
}

.landing-visual-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 32px;
    background: #0e162a;
    box-shadow: 0 34px 70px rgba(14, 22, 42, 0.24);
}

.landing-visual-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.landing-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 22, 39, 0.08) 0%, rgba(13, 22, 39, 0.28) 100%),
        linear-gradient(135deg, rgba(10, 111, 120, 0.12), rgba(44, 74, 151, 0.08));
}

.landing-visual-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    max-width: min(21rem, calc(100% - 2rem));
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    color: #ffffff;
    background: rgba(14, 22, 42, 0.42);
    backdrop-filter: blur(18px);
    z-index: 1;
}

.landing-visual-badge span {
    display: block;
    margin-bottom: 0.35rem;
    opacity: 0.78;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-visual-badge strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.38;
}

.landing-feature-stack {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: min(30rem, calc(100% - 2rem));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    z-index: 1;
}

.landing-feature-card {
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.82), rgba(255, 255, 255, 0.56));
    box-shadow: 0 18px 36px rgba(14, 22, 42, 0.18);
    backdrop-filter: blur(18px);
}

.landing-feature-label {
    margin-bottom: 0.7rem;
    padding: 0.38rem 0.7rem;
    background: rgba(19, 35, 63, 0.08);
    color: #24436b;
    font-size: 0.62rem;
}

.landing-feature-card strong {
    margin-bottom: 0.55rem;
    display: block;
    font-size: 0.88rem;
    line-height: 1.28;
}

.landing-feature-card p {
    margin: 0;
    color: rgba(23, 35, 58, 0.8);
    font-size: 0.8rem;
    line-height: 1.48;
}

.landing-credit {
    position: absolute;
    right: 1.35rem;
    bottom: 1rem;
    margin: 0;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: rgba(23, 35, 58, 0.72);
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 24px rgba(23, 35, 58, 0.06);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.admin-login-card {
    padding: 1.05rem;
    border: 1px solid rgba(129, 146, 171, 0.2);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 44px rgba(23, 35, 58, 0.08);
    backdrop-filter: blur(16px);
}

.admin-login-header {
    margin-bottom: 0.9rem;
}

.admin-login-eyebrow {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: var(--drd-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-login-title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.admin-login-subtitle {
    margin: 0.4rem 0 0;
    color: var(--drd-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.admin-login-fields {
    display: grid;
    gap: 0.8rem;
}

.admin-login-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.admin-login-label {
    color: var(--drd-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.admin-login-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.82rem 0.92rem;
    border: 1px solid #cdd8e4;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--drd-text);
    font: inherit;
}

.admin-login-input:focus {
    outline: 3px solid rgba(10, 111, 120, 0.14);
    border-color: rgba(10, 111, 120, 0.5);
}

.admin-login-button {
    width: 100%;
    min-height: 3.15rem;
    border: 0;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #13233f 0%, #0a6f78 100%);
    box-shadow: 0 16px 28px rgba(19, 35, 63, 0.18);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.admin-login-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(19, 35, 63, 0.22);
}

.admin-login-button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.landing-animate,
.landing-animate-right {
    opacity: 0;
    filter: blur(14px);
}

.landing-animate {
    transform: translateY(24px);
    animation: landing-rise-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.landing-animate-right {
    transform: translateX(30px);
    animation: landing-slide-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.landing-delay-1 {
    animation-delay: 0.08s;
}

.landing-delay-2 {
    animation-delay: 0.16s;
}

.landing-delay-3 {
    animation-delay: 0.24s;
}

.landing-delay-4 {
    animation-delay: 0.34s;
}

.landing-delay-5 {
    animation-delay: 0.44s;
}

.landing-delay-6 {
    animation-delay: 0.54s;
}

.landing-delay-7 {
    animation-delay: 0.64s;
}

.landing-delay-8 {
    animation-delay: 0.74s;
}

.landing-delay-9 {
    animation-delay: 0.84s;
}

@keyframes landing-rise-in {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes landing-slide-in {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

@media (max-width: 1100px) {
    .dashboard-topbar,
    .summary-grid,
    .master-entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-topbar {
        grid-template-columns: 1fr;
    }

    .landing-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .landing-title,
    .landing-description,
    .landing-footnote {
        max-width: none;
    }

    .landing-visual-frame {
        min-height: 31rem;
    }

    .landing-visual-image {
        min-height: 31rem;
    }

    .landing-credit {
        right: auto;
        left: 1.35rem;
        bottom: 1rem;
    }

    .landing-feature-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .shell {
        padding: 1rem;
    }

    .row-between,
    .copy-row,
    .action-row,
    .help-queue-item,
    .dashboard-header-stats,
    .participant-header-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .summary-grid,
    .master-entry-grid,
    .mosaic-grid-video,
    .session-meta-grid {
        grid-template-columns: 1fr;
    }

    .focus-overlay {
        padding: 1rem;
    }

    .shell-header-landing {
        margin-bottom: 0.75rem;
    }

    .shell-landing {
        height: auto;
        overflow: visible;
    }

    .shell-main-landing {
        min-height: auto;
    }

    .landing-page {
        height: auto;
        min-height: auto;
        padding: 1.25rem;
        border-radius: 26px;
    }

    .landing-title {
        font-size: clamp(2rem, 10vw, 2.85rem);
    }

    .landing-grid-admin,
    .landing-grid {
        height: auto;
    }

    .landing-visual-frame {
        min-height: 30rem;
    }

    .landing-visual-image {
        min-height: 24rem;
    }

    .landing-visual-badge {
        position: static;
        margin: 1rem 1rem 0;
        max-width: none;
    }

    .landing-feature-stack {
        position: static;
        width: 100%;
        padding: 1rem;
        grid-template-columns: 1fr;
    }

    .landing-login-panel {
        width: 100%;
    }

    .landing-credit {
        position: static;
        width: fit-content;
        max-width: 100%;
        margin-top: 1rem;
        font-size: 0.7rem;
    }
}

.shell-main-landing {
    display: block;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

.login-screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    padding: 1.25rem;
    overflow: hidden;
    font-family: "Open Sans", "Segoe UI", sans-serif;
}

.login-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(10, 18, 24, 0.44), rgba(10, 18, 24, 0.6)),
        url("/images/login-background.jpg") center center / cover no-repeat;
    transform: scale(1.02);
}

.login-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom, rgba(0, 0, 0, 0.2), transparent 40%);
}

.login-screen-brand,
.login-screen-center,
.login-screen-credit {
    position: relative;
    z-index: 1;
}

.login-screen-brand {
    position: absolute;
    top: 1.5rem;
    left: 1.75rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.login-screen-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-screen-credit {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    transform: translateX(-50%);
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.76rem;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.36);
}

.glass-login-wrapper {
    width: min(25rem, 100%);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 8px;
    padding: 1.9rem 1.85rem 1.65rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.glass-login-form {
    display: flex;
    flex-direction: column;
}

.glass-login-title {
    margin: 0 0 0.35rem;
    text-align: center;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
}

.glass-login-subtitle {
    margin: 0 0 0.8rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    line-height: 1.5;
}

.glass-login-message {
    margin-bottom: 0.5rem;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
}

.glass-login-message.info {
    color: #eff7ff;
    background: rgba(37, 89, 167, 0.32);
}

.glass-login-message.error {
    color: #fff0f3;
    background: rgba(196, 49, 75, 0.3);
}

.glass-input-group {
    margin: 0.45rem 0;
}

.glass-input-field {
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.58);
}

.glass-input-field label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    pointer-events: none;
    transition: 0.15s ease;
}

.glass-login-input {
    width: 100%;
    height: 2.9rem;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font: inherit;
    font-size: 1rem;
    padding: 0.8rem 0 0.25rem;
}

.glass-login-input:focus ~ label,
.glass-login-input:valid ~ label {
    top: 0.4rem;
    transform: translateY(-120%);
    font-size: 0.78rem;
}

.glass-login-input[type="password"]::-ms-reveal,
.glass-login-input[type="password"]::-ms-clear {
    filter: brightness(0) invert(1);
}

.glass-validation-message {
    display: block;
    margin-top: 0.35rem;
    color: #ffd7df;
    font-size: 0.76rem;
}

.glass-login-options {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.35rem;
}

.glass-remember-option {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    cursor: pointer;
}

.glass-remember-checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #ffffff;
}

.glass-login-button {
    margin-top: 1.1rem;
    background: #ffffff;
    color: #0b1015;
    font-weight: 600;
    border: 2px solid transparent;
    min-height: 3rem;
    cursor: pointer;
    border-radius: 3px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s ease;
}

.glass-login-button:hover:not(:disabled) {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.glass-login-button:disabled {
    opacity: 0.72;
    cursor: wait;
}

.glass-login-footer {
    margin-top: 1.1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.84rem;
    line-height: 1.45;
}

.glass-login-footer p {
    margin: 0;
}

.glass-register {
    margin-top: 0.85rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.84rem;
    line-height: 1.45;
}

.glass-register p {
    margin: 0;
}

.glass-link-button {
    padding: 0;
    border: 0;
    background: none;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.glass-modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(4, 8, 12, 0.52);
    z-index: 5;
}

.glass-modal {
    width: min(28rem, 100%);
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 12px;
    background: rgba(12, 20, 27, 0.82);
    color: #ffffff;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.glass-modal-title {
    margin: 0 0 0.55rem;
    font-size: 1.1rem;
}

.glass-modal-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    line-height: 1.55;
}

.glass-modal-mail {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.glass-modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.glass-modal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
}

.glass-modal-button-primary {
    color: #0b1015;
    background: #ffffff;
}

.glass-modal-button-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.participant-login-screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    height: 100dvh;
    width: 100%;
    padding: 1.25rem;
    overflow: hidden;
    font-family: "Open Sans", "Segoe UI", sans-serif;
    isolation: isolate;
}

.participant-login-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.34) 100%),
        url("/images/participant-login-background.jpg") center center / cover no-repeat;
    transform: scale(1.02);
}

.participant-login-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.28), transparent 36%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.12), rgba(226, 232, 240, 0.22));
}

.glass-login-wrapper-light {
    position: relative;
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 24px 54px rgba(148, 163, 184, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.glass-login-title-dark,
.glass-login-subtitle-dark,
.glass-login-footer-dark,
.login-screen-brand-dark,
.login-screen-credit-dark {
    color: #1f2937;
    text-shadow: none;
}

.glass-login-subtitle-dark,
.glass-login-footer-dark,
.login-screen-credit-dark {
    color: rgba(31, 41, 55, 0.76);
}

.glass-input-field-dark {
    border-bottom-color: rgba(31, 41, 55, 0.28);
}

.glass-input-field-dark label {
    color: rgba(31, 41, 55, 0.78);
}

.glass-login-input-dark {
    color: #111827;
}

.glass-validation-message-dark {
    color: #c4314b;
}

.glass-login-button-dark {
    background: #111827;
    color: #ffffff;
    border-color: transparent;
}

.glass-login-button-dark:hover:not(:disabled) {
    color: #111827;
    border-color: #111827;
    background: rgba(255, 255, 255, 0.34);
}

.participant-session-pill {
    width: fit-content;
    margin: 0 auto;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.34);
    color: #334155;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.participant-session-meta {
    margin-bottom: 0.85rem;
    text-align: center;
}

.participant-session-name {
    margin: 0.5rem 0 0;
    color: rgba(51, 65, 85, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

@media (max-width: 760px) {
    .shell-main-landing {
        height: auto;
        overflow: auto;
    }

    .login-screen {
        height: auto;
        min-height: 100vh;
        padding: 4.8rem 1rem 1.5rem;
    }

    .participant-login-screen {
        min-height: 100dvh;
        height: auto;
        padding: 4.8rem 1rem 1.5rem;
    }

    .login-screen-brand {
        top: 1.15rem;
        left: 1rem;
        font-size: 1.2rem;
    }

    .glass-login-wrapper {
        width: min(24rem, 100%);
        padding: 1.55rem 1.2rem 1.35rem;
    }

    .glass-login-title {
        font-size: 1.75rem;
    }

    .glass-login-subtitle,
    .glass-login-footer,
    .glass-register {
        font-size: 0.8rem;
    }

    .login-screen-credit {
        position: static;
        transform: none;
        margin-top: 1rem;
        text-align: center;
        white-space: normal;
    }

    .glass-modal-actions {
        flex-direction: column;
    }
}

.session-active-indicator {
    --session-active-animation: 2s ease-in-out infinite;
    --session-active-color: #178d00;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    width: fit-content;
    padding: 0.55rem 1rem 0.55rem 0.4rem;
    border-radius: 999px;
    background: #e1f9dc;
    color: var(--session-active-color);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

.session-active-indicator-compact {
    padding: 0.4rem 0.8rem 0.4rem 0.35rem;
    font-size: 0.8rem;
}

.session-active-indicator-circle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0 0.55rem 0 0.3rem;
    border: 2px solid var(--session-active-color);
    border-radius: 50%;
    animation: session-active-circle var(--session-active-animation);
}

.session-active-indicator-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--session-active-color);
    animation: session-active-dot var(--session-active-animation);
}

.session-active-indicator-outline {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: session-active-outline var(--session-active-animation);
}

@keyframes session-active-circle {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes session-active-dot {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes session-active-outline {
    0% {
        transform: scale(0);
        outline: 12px solid rgba(23, 141, 0, 0.22);
        outline-offset: 0;
        opacity: 1;
    }

    100% {
        transform: scale(1);
        outline: 0 solid transparent;
        outline-offset: 16px;
        opacity: 0;
    }
}

.alert-sound-button-content {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.alert-sound-loader {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0.55rem;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #263142 0%, #161d29 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.alert-sound-loader svg {
    color: rgba(255, 255, 255, 0.78);
    transform: scale(1.05);
    transition: color 0.2s ease, transform 0.2s ease;
}

.alert-sound-button-content:hover .alert-sound-loader {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #1f2937 0%, #0f1720 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 18px rgba(15, 23, 32, 0.16);
}

.alert-sound-button-content:hover .alert-sound-loader svg {
    color: #ffffff;
}

.alert-sound-point {
    position: absolute;
    bottom: 0.28rem;
    left: 0.28rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #20c15a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.alert-sound-point::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 1px;
    border-radius: 999px;
    background: #20c15a;
    animation: alert-sound-pulse 1s linear infinite;
}

.alert-sound-button-content.is-disabled .alert-sound-loader {
    background: linear-gradient(180deg, #5d6774 0%, #4a5360 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.alert-sound-button-content.is-disabled .alert-sound-loader svg {
    color: rgba(255, 255, 255, 0.56);
}

.alert-sound-button-content.is-disabled .alert-sound-point {
    background: #aeb7c2;
}

.alert-sound-button-content.is-disabled .alert-sound-point::before {
    animation: none;
    background: transparent;
}

@keyframes alert-sound-pulse {
    0% {
        width: 1px;
        height: 1px;
        background: rgba(32, 193, 90, 0.9);
    }

    100% {
        width: 30px;
        height: 30px;
        background: rgba(32, 193, 90, 0);
    }
}

.drd-theme {
    min-height: 100vh;
    font-family: "Segoe UI", "Segoe UI Variable", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--drd-text);
    background:
        radial-gradient(circle at top left, rgba(10, 111, 120, 0.06), transparent 20rem),
        linear-gradient(180deg, #fbfdff 0%, #eef3f8 100%);
}

.drd-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
}

.drd-shell-main {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.drd-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    border-right: 1px solid rgba(215, 225, 236, 0.9);
    backdrop-filter: blur(16px);
}

.drd-sidebar-brand,
.drd-brand,
.drd-topbar-inner,
.drd-page-header-inline,
.drd-cluster,
.drd-user-chip {
    display: flex;
    align-items: center;
}

.drd-sidebar-brand,
.drd-page-header-inline,
.drd-topbar-inner {
    justify-content: space-between;
    gap: 1rem;
}

.drd-brand,
.drd-cluster,
.drd-user-chip {
    gap: 0.75rem;
}

.drd-sidebar-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border: 1px solid var(--drd-border);
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    box-shadow: var(--drd-shadow);
}

.drd-sidebar-copy,
.drd-topbar-copy,
.drd-page-header-copy {
    display: grid;
    gap: 0.2rem;
}

.drd-sidebar-copy strong,
.drd-topbar-copy strong {
    font-size: 1rem;
    line-height: 1.35;
}

.drd-sidebar-copy small,
.drd-muted,
.drd-caption {
    color: var(--drd-muted);
}

.drd-sidebar-nav,
.drd-sidebar-footer {
    display: grid;
    gap: 1rem;
}

.drd-sidebar-section {
    display: grid;
    gap: 0.45rem;
}

.drd-sidebar-heading,
.drd-kicker,
.drd-eyebrow {
    color: var(--drd-accent);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.drd-nav-link {
    position: relative;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
    border-radius: 16px;
    color: var(--drd-muted);
    transition: background-color 0.18s ease, color 0.18s ease;
}

.drd-nav-link:hover,
.drd-nav-link.is-active {
    color: var(--drd-text);
    background: rgba(10, 111, 120, 0.09);
}

.drd-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(215, 225, 236, 0.85);
    backdrop-filter: blur(14px);
}

.drd-topbar-inner {
    min-height: 72px;
}

.drd-page-shell {
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
}

.drd-page-header-inline {
    align-items: flex-start;
    flex-wrap: wrap;
}

.drd-lead {
    color: var(--drd-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.drd-metric,
.drd-card,
.drd-table-shell {
    border: 1px solid var(--drd-border);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    box-shadow: var(--drd-shadow);
}

.drd-metric,
.drd-card {
    padding: 1.25rem;
}

.drd-metric {
    display: grid;
    gap: 0.3rem;
}

.drd-metric-value {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
}

.drd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.drd-badge-info {
    color: var(--drd-accent);
    background: var(--drd-accent-soft);
}

.drd-badge-success {
    color: var(--drd-success);
    background: rgba(31, 132, 90, 0.12);
}

.drd-badge-neutral {
    color: var(--drd-muted);
    background: #eff3f7;
}

.drd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f3f7fa;
    color: var(--drd-text);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s ease;
}

.drd-button:hover {
    transform: translateY(-1px);
}

.drd-button-primary {
    background: var(--drd-accent);
    color: #ffffff;
}

.drd-button-secondary {
    background: #eef4f7;
    color: var(--drd-text);
    border-color: rgba(215, 225, 236, 0.9);
}

.drd-button-outline {
    background: transparent;
    border-color: rgba(215, 225, 236, 0.9);
}

.drd-button-block {
    width: 100%;
}

.drd-field {
    display: grid;
    gap: 0.45rem;
}

.drd-field-label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--drd-text);
}

.drd-input {
    width: 100%;
    min-height: 46px;
    padding: 0 1rem;
    border: 1px solid var(--drd-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--drd-text);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.drd-input:focus {
    outline: none;
    border-color: rgba(10, 111, 120, 0.52);
    box-shadow: 0 0 0 4px rgba(10, 111, 120, 0.12);
}

.drd-alert {
    position: relative;
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1rem 1rem 1.2rem;
    border-radius: 18px;
    border: 1px solid transparent;
}

.drd-alert::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: currentColor;
}

.drd-alert strong {
    font-size: 0.95rem;
}

.drd-alert span {
    color: var(--drd-muted);
}

.drd-alert-info {
    color: var(--drd-accent);
    border-color: rgba(10, 111, 120, 0.16);
    background: rgba(223, 245, 244, 0.45);
}

.drd-alert-success {
    color: var(--drd-success);
    border-color: rgba(31, 132, 90, 0.16);
    background: rgba(31, 132, 90, 0.08);
}

.drd-alert-destructive {
    color: var(--drd-danger);
    border-color: rgba(196, 49, 75, 0.18);
    background: rgba(196, 49, 75, 0.08);
}

.drd-table-shell {
    overflow: hidden;
}

.drd-table-shell-scroll {
    overflow-x: auto;
}

.drd-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
}

.drd-table th,
.drd-table td {
    padding: 1rem 1.1rem;
    text-align: left;
    vertical-align: top;
}

.drd-table thead th {
    color: var(--drd-muted);
    font-size: 0.86rem;
    font-weight: 700;
    border-bottom: 1px solid var(--drd-border);
}

.drd-table tbody td {
    border-top: 1px solid rgba(215, 225, 236, 0.76);
}

.drd-table tbody tr:first-child td {
    border-top: none;
}

.drd-table-primary {
    display: grid;
    gap: 0.2rem;
}

.drd-table-primary strong {
    font-weight: 700;
}

.drd-table-meta {
    color: var(--drd-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.drd-admin-logo {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--drd-accent);
    letter-spacing: 0.08em;
}

.drd-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #ecf3f8 100%);
    border: 1px solid rgba(215, 225, 236, 0.9);
    color: var(--drd-accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.drd-admin-sidebar-note {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: var(--drd-accent-soft);
    color: var(--drd-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.drd-admin-sidebar-note strong,
.drd-admin-code {
    color: var(--drd-text);
}

.drd-admin-code {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.drd-admin-code-soft {
    color: var(--drd-muted);
}

.drd-admin-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.drd-admin-app .entry-panel,
.drd-admin-app .entry-panel-full {
    box-shadow: none;
}

.drd-admin-app .summary-card {
    background: #f5f9fc;
}

@media (max-width: 1100px) {
    .drd-shell {
        grid-template-columns: 1fr;
    }

    .drd-sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(215, 225, 236, 0.9);
    }

    .drd-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .drd-page-shell {
        padding: 1rem;
    }

    .drd-page-header-inline,
    .drd-topbar-inner,
    .drd-cluster,
    .drd-admin-table-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .drd-grid-4 {
        grid-template-columns: 1fr;
    }

    .drd-table--stacked {
        min-width: 100%;
    }

    .drd-table--stacked thead {
        display: none;
    }

    .drd-table--stacked tbody,
    .drd-table--stacked tr,
    .drd-table--stacked td {
        display: block;
        width: 100%;
    }

    .drd-table--stacked tbody tr {
        padding: 1rem 1rem 0.35rem;
        border-top: 1px solid rgba(215, 225, 236, 0.76);
    }

    .drd-table--stacked td {
        padding: 0 0 0.8rem;
        border: none;
    }

    .drd-table--stacked td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.2rem;
        color: var(--drd-muted);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}

.session-open-button {
    --session-open-accent: #a8eb4f;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.95rem 2.2rem;
    border: 4px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--session-open-accent);
    box-shadow: 0 0 0 2px var(--session-open-accent);
    cursor: pointer;
    overflow: hidden;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.session-open-button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px var(--session-open-accent),
        0 0 0 6px rgba(168, 235, 79, 0.24);
}

.session-open-button-arrow {
    position: absolute;
    z-index: 2;
    width: 24px;
    fill: var(--session-open-accent);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.session-open-button-arrow-front {
    right: 16px;
}

.session-open-button-arrow-back {
    left: -25%;
}

.session-open-button-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--session-open-accent);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.session-open-button-text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    white-space: nowrap;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.session-open-button:hover {
    color: #1b2116;
    box-shadow: 0 0 0 12px transparent;
    border-radius: 14px;
}

.session-open-button:hover .session-open-button-arrow-front {
    right: -25%;
}

.session-open-button:hover .session-open-button-arrow-back {
    left: 16px;
}

.session-open-button:hover .session-open-button-text {
    transform: translateX(12px);
}

.session-open-button:hover .session-open-button-arrow {
    fill: #1b2116;
}

.session-open-button:hover .session-open-button-circle {
    width: 240px;
    height: 240px;
    opacity: 1;
}

.session-open-button:active {
    transform: scale(0.95);
    box-shadow: 0 0 0 4px var(--session-open-accent);
}

.session-open-button-compact {
    padding: 0.78rem 1.6rem;
    font-size: 0.92rem;
}

.session-delete-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 150px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #e62222;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    overflow: hidden;
}

.session-delete-button,
.session-delete-button span,
.session-delete-button svg {
    transition: 200ms;
}

.session-delete-button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 1px #e62222,
        0 0 0 4px rgba(230, 34, 34, 0.2);
}

.session-delete-button-text {
    width: 100%;
    transform: translateX(18px);
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 700;
    text-align: center;
}

.session-delete-button-icon {
    position: absolute;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 0;
    border-left: 1px solid #c41b1b;
    transform: translateX(0);
}

.session-delete-button-icon svg {
    width: 15px;
    fill: #f2f2f2;
}

.session-delete-button:hover {
    background: #ff3636;
}

.session-delete-button:hover .session-delete-button-text {
    color: transparent;
}

.session-delete-button:hover .session-delete-button-icon {
    width: 150px;
    height: 50px;
    border-left: none;
}

.session-delete-button:active .session-delete-button-icon svg {
    transform: scale(0.8);
}

@media (max-width: 760px) {
    .mosaic-column-picker {
        width: 100%;
        --container-width: 100%;
    }

    .session-open-button {
        width: 100%;
        justify-content: center;
    }

    .session-delete-button {
        width: 100%;
    }

    .session-delete-button:hover .session-delete-button-icon {
        width: 100%;
    }
}

/* Control room refresh for the master dashboard */

.dashboard-control-room {
    gap: 1.25rem;
}

.dashboard-command-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 24rem);
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid rgba(129, 146, 171, 0.22);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(10, 111, 120, 0.12), rgba(10, 111, 120, 0) 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.92));
    box-shadow: 0 30px 60px rgba(23, 35, 58, 0.1);
}

.dashboard-command-copy,
.dashboard-command-title-block,
.dashboard-panel-copy {
    display: flex;
    flex-direction: column;
}

.dashboard-command-copy {
    gap: 1rem;
}

.dashboard-command-kicker-row,
.dashboard-command-title-row,
.dashboard-panel-title-row,
.dashboard-focus-topbar,
.dashboard-focus-back,
.dashboard-focus-shortcuts,
.dashboard-focus-filmstrip-header,
.dashboard-mosaic-toolbar,
.dashboard-mosaic-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dashboard-command-kicker-row,
.dashboard-panel-title-row,
.dashboard-focus-shortcuts,
.dashboard-mosaic-signals {
    align-items: center;
}

.dashboard-command-title-row,
.dashboard-focus-topbar,
.dashboard-focus-filmstrip-header,
.dashboard-mosaic-toolbar {
    justify-content: space-between;
    align-items: flex-start;
}

.dashboard-command-title-block,
.dashboard-panel-copy {
    gap: 0.55rem;
}

.dashboard-command-lead,
.dashboard-panel-lead,
.dashboard-focus-sidebar-note {
    margin: 0;
    color: var(--drd-muted);
    line-height: 1.55;
}

.dashboard-command-lead {
    max-width: 54rem;
    font-size: 0.98rem;
}

.dashboard-inline-stat {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.38rem 0.72rem;
    border: 1px solid rgba(129, 146, 171, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--drd-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-inline-stat.is-alert {
    color: var(--drd-warning);
    border-color: rgba(197, 123, 21, 0.18);
    background: rgba(197, 123, 21, 0.1);
}

.dashboard-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.dashboard-kpi-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(129, 146, 171, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.dashboard-kpi-card span,
.dashboard-access-item span,
.dashboard-focus-sidebar-label {
    color: var(--drd-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-kpi-card strong {
    font-size: clamp(1.8rem, 2.6vw, 2.45rem);
    line-height: 1;
}

.dashboard-kpi-card small,
.dashboard-access-item small {
    color: var(--drd-muted);
    line-height: 1.45;
}

.dashboard-kpi-card-highlight {
    border-color: rgba(10, 111, 120, 0.18);
    background: linear-gradient(180deg, rgba(223, 245, 244, 0.72), rgba(255, 255, 255, 0.82));
}

.dashboard-kpi-card-highlight strong {
    color: var(--drd-accent);
}

.dashboard-kpi-card-warning {
    border-color: rgba(197, 123, 21, 0.18);
    background: linear-gradient(180deg, rgba(255, 244, 227, 0.86), rgba(255, 255, 255, 0.82));
}

.dashboard-kpi-card-warning strong {
    color: var(--drd-warning);
}

.dashboard-access-card {
    padding: 0.95rem;
    border: 1px solid rgba(129, 146, 171, 0.18);
    border-radius: 24px;
    background: rgba(245, 248, 252, 0.86);
}

.dashboard-access-summary {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    cursor: pointer;
}

.dashboard-access-summary::-webkit-details-marker {
    display: none;
}

.dashboard-access-summary-meta {
    color: var(--drd-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.dashboard-access-grid {
    display: grid;
    gap: 0.8rem;
}

.dashboard-access-item {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(129, 146, 171, 0.16);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.88));
}

.dashboard-access-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.dashboard-access-copy strong {
    font-size: 1rem;
}

.dashboard-alert-stack {
    display: grid;
    gap: 0.75rem;
}

.dashboard-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 24rem);
    gap: 1rem;
    align-items: start;
}

.dashboard-primary-column {
    min-width: 0;
}

.dashboard-help-rail {
    position: sticky;
    top: 1.1rem;
    align-self: start;
}

.dashboard-panel-prominent {
    padding: 1.2rem;
    background:
        radial-gradient(circle at top right, rgba(10, 111, 120, 0.08), rgba(10, 111, 120, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 254, 0.92));
}

.dashboard-help-panel {
    padding: 1.1rem;
}

.dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.dashboard-panel-header-rich {
    flex-wrap: wrap;
}

.dashboard-panel-header-tight {
    margin-bottom: 0.9rem;
}

.dashboard-panel-lead {
    max-width: 42rem;
    font-size: 0.92rem;
}

.help-queue-list {
    gap: 0.8rem;
}

.help-queue-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.86));
}

.help-queue-item-copy {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.help-queue-signals,
.dashboard-focus-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.queue-signal,
.dashboard-focus-mini-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(96, 112, 137, 0.1);
    color: var(--drd-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.queue-signal-highlight {
    color: var(--drd-accent);
    background: rgba(10, 111, 120, 0.1);
}

.queue-signal-success {
    color: var(--drd-success);
    background: rgba(31, 132, 90, 0.12);
}

.queue-signal-warning {
    color: var(--drd-warning);
    background: rgba(197, 123, 21, 0.12);
}

.queue-signal-danger {
    color: var(--drd-danger);
    background: rgba(196, 49, 75, 0.12);
}

.help-queue-actions {
    width: 100%;
}

.help-queue-actions fluent-button {
    flex: 1 1 0;
}

.mosaic-grid-video {
    gap: 0.95rem;
}

.tile-card {
    gap: 0.75rem;
    padding: 0.85rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.92));
}

.tile-card.selected {
    border-color: rgba(10, 111, 120, 0.46);
    box-shadow:
        0 0 0 4px rgba(10, 111, 120, 0.09),
        0 18px 36px rgba(23, 35, 58, 0.1);
}

.tile-card.hand-raised {
    border-color: rgba(197, 123, 21, 0.35);
}

.tile-preview {
    min-height: 14rem;
    border-radius: 20px;
}

.tile-monitor-bar,
.tile-preview-caption {
    position: absolute;
    z-index: 2;
}

.tile-monitor-bar {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.tile-badges {
    justify-content: flex-end;
    gap: 0.4rem;
}

.tile-preview-caption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(14, 22, 42, 0.16), rgba(14, 22, 42, 0.78));
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.tile-preview-caption strong,
.dashboard-focus-mini-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.tile-preview-caption span {
    display: block;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    line-height: 1.45;
}

.tile-footer {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tile-actions {
    gap: 0.55rem;
    flex-wrap: wrap;
}

.tile-actions fluent-button {
    flex: 0 0 auto;
}

.empty-state-compact {
    padding: 1rem;
    border-radius: 18px;
    font-size: 0.92rem;
}

.empty-state-prominent {
    min-height: min(42vh, 24rem);
    display: grid;
    place-items: center;
}

.dashboard-focus-mode {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid rgba(129, 146, 171, 0.22);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(10, 111, 120, 0.1), rgba(10, 111, 120, 0) 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.92));
    box-shadow: 0 26px 52px rgba(23, 35, 58, 0.1);
}

.dashboard-focus-mode:focus {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(10, 111, 120, 0.14),
        0 26px 52px rgba(23, 35, 58, 0.1);
}

.dashboard-focus-heading h2,
.dashboard-focus-filmstrip-header h3 {
    margin: 0;
}

.dashboard-kbd-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.34rem 0.72rem;
    border: 1px solid rgba(129, 146, 171, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--drd-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-focus-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 23rem);
    gap: 1rem;
    align-items: stretch;
}

.dashboard-focus-stage-card {
    padding: 1rem;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(18, 28, 48, 0.92));
    border-color: rgba(129, 146, 171, 0.16);
}

.dashboard-focus-stage {
    min-height: min(68vh, 46rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at center, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0) 40%),
        #0e162a;
}

.dashboard-focus-stage .frame-overlay {
    place-items: end start;
    text-align: left;
    color: #e9f0fa;
    background: linear-gradient(180deg, rgba(14, 22, 42, 0.04), rgba(14, 22, 42, 0.6));
}

.dashboard-focus-stage-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 28rem;
}

.dashboard-focus-stage-copy strong {
    font-size: 1.05rem;
}

.dashboard-focus-stage-copy span {
    color: rgba(233, 240, 250, 0.76);
    line-height: 1.55;
}

.dashboard-focus-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 1rem;
}

.dashboard-focus-sidebar-block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(129, 146, 171, 0.16);
    border-radius: 20px;
    background: var(--drd-surface-muted);
}

.dashboard-focus-sidebar-list {
    display: grid;
    gap: 0.7rem;
}

.dashboard-focus-sidebar-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.dashboard-focus-sidebar-list strong {
    font-size: 0.86rem;
}

.dashboard-focus-sidebar-list span {
    color: var(--drd-muted);
    text-align: right;
    line-height: 1.45;
}

.dashboard-focus-actions {
    display: grid;
    gap: 0.65rem;
}

.dashboard-focus-actions fluent-button {
    width: 100%;
}

.dashboard-focus-filmstrip {
    padding: 1.1rem;
}

.dashboard-focus-filmstrip-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.75rem;
}

.dashboard-focus-mini {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(129, 146, 171, 0.18);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.92));
    color: var(--drd-text);
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-focus-mini:hover {
    transform: translateY(-1px);
    border-color: rgba(10, 111, 120, 0.25);
    box-shadow: 0 16px 28px rgba(23, 35, 58, 0.08);
}

.dashboard-focus-mini.is-sharing {
    border-color: rgba(10, 111, 120, 0.28);
}

.dashboard-focus-mini.is-hand-raised {
    border-color: rgba(197, 123, 21, 0.28);
}

@media (min-width: 1201px) {
    .dashboard-access-summary {
        display: none;
    }

    details.dashboard-access-card:not([open]) > :not(summary) {
        display: block;
    }
}

@media (max-width: 1200px) {
    .dashboard-command-bar,
    .dashboard-workspace,
    .dashboard-focus-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-access-card {
        padding: 1rem;
    }

    .dashboard-access-summary {
        display: flex;
    }

    .dashboard-help-rail {
        position: static;
    }
}

@media (max-width: 900px) {
    .dashboard-kpi-row,
    .dashboard-focus-filmstrip-list {
        grid-template-columns: 1fr;
    }

    .dashboard-access-copy,
    .dashboard-focus-sidebar-list div {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-focus-sidebar-list span {
        text-align: left;
    }
}

@media (max-width: 760px) {
    .dashboard-command-bar,
    .dashboard-focus-mode {
        padding: 1rem;
        border-radius: 24px;
    }

    .dashboard-command-kicker-row,
    .dashboard-command-title-row,
    .dashboard-panel-header,
    .dashboard-focus-topbar,
    .dashboard-focus-back,
    .dashboard-mosaic-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-inline-stat,
    .dashboard-kbd-chip {
        width: fit-content;
    }

    .tile-monitor-bar,
    .tile-preview-caption {
        left: 0.55rem;
        right: 0.55rem;
    }

    .tile-preview-caption {
        bottom: 0.55rem;
        padding: 0.75rem 0.8rem;
    }

    .dashboard-focus-stage {
        min-height: 20rem;
    }
}
