/* Physics & Prompts theme: the only file that defines colours and fonts. Change a value here and it applies across the site and the admin. */
@font-face{font-family:'Rubik';src:url("../fonts/rubik-latin.b65daadded74.woff2") format('woff2');font-weight:300 900;font-style:normal;font-display:swap}
:root{
color-scheme:light;
--site-shell-width:1184px;
--site-shell-gutter:40px;
/* Fonts: to change the main font, update --font and the @font-face above */
--font:'Rubik',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
--font-mono:'SF Mono',ui-monospace,Menlo,Consolas,monospace;
--font-google:Arial,sans-serif;
/* Page and text */
--page:#FCFBF8;
--paper:#FCFBF8;
--ink:#1b1720;
--ink-soft:#6A5D79;
--muted:#81768C;
--muted-accent:#735c8b;
--faint:#B1AAB7;
/* Brand */
--accent:#7650ad;
--accent-dark:#5d3b8c;
--accent-soft:#b4a0ce;
--on-accent:#fff;
/* Tints */
--pale:#F2EEF2;
--pale-strong:#ECE6EF;
/* Lines */
--line:#E1D9E9;
--line-mid:#D5C9E2;
--line-strong:#C6B7DA;
/* Maps */
--map-land:#E8E1ED;
--map-land-neutral:#ECE6EF;
/* Status */
--error:#953e2e;
--error-pale:#fff0f0;
--warning-pale:#fff7df;
--success-pale:#eff6ee;
/* Shadow and print */
--shadow:#00000012;
--print-paper:#fff;
--print-ink:#000;
/* Google's required sign-in button colours: do not rebrand */
--google-border:#747775;
--google-paper:#fff;
--google-text:#1f1f1f;
--google-disabled-text:#5f6368;
--google-disabled-border:#dadce0;
}

@media (max-width: 650px) {
  :root { --site-shell-gutter:23px; }
}

@media screen {
  html[data-pnp-theme="dark"] {
    color-scheme: dark;
    --page: #17141c;
    --paper: #1e1a24;
    --ink: #f2edf8;
    --ink-soft: #d9cfe5;
    --muted: #b6aabe;
    --muted-accent: #c1a6dc;
    --faint: #95869f;
    --accent: #c8a6f0;
    --accent-dark: #ddc3fa;
    --accent-soft: #ad95c8;
    --on-accent: #241433;
    --pale: #292131;
    --pale-strong: #32273c;
    --line: #3a3144;
    --line-mid: #51445d;
    --line-strong: #877395;
    --map-land: #342941;
    --map-land-neutral: #3b3442;
    --error: #ffb2a4;
    --error-pale: #3c2427;
    --warning-pale: #372d1d;
    --success-pale: #223328;
    --shadow: #0006;
  }

  html[data-pnp-theme="dark"] ::placeholder {
    color: var(--muted);
    opacity: 1;
  }
}

.theme-toggle:not([hidden]) {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--pale); color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle .theme-sun,
.theme-toggle[aria-pressed="true"] .theme-moon { display: none; }
.theme-toggle[aria-pressed="true"] .theme-sun { display: block; }
.theme-toggle-corner { position: absolute; inset: 12px 20px auto auto; }
@media print { .theme-toggle:not([hidden]) { display: none; } }
