@font-face {
    font-family: "Open Sans Local";
    src: url("assets/OpenSans-Regular.ttf") format("truetype");
    font-display: block;
}

:root {
    --agent-red: #111111;
    --agent-red-bright: #2d2d2b;
    --agent-navy: #111111;
    --agent-navy-deep: #0d0d0d;
    --agent-cyan: #8ba7ff;
    --agent-cyan-pale: #dfe6ff;
    --agent-green: #9bc8a6;
    --agent-mint: #eef4ee;
    --agent-cream: #f4f1e9;
    --agent-amber: #f2ca74;
    --agent-ink: #111111;
    --agent-white: #ffffff;
    --agent-grey: #ececea;
    --font: "Open Sans Local", Arial, Helvetica, sans-serif;
    --stage-width: 1280px;
    --stage-height: 720px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: #151515;
    color: var(--agent-ink);
    font-family: var(--font);
}

body {
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

.preview-shell {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 28px;
}

.stage-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 22px;
    background: #111;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.5);
}

.stage {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--stage-width);
    height: var(--stage-height);
    overflow: hidden;
    transform-origin: top left;
    background: #f7f7f4;
}

.scene {
    position: absolute;
    inset: 0;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform-origin: center;
}

.atmosphere {
    position: absolute;
    inset: -140px;
    z-index: 0;
    overflow: hidden;
    filter: saturate(1.08);
}

.atmosphere-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(75px);
    mix-blend-mode: multiply;
}

.atmosphere-orb-a {
    width: 620px;
    height: 620px;
    left: 50px;
    top: 280px;
    background: rgba(139, 167, 255, 0.2);
}

.atmosphere-orb-b {
    width: 520px;
    height: 520px;
    right: -20px;
    top: 320px;
    background: rgba(155, 200, 166, 0.18);
}

.atmosphere-orb-c {
    width: 480px;
    height: 480px;
    left: 410px;
    top: -260px;
    background: rgba(242, 202, 116, 0.17);
}

.ambient-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    background-image:
        linear-gradient(rgba(17, 17, 17, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 78%, transparent);
}

.grain {
    position: absolute;
    inset: -50%;
    z-index: 90;
    opacity: 0.045;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(8,12,27,0.28) 0 0.65px, transparent 0.8px),
        radial-gradient(circle at 75% 40%, rgba(8,12,27,0.22) 0 0.55px, transparent 0.75px),
        radial-gradient(circle at 35% 82%, rgba(8,12,27,0.19) 0 0.5px, transparent 0.7px);
    background-position: 0 0, 7px 11px, 13px 4px;
    background-size: 17px 19px, 23px 29px, 31px 37px;
    transform: rotate(5deg);
    mix-blend-mode: multiply;
}

.global-progress {
    position: absolute;
    z-index: 94;
    left: 36px;
    right: 36px;
    bottom: 24px;
    height: 2px;
    overflow: hidden;
    background: rgba(20, 24, 42, 0.1);
}

.global-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--agent-ink);
    transform-origin: left center;
}

.global-cursor {
    position: absolute;
    z-index: 86;
    width: 58px;
    height: 78px;
    opacity: 0;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.23));
    transform-origin: 5px 5px;
}

.global-cursor svg {
    display: block;
    width: 48px;
    overflow: visible;
}

.global-cursor path {
    fill: #fff;
    stroke: var(--agent-navy-deep);
    stroke-width: 5px;
    stroke-linejoin: round;
}

