/* Default theme: colours (used by the app's wwwroot/css/theme-skin.css too) and the frame of the inner pages. */
:root {
  --th-brand: #2563EB; --th-deep: #1E40AF; --th-soft: #DBEAFE;
  --th-bg: #F5F7FA; --th-ink: #111827; --th-top: #0F172A; --th-top-ink: #FFFFFF;
  --th-surface: #FFFFFF; --th-surface-2: #F3F4F6; --th-muted: #6B7280;
  --th-line: #E5E7EB; --th-line-strong: #D1D5DB; --th-input: #FFFFFF; --th-on-brand: #FFFFFF;
  --th-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --th-brand-font: 'Inter', system-ui, sans-serif;
}
body.th-body { background: var(--th-bg); color: var(--th-ink); font-family: var(--th-font); min-height: 100vh; display: flex; flex-direction: column; margin: 0; }
.th-top { background: var(--th-top); color: var(--th-top-ink); display: flex; align-items: center; gap: 20px; padding: 14px 28px; flex-wrap: wrap; }
.th-brand { display: flex; align-items: center; gap: 10px; font-family: var(--th-brand-font); font-weight: 700; font-size: 18px; color: var(--th-top-ink); text-decoration: none; }
.th-brand:hover { color: var(--th-top-ink); }
.th-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--th-brand); display: grid; place-items: center; }
.th-mark svg { width: 16px; height: 16px; }
.lsi-menu { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.lsi-menu-link { color: var(--th-top-ink); opacity: .72; text-decoration: none; padding: 6px 12px; border-radius: 8px; font-size: 14px; }
.lsi-menu-link:hover, .lsi-menu-link.is-active { opacity: 1; color: var(--th-top-ink); background: rgba(255, 255, 255, .12); }
.th-user { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.th-name:empty { display: none; }
.th-out { color: var(--th-top-ink); border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; padding: 6px 12px; text-decoration: none; }
.th-out:hover { color: var(--th-top-ink); background: rgba(255, 255, 255, .1); }
.th-main { flex: 1; width: 100%; padding: 28px 32px; box-sizing: border-box; overflow-x: auto; }
.th-foot { text-align: center; font-size: 13px; color: var(--th-muted); padding: 18px; }
.th-foot a { color: inherit; }
@media (max-width: 700px) { .th-top { padding: 12px 16px; gap: 10px; } .th-main { padding: 16px; } }
