:root {
    --demo-primary: var(--app-primary, #e91e63);
    --demo-secondary: var(--app-secondary, #737373);
    --demo-primary-rgb: var(--app-primary-rgb, 233, 30, 99);
    --demo-ink: #111827;
    --demo-muted: #667085;
    --demo-line: rgba(15, 23, 42, .12);
    --demo-surface: #fff;
    --demo-shadow: 0 22px 70px rgba(15, 23, 42, .22);
}

.demo-entry-body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--demo-ink);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(18, 25, 44, .78)),
        radial-gradient(circle at 75% 20%, rgba(var(--demo-primary-rgb), .34), transparent 32%),
        #f6f8fb;
}

.demo-entry {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
}

.demo-entry-hero {
    min-height: 330px;
    display: grid;
    align-items: end;
    color: #fff;
}

.demo-entry-kicker {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.demo-entry h1 {
    max-width: 740px;
    margin: 18px 0 12px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .92;
    letter-spacing: 0;
}

.demo-entry p {
    max-width: 760px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.65;
}

.demo-entry-safety {
    display: inline-grid;
    gap: 4px;
    margin-top: 12px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
}

.demo-entry-safety span {
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
}

.demo-entry-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.demo-role-card,
.demo-entry-panel,
.demo-entry-meta > div {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
}

.demo-role-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    color: var(--demo-ink);
    border: 0;
    text-align: left;
}

.demo-role-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(var(--demo-primary-rgb), .12);
    color: var(--demo-primary);
}

.demo-role-card small {
    color: var(--demo-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.demo-role-card h2 {
    margin: 0;
    font-size: 21px;
    letter-spacing: 0;
}

.demo-role-card p {
    margin: 0 0 auto;
    color: var(--demo-muted);
    font-size: 13px;
    line-height: 1.5;
}

.demo-role-card__credentials {
    width: 100%;
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
}

.demo-role-card__credentials span,
.demo-role-card__credentials code {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.demo-role-card button {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    color: #fff;
    background: var(--demo-primary);
    font-weight: 800;
    cursor: pointer;
}

.demo-entry-panel {
    max-width: 680px;
    padding: 24px;
    margin-top: 24px;
}

.demo-entry-panel h2 {
    margin: 0 0 8px;
}

.demo-entry-panel p {
    color: var(--demo-muted);
}

.demo-entry-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.demo-entry-credentials {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
}

.demo-entry-credentials > div:first-child span {
    display: block;
    margin-top: 4px;
    color: var(--demo-muted);
    font-size: 13px;
}

.demo-entry-credentials__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.demo-entry-credentials__grid article {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--demo-line);
    border-radius: 14px;
    background: #fff;
}

.demo-entry-credentials__grid small {
    color: var(--demo-muted);
    font-weight: 800;
    text-transform: uppercase;
}

.demo-entry-credentials__grid strong,
.demo-entry-credentials__grid code {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.demo-entry-meta > div {
    padding: 18px;
}

.demo-entry-meta span {
    display: block;
    margin-top: 4px;
    color: var(--demo-muted);
    font-size: 13px;
}

.demo-center {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1075;
    font-family: inherit;
}

.demo-center__toggle {
    min-width: 116px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--demo-primary), var(--demo-secondary));
    box-shadow: 0 16px 38px rgba(var(--demo-primary-rgb), .32);
    cursor: pointer;
}

.demo-center__toggle strong {
    font-size: 14px;
}

.demo-center__panel {
    position: absolute;
    right: 0;
    bottom: 64px;
    width: min(390px, calc(100vw - 32px));
    display: none;
    overflow: hidden;
    border: 1px solid var(--demo-line);
    border-radius: 18px;
    background: var(--demo-surface);
    box-shadow: var(--demo-shadow);
}

.demo-center.is-open .demo-center__panel {
    display: block;
}

.demo-center__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--demo-line);
}

