/* Kafka Learning Lab — self-contained, responsive, accessible dark UI. */
:root {
  --bg: #080f1b;
  --sidebar: #0b1322;
  --surface: #101c2e;
  --surface-2: #132238;
  --surface-3: #172842;
  --border: #23364b;
  --border-soft: #1d2c40;
  --white: #f5f8ff;
  --text: #d5dfec;
  --muted: #8393a9;
  --faint: #60728a;
  --mint: #b8fb70;
  --cyan: #5ddfd9;
  --purple: #ab90ff;
  --orange: #ffab75;
  --red: #ff8188;
  --shadow: 0 26px 85px rgba(1,5,13,.27);
  --radius: 20px;
  --sidebar-w: 246px;
  scroll-behavior:smooth
}

* {
  box-sizing:border-box
}

html {
  scroll-padding-top:95px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 14px;
  line-height: 1.58;
  -webkit-font-smoothing:antialiased
}

button,input,select,textarea {
  font:inherit
}

a {
  color: inherit;
  text-decoration:none
}

button {
  cursor:pointer
}

img,svg {
  max-width:100%
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin:round
}

pre,code {
  font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace
}

code {
  font-size:.89em
}

::selection {
  background: #7cbf5a70;
  color:white
}

:focus-visible {
  outline: 2px solid var(--mint)!important;
  outline-offset:3px
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow:hidden
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--mint);
  color: #091221;
  border-radius:8px
}

.skip-link:focus {
  top:12px
}

.live-dot {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5f974;
  box-shadow:0 0 0 4px #b5f97416,0 0 18px #b5f97465
}

.app-shell {
  display: flex;
  min-height:100vh
}

/* Sidebar: course chapters, reading progress and learning prompt. */
.sidebar {
  width: var(--sidebar-w);
  flex: none;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  background: linear-gradient(170deg,#0c1727,#0a111d 68%);
  border-right: 1px solid #1c3045;
  display: flex;
  flex-direction: column;
  padding: 26px 14px 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color:#24364d transparent
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding:5px 12px 37px
}

.brand-icon {
  width: 34px;
  height: 34px;
  position: relative;
  display: inline-block;
  flex: none;
  transform:rotate(-17deg)
}

.brand-icon span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--mint);
  border-radius: 4px;
  box-shadow:0 0 14px #b8fb7037
}

.brand-icon span:nth-child(1) {
  top: 3px;
  left:5px
}

.brand-icon span:nth-child(2) {
  top: 4px;
  right:0
}

.brand-icon span:nth-child(3) {
  bottom: 2px;
  left:5px
}

.brand-icon span:nth-child(4) {
  bottom: 1px;
  right:0
}

.brand-copy {
  display: flex;
  flex-direction:column
}

.brand-copy strong {
  color: #f5f9ff;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -1.3px;
  font-weight:800
}

.brand-dot {
  color:var(--mint)
}

.brand-copy small {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2.05px;
  color: #7f95ad;
  margin-top:6px
}

.side-eyebrow {
  padding: 0 13px;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color:#70859d
}

.course-progress {
  margin: 16px 8px 26px;
  padding: 15px 11px 17px;
  border: 1px solid #243447;
  border-radius: 12px;
  background:#13213388
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color:#92a2b3
}

.progress-row strong {
  color: var(--mint);
  font-size:10px
}

.progress-track,.quiz-progress-track {
  height: 5px;
  border-radius: 50px;
  background: #2a3b4f;
  margin-top: 13px;
  overflow:hidden
}

.progress-fill,.quiz-progress-track>div {
  height: 100%;
  background: linear-gradient(90deg,#8fc960,var(--mint));
  border-radius: 50px;
  transition:width .35s
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap:5px
}

.nav-link {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
  padding: 12px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #9cabbc;
  font-size: 12px;
  font-weight: 650;
  transition:background .18s,color .18s
}

.nav-link svg {
  height: 16px;
  width: 16px;
  color:#728aa2
}

.nav-link:hover {
  color: white;
  background:#17283c
}

.nav-link.is-active {
  background: #233b36;
  color: #c9f3ae;
  border-color:#36523e
}

.nav-link.is-active svg {
  color:var(--mint)
}

.nav-number {
  font-size: 10px;
  font-weight: 800;
  color: #61768e;
  min-width:18px
}

.nav-link.is-active .nav-number {
  color:#8dae80
}

.nav-indicator {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background:transparent
}

.nav-link.is-active .nav-indicator {
  background: var(--mint);
  box-shadow:0 0 9px #b8fb70
}

.sidebar-bottom {
  margin-top: auto;
  padding-top:28px
}

.sidebar-tip {
  border: 1px solid #344b47;
  background: radial-gradient(circle at 100% 0%,#344b3066,transparent 68%),#142527;
  border-radius: 14px;
  padding:14px
}

.sidebar-tip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom:12px
}

.tip-orb {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #b8fb7022;
  color:var(--mint)
}

.tip-orb svg {
  width: 17px;
  height:17px
}

.mini-badge {
  color: #a2c991;
  letter-spacing: 1.3px;
  font-weight: 800;
  font-size:8px
}

.sidebar-tip strong {
  font-size: 13px;
  color:#f4fff0
}

.sidebar-tip p {
  font-size: 11px;
  color: #b2c6bb;
  margin:7px 0 13px
}

.sidebar-tip>a {
  color: var(--mint);
  font-size: 11px;
  font-weight:750
}

.side-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #788da1;
  font-size: 10px;
  padding:20px 6px 3px
}

.side-foot span:last-child {
  margin-left: auto;
  color:#60788a
}

.main-column {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  min-width:0
}

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(25px,4vw,62px);
  border-bottom: 1px solid #192b40;
  background: #0b1422cd;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index:40
}

.topbar-left,.topbar-right {
  display: flex;
  align-items: center;
  gap:14px
}

.breadcrumb,.breadcrumb-current {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color:#71849b
}

.breadcrumb-current {
  color:#b9c9d8
}

.breadcrumb-slash {
  color:#425774
}

.top-pill {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #a4b3c3;
  letter-spacing: 1.1px;
  background: #162639;
  border: 1px solid #284056;
  border-radius: 24px;
  padding:9px 13px
}

.top-action {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #dce8f0;
  font-size: 11px;
  padding:10px 0 10px 13px
}

.top-action:hover {
  color:var(--mint)
}

.top-action svg {
  height: 15px;
  width:15px
}

.icon-btn {
  display: grid;
  place-items: center;
  color: #fff;
  background: #172638;
  border: 1px solid #30455c;
  width: 36px;
  height: 36px;
  border-radius:8px
}

.icon-btn svg {
  width: 19px;
  height:19px
}

.mobile-menu {
  display:none
}

.page-content {
  padding: 0 clamp(24px,4vw,62px);
  max-width: 1660px;
  margin:auto
}

.page-section {
  scroll-margin-top: 97px;
  padding-top:102px
}

.hero-section {
  padding-top:63px
}

/* Introduction: oversized headline and animated event flow. */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.04fr) minmax(380px,.96fr);
  gap: 26px;
  align-items: center;
  min-height:490px
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--mint);
  white-space:nowrap
}

.eyebrow-line {
  width: 25px;
  height: 1px;
  background:var(--mint)
}

.spark {
  margin-left: 4px;
  color: #efffc1;
  font-size:16px
}

.hero-copy h1 {
  font-size: clamp(48px,5vw,76px);
  line-height: 1.05;
  letter-spacing: -4px;
  margin: 28px 0 22px;
  font-weight: 790;
  color:var(--white)
}

