/* Phone view: people join at claude.mindos.hu to post questions and upvote each other's. EU-SOLAR's look, as on the
   projector: the site's section grey as the ground, white panels on hairlines (radius 4, no shadows), the site's blue
   bar along the top, the logo's sun as thick caps and marks only, the site's red for the one action that sends
   (their call-to-action button). Open Sans; Chivo Mono for counts and code. 16px gutters, thumb-sized targets. */
:root {
  --ground: var(--g1); --ink-2: var(--g6); --muted: var(--g5); --rule: var(--g3);
  --lime: var(--sun); --lime-ink: var(--blue-text); --teal: var(--blue-text); --card: var(--paper); --track: var(--g1); --rose: var(--red);
  --r: 4px;
}
html { background: var(--ground); }
body { background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; padding-bottom: calc(78px + env(safe-area-inset-bottom)); border-top: 4px solid var(--blue); }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- the header: mindos | EU-SOLAR, the session's title beside it ---------- */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top .mk { --mk-h: 14px; --mk-gap: 11px; flex: none; color: var(--ink); }
.top .t { display: none; flex: 1; min-width: 0; font-size: 12px; line-height: 1.3; text-align: right; color: var(--g6); overflow: hidden; }
.top .t b { display: none; }
@media (min-width: 560px) { .top .t { display: block; } }
.top .conn { margin-left: auto; }
.top .t span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.langs { display: flex; border: 1px solid var(--ink); border-radius: var(--r); overflow: hidden; flex: none; }
.langs button { font: inherit; font-size: 13px; font-weight: 600; border: 0; background: transparent; color: var(--ink); padding: 6px 10px; min-height: 34px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.conn { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
body.offline .conn { background: var(--red); }

main { padding: 16px; display: grid; gap: 12px; max-width: 640px; margin: 0 auto; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px 16px 18px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.panel.cap { border-top: 0; padding-top: 24px; }
.panel.cap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sun); }
.panel h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
.panel h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.panel p { margin: 0; color: var(--ink-2); }
.panel code { font-family: var(--mono); font-size: .88em; background: var(--g1); border-radius: 2px; padding: 0 .3em; }
.now-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); padding: 2px 2px 0; }
.now-head .blk { font-weight: 700; color: var(--ink); }
.now-head .live { display: inline-flex; align-items: center; gap: 6px; }
.now-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.sub { margin: -6px 0 0; font-size: 15px; color: var(--ink-2) !important; }
.panel > .lede { font-weight: 600; color: var(--ink); }
.hint { font-size: 14px; color: var(--muted); }
.ok-msg { font-size: 15px; color: var(--blue-text); font-weight: 600; }
.err { font-size: 15px; color: var(--red); font-weight: 600; }