.demo-center__head small {
    color: var(--demo-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.demo-center__head h6 {
    margin: 3px 0 0;
    color: var(--demo-ink);
}

.demo-center__close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--demo-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.demo-center__notice {
    display: flex;
    gap: 10px;
    margin: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
}

.demo-center__notice p {
    margin: 0;
    color: #334155;
    font-size: 12px;
    line-height: 1.45;
}

.demo-center__section {
    padding: 0 14px 14px;
}

.demo-center__section > strong {
    display: block;
    margin-bottom: 8px;
    color: var(--demo-ink);
    font-size: 13px;
}

.demo-center__tours {
    display: grid;
    gap: 8px;
}

.demo-session-card {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(var(--demo-primary-rgb), .24);
    border-radius: 14px;
    background: rgba(var(--demo-primary-rgb), .06);
}

.demo-session-card small,
.demo-session-card span {
    color: var(--demo-muted);
    font-size: 12px;
}

.demo-session-card__eyebrow,
.demo-tour-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.demo-session-card p {
    margin: 0;
    color: var(--demo-muted);
    font-size: 12px;
    line-height: 1.45;
}

.demo-session-card__progress {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(var(--demo-primary-rgb), .12);
}

.demo-session-card__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--demo-primary);
}

.demo-session-card__actions,
.demo-center-active__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-session-card__actions button {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 8px 10px;
    color: #fff;
    background: var(--demo-primary);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.demo-session-card__actions button.is-muted {
    color: var(--demo-ink);
    border-color: var(--demo-line);
    background: #fff;
}

.demo-tour-card {
    display: grid;
    gap: 3px;
    width: 100%;
    border: 1px solid var(--demo-line);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    color: var(--demo-ink);
    text-align: left;
    cursor: pointer;
}

.demo-tour-card:hover {
    border-color: rgba(var(--demo-primary-rgb), .38);
    background: rgba(var(--demo-primary-rgb), .05);
}

.demo-tour-card--master {
    border-color: rgba(var(--demo-primary-rgb), .28);
    background: linear-gradient(145deg, rgba(var(--demo-primary-rgb), .1), #fff 72%);
}

.demo-tour-card span {
    font-weight: 800;
    font-size: 13px;
}

.demo-tour-card em {
    flex: 0 0 auto;
    color: var(--demo-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.demo-tour-card b {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
    color: var(--demo-primary);
    font-size: 11px;
}

.demo-tour-card b .material-symbols-rounded {
    font-size: 15px;
}

.demo-tour-card small,
.demo-center__empty,
.demo-center__footer span {
    color: var(--demo-muted);
    font-size: 12px;
    line-height: 1.4;
}

.demo-role-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-role-switcher button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--demo-line);
    border-radius: 12px;
    padding: 8px 10px;
    color: var(--demo-ink);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.demo-role-switcher button.is-active {
    border-color: transparent;
    color: #fff;
    background: var(--demo-primary);
}

.demo-quick-links,
.demo-quick-link-grid {
    display: grid;
    gap: 8px;
}

.demo-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-quick-links a,
.demo-quick-link-card {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--demo-line);
    border-radius: 12px;
    color: var(--demo-ink);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.demo-quick-links a:hover,
.demo-quick-link-card:hover {
    border-color: rgba(var(--demo-primary-rgb), .38);
    color: var(--demo-primary);
}

.demo-quick-links span,
.demo-quick-link-card span {
    flex: 0 0 auto;
    color: var(--demo-primary);
}

.demo-credential-chip {
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 12px;
    background: #f8fafc;
}

.demo-credential-chip span,
.demo-credential-chip code {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.demo-center__footer {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-top: 1px solid var(--demo-line);
    background: #f8fafc;
}

.demo-center__footer a {
    color: var(--demo-primary);
    font-size: 13px;
    font-weight: 800;
}

.demo-locked-form {
    position: relative;
    min-width: 0;
    max-width: 100%;
    border-color: rgba(245, 158, 11, .45) !important;
}

.demo-lock-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(245, 158, 11, .34);
    border-radius: 12px;
    color: #92400e;
    background: #fffbeb;
}

.demo-lock-note strong {
    font-size: 12px;
}

.demo-lock-note small {
    min-width: 0;
    flex: 1 1 150px;
    color: #92400e;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.demo-locked-form.row > .demo-lock-note {
    width: calc(100% - var(--bs-gutter-x));
    max-width: calc(100% - var(--bs-gutter-x));
    margin-right: calc(var(--bs-gutter-x) * .5);
    margin-left: calc(var(--bs-gutter-x) * .5);
}

.demo-locked-button,
.demo-locked-button.btn {
    min-width: 0;
    overflow: hidden;
    opacity: .72;
    cursor: not-allowed !important;
    pointer-events: none;
}

.demo-locked-button .demo-lock-badge {
    display: none;
}

.demo-lock-badge {
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 6px;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-size: 10px;
    font-weight: 900;
    vertical-align: middle;
}

.demo-tour-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(15, 23, 42, .66);
    pointer-events: none;
    backdrop-filter: blur(1px);
}

.demo-tour-spotlight {
    position: fixed;
    z-index: 1081;
    border: 3px solid #fff;
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, .66), 0 0 0 7px rgba(var(--demo-primary-rgb), .46), 0 20px 60px rgba(0, 0, 0, .28);
    pointer-events: none;
    transition: all .2s ease;
}

.demo-tour-target-active {
    position: relative;
    z-index: 1081 !important;
    isolation: isolate;
}

.demo-tour-popover {
    position: fixed;
    z-index: 1082;
    width: min(470px, calc(100vw - 32px));
    max-height: min(780px, calc(100vh - 32px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--demo-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--demo-shadow);
    scrollbar-width: thin;
    transition: opacity .18s ease, transform .18s ease;
}

.demo-tour-popover.is-loading {
    opacity: .72;
    pointer-events: none;
}

.demo-tour-popover__progress {
    height: 5px;
    overflow: hidden;
    background: #eef2f6;
}

.demo-tour-popover__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--demo-primary), var(--demo-secondary));
    transition: width .25s ease;
}

