/*
 * NOU-1047 · the sign-in screen, the same on every hosted pane (pane standard rule 54; the kit's signInScreen in
 * /pane-kit.js draws it). Loaded by the Sales panes (scope-r9.html, scope.html) and the Estimation pane
 * (estimate-e1b.html) after the design system. --nv-* tokens only, DS components (.nv-card, .nv-btn--filled,
 * .nv-banner--danger, .nv-progress, .nv-scrim, .nv-dialog) as they are; no .nv- selector is defined here.
 * Built from the kept mock (NI 07-Customers/IVC/status/sign-in-standard-2026-10-17/mock.html).
 */

/* the header: the client's logo chip and the desk's name, nothing else */
.si-head { gap: var(--nv-space-2); }
.si-logo { display: inline-flex; align-items: center; flex: none; padding: var(--nv-space-1) var(--nv-space-2) var(--nv-space-1) var(--nv-space-1); border-radius: var(--nv-radius-sm); background: var(--nv-surface-2); border: 1px solid var(--nv-outline); }
.si-logo img { display: block; height: 22px; width: auto; max-width: 74px; }
.si-desk { margin: 0; min-width: 0; }

/* the card, centred near the top of the pane */
.si-content { display: flex; flex-direction: column; align-items: center; }
.si-card { width: 100%; max-width: 400px; margin-top: var(--nv-space-12); display: flex; flex-direction: column; align-items: stretch; gap: var(--nv-space-4); position: relative; overflow: hidden; box-sizing: border-box; }
.si-progress { position: absolute; top: 0; left: 0; right: 0; border-radius: 0; }
.si-mark { display: flex; align-items: center; gap: var(--nv-space-3); min-width: 0; }
.si-mark > .nv-icon { flex: none; color: var(--nv-accent); background: var(--nv-accent-container); border-radius: var(--nv-radius-full); padding: var(--nv-space-2); }
.si-title { margin: 0; font: var(--nv-text-headline); color: var(--nv-ink); }
.si-lead { margin: 0; font: var(--nv-text-body); color: var(--nv-ink-2); overflow-wrap: anywhere; }
.si-lead b { color: var(--nv-ink); font-weight: 600; }
.si-opens { display: flex; gap: var(--nv-space-2); align-items: center; margin: 0; padding: var(--nv-space-2) var(--nv-space-3); border-radius: var(--nv-radius-sm); background: var(--nv-surface); font: var(--nv-text-sm); color: var(--nv-ink-2); min-width: 0; }
.si-opens > .nv-icon { flex: none; color: var(--nv-ink-3); }
.si-opens > span { min-width: 0; overflow-wrap: anywhere; }
.si-opens b { color: var(--nv-ink); font-weight: 600; font-family: var(--nv-font-mono); }
.si-btn { width: 100%; justify-content: center; gap: var(--nv-space-2); }
.si-ms { width: 16px; height: 16px; flex: none; }
.si-note { margin: 0; text-align: center; font: var(--nv-text-sm); color: var(--nv-ink-3); }
.si-problem b { display: block; font-weight: 600; }
.si-problem-b { display: block; }

/* the ended dialog: over the whole page, which stays behind it, dimmed */
.si-scrim { position: fixed; z-index: 1000; }
.si-dialog { position: relative; overflow: hidden; width: 100%; max-width: 360px; box-sizing: border-box; }
.si-dialog .si-btn { width: 100%; }

/*
 * NOU-1097 · a new version is ready · Reload — the kit's versionWatch draws it at the top of the pane body, the same on
 * Sales (scope-r9.html, scope.html) and Estimation (estimate-e1b.html); Engineering draws the same in its shell. DS v2
 * .nv-banner--info as it is; the line and the verb on one row, the verb at the end.
 */
.vbanner { align-items: center; margin: 0 0 var(--nv-space-3); min-width: 0; }
.vbanner > .nv-icon { flex: none; }
.vbanner .vb-t { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.vbanner .vb-btn { flex: none; margin-left: auto; }
