.blurbly-author-workflow,
.blurbly-author-workflow-admin {
    --baw-ink: #111532;
    --baw-muted: #5b6378;
    --baw-line: #dfe4ee;
    --baw-soft: #f7f8fb;
    --baw-accent: #5f4af2;
    --baw-teal: #0f9f9a;
    --baw-rose: #d94f8c;
    color: var(--baw-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.baw-shell {
    max-width: 1180px;
    margin: 32px auto;
    padding: 28px;
    border: 1px solid var(--baw-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(17, 21, 50, .07);
}

.baw-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
    align-items: stretch;
    padding: 26px;
    border: 1px solid var(--baw-line);
    border-radius: 8px;
    background: #fff;
}

.baw-hero span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--baw-accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.baw-hero h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: 0;
}

.baw-hero p {
    max-width: 740px;
    margin: 0;
    color: var(--baw-muted);
    font-size: 17px;
    line-height: 1.6;
}

.baw-hero aside {
    padding: 22px;
    border-radius: 8px;
    color: #fff;
    background: #151936;
}

.baw-hero aside span {
    color: rgba(255,255,255,.76);
}

.baw-hero aside strong {
    display: block;
    margin-bottom: 8px;
    font-size: 38px;
}

.baw-hero aside p {
    color: rgba(255,255,255,.8);
}

.baw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.baw-actions a,
.baw-steps a,
.baw-step-form button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--baw-line);
    border-radius: 8px;
    color: var(--baw-ink);
    text-decoration: none;
    font-weight: 800;
    background: var(--baw-soft);
}

.baw-step-form {
    margin: 0;
}

.baw-step-form button {
    cursor: pointer;
    font: inherit;
}

.baw-actions a:first-child,
.baw-steps article:first-child a,
.baw-steps article:first-child .baw-step-form button {
    background: var(--baw-accent);
    border-color: var(--baw-accent);
    color: #fff;
}

.baw-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.baw-steps article {
    min-height: 210px;
    padding: 20px;
    border: 1px solid var(--baw-line);
    border-radius: 8px;
    background: #fff;
}

.baw-steps article.is-current {
    border-color: var(--baw-accent);
    background: #f7f5ff;
}

.baw-notice {
    margin: 18px 0;
    padding: 12px 14px;
    border: 1px solid #bfe5df;
    border-radius: 8px;
    color: #075f5b;
    background: #ecfbf8;
    font-weight: 800;
}

.baw-steps em {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--baw-accent);
    background: #f1efff;
    font-style: normal;
    font-weight: 900;
}

.baw-steps article:nth-child(2n) em {
    color: var(--baw-teal);
    background: #eaf8f7;
}

.baw-steps article:nth-child(3n) em {
    color: var(--baw-rose);
    background: #fff0f6;
}

.baw-steps strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

.baw-steps p {
    min-height: 74px;
    margin: 0 0 14px;
    color: var(--baw-muted);
    line-height: 1.55;
}

.baw-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.baw-admin-grid div {
    padding: 18px;
    border: 1px solid var(--baw-line);
    border-radius: 8px;
    background: #fff;
}

.baw-admin-grid strong {
    display: block;
    font-size: 30px;
}

.baw-admin-grid span {
    color: var(--baw-muted);
    font-weight: 800;
}

@media (max-width: 760px) {
    .baw-shell {
        margin: 18px 10px;
        padding: 18px;
    }

    .baw-hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .baw-hero h1 {
        font-size: 32px;
    }

    .baw-actions a,
    .baw-step-form button {
        width: 100%;
        justify-content: center;
    }

    .baw-admin-grid {
        grid-template-columns: 1fr;
    }
}