.gradient-text {
  background: linear-gradient(96deg,#c3ff92 0%,#7decda 85%);
  background-clip: text;
  -webkit-background-clip: text;
  color:transparent
}

.hero-lead {
  color: #9fb0c1;
  font-size: 15px;
  max-width: 490px;
  line-height: 1.85;
  margin:0
}

.hero-lead strong {
  color: #e5ebf3;
  font-weight:650
}

.hero-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 28px;
  flex-wrap:wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 780;
  transition: transform .2s,border-color .2s,background .2s;
  white-space:nowrap
}

.btn:active {
  transform:scale(.975)
}

.btn svg {
  width: 15px;
  height:15px
}

.btn-primary {
  background: var(--mint);
  border-color: #c7ff93;
  color: #101b1e;
  box-shadow:0 6px 24px #abf56619
}

.btn-primary:hover {
  background: #d1ffae;
  box-shadow:0 8px 30px #abf56630
}

.btn-tail {
  margin-left:8px
}

.btn-subtle {
  color: #ccdae9;
  border-color: #30445b;
  background:#142237
}

.btn-subtle:hover {
  border-color: #779c80;
  color: white;
  background:#20354a
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top:37px
}

.avatar-stack {
  display: flex;
  padding-left:5px
}

.avatar-stack span {
  width: 31px;
  height: 31px;
  margin-left: -5px;
  border: 2px solid #0a1321;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 850;
  color:#0e1a2a
}

.avatar-stack span:nth-child(1) {
  background:#d8aeff
}

.avatar-stack span:nth-child(2) {
  background:#90e6eb
}

.avatar-stack span:nth-child(3) {
  background:#ceff8f
}

.hero-proof>span {
  display: flex;
  flex-direction: column;
  gap:0
}

.hero-proof strong {
  font-size: 11px;
  color:#e7eff8
}

.hero-proof small {
  font-size: 10px;
  color:#8fa0b6
}

.hero-visual {
  height: 425px;
  min-width: 0;
  position: relative;
  border: 1px solid #253e50;
  border-radius: 25px;
  overflow: hidden;
  background: linear-gradient(138deg,#112938b3,#0e182e 60%,#1e2440);
  box-shadow:var(--shadow)
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#54807a19 1px,transparent 1px),linear-gradient(90deg,#54807a19 1px,transparent 1px);
  background-size: 35px 35px;
  mask-image:linear-gradient(to bottom,transparent,black 25%,black 75%,transparent)
}

.visual-glow {
  position: absolute;
  left: 20%;
  right: 12%;
  top: 21%;
  height: 240px;
  border-radius: 50%;
  background: #6bcbae22;
  filter:blur(65px)
}

.flow-graphic {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 31%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap:0
}

.flow-node {
  position: relative;
  z-index: 2;
  width: 27%;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 22px 5px;
  background: linear-gradient(145deg,#192e42,#111d34);
  border: 1px solid #395168;
  border-radius: 16px;
  box-shadow:0 14px 36px #07111d83
}

.flow-center {
  width: 30%;
  padding-top: 26px;
  padding-bottom: 25px;
  border-color: #648a6c;
  background: linear-gradient(150deg,#254639,#18323a);
  box-shadow:0 0 0 6px #c4ff7710,0 15px 45px #00160b99
}

.flow-node-icon {
  height: 38px;
  width: 38px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius:12px
}

.flow-node-icon svg {
  height: 20px;
  width:20px
}

.flow-node-icon.purple {
  background: #a68cff22;
  color:#bca6ff
}

.flow-node-icon.cyan {
  background: #59dadc22;
  color:#6be3e2
}

.flow-node-icon.main-icon {
  height: 48px;
  width: 48px;
  background: #b8fb70;
  color: #163220;
  border-radius: 15px;
  margin-bottom:12px
}

.flow-node small {
  font-size: 8px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color:#93a5b5
}

.flow-node strong {
  font-size: 15px;
  color: #f7fffc;
  margin: 6px 0 3px;
  letter-spacing:-.4px
}

.flow-node-sub {
  font-size: 9px;
  color:#a1b2c5
}

.mini-kafka-glyph {
  width: 25px;
  height: 24px;
  display: block;
  position:relative
}

.mini-kafka-glyph:before,.mini-kafka-glyph:after {
  content: "";
  position: absolute;
  left: 7px;
  background: #21492f;
  height: 3px;
  width: 12px;
  transform-origin:left
}

.mini-kafka-glyph:before {
  top: 6px;
  transform:rotate(35deg)
}

.mini-kafka-glyph:after {
  top: 17px;
  transform:rotate(-35deg)
}

.mini-kafka-glyph b {
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid #21492f;
  background: var(--mint);
  border-radius:50%
}

.mini-kafka-glyph b:nth-child(1) {
  left: 0;
  top:8px
}

.mini-kafka-glyph b:nth-child(2) {
  right: 0;
  top:0
}

.mini-kafka-glyph b:nth-child(3) {
  right: 0;
  bottom:0
}

.mini-kafka-glyph b:nth-child(4),.mini-kafka-glyph b:nth-child(5) {
  display:none
}

.flow-connector {
  position: relative;
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg,#8172b3,#b0f5b0);
  opacity:.95
}

.flow-connector-2 {
  background:linear-gradient(90deg,#b0f5b0,#5bccd8)
}

.flow-connector:after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left:6px solid #adeeaf
}

.flow-connector-2:after {
  border-left-color:#65d7e2
}

.flow-connector i {
  position: absolute;
  top: -3px;
  left: 0;
  height: 8px;
  width: 8px;
  border-radius: 3px;
  background: #c2ff9b;
  box-shadow: 0 0 17px #c2ff9b;
  animation:travel 2.6s linear infinite
}

.flow-connector i:nth-child(2) {
  animation-delay:-.9s
}

.flow-connector i:nth-child(3) {
  animation-delay:-1.8s
}

@keyframes travel {
  0% {
    left: 0;
    opacity:0
  }
  20% {
    opacity:1
  }
  75% {
    opacity:1
  }
  100% {
    left: 95%;
    opacity:0
  }
}

.visual-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  padding: 13px 15px;
  border: 1px solid #355365;
  border-radius: 10px;
  background: #091b2cb8;
  display: flex;
  align-items: center;
  gap: 9px;
  backdrop-filter:blur(8px)
}

.caption-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation:pulse 1.8s infinite
}

.visual-caption>span:nth-child(2) {
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color:#abd8b0
}

.visual-caption strong {
  margin-left: auto;
  font-size: 9px;
  font-weight: 650;
  color:#98abbd
}

.dim {
  color:#507389
}

.float-tag {
  position: absolute;
  padding: 7px 11px;
  border: 1px solid #354d59;
  border-radius: 9px;
  background: #11283fd1;
  font-size: 10px;
  font-family: monospace;
  color: #cae2d5;
  box-shadow: 0 12px 20px #050c1780;
  animation:float 4s ease-in-out infinite
}

.float-tag span {
  color:var(--mint)
}

.tag-one {
  top: 65px;
  right: 30px;
  transform:rotate(4deg)
}

.tag-two {
  left: 27px;
  bottom: 107px;
  animation-delay:-2s
}

@keyframes float {
  50% {
    translate:0 -7px
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 18px var(--mint);
    opacity:.5
  }
}

.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  top: -4px;
  right: 19px;
  box-shadow:0 0 15px var(--mint)
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin-top:40px
}

.overview-stats>div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 1px solid #26374a;
  background: #111e2e;
  padding: 18px 16px;
  border-radius:13px
}

.stat-icon {
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  flex:none
}

.stat-icon svg {
  width: 18px;
  height:18px
}

.stat-icon.sky {
  background: #5ddfd914;
  color:#65d6dc
}

.stat-icon.violet {
  background: #ab90ff16;
  color:#ab90ff
}

.stat-icon.lime {
  background: #b8fb7015;
  color:var(--mint)
}

.stat-icon.coral {
  background: #ffab7514;
  color:var(--orange)
}

