:root {
  --sim-bg: var(--theme-learning-surface-1);
  --sim-accent: var(--bb-kelly);
  --sim-border: var(--theme-learning-success-2);
}

/* --- NAVIGATION FIX (EXACT DNS MATCH) --- */

nav {
  height: 80px;
  background: var(--theme-component-page-21);
  border-bottom: 1px solid var(--sim-border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

nav .bb-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 130px;
}

.nav-logo img {
  height: 45px;
  filter: drop-shadow(0 0 5px var(--bb-kelly));
  transition: 0.3s ease;
  display: block;
}

/* --- MASTER LAYOUT --- */

body {
  padding-top: 80px;

  /* Essential to prevent content clipping */
  background-color: var(--bb-bg-deep);
}

.mission-header {
  height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--theme-learning-page-4);
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bb-bg-deep) 90%);
  z-index: 2;
}

.mission-header-content {
  position: relative;
  z-index: 10;
}

.briefing-meta {
  font-family: var(--font-code);
  color: var(--bb-kelly);
  letter-spacing: 4px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 14px;
  text-shadow: 0 0 10px var(--bb-kelly);
}

.mission-title {
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  font-family: var(--font-tech);
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 0.9;
  color: var(--theme-component-ink-5);
  text-shadow: 0 0 30px var(--theme-learning-success-6);
}

.mission-subtitle {
  
  letter-spacing: 1px;
  
}

/* --- UI COMPONENTS --- */



.intel-content h2 {
  font-family: var(--font-tech);
  color: var(--bb-kelly);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  border-left: 4px solid var(--bb-kelly);
  padding-left: 20px;
  letter-spacing: 2px;
}

.panel {
  background: var(--theme-catalog-surface-130);
  border-left: 4px solid var(--bb-kelly);
  padding: 25px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.intel-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.intel-card {
  background: var(--theme-learning-success-bg-8);
  border: 1px solid var(--theme-learning-success-9);
  padding: 25px;
  border-radius: 4px;
  transition: 0.3s;
}

.role-badge {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 14px;
  background: var(--theme-learning-success-bg-10);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
  color: var(--theme-component-ink-5);
  text-transform: uppercase;
}

.trouble-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: var(--font-tech);
}

.trouble-table th {
  text-align: left;
  padding: 15px;
  background: var(--theme-catalog-success-bg-132);
  color: var(--bb-kelly);
  border-bottom: 2px solid var(--bb-kelly);
  text-transform: uppercase;
}

.trouble-table td {
  padding: 15px;
  border-bottom: 1px solid var(--theme-component-border-14);
}

.exam-tip-box {
  background: var(--theme-catalog-success-bg-132);
  border: 1px dashed var(--bb-kelly);
  padding: 15px;
  border-radius: 4px;
  font-size: 14px;
  margin: 15px 0;
}

.myth-box {
  background: var(--theme-learning-error-bg-13);
  border-left: 4px solid var(--bb-error);
  padding: 20px;
  margin: 20px 0;
}

/* --- SIM MODULE SHARED STYLES --- */

.sim-wrapper-tactical {
  background: var(--sim-bg);
  border: 1px solid var(--sim-border);
  border-radius: 8px;
  margin: 40px 0;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--theme-learning-shadow-color-14);
}

.sim-header-tactical {
  background: var(--theme-catalog-surface-70);
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--sim-border);
}

.sim-visualizer-tactical {
  height: 300px;
  position: relative;
  background: radial-gradient(circle at center, var(--theme-learning-page-16) 0%, var(--theme-component-page-20) 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 50px;
}

.sim-node-tactical {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  text-align: center;
}

.sim-node-tactical i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--bb-text-dim);
  transition: 0.3s;
}

.sim-node-tactical.active i {
  color: var(--bb-kelly);
  filter: drop-shadow(0 0 15px var(--bb-kelly));
}

.sim-node-tactical span {
  font-family: var(--font-tech);
  text-transform: uppercase;
  font-size: 14px;
  color: var(--bb-text-muted);
}

.sim-info-grid-tactical {
  background: var(--theme-component-page-51);
  padding: 20px;
  border-top: 1px solid var(--sim-border);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
}

.sim-fields-tactical {
  font-family: var(--font-code);
  font-size: 1rem;
  color: var(--bb-text-muted);
  border-right: 1px solid var(--theme-component-border-15);
  padding-right: 20px;
}

.sim-field-item span {
  color: var(--bb-kelly);
}

.sim-log-tactical {
  font-family: var(--font-code);
  font-size: 1rem;
  color: var(--theme-learning-ink-20);
  height: 120px;
  overflow-y: auto;
  padding-left: 10px;
}

.sim-controls-tactical {
  padding: 15px;
  background: var(--theme-component-page-20);
  display: flex;
  justify-content: center;
  gap: 15px;
  border-top: 1px solid var(--sim-border);
}

/* --- RELAY MODULE SPECIFICS --- */

.relay-subnet-tag {
  position: absolute;
  top: 20px;
  font-family: var(--font-code);
  font-size: 14px;
  color: var(--bb-text-dim);
  letter-spacing: 1px;
}

.relay-packet {
  width: 14px;
  height: 14px;
  background: var(--bb-kelly);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 10;
  box-shadow: 0 0 15px var(--bb-kelly);
  transition: left 0.8s ease-in-out, opacity 0.3s;
}

/* --- DORA SPECIFICS --- */

.dora-stage-pill {
  font-family: var(--font-tech);
  font-size: 14px;
  padding: 4px 12px;
  border: 1px solid var(--bb-text-dim);
  color: var(--bb-text-dim);
  border-radius: 20px;
  text-transform: uppercase;
  transition: 0.3s;
}

.dora-stage-pill.active {
  border-color: var(--bb-kelly);
  color: var(--bb-kelly);
  background: var(--theme-learning-success-bg-21);
}

/* --- APIPA MODULE STYLES --- */

.apipa-sim-wrapper {
  background: var(--sim-bg);
  border: 1px solid var(--theme-learning-error-22);
  border-radius: 8px;
  margin: 40px 0;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--theme-component-error-3);
  transition: border-color 0.5s;
}

.apipa-sim-wrapper.server-online {
  border-color: var(--theme-learning-success-2);
}

