/* Sorter: disainitokenid. Alus on Cullingu tokens.css (sama keel), Sorteril oma aktsent.
   Kõik väärtused on siin. Komponendid: sorter.css. Ülevaade: /sorter/stiil/ */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin.woff2) format("woff2");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}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin-ext.woff2) format("woff2");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}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-tight-latin.woff2) format("woff2");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}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-tight-latin-ext.woff2) format("woff2");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}

:root{
  color-scheme:light;

  /* Neutraalid: soe hall, valgest mustani (Cullingu skaala) */
  --white:#fff;
  --n-25:#fafaf8;
  --n-40:#f7f7f5;
  --n-50:#f4f4f1;
  --n-60:#f3f3f1;
  --n-80:#f0f0ee;
  --n-100:#e9e9e6;
  --n-150:#e3e2dc;
  --n-200:#dcdcd8;
  --n-250:#d9d8d2;
  --n-300:#cfcfca;
  --n-400:#a9a8a2;
  --n-500:#6b6a66;
  --n-600:#5c5c58;
  --n-800:#333;
  --black:#111;

  /* Musta läbipaistvused: juuksejooned ja varjud */
  --ink-04:rgba(17,17,17,.04);
  --ink-06:rgba(17,17,17,.06);
  --ink-08:rgba(17,17,17,.08);
  --ink-12:rgba(17,17,17,.12);
  --ink-18:rgba(17,17,17,.18);
  --ink-40:rgba(17,17,17,.4);
  --ink-60:rgba(17,17,17,.6);

  /* Märgid: roheline süda (jah), punane Ei (ei), must Kandidaat, kollased tärnid */
  --green:#1c9a5e;            /* Sorteri aktsent: süda, Lemmikud, paremale libistus */
  --green-tint:#eaf6ef;       /* Lemmikute ala laual */
  --red:#d92d20;              /* Ei */
  --red-tint:#fcefed;         /* Ei ala laual */
  --yellow:#ffd60a;           /* tärnid */
  --blue:#3b6ff5;             /* valik (raam, linnuke, lohistamise koht) */

  /* Semantika */
  --bg:var(--white);
  --ink:var(--black);
  --soft:var(--n-600);
  --faint:var(--n-400);
  --line:var(--n-100);
  --line2:var(--n-200);
  --well:var(--n-50);
  --chip:var(--n-60);
  --chip2:var(--n-80);
  --card:var(--white);
  --photo-bg:var(--n-40);
  --accent:var(--green);
  --accent-tint:var(--green-tint);
  --fav:var(--green);
  --rej:var(--red);
  --rate:var(--yellow);
  --sel:var(--blue);
  --note-paper:#fff3b0;     /* märkme värvid: kollane (vaikimisi), roheline, sinine, roosa, valge */
  --note-green:#d9f2e3;
  --note-blue:#dbe9fb;
  --note-pink:#fbe0e6;
  --note-white:#ffffff;
  --note-fs-s:13px; --note-fs-m:15px; --note-fs-l:20px; --note-fs-xl:28px;

  /* Kirjad */
  --text:"Inter",system-ui,-apple-system,Helvetica,Arial,sans-serif;
  --display:"Inter Tight","Inter",system-ui,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,Menlo,monospace;
  --fs-micro:11px;
  --fs-caption:12px;
  --fs-small:13px;
  --fs-ui:14px;
  --fs-body:14.5px;
  --fs-15:15px;
  --fs-lead:17px;
  --fs-title:18px;
  --fs-h3:22px;
  --fs-area:32px;          /* laua ala pealkiri */
  --area-head:84px;        /* laua ala päis (app.js AH) */
  --area-pad:28px;         /* laua ala äär (app.js AP) */
  --fs-h2:28px;
  --fs-h1:clamp(34px,4.4vw,56px);
  --fs-land:clamp(34px,3.6vw,48px);  /* avalehe pealkiri */
  --fs-hero:clamp(56px,9vw,132px);
  --lh-tight:1;
  --lh-ui:1.4;
  --lh-body:1.55;
  --tr-display:-.035em;

  /* Vahed: 2 px samm */
  --sp-2:2px; --sp-4:4px; --sp-6:6px; --sp-8:8px; --sp-10:10px; --sp-12:12px; --sp-14:14px; --sp-16:16px;
  --sp-20:20px; --sp-24:24px; --sp-32:32px; --sp-40:40px; --sp-48:48px; --sp-64:64px; --sp-96:96px;

  /* Raadiused */
  --r-xs:4px;
  --r-sm:6px;
  --r-md:8px;
  --r-lg:10px;
  --r-xl:12px;
  --r-2xl:14px;
  --r-3xl:16px;
  --r-round:50%;

  /* Varjud: ainult tõusmiseks */
  --sh-hair:0 1px 2px var(--ink-04);
  --sh-note:0 1px 2px rgba(0,0,0,.06),0 6px 14px rgba(0,0,0,.06);
  --sh-card:0 1px 2px var(--ink-04),0 10px 28px rgba(17,17,17,.07);
  --sh-float:0 0 0 1px var(--ink-06),0 6px 22px rgba(17,17,17,.10);
  --sh-modal:0 0 0 1px var(--ink-06),0 18px 50px var(--ink-18);

  /* Jooned */
  --bw:1px;
  --focus-ring:2px solid var(--ink);

  /* Kihid */
  --z-canvas-ui:15000;
  --z-overlay:20000;
  --z-chrome:21000;
  --z-flyout:22000;
  --z-pop:30000;
  --z-tip:31000;
  --z-modal:40000;
  --z-toast:50000;
  --z-takeover:60000;

  /* Liikumine */
  --dur-fast:.12s;
  --dur:.15s;
  --dur-slow:.2s;
  --dur-slower:.3s;
  --dur-calm:.9s;
  --ease-out:cubic-bezier(.2,.8,.2,1);
  --ease-calm:cubic-bezier(.16,1,.3,1);

  /* Ikoonid: joon, ümarad otsad, teksti värvi */
  --icon-sm:16px;
  --icon:20px;
  --icon-lg:24px;
  --icon-stroke:1.6;

  /* Mõõdud */
  --thumb:220px;
  --top-h:60px;
  --dock-min:64px;         /* alumise riba kõrgus */
  --dock-h:64px;           /* mõõdetud kõrgus (app.js) */
}
