:root {
    color-scheme: dark;
    --bg: #09131d;
    --surface: rgba(10, 20, 32, 0.78);
    --surface-line: rgba(255, 255, 255, 0.08);
    --text: #ecf2f7;
    --text-soft: rgba(236, 242, 247, 0.72);
    --text-faint: rgba(236, 242, 247, 0.42);
    --accent: #ff9a3d;
    --accent-strong: #ffd08b;
    --danger: #ff6f61;
    --success: #5dd39e;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shell-width: 1400px;
    --transition: 220ms ease;
    --font-display: "Bahnschrift", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
    --font-body: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei", sans-serif;
    --font-mono: "Cascadia Mono", Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(255, 154, 61, 0.18), transparent 34%),
        radial-gradient(circle at 80% 18%, rgba(93, 211, 158, 0.1), transparent 24%),
        linear-gradient(180deg, #0a1621 0%, #071018 52%, #04080d 100%);
    color: var(--text);
    font-family: var(--font-body);
}

body {
    position: relative;
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.ambient {
    position: fixed;
    inset: auto;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.85;
    pointer-events: none;
}

.ambient--one {
    top: 8%;
    right: -10%;
    width: 240px;
    height: 240px;
    background: rgba(255, 154, 61, 0.12);
}

.ambient--two {
    left: -12%;
    bottom: 16%;
    width: 280px;
    height: 280px;
    background: rgba(84, 143, 255, 0.09);
}

.shell {
    position: relative;
    width: min(calc(100% - 28px), var(--shell-width));
    margin: 0 auto;
    padding: 20px 0 56px;
}

.poster,
.auth-panel,
.surface,
.toolbar,
.composer {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-line);
    background: linear-gradient(180deg, rgba(18, 30, 42, 0.92), rgba(8, 16, 25, 0.92));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.poster {
    min-height: 34svh;
    padding: 28px 24px 22px;
    border-radius: var(--radius-xl);
}

.poster__scan {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 50%, transparent 80%),
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025) 0,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 7px
        );
    transform: translateX(-24%);
    animation: sweep 11s linear infinite;
    pointer-events: none;
}

.poster__eyebrow,
.section-head__kicker,
.toolbar__eyebrow {
    margin: 0 0 10px;
    color: var(--accent-strong);
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.poster__title {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 8ch;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 10vw, 4.6rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
}

.poster__body {
    position: relative;
    z-index: 1;
    margin: 16px 0 24px;
    max-width: 26rem;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.7;
}

.poster__meta {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.poster__meta > div {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.poster__label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-faint);
    font-size: 0.78rem;
}

.poster strong {
    font-family: var(--font-display);
    font-size: 0.92rem;
    letter-spacing: 0.03em;
}

.notice {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 154, 61, 0.12);
    color: var(--text);
    line-height: 1.6;
}

.notice[data-variant="error"] {
    background: rgba(255, 111, 97, 0.12);
    border-color: rgba(255, 111, 97, 0.2);
}

.auth-panel,
.workspace {
    margin-top: 18px;
}

.auth-panel,
.surface,
.composer,
.toolbar {
    border-radius: var(--radius-lg);
    padding: 18px;
}

.section-head,
.toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.section-head h2,
.section-head h3,
.toolbar h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.18rem;
    letter-spacing: 0.02em;
}

.section-head__hint {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.auth-form,
.workspace {
    display: grid;
    gap: 18px;
}

.workspace__sidebar,
.workspace__main {
    display: grid;
    gap: 18px;
    min-width: 0;
    align-content: start;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.field input,
.field textarea,
.field select,
.session-create input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 11, 18, 0.84);
    color: var(--text);
    border-radius: 14px;
    padding: 14px 15px;
    outline: none;
    transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.field textarea {
    min-height: 132px;
    resize: vertical;
    line-height: 1.65;
}

.field input:disabled,
.field textarea:disabled,
.field select:disabled,
.session-create input:disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.session-create input:focus {
    border-color: rgba(255, 154, 61, 0.52);
    background: rgba(6, 15, 24, 0.96);
    transform: translateY(-1px);
}

.button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

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

.button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.button--primary {
    background: linear-gradient(135deg, #ff9a3d, #ffc36e);
    color: #1e1104;
    font-weight: 700;
}

.button--danger {
    background: rgba(255, 111, 97, 0.12);
    color: #ffd7d2;
    border: 1px solid rgba(255, 111, 97, 0.28);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
}

.toolbar__cluster {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.identity {
    min-width: 104px;
}

.identity__label {
    display: block;
    color: var(--text-faint);
    font-size: 0.76rem;
    margin-bottom: 4px;
}

.task-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 154, 61, 0.12);
    min-width: 120px;
}

.task-pill__beacon {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(93, 211, 158, 0.45);
}

.task-pill[data-state="running"] .task-pill__beacon,
.task-pill[data-state="assigned"] .task-pill__beacon,
.task-pill[data-state="canceling"] .task-pill__beacon {
    animation: pulse 1.8s infinite;
}

.task-pill[data-state="failed"] .task-pill__beacon {
    background: var(--danger);
    box-shadow: none;
}

.task-pill[data-state="completed"] .task-pill__beacon {
    background: var(--accent);
    box-shadow: none;
}

.project-summary {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 11, 18, 0.72);
}