.apipa-visualizer {
  height: 250px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: radial-gradient(circle at center, var(--theme-learning-page-24) 0%, var(--theme-component-page-20) 100%);
}

.apipa-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--bb-error);
  border-radius: 50%;
  opacity: 0;
  animation: apipaPulse 2s infinite;
}

@keyframes apipaPulse {

  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(30);
    opacity: 0;
  }
}

/* Tactical Reticle */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border: 1px solid var(--bb-kelly);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  background-image: linear-gradient(90deg, var(--bb-kelly) 15%, transparent 15%, transparent 85%, var(--bb-kelly) 85%),
                              linear-gradient(180deg, var(--bb-kelly) 15%, transparent 15%, transparent 85%, var(--bb-kelly) 85%);
  background-position: center;
  background-size: 100% 1px, 1px 100%;
  background-repeat: no-repeat;
}

.cursor-coords {
  position: absolute;
  right: -90px;
  top: -15px;
  font-family: var(--font-code);
  font-size: 14px;
  color: var(--bb-kelly);
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--theme-catalog-surface-31);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  pointer-events: none;
}

@media (hover: none), (pointer: coarse) {

  body {
    cursor: auto;
  }

  a, button, .intel-card, .mission-choice {
    cursor: auto !important;
  }

  .cursor, .cursor-dot {
    display: none;
  }
}

/* --- MODERN CORE LEARNING CHROME --- */

body.dhcp-modernized {
  cursor: none;
}

body.dhcp-modernized .mission-header {
  min-height: 520px;
  height: 54vh;
  border-bottom: 1px solid var(--theme-learning-success-26);
  background: radial-gradient(circle at 50% 35%, var(--theme-learning-success-bg-27), transparent 32%),
                linear-gradient(180deg, var(--theme-learning-page-28) 0%, var(--theme-learning-page-4) 100%);
}

body.dhcp-modernized .mission-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--theme-learning-success-bg-29) 1px, transparent 1px),
                linear-gradient(90deg, var(--theme-learning-success-bg-29) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

body.dhcp-modernized .mission-subtitle {
  max-width: 760px;
  margin: 0 auto;
  
  
}

.learning-toolbar {
  position: sticky;
  top: 88px;
  z-index: 90;
  width: min(1120px, 100%);
  box-sizing: border-box;
  margin: 28px auto 46px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--theme-learning-page-30);
  border: 1px solid var(--theme-learning-success-31);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-progress {
  font-family: var(--font-code);
  color: var(--bb-text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
}

.section-progress strong {
  color: var(--bb-kelly);
  margin-left: 8px;
}

.operator-rail {
  position: fixed;
  right: 18px;
  top: 188px;
  width: 250px;
  box-sizing: border-box;
  max-height: calc(100vh - 220px);
  overflow: auto;
  z-index: 75;
  display: none;
  padding: 14px;
  background: var(--theme-learning-page-32);
  border: 1px solid var(--theme-learning-success-33);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.operator-rail.visible {
  display: block;
}

.operator-rail h4 {
  margin: 0 0 12px;
  font-family: var(--font-tech);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--bb-kelly);
  text-transform: uppercase;
}

.operator-rail a {
  display: block;
  text-decoration: none;
  color: var(--theme-learning-ink-34);
  font-size: 14px;
  line-height: 1.25;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  margin-bottom: 5px;
}

.operator-rail a:hover,
        .operator-rail a.active {
  color: var(--theme-component-ink-5);
  background: var(--theme-learning-success-bg-35);
  border-color: var(--theme-learning-success-36);
}



body.dhcp-modernized .intel-content > p {
  
  
}

body.dhcp-modernized .panel {
  border: 1px solid var(--theme-learning-success-37);
  border-left: 4px solid var(--bb-kelly);
  background: linear-gradient(135deg, var(--theme-learning-success-bg-38), var(--theme-learning-info-bg-39));
  box-shadow: 0 18px 48px var(--theme-learning-shadow-color-40);
}

body.dhcp-modernized .intel-card {
  position: relative;
  cursor: default;
  min-height: 172px;
  overflow: hidden;
  border-color: var(--theme-learning-success-37);
  background: linear-gradient(180deg, var(--theme-learning-success-bg-41), var(--theme-learning-page-42));
}

body.dhcp-modernized .intel-card:hover {
  transform: translateY(-2px);
  border-color: var(--theme-learning-success-6);
  box-shadow: 0 18px 42px var(--theme-learning-success-43);
}

.mission-check-panel {
  border: 1px solid var(--theme-learning-success-33);
  background: var(--theme-learning-page-44);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--theme-learning-shadow-color-45);
}

.mission-check-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  background: var(--theme-catalog-surface-25);
  border-bottom: 1px solid var(--theme-learning-success-47);
}

