.me-nawrot-admin-wrap h2,
.me-nawrot-admin-wrap h3,
#me-nawrot-hub h2,
#me-nawrot-hub h3 {
    margin-top: 0;
}
.me-phase-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.me-phase-card {
    border: 1px solid #d9dde5;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    text-align: left;
}
.me-phase-card.is-active {
    border-color: #4b63ff;
    background: #eef1ff;
}
.me-risk-pill {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    background: #f4f7fc;
    color: #43506a;
}
.me-risk-high {
    background: #fff2dd;
    color: #9b5b00;
}
.me-risk-critical {
    background: #ffe8e8;
    color: #8c1d18;
}
.me-emergency-box {
    background: #fff4f4;
    border: 1px solid #f2b1b1;
    border-radius: 14px;
    padding: 16px;
    margin-top: 14px;
}
.me-inline-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.me-phase-list li {
    margin-bottom: 12px;
}
.me-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.me-step-counter {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef1ff;
    color: #3345ba;
    font-size: 13px;
    font-weight: 600;
}
.me-help-example {
    margin-top: 8px;
    padding: 12px 14px;
    background: #f4f7fc;
    border-left: 4px solid #7f91ff;
    border-radius: 10px;
}
.me-summary-hero {
    background: linear-gradient(135deg, #f3f6ff 0%, #fff 100%);
    border: 1px solid #dbe3ff;
}
.me-inline-note {
    font-size: 13px;
    color: #637089;
}
.me-status-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.me-history-meta {
    font-size: 13px;
    color: #637089;
    margin-bottom: 10px;
}


/* 0.8.12 desktop polish */
@media (min-width: 981px) {
    #me-nawrot-hub .me-app-sidebar h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    #me-nawrot-hub .me-app-main h2 {
        font-size: 30px;
        line-height: 1.2;
    }
    #me-nawrot-hub .me-summary-hero h3 {
        font-size: 28px;
    }
    #me-nawrot-hub .me-history-card {
        display: grid;
        gap: 10px;
    }
}


/* 0.8.23 front UI pass */
#me-nawrot-hub .me-summary-section.me-summary-card--accent {
    background: linear-gradient(135deg, #fff6eb 0%, #fffdf8 100%);
    border-color: #ffd8a8;
}
#me-nawrot-hub .me-summary-section.me-summary-card--action {
    background: linear-gradient(135deg, #eefaf2 0%, #f8fffb 100%);
    border-color: #c6ead1;
}
#me-nawrot-hub .me-summary-section.me-summary-card--highlight {
    background: linear-gradient(135deg, #eef3ff 0%, #f8faff 100%);
    border-color: #d7e1ff;
}
