/* GENERATED by scripts/sync-templates.py from design/templates/tokens.css — do not edit here.
   Colours come from the app theme (public/src/theme.js → --tpl-*), mapped inside .ln-tpl only. */
.ln-tpl{--paper:var(--tpl-paper);--surface:var(--tpl-surface);--page:var(--tpl-page);--ink:var(--tpl-ink);--line:var(--tpl-line);--accent:var(--tpl-accent);--accent-ink:var(--tpl-accent-ink);--accent-ui:var(--tpl-accent-ui);--accent-text:var(--tpl-accent-text);--text-2:var(--tpl-text-2);--text-3:var(--tpl-text-3);--muted:var(--tpl-text-3)}
@font-face{font-family:'LNT Mali';src:url(/fonts/Mali-Regular.woff2) format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:'LNT Itim';src:url(/fonts/Itim-Regular.woff2) format('woff2');font-display:swap}
@font-face{font-family:'LNT IBM Plex Sans Thai Looped';src:url(/fonts/IBMPlexSansThaiLooped-Regular.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'LNT IBM Plex Sans Thai Looped';src:url(/fonts/IBMPlexSansThaiLooped-Medium.woff2) format('woff2');font-weight:500 700;font-display:swap}
@font-face{font-family:'LNT Noto Serif Thai';src:url('/fonts/NotoSerifThai-VariableFont_wdth-wght.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'LNT Noto Sans Thai';src:url('/fonts/NotoSansThai-VariableFont_wdth-wght.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'LNT Cormorant Garamond';src:url('/fonts/CormorantGaramond-VariableFont_wght.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:'LNT DM Serif Display';src:url(/fonts/DMSerifDisplay-Regular.woff2) format('woff2');font-display:swap}
@font-face{font-family:'LNT Google Sans';src:url('/fonts/GoogleSans-Latin-wght.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:'LNT Allura';src:url(/fonts/Allura-Regular.woff2) format('woff2');font-display:swap}
@font-face{font-family:'LNT Josefin Sans';src:url('/fonts/JosefinSans-VariableFont_wght.woff2') format('woff2');font-weight:100 700;font-display:swap}
/* little notes templates — fonts, derived helpers, shared chrome.
   Colour values are injected by theme.js (presets or user-defined accent). */

/* font roles — every stack ends in a Thai-capable bundled font */
.ln-tpl{
  --f-cute:'LNT Mali','Mali','LNT IBM Plex Sans Thai Looped','IBM Plex Sans Thai Looped',sans-serif;
  --f-hand:'LNT Itim','Itim','LNT Mali','Mali',sans-serif;
  --f-sans:'LNT IBM Plex Sans Thai Looped','IBM Plex Sans Thai Looped','LNT Noto Sans Thai','Noto Sans Thai',sans-serif;
  --f-num:'LNT Google Sans','Google Sans','LNT IBM Plex Sans Thai Looped','IBM Plex Sans Thai Looped',sans-serif;
  --f-serif:'LNT Noto Serif Thai','Noto Serif Thai',serif;
  --f-display:'LNT Cormorant Garamond','Cormorant Garamond','LNT Noto Serif Thai','Noto Serif Thai',serif;
  --f-didone:'LNT DM Serif Display','DM Serif Display','LNT Noto Serif Thai','Noto Serif Thai',serif;
  --f-label:'LNT Josefin Sans','Josefin Sans','LNT IBM Plex Sans Thai Looped','IBM Plex Sans Thai Looped',sans-serif;
  --f-script:'LNT Allura','Allura','LNT Noto Serif Thai','Noto Serif Thai',serif;
  /* accent washes: decoration only, never text */
  --a10:color-mix(in oklab,var(--accent) 10%,var(--paper));
  --a20:color-mix(in oklab,var(--accent) 20%,var(--paper));
  --a35:color-mix(in oklab,var(--accent) 35%,var(--paper));
  --a60:color-mix(in oklab,var(--accent) 60%,var(--paper));
  /* type scale — smallest readable size is 12px (--t-xs) */
  --t-xs:12px;--t-sm:13px;--t-md:15px;--t-body:16px;
  background:var(--paper);color:var(--ink);font:400 var(--t-body)/1.8 var(--f-sans);
  -webkit-font-smoothing:antialiased;position:relative;overflow-wrap:anywhere;word-break:normal;
  min-height:100vh;padding-bottom:34px}
.ln-tpl,.ln-tpl *{box-sizing:border-box;margin:0;padding:0}
.ln-tpl img{display:block;max-width:100%}
/* editable fields in edit mode: an empty field shows its hint, never sample data */
.ln-tpl [data-field]:empty::before{content:attr(data-hint);color:var(--text-3)}
.ln-tpl .ph{color:var(--text-3)}
.ln-tpl [data-field]{outline:none}

/* app chrome shown in previews only (the app supplies its own) */
.ln-chrome{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 16px;font:500 var(--t-sm)/1 var(--f-num);color:var(--text-2)}
.ln-chrome b{color:var(--accent-text);font-weight:600}
.ln-chrome .pill{border:1px solid var(--line);border-radius:99px;padding:5px 10px;font-size:var(--t-xs);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}

/* shared atoms */
.ln-add{display:flex;align-items:center;gap:8px;color:var(--text-3);font-size:var(--t-md);min-height:40px}
.ln-add b{width:22px;height:22px;border-radius:7px;border:1.6px dashed var(--accent-ui);display:grid;place-items:center;color:var(--accent-text);font:600 15px/1 var(--f-num);flex:none}
.ln-photo{position:relative;overflow:hidden;background:var(--a20)}
.ln-photo img{width:100%;height:100%;object-fit:cover}
.ln-num{font-family:var(--f-num);font-variant-numeric:tabular-nums}
