/* tiarella palette: warm parchment, deep lilac leading, Quercus green as the second note.
   Dark is a warm charcoal evening with Quercus green leading: lilac surfaces read as purple slabs at night.
   Shared field-guide components own type and geometry. */
:root {
  --t-mist: #F8F4EE;      /* page background: parchment */
  --t-paper: #FDFAF4;     /* cards */
  --t-lilac: #C8B6D9;     /* soft fills, selected chips, bloom bars */
  --t-lilac-soft: #EEE7F4;/* tints, hover */
  --t-line: #E4DACD;      /* hairlines and borders */
  --t-ink: #231F2B;       /* text, 15:1 on parchment */
  --t-muted: #625D6B;     /* secondary text, 6.2:1 on parchment */
  --t-on-moss: #FFFFFF;
  --t-moss: #5D4A7C;      /* primary actions and accents: deep lilac, 7.3:1 with white */
  --t-green: #48652F;     /* second note: Quercus green, 6.6:1 on parchment */
  --t-vein: #6A2A39;      /* counts, sparing emphasis; 9.4:1 on parchment */
  --t-mat: #F6F0E2;       /* specimen-plate mat */
  --t-mat-line: #DED2BC;
  --t-grain: .08;         /* paper grain strength */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --t-mist: #1C1D1A; --t-paper: #252722; --t-lilac: #4A4D44; --t-lilac-soft: #2E302A; --t-line: #3A3D35;
    --t-ink: #F2EEE5; --t-muted: #B8B4AA; --t-moss: #B4D494; --t-on-moss: #18200F; --t-green: #B4D494; --t-vein: #F2C0C2;
    --t-mat: #2A2B27; --t-mat-line: #3A3D35; --t-grain: .04;
  }
}
:root[data-theme="dark"] {
  --t-mist: #1C1D1A; --t-paper: #252722; --t-lilac: #4A4D44; --t-lilac-soft: #2E302A; --t-line: #3A3D35;
  --t-ink: #F2EEE5; --t-muted: #B8B4AA; --t-moss: #B4D494; --t-on-moss: #18200F; --t-green: #B4D494; --t-vein: #F2C0C2;
  --t-mat: #2A2B27; --t-mat-line: #3A3D35; --t-grain: .04;
}
@media print {
  :root, :root[data-theme="dark"] {
    --t-mist: #FFFFFF; --t-paper: #FFFFFF; --t-ink: #231F2B; --t-muted: #625D6B;
    --t-line: #E4DACD; --t-lilac: #C8B6D9; --t-lilac-soft: #EEE7F4;
    --t-moss: #5D4A7C; --t-on-moss: #FFFFFF; --t-green: #48652F; --t-vein: #6A2A39; --t-mat: #FFFFFF; --t-grain: 0;
  }
}
