* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #0b1220;
    color: #e2e8f0;
}

.game-shell {
    min-height: 100vh;
    padding: 24px;
    background:
            radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.05), transparent 35%),
            linear-gradient(180deg, #0a1220 0%, #0f172a 100%);
}

.game-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
}

.game-story {
    margin-top: 24px;
    padding: 16px 18px;
    border: 2px solid #1f2937;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.6);
}

.global-actions {
    position: fixed;
    right: 22px;
    bottom: calc(22px + 2vh);
    z-index: 5;
}

.workspace-open {
    display: inline-block;
    width: 188px;
    height: 64px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    filter: drop-shadow(4px 5px 0 #02040a);
}

.workspace-open[hidden] {
    display: none;
}

.workspace-open.is-urgent {
    filter: drop-shadow(4px 5px 0 #02040a) drop-shadow(0 0 12px rgba(220, 38, 38, 0.72));
}

.workspace-open-art {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("../resources/general/button-general-workspace.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.workspace-open-status {
    position: absolute;
    left: 50%;
    bottom: -18px;
    min-width: 96px;
    transform: translateX(-50%) rotate(-2deg);
    padding: 4px 8px;
    border: 3px solid var(--shadow-hard);
    background: #fffaf0;
    color: #111827;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 var(--shadow-hard);
}

.workspace-open-status[hidden] {
    display: none;
}

.workspace {
    position: fixed;
    inset: 0;
    z-index: 45;
}

.workspace.is-hidden {
    display: none;
}

.workspace-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.78);
}

.workspace-shell {
    position: absolute;
    inset: 18px;
    border: 6px solid var(--shadow-hard);
    background: #0b1724;
    box-shadow: 10px 10px 0 var(--shadow-hard), 0 24px 70px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    container-type: size;
    container-name: workspace-shell;
}

.workspace-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100cqw, 177.68cqh);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 26px 0;
    background: none;
    border-bottom: none;
    min-height: 0;
    pointer-events: none;
}

.workspace-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: auto;
}

.workspace-header-left h2 {
    order: 1;
    margin: 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-strong);
    text-shadow: 3px 3px 0 var(--shadow-hard);
}

.workspace-role {
    order: 2;
    display: block;
    margin-top: 2px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    transform: none;
}

.workspace-header-right {
    pointer-events: none;
}

.workspace-role-toggle {
    display: inline-flex;
    gap: 6px;
    border: 3px solid var(--shadow-hard);
    padding: 4px;
    background: #fff2cf;
    pointer-events: auto;
}

.role-toggle {
    border: 2px solid var(--shadow-hard);
    background: #111827;
    color: #f8fafc;
    font-weight: 800;
    padding: 6px 10px;
    cursor: pointer;
}

.role-toggle.is-active {
    background: #38bdf8;
    color: #0f172a;
}

.workspace-close,
.workspace-panel-close {
    border: 0;
    border-radius: 0;
    background: url("../resources/general/button-general-close.png") center / contain no-repeat;
    color: transparent;
    box-shadow: none;
    cursor: pointer;
    font-size: 0;
    line-height: 1;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.workspace-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 46px;
    height: 46px;
    pointer-events: auto;
    z-index: 12;
}

.workspace-panel-close {
    width: 42px;
    height: 42px;
}

.workspace-close:hover,
.workspace-panel-close:hover {
    transform: translate(-1px, -1px);
    filter: brightness(1.08);
}

.workspace-close:active,
.workspace-panel-close:active {
    transform: translateY(1px);
}

.workspace-desk {
    position: relative;
    flex: 1;
    container-type: size;
    container-name: workspace-desk;
    display: grid;
    place-items: center;
    min-height: 0;
    background:
            radial-gradient(circle at 50% 42%, rgba(22, 42, 57, 0.76), transparent 68%),
            #07111b;
    overflow: hidden;
}

