/* Guide page owner: one shell, shared surfaces, no custom page canvas. */

.app-shell--guide {
    --app-shell-gap: var(--section-gap);
    --app-shell-bottom-padding: var(--section-gap);
}

.app-shell--guide #guide-hero > .content-body > :first-child > .text-meta,
.app-shell--guide #guide-hero > .content-body > :last-child > .item-card > .layout-stack > .text-meta,
.app-shell--guide [data-guide-modal-step] > .layout-stack > .text-meta {
    --text-meta-track: var(--hierarchy-eyebrow-track);
    --text-meta-text-transform: var(--hierarchy-eyebrow-transform);
}

.app-shell--guide #guide-hero > .content-body {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(18px, 3vw, 28px);
    align-items: start;
}

.app-shell--guide #guide-hero > .content-body > :first-child {
    min-width: 0;
    max-width: 58ch;
}

.app-shell--guide #guide-hero > .content-body > :first-child > .text-title {
    max-width: 22ch;
}

.app-shell--guide #guide-hero > .content-body > :last-child > .item-card > .layout-stack > .text-title,
.app-shell--guide [data-guide-modal-step] > .layout-stack > .text-title,
.app-shell--guide #guide-reading > .content-container > .content-body > .item-card > .layout-stack > .text-title {
    max-width: 32ch;
}

.app-shell--guide #guide-hero > .content-body > :first-child > .text-summary,
.app-shell--guide #guide-hero > .content-body > :last-child > .item-card > .layout-stack > .text-summary,
.app-shell--guide [data-guide-modal-step] > .layout-stack > .text-summary,
.app-shell--guide #guide-reading > .content-container > .content-body > .item-card > .layout-stack > .text-summary {
    --text-summary-size: clamp(15px, 1.05vw, 16px);
    --text-summary-line: 1.58;
    max-width: 60ch;
}

.app-shell--guide #guide-hero > .content-body > :last-child {
    min-width: 0;
}

.app-shell--guide #guide-hero > .content-body > :last-child > .item-card {
    min-height: 100%;
}

.app-shell--guide :is(#guide-workflows, #guide-next) > .content-container > .content-body {
    --layout-grid-min: var(--layout-grid-min-lg);
}

.app-shell--guide #guide-reading > .content-container > .content-body {
    --layout-grid-min: var(--layout-grid-min-lg);
}

.app-shell--guide [data-guide-grid="modal"] {
    --layout-grid-min: var(--layout-grid-min-md);
}

.app-shell--guide #guide-hero ol.list-shell {
    --list-shell-gap: 10px;
    --list-shell-bg: transparent;
    --list-shell-border: 0;
    --list-shell-padding: 0;
}

.app-shell--guide #guide-hero ol.list-shell > li {
    --item-card-padding: 12px;
    --item-card-gap: 10px;
    align-items: start;
}

.app-shell--guide #guide-hero ol.list-shell .badge {
    min-width: 26px;
    height: 26px;
    padding: 0;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

.app-shell--guide .list-shell--bulleted[data-guide-checklist] {
    --list-shell-gap: 8px;
    --list-shell-bg: transparent;
    --list-shell-border: 0;
    --list-shell-padding: 0;
    --list-shell-indent: 1.35em;
}

.app-shell--guide .list-shell--bulleted[data-guide-checklist] > li {
    position: static;
    margin: 0;
    padding-inline-start: 0;
    color: var(--theme-text-normal);
    font-size: clamp(16px, 1.05vw, 17px);
    line-height: 1.6;
}

.app-shell--guide .list-shell--bulleted[data-guide-checklist] > li::marker {
    color: color-mix(in srgb, var(--theme-text-muted) 74%, var(--theme-text-strong));
}

.app-shell--guide #guide-workflows [data-card-feature-trigger] {
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.app-shell--guide :is(#guide-workflows [data-card-feature-trigger], #guide-next a.item-card) {
    text-decoration: none;
    color: inherit;
}

.app-shell--guide [data-guide-modal-step] {
    gap: 14px;
}

@media (max-width: 960px) {
    .app-shell--guide #guide-hero > .content-body {
        grid-template-columns: 1fr;
    }
}