.overview-stats strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  color: #f2f9ff;
  letter-spacing:-1px
}

.overview-stats small {
  display: block;
  color: #8398ac;
  font-size: 10px;
  margin-top:2px
}

/* A compact, plain-language definition before the postal metaphor. */
.definition-strip {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 23px;
  margin-top: 20px;
  border: 1px solid #385c70;
  border-radius: 14px;
  background: linear-gradient(115deg,#112b3d,#152235);
}
.definition-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: #5ddfd91a;
  color: var(--cyan);
  font-size: 24px;
  font-weight: 850;
}
.definition-strip strong { color: #f0faff; font-size: 14px; }
.definition-strip p { color: #a4b9c9; font-size: 11px; line-height: 1.75; margin: 4px 0 0; }
.definition-strip b { color: #d5f3e9; }
.definition-term {
  margin-left: auto;
  flex: none;
  text-align: right;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.4px;
  color: #82a5af;
}
@media (max-width: 760px) {
  .definition-strip { align-items: flex-start; padding: 16px; }
  .definition-term { display: none; }
}

.metaphor-card {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px;
  border: 1px solid #344d3d;
  background: linear-gradient(105deg,#182a27,#17272c 65%,#15212d);
  border-radius: 16px;
  position: relative;
  overflow:hidden
}

.metaphor-card:before {
  content: "";
  position: absolute;
  right: -50px;
  top: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid #b8fb7019;
  border-radius: 50%;
  box-shadow:0 0 0 35px #b8fb7007,0 0 0 75px #b8fb7005
}

.metaphor-symbol {
  width: 53px;
  height: 53px;
  flex: none;
  display: grid;
  place-items: center;
  background: #b8fb701e;
  color: var(--mint);
  font-size: 29px;
  border: 1px solid #b8fb7034;
  border-radius:14px
}

.label-pill {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color:var(--mint)
}

.metaphor-card h3 {
  font-size: 20px;
  color: #f3f9ee;
  letter-spacing: -.7px;
  margin:4px 0 7px
}

.metaphor-card h3 em {
  font-style: normal;
  color:var(--mint)
}

.metaphor-card p {
  margin: 0;
  color: #a9c0ba;
  font-size: 12px;
  max-width: 860px;
  line-height:1.75
}

.metaphor-card p strong {
  color:#e2f5e9
}

.metaphor-stamp {
  margin-left: auto;
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: 2px;
  color: #709084;
  transform: rotate(9deg);
  border: 1px dashed #507358;
  border-radius: 5px;
  padding: 8px 10px;
  text-align:center
}

.section-heading {
  margin-bottom: 35px;
  max-width:760px
}

.section-index {
  font-weight: 850;
  color: var(--mint);
  font-size: 10px;
  letter-spacing:2px
}

.section-heading h2 {
  font-size: clamp(32px,3.45vw,48px);
  line-height: 1.13;
  color: #f6f9ff;
  letter-spacing: -1.9px;
  font-weight: 780;
  margin:16px 0
}

.section-heading h2 span {
  color:#91a5bb
}

.section-heading p {
  max-width: 710px;
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color:#93a6b9
}

/* Architectural comparison: direct calls vs event-driven design. */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:17px
}

.compare-card {
  padding: 24px;
  border: 1px solid #2b3b4d;
  border-radius: 18px;
  background: #111e2f;
  min-width:0
}

.compare-card.new-way {
  background: linear-gradient(180deg,#122d2c 0%,#11212c 72%);
  border-color:#3a6655
}

.compare-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items:center
}

.small-flag {
  display: inline-block;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.1px;
  white-space:nowrap
}

.small-flag.danger {
  color: #ffb9b8;
  background:#723b433d
}

.small-flag.success {
  color: var(--mint);
  background:#b8fb701c
}

.compare-status {
  font-size: 10px;
  color:#7c91a7
}

.compare-card h3 {
  font-size: 18px;
  letter-spacing: -.5px;
  color: #ebf3ff;
  margin:13px 0 21px
}

.compare-diagram {
  height: 201px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #26394c;
  background-color: #0a1727;
  background-image: radial-gradient(#5368792a .7px,transparent .7px);
  background-size: 15px 15px;
  border-radius: 11px;
  padding: 20px 12px;
  margin-bottom: 20px;
  overflow:hidden
}

.service-main {
  flex: none;
  text-align: center;
  padding: 15px 12px;
  background: #334054;
  border: 1px solid #5c6e80;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing:.5px
}

.service-main small {
  display: block;
  color: #c4d2dc;
  font-size: 8px;
  letter-spacing:1px
}

.service-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width:85px
}

.service-stack>div {
  padding: 7px 10px;
  border: 1px solid #435567;
  background: #213246;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color:#d8e4f3
}

.service-stack>div i {
  font-size: 12px;
  color: var(--red);
  font-style:normal
}

.legacy-lines {
  width: 23%;
  max-width: 72px;
  min-width: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transform:rotate(-1deg)
}

.legacy-lines span {
  height: 2px;
  background: #d5828b;
  position:relative
}

.legacy-lines span:nth-child(1) {
  transform:rotate(-23deg) translateY(10px)
}

.legacy-lines span:nth-child(2) {
  transform:rotate(-8deg)
}

.legacy-lines span:nth-child(3) {
  transform:rotate(8deg)
}

.legacy-lines span:nth-child(4) {
  transform:rotate(23deg) translateY(-10px)
}

.legacy-lines span:after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border-left: 5px solid #d5828b;
  border-top: 4px solid transparent;
  border-bottom:4px solid transparent
}

.kafka-diagram {
  gap: 8px;
  border-color:#376050
}

.kafka-diagram .service-main {
  background: #304f47;
  border-color:#5d9972
}

.single-arrow {
  color: var(--mint);
  font-size: 23px;
  font-weight:700
}

.kafka-bus {
  padding: 18px 12px;
  background: #b8fb7024;
  border: 1px solid #88ba6a;
  border-radius: 10px;
  color: var(--mint);
  font-size: 20px;
  font-weight: 800;
  min-width: 66px;
  text-align:center
}

.kafka-bus small {
  display: block;
  font-size: 9px;
  letter-spacing:1px
}

.fan-arrows {
  width: 29px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 120px;
  color: var(--mint);
  font-size:16px
}

.service-stack.compact>div {
  background: #204039;
  border-color: #477d60;
  padding:6px 9px
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  min-height:100px
}

.comparison-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 21px;
  color: #9fb1c4;
  font-size: 12px;
  line-height:1.65
}

.comparison-list li:before {
  content: "×";
  position: absolute;
  left: 2px;
  color: #ed8f92;
  font-size: 15px;
  font-weight: 800;
  top:-2px
}

.new-way .comparison-list li:before {
  content: "✓";
  color: var(--mint);
  font-size: 13px;
  top:0
}

.comparison-list strong {
  color:#d5f3df
}

.compare-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #ff9a9c;
  border-top: 1px solid #2b3b4d;
  padding-top: 16px;
  font-weight: 800;
  margin-top:18px
}

.new-way .compare-summary {
  border-color: #36534c;
  color:var(--mint)
}

.compare-summary span {
  font-size:20px
}

.insight-line {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #2d4155;
  background: #152336;
  padding: 14px 17px;
  border-radius:10px
}

.insight-line>svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: #8db6d8;
  margin-top:2px
}

.insight-line p {
  font-size: 11px;
  line-height: 1.8;
  color: #9db1c6;
  margin:0
}

.insight-line strong {
  color:#d9e8f6
}

/* Kafka logical architecture and compact glossary. */
.architecture-map {
  border: 1px solid #2f4656;
  border-radius: 17px;
  background: radial-gradient(ellipse at 49% 48%,#15403d52,transparent 52%),#111f2f;
  padding: 24px;
  margin-bottom: 17px;
  overflow:hidden
}

.map-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8398a8;
  font-size:10px
}

