/* FTE-SCOPE: internal fleet tooling page style; the shell's own look (sh5: same-origin sheet, no inline style) */
html, body { margin: 0; background: #101418; color: #e8ecef; }
body { font: 16px/1.45 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
#status { position: fixed; left: 12px; right: 12px; top: calc(8px + env(safe-area-inset-top)); z-index: 10; margin: 0;
          padding: 10px 14px; border-radius: 12px; font-size: 14px; background: #26313b; color: #e8ecef;
          box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
#status[hidden] { display: none; }
#status.busy { background: #26313b; }
#status.err { background: #5c1f24; cursor: pointer; }
#status.ok { background: #1d4d33; }
#pairForm { margin: calc(72px + env(safe-area-inset-top)) 16px 0; }
#pairForm[hidden] { display: none; }
#pairForm h1 { font-size: 24px; margin: 0 0 8px; }
#pairForm code { font: 15px ui-monospace, Menlo, monospace; }
#pairCode { display: block; box-sizing: border-box; width: 100%; margin: 16px 0 12px; padding: 14px; font: 24px ui-monospace,
            Menlo, monospace; letter-spacing: 3px; text-align: center; border-radius: 12px; border: 1px solid #3a4652;
            background: #1a2129; color: inherit; }
#pairBtn { display: block; width: 100%; padding: 16px; font: inherit; font-weight: 600;
           border-radius: 12px; border: 0; background: #e8b04b; color: #101418; }
#pairResult { margin-top: 20px; font-size: 18px; }
#pairResult strong { display: block; font: 40px ui-monospace, Menlo, monospace; letter-spacing: 6px; margin-top: 8px; }
#pairResult[hidden] { display: none; }
#view { display: block; min-height: 100vh; }
#pairCode[hidden] { display: none; }
#alerts { display: flex; align-items: center; gap: 12px; margin: calc(8px + env(safe-area-inset-top)) 12px 0; padding: 10px 14px;
          border-radius: 12px; background: #26313b; color: #e8ecef; font-size: 15px; }
#alerts[hidden] { display: none; }
#alerts span { flex: 1; }
#alertsBtn { padding: 8px 14px; font: inherit; font-weight: 600; border: 0; border-radius: 10px; background: #e8b04b; color: #101418; }
@media (prefers-color-scheme: light) { html, body { background: #f6f7f9; color: #11161b; }
  #pairCode { background: #fff; border-color: #c4ccd4; } }
#pairResult + #pairBtn { margin-top: 24px; }