.demo-tour-popover__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 10px;
}

.demo-tour-popover__head > div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.demo-tour-popover__body {
    min-height: 0;
    display: grid;
    gap: 10px;
    overflow: auto;
    padding: 4px 18px 14px;
    scrollbar-width: thin;
}

.demo-tour-popover__head small {
    color: var(--demo-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.demo-tour-popover__module {
    overflow: hidden;
    color: var(--demo-primary);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-tour-popover__pause {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--demo-line);
    border-radius: 11px;
    color: var(--demo-muted);
    background: #fff;
    cursor: pointer;
}

.demo-tour-popover__step-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--demo-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.demo-tour-popover h5 {
    margin: 0 0 4px;
    color: var(--demo-ink);
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.demo-tour-guide-block {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    background: #fbfcfe;
}

.demo-tour-guide-block > .material-symbols-rounded {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--demo-primary);
    background: rgba(var(--demo-primary-rgb), .09);
    font-size: 18px;
}

.demo-tour-guide-block strong {
    display: block;
    margin-bottom: 3px;
    color: var(--demo-ink);
    font-size: 12px;
}

.demo-tour-guide-block p {
    margin: 0;
    color: var(--demo-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.demo-tour-guide-block--try {
    border-color: rgba(var(--demo-primary-rgb), .22);
    background: rgba(var(--demo-primary-rgb), .045);
}

.demo-tour-guide-block--expected > .material-symbols-rounded {
    color: #047857;
    background: #ecfdf5;
}

.demo-tour-interaction,
.demo-tour-recovery {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 13px;
    color: #92400e;
    background: #fffbeb;
    font-size: 12px;
}

.demo-tour-interaction.is-complete {
    color: #047857;
    background: #ecfdf5;
}

.demo-tour-interaction button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    border: 0;
    border-radius: 9px;
    padding: 7px 9px;
    color: #fff;
    background: #b45309;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.demo-tour-interaction button .material-symbols-rounded {
    font-size: 15px;
}

.demo-tour-recovery {
    align-items: flex-start;
    flex-wrap: wrap;
    border: 1px solid #fed7aa;
}

.demo-tour-recovery span {
    flex-basis: 100%;
    color: #9a3412;
}

.demo-tour-recovery button {
    border: 0;
    padding: 7px 10px;
    border-radius: 9px;
    color: #fff;
    background: #c2410c;
    font-size: 11px;
    font-weight: 800;
}

.demo-tour-popover__actions {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid #edf1f5;
    background: #fff;
}

.demo-tour-popover__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.demo-tour-popover__actions button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.demo-tour-popover__actions .material-symbols-rounded {
    font-size: 17px;
}

.demo-tour-popover__actions .is-light {
    color: var(--demo-ink);
    border-color: var(--demo-line);
    background: #fff;
}

.demo-tour-popover__actions .is-primary {
    color: #fff;
    background: var(--demo-primary);
}

.demo-tour-popover__actions .is-quiet {
    justify-self: center;
    color: var(--demo-muted);
    background: transparent;
}

.demo-tour-popover__shortcuts {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0 18px 13px;
    color: var(--demo-muted);
    font-size: 10px;
}

.demo-tour-popover__shortcuts kbd {
    display: inline-flex;
    min-width: 20px;
    justify-content: center;
    margin-right: 3px;
    padding: 2px 5px;
    border: 1px solid #d8dee7;
    border-bottom-width: 2px;
    border-radius: 5px;
    color: #344054;
    background: #fff;
    font: inherit;
}

.demo-center-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 14px;
}

.demo-center-master-tour {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 22px;
    border: 1px solid rgba(var(--demo-primary-rgb), .24);
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 0%, rgba(var(--demo-primary-rgb), .15), transparent 34%),
        linear-gradient(135deg, rgba(var(--demo-primary-rgb), .08), #fff 72%);
}

.demo-center-master-tour__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--demo-primary), var(--demo-secondary));
    box-shadow: 0 14px 28px rgba(var(--demo-primary-rgb), .22);
}