.arch-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top:25px
}

.arch-unit {
  border-radius: 12px;
  border: 1px solid #3a4b60;
  background: #15283d;
  text-align: center;
  min-width: 106px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:17px 10px
}

.unit-icon {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom:10px
}

.unit-icon svg {
  width: 17px;
  height:17px
}

.unit-icon.lilac {
  background: #ab90ff20;
  color:#b69eff
}

.unit-icon.aqua {
  background: #5ddfd91b;
  color:#79e0e4
}

.arch-unit strong {
  font-size: 12px;
  color:#edf4ff
}

.arch-unit small {
  font-family: monospace;
  color: #8ca6b8;
  font-size: 10px;
  margin-top:3px
}

.arch-arrow {
  align-self: center;
  color: var(--mint);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items:center
}

.arch-arrow small {
  font-weight: 500;
  font-size: 9px;
  color:#7ea6a0
}

.arch-kafka {
  flex: 1;
  max-width: 620px;
  border: 1px solid #5a816c;
  background: #19302e;
  border-radius: 13px;
  min-width: 0;
  padding:13px
}

.arch-kafka-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 11px;
  color: #c6f0cb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing:1px
}

.arch-kafka-head>span {
  display: flex;
  align-items: center;
  gap:8px
}

.arch-kafka-head small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  color:#90a8a3
}

.arch-node-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background:var(--mint)
}

.arch-topic {
  padding: 12px;
  border-radius: 8px;
  border: 1px dashed #55765e;
  background:#102329
}

.arch-topic-label {
  font-size: 10px;
  color: #85a5a9;
  margin-bottom:10px
}

.arch-topic-label strong {
  color:#e5f6f0
}

.arch-part {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b7f4bd;
  font-size: 10px;
  font-weight: 750;
  margin-top:6px
}

.arch-part>span {
  padding: 3px 9px;
  background: #2e5648;
  border: 1px solid #52765c;
  color: #d8f3d9;
  border-radius: 4px;
  font-family: monospace;
  font-size:9px
}

.arch-part i {
  font-style: normal;
  color: #85a8a1;
  letter-spacing:3px
}

.arch-controller {
  margin-top: 10px;
  text-align: center;
  border-top: 1px solid #426755;
  color: #9bc4aa;
  font-size: 9px;
  padding-top:9px
}

.arch-controller span {
  color: var(--mint);
  margin:0 5px
}

.arch-footnote {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #2f4c4c;
  color: #9fbaad;
  text-align: center;
  font-size:11px
}

.arch-footnote strong {
  color:#e3f4e0
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap:13px
}

.glossary-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #2a3b4d;
  background: #121f2f;
  border-radius: 13px;
  padding: 20px;
  min-height: 227px;
  transition:transform .22s,border-color .22s
}

.glossary-card:hover {
  transform: translateY(-4px);
  border-color:#658967
}

.glossary-num {
  display: flex;
  justify-content: space-between;
  color: var(--mint);
  font-size: 12px;
  font-weight:850
}

.glossary-num span {
  font-size: 8px;
  letter-spacing: 1px;
  color:#7394a4
}

.glossary-card h3 {
  font-size: 19px;
  margin: 17px 0 8px;
  letter-spacing: -.5px;
  color:#f2f7ff
}

.glossary-card p {
  font-size: 11px;
  color: #97aabf;
  line-height: 1.7;
  margin:0 0 15px
}

.glossary-card p strong {
  color:#d4e9f1
}

.glossary-card code {
  color:#b0edc5
}

.analogy {
  border-top: 1px solid #2d4154;
  margin-top: auto;
  padding-top: 11px;
  color: #b0c4a9;
  font-size:10px
}

.analogy b {
  color: var(--mint);
  font-weight: 850;
  margin-right:5px
}

.key-concepts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 13px;
  margin-top:16px
}

.key-concepts>div {
  display: grid;
  grid-template-columns: 35px 1fr;
  column-gap: 9px;
  align-content: start;
  background: #162434;
  border: 1px solid #2b4051;
  border-radius: 10px;
  padding:15px
}

.concept-glyph {
  grid-row: span 2;
  color: var(--mint);
  font-size: 27px;
  line-height:1
}

.key-concepts strong {
  font-size: 12px;
  color:#e5f0fa
}

.key-concepts p {
  margin: 2px 0 0;
  color: #9db0c1;
  font-size: 11px;
  line-height:1.65
}

.key-concepts em {
  font-style: normal;
  color:#d7f2d9
}

.playground-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap:24px
}

.playground-heading .section-index .live-dot {
  width: 6px;
  height: 6px;
  margin:0 6px
}

.sim-indicator {
  margin-bottom: 3px;
  flex: none;
  border: 1px solid #365442;
  background: #1a3029;
  border-radius: 10px;
  padding: 11px 14px;
  color: #c0ecb5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing:1px
}

.sim-indicator .live-dot {
  margin-right:8px
}

.sim-indicator small {
  display: block;
  font-size: 9px;
  color: #8fad9f;
  margin-left: 20px;
  letter-spacing: 0;
  font-weight:500
}

/* In-memory simulator: producer, partitions, consumer groups, logs. */
.lab-shell {
  border: 1px solid #345063;
  border-radius: 17px;
  background: #0e1928;
  overflow: hidden;
  box-shadow:var(--shadow)
}

.lab-toolbar {
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #16253a;
  border-bottom:1px solid #2b4157
}

.lab-name {
  display: flex;
  align-items: center;
  gap:11px
}

.lab-name-icon {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #a9f8771b;
  color:var(--mint)
}

.lab-name-icon svg {
  width: 19px;
  height:19px
}

.lab-name strong {
  display: block;
  color: #f0f6fe;
  font-size: 13px;
  line-height:1.4
}

.lab-name small {
  display: block;
  font-size: 10px;
  color:#8097ae
}

.lab-actions {
  display: flex;
  gap:8px
}

.tool-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #243b50;
  border: 1px solid #3a556a;
  color: #dae7f1;
  font-size: 10px;
  font-weight: 760;
  padding: 10px 12px;
  border-radius: 8px;
  white-space:nowrap
}

.tool-btn:hover {
  background:#345268
}

.tool-btn[aria-pressed=true] {
  border-color: #b8fb70;
  background: #304b33;
  color:var(--mint)
}

.tool-btn svg {
  width: 14px;
  height:14px
}

.reset-btn {
  color:#ffbdac
}

.lab-metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-bottom:1px solid #2e4358
}

.lab-metrics>div {
  padding: 17px 19px;
  border-right: 1px solid #2a3d52;
  min-width:0
}

.lab-metrics>div:last-child {
  border-right:0
}

.lab-metrics span:first-child {
  display: block;
  color: #8096ac;
  font-size: 9px;
  font-weight: 800;
  letter-spacing:1px
}

.lab-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 780;
  letter-spacing: -1px;
  color: #f3f9ff;
  margin-top: 5px;
  font-variant-numeric:tabular-nums
}

.lab-metrics>div:nth-child(2) strong {
  color:var(--cyan)
}

.lab-metrics>div:nth-child(3) strong {
  color:var(--orange)
}

.lab-metrics>div:nth-child(4) strong {
  color:var(--mint)
}

.count-muted {
  font-size: 14px!important;
  letter-spacing: 0!important;
  display: inline!important;
  color:#849f86!important
}

.lab-metrics small {
  color: #71879d;
  font-size:10px
}

.lab-stage-title {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 12px;
  padding:15px 16px 0
}

.lab-stage-title>span:not(.stage-divider) {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #92acc2;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight:850
}

.stage-step {
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 850;
  border: 1px solid #48657b;
  border-radius: 5px;
  color: var(--mint);
  width: 23px;
  height:23px
}

