:root {
  --canvas: #f7f7f2; --paper: #fffefa; --ink: #192d3d; --muted: #4b5d64;
  --teal: #28577b; --mint: #e3ebed; --line: #cfd8d9; --saffron: #e8b349;
}
.sj-hero h1 { max-width: 13ch; }
.sj-hero h1 em { color: #305e7e; }
.sj-cover { background: #e2dccd; }
.sj-cover img { object-position: 51% 45%; }
.sj-deck { color: #334957; }
.sj-note { background: #e7edf0; border-color: #c8d7dd; }
.sj-journey-head, .sj-demo { background: #223d50; }
.sj-journey article p:last-child { background: #edf1f2; color: #304d5b; }
.sj-demo a { background: #f6ce78; color: #233541; }
.ron-board {
  display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); margin-top: 28px; overflow: hidden;
  border: 1px solid #284959; border-radius: 9px; background-color: #294a5d;
  background-image: linear-gradient(#a3bcc31c 1px,transparent 1px), linear-gradient(90deg,#a3bcc31c 1px,transparent 1px);
  background-size: 18px 18px;
}
.ron-supervisor, .ron-worker { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: clamp(16px, 2.5vw, 36px); }
.ron-worker { border-left: 1px solid #829ba57a; }
.ron-label { font: 500 .76rem/1.55 var(--mono); color: #e4edef; margin: 0 0 12px; }
.ron-monitor, .ron-mobile { background: #fcfcf7; border: 1px solid #b0c2c4; border-radius: 6px; overflow: hidden; box-shadow: 0 12px 22px -12px #0c1b2780; }
.ron-monitor { width: 100%; }
.ron-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; border-bottom: 1px solid #c8d4d5; }
.ron-top strong { font: 630 .9rem/1.4 var(--ui); letter-spacing: -.02em; }
.ron-top span { padding: 2px 5px; border-radius: 3px; color: #405458; background: #e2e9e9; font: .68rem/1.4 var(--mono); }
.ron-dispatch { display: grid; grid-template-columns: 1.12fr .88fr; }
.ron-map {
  position: relative; min-height: 175px; overflow: hidden; border-right: 1px solid #d3dfda; background-color: #eaf0e8;
  background-image: linear-gradient(31deg, transparent 40%, #a9c8d2 41% 45%, transparent 46%), linear-gradient(123deg, transparent 40%, #fff 41% 45%, transparent 46%), repeating-linear-gradient(18deg, transparent 0 24px, #fff 24px 28px), repeating-linear-gradient(101deg, transparent 0 28px, #d4dfce 28px 35px);
}
.ron-pin { position: absolute; padding: 2px 5px 2px 14px; border: 1px solid #b8c7be; border-radius: 3px; background: #fefdf8; color: #264458; font: 500 .65rem/1.4 var(--mono); }
.ron-pin::before { content: ""; position: absolute; top: calc(50% - 3px); left: 5px; width: 6px; height: 6px; border-radius: 50%; background: #92670a; }
.ron-pin-a { top: 20%; left: 8%; }
.ron-pin-b { bottom: 15%; right: 5%; }
.ron-assignment { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: 15px 10px; color: var(--muted); }
.ron-assignment small, .ron-mobile small { font: .76rem/1.4 var(--ui); }
.ron-assignment strong { display: block; margin-top: 8px; font: 590 clamp(.94rem, 1.45vw, 1.28rem)/1.25 var(--ui); letter-spacing: -.035em; }
.ron-assignment p { font-size: .75rem; }
.ron-assignment span { margin-top: 15px; padding: 3px 5px; color: #533d18; background: #f6e6bd; border-radius: 3px; font: 500 .7rem/1.45 var(--ui); }
.ron-mobile { width: min(100%, 185px); border: 4px solid #182c37; border-radius: 17px; padding: 7px 12px 13px; }
.ron-speaker { width: 35px; height: 4px; border-radius: 4px; background: #223743; margin: 0 auto 15px; }
.ron-mobile small { color: var(--muted); }
.ron-mobile strong { display: block; margin: 6px 0 2px; color: #254657; font: 620 1.06rem/1.28 var(--ui); }
.ron-mobile p { color: var(--muted); font: .82rem/1.5 var(--ui); }
.ron-faux { display: block; margin-top: 22px; padding: 6px; text-align: center; border-radius: 4px; color: #193241; background: #efcd82; font: 600 .76rem/1.55 var(--ui); }
.ron-board figcaption { grid-column: 1/-1; border-top: 1px solid #bdcbd0; padding: 12px 17px; background: #eff2ed; color: #405460; font-size: .88rem; }
.ron-slip { margin-top: 20px; padding: clamp(16px, 2.2vw, 28px); background: #fffef8; border: 1px solid #d1cebc; border-inline-start: 4px solid #dfad43; border-radius: 5px; }
.ron-slip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 7px 16px; }
.ron-slip .ron-label { color: #72613c; margin-bottom: 4px; }
.ron-slip-head h3 { font: 540 1.32rem/1.3 var(--sans); letter-spacing: -.025em; }
.ron-slip-head > span { font: .85rem/1.5 var(--mono); color: var(--muted); }
.ron-slip dl { margin-top: 12px; }
.ron-slip dl > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 3px 16px; padding: 8px 0; border-top: 1px solid #dfdfd3; }
.ron-slip dt { color: var(--muted); font-size: .94rem; }
.ron-slip dd { font: 540 .9rem/1.5 var(--mono); }
.ron-cost-jump { display:block; max-width:50ch; margin-top:18px; padding-top:13px; border-top:1px solid var(--line); color:var(--teal); }
.ron-cost-jump strong { display:block; font:650 1.12rem/1.45 var(--ui); }
.ron-cost-jump span { display:block; font-size:.91rem; line-height:1.5; text-decoration:underline; text-underline-offset:.19em; }
.ron-slip dl > div:last-child { margin-top: 5px; border-top: 1px dashed #b7b59e; }
.ron-slip dl > div:last-child dd { color: #354f59; font: 650 1.25rem/1.4 var(--ui); }
@media (max-width: 720px) { .sj-journey article h3 { background: #223d50; } }
@media (max-width: 590px) {
  .ron-board { grid-template-columns: minmax(0,1fr); }
  .ron-worker { border-left: 0; border-top: 1px solid #829ba57a; }
  .ron-supervisor, .ron-worker { padding: 18px 12px; }
  .ron-dispatch { grid-template-columns: 1fr 1fr; }
  .ron-map { min-height: 145px; }
  .ron-slip dl > div { display: grid; justify-content: start; }
}
