/* Current projects: a short introduction, something to try, then the build notes. */
.hero-home { padding: 38px 0 34px; }
.hero-home .eyebrow { padding: 0; border: 0; box-shadow: none; background: none; margin-bottom: 16px; }
.hero-home h1 { max-width: 12ch; font-size: clamp(2.1rem, 4vw, 3.25rem); }
.hero-home .hero-copy { max-width: 39ch; margin-bottom: 22px; }
.hero-home .hero-grid { gap: 36px; }
.hero-home .viewer-caption { font-size: 0.65rem; }
.hero-home .viewer-controls { gap: 10px 16px; }
.project-date { display: block; margin: 12px 0 0; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; }
.section-current { padding: 40px 0 56px; }
.section-current .section-intro { margin-bottom: 24px; }
.current-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1040px) { .current-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.current-project { min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.current-project-visual { display: block; height: 270px; overflow: hidden; background: #edf2ee; }
.current-project-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform 220ms ease; }
.current-project-visual:hover img { transform: scale(1.025); }
.current-project-copy { padding: 24px 26px 28px; }
.current-project-copy h3 { margin: 8px 0 12px; font-size: 1.5rem; letter-spacing: -0.035em; }
.current-project-copy p { color: var(--ink-soft); margin-bottom: 20px; }
.current-project-copy .feature-meta { margin: 0; font-size: 0.69rem; }
.life-preview { padding: 24px; background: #e9eee7; }
.life-preview-window { max-width: 400px; margin: 0 auto; padding: 18px 22px; border: 1px solid #d3dacd; border-radius: 12px; background: #fafbf7; box-shadow: 0 8px 25px #233b2410; }
.life-preview-label { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.64rem; color: #5a6955; text-transform: uppercase; }
.life-preview-title { margin: 15px 0 12px; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.035em; }
.life-preview-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #e0e6dc; font-size: 0.85rem; }
.life-preview-row i { flex: none; width: 14px; height: 14px; border: 1px solid #8f9e85; border-radius: 4px; }
.life-preview-row small { margin-left: auto; color: #66735f; white-space: nowrap; }
.life-preview-foot { margin-top: 10px; color: #3d6449; font-size: 0.72rem; }
.notebook-section { padding: 40px 0; border-top: 1px solid var(--line); }
.notebook-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.notebook-head h2 { font-size: 1.3rem; letter-spacing: -0.025em; }
.notebook-head p { color: var(--muted); font-size: 0.8rem; }
.notebook-list { list-style: none; padding: 0; margin: 0; }
.notebook-list li + li { border-top: 1px solid var(--line); }
.notebook-list a { display: grid; grid-template-columns: 110px 1fr 24px; align-items: start; gap: 24px; padding: 18px 0; }
.notebook-list a:hover strong { color: var(--accent-dark); }
.notebook-list time { color: var(--muted); font-family: var(--mono); font-size: 0.7rem; padding-top: 3px; }
.notebook-list strong { display: block; font-size: 1rem; }
.notebook-list p { max-width: 65ch; margin: 5px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.notebook-arrow { color: var(--accent-dark); }
.home-about { padding-block: 56px; }
.home-about .section-copy { font-size: 1rem; }
.home-about .about-copy { max-width: 65ch; }
.case-hero-compact { padding: 35px 0 28px; }
.case-hero-compact .case-breadcrumb { margin-bottom: 20px; }
.case-hero-compact .case-label { margin-bottom: 12px; }
.case-hero-compact h1 { margin-bottom: 16px; }
.case-hero-compact .case-lead { font-size: 1.1rem; line-height: 1.6; max-width: 58ch; }
.project-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
.project-intro figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.project-intro figure img { height: 265px; width: 100%; object-fit: cover; }
.project-intro figcaption { padding: 9px 14px; font-size: 0.7rem; color: var(--muted); }
.case-demo { margin-block: 8px 42px; }
.demo-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 0 0 18px; }
.demo-heading h2 { font-size: 1.5rem; letter-spacing: -0.04em; }
.demo-heading p { max-width: 52ch; color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.demo-sample { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #5a6e60; border-radius: 100px; font: 600 0.65rem var(--mono); white-space: nowrap; }
.iot-walkthrough { padding: 24px; color: #eff9f2; background: #14251f; border: 1px solid #2f4e40; border-radius: var(--radius); }
.iot-walkthrough-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; font-size: 0.85rem; }
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0 0 20px; gap: 8px; }
.demo-steps li { padding: 10px 12px; color: #c0d4c7; border: 1px solid #405b4b; border-radius: 8px; font-size: 0.78rem; }
.demo-steps li[aria-current] { color: #143c2c; background: #b4edcf; border-color: #b4edcf; font-weight: 700; }
.iot-walkthrough-body { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 18px; }
.demo-node { display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 1px solid #405b4b; border-radius: 12px; }
.demo-node small { color: #c0d4c7; font-size: 0.75rem; }
.demo-node strong { display: block; margin-top: 12px; color: #d0ffe0; font: 650 clamp(2.8rem, 5vw, 4rem) var(--mono); letter-spacing: -0.07em; }
.demo-node p { margin: 4px 0 20px; color: #c0d4c7; font-size: 0.8rem; }
.demo-node span { padding-top: 14px; border-top: 1px solid #405b4b; color: #d0e8d8; font-size: 0.7rem; }
.demo-room-view { min-width: 0; padding: 18px; background: #edf3ed; border-radius: 12px; color: #23382b; }
.demo-room-view > p { display: flex; justify-content: space-between; gap: 8px; font-size: 0.8rem; margin-bottom: 14px; }
.demo-room-view > p small { color: #566953; font-size: 0.68rem; }
.demo-floor { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 6px; }
.demo-room { padding: 15px; border: 2px solid #b7c5b3; border-radius: 3px; }
.demo-room-primary { grid-row: span 2; background: #fff; }
.demo-room > span { display: block; font-size: 0.78rem; }
.demo-room strong { display: block; margin: 10px 0; font: 650 2.1rem var(--mono); letter-spacing: -0.06em; }
.demo-room small { color: #576a56; font-size: 0.7rem; }
.demo-room-primary small { display: block; }
.demo-room-muted { border-style: dashed; background: #e5ebe1; }
.demo-trend { width: 100%; height: 54px; margin-top: 15px; }
.demo-trend path { fill: none; stroke: #829780; stroke-width: 2; stroke-dasharray: 4 4; }
.demo-trend circle { fill: #137c55; opacity: 0; }
[data-stage="2"] .demo-room-primary { border-color: #137c55; }
[data-stage="2"] .demo-trend path { stroke: #137c55; stroke-dasharray: none; }
[data-stage="2"] .demo-trend circle { opacity: 1; }
.demo-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.demo-actions p { max-width: 65ch; margin: 0; color: #d0e8d8; font-size: 0.82rem; }
.demo-actions .button { flex: none; border-color: #b4edcf; background: #b4edcf; color: #143c2c; }
.demo-footnote { margin-top: 10px; color: var(--muted); font-size: 0.75rem; }
.project-facts { margin-bottom: 32px; }
.project-facts .case-summary { box-shadow: none; margin-top: 16px; }
.project-facts summary { cursor: pointer; color: var(--ink-soft); font-size: 0.85rem; }
.enclosure-stage { margin-bottom: 28px; }
.enclosure-stage .section-intro { margin: 0 0 14px; align-items: center; }
.enclosure-stage .section-title { font-size: 1.3rem; }
.enclosure-stage .section-copy { font-size: 0.85rem; }
.enclosure-stage .viewer-controls { margin-top: 14px; }
.concept-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.concept-picks a { padding: 18px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); }
.concept-picks strong { display: block; font-size: 1rem; margin-bottom: 7px; }
.concept-picks p { margin: 0; color: var(--ink-soft); font-size: 0.83rem; }
.concept-picks a:hover { border-color: var(--accent-dark); }
.build-notes { margin-bottom: 56px; }
.build-notes > h2 { font-size: 1.5rem; margin-bottom: 8px; }
.build-notes > p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 22px; }
.build-detail { margin-bottom: 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); overflow: clip; }
.build-detail > summary { padding: 18px 20px; cursor: pointer; font-size: 0.95rem; font-weight: 650; }
.build-detail > summary::marker { color: var(--accent-dark); }
.build-detail > summary span { display: inline; margin-left: 12px; font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.build-detail[open] > summary { border-bottom: 1px solid var(--line); }
.build-detail .case-section { padding: 26px 0; }
.build-detail .shell { width: calc(100% - 36px); }
.build-detail .case-prose-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.build-detail .case-section-title { font-size: 1.3rem; }
.build-detail .case-section-title > span { display: none; }
.build-detail .concept-body { margin-top: 20px; }
.build-detail .case-summary { box-shadow: none; }
.snapshot-note { margin: 0 auto 18px; color: var(--muted); font-size: 0.8rem; }
.garden-stat-strip .snapshot-note { padding-top: 18px; }
.lifeos-window { overflow: hidden; border: 1px solid #ccd5c6; border-radius: var(--radius); background: #f7f9f2; box-shadow: 0 8px 30px #233b240b; }
.lifeos-window-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid #dce3d5; }
.lifeos-window-head > strong { font-size: 1.1rem; letter-spacing: -0.04em; }
.lifeos-tabs { display: flex; gap: 8px; padding: 14px 24px 0; }
.lifeos-tabs button { min-height: 44px; padding: 9px 16px; color: #51654b; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: 0.85rem; font-weight: 650; cursor: pointer; }
.lifeos-tabs button[aria-selected="true"] { background: #e2ebd9; border-color: #c1d0b2; color: #274d30; }
.lifeos-panel { padding: 22px 24px 26px; }
.lifeos-panel[hidden] { display: none; }
.lifeos-panel h3 { font-size: 1.65rem; letter-spacing: -0.04em; margin-bottom: 7px; }
.lifeos-panel-intro { margin-bottom: 22px; color: #52674d; font-size: 0.85rem; }
.lifeos-day { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.lifeos-task-list { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.lifeos-task-list legend { padding-bottom: 12px; color: #51654b; font-size: 0.8rem; }
.lifeos-task-list label { display: flex; align-items: center; gap: 12px; padding: 17px 14px; border: 1px solid #d4ddcb; border-radius: 10px; background: #fff; cursor: pointer; }
.lifeos-task-list label:has(input:checked) { border-color: #618659; background: #f0f5e9; }
.lifeos-task-list input { width: 18px; height: 18px; flex: none; accent-color: #386b45; }
.lifeos-task-list strong { display: block; font-size: 0.88rem; }
.lifeos-task-list small { display: block; color: #607457; font-size: 0.72rem; margin-top: 4px; }
.lifeos-task-list label > small { margin-left: auto; white-space: nowrap; }
.lifeos-task-list .is-done strong { color: #72816b; text-decoration: line-through; }
.lifeos-focus { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: #e5eddc; border: 1px solid #c5d3b7; border-radius: 12px; }
.lifeos-focus small { color: #52674d; font-size: 0.75rem; }
.lifeos-focus strong { display: block; margin: 15px 0 20px; font-size: 1.3rem; letter-spacing: -0.035em; }
.lifeos-focus .button { font-size: 0.77rem; background: #315d3a; border-color: #315d3a; }
[data-focusing="true"] .lifeos-focus { border-color: #315d3a; }
.demo-reset { min-height: 44px; padding: 8px 0; color: #3d6449; background: none; border: 0; cursor: pointer; text-decoration: underline; font-size: 0.8rem; }
.lifeos-demo-footer { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 14px 24px; border-top: 1px solid #dce3d5; }
.lifeos-demo-footer p { margin: 0; max-width: 75ch; color: #52674d; font-size: 0.8rem; }
.lifeos-demo-footer button { flex: none; }
.lifeos-project-record { padding: 18px; border: 1px solid #d4ddcb; background: white; border-radius: 10px; }
.lifeos-project-record > p { color: #52674d; font-size: 0.85rem; }
.lifeos-project-record h4 { margin: 18px 0 10px; font-size: 0.85rem; }
.lifeos-history { padding-left: 18px; color: #52674d; font-size: 0.85rem; }
.lifeos-history li { padding: 5px 0; }
.lifeos-garden { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.lifeos-garden img { width: 100%; max-height: 310px; object-fit: cover; border-radius: 12px; }
.lifeos-garden p { color: #52674d; font-size: 0.88rem; }
.lifeos-garden .project-date { margin: 0 0 12px; }
.lifeos-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 38px 0; }
.lifeos-notes h3 { font-size: 1.1rem; margin-bottom: 10px; }
.lifeos-notes p { font-size: 0.92rem; color: var(--ink-soft); }
.case-cover video { display: block; width: 100%; max-height: 590px; background: #111; }
button:disabled { cursor: default; opacity: 0.65; }
@media (max-width: 900px) {
  .project-intro { grid-template-columns: 1fr; gap: 20px; }
  .project-intro figure img { height: 240px; }
  .demo-heading { display: block; }
  .demo-heading h2 { margin-bottom: 8px; }
  .lifeos-day { grid-template-columns: 1fr; gap: 16px; }
  .lifeos-focus { padding: 18px; }
  .lifeos-focus strong { margin: 8px 0 16px; }
  .lifeos-notes { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 740px) {
  .hero-home { padding: 24px 0 26px; }
  .hero-home .hero-grid { gap: 20px; }
  .hero-home h1 { max-width: none; font-size: 2rem; margin-bottom: 12px; }
  .hero-home .eyebrow { font-size: 0.64rem; margin-bottom: 12px; }
  .hero-home .hero-copy { font-size: 1rem; line-height: 1.55; margin-bottom: 16px; }
  .hero-home .hero-actions .button { width: auto; min-height: 40px; padding: 10px 16px; font-size: 0.76rem; }
  .hero-home .viewer-controls { margin-top: 10px; }
  .hero-home .viewer-caption { font-size: 0.62rem; gap: 6px; }
  .section-current { padding: 28px 0 32px; }
  .section-current .section-title { font-size: 1.6rem; }
  .current-grid { grid-template-columns: 1fr; gap: 18px; }
  .current-project-visual { height: 230px; }
  .current-project-copy { padding: 20px; }
  .life-preview { padding: 17px; }
  .life-preview-window { padding: 14px 18px; }
  .notebook-head { display: block; }
  .notebook-head p { margin: 6px 0 0; }
  .notebook-list a { grid-template-columns: 1fr 20px; gap: 7px; }
  .notebook-list time { grid-column: 1 / -1; }
  .notebook-section { padding: 28px 0; }
  .case-hero-compact { padding-top: 24px; }
  .case-hero-compact .case-breadcrumb { margin-bottom: 16px; font-size: 0.68rem; }
  .case-hero-compact h1 { font-size: 2rem; }
  .case-hero-compact .case-lead { font-size: 1rem; }
  .project-intro figure img { height: 215px; }
  .iot-walkthrough { padding: 16px; }
  .iot-walkthrough-body { grid-template-columns: 1fr; gap: 12px; }
  .demo-node { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px; gap: 0 12px; }
  .demo-node strong { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 2.5rem; }
  .demo-node p { margin: 4px 0 0; }
  .demo-node span { grid-column: 1 / -1; margin-top: 12px; padding-top: 10px; }
  .demo-steps li { padding: 9px 6px; font-size: 0.7rem; text-align: center; }
  .demo-room-view { padding: 14px; }
  .demo-room { padding: 12px; }
  .demo-room-view > p { font-size: 0.75rem; }
  .demo-room-view > p small { font-size: 0.62rem; }
  .demo-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .demo-actions p { min-height: 3.8em; }
  .concept-picks { grid-template-columns: 1fr; gap: 8px; }
  .concept-picks a { padding: 14px 16px; }
  .concept-picks strong { margin-bottom: 3px; }
  .build-detail > summary { padding: 16px; }
  .build-detail > summary span { display: block; margin: 5px 0 0 16px; }
  .enclosure-stage .section-intro { gap: 6px; }
  .enclosure-stage .section-copy { display: none; }
  .enclosure-stage .viewer-controls { gap: 10px; }
  .lifeos-window-head, .lifeos-panel, .lifeos-demo-footer { padding: 16px; }
  .lifeos-tabs { padding: 12px 16px 0; }
  .lifeos-tabs button { padding-inline: 12px; }
  .lifeos-panel h3 { font-size: 1.4rem; }
  .lifeos-garden { grid-template-columns: 1fr; gap: 18px; }
  .lifeos-garden img { max-height: 240px; }
  .lifeos-demo-footer { align-items: flex-start; gap: 10px; }
  .lifeos-task-list label { padding: 14px 10px; gap: 10px; }
  .lifeos-task-list strong { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .current-project-visual img { transition: none; }
}

/* The device opens the IoT project: a quiet title, then a full-width moving assembly. */
.sensor-hero { max-width: 1500px; margin: 0 auto; padding: 22px 28px 12px; }
.sensor-hero-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 8px 18px; }
.sensor-hero-heading .case-label { margin:0 0 4px; font-size:0.65rem; }
.sensor-hero-heading h1 { margin:0; font-size:clamp(1.5rem,2.6vw,2.3rem); letter-spacing:-0.045em; }
.sensor-hero .viewer { border-radius:18px; background:radial-gradient(ellipse at 48% 44%,#343a40 0%,#1e2329 55%,#13171c 100%); }
.sensor-hero .viewer::before { opacity:0.25; }
.sensor-hero .viewer-readout { font-size:0.6rem; opacity:0.75; }
.sensor-hero .viewer-controls { padding:14px 4px 6px; margin:0; justify-content:center; }
.sensor-hero .viewer-foot { display:flex; justify-content:space-between; gap:20px; padding:0 5px; }
.sensor-hero .viewer-note { font-size:0.58rem; }
.sensor-hero .viewer-foot a { font-size:0.72rem; }
.sensor-hero .viewer-corner { display:none; }
@media(max-width:640px) {
 .sensor-hero { padding:16px 12px 8px; }
 .sensor-hero-heading { margin:0 3px 12px; gap:10px; }
 .sensor-hero-heading > a { font-size:0.7rem; }
 .sensor-hero .viewer-controls { gap:8px; }
 .sensor-hero .viewer-slider { flex:1 1 100%; justify-content:center; }
 .sensor-hero .viewer-foot { flex-direction:column; gap:0; }
 .sensor-hero .viewer-readout { font-size:0.5rem; }
}

/* The physical build history, immediately beneath the model. */
.build-evolution { padding-top: 56px; padding-bottom: 46px; scroll-margin-top: 100px; }
.evolution-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.evolution-heading h2 { margin: 0; font-size: clamp(26px,3.2vw,40px); letter-spacing: -.04em; }
.evolution-heading > p { max-width: 280px; color: #687570; margin: 0; }
.evolution-steps { display: grid; grid-template-columns: repeat(5,1fr); border-bottom: 1px solid #ccd7d1; }
.evolution-steps button { appearance: none; border: 0; border-bottom: 3px solid transparent; background: transparent; text-align: left; padding: 16px 12px; font: inherit; cursor: pointer; color: #687570; }
.evolution-steps button span { display: block; font: 11px monospace; letter-spacing: .1em; margin-bottom: 8px; }
.evolution-steps button[aria-selected="true"] { border-bottom-color: #24654e; color: #194b3c; background: #eaf1ec; }
.evolution-steps button:hover { background: #edf2ee; }
.evolution-steps button:focus-visible { outline: 2px solid #24654e; outline-offset: -4px; }
.evolution-stage { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 430px; background: #edf0ea; border-radius: 0 0 12px 12px; overflow: hidden; }
.evolution-stage[hidden] { display: none; }
.evolution-stage figure { margin: 0; height: 470px; padding: 18px; background: #e4e8e0; }
.evolution-stage img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.evolution-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px,4vw,56px); }
.evolution-copy h3 { margin: 4px 0 18px; font-size: clamp(24px,2.6vw,34px); line-height: 1.15; letter-spacing: -.035em; }
.evolution-copy > p:not(.case-label) { color: #54615a; line-height: 1.75; max-width: 36ch; }
.evolution-count { margin-top: 28px; font: 12px monospace; color: #738077; }
.evolution-branch { font-size: 14px; color: #687570; margin-top: 18px; }
.evolution-branch a { color: #24654e; text-underline-offset: 3px; }
@media(max-width: 640px) {
  .build-evolution { padding-top: 32px; }
  .evolution-heading { display: block; }
  .evolution-heading > p { margin-top: 12px; }
  .evolution-steps button { font-size: 11px; padding: 12px 5px; }
  .evolution-stage { grid-template-columns: 1fr; }
  .evolution-stage figure { height: 330px; padding: 12px; }
  .evolution-copy { padding: 25px; }
  .evolution-count { margin-top: 12px; }
}
.viewer-label { white-space: normal; line-height: 1.4; }
@media(max-width:640px) { .viewer-label { font-size: 9px; padding: 3px 5px; } }

/* Source-backed message journey. The routes are drawn between the actual cards. */
.message-section { --flow-color:#26836b; padding-top: 55px; padding-bottom: 55px; scroll-margin-top:90px; }
.message-heading { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:end; margin-bottom:28px; }
.message-heading h2 { margin:0; font-size:clamp(28px,3.3vw,42px); letter-spacing:-.04em; line-height:1.12; }
.message-heading > p { color:#647269; max-width:51ch; margin:0; line-height:1.7; }
.message-figure { border:1px solid #ced8d1; border-radius:14px; background:#fafcf9; overflow:hidden; }
.message-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px; border-bottom:1px solid #dce3dc; }
.message-toolbar > div { display:flex; gap:8px; flex-wrap:wrap; }
.message-toolbar button { font:inherit; font-size:13px; border:1px solid transparent; padding:9px 12px; border-radius:6px; background:transparent; cursor:pointer; color:#566259; }
.message-toolbar button[aria-pressed=true][data-flow] { background:#eaf0e9; color:#16382c; border-color:#bacbc0; }
.message-toolbar button[data-flow-pause] { border-color:#cad4cd; white-space:nowrap; }
.message-toolbar button:focus-visible { outline:2px solid #24654e; outline-offset:3px; }
.packet-key { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:8px; }
.packet-key.reading { background:#26836b; }.packet-key.config { background:#b36c30; border-radius:1px; }.packet-key.state { background:#7160b7; }
.message-map { position:relative; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:26px; padding:48px 20px; background-image:radial-gradient(#cdd8ce .7px,transparent .7px); background-size:7px 7px; }
.message-routes { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.message-track { fill:none; stroke:#a7b6ac; stroke-width:1.3; }.message-arrow { fill:none; stroke:var(--flow-color); stroke-width:1.3; }
.travelling-message { fill:var(--flow-color); stroke:#fafcf9; stroke-width:1.5; }
.message-node { position:relative; min-width:0; min-height:213px; background:#fafcf9; border:1px solid #c4cec6; border-radius:7px; padding:14px 12px; transition:border-color .3s,box-shadow .3s; }
.message-node.message-active { border-color:var(--flow-color); box-shadow:0 0 0 3px color-mix(in srgb,var(--flow-color) 10%,transparent); }
.node-area { display:block; text-transform:uppercase; letter-spacing:.04em; font:9px var(--mono); color:#758277; }
.node-symbol { display:block; font-size:25px; color:var(--flow-color); margin:16px 0 10px; }
.message-node h3 { margin:0 0 10px; font-size:15px; line-height:1.25; letter-spacing:-.02em; }
.message-node p { margin:0 0 12px; font-size:12px; line-height:1.5; color:#4e5e53; }
.message-node small { display:block; font-size:10px; line-height:1.5; color:#7b867d; }
.dashboard-end { background:#0d1727; color:#eff5fc; border-color:#24344b; }.dashboard-end p { color:#c2cedd; }.dashboard-end small,.dashboard-end .node-area { color:#8ea5bd; }
.message-caption { padding:22px 24px 10px; display:grid; grid-template-columns:220px 1fr; gap:24px; border-top:1px solid #dce3dc; }
.message-caption > span { color:var(--flow-color); font:10px var(--mono); letter-spacing:.05em; line-height:1.8; }
.message-caption p { font-size:14px; line-height:1.7; margin:0; color:#46564c; }
.message-example { font-size:11px; color:#78847c; margin:8px 24px 20px; }
.message-explainer { display:grid; grid-template-columns:1fr 1fr; gap:48px; margin:40px 0; }
.message-explainer h3,.dashboard-story h3 { font-size:24px; letter-spacing:-.03em; margin:4px 0 16px; }
.message-explainer p,.dashboard-story p { color:#607066; line-height:1.75; }
.dbo-points { border-left:2px solid #b5cdbd; padding-left:18px; margin-top:24px; }
.dbo-points dt { font:11px var(--mono); overflow-wrap:anywhere; color:#265b44; }.dbo-points dd { margin:4px 0 16px; font-size:12px; color:#738077; }
.message-payload { border:1px solid #d0dbd2; background:#f0f4ef; border-radius:8px; margin-top:24px; min-width:0; }
.message-payload summary { padding:14px; cursor:pointer; font-size:13px; }.message-payload summary > span:last-child { float:right; color:#7e8a80; font:10px var(--mono); padding-top:4px; }
.message-payload > code { display:block; padding:12px 16px 0; font-size:11px; overflow-wrap:anywhere; color:#367659; }
.message-payload pre { margin:0; padding:16px; font:11px/1.7 var(--mono); overflow-x:auto; }
.dashboard-story { display:grid; grid-template-columns:1.2fr 1fr; gap:48px; align-items:center; border-top:1px solid #d7e0d8; padding-top:36px; }
.dashboard-sample { background:#091223; padding:26px; border:1px solid #273548; border-radius:12px; color:#f3f6fc; }
.dashboard-sample-head { display:flex; justify-content:space-between; font:9px var(--mono); color:#84afd3; letter-spacing:.1em; }
.dashboard-sample h3 { font-size:21px; margin:20px 0; }.dashboard-sample h3 small { font:10px var(--mono); margin-left:10px; color:#718ba7; }
.dashboard-sample-values { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }.dashboard-sample-values > div { background:#101d30; border:1px solid #223046; border-radius:8px; padding:14px 10px; }
.dashboard-sample-values span { display:block; font-size:10px; color:#8b9bb1; }.dashboard-sample-values strong { display:block; font-size:24px; margin-top:8px; }.dashboard-sample-values small { font-size:10px; font-weight:400; }
.dashboard-sample p { color:#8b9bb1; font-size:11px; margin-top:24px; }.dashboard-sample p span { float:right; color:#fff; background:#2867bc; padding:2px 6px; border-radius:3px; }
.dashboard-sample svg { display:block; width:100%; height:auto; }
.dashboard-sample-bottom { display:flex; justify-content:space-between; margin-top:20px; padding-top:14px; border-top:1px solid #26344b; font-size:9px; color:#8b9bb1; }.dashboard-sample-bottom b { color:#d0e2ef; margin-left:8px; }
@media(max-width:1000px) {
 .message-map { grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:40px; }
 .message-node:nth-of-type(4) { grid-column:3; grid-row:2; }.message-node:nth-of-type(5) { grid-column:2; grid-row:2; }.message-node:nth-of-type(6) { grid-column:1; grid-row:2; }
}
@media(max-width:640px) {
 .message-heading,.message-explainer,.dashboard-story { grid-template-columns:1fr; gap:24px; }
 .message-toolbar { align-items:start; padding:12px; flex-direction:column; }.message-toolbar button { font-size:11px; padding:8px; }
 .message-map { grid-template-columns:repeat(2,minmax(0,1fr)); padding:28px 14px; gap:32px 24px; }
 .message-node { min-height:204px; }
 .message-node:nth-of-type(3) { grid-column:2; grid-row:2; }.message-node:nth-of-type(4) { grid-column:1; grid-row:2; }.message-node:nth-of-type(5) { grid-column:1; grid-row:3; }.message-node:nth-of-type(6) { grid-column:2; grid-row:3; }
 .message-caption { grid-template-columns:1fr; gap:8px; padding:18px 16px 10px; }.message-example { margin:8px 16px 18px; }
 .dashboard-sample { padding:18px; }.dashboard-sample-values strong { font-size:21px; }
}
