:root {
    --bpm-deep: #16324f;
    --bpm-accent: #c97b24;
    --bpm-surface: #f4f7fb;
    --bpm-panel: #ffffff;
    --bpm-border: #d6deea;
    --bpm-text: #183049;
}

html, body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(201, 123, 36, 0.18), transparent 30%),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
    color: var(--bpm-text);
}

a {
    color: #1a5ea8;
}

a.btn.btn-primary,
button.btn.btn-primary {
    color: #ffffff !important;
}

a.btn.btn-primary:hover,
a.btn.btn-primary:focus,
button.btn.btn-primary:hover,
button.btn.btn-primary:focus {
    color: #ffffff !important;
}

.shell-layout {
    min-height: 100vh;
}

.bpm-header {
    background: linear-gradient(135deg, #10263d 0%, #1a4269 100%);
}

.bpm-sidebar {
    background: rgba(255, 255, 255, 0.88);
    border-right: 1px solid var(--bpm-border);
    width: 260px !important;
}

.bpm-body {
    background: transparent;
}

.menu-caption,
.eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6a7c91;
}

.bpm-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    color: var(--bpm-text);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bpm-nav-link:hover,
.bpm-nav-link.active {
    background: #e7eef8;
    color: #0f2d4a;
    transform: translateX(2px);
}

.hero-card {
    background: linear-gradient(135deg, rgba(16, 38, 61, 0.96) 0%, rgba(32, 86, 124, 0.94) 100%);
    border: none;
}

.rz-card {
    border-radius: 1rem;
    border: 1px solid rgba(214, 222, 234, 0.9);
    box-shadow: 0 12px 30px rgba(20, 44, 73, 0.08);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #cf3e36;
}

.validation-message {
    color: #cf3e36;
}

.grid-action-stack {
    align-items: stretch;
    min-width: 9rem;
}

.grid-action-stack .btn,
.grid-action-stack .rz-button {
    width: 100%;
    justify-content: center;
}

.rz-datatable-data td .rz-cell-data,
.rz-grid-table td .rz-cell-data {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.transition-summary {
    border: 1px solid rgba(22, 50, 79, 0.12);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 38, 61, 0.04) 0%, rgba(201, 123, 36, 0.08) 100%);
}

.transition-summary-route {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f2d4a;
}

.transition-summary-hint {
    margin-top: 0.35rem;
    color: #607286;
    font-size: 0.95rem;
}

.transition-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.transition-flow-panel {
    border: 1px solid var(--bpm-border);
    border-radius: 1rem;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
}

.transition-flow-title {
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #51667d;
}

.transition-flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    color: #335a7f;
}

.transition-flow-arrow-glyph {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
}

.transition-flow-arrow-label {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 991.98px) {
    .transition-flow {
        grid-template-columns: 1fr;
    }

    .transition-flow-arrow {
        min-width: 0;
        padding: 0.35rem 0;
    }

    .transition-flow-arrow-glyph {
        transform: rotate(90deg);
    }
}

.transition-route-endpoint {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.transition-route-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a7c91;
}

.transition-route-value {
    color: #183049;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

.transition-route-arrow {
    color: #335a7f;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.transition-group-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.15rem 0;
}

.transition-group-caption {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a7c91;
}

.transition-group-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0f2d4a;
}

.transition-route-parts {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.transition-route-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
}

.transition-route-chip-step {
    background: rgba(26, 94, 168, 0.12);
    color: #1a5ea8;
}

.transition-route-chip-state {
    background: rgba(201, 123, 36, 0.14);
    color: #8a5318;
}

.transition-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.transition-detail-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #51667d;
}

.transition-detail-source {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.4rem;
}

.transition-detail-source-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a7c91;
}

.transition-detail-source-route {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.transition-detail-arrow {
    font-size: 1.1rem;
    font-weight: 700;
    color: #335a7f;
}

.transition-detail-destination-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #51667d;
}

.transition-destination-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
}

.transition-schema-card {
    background: linear-gradient(135deg, rgba(16, 38, 61, 0.03) 0%, rgba(201, 123, 36, 0.05) 100%);
}

.transition-schema-tree-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 247, 251, 0.92) 100%);
}

.transition-schema-tree-title {
    margin-bottom: 1rem;
}

