@font-face {
  font-family: InterVariable;
  src: url("vendor/inter/InterVariable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --font-ui: InterVariable, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --paper: #fff;
  --ink: #191919;
  --secondary: #5c5c5c;
  --line: rgb(0 0 0 / 14%);
  --surface: #f2f2f2;
  --rail: #f7f7f7;
  --action: var(--ink);
  --on-action: #fff;
  --accent-ink: #3459b5;
  --hover: rgb(0 0 0 / 5%);
  --selected: #e9e9e9;
  --primary-hover: #383838;
  --field: #8a8a8a;
  --focus: #3459b5;
  --ready: #484848;
  --waiting: #845413;
  --error: #a02d3b;
  --nav-paper: var(--rail);
  --nav-ink: var(--ink);
  --nav-muted: var(--secondary);
  --nav-active: var(--selected);
  --radius: .375rem;
  --workspace-rail-width: clamp(212px, 17vw, 248px);
  --workspace-bar-height: 56px;
}

.postnook-controls {
  --control-height: 2.25rem;
  --background: var(--paper);
  --foreground: var(--ink);
  --primary: var(--action);
  --primary-foreground: var(--on-action);
  --secondary-foreground: var(--ink);
  --muted: var(--surface);
  --muted-foreground: var(--secondary);
  --border: var(--line);
  --input: var(--field);
  --destructive: var(--error);
  --ring: var(--focus);
}
.postnook-controls :is(.btn, .input) {
  --color-secondary: var(--surface);
  --radius-md: var(--radius);
}
.postnook-controls .btn[data-variant="outline"] { color: var(--ink); text-decoration: none; }
@media (pointer: coarse), (max-width: 640px) {
  .postnook-controls { --control-height: 44px; }
  .postnook-controls :is(.btn, .input) { min-height: var(--control-height); }
}
@media (forced-colors: active) {
  .postnook-controls :is(.btn, .input):focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
