/* Installer — shares the platform tokens (navy chrome, signal blue accent). */
:root { --navy: #121a2e; --navy-2: #17213a; --accent: #2f6bff; --accent-h: #1f57e6; --bg: #eef1f6; --surface: #fff; --text: #121826; --muted: #6b7489; --border: #e1e6ee; --ok: #12b76a; --warn: #f59e0b; --err: #ef4444; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans Arabic", sans-serif; -webkit-font-smoothing: antialiased; }
.shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.side { background: var(--navy); color: rgba(255,255,255,.72); padding: 24px 20px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo img { border-radius: 8px; }
.logo strong { display: block; font-size: 16px; letter-spacing: -.01em; }
.logo span { font-size: 12px; color: rgba(255,255,255,.5); }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; }
.steps li { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.steps .num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); font-size: 12px; }
.steps .current { background: rgba(255,255,255,.07); color: #fff; }
.steps .current .num { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps .done .num { background: rgba(18,183,106,.18); border-color: var(--ok); color: var(--ok); }
.side-note { display: none; font-size: 12px; color: rgba(255,255,255,.45); margin-top: 32px; }
.panel { padding: 28px 20px 48px; max-width: 760px; width: 100%; }
h1 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; }
.lead { margin: 0 0 24px; color: var(--muted); }
code { background: #e9edf3; padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; border: 1px solid; }
.alert p { margin: 0; } .alert p + p { margin-top: 4px; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.checks { list-style: none; margin: 0 0 24px; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; padding: 12px 16px; border-top: 1px solid var(--border); }
.checks li:first-child { border-top: 0; }
.dot { grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.ok .dot { background: var(--ok); } .warn .dot { background: var(--warn); } .fail .dot { background: var(--err); }
.check-label { font-weight: 600; } .check-label em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 500; margin-inline-start: 6px; }
.check-detail { font-size: 12.5px; color: var(--muted); }
.fail .check-detail { color: #b91c1c; }
.form fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.form legend { font-weight: 700; margin-bottom: 10px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--surface); border: 1px solid #cdd5e1; border-radius: 8px; padding: 10px 12px; min-height: 42px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,107,255,.15); }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 22px; border-radius: 8px; border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s; }
.btn:hover { background: var(--accent-h); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-light { background: var(--surface); color: var(--text); border: 1px solid #cdd5e1; }
.btn-light:hover { background: #f6f8fb; }
.summary { display: grid; grid-template-columns: 1fr; gap: 4px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin: 0; }
.summary dt { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 8px; }
.summary dd { margin: 0; word-break: break-word; }
@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; } .grid .full { grid-column: 1 / -1; }
  .summary { grid-template-columns: 160px 1fr; } .summary dt { margin-top: 0; }
}
@media (min-width: 960px) {
  .shell { grid-template-columns: 280px 1fr; }
  .side { padding: 32px 24px; position: sticky; top: 0; height: 100vh; }
  .steps { flex-direction: column; } .side-note { display: block; }
  .panel { padding: 56px 56px 64px; }
}