/* ---------- inputs and buttons: the send button is the site's red call to action ---------- */
label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
input[type=text], input[type=email], textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--g4); background: var(--paper); color: var(--ink); -webkit-appearance: none; appearance: none; caret-color: var(--blue); }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
::placeholder { color: var(--g5); }
textarea { min-height: 108px; resize: vertical; line-height: 1.45; }
.btn { font: inherit; font-weight: 700; font-size: 16px; border: 0; border-radius: var(--r); padding: 13px 22px; cursor: pointer; background: var(--red); color: #FFFFFF; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:active { background: #B01D23; }
.btn:disabled { opacity: .45; }
.btn.ghost { background: transparent; color: var(--blue-text); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn.block { width: 100%; }
.linkbtn { font: inherit; border: 0; background: none; color: var(--blue-text); font-weight: 600; padding: 10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; justify-self: center; }

/* ---------- votes ---------- */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale button { font: inherit; font-family: var(--mono); font-weight: 500; font-size: 22px; min-height: 54px; border-radius: var(--r); border: 1px solid var(--g4); background: var(--paper); color: var(--ink); cursor: pointer; }
.scale button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.scale-ends { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.choices { display: grid; gap: 8px; }
.choices button { font: inherit; font-weight: 600; text-align: left; padding: 14px 16px; min-height: 54px; border-radius: var(--r); border: 1px solid var(--g4); background: var(--paper); color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 12px; }
.choices button::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--g4); flex: none; }
.choices button[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choices button[aria-pressed="true"]::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px var(--paper); }
.qgroup { display: grid; gap: 8px; }
.qgroup + .qgroup { padding-top: 14px; border-top: 1px solid var(--rule); }

/* anonymous / named */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--g1); border-radius: var(--r); padding: 3px; gap: 3px; }
.seg button { font: inherit; font-size: 14px; font-weight: 600; border: 0; border-radius: 2px; padding: 10px 8px; background: transparent; color: var(--ink-2); cursor: pointer; min-height: 44px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg button:disabled { color: var(--g4); }
.row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row h3 { margin: 0; font-size: 17px; font-weight: 700; }

/* ---------- the questions: hairline cards, a short sun mark, the upvote in the site's blue ---------- */
.sortbar { display: flex; border: 1px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.sortbar button { font: inherit; font-size: 13px; font-weight: 600; border: 0; background: var(--paper); padding: 7px 12px; min-height: 36px; cursor: pointer; color: var(--ink); }
.sortbar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.posts { display: grid; gap: 8px; }
.post { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px 14px 12px; display: grid; gap: 12px; overflow: hidden; }
.post p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.post .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.post .who { font-weight: 600; color: var(--ink-2); }
.post .mine { color: var(--blue-text); font-weight: 600; }
.post.answered { opacity: .6; }
.post.answered::before { background: var(--g3); }
.react { font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r); padding: 8px 12px; min-height: 40px; border: 0; box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--paper); color: var(--blue-text); cursor: pointer; white-space: nowrap; font-variant-numeric: tabular-nums; }
.react[aria-pressed="true"] { background: var(--blue); color: #FFFFFF; }
.badge-ok { color: var(--blue-text); font-weight: 600; }

/* ---------- commands ---------- */
.cmdlist { display: grid; gap: 12px; }
.cmditem { display: grid; gap: 6px; }
.cmditem .lab { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cmdbox { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; background: var(--ink); border-radius: var(--r); overflow: hidden; }
.cmdbox code { display: block; background: none; border: 0; color: #F4F4F4; padding: 12px; font-family: var(--mono); font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.cmdbox.prose { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.cmdbox.prose code { color: var(--ink); font-family: var(--font); font-size: 15px; }
.cmdbox.trap { box-shadow: inset 0 0 0 2px var(--red); }
.cmdbox button { font: inherit; font-size: 13px; font-weight: 600; border: 0; background: var(--g7); color: #FFFFFF; padding: 0 14px; cursor: pointer; min-width: 84px; min-height: 44px; }
.cmdbox.prose button { background: var(--g1); color: var(--blue-text); }
.cmdbox button.done { color: var(--sun); }
.cmdset { display: grid; gap: 8px; min-width: 0; }
.cmdfile { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cmdhead { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cmdnote { margin: 0 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cmdnote.step { color: var(--ink-2); font-weight: 600; }
.cmdbox code a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- lists ---------- */
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 12px 0; border-top: 1px solid var(--rule); }
.steps li:first-child { border-top: 0; padding-top: 2px; }
.steps b { display: block; font-weight: 700; }
.steps span { color: var(--ink-2); font-size: 15px; }
.sched { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sched li { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 10px 10px 10px 12px; border-top: 1px solid var(--rule); font-size: 15px; }
.sched li:first-child { border-top: 0; }
.sched li .tm { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.sched li.brk { color: var(--muted); }
.sched li.cur { background: var(--g1); font-weight: 700; }
.sched li.cur .tm { color: var(--ink); }
.series { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.series li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: baseline; font-size: 15px; }
.series li .n { font-family: var(--mono); font-weight: 500; color: var(--blue-text); }
.series li small { display: block; color: var(--muted); font-size: 13px; }
.series li.cur { font-weight: 700; }
.series .look { display: inline-flex; align-items: center; margin-top: 6px; min-height: 36px; padding: 6px 14px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue-text); font-weight: 600; font-size: 14px; text-decoration: none; }
.countdown { font-family: var(--mono); font-weight: 300; font-size: 56px; line-height: 1; text-align: center; letter-spacing: -.04em; }
.bigq { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
.who-tag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.who-tag::before { content: ""; width: 10px; height: 10px; background: var(--sun); }

/* ---------- join: the two logos, a big hello on a thick sun rule, the form ---------- */
.join-wrap { min-height: calc(100vh - 44px); min-height: calc(100dvh - 44px); display: grid; align-content: center; gap: 18px; }
.join-hero { display: grid; gap: 14px; }
.join-hero .mk { --mk-h: 19px; --mk-gap: 14px; color: var(--ink); margin-bottom: 14px; }
.join-hero h1 { margin: 0; font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; padding-top: 14px; border-top: 6px solid var(--sun); max-width: 12ch; }
.join-hero p { margin: 0; color: var(--ink-2); font-size: 17px; }
.privacy { font-size: 13px !important; color: var(--muted) !important; line-height: 1.5; }
.nudge { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #FFFFFF; border-radius: var(--r); padding: 12px 14px; font-size: 14px; }
.nudge button { margin-left: auto; flex: none; font: inherit; font-weight: 700; border: 0; border-radius: var(--r); background: var(--sun); color: var(--ink); padding: 9px 14px; min-height: 40px; cursor: pointer; }

/* ---------- tabs: the current one is ink with a sun bar over it ---------- */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(var(--tabs, 4), 1fr); background: var(--paper); border-top: 1px solid var(--rule); padding: 0 6px calc(4px + env(safe-area-inset-bottom)); }
.tabs button { position: relative; font: inherit; font-size: 12px; font-weight: 600; border: 0; background: none; color: var(--g5); padding: 9px 2px 6px; display: grid; justify-items: center; gap: 3px; cursor: pointer; min-height: 58px; }
.tabs button svg { width: 24px; height: 24px; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::before { content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 3px; background: var(--sun); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.meet { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 14px 16px; }
.meet div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.meet b { font-size: 16px; }
.meet span { font-size: 14px; color: var(--ink-2); }
.meet .btn { flex: none; min-height: 44px; padding: 10px 16px; }

/* ---------- code examples ---------- */
@media (min-width: 900px) { main.wide { max-width: 940px; } }
.ltabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.ltabs::-webkit-scrollbar { display: none; }
.ltabs button { flex: none; font: inherit; font-size: 14px; font-weight: 600; min-height: 40px; padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.ltabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.codeblk { background: var(--ink); border-radius: var(--r); overflow: hidden; min-width: 0; }
.codeblk .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 12px; border-bottom: 1px solid var(--g7); }
.codeblk .bar span { font-family: var(--mono); font-size: 12px; color: var(--g4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.codeblk .bar button { flex: none; font: inherit; font-size: 13px; font-weight: 600; border: 0; border-radius: 2px; background: var(--g7); color: #FFFFFF; padding: 0 14px; min-height: 36px; min-width: 84px; cursor: pointer; }
.codeblk .bar button.done { color: var(--sun); }
.codeblk pre { margin: 0; padding: 12px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: #F4F4F4; tab-size: 2; }
.codeblk.prose { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.codeblk.prose .bar { border-bottom-color: var(--rule); }
.codeblk.prose .bar span { color: var(--muted); }
.codeblk.prose .bar button { background: var(--g1); color: var(--blue-text); }
.codeblk.prose pre { white-space: pre-wrap; font-family: var(--font); font-size: 15px; color: var(--ink); }
.steps .cell { display: block; font-size: 15px; color: var(--ink-2); }
.steps .cell i { font-style: normal; color: var(--muted); font-size: 13px; }
.steps b.ok, .steps .cell b.ok { display: inline; color: var(--blue-text); }
.steps b.bad, .steps .cell b.bad { display: inline; color: var(--red); }
.steps b.mixed, .steps .cell b.mixed { display: inline; color: var(--amber); }
.codeblk .kw { color: #7FC8EE; }
.codeblk .st { color: #F7C95A; }
.codeblk .nu { color: #F7B727; }
.codeblk .pr { color: #E8D9B0; }
.codeblk .va { color: #F2A3A6; }
.codeblk .ty { color: #A8DCC4; }
.codeblk .fn { color: #FFFFFF; }
.codeblk .cm, .codeblk .cm * { color: #9A9A9A; }
.ltabs .plain { margin-right: 6px; }
.plainbox { display: grid; gap: 12px; }
.plainbox .copycmd { justify-self: start; min-height: 44px; padding: 10px 18px; font-size: 15px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li { position: relative; background: var(--g1); border-radius: var(--r); padding: 11px 14px 11px 40px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.flow li::before { content: ""; position: absolute; left: 15px; top: 17px; width: 12px; height: 12px; background: var(--sun); }
.flow li + li::after { content: ""; position: absolute; left: 20px; top: -10px; width: 2px; height: 10px; background: var(--g4); }
.flow li.branch::before { background: var(--blue); }
.flow code { font-family: var(--mono); font-size: .88em; background: var(--paper); border-radius: 2px; padding: 0 .3em; }

/* ---------- pictures, films and live scenes ---------- */
.panel figure.media { margin: 0; display: grid; gap: 8px; }
.panel figure.media .mbox { position: relative; }
.panel figure.media img, .panel figure.media video, .panel figure.media .msvg { display: block; width: 100%; height: auto; border-radius: 2px; color: var(--ink); }
.panel figure.media .mscene { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--rule); background: var(--paper); }
.panel figure.media .mscene-player { position: absolute; inset: 0; }
.mscene clipPath, .mscene clipPath * { visibility: visible; }
.panel figure.media figcaption { font-size: 13px; color: var(--muted); }
.panel figure.media.zoom { position: fixed; inset: 0; z-index: 60; padding: 16px; background: var(--paper); overflow: auto; align-content: center; }
.panel figure.media.zoom .msvg { width: max(100%, 900px); }
body.media-zoom { overflow: hidden; }
.dg .n, .dg [class*="n-"], .dg .l, .dg [class*="l-"] { fill: none; stroke: currentColor; stroke-width: 2; } .dg text { fill: currentColor; }

/* ---------- a guess: choose an answer, then see the finding and how you did ---------- */
.revealed { display: grid; gap: 8px; margin-top: 14px; }
.revealed .opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; min-height: 48px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--paper); font-size: 15px; line-height: 1.3; }
.revealed .opt.right { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); font-weight: 700; }
.revealed .opt.right b { color: var(--blue-text); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.revealed .opt.mine:not(.right) { border-color: var(--ink); }

/* terminal slides: the recording, played on a tap */
.term { --term-bg: #231F20; --term-fg: #F4F4F4; --term-cursor: #F7B727; --term-font: 'Chivo Mono', Menlo, monospace; margin-top: 12px; }
.termbox { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--term-bg); border-radius: var(--r); }
.termscale { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.termscale .xterm { padding: 8px; background: var(--term-bg); }
.termscale .xterm .xterm-viewport, .termscale .xterm .xterm-scrollable-element { background: var(--term-bg) !important; }
.termstat { margin: 8px 0 0; font: 500 13px / 1.3 var(--mono); color: var(--g6); cursor: pointer; }

/* links in slide text */
table a, .panel p a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
