/* CEROP deck. Light only (prints the same as it shows). Uses the site tokens. */
@import "../assets/css/tokens.css";

:root, :root[data-theme] { color-scheme: light; }
html, body { background: #f8f9fc; }
.reveal { font-family: var(--font); color: #0f172a; font-size: 40px; }
.reveal .slides { text-align: left; }
.reveal .slides section { height: 100%; padding: 70px 90px; box-sizing: border-box; display: flex !important; flex-direction: column; }
.reveal .slides section.center { justify-content: center; }
.reveal h1, .reveal h2, .reveal h3 { font-family: var(--font); color: #0f172a; text-transform: none; letter-spacing: -0.02em; margin: 0 0 24px; line-height: 1.12; text-shadow: none; }
.reveal h1 { font-size: 96px; font-weight: 700; }
.reveal h2 { font-size: 64px; font-weight: 700; }
.reveal h3 { font-size: 34px; font-weight: 650; }
.reveal h1 em, .reveal h2 em { font-family: var(--serif); font-weight: 500; }
.reveal p, .reveal li { line-height: 1.45; color: #334155; }
.reveal ul { margin: 0 0 0 1em; }
.reveal li { margin-bottom: 14px; }
.reveal a { color: #2563eb; }
.reveal b, .reveal strong { color: #0f172a; }
.reveal .eyebrow { font: 600 22px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #2563eb; margin-bottom: 26px; display: block; }
.reveal .lede { font-size: 40px; color: #475569; max-width: 30ch; }
.reveal .muted { color: #5f6b7e; }
.reveal .small { font-size: 30px; }
.reveal .src { font-size: 19px; color: #5f6b7e; margin-top: auto; padding-top: 18px; }
.reveal .src code { font-family: var(--mono); font-size: 18px; background: #eef1f7; padding: 1px 6px; border-radius: 5px; }
.reveal .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.reveal .cols.w { grid-template-columns: 1.25fr 1fr; }
.reveal .card { background: #fff; border: 1px solid rgba(15,23,42,0.1); border-radius: 18px; padding: 30px 34px; }
.reveal .card h3 { margin-bottom: 10px; }
.reveal .card p { margin: 0; font-size: 32px; }
.reveal .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 18px 0; }
.reveal .tile { background: #fff; border: 1px solid rgba(15,23,42,0.1); border-radius: 16px; padding: 24px 28px; }
.reveal .tile .k { font-size: 22px; color: #5f6b7e; }
.reveal .tile .v { font: 600 58px/1.1 var(--mono); color: #0f172a; margin-top: 6px; letter-spacing: -0.02em; }
.reveal .tile .m { font-size: 21px; color: #475569; margin-top: 6px; }
.reveal .callout { border-left: 5px solid #2563eb; background: rgba(37,99,235,0.07); padding: 20px 26px; border-radius: 0 14px 14px 0; font-size: 28px; color: #334155; }

/* confusion matrix */
.reveal .cm { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; font-size: 22px; max-width: 760px; }
.reveal .cm .h { color: #5f6b7e; text-align: center; align-self: end; }
.reveal .cm .v { color: #5f6b7e; text-align: right; align-self: center; padding-right: 10px; }
.reveal .cm .c { border-radius: 14px; padding: 18px 22px; background: #eef1f7; }
.reveal .cm .c b { display: block; font: 600 46px/1.15 var(--mono); }
.reveal .cm .c span { color: #475569; }
.reveal .cm .c.hit { box-shadow: inset 0 0 0 2.5px var(--series-1); }
.reveal .cm .c.miss { box-shadow: inset 0 0 0 2.5px var(--series-2); }

/* tables */
.reveal table { border-collapse: collapse; width: 100%; font-size: 26px; margin: 0; }
.reveal table th { text-align: left; font-size: 19px; color: #5f6b7e; font-weight: 600; border-bottom: 2px solid #cbd2df; padding: 10px 14px 10px 0; }
.reveal table td { border-bottom: 1px solid #e3e6ee; padding: 12px 14px 12px 0; }
.reveal table td.n, .reveal table th.n { font-family: var(--mono); text-align: right; }
.reveal table tr.hl td { font-weight: 600; background: rgba(37,99,235,0.06); }

/* pipeline */
.reveal .pipe { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: p; }
.reveal .pipe li { counter-increment: p; background: #fff; border: 1px solid rgba(15,23,42,0.1); border-radius: 16px; padding: 24px; margin: 0; font-size: 24px; }
.reveal .pipe li::before { content: counter(p, decimal-leading-zero); font: 600 18px var(--mono); color: #2563eb; display: block; margin-bottom: 6px; }
.reveal .pipe li b { display: block; font-size: 30px; color: #0f172a; margin-bottom: 4px; }
.reveal .pipe li:last-child { background: rgba(37,99,235,0.07); }

/* charts (drawn by site.js) */
.reveal .chart { position: relative; }
.reveal .chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.reveal .chart .grid-line { stroke: var(--grid); stroke-width: 1; }
.reveal .chart .axis { stroke: var(--axis); stroke-width: 1; }
.reveal .chart text { fill: #5f6b7e; font: 12px var(--mono); }
.reveal .chart text.lab { fill: #475569; font: 13px var(--font); }
.reveal .chart text.val { fill: #0f172a; font: 600 12px var(--mono); }
.reveal .chart .tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid #cbd2df; border-radius: 8px; padding: 8px 12px; font-size: 18px; opacity: 0; transform: translate(-50%, -110%); white-space: nowrap; }
.reveal .chart .tip.on { opacity: 1; }
.reveal .legend { display: flex; gap: 28px; list-style: none; margin: 12px 0 0; padding: 0; font-size: 22px; color: #475569; }
.reveal .legend li { margin: 0; }
.reveal .legend i { display: inline-block; width: 16px; height: 16px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; }
.reveal details.table-view { display: none; }
.reveal .slider-wrap { font-size: 22px; }
.reveal .slider-wrap input { width: 100%; accent-color: #2563eb; }
.reveal .readout b { font-family: var(--mono); }

/* SHAP case */
.reveal .why { font-size: 26px; }
.reveal .why .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.reveal .why .big { font: 600 54px/1 var(--mono); color: #0f172a; }
.reveal .why table { font-size: 25px; }
.reveal .why td { padding: 7px 10px 7px 0; }
.reveal .why td.bar { width: 34%; }
.reveal .why td.pts { width: 90px; text-align: right; font-family: var(--mono); }
.reveal .why tr.rest td { color: #5f6b7e; }
.reveal .why tr.end td { font-weight: 600; }
.reveal .cbar { position: relative; height: 14px; }
.reveal .cbar::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: #c3c8d4; }
.reveal .cbar i { position: absolute; top: 0; height: 14px; border-radius: 4px; }
.reveal .cbar i.up { left: 50%; background: var(--series-2); }
.reveal .cbar i.down { right: 50%; background: var(--series-1); }

/* shots + qr */
.reveal .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.reveal .shots img { width: 100%; border-radius: 14px; border: 1px solid rgba(15,23,42,0.12); box-shadow: 0 16px 40px rgba(15,23,42,0.12); margin: 0; }
.reveal .qr { display: flex; gap: 28px; align-items: center; margin-top: 34px; }
.reveal .qr #qr { background: #fff; padding: 12px; border-radius: 12px; border: 1px solid rgba(15,23,42,0.1); }
.reveal .qr #qr img, .reveal .qr #qr canvas { display: block; margin: 0; }
.reveal .team { list-style: none; margin: 0; padding: 0; }
.reveal .team li { display: flex; justify-content: space-between; border-bottom: 1px solid #e3e6ee; padding: 12px 0; margin: 0; font-size: 28px; }
.reveal .team li span { color: #5f6b7e; font-size: 22px; }
.reveal .links { display: grid; grid-template-columns: 1fr; gap: 10px; font-size: 28px; }
.reveal .brandline { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; }
.reveal .brandline img { width: 64px; height: 64px; margin: 0; }
.reveal .brandline b { font-size: 34px; letter-spacing: 0.06em; }
.reveal .slide-number { font-family: var(--mono); background: transparent; color: #5f6b7e; font-size: 16px; }
.reveal .controls { color: #2563eb; }
.reveal .progress { color: #2563eb; }

/* reveal's print mode resets section padding; keep the same margins in the PDF */
html.reveal-print .reveal .slides section, html.print-pdf .reveal .slides section { padding: 70px 90px !important; box-sizing: border-box; }