.transition-schema-state-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.transition-schema-count {
    font-size: 0.9rem;
    font-weight: 700;
    color: #51667d;
    white-space: nowrap;
}

.transition-schema-empty {
    padding: 0.8rem 0.9rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    color: #607286;
    font-weight: 600;
}

.transition-schema-branches {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.transition-schema-branch {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.transition-schema-connector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 4.5rem;
}

.transition-schema-line {
    display: inline-block;
    width: 2.8rem;
    height: 2px;
    background: #7b94ad;
}

.transition-schema-arrow {
    color: #335a7f;
    font-size: 1rem;
    font-weight: 700;
}

.transition-schema-target {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--bpm-border);
    background: rgba(255, 255, 255, 0.92);
}

.transition-schema-transition-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.transition-schema-target-route {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.transition-tree {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.transition-tree-root {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.transition-tree-node {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--bpm-border);
    background: rgba(255, 255, 255, 0.96);
}

.transition-tree-node-root {
    box-shadow: inset 0 0 0 1px rgba(201, 123, 36, 0.1);
}

.transition-tree-node-leaf {
    box-shadow: inset 0 0 0 1px rgba(26, 94, 168, 0.08);
}

.transition-tree-node-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.transition-tree-children {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-left: 1.4rem;
}

.transition-tree-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: stretch;
}

.transition-tree-branchline {
    display: grid;
    grid-template-columns: 1rem 2rem auto;
    align-items: center;
    min-width: 4.2rem;
}

.transition-tree-line-vertical {
    justify-self: center;
    width: 2px;
    height: 100%;
    min-height: 2.8rem;
    background: #c7d4e2;
}

.transition-tree-line-horizontal {
    width: 2rem;
    height: 2px;
    background: #7b94ad;
}

.transition-tree-arrow {
    margin-left: 0.2rem;
    color: #335a7f;
    font-size: 1rem;
    font-weight: 700;
}

.transition-tree-destination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.transition-tree-empty {
    margin-left: 1rem;
    padding: 0.5rem 0.75rem;
    color: #607286;
    font-weight: 600;
}

.transition-visual-summary {
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(22, 50, 79, 0.12);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(16, 38, 61, 0.03) 0%, rgba(26, 94, 168, 0.03) 100%);
}

.transition-visual-source,
.transition-visual-destinations {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.transition-visual-branch {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.transition-visual-connector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 4.5rem;
}

.transition-visual-line {
    display: inline-block;
    width: 2.7rem;
    height: 2px;
    background: #7b94ad;
}

.transition-visual-arrow {
    color: #335a7f;
    font-size: 1rem;
    font-weight: 700;
}

.transition-visual-node {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--bpm-border);
    background: #ffffff;
    min-width: 0;
}

.transition-visual-node-source {
    box-shadow: inset 0 0 0 1px rgba(26, 94, 168, 0.08);
}

.transition-visual-node-target {
    box-shadow: inset 0 0 0 1px rgba(201, 123, 36, 0.08);
}

.transition-visual-node-title {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a7c91;
}

.transition-visual-node-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.transition-visual-code {
    font-size: 0.92rem;
    font-weight: 700;
    color: #183049;
}

.transition-visual-action {
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(22, 50, 79, 0.08);
    color: #335a7f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.transition-visual-name {
    color: #51667d;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .transition-visual-summary {
        grid-template-columns: 1fr;
    }
}

.runtime-wizard-banner {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(22, 50, 79, 0.12);
    background: linear-gradient(135deg, rgba(16, 38, 61, 0.04) 0%, rgba(26, 94, 168, 0.05) 100%);
}

.runtime-page-card {
    margin: 5px;
}

.runtime-wizard-banner__eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #647a92;
}

.runtime-wizard-banner__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #183049;
}

.runtime-wizard-banner__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.runtime-wizard-banner__arrow {
    color: #335a7f;
    font-weight: 700;
}

.runtime-wizard-banner__hint {
    color: #51667d;
    font-weight: 600;
}

