/* Notelnk — shared color tokens. A service of Island Sun Design LLC.
 * <html data-theme="dark|light|system" data-accent="blue|teal|violet|coral|green|sunset">
 * Dark is the default. Every page loads this file first; component styles only use these tokens. */

:root,[data-theme=dark]{
  color-scheme:dark;
  --bg:#0E1420;--bar:#131A28;--surface:#172033;--surface-2:#1D2740;--raise:#24304C;--soft:#1B2539;
  --line:#2A3652;--line-2:#34415F;--ink:#E7ECF6;--muted:#97A3BC;--faint:#6F7C97;
  --pri:#5B8CFF;--pri-d:#4677F2;--on-pri:#fff;
  --sun:#FFC531;--coral:#FF7A62;--mint:#2FC787;--grape:#A07BFF;--sky:#3FB2F0;
  --danger:#FF7B6B;--ok:#2FC787;
  --err-bg:#3A1F22;--err-ink:#FFB8AC;--warn-bg:#3A3117;--warn-ink:#FFDE85;--ok-bg:rgba(47,199,135,.15);--ok-ink:#93E8C2;
  --stage:#0A0F19;--wa-fg-default:rgba(255,255,255,.07);
  --shadow:0 12px 36px rgba(0,0,0,.5),0 1px 3px rgba(0,0,0,.45);
  --backdrop:rgba(4,8,16,.62);
  --hero-a:rgba(91,140,255,.22);--hero-b:rgba(255,122,98,.14);--hero-c:#0E1420;--hero-d:#101829;
}

[data-theme=light]{
  color-scheme:light;
  --bg:#FFF3D9;--bar:#FFF9EC;--surface:#FFF9EC;--surface-2:#FFFFFF;--raise:#FFF1D2;--soft:#FFF6E0;
  --line:#F0E2BE;--line-2:#E6D3A6;--ink:#22304A;--muted:#66728C;--faint:#8D96AA;
  --pri:#2F6BFF;--pri-d:#1F55D6;--on-pri:#fff;
  --sun:#FFC531;--coral:#DE4A32;--mint:#22B573;--grape:#8A5CF6;--sky:#29A3E8;
  --danger:#C93A2B;--ok:#22B573;
  --err-bg:#FBE9E5;--err-ink:#8A2F22;--warn-bg:#FFE9A8;--warn-ink:#6B4E00;--ok-bg:rgba(34,181,115,.12);--ok-ink:#10683F;
  --stage:#FFF3D9;--wa-fg-default:rgba(34,48,74,.09);
  --shadow:0 8px 30px rgba(34,48,74,.18),0 1px 3px rgba(34,48,74,.12);
  --backdrop:rgba(34,48,74,.35);
  --hero-a:#FFE9A8;--hero-b:#FFD9D0;--hero-c:#FFFBF1;--hero-d:#FFF1D8;
}

@media (prefers-color-scheme:light){
  [data-theme=system]{
    color-scheme:light;
    --bg:#FFF3D9;--bar:#FFF9EC;--surface:#FFF9EC;--surface-2:#FFFFFF;--raise:#FFF1D2;--soft:#FFF6E0;
    --line:#F0E2BE;--line-2:#E6D3A6;--ink:#22304A;--muted:#66728C;--faint:#8D96AA;
    --pri:#2F6BFF;--pri-d:#1F55D6;--on-pri:#fff;
    --sun:#FFC531;--coral:#DE4A32;--mint:#22B573;--grape:#8A5CF6;--sky:#29A3E8;
    --danger:#C93A2B;--ok:#22B573;
    --err-bg:#FBE9E5;--err-ink:#8A2F22;--warn-bg:#FFE9A8;--warn-ink:#6B4E00;--ok-bg:rgba(34,181,115,.12);--ok-ink:#10683F;
    --stage:#FFF3D9;--wa-fg-default:rgba(34,48,74,.09);
    --shadow:0 8px 30px rgba(34,48,74,.18),0 1px 3px rgba(34,48,74,.12);
    --backdrop:rgba(34,48,74,.35);
    --hero-a:#FFE9A8;--hero-b:#FFD9D0;--hero-c:#FFFBF1;--hero-d:#FFF1D8;
  }
}

/* Accent colors (blue follows the theme above) */
[data-accent=teal]{--pri:#0E9F8E;--pri-d:#0B8577}
[data-accent=violet]{--pri:#7A5AF5;--pri-d:#6646E0}
[data-accent=coral]{--pri:#E8553D;--pri-d:#CC4430}
[data-accent=green]{--pri:#1E9E5A;--pri-d:#188A4D}
[data-accent=sunset]{--pri:#DB6A0C;--pri-d:#BF5C08}

/* ---------- Fonts (3.9.5) — self-hosted, so pages never call Google. SIL Open Font License: assets/fonts/OFL.txt ----------
   Google Sans is the base font everywhere; Caveat, a handwritten face, is the accent for a few decorative touches
   (it echoes the notes people leave on a page). Browsers only download the subsets a page actually uses. */
:root{
  --font-sans:"Google Sans Variable","Google Sans",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-accent:"Caveat Variable","Caveat","Segoe Print","Bradley Hand",cursive;
}
.accent{font-family:var(--font-accent);font-weight:600;letter-spacing:0}

/* google-sans-cyrillic-wght-normal */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* google-sans-greek-wght-normal */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-greek-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
/* google-sans-vietnamese-wght-normal */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
/* google-sans-latin-ext-wght-normal */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* google-sans-latin-wght-normal */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* google-sans-cyrillic-wght-italic */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-cyrillic-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* google-sans-greek-wght-italic */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-greek-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
/* google-sans-vietnamese-wght-italic */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-vietnamese-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
/* google-sans-latin-ext-wght-italic */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-latin-ext-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* google-sans-latin-wght-italic */
@font-face {
  font-family: 'Google Sans Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/google-sans-latin-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* caveat-cyrillic-wght-normal */
@font-face {
  font-family: 'Caveat Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/caveat-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* caveat-latin-ext-wght-normal */
@font-face {
  font-family: 'Caveat Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/caveat-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* caveat-latin-wght-normal */
@font-face {
  font-family: 'Caveat Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/caveat-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Small shared bits */
.theme-tog{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:99px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
.theme-tog:hover{border-color:var(--pri)}
.theme-tog svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-tog .sun{display:none}
:root:not([data-theme=light]) .theme-tog .moon{display:none}
:root:not([data-theme=light]) .theme-tog .sun{display:inline}
@media (prefers-color-scheme:light){[data-theme=system] .theme-tog .moon{display:inline}[data-theme=system] .theme-tog .sun{display:none}}

/* NoteLnk wordmark (assets/mark.html): navy lettering on light backgrounds, white on dark. A white-label header
   color overrides this per mode (assets/brandkit.js). */
img.nl-wm,img.nl-ic{width:auto;max-width:none}
.nl-wm-lt{display:none}
[data-theme=light] .nl-wm-lt{display:block}[data-theme=light] .nl-wm-dk{display:none}
@media (prefers-color-scheme:light){[data-theme=system] .nl-wm-lt{display:block}[data-theme=system] .nl-wm-dk{display:none}}
