:root {
    --bg: #07040d;
    --surface: rgba(15, 10, 24, 0.92);
    --surface-strong: rgba(24, 13, 38, 0.96);
    --line: rgba(255, 77, 196, 0.28);
    --text: #eadfff;
    --muted: #a293be;
    --accent: #ff4dc4;
    --accent-strong: #ff8be1;
    --accent-cyan: #4cf7ff;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    --role-orchestrator: #52d88a;
    --role-research: #f2b651;
    --role-implementation: #ff6b6b;
    --role-review: #71b7ff;
    --role-integration: #43d6c9;
    --role-qa: #f0d35d;
    --role-documentation: #97a7c6;
    --role-delivery: #98a2b3;
    --role-system: #7c89a8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
    color: var(--text);
    background:
        linear-gradient(rgba(255, 77, 196, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 247, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at top left, rgba(255, 77, 196, 0.16), transparent 24%),
        radial-gradient(circle at top right, rgba(76, 247, 255, 0.1), transparent 20%),
        linear-gradient(180deg, #09050f 0%, #05030a 100%);
    background-size: 28px 28px, 28px 28px, auto, auto, auto;
    min-height: 100vh;
}

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

.topbar {
    border-bottom: 1px solid rgba(255, 77, 196, 0.18);
    background: rgba(8, 5, 14, 0.86);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar__inner,
.page {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.topbar__inner {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 12px rgba(255, 77, 196, 0.55);
}

.brand__tagline {
    margin: 0;
    color: var(--muted);
}

.page {
    padding: 2rem 0 3rem;
}

.hero {
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    color: var(--accent);
    text-shadow: 0 0 18px rgba(255, 77, 196, 0.28);
}

.hero--compact h1 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.lede {
    max-width: 70ch;
    margin: 0;
    color: var(--muted);
}

.panel {
    background: linear-gradient(180deg, rgba(24, 13, 38, 0.94), rgba(10, 7, 18, 0.94));
    border: 1px solid rgba(255, 77, 196, 0.16);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 77, 196, 0.08), transparent 40%, rgba(76, 247, 255, 0.06));
    pointer-events: none;
}

.panel__header {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.panel__header h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--accent);
}

.panel__header--subsection {
    margin-top: 1.5rem;
    margin-bottom: 0.9rem;
}

.panel__header--subsection h3 {
    margin: 0;
    color: var(--accent-cyan);
    font-size: 1rem;
}

.stack,
.task-form {
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.stack--tight {
    gap: 0.75rem;
}

label {
    display: grid;
    gap: 0.4rem;
}

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

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

input,
textarea,
select {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(11, 7, 18, 0.92);
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(76, 247, 255, 0.04);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(76, 247, 255, 0.65);
    box-shadow:
        0 0 0 3px rgba(76, 247, 255, 0.12),
        inset 0 0 0 1px rgba(76, 247, 255, 0.12);
}

textarea {
    resize: vertical;
}

button {
    width: fit-content;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    background: var(--accent);
    color: #180312;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.04em;
    box-shadow: 0 0 20px rgba(255, 77, 196, 0.35);
}

button:hover {
    background: var(--accent-strong);
}

.button--secondary,
.button--ghost {
    background: rgba(10, 7, 18, 0.92);
    color: var(--accent-cyan);
    border: 1px solid rgba(76, 247, 255, 0.24);
    box-shadow: inset 0 0 0 1px rgba(76, 247, 255, 0.04);
}

.button--secondary:hover,
.button--ghost:hover {
    background: rgba(13, 10, 22, 0.98);
    color: var(--text);
    border-color: rgba(76, 247, 255, 0.48);
}

.button--danger {
    background: linear-gradient(180deg, #ff6b81, #ff4d6d);
    color: #25030e;
    box-shadow: 0 0 20px rgba(255, 107, 129, 0.3);
}

.button--danger:hover {
    background: linear-gradient(180deg, #ff8396, #ff5b79);
}

.project-grid,
.epic-list {
    display: grid;
    gap: 1rem;
}

.project-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.project-card,
.epic-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 77, 196, 0.16);
    background: linear-gradient(180deg, rgba(22, 13, 35, 0.96), rgba(11, 8, 18, 0.96));
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.project-card {
    align-content: start;
}

.project-card:hover,
.epic-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(76, 247, 255, 0.18);
}

.project-card__header,
.epic-card__header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.project-card__header {
    align-items: flex-start;
}

.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.epic-card__header {
    align-items: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.project-card__body {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
}

.project-card__body:hover h3 {
    color: var(--accent-strong);
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(76, 247, 255, 0.22);
    background: rgba(10, 7, 18, 0.92);
    color: var(--accent-cyan);
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(76, 247, 255, 0.04);
}

.icon-button:hover {
    color: var(--text);
    border-color: rgba(76, 247, 255, 0.45);
    box-shadow:
        0 0 0 1px rgba(76, 247, 255, 0.18),
        0 0 16px rgba(76, 247, 255, 0.12);
}

.project-card h3,
.epic-card h3,
.task-card h3 {
    margin: 0;
    color: var(--accent);
}

.project-card p,
.epic-card p,
.task-card p,
.empty-state,
.board-hint,
.field-hint,
.field-warning {
    margin: 0;
}

.field-hint {
    color: var(--muted);
}

.field-warning {
    color: #ff7f96;
    font-weight: 700;
}

.field-notice {
    color: #ffd76a;
    font-weight: 700;
}

.field-notice strong {
    color: #ffe9a8;
}

.field-warning strong {
    color: #ff526f;
}

.settings-subpanel {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(76, 247, 255, 0.18);
    background: rgba(10, 7, 18, 0.78);
}

.settings-subpanel__header {
    display: grid;
    gap: 0.35rem;
}

.settings-subpanel__header h3 {
    margin: 0;
    color: var(--accent-cyan);
    font-size: 1rem;
}

.secret-helper {
    display: grid;
    gap: 0.75rem;
    padding: 0.9rem;
    border-radius: 14px;
    border: 1px dashed rgba(76, 247, 255, 0.32);
    background: rgba(12, 9, 21, 0.9);
}

.secret-helper__header,
.secret-helper__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.secret-helper__header {
    justify-content: space-between;
}

.secret-helper__title {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    font-weight: 700;
}

.secret-helper__actions {
    gap: 0.5rem;
}

.secret-helper__field {
    display: grid;
    gap: 0.4rem;
}

.panel--danger {
    border-color: rgba(255, 107, 129, 0.26);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 1.5rem;
    align-items: start;
}

.board {
    display: grid;
    grid-template-columns: repeat(7, minmax(220px, 1fr));
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.board-column {
    min-height: 300px;
    background: linear-gradient(180deg, rgba(18, 10, 29, 0.95), rgba(8, 5, 14, 0.95));
    border: 1px solid rgba(255, 77, 196, 0.14);
    border-radius: 18px;
    padding: 0.9rem;
    box-shadow: var(--shadow);
}

.board-column__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.board-column__header h2 {
    margin: 0;
    font-size: 1rem;
    color: var(--accent-cyan);
}

.board-column__header span {
    color: var(--accent);
    font-weight: 700;
}

.board-column__body {
    min-height: 230px;
    display: grid;
    gap: 0.75rem;
}

.board-column__body.is-over {
    outline: 2px dashed rgba(76, 247, 255, 0.7);
    outline-offset: 6px;
    border-radius: 12px;
    background: rgba(76, 247, 255, 0.04);
}

.task-card {
    border-radius: 14px;
    padding: 0.9rem;
    background: linear-gradient(180deg, rgba(30, 16, 47, 0.98), rgba(16, 10, 27, 0.98));
    border: 1px solid rgba(255, 77, 196, 0.16);
    border-left: 3px solid var(--accent-cyan);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    cursor: grab;
}

.task-card.is-dragging {
    opacity: 0.5;
}

.task-card:hover {
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(255, 77, 196, 0.2);
}

.task-card:focus-visible {
    outline: 2px solid rgba(76, 247, 255, 0.72);
    outline-offset: 3px;
}

@media (max-width: 920px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    .topbar__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.hero--home {
    margin-bottom: 2rem;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 520px);
    gap: 1.5rem;
    align-items: center;
}

.hero__copy {
    min-width: 0;
}

.hero__logo-shell {
    position: relative;
    padding: 1rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(23, 13, 36, 0.92), rgba(10, 6, 18, 0.96));
    border: 1px solid rgba(255, 77, 196, 0.22);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(76, 247, 255, 0.08);
    overflow: hidden;
}

.hero__logo-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 77, 196, 0.18), transparent 46%);
    pointer-events: none;
}

