@import url('variables.css');

/* Text */
.bullet-list { display: flex; flex-direction: column; gap: 1rem; }
.bullet { display: flex; gap: 14px; align-items: flex-start; }

.bullet-marker {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: var(--fs-small);
  font-weight: 600;
}

.bm-blue { background: var(--blue-soft); color: var(--blue); }
.bm-green { background: var(--green-soft); color: var(--green); }
.bm-violet { background: var(--violet-soft); color: var(--violet); }
.bm-orange { background: var(--orange-soft); color: var(--orange); }

.bullet-text {
  font-size: var(--fs-body);
  color: var(--muted);
  line-height: 1.6;
}

.bullet-text strong { color: var(--text); font-weight: 600; }

.bullet-text code,
.lead-text code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 4px;
  padding: 2px 6px;
}

.lead-text {
  font-size: var(--fs-lead);
  color: var(--muted);
  line-height: 1.65;
}

.lead-text strong { color: var(--text); font-weight: 600; }

.sem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sem-card {
  background: var(--softer);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}

.sem-term {
  font-family: var(--mono);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.sem-def { font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flow-step {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--softer);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.flow-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--mono);
  font-weight: 700;
  font-size: var(--fs-body);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-body h4 { font-size: var(--fs-body); font-weight: 600; margin-bottom: 0.2rem; }
.flow-body p { font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }

/* Callout */
.callout {
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  font-size: var(--fs-body);
  color: var(--muted);
  line-height: 1.6;
}

.callout strong { color: var(--blue); font-weight: 600; }
.callout.warn { border-color: var(--yellow); background: var(--yellow-soft); }
.callout.warn strong { color: var(--yellow); }
.callout.danger { border-color: var(--orange); background: var(--orange-soft); }
.callout.danger strong { color: var(--orange); }
.callout.ok { border-color: var(--green); background: var(--green-soft); }
.callout.ok strong { color: var(--green); }

/* Code */
.code-wrap {
  background: #0F1626;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 22, 38, 0.18);
}

.code-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: #1A2336;
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: #7C8BA5;
}

