/* Styles of the EP panel and the Apex workbench (one file, served by both). Design: EuroPodróże ×
   Apex, frosted glass on a soft gradient (Filip, 30.10; canvas "Panel EP i Warsztat Apex: nowy
   wygląd"). Colour carries meaning: Apex blue = opłata Apex, EP cyan = opłata EuroPodróże, orange (#E2600A,
   Filip's pick 2.11) = waiting for EP or a warning; small railway touches (track connectors, the signal
   lamp on warnings) nod to EuroPodróże's trains. The CSP allows no inline styles, so bar widths are the .w-N classes at
   the end of this file. */
:root {
  --ep-blue:#00479A;
  --ep-cyan:#09A9E8;
  --apex:#1736F5;
  --orange:#E2600A;
  --orange-soft:#FFEEDF;
  --rail:rgba(15,30,60,.16);
  --ink:#0E1A2E;
  --ink2:#344157;
  --muted:#5B677C;
  --hair:rgba(15,30,60,.09);
  --brand:linear-gradient(135deg,#0077C8 0%,#1736F5 100%);
  --glass:rgba(255,255,255,.74);
  --radius:22px;
  --positive:#1B6A33;
  --coral:#B0221A;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  font-synthesis:none;
  -webkit-font-smoothing:antialiased
}
* { box-sizing:border-box }
body {
  margin:0;
  font-size:15px;
  line-height:1.5;
  min-height:100vh;
  background:
    radial-gradient(1100px 620px at 0% 0%,rgba(9,169,232,.18),rgba(9,169,232,0) 62%),
    radial-gradient(1000px 640px at 100% 0%,rgba(23,54,245,.16),rgba(23,54,245,0) 60%),
    radial-gradient(900px 520px at 60% 100%,rgba(226,96,10,.07),rgba(226,96,10,0) 60%),
    #F3F5FA;
  background-attachment:fixed
}
button,input,select,textarea { font:inherit; color:inherit }
button { cursor:pointer }
button:disabled { opacity:.5; cursor:not-allowed }
a { color:var(--apex) }
a:hover { color:#0F25B8 }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid rgba(23,54,245,.45);
  outline-offset:2px
}
[hidden] { display:none!important }
h1 {
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Arial,sans-serif;
  font-size:34px; line-height:1.15; font-weight:700; letter-spacing:-.025em; margin:0
}
h2 { font-size:19px; line-height:1.35; font-weight:650; letter-spacing:-.012em; margin:0 0 10px }
h3 { font-size:15px; line-height:1.4; font-weight:600; margin:16px 0 6px }
.muted { color:var(--muted) }
.help { font-size:13px; line-height:1.55; color:var(--muted) }
.pre-wrap { white-space:pre-wrap }
.small-label { font-size:12px; font-weight:600; color:var(--muted) }
code { font-size:13px; background:rgba(15,30,60,.06); border-radius:6px; padding:1px 5px }

/* Staging label. */
.env-band { background:rgba(226,96,10,.12); color:#8A3A00; text-align:center; font-size:12px; font-weight:600; letter-spacing:.02em; padding:6px 16px }

/* Frame: glass sidebar and the page. */
.app { display:flex; flex-wrap:wrap; align-items:flex-start; align-content:flex-start; min-height:100vh }
.side {
  flex:0 0 252px; position:sticky; top:14px; margin:14px 0 14px 14px; height:calc(100vh - 28px); overflow:auto;
  display:flex; flex-direction:column; gap:26px; padding:22px 14px 18px; border-radius:24px;
  background:rgba(255,255,255,.62); -webkit-backdrop-filter:blur(30px) saturate(180%); backdrop-filter:blur(30px) saturate(180%);
  border:1px solid rgba(255,255,255,.8); box-shadow:0 1px 2px rgba(16,24,40,.05),0 16px 40px rgba(16,24,40,.07)
}
.lock { display:flex; flex-direction:column; gap:8px; padding:4px 10px 0; text-decoration:none; color:var(--ink) }
.lock:hover { color:var(--ink) }
.lock-row { display:flex; align-items:center; gap:9px }
.lock-ep { display:block; width:118px; height:auto }
.lock-x { color:#8A94A6; font-size:13px }
.lock-apex { font-size:21px; font-weight:800; letter-spacing:-.035em; line-height:1; color:var(--ink) }
.lock-apex b { color:var(--apex) }
.lock small { font-size:12px; color:var(--muted) }
.lock::after { content:""; display:block; height:9px; margin-top:4px; opacity:.55;
  background:linear-gradient(90deg,#09A9E8,#1736F5) 0 1.5px/100% 1.5px no-repeat, linear-gradient(90deg,#09A9E8,#1736F5) 0 6px/100% 1.5px no-repeat,
    repeating-linear-gradient(90deg,rgba(15,30,60,.35) 0 2px,transparent 2px 8px) }
.side nav { display:flex; flex-direction:column; gap:2px }
.side nav a { display:flex; align-items:center; gap:11px; min-height:42px; padding:0 12px; border-radius:12px; color:var(--ink2); text-decoration:none; font-weight:500 }
.side nav a:hover { background:rgba(15,30,60,.05); color:var(--ink) }
.side nav a.active { background:rgba(23,54,245,.1); color:var(--apex); font-weight:600 }
.icon { flex:none }
.me { margin-top:auto; display:flex; align-items:center; gap:10px; padding:14px 10px 0; border-top:1px solid var(--hair); font-size:13px; color:var(--muted) }
.me > div { display:flex; flex-direction:column; align-items:flex-start; min-width:0 }
.me form { margin:0 }
.me-mail { max-width:160px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.avatar { width:32px; height:32px; border-radius:50%; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex:none }
.link-button { background:none; border:0; padding:0; color:var(--apex); font-size:13px; font-weight:500; text-decoration:underline; text-underline-offset:2px; cursor:pointer }
.main { flex:1 1 560px; min-width:0; padding:30px 40px 64px }
.main > .inner { max-width:1080px }
.page-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:8px 24px; margin:4px 0 20px }
.eyebrow { font-size:13px; font-weight:600; color:var(--apex); margin:0 0 4px }
.lead { color:var(--muted); margin:8px 0 0; max-width:760px }
.stamp { display:flex; width:fit-content; align-items:center; gap:8px; font-size:13px; color:var(--muted); margin:0 0 16px }
.stamp::before { content:""; width:7px; height:7px; border-radius:50%; background:#34C759; box-shadow:0 0 0 3px rgba(52,199,89,.18) }
.crumb { font-size:13px; color:var(--muted); margin:0 0 6px }
.crumb a { text-decoration:none; font-weight:500 }

/* Cards and grids. */
.card {
  background:var(--glass); -webkit-backdrop-filter:blur(24px) saturate(170%); backdrop-filter:blur(24px) saturate(170%);
  border:1px solid rgba(255,255,255,.85); border-radius:var(--radius); padding:24px; margin-bottom:18px;
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 12px 32px rgba(16,24,40,.06)
}
.card > h2:first-child, .card > .row:first-child h2 { margin-top:0 }
.card-title { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; margin:0 0 10px }
.card-title h2 { margin:0 }
.card-title small { font-size:12px; font-weight:500; color:var(--muted) }
.card p { margin:6px 0 }
.grid-2 { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:18px; align-items:start; margin-bottom:18px }
.grid-2 > .card, .grid-2 > div > .card:last-child, .tiles > .card { margin-bottom:0 }
.row { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap }
.stack { display:flex; flex-direction:column; gap:14px }

/* Status chips: always a word, the dot only repeats it. */
.chip { display:inline-flex; align-items:center; gap:7px; padding:4px 11px; border-radius:999px; font-size:13px; font-weight:600; white-space:nowrap; background:rgba(118,118,128,.12); color:#475166 }
.chip::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; opacity:.85 }
.chip.wait { background:rgba(226,96,10,.13); color:#9A3B00 }
.chip.ok { background:rgba(52,199,89,.15); color:var(--positive) }
.chip.run { background:rgba(9,169,232,.15); color:#00567E }
.chip.bad { background:rgba(255,59,48,.12); color:#A41F17 }
.chip.stop { background:rgba(118,118,128,.12); color:#475166 }
.chip.soon::before { display:none }

/* Buttons: primary is the EP-to-Apex gradient. */
.button {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 20px; border:0; border-radius:12px;
  font-size:15px; font-weight:600; text-decoration:none; white-space:nowrap; line-height:1.2
}
.primary-action { background:var(--brand); color:#fff; box-shadow:0 1px 2px rgba(23,54,245,.18),0 8px 20px rgba(23,54,245,.22) }
.primary-action:hover { color:#fff; filter:brightness(1.06) }
.secondary { background:rgba(255,255,255,.85); color:var(--ink); box-shadow:inset 0 0 0 1px rgba(15,30,60,.14) }
.secondary:hover { color:var(--ink); background:#fff }
.tinted { background:rgba(23,54,245,.1); color:var(--apex) }
.tinted:hover { color:var(--apex); background:rgba(23,54,245,.15) }
.button.danger-action { background:rgba(255,59,48,.1); color:var(--coral) }
.button.danger-action:hover { color:var(--coral); background:rgba(255,59,48,.16) }
.actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:14px }
.block { width:100% }

/* Notices. */
.notice { margin:0 0 16px; padding:12px 16px; border-radius:14px; background:rgba(23,54,245,.07); box-shadow:inset 0 0 0 1px rgba(23,54,245,.14); line-height:1.5 }
.notice.warn { position:relative; padding-left:50px; background:rgba(226,96,10,.09); box-shadow:inset 0 0 0 1px rgba(226,96,10,.28); color:#6E2E04 }
.notice.warn::before { content:"!"; position:absolute; left:14px; top:12px; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:800; line-height:1; color:#fff; background:radial-gradient(circle at 35% 30%,#F7A468 0%,#E2600A 60%,#BF4D05 100%);
  box-shadow:0 0 0 2.5px #1E2635,0 0 0 6px rgba(226,96,10,.22) }
.card .notice { margin:10px 0 }

/* Forms. */
.field { display:block; margin:12px 0 }
.field > span { display:block; font-size:13px; color:var(--muted); margin-bottom:6px }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=date], .field input[type=datetime-local],
.field input[type=file], .field textarea, .field select {
  width:100%; min-height:44px; padding:10px 14px; border:0; border-radius:12px; background:rgba(255,255,255,.85);
  box-shadow:inset 0 0 0 1px rgba(15,30,60,.14)
}
.field textarea { min-height:96px; resize:vertical }
.field input[type=checkbox] { width:18px; height:18px; vertical-align:-3px; margin-right:6px; accent-color:var(--apex) }
.mail { white-space:pre-wrap; background:rgba(255,255,255,.8); box-shadow:inset 0 0 0 1px var(--hair); border-radius:14px; padding:14px 16px; font-size:14px; line-height:1.55; font-family:inherit; overflow-x:auto }

/* Tables. */
.facts, table.list { width:100%; border-collapse:collapse; font-size:14px }
.facts th { text-align:left; font-weight:500; color:var(--muted); width:36%; padding:9px 14px 9px 0; vertical-align:top }
.facts td { padding:9px 0; border-bottom:1px solid var(--hair) }
.facts tr:last-child td { border-bottom:0 }
table.list th { text-align:left; color:var(--muted); font-weight:500; font-size:13px; padding:8px 12px 8px 0; border-bottom:1px solid var(--hair) }
table.list td { padding:12px 12px 12px 0; border-bottom:1px solid var(--hair); vertical-align:top }
table.list tr:last-child td { border-bottom:0 }
.scroll { overflow-x:auto }
.deadline { font-weight:600 }

/* Checklists (launch conditions) and EP's rights. */
.checks { list-style:none; padding:0; margin:0 }
.checks li { display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--hair) }
.checks li:last-child { border-bottom:0 }
.checks b { flex:none; width:24px; height:24px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:13px; color:#fff }
.checks .yes b { background:linear-gradient(135deg,#3DD67A,#1F9D4E) }
.checks .no b { background:linear-gradient(135deg,#FF7A6B,#E0362C) }
.checks .info b { background:var(--brand) }
.checks .na b { background:rgba(118,118,128,.45) }
.checks .grow small { display:block; font-size:13px; margin-top:1px }

/* KPI tiles with iOS-style icons. */
.tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:18px }
.tile { display:flex; flex-direction:column; gap:10px }
.tile-head { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:600; color:var(--muted) }
.num { font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Arial,sans-serif; font-size:34px; font-weight:700; line-height:1; letter-spacing:-.02em; font-variant-numeric:tabular-nums }
.app-icon { width:34px; height:34px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; color:#fff; flex:none }
.app-icon.orange { background:linear-gradient(135deg,#F0893F,#D9590A) }
.app-icon.blue { background:var(--brand) }
.app-icon.cyan { background:linear-gradient(135deg,#3CC4F5,#0088CC) }
.app-icon.red { background:linear-gradient(135deg,#FF7A6B,#E0362C) }
.app-icon.soft { background:rgba(23,54,245,.08); color:var(--apex) }

/* Waiting for EP: warm glass with the countdown ring. */
.hero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:28px; align-items:center; background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(255,236,222,.74)); border-color:rgba(255,170,110,.4) }
.hero h2, .statement { font-size:19px; line-height:1.4; margin:0 }
/* A hypothesis's name above its one-sentence statement (pages.js headingOf). */
.hyp-name { font-size:19px; line-height:1.35; margin:0 0 6px; overflow-wrap:anywhere }
.hyp-name + .statement, .hyp-name + .pre-wrap { font-size:16px; line-height:1.5; margin:0 }
.ring { display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; padding:0 8px }
.ring svg { display:block }
.ring b { font-size:14px }

/* Hypothesis and test cards. */
.hyp-head { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:12px }
.hyp-body { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px; align-items:start; margin-top:18px }
.hyp-main { display:flex; flex-direction:column; gap:18px; min-width:0 }
.section-title { font-size:15px; font-weight:600; margin:0 0 10px }
.decide { display:flex; flex-direction:column; gap:12px; padding:20px; border-radius:18px; background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(255,236,222,.74)); box-shadow:inset 0 0 0 1px rgba(255,170,110,.4) }
.decide.calm { background:rgba(255,255,255,.7); box-shadow:inset 0 0 0 1px var(--hair) }
.decide .button { width:100% }
.decide-when { display:flex; align-items:center; gap:14px }
.decide-when > div { display:flex; flex-direction:column }
.quote { background:rgba(255,255,255,.75); box-shadow:inset 0 0 0 1px var(--hair); border-radius:14px; padding:12px 14px; margin:0 }
details.more { border-top:1px solid var(--hair); margin-top:4px }
details.more summary { cursor:pointer; font-weight:600; color:var(--apex); min-height:44px; display:flex; align-items:center }
details.more[open] summary { margin-bottom:6px }

/* Steps of a hypothesis or project. */
.steps { display:grid; grid-template-columns:repeat(var(--n,5),minmax(0,1fr)); list-style:none; margin:0; padding:0 }
.steps.n7 { --n:7 }
.steps li { position:relative; padding-right:12px; display:flex; flex-direction:column; gap:2px }
.steps .dot { width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; background:#fff; color:var(--muted); box-shadow:inset 0 0 0 1.5px rgba(15,30,60,.18); position:relative; z-index:1; margin-bottom:8px }
.steps .done .dot { background:var(--brand); color:#fff; box-shadow:none }
.steps .now .dot { background:linear-gradient(135deg,#F3A162,#E2600A); color:var(--ink); box-shadow:0 0 0 5px rgba(226,96,10,.16) }
.steps.apex .now .dot { background:#fff; color:var(--apex); box-shadow:inset 0 0 0 2px var(--apex),0 0 0 5px rgba(23,54,245,.14) }
.steps .bad .dot { background:linear-gradient(135deg,#FF7A6B,#E0362C); color:#fff; box-shadow:0 0 0 5px rgba(255,59,48,.14) }
.steps li::after { content:""; position:absolute; top:10px; left:30px; right:0; height:10px;
  background:linear-gradient(var(--rail),var(--rail)) 0 2px/100% 1.5px no-repeat, linear-gradient(var(--rail),var(--rail)) 0 6.5px/100% 1.5px no-repeat,
    repeating-linear-gradient(90deg,rgba(15,30,60,.12) 0 2px,transparent 2px 8px) }
.steps li:last-child::after { display:none }
.steps .done::after { background:linear-gradient(90deg,#0077C8,#1736F5) 0 2px/100% 1.5px no-repeat, linear-gradient(90deg,#0077C8,#1736F5) 0 6.5px/100% 1.5px no-repeat,
    repeating-linear-gradient(90deg,rgba(23,54,245,.35) 0 2px,transparent 2px 8px) }
.steps strong { font-size:14px; font-weight:600 }
.steps span:not(.dot) { font-size:13px; color:var(--muted) }

/* Who sees the new fee: Apex blue = opłata Apex, EP cyan = opłata EuroPodróże. */
.split { display:flex; height:14px; border-radius:999px; overflow:hidden; gap:3px }
.split > span { display:block; height:100% }
.c-apex { background:var(--apex) }
.c-apex2 { background:#5B73FF }
.c-ep { background:var(--ep-cyan) }
/* A test's own comparison group (opłata EuroPodróże): the Control Group's cyan, lighter. */
.c-tc { background:rgba(9,169,232,.45) }
.c-rest { background:rgba(15,30,60,.12) }
.c-excl { background:#8A94A6 }
.c-out { background:rgba(15,30,60,.05); box-shadow:inset 0 0 0 1px rgba(15,30,60,.16) }
.legend { display:flex; flex-wrap:wrap; gap:6px 18px; font-size:13px; color:var(--muted); margin-top:10px }
.legend b { color:var(--ink); font-weight:600 }
.sw { display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:6px }
.compare { display:grid; grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr); gap:10px; align-items:stretch }
.compare .arrow { display:flex; align-items:center; justify-content:center; color:#8A94A6 }
.box { border-radius:16px; padding:14px 16px; display:flex; flex-direction:column; gap:4px }
.box-ep { background:rgba(9,169,232,.09); box-shadow:inset 0 0 0 1px rgba(9,169,232,.25) }
.box-apex { background:rgba(23,54,245,.07); box-shadow:inset 0 0 0 1px rgba(23,54,245,.22) }
.box .who { font-size:12px; font-weight:700; letter-spacing:.02em }
.box-ep .who { color:#00567E }
.box-apex .who { color:var(--apex) }
.box b { font-size:16px }
.rules { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px }
.rules li { display:flex; gap:12px; align-items:center; font-size:14px }
.rules .app-icon { width:30px; height:30px; border-radius:9px; background:linear-gradient(135deg,#3CC4F5,#1736F5) }
.facts3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.fact { background:rgba(255,255,255,.7); box-shadow:inset 0 0 0 1px rgba(15,30,60,.07); border-radius:16px; padding:14px 16px; display:flex; flex-direction:column; gap:4px }
.fact b { font-weight:600 }

/* Progress: a bar, or one tile per day of the minimum duration. */
.track { height:8px; background:rgba(15,30,60,.08); border-radius:999px; overflow:hidden }
.track > span { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#09A9E8,#1736F5) }
.days { display:grid; grid-template-columns:repeat(14,minmax(0,1fr)); gap:4px }
.days span { height:22px; border-radius:6px; background:rgba(15,30,60,.07) }
.days span.d { background:linear-gradient(135deg,#09A9E8,#1736F5) }
.days span.t { background:rgba(23,54,245,.1); box-shadow:inset 0 0 0 2px var(--apex) }
.between { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; font-size:14px }
.chart { display:block; width:100%; height:auto }

/* Decision log as a timeline. */
.seg { display:inline-flex; flex-wrap:wrap; background:rgba(118,118,128,.13); border-radius:11px; padding:3px; gap:2px; margin:0 0 16px }
.seg a { min-height:36px; padding:0 16px; border-radius:9px; display:inline-flex; align-items:center; font-size:14px; font-weight:500; color:var(--ink); text-decoration:none }
.seg a.on { background:#fff; box-shadow:0 1px 3px rgba(16,24,40,.12),0 1px 1px rgba(16,24,40,.06); font-weight:600 }
.day-label { font-size:12px; font-weight:700; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; margin:18px 0 12px }
.day-label:first-child { margin-top:0 }
.tl { list-style:none; margin:0; padding:0 }
.tl li { display:grid; grid-template-columns:48px 36px minmax(0,1fr); gap:0 12px; position:relative; padding-bottom:18px }
.tl li:last-child { padding-bottom:0 }
.tl li::before { content:""; position:absolute; left:73px; top:40px; bottom:2px; width:10px;
  background:linear-gradient(var(--rail),var(--rail)) 2px 0/1.5px 100% no-repeat, linear-gradient(var(--rail),var(--rail)) 6.5px 0/1.5px 100% no-repeat,
    repeating-linear-gradient(180deg,rgba(15,30,60,.1) 0 2px,transparent 2px 8px) }
.tl li:last-child::before { display:none }
.tl time { font-size:13px; color:var(--muted); padding-top:8px; font-variant-numeric:tabular-nums }
.who-dot { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; position:relative; z-index:1 }
.who-dot.ep { background:rgba(9,169,232,.16); color:#00567E }
.who-dot.apex { background:rgba(23,54,245,.1); color:var(--apex) }
.tl .what { display:flex; flex-direction:column; gap:2px; padding-top:5px; min-width:0 }
.tl .what b { font-weight:600 }
.tl .what .muted { font-size:13px }

/* Workbench: to-do list and the board of projects by stage. */
.todo { list-style:none; margin:0; padding:0 }
.todo li { display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:14px; align-items:center; padding:12px 0; border-top:1px solid var(--hair) }
.todo li:first-child { border-top:0; padding-top:4px }
.todo .app-icon { width:40px; height:40px; border-radius:12px }
.board { overflow-x:auto; padding-bottom:6px; margin-bottom:18px }
.columns { display:grid; grid-template-columns:repeat(5,minmax(200px,1fr)); gap:14px; min-width:1060px }
.column { display:flex; flex-direction:column; gap:10px; background:rgba(255,255,255,.4); border:1px solid rgba(255,255,255,.7); border-radius:20px; padding:12px; -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px) }
.column h2 { font-size:13px; margin:2px 6px; font-weight:700; display:flex; justify-content:space-between; align-items:center; color:var(--ink2) }
.count { min-width:22px; height:22px; border-radius:11px; background:rgba(15,30,60,.07); display:inline-flex; align-items:center; justify-content:center; font-size:12px }
.pc { background:rgba(255,255,255,.88); border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:8px; text-decoration:none; color:inherit; box-shadow:0 1px 2px rgba(16,24,40,.05),0 4px 14px rgba(16,24,40,.05) }
.pc:hover { color:inherit; box-shadow:0 1px 2px rgba(16,24,40,.06),0 8px 22px rgba(16,24,40,.09) }
.pc b { font-size:14px }
.pc p { margin:0; font-size:13px; color:var(--muted); line-height:1.45 }
.pc .between { font-size:12px; align-items:center }
.pc .chip { font-size:12px; padding:3px 9px }
.empty-col { font-size:13px; color:var(--muted); padding:8px 6px }
.next { background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(226,233,255,.78)); border-color:rgba(23,54,245,.18) }
.preview { border-radius:18px; padding:18px; display:flex; flex-direction:column; gap:10px; background:linear-gradient(150deg,rgba(255,255,255,.92),rgba(225,244,253,.8)); box-shadow:inset 0 0 0 1px rgba(9,169,232,.28) }

/* Text for screen readers only. */
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }

/* Sign-in. */
.login-page { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px 16px }
.login {
  width:100%; max-width:420px; padding:30px; border-radius:26px; background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(30px) saturate(180%); backdrop-filter:blur(30px) saturate(180%);
  border:1px solid rgba(255,255,255,.85); box-shadow:0 1px 2px rgba(16,24,40,.05),0 24px 60px rgba(16,24,40,.1)
}
.login .lock { padding:0 }
.login h1 { font-size:24px; margin:22px 0 6px }
.login form { margin-top:8px }
.login .button { width:100%; margin-top:8px }

@media (max-width:980px) {
  .grid-2, .hyp-body { grid-template-columns:1fr }
  .tiles, .facts3 { grid-template-columns:1fr }
}
@media (max-width:820px) {
  .side { flex:0 0 auto; width:calc(100% - 24px); position:static; height:auto; margin:12px; gap:16px }
  .side nav { flex-direction:row; flex-wrap:wrap }
  .me { margin-top:0 }
  .main { padding:8px 16px 48px }
  h1 { font-size:28px }
  .hero { grid-template-columns:1fr }
  .steps { grid-template-columns:1fr; gap:10px }
  .steps li { display:grid; grid-template-columns:30px auto minmax(0,1fr); align-items:center; gap:0 10px; padding-right:0 }
  .steps .dot { margin:0 }
  .steps li::after { display:none }
  .compare { grid-template-columns:1fr }
  .compare .arrow { display:none }
  .days { grid-template-columns:repeat(7,minmax(0,1fr)) }
  .tl li { grid-template-columns:36px minmax(0,1fr) }
  .tl time { grid-column:2; padding-top:0; order:3 }
  .tl li::before { left:13px }
  .facts th { width:44% }
  .todo li { grid-template-columns:40px minmax(0,1fr) }
  .todo li .button { grid-column:2; justify-self:start }
  .card { padding:20px }
}
@media (prefers-reduced-transparency:reduce) {
  .card, .side, .column, .login { background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none }
}

/* Bar widths in whole percent (the CSP allows no inline styles). */
.w-0{width:0%}.w-1{width:1%}.w-2{width:2%}.w-3{width:3%}.w-4{width:4%}.w-5{width:5%}.w-6{width:6%}.w-7{width:7%}.w-8{width:8%}.w-9{width:9%}
.w-10{width:10%}.w-11{width:11%}.w-12{width:12%}.w-13{width:13%}.w-14{width:14%}.w-15{width:15%}.w-16{width:16%}.w-17{width:17%}.w-18{width:18%}.w-19{width:19%}
.w-20{width:20%}.w-21{width:21%}.w-22{width:22%}.w-23{width:23%}.w-24{width:24%}.w-25{width:25%}.w-26{width:26%}.w-27{width:27%}.w-28{width:28%}.w-29{width:29%}
.w-30{width:30%}.w-31{width:31%}.w-32{width:32%}.w-33{width:33%}.w-34{width:34%}.w-35{width:35%}.w-36{width:36%}.w-37{width:37%}.w-38{width:38%}.w-39{width:39%}
.w-40{width:40%}.w-41{width:41%}.w-42{width:42%}.w-43{width:43%}.w-44{width:44%}.w-45{width:45%}.w-46{width:46%}.w-47{width:47%}.w-48{width:48%}.w-49{width:49%}
.w-50{width:50%}.w-51{width:51%}.w-52{width:52%}.w-53{width:53%}.w-54{width:54%}.w-55{width:55%}.w-56{width:56%}.w-57{width:57%}.w-58{width:58%}.w-59{width:59%}
.w-60{width:60%}.w-61{width:61%}.w-62{width:62%}.w-63{width:63%}.w-64{width:64%}.w-65{width:65%}.w-66{width:66%}.w-67{width:67%}.w-68{width:68%}.w-69{width:69%}
.w-70{width:70%}.w-71{width:71%}.w-72{width:72%}.w-73{width:73%}.w-74{width:74%}.w-75{width:75%}.w-76{width:76%}.w-77{width:77%}.w-78{width:78%}.w-79{width:79%}
.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-83{width:83%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}
.w-90{width:90%}.w-91{width:91%}.w-92{width:92%}.w-93{width:93%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}.w-97{width:97%}.w-98{width:98%}.w-99{width:99%}
.w-100{width:100%}
.grow{flex:1}
.group-title { font-size:19px; margin:28px 0 12px }
.card.empty { display:flex; align-items:center; gap:14px }
.card.empty p { margin:0 }
.card-steps { margin-top:18px }
.hyp-main .facts3 { grid-template-columns:1fr; gap:8px }
.hyp-main .fact { display:grid; grid-template-columns:130px minmax(0,1fr); gap:12px; align-items:baseline; padding:12px 16px }
.hyp-body .decide { position:sticky; top:20px }
@media (max-width:980px) { .hyp-body .decide { position:static } }
@media (max-width:520px) { .hyp-main .fact { grid-template-columns:1fr; gap:2px } }
/* Start: traffic and data quality from the daily tables; Rejestr: the decision lookup. */
.daily-head { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin:6px 0 4px }
.daily .split { margin-top:4px }
.daily h3 { margin-top:20px }
.lookup { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 12px; align-items:end }
.lookup label.field:first-of-type { grid-column:1 / -1; margin-bottom:0 }
.lookup .button { margin-bottom:12px }
.lookup-result { border-top:1px solid var(--hair); margin-top:14px; padding-top:6px }
.fares { list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:8px }
.fares li { display:flex; flex-direction:column; gap:2px; padding:10px 14px; border-radius:14px; background:rgba(255,255,255,.7); box-shadow:inset 0 0 0 1px rgba(15,30,60,.07); font-size:14px }
.fares code { word-break:break-all }
@media (max-width:520px) { .lookup { grid-template-columns:1fr } }
/* Tests: sample progress per arm, the verdict and the revenue (docs/panel/15-results.md). */
.tiles.n4 { grid-template-columns:repeat(4,minmax(0,1fr)) }
@media (max-width:1240px) { .tiles.n4 { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (max-width:620px) { .tiles.n4 { grid-template-columns:1fr } }
.sample { list-style:none; margin:4px 0 0; padding:0; display:flex; flex-direction:column; gap:12px }
.sample li { display:flex; flex-direction:column; gap:6px; font-size:14px }
.track.ep > span { background:var(--ep-cyan) }
.results-progress, .results-verdict, .results-revenue { display:flex; flex-direction:column; gap:8px }
.results-progress .days { margin-bottom:6px }
.next-step { font-size:14px; padding:10px 14px; border-radius:14px; background:rgba(23,54,245,.05) }
.results-compact { display:flex; flex-direction:column; gap:6px; margin-top:4px; font-size:14px }
.results-compact p { margin:0 }
.verdict-item { border-top:1px solid var(--hair); padding-top:10px }
.verdict-item .hyp-head { margin-bottom:6px }
ul.plain { margin:0; padding-left:18px; display:flex; flex-direction:column; gap:3px; font-size:14px }
/* Statistical significance status: refreshed daily, the verdict only at the fixed horizon. */
.signif { display:flex; flex-direction:column; gap:8px; padding:14px 16px; border-radius:16px; background:rgba(255,255,255,.72); box-shadow:inset 0 0 0 1px var(--hair) }
.signif p { margin:0 }
.signif .section-title { margin:0 }
.chips { display:inline-flex; flex-wrap:wrap; gap:6px }
.top-actions { margin:0 0 20px }
/* The start of a test: barriers down, the train passes and stops beyond the crossing, barriers up
   (visuals.js launchScene). The parts' own position is the end state. */
.launch { margin:0 0 6px }
.launch-scene { display:block; width:100%; height:auto; border-radius:16px; background:linear-gradient(180deg,rgba(9,169,232,.08),rgba(255,255,255,0) 70%) }
.launch-caption { margin:8px 0 0; font-weight:600 }
.lt-train { transform:translateX(700px); animation:lt-run 5.2s both }
.lt-arm { transform-box:view-box; animation:lt-arm 5.2s both }
.lt-arm-l { transform-origin:60px 158px; transform:rotate(-80deg); --up:-80deg }
.lt-arm-r { transform-origin:200px 158px; transform:rotate(80deg); --up:80deg }
.lt-lamp { opacity:.18 }
.lt-a { animation:lt-blink .9s steps(1,end) 0s 5 }
.lt-b { animation:lt-blink .9s steps(1,end) .45s 5 }
@keyframes lt-run { 0%,20% { transform:translateX(-280px); animation-timing-function:cubic-bezier(.25,.1,.2,1) } 84%,100% { transform:translateX(700px) } }
@keyframes lt-arm { 0% { transform:rotate(var(--up)) } 14%,84% { transform:rotate(0deg) } 100% { transform:rotate(var(--up)) } }
@keyframes lt-blink { 0% { opacity:1 } 50% { opacity:.18 } }
@media (prefers-reduced-motion:reduce) { .lt-train, .lt-arm, .lt-lamp { animation:none } }
/* The customer thesis a hypothesis starts from (workbench proposals). */
.thesis { margin:8px 0 14px; padding:10px 14px; border-radius:14px; background:rgba(9,169,232,.08); box-shadow:inset 0 0 0 1px rgba(9,169,232,.22); line-height:1.5 }
/* Bets about customer groups (workbench Propozycje): one card per group, a tile per bet, side by
   side on a wide screen and stacked on a phone. Where the browser has subgrid, the tiles in a row
   line up part by part (chips, title, intuition, numbers, time, actions, text for EP). The best bet
   is tinted Apex blue; weaker bets are folded and paler. */
.bet-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:14px 0 20px }
.card .bet-facts p { margin:0 0 6px }
.bets { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr)); gap:12px; margin:0 0 12px }
.bet { display:flex; flex-direction:column; gap:8px; min-width:0; padding:16px; border-radius:18px; background:rgba(255,255,255,.72); box-shadow:inset 0 0 0 1px rgba(15,30,60,.08) }
@supports (grid-template-rows:subgrid) {
  .bet { display:grid; grid-row:span 7; grid-template-rows:subgrid; row-gap:8px; align-content:start }
}
.bet.best { background:linear-gradient(150deg,rgba(255,255,255,.95),rgba(226,233,255,.86)); box-shadow:inset 0 0 0 1.5px rgba(23,54,245,.4),0 8px 22px rgba(23,54,245,.1) }
.bet.weak { background:rgba(255,255,255,.5) }
.bet-head { display:flex; flex-wrap:wrap; gap:6px; align-items:flex-start }
.bet-head .chip { font-size:12px; padding:3px 9px }
.bet h3 { margin:0; font-size:17px; line-height:1.3; font-weight:650; letter-spacing:-.01em }
.card .bet p { margin:0 }
.bet-why { font-size:14px; color:var(--ink2) }
.bet-nums { display:flex; flex-direction:column; gap:4px; padding:10px 12px; border-radius:14px; background:rgba(23,54,245,.05) }
.bet.weak .bet-nums { background:rgba(15,30,60,.04) }
.bet-year span { display:block; font-size:12px; font-weight:600; color:var(--muted) }
.bet-year b { font-size:22px; line-height:1.25; font-weight:700; letter-spacing:-.015em; font-variant-numeric:tabular-nums }
.bet-margin, .bet-time { font-size:14px }
.bet-meta { display:flex; flex-direction:column; gap:6px }
.bet-meta ul.plain { font-size:13px; color:var(--muted) }
.card .bet-meta .notice { margin:0; font-size:13px }
.bet-text summary { cursor:pointer; font-size:14px; font-weight:600; color:var(--apex); min-height:44px; display:flex; align-items:center }
.bet-text .quote { font-size:14px }
.bet-actions { display:flex; flex-wrap:wrap; gap:8px; align-self:end }
.bet-actions form { flex:1 1 auto; margin:0 }
.bet-actions .button { width:100%; padding:0 14px; font-size:14px }
details.more > .bets { margin-top:4px }
@media (max-width:820px) { .bet-facts { grid-template-columns:1fr; gap:12px } }
