/* Foramind Studio — İstatistikler (web/stats.js). The studio's tokens (app.css :root), the learners' pieces reused
   (.lrd-card, .lrn-lv, .lrn-legend, .lvc-*, .lvt-*); everything new is prefixed .st- */
.st-page { max-width: 1280px; }
.st-head { align-items: flex-end; margin-bottom: var(--s-5); }
.st-head h1 { display: flex; align-items: center; gap: 14px; }
.st-head-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.st-back { display: inline-block; font-size: var(--fs-14); font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.st-back:hover { color: var(--ink); }
.st-note { font-size: var(--fs-13); margin: 6px 2px 14px; }
.st-h2 { font-size: var(--fs-20); margin: var(--s-5) 0 12px; }
.st-none { margin: 18px 0; }

/* colours of a group */
.c-violet { --gc: #7b3fe4; --gt: #f0eafd; } .c-blue { --gc: #0a6cf0; --gt: #e6f0fe; } .c-teal { --gc: #12b8c8; --gt: #e3f7f9; }
.c-pink { --gc: #d04bc0; --gt: #fbeaf7; } .c-gold { --gc: #e0a100; --gt: #fff4dc; } .c-green { --gc: #1f8a4c; --gt: #e5f5ec; }
.st-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--gc, var(--violet)); flex: none; box-shadow: 0 0 0 4px var(--gt, var(--violet-tint)); }
.st-colors { display: flex; gap: 10px; margin: 14px 0 4px; flex-wrap: wrap; }
.st-colors button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--gc); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); cursor: pointer; }
.st-colors button.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gc); }

/* the range picker */
.st-range { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.st-range .chips button { padding: 6px var(--s-3); font-size: var(--fs-13); }
.st-dates { display: flex; align-items: center; gap: 6px; }
.st-dates .input { width: 150px; padding: var(--s-2) 10px; font-size: var(--fs-13); border-radius: var(--r-12); }

/* the locked card */
.st-locked { min-height: 60vh; }
.st-locked .card { max-width: 540px; }
.st-locked-list { list-style: none; padding: 0; margin: 4px 0 8px; text-align: left; display: grid; gap: 8px; }
.st-locked-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-16); color: var(--ink-2); }
.st-locked-list svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }

/* the first visit: how to start */
.st-start { display: grid; gap: var(--s-5); }
.st-start-t { display: flex; gap: 18px; align-items: flex-start; }
.st-start-t h2 { font-size: var(--fs-24); margin-bottom: 6px; }
.st-start-ic { width: 56px; height: 56px; border-radius: var(--r-18); display: grid; place-items: center; background: var(--violet-tint); color: var(--violet-ink); flex: none; }
.st-start-ic svg { width: 28px; height: 28px; }
.st-start .btn { justify-self: start; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.st-steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: var(--r-18); padding: 14px; }
.st-steps li > b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violet); font: 700 var(--fs-14)/1 var(--display); flex: none; box-shadow: var(--shadow-sm); }
.st-steps strong { display: block; font-size: var(--fs-16); }
.st-steps small { display: block; color: var(--muted); font-size: var(--fs-13); margin-top: 2px; }