.stage-divider {
  display:none
}

.lab-workspace {
  display: grid;
  grid-template-columns: minmax(225px,1fr) minmax(340px,1.53fr) minmax(220px,.95fr);
  gap: 11px;
  padding:11px 14px 16px
}

.lab-panel {
  min-width: 0;
  background: #142337;
  border: 1px solid #294057;
  border-radius: 12px;
  overflow:hidden
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 17px 14px 14px;
  border-bottom:1px solid #293e53
}

.panel-heading h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  letter-spacing: -.4px;
  color: #f2f8ff;
  margin:6px 0 0
}

.panel-heading h3 svg {
  width: 17px;
  height: 17px;
  color:var(--purple)
}

.partition-panel-heading h3 svg {
  color:var(--cyan)
}

.consumer-panel .panel-heading h3 svg {
  color:var(--mint)
}

.violet-flag {
  color: #c2b2ff;
  background:#a58bff20
}

.cyan-flag {
  color: #78e4e4;
  background:#53d8dc17
}

.green-flag {
  color: var(--mint);
  background:#b8fb7018
}

.panel-side-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #b69fff;
  box-shadow:0 0 0 4px #b69fff1a
}

.panel-side-dot.mint {
  background:var(--mint)
}

.producer-panel form {
  padding:15px 14px 12px
}

.producer-panel form label,.consumer-panel>label {
  display: block;
  font-size: 9px;
  color: #9eb4c6;
  letter-spacing: 1px;
  font-weight: 850;
  margin-bottom:8px
}

.producer-panel form label:not(:first-child) {
  margin-top:15px
}

.optional {
  color: #6f879c;
  font-weight: 500;
  letter-spacing:0
}

.producer-panel textarea,.producer-panel input,.producer-panel select,.consumer-panel select {
  width: 100%;
  min-width: 0;
  display: block;
  border: 1px solid #344e63;
  background: #0a1b2d;
  color: #e6f2fd;
  border-radius: 7px;
  padding: 11px 10px;
  outline: 0;
  transition: border-color .2s;
  font-size:11px
}

.producer-panel textarea {
  resize: vertical;
  min-height: 114px;
  line-height: 1.7;
  font-family: monospace;
  word-break:break-word
}

.producer-panel textarea:focus,.producer-panel input:focus,.producer-panel select:focus,.consumer-panel select:focus {
  border-color: #91d7a7;
  box-shadow:0 0 0 3px #8fc98718
}

.producer-panel select,.consumer-panel select {
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"%3E%3Cpath d="m2 4 4 4 4-4" fill="none" stroke="%239ab1c2" stroke-width="1.5"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right:26px
}

.form-hint {
  font-size: 9px;
  color: #657d93;
  margin-top: 5px;
  text-align:right
}

.routing-hint {
  color: #91a8b9;
  font-size: 10px;
  line-height: 1.6;
  min-height: 32px;
  margin-top:9px
}

.send-btn {
  margin-top: 13px;
  width: 100%;
  padding: 12px;
  font-size:12px
}

.send-btn svg {
  width: 16px;
  height:16px
}

.keyboard-hint {
  margin-left: auto;
  font-size: 10px;
  opacity:.57
}

.producer-footer {
  border-top: 1px solid #293e53;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color:#a0c2a5
}

.status-led {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background:var(--mint)
}

.producer-footer>span:last-child {
  margin-left: auto;
  color:#738da3
}

.producer-footer i {
  font-style:normal
}

.topic-meta {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .7px;
  color: #7da8ad;
  white-space:nowrap
}

.partitions-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  padding: 13px 11px;
  min-height:310px
}

.partition-card {
  background: #0d1c2d;
  border: 1px solid #30495d;
  border-radius: 9px;
  padding: 9px 8px;
  min-width: 0;
  transition:border-color .2s
}

.partition-card.is-receiving {
  border-color: var(--mint);
  box-shadow:inset 0 0 0 1px #b8fb7025,0 0 22px #b8fb701a
}

.partition-head {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  align-items: center;
  border-bottom: 1px solid #243e52;
  padding-bottom:9px
}

.partition-head strong {
  font-size: 10px;
  color: #e2f1fc;
  white-space:nowrap
}

.partition-head span {
  font-size: 9px;
  font-family: monospace;
  color:#6f9bb0
}

.message-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 9px;
  min-height:200px
}

.message-record {
  border: 1px solid #46706a;
  background: #173c40;
  border-radius: 6px;
  padding: 8px 7px;
  min-width: 0;
  animation:recordIn .28s ease-out
}

.message-record.is-read {
  background: #19283a;
  border-color: #294156;
  opacity:.75
}

.message-record.is-new {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px #b8fb7040;
  animation:recordIn .35s ease-out
}

.record-top {
  display: flex;
  justify-content: space-between;
  gap: 3px;
  align-items:center
}

.record-offset {
  font-size: 9px;
  color: #baffc0;
  font-family: monospace;
  font-weight:800
}

.message-record.is-read .record-offset {
  color:#849fb3
}

.record-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background:#b8fb70
}

.message-record.is-read .record-dot {
  background:#62788d
}

.record-value {
  color: #e0f5f1;
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-family: monospace;
  margin-top:5px
}

.message-record.is-read .record-value {
  color:#859caf
}

.record-key {
  margin-top: 4px;
  font-size: 8px;
  color: #86b4b1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space:nowrap
}

.message-record.is-read .record-key {
  color:#6d8498
}

.partition-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 175px;
  gap: 9px;
  color: #526e82;
  font-size: 9px;
  text-align: center;
  border: 1px dashed #2b4353;
  border-radius:8px
}

.partition-empty svg {
  width: 22px;
  height: 22px;
  color:#517a7a
}

.hidden-count {
  margin-top: 5px;
  font-size: 9px;
  color: #7994a8;
  text-align:center
}

.partition-tail {
  border-top: 1px dashed #2b4254;
  margin-top: 10px;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 3px;
  align-items:center
}

.partition-tail span {
  font-size: 9px;
  color:#819bac
}

.partition-tail strong {
  color: var(--mint);
  font-family: monospace;
  font-size:10px
}

.partition-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 13px 13px;
  color: #849bac;
  font-size:9px
}

.partition-legend>span {
  display: flex;
  align-items: center;
  gap:6px
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius:3px
}

.legend-dot.unread {
  background:#4c9788
}

.legend-dot.read {
  background:#3d536b
}

.partition-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 13px;
  border-top: 1px solid #2c4355;
  background: #152a3b;
  font-size: 10px;
  line-height: 1.7;
  color:#8faec1
}

.partition-note svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 2px;
  color:#67d6d6
}

.consumer-panel {
  padding-bottom:12px
}

.consumer-panel>label {
  margin:14px 13px 7px
}

.consumer-panel select {
  width: calc(100% - 26px);
  margin:0 13px
}

.assignment-title,.offset-title {
  margin: 18px 13px 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #9eb4c6;
  font-size: 9px;
  letter-spacing: .8px;
  font-weight:850
}

.assignment-title span {
  color:#6d879a
}

.consumer-assignments {
  margin: 0 13px;
  display: flex;
  flex-direction: column;
  gap:7px
}

.assignment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  background: #102035;
  border: 1px solid #294054;
  border-radius: 7px;
  padding:9px
}

.assignment-person {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #e3f0f3;
  font-weight:750
}

.consumer-avatar {
  height: 25px;
  width: 25px;
  border-radius: 7px;
  background: #41635a;
  color: #d5ffd7;
  display: grid;
  place-items: center;
  font-size:10px
}

.assignment-row.is-idle {
  opacity:.54
}

.assignment-row.is-idle .consumer-avatar {
  background:#314154
}

.assignment-badges {
  display: flex;
  gap:3px
}