.workspace-scene {
    position: relative;
    width: min(100cqw, 177.68cqh);
    max-width: 100%;
    aspect-ratio: 1672 / 941;
    container-type: inline-size;
    background-image: url("../resources/workspace/asset-workspace-background.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 0 0 1px rgba(240, 180, 41, 0.16), 0 12px 32px rgba(0, 0, 0, 0.42);
    overflow: hidden;
}

.workspace-object {
    position: absolute;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    padding: 0;
    color: #111827;
    filter: drop-shadow(8px 10px 8px rgba(0, 0, 0, 0.45));
    z-index: 3;
}

.workspace-object[hidden] {
    display: none !important;
}

.workspace-object:focus-visible {
    outline: max(3px, 0.22cqw) solid #f0b429;
    outline-offset: max(2px, 0.14cqw);
}

.workspace-object:hover .workspace-object-art {
    filter: drop-shadow(0 0 2px #082f49) drop-shadow(0 0 14px rgba(56, 189, 248, 0.95));
    transform: translateY(-0.35cqw);
}

.workspace-object:focus-visible .workspace-object-art,
.workspace-desk[data-selected="mail"] .workspace-laptop .workspace-object-art,
.workspace-desk[data-selected="calls"] .workspace-phone .workspace-object-art,
.workspace-desk[data-selected="org"] .workspace-org .workspace-object-art,
.workspace-desk[data-selected="glossary"] .workspace-glossary .workspace-object-art,
.workspace-desk[data-selected="incident-notes"] .workspace-notes .workspace-object-art,
.workspace-desk[data-selected="personnel-folder"] .workspace-personnel .workspace-object-art,
.workspace-desk[data-selected="system-landscape"] .workspace-systems .workspace-object-art,
.workspace-desk[data-selected="player-report"] .workspace-player-report .workspace-object-art {
    filter: drop-shadow(0 0 2px #713f12) drop-shadow(0 0 16px rgba(240, 180, 41, 0.96));
}

.workspace-object-art {
    position: absolute;
    inset: 0;
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: filter 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: filter;
}

.workspace-laptop {
    left: 12%;
    top: 14%;
    width: 27.6%;
    aspect-ratio: 1.32;
    transform: rotate(-4deg);
}

.workspace-art-laptop {
    background-image: url("../resources/workspace/asset-workspace-laptop.png");
}

.workspace-phone {
    left: 43%;
    top: 15%;
    width: 9.6%;
    aspect-ratio: 0.56;
    transform: rotate(6deg);
}

.workspace-art-phone {
    background-image: url("../resources/workspace/asset-workspace-phone.png");
}

.workspace-org {
    right: 12%;
    top: 14%;
    width: 16.8%;
    aspect-ratio: 0.72;
    transform: rotate(5deg);
}

.workspace-art-org {
    background-image: url("../resources/workspace/asset-workspace-organization-chart.png");
}

.workspace-glossary {
    left: 14%;
    bottom: 7%;
    width: 15%;
    aspect-ratio: 0.74;
    transform: rotate(-4deg);
}

.workspace-art-glossary {
    background-image: url("../resources/workspace/asset-workspace-glossary.png");
}

.workspace-notes {
    right: 14%;
    bottom: 7%;
    width: 13.8%;
    aspect-ratio: 0.72;
    transform: rotate(4deg);
}

.workspace-art-notes {
    background-image: url("../resources/workspace/asset-workspace-incident-notes.png");
}

.workspace-personnel {
    left: 57%;
    bottom: 7%;
    width: 14.4%;
    aspect-ratio: 0.72;
    transform: rotate(2deg);
}

.workspace-art-personnel {
    background-image: url("../resources/workspace/asset-workspace-personnel-folder.png");
}

.workspace-player-report {
    left: 52%;
    top: 41%;
    width: 13.2%;
    aspect-ratio: 1.22;
    transform: rotate(2deg);
}

.workspace-art-player-report {
    background-image: url("../resources/workspace/asset-workspace-paperfolder.png");
}

.workspace-systems {
    left: 37%;
    bottom: 6%;
    width: 15.6%;
    aspect-ratio: 1.0;
    transform: rotate(-3deg);
}

.workspace-art-systems {
    background-image: url("../resources/workspace/asset-workspace-tablet.png");
}

.workspace-object-label {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) rotate(1deg);
    min-width: 8.2cqw;
    padding: 0.5cqw 0.7cqw 0.4cqw;
    border: none;
    background:
            linear-gradient(165deg, rgba(255, 255, 255, 0.18), transparent 40%),
            linear-gradient(175deg, #f7dd82 0%, #eec95a 100%);
    box-shadow: 0.18cqw 0.3cqw 0.55cqw rgba(0, 0, 0, 0.4), inset 0 -0.06cqw 0 rgba(0, 0, 0, 0.1);
    color: #2b2410 !important;
    font-family: 'Kalam', cursive;
    text-transform: none;
    font-weight: 700;
    line-height: 1.15;
    pointer-events: none;
    z-index: 6;
}

.workspace-object-label::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 0.7cqw 0.7cqw;
    border-color: transparent transparent rgba(0, 0, 0, 0.16) transparent;
}

.workspace-object-label strong {
    display: block;
    font-family: 'Kalam', cursive;
    font-size: 1.05cqw;
    font-weight: 700;
    color: #2b2410 !important;
    letter-spacing: 0;
    white-space: nowrap;
}

.workspace-object-label small {
    display: block;
    font-family: 'Kalam', cursive;
    font-size: 0.82cqw;
    font-weight: 400;
    color: #4a3d16 !important;
    letter-spacing: 0;
    white-space: nowrap;
}

.workspace-laptop .workspace-object-label {
    left: 52%;
    bottom: 2%;
    transform: translateX(-50%) rotate(-2deg);
    min-width: 8.2cqw;
}

.workspace-phone .workspace-object-label {
    left: 74%;
    bottom: 4%;
    transform: translateX(-50%) rotate(2deg);
    min-width: 7.2cqw;
}

.workspace-org .workspace-object-label {
    left: 75%;
    bottom: 5%;
    transform: translateX(-50%) rotate(3deg);
    min-width: 8.2cqw;
}

.workspace-glossary .workspace-object-label {
    left: 45%;
    bottom: 1%;
    transform: translateX(-50%) rotate(-3deg);
    min-width: 10.5cqw;
}

.workspace-notes .workspace-object-label,
.workspace-personnel .workspace-object-label {
    left: 58%;
    bottom: 3%;
    transform: translateX(-50%) rotate(2deg);
    min-width: 10cqw;
}

.workspace-flavor {
    position: absolute;
    display: block;
    aspect-ratio: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(5px 7px 5px rgba(0, 0, 0, 0.38));
    pointer-events: none;
    z-index: 2;
}

.workspace-coffee {
    left: 4%;
    top: 15%;
    width: 9%;
    aspect-ratio: 0.78;
    background-image: url("../resources/workspace/asset-workspace-coffee-mug.png");
    transform: rotate(-7deg);
}

.workspace-post-it {
    left: 3%;
    top: 45%;
    width: 8%;
    aspect-ratio: 1.06;
    background-image: url("../resources/workspace/asset-workspace-post-it.png");
    transform: rotate(-8deg);
}

.workspace-plant {
    left: 6%;
    top: 11%;
    width: 8.5%;
    aspect-ratio: 0.82;
    background-image: url("../resources/workspace/asset-workspace-plant.png");
    transform: rotate(-4deg);
    z-index: 1;
}

.workspace-executive-label {
    left: 1%;
    bottom: 3%;
    width: 14%;
    aspect-ratio: 1.42;
    background-image: url("../resources/workspace/asset-workspace-exectutive-label.png");
    transform: rotate(-5deg);
}

.workspace-pen {
    left: 4%;
    top: 53%;
    width: 13%;
    aspect-ratio: 2;
    background-image: url("../resources/workspace/asset-workspace-pen.png");
    transform: rotate(20deg);
}

.workspace-penholder {
    left: -1%;
    top: 30%;
    width: 15%;
    aspect-ratio: 1.55;
    background-image: url("../resources/workspace/asset-workspace-penholder.png");
    transform: rotate(-5deg);
}

.workspace-object.requires-action .workspace-object-art {
    animation: workspaceRequiredPulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 2px #7f1d1d) drop-shadow(0 0 18px rgba(239, 68, 68, 0.95));
}

.workspace-object.requires-action:hover .workspace-object-art,
.workspace-object.requires-action:focus-visible .workspace-object-art,
.workspace-desk[data-selected="mail"] .workspace-laptop.requires-action .workspace-object-art,
.workspace-desk[data-selected="calls"] .workspace-phone.requires-action .workspace-object-art,
.workspace-desk[data-selected="org"] .workspace-org.requires-action .workspace-object-art,
.workspace-desk[data-selected="glossary"] .workspace-glossary.requires-action .workspace-object-art,
.workspace-desk[data-selected="incident-notes"] .workspace-notes.requires-action .workspace-object-art,
.workspace-desk[data-selected="personnel-folder"] .workspace-personnel.requires-action .workspace-object-art,
.workspace-desk[data-selected="player-report"] .workspace-player-report.requires-action .workspace-object-art {
    animation: workspaceAttentionToSelection 0.24s ease-out both;
    filter: drop-shadow(0 0 2px #713f12) drop-shadow(0 0 16px rgba(240, 180, 41, 0.96));
}

@keyframes workspaceAttentionToSelection {
    0% {
        filter: drop-shadow(0 0 2px #7f1d1d) drop-shadow(0 0 20px rgba(239, 68, 68, 0.9));
    }
    55% {
        filter: drop-shadow(0 0 2px #92400e) drop-shadow(0 0 18px rgba(251, 146, 60, 0.76));
    }
    100% {
        filter: drop-shadow(0 0 2px #713f12) drop-shadow(0 0 16px rgba(240, 180, 41, 0.96));
    }
}

@keyframes workspaceRequiredPulse {
    0%, 100% {
        filter: drop-shadow(0 0 2px #7f1d1d) drop-shadow(0 0 14px rgba(239, 68, 68, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 3px #7f1d1d) drop-shadow(0 0 24px rgba(239, 68, 68, 1));
    }
}

.role-p2-only,
.workspace-shell[data-role="2"] .role-p1-only {
    display: none;
}

.workspace-shell[data-role="2"] .role-p2-only {
    display: block;
}

.workspace-panel {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    background: rgba(3, 7, 18, 0.65);
}

.workspace-panel[hidden] {
    display: none;
}

.workspace-panel-frame {
    position: relative;
    z-index: 31;
    width: min(960px, 92vw);
    max-height: min(720px, 86vh);
    display: flex;
    flex-direction: column;
    border: 5px solid var(--shadow-hard);
    background: #101b2d;
    color: #e2e8f0;
    box-shadow: 10px 10px 0 var(--shadow-hard);
}

.workspace-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 5px solid var(--shadow-hard);
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    color: #111827;
}

.workspace-panel-header h3 {
    margin: 2px 0 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.workspace-panel-kicker {
    display: inline-block;
    padding: 2px 10px;
    border: 3px solid var(--shadow-hard);
    background: #fff2cf;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transform: skew(-6deg);
}

.workspace-panel-body {
    padding: 20px;
    overflow: auto;
    background: #0f172a;
}

.panel-grid {
    display: grid;
    gap: 16px;
}

.panel-card {
    padding: 16px;
    border: 3px solid var(--shadow-hard);
    background: #111827;
}

.panel-list {
    display: grid;
    gap: 10px;
}

.panel-list-item {
    padding: 10px 12px;
    border: 2px solid #334155;
    background: #0b2538;
}

.panel-image {
    display: block;
    max-width: 100%;
    border: 3px solid var(--shadow-hard);
    background: #ffffff;
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
    background: #fffaf0;
    color: #111827;
}

.panel-table th,
.panel-table td {
    padding: 8px 10px;
    border: 2px solid var(--shadow-hard);
    text-align: left;
}

.panel-table th {
    background: #f8e7bb;
    text-transform: uppercase;
}

.workspace-panel-button {
    margin-top: 12px;
    padding: 9px 14px;
    border: 3px solid var(--shadow-hard);
    border-radius: 4px;
    background: #f0b429;
    color: #111827;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--shadow-hard);
}

@container workspace-shell (max-width: 1049px) or (max-height: 652px) {
    .workspace-header {
        padding: 12px 16px 0;
    }

    .workspace-header-left h2 {
        font-size: 20px;
    }

    .workspace-role {
        max-width: calc(100vw - 92px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 10px;
    }

    .workspace-close {
        width: 36px;
        height: 36px;
        top: -12px;
        right: -12px;
    }

    .workspace-panel-close {
        width: 36px;
        height: 36px;
    }

    .workspace-desk {
        display: block;
        padding: 12px;
        overflow: auto;
        background:
                linear-gradient(180deg, rgba(4, 15, 28, 0.92), rgba(6, 22, 37, 0.96)),
                url("../resources/workspace/asset-workspace-background.png");
        background-size: cover;
        background-position: center;
    }

    .workspace-scene {
        position: static;
        width: 100%;
        max-width: none;
        min-height: 100%;
        aspect-ratio: auto;
        container-type: normal;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 104px;
        align-content: start;
        gap: 12px;
        background: none;
        box-shadow: none;
        overflow: visible;
    }

    .workspace-object {
        position: relative;
        inset: auto;
        width: auto;
        height: auto;
        min-width: 0;
        min-height: 0;
        aspect-ratio: auto;
        transform: none;
        border: 3px solid var(--shadow-hard);
        border-radius: 8px;
        background:
                linear-gradient(180deg, rgba(20, 79, 113, 0.94), rgba(7, 35, 58, 0.98));
        filter: drop-shadow(4px 5px 0 var(--shadow-hard));
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 14px;
        overflow: hidden;
        text-align: left;
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08), inset 0 -8px 0 rgba(0, 0, 0, 0.16);
        transition: background 0.16s ease, border-color 0.16s ease, filter 0.16s ease, transform 0.16s ease;
    }

    .workspace-object:hover {
        border-color: #67e8f9;
        background: linear-gradient(180deg, rgba(27, 108, 150, 0.96), rgba(9, 49, 77, 0.98));
        filter: drop-shadow(4px 5px 0 var(--shadow-hard)) drop-shadow(0 0 10px rgba(56, 189, 248, 0.72));
        transform: translateY(-1px);
    }

    .workspace-object:active {
        background: linear-gradient(180deg, rgba(7, 35, 58, 0.98), rgba(5, 25, 42, 0.98));
        transform: translateY(1px);
    }

    .workspace-object:focus-visible,
    .workspace-desk[data-selected="mail"] .workspace-laptop,
    .workspace-desk[data-selected="calls"] .workspace-phone,
    .workspace-desk[data-selected="org"] .workspace-org,
    .workspace-desk[data-selected="glossary"] .workspace-glossary,
    .workspace-desk[data-selected="incident-notes"] .workspace-notes,
    .workspace-desk[data-selected="personnel-folder"] .workspace-personnel,
    .workspace-desk[data-selected="system-landscape"] .workspace-systems,
    .workspace-desk[data-selected="player-report"] .workspace-player-report {
        outline: 3px solid #f0b429;
        outline-offset: -6px;
        filter: drop-shadow(4px 5px 0 var(--shadow-hard)) drop-shadow(0 0 12px rgba(240, 180, 41, 0.82));
    }

    .workspace-object.requires-action {
        animation: workspaceMobileRequiredPulse 1.25s ease-in-out infinite;
        border-color: #ef4444;
        background: linear-gradient(180deg, rgba(80, 31, 45, 0.98), rgba(28, 29, 48, 0.98));
    }

    .workspace-object.requires-action:hover {
        border-color: #fca5a5;
        background: linear-gradient(180deg, rgba(119, 42, 58, 0.98), rgba(37, 34, 57, 0.98));
        filter: drop-shadow(4px 5px 0 var(--shadow-hard)) drop-shadow(0 0 14px rgba(239, 68, 68, 0.92));
    }

    .workspace-object.requires-action:focus-visible,
    .workspace-desk[data-selected="mail"] .workspace-laptop.requires-action,
    .workspace-desk[data-selected="calls"] .workspace-phone.requires-action,
    .workspace-desk[data-selected="org"] .workspace-org.requires-action,
    .workspace-desk[data-selected="glossary"] .workspace-glossary.requires-action,
    .workspace-desk[data-selected="incident-notes"] .workspace-notes.requires-action,
    .workspace-desk[data-selected="personnel-folder"] .workspace-personnel.requires-action,
    .workspace-desk[data-selected="system-landscape"] .workspace-systems.requires-action,
    .workspace-desk[data-selected="player-report"] .workspace-player-report.requires-action {
        animation: none;
        filter: drop-shadow(4px 5px 0 var(--shadow-hard)) drop-shadow(0 0 12px rgba(240, 180, 41, 0.82));
    }

    .workspace-shell[data-role="1"] .role-p2-only,
    .workspace-shell[data-role="2"] .role-p1-only {
        display: none;
    }

    .workspace-shell[data-role="2"] .role-p2-only {
        display: flex;
    }

    .workspace-object.requires-action .workspace-object-art,
    .workspace-object.requires-action:hover .workspace-object-art,
    .workspace-object.requires-action:focus-visible .workspace-object-art,
    .workspace-desk[data-selected="mail"] .workspace-laptop.requires-action .workspace-object-art,
    .workspace-desk[data-selected="calls"] .workspace-phone.requires-action .workspace-object-art,
    .workspace-desk[data-selected="org"] .workspace-org.requires-action .workspace-object-art,
    .workspace-desk[data-selected="glossary"] .workspace-glossary.requires-action .workspace-object-art,
    .workspace-desk[data-selected="incident-notes"] .workspace-notes.requires-action .workspace-object-art,
    .workspace-desk[data-selected="personnel-folder"] .workspace-personnel.requires-action .workspace-object-art,
    .workspace-desk[data-selected="system-landscape"] .workspace-systems.requires-action .workspace-object-art,
    .workspace-desk[data-selected="player-report"] .workspace-player-report.requires-action .workspace-object-art {
        animation: none;
        filter: none;
    }

    .workspace-flavor {
        display: none !important;
    }

    .workspace-object-art {
        flex: 0 0 48px;
        position: relative;
        inset: auto;
        width: 48px;
        height: 48px;
        filter: none;
        transform: none;
    }

    .workspace-object:hover .workspace-object-art {
        transform: none;
    }

    .workspace-art-laptop {
        background-image: url("../resources/workspace/icon-workspace-mobile-mail.png");
    }

    .workspace-art-phone {
        background-image: url("../resources/workspace/icon-workspace-mobile-phone.png");
    }

    .workspace-art-org {
        background-image: url("../resources/workspace/icon-workspace-mobile-org-chart.png");
    }

    .workspace-art-glossary {
        background-image: url("../resources/workspace/icon-workspace-mobile-glossary.png");
    }

    .workspace-art-notes {
        background-image: url("../resources/workspace/icon-workspace-mobile-incident-notes.png");
    }

    .workspace-art-personnel {
        background-image: url("../resources/workspace/icon-workspace-mobile-personnel-folder.png");
    }

    .workspace-art-systems {
        background-image: url("../resources/workspace/icon-workspace-mobile-incident-report.png");
    }

    .workspace-art-player-report {
        background-image: url("../resources/workspace/icon-workspace-mobile-incident-report.png");
    }

    .workspace-object-label {
        position: static;
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
        color: #e2e8f0 !important;
        font-family: var(--font-main);
        transform: none;
        line-height: 1.12;
        overflow: hidden;
    }

    .workspace-object-label::after {
        display: none;
    }

    .workspace-laptop .workspace-object-label,
    .workspace-phone .workspace-object-label,
    .workspace-org .workspace-object-label,
    .workspace-glossary .workspace-object-label,
    .workspace-notes .workspace-object-label,
    .workspace-personnel .workspace-object-label,
    .workspace-systems .workspace-object-label,
    .workspace-player-report .workspace-object-label {
        left: auto;
        bottom: auto;
        min-width: 0;
        transform: none;
    }

    .workspace-object-label strong {
        display: block;
        font-family: var(--font-main);
        font-size: clamp(13px, 3.15vw, 16px);
        color: #e2e8f0 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }

    .workspace-object-label small {
        display: block;
        margin-top: 4px;
        font-family: var(--font-main);
        font-size: clamp(10px, 2.7vw, 12px);
        color: #cbd5e1 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .workspace-laptop,
    .workspace-phone,
    .workspace-org {
        grid-column: 1 / -1;
        min-height: 88px;
    }

    .workspace-glossary,
    .workspace-notes,
    .workspace-personnel,
    .workspace-systems,
    .workspace-player-report {
        min-height: 104px;
        align-items: center;
    }

    .workspace-glossary .workspace-object-art,
    .workspace-notes .workspace-object-art,
    .workspace-personnel .workspace-object-art,
    .workspace-systems .workspace-object-art,
    .workspace-player-report .workspace-object-art {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .workspace-glossary .workspace-object-label strong,
    .workspace-notes .workspace-object-label strong,
    .workspace-personnel .workspace-object-label strong,
    .workspace-systems .workspace-object-label strong,
    .workspace-player-report .workspace-object-label strong {
        white-space: normal;
    }

    .workspace-shell[data-role="1"] .workspace-notes,
    .workspace-shell[data-role="1"] .workspace-systems,
    .workspace-shell[data-role="2"] .workspace-personnel {
        grid-column: span 1;
    }

    .workspace-open {
        width: 64px;
        height: 64px;
    }

    .workspace-open-art {
        background-image: url("../resources/general/button-general-workspace-small.png");
    }

    @keyframes workspaceMobileRequiredPulse {
        0%, 100% {
            filter: drop-shadow(4px 5px 0 var(--shadow-hard)) drop-shadow(0 0 8px rgba(239, 68, 68, 0.72));
        }
        50% {
            filter: drop-shadow(4px 5px 0 var(--shadow-hard)) drop-shadow(0 0 18px rgba(239, 68, 68, 1));
        }
    }
}

@media (max-width: 900px) {
    .workspace-shell {
        inset: 8px;
        border-width: 4px;
        box-shadow: 6px 6px 0 var(--shadow-hard), 0 18px 46px rgba(0, 0, 0, 0.66);
    }
}

.workspace-prompt-card {
    display: block;
    margin: 8px 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.workspace-prompt-card-dismiss {
    opacity: 0;
}

.workspace-prompt-card button {
    display: block;
    width: 100%;
    padding: 13px 22px;
    border: 2px solid #4a2605;
    border-radius: 6px;
    outline: 1px solid rgba(255, 255, 255, 0.14);
    outline-offset: -3px;
    background: linear-gradient(160deg, #f6ad42 0%, #e88a1a 60%, #d97706 100%);
    color: #1b1004;
    font-family: var(--font-display);
    font-size: 13pt;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.6em;
    text-align: left;
    cursor: pointer;
    box-shadow:
            0 2px 0 rgba(255, 255, 255, 0.16) inset,
            0 -1px 0 rgba(74, 38, 5, 0.45) inset,
            3px 3px 0 #060c14;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.workspace-prompt-card button:hover {
    background: linear-gradient(160deg, #ffc260 0%, #f29a2e 60%, #e1810b 100%);
    transform: translate(-2px, -2px);
    box-shadow:
            0 2px 0 rgba(255, 255, 255, 0.2) inset,
            0 -1px 0 rgba(74, 38, 5, 0.45) inset,
            5px 5px 0 #060c14;
}

.workspace-prompt-card button:focus-visible {
    outline: 3px solid #ffd38a;
    outline-offset: 3px;
}

.workspace-prompt-card button:active {
    transform: translate(1px, 1px);
    box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.12) inset,
            1px 1px 0 #060c14;
}

@media screen and (max-width: 980px) {
    .workspace-prompt-card button {
        padding: 12px 14px;
        font-size: 12pt;
    }
}

@media (prefers-reduced-motion: reduce) {
    .workspace-object-art,
    .workspace-object {
        transition: none !important;
    }

    .workspace-object.requires-action,
    .workspace-object.requires-action .workspace-object-art {
        animation: none !important;
    }

    .workspace-prompt-card,
    .workspace-prompt-card button {
        transition: none !important;
    }

    .workspace-prompt-card button:hover,
    .workspace-prompt-card button:active {
        transform: none;
    }
}
