/* Live Koolitus e-kool — ametlik ilme: system-ui (Tiit 20.11: vigurfonti ei), live.ee värvid
   valge/grafiit + roheline «laivis» + kollane marker). Üks julge koht: «Sinu järgmine samm». */
:root {
  --paper:#ffffff; --wash:#eef3ef; --ink:#1b201d; --muted:#545e57; --line:#d5ddd7;
  --live:#14804a; --live-ink:#0f6a3c; --live-soft:#d6efdf; --marker:#ffd43b; --marker-fg:#1b201d;
  --btn:#1b201d; --btn-fg:#ffffff; --warn:#8a5a00; --warn-soft:#fff3cc; --err:#a3261b; --err-soft:#fde8e6;
  --display:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s:6px; --r-l:18px; color-scheme:light;
  --band:#ece8dd; /* koolitus.live.ee sektsiooni toon: plokipäised */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:#121614; --wash:#1a201c; --ink:#edf2ee; --muted:#a6b0a9; --line:#2c352f;
    --live:#52c985; --live-ink:#7fdba6; --live-soft:#1d3527; --btn:#edf2ee; --btn-fg:#121614;
    --warn:#ffd77a; --warn-soft:#3a3016; --err:#ff9a8f; --err-soft:#3a1d1a; color-scheme:dark; --band:#262a25;
  }
}
:root[data-theme="dark"] {
  --paper:#121614; --wash:#1a201c; --ink:#edf2ee; --muted:#a6b0a9; --line:#2c352f;
  --live:#52c985; --live-ink:#7fdba6; --live-soft:#1d3527; --btn:#edf2ee; --btn-fg:#121614;
  --warn:#ffd77a; --warn-soft:#3a3016; --err:#ff9a8f; --err-soft:#3a1d1a; color-scheme:dark; --band:#262a25;
}

*, *::before, *::after { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--paper); color:var(--ink); font:18px/1.55 var(--body); }
a { color:var(--live-ink); text-underline-offset:.18em; }
a:hover { text-decoration-thickness:2px; }
:focus-visible { outline:3px solid var(--marker); outline-offset:2px; border-radius:3px; }
h1, h2, h3 { font-family:var(--display); line-height:1.08; margin:0 0 .4em; font-weight:700; }
h1 { font-size:clamp(30px, 6vw, 44px); }
h2 { font-size:24px; }
h3 { font-size:20px; }
p { margin:0 0 .9em; max-width:68ch; }
.muted { color:var(--muted); }
.hint { color:var(--muted); font-size:15px; font-weight:400; }
.wrap { max-width:960px; margin:0 auto; padding:0 16px; }
.narrow { max-width:520px; margin:24px auto; }
.inline { display:inline; margin:0; }

/* päis */
/* päis = koolitus.live.ee päis: alati tume, roheline logo, menüü paremal */
.top { --hdr-bg:#262a25; --hdr-line:#3a3f37; --hdr-ink:#eef0ea; --hdr-muted:#aab1a4; --hdr-accent:#22c55e; --hdr-hover:rgba(255,255,255,.08);
  background:var(--hdr-bg); border-bottom:1px solid var(--hdr-line); color:var(--hdr-ink); position:sticky; top:0; z-index:100; }
.top-in { display:flex; align-items:center; gap:12px 24px; min-height:64px; }
.brand { display:inline-flex; align-items:center; gap:10px; font:600 22px/1 var(--display); letter-spacing:-.01em; color:var(--hdr-ink); text-decoration:none; white-space:nowrap; margin-right:auto; }
.logo { width:22px; height:22px; flex:none; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%2322c55e'/%3E%3Cpath d='M10 10.5l5.5 5.5-5.5 5.5M17.5 22H24' fill='none' stroke='%23191b18' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav { display:flex; gap:24px; align-items:stretch; font-size:16px; align-self:stretch; }
.nav a { display:flex; align-items:center; color:var(--hdr-ink); text-decoration:none; letter-spacing:.01em; border-bottom:2px solid transparent; border-top:2px solid transparent; white-space:nowrap; }
.nav a:hover { border-bottom-color:var(--hdr-muted); }
.nav a[aria-current="page"] { border-bottom-color:var(--hdr-accent); }
.top-r { display:flex; align-items:center; gap:6px; }
.icon-btn { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; color:var(--hdr-ink); }
.icon-btn:hover { background:var(--hdr-hover); }
.me { position:relative; }
.me summary { list-style:none; display:flex; align-items:center; gap:8px; cursor:pointer; padding:6px 10px; border-radius:var(--r-s); color:var(--hdr-ink); }
.me summary::-webkit-details-marker { display:none; }
.me summary:hover, .me[open] summary { background:var(--hdr-hover); }
.me-t { display:flex; flex-direction:column; line-height:1.15; font-size:15px; text-align:right; }
.me-short { display:none; }
.av-img { width:34px; height:34px; border-radius:50%; object-fit:cover; order:2; }
.me summary .caret { order:3; }
.pic-row { display:flex; gap:18px; align-items:center; margin-bottom:16px; flex-wrap:wrap; }
.pic { width:88px; height:88px; border-radius:50%; object-fit:cover; flex:none; }
.pic-empty { display:inline-flex; align-items:center; justify-content:center; background:var(--paper); color:var(--muted); border:1px solid var(--line); }
.pic-ctl { flex:1; min-width:220px; }
.pic-form { display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; margin-bottom:6px; }
.pic-label { display:flex; flex-direction:column; gap:6px; font-weight:700; flex:1; min-width:200px; }
.pic-label input { font:inherit; font-size:15px; font-weight:400; }
.caret { color:var(--hdr-muted); }
.me-t small { color:var(--hdr-muted); font-size:13px; }
.me-menu { position:absolute; right:0; top:calc(100% + 6px); z-index:20; min-width:200px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-s); box-shadow:0 8px 24px rgba(0,0,0,.12); padding:6px; }
.me-menu a, .me-menu button { display:block; width:100%; text-align:left; padding:10px 12px; border-radius:4px; color:var(--ink); text-decoration:none; background:none; border:0; font:inherit; font-size:16px; cursor:pointer; }
.me-menu a:hover, .me-menu button:hover { background:var(--wash); }
.me-menu form { margin:0; border-top:1px solid var(--line); margin-top:4px; padding-top:4px; }
.linkish { background:none; border:0; padding:0; font:inherit; cursor:pointer; color:var(--live-ink); text-decoration:underline; }
.linkish:hover { text-decoration-thickness:2px; }

