/* Client Secret Tracker. Palette and layout from the approved prototype; system fonts
   only, because the Content-Security-Policy allows nothing but this origin. */
:root {
  color-scheme: light;
  --bg: #F2F4F6; --surface: #FFFFFF; --surface-2: #ECEFF2;
  --ink: #15222E; --ink-2: #46545F; --ink-3: #76838E; --line: #D8DEE3;
  --accent: #1F5E7A; --accent-ink: #FFFFFF; --accent-soft: #DDEBF1;
  --red: #B42318; --red-bg: #FCE9E7; --amber: #9A5A06; --amber-bg: #FDF1DD;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0E151B; --surface: #151F28; --surface-2: #1B2731;
    --ink: #E4EAEE; --ink-2: #A6B3BE; --ink-3: #7A8894; --line: #283642;
    --accent: #62B1D1; --accent-ink: #0E151B; --accent-soft: #163241;
    --red: #F28A7F; --red-bg: #3A1B18; --amber: #EDB55E; --amber-bg: #352712;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1 { font-size: 20px; margin: 0; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); font-size: 13px; }
.mono { font-family: var(--mono); font-size: 13px; }
.shell { min-height: 100%; display: grid; place-items: center; padding-inline: 16px; padding-block: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px; width: min(440px, 100%); display: grid; gap: 16px; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand span { display: block; font-size: 12.5px; color: var(--ink-3); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ms-logo { display: grid; grid-template-columns: 9px 9px; gap: 2px; }
.ms-logo i { width: 9px; height: 9px; display: block; }
.notice { border-radius: 6px; padding: 10px 12px; font-size: 14px; background: var(--accent-soft); }
.notice.warn { background: var(--amber-bg); }
.notice.bad { background: var(--red-bg); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
dt { color: var(--ink-3); }
dd { margin: 0; overflow-wrap: anywhere; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.ms-r { background: #F25022; } .ms-g { background: #7FBA00; } .ms-b { background: #00A4EF; } .ms-y { background: #FFB900; }
