.ogma-ux-system-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
    padding: 14px;
    border: 1px solid #d9d4ff;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7f5ff 0%, #ffffff 100%);
}

.ogma-ux-system-strip > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ogma-ux-system-strip span,
.ogma-ux-proposal-head > div > span,
.ogma-ux-summary-grid > div > span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #6c61ad;
}

.ogma-ux-system-strip strong {
    font-size: 14px;
    color: #241b4b;
}

.ogma-ux-proposal {
    margin: 18px 0 24px;
    padding: 20px;
    border: 2px solid #6f5ce7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(64, 45, 145, .10);
}

.ogma-ux-proposal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.ogma-ux-proposal-head h3 {
    margin: 4px 0 2px;
    font-size: 24px;
    line-height: 1.2;
    color: #21183f;
}

.ogma-ux-proposal-head p {
    margin: 0;
    color: #655e75;
}

.ogma-ux-proposal-head [data-proposal-readiness] {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 12px;
    background: #effbf4;
    color: #187245;
}

.ogma-ux-proposal-head [data-proposal-readiness][data-state="needs-attention"] {
    background: #fff5df;
    color: #8d5a00;
}

.ogma-ux-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ogma-ux-summary-grid > div {
    min-height: 96px;
    padding: 14px;
    border: 1px solid #ece9fa;
    border-radius: 14px;
    background: #faf9ff;
}

.ogma-ux-summary-grid > div > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
}

.ogma-ux-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 10px;
    border: 1px solid #dcd5ff;
    border-radius: 999px;
    background: #fff;
    color: #33265d;
    font-size: 12px;
    line-height: 1.25;
}

.ogma-ux-summary-chip--stacked {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 10px;
}

.ogma-ux-summary-chip small {
    color: #746d82;
}

.ogma-ux-empty {
    color: #81798e;
    font-size: 12px;
}

.ogma-ux-proposal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ogma-ux-proposal-actions button,
.ogma-ux-link-button,
.ogma-ux-evidence-toggle {
    cursor: pointer;
}

.ogma-ux-primary,
.ogma-ux-secondary,
.ogma-ux-tertiary {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
}

.ogma-ux-primary {
    border: 1px solid #ff315c;
    background: #ff315c;
    color: #fff;
}

.ogma-ux-secondary {
    border: 1px solid #6f5ce7;
    background: #fff;
    color: #4b38bf;
}

.ogma-ux-tertiary {
    border: 1px solid transparent;
    background: transparent;
    color: #6a6374;
}

.ogma-assistant-guided:not(.is-expanded) > .ogma-assistant-step,
.ogma-assistant-guided:not(.is-expanded) > .ogma-assistant-footer,
.ogma-assistant-guided:not(.is-expanded) > .ogma-assistant-confirmation,
.ogma-assistant-guided:not(.is-expanded) > .ogma-assistant-status,
.ogma-assistant-guided:not(.is-expanded) > .ogma-assistant-source-summary {
    display: none !important;
}

.ogma-assistant-guided .ogma-assistant-version {
    display: none;
}

.ogma-assistant-guided.is-expanded .is-extra-option {
    display: none !important;
}

.ogma-assistant-guided.is-expanded.show-all-categories .ogma-assistant-categories .is-extra-option,
.ogma-assistant-guided.is-expanded.show-all-actions .ogma-assistant-actions .is-extra-option {
    display: flex !important;
}

.ogma-assistant-guided .ogma-assistant-category.is-suggested,
.ogma-assistant-guided .ogma-assistant-actions > label.is-suggested {
    border-color: #b9aefb;
    background: #f8f6ff;
}

.ogma-ux-link-button {
    margin: 8px 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5440c9;
    font-weight: 700;
    text-decoration: underline;
}

.ogma-ux-evidence-toggle {
    width: 100%;
    margin: 14px 0;
    padding: 12px 15px;
    border: 1px dashed #c9c1eb;
    border-radius: 12px;
    background: #fbfaff;
    color: #554a78;
    font-weight: 700;
    text-align: left;
}

.ogma-ux-technical-context {
    display: none !important;
}

.show-ogma-technical-context .ogma-ux-technical-context {
    display: block !important;
}

@media (max-width: 860px) {
    .ogma-ux-system-strip,
    .ogma-ux-summary-grid {
        grid-template-columns: 1fr;
    }

    .ogma-ux-proposal-head {
        flex-direction: column;
    }

    .ogma-ux-proposal-actions button {
        width: 100%;
    }
}
