.cem-card {
    max-width: 720px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
}

.cem-card h2 {
    color: #0b3d66;
    margin-top: 0;
    font-size: 1.5rem;
}

.cem-card h3 {
    color: #0b3d66;
    margin-top: 1.75rem;
}

.cem-sub {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.cem-card fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem 1.25rem;
    margin-bottom: 1.25rem;
}

.cem-card legend {
    padding: 0 0.5rem;
    font-weight: 600;
    color: #0b3d66;
    font-size: 0.9rem;
}

.cem-card label {
    display: block;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
}

.cem-card input[type=text],
.cem-card input[type=email],
.cem-card input[type=tel],
.cem-card input[type=password],
.cem-card input[type=number],
.cem-card input[type=file],
.cem-card select,
.cem-card textarea {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.cem-card input:focus,
.cem-card select:focus,
.cem-card textarea:focus {
    outline: none;
    border-color: #0b3d66;
    box-shadow: 0 0 0 3px rgba(11, 61, 102, 0.12);
}

.cem-btn-primary {
    background: #0b3d66;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
}
.cem-btn-primary:hover { background: #0a3357; }
.cem-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.cem-btn-secondary {
    background: #eef2f7;
    color: #0b3d66;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1rem;
}

.cem-hint { font-size: 0.85rem; margin-top: -0.5rem; }

.cem-message {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}
.cem-message.cem-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cem-message.cem-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.cem-notice {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 1rem;
    border-radius: 6px;
}

.cem-status { padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.cem-status-approved { background: #ecfdf5; color: #065f46; }
.cem-status-pending { background: #fffbeb; color: #92400e; }
.cem-status-rejected { background: #fef2f2; color: #b91c1c; }
.cem-status-submitted { background: #eff6ff; color: #1d4ed8; }
.cem-status-verified { background: #ecfdf5; color: #065f46; }
.cem-status-flagged { background: #fef2f2; color: #b91c1c; }

.cem-party-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.cem-party-row input { margin-top: 0; }

.cem-result-list { list-style: none; padding: 0; }
.cem-result-list li { padding: 0.6rem 0; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
