/* public-mc/styles.css — Mission Control (technician console).
   Deliberately dark so it is never mistaken for the client-facing portal. */
:root {
  --mc-bg: #0f172a;
  --mc-panel: #1e293b;
  --mc-panel-2: #172033;
  --mc-line: #334155;
  --mc-text: #e2e8f0;
  --mc-muted: #94a3b8;
  --mc-accent: #38bdf8;
  --mc-ok: #22c55e;
  --mc-warn: #f59e0b;
  --mc-err: #f87171;
}
* { box-sizing: border-box; }
body.mc-body {
  margin: 0; background: var(--mc-bg); color: var(--mc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px; line-height: 1.5;
}
.mc-muted { color: var(--mc-muted); }
.mc-err { color: var(--mc-err); }

/* --- sign-in --- */
.mc-auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.mc-auth-card { background: var(--mc-panel); border-radius: 16px; padding: 40px; max-width: 420px; width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,.45); text-align: center; }
.mc-suite { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mc-accent); font-weight: 700; }
.mc-auth-card h1 { font-size: 34px; margin: 8px 0 10px; letter-spacing: -.02em; }
.mc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px;
  background: var(--mc-accent); color: #06283d; font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; border: none; cursor: pointer; font-size: 15px; }
.mc-btn:hover { filter: brightness(1.08); }
.mc-btn-ms { background: #fff; color: #1f2937; }
.ms-logo { display: inline-grid; grid-template-columns: 9px 9px; grid-gap: 2px; }
.ms-logo i { width: 9px; height: 9px; display: block; }
.ms-logo i:nth-child(1) { background: #f25022; }
.ms-logo i:nth-child(2) { background: #7fba00; }
.ms-logo i:nth-child(3) { background: #00a4ef; }
.ms-logo i:nth-child(4) { background: #ffb900; }
.mc-fineprint { margin-top: 24px; font-size: 12px; color: var(--mc-muted); }

/* --- app shell --- */
.mc-top { display: flex; align-items: center; gap: 20px; padding: 14px 26px;
  background: var(--mc-panel-2); border-bottom: 1px solid var(--mc-line); }
.mc-brand { display: flex; flex-direction: column; line-height: 1.15; }
.mc-suite-sm { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mc-accent); font-weight: 700; }
.mc-title { font-size: 19px; font-weight: 700; }
.mc-nav { flex: 1 1 auto; }
.mc-user { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.mc-role { background: var(--mc-line); color: var(--mc-text); padding: 2px 9px; border-radius: 999px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-left: 6px; }
.mc-link { background: none; border: none; color: var(--mc-accent); cursor: pointer; font-size: 13px; padding: 0; }
.mc-main { max-width: 1100px; margin: 0 auto; padding: 28px 26px 60px; }
.mc-h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mc-muted);
  margin: 28px 0 12px; font-weight: 700; }
.mc-h2:first-child { margin-top: 0; }
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.mc-card { background: var(--mc-panel); border-radius: 12px; padding: 18px; position: relative; }
.mc-card-soon { opacity: .72; }
.mc-card-name { font-weight: 700; font-size: 16px; margin-bottom: 5px; }
.mc-card-desc { font-size: 13px; color: var(--mc-muted); }
.mc-badge { margin-top: 12px; display: inline-block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mc-accent); border: 1px solid var(--mc-accent); border-radius: 999px; padding: 2px 9px; }
.mc-int { background: var(--mc-panel); border-radius: 12px; overflow: hidden; }
.mc-int-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--mc-line); }
.mc-int-row:last-child { border-bottom: none; }
.mc-int-name { font-weight: 600; flex: 0 0 190px; }
.mc-int-status { font-size: 13px; color: var(--mc-muted); }
.mc-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--mc-muted); }
.mc-dot-ok { background: var(--mc-ok); }
.mc-dot-warn { background: var(--mc-warn); }
.mc-dot-off { background: #475569; }
.mc-foot { text-align: center; padding: 20px; font-size: 12px; color: var(--mc-muted); border-top: 1px solid var(--mc-line); }