.project-summary[data-kind="system"] {
    border-color: rgba(255, 154, 61, 0.24);
    background: linear-gradient(180deg, rgba(255, 154, 61, 0.12), rgba(255, 154, 61, 0.05));
}

.project-summary__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.project-summary__name {
    font-family: var(--font-display);
    font-size: 0.98rem;
}

.project-summary__badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    font-size: 0.76rem;
    letter-spacing: 0.05em;
}

.project-summary__hint,
.project-summary__meta {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.65;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.project-summary__meta span {
    display: inline-block;
    min-width: 68px;
    margin-right: 10px;
    color: var(--text-faint);
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.project-actions .button {
    flex: 1 1 0;
}

.project-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-form__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-form__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.session-create {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 18px;
}

.session-list {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
}

.session-card {
    min-width: min(320px, 78vw);
    display: flex;
    gap: 10px;
    align-items: stretch;
    scroll-snap-align: start;
}

.session-chip {
    flex: 1 1 auto;
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 11, 18, 0.72);
    color: inherit;
    text-align: left;
}

.session-card.is-active .session-chip {
    border-color: rgba(255, 154, 61, 0.42);
    background: linear-gradient(180deg, rgba(255, 154, 61, 0.16), rgba(255, 154, 61, 0.08));
}

.session-card__delete {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 0 16px;
    border: 1px solid rgba(255, 111, 97, 0.28);
    border-radius: 18px;
    background: rgba(255, 111, 97, 0.12);
    color: #ffd7d2;
}

.session-card__delete:hover {
    background: rgba(255, 111, 97, 0.18);
}

.worker-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.manager-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.manager-chip {
    display: grid;
    gap: 10px;
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(12, 28, 41, 0.92), rgba(5, 12, 19, 0.78));
}

.manager-chip__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.manager-chip__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
}

.manager-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--text-faint);
}

.manager-chip[data-status="running"] .manager-dot {
    background: var(--success);
}

.manager-chip[data-status="degraded"] .manager-dot {
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(255, 154, 61, 0.42);
    animation: pulseWarm 1.6s infinite;
}

.manager-chip[data-status="offline"] .manager-dot {
    background: var(--danger);
}

.manager-chip__meta {
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.6;
}

.manager-badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.worker-chip {
    display: grid;
    gap: 10px;
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 11, 18, 0.72);
}

.worker-chip__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.worker-chip__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
}

.worker-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--text-faint);
}

.worker-chip[data-status="idle"] .worker-dot {
    background: var(--success);
}

.worker-chip[data-status="pending"] .worker-dot {
    background: #8bb9ff;
}

.worker-chip[data-status="assigned"] .worker-dot,
.worker-chip[data-status="running"] .worker-dot,
.worker-chip[data-status="canceling"] .worker-dot {
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(255, 154, 61, 0.42);
    animation: pulseWarm 1.6s infinite;
}

.worker-chip[data-status="offline"] .worker-dot,
.worker-chip[data-status="failed"] .worker-dot {
    background: var(--danger);
}

.worker-chip__meta {
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.6;
}

.worker-badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.session-chip__title {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.session-chip__meta {
    display: block;
    color: var(--text-faint);
    font-size: 0.82rem;
    line-height: 1.5;
}

.message-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    align-content: start;
    min-width: 0;
}

.message-item {
    width: min(100%, 88%);
    min-width: 0;
    max-width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 12, 19, 0.74);
    overflow: hidden;
}

.message-item[data-role="user"] {
    justify-self: end;
    background: linear-gradient(180deg, rgba(255, 154, 61, 0.14), rgba(255, 154, 61, 0.06));
}

.message-item[data-role="assistant"] {
    justify-self: start;
    background: rgba(12, 28, 41, 0.92);
}

.message-item__meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-faint);
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.message-item__content {
    margin: 0;
    color: var(--text);
    line-height: 1.78;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.message-item__content.is-collapsed {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.message-item__toggle {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-strong);
    font-size: 0.8rem;
    line-height: 1.2;
}

.message-item__toggle:hover {
    transform: none;
}

.activity-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.metric {
    padding: 14px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(4, 11, 18, 0.58);
    border-radius: 16px;
}

.metric__label {
    display: block;
    color: var(--text-faint);
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.metric strong {
    font-family: var(--font-display);
    font-size: 0.96rem;
}

.task-log-output {
    margin: 16px 0 0;
    min-height: 180px;
    max-height: 320px;
    max-width: 100%;
    overflow: auto;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 8, 13, 0.9);
    color: #b8d2ea;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.72;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.composer {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
}

.composer__actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: flex-end;
}