.code-dots { display: flex; gap: 5px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.code-dots span:nth-child(1) { background: #FC625D; }
.code-dots span:nth-child(2) { background: #FDBC40; }
.code-dots span:nth-child(3) { background: #34C749; }

pre {
  padding: 1rem 1.15rem;
  font-family: var(--mono);
  font-size: var(--fs-code);
  line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
  color: #D5DEEE;
}

.kw { color: #C792EA; }
.str { color: #7CE38B; }
.val { color: #FFCB6B; }
.cmt { color: #4E5D78; }
.uk { color: #82AAFF; }
.uv { color: #D5DEEE; }
.macro { color: #FF8A65; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid;
  transition: 0.15s;
}

.btn-blue { border-color: var(--blue); color: #fff; background: var(--blue); }
.btn-blue:hover { background: #1D4FD8; }
.btn-outline { border-color: var(--border2); color: var(--muted); background: var(--paper); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-green { border-color: var(--green); color: #fff; background: var(--green); }
.btn-green:hover { background: #13903F; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Agenda */
.agenda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: center;
}

.agenda-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--softer);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  transition: 0.18s;
}

.agenda-item:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.agenda-num {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--blue);
  min-width: 46px;
}

.agenda-body h3 { font-size: var(--fs-body); font-weight: 600; color: var(--text); margin-bottom: 4px; }
.agenda-body p { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }

.agenda-slide-content { overflow: hidden; }

.agenda-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  min-height: 0;
}

.agenda-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.agenda-tab {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--softer);
  color: var(--muted);
  cursor: pointer;
  transition: 0.15s;
}

.agenda-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.agenda-tab.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.agenda-tab-panels {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.agenda-tab-panel {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  animation: agendaFade 0.2s ease;
}

.agenda-tab-panel.on { display: flex; }

@keyframes agendaFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.agenda-panel-title {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--violet);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--violet-soft);
}

.agenda-tabs .agenda-grid {
  align-content: center;
}

.agenda-tabs .agenda-item { padding: 0.85rem 1rem; }
.agenda-tabs .agenda-num { font-size: 1.25rem; min-width: 40px; }

/* HTTP demo */
.timing-row { display: flex; gap: 10px; align-items: center; }
.timing-name { font-family: var(--mono); font-size: var(--fs-small); color: var(--muted); min-width: 90px; }
.timing-track { flex: 1; height: 10px; background: var(--soft); border-radius: 5px; overflow: hidden; }
.timing-fill { height: 100%; width: 0; border-radius: 5px; transition: width 0.6s ease; }
.timing-val { font-family: var(--mono); font-size: var(--fs-small); color: var(--muted); min-width: 44px; text-align: right; }

.demo-log {
  background: #0F1626;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: #D5DEEE;
  height: 110px;
  overflow-y: auto;
  line-height: 1.9;
}

/* Pixel switcher */
.px-switcher { display: flex; background: var(--soft); border-radius: 10px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.px-sw {
  flex: 1;
  min-width: 80px;
  text-align: center;
  font-family: var(--mono);
  font-size: var(--fs-small);
  padding: 8px 6px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: 0.15s;
}

.px-sw.on {
  background: var(--paper);
  color: var(--blue);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(26, 35, 51, 0.08);
}

.px-panel { display: none; }
.px-panel.on { display: block; animation: fadein 0.2s; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.px-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.7rem; }
.px-feat { border-radius: 8px; padding: 0.65rem 0.9rem; font-size: var(--fs-small); font-weight: 500; }
.feat-ok { background: var(--green-soft); color: var(--green); }
.feat-bad { background: var(--orange-soft); color: var(--orange); }

/* Chain */
.chain { display: flex; flex-direction: column; gap: 0.6rem; }
.chain-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--softer);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition: 0.15s;
}

.chain-item:hover { border-color: var(--border2); }
.chain-item.open { border-color: var(--blue); background: var(--blue-soft); }

.chain-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--paper);
  border: 1px solid var(--border);
}

.chain-name { font-size: var(--fs-body); font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chain-sub { font-size: var(--fs-small); color: var(--muted); margin-top: 2px; }

.chain-detail {
  display: none;
  margin-top: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: var(--fs-small);
  line-height: 1.75;
}

.chain-detail.on { display: block; }
.chain-err { color: var(--orange); }
.chain-ok { color: var(--green); }

.pill { font-family: var(--mono); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 10px; }
.pill-ok { background: var(--green-soft); color: var(--green); }
.pill-warn { background: var(--yellow-soft); color: var(--yellow); }
.pill-err { background: var(--orange-soft); color: var(--orange); }

/* Cookie */
.ck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.ck-field { display: flex; flex-direction: column; gap: 6px; }
.ck-label { font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 500; }

.ck-field select {
  background: var(--paper);
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--mono);
  font-size: var(--fs-small);
  padding: 8px 12px;
  cursor: pointer;
}

.ck-preview {
  margin-top: 1rem;
  background: #0F1626;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: var(--fs-small);
  line-height: 2;
  word-break: break-all;
}

.ck-analysis { margin-top: 0.8rem; display: flex; flex-direction: column; gap: 6px; }
.ca { display: flex; gap: 10px; align-items: baseline; font-size: var(--fs-small); }
.ca-good { color: var(--green); font-weight: 600; }
.ca-bad { color: var(--orange); font-weight: 600; }
.ca span:last-child { color: var(--muted); }

/* Scenario log */
.sc-log {
  background: #0F1626;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: #D5DEEE;
  min-height: 260px;
  max-height: 380px;
  overflow-y: auto;
  line-height: 2;
}

.sc-line { display: flex; gap: 12px; }
.sc-ts { color: #4E5D78; min-width: 58px; flex-shrink: 0; }

/* Summary */
.sum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-content: center; }

.sum-card {
  background: var(--softer);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sum-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sum-card h3 { font-size: var(--fs-body); font-weight: 600; color: var(--text); }
.sum-card p { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }

/* CTF slide */
.ctf-steps { counter-reset: ctf; display: flex; flex-direction: column; gap: 0.65rem; }

.ctf-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.55;
}

.ctf-step::before {
  counter-increment: ctf;
  content: counter(ctf);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ctf-step strong { color: var(--text); }

.ctf-flag-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.ctf-flag-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 2px solid var(--border2);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: var(--fs-body);
  background: var(--paper);
}

.ctf-flag-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.ctf-result {
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: var(--fs-body);
  display: none;
}

.ctf-result.show { display: block; }
.ctf-result.ok { background: var(--green-soft); color: var(--green); border: 1px solid var(--green); }
.ctf-result.err { background: var(--orange-soft); color: var(--orange); border: 1px solid var(--orange); }

/* PowerPoint-style layout */
.ppt-layout { align-items: stretch; }
.ppt-col { display: flex; flex-direction: column; gap: 0.85rem; min-height: 0; }
.ppt-label { font-family: var(--mono); font-size: var(--fs-small); color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

.ppt-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.ppt-card { border-radius: 14px; padding: 1.1rem; border: 1px solid var(--border); background: var(--softer); }
.ppt-card-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; margin-bottom: 0.5rem; }
.ppt-card-blue .ppt-card-icon { background: var(--blue-soft); color: var(--blue); }
.ppt-card-green .ppt-card-icon { background: var(--green-soft); color: var(--green); }
.ppt-card-violet .ppt-card-icon { background: var(--violet-soft); color: var(--violet); }
.ppt-card h4 { font-size: var(--fs-body); margin-bottom: 0.35rem; }
.ppt-card p { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }

.ppt-mini-card { background: var(--softer); border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1rem; }
.ppt-mini-card strong { display: block; font-size: var(--fs-small); margin-bottom: 0.2rem; }
.ppt-mini-card p { font-size: 0.85rem; color: var(--muted); }

.url-anatomy-inline .url-bar { font-family: var(--mono); font-size: var(--fs-small); background: #0F1626; color: #D5DEEE; padding: 0.85rem 1rem; border-radius: 10px; word-break: break-all; line-height: 1.75; }
.url-anatomy-inline .u-proto { color: #7CE38B; }
.url-anatomy-inline .u-host { color: #82AAFF; }
.url-anatomy-inline .u-path { color: #FFCB6B; }
.url-anatomy-inline .u-query { color: #C792EA; }
.url-parts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }

.mermaid-wrap { background: var(--softer); border: 1px solid var(--border); border-radius: 14px; padding: 0.75rem; overflow: auto; }

.network-diagram {
  background: var(--softer);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.5rem 0.75rem;
}

.network-diagram-svg { width: 100%; height: auto; display: block; max-height: 200px; }

/* HTTP demo stage */
.http-demo-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 0.5rem; }
.http-demo-toolbar label { font-family: var(--mono); font-size: var(--fs-small); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.http-demo-toolbar select { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border2); font-family: var(--mono); }

.http-stage { min-height: 120px; margin-bottom: 0.25rem; }
.http-stage-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(135deg, var(--softer), var(--paper));
  border: 2px solid var(--border);
  border-left: 5px solid var(--step-color, var(--blue));
  border-radius: 14px; padding: 1rem 1.15rem;
  animation: fadein 0.35s;
}
.http-stage-icon { font-size: 2rem; line-height: 1; }
.http-stage-title { font-size: var(--fs-body); font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.http-stage-explain { font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }
.http-stage-detail { margin-top: 0.5rem; font-family: var(--mono); font-size: 0.85rem; color: var(--blue); background: var(--blue-soft); padding: 0.5rem 0.75rem; border-radius: 8px; }

.http-step-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.http-step-pill { font-family: var(--mono); font-size: 0.75rem; padding: 5px 10px; border-radius: 20px; background: var(--soft); color: var(--muted); border: 1px solid var(--border); }
.http-step-pill.on { background: var(--blue-soft); color: var(--blue); border-color: var(--blue); font-weight: 600; }

.timing-compact { display: flex; flex-direction: column; gap: 4px; }

/* Pixel slide */
.px-lang-tag { font-size: var(--fs-small); color: var(--muted); margin-bottom: 0.4rem; }
.backend-flow { display: flex; flex-direction: column; gap: 0.6rem; }
.backend-step { display: flex; gap: 12px; align-items: flex-start; background: var(--softer); border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1rem; }
.backend-step span { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-family: var(--mono); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.backend-step p { font-size: var(--fs-small); color: var(--muted); margin-top: 2px; }

.cookie-party-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.party-card { background: var(--green-soft); border: 1px solid var(--green); border-radius: 12px; padding: 1rem; }
.party-card.party-warn { background: var(--orange-soft); border-color: var(--orange); }
.party-card h4 { font-size: var(--fs-body); margin-bottom: 0.35rem; }
.party-card p { font-size: var(--fs-small); color: var(--muted); }

/* CTF wizard */
.ctf-wizard-progress { display: flex; gap: 6px; margin-bottom: 0.75rem; }
.ctf-w-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border2); }
.ctf-w-dot.on { background: var(--blue); }
.ctf-w-dot.done { background: var(--green); }

.ctf-wizard-card { background: var(--softer); border: 1px solid var(--border); border-radius: 14px; padding: 1.15rem 1.25rem; }
.ctf-w-num { font-family: var(--mono); font-size: 0.8rem; color: var(--faint); margin-bottom: 0.35rem; }
.ctf-wizard-card h4 { font-size: var(--fs-body); margin-bottom: 0.5rem; }
.ctf-w-hint, .ctf-w-action { font-size: var(--fs-small); color: var(--muted); line-height: 1.55; margin-bottom: 0.4rem; }
.ctf-step-input { width: 100%; padding: 10px 14px; border: 2px solid var(--border2); border-radius: 10px; font-family: var(--mono); margin: 0.6rem 0; font-size: var(--fs-body); }
.ctf-w-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 0.5rem; }
.ctf-step-msg { margin-top: 0.5rem; font-size: var(--fs-small); }
.ctf-step-msg.err { color: var(--orange); }

.ctf-debrief { background: var(--green-soft); border: 1px solid var(--green); border-radius: 14px; padding: 1.25rem; }
.ctf-debrief h4 { font-size: var(--fs-body); margin-bottom: 0.5rem; color: var(--green); }
.ctf-mcq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 0.5rem; }
.ctf-mcq-list .quiz-opt { margin-bottom: 0; font-size: var(--fs-small); }
.ctf-mcq-list .quiz-opt.selected { border-color: var(--blue); background: var(--blue-soft); }
.ctf-mcq-list .quiz-opt.correct { border-color: var(--green); background: var(--green-soft); }
.ctf-mcq-list .quiz-opt.wrong { border-color: var(--orange); background: var(--orange-soft); }

.ctf-debrief .callout.ok { background: var(--green-soft); border: 1px solid var(--green); color: var(--muted); }
.ctf-preview-frame { width: 100%; height: 200px; border: 1px solid var(--border); border-radius: 12px; margin-top: 0.75rem; background: #fff; }

/* Module 2+ demos */
.tag-switcher, .px-switcher { display: flex; gap: 6px; flex-wrap: wrap; margin: 0.75rem 0; }
.tag-sw, .px-sw {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  font-family: var(--mono);
  font-size: var(--fs-small);
  cursor: pointer;
  background: var(--softer);
}
.tag-sw.on, .px-sw.on { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); font-weight: 600; }
.tag-panel, .px-panel { display: none; }
.tag-panel.on, .px-panel.on { display: block; }

.dom-timeline { margin-top: 0.75rem; max-height: 200px; overflow-y: auto; }
.dom-step {
  padding: 0.5rem 0.75rem;
  margin-bottom: 4px;
  background: var(--softer);
  border-radius: 8px;
  border-left: 3px solid var(--blue);
  font-size: var(--fs-small);
  color: var(--muted);
}

.js-event-demo { display: flex; flex-wrap: wrap; gap: 8px; }

.url-encode-demo label { display: block; font-size: var(--fs-small); color: var(--muted); }
.url-encode-demo input {
  width: 100%;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: var(--fs-small);
}

.reflex-sheet { display: flex; flex-direction: column; gap: 0.6rem; }
.reflex-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--softer);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
.reflex-row span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reflex-row strong { color: var(--text); }

.incident-list { display: flex; flex-direction: column; gap: 0.5rem; }
.incident-card {
  background: var(--orange-soft);
  border: 1px solid var(--orange);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: var(--fs-small);
}
.incident-card strong { display: block; color: var(--text); margin-bottom: 2px; }
.incident-card p { color: var(--muted); margin: 0; }

.sum-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .agenda-grid, .agenda-grid-modules, .sem-grid, .sum-grid, .px-feature-row, .ck-grid, .ppt-cards-row, .cookie-party-grid, .url-parts-grid { grid-template-columns: 1fr; }
}
