.po-ui-stepper-layer {
    position: fixed;
    inset: 0;
    z-index: 100040;
    display: none;
    pointer-events: none;
    font-family: inherit;
}

.po-ui-stepper-layer.is-visible {
    display: block;
}

.po-ui-stepper-dim {
    position: fixed;
    background: rgba(15, 23, 42, 0.48);
    pointer-events: none;
}

.po-ui-stepper-spotlight {
    position: fixed;
    border: 1px solid rgba(91, 155, 213, 0.82);
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.34), 0 8px 22px rgba(15, 23, 42, 0.12);
    pointer-events: none;
    transition: top 0.18s ease, left 0.18s ease, width 0.18s ease, height 0.18s ease;
}

.po-ui-stepper-card {
    position: fixed;
    width: min(500px, calc(100vw - 32px));
    min-height: 410px;
    max-height: min(84vh, 720px);
    display: flex;
    flex-direction: column;
    background: var(--po-bg-primary, #ffffff);
    color: var(--po-text-primary, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.32), 0 8px 20px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    pointer-events: auto;
    transition: top 0.18s ease, left 0.18s ease;
}

.po-ui-stepper-header {
    width: 100% !important;
    max-width: none !important;
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    gap: 12px;
    margin: 0 !important;
    padding: 17px 19px 14px;
    background: linear-gradient(135deg, var(--po-accent, #5B9BD5), var(--po-accent-dark, #4178BE));
    color: #ffffff;
    box-sizing: border-box;
}

.po-ui-stepper-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 16px;
}

.po-ui-stepper-heading {
    min-width: 0;
    flex: 1;
}

.po-ui-stepper-kicker {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

.po-ui-stepper-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
}

.po-ui-stepper-close {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.po-ui-stepper-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.po-ui-stepper-body {
    padding: 15px 22px 16px;
    overflow-y: auto;
    color: var(--po-text-secondary, #475569);
    font-size: 14px;
    line-height: 1.62;
}

.po-ui-stepper-body strong,
.po-ui-stepper-body b {
    color: var(--po-text-primary, #0f172a);
    font-weight: 700;
}

.po-ui-stepper-visual {
    display: none;
    padding: 16px 20px 0;
}

.po-ui-stepper-visual.is-visible {
    display: block;
}

/* ── Stepper-Visual Master: Miniatur entspricht Spotlight-Geometrie ─────── */
.po-ui-stepper-stage {
    position: relative;
    height: 132px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.po-ui-stepper-stage--generic::before,
.po-ui-stepper-stage--generic::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.po-ui-stepper-stage--generic::before {
    width: 160px;
    height: 160px;
    left: -45px;
    top: -55px;
    border-radius: 999px;
    background: rgba(91, 155, 213, 0.16);
    animation: po-ui-stepper-orbit 5s ease-in-out infinite;
}

.po-ui-stepper-stage--generic::after {
    left: 44px;
    right: 44px;
    top: 72px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(91, 155, 213, 0.75), rgba(16, 185, 129, 0.72), transparent);
    animation: po-ui-stepper-line 2.7s ease-in-out infinite;
}

.po-ui-stepper-stage--generic > span {
    position: absolute;
    display: block;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(91, 155, 213, 0.22);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.po-ui-stepper-stage--generic > span:nth-child(1) {
    width: 60px;
    height: 78px;
    left: 34px;
    top: 34px;
    animation: po-ui-stepper-float 3.8s ease-in-out infinite;
}

.po-ui-stepper-stage--generic > span:nth-child(2) {
    width: 88px;
    height: 34px;
    left: 138px;
    top: 33px;
    animation: po-ui-stepper-pulse 2.8s ease-in-out infinite;
}

.po-ui-stepper-stage--generic > span:nth-child(3) {
    width: 88px;
    height: 34px;
    left: 138px;
    top: 81px;
    animation: po-ui-stepper-pulse 2.8s ease-in-out 0.24s infinite;
}

.po-ui-stepper-stage--generic > span:nth-child(4) {
    width: 96px;
    height: 96px;
    right: 42px;
    top: 26px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(91, 155, 213, 0.95), rgba(16, 185, 129, 0.88));
    animation: po-ui-stepper-glow 3.2s ease-in-out infinite;
}

.po-ui-stepper-stage--generic > span:nth-child(5) {
    width: 11px;
    height: 11px;
    left: 104px;
    top: 69px;
    border-radius: 999px;
    background: #ffffff;
    border-color: rgba(91, 155, 213, 0.4);
    animation: po-ui-stepper-dot 2.2s linear infinite;
}

/* Dashboard-Header (#ud_header): horizontal, Avatar + Text + Uhrzeit */
.po-ui-stepper-stage--dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    height: 132px;
}

.po-ui-stepper-mock-header {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 420px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(91, 155, 213, 0.45);
    box-shadow: 0 10px 26px rgba(91, 155, 213, 0.18);
    animation: po-ui-stepper-mock-in 0.55s ease-out forwards;
}

.po-ui-stepper-mock-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14%;
    background: linear-gradient(135deg, rgba(91, 155, 213, 0.35), rgba(65, 120, 190, 0.55));
    border: 2px solid rgba(91, 155, 213, 0.35);
    animation: po-ui-stepper-mock-pulse 3s ease-in-out infinite;
}

.po-ui-stepper-mock-greeting {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.po-ui-stepper-mock-clock {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.po-ui-stepper-mock-line {
    display: block;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
}

.po-ui-stepper-mock-line-title {
    width: 100%;
    max-width: 180px;
    height: 10px;
    background: rgba(51, 65, 85, 0.28);
}

.po-ui-stepper-mock-line-sub {
    width: 72%;
    max-width: 140px;
    height: 7px;
}

.po-ui-stepper-mock-line-date {
    width: 88px;
    height: 7px;
}

.po-ui-stepper-mock-line-time {
    width: 64px;
    height: 12px;
    background: rgba(91, 155, 213, 0.35);
    animation: po-ui-stepper-mock-pulse 2.4s ease-in-out infinite;
}

/* Document AI — Menü-Mock + Nutzen-Verben (Tour Schritt 3) */
.po-ui-stepper-visual.visual-document-ai {
    padding-top: 12px;
}
.po-ui-stepper-stage--document-ai {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 12px;
    align-items: stretch;
    height: 148px;
    padding: 12px 14px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-doc-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(91, 155, 213, 0.45);
    box-shadow: 0 10px 24px rgba(91, 155, 213, 0.14);
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.55s ease-out forwards;
}
.po-ui-stepper-mock-doc-heading {
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(91, 155, 213, 0.12);
    border: 1px solid rgba(91, 155, 213, 0.35);
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
}
.po-ui-stepper-mock-doc-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.po-ui-stepper-mock-doc-menu li {
    padding: 5px 8px;
    border-radius: 8px;
    color: #475569;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.25;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid transparent;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.5s ease-out forwards;
}
.po-ui-stepper-mock-doc-menu li:nth-child(1) { animation-delay: 0.08s; }
.po-ui-stepper-mock-doc-menu li:nth-child(2) { animation-delay: 0.14s; }
.po-ui-stepper-mock-doc-menu li:nth-child(3) { animation-delay: 0.2s; }
.po-ui-stepper-mock-doc-menu li:nth-child(4) { animation-delay: 0.26s; }
.po-ui-stepper-mock-doc-menu li:nth-child(5) { animation-delay: 0.32s; }
.po-ui-stepper-mock-doc-menu li.is-active {
    color: #0f172a;
    background: rgba(91, 155, 213, 0.14);
    border-color: rgba(91, 155, 213, 0.35);
    font-size: 10px;
}
.po-ui-stepper-mock-doc-purpose {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.32);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.55s ease-out 0.12s forwards;
}
.po-ui-stepper-mock-doc-purpose-kicker {
    color: #64748b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.po-ui-stepper-mock-doc-verb {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(91, 155, 213, 0.1);
    border: 1px solid rgba(91, 155, 213, 0.28);
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.02em;
}

.po-ui-stepper-body ul {
    margin: 10px 0 0;
    padding-left: 18px;
    text-align: left;
}
.po-ui-stepper-body li {
    margin: 5px 0;
    line-height: 1.45;
}

/* Workspaces — getrennte Silos (Mandant / Projekt / Abteilung) */
.po-ui-stepper-stage--workspace {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px 28px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-ws-label {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    color: #64748b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.po-ui-stepper-mock-ws-silo {
    flex: 1 1 0;
    max-width: 88px;
    min-height: 72px;
    padding: 10px 8px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.5s ease-out forwards;
}
.po-ui-stepper-mock-ws-silo-b { animation-delay: 0.1s; border-color: rgba(91, 155, 213, 0.45); min-height: 84px; }
.po-ui-stepper-mock-ws-silo-c { animation-delay: 0.2s; }
.po-ui-stepper-mock-ws-name {
    color: #0f172a;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}
.po-ui-stepper-mock-ws-meta {
    color: #64748b;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
}

/* Storage Mounts — BYOD: Dateien beim Kunden, Logik bei PaperOffice */
.po-ui-stepper-stage--storage {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 14px 16px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-storage-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.32);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.5s ease-out forwards;
}
.po-ui-stepper-mock-storage-po {
    animation-delay: 0.18s;
    border-color: rgba(91, 155, 213, 0.4);
}
.po-ui-stepper-mock-storage-byod {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.po-ui-stepper-mock-storage-icon {
    width: 32px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
    border: 1px solid rgba(100, 116, 139, 0.35);
}
.po-ui-stepper-mock-storage-icon-po {
    background: linear-gradient(135deg, #5B9BD5, #4178BE);
    border-color: rgba(91, 155, 213, 0.4);
}
.po-ui-stepper-mock-storage-title {
    color: #0f172a;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}
.po-ui-stepper-mock-storage-sub,
.po-ui-stepper-mock-storage-files {
    color: #64748b;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
}
.po-ui-stepper-mock-storage-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.45s ease-out 0.1s forwards;
}
.po-ui-stepper-mock-storage-bridge::before,
.po-ui-stepper-mock-storage-bridge::after {
    content: "";
    width: 28px;
    height: 2px;
    background: rgba(91, 155, 213, 0.5);
    border-radius: 999px;
}
.po-ui-stepper-mock-storage-bridge-label {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(91, 155, 213, 0.12);
    border: 1px solid rgba(91, 155, 213, 0.3);
    color: #4178BE;
    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}

/* Document Types — Regeln pro Dokumentart */
.po-ui-stepper-stage--document-types {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-dt-panel {
    width: 100%;
    max-width: 280px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(91, 155, 213, 0.38);
    box-shadow: 0 10px 22px rgba(91, 155, 213, 0.12);
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.55s ease-out forwards;
}
.po-ui-stepper-mock-dt-heading {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}
.po-ui-stepper-mock-dt-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.po-ui-stepper-mock-dt-pill {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(91, 155, 213, 0.1);
    border: 1px solid rgba(91, 155, 213, 0.28);
    color: #334155;
    font-size: 9px;
    font-weight: 700;
}
.po-ui-stepper-mock-dt-note {
    display: block;
    margin-top: 10px;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
}

/* Plattform-Hub — Master Brain Metapher */
.po-ui-stepper-stage--platform-hub {
    position: relative;
    height: 162px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-hub-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5B9BD5, #4178BE);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(91, 155, 213, 0.28);
    z-index: 2;
    animation: po-ui-stepper-mock-pulse 3s ease-in-out infinite;
}
.po-ui-stepper-mock-hub-node {
    position: absolute;
    padding: 5px 8px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #334155;
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.45s ease-out forwards;
}
.po-ui-stepper-mock-hub-node-doc { left: 12%; top: 18%; animation-delay: 0.05s; }
.po-ui-stepper-mock-hub-node-wf { left: 68%; top: 14%; animation-delay: 0.12s; }
.po-ui-stepper-mock-hub-node-an { right: 8%; top: 38%; animation-delay: 0.18s; }
.po-ui-stepper-mock-hub-node-rel { left: 6%; top: 44%; animation-delay: 0.21s; }
.po-ui-stepper-mock-hub-node-ag { left: 10%; bottom: 14%; animation-delay: 0.24s; }
.po-ui-stepper-mock-hub-node-kb { left: 36%; bottom: 8%; animation-delay: 0.3s; }
.po-ui-stepper-mock-hub-node-hd { right: 10%; bottom: 14%; animation-delay: 0.36s; }
.po-ui-stepper-stage--platform-hub::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 132px;
    height: 132px;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(91, 155, 213, 0.25);
    border-radius: 999px;
    pointer-events: none;
}

/* Administration — nur Root */
.po-ui-stepper-stage--admin {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-admin-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(91, 155, 213, 0.4);
    box-shadow: 0 10px 24px rgba(91, 155, 213, 0.14);
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.5s ease-out forwards;
}
.po-ui-stepper-mock-admin-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid rgba(100, 116, 139, 0.35);
    color: #475569;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.po-ui-stepper-mock-admin-title {
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}
.po-ui-stepper-mock-admin-line {
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

/* Connectors — Eingänge → PaperOffice → Dokument */
.po-ui-stepper-stage--connectors-flow {
    position: relative;
    height: 148px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-conn-node {
    position: absolute;
    padding: 6px 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #334155;
    font-size: 8px;
    font-weight: 700;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.45s ease-out forwards;
}
.po-ui-stepper-mock-conn-mail { left: 14%; top: 16%; animation-delay: 0.05s; }
.po-ui-stepper-mock-conn-cloud { left: 42%; top: 12%; animation-delay: 0.12s; }
.po-ui-stepper-mock-conn-api { right: 14%; top: 16%; animation-delay: 0.18s; }
.po-ui-stepper-mock-conn-hub {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #5b9bd5, #4178be);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.5s ease-out 0.22s forwards;
}
.po-ui-stepper-mock-conn-doc {
    position: absolute;
    left: 50%;
    bottom: 18%;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(91, 155, 213, 0.12);
    border: 1px solid rgba(91, 155, 213, 0.35);
    color: #4178be;
    font-size: 8px;
    font-weight: 800;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.45s ease-out 0.32s forwards;
}
.po-ui-stepper-stage--connectors-flow::before,
.po-ui-stepper-stage--connectors-flow::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    background: rgba(91, 155, 213, 0.35);
    transform: translateX(-50%);
}
.po-ui-stepper-stage--connectors-flow::before {
    top: 28%;
    height: 18%;
}
.po-ui-stepper-stage--connectors-flow::after {
    top: 58%;
    height: 14%;
}

/* Workflow — Pipeline Eingang → Ergebnis */
.po-ui-stepper-stage--workflow-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-wf-step {
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.32);
    color: #334155;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.45s ease-out forwards;
}
.po-ui-stepper-mock-wf-upload { animation-delay: 0.05s; }
.po-ui-stepper-mock-wf-queue { animation-delay: 0.15s; border-color: rgba(91, 155, 213, 0.35); }
.po-ui-stepper-mock-wf-worker { animation-delay: 0.25s; }
.po-ui-stepper-mock-wf-done {
    animation-delay: 0.35s;
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
    color: #059669;
}
.po-ui-stepper-mock-wf-arrow {
    width: 14px;
    height: 2px;
    background: rgba(91, 155, 213, 0.45);
    border-radius: 999px;
    flex: 0 0 auto;
}

/* Analytics — Dokument ↔ Entität ↔ Beziehung */
.po-ui-stepper-stage--analytics-graph {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-graph-node {
    padding: 8px 11px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.32);
    color: #334155;
    font-size: 8px;
    font-weight: 700;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.45s ease-out forwards;
}
.po-ui-stepper-mock-graph-doc { animation-delay: 0.05s; }
.po-ui-stepper-mock-graph-entity {
    animation-delay: 0.18s;
    border-color: rgba(91, 155, 213, 0.4);
}
.po-ui-stepper-mock-graph-relation {
    animation-delay: 0.3s;
    background: rgba(91, 155, 213, 0.08);
}
.po-ui-stepper-mock-graph-line {
    width: 22px;
    height: 2px;
    background: rgba(91, 155, 213, 0.45);
    border-radius: 999px;
    flex: 0 0 auto;
}

/* Konto-Admin — Abrechnung, API, Team, Sicherheit */
.po-ui-stepper-stage--account-admin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-adm-chip {
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #475569;
    font-size: 9px;
    font-weight: 800;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.45s ease-out forwards;
}
.po-ui-stepper-mock-adm-chip:nth-child(1) { animation-delay: 0.05s; }
.po-ui-stepper-mock-adm-chip:nth-child(2) { animation-delay: 0.12s; }
.po-ui-stepper-mock-adm-chip:nth-child(3) { animation-delay: 0.18s; }
.po-ui-stepper-mock-adm-chip-accent {
    animation-delay: 0.24s;
    border-color: rgba(91, 155, 213, 0.4);
    color: #4178be;
    background: rgba(91, 155, 213, 0.08);
}

/* Mein PaperOffice — persönlicher Hub */
.po-ui-stepper-stage--mypo-hub {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    padding: 18px 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.po-ui-stepper-mock-mypo-tile {
    flex: 1 1 0;
    max-width: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 10px 8px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(91, 155, 213, 0.32);
    color: #334155;
    font-size: 8px;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    opacity: 0;
    animation: po-ui-stepper-mock-in 0.45s ease-out forwards;
}
.po-ui-stepper-mock-mypo-tile:nth-child(1) { animation-delay: 0.05s; }
.po-ui-stepper-mock-mypo-tile:nth-child(2) {
    animation-delay: 0.14s;
    border-color: rgba(91, 155, 213, 0.45);
    background: linear-gradient(180deg, #fff 0%, #f0f9ff 100%);
}
.po-ui-stepper-mock-mypo-tile:nth-child(3) { animation-delay: 0.22s; }

/* Linke Seitenleiste */
.po-ui-stepper-stage--sidebar,
.po-ui-stepper-stage--nav-focus,
.po-ui-stepper-stage--right-sidebar,
.po-ui-stepper-stage--account {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.po-ui-stepper-mock-sidebar {
    position: absolute;
    left: 18px;
    top: 14px;
    bottom: 14px;
    width: 72px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(91, 155, 213, 0.4);
    box-shadow: 0 10px 24px rgba(91, 155, 213, 0.16);
    animation: po-ui-stepper-mock-in 0.5s ease-out forwards;
}

.po-ui-stepper-mock-sidebar-right {
    left: auto;
    right: 18px;
}

.po-ui-stepper-mock-main {
    position: absolute;
    left: 104px;
    right: 18px;
    top: 14px;
    bottom: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.po-ui-stepper-stage--right-sidebar .po-ui-stepper-mock-main {
    left: 18px;
    right: 104px;
}

.po-ui-stepper-mock-nav {
    position: absolute;
    left: 28px;
    width: 52px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
}

.po-ui-stepper-mock-nav-1 { top: 28px; }
.po-ui-stepper-mock-nav-2 { top: 44px; }
.po-ui-stepper-mock-nav-3 { top: 60px; width: 44px; }
.po-ui-stepper-mock-nav-4 { top: 76px; width: 38px; }

.po-ui-stepper-mock-nav-r1 { left: auto; right: 28px; top: 32px; }
.po-ui-stepper-mock-nav-r2 { left: auto; right: 28px; top: 52px; width: 44px; }
.po-ui-stepper-mock-nav-r3 { left: auto; right: 28px; top: 72px; width: 36px; }

.po-ui-stepper-mock-nav-a { top: 26px; width: 46px; }
.po-ui-stepper-mock-nav-b { top: 42px; width: 40px; }

.po-ui-stepper-stage--nav-focus.po-ui-stepper-stage--right .po-ui-stepper-mock-nav-a,
.po-ui-stepper-stage--nav-focus.po-ui-stepper-stage--right .po-ui-stepper-mock-nav-b {
    left: auto;
    right: 28px;
}

.po-ui-stepper-mock-highlight {
    position: absolute;
    left: 22px;
    width: 64px;
    height: 22px;
    border-radius: 8px;
    border: 2px solid rgba(91, 155, 213, 0.65);
    background: rgba(91, 155, 213, 0.12);
    box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.12);
    animation: po-ui-stepper-mock-highlight 2.2s ease-in-out infinite;
}

.po-ui-stepper-stage--nav-focus.po-ui-stepper-stage--right .po-ui-stepper-mock-highlight {
    left: auto;
    right: 22px;
}

/* Avatar-Menü oben rechts */
.po-ui-stepper-stage--account {
    padding: 16px 18px;
}

.po-ui-stepper-mock-topbar {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 28px;
    height: 12px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
}

.po-ui-stepper-mock-avatar-sm {
    position: absolute;
    right: 24px;
    top: 48px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(91, 155, 213, 0.5), rgba(65, 120, 190, 0.7));
    border: 2px solid rgba(91, 155, 213, 0.5);
    box-shadow: 0 8px 20px rgba(91, 155, 213, 0.25);
    animation: po-ui-stepper-mock-pulse 2.5s ease-in-out infinite;
}

.po-ui-stepper-mock-menu {
    position: absolute;
    right: 20px;
    top: 90px;
    width: 168px;
    height: 28px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(91, 155, 213, 0.4);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    animation: po-ui-stepper-mock-in 0.55s ease-out 0.12s forwards;
    opacity: 0;
}

@keyframes po-ui-stepper-mock-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes po-ui-stepper-mock-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; box-shadow: 0 0 0 4px rgba(91, 155, 213, 0.12); }
}

@keyframes po-ui-stepper-mock-highlight {
    0%, 100% { box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.1); }
    50% { box-shadow: 0 0 0 5px rgba(91, 155, 213, 0.22); }
}

@keyframes po-ui-stepper-orbit {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(22px, 18px, 0) scale(1.08); }
}

@keyframes po-ui-stepper-line {
    0%, 100% { opacity: 0.35; transform: scaleX(0.86); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes po-ui-stepper-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes po-ui-stepper-pulse {
    0%, 100% { opacity: 0.72; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(8px); }
}

@keyframes po-ui-stepper-glow {
    0%, 100% { box-shadow: 0 14px 30px rgba(91, 155, 213, 0.22); transform: scale(1); }
    50% { box-shadow: 0 18px 42px rgba(16, 185, 129, 0.32); transform: scale(1.04); }
}

@keyframes po-ui-stepper-dot {
    0% { transform: translateX(0) scale(0.8); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateX(250px) scale(1.1); opacity: 0; }
}

.po-ui-stepper-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-top: 1px solid var(--po-border, #e5e7eb);
    background: var(--po-bg-secondary, #f8fafc);
}

.po-ui-stepper-progress {
    min-width: 84px;
    color: var(--po-text-muted, #64748b);
    font-size: 12px;
    font-weight: 800;
}

.po-ui-stepper-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.po-ui-stepper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.po-ui-stepper-btn:hover {
    transform: translateY(-1px);
}

.po-ui-stepper-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.po-ui-stepper-btn-ghost {
    color: var(--po-text-secondary, #475569);
    background: transparent;
}

.po-ui-stepper-btn-secondary {
    color: var(--po-text-primary, #0f172a);
    background: var(--po-bg-primary, #ffffff);
    border-color: var(--po-border, #e5e7eb);
}

.po-ui-stepper-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--po-accent, #5B9BD5), var(--po-accent-dark, #4178BE));
    box-shadow: 0 8px 18px rgba(91, 155, 213, 0.25);
}

@media (max-width: 720px) {
    .po-ui-stepper-card {
        left: 16px !important;
        right: 16px;
        bottom: 16px;
        top: auto !important;
        width: auto;
        min-height: 0;
        max-height: 72vh;
    }

    .po-ui-stepper-visual {
        display: none !important;
    }

    .po-ui-stepper-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .po-ui-stepper-progress {
        min-width: 0;
    }

    .po-ui-stepper-actions {
        justify-content: flex-start;
    }
}
