/* Drive's tokens (GlitchForgeSuite drive/src/styles/tokens.css), which are
   Pabbel's "Sealed" system: bone paper, carbon ink, one signal orange. The
   frame (top bar + sidebar) is one tinted ground, the apps sit on a lighter
   sheet inset from the window edge. Depth is one tone step, never a shadow
   at rest. Fonts are self-hosted subsets of Drive's own files - no request
   leaves this host. */

@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pabbel Brand"; src: url("/fonts/pabbel-brand.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --chrome: #f3f1eb;
  --sheet: #fbfaf6;
  --sheet-edge: #e9e5da;
  --foreground: #12110f;
  --surface: #ffffff;
  --surface-2: #f3f1eb;
  --surface-3: #e9e5da;
  --border: #e9e5da;
  --border-strong: #dcd6c9;
  --rule: #efece4;
  --muted: #6f695e;
  --muted-strong: #3e3a34;

  --accent: #e0561d;
  --accent-ink: #b6400f;
  --accent-soft: rgb(224 86 29 / 0.09);
  --accent-line: rgb(224 86 29 / 0.55);

  /* Each sidebar section keeps one colour, on its icon and its active row
     (Drive: My Drive orange, Shared blue, Recent teal, Starred gold). */
  --nav-all: var(--accent);
  --nav-pabbel: #3b76d4;
  --nav-account: #0e8577;
  --nav-sites: #d99a00;

  --shadow-sm: 0 1px 2px rgb(30 22 10 / 0.05);
  --shadow-md: 0 6px 20px -8px rgb(30 22 10 / 0.14), 0 2px 6px -2px rgb(30 22 10 / 0.06);
  --shadow-menu: 0 12px 28px -12px rgb(30 22 10 / 0.28), 0 2px 6px -2px rgb(30 22 10 / 0.08);

  --radius-sheet: 16px;
  --radius-card: 12px;
  --radius-control: 8px;
  --radius-chip: 6px;
  --sidebar-w: 256px;
  --rail-w: 76px;
  --topbar-h: 60px;
  --sheet-inset: 8px;
  --card-min: 208px;              /* Drive's own: five across on a 1440 screen */

  --dur-fast: 120ms;
  --dur-base: 180ms;
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);

  --ff-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-brand: "Pabbel Brand", var(--ff-sans);
}

.dark {
  color-scheme: dark;
  --chrome: #0e0d0b;
  --sheet: #151310;
  --sheet-edge: #24211d;
  --foreground: #f2efe8;
  --surface: #1c1a16;
  --surface-2: #23201c;
  --surface-3: #2e2a25;
  --border: #2a2723;
  --border-strong: #3d3933;
  --rule: #211e1a;
  --muted: #968f82;
  --muted-strong: #cdc7bb;

  --accent: #f06a31;
  --accent-ink: #f68b58;
  --accent-soft: rgb(240 106 49 / 0.13);
  --accent-line: rgb(240 106 49 / 0.6);

  --nav-pabbel: #4a83dd;
  --nav-account: #13907f;
  --nav-sites: #f0b43c;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-md: 0 6px 20px -8px rgb(0 0 0 / 0.6), 0 2px 6px -2px rgb(0 0 0 / 0.4);
  --shadow-menu: 0 12px 28px -12px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(0 0 0 / 0.35);
}
