/* zatca.css — موثوق page-specific styles on top of the EMM design system (tokens/base/components). */
.row-hl td { background: var(--surface-2); font-weight: 600; }
.wizard { padding: var(--space-xl); }
.phase-card { padding: var(--space-xl); }
.phase-head { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-lg); }
.phase-title { margin: 4px 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.phase-badge { font-size: .95rem; padding: 10px 14px; line-height: 1.6; white-space: normal; }
.gap-list { padding-right: 0; list-style: none; display: grid; gap: 10px; }
.gap { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; border-right-width: 4px; }
.gap-danger { border-right-color: var(--red-600); } .gap-warning { border-right-color: var(--amber-400); } .gap-info { border-right-color: var(--blue-400); }
.gap p { margin: 6px 0 0; }
.validate-card .fix { color: var(--accent-ink); }
textarea.code, .code-block pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; direction: ltr; text-align: left; }
textarea.code { min-height: 260px; }
.endpoint { margin-bottom: var(--space-xl); }
.endpoint pre { white-space: pre-wrap; word-break: break-word; }
.agents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }
@media (max-width: 800px) { .agents-grid { grid-template-columns: 1fr; } }
.key-reveal { border: 2px solid var(--accent); }
.key-row.revoked { opacity: .55; }
.key-prefix { direction: ltr; unicode-bidi: embed; }
.cta-box { margin-top: var(--space-xl); }
.footer-brand { color: var(--accent-ink); }
.compare-table td, .compare-table th { vertical-align: top; }
.badge-neutral, .badge-info { white-space: normal; }

/* ---------- visual QA (screenshots 4 Dec 2026) ---------- */
/* landing "3 steps": components.css .steps has no columns and numbers via ::before, while the template carries its own .num badge */
.steps { counter-reset: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); padding: var(--space-lg); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step::before { display: none; }
.step > .num { width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent); color: var(--cta-fg); border-radius: 50%; font-weight: var(--weight-bold); margin-block-end: var(--space-2xs); }
.step h3 { margin: 0; }
.step p { flex: 1; margin: 0 0 var(--space-sm); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { padding: var(--space-md); } }
/* waves table sits on the navy section: table background is light but inherited text colour was light-on-light */
.section-navy table.table { color: var(--text); }
.section-navy .table thead th { color: var(--text); }
.section-navy .table td.text-muted { color: var(--text-muted); }
.section-navy > .container > .btn { margin-block-start: var(--space-lg); }
/* trust badges were glued to the pricing grid */
.pay-badges { margin-block: var(--space-md) var(--space-sm); }
/* copy button overlapped the first characters of the LTR <pre> */
.code-block .btn { left: auto; right: var(--space-2xs); }
/* native file input: style the chooser button so it does not look foreign in the RTL page */
input[type="file"]::file-selector-button { margin-inline-end: var(--space-md); padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
input[type="file"] { color: var(--text-muted); }
/* ISO dates inside RTL cells broke at the hyphens */
.compare-table .num { white-space: nowrap; }
.page-head code { direction: ltr; unicode-bidi: isolate; }
