.oacm-admin .oacm-panel {
    background: #fff;
    border: 1px solid #dcdcde;
    margin-top: 16px;
    padding: 16px;
}

.oacm-grid-form {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.oacm-grid-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oacm-grid-form .oacm-wide {
    grid-column: 1 / -1;
}

.oacm-kv {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 8px 16px;
}

.oacm-kv dt {
    font-weight: 600;
}

.oacm-json {
    max-height: 380px;
    overflow: auto;
    background: #f6f7f7;
    padding: 12px;
}

.oacm-inline-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

.oacm-review-item,
.oacm-info,
.oacm-waiver {
    display: block;
    margin: 10px 0;
    padding: 12px;
    border-left: 4px solid #8c8f94;
    background: #f6f7f7;
}

.oacm-blocking {
    border-left-color: #b32d2e;
    background: #fcf0f1;
}

.oacm-warning {
    border-left-color: #dba617;
    background: #fcf9e8;
}

.oacm-danger-button,
.oacm-danger-link {
    background: #b32d2e !important;
    border-color: #b32d2e !important;
    color: #fff !important;
}

.oacm-message-list {
    display: grid;
    gap: 16px;
}

.oacm-message-card {
    border: 1px solid #dcdcde;
    padding: 14px;
}

.oacm-message-card header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.oacm-message-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.oacm-message-meta span {
    background: #f0f0f1;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
}

.oacm-message-card textarea {
    width: 100%;
    min-width: 220px;
}

.oacm-message-card textarea[readonly] {
    background: #f6f7f7;
    color: #50575e;
}

.oacm-document-source {
    border: 1px solid #dcdcde;
    margin: 12px 0;
    padding: 12px;
}

.oacm-document-source textarea {
    width: 100%;
    margin-top: 8px;
}

.oacm-registry-section {
    border: 1px solid #dcdcde;
    margin: 12px 0;
}

.oacm-registry-section summary {
    cursor: pointer;
    padding: 12px;
    background: #f6f7f7;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.oacm-registry-section table {
    border: 0;
}

.oacm-registry-section code {
    word-break: break-word;
}

.oacm-contact {
    margin: 16px 0;
    padding: 14px 16px;
    border-left: 4px solid #2271b1;
    background: #f0f6fc;
    color: #1d2327;
    font-size: 15px;
    line-height: 1.6;
}

.oacm-contact-intro {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.oacm-contact a {
    color: #2271b1 !important;
    font-weight: 600;
    text-decoration: underline;
}

.oacm-contact a:hover,
.oacm-contact a:focus {
    color: #135e96 !important;
    text-decoration: none;
}

.oacm-notice {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 4px solid #8c8f94;
    background: #f6f7f7;
    color: #1d2327;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 2px;
}

.oacm-notice-error {
    border-left-color: #b32d2e;
    background: #fcf0f1;
}

.oacm-notice-success {
    border-left-color: #00a32a;
    background: #edfaef;
}