.global-cursor span {
    position: absolute;
    top: 45px;
    left: 30px;
    padding: 5px 9px;
    border-radius: 5px 10px 10px 10px;
    background: var(--agent-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    white-space: nowrap;
}

.global-flash {
    position: absolute;
    z-index: 84;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    opacity: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.94), rgba(139, 167, 255,0.52) 24%, rgba(139, 167, 255,0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/* Signal */

.signal-scene {
    background:
        radial-gradient(circle at 50% 108%, rgba(139, 167, 255, 0.9), transparent 46%),
        linear-gradient(148deg, #f8f8f2 0%, #fff 54%, #ddf9f2 100%);
}

.signal-watermark {
    position: absolute;
    left: -25px;
    top: 215px;
    color: rgba(17, 17, 17, 0.045);
    font-size: 182px;
    font-weight: 900;
    letter-spacing: -0.085em;
    line-height: 0.8;
}

.signal-lockup {
    position: absolute;
    left: 84px;
    top: 166px;
    z-index: 4;
}

.signal-kicker {
    margin-bottom: 16px;
    color: var(--agent-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.signal-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--agent-navy);
    font-size: 92px;
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.78;
}

.signal-copy span:nth-child(2) {
    margin-left: 122px;
    color: transparent;
    -webkit-text-stroke: 2px var(--agent-navy);
}

.signal-copy span:nth-child(3) {
    margin-left: 270px;
    color: var(--agent-red);
}

.signal-line {
    position: absolute;
    left: 0;
    height: 1px;
    background: rgba(17, 17, 17, 0.18);
}

.signal-line-top {
    top: 110px;
    width: 370px;
}

.signal-line-bottom {
    right: 0;
    left: auto;
    bottom: 130px;
    width: 520px;
}

.signal-scan {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #fff;
    box-shadow:
        0 0 36px 12px rgba(255, 255, 255, 0.95),
        0 0 90px 30px rgba(139, 167, 255, 0.35);
}

.signal-index {
    position: absolute;
    right: 58px;
    top: 64px;
    color: rgba(17, 17, 17, 0.46);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

/* Selector and prompt */

.selector-scene {
    background:
        radial-gradient(circle at 50% 105%, #4de5d4 0%, #eef4ee 38%, rgba(255,255,255,0.95) 72%),
        #fff;
}

.selector-ghost {
    position: absolute;
    left: -40px;
    bottom: 30px;
    color: rgba(17, 17, 17, 0.045);
    font-size: 205px;
    font-weight: 900;
    letter-spacing: -0.085em;
    white-space: nowrap;
}

.selector-layout {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.selector-stem {
    color: var(--agent-navy);
    font-size: 60px;
    font-weight: 300;
    letter-spacing: -0.055em;
    line-height: 1.02;
    text-align: right;
}

.role-window {
    position: relative;
    width: 390px;
    height: 270px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 21%, #000 79%, transparent 100%);
}

.role-list {
    position: absolute;
    inset: 0;
}

.role-item {
    position: absolute;
    left: 26px;
    width: 300px;
    height: 68px;
    display: flex;
    align-items: center;
    padding-left: 28px;
    color: var(--agent-navy);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.role-focus {
    position: absolute;
    z-index: 4;
    left: 8px;
    top: 100px;
    width: 330px;
    height: 72px;
    border: 2px solid var(--agent-red);
    border-radius: 36px;
    box-shadow: 0 15px 50px rgba(17, 17, 17, 0.12);
}

.prompt-shell {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 8;
    width: 930px;
    height: 405px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 30px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 45px 110px rgba(21, 44, 60, 0.2);
    backdrop-filter: blur(24px);
    transform: translate(-50%, -50%);
}

.prompt-top {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.09);
}

.prompt-tab {
    padding: 10px 18px;
    border-radius: 20px;
    color: rgba(17, 17, 17, 0.48);
    font-size: 13px;
    font-weight: 700;
}

.prompt-tab.active {
    border: 1px solid var(--agent-red);
    color: var(--agent-red);
    background: rgba(17, 17, 17, 0.04);
}

.prompt-live {
    margin-left: auto;
    color: var(--agent-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.prompt-live i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--agent-green);
    box-shadow: 0 0 0 5px rgba(155, 200, 166, 0.12);
}

.prompt-body {
    position: relative;
    height: calc(100% - 72px);
    padding: 34px 36px;
}

.prompt-label {
    color: rgba(17, 17, 17, 0.42);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.prompt-copy {
    width: 730px;
    min-height: 138px;
    margin-top: 20px;
    color: var(--agent-navy);
    font-size: 37px;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.prompt-copy strong {
    color: var(--agent-red);
}

.prompt-copy:after,
.composer-copy:after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 0.88em;
    margin-left: 4px;
    vertical-align: -0.04em;
    background: var(--agent-red);
}

.prompt-chips {
    display: flex;
    gap: 8px;
}

.prompt-chips span {
    padding: 8px 13px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 16px;
    color: rgba(17, 17, 17, 0.62);
    background: rgba(237, 240, 241, 0.66);
    font-size: 11px;
    font-weight: 700;
}

.prompt-submit,
.composer button,
.invitation-prompt button {
    border: 0;
    border-radius: 50%;
    background: var(--agent-red);
    color: #fff;
    font-weight: 800;
    cursor: default;
}

.prompt-submit {
    position: absolute;
    right: 30px;
    bottom: 28px;
    width: 62px;
    height: 62px;
    font-size: 31px;
    box-shadow: 0 16px 35px rgba(17, 17, 17, 0.25);
}

/* Process */

.process-scene {
    color: #fff;
    background:
        radial-gradient(circle at 52% 88%, rgba(155, 200, 166, 0.5), transparent 42%),
        radial-gradient(circle at 24% 28%, rgba(139, 167, 255, 0.18), transparent 38%),
        #111111;
}

.process-noise {
    position: absolute;
    inset: 0;
    opacity: 0.38;
    background:
        linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,0.06) 50%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgba(255,255,255,0.04) 50%, transparent 50.2%);
    background-size: 74px 74px;
}

.process-meta {
    position: absolute;
    color: rgba(191, 247, 247, 0.32);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.85;
}

.process-meta-a {
    left: 52px;
    top: 58px;
}

.process-meta-b {
    right: 46px;
    bottom: 64px;
    text-align: right;
}

.process-word {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.process-word strong {
    font-size: 156px;
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.8;
}

.process-prefix {
    margin-right: 22px;
    color: var(--agent-cyan);
    font-family: monospace;
    font-size: 22px;
}

.process-caret {
    width: 10px;
    height: 110px;
    margin-left: 16px;
    background: var(--agent-cyan);
}

.process-mask-word strong {
    color: transparent;
    -webkit-text-stroke: 1px rgba(191,247,247,0.65);
    background:
        repeating-linear-gradient(0deg, #bff7f7 0 2px, #8ba7ff 2px 4px, #9bc8a6 4px 6px);
    -webkit-background-clip: text;
    background-clip: text;
}

.mask-stream {
    position: absolute;
    width: 1600px;
    color: rgba(191,247,247,0.28);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.process-code-word {
    gap: 32px;
}

.process-code-word strong {
    color: var(--agent-cyan-pale);
}

.code-brace {
    color: var(--agent-cyan);
    font-family: Georgia, serif;
    font-size: 290px;
    font-weight: 300;
    line-height: 0.5;
}

.design-box {
    position: relative;
    padding: 28px 46px 34px;
    border: 2px solid var(--agent-cyan);
}

.design-box strong {
    color: #fff;
}

.handle {
    position: absolute;
    width: 11px;
    height: 11px;
    border: 2px solid var(--agent-cyan);
    background: #111111;
}

.handle-a { left: -6px; top: -6px; }
.handle-b { right: -6px; top: -6px; }
.handle-c { right: -6px; bottom: -6px; }
.handle-d { left: -6px; bottom: -6px; }

.design-size {
    position: absolute;
    left: 0;
    bottom: -27px;
    color: var(--agent-cyan);
    font-family: monospace;
    font-size: 11px;
}

.remote-cursor {
    position: absolute;
    left: calc(50% + 285px);
    top: calc(50% + 88px);
    padding: 6px 10px;
    border-radius: 3px 9px 9px 9px;
    background: var(--agent-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.remote-cursor span {
    position: absolute;
    left: -10px;
    top: -14px;
    width: 0;
    height: 0;
    border-right: 8px solid transparent;
    border-bottom: 17px solid var(--agent-red);
}

.process-rail {
    position: absolute;
    left: 50%;
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(191,247,247,0.56);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    transform: translateX(-50%);
}

.process-rail i {
    width: 46px;
    height: 1px;
    background: rgba(191,247,247,0.34);
}

/* Orchestration */

.orchestration-scene {
    background:
        radial-gradient(circle at 50% 105%, rgba(139, 167, 255, 0.35), transparent 44%),
        #f7f7f4;
}

.orchestration-title {
    position: absolute;
    left: 72px;
    top: 88px;
    width: 405px;
}

.orchestration-title span,
.network-copy span,
.depth-copy > span {
    color: var(--agent-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.orchestration-title strong {
    display: block;
    margin-top: 13px;
    color: var(--agent-navy);
    font-size: 45px;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.operation-stack {
    position: absolute;
    left: 530px;
    top: 90px;
    width: 660px;
}

.operation-card {
    position: absolute;
    left: 0;
    width: 660px;
    height: 108px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border: 1px solid rgba(17, 17, 17, 0.07);
    border-radius: 19px;
    opacity: 0;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 18px 48px rgba(17, 17, 17,0.09);
}

.operation-avatar {
    flex: 0 0 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.avatar-cyan { background: #7d91d0; }
.avatar-red { background: var(--agent-red); }
.avatar-amber { background: #c6953c; }
.avatar-green { background: #759d7f; }

.operation-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.operation-copy strong {
    color: var(--agent-navy);
    font-size: 16px;
}

.operation-copy span {
    margin-top: 6px;
    overflow: hidden;
    color: rgba(17, 17, 17, 0.55);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.operation-state {
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.operation-state.thinking {
    color: #a65e00;
    background: rgba(255, 189, 89, 0.18);
}

.operation-state.ready {
    color: #497457;
    background: rgba(155, 200, 166, 0.14);
}

.operation-focus {
    position: absolute;
    z-index: 2;
    left: 514px;
    top: 82px;
    width: 692px;
    height: 124px;
    border: 2px solid var(--agent-cyan);
    border-radius: 26px;
    opacity: 0;
    box-shadow: 0 18px 60px rgba(139, 167, 255, 0.2);
}

.operation-toast {
    position: absolute;
    left: 112px;
    bottom: 94px;
    width: 420px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 18px;
    opacity: 0;
    background: var(--agent-navy);
    color: #fff;
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.28);
}

.toast-check {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--agent-green);
    font-size: 20px;
    font-weight: 800;
}

.operation-toast div:last-child {
    display: flex;
    flex-direction: column;
}

.operation-toast strong {
    font-size: 14px;
}

.operation-toast span {
    margin-top: 5px;
    color: rgba(255,255,255,0.62);
    font-size: 11px;
}

.orchestration-ray {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    opacity: 0;
    background: var(--agent-cyan-pale);
    clip-path: polygon(50% 0, 100% 100%, 50% 74%, 0 100%);
    transform: translate(-50%, -50%);
}

/* Network */

.network-scene {
    background:
        radial-gradient(circle at 72% 50%, rgba(139, 167, 255, 0.35), transparent 42%),
        linear-gradient(132deg, #fff 0%, #effbf7 56%, #dfe9df 100%);
}

.network-copy {
    position: absolute;
    left: 76px;
    top: 165px;
    z-index: 5;
    width: 430px;
}

.network-copy strong {
    display: block;
    margin-top: 14px;
    color: var(--agent-navy);
    font-size: 56px;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.network-stage {
    position: absolute;
    left: 810px;
    top: 356px;
    width: 560px;
    height: 560px;
    transform: translate(-50%, -50%);
}

.network-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-a {
    width: 430px;
    height: 430px;
}

.orbit-b {
    width: 320px;
    height: 320px;
    border-style: dashed;
}

.network-core {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 50%;
    width: 176px;
    height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    color: #fff;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,0.3), transparent 26%),
        linear-gradient(145deg, var(--agent-red-bright), var(--agent-red));
    box-shadow:
        0 0 0 18px rgba(17, 17, 17, 0.06),
        0 26px 70px rgba(17, 17, 17, 0.26);
    transform: translate(-50%, -50%);
}

.network-core img {
    position: absolute;
    width: 44px;
    top: 25px;
    opacity: 0.86;
}

.network-count {
    margin-top: 26px;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.network-core span {
    margin-top: -2px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.network-node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 22px;
    opacity: 0;
    color: var(--agent-navy);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 40px rgba(17, 17, 17,0.11);
}

.network-node strong {
    font-size: 17px;
}

.network-node span {
    position: absolute;
    bottom: 9px;
    color: rgba(17, 17, 17,0.43);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.network-caption {
    position: absolute;
    left: 78px;
    bottom: 88px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(17, 17, 17, 0.5);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.network-caption i {
    width: 42px;
    height: 1px;
    background: rgba(17, 17, 17,0.18);
}

/* Workspace */

.workspace-scene {
    background: var(--agent-navy-deep);
    perspective: 1300px;
}

.workspace-camera {
    position: absolute;
    inset: 35px;
    transform-origin: center;
}

.workspace-window {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    background: #f6f7f6;
    box-shadow: 0 50px 120px rgba(0,0,0,0.55);
}

.workspace-sidebar {
    position: relative;
    width: 150px;
    padding: 27px 18px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 20%, rgba(139, 167, 255, 0.16), transparent 35%),
        var(--agent-navy);
}

.workspace-mark {
    width: 42px;
    margin: 0 13px 30px;
}

.workspace-nav {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 7px;
    padding: 0 13px;
    border-radius: 13px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 700;
}

.workspace-nav b {
    color: rgba(255,255,255,0.22);
    font-size: 9px;
}

.workspace-nav.active {
    color: #fff;
    background: rgba(139, 167, 255,0.13);
}

.workspace-nav.active b {
    color: var(--agent-cyan);
}

.workspace-profile {
    position: absolute;
    left: 30px;
    bottom: 26px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--agent-navy);
    background: var(--agent-cyan-pale);
    font-size: 11px;
    font-weight: 800;
}

.workspace-main {
    flex: 1;
    padding: 23px 29px 29px;
    overflow: hidden;
}

.workspace-header {
    height: 71px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.workspace-header > div:first-child {
    display: flex;
    flex-direction: column;
}

.workspace-header span {
    color: rgba(17, 17, 17,0.42);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.workspace-header strong {
    margin-top: 4px;
    color: var(--agent-navy);
    font-size: 26px;
    letter-spacing: -0.04em;
}

.workspace-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.workspace-header-actions > span {
    width: 156px;
    padding: 10px 13px;
    border: 1px solid rgba(17, 17, 17,0.1);
    border-radius: 10px;
}

.workspace-header-actions button {
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--agent-red);
    font-size: 9px;
    font-weight: 800;
}

.workspace-banner {
    height: 41px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 11px;
    color: #497457;
    background: rgba(155, 200, 166,0.11);
    font-size: 10px;
    font-weight: 700;
}

.workspace-banner i {
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--agent-green);
    box-shadow: 0 0 0 5px rgba(155, 200, 166,0.1);
}

.workspace-banner span {
    margin-left: auto;
    color: #497457;
}

.workspace-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.35fr 1fr;
    grid-template-rows: 250px 170px;
    gap: 13px;
    margin-top: 14px;
}

.workspace-panel {
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17,0.07);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(17, 17, 17,0.04);
}

.panel-heading {
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 1px solid rgba(17, 17, 17,0.06);
}

.panel-heading span {
    color: var(--agent-navy);
    font-size: 10px;
    font-weight: 800;
}

.panel-heading b {
    color: rgba(17, 17, 17,0.36);
    font-size: 7px;
    letter-spacing: 0.08em;
}

.status-ring {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    margin: 14px auto 5px;
    border-radius: 50%;
    background: conic-gradient(var(--agent-green) 0 0deg, #e5e9e9 0 360deg);
}

.status-ring:before {
    content: "";
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff;
}

.status-ring div {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.status-ring strong {
    color: var(--agent-navy);
    font-size: 29px;
}

.status-ring span {
    color: rgba(17, 17, 17,0.45);
    font-size: 8px;
}

.status-legend {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.status-legend span {
    color: rgba(17, 17, 17,0.45);
    font-size: 7px;
}

.status-legend i {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 5px;
    border-radius: 50%;
}

.green-dot { background: var(--agent-green); }
.grey-dot { background: #c8cecf; }

.activity-panel {
    grid-column: span 2;
}

.activity-row {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 15px;
    border-bottom: 1px solid rgba(17, 17, 17,0.05);
    opacity: 0;
}

.row-avatar {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--agent-red);
    font-size: 8px;
    font-weight: 800;
}

.row-avatar.cyan { background: #7d91d0; }
.row-avatar.amber { background: #df8d22; }

.activity-row > div:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.activity-row strong {
    color: var(--agent-navy);
    font-size: 9px;
}

.activity-row span {
    margin-top: 4px;
    color: rgba(17, 17, 17,0.45);
    font-size: 7px;
}

.activity-row time {
    color: rgba(17, 17, 17,0.35);
    font-size: 7px;
}

.chart-panel {
    grid-column: span 2;
}

.chart-bars {
    height: 92px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 10px 25px 0;
}

.chart-bars span {
    width: 26px;
    height: var(--bar);
    border-radius: 7px 7px 2px 2px;
    background: linear-gradient(to top, #7d91d0, var(--agent-cyan));
    transform: scaleY(0);
    transform-origin: bottom;
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    padding: 8px 22px 0;
    color: rgba(17, 17, 17,0.35);
    font-size: 7px;
}

.pulse-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(139, 167, 255,0.35), transparent 40%),
        var(--agent-navy);
}

.pulse-panel > span {
    color: var(--agent-cyan);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.pulse-panel strong {
    margin: 7px 0 8px;
    font-size: 34px;
}

.pulse-panel > div {
    height: 5px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255,255,255,0.12);
}

.pulse-panel i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--agent-cyan), var(--agent-green));
}

.pulse-panel small {
    margin-top: 9px;
    color: rgba(255,255,255,0.5);
    font-size: 7px;
}

.workspace-pulse {
    position: absolute;
    z-index: 8;
    width: 100px;
    height: 100px;
    border: 3px solid var(--agent-cyan);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 50px rgba(139, 167, 255,0.55);
}

/* Interface */

.interface-scene {
    display: flex;
    color: #fff;
    background:
        radial-gradient(circle at 70% 110%, rgba(139, 167, 255,0.16), transparent 40%),
        #0d1124;
}

.interface-sidebar {
    width: 260px;
    padding: 34px 28px;
    border-right: 1px solid rgba(255,255,255,0.08);
    background: rgba(8,11,24,0.72);
}

.interface-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 800;
}

.interface-brand img {
    width: 30px;
}

.interface-agent {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 9px;
    padding: 12px;
    border-radius: 14px;
    color: rgba(255,255,255,0.5);
}

.interface-agent.active {
    color: #fff;
    background: rgba(139, 167, 255,0.09);
}

.interface-agent i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.interface-agent span {
    display: flex;
    flex-direction: column;
}

.interface-agent b {
    font-size: 11px;
}

.interface-agent small {
    margin-top: 4px;
    color: var(--agent-cyan);
    font-size: 8px;
}

.interface-meter {
    position: absolute;
    left: 40px;
    bottom: 60px;
    width: 175px;
}

.interface-meter span {
    color: rgba(255,255,255,0.35);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.interface-meter > div {
    height: 4px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
}

.interface-meter i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--agent-cyan);
}

.interface-workbench {
    position: relative;
    flex: 1;
    padding: 30px 36px;
}

.interface-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.interface-topbar > span {
    font-size: 18px;
    font-weight: 700;
}

.interface-topbar div {
    color: rgba(255,255,255,0.5);
    font-size: 9px;
}

.interface-topbar i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--agent-green);
    box-shadow: 0 0 0 5px rgba(155, 200, 166,0.12);
}

.message-stream {
    position: absolute;
    left: 36px;
    top: 96px;
    width: 528px;
}

.message-card {
    margin-bottom: 14px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 17px;
    opacity: 0;
    background: rgba(255,255,255,0.055);
    backdrop-filter: blur(15px);
}

.message-head {
    display: flex;
    justify-content: space-between;
}

.message-head span {
    color: var(--agent-cyan);
    font-size: 10px;
    font-weight: 800;
}

.message-head time {
    color: rgba(255,255,255,0.3);
    font-size: 8px;
}

.message-card p {
    margin: 13px 0;
    color: rgba(255,255,255,0.76);
    font-size: 12px;
    line-height: 1.5;
}

.message-tags {
    display: flex;
    gap: 7px;
}

.message-tags span,
.message-tags b {
    padding: 6px 9px;
    border-radius: 12px;
    font-size: 8px;
}

.message-tags span {
    color: rgba(255,255,255,0.48);
    background: rgba(255,255,255,0.06);
}

.message-tags b {
    margin-left: auto;
    color: var(--agent-green);
    background: rgba(155, 200, 166,0.1);
}

.composer {
    position: absolute;
    left: 36px;
    bottom: 32px;
    width: 528px;
    height: 85px;
    display: flex;
    align-items: center;
    padding: 0 18px 0 22px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
}

.composer-copy {
    flex: 1;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
}

.composer button {
    width: 49px;
    height: 49px;
    font-size: 23px;
}

.generated-output {
    position: absolute;
    right: 40px;
    top: 108px;
    width: 374px;
    height: 475px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    opacity: 0;
    color: var(--agent-navy);
    background: #fff;
    box-shadow: 0 30px 70px rgba(0,0,0,0.3);
    transform-origin: bottom center;
}

.generated-head {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 21px;
    border-bottom: 1px solid rgba(17, 17, 17,0.08);
}

.generated-head span {
    font-size: 12px;
    font-weight: 800;
}

.generated-head b {
    color: var(--agent-red);
    font-size: 7px;
    letter-spacing: 0.12em;
}

.generated-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: 35px;
}

.generated-score strong {
    font-size: 91px;
    letter-spacing: -0.09em;
}

.generated-score span {
    color: var(--agent-green);
    font-size: 26px;
    font-weight: 800;
}

.generated-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin: 6px 30px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(17, 17, 17,0.08);
}

.generated-chart i {
    width: 32px;
    height: var(--h);
    border-radius: 7px 7px 2px 2px;
    background: linear-gradient(to top, var(--agent-green), var(--agent-cyan));
    transform: scaleY(0);
    transform-origin: bottom;
}

.generated-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 26px;
}

.generated-foot span {
    color: rgba(17, 17, 17,0.48);
    font-size: 9px;
}

.generated-foot b {
    padding: 9px 12px;
    border-radius: 10px;
    color: #fff;
    background: var(--agent-red);
    font-size: 8px;
}

/* Depth */

.depth-scene {
    color: var(--agent-navy);
    background:
        radial-gradient(circle at 80% 35%, rgba(255,189,89,0.45), transparent 34%),
        radial-gradient(circle at 24% 110%, rgba(139, 167, 255,0.7), transparent 45%),
        #eef4ee;
    perspective: 1000px;
}

.halftone {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image: radial-gradient(rgba(17, 17, 17,0.34) 1px, transparent 1.5px);
    background-size: 11px 11px;
    mask-image: radial-gradient(circle at 65% 50%, #000, transparent 58%);
}

.depth-copy {
    position: absolute;
    z-index: 8;
    left: 75px;
    top: 112px;
}

.depth-copy strong {
    display: block;
    margin-top: 14px;
    font-size: 75px;
    letter-spacing: -0.075em;
    line-height: 0.87;
}

.depth-copy em {
    color: var(--agent-red);
    font-style: normal;
}

.float-card {
    position: absolute;
    z-index: 7;
    width: 260px;
    padding: 23px;
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 22px;
    color: var(--agent-navy);
    background: rgba(255,255,255,0.82);
    box-shadow: 0 35px 80px rgba(17, 17, 17,0.16);
    backdrop-filter: blur(20px);
}

.float-card span {
    color: var(--agent-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.float-card strong {
    display: block;
    margin: 9px 0 5px;
    font-size: 30px;
    letter-spacing: -0.05em;
}

.float-card small {
    color: rgba(17, 17, 17,0.47);
    font-size: 9px;
}

.float-card-a {
    right: 62px;
    top: 74px;
}

.float-card-b {
    right: 230px;
    bottom: 66px;
}

.float-card-c {
    right: -40px;
    bottom: 176px;
}

.token {
    position: absolute;
    z-index: 9;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border: 4px solid rgba(255,255,255,0.78);
    border-radius: 50%;
    color: #fff;
    background:
        radial-gradient(circle at 34% 25%, #fff9d2 0 7%, transparent 9%),
        linear-gradient(145deg, #ffd986, #e79821 62%, #b86805);
    box-shadow:
        inset 0 0 0 4px rgba(145,80,0,0.2),
        0 20px 42px rgba(121,77,0,0.2);
    font-size: 30px;
    font-weight: 300;
}

.depth-rings {
    position: absolute;
    right: 110px;
    top: 250px;
    width: 310px;
    height: 310px;
}

.depth-rings i {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(17, 17, 17,0.12);
    border-radius: 50%;
}

.depth-rings i:nth-child(2) { inset: 50px; }
.depth-rings i:nth-child(3) { inset: 105px; }

/* Clarity */

.clarity-scene {
    color: #fff;
    background:
        radial-gradient(circle at 76% 78%, rgba(139, 167, 255,0.25), transparent 42%),
        var(--agent-navy-deep);
}

.clarity-echo {
    position: absolute;
    color: rgba(255,255,255,0.035);
    font-size: 235px;
    font-weight: 900;
    letter-spacing: -0.09em;
    white-space: nowrap;
}

.clarity-echo-a {
    left: -70px;
    top: -36px;
}

.clarity-echo-b {
    right: -70px;
    bottom: -42px;
}

.clarity-phrase {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
}

.clarity-phrase span {
    color: var(--agent-cyan);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.06em;
}

.clarity-phrase strong {
    font-size: 134px;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.clarity-beat {
    color: var(--agent-navy-deep);
    background: var(--agent-red);
}

.clarity-beat span {
    color: rgba(255,255,255,0.7);
}

.clarity-beat strong {
    color: #fff;
}

.clarity-rule {
    position: absolute;
    left: 50%;
    bottom: 194px;
    width: 0;
    height: 5px;
    border-radius: 3px;
    background: var(--agent-cyan);
    transform: translateX(-50%);
}

/* Invitation */

.invitation-scene {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 115%, rgba(139, 167, 255,0.5), transparent 48%),
        #fbfcf8;
}

.invitation-lockup {
    position: relative;
    z-index: 5;
    width: 610px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.invitation-logo {
    width: 270px;
}

.invitation-label {
    margin-top: 20px;
    color: rgba(17, 17, 17,0.45);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.invitation-prompt {
    width: 610px;
    height: 82px;
    display: flex;
    align-items: center;
    margin-top: 36px;
    padding: 0 14px 0 26px;
    border: 1px solid rgba(17, 17, 17,0.1);
    border-radius: 19px;
    color: var(--agent-navy);
    background: rgba(255,255,255,0.86);
    box-shadow: 0 24px 70px rgba(17, 17, 17,0.13);
    backdrop-filter: blur(18px);
}

.invitation-prompt span {
    flex: 1;
    font-size: 18px;
}

.invitation-prompt button {
    width: 56px;
    height: 56px;
    font-size: 25px;
}

.invitation-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(17, 17, 17,0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.invitation-code {
    position: absolute;
    right: 45px;
    bottom: 47px;
    color: rgba(17, 17, 17,0.34);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

/* Agent/OS visual system: geometric precision, human warmth, restrained marks */

.agent-glyph {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.agent-glyph i {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.agent-glyph i:nth-child(1) {
    left: 9px;
    top: 17px;
}

.agent-glyph i:nth-child(2) {
    right: 9px;
    top: 10px;
}

.agent-glyph i:nth-child(3) {
    right: 9px;
    bottom: 9px;
}

.agent-glyph:before,
.agent-glyph:after {
    content: "";
    position: absolute;
    left: 14px;
    width: 14px;
    height: 1px;
    background: currentColor;
    transform-origin: left center;
}

.agent-glyph:before {
    top: 19px;
    transform: rotate(-27deg);
}

.agent-glyph:after {
    top: 22px;
    transform: rotate(27deg);
}

.signal-scene {
    background:
        linear-gradient(90deg, transparent 0 71%, rgba(242,202,116,0.55) 71% 100%),
        #f7f7f4;
}

.signal-copy span:nth-child(3),
.signal-kicker,
.orchestration-title span,
.network-copy span,
.depth-copy > span,
.prompt-copy strong {
    color: var(--agent-ink);
}

.selector-scene {
    background:
        linear-gradient(0deg, rgba(139,167,255,0.22) 0 26%, transparent 26%),
        #f7f7f4;
}

.role-focus {
    border-color: #111;
    box-shadow: none;
}

.prompt-shell {
    border: 1.5px solid #111;
    background: rgba(250, 250, 247, 0.96);
    box-shadow: 12px 12px 0 rgba(17,17,17,0.08);
    backdrop-filter: blur(12px);
}

.prompt-submit,
.composer button,
.invitation-prompt button {
    background: #111;
    box-shadow: none;
}

.process-scene {
    background:
        linear-gradient(90deg, transparent 0 82%, rgba(139,167,255,0.1) 82% 100%),
        #111;
}

.orchestration-scene {
    background:
        linear-gradient(90deg, rgba(155,200,166,0.24) 0 38%, transparent 38%),
        #f7f7f4;
}

.operation-card {
    border-color: rgba(17,17,17,0.18);
    background: rgba(255,255,255,0.96);
    box-shadow: 7px 7px 0 rgba(17,17,17,0.06);
}

.operation-focus {
    border-color: #111;
    box-shadow: none;
}

.operation-toast {
    background: #111;
    box-shadow: 7px 7px 0 rgba(139,167,255,0.5);
}

.network-scene {
    background: linear-gradient(90deg, #f7f7f4 0 48%, #dfe6ff 48% 100%);
}

.network-core {
    background: #111;
    box-shadow:
        0 0 0 18px rgba(17,17,17,0.06),
        0 20px 0 rgba(17,17,17,0.08);
}

.network-core > .agent-glyph {
    position: absolute;
    left: 50%;
    top: 22px;
    width: 42px;
    height: 42px;
    margin: 0;
    color: #fff;
    transform: translateX(-50%);
}

.network-core > .agent-glyph i {
    margin: 0;
    font-size: 0;
    letter-spacing: 0;
}

.network-node {
    border-color: rgba(17,17,17,0.18);
    box-shadow: 5px 5px 0 rgba(17,17,17,0.08);
}

.workspace-scene {
    background: #cbc8c0;
}

.workspace-window {
    border: 2px solid #111;
    box-shadow: 12px 12px 0 rgba(17,17,17,0.22);
}

.workspace-sidebar {
    background: #111;
}

.workspace-mark.agent-glyph {
    display: block;
    width: 42px;
    height: 42px;
    color: #fff;
}

.workspace-profile {
    width: 46px;
    color: #111;
    background: #f2ca74;
    font-size: 8px;
}

.workspace-panel {
    border-color: rgba(17,17,17,0.12);
    box-shadow: none;
}

.workspace-header-actions button,
.pulse-panel {
    background: #111;
}

.interface-scene {
    background: linear-gradient(90deg, #0d0d0d 0 20.4%, #171717 20.4% 100%);
}

.interface-sidebar {
    background: transparent;
}

.interface-brand .agent-glyph {
    width: 30px;
    height: 30px;
}

.interface-brand .agent-glyph i {
    width: 5px;
    height: 5px;
}

.interface-brand .agent-glyph i:nth-child(1) {
    left: 6px;
    top: 12px;
}

.interface-brand .agent-glyph i:nth-child(2) {
    right: 6px;
    top: 7px;
}

.interface-brand .agent-glyph i:nth-child(3) {
    right: 6px;
    bottom: 6px;
}

.interface-brand .agent-glyph:before,
.interface-brand .agent-glyph:after {
    left: 10px;
    top: 14px;
    width: 10px;
}

.interface-brand .agent-glyph:before {
    transform: rotate(-27deg);
}

.interface-brand .agent-glyph:after {
    transform: rotate(27deg);
}

.depth-scene {
    background: linear-gradient(110deg, #dfe6ff 0 46%, #f4f1e9 46% 72%, #f2ca74 72% 100%);
}

.float-card {
    border-color: rgba(17,17,17,0.2);
    background: rgba(255,255,255,0.94);
    box-shadow: 8px 8px 0 rgba(17,17,17,0.14);
    backdrop-filter: blur(10px);
}

.token {
    border: 2px solid rgba(255,255,255,0.9);
    color: #fff;
    background: #111;
    box-shadow:
        inset 0 0 0 5px rgba(255,255,255,0.14),
        5px 8px 0 rgba(17,17,17,0.16);
    font-size: 26px;
}

.clarity-scene {
    background: #111;
}

.clarity-beat {
    color: #111;
    background: #dfe6ff;
}

.clarity-beat span {
    color: rgba(17,17,17,0.58);
}

.clarity-beat strong {
    color: #111;
}

.invitation-scene {
    background:
        linear-gradient(0deg, #dfe6ff 0 24%, transparent 24%),
        #f7f7f4;
}

.invitation-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    width: auto;
    color: #111;
}

.invitation-logo strong {
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.invitation-prompt {
    border: 1.5px solid #111;
    box-shadow: 8px 8px 0 rgba(17,17,17,0.08);
    backdrop-filter: blur(10px);
}

/* Player */

.controls {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 0 17px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    color: #fff;
    background: #111526;
}

.control-button {
    width: 64px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    background: rgba(255,255,255,0.06);
    font-size: 12px;
    font-weight: 700;
}

.control-button.mute {
    width: 40px;
}

.timeline-wrap {
    flex: 1;
}

.timeline-wrap input {
    width: 100%;
    accent-color: var(--agent-red);
}

.timeline-wrap > div {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.timeline-wrap strong {
    font-size: 10px;
}

.timeline-wrap span {
    color: rgba(255,255,255,0.38);
    font-size: 9px;
}

.timecode {
    width: 115px;
    color: rgba(255,255,255,0.55);
    font-family: monospace;
    font-size: 11px;
    text-align: right;
}

.timecode span {
    color: #fff;
}

body.render-mode {
    width: 1280px;
    height: 720px;
    overflow: hidden;
}

body.render-mode .preview-shell {
    width: 1280px;
    margin: 0;
    padding: 0;
}

body.render-mode .stage-wrap {
    width: 1280px;
    height: 720px;
    border-radius: 0;
}

body.render-mode .stage {
    transform: none !important;
}

body.render-mode .controls,
body.render-mode audio {
    display: none;
}