.hero__logo {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 0 26px rgba(255, 77, 196, 0.3));
}

@media (max-width: 920px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__logo-shell {
        max-width: 640px;
    }
}

.flash-stack {
    margin-bottom: 1.5rem;
}

.flash {
    position: relative;
    z-index: 1;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(76, 247, 255, 0.18);
    background: rgba(9, 6, 16, 0.94);
    color: var(--text);
    box-shadow: var(--shadow);
}

.flash--success {
    border-color: rgba(76, 247, 255, 0.3);
}

.flash--error {
    border-color: rgba(255, 107, 129, 0.3);
}

.hero__actions-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.run-controls {
    display: grid;
    gap: 0.75rem;
    width: min(360px, 100%);
}

button[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
    box-shadow: none;
}

.warning-card,
.hint-card,
.run-metric,
.activity-entry {
    border-radius: 14px;
    border: 1px solid rgba(255, 77, 196, 0.14);
    background: rgba(10, 7, 18, 0.8);
    padding: 0.9rem;
}

.toggle-field {
    display: grid;
    gap: 0.65rem;
}

.toggle-field input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
}

.warning-card h2,
.hint-card h3 {
    margin: 0;
    color: var(--accent);
    font-size: 1rem;
}

.warning-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.run-panel {
    margin-bottom: 1.5rem;
}