.assignment-badges span {
  border: 1px solid #50806a;
  background: #295145;
  border-radius: 4px;
  padding: 2px 4px;
  color: #c0f2ce;
  font-family: monospace;
  font-size:8px
}

.assignment-row.is-idle .assignment-badges span {
  border-color: #4b5b6a;
  background: #2b3e51;
  color:#a2b4c2
}

.btn-consume {
  display: flex;
  margin: 15px 13px 0;
  width: calc(100% - 26px);
  background: #b8fb7022;
  border-color: #698c5b;
  color: var(--mint);
  padding:11px
}

.btn-consume:hover {
  background: #b8fb7034;
  border-color:var(--mint)
}

.btn-consume span {
  margin-left: auto;
  font-family: monospace;
  font-size: 10px;
  opacity: .6;
  font-weight:500
}

.offset-title {
  margin-top:20px
}

.offset-list {
  padding: 0 13px;
  display: flex;
  flex-direction: column;
  gap:7px
}

.offset-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #0d1d2c;
  padding: 9px;
  border: 1px solid #284052;
  border-radius:7px
}

.offset-item>span {
  font-size: 10px;
  color:#9cb1c3
}

.offset-item strong {
  color: #c0fd99;
  font-size: 11px;
  font-family: monospace;
  font-variant-numeric:tabular-nums
}

.lab-bottom {
  border-top:1px solid #2d4457
}

.activity-head {
  padding: 12px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom:1px solid #21394c
}

.activity-head>span {
  color: #9bb7c6;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight:800
}

.activity-symbol {
  color: var(--mint);
  font-size: 17px;
  vertical-align: -1px;
  margin-right:6px
}

.text-btn {
  border: 0;
  background: none;
  color: #88a2b8;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset:2px
}

.text-btn:hover {
  color:#e0f1f5
}

.activity-log {
  height: 148px;
  overflow-y: auto;
  padding: 10px 20px;
  scrollbar-width: thin;
  scrollbar-color:#3e6074 transparent
}

.log-entry {
  display: flex;
  gap: 11px;
  align-items: baseline;
  margin-bottom: 7px;
  font-size: 10px;
  font-family:monospace
}

.log-entry time {
  color: #638096;
  flex:none
}

.log-entry .log-tag {
  font-size: 9px;
  font-weight: 800;
  flex: none;
  width: 65px;
  letter-spacing:.1px
}

.log-tag.sent {
  color:var(--mint)
}

.log-tag.read {
  color:#70dce0
}

.log-tag.info {
  color:#c0a6fb
}

.log-tag.warn {
  color:#ffb28b
}

.log-entry .log-body {
  color: #a4bdcb;
  overflow-wrap:anywhere
}

.empty-log {
  font-size: 11px;
  color: #718ca2;
  padding-top:12px
}

.fly-message {
  z-index: 100;
  pointer-events: none;
  position: fixed;
  width: 55px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid #c9ff98;
  background: #b8fb70;
  color: #153225;
  font-family: monospace;
  font-weight: 850;
  font-size: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 22px #b8fb7080;
  transition:transform .56s cubic-bezier(.2,.7,.2,1),opacity .56s
}

.lab-help-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 11px;
  margin-top:16px
}

.lab-help {
  display: flex;
  gap: 12px;
  background: #111f2e;
  border: 1px solid #2a4151;
  border-radius: 10px;
  padding:16px
}

.lab-help>span {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid #486c5e;
  color: var(--mint);
  font-size: 10px;
  font-weight:850
}

.lab-help strong {
  display: block;
  color: #e7f1f4;
  font-size: 11px;
  margin-top:1px
}

.lab-help p {
  color: #94abbc;
  margin: 5px 0 0;
  font-size: 10px;
  line-height:1.8
}

.lab-help em {
  font-style: normal;
  color:#c2f6c0
}

.lab-help code {
  color:#bee8d1
}

@keyframes recordIn {
  from {
    opacity: 0;
    transform:translateY(9px) scale(.97)
  }
  to {
    opacity: 1;
    transform:none
  }
}

/* Real-world event patterns and event payload examples. */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap:15px
}

.usecase-card {
  background: #111e2f;
  border: 1px solid #2d4153;
  border-radius: 16px;
  padding: 22px;
  min-width: 0;
  transition:border-color .2s
}

.usecase-card:hover {
  border-color:#628a72
}

.usecase-top {
  display: flex;
  align-items: center;
  justify-content:space-between
}

.usecase-top>span:last-child {
  font-size: 9px;
  color: #8399ae;
  font-weight: 800;
  letter-spacing:1.3px
}

.use-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 12px;
  font-size: 22px;
  font-weight:800
}

.orange-bg {
  background: #ffab7520;
  color:#ffb38a
}

.blue-bg {
  background: #62c7f01b;
  color:#72d1f4
}

.violet-bg {
  background: #ad91fa1e;
  color:#b8a6ff
}

.green-bg {
  background: #b8fb701e;
  color:var(--mint)
}

.usecase-card h3 {
  font-size: 19px;
  letter-spacing: -.5px;
  color: #f2f7fe;
  margin:15px 0 8px
}

.usecase-card>p {
  font-size: 12px;
  line-height: 1.8;
  color: #9ab0c4;
  margin: 0;
  min-height:65px
}

.usecase-card>p code {
  color:#c9efbe
}

.use-flow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 20px 0;
  min-width: 0;
  flex-wrap:wrap
}

.use-flow span {
  font-size: 9px;
  font-weight: 800;
  color: #c4ddd4;
  background: #1f3b3e;
  border: 1px solid #3d6461;
  padding: 7px 9px;
  border-radius: 6px;
  white-space:nowrap
}

.use-flow b {
  font-size: 15px;
  color:var(--mint)
}

.payload-label {
  color: #8fa9bc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  margin-bottom:7px
}

.payload {
  margin: 0;
  padding: 14px;
  background: #0a1725;
  color: #a8e4cd;
  border: 1px solid #274253;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height:1.65
}

.usecase-warning {
  margin-top: 14px;
  padding: 11px 12px;
  background: #222c35;
  border-left: 2px solid var(--orange);
  color: #a8b6bf;
  font-size: 10px;
  line-height:1.6
}

/* Selectable real-world code snippets. */
.code-workspace {
  border: 1px solid #344b5f;
  border-radius: 16px;
  overflow: hidden;
  background: #091421;
  box-shadow:var(--shadow)
}

.code-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: #19283b;
  border-bottom: 1px solid #2c4255;
  padding:0 17px
}

.code-tabs {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width:none
}

.code-tab {
  flex: none;
  padding: 17px 3px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #91a3b6;
  font-size: 11px;
  font-weight:750
}

.code-tab.is-active {
  border-bottom-color: var(--mint);
  color:var(--mint)
}

.code-tab:hover {
  color:#eaf4ff
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #426075;
  color: #c8dce9;
  background: #263d50;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 10px;
  white-space:nowrap
}

.copy-btn:hover {
  border-color:#8cd2aa
}

.copy-btn svg {
  width: 13px;
  height:13px
}

.code-filebar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 13px 20px;
  border-bottom:1px solid #1d3345
}

.code-filebar>div {
  display: flex;
  align-items: center;
  gap:7px
}

.file-dot {
  width: 8px;
  height: 8px;
  border-radius:50%
}

.file-dot.red {
  background:#f17f85
}

.file-dot.yellow {
  background:#f2c66d
}

.file-dot.green {
  background:#9bdb9f
}

.file-name {
  font-family: monospace;
  font-size: 11px;
  color: #97abc1;
  margin-left:14px
}

.code-language {
  font-size: 9px;
  letter-spacing: 1px;
  color:#7a96a8
}

.code-body {
  min-width:0
}