/* the hero: the learned ring and key numbers */
.st-hero { display: flex; align-items: center; gap: 20px; padding: 20px 24px; flex-wrap: wrap; }
.st-hero-t { display: flex; flex-direction: column; min-width: 120px; }
.st-hero-t b { font-family: var(--display); font-size: var(--fs-18); }
.st-ring { position: relative; width: var(--s); height: var(--s); flex: none; display: inline-grid; place-items: center; }
.st-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-ring b { position: relative; font: 700 calc(var(--s) * .22)/1 var(--display); letter-spacing: -.03em; }
.st-kpis { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; min-width: 260px; }
.st-kpi { position: relative; background: var(--surface); border-radius: var(--r-18); padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-kpi em { font-style: normal; font-size: var(--fs-13); font-weight: 600; color: var(--muted); }
.st-kpi b { font: 700 var(--fs-24)/1.2 var(--display); letter-spacing: -.02em; }
.st-kpi b small { font: 500 var(--fs-14) var(--body); color: var(--muted); }
.st-kpi small { font-size: var(--fs-12); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-kpi-ic { position: absolute; right: 12px; top: 12px; color: var(--violet); opacity: .55; }
.st-kpi-ic svg { width: 18px; height: 18px; }
.st-kpi.warn { background: var(--warn-tint); } .st-kpi.warn .st-kpi-ic, .st-kpi.warn b { color: #9a5b00; }
.st-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.st-mini-wide { margin-bottom: 16px; }

/* the overview's group cards */
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 18px; }
.st-card { position: relative; background: #fff; border: 1px solid var(--line-3); border-radius: var(--r-lg); padding: 18px 18px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.st-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gc); }
.st-card:hover, .st-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); outline: none; }
.st-card-h { display: flex; gap: 12px; align-items: flex-start; }
.st-card-h .st-dot { margin-top: var(--s-2); }
.st-card-h > div { flex: 1; min-width: 0; }
.st-card-h h3 { font-size: var(--fs-20); }
.st-card-h p { margin: 2px 0 0; font-size: var(--fs-13); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-ro { background: var(--surface); color: var(--ink-3); font-size: var(--fs-12); padding: 3px 10px; }
.st-card-m { display: flex; gap: 14px; font-size: var(--fs-13); color: var(--ink-3); flex-wrap: wrap; }
.st-card-m span, .st-meta span { display: inline-flex; align-items: center; gap: 6px; }
.st-card-m svg, .st-meta svg { width: 16px; height: 16px; color: var(--muted); }
.st-card-todo { display: flex; gap: 8px; align-items: center; margin: 0; font-size: var(--fs-13); color: #8a5200; background: var(--warn-tint); border-radius: var(--r-12); padding: 8px 10px; }
.st-card-todo svg { width: 16px; height: 16px; flex: none; }
.st-card-b { display: flex; gap: 14px; align-items: center; }
.st-card-k { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.st-card-k em, .st-map-k em, .st-lk em { display: block; font-style: normal; font-size: var(--fs-12); color: var(--muted); font-weight: 600; }
.st-card-k b, .st-map-k b, .st-lk b { font: 700 var(--fs-16)/1.2 var(--display); }
.st-card-k b small, .st-map-k b small { font: 500 var(--fs-12) var(--body); color: var(--muted); }
.st-card-k .warn b { color: #b06f00; }
.st-card-f { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-3); padding-top: 10px; min-height: 40px; }
.st-spark { display: flex; align-items: flex-end; gap: 2px; height: 28px; flex: 1; max-width: 170px; }
.st-spark i { flex: 1; background: var(--gc, var(--violet)); opacity: .55; border-radius: 2px 2px 0 0; min-height: 2px; }
.st-spark.none { font-size: var(--fs-12); color: var(--muted); align-items: center; }
.st-card-risk, .st-card-ok { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-13); font-weight: 600; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-card-risk { color: #9a5b00; } .st-card-ok { color: var(--ok); }
.st-card-risk svg, .st-card-ok svg { width: 15px; height: 15px; flex: none; }

/* a group's page */
.st-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: var(--fs-14); }
.st-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 18px; overflow-x: auto; scrollbar-width: none; }
.st-tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 600; font-size: var(--fs-14); color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.st-tabs button.on { color: var(--ink); border-bottom-color: var(--gc, var(--violet)); }
.st-tabs em { font-style: normal; font-size: var(--fs-12); background: var(--surface); border-radius: var(--r-pill); padding: 1px 8px; color: var(--ink-3); }
.st-gpage .st-head { --gc: inherit; }
.st-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; margin: 16px 0; }
.st-sec { padding: 16px 18px; }
.st-panel > .st-sec, .st-lpage > .st-sec { margin: 16px 0; }
.st-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.st-sec-h h3 { margin: 0; }
.st-sec-h em { font-style: normal; font-size: var(--fs-13); }
.st-todo { max-width: 560px; }
.st-todo ul { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 10px; }
.st-todo li { display: flex; gap: 10px; align-items: center; font-size: var(--fs-16); }
.st-todo li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.st-todo li svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.st-todo li.done span { color: var(--muted); text-decoration: line-through; }

/* the programme */
.st-prog { display: grid; gap: 10px; margin-bottom: 12px; }
.st-prog-r { display: flex; align-items: center; gap: 12px; }
.st-prog-n { width: 26px; height: 26px; border-radius: var(--r-8); background: var(--gt, var(--violet-tint)); color: var(--gc, var(--violet-ink)); display: grid; place-items: center; font: 700 var(--fs-13)/1 var(--display); flex: none; }
.st-prog-t { flex: 1; min-width: 0; }
.st-prog-t b { display: block; font-size: var(--fs-14); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-prog-t small { font-size: var(--fs-12); }
.st-prog-t .lrn-lv { width: 100%; height: 8px; }
.st-prog-p { font: 700 var(--fs-16)/1 var(--display); min-width: 46px; text-align: right; }
.st-legend { margin-top: 4px; }

/* at risk */
.st-risklist { display: grid; gap: 6px; }
.st-rl { display: flex; align-items: center; gap: 10px; padding: var(--s-2) 8px; border-radius: var(--r-12); cursor: pointer; }
.st-rl:hover, .st-rl:focus-visible { background: var(--surface); outline: none; }
.st-rl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.st-rl-t b { font-size: var(--fs-14); }
.st-rl-t > span { display: flex; flex-wrap: wrap; gap: 4px; }
.st-rl-p { font: 700 var(--fs-14) var(--display); color: var(--ink-3); }
.st-av { width: 34px; height: 34px; border-radius: var(--r-12); display: grid; place-items: center; font: 800 var(--fs-13)/1 var(--display); color: hsl(var(--h, 260) 50% 30%); background: hsl(var(--h, 260) 80% 92%); flex: none; }
.st-av.big { width: 60px; height: 60px; border-radius: var(--r-18); font-size: var(--fs-24); }
.st-risk { display: inline-block; font-size: var(--fs-12); font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); background: var(--warn-tint); color: #8a5200; white-space: nowrap; }
.st-risk.r-notStarted { background: var(--surface); color: var(--ink-3); }
.st-risk.r-low { background: var(--danger-tint); color: var(--danger); }
.st-allok, .st-okt { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }
.st-allok svg, .st-okt svg { width: 18px; height: 18px; }

/* the trend chart */
.st-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.st-chart text { font-size: var(--fs-12); fill: var(--muted); font-family: var(--body); }
.st-chart text.a { fill: #0b8e9c; }
.st-chart .g { stroke: #eeeef4; stroke-width: 1; }
.st-chart .c { fill: #b9a2f0; }
.st-chart g:hover .c { fill: var(--violet); }
.st-chart .hit { fill: transparent; }
.st-chart .l { fill: none; stroke: #12b8c8; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.st-chart-key { display: flex; gap: 16px; justify-content: flex-end; font-size: var(--fs-12); color: var(--muted); margin-top: 4px; }
.st-chart-key span { display: inline-flex; align-items: center; gap: 6px; }
.st-chart-key i { width: 12px; height: 8px; border-radius: 2px; display: inline-block; }
.st-chart-key i.c { background: #b9a2f0; } .st-chart-key i.l { background: #12b8c8; height: 3px; }

/* the hardest nodes */
.st-weak { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.st-wk { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-12); background: var(--surface); min-width: 0; }
.st-wk img { width: 46px; height: 46px; object-fit: contain; border-radius: var(--r-12); background: #fff; flex: none; }
.st-wk span { display: flex; flex-direction: column; min-width: 0; font-size: var(--fs-13); }
.st-wk b { font-size: var(--fs-14); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-wk .bad, td.bad { color: var(--danger); }

/* learners × maps */
.st-ltools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.st-ltools .lrn-search { max-width: 340px; }
.st-mxwrap { overflow: auto; max-height: calc(100vh - 220px); border: 1px solid var(--line-3); border-radius: var(--r-18); background: #fff; }
.st-matrix { border-collapse: separate; border-spacing: 0; width: 100%; font-size: var(--fs-14); }
.st-matrix th { position: sticky; top: 0; z-index: 2; background: #faf9fd; text-align: left; border-bottom: 1px solid var(--line); padding: 0; vertical-align: bottom; }
.st-matrix th button { border: 0; background: none; width: 100%; text-align: left; padding: 10px 10px; font-size: var(--fs-12); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.st-matrix th button.on { color: var(--ink); }
.st-matrix th button svg { width: 14px; height: 14px; flex: none; }
.st-matrix th.st-mcol button { text-transform: none; letter-spacing: 0; font-size: var(--fs-13); min-width: 110px; max-width: 160px; }
.st-mh { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.st-matrix td { padding: 8px 10px; border-bottom: 1px solid var(--line-3); white-space: nowrap; vertical-align: middle; }
.st-matrix tbody tr { cursor: pointer; }
.st-matrix tbody tr:hover td { background: #faf9fd; }
.st-matrix tr.pending { cursor: default; }
.st-matrix tr.pending .st-who b { color: var(--muted); }
.st-sticky { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line-3); }
.st-matrix th.st-sticky { z-index: 3; background: #faf9fd; }
.st-who { display: flex; gap: 10px; align-items: center; min-width: 210px; max-width: 280px; }
.st-who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.st-who b, .st-who small { overflow: hidden; text-overflow: ellipsis; }
.st-who small { font-size: var(--fs-12); }
.st-pend { color: #8a5200; font-weight: 600; }
.st-who-r { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.st-pc { min-width: 110px; }
.st-pc b { display: block; font: 700 var(--fs-16) var(--display); }
.st-bar { display: block; height: 6px; border-radius: var(--r-pill); background: var(--surface); overflow: hidden; margin-top: 3px; width: 90px; }
.st-bar i { display: block; height: 100%; border-radius: var(--r-pill); }
.st-bar.hi i { background: #12804a; } .st-bar.mid i { background: #4cc38a; } .st-bar.lo i { background: #f5a524; } .st-bar.bad i { background: #e06a8c; }
.st-cell { position: relative; text-align: center; min-width: 96px; }
.st-cell b { display: block; font: 700 var(--fs-14) var(--display); }
.st-cell small { display: block; font-size: var(--fs-12); color: var(--muted); }
.st-cell.t-hi { background: #c2e9d3; } .st-cell.t-mid { background: #ddf5e9; } .st-cell.t-lo { background: #fff1d6; } .st-cell.t-bad { background: #fbe3ea; }
.st-matrix tbody tr:hover td.st-cell.t-hi { background: #b2e0c6; } .st-matrix tbody tr:hover td.st-cell.t-mid { background: #cdefdc; }
.st-matrix tbody tr:hover td.st-cell.t-lo { background: #ffe8bd; } .st-matrix tbody tr:hover td.st-cell.t-bad { background: #f8d3de; }
.st-cell.none { color: var(--line-2); }
.st-due { position: absolute; top: 4px; right: 5px; min-width: 18px; height: 18px; padding: 0 var(--s-1); border-radius: var(--r-pill); background: #f5a524; color: #fff; font: 700 var(--fs-12)/18px var(--body); font-style: normal; }
.st-link { cursor: pointer; }

/* maps */
.st-maps, .st-lmaps { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
.st-map, .st-lmap { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.st-map-h { display: flex; align-items: flex-start; gap: 12px; }
.st-map-h > div { flex: 1; min-width: 0; }
.st-map-h h3 { margin: 0 0 2px; font-size: var(--fs-16); overflow: hidden; text-overflow: ellipsis; }
.st-map-b { display: flex; gap: 16px; align-items: center; }
.st-map-k { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; }
.st-map .lrn-lv.big, .st-lmap .lrn-lv.big { margin: 2px 0 0; height: 10px; }

/* one learner */
.st-lhead { align-items: center; }
.st-lwho { display: flex; gap: 16px; align-items: center; }
.st-lwho h1 { font-size: clamp(28px, 3.4vw, 42px); }
.st-lmap.off { opacity: .75; background: var(--surface); }
.st-lmaps { align-items: start; }
.st-lmap.wide { grid-column: 1 / -1; }
.st-lpct { font: 700 var(--fs-20)/1 var(--display); padding: 6px 10px; border-radius: var(--r-12); }
.st-lpct.t-hi { background: #c2e9d3; color: #0f7343; } .st-lpct.t-mid { background: #ddf5e9; color: #25875b; }
.st-lpct.t-lo { background: #fff1d6; color: #b06f00; } .st-lpct.t-bad { background: #fbe3ea; color: #b0304f; }
.st-lk { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; background: var(--surface); border-radius: var(--r-12); padding: 10px 12px; }
.st-lk small { display: block; font-size: var(--fs-12); color: var(--muted); }
.st-lweak { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.st-lweak > em { font-style: normal; font-size: var(--fs-12); font-weight: 600; color: var(--muted); width: 100%; }
.st-wchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 10px 3px 4px; font-size: var(--fs-13); max-width: 100%; }
.st-wchip img { width: 24px; height: 24px; object-fit: contain; border-radius: 50%; background: var(--surface); }
.st-wchip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.st-wchip small { color: var(--muted); }
.st-lacts { display: flex; gap: 8px; flex-wrap: wrap; }
.st-ldetail { border-top: 1px solid var(--line-3); padding-top: 8px; }

/* the settings */
.st-edit { display: grid; gap: 16px; max-width: 980px; }
.st-edit .field { margin-bottom: 12px; }
.st-save { display: flex; justify-content: flex-end; margin-top: 6px; }
.st-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.st-pick-l { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.st-pick-l .lrn-search { flex: none; }
.st-pick-items { max-height: 320px; overflow: auto; border: 1px solid var(--line-3); border-radius: var(--r-12); padding: 6px; }
.st-pi { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-12); cursor: pointer; }
.st-pi:hover { background: var(--surface); }
.st-pi.off { opacity: .6; }
.st-pi span { display: flex; flex-direction: column; min-width: 0; }
.st-pi b { font-size: var(--fs-14); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-pi small { font-size: var(--fs-12); }
.st-pi input, .st-person input, .st-switch input { width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.st-pick-h { display: block; font-size: var(--fs-13); color: var(--ink-3); margin-bottom: 8px; }
.st-order { list-style: none; margin: 0; padding: 6px; border: 1px dashed var(--line-2); border-radius: var(--r-12); min-height: 120px; display: grid; gap: 4px; align-content: start; }
.st-order li { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 8px; background: var(--surface); border-radius: var(--r-12); }
.st-order li b { flex: 1; min-width: 0; font-size: var(--fs-14); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-order .icon-btn { width: 30px; height: 30px; border-radius: var(--r-8); }
.st-order .icon-btn svg { width: 16px; height: 16px; }
.st-order .icon-btn:disabled { opacity: .3; cursor: default; }
.st-order .st-order-empty { background: none; font-size: var(--fs-13); padding: 14px; }
.st-emails { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: var(--fs-14); }
.st-switch { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--surface); border-radius: var(--r-12); cursor: pointer; }
.st-switch span { display: flex; flex-direction: column; }
.st-switch small { font-size: var(--fs-13); }
.st-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; }
.st-person { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-12); border: 1px solid var(--line-3); cursor: pointer; }
.st-person > span:last-child { display: flex; flex-direction: column; min-width: 0; font-size: var(--fs-14); }
.st-person small { font-size: var(--fs-12); overflow: hidden; text-overflow: ellipsis; }
/* the organisation's members in a class: the "Üye" badge, the chips of the class, the picker */
.st-mtag { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 7px; border-radius: var(--r-pill); background: #ece6ff; color: #5a3fc0; font: 700 var(--fs-11, 11px)/1.5 var(--body); letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.st-mtag.left { background: #f1eeea; color: #7a6a55; font-weight: 600; }
h1 .st-mtag { font-size: var(--fs-12); padding: 2px 9px; }
.st-mem-in { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.st-mchip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; border: 1px solid var(--line-3); border-radius: var(--r-12); padding: 5px 4px 5px 6px; background: #fff; }
.st-mchip .st-av { width: 28px; height: 28px; font-size: var(--fs-12); }
.st-mchip > span:not(.st-av) { display: flex; flex-direction: column; min-width: 0; }
.st-mchip b { font-size: var(--fs-14); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-mchip small { font-size: var(--fs-12); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-mchip.left { background: #fbfaf8; border-style: dashed; }
.st-mchip.left b { color: var(--muted); }
.st-mchip .st-mtag { margin-left: 0; }
.st-mchip .icon-btn { width: 30px; height: 30px; flex: none; }
.st-mchip .icon-btn svg { width: 14px; height: 14px; }
.st-mem-empty { margin: 0; font-size: var(--fs-14); }
.st-mem-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.st-mem-tools .lrn-search { flex: 1 1 auto; min-width: 0; max-width: 360px; }
.st-mem-list { max-height: 300px; }
.st-mi .st-av { width: 30px; height: 30px; font-size: var(--fs-12); }
.st-mi > span:not(.st-av) { flex: 1 1 auto; }
.st-mi.in { cursor: default; }
.st-mi.in b { color: var(--muted); }
.st-in { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: var(--fs-12); font-weight: 600; color: #1d7a4f; white-space: nowrap; flex: none; }
.st-in svg { width: 14px; height: 14px; }
.st-mem-save { align-items: center; gap: 12px; }
.st-mem-save .btn svg { width: 16px; height: 16px; }
.st-mem-none { margin: 0; font-size: var(--fs-14); }
.st-danger { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-color: #f3d2cf; }
.st-danger h3 { margin-bottom: 2px; }
.st-danger p { margin: 0; font-size: var(--fs-14); }

@media (max-width: 760px) {
  .st-head-acts, .st-range { justify-content: flex-start; width: 100%; }
  .st-range .chips { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .st-range .chips button { white-space: nowrap; }
  .st-hero { padding: 16px; gap: 14px; }
  .st-kpis { grid-template-columns: 1fr 1fr; min-width: 0; width: 100%; flex: 1 1 100%; }
  .st-hero .st-ring { --s: 92px !important; }
  .st-kpi b { font-size: var(--fs-20); }
  .st-grid, .st-maps, .st-lmaps, .st-cols { grid-template-columns: 1fr; }
  .st-mini { grid-template-columns: 1fr 1fr 1fr; }
  .st-map-k { grid-template-columns: 1fr 1fr; }
  .st-pick { grid-template-columns: 1fr; }
  .st-who { min-width: 150px; max-width: 190px; }
  .st-who small.muted { display: none; }
  .st-mxwrap { max-height: none; }
  .st-steps { grid-template-columns: 1fr; }
  .st-start-t { flex-direction: column; }
  .st-lwho h1 { font-size: var(--fs-24); }
  .st-av.big { width: 48px; height: 48px; font-size: var(--fs-18); }
  .st-mchip { width: 100%; }
  .st-mchip > span:not(.st-av) { flex: 1 1 auto; }
  .st-mem-tools .lrn-search { max-width: none; }
  .st-mem-save { flex-wrap: wrap; }
  .st-mem-save .btn { flex: 1 1 auto; justify-content: center; }
}