/* jalus jääb alati alla: body = veerg, sisu täidab vahe */
body { display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; }
.main { padding-top:28px; padding-bottom:48px; flex:1 0 auto; width:100%; }
/* jalus = koolitus.live.ee jalus, alati tume */
.foot { --ft-bg:#191b18; --ft-ink:#e6e9e2; --ft-muted:#9da397; --ft-line:#343831;
  background:var(--ft-bg); color:var(--ft-muted); border-top:1px solid var(--ft-line); padding:40px 0 24px; font-size:15px; line-height:30px; }
.foot p { margin:0; max-width:none; }
.foot a { color:var(--ft-muted); text-decoration:none; }
.foot a:hover { color:var(--ft-ink); text-decoration:underline; }
.foot-cols { display:grid; grid-template-columns:repeat(3, auto); justify-content:start; gap:4px 80px; }
.foot-h { color:var(--ft-ink); font-weight:700; }
.foot-bottom { display:flex; justify-content:space-between; gap:8px 24px; flex-wrap:wrap; margin-top:28px; padding-top:14px; border-top:1px solid var(--ft-line); font-size:14px; }
.foot-links { display:flex; gap:20px; }
.priv { max-width:760px; }
.priv h2 { font-size:21px; margin-top:1.4em; }
.priv ul { padding-left:1.2em; }
.priv li { margin-bottom:.4em; }
@media (max-width:600px) { .foot-cols { grid-template-columns:1fr; gap:20px; } }
.crumb { font-size:15px; margin-bottom:10px; }
.crumb a::before { content:"‹ "; }

/* nupud, vormid */
.btn { display:inline-block; background:var(--btn); color:var(--btn-fg); border:0; border-radius:var(--r-s); padding:13px 20px; font:700 17px/1.2 var(--body); text-decoration:none; cursor:pointer; min-height:48px; }
.btn:hover { filter:brightness(1.15); }
.btn-big { padding:16px 26px; font-size:19px; }
.panel { background:var(--wash); border-radius:var(--r-l); padding:22px; }
.form label { display:block; font-weight:700; margin:0 0 14px; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
  display:block; width:100%; margin-top:6px; padding:12px 13px; font:400 18px/1.3 var(--body);
  color:var(--ink); background:var(--paper); border:1.5px solid var(--line); border-radius:var(--r-s); }
.form input[readonly] { background:transparent; color:var(--muted); }
.form input:focus, .form select:focus, .form textarea:focus { border-color:var(--live); outline:none; box-shadow:0 0 0 3px var(--live-soft); }
.form .check, .form .radio { font-weight:400; display:flex; align-items:center; gap:10px; margin:0 0 12px; }
.form .check input, .form .radio input { width:22px; height:22px; accent-color:var(--live); }
.choice { border:0; padding:0; margin:4px 0 16px; }
.choice legend { font-weight:700; margin-bottom:8px; }
.grid2 { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:0 16px; }
.error { background:var(--err-soft); color:var(--err); padding:10px 13px; border-radius:var(--r-s); font-weight:700; }
.flash { background:var(--live-soft); color:var(--ink); padding:12px 16px; border-radius:var(--r-s); border-left:5px solid var(--live); font-weight:700; }
.empty { color:var(--muted); font-style:italic; }

/* avalik */
.hero { display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center; padding:20px 0 40px; }
.display { font-size:clamp(40px, 8vw, 56px); line-height:1.05; margin-bottom:.3em; }
.lead { font-size:21px; color:var(--muted); }
.posts { border-top:1px solid var(--line); padding-top:24px; }
.post time { color:var(--muted); font-size:15px; }

/* töölaud */
.greet { font-size:26px; margin-bottom:16px; }
.next { display:flex; align-items:center; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; border:1px solid var(--line); border-left:4px solid var(--live); border-radius:var(--r-s); padding:14px 18px; margin:0 0 24px; }
.next-k { font-size:14px; color:var(--muted); margin:0; }
.next h2 { font-size:20px; margin:0 0 2px; }
.next p { margin:0; }
.next .btn { min-height:44px; padding:10px 18px; }
/* plokipäis: koolitus.live.ee sektsiooni toon, aitab orienteeruda */
.blk-h { background:var(--band); border-radius:var(--r-s); padding:16px 18px; margin-bottom:10px; }
.blk-h > :last-child { margin-bottom:0; }
.blk-h h2 { margin-bottom:.25em; }
.course-sum { margin-bottom:32px; }
.course-sum .counts { margin:12px 0 0; }
.cs-head h2 a { color:var(--ink); text-decoration:none; }
.cs-head h2 a:hover { text-decoration:underline; }
.counts { display:flex; flex-wrap:wrap; gap:10px 28px; margin:6px 0 16px; }
.counts div { display:flex; flex-direction:column-reverse; }
.counts dt { font-size:14px; color:var(--muted); }
.counts dd { margin:0; font:700 28px/1 var(--display); }
.counts .attn dd { color:var(--warn); }