.code-panes pre {
  margin: 0;
  padding: 23px 25px 26px;
  max-height: 440px;
  min-height: 278px;
  overflow: auto;
  color: #bdd7d4;
  font-size: 12px;
  line-height: 1.9;
  tab-size: 4;
  white-space:pre
}

.code-panes pre[hidden] {
  display:none
}

.code-panes code {
  font-size:inherit
}

.code-notes {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 13px;
  margin-top:16px
}

.code-notes>div {
  padding: 17px;
  background: #132132;
  border: 1px solid #2b4153;
  border-radius:10px
}

.code-notes strong {
  font-size: 12px;
  color:#e9f4fd
}

.code-notes strong span {
  color: var(--mint);
  margin-right:7px
}

.code-notes p {
  margin: 7px 0 0;
  color: #9fb0c0;
  font-size: 11px;
  line-height:1.8
}

.code-notes code {
  color:#bce6bb
}

.code-notes a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset:3px
}

/* Interactive knowledge check and feedback. */
.quiz-card {
  border: 1px solid #3e5957;
  border-radius: 17px;
  background: radial-gradient(circle at 100% 0%,#244e3c4a,transparent 40%),#132332;
  overflow:hidden
}

.quiz-top {
  padding: 21px 24px 5px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing:1.6px
}

.quiz-top strong {
  color:#9db1c4
}

.quiz-progress-track {
  height: 4px;
  border-radius: 0;
  margin:15px 0 0
}

.quiz-progress-track>div {
  width:25%
}

.quiz-content-inner {
  padding: 26px 26px 10px;
  min-height:267px
}

.quiz-content-inner h3 {
  font-size: 22px;
  color: #f7fbff;
  letter-spacing: -.6px;
  margin:0 0 22px
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:11px
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 14px;
  border-radius: 9px;
  border: 1px solid #345065;
  background: #162b3c;
  color: #c8d8e4;
  font-size: 12px;
  min-height:62px
}

.quiz-option span {
  flex: none;
  border: 1px solid #4a6375;
  color: #a3b9c8;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight:850
}

.quiz-option:hover:not(:disabled) {
  border-color: #83ad7f;
  background:#1e3944
}

.quiz-option:disabled {
  cursor:default
}

.quiz-option.is-correct {
  border-color: #a1dc86;
  background: #244a39;
  color:#d4ffd0
}

.quiz-option.is-correct span {
  color: #d1ffba;
  border-color:#a1dc86
}

.quiz-option.is-wrong {
  border-color: #dd777a;
  background: #472d3a;
  color:#ffd0d0
}

.quiz-feedback {
  border-radius: 7px;
  padding: 11px 14px;
  margin-top: 14px;
  font-size: 12px;
  line-height:1.7
}

.quiz-feedback.correct {
  color: #bff6b1;
  background: #b8fb7016;
  border:1px solid #658959
}

.quiz-feedback.wrong {
  color: #ffb7b7;
  background: #ff818813;
  border:1px solid #995c64
}

.quiz-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #31505b;
  padding: 14px 24px;
  background:#112433
}

.quiz-bottom>div {
  font-size: 11px;
  color:#9fb3c1
}

.quiz-bottom>div strong {
  color: var(--mint);
  font-size:14px
}

.quiz-next {
  padding: 10px 15px;
  font-size:11px
}

.quiz-next:disabled {
  opacity: .4;
  cursor:not-allowed
}

.quiz-results {
  text-align: center;
  padding:40px 25px
}

.quiz-results .result-score {
  font-size: 70px;
  line-height: 1;
  color: var(--mint);
  font-weight: 800;
  letter-spacing:-4px
}

.quiz-results h3 {
  font-size: 25px;
  color: white;
  margin:12px 0 4px
}

.quiz-results p {
  color: #9eb7bd;
  max-width: 450px;
  margin: 0 auto 20px;
  font-size:12px
}

.quiz-results .btn {
  margin:auto
}

.finish-note {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: #15272a;
  border: 1px solid #3a6250;
  border-radius:13px
}

.finish-icon {
  width: 43px;
  height: 43px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: #b8fb701b;
  font-size:25px
}

.finish-note strong {
  color: #edfff0;
  font-size:13px
}

.finish-note p {
  margin: 5px 0 0;
  font-size: 11px;
  color: #9db9aa;
  line-height:1.7
}

.finish-note .btn {
  margin-left: auto;
  flex:none
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  border-top: 1px solid #25394b;
  padding: 27px 0 35px;
  margin-top: 95px;
  color: #7c91a3;
  font-size:10px
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d5f7ce;
  font-weight: 900;
  font-size:14px
}

.small-brand {
  transform: scale(.55) rotate(-17deg);
  margin:-5px -5px -5px -6px
}

.footer>a:last-child {
  color:var(--mint)
}

.toast {
  position: fixed;
  bottom: 26px;
  right: 25px;
  z-index: 150;
  max-width: min(430px,calc(100vw - 34px));
  border: 1px solid #5f8b68;
  border-radius: 10px;
  padding: 12px 17px;
  background: #203c31;
  color: #e6ffe3;
  box-shadow: 0 14px 55px #0008;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  translate: 0 20px;
  transition:opacity .22s,translate .22s
}

.toast.is-visible {
  opacity: 1;
  translate:0 0
}

.toast.is-error {
  background: #4b2931;
  border-color: #ae6570;
  color:#ffd6da
}

/* Progressive responsive layout from large desktop to narrow phones. */
@media(max-width:1500px) {
  .hero-copy h1 {
    font-size:clamp(44px,4.4vw,69px)
  }
  .hero-layout {
    grid-template-columns:minmax(0,1fr) minmax(350px,.92fr)
  }
  .lab-workspace {
    grid-template-columns: minmax(205px,.95fr) minmax(320px,1.45fr) minmax(208px,.92fr);
    gap: 8px;
    padding:9px
  }
  .lab-stage-title {
    padding-left: 13px;
    padding-right:13px
  }
  .lab-panel .panel-heading {
    padding:14px 11px
  }
  .producer-panel form {
    padding:13px 11px
  }
  .producer-panel form label {
    font-size:8.8px
  }
  .message-record {
    padding:7px 5px
  }
  .partitions-grid {
    gap: 5px;
    padding:11px 7px
  }
  .partition-card {
    padding:8px 5px
  }
  .partition-head strong {
    font-size:9px
  }
  .partition-head span {
    font-size:8px
  }
}

@media(max-width:1290px) {
  :root {
    --sidebar-w:222px
  }
  .page-content {
    padding:0 31px
  }
  .topbar {
    padding:0 31px
  }
  .hero-layout {
    grid-template-columns: minmax(0,1fr) minmax(300px,.92fr);
    gap:20px
  }
  .hero-copy h1 {
    font-size:50px
  }
  .hero-visual {
    height:395px
  }
  .flow-graphic {
    left: 5%;
    right:5%
  }
  .flow-node {
    padding:18px 3px
  }
  .flow-node strong {
    font-size:13px
  }
  .flow-node-sub {
    font-size:8px
  }
  .lab-workspace {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    padding:12px
  }
  .partitions-panel {
    grid-column: 1/-1;
    grid-row:2
  }
  .consumer-panel {
    grid-column: 2;
    grid-row:1
  }
  .producer-panel {
    grid-column: 1;
    grid-row:1
  }
  .lab-stage-title {
    display:none
  }
  .lab-workspace .partitions-grid {
    min-height:190px
  }
  .lab-workspace .message-stack {
    min-height:140px
  }
  .glossary-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .glossary-card {
    min-height:190px
  }
  .glossary-card h3 {
    margin-top:9px
  }
  .glossary-card p {
    margin-bottom:15px
  }
}