.mission-check-head span,
        .mission-question small {
  font-family: var(--font-code);
  color: var(--bb-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 15px;
}

.mission-score {
  font-family: var(--font-tech);
  color: var(--bb-kelly);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mission-question {
  padding: 20px 24px;
  border-bottom: 1px solid var(--theme-learning-border-48);
}

.mission-question p {
  margin: 8px 0 14px;
  
}

.mission-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.mission-choice {
  padding: 12px 14px;
  border: 1px solid var(--theme-learning-border-49);
  border-radius: 6px;
  background: var(--theme-catalog-surface-90);
  color: var(--theme-component-ink-5);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.mission-choice:hover,
        .mission-choice.selected {
  border-color: var(--theme-learning-success-51);
  background: var(--theme-learning-success-bg-35);
}

.mission-choice.correct {
  border-color: var(--bb-kelly);
  color: var(--bb-kelly);
}

.mission-choice.incorrect {
  border-color: var(--bb-error);
  color: var(--theme-learning-error-52);
}

.mission-feedback {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 4px solid var(--bb-cyan);
  background: var(--theme-learning-info-bg-53);
  color: var(--bb-text-muted);
  line-height: 1.55;
}

.mission-question.answered .mission-feedback {
  display: block;
}

.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.resource-card-grid a {
  justify-content: center;
}

@media (max-width: 1720px) {

  .operator-rail {
    display: none !important;
  }
}

@media (max-width: 900px) {

  .learning-toolbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .section-progress {
    white-space: normal;
  }

  body.dhcp-modernized .mission-header {
    min-height: 420px;
  }
}

/* --- Hero: DORA handshake animation (Brett, review 2026-10-12: "boring hero, needs an animation") ---
   One 12s loop: Discover (broadcast ripple) > Offer > Request (broadcast) > Acknowledge > client shows its lease. */
.dora-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; opacity: 0.75; transform: translateY(11%); }
.dora-wire { stroke: var(--theme-learning-success-31); stroke-width: 2; stroke-dasharray: 6 8; }
.dora-node rect { fill: var(--theme-learning-page-54); stroke: var(--theme-learning-success-55); stroke-width: 1.5; }
.dora-node path { fill: none; stroke: var(--bb-kelly, var(--theme-learning-success-56)); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
.dora-node text { fill: var(--theme-learning-surface-57); font: 700 14px var(--font-code, monospace); letter-spacing: 2px; text-anchor: middle; }
.dora-node .dora-ip { fill: var(--bb-kelly, var(--theme-component-primary-1)); font-size: 15px; opacity: 0; animation: dora-ip 12s infinite; }
.dora-pkt circle { fill: var(--bb-kelly, var(--theme-component-primary-1)); filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.9)); }
.dora-pkt text { fill: var(--bb-kelly, var(--theme-component-primary-1)); font: 800 14px var(--font-code, monospace); letter-spacing: 2px; text-anchor: middle; }
.dora-pkt { opacity: 0; animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.p-offer circle, .p-ack circle { fill: var(--theme-catalog-warning-14); filter: drop-shadow(0 0 8px rgba(255, 200, 87, 0.9)); }
.p-offer text, .p-ack text { fill: var(--theme-catalog-warning-14); }
.p-discover { animation-name: dora-discover; }
.p-offer    { animation-name: dora-offer; }
.p-request  { animation-name: dora-request; }
.p-ack      { animation-name: dora-ack; }
.dora-ring { fill: none; stroke: var(--bb-kelly, var(--theme-learning-success-56)); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: dora-ring 12s infinite ease-out; }
.dora-ring.r2 { animation-delay: 0.5s; }
@keyframes dora-discover { 0% { opacity: 0; transform: translateX(0); } 2% { opacity: 1; } 18% { opacity: 1; transform: translateX(768px); } 20%, 100% { opacity: 0; transform: translateX(768px); } }
@keyframes dora-offer    { 0%, 20% { opacity: 0; transform: translateX(0); } 22% { opacity: 1; } 38% { opacity: 1; transform: translateX(-768px); } 40%, 100% { opacity: 0; transform: translateX(-768px); } }
@keyframes dora-request  { 0%, 40% { opacity: 0; transform: translateX(0); } 42% { opacity: 1; } 58% { opacity: 1; transform: translateX(768px); } 60%, 100% { opacity: 0; transform: translateX(768px); } }
@keyframes dora-ack      { 0%, 60% { opacity: 0; transform: translateX(0); } 62% { opacity: 1; } 78% { opacity: 1; transform: translateX(-768px); } 80%, 100% { opacity: 0; transform: translateX(-768px); } }
@keyframes dora-ring     { 0% { opacity: 0.7; transform: scale(1); } 12% { opacity: 0; transform: scale(5); } 40% { opacity: 0; transform: scale(1); } 41% { opacity: 0.7; transform: scale(1); } 53% { opacity: 0; transform: scale(5); } 100% { opacity: 0; transform: scale(1); } }
@keyframes dora-ip       { 0%, 79% { opacity: 0; } 83%, 96% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 640px) { .dora-scene { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) {
  .dora-pkt, .dora-ring { animation: none; opacity: 0; }
  .dora-node .dora-ip { animation: none; opacity: 1; }
}

/* T043: photographic network scenes and live service consoles */
body.dhcp-modernized .dhcp-network-scene{position:relative;background: var(--theme-learning-page-60);border-bottom: 1px solid var(--theme-learning-border-61);overflow:hidden;color: var(--theme-learning-ink-62)}
.dhcp-scene-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.dhcp-scene-labels{position:absolute;left:2%;right:2%;top:4%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;text-align:center}
.dhcp-scene-labels>div{padding:12px 8px;border: 1px solid var(--theme-learning-border-63);border-radius: 8px;background: var(--theme-learning-page-64);box-shadow: 0 6px 18px var(--theme-learning-shadow-color-65)}
.dhcp-scene-labels strong{display:block;font-size:1rem;color: var(--theme-learning-ink-66)}.dhcp-scene-labels span{display:block;margin-top:5px;font:14px/1.5 var(--font-code,monospace);color: var(--theme-learning-ink-67)}
.dhcp-scene-labels .active{border-color: var(--theme-learning-success-68);box-shadow: 0 0 0 2px var(--theme-learning-success-69)}
.dhcp-flow-track{position:absolute;top:23%;left:17%;right:11%;height:2px;background: var(--theme-learning-info-70);box-shadow: 0 0 12px var(--theme-learning-success-71)}
.dhcp-flow-track:before,.dhcp-flow-track:after{content:'';position:absolute;width:8px;height:8px;background: var(--theme-learning-primary-72);border-radius: 50%;top:-3px}.dhcp-flow-track:after{right:0}
.dhcp-flow-packet{position:absolute;left:0;top:-13px;transform:translateX(-50%);padding:5px 10px;background: var(--theme-learning-primary-73);color: var(--theme-learning-on-primary-74);border: 1px solid var(--theme-learning-success-75);border-radius: 5px;font:bold 14px/1.4 monospace;white-space:nowrap;opacity:0;box-shadow: 0 0 15px var(--theme-learning-success-76)}
.dhcp-flow-packet.in-flight{opacity:1;animation:dhcp-transit 1s ease-in-out forwards}.dhcp-flow-packet.reverse{animation-direction:reverse;background: var(--theme-learning-info-77);border-color: var(--theme-learning-border-78)}.dhcp-flow-packet.arrived{opacity:1;left:100%}.dhcp-flow-packet.arrived.reverse{left:0}
@keyframes dhcp-transit{from{left:var(--packet-from,0%)}to{left:var(--packet-to,100%)}}
.dhcp-flow-caption{position:absolute;bottom:0;left:0;right:0;margin:0!important;padding:12px 18px;background: var(--theme-learning-page-79);font:15px/1.6 var(--font-code,monospace);color: var(--theme-learning-ink-80);border-top: 1px solid var(--theme-learning-border-81)}
body.dhcp-modernized .sim-wrapper-tactical,body.dhcp-modernized .apipa-sim-wrapper{border: 1px solid var(--theme-learning-border-82);border-radius: 14px;overflow:hidden;box-shadow: 0 18px 44px var(--theme-learning-shadow-color-83)}
body.dhcp-modernized .sim-header-tactical{background: var(--theme-learning-page-84);padding:16px 20px;gap:14px;flex-wrap:wrap;color: var(--theme-learning-ink-85)}
body.dhcp-modernized .sim-info-grid-tactical{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);background: var(--bb-panel-bg,var(--theme-learning-page-86))}
body.dhcp-modernized .sim-fields-tactical{font-size:15px;min-width:0}
.dhcp-log-shell{min-width:0;background: var(--theme-learning-page-87);border: 1px solid var(--theme-learning-border-88);border-radius: 8px;overflow:hidden;margin:16px}
.sim-info-grid-tactical .dhcp-log-shell{margin:0}
.dhcp-log-title{display:flex;align-items:center;gap:9px;padding:10px 14px;background: var(--theme-learning-inset-89);border-bottom: 1px solid var(--theme-learning-border-88);color: var(--theme-learning-ink-90);font:14px/1.5 monospace}.dhcp-log-title small{margin-left:auto;font-size:15px;letter-spacing:1px;color: var(--theme-learning-muted-91)}.dhcp-status-led{width:6px;height:6px;background: var(--theme-learning-primary-92);border-radius: 50%}
body.dhcp-modernized .dhcp-log-shell .sim-log-tactical{height:170px;padding:12px 14px;border: 0;background: var(--theme-learning-page-87);color: var(--theme-learning-ink-93);font:15px/1.8 monospace;overflow:auto;overflow-wrap:anywhere;white-space:normal}
.dhcp-log-row{border-bottom: 1px solid var(--theme-learning-border-94);padding:5px 0}.dhcp-log-row time{color: var(--theme-learning-info-95);margin-right:8px}.dhcp-log-row b{color: var(--theme-learning-success-96);margin-right:7px;font-weight:500}
.dhcp-lease-dashboard{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;padding:24px;background: var(--bb-panel-bg,var(--theme-learning-page-97))}
.dhcp-lease-readout{display:flex;flex-direction:column;gap:7px}.dhcp-lease-readout>span{font:14px/1.5 monospace;color: var(--bb-text-dim,var(--theme-learning-ink-98))}.dhcp-lease-readout strong{font:22px/1.5 monospace;color: var(--bb-text,var(--theme-learning-ink-99))}
.dhcp-clock{padding-top:13px}.dhcp-clock-track{height:10px;border-radius: 5px;background: var(--theme-learning-inset-100);overflow:hidden}.dhcp-clock-track span{display:block;width:0;height:100%;background: var(--theme-learning-primary-101);transition:width .4s}.dhcp-clock-ticks{display:flex;justify-content:space-between;gap:8px;font:14px/1.8 monospace;margin-top:12px;color: var(--bb-text-dim,var(--theme-learning-ink-98))}.dhcp-clock-ticks span:last-child{text-align:right}
.dhcp-clock-note{padding:0 24px;font-size:15px!important;color: var(--bb-text-dim,var(--theme-learning-ink-98))}
body.dhcp-modernized .sim-controls-tactical{display:flex;flex-wrap:wrap;gap:10px;padding:18px 20px}.dhcp-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.32}.mission-header .header-overlay{background: linear-gradient(90deg,var(--theme-learning-page-102),var(--theme-learning-page-103),var(--theme-learning-page-102))}
@media(max-width:600px){.dhcp-scene-labels{top:3%;gap:4px}.dhcp-scene-labels>div{padding:5px 3px}.dhcp-scene-labels strong{font-size:14px}.dhcp-scene-labels span{font-size:14px;line-height:1.4}.dhcp-flow-track{top:29%}.dhcp-flow-packet{font-size:14px;padding:3px 5px;top:-10px}.dhcp-flow-caption{font-size:15px;padding:6px 10px}.dhcp-scene-photo{min-height:235px;object-fit:cover}.dhcp-lease-dashboard{grid-template-columns:1fr;padding:16px;gap:8px}.dhcp-clock-note{padding:0 16px}body.dhcp-modernized .sim-info-grid-tactical{grid-template-columns:1fr}body.dhcp-modernized .dhcp-log-shell .sim-log-tactical{height:180px}.dhcp-clock-ticks{font-size:14px}.dhcp-log-title{font-size:14px}.dhcp-log-title small{font-size:15px}}
@media(prefers-reduced-motion:reduce){body.dhcp-modernized *,body.dhcp-modernized *:before,body.dhcp-modernized *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.dhcp-flow-packet.in-flight{opacity:1;left:100%}.dhcp-flow-packet.in-flight.reverse{left:0}}

.dhcp-scene-photo{aspect-ratio:2.15/1;object-fit:cover;object-position:center 59%}@media(max-width:600px){.dhcp-scene-photo{aspect-ratio:3/2;min-height:235px;object-fit:contain}}

/* Border geometry retained from the retired palette layer. */
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .intel-card{border-width:1px;border-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .trouble-table td{border-bottom-width:1px;border-bottom-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .sim-fields-tactical{border-right-width:1px;border-right-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .apipa-sim-wrapper{border-width:1px;border-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] body.dhcp-modernized .mission-header{border-bottom-width:1px;border-bottom-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .learning-toolbar{border-width:1px;border-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .operator-rail{border-width:1px;border-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] body.dhcp-modernized .panel{border-width:1px;border-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .mission-check-panel{border-width:1px;border-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .mission-check-head{border-bottom-width:1px;border-bottom-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .mission-question{border-bottom-width:1px;border-bottom-style:solid;}
html.bb-page-e3b478b5fd[data-bb-theme="patriotic"] .mission-choice{border-width:1px;border-style:solid;}

/* APIPA simulator: diagram left, readout strip + capture log right, so it fits one screen (Brett 11/7). */
@media (min-width:1100px){#apipa-wrapper{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:18px;align-items:start}
#apipa-wrapper>*{grid-column:1 / -1}
#apipa-wrapper>#apipa-scene{grid-column:1;grid-row:2;margin:0}
#apipa-wrapper>.sim-info-grid-tactical{grid-column:2;grid-row:2;margin:0;padding-top:16px}
#apipa-wrapper .dhcp-log-shell{margin-top:12px}
#apipa-wrapper .sim-log-tactical{max-height:230px}
#apipa-wrapper .dhcp-scene-labels>div{padding:10px 8px}}
@media (min-width:1100px){#apipa-wrapper{position:relative}
#apipa-wrapper>.sim-controls-tactical{position:absolute;top:17px;right:250px;height:48px;margin:0!important;padding:0!important;border:0!important;background:none!important;display:flex;align-items:center;z-index:2}
#apipa-wrapper>.sim-controls-tactical #apipa-start-btn{height:48px;padding:0 20px;margin:0!important}
#apipa-wrapper>.sim-header-tactical{min-height:81px}}


/* ===== No-word-wall pilot (Brett 11/11): reading column for prose, full width for visuals.
   Page-scoped: the kit's wide-layout block targets Intel's article layout, not Core Learning. ===== */
body.dhcp-modernized { --ip-acc: var(--theme-primary, #00c853); --ip-acc2: var(--theme-info, #00b0ff); }
@media (min-width: 1100px) {
  body.dhcp-modernized .intel-content > p,
  body.dhcp-modernized .intel-content > h3,
  body.dhcp-modernized .intel-content > ul,
  body.dhcp-modernized .intel-content > .exam-tip-box,
  body.dhcp-modernized .intel-content > .then-now,
  body.dhcp-modernized .intel-content > .ip-facts,
  body.dhcp-modernized .intel-content > .panel > p,
  body.dhcp-modernized .intel-content > .panel > h3,
  body.dhcp-modernized .intel-content > .bb-explainer > p,
  body.dhcp-modernized .intel-content > .intel-card > p,
  body.dhcp-modernized .intel-content > .v6-note { max-width: 780px !important; }
  /* 11/19 Brett: field reports run full width like every other module (no 780px cap). */
  body.dhcp-modernized .intel-content > .v6-note { max-width: 860px !important; }
}
/* kit boards on this page */
body.dhcp-modernized .ip { margin: 22px 0 26px; }
body.dhcp-modernized .ip-lead.dhcp-lead, body.dhcp-modernized p.dhcp-lead { margin: 28px 0 10px; font-weight: 600; color: var(--theme-ink, #eceff1); }
body.dhcp-modernized .ip-blue p, body.dhcp-modernized .ip-blue li { color: #e8f2ff; }
body.dhcp-modernized .ip-blue .ip-blue-note { color: #e8f2ff; }
body.dhcp-modernized .ip-blue .ip-svg-cap { color: #d4e6ff; }
body.dhcp-modernized .ip-blue .ip-svg-ctl { color: #cfe3ff; }
body.dhcp-modernized .ip-vs-side { background: var(--theme-surface, #0f161b); border-color: var(--theme-border, #546e7a); color: var(--theme-ink, #eceff1); }
body.dhcp-modernized .ip-vs-side h4 { color: var(--theme-ink, #eceff1); }
body.dhcp-modernized .ip-vs-side li, body.dhcp-modernized .ip-vs-side dd { color: var(--theme-ink, #eceff1); }
body.dhcp-modernized .ip-vs-side .tag { color: var(--theme-primary, #00c853); }
body.dhcp-modernized .ip-vs-side:last-child .tag { color: var(--theme-info, #00b0ff); }
body.dhcp-modernized .ip-vs-mid span { background: var(--theme-primary, #00c853); color: var(--theme-on-primary, #000); }
body.dhcp-modernized .ip-vs-foot { color: var(--theme-muted, #90a4ae); border-color: var(--theme-border, #546e7a); }
body.dhcp-modernized .ip-vs-foot b { color: var(--theme-ink, #eceff1); }
body.dhcp-modernized .ip-stat { background: var(--theme-surface, #0f161b); border-color: var(--theme-border, #546e7a); border-top-color: var(--theme-primary, #00c853); }
body.dhcp-modernized .ip-stat > b { color: var(--theme-ink, #eceff1); font-family: var(--theme-font-code, 'JetBrains Mono', monospace); font-size: 1.45rem; }
body.dhcp-modernized .ip-stat span { color: var(--theme-muted, #90a4ae); }
body.dhcp-modernized .ip-stat .ip-ico { color: var(--theme-primary, #00c853); }
body.dhcp-modernized .panel .ip-stats { margin: 14px 0 18px; }
/* then-now timeline: kit uses Intel vars that don't exist here */
body.dhcp-modernized .then-now { border-left-color: var(--theme-border, #546e7a); margin: 22px 0 8px; }
body.dhcp-modernized .then-now li b { color: var(--theme-primary, #00c853); }
body.dhcp-modernized .then-now li span { color: var(--theme-ink, #eceff1); }
/* flips: paper notes keep their own ink */
body.dhcp-modernized .ip-flip-f span, body.dhcp-modernized .ip-flip-f small, body.dhcp-modernized .ip-flip-f em { color: #2a2410; }
body.dhcp-modernized .ip-flip-b span, body.dhcp-modernized .ip-flip-b small, body.dhcp-modernized .ip-flip-b b { color: #0f2a18; }
body.dhcp-modernized .ip-flips .ip-flip, body.dhcp-modernized .ip-flips .ip-flip-in { min-height: 190px; }
/* mission check "how it works" strip */
body.dhcp-modernized .ip-facts.dhcp-howto { max-width: 780px; margin: 6px 0 22px; color: var(--theme-ink, #eceff1); border-top-color: var(--theme-border, #546e7a); }

/* DORA steps: one-line lead + fact strip + exam trap */
body.dhcp-modernized ol.bb-steps .dora-lead { margin: 0 0 4px !important; font-weight: 600; color: var(--bbc-title, var(--theme-ink)) !important; }
body.dhcp-modernized ol.bb-steps .ip-facts { width: 100%; font-size: .9rem; color: var(--bbc-soft, var(--theme-ink)); border-top-color: var(--bbc-line, var(--theme-border)); }
body.dhcp-modernized ol.bb-steps .ip-facts dt { color: var(--bbc-accent, var(--theme-primary)); opacity: 1; }
body.dhcp-modernized ol.bb-steps .ip-facts > div { padding: 2px 0; }
body.dhcp-modernized .dora-trap { margin: 12px 0 0 !important; padding: 8px 12px; width: 100%; box-sizing: border-box; border-left: 3px solid var(--theme-warning, #ffd600); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--theme-warning, #ffd600) 9%, transparent); font-size: .94rem; line-height: 1.5; }
body.dhcp-modernized .dora-trap b { color: var(--theme-warning, #ffd600); letter-spacing: .02em; }
body.dhcp-modernized .intel-card > .dora-trap { max-width: 780px; }
[data-bb-theme="patriotic"] body.dhcp-modernized .dora-trap b, [data-bb-theme="reserve"] body.dhcp-modernized .dora-trap b { color: var(--theme-ink); }
[data-bb-theme="patriotic"] body.dhcp-modernized .dora-trap, [data-bb-theme="reserve"] body.dhcp-modernized .dora-trap { border-left-color: var(--theme-accent); background: color-mix(in srgb, var(--theme-accent) 8%, transparent); }
/* DORA step grid: 4 steps = 2 x 2 */
@media (min-width: 900px) {
  body.dhcp-modernized ol.bb-steps.dora-steps > li { flex: 0 1 calc((100% - 14px) / 2); max-width: calc((100% - 14px) / 2); }
}

/* "Follow the lease path" (T582 flow + bb-steps): pills inside the card, legible number circles in every theme */
body.dhcp-modernized .t582-flow ol.bb-steps > li[data-phase]::after { position: static; width: auto; height: auto; background: none; }
body.dhcp-modernized .t582-flow ol.bb-steps > li::before { color: var(--theme-on-primary, #000); background: var(--theme-primary, #00c853); font: 800 1.05em/1 var(--theme-font-body, Geist, sans-serif); margin: 0; letter-spacing: 0; }
body.dhcp-modernized ol.bb-steps > li::before { color: var(--theme-on-primary, #000); background: var(--theme-primary, #00c853); }
body.dhcp-modernized .t582-flow ol.bb-steps > li { border-top-width: 1px; }

/* diagram boards fit one screen */
body.dhcp-modernized .dhcp-board .ip-svg svg { max-height: min(400px, 58vh); }
@media (min-width: 1400px) { body.dhcp-modernized .dhcp-board .ip-svg > svg { max-height: min(420px, 60vh); } }

/* decision player in the terminal: readable at Core Learning font sizes */
body.dhcp-modernized .dhcp-triage .ip-term-body { padding: 18px 20px 20px; }
body.dhcp-modernized .dhcp-triage .ip-term-body p { color: #b6f5c8; }
body.dhcp-modernized .dhcp-triage .ip-decide-who { color: #fff !important; margin: 0 !important; }
body.dhcp-modernized .dhcp-triage .ip-sig span, body.dhcp-modernized .dhcp-triage .ip-out span { color: #d7f7e1; }
body.dhcp-modernized .dhcp-triage .ip-out > b { color: #fff; }
body.dhcp-modernized .dhcp-triage .ip-decide-cases button { color: #b6f5c8; }
body.dhcp-modernized .dhcp-triage .ip-decide-cases button[aria-pressed=true] { color: #05070a; }
@media (max-width: 600px) {
  body.dhcp-modernized .ip-vs-side { padding: 14px 14px; }
  body.dhcp-modernized .dhcp-board { padding: 18px 14px 16px; }
}
/* diagram type: the kit's --mono/--sans vars don't exist on Core Learning pages */
html body.cl-sweep-layout.cl-sweep-layout .intel-section .intel-content .dhcp-board .ip-svg text.s { font: 700 11px "JetBrains Mono", ui-monospace, monospace !important; letter-spacing: .01em; }
html body.cl-sweep-layout.cl-sweep-layout .intel-section .intel-content .dhcp-board .ip-svg text.t { font: 600 14px Geist, Arial, sans-serif !important; }
/* theme parity: light themes repaint p/li/dd ink with !important; boards keep their own surfaces and ink */
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .ip-blue :is(p, li, dd, span, small) { color: #e8f2ff !important; }
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .ip-blue .ip-blue-note::before { color: #9cc7ff !important; }
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .ip-term :is(p, span, b, small, div) { color: inherit; }
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .dhcp-triage .ip-decide-who { color: #fff !important; }
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .dhcp-triage .ip-term-bar span { color: #7d8b85 !important; }
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .dhcp-triage :is(.ip-sig span, .ip-out span) { color: #d7f7e1 !important; }
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .dhcp-triage .ip-decide-why { color: #e8fff0 !important; }
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .ip-flip-f :is(span, small, em) { color: #2a2410 !important; }
html body.dhcp-modernized.dhcp-modernized .intel-section .intel-content .ip-flip-b :is(span, small, b) { color: #0f2a18 !important; }

/* ---------- 11/18 doodle pilot: balanced-doodle pictures laced into the lesson ----------
   STEP 0 (11/19): the generic .cl-dd* base, print rules and the w2 lesson shield moved to /css/shared/bb-cl-doodle.css
   (linked right before this file). Only the DHCP-specific doodle rules stay here.
   Poster figures + the cheat sheet render from data/posters/dhcp-dora-scope.json via js/bb-doodle-figs.js. */
@media (min-width:1400px){
  .bb-poster.w2d.cl-dd--dora{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(0,1fr);align-items:center;gap:12px 22px}
  .cl-dd--dora .cl-dd-beats{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
}
/* cheat sheet sits in the lesson column (narrower than the review page): give D-O-R-A a bit more room, keep the hook compact */
.cl-cheatsheet-poster .w2d--dora .w2-body{grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(0,1fr)}
@media (min-width:761px){
  .cl-cheatsheet-poster .w2d .w2-body>.w2-hook{padding:8px 140px 10px 12px!important;justify-content:center!important}
  .cl-cheatsheet-poster .w2d .w2-body>.w2-hook .w2-dd{top:50%!important;bottom:auto!important;right:10px!important;transform:translateY(-50%)!important;width:120px!important}
}

/* 11/19 Brett: the DORA diagram carries the conversation; the separate chat bubbles were cut. Diagram runs full width. */
.bb-poster.w2d.cl-dd--dora{display:block!important}

/* 11/19 Brett: the IPv6 SARR card moved out of the DORA tracer (it sat inside the sim). Scene + live log share the row so the tracer stays one screen. */
.dora-stack{display:grid;gap:18px;align-items:start}
@media (min-width:1100px){.dora-stack{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
.dora-stack>.dhcp-log-shell{margin:0!important}

/* 11/19 Brett: IPv6 SARR folded into the DORA doodle (dashed orange = the IPv6 name). */
.cl-dd--dora svg .v6t{stroke-dasharray:6 4;stroke-width:2}
/* 11/19 Brett: live log matches the diagram's height beside it. */
@media (min-width:1100px){
  .dora-stack{align-items:stretch}
  body.dhcp-modernized .dora-stack>.dhcp-log-shell{display:flex;flex-direction:column;align-self:stretch;max-height:none!important}
  body.dhcp-modernized .dora-stack>.dhcp-log-shell .sim-log-tactical{flex:1 1 0;height:auto!important;min-height:0;max-height:none!important}
}

/* 11/19 Brett: IPv6 card doodles (v6-note--fig) moved to /css/shared/bb-v6-fig.css. */

/* 11/19 Brett: tracer button lives in the header (no scrolling to the bottom), and the offered-lease panel is compact. */
.sim-header-tactical .dora-top-controls{margin:0 0 0 auto;padding:0!important;border:0!important;background:none!important;display:flex;align-items:center}
.sim-header-tactical .dora-top-controls #dora-next{margin:0!important;padding:8px 18px!important;font-size:15px!important;white-space:nowrap}
.sim-header-tactical:has(.dora-top-controls){display:flex;flex-wrap:wrap;align-items:center;gap:12px}
html body #dora-lease.t097-lease{margin:14px 18px!important;padding:14px 18px!important}
html body #dora-lease.t097-lease h3{font-size:18px!important;margin:0 0 4px!important}
html body #dora-lease.t097-lease :is(p){font-size:15px!important;line-height:1.5!important;margin:0 0 10px!important}
html body #dora-lease.t097-lease dl{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 10px!important}
html body #dora-lease.t097-lease dl>div{padding:8px 12px!important}
html body #dora-lease.t097-lease :is(dt){font-size:14px!important;line-height:1.3!important}
html body #dora-lease.t097-lease :is(.t097-tag){display:inline!important;font-size:12px!important;margin-right:6px}
html body #dora-lease.t097-lease :is(dd){margin:4px 0 0!important;font-size:14px!important;line-height:1.4!important}
html body #dora-lease.t097-lease :is(dd strong){display:block;font-size:16px!important}
html body #dora-lease.t097-lease :is(dd span){font-size:13px!important;opacity:.85}
@media (max-width:900px){html body #dora-lease.t097-lease dl{grid-template-columns:1fr!important}}

/* 11/19 Brett: sims with a diagram on the left: the right column runs the diagram's full height (Relay, APIPA).
   STEP 0: rule moved to /css/shared/bb-cl-doodle.css (generalized; other modules opt in with .cl-sim-fill). */

/* ==== leftovers 11/20 (spacing sweep follow-up, DHCP pilot) ==== */
/* mission how-to: was capped at 780px (~420px empty on the right at 1536); full width like the other modules */
body.dhcp-modernized .ip-facts.dhcp-howto { max-width: none; }
/* DHCP Options: table 1.45fr / text 1fr left the table ~195px short of the text column. A narrower table column wraps a few
   purposes and the wider text column gets shorter: the two sides end within one line of each other. */
@media (min-width: 1100px) {
  body.dhcp-modernized #dhcpOptionsSplit { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
}
/* Symptom reader: three stretched columns left the reader box ~296px empty under its two lines. Reader runs across the top,
   the clues and the verdicts sit side by side under it; the five clue rows spread to the verdicts' height (no empty column). */
@media (min-width: 1100px) {
  body.dhcp-modernized .dhcp-triage .ip-decide-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "engine engine" "sigs outs"; align-items: stretch; }
  body.dhcp-modernized .dhcp-triage .ip-decide-engine { grid-area: engine; }
  body.dhcp-modernized .dhcp-triage .ip-decide-sigs { grid-area: sigs; align-content: space-between; }
  body.dhcp-modernized .dhcp-triage .ip-decide-outs { grid-area: outs; }
}

/* visual fix 11/21 (N02): the money-bag drawing gets more of the row so its bill labels read at 11px+ at 1536px */
.bb-poster.w2d.cl-dd--side.cl-dd--pool{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
@media (max-width:760px){.bb-poster.w2d.cl-dd--side.cl-dd--pool{grid-template-columns:minmax(0,1fr)}}

/* visual fix 11/21 (N05): the lease clock doodle is now a step player (dhcp-lease-clock), so the old Lease clock sim
   that drew the same 8-hour T1/T2 timeline is hidden. Reverse: delete the next line. */
body #lease-module.dhcp-lease-module{display:none!important}
.cl-dd--lease .cl-dd-animzone{min-width:0;display:flex;flex-direction:column;gap:6px}
.cl-dd--lease .cl-dd-animzone>.bba-bar{align-self:flex-start}
.cl-dd--lease .cl-dd-animzone>figure{width:100%;align-self:stretch}
/* step tokens: own unfiltered layer, transform + opacity only; step 0 = the static drawing (tokens hidden) */
.cl-dd--lease .lz-tok{opacity:0;pointer-events:none}
.bba-fig[data-doodle-id="dhcp-lease-clock"] .lz-pin{transform:translate(80px,161px);transition:transform .9s ease-in-out,opacity .3s}
.bba-fig[data-doodle-id="dhcp-lease-clock"] .lz-pinm{transform:translate(52px,44px);transition:transform .9s ease-in-out,opacity .3s}
.bba-fig[data-doodle-id="dhcp-lease-clock"].bba-on .lz-pin,.bba-fig[data-doodle-id="dhcp-lease-clock"].bba-on .lz-pinm{opacity:1}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="2"] .lz-pin{transform:translate(465px,161px)}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="3"] .lz-pin{transform:translate(640px,161px)}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="4"] .lz-pin{transform:translate(761px,161px)}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="6"] .lz-pin{transform:translate(860px,161px)}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="2"] .lz-pinm{transform:translate(52px,216px)}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="3"] .lz-pinm{transform:translate(52px,290px)}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="4"] .lz-pinm{transform:translate(52px,351px)}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="6"] .lz-pinm{transform:translate(52px,398px)}
@keyframes lzReq{0%{opacity:0;transform:translate(340px,86px)}15%{opacity:1;transform:translate(340px,86px)}85%{opacity:1;transform:translate(492px,86px)}100%{opacity:0;transform:translate(492px,86px)}}
@keyframes lzAck{0%{opacity:0;transform:translate(516px,104px)}15%{opacity:1;transform:translate(516px,104px)}100%{opacity:1;transform:translate(340px,104px)}}
@keyframes lzWave{0%{opacity:0;transform:translate(790px,86px) scale(.6)}40%{opacity:1}100%{opacity:0;transform:translate(790px,86px) scale(1.35)}}
@keyframes lzX{0%{opacity:0;transform:translate(860px,161px) scale(.4)}60%{opacity:1;transform:translate(860px,161px) scale(1.25)}100%{opacity:1;transform:translate(860px,161px) scale(1)}}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="2"] .lz-req{animation:lzReq 1.6s ease-in-out .5s both}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="4"] .lz-wave{animation:lzWave 1s ease-out .4s 3 both}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="5"] .lz-ack{animation:lzAck 1.2s ease-in-out 0s both}
.bba-fig[data-doodle-id="dhcp-lease-clock"][data-anim-step="6"] .lz-x{animation:lzX .6s ease-out .7s both}
@media (prefers-reduced-motion:reduce){
  .bba-fig[data-doodle-id="dhcp-lease-clock"] :is(.lz-pin,.lz-pinm){transition:none}
  .bba-fig[data-doodle-id="dhcp-lease-clock"] .lz-tok{animation-duration:1ms!important;animation-delay:0s!important;animation-iteration-count:1!important}
}
@media print{.cl-dd--lease .lz-anim{display:none}}

/* 11/21 theme parity: the "IPv6 angle" doodles (shared bb-v6-fig.css) ink their text with var(--theme-text),
   a token no theme defines, so they fell back to near-white #e8eef0 on every theme, unreadable on Dress Blues
   and Old Glory. Point that token at the real theme ink (DHCP + IPv6 pages both link this file). */
.v6-fig svg{--theme-text:var(--theme-ink,#e8eef0)}
/* Light themes: the bright accent hues drop to darker shades so labels, bars and arrows read on paper. */
[data-bb-theme="patriotic"] .v6-fig .v6f-blue{fill:#0369a1}
[data-bb-theme="patriotic"] .v6-fig .v6f-green{fill:#15803d}
[data-bb-theme="patriotic"] .v6-fig .v6f-orange{fill:#b45309}
[data-bb-theme="patriotic"] .v6-fig .v6f-red{fill:#b91c1c}
[data-bb-theme="patriotic"] .v6-fig :is(.v6f-ra rect,.v6f-ra path,.v6f-arrow){stroke:#0369a1}
[data-bb-theme="patriotic"] .v6-fig :is(.v6f-good rect,.v6f-good path,.v6f-tick,.v6f-bar.v6f-g,.v6f-arrow.v6f-g){stroke:#15803d}
[data-bb-theme="patriotic"] .v6-fig :is(.v6f-opt rect,.v6f-opt path,.v6f-dash,.v6f-bar.v6f-o,.v6f-arrow.v6f-o){stroke:#b45309}
[data-bb-theme="patriotic"] .v6-fig :is(.v6f-bad rect,.v6f-bad path,.v6f-bad circle:not(.v6f-dot),.v6f-x,.v6f-bar.v6f-r,.v6f-arrow.v6f-r){stroke:#b91c1c}
[data-bb-theme="patriotic"] .v6-fig .v6f-fill-b{fill:rgba(3,105,161,.10);stroke:#0369a1}
[data-bb-theme="patriotic"] .v6-fig .v6f-fill-o{fill:rgba(180,83,9,.10);stroke:#b45309}

/* 11/21 polish: while the lease clock plays, each later label waits for its own step instead of showing from step 1
   (renew from step 2, rebind from step 4, "any ACK = back to 0" at step 5, "no ACK by 8h" at step 6).
   Poster at rest (no step) still shows everything. Labels sit outside the wobble filter group; opacity only. */
.bba-fig[data-doodle-id="dhcp-lease-clock"].bba-on svg > :is(:nth-child(6),:nth-child(7),:nth-child(8),:nth-child(9),:nth-child(10),:nth-child(11),:nth-child(12)){opacity:0;transition:opacity .35s ease}
.bba-fig[data-doodle-id="dhcp-lease-clock"].bba-on:is([data-anim-step="2"],[data-anim-step="3"],[data-anim-step="4"],[data-anim-step="5"],[data-anim-step="6"]) svg > :is(:nth-child(6),:nth-child(7)),
.bba-fig[data-doodle-id="dhcp-lease-clock"].bba-on:is([data-anim-step="4"],[data-anim-step="5"],[data-anim-step="6"]) svg > :is(:nth-child(8),:nth-child(9)),
.bba-fig[data-doodle-id="dhcp-lease-clock"].bba-on[data-anim-step="5"] svg > :is(:nth-child(10),:nth-child(11)),
.bba-fig[data-doodle-id="dhcp-lease-clock"].bba-on[data-anim-step="6"] svg > :nth-child(12){opacity:1}
@media (prefers-reduced-motion:reduce){.bba-fig[data-doodle-id="dhcp-lease-clock"] svg > text{transition:none!important}}
