:root {
  --ink: #1f2a30;
  --paper: #f6f4ef;
  --line: #d9dfe2;
  --accent: #2f4b57;
  --muted: #6b7a83;
  font-family: "Frank Ruhl Libre", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #eef0ee; --paper: #161c20; --line: #2d383f; --accent: #9cc0cf; --muted: #93a2aa; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); min-height: 100vh; }
main { padding: max(24px, env(safe-area-inset-top)) 16px calc(88px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; }
h1 { font-weight: 400; font-size: 28px; margin: 24px 0 12px; }
h2 { font-weight: 400; font-size: 19px; margin: 32px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.studio-message { color: var(--muted); font-size: 17px; line-height: 1.5; }
.studio-signin { display: flex; flex-direction: column; justify-content: center; min-height: 80vh; }
.studio-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.studio-button { display: inline-block; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--accent);
  color: var(--paper); background: var(--accent); text-decoration: none; font: inherit; font-size: 17px; cursor: pointer; }
.studio-button.quiet { background: transparent; color: var(--accent); }
.studio-tabs { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around;
  border-top: 1px solid var(--line); background: var(--paper); padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
.studio-tab { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; padding: 6px 4px; }
.studio-tab.on { color: var(--accent); }