@media(max-width:1000px) {
  :root {
    --sidebar-w:0px
  }
  .sidebar {
    width: 270px;
    transform: translateX(-102%);
    transition: transform .26s;
    box-shadow:18px 0 50px #0008
  }
  .sidebar.is-open {
    transform:translateX(0)
  }
  .mobile-shade:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background:#000a
  }
  .mobile-menu {
    display:grid
  }
  .main-column {
    margin-left: 0;
    width:100%
  }
  .page-content {
    max-width:1000px
  }
  .hero-copy h1 {
    font-size:clamp(45px,5.3vw,62px)
  }
}

@media(max-width:760px) {
  .topbar {
    height: 62px;
    padding:0 18px
  }
  .top-pill {
    display:none
  }
  .top-action {
    font-size:10px
  }
  .breadcrumb {
    font-size:9px
  }
  .page-content {
    padding:0 17px
  }
  .page-section {
    padding-top: 72px;
    scroll-margin-top:80px
  }
  .hero-section {
    padding-top:36px
  }
  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items:stretch
  }
  .hero-copy h1 {
    font-size: clamp(44px,9vw,65px);
    letter-spacing:-2.7px
  }
  .hero-lead {
    font-size:14px
  }
  .hero-visual {
    height: 350px;
    width:100%
  }
  .overview-stats {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    margin-top:21px
  }
  .overview-stats>div {
    padding:15px 13px
  }
  .metaphor-card {
    gap: 13px;
    padding:18px
  }
  .metaphor-symbol {
    height: 40px;
    width: 40px;
    font-size:23px
  }
  .metaphor-card h3 {
    font-size:17px
  }
  .metaphor-stamp {
    display:none
  }
  .section-heading h2 {
    font-size:clamp(32px,7vw,42px)
  }
  .compare-grid,.usecase-grid,.code-notes {
    grid-template-columns:1fr
  }
  .compare-diagram {
    height:185px
  }
  .comparison-list {
    min-height:unset
  }
  .arch-row {
    gap:6px
  }
  .arch-unit {
    min-width: 74px;
    padding:10px 4px
  }
  .arch-unit strong {
    font-size:9px
  }
  .arch-unit small {
    font-size:8px
  }
  .unit-icon {
    width: 28px;
    height: 28px;
    margin-bottom:5px
  }
  .arch-kafka {
    padding:7px
  }
  .arch-kafka-head {
    font-size:8px
  }
  .arch-kafka-head small {
    display:none
  }
  .arch-topic {
    padding:7px
  }
  .arch-topic-label {
    font-size:8px
  }
  .arch-part {
    font-size:8px
  }
  .arch-part>span {
    padding: 3px 4px;
    font-size:8px
  }
  .arch-controller {
    font-size:8px
  }
  .arch-arrow {
    font-size:16px
  }
  .arch-arrow small {
    display:none
  }
  .architecture-map {
    padding:12px
  }
  .key-concepts {
    grid-template-columns:1fr
  }
  .playground-heading {
    display:block
  }
  .sim-indicator {
    display: inline-block;
    margin-top:18px
  }
  .lab-toolbar {
    padding:13px 12px
  }
  .lab-metrics {
    grid-template-columns:repeat(2,1fr)
  }
  .lab-metrics>div:nth-child(2) {
    border-right:0
  }
  .lab-metrics>div:nth-child(1),.lab-metrics>div:nth-child(2) {
    border-bottom:1px solid #293e52
  }
  .lab-workspace {
    display: flex;
    flex-direction:column
  }
  .producer-panel,.consumer-panel,.partitions-panel {
    grid-column: auto;
    grid-row:auto
  }
  .producer-panel {
    order:1
  }
  .partitions-panel {
    order:2
  }
  .consumer-panel {
    order:3
  }
  .lab-help-grid {
    grid-template-columns:1fr
  }
  .lab-help {
    padding:13px
  }
  .quiz-options {
    grid-template-columns:1fr
  }
  .finish-note {
    flex-wrap:wrap
  }
  .finish-note .btn {
    margin:0 0 0 57px
  }
  .footer {
    margin-top:70px
  }
  .code-header {
    padding:0 9px
  }
  .code-tabs {
    gap:13px
  }
  .code-tab {
    font-size: 10px;
    padding:16px 1px 12px
  }
  .copy-btn {
    padding:8px
  }
  .code-panes pre {
    font-size: 10px;
    padding:18px 14px
  }
  .usecase-card>p {
    min-height:0
  }
}

@media(max-width:430px) {
  .breadcrumb {
    display:none
  }
  .breadcrumb-slash {
    display:none
  }
  .top-action {
    font-size:9px
  }
  .hero-copy h1 {
    font-size:42px
  }
  .hero-actions {
    gap:9px
  }
  .hero-actions .btn {
    padding:12px
  }
  .hero-visual {
    height:300px
  }
  .flow-graphic {
    top: 31%;
    left: 4%;
    right:4%
  }
  .flow-node {
    border-radius: 10px;
    padding:13px 2px
  }
  .flow-node-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    margin-bottom:9px
  }
  .flow-node-icon.main-icon {
    width: 37px;
    height: 37px;
    border-radius:10px
  }
  .flow-node small {
    font-size: 6px;
    letter-spacing:.7px
  }
  .flow-node strong {
    font-size: 11px;
    margin:3px 0
  }
  .flow-node-sub {
    font-size:7px
  }
  .float-tag {
    font-size:8px
  }
  .tag-one {
    right: 16px;
    top:35px
  }
  .tag-two {
    bottom: 89px;
    left:13px
  }
  .visual-caption {
    left: 12px;
    right: 12px;
    bottom: 11px;
    padding:9px
  }
  .visual-caption strong {
    font-size:8px
  }
  .visual-caption>span:nth-child(2) {
    font-size:7px
  }
  .overview-stats>div {
    gap: 8px;
    padding:11px 9px
  }
  .stat-icon {
    height: 34px;
    width:34px
  }
  .overview-stats strong {
    font-size:20px
  }
  .overview-stats small {
    font-size:9px
  }
  .glossary-grid {
    grid-template-columns:1fr
  }
  .glossary-card {
    min-height: 0;
    padding:17px
  }
  .glossary-card p {
    margin-bottom:17px
  }
  .arch-unit {
    min-width:58px
  }
  .arch-unit strong {
    font-size:8px
  }
  .arch-unit small {
    font-size:7px
  }
  .arch-part>span:nth-of-type(3) {
    display:none
  }
  .arch-topic-label {
    overflow-wrap:anywhere
  }
  .lab-name strong {
    font-size:11px
  }
  .lab-name small {
    font-size:9px
  }
  .tool-btn {
    font-size: 9px;
    padding:8px
  }
  .lab-actions {
    flex-direction:column
  }
  .lab-metrics>div {
    padding:14px
  }
  .lab-metrics strong {
    font-size:24px
  }
  .partitions-grid {
    gap: 5px;
    padding:8px 5px
  }
  .partition-card {
    padding:7px 4px
  }
  .partition-head {
    align-items: flex-start;
    flex-direction: column;
    gap:0
  }
  .message-record {
    padding:6px 4px
  }
  .record-value,.record-key,.record-offset {
    font-size:8px
  }
  .partition-tail {
    display:block
  }
  .partition-tail strong {
    display:block
  }
  .use-flow {
    gap:5px
  }
  .use-flow span {
    font-size: 8px;
    padding:5px
  }
  .quiz-top {
    padding:17px 15px 5px
  }
  .quiz-content-inner {
    padding:18px 15px
  }
  .quiz-content-inner h3 {
    font-size:18px
  }
  .quiz-bottom {
    padding:14px 15px
  }
  .finish-note .btn {
    margin: 0;
    width:100%
  }
  .metaphor-symbol {
    display:none
  }
  .metaphor-card p {
    font-size:11px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto!important;
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration:.01ms!important
  }
  .fly-message {
    display:none!important
  }
}