.demo-center-master-tour__icon span {
    font-size: 30px;
}

.demo-center-master-tour__copy {
    min-width: 0;
}

.demo-center-master-tour__copy > small,
.demo-center-chapter-heading small {
    color: var(--demo-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.demo-center-master-tour__copy h5 {
    margin: 3px 0 5px;
}

.demo-center-master-tour__copy p {
    max-width: 720px;
    margin: 0;
    color: var(--demo-muted);
    font-size: 13px;
    line-height: 1.5;
}

.demo-center-master-tour__copy > div,
.demo-center-chapter-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 11px;
}

.demo-center-master-tour__copy > div span,
.demo-center-chapter-modules span {
    padding: 5px 8px;
    border: 1px solid rgba(var(--demo-primary-rgb), .14);
    border-radius: 999px;
    color: #475569;
    background: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 800;
}

.demo-center-chapter-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 12px;
}

.demo-center-chapter-heading > div {
    display: grid;
}

.demo-center-chapter-heading strong {
    font-size: 15px;
}

.demo-center-chapter-heading > span {
    color: var(--demo-muted);
    font-size: 11px;
    font-weight: 700;
}

.demo-center-page-card__meta small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.demo-center-page-card__meta small .material-symbols-rounded {
    font-size: 16px;
}

.demo-center-chapter-modules {
    align-content: flex-start;
    margin-bottom: 18px;
}

.demo-center-page-card {
    padding: 18px;
    border: 1px solid var(--demo-line);
    border-radius: 16px;
    background: #fff;
}