.supervised-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.supervised-binding {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.supervised-binding p {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 11, 18, 0.58);
    min-width: 0;
}

.supervised-binding span {
    color: var(--text-faint);
    font-size: 0.78rem;
}

.supervised-binding strong {
    color: var(--text-soft);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.supervised-grid,
.supervision-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.supervised-options {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 11, 18, 0.58);
    color: var(--text-soft);
    font-size: 0.86rem;
}

.supervised-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.supervised-options input {
    width: auto;
    accent-color: var(--accent);
}

.supervised__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.supervision-grid {
    margin-top: 18px;
}

.supervision-paths {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.supervision-paths p {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 11, 18, 0.58);
}

.supervision-paths span {
    color: var(--text-faint);
    font-size: 0.78rem;
}

.supervision-paths strong {
    color: var(--text-soft);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.supervision-run-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.supervision-run-card {
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(42, 195, 139, 0.08), rgba(65, 118, 255, 0.05)),
        rgba(4, 11, 18, 0.62);
    cursor: pointer;
}

.supervision-run-card__head {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.supervision-run-card__head strong {
    color: var(--text);
}

.supervision-run-card__head span {
    color: var(--accent-strong);
    font-size: 0.8rem;
}

.supervision-run-card__meta {
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.surface--messages,
.surface--task-panel,
.surface--supervised,
.surface--supervision,
.composer {
    min-width: 0;
}

.field--compact {
    max-width: 160px;
}

.hidden {
    display: none !important;
}

.empty-state {
    padding: 24px 18px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: var(--text-soft);
    text-align: center;
    line-height: 1.7;
}

.reveal {
    animation: riseIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reveal--delay-1 {
    animation-delay: 90ms;
}

.reveal--delay-2 {
    animation-delay: 140ms;
}

.reveal--delay-3 {
    animation-delay: 180ms;
}

.reveal--delay-4 {
    animation-delay: 220ms;
}

.reveal--delay-5 {
    animation-delay: 260ms;
}

.reveal--delay-6 {
    animation-delay: 300ms;
}

@media (min-width: 820px) and (max-width: 1099px) {
    .shell {
        width: min(calc(100% - 36px), var(--shell-width));
        padding-top: 24px;
    }

    .poster {
        min-height: 38vh;
        padding: 34px 32px 24px;
    }

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

    .session-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .session-card {
        min-width: 100%;
    }

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

    .message-item {
        width: min(100%, 92%);
    }

    .composer__actions {
        justify-content: flex-end;
    }
}

@media (min-width: 1100px) {
    .shell {
        width: min(calc(100% - 56px), var(--shell-width));
        padding-top: 26px;
    }

    .poster {
        min-height: 42vh;
        padding: 40px 40px 28px;
    }

    .poster__title {
        max-width: 12ch;
        font-size: clamp(3.4rem, 6vw, 5.4rem);
    }

    .poster__body {
        max-width: 38rem;
        font-size: 1.04rem;
    }

    .poster__meta {
        max-width: 860px;
    }

    .workspace {
        grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
        align-items: start;
    }

    .toolbar {
        grid-column: 1 / -1;
        padding: 20px 24px;
    }

    .workspace__sidebar {
        position: sticky;
        top: 22px;
    }

    .workspace__main {
        grid-template-rows: auto auto auto;
    }

    .surface--messages {
        min-height: 620px;
    }

    .message-list {
        min-height: 480px;
    }

    .session-list {
        display: grid;
        overflow: visible;
        padding-bottom: 0;
    }

    .session-card {
        min-width: 100%;
    }

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

    .task-log-output {
        max-height: 420px;
    }

    .message-item {
        width: min(100%, 840px);
    }

    .composer__actions {
        justify-content: flex-end;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(calc(100% - 20px), var(--shell-width));
        padding-top: 14px;
    }

    .poster__meta,
    .activity-strip,
    .session-create,
    .composer__actions,
    .session-card,
    .project-form__grid,
    .supervised-binding,
    .supervised-grid,
    .supervision-grid,
    .supervised-options {
        grid-template-columns: 1fr;
    }

    .section-head,
    .toolbar {
        flex-direction: column;
    }

    .session-card {
        min-width: 100%;
        flex-direction: column;
    }

    .message-item {
        width: 100%;
    }

    .session-card__delete {
        min-height: 44px;
    }

    .toolbar__cluster {
        width: 100%;
        justify-content: flex-start;
    }

    .field--compact {
        max-width: none;
    }

    .button,
    .task-pill {
        width: 100%;
        justify-content: center;
    }

    .project-actions,
    .project-form__actions,
    .supervised__actions {
        flex-direction: column;
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sweep {
    0% {
        transform: translateX(-26%);
    }
    100% {
        transform: translateX(18%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(93, 211, 158, 0.42);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(93, 211, 158, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(93, 211, 158, 0);
    }
}

@keyframes pulseWarm {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 154, 61, 0.42);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 154, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 154, 61, 0);
    }
}
