/* The application's day-theme palette, isolated from the trading workspace. */
:root {
  color-scheme: light;
  --bg: #edf0f4;
  --surface: #f8f9fb;
  --line: #c7cdd5;
  --text: #263b52;
  --muted: #4d6074;
  --accent: #236a4e;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
.site-header {
  min-height: 72px;
  padding: 14px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
}
.brand-icon img { display: block; }
.wordmark { font-size: 23px; font-weight: 600; letter-spacing: -1px; white-space: nowrap; }
.wordmark > span { color: var(--muted); font-weight: 400; }
nav { flex: 0 0 auto; }
.sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 21px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  color: var(--accent);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.sign-in:hover { background: #e1ebe5; }
a:focus-visible { outline: 2px solid #397db7; outline-offset: 4px; }
main { min-height: calc(100dvh - 72px); }
@media (max-width: 380px) {
  .site-header { padding-inline: 12px; gap: 10px; }
  .brand { gap: 6px; }
  .wordmark { font-size: 20px; }
  .sign-in { padding-inline: 14px; }
}