.demo-center-page-card--tour {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.demo-center-page-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.demo-center-page-card__meta span {
    color: var(--demo-muted);
    font-size: 11px;
    font-weight: 700;
}

.demo-center-page-card small {
    color: var(--demo-primary);
    font-weight: 800;
}

.demo-center-page-card p {
    color: var(--demo-muted);
    font-size: 13px;
    line-height: 1.5;
}

.demo-center-step-list {
    display: grid;
    gap: 7px;
    max-height: 270px;
    overflow: auto;
    margin: 4px 0 16px;
    padding: 0 4px 0 0;
    list-style: none;
    scrollbar-width: thin;
}

.demo-center-step-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 8px;
    border: 1px solid #edf1f5;
    border-radius: 11px;
    background: #fbfcfe;
}

.demo-center-step-list > li > span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--demo-primary);
    background: rgba(var(--demo-primary-rgb), .09);
    font-size: 11px;
    font-weight: 900;
}

.demo-center-step-list li div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.demo-center-step-list strong {
    overflow: hidden;
    color: var(--demo-ink);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-center-step-list small {
    color: var(--demo-muted);
    font-size: 10px;
}

.demo-center-page-card__actions {
    display: grid;
    gap: 7px;
    margin-top: auto;
}

.demo-center-page-card__actions > span {
    color: var(--demo-muted);
    font-size: 10px;
}

.demo-role-switcher--page {
    display: grid;
}

.demo-role-switcher--page button {
    justify-content: flex-start;
    width: 100%;
    text-align: left;
}

.demo-role-switcher--page small {
    display: block;
    color: inherit;
    font-weight: 500;
    opacity: .78;
}

.demo-center-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.demo-center-active small {
    color: var(--demo-primary);
    font-weight: 900;
    text-transform: uppercase;
}

.demo-quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-quick-link-card {
    min-height: 74px;
}

.demo-credentials-list {
    display: grid;
    gap: 8px;
}

.demo-credentials-list div {
    display: grid;
    gap: 3px;
    padding: 10px;
    border: 1px solid var(--demo-line);
    border-radius: 12px;
    background: #fff;
}

.demo-credentials-list span {
    color: var(--demo-muted);
    font-size: 12px;
}

.demo-credentials-list strong {
    overflow-wrap: anywhere;
    font-size: 13px;
}

@media (max-width: 1050px) {
    .demo-entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .demo-entry-credentials__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .demo-entry {
        width: min(100% - 22px, 1180px);
        padding: 28px 0;
    }

    .demo-entry-hero {
        min-height: auto;
        padding-top: 28px;
    }

    .demo-entry-grid,
    .demo-entry-meta,
    .demo-center-page-grid,
    .demo-entry-credentials__grid,
    .demo-quick-link-grid {
        grid-template-columns: 1fr;
    }

    .demo-center-active {
        align-items: flex-start;
        flex-direction: column;
    }

    .demo-center-master-tour {
        grid-template-columns: 1fr;
    }

    .demo-center-master-tour__icon {
        width: 48px;
        height: 48px;
    }

    .demo-center-master-tour > .btn {
        width: 100%;
    }

    .demo-center {
        right: 14px;
        bottom: 14px;
    }

    .demo-center__panel {
        position: fixed;
        right: 10px;
        left: 10px;
        bottom: 78px;
        width: auto;
        max-height: calc(100vh - 110px);
        overflow: auto;
        border-radius: 18px;
    }

    .demo-tour-popover {
        right: 10px !important;
        left: 10px !important;
        bottom: 10px !important;
        top: auto !important;
        width: auto;
        max-height: min(76vh, 680px);
        border-radius: 18px;
    }

    .demo-tour-popover__actions {
        grid-template-columns: 1fr 1fr;
    }

    .demo-tour-popover__actions .is-quiet {
        grid-row: 2;
        grid-column: 1 / -1;
        order: 3;
    }

    .demo-tour-popover__shortcuts {
        display: none;
    }

    .demo-tour-guide-block {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .demo-tour-spotlight,
    .demo-tour-popover,
    .demo-tour-popover__progress span {
        transition: none;
    }
}
