/* request-story: feature layout on shared console primitives and theme tokens. */

.request-story {
    margin: 18px 0 22px;
}
.request-story .console-panel-head {
    padding: 16px 18px;
}
.request-story h2 {
    font-size: 14px;
}
.request-story-steps {
    list-style: none;
    margin: 0;
    padding: 0 18px 18px;
}
.request-story-steps > li {
    display: flex;
    gap: 13px;
    position: relative;
    padding: 12px 0;
}
.request-story-steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 40px;
    bottom: -10px;
    border-left: 1px solid var(--border);
}
.request-step-number {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--green-ink);
    background: var(--green-fill);
    font-size: 10px;
}
.has-failure .request-step-number {
    color: var(--amber);
    background: var(--amber-fill);
}
.request-step-body {
    flex: 1;
    min-width: 0;
}
.request-step-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 7px;
}
.request-step-heading strong {
    font-size: 12px;
    font-weight: 550;
    overflow-wrap: anywhere;
}
.request-step-heading strong span {
    color: var(--text-tertiary);
    font-weight: 400;
}
.request-step-status {
    font-size: 10px;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
}
.has-failure .request-step-status {
    color: var(--amber);
}
.request-step-body > code {
    font-size: 10px;
    color: var(--text-tertiary);
    overflow-wrap: anywhere;
}
.request-step-body p {
    font-size: 11px;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
}
.request-step-body dl {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 12px 0 0;
}
.request-step-body dt {
    font-size: 9px;
    color: var(--text-tertiary);
}
.request-step-body dd {
    margin: 2px 0 0;
    font-size: 11px;
}
.request-story-diagnostics {
    border-top: 1px solid var(--border);
    padding: 14px 18px;
}
.request-story-diagnostics summary {
    cursor: pointer;
    font-size: 11px;
}
.request-story-diagnostics summary span {
    color: var(--text-tertiary);
    margin-left: 6px;
}
.request-story-diagnostics ol {
    list-style: none;
    padding: 0;
}
.request-story-diagnostics li {
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.request-story-diagnostics pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 10px;
    color: var(--text-secondary);
    margin: 6px 0 0;
}