/* tunniplaan */
.sched { list-style:none; padding:0; margin:0 0 14px; border-top:1px solid var(--line); }
.lrow { border-bottom:1px solid var(--line); }
.lrow a { display:grid; grid-template-columns:64px 1fr auto; gap:14px; align-items:center; padding:14px 6px; color:var(--ink); text-decoration:none; }
.lrow a:hover { background:var(--wash); }
.ld { display:flex; flex-direction:column; align-items:center; line-height:1; }
.ld b { font:700 28px/1 var(--display); }
.ld span { font-size:14px; color:var(--muted); margin-top:4px; }
.lt { display:block; font-weight:700; }
.lm { display:block; color:var(--muted); font-size:16px; }
.ls { display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.akh { font-size:15px; color:var(--muted); white-space:nowrap; }
.lrow.today { background:var(--live-soft); }
.lrow.today .ld b { color:var(--live-ink); }
.lrow.past .lt { color:var(--muted); }
.pill { display:inline-block; font-size:13px; font-weight:700; padding:3px 9px; border-radius:99px; background:var(--warn-soft); color:var(--warn); white-space:nowrap; }
.pill.ok { background:var(--live-soft); color:var(--live-ink); }
.sum { font-size:16px; }

/* kursus */
.c-head { margin-bottom:18px; }
.c-mail { display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; margin-top:10px !important; font-size:13.5px; }
.tabs { display:flex; gap:4px; border-bottom:2px solid var(--line); margin:0 0 20px; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }
.tabs a { padding:10px 14px; color:var(--muted); text-decoration:none; font-weight:700; border-bottom:4px solid transparent; margin-bottom:-2px; white-space:nowrap; }
.tabs a[aria-current="page"] { color:var(--ink); border-bottom-color:var(--live); }
.shelf { margin-bottom:24px; }
.mats { padding-left:1.1em; }
.mats li { margin-bottom:8px; }
.mat-body { padding:8px 0 4px; }
.people { list-style:none; padding:0; margin:0 0 24px; border-top:1px solid var(--line); }
.people li { display:flex; flex-wrap:wrap; gap:4px 16px; align-items:baseline; padding:12px 4px; border-bottom:1px solid var(--line); }
.pn { font-weight:700; min-width:12em; }
.pm { display:flex; flex-wrap:wrap; gap:4px 14px; width:100%; font-size:15px; color:var(--muted); }
.newlink { margin-bottom:20px; border-left:8px solid var(--marker); }
.copyrow { display:flex; gap:8px; }
.copyrow input { flex:1; min-width:0; padding:10px; font:15px/1.2 var(--body); border:1.5px solid var(--line); border-radius:var(--r-s); background:var(--paper); color:var(--ink); }
.add { margin-top:8px; }
.scrollx { overflow-x:auto; }
.matrix { border-collapse:collapse; font-size:15px; min-width:100%; }
.matrix th, .matrix td { border-bottom:1px solid var(--line); padding:8px 10px; text-align:center; white-space:nowrap; }
.matrix th[scope=row] { text-align:left; }
.matrix td.ok { background:var(--live-soft); }
.matrix td.wait { background:var(--warn-soft); color:var(--warn); }
.matrix td.na { background:repeating-linear-gradient(135deg, transparent 0 6px, var(--wash) 6px 12px); }

/* tund */
.l-head { margin-bottom:18px; }
.l-date { font-weight:700; color:var(--live-ink); margin-bottom:4px; }
.prose { margin-bottom:22px; max-width:68ch; }
.mine, .att { margin-top:10px; }
blockquote { margin:6px 0 12px; padding:6px 14px; border-left:4px solid var(--line); color:var(--ink); }
.att-row { border:0; border-bottom:1px solid var(--line); padding:12px 0; margin:0; }
.att-row legend { font-weight:700; padding:0; float:left; width:100%; margin-bottom:6px; }
.att-row legend + * { clear:both; }
.att-ctl { display:flex; gap:12px; align-items:center; flex-wrap:wrap; clear:both; }
.att-ctl select { width:auto !important; margin:0 !important; min-width:10em; }
.akh-in { display:flex !important; align-items:center; gap:8px; margin:0 !important; font-weight:400 !important; }
.akh-in input { width:5em !important; margin:0 !important; }
.att .btn { margin-top:16px; }

/* menüü lehed */
.page-head { margin-bottom:22px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.pill.warn { background:var(--err-soft); color:var(--err); }
.day { margin-bottom:22px; }
.day-h { display:flex; align-items:baseline; gap:10px; font-size:19px; padding:10px 14px; margin-bottom:4px; }
.day-y { margin-left:auto; font:400 14px var(--body); }
.day.is-past { opacity:.6; }
.warn-line { background:var(--warn-soft); color:var(--warn); border-radius:var(--r-s); padding:8px 12px; font-size:15px; font-weight:700; max-width:none; }
.agenda { list-style:none; margin:0; padding:0; }
.agenda li { display:grid; grid-template-columns:7.5em 1fr auto; gap:4px 14px; padding:10px 0; border-bottom:1px solid var(--line); align-items:baseline; }
.agenda li.hot { box-shadow:inset 4px 0 0 var(--warn); padding-left:12px; }
.agenda li.quiet .ag-time { color:var(--muted); }
.ag-time { font-weight:700; font-variant-numeric:tabular-nums; }
.ag-body { display:flex; flex-direction:column; }
.ag-body a { color:var(--ink); text-decoration:none; }
.ag-body a:hover { text-decoration:underline; }
.ag-body .muted { font-size:15px; }
.cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:16px; }
.card { display:flex; flex-direction:column; gap:6px; padding:18px 20px; border:1px solid var(--line); border-radius:var(--r-l); color:var(--ink); text-decoration:none; }
.card:hover { border-color:var(--live); }
.card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; font-size:19px; }
.card-meta { font-size:15px; color:var(--muted); }
.tbl { border-collapse:collapse; width:100%; font-size:16px; }
.tbl th, .tbl td { text-align:left; padding:10px 12px 10px 0; border-bottom:1px solid var(--line); vertical-align:top; }
.tbl thead th { font-size:14px; color:var(--muted); font-weight:700; }
.tbl.num td { text-align:right; white-space:nowrap; }
.tbl.num td:nth-child(2) { text-align:left; white-space:normal; }
.tbl tfoot th, .tbl tfoot td { font-weight:700; border-bottom:0; }
.search { display:flex; gap:10px; margin-bottom:22px; }
.search input { flex:1; min-width:0; font:inherit; padding:12px 14px; border:1px solid var(--line); border-radius:var(--r-s); background:var(--paper); color:var(--ink); }
.todo { margin-bottom:24px; }
.todo h2 { font-size:14px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:6px; }
.todo ul { list-style:none; margin:0; padding:0; }
.todo li { padding:8px 0 8px 14px; border-bottom:1px solid var(--line); box-shadow:inset 3px 0 0 var(--warn); }
@media (max-width:600px) { .agenda li { grid-template-columns:1fr auto; } .ag-time { grid-column:1 / -1; } }
@media print { .top, .foot, .crumb { display:none; } body { font-size:12pt; } }

