.cb-company-portal {
    margin: 0;
    min-height: 100vh;
    background: var(--cb-bg);
    color: var(--cb-ink);
    font: 16px/1.6 'Tajawal', Arial, sans-serif;
    letter-spacing: 0;
}
.cb-company-portal * { box-sizing: border-box; }
.cb-company-portal button, .cb-company-portal input { font-family: inherit; }
.cp-header { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 28px 24px; }
.cp-header img { width: 136px; max-height: 64px; }
.cp-header a, .cp-secondary { color: var(--cb-brand); text-decoration: none; }
.cp-main { max-width: 1200px; margin: 28px auto 64px; padding: 0 24px; }
.cp-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.cp-heading h1 { font-size: 32px; margin: 10px 0; }
.cp-main p { color: var(--cb-muted); font-size: 16px; line-height: 1.8; }
.cp-eyebrow { color: var(--cb-brand); font-weight: 600; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.cp-card { min-width: 0; padding: 28px; border: 1px solid var(--cb-border); border-radius: 18px; background: #fff; box-shadow: 0 5px 18px #24364b06; }
.cp-card h2 { font-size: 23px; line-height: 1.5; margin: 22px 0 8px; overflow-wrap: anywhere; }
.cp-card .cp-domain { font-size: 14px; text-align: start; overflow-wrap: anywhere; margin-bottom: 28px; }
.cb-company-portal .btn { min-height: 46px; border-radius: 9px; padding: 10px 20px; font: 600 15px/1.6 'Tajawal', Arial, sans-serif; box-shadow: none; }
.cb-company-portal .btn-primary { background: var(--cb-brand) !important; border-color: var(--cb-brand) !important; color: #fff !important; }
.cb-company-portal .btn-primary:hover { background: var(--cb-brand-hover) !important; }
.cb-company-portal .btn-outline-secondary { color: var(--cb-muted) !important; border-color: var(--cb-border) !important; background: white !important; }
.cp-status { display: inline-block; padding: 6px 12px; border-radius: 20px; color: #6b5a36; background: #fff4d9; font-size: 14px; }
.cp-status.is-ready { color: #146950; background: #eaf6ef; }
.cb-company-portal .cp-footer { position: static; margin: 0 !important; width: 100%; background: transparent; box-shadow: none; border: 0; text-align: center; color: var(--cb-muted); padding: 24px; }
.cp-login { max-width: 490px; margin: 5vh auto; }
.cp-login h1 { font-size: 28px; margin: 16px 0; }
.cp-login form { display: grid; gap: 12px; margin: 28px 0; }
.cp-login label { margin-top: 8px; font-weight: 600; }
.cp-login input { min-height: 48px; }
.cp-login button { margin-top: 14px; }
.cp-secondary { display: block; text-align: center; font-size: 14px; }
.cp-empty { grid-column: 1/-1; text-align: center; padding: 48px 24px; }
.cp-empty h2 { margin-top: 0; }
.cp-heading form { flex-shrink: 0; }
.cp-main :focus-visible, .cp-header :focus-visible { outline: 3px solid #74c9c5; outline-offset: 4px; }
@media (max-width: 600px) {
    .cp-header { padding: 20px; }
    .cp-main { padding: 0 16px; margin-top: 16px; }
    .cp-heading { align-items: stretch; flex-direction: column; gap: 12px; }
    .cp-heading h1 { font-size: 28px; }
    .cp-heading form button { width: 100%; white-space: normal; }
    .cp-card { padding: 22px; }
    .cp-card form button { width: 100%; }
    .cp-login { margin-top: 24px; }
    .cp-login h1 { font-size: 25px; }
}
