/* A self-contained learning surface, only loaded for the detention guide. */
.insightArticle--detention .pageHero::before { background:linear-gradient(90deg,rgba(25,37,46,.9),rgba(25,37,46,.78) 65%,rgba(25,37,46,.68)),var(--page-hero) center/cover no-repeat; filter:none; }
.publicSite .insightArticle--detention .pageHero p { color:#edf2f5; }
.detentionLab { --dt-ink:#273640; --dt-red:#c92929; --dt-muted:#5b6972; color:var(--dt-ink); }
.detentionLab *, .dtNext *, .dtLearnNext * { box-sizing:border-box; }
.detentionLab [hidden] { display:none !important; }
.detentionLab button { cursor:pointer; font:600 12px/1.5 Inter,sans-serif; min-height:44px; color:var(--dt-ink); }
.detentionLab button:focus-visible, .detentionLab input:focus-visible, .dtNext a:focus-visible, .dtLearnNext a:focus-visible { outline:3px solid #bd2929; outline-offset:4px; }
.dtIntro { padding:26px 28px 20px; display:flex; align-items:flex-start; gap:28px; justify-content:space-between; }
.dtIntro p { max-width:710px; margin:0; font-size:15px; line-height:1.8; }
.dtBadge { background:#e8ecef; color:#51616d; border:1px solid #ccd5da; padding:9px 12px; font:600 10px/1.6 Inter,sans-serif; letter-spacing:.1em; max-width:180px; flex-shrink:0; }
.dtBoundary { margin:0 28px 26px; padding:15px 18px; border-left:3px solid #899ca9; background:#fff; font-size:12px; line-height:1.8; color:var(--dt-muted); }
.dtBoundary strong { color:var(--dt-ink); }
.dtControls { margin:0 28px; display:flex; align-items:center; gap:16px; justify-content:space-between; }
.dtStops { display:flex; gap:6px; }
.dtStops button { display:flex; align-items:center; gap:12px; border:1px solid #cbd3d8; border-bottom:0; background:#e9edf0; padding:14px 19px; text-align:left; }
.dtStops button[aria-pressed=true] { background:#273640; border-color:#273640; color:#fff; }
.dtStopNumber { font:500 26px/1 'Roboto Condensed',sans-serif; opacity:.65; }
.dtStops strong, .dtStops small { display:block; }
.dtStops strong { font-size:14px; }
.dtStops small { font-size:10px; font-weight:400; opacity:.85; margin-top:2px; }
.dtPlayback { display:flex; gap:7px; flex-wrap:wrap; }
.dtPlayback button { border:1px solid #cbd3d8; background:white; padding:9px 13px; font-size:11px; }
.dtPlayback button:hover { border-color:var(--dt-red); }
.dtPlayback button[aria-pressed=true] { color:#ac2020; border-color:#c92929; }
.dtStage { margin:0 28px; color:white; background:radial-gradient(ellipse at 20% 20%,#354954,#202d35 76%); border-top:3px solid #627d8d; }
.dtStageTop { display:flex; justify-content:space-between; gap:14px; padding:18px 22px 0; color:#c2d0d9; font:10px/1.6 monospace; letter-spacing:.06em; }
.dtSceneGrid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(210px,.8fr); align-items:center; padding:10px 22px 25px; gap:18px; }
.dtScene { min-width:0; }
.dtScene svg { display:block; width:100%; }
.dtWarehouse { fill:#ffffff05; stroke:#8196a3; stroke-width:1.4; stroke-linejoin:round; }
.dtDoor { fill:#14232c; stroke:#617987; }
.dtDock { fill:#18252d; }
.dtTruckBody, .dtTrailerBody { fill:#e3e9ed; stroke:#9cadb7; stroke-width:1.3; stroke-linejoin:round; }
.dtWindow { fill:#728e9e; }
.dtRibs { fill:none; stroke:#a7b9c4; stroke-width:.9; }
.dtChassis { fill:none; stroke:#cad5dc; stroke-width:3; }
.dtWheels { fill:#18252d; stroke:#adbec8; stroke-width:2; }
.dtHubs { fill:#bdcbd3; }
.dtGround { stroke:#7b929f; stroke-width:1.2; }
.dtGroundMark { stroke:#4e6674; stroke-width:2; }
.dtDockClock { fill:#253b49; stroke:#b5c5cf; stroke-width:1.5; }
.dtDockClock path { fill:none; stroke:#ffabab; stroke-width:2; transition:transform .35s ease; }
.dtSignal { fill:#ff8d85; }
.dtSignalHalo { fill:none; stroke:#ff8d8580; }
.dtPlaying .dtSignalHalo { animation:dtPulse 2s ease-out infinite; }
.dtSceneCaption { margin:0; font-size:11px; line-height:1.65; color:#c2cfd8; max-width:540px; }
.dtResult { padding:0 0 0 26px; border-left:1px solid #536671; }
.dtResultLabel { font-size:12px; color:#ced8de; display:block; }
.dtResult strong { display:block; font:600 clamp(28px,3.8vw,50px)/1.2 'Roboto Condensed',sans-serif; color:#ff9a94; margin:10px 0; font-variant-numeric:tabular-nums; }
.dtResultTag { font-size:10px; color:#ffd4d1; background:#b8343428; border:1px solid #ad6363; padding:5px 8px; display:inline-block; }
.dtResult p { font:12px/1.7 monospace; color:#e4eaee; margin:16px 0 8px; }
.dtResult small { display:block; color:#c2ced6; font-size:10px; line-height:1.8; }
.dtStage[data-state=clear] .dtResult strong { color:#e0ebf1; }
.dtStage[data-state=clear] .dtResultTag { background:#aabfcd12; border-color:#8dabbc; color:#dce7ef; }
.dtStage[data-state=clear] .dtSignal { fill:#acccd8; }
.dtTimeline { padding:20px 25px 23px; border-top:1px solid #485c68; background:#14232a45; }
.dtTimelineCaption { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:17px; }
.dtTimelineCaption>span { font:10px/1.5 monospace; color:#bccbd5; letter-spacing:.05em; }
.dtTimelineCaption strong { font:500 20px/1 'Roboto Condensed',sans-serif; white-space:nowrap; }
.dtRail { height:22px; position:relative; background:#415663; border:1px solid #627985; }
.dtAllowance { position:absolute; inset:0 auto 0 0; background:#b2c5d0; }
.dtOvertime { position:absolute; top:0; bottom:0; background:repeating-linear-gradient(135deg,#ce4f4f 0,#ce4f4f 7px,#b73f3f 7px,#b73f3f 9px); }
.dtNow { position:absolute; top:-6px; bottom:-6px; width:2px; background:#fff; transform:translateX(-1px); }
.dtNow::before { content:''; width:8px; height:8px; position:absolute; top:-3px; left:-3px; background:white; transform:rotate(45deg); }
.dtThreshold { position:absolute; top:-4px; bottom:-4px; width:1px; background:#ffb2ac; }
.dtAllowance,.dtOvertime,.dtNow,.dtThreshold { transition:width .3s,left .3s; }
.dtAxis { display:flex; justify-content:space-between; color:#b9cbd5; font:10px/1.5 monospace; margin-top:12px; }
.dtLegend { display:flex; flex-wrap:wrap; gap:10px 25px; margin-top:17px; font-size:10px; color:#e0e8ed; }
.dtSwatch { display:inline-block; width:10px; height:10px; margin-right:5px; }
.dtSwatch--included { background:#b2c5d0; }
.dtSwatch--extra { background:#ce4f4f; }
.dtAdjust { margin:0 28px; display:grid; grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr); background:white; border:1px solid #cbd3d8; border-top:0; }
.dtAdjust>div, .dtAdjust fieldset { min-width:0; padding:22px; }
.dtAdjust fieldset { border:0; border-left:1px solid #dbe1e5; margin:0; }
.dtAdjust legend { float:left; width:100%; padding:0; margin-bottom:12px; }
.dtAdjust label, .dtAdjust legend { font-size:12px; font-weight:600; }
.dtAdjust p { color:var(--dt-muted); font-size:10px; line-height:1.7; margin:10px 0 0; clear:both; }
.dtRangeLine { display:flex; align-items:center; gap:10px; margin-top:12px; }
.dtRangeLine span { white-space:nowrap; color:var(--dt-muted); font:10px monospace; }
.dtRangeLine input { accent-color:var(--dt-red); padding:0; height:44px; min-width:0; width:100%; cursor:ew-resize; }
.dtFreeChoices { display:flex; gap:6px; clear:both; }
.dtFreeChoices button { min-width:52px; border:1px solid #bcc9d2; background:#f4f6f7; padding:8px 15px; }
.dtFreeChoices button[aria-pressed=true] { background:#273640; border-color:#273640; color:white; }
.dtStory { padding:30px 28px 0; }
.dtSectionLabel { display:flex; gap:12px; align-items:center; margin-bottom:18px; }
.dtSectionLabel>span { font:500 21px/1 'Roboto Condensed',sans-serif; color:#b62929; border-right:1px solid #cdd6dc; padding-right:12px; }
.publicSite .dtSectionLabel h3 { font-size:clamp(21px,2.5vw,27px); margin:0; }
.dtScenarios { display:flex; flex-wrap:wrap; gap:7px; }
.dtScenarios button { padding:10px 13px; background:#fff; border:1px solid #cbd3d8; }
.dtScenarios button:hover { border-color:#c92929; }
.dtScenarios button[aria-pressed=true] { color:#a61e1e; border-color:#c92929; background:#fff4f3; }
.dtStoryAnswer { margin-top:13px; padding:20px 22px; background:white; border:1px solid #cbd3d8; border-left:3px solid #c92929; }
.publicSite .dtStoryAnswer h4 { font-size:20px; margin:0 0 8px; }
.dtStoryAnswer p { font-size:13px; line-height:1.8; color:var(--dt-muted); margin:0; max-width:890px; }
.dtReceipt { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:22px 28px 0; background:#edf1f3; border:1px solid #d1d9de; }
.dtReceipt>div { padding:16px 19px; border-right:1px solid #d1d9de; }
.dtReceipt>div:last-child { border:0; }
.dtReceipt dt { font-size:10px; line-height:1.5; color:#526571; }
.dtReceipt dd { margin:8px 0 0; color:#253b49; font:500 25px/1.2 'Roboto Condensed',sans-serif; }
.dtVisit { font-size:11px; color:var(--dt-muted); margin:12px 28px 0; line-height:1.75; }
.dtLive { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.dtTwoStops { padding:28px; }
.dtStopSummary { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dtStopSummary>div { background:white; border:1px solid #cbd3d8; padding:20px; }
.dtStopSummary span { display:block; color:#607480; font:600 10px/1.6 Inter,sans-serif; letter-spacing:.07em; }
.dtStopSummary strong { display:block; font:600 30px/1.3 'Roboto Condensed',sans-serif; color:#a92727; margin:8px 0 3px; }
.dtStopSummary small { font-size:11px; color:var(--dt-muted); }
.dtTwoStops>p { color:var(--dt-muted); font-size:12px; line-height:1.8; margin:15px 0 0; max-width:900px; }
.insightTool .dtAssumptions { padding:0 28px 26px; }
.dtAssumptions summary { color:#506673; text-decoration:underline; text-underline-offset:4px; }
.dtNext { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); background:linear-gradient(120deg,#eef1f3,#fafbfb); border:1px solid #cbd3d8; border-top:3px solid #c92929; margin:15px 0 28px; }
.dtNextIntro { padding:38px; }
.publicSite .dtNextIntro h2 { font-size:clamp(32px,4vw,46px); margin:15px 0; line-height:1.15; }
.dtNextIntro>p:last-child { color:#536570; font-size:14px; line-height:1.85; }
.dtBrief { padding:32px; background:white; border-left:1px solid #d5dde1; }
.publicSite .dtBrief h3 { font-size:23px; margin:0 0 20px; }
.dtBrief ul { padding:0; list-style:none; margin:0 0 25px; }
.dtBrief li { position:relative; padding:0 0 12px 20px; font-size:12px; line-height:1.7; color:#51616d; }
.dtBrief li::before { content:''; position:absolute; left:0; top:6px; width:7px; height:7px; border:1px solid #b83232; }
.dtBrief .btn { font-size:12px; }
.dtBrief .textLink { display:block; width:fit-content; margin:18px 0; font-size:12px; }
.dtBrief small { display:block; font-size:10px; color:#64717a; line-height:1.6; }
.dtLearnNext { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:35px; }
.dtLearnNext a { display:block; position:relative; padding:20px 45px 20px 22px; border:1px solid #cbd3d8; text-decoration:none; color:#2b3c47; background:white; }
.dtLearnNext a:hover { border-color:#c92929; }
.dtLearnNext span { display:block; color:#8c2929; font-size:10px; letter-spacing:.08em; margin-bottom:8px; }
.dtLearnNext strong { font-size:14px; line-height:1.7; }
.dtLearnNext b { position:absolute; right:20px; top:40%; color:#c92929; }
@keyframes dtPulse { from { opacity:.8; } to { opacity:.1; } }
@media(max-width:1000px) { .dtControls { align-items:flex-start; flex-direction:column; gap:12px; } .dtPlayback { order:-1; } .dtSceneGrid { grid-template-columns:minmax(0,1.3fr) minmax(180px,1fr); } }
@media(max-width:650px) {
  .dtIntro { flex-direction:column; padding:20px 16px; gap:12px; }
  .dtBadge { max-width:none; font-size:9px; padding:6px 9px; }
  .dtBoundary { margin:0 12px 20px; padding:13px; }
  .dtControls,.dtStage,.dtAdjust { margin-left:12px; margin-right:12px; }
  .dtStops { width:100%; }
  .dtStops button { flex:1; min-width:0; padding:12px 9px; gap:9px; }
  .dtStopNumber { font-size:21px; }
  .dtStops strong { font-size:12px; }
  .dtStops small { font-size:9px; }
  .dtPlayback button { font-size:10px; padding:8px 10px; }
  .dtStageTop { padding:14px 13px 0; flex-direction:column; gap:3px; font-size:9px; }
  .dtSceneGrid { display:block; padding:8px 13px 20px; }
  .dtSceneCaption { font-size:10px; }
  .dtResult { border:0; border-top:1px solid #4c626f; margin-top:16px; padding:18px 0 0; }
  .dtResult strong { font-size:40px; }
  .dtResult p { margin-top:12px; }
  .dtTimeline { padding:18px 14px; }
  .dtTimelineCaption>span { max-width:145px; }
  .dtAdjust { display:block; }
  .dtAdjust>div,.dtAdjust fieldset { padding:18px 15px; }
  .dtAdjust fieldset { border-left:0; border-top:1px solid #dbe1e5; }
  .dtStory { padding:24px 12px 0; }
  .dtScenarios button { flex:1 1 40%; font-size:11px; }
  .dtStoryAnswer { padding:17px 15px; }
  .dtReceipt { margin:18px 12px 0; grid-template-columns:1fr 1fr; }
  .dtReceipt>div { padding:14px; border-bottom:1px solid #d1d9de; }
  .dtReceipt>div:nth-child(even) { border-right:0; }
  .dtVisit { margin:12px 14px 0; }
  .dtTwoStops { padding:24px 12px; }
  .dtStopSummary { gap:8px; }
  .dtStopSummary>div { padding:14px 11px; }
  .dtStopSummary strong { font-size:24px; }
  .insightTool .dtAssumptions { padding:0 16px 24px; }
  .dtNext { grid-template-columns:1fr; }
  .dtNextIntro,.dtBrief { padding:23px; }
  .dtBrief { border-left:0; border-top:1px solid #d5dde1; }
  .dtLearnNext { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .detentionLab *, .detentionLab *::before { animation:none !important; transition:none !important; } }
@media print { .dtControls,.dtAdjust,.dtScenarios,.dtBrief .btn,.dtBrief .textLink,.dtLearnNext { display:none !important; } .dtNext { display:block; } .dtResult strong { color:#111; } .detentionLab { break-inside:auto; } }