/* esindaja vaade */
.small { font-size:14px; }
.co-links { border-top:1px solid var(--line); padding-top:18px; margin-bottom:28px; }
.co-links ul { padding-left:1.1em; margin:0; }
.co-links li { margin-bottom:6px; }
.co-course { margin-bottom:36px; }
.co-course h2 .pill { vertical-align:middle; margin-left:6px; }
.co-course .matrix th[scope=row] { white-space:normal; min-width:9em; }
.matrix td.miss { color:var(--err); }
.matrix td.sumcol { border-right:1px solid var(--line); }
.co-docs h2 { margin-top:24px; }
.tk { margin-top:16px; }
.tk h3 { margin-top:0; }
.tk ol { padding-left:1.3em; margin:8px 0; }
.co-docs { border-top:1px solid var(--line); padding-top:20px; }
.mats li.sub { margin-left:1.4em; list-style-type:circle; }

@media (max-width:860px) {
  .top-in.has-nav { flex-wrap:wrap; padding-top:8px; }
  .top-in.has-nav .nav { order:3; flex-basis:100%; overflow-x:auto; margin:0 -16px; padding:0 16px; min-height:46px; scrollbar-width:none; border-top:1px solid var(--hdr-line); }
  .me-full, .me-t small { display:none; }
  .me-short { display:inline; }
}
@media (max-width:700px) {
  body { font-size:17px; }
  .hero { grid-template-columns:1fr; gap:20px; }
  .lrow a { grid-template-columns:48px 1fr; }
  .ls { grid-column:2; flex-direction:row; align-items:center; justify-content:flex-start; flex-wrap:wrap; }
  .panel { padding:18px; }
  .next { padding:14px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition:none !important; animation:none !important; } }

/* tagasilükkamine kommentaariga (Lovable'i leid 21.11) */
.reject { margin:4px 0 10px; }
.reject summary { cursor:pointer; color:var(--muted); font-size:14px; }
.reject textarea { width:100%; margin:8px 0; }
.note-trainer { border-left-color:var(--warn); }

/* ===== Lovable'i e-kooli kest (21.11.2026): Ubuntu, tokenid = live.css, päis + külgriba ===== */
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ubuntu-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ubuntu-400-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: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ubuntu-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ubuntu-500-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: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/ubuntu-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/ubuntu-700-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; }
:root {
  --paper:oklch(0.98 0.001 120); --wash:oklch(0.96 0.002 120); --card:oklch(1 0 0); --ink:oklch(0.25 0.004 120); --muted:oklch(0.49 0.004 120);
  --line:oklch(0.88 0.003 120); --live:#15803d; --live-ink:#15803d; --live-soft:oklch(0.94 0.04 155);
  --btn:oklch(0.65 0.17 47); --btn-fg:oklch(0.99 0 0); --marker:oklch(0.65 0.17 47); --band:oklch(0.96 0.002 120); --accent:oklch(0.93 0.002 120);
  --display:'Ubuntu', ui-sans-serif, system-ui, sans-serif; --body:'Ubuntu', ui-sans-serif, system-ui, sans-serif; --r-s:6px; --r-l:8px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:oklch(0.205 0.003 120); --wash:oklch(0.23 0.003 120); --card:oklch(0.25 0.003 120); --ink:oklch(0.94 0.003 120); --muted:oklch(0.7 0.003 120);
    --line:oklch(0.34 0.003 120); --live:#22c55e; --live-ink:#22c55e; --live-soft:oklch(0.3 0.05 155);
    --btn:oklch(0.73 0.155 48); --btn-fg:oklch(0.2 0.02 48); --marker:oklch(0.73 0.155 48); --band:oklch(0.23 0.003 120); --accent:oklch(0.29 0.003 120);
  }
}
:root[data-theme="dark"] {
  --paper:oklch(0.205 0.003 120); --wash:oklch(0.23 0.003 120); --card:oklch(0.25 0.003 120); --ink:oklch(0.94 0.003 120); --muted:oklch(0.7 0.003 120);
  --line:oklch(0.34 0.003 120); --live:#22c55e; --live-ink:#22c55e; --live-soft:oklch(0.3 0.05 155);
  --btn:oklch(0.73 0.155 48); --btn-fg:oklch(0.2 0.02 48); --marker:oklch(0.73 0.155 48); --band:oklch(0.23 0.003 120); --accent:oklch(0.29 0.003 120);
}
body { font:15px/1.6 var(--body); -webkit-font-smoothing:antialiased; } /* Tiit 21.11: 16 → 15, mõõdukas nagu claude.ai */
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea { font-size:15px; }
.me-menu a, .me-menu button, .lm, .sum, .tbl { font-size:15px; }
h1, h2, h3 { font-weight:400; line-height:1.2; }
h1 { font-size:30px; }
h2 { font-size:20px; }
h3 { font-size:16px; font-weight:500; }
b, strong, th, dt, .foot-h { font-weight:500; }
.btn { font:600 14px/1.2 var(--body); padding:11px 18px; border-radius:var(--r-s); }
.btn:hover { filter:none; background:color-mix(in oklch, var(--btn) 90%, transparent); }
.panel { background:var(--card); border:1px solid var(--line); border-radius:var(--r-l); }
.blk-h { background:transparent; padding:0 0 8px; border-bottom:1px solid var(--line); border-radius:0; }
.tabs a { font-weight:500; }
.tabs a[aria-current="page"] { border-bottom-color:var(--btn); }
.next { border:1px solid var(--line); border-top:3px solid var(--btn); border-left-width:1px; border-radius:var(--r-l); background:var(--card); padding:24px 28px; }
.next-k { font-size:14px; font-weight:500; color:var(--ink); }
.next h2 { font-size:24px; font-weight:400; }
.lrow.today { background:transparent; }
.lrow.today .ld b, .lrow.today .ld span { color:var(--btn); font-weight:500; }
.todo li { box-shadow:inset 3px 0 0 var(--btn); }
a { color:var(--ink); }
.content a:not(.btn), .main a:not(.btn) { color:var(--ink); text-decoration-color:var(--line); }
.content a:not(.btn):hover { text-decoration-color:var(--btn); }
:focus-visible { outline:2px solid var(--marker); }

