/* PM yillik hisobot 2026 — dark premium deck on a 1920×1080 canvas (reveal.js scales it) */
:root {
  --bg: #0F1E4A;
  --panel: #172B63;
  --panel2: #1C3373;
  --line: rgba(255, 255, 255, .10);
  --line2: rgba(255, 255, 255, .14);
  --ink: #EEF2FF;
  --ink2: #C3CBE6;
  --mute: #A3AECF;
  --acc: #3362FF;
  --acc-ink: #7C9BFF;      /* accent for small text on navy (contrast) */
  --ok: #2BC48A;
  --warn: #F2B53A;
  --bad: #F0524A;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --head: "Inter Tight", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

html, body { background: var(--bg); }
/* ambient background: soft light + a huge translucent Webase mark that drifts (behind the slides) */
.bgfx { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(1100px 760px at 78% 28%, rgba(51, 98, 255, .22), transparent 62%),
              radial-gradient(900px 700px at 8% 100%, rgba(51, 98, 255, .12), transparent 60%), var(--bg); }
.bgfx .wrap { position: absolute; right: -8vw; top: 50%; width: 78vw; transform: translateY(-50%); }
.bgfx .mark { color: #3362FF; opacity: .1; }
.bgfx .mark svg { display: block; width: 100%; height: auto; }
.reveal { z-index: 1; }
.reveal-viewport { background: transparent; }
html.print-pdf .bgfx { display: none; }
.reveal { font-family: var(--body); font-size: 28px; color: var(--ink); }
.reveal .slides { text-align: left; }
.reveal .slides section { height: 1080px; padding: 0 !important; box-sizing: border-box; }
.reveal a { color: var(--acc-ink); text-decoration: underline; text-decoration-color: rgba(124, 155, 255, .4); text-underline-offset: 4px; }
.reveal a:hover { text-decoration-color: var(--acc-ink); }
.reveal ::selection { background: rgba(51, 98, 255, .45); }

/* frame shared by content slides */
.frame { position: absolute; inset: 0; padding: 84px 104px 0; display: flex; flex-direction: column; }
.kicker { font: 500 20px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc-ink); display: flex; gap: 18px; align-items: center; }
.kicker .n { color: var(--mute); }
.title { margin: 20px 0 0; font: 700 72px/1.06 var(--head); letter-spacing: -.012em; color: var(--ink); max-width: 1600px; }
.body { flex: 1; position: relative; margin-top: 48px; }
.foot { position: absolute; left: 104px; right: 150px; bottom: 44px; display: flex; align-items: center; gap: 28px;
  font: 400 18px/1.3 var(--body); color: var(--mute); }
.foot .src { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot .src { flex: 1; }
.foot .logo { height: 18px; opacity: .9; }
.foot .num { font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.num-tab { font-variant-numeric: tabular-nums; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.label { font: 500 20px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; flex: none; }
.ok { --c: var(--ok); } .warn { --c: var(--warn); } .bad { --c: var(--bad); } .acc { --c: var(--acc); } .mute { --c: var(--mute); }
.dot { background: var(--c, var(--ok)); }
.ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(51, 98, 255, .14); color: var(--acc-ink); border: 1px solid rgba(124, 155, 255, .25); }
.ic svg { width: 32px; height: 32px; }

/* ---------- 1. cover / 15. end ---------- */
.cover { position: absolute; inset: 0; padding: 110px 104px; display: flex; flex-direction: column; }
.cover .logo { height: 34px; align-self: flex-start; }
.cover .big { margin-top: 210px; font: 800 150px/.98 var(--head); letter-spacing: -.028em; }
.cover .big .y { color: var(--acc); display: inline-block; }
.cover .who { margin-top: 44px; display: flex; gap: 56px; font: 400 30px/1.3 var(--body); color: var(--ink2); }
.cover .who b { display: block; font: 500 17px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.cover .rule { height: 1px; background: var(--line2); margin-top: auto; transform-origin: left center; }
.cover .meta { margin-top: 22px; display: flex; justify-content: space-between; font: 400 18px/1 var(--mono); color: var(--mute); letter-spacing: .08em; }

/* ---------- 2. projects ---------- */
.projects { display: grid; grid-template-columns: 1.65fr 1fr; gap: 32px; height: 680px; }
.projects .card { padding: 40px 44px; }
.p-head { display: flex; gap: 22px; align-items: center; margin-bottom: 34px; }
.p-head h3 { margin: 0; font: 700 40px/1.1 var(--head); letter-spacing: -.02em; }
.p-head p { margin: 6px 0 0; color: var(--mute); font-size: 22px; }
.mods { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(8, auto); column-gap: 40px; row-gap: 22px; }
.mod { display: grid; grid-template-columns: 136px 1fr; gap: 16px; align-items: baseline; font-size: 26px; line-height: 1.3; color: var(--ink2); }
.mod b { font: 600 21px/1.3 var(--mono); color: var(--acc-ink); }
.list { margin: 0; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 30px; margin-bottom: 22px; font-size: 27px; line-height: 1.35; color: var(--ink2); }
.list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }

/* ---------- 3. modules ---------- */
.mods-done { display: grid; grid-template-columns: 500px 1fr; gap: 56px; height: 680px; }
.hero { padding: 48px; display: flex; flex-direction: column; background: var(--acc); border-color: transparent; color: #fff; }
.hero .n { font: 800 260px/.85 var(--head); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero .t { font-size: 32px; line-height: 1.25; margin-top: 18px; }
.hero .t.big { margin-top: 0; font: 700 56px/1.08 var(--head); letter-spacing: -.015em; }
.hero .s { margin-top: 56px; display: grid; gap: 16px; font-size: 24px; line-height: 1.3; color: #fff; }
.hero .s span { display: flex; gap: 12px; align-items: center; }
.hero .s .dot { width: 12px; height: 12px; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 28px 1fr 400px; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 25px; line-height: 1.3; color: var(--ink2); }
.row .st { font: 600 22px/1.25 var(--body); color: var(--c); text-align: right; }

/* ---------- 4. cyber ---------- */
.cyber { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 32px 48px; height: 680px; }
.cyber .mods6 { grid-column: 1 / -1; padding: 36px 44px; display: flex; gap: 44px; align-items: center; }
.cyber .shield { width: 120px; height: 120px; }
.cyber .shield svg { width: 54px; height: 54px; }
.grid6 { flex: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px 36px; }
.chip { font-size: 25px; color: var(--ink2); display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: baseline; }
.chip b { font: 600 21px/1 var(--mono); color: var(--acc-ink); }
.stages { position: relative; padding-top: 20px; }
.stages svg { width: 100%; height: 200px; overflow: visible; }
.stages text { font: 600 22px var(--body); fill: var(--ink2); }
.stages .done-tag { margin-top: 28px; font: 600 28px var(--body); color: var(--ok); display: flex; gap: 14px; align-items: center; }
.vulns { padding: 40px 44px; }
.vulns .list li { font-size: 28px; margin-bottom: 26px; }
.vulns h4 { margin: 0 0 24px; }

/* ---------- 5. docs ---------- */
.docs { display: grid; grid-template-columns: 420px 1fr; gap: 56px; height: 680px; }
.docs .hero .n { font-size: 230px; }
.docs .types { margin-top: 56px; display: grid; gap: 12px; font-size: 24px; color: #fff; }
.matrix { width: 100%; border-collapse: collapse; }
.matrix th { font: 500 18px/1.25 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--mute); text-align: center; padding: 0 8px 18px; font-weight: 500; }
.matrix th:first-child { text-align: left; padding-left: 0; }
.matrix td { vertical-align: middle; }
.matrix td { border-top: 1px solid var(--line); height: 70px; text-align: center; font-size: 24px; color: var(--ink2); }
.matrix td:first-child { text-align: left; }
.matrix td.date { font: 400 20px var(--mono); color: var(--mute); }
.tick { width: 34px; height: 34px; display: block; margin: 0 auto; }
.tick path { fill: none; stroke: var(--ok); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 6–7. production ---------- */
.prod { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 28px; height: 680px; }
.prod .card { padding: 36px 38px; display: flex; flex-direction: column; }
.prod .code { font: 700 36px/1.1 var(--head); color: var(--acc-ink); letter-spacing: -.01em; }
.prod .sub { margin-top: 10px; }
.prod p { margin: 26px 0 0; font-size: 24px; line-height: 1.45; color: var(--ink2); }

/* ---------- 8 / 13. icon items ---------- */
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 54px 72px; }
.item { display: flex; gap: 28px; align-items: flex-start; }
.item h4, .vulns h4 { margin: 4px 0 10px; font: 700 33px/1.2 var(--head); letter-spacing: -.01em; color: var(--ink); }
.item p { margin: 0; font-size: 26px; line-height: 1.45; color: var(--ink2); }
.items:not(.tips) { height: 680px; align-content: space-evenly; row-gap: 40px; }
.tips { gap: 32px; grid-auto-rows: 320px; }
.tips .item { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 48px 48px; flex-direction: column; gap: 30px; }
.tips .item h4 { font-size: 36px; margin-bottom: 14px; }
.tips .item p { font-size: 26px; }

/* ---------- 9. problems ---------- */
.probs { display: flex; flex-direction: column; gap: 22px; }
.prob { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 40px; padding: 36px 44px; align-items: start; }
.prob .i { font: 700 44px/1 var(--head); color: var(--acc); font-variant-numeric: tabular-nums; }
.prob h4 { margin: 0; font: 700 30px/1.3 var(--head); }
.prob p { margin: 0; font-size: 24px; line-height: 1.45; color: var(--ink2); }
.prob .label { margin-bottom: 10px; }

/* ---------- 10. sprints ---------- */
.sprints { display: grid; grid-template-columns: 1fr 380px; gap: 64px; height: 680px; }
.chart svg { width: 100%; height: 590px; overflow: visible; }
.chart .ax { font: 400 20px var(--body); fill: var(--mute); }
.chart .grid { stroke: var(--line); }
.legend { display: flex; gap: 36px; margin-top: 14px; font-size: 21px; color: var(--ink2); }
.legend span { display: flex; gap: 12px; align-items: center; }
.legend i { width: 18px; height: 18px; border-radius: 4px; display: inline-block; }
.stats { display: flex; flex-direction: column; gap: 30px; padding-top: 0; }
.stat .v { font: 800 78px/1 var(--head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--c); }
.stat .l { margin-top: 8px; font-size: 22px; line-height: 1.35; color: var(--ink2); }

/* ---------- 11. meetings ---------- */
.meet { display: grid; grid-template-columns: 1fr 640px; gap: 64px; height: 680px; }
.hbars { display: flex; flex-direction: column; gap: 23px; padding-top: 6px; }
.hbar { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: center; font-size: 22px; color: var(--ink2); }
.hbar .name { text-align: right; }
.hbar .track { position: relative; height: 34px; }
.hbar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); border-radius: 4px; transform-origin: left center; }
.hbar .val { position: absolute; top: 50%; transform: translateY(-50%); font: 600 22px var(--mono); color: var(--ink); padding-left: 14px; }
.hl { display: flex; flex-direction: column; gap: 18px; }
.hl .card { padding: 26px 32px; }
.hl b { display: block; font: 600 20px/1.2 var(--mono); color: var(--acc-ink); margin-bottom: 8px; letter-spacing: .02em; }
.hl p { margin: 0; font-size: 23px; line-height: 1.4; color: var(--ink2); }

/* ---------- 12. monthly ---------- */
.monthly { display: grid; grid-template-columns: 1fr 640px; gap: 56px; height: 680px; }
.mtable { width: 100%; border-collapse: collapse; }
.mtable th { font: 500 18px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); text-align: center; padding: 0 0 18px; font-weight: 500; }
.mtable th:first-child { text-align: left; }
.mtable th:nth-child(n+3), .mtable td:nth-child(n+3) { width: 112px; }
.mtable td { border-top: 1px solid var(--line); height: 72px; text-align: center; font-size: 23px; color: var(--ink2); }
.mtable td:first-child, .mtable td:nth-child(2), .mtable th:nth-child(2) { text-align: left; }
.mtable td:nth-child(2) { padding-right: 24px; line-height: 1.3; }
.mtable td.mo { width: 110px; font: 600 20px var(--mono); color: var(--mute); letter-spacing: .02em; }
.mdot { position: relative; display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--c); vertical-align: middle; }
.mdot .ring { position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--bad); opacity: 0; }
.mlegend { margin-top: 26px; display: flex; gap: 34px; font-size: 21px; color: var(--mute); }
.mlegend span { display: flex; gap: 10px; align-items: center; }
.why { padding: 36px 40px; }
.why h4 { margin: 0 0 22px; font: 700 30px/1.2 var(--head); }
.why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.why li { font-size: 22px; line-height: 1.4; color: var(--ink2); display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.why li .dot { margin-top: 6px; }
.why li b { color: var(--ink); }
.quote { margin-top: 22px; padding: 30px 40px; font-size: 23px; line-height: 1.45; color: var(--ink2); }
.quote b { color: var(--ink); display: block; margin-bottom: 8px; }
.quote q { font-style: italic; quotes: none; }
.quote q::before { content: "\201C"; display: block; font: 800 64px/.6 var(--head); color: var(--acc); margin: 12px 0 6px; font-style: normal; }

/* ---------- 14. plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; height: 680px; }
.plans .card { padding: 40px 40px; display: flex; flex-direction: column; }
.plans .p-head { margin-bottom: 30px; }
.plans .p-head h3 { font-size: 34px; }
.plans .list li { font-size: 26px; margin-bottom: 18px; }
.tl { margin-top: 30px; }
.tl svg { width: 100%; height: 120px; overflow: visible; }
.tl text { font: 500 20px var(--mono); fill: var(--mute); }

/* reveal chrome */
.reveal .progress { height: 4px; color: var(--acc); background: rgba(255, 255, 255, .06); }
.reveal .controls { color: var(--acc-ink); transition: opacity .4s; }
body.idle .reveal .controls { opacity: 0; }
/* logout: top-right, fades out with the nav arrows while presenting */
.topbar { position: fixed; top: 18px; right: 20px; z-index: 40; display: flex; gap: 10px; align-items: flex-start; transition: opacity .4s; }
.logout, .dl summary, .dsg { display: flex; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer; list-style: none;
  font: 500 14px/1 var(--body); color: var(--ink2); text-decoration: none; background: rgba(15, 30, 74, .72);
  border: 1px solid var(--line2); border-radius: 9px; transition: color .2s, border-color .2s; }
.dl summary::-webkit-details-marker { display: none; }
.logout:hover, .dl summary:hover, .dl[open] summary, .dsg:hover { color: #fff; border-color: var(--acc); }
.dl summary { background: var(--acc); border-color: var(--acc); color: #fff; }
.dl summary:hover, .dl[open] summary { background: #4A74FF; }
.logout svg, .dl summary svg, .dsg svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl { position: relative; }
.dl .menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px; background: #13255A; border: 1px solid var(--line2);
  border-radius: 10px; box-shadow: 0 18px 40px rgba(5, 12, 35, .5); }
.dl .menu a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 7px; font: 500 14px/1 var(--body); color: var(--ink); text-decoration: none; }
.dl .menu a span { color: var(--mute); font-family: var(--mono); font-size: 13px; }
.dl .menu a:hover { background: rgba(51, 98, 255, .22); }
body.idle .topbar:not(:has(details[open])) { opacity: 0; }
html.print-pdf .topbar { display: none; }

/* print / pdf: everything in final state */
html.print-pdf .reveal .slides section { background: var(--bg) !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal .slides section { transition: opacity .3s !important; }
}

/* export mode: still frames without UI chrome */
html.export .topbar, html.export .reveal .controls, html.export .reveal .progress { display: none !important; }

/* ===== design "kod" (default): code-character background, glass cards, gold accents ===== */
#fxc { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
html[data-design="kod"] .bgfx .wrap { display: none; }
html[data-design="kod"] .card { background: rgba(18, 36, 88, .58); border-color: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 44px rgba(5, 12, 35, .35); }
html[data-design="kod"] .hero { background: rgba(51, 98, 255, .86); }
html[data-design="kod"] .kicker .n { color: #E9B949; }
html[data-design="kod"] .cover .who b, html[data-design="kod"] .cover .meta span:first-child { color: #E9B949; }
html[data-design="kod"] .cover .who > div:first-child { color: #F3D27A; }
html[data-design="kod"] .mtable td, html[data-design="kod"] .matrix td, html[data-design="kod"] .row { border-color: rgba(255, 255, 255, .12); }
.dsg { font: 500 14px/1 var(--body); }
.dsg span { min-width: 52px; text-align: left; }

/* tabs: «Vosiqov Shoxrux» (index.html) and «All · Madaniyat» (all.html) */
.tabs { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; gap: 4px; padding: 4px;
  background: rgba(15, 30, 74, .72); border: 1px solid var(--line2); border-radius: 11px; transition: opacity .4s; }
.tabs a { padding: 7px 16px; font: 500 14px/1 var(--body); color: var(--ink2); text-decoration: none; border-radius: 8px; white-space: nowrap; }
.tabs a:hover { color: #fff; }
.tabs a.on { background: var(--acc); color: #fff; }
body.idle .tabs { opacity: 0; }
html.export .tabs, html.print-pdf .tabs { display: none; }
@media (max-width: 760px) { .tabs { top: 60px; left: 12px; transform: none; } }

/* ===== motion + background from the reference deck (both tabs) ===== */
:root { --ease2: cubic-bezier(.16, 1, .3, 1); }
/* slides change with blur + zoom */
html:not(.export):not(.print-pdf) .reveal .slides > section:not([data-transition="none"]) {
  transition: opacity .9s var(--ease2), transform 1.1s var(--ease2), filter .9s var(--ease2), visibility 0s !important; }
html:not(.export):not(.print-pdf) .reveal .slides > section.future:not([data-transition="none"]) { transform: scale(1.04) !important; filter: blur(14px); }
html:not(.export):not(.print-pdf) .reveal .slides > section.past:not([data-transition="none"]) { transform: scale(.94) translateY(-20px) !important; filter: blur(14px); }
@media (prefers-reduced-motion: reduce) { .reveal .slides > section { filter: none !important; transform: none !important; } }
/* «2026» on the cover: moving gradient sheen */
.cover .big .y { background: linear-gradient(90deg, #5B8CFF, #A970FF 35%, #FF4D94 65%, #2DD4BF, #5B8CFF); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; padding-bottom: .04em; }
html.export .cover .big .y { animation: none; }
@keyframes sheen { to { background-position: -200% 0; } }

/* ===== design list (Kod · Klassik · Jonli) ===== */
.dsgm { position: relative; }
.dsgm summary { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 14px; cursor: pointer; list-style: none; font: 500 14px/1 var(--body); color: var(--ink2);
  background: rgba(15, 30, 74, .72); border: 1px solid var(--line2); border-radius: 9px; transition: color .2s, border-color .2s; }
.dsgm summary::-webkit-details-marker { display: none; }
.dsgm summary:hover, .dsgm[open] summary { color: #fff; border-color: var(--acc); }
.dsgm summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dsgm summary span { min-width: 52px; }
.dsgm summary .chev { width: 14px; height: 14px; transition: transform .2s; } .dsgm[open] summary .chev { transform: rotate(180deg); }
.dsgm .menu { position: absolute; left: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; background: #13255A; border: 1px solid var(--line2);
  border-radius: 10px; box-shadow: 0 18px 40px rgba(5, 12, 35, .5); display: flex; flex-direction: column; }
.dsgm .menu button { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 12px; border: 0; border-radius: 7px; background: none;
  font: 500 14px/1 var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.dsgm .menu button span { color: var(--mute); font: 400 12px var(--mono); }
.dsgm .menu button:hover { background: rgba(51, 98, 255, .22); }
.dsgm .menu button.on { background: rgba(51, 98, 255, .32); }
.dsgm .menu button.on::after { content: "✓"; color: var(--acc-ink); margin-left: auto; }
body.idle .topbar:not(:has(details[open])) { opacity: 0; }

/* ===== design «Jonli»: the slide is being built live in a design editor ===== */
html[data-design="jonli"] .bgfx { background:
  radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.4px) 0 0 / 24px 24px, var(--bg); }
html[data-design="jonli"] .bgfx .wrap { display: none; }
html[data-design="jonli"] body::before, html[data-design="jonli"] body::after { content: ""; position: fixed; z-index: 3; pointer-events: none; background-color: rgba(10, 20, 52, .92); }
html[data-design="jonli"] body::before { left: 0; right: 0; top: 0; height: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 100px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 10px);
  background-size: 100% 18px, 100% 6px; background-position: 0 0, 0 12px; background-repeat: no-repeat, repeat-x; }
html[data-design="jonli"] body::after { left: 0; top: 18px; bottom: 0; width: 18px; border-right: 1px solid rgba(255, 255, 255, .12);
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 100px), repeating-linear-gradient(180deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 10px);
  background-size: 18px 100%, 6px 100%; background-position: 0 0, 12px 0; background-repeat: no-repeat, repeat-y; }
html[data-design="jonli"] .card { background: rgba(20, 38, 92, .82); }
.lv-badge { position: fixed; left: 34px; top: 30px; gap: 10px; z-index: 40; display: none; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 8px;
  font: 500 13px var(--mono); color: var(--ink2); background: rgba(10, 20, 52, .85); border: 1px solid var(--line2); }
.lv-badge i { width: 9px; height: 9px; border-radius: 50%; background: #F0524A; box-shadow: 0 0 0 0 rgba(240, 82, 74, .6); animation: lvrec 1.6s infinite; }
@keyframes lvrec { 70% { box-shadow: 0 0 0 9px rgba(240, 82, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 82, 74, 0); } }
body.idle .lv-badge { opacity: .55; }
.lv-cursor, .lv-sel, .lv-click { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 60; opacity: 0; }
html[data-design="jonli"] .lv-cursor { opacity: 1; }
.lv-cursor svg { width: 30px; height: 30px; display: block; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45)); }
.lv-cursor span { position: absolute; left: 24px; top: 26px; padding: 4px 9px; border-radius: 6px; background: #3D7BFF; color: #fff; font: 600 14px var(--body); white-space: nowrap; }
.lv-sel { border: 2px solid #3D7BFF; background: rgba(61, 123, 255, .08); }
.lv-sel i { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid #3D7BFF; }
.lv-sel .tl { left: -6px; top: -6px; } .lv-sel .tr { right: -6px; top: -6px; } .lv-sel .bl { left: -6px; bottom: -6px; } .lv-sel .br { right: -6px; bottom: -6px; }
.lv-dim { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); padding: 3px 8px; border-radius: 5px; background: #3D7BFF; color: #fff;
  font: 600 13px var(--mono); white-space: nowrap; }
.lv-click { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid #3D7BFF; }
html.export .lv-cursor, html.export .lv-sel, html.export .lv-click, html.export .lv-badge { display: none !important; }
/* two live cursors: frame, handles, size tag and click ring take the person's colour */
.lv-sel { border-color: var(--lc, #3D7BFF); background: color-mix(in srgb, var(--lc, #3D7BFF) 8%, transparent); }
.lv-sel i { border-color: var(--lc, #3D7BFF); } .lv-dim { background: var(--lc, #3D7BFF); } .lv-click { border-color: var(--lc, #3D7BFF); }
.lv-cursor span { background: var(--lc, #3D7BFF); }
.lv-cursor svg path { stroke: #fff; }
/* design button: icon only (the name is for screen readers / tooltip) */
.dsgm summary { padding: 8px 10px; }
.dsgm summary .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dsgm .menu { left: auto; right: 0; }
/* «Jonli» extras: layer name, smart guides, cursor chat, avatar stack + save status, tool panel */
.lv-layer { position: absolute; left: -2px; top: -28px; padding: 2px 7px; border-radius: 4px 4px 4px 0; background: var(--lc, #3D7BFF); color: #fff;
  font: 600 13px var(--body); font-style: normal; white-space: nowrap; }
.lv-gv, .lv-gh { position: absolute; left: 0; top: 0; z-index: 55; pointer-events: none; opacity: 0; background: #FF3EA5; }
.lv-gv { width: 1px; height: 1080px; } .lv-gh { height: 1px; width: 1920px; }
.lv-chat { position: absolute; left: 30px; top: 58px; padding: 9px 14px; border-radius: 4px 16px 16px 16px; background: var(--lc, #3D7BFF); color: #fff;
  font: 600 18px var(--body); white-space: nowrap; quotes: none; opacity: 0; transform-origin: 0 0; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.lv-badge .rec { width: 9px; height: 9px; border-radius: 50%; background: #F0524A; animation: lvrec 1.6s infinite; }
.lv-badge > i:not(.rec) { display: none; }
.lv-av { display: flex; margin-left: 4px; }
.lv-av b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 10px var(--body); color: #fff; background: var(--lc);
  border: 2px solid #0A1434; margin-left: -6px; } .lv-av b:first-child { margin-left: 0; }
.lv-st { color: var(--ok); font: 500 12px var(--mono); padding-left: 10px; border-left: 1px solid var(--line2); }
.lv-st.saving { color: var(--mute); }
.lv-st.saving::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; border: 2px solid var(--mute);
  border-top-color: transparent; vertical-align: -1px; animation: lvspin .8s linear infinite; }
@keyframes lvspin { to { transform: rotate(360deg); } }
.lv-tools { position: fixed; left: 28px; top: 50%; transform: translateY(-50%); z-index: 40; display: none; flex-direction: column; gap: 4px; padding: 6px;
  background: rgba(10, 20, 52, .9); border: 1px solid var(--line2); border-radius: 12px; }
.lv-tools button { width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--ink2); display: grid; place-items: center; cursor: default; }
.lv-tools button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lv-tools button.on { background: #3D7BFF; color: #fff; }
body.idle .lv-tools { opacity: .55; }
html.export .lv-tools, html.export .lv-gv, html.export .lv-gh { display: none !important; }
/* «Jonli»: slides change with a plain fade (no zoom), like switching frames in an editor */
html[data-design="jonli"] .reveal .slides > section.future, html[data-design="jonli"] .reveal .slides > section.past { transform: none !important; filter: none !important; }
/* sprints: closed-in-sprint mark and % above each bar (both tabs) */
.chart .bm { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.chart .bpct { font: 700 17px var(--mono); }
.chart .bpct.ok { fill: #2BC48A; } .chart .bpct.warn { fill: #F2B53A; } .chart .bpct.bad { fill: #F0524A; }
.legend i.lm { width: 22px; height: 3px; border-radius: 2px; background: #fff; }
.chart .bcnt { font: 600 14px var(--mono); fill: #C3CBE6; }