.runtime-transition-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(22, 50, 79, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.runtime-transition-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.runtime-transition-card__code {
    color: #183049;
    font-size: 0.92rem;
    font-weight: 700;
}

.runtime-transition-card__name {
    color: #51667d;
    font-size: 0.9rem;
    font-weight: 600;
}

.runtime-transition-card__action {
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(22, 50, 79, 0.08);
    color: #335a7f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.runtime-transition-card__route {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.runtime-transition-card__details-toggle {
    display: flex;
    justify-content: flex-end;
}

.runtime-transition-card__details-button {
    min-width: auto;
    padding: 0.2rem 0.3rem;
}

.runtime-transition-card__route .route-chip--step,
.runtime-transition-card__route .route-chip--state {
    font-weight: 700;
}

.runtime-transition-card__hint {
    color: #7a5a18;
    font-size: 0.84rem;
    font-weight: 600;
}

.workspace-page .rz-form .rz-label,
.workspace-page .rz-label,
.workspace-page strong {
    font-weight: 700;
}

.runtime-progress-label {
    color: #607286;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.runtime-progress-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.35rem 0;
}

.runtime-progress-step {
    color: #183049;
    font-size: 0.95rem;
    font-weight: 700;
}

.runtime-progress-state {
    color: #51667d;
    font-size: 0.9rem;
    font-weight: 600;
}

.runtime-loading-shell {
    display: grid;
    min-height: 40vh;
    place-items: center;
}

.runtime-workspace {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.runtime-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(201, 123, 36, 0.24), transparent 24rem),
        linear-gradient(135deg, #10263d 0%, #1c476f 58%, #295e83 100%);
    color: #ffffff;
    box-shadow: 0 22px 50px rgba(16, 38, 61, 0.22);
}

.runtime-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
}

.runtime-hero__eyebrow-row,
.runtime-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.runtime-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
    font-weight: 800;
}

.runtime-hero__subtitle {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    font-weight: 600;
}

.runtime-hero__hint {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.8);
}

.runtime-hero__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.runtime-hero__meta-item {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.runtime-hero__meta-label,
.runtime-focus-panel__eyebrow,
.runtime-section__eyebrow,
.runtime-rail-card__eyebrow,
.runtime-form-group__subtitle,
.runtime-definition-list__label,
.runtime-transition-history__subtitle,
.runtime-quick-actions__subtitle,
.runtime-timeline__meta,
.runtime-compact-history__when {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.runtime-hero__meta-label {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.35rem;
}

.runtime-hero__meta-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.runtime-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(18rem, 0.95fr);
    gap: 1.25rem;
    align-items: start;
}

.runtime-main,
.runtime-rail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.runtime-rail {
    position: sticky;
    top: 1rem;
}

.runtime-focus-panel,
.runtime-section,
.runtime-rail-card {
    border: 1px solid rgba(22, 50, 79, 0.1);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 38px rgba(20, 44, 73, 0.08);
}

.runtime-focus-panel {
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, rgba(16, 38, 61, 0.03) 0%, rgba(201, 123, 36, 0.07) 100%);
}

.runtime-focus-panel__header,
.runtime-section__header,
.runtime-rail-card__title-row,
.runtime-transition-list__header,
.runtime-transition-tile__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.runtime-focus-panel__title,
.runtime-section__title,
.runtime-rail-card__title,
.runtime-form-group__title,
.runtime-transition-history__title,
.runtime-inspection__title,
.runtime-transition-list__title {
    margin: 0;
    color: #16324f;
    font-weight: 800;
}

.runtime-focus-panel__summary,
.runtime-section__subtitle,
.runtime-rail-card__subtitle,
.runtime-inspection__text,
.runtime-transition-tile__hint,
.runtime-timeline__subtitle,
.runtime-compact-history__body span {
    color: #51667d;
}

.runtime-focus-panel__badges,
.runtime-transition-tile__route,
.runtime-transition-tile__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.runtime-section,
.runtime-rail-card {
    padding: 1.25rem;
}

.runtime-section--primary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 253, 0.98) 100%);
}