/* päis (Lovable school-header) */
.top { position:relative; } /* päise toonid = meie omad (rida 44), mitte Lovable'i must */
.brand .live-mark { width:24px; height:24px; fill:none; stroke:var(--hdr-accent); stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.top-in { max-width:1440px; margin:0 auto; padding:0 20px; min-height:72px; }
.brand { font:500 24px/1 var(--display); gap:10px; }
.brand .logo { width:24px; height:24px; }
.brand-sep { margin:0 4px !important; }
.brand-arrow { color:var(--btn); }
.brand-sep { width:1px; height:22px; background:var(--hdr-line); margin:0 8px; }
.brand-sub { font-size:15px; font-weight:400; color:var(--hdr-muted); }
.me-t small { color:var(--hdr-muted); }
.top-r { gap:20px; }
.help .me-menu { min-width:0; }
.help .me-menu a { white-space:nowrap; }
/* Stardikas e-koolis */
.st-pre { margin-bottom:22px; }
.st-pre ul { margin:8px 0 0; padding-left:20px; font-size:15px; }
.st-steps { padding-left:22px; margin:0 0 18px; max-width:68ch; }
.st-steps li { margin-bottom:14px; }
.st-snip { display:block; width:100%; margin:10px 0; font:14px/1.5 Consolas, ui-monospace, monospace; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:var(--r-s); padding:10px; resize:vertical; }
.st-steps .copyrow { margin-top:8px; }
.st-steps .copyrow input { font:14px/1.3 Consolas, ui-monospace, monospace; }
.st-adv h3 { font-size:16px; margin:14px 0 8px; }
kbd { border:1px solid var(--line); border-bottom-width:2px; border-radius:4px; padding:0 5px; font:inherit; font-size:14px; background:var(--card); }
.top-r .me-t { font-weight:500; }
.top-r .help summary { padding:6px 10px; font-size:15px; font-weight:500; color:var(--hdr-ink); }

/* kest: külgriba + sisu */
.shell { display:grid; grid-template-columns:232px minmax(0, 1fr); width:100%; max-width:1440px; margin:0 auto; min-height:calc(100dvh - 73px); } /* width: body on flex → muidu kest kahaneb sisu laiuseks ja hüppab (Tiit 21.11) */
.side { display:flex; flex-direction:column; border-right:1px solid var(--line); padding:32px 16px; }
.side-k { padding:0 16px 20px; margin:0; font-size:12px; font-weight:600; text-transform:uppercase; color:var(--muted); }
.side-nav { display:flex; flex-direction:column; gap:4px; }
.side-nav a { display:flex; align-items:center; gap:8px; height:36px; padding:0 16px; border-radius:var(--r-s); color:var(--ink); text-decoration:none; font-size:14px; }
.side-nav a:hover { background:var(--accent); }
.side-nav a[aria-current="page"] { background:var(--accent); font-weight:600; }
.side-nav svg.i { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.side-foot { margin:auto 0 0; padding:20px 16px 0; border-top:1px solid var(--line); font-size:12px; line-height:2; color:var(--muted); }
.content { min-width:0; width:100%; max-width:1100px; padding:32px 48px; }
.content-foot { margin-top:64px; padding-top:20px; border-top:1px solid var(--line); font-size:12px; line-height:2; color:var(--muted); }
.content-foot a { color:var(--muted) !important; text-decoration:none; }
.foot { background:transparent; color:var(--muted); border-top:1px solid var(--line); }
@media (max-width:767px) {
  .shell { display:block; }
  .side-k, .side-foot { display:none; }
  .side { display:block; border-right:0; border-bottom:1px solid var(--line); padding:8px 12px; min-width:0; }
  .side-nav { flex-direction:row; flex-wrap:wrap; gap:2px 4px; }
  .side-nav a { padding:0 10px; }
  .content { padding:24px 20px; }
  .next { padding:20px; }
}
.eyebrow { margin:0 0 24px; font-size:12px; font-weight:600; text-transform:uppercase; color:var(--muted); }
.hello { margin:0 0 6px; }
.hello-sub { margin:0 0 28px; font-size:14px; }
.akh-sum { display:flex; align-items:baseline; gap:10px; margin:0 0 28px; }
.akh-sum b { font-size:24px; font-weight:400; color:var(--live); }
.akh-sum span { font-size:14px; }
.help summary { padding:6px; }
.help-q { display:inline-grid; place-items:center; width:26px; height:26px; border:1.5px solid var(--hdr-muted); border-radius:50%; font:500 14px/1 var(--body); color:var(--hdr-ink); }
.help-h { margin:0; padding:8px 14px 4px; font-size:12px; font-weight:600; text-transform:uppercase; color:var(--muted); }
.content .narrow { margin:0; max-width:560px; }
.content .narrow.wide { max-width:760px; }
.cols2 { display:grid; grid-template-columns:1fr 1fr; gap:0 20px; }
@media (max-width:640px) { .cols2 { grid-template-columns:1fr; } }
.hello-solo { margin-bottom:20px; }
.help-note { display:block; font-size:12px; color:var(--muted); }
.snip { margin:10px 0 14px; border:1px solid var(--line); border-radius:var(--r-s); background:var(--card); padding:10px 14px; }
.snip summary { cursor:pointer; color:var(--btn); font-weight:500; font-size:15px; }
.snip textarea { display:block; width:100%; margin:10px 0; font:14px/1.5 Consolas, ui-monospace, monospace; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:var(--r-s); padding:10px; resize:vertical; }
.sum-t summary { cursor:pointer; color:var(--btn); font-size:14px; font-weight:500; }
.mine-state { color:var(--muted); font-size:15px; }
.content .form textarea { font-size:15px; line-height:1.5; }
.juhend { margin-top:4px; }
.juhend .prose { margin-top:10px; }
.done-h { display:flex; align-items:center; gap:8px; }
svg.i { fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.done-h svg { width:22px; height:22px; color:var(--live); stroke-width:2.5; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; text-align:center; }
.mine .edit { margin-top:18px; }
.mine .edit .form { margin-top:12px; }
.btn-row { display:flex; flex-wrap:wrap; gap:10px; }
.btn-ghost { background:transparent; color:var(--ink); border:1px solid var(--line); }
.btn-ghost:hover { background:var(--accent); }

/* Külastused (22.11): töölaua üherealine + leht */
.glance { display:flex; align-items:center; gap:10px; padding:12px 16px; margin:0 0 20px; border:1px solid var(--line); border-radius:var(--r-s); color:var(--ink); text-decoration:none; }
.glance:hover { border-color:var(--live); }
.glance span { flex:1; }
.glance .i { width:20px; height:20px; color:var(--live); flex:none; }
.glance .i:last-child { color:var(--muted); }
.chips { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 18px; }
.chip { padding:6px 14px; border:1.5px solid var(--line); border-radius:99px; color:var(--ink); text-decoration:none; font-size:15px; font-weight:700; }
.content a.chip { color:var(--ink); text-decoration:none; }
.content a.chip[aria-current="true"] { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.bars { margin:0 0 28px; }
.bars-plot { display:block; width:100%; height:120px; border-bottom:1px solid var(--line); }
.bar { fill:var(--live); }
.bar.zero { fill:var(--line); }
/* Külastused: horisontaalsed ribad (seade, keel; 30.11) */
.hbars td { vertical-align:middle; }
.hbars td:first-child { width:7.5em; white-space:nowrap; }
.hbars .hb { width:100%; }
.hbars .hb svg { display:block; width:100%; height:10px; border-radius:3px; overflow:hidden; }
.hb-bg { fill:var(--line); }
.hbars .num-r { text-align:right; white-space:nowrap; width:1%; }
.bar:hover { fill:var(--live-ink); }
.bars-x { display:flex; justify-content:space-between; margin-top:6px; }
.stats-grid { gap:0 32px; }
.stats-grid .tbl td:first-child { width:3.5em; font-weight:700; }

/* Isikulehed (Minu Claude generaator, 23.11) */
.page-head.row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.tbl-wrap { overflow-x:auto; }
.il-share { display:grid; grid-template-columns:96px minmax(0,1fr); gap:14px 18px; align-items:center; margin-bottom:20px; }
.il-og { width:96px; height:96px; border-radius:var(--r-s); display:block; }
.il-meta { display:grid; gap:2px; min-width:0; }
.il-act { grid-column:1 / -1; display:grid; gap:10px; }
.il-act input { width:100%; font:14px/1.4 Consolas, ui-monospace, monospace; padding:10px; border:1px solid var(--line); border-radius:var(--r-s); background:transparent; color:inherit; }
.il-base { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:16px; }
.il-base select { margin-left:6px; padding:6px 8px; }
.il-form textarea.mono { font:14px/1.5 Consolas, ui-monospace, monospace; }
@media (min-width:760px) { .il-share { grid-template-columns:96px minmax(0,1fr) minmax(0,1.2fr); } .il-act { grid-column:auto; } }

/* Seis (koolitaja vaade 25.11) */
.seis-sum { font-size:17px; margin:12px 0; }
.matrix.seis th[scope=row] { white-space:normal; min-width:10em; }
.matrix.seis td.seis-next { text-align:left; font-weight:600; }


/* Päev 1 sammud (25.11) */
.paev1 { margin:0 0 22px; padding:16px 20px; }
.paev1 > summary { cursor:pointer; font-size:18px; }
.p1 { list-style:none; margin:12px 0 0; padding:0; }
.p1-grp { margin:18px 0 6px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--muted, inherit); }
.p1-step { border-top:1px solid var(--line); padding:12px 0; }
.p1-step p { margin:6px 0; }
.p1-head { display:flex; align-items:center; gap:10px; }
.p1-nr { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:99px; border:1.5px solid var(--line); font-weight:700; flex:none; }
.p1-step.done .p1-nr { background:var(--live-soft); color:var(--live-ink); border-color:transparent; }
.p1-step.done > p, .p1-step.done .copyrow, .p1-step.done .p1-mac { opacity:.6; }
.p1-step textarea { display:block; width:100%; margin:8px 0; font:14px/1.5 Consolas, ui-monospace, monospace; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:var(--r-s); padding:8px; }
.p1-mac { margin:6px 0; } .p1-mac summary { cursor:pointer; font-size:14px; }


/* Osalejad — koolitaja tabel (Tiit 25.11) */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.pt-trainers { margin:0 0 14px; font-size:15px; }
.people-t { width:100%; margin:0 0 24px; }
.people-t td, .people-t th { vertical-align:middle; padding:12px 14px 12px 0; }
.people-t th[scope=row] b { display:block; font-size:16px; }
.people-t th[scope=row] .muted { display:block; font-size:14px; font-weight:400; }
.people-t td.pt-mail { text-align:left; font-size:14px; }
.people-t td.pt-mail { color:var(--muted); }
.people-t thead th:nth-child(2) { text-align:left; }
.people-t .pt-act { text-align:right; padding-right:0; }
.people-t form { margin:0; }
.st { display:inline-flex; align-items:center; gap:6px; font-size:14px; white-space:nowrap; }
.st svg { width:16px; height:16px; flex:none; }
.st-ok { color:var(--live-ink); }
.st-wait { color:var(--warn); }
.st-miss { color:var(--err); }
.st-pc { color:var(--ink); }
.st-pc svg { color:var(--muted); }
.btn-s { min-height:34px; padding:6px 12px; font-size:13px; gap:6px; white-space:nowrap; }
.btn-s svg { width:15px; height:15px; }
.pt-tests { margin:0 0 24px; }
.pt-tests summary { cursor:pointer; color:var(--muted); font-size:14px; padding:6px 0; }
.pt-tests .people-t { opacity:.75; }
.btn-ico { min-height:36px; width:36px; padding:0; }
.btn-ico svg { width:17px; height:17px; }
.add-p { margin:0 0 24px; }
.add-p summary { list-style:none; display:inline-flex; }
.add-p summary::-webkit-details-marker { display:none; }
.add-p[open] summary { margin-bottom:12px; }
.st-ok svg { width:20px; height:20px; }
.people-t thead th:not(:first-child), .people-t td { text-align:center; }
.people-t td.pt-act { text-align:right; }
.people-t { table-layout:fixed; min-width:760px; }
.people-t .c-n { width:26%; } .people-t .c-m { width:26%; } .people-t .c-s { width:12%; } .people-t .c-pc { width:14%; } .people-t .c-a { width:10%; }
.people-t td.pt-mail { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Töölaud: kursuste kaardid (Tiit 25.11) */
.home-courses { margin-bottom:28px; }
.home-courses h2 { font-size:14px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:10px; }
.legend { margin:8px 0 0; }
.legend summary { cursor:pointer; color:var(--muted); font-size:14px; }
.matrix.seis td.seis-next a { color:var(--warn) !important; text-decoration:underline; }
.people-t tr:target { background:var(--warn-soft); }
.matrix td.miss a { color:var(--err) !important; text-decoration:none; }

/* ---------- Osaleja töölaud = rada (variant C, Tiit 29.11). Oranž (--btn) = mida teed, roheline (--live) = valmis. ---------- */
.tk { --or:var(--btn); --or-soft:color-mix(in oklch, var(--btn) 13%, var(--card)); --or-ink:color-mix(in oklch, var(--btn) 78%, var(--ink));
  display:flex; flex-direction:column; gap:26px; }
.tk p { max-width:none; margin:0; }
.tk h2 { margin:0; }
.tk-hello { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 20px; }
.tk-hello .hello { margin:0 0 2px; }
.tk-hello p.muted { font-size:14px; }
.tk-akh { font-size:14px; color:var(--muted); font-variant-numeric:tabular-nums; }
.tk-akh b { font-size:22px; color:var(--ink); font-weight:600; }
.tk-ok { color:var(--live-ink); }
.tk-rada { display:flex; flex-direction:column; gap:8px; }
.tk-segs, .tk-labs { display:flex; gap:4px; }
.tk-seg { display:block; height:12px; border-radius:4px; background:var(--card); border:1px solid var(--line); }
.tk-seg.done { background:var(--live); border-color:var(--live); }
.tk-seg.wait { border-color:var(--live); background:repeating-linear-gradient(-45deg, var(--live) 0 4px, var(--live-soft) 4px 8px); }
.tk-seg.now, .tk-seg.soon { background:var(--or-soft); border:2px solid var(--or); }
.tk-seg.fix { background:var(--or); border-color:var(--or); }
.tk-seg.miss { background:var(--accent); }
.tk-seg:focus-visible { outline:2px solid var(--or); outline-offset:2px; }
.tk-lab { min-width:0; font-size:12.5px; line-height:1.3; color:var(--muted); }
.tk-lab b { display:block; color:var(--ink); font-weight:600; }
.tk-lab.done b { color:var(--live-ink); }
.tk-lab.now b, .tk-lab.fix b, .tk-lab.soon b { color:var(--or-ink); }
.tk-lab .nm, .tk-lab .dt { display:block; overflow-wrap:anywhere; }
.tk-lab.w1 .nm, .tk-lab.w2 .nm, .tk-lab.w3 .nm { display:none; } /* kitsas lõik: ainult kood + kuupäev */
/* lõigu laius = ak h (CSP: style-atribuuti ei saa) */
.tk .w1{flex:1 1 0} .tk .w2{flex:2 1 0} .tk .w3{flex:3 1 0} .tk .w4{flex:4 1 0} .tk .w5{flex:5 1 0} .tk .w6{flex:6 1 0} .tk .w7{flex:7 1 0} .tk .w8{flex:8 1 0} .tk .w9{flex:9 1 0} .tk .w10{flex:10 1 0} .tk .w11{flex:11 1 0} .tk .w12{flex:12 1 0} .tk .w13{flex:13 1 0} .tk .w14{flex:14 1 0} .tk .w15{flex:15 1 0} .tk .w16{flex:16 1 0} .tk .w17{flex:17 1 0} .tk .w18{flex:18 1 0} .tk .w19{flex:19 1 0} .tk .w20{flex:20 1 0} .tk .w21{flex:21 1 0} .tk .w22{flex:22 1 0} .tk .w23{flex:23 1 0} .tk .w24{flex:24 1 0}
.tk-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:28px; align-items:start; }
.tk-col { display:flex; flex-direction:column; gap:22px; min-width:0; }
.tk-next { background:var(--card); border:1px solid var(--line); border-top:3px solid var(--or); border-radius:var(--r-l, 8px); padding:24px 28px; display:flex; flex-direction:column; gap:14px; }
.tk-next.tk-plain { border-top-width:1px; padding:18px 22px; gap:10px; }
.tk-k { font-size:13.5px; color:var(--or-ink); font-weight:600; }
.tk-next h2 { font-size:21px; font-weight:500; line-height:1.3; text-wrap:balance; }
.tk-next h2.tk-say { font-size:19px; }
.tk-say { font-size:17px; line-height:1.5; }
.tk-q { font-weight:600; }
.tk-small { font-size:14px; }
.tk-ink { color:var(--ink); }
.tk-goal { font-size:14px; color:var(--muted); border-top:1px solid var(--line); padding-top:12px; }
.tk-goal b { color:var(--ink); }
.tk-comment { background:var(--or-soft); border-radius:6px; padding:12px 14px; font-size:14.5px; }
.tk-comment b { display:block; font-size:13px; color:var(--or-ink); margin-bottom:2px; }
.tk-aru { display:flex; flex-direction:column; gap:8px; margin:0; }
.tk-aru label { font-size:14px; }
.tk-aru textarea { width:100%; min-height:110px; resize:vertical; }
.tk-row { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; }
.tk-more { font-size:14px; }
.tk-sent { display:flex; flex-wrap:wrap; gap:8px 10px; align-items:center; font-size:14px; }
.tk-h3 { font-size:17px !important; font-weight:600 !important; }
.tk-tag { display:inline-block; font-size:12px; font-weight:600; padding:1px 8px; border-radius:99px; vertical-align:1px; white-space:nowrap; }
.tk-tag.or { background:var(--or); color:var(--btn-fg); }
.tk-tag.ok { background:var(--live-soft); color:var(--live-ink); }
.tk-week h2 { margin-bottom:10px; }
.tk-week ol { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; border-top:1px solid var(--line); }
.tk-week li { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:4px 12px; padding:11px 10px; border-bottom:1px solid var(--line); font-size:14.5px; align-items:baseline; }
.tk-week li.today { background:var(--or-soft); border-radius:6px; border-bottom-color:transparent; }
.tk-week li.today .n { color:var(--or-ink); font-weight:600; }
.tk-week .n, .tk-week .h { color:var(--muted); font-variant-numeric:tabular-nums; }
.tk-week .h { font-size:13px; white-space:nowrap; }
.tk-dow { font-size:13px; margin-left:4px; }
.tk-tot { font-size:13px; color:var(--muted); padding-top:8px; }
.tk-box { background:var(--card); border:1px solid var(--line); border-radius:var(--r-l, 8px); padding:20px 22px; }
.tk-box h2 { margin-bottom:6px; }
.tk-sum { font-size:13.5px; color:var(--muted); margin-bottom:14px !important; }
.tk-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.tk-list li { display:grid; grid-template-columns:22px minmax(0,1fr) auto; gap:2px 10px; font-size:14px; align-items:start; }
.tk-list li.empty { display:block; color:var(--muted); }
.tk-list .t a { color:var(--ink); font-weight:600; text-decoration:none; }
.tk-list .t a:hover { text-decoration:underline; }
.tk-list .t .muted { display:block; font-size:13px; }
.tk-list .a { color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.tk-list .qt { grid-column:2 / -1; color:var(--live-ink); font-size:13.5px; }
.tk-list .ic { width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:700; margin-top:1px; }
.tk-list .ic.done { background:var(--live); color:var(--paper); }
.tk-list .ic.wait { background:var(--live-soft); color:var(--live-ink); border:1.5px dashed var(--live); }
.tk-list .ic.fix { background:var(--or-soft); color:var(--or-ink); border:1.5px solid var(--or); }
.tk-list .ic.miss { background:var(--accent); color:var(--muted); }
.tk-list .ic.fut { background:var(--card); border:1.5px solid var(--line); }
.tk-more-p { font-size:14px; margin-top:14px !important; }
.tk-steps { list-style:none; padding:0; margin:4px 0 0; display:flex; flex-direction:column; gap:20px; }
.tk-steps > li { display:grid; grid-template-columns:30px minmax(0,1fr); gap:14px; }
.tk-steps > li > .n { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-weight:700; font-size:14px; background:var(--accent); color:var(--muted); }
.tk-steps > li.on > .n { background:var(--or); color:var(--btn-fg); }
.tk-steps > li > div { display:flex; flex-direction:column; gap:10px; min-width:0; }
.tk-steps > li > div > p { margin:0; font-size:15px; line-height:1.5; }
.tk-steps > li:not(.on) .tk-aru textarea { min-height:64px; }
.tk-steps .tk-aru label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.tk-snip { margin:0; }
.tk .btn-big { font-size:16px; padding:14px 24px; min-height:50px; }
.tk-week summary { cursor:pointer; font-size:15px; font-weight:600; color:var(--ink); padding:6px 0; }
.tk-week summary .muted { font-weight:400; }
.tk-week[open] summary { margin-bottom:10px; }
@media (max-width:860px) { .tk-grid { grid-template-columns:1fr; } }
@media (max-width:700px) {
  .tk { gap:20px; }
  .tk-lab .nm, .tk-lab .dt { display:none; }
  .tk-lab { text-align:center; }
  .tk-next { padding:18px 16px; }
  .tk-say { font-size:16px; }
}
.tbl.num thead th:first-child, .tbl.num thead th:last-child { text-align:right; }
/* Külastused: üks skaala (seade, keel; 30.11) */
.scale { margin:4px 0 20px; }
.scale svg { display:block; width:100%; height:12px; border-radius:4px; overflow:hidden; }
.sc-l { fill:var(--live); } .sc-r { fill:var(--btn); } .sc-m { fill:var(--muted); stroke:var(--paper); stroke-width:.3; }
.scale-lab { display:flex; justify-content:space-between; gap:12px; margin:6px 0 0; }
.scale-lab span:nth-child(2) { text-align:center; flex:1; }
.scale-lab span:last-child { text-align:right; }
.stats-grid section + section { margin-top:28px; }
.stats-grid > div { margin-bottom:28px; }
