/*
 * The page's first paint, before its script arrives: the same frame the screens before the panel draw
 * (src/ui/entry-frame.tsx), in plain CSS, so a load or a reload shows the brand side instead of a blank page and React
 * replaces it without a jump. Colours are the tokens of src/styles.css; keep both in step. A file, not a <style>
 * block: the page's CSP allows no inline styles.
 */
:root { color-scheme: light; --shell-bg: #f6f6f7; --shell-surface: #ffffff; --shell-line: #e3e3e7; }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --shell-bg: #0c0c0e; --shell-surface: #161618; --shell-line: #2a2a30; }
}
html, body, #root { height: 100%; margin: 0; }
body { background-color: var(--shell-bg); }
.shell { min-height: 100dvh; }
.shell-brand {
  min-height: 9rem;
  box-sizing: border-box;
  border-bottom: 1px solid var(--shell-line);
  background-color: var(--shell-surface);
  background-image: radial-gradient(circle farthest-corner at 0 100%, #9b2cf0 0%, #9b2cf0eb 8%, #f2b15cd9 18%, #f2b15c47 28%, #f2b15c00 36%);
}
@media (min-width: 64rem) {
  .shell { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell-brand { min-height: 100dvh; border-bottom: 0; border-right: 1px solid var(--shell-line); }
}