.panel--subtle {
    padding: 1rem;
    background: rgba(10, 7, 18, 0.72);
    border-color: rgba(76, 247, 255, 0.18);
}

.docker-runtime-panel {
    margin-top: 1rem;
}

.clarification-panel {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(76, 247, 255, 0.22);
    background: rgba(7, 18, 24, 0.74);
    display: grid;
    gap: 0.85rem;
}

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

.clarification-panel__header h3,
.clarification-history h4 {
    margin: 0;
    color: var(--accent-cyan);
}

.clarification-panel__task,
.clarification-panel__prompt {
    margin: 0;
}

.clarification-form {
    margin-top: 0.25rem;
}

.clarification-history {
    margin-top: 0.25rem;
}

.run-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.run-metric {
    display: grid;
    gap: 0.35rem;
}

.run-metric__label {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.run-error {
    color: #ff9eb0;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.is-hidden {
    display: none;
}

.task-note {
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    background: rgba(76, 247, 255, 0.06);
    border: 1px solid rgba(76, 247, 255, 0.12);
    white-space: pre-wrap;
}

.task-activity summary,
details summary {
    cursor: pointer;
    color: var(--accent-cyan);
}

.activity-entry {
    display: grid;
    gap: 0.35rem;
}

.activity-entry strong {
    color: var(--accent);
}

.activity-entry span {
    color: var(--muted);
    font-size: 0.85rem;
}

.hint-list {
    display: grid;
    gap: 0.9rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(255, 77, 196, 0.12);
    color: var(--accent);
    border: 1px solid rgba(255, 77, 196, 0.18);
}

.badge--ok {
    color: var(--accent-cyan);
    border-color: rgba(76, 247, 255, 0.22);
    background: rgba(76, 247, 255, 0.08);
}

.badge--warn {
    color: #ffb3c2;
    border-color: rgba(255, 107, 129, 0.22);
    background: rgba(255, 107, 129, 0.08);
}

.badge--role-orchestrator,
.badge--role-research,
.badge--role-implementation,
.badge--role-review,
.badge--role-integration,
.badge--role-qa,
.badge--role-documentation,
.badge--role-delivery,
.badge--role-system {
    color: var(--role-color);
    border-color: color-mix(in srgb, var(--role-color) 28%, transparent);
    background: color-mix(in srgb, var(--role-color) 12%, transparent);
}

.badge--role-orchestrator {
    --role-color: var(--role-orchestrator);
}

.badge--role-research {
    --role-color: var(--role-research);
}

.badge--role-implementation {
    --role-color: var(--role-implementation);
}

.badge--role-review {
    --role-color: var(--role-review);
}

.badge--role-integration {
    --role-color: var(--role-integration);
}

.badge--role-qa {
    --role-color: var(--role-qa);
}

.badge--role-documentation {
    --role-color: var(--role-documentation);
}

.badge--role-delivery {
    --role-color: var(--role-delivery);
}

.badge--role-system {
    --role-color: var(--role-system);
}

.epic-chat-panel {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
}

.epic-chat-history {
    max-height: 30rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.epic-chat-entry {
    border-left: 4px solid var(--role-color, var(--role-system));
    padding-left: 1rem;
}

.epic-chat-entry--orchestrator {
    --role-color: var(--role-orchestrator);
}

.epic-chat-entry--research {
    --role-color: var(--role-research);
}

.epic-chat-entry--implementation {
    --role-color: var(--role-implementation);
}

.epic-chat-entry--review {
    --role-color: var(--role-review);
}

.epic-chat-entry--integration {
    --role-color: var(--role-integration);
}

.epic-chat-entry--qa {
    --role-color: var(--role-qa);
}

.epic-chat-entry--documentation {
    --role-color: var(--role-documentation);
}

.epic-chat-entry--delivery {
    --role-color: var(--role-delivery);
}

.epic-chat-entry--system {
    --role-color: var(--role-system);
}

.epic-chat-entry__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.epic-chat-entry__header strong {
    color: var(--role-color, var(--accent));
}

.epic-chat-empty {
    margin: 0;
}

.badge--danger {
    color: #ffd6dc;
    border-color: rgba(255, 82, 111, 0.32);
    background: rgba(255, 82, 111, 0.12);
}

.badge--info {
    color: #9ff8ff;
    border-color: rgba(76, 247, 255, 0.24);
    background: rgba(76, 247, 255, 0.1);
}

.badge--muted {
    color: var(--muted);
    border-color: rgba(162, 147, 190, 0.2);
    background: rgba(162, 147, 190, 0.08);
}

.audit-launcher {
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}

.audit-launcher .settings-subpanel__header p {
    margin: 0;
}

.panel--audit {
    border-color: rgba(76, 247, 255, 0.16);
}

.audit-summary {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.audit-summary-grid {
    margin-bottom: 1rem;
}

.audit-summary-card {
    background: rgba(10, 7, 18, 0.82);
}

.audit-summary-card strong {
    font-size: 1.8rem;
    color: var(--text);
    line-height: 1;
}

.audit-summary-card--issues {
    border-color: rgba(255, 82, 111, 0.24);
}

.audit-summary-card--features {
    border-color: rgba(76, 247, 255, 0.22);
}

.audit-severity-row {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.audit-severity-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.audit-preview-list {
    position: relative;
    z-index: 1;
}

.audit-action-row {
    margin-bottom: 1rem;
}

.audit-finding {
    position: relative;
    overflow: hidden;
}

.audit-finding::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: rgba(76, 247, 255, 0.32);
}

.audit-finding--issue::before {
    background: rgba(255, 82, 111, 0.52);
}

.audit-finding--bug::before {
    background: rgba(255, 168, 76, 0.52);
}

.audit-task-preview {
    border-color: rgba(255, 77, 196, 0.18);
    background: rgba(255, 77, 196, 0.06);
}

.audit-finding__evidence {
    display: grid;
    gap: 0.5rem;
}

.audit-finding__evidence summary {
    width: fit-content;
}

.audit-evidence {
    max-width: 100%;
}

.panel--audit-review {
    gap: 1rem;
}

.audit-review-layout {
    align-items: stretch;
}

.panel--audit-review-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.audit-review-preview-grid {
    margin-bottom: 0;
}

.audit-review-toolbar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.audit-review-preview {
    position: relative;
    z-index: 1;
}

.audit-review-preview__title {
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 700;
}

.audit-review-feedback {
    position: relative;
    z-index: 1;
    margin: 0;
}

.audit-review-list {
    margin-bottom: 0.5rem;
}

.audit-review-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(76, 247, 255, 0.14);
    background: rgba(10, 7, 18, 0.82);
}

.audit-review-item h3 {
    margin: 0.35rem 0 0.5rem;
}

.audit-review-item p {
    margin-top: 0;
}

.audit-review-item__checkbox {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.3rem;
}

.audit-review-item__body {
    min-width: 0;
}

.audit-review-actions {
    align-items: center;
}

.audit-discard-form {
    margin-top: 1rem;
}

.audit-review-state {
    margin-top: 1rem;
}
@media (max-width: 920px) {
    .hero__actions-row {
        flex-direction: column;
    }

    .run-controls {
        width: 100%;
    }

    .audit-review-item {
        grid-template-columns: 1fr;
    }

    .audit-review-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(76, 247, 255, 0.22);
    background: rgba(10, 7, 18, 0.92);
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.button-link:hover {
    color: var(--text);
    border-color: rgba(76, 247, 255, 0.45);
    box-shadow:
        0 0 0 1px rgba(76, 247, 255, 0.18),
        0 0 16px rgba(76, 247, 255, 0.12);
}

.epic-card--interactive {
    align-content: start;
}

.epic-card__body {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.epic-status-stack {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.epic-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.epic-card__title-link,
.epic-card__summary-link {
    color: inherit;
}

.epic-card__title-link h3,
.epic-card__summary-link p {
    transition: color 120ms ease;
}

.epic-card__title-link:hover h3,
.epic-card__summary-link:hover p,
.epic-card--interactive:hover h3 {
    color: var(--accent-strong);
}

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

.task-detail-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 1.05fr);
    gap: 1.5rem;
    align-items: start;
}

.lifecycle-panel .task-note {
    max-width: 80ch;
}

.task-meta-card {
    justify-items: start;
    min-width: 220px;
}

@media (max-width: 920px) {
    .hero__title-row {
        flex-direction: column;
    }

    .task-detail-grid {
        grid-template-columns: 1fr;
    }
}
