
:root {
  /* color */
  --np-color-text: #37352f;
  --np-color-text-muted: rgba(120, 119, 116, 1);
  --np-color-bg: #ffffff;
  --np-color-bg-subtle: rgba(241, 241, 239, 1);
  --np-color-border: rgba(233, 233, 231, 1);
  --np-color-border-strong: rgba(190, 188, 183, 1);
  --np-color-accent: rgba(51, 126, 169, 1);
  --np-color-error-bg: rgba(253, 235, 236, 1);
  --np-color-error-text: rgba(212, 76, 71, 1);
  /* typography */
  --np-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang TC", "Hiragino Sans", "Noto Sans CJK TC", sans-serif;
  --np-font-size: 16px;
  --np-font-size-sm: 13px;
  --np-line-height: 1.5;
  /* shape & space */
  --np-radius: 4px;
  --np-space-1: 4px;
  --np-space-2: 8px;
  --np-space-3: 16px;
  --np-space-4: 32px;
  /* normal notes keep a reading width; Bases pages go wide (user req: ~80-90%) */
  --np-page-max-width: 60rem;
  --np-page-max-width-wide: 86vw;
  /* Publish-style left sidebar (user req 2026-07-04) */
  --np-sidebar-width: 260px;
  --np-color-backdrop: rgba(0, 0, 0, 0.25);
  /* horizontal page padding — the topbar's full-bleed negative margin MUST
     mirror this exactly (probe 2026-07-04: hardcoded -space-3 vs mobile
     space-2 padding = 8px overflow per side → horizontal scrollbar) */
  --np-page-pad-x: var(--np-space-3);
  /* anti "one character per line" degenerate column (user-reported past bug) */
  --np-table-col-min: 6em;
}

/* captured from the user's Obsidian accent setting */
:root { --np-color-accent: rgb(138, 92, 245); }