.runtime-form-groups,
.runtime-actions,
.runtime-inspection,
.runtime-quick-actions,
.runtime-transition-list,
.runtime-transition-grid,
.runtime-timeline,
.runtime-definition-list,
.runtime-compact-history {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.runtime-form-group {
    padding: 1rem;
    border: 1px solid rgba(22, 50, 79, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
}

.runtime-form-group--accent {
    background: linear-gradient(135deg, rgba(26, 94, 168, 0.04) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.runtime-field {
    padding: 0.85rem;
    border: 1px solid rgba(22, 50, 79, 0.08);
    border-radius: 0.9rem;
    background: #ffffff;
}

.runtime-field--invalid {
    border-color: rgba(207, 62, 54, 0.45);
    box-shadow: inset 0 0 0 1px rgba(207, 62, 54, 0.08);
}

.runtime-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.runtime-quick-actions__block,
.runtime-transition-tile,
.runtime-inspection__card,
.runtime-compact-history__item,
.runtime-timeline__item {
    padding: 1rem;
    border: 1px solid rgba(22, 50, 79, 0.1);
    border-radius: 1rem;
    background: #ffffff;
}

.runtime-transition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.runtime-transition-tile__code,
.runtime-timeline__title,
.runtime-compact-history__body strong {
    color: #16324f;
    font-weight: 800;
}

.runtime-transition-tile__name,
.runtime-progress-state {
    color: #607286;
    font-weight: 600;
}

.runtime-transition-tile__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(22, 50, 79, 0.08);
    color: #335a7f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.runtime-transition-tile__badge--warning {
    background: rgba(201, 123, 36, 0.14);
    color: #8a5318;
}

.runtime-definition-list__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(22, 50, 79, 0.08);
}
.runtime-definition-list__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.runtime-definition-list__value,
.runtime-progress-step {
    color: #183049;
    font-size: 0.98rem;
    font-weight: 700;
}

.runtime-compact-history__item,
.runtime-timeline__item {
    display: grid;
    grid-template-columns: minmax(7rem, 8.5rem) minmax(0, 1fr);
    gap: 1rem;
}

.runtime-compact-history__when,
.runtime-timeline__time {
    color: #607286;
}
.runtime-compact-history__item--single {
    display: block;
}

.runtime-compact-history__body {
    min-width: 0;
}

.runtime-compact-history__body--inline strong,
.runtime-compact-history__body--inline span {
    display: inline;
}


.runtime-timeline__note {
    margin-top: 0.45rem;
    color: #183049;
}

.runtime-rail-card--muted {
    background: linear-gradient(135deg, rgba(16, 38, 61, 0.03) 0%, rgba(201, 123, 36, 0.05) 100%);
}

.route-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.route-chip--step {
    background: rgba(26, 94, 168, 0.12);
    color: #1a5ea8;
}

.route-chip--state {
    background: rgba(201, 123, 36, 0.14);
    color: #8a5318;
}

.runtime-action-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1rem;
    align-items: start;
}

.runtime-actions__note,
.runtime-note-feed {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(22, 50, 79, 0.08);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 252, 0.98) 100%);
}

.runtime-actions__panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.runtime-actions__panel-title {
    color: #16324f;
    font-size: 0.95rem;
    font-weight: 800;
}

.runtime-actions__panel-subtitle {
    color: #607286;
    font-size: 0.84rem;
    line-height: 1.45;
}

.runtime-note-feed__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.runtime-note-feed__item {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(22, 50, 79, 0.08);
}

.runtime-note-feed__item:first-child {
    padding-top: 0;
    border-top: none;
}

.runtime-note-feed__line {
    color: #183049;
    line-height: 1.5;
}

.runtime-note-feed__author {
    font-weight: 800;
}

.runtime-note-feed__text {
    color: #314c68;
}

.runtime-note-feed__time {
    margin-top: 0.2rem;
    color: #718396;
    font-size: 0.78rem;
    font-weight: 600;
}

.runtime-quick-actions__block {
    background: rgba(248, 250, 252, 0.96);
}

.runtime-transition-grid {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.runtime-transition-tile {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.runtime-transition-tile__requirements {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
@media (max-width: 1399.98px) {
    .runtime-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .runtime-rail {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .runtime-hero__content,
    .runtime-section,
    .runtime-rail-card,
    .runtime-focus-panel {
        padding: 1rem;
    }

    .runtime-hero__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .runtime-action-workspace {
        grid-template-columns: 1fr;
    }

    .runtime-compact-history__item,
    .runtime-timeline__item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .runtime-hero__meta {
        grid-template-columns: 1fr;
    }

    .runtime-transition-grid,
    .runtime-quick-actions {
        grid-template-columns: 1fr;
    }
}






