/* Chaos Desk: a playable miniature workday. All art is lightweight HTML/CSS. */
.chaos-section { --desk-mint: #bcf7cf; --desk-paper: #f4ecdc; --desk-peach: #ffb796; --desk-blue: #bfc4ff; --desk-gold: #f5d486; }
.chaos-intro { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 40px; }
.chaos-intro h2 { font-size: clamp(2.5rem, 4.8vw, 4.25rem); line-height: 1.1; letter-spacing: -.055em; }
.chaos-intro h2 > span { color: var(--desk-peach); }
.chaos-intro .eyebrow { margin-bottom: 19px; }
.chaos-intro-aside { max-width: 350px; padding-bottom: 5px; }
.chaos-intro-aside p { color: var(--muted); font-size: .94rem; line-height: 1.85; margin-bottom: 13px; }
.chaos-intro-aside strong { color: var(--text); font-weight: 500; }
.chaos-duration { color: #a5b7ab; font-size: .66rem; }
.chaos-desk { border: 1px solid #3d4c4a; border-radius: 18px; overflow: hidden; background: #101b1c; box-shadow: 0 25px 80px -25px #0009; }
.chaos-desk button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chaos-desk button:disabled { cursor: default; }
.desk-topbar { display: flex; align-items: center; gap: 17px; min-height: 59px; padding: 13px 23px; background: #182525; border-bottom: 1px solid #354543; }
.desk-window-dots { display: flex; gap: 6px; }.desk-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #f2a68b; }.desk-window-dots i:nth-child(2) { background: #e4c476; }.desk-window-dots i:nth-child(3) { background: #9ac2a8; }
.desk-wordmark { display: flex; align-items: baseline; gap: 12px; color: #edf2dd; font: 600 .78rem var(--font-display); letter-spacing: .12em; }
.desk-wordmark > span { color: #9caeaa; font: 400 .6rem var(--font-body); letter-spacing: 0; }
.desk-status { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #c3d1c8; font-size: .65rem; }
.desk-status > i { width: 5px; height: 5px; border-radius: 50%; background: var(--desk-mint); }
.desk-quiet-button { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; border: 0; background: transparent; color: #b4c5bf; font-size: .64rem; padding: 3px 0 3px 16px; border-left: 1px solid #40514b; }
.desk-chapters { display: flex; justify-content: center; align-items: center; gap: 30px; padding: 13px 20px; background: #111d1e; border-bottom: 1px solid #33413e; color: #b9c7c4; font-size: .69rem; }
.desk-chapters b { margin-right: 7px; font-weight: 500; color: #d8eac7; font-size: .6rem; }.desk-chapters > i { font-style: normal; color: #51645c; }
.desk-game-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; }
.desk-board { min-width: 0; min-height: 560px; position: relative; isolation: isolate; overflow: hidden; background-color: #162e2d; background-image: radial-gradient(#59736749 1px,transparent 1px), radial-gradient(ellipse at 40% 35%, #2b514942, transparent 80%); background-size: 20px 20px, 100% 100%; }
.desk-board::after { content: "WORK IN PROGRESS / DO NOT SHAKE"; position: absolute; bottom: 7px; left: 26px; z-index: -1; font: 500 .45rem var(--font-display); letter-spacing: .15em; color: #8da99b66; }
.desk-board-note { position: absolute; top: 25px; left: 33px; display: flex; align-items: start; gap: 12px; color: #b7c5aa; font: italic .92rem/1.45 Georgia,serif; transform: rotate(-4deg); }
.desk-note-arrow { color: #dbe4c7; font: 2.5rem/1 Georgia,serif; }
.desk-board[data-mode="wiring"] .desk-board-note, .desk-board[data-mode="flow"] .desk-board-note, .desk-board[data-mode="complete"] .desk-board-note { display: none; }
.desk-coffee { position: absolute; top: 30px; right: 28px; display: flex; align-items: center; gap: 8px; transform: rotate(6deg); opacity: .7; }.desk-coffee > span { display: grid; place-items: center; width: 42px; height: 42px; border: 3px double #a9b69239; border-radius: 50%; font-size: 1.45rem; }.desk-coffee small { max-width: 70px; font: italic .59rem/1.4 Georgia,serif; color: #b0bea7; }
.desk-board[data-mode="wiring"] .desk-coffee, .desk-board[data-mode="flow"] .desk-coffee { opacity: .15; top: 290px; }
.desk-card-area { position: absolute; inset: 125px 26px 130px; z-index: 2; pointer-events: none; }
.desk-card { --card-rotate: -7deg; position: absolute; width: 29%; min-height: 148px; padding: 14px; display: flex; flex-direction: column; text-align: left; border: 1px solid #c5bb9b; border-radius: 3px 10px 8px 4px; background: var(--desk-paper); color: #2f3029; box-shadow: 0 9px 3px -5px #041b1b55, 0 16px 28px #041b1b30; transform: translate(var(--drag-x,0px),var(--drag-y,0px)) rotate(var(--card-rotate)); pointer-events: auto; touch-action: none; user-select: none; transition: box-shadow .2s, border-color .2s; }
.desk-card::before { content: ""; position: absolute; width: 45px; height: 11px; top: -6px; left: calc(50% - 22px); background: #e3cf986e; border-inline: 1px solid #b2a07233; transform: rotate(-5deg); }
.desk-card:nth-child(3n+1) { left: 4%; top: 12%; --card-rotate: -8deg; }
.desk-card:nth-child(3n+2) { left: 36%; top: 0; --card-rotate: 5deg; }
.desk-card:nth-child(3n) { right: 0; top: 31%; --card-rotate: -4deg; }
.desk-card .card-kind { display: inline-flex; align-self: flex-start; gap: 5px; padding: 3px 6px; border: 1px solid #9b99bf; border-radius: 4px; background: #d9d7ee; color: #45415f; font: 600 .5rem var(--font-display); letter-spacing: .07em; text-transform: uppercase; }
.desk-card[data-type="invoice"] .card-kind { background: #eedeac; border-color: #b8a263; color: #665726; }.desk-card[data-type="meeting"] .card-kind { background: #d5e9d5; border-color: #9fb59f; color: #3d5c45; }
.desk-card .card-title { display: block; margin: 12px 0 11px; font: 600 .9rem/1.3 var(--font-display); letter-spacing: -.035em; }
.desk-card .card-meta { display: block; margin-top: auto; padding-top: 8px; border-top: 1px dashed #c2baa5; color: #646258; font: 400 .61rem/1.45 var(--font-body); }
.desk-card:not(:disabled):hover { box-shadow: 0 12px 28px #021b1b80; border-color: #fff; }
.desk-card.is-selected { outline: 3px solid var(--desk-mint); outline-offset: 5px; z-index: 5; }
.desk-card.is-dragging { z-index: 10; transition: none; cursor: grabbing; box-shadow: 0 20px 30px #00191880; }
.desk-card.is-processing { box-shadow: 0 0 0 3px var(--desk-mint), 0 0 40px #b0ffc340; }
.desk-card.is-routing { z-index: 6; pointer-events: none; box-shadow: 0 0 0 3px var(--desk-mint), 0 0 40px #b0ffc340; animation: desk-route .48s cubic-bezier(.4,0,.25,1) both; }
.desk-tray.is-receiving { border-color: var(--desk-mint); box-shadow: 0 0 0 2px #baf7cc66, 0 0 28px #baf7cc33; }
.desk-source[data-connected="true"]::after { content: "✓"; font-size: .75rem; }
.desk-card.is-routed, .desk-card.is-exiting { opacity: 0; scale: .8; transition: opacity .3s, scale .3s; }
.desk-start-overlay { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding-bottom: 45px; background: linear-gradient(180deg,#0c252535,#0c25257a); }
.desk-start-note { position: relative; width: 310px; padding: 28px 29px 23px; background: #f4eedb; color: #2a382f; transform: rotate(-3deg); border-radius: 2px; box-shadow: 7px 7px 0 #bba98938, 0 25px 60px #051a1a80; text-align: left; }
.desk-start-note::before { content: ""; width: 76px; height: 20px; position: absolute; left: 112px; top: -10px; background: #d6be7fa6; transform: rotate(5deg); }
.desk-stamp { display: inline-block; padding: 3px 6px; border: 1px solid #b07155; color: #986748; font: 600 .52rem var(--font-display); letter-spacing: .12em; }
.desk-start-note h3 { font-size: 2rem; line-height: 1.1; margin: 17px 0 12px; letter-spacing: -.06em; }
.desk-start-note p { font-size: .75rem; line-height: 1.65; color: #5c665a; }
.desk-start { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 47px; border: 1px solid #234c3a; border-radius: 5px; padding: 9px 14px; background: #284e3d; color: #f6f4e2; box-shadow: 0 3px 0 #173124; font-size: .8rem; font-weight: 600; }
.desk-start:hover { background: #34634d; }.desk-start:active { translate: 0 2px; box-shadow: none; }.desk-start-note > small { display: block; margin-top: 12px; font-size: .59rem; color: #687061; text-align: center; }
.desk-wiring { position: absolute; z-index: 4; top: 19px; left: 26px; right: 26px; }.desk-wiring > p { margin: 0 0 12px; font-size: .64rem; color: #bad4c2; text-align: center; }
.desk-sources { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.desk-source { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; border: 1px solid #9292b6; border-radius: 6px; background: #2a3440; color: #d6d8ff; padding: 7px 9px; font-size: .7rem; touch-action: none; }
.desk-source[data-source="invoice"] { color: #ffe1a6; border-color: #96815b; background: #3a372a; }.desk-source[data-source="meeting"] { color: #c7f0d3; border-color: #7d9b85; background: #284338; }
.desk-port-icon { font-size: 1rem; }.desk-source i { position: absolute; left: calc(50% - 4px); bottom: -5px; width: 9px; height: 9px; background: currentColor; border: 2px solid #112d27; border-radius: 50%; box-shadow: 0 0 0 1px currentColor; }
.desk-source[aria-pressed="true"] { outline: 2px dashed var(--desk-mint); outline-offset: 4px; }.desk-source.is-connected::after { content: "✓"; font-size: .75rem; }
.desk-trays { position: absolute; z-index: 3; left: 26px; right: 26px; bottom: 29px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.desk-tray { position: relative; display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 91px; padding: 15px 8px 10px; color: #d6d8ff; background: linear-gradient(#424a5922,#404b5b88); border: 1px solid #8b94b091; border-top: 5px solid #8e99bb; border-radius: 5px 5px 14px 14px; box-shadow: inset 0 7px 14px #081a264d, 0 8px 0 -2px #10252b; transition: background .2s, border-color .2s, transform .2s; }
.desk-tray > span:nth-child(2) { display: flex; flex-direction: column; gap: 7px; text-align: left; }.desk-tray strong { font: 500 .84rem var(--font-display); letter-spacing: -.03em; }.desk-tray small { font-size: .56rem; color: #adbed0; }.tray-icon { font-size: 1.4rem; }
.desk-tray[data-target="accounts"] { color: #f4dfb0; background-color: #6a5a302b; border-color: #a18e6080; border-top-color: #baa572; }.desk-tray[data-target="accounts"] small { color: #c6bda8; }
.desk-tray[data-target="calendar"] { color: #caeacd; background-color: #3a6c493d; border-color: #8aaa8b80; border-top-color: #9bb898; }.desk-tray[data-target="calendar"] small { color: #b3c9b7; }
.desk-tray:not(:disabled):hover, .desk-tray.is-target { transform: translateY(-3px); border-color: #e7ffe6; background-color: #baf7cc20; box-shadow: 0 0 0 2px #baf7cc44; }
.tray-port { position: absolute; left: calc(50% - 4px); top: -8px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; border: 2px solid #16302d; box-shadow: 0 0 0 1px currentColor; }
.desk-wires { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.desk-wires path { fill: none; stroke: var(--desk-mint); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 9; opacity: .85; filter: drop-shadow(0 0 5px #baf7cc40); animation: desk-current 1.5s linear infinite; }
.desk-wires [data-wire="lead"] { stroke: var(--desk-blue); }.desk-wires [data-wire="invoice"] { stroke: var(--desk-gold); }.desk-wires [data-wire="meeting"] { stroke: var(--desk-mint); }
.desk-wires .wire-preview { stroke: #f6e9b9; stroke-width: 2; opacity: .8; }.desk-wires .wire-active { stroke-width: 5; opacity: 1; }
.desk-wires .desk-wire-preview { stroke: #f6e9b9; stroke-width: 2; opacity: .8; }
.desk-victory { display: none; position: absolute; z-index: 5; left: 50%; top: 48%; width: min(70%,290px); padding: 28px 25px; background: #d7edc2; color: #2c4232; box-shadow: 7px 8px 0 #63816a44, 0 25px 50px #051a1a66; transform: translate(-50%,-50%) rotate(-4deg); text-align: center; }
.desk-board[data-mode="complete"] .desk-victory { display: block; }
.desk-victory > span { display: inline-block; border: 2px solid #688364; border-radius: 4px; padding: 5px 9px; color: #4c734d; font: 600 .65rem var(--font-display); letter-spacing: .14em; transform: rotate(5deg); }
.desk-victory > strong { display: block; margin: 21px 0 12px; font: 500 2.4rem/1.1 var(--font-display); letter-spacing: -.06em; }
.desk-victory > small { font: italic .85rem/1.5 Georgia,serif; }
.desk-interruption { position: absolute; left: 24px; right: 24px; top: 84px; z-index: 6; max-width: 345px; display: flex; gap: 11px; align-items: center; padding: 12px 15px; border: 1px solid #bd8b66; border-radius: 8px; background: #3a2e20; color: #efc4a0; box-shadow: 0 10px 25px #0a1b1a50; }.desk-interruption > span:first-child { font-size: 1.3rem; }.desk-interruption > span:last-child { display: flex; flex-direction: column; font-size: .64rem; gap: 3px; }.desk-interruption strong { font-size: .8rem; font-weight: 500; }
.desk-sidebar { padding: 26px 23px 20px; border-left: 1px solid #374940; background: #122020; min-width: 0; }
.desk-shift-tag { font: 500 .5rem var(--font-display); letter-spacing: .14em; color: #98b1a3; }
.desk-score { display: flex; align-items: center; gap: 14px; margin: 12px 0 14px; }.desk-score > strong { color: #f4efd9; font: 500 4.5rem/.95 var(--font-display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }.desk-score > span { color: #c1cfbd; font-size: .84rem; line-height: 1.5; }.desk-score small { font-size: .58rem; color: #99aca2; }
.desk-instruction { min-height: 55px; color: #c3d2c9; font-size: .74rem; line-height: 1.7; }
.desk-score-lines { margin: 0 0 20px; border-top: 1px solid #35463e; padding-top: 14px; display: grid; gap: 9px; }.desk-score-lines > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .65rem; color: #a3b5ac; }.desk-score-lines strong { color: var(--desk-mint); font-weight: 500; font-variant-numeric: tabular-nums; }
.desk-build { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 7px; padding: 10px 12px; min-height: 46px; border: 1px solid #c7f3b6; border-radius: 6px; color: #20382a; background: #c8e8b7; box-shadow: 0 3px 0 #486a4c; font-size: .69rem; font-weight: 600; }.desk-build:disabled { color: #9caf9f; background: #2b3b30; border-color: #53674e; box-shadow: none; }.desk-build:not(:disabled):hover { background: #e4f8cf; }.desk-build > span:first-child { font-size: 1.4rem; line-height: 1; }
.desk-build-help { margin: 9px 0 17px; color: #91a499; font-size: .55rem; line-height: 1.6; }
.desk-selection { min-height: 31px; padding: 7px 9px; border: 1px dashed #4a5e4c; border-radius: 5px; color: #b6c7b7; font-size: .59rem; line-height: 1.5; }
.desk-feedback { margin: 12px 0 0; color: #d4e4c9; font-size: .65rem; line-height: 1.65; min-height: 42px; }
.desk-log { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; color: #90aa9a; font-size: .55rem; line-height: 1.5; }.desk-log li { padding-left: 10px; border-left: 2px solid #729579; }
.desk-completion { margin: 14px 0 0; padding: 16px 13px; background: #c5e6b6; border: 1px solid #d6f5c9; border-radius: 8px; color: #25432e; }.desk-completion > span { display: block; font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }.desk-completion > strong { font: 600 1.1rem/1.2 var(--font-display); letter-spacing: -.045em; }.desk-completion p { font-size: .67rem; line-height: 1.65; margin: 10px 0 12px; }.desk-completion a { font-size: .64rem; font-weight: 600; text-underline-offset: 3px; }
.desk-replay { display: block; min-height: 36px; padding: 7px 0; margin: 12px 0 0; border: 0; background: transparent; color: #b4c5b6; font-size: .64rem; }.desk-replay:hover { color: var(--desk-mint); }
.desk-bottom-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 13px 23px; border-top: 1px solid #374a40; background: #182722; color: #a7bcaa; font-size: .59rem; }.desk-bottom-bar > span:first-child { color: #c3d6b9; }.desk-bottom-bar > span:first-child > span { margin-right: 6px; font-size: .9rem; }.desk-nojs { margin: 0; padding: 14px 23px; color: var(--desk-peach); font-size: .8rem; }
.workflow-estimate { margin-top: 32px; padding: 32px 36px; border: 1px solid #303c42; border-radius: 17px; background: #0b1319; scroll-margin-top: 110px; }
.workflow-estimate-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }.workflow-estimate .eyebrow { margin-bottom: 12px; font-size: .6rem; }.workflow-estimate h3 { font-size: 1.5rem; letter-spacing: -.035em; }.workflow-estimate-top p:not(.eyebrow) { margin: 10px 0 0; color: #9eafb9; font-size: .75rem; }.estimate-source { flex: none; color: #a8baa9; font-size: .65rem; padding: 7px 11px; border: 1px dashed #3c5848; border-radius: 5px; }
.workflow-inputs { margin: 26px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr; gap: 16px; align-items: center; min-width: 0; }.workflow-inputs > label { min-width: 0; display: flex; flex-direction: column; gap: 8px; }.workflow-inputs label > span:first-child { color: #b8c5cc; font-size: .7rem; }.estimate-times { text-align: center; color: #6f8387; font-size: 1.2rem; padding-top: 23px; }
.number-well { display: flex; align-items: center; gap: 8px; min-height: 53px; padding: 8px 14px; border: 1px solid #3d4c50; border-radius: 7px; background: #142026; color: #d2dedb; }.number-well input { width: 100%; min-width: 0; padding: 0; background: transparent; color: #eff2e9; border: 0; font: 500 1.3rem var(--font-display); letter-spacing: -.04em; }.number-well small { flex: none; color: #a6b9b8; font-size: .65rem; }.number-well:focus-within { border-color: var(--desk-mint); }.number-well input:focus-visible { outline-offset: 4px; }
.estimate-validation { color: var(--desk-peach); font-size: .7rem; margin: 13px 0 0; }
.workflow-results { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 26px; padding-top: 25px; border-top: 1px solid #2f3c40; }.workflow-baseline, .workflow-whatif { min-width: 0; container-type: inline-size; }.workflow-baseline > span { color: #a2b1ba; font-size: .72rem; }.workflow-baseline > strong { display: block; color: var(--desk-peach); font: 500 clamp(1.7rem,10cqi,3rem)/1.15 var(--font-display); letter-spacing: -.06em; margin-top: 7px; }.workflow-baseline p, .workflow-whatif p { margin: 10px 0 0; color: #98aea5; font-size: .68rem; }.workflow-baseline b, .workflow-whatif b { font-weight: 500; color: #c1d1c8; }
.workflow-whatif { border-left: 1px solid #3a5044; padding-left: 32px; }.workflow-whatif > label { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: #b8c7bc; font-size: .7rem; }.reduction-well { display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; border: 1px solid #607b64; border-radius: 5px; color: var(--desk-mint); background: #213528; }.reduction-well input { width: 46px; padding: 0; border: 0; color: var(--desk-mint); background: none; font-size: .85rem; }.workflow-whatif > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 10px; }.workflow-whatif > div > strong { color: var(--desk-mint); font: 500 clamp(1.4rem,10cqi,2.3rem)/1.1 var(--font-display); letter-spacing: -.045em; }.workflow-whatif > div small { font: 400 .7rem var(--font-body); letter-spacing: 0; }.workflow-whatif > div > span { color: #a7bdad; font-size: .65rem; }
.workflow-estimate-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin: 27px 0 14px; }.estimate-copy { display: inline-flex; gap: 9px; align-items: center; min-height: 42px; padding: 5px 0; color: #b8c8bc; background: none; border: 0; font-size: .72rem; cursor: pointer; }.workflow-estimate-actions .button { font-size: .75rem; background: var(--desk-mint); color: #173123; box-shadow: none; }.workflow-estimate-actions .btn-icon { color: #d6ffe2; background: #264d36; }.workflow-estimate-actions [aria-disabled="true"] { opacity: .5; cursor: default; }
.workflow-assumptions { margin: 0; color: #91a59e; font-size: .61rem; line-height: 1.8; }.estimate-copy-status { color: var(--desk-mint); margin: 0 0 10px; font-size: .73rem; }.workflow-estimate textarea { width: 100%; min-height: 125px; margin-bottom: 14px; padding: 10px; background: #18281f; color: #dfebdc; border: 1px solid #769b7d; border-radius: 5px; font-size: .72rem; }
.chaos-desk[data-motion="paused"] *, .is-paused .chaos-desk * { animation-play-state: paused !important; }
@keyframes desk-current { to { stroke-dashoffset: -32; } }
@keyframes desk-route { 0% { transform: translate(0,0) rotate(var(--card-rotate)); opacity: 1; } 65% { opacity: 1; } 100% { transform: translate(var(--route-x),var(--route-y)) rotate(0deg) scale(.35); opacity: 0; } }
@media (max-width: 1100px) { .desk-game-layout { grid-template-columns: minmax(0,1fr) 235px; }.desk-sidebar { padding: 23px 18px; }.desk-card { padding: 12px; }.desk-card .card-title { font-size: .8rem; }.desk-tray { gap: 7px; }.desk-tray strong { font-size: .75rem; }.desk-tray small { font-size: .5rem; }.desk-tray .tray-icon { font-size: 1.15rem; }.desk-wordmark > span { display: none; } }
@media (max-width: 900px) { .chaos-intro { align-items: flex-start; flex-direction: column; gap: 22px; }.chaos-intro-aside { max-width: none; }.chaos-intro-aside p { margin-bottom: 10px; }.desk-game-layout { grid-template-columns: 1fr; }.desk-sidebar { border-left: 0; border-top: 1px solid #374940; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; padding: 22px 26px; }.desk-shift-tag { grid-column: 1; }.desk-score { grid-column: 1; grid-row: 2; margin: 0; }.desk-instruction { grid-column: 1; grid-row: 3; min-height: 0; margin: 0; }.desk-score-lines { grid-column: 2; grid-row: 1/3; margin: 0; border: 0; padding: 0; align-self: center; }.desk-build { grid-column: 2; grid-row: 3; align-self: center; }.desk-build-help { grid-column: 2; margin: 0; }.desk-selection { grid-column: 1; grid-row: 4; }.desk-feedback { grid-column: 1; min-height: 0; margin: 0; }.desk-log { grid-column: 2; grid-row: 5; margin: 0; }.desk-completion { grid-column: 1/-1; }.desk-replay { grid-column: 1/-1; margin: 0; }.workflow-estimate { padding: 27px; }.workflow-estimate-top { align-items: flex-start; flex-direction: column; gap: 15px; }.workflow-inputs { gap: 10px; }.number-well { padding-inline: 10px; }.workflow-whatif { padding-left: 24px; }.workflow-results { gap: 24px; } }
@media (max-width: 600px) {
  .chaos-section { padding-block: 60px; }.chaos-intro { margin-bottom: 28px; }.chaos-intro .eyebrow { font-size: .58rem; }.chaos-intro h2 { font-size: clamp(2.1rem,8vw,3rem); }.chaos-intro-aside p { font-size: .85rem; }.chaos-duration { font-size: .62rem; }.chaos-desk { border-radius: 13px; }
  .desk-topbar { gap: 11px; padding: 12px 15px; }.desk-window-dots { display: none; }.desk-wordmark { font-size: .68rem; }.desk-status { font-size: .56rem; }.desk-quiet-button { padding-left: 9px; font-size: .58rem; }.desk-chapters { gap: 11px; padding: 12px 10px; font-size: .53rem; }.desk-chapters b { display: block; font-size: .5rem; margin: 0 0 3px; }.desk-chapters > i { font-size: .65rem; }
  .desk-board { height: 600px; }.desk-board-note { top: 25px; left: 22px; font-size: .8rem; }.desk-coffee { top: 25px; right: 18px; }.desk-coffee > small { display: none; }.desk-coffee > span { width: 35px; height: 35px; font-size: 1.2rem; }
  .desk-card-area { inset: 135px 23px 137px; }.desk-card { width: 44%; min-height: 129px; padding: 11px; }.desk-card:nth-child(3n+1) { left: 1%; top: 0; --card-rotate: -5deg; }.desk-card:nth-child(3n+2) { left: auto; right: 1%; top: 12%; --card-rotate: 5deg; }.desk-card:nth-child(3n) { left: 24%; right: auto; top: 53%; --card-rotate: -4deg; }.desk-card .card-kind { font-size: .46rem; padding: 3px 5px; }.desk-card .card-title { font-size: .77rem; margin: 10px 0; }.desk-card .card-meta { font-size: .53rem; }
  .desk-start-overlay { padding: 0 24px 40px; }.desk-start-note { width: min(100%,300px); padding: 26px 22px 21px; }.desk-start-note::before { left: calc(50% - 38px); }.desk-start-note h3 { font-size: 1.9rem; }.desk-start-note p { font-size: .76rem; }.desk-start-note > small { font-size: .56rem; }
  .desk-wiring { top: 20px; left: 18px; right: 18px; }.desk-wiring > p { font-size: .59rem; margin-bottom: 13px; }.desk-sources { gap: 9px; }.desk-source { min-height: 51px; flex-direction: column; gap: 4px; font-size: .59rem; padding: 6px 4px; }.desk-port-icon { font-size: .9rem; }
  .desk-trays { left: 16px; right: 16px; bottom: 29px; gap: 9px; }.desk-tray { min-height: 94px; flex-direction: column; gap: 7px; padding: 10px 4px 8px; }.desk-tray > span:nth-child(2) { gap: 5px; text-align: center; }.desk-tray strong { font-size: .66rem; }.desk-tray small { font-size: .48rem; line-height: 1.4; }.tray-icon { font-size: 1.2rem; }
  .desk-interruption { left: 18px; right: 18px; top: 82px; max-width: none; padding: 9px 12px; }.desk-interruption strong { font-size: .71rem; }.desk-interruption > span:last-child { font-size: .59rem; }
  .desk-sidebar { grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 22px 19px; }.desk-shift-tag { font-size: .43rem; }.desk-score > strong { font-size: 3.6rem; }.desk-score { gap: 10px; }.desk-score > span { font-size: .74rem; }.desk-score small { font-size: .5rem; }.desk-instruction { font-size: .69rem; }.desk-score-lines > div { font-size: .59rem; gap: 8px; }.desk-build { font-size: .58rem; padding: 9px 8px; gap: 5px; min-height: 49px; }.desk-build > span:first-child { display: none; }.desk-build-help { font-size: .52rem; }.desk-selection { font-size: .55rem; align-self: start; }.desk-feedback { font-size: .61rem; }.desk-log { font-size: .51rem; }.desk-bottom-bar { padding: 13px 19px; font-size: .55rem; gap: 6px; }
  .workflow-estimate { padding: 24px 21px; margin-top: 24px; }.workflow-estimate h3 { font-size: 1.35rem; }.workflow-estimate-top p:not(.eyebrow) { font-size: .7rem; }.estimate-source { font-size: .59rem; }.workflow-inputs { grid-template-columns: 1fr; gap: 14px; margin-top: 21px; }.estimate-times { display: none; }.workflow-inputs > label { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; }.workflow-inputs label > span:first-child { max-width: 120px; font-size: .67rem; }.number-well { width: 136px; min-height: 48px; gap: 5px; flex: none; }.number-well input { font-size: 1.2rem; }.number-well small { font-size: .58rem; }.workflow-results { grid-template-columns: 1fr; gap: 21px; }.workflow-baseline > strong { font-size: clamp(1.7rem,11cqi,2.7rem); }.workflow-whatif { padding: 19px 0 0; border-left: 0; border-top: 1px solid #3a5044; }.workflow-estimate-actions { flex-direction: column-reverse; gap: 8px; align-items: stretch; margin-top: 23px; }.workflow-estimate-actions .button { font-size: .67rem; min-height: 46px; padding-inline: 12px; }.estimate-copy { justify-content: center; font-size: .67rem; }.workflow-assumptions { font-size: .58rem; }
}
@media (max-width: 360px) { .desk-status > i { display: none; }.desk-topbar { gap: 8px; }.desk-wordmark { font-size: .6rem; }.desk-status { font-size: .49rem; }.desk-quiet-button { font-size: .53rem; }.desk-card { width: 45%; padding: 10px; }.desk-card .card-title { font-size: .7rem; }.desk-card .card-meta { font-size: .49rem; }.desk-sidebar { padding-inline: 16px; gap: 13px; }.number-well { width: 124px; }.workflow-estimate { padding-inline: 18px; } }
@media (prefers-reduced-motion: reduce) { .chaos-desk *, .chaos-desk *::before, .chaos-desk *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .chaos-desk, .desk-card, .desk-source, .desk-tray, .desk-start, .desk-build { border: 1px solid CanvasText; }.desk-wires path { stroke: CanvasText; }.desk-card.is-selected { outline: 3px solid Highlight; } }
@media print { .chaos-desk { display: none; }.chaos-intro h2 { font-size: 2rem; }.workflow-estimate { color: #111; background: #fff; box-shadow: none; }.workflow-estimate-actions { display: none; }.number-well, .number-well input, .reduction-well, .reduction-well input { color: #111; background: #fff; } }

/* Automation-first edition: same playful desk, immediate payoff. */
.desk-v2 .desk-wordmark { letter-spacing:.09em; }.desk-v2 .desk-wordmark > span { font-size:.57rem; }
.desk-actionbar { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:22px 26px; background:linear-gradient(115deg,#1c3431,#142423); border-bottom:1px solid #45564b; }
.desk-actionbar > div:first-child { display:flex; flex-direction:column; gap:6px; }.desk-action-eyebrow { color:#a4bda4; font:500 .5rem var(--font-display); letter-spacing:.13em; }.desk-actionbar strong { font:500 .92rem/1.5 var(--font-display); color:#e1e9d9; letter-spacing:-.035em; }
.desk-action-buttons { display:flex; align-items:center; gap:18px; flex:none; }.desk-automate { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:48px; padding:11px 17px; background:#c6efba; border:1px solid #e0ffd4; border-radius:7px; box-shadow:0 3px 0 #59794d,0 0 25px #a4e58d17; color:#25482b; font-size:.8rem; font-weight:600; }.desk-automate > span:first-child { font-size:1.25rem; }.desk-automate:not(:disabled):hover { background:#e3f9d8; box-shadow:0 3px 0 #59794d,0 0 25px #a4e58d44; }.desk-automate:not(:disabled):active { translate:0 2px; box-shadow:none; }.desk-automate:disabled { opacity:.75; }.desk-manual { border:0; background:none; color:#b9c8bb; min-height:44px; padding:7px 0; font-size:.69rem; text-decoration:underline; text-underline-offset:4px; }.desk-manual:disabled { opacity:.5; }
.desk-v2 .desk-game-layout { grid-template-columns:minmax(0,1fr) 310px; }.desk-board-wrap { min-width:0; display:flex; flex-direction:column; }.desk-v2 .desk-board { flex:1; min-height:550px; }.desk-v2 .desk-wiring { top:24px; }.desk-v2 .desk-source { min-height:43px; cursor:default; touch-action:auto; }
.desk-v2 .desk-card-area { inset:173px 28px 152px; }.desk-v2 .desk-card { width:29%; min-height:153px; }.desk-v2 .desk-card:nth-child(3n+1) { left:3%; top:10%; }.desk-v2 .desk-card:nth-child(3n+2) { left:36%; top:0; }.desk-v2 .desk-card:nth-child(3n) { right:0; top:27%; }.desk-v2 .desk-card .card-title { font-size:.83rem; }
.desk-pipeline { position:absolute; top:90px; left:26px; right:26px; z-index:4; display:flex; gap:8px; align-items:center; justify-content:space-between; padding:12px 13px; border:1px solid #4a685555; border-radius:8px; color:#9eb7a7; background:#132d28e8; }
.desk-pipeline > span { font-size:.57rem; line-height:1.5; min-width:0; }.desk-pipeline b { font:500 .5rem var(--font-display); color:#779783; margin-right:4px; }.desk-pipeline > i { font-size:.7rem; font-style:normal; opacity:.55; }.desk-pipeline .is-active { color:#e5ffd4; text-shadow:0 0 12px #c3f8a855; }.desk-pipeline .is-active b { color:#d4f8ba; }
.desk-v2 .desk-trays { bottom:30px; }.desk-v2 .desk-tray { min-height:107px; }.desk-v2 .desk-tray > span:nth-child(2) { gap:5px; }.tray-count { color:inherit; font:500 1.05rem var(--font-display); letter-spacing:-.03em; }.tray-count::after { content:" ready"; font:400 .51rem var(--font-body); opacity:.8; }
.desk-v2 .desk-coffee { top:auto; bottom:157px; right:18px; opacity:.45; z-index:0; }.desk-v2 .desk-coffee small { max-width:53px; font-size:.55rem; }.desk-v2 .desk-coffee > span { width:33px; height:33px; font-size:1.15rem; }.desk-v2 .desk-board[data-mode="flow"] .desk-coffee { top:auto; bottom:157px; }
.desk-card .card-stage { margin-top:9px; display:block; color:#4c6953; font:600 .53rem/1.5 var(--font-display); letter-spacing:.02em; }.desk-card.is-reading { outline:3px solid #c6d3ff; outline-offset:4px; box-shadow:0 0 35px #bdccff35; }.desk-card.is-preparing { outline:3px solid #c9f5b7; outline-offset:4px; box-shadow:0 0 35px #bdffb135; }.desk-card.is-reading::after { content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; background:linear-gradient(180deg,transparent 0%,#ccdaff88 48%,transparent 52%); background-size:100% 200%; animation:desk-scan .45s ease-out both; }
@keyframes desk-scan { from { background-position:0 100%; } to { background-position:0 -100%; } }
.desk-v2 .desk-victory { top:48%; padding:23px 22px; width:min(69%,280px); }.desk-v2 .desk-victory > strong { font-size:2.2rem; }.desk-v2 .desk-victory > span { font-size:.56rem; }
.desk-play-tools { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:9px 14px; padding:14px 23px; background:#1b3029; border-top:1px solid #385547; }.desk-play-tools button { border:1px solid #749075; border-radius:5px; background:#2a4634; color:#d5eac5; padding:8px 11px; min-height:39px; font-size:.65rem; }.desk-play-tools button:first-child > span { font-size:.9rem; margin-right:4px; }.desk-play-tools button:nth-child(2) { border-color:transparent; background:transparent; color:#b9cbbb; }.desk-play-tools button:disabled { opacity:.4; }.desk-play-tools small { width:100%; color:#8ea995; font-size:.53rem; }
.desk-v2 .desk-sidebar { padding:25px 23px 18px; }.desk-live-label { display:flex; align-items:center; gap:7px; font:500 .47rem/1.5 var(--font-display); letter-spacing:.09em; color:#8fac9d; margin-bottom:17px; }.desk-live-label i { width:5px; height:5px; border-radius:50%; flex:none; background:#b8d5ac; }.desk-sidebar #deskPipelineTitle { font:500 1.17rem/1.3 var(--font-display); color:#e2eddc; letter-spacing:-.04em; margin:0 0 12px; }.desk-pipeline-detail { color:#a9beb2; font-size:.72rem; line-height:1.8; margin:0 0 19px; min-height:62px; }
.desk-v2 .desk-score-lines { margin:0 0 17px; padding-top:15px; gap:11px; }.desk-v2 .desk-score-lines > div { font-size:.64rem; }.desk-v2 .desk-score-lines strong { font-size:.9rem; }.desk-score-lines .desk-human-count strong { color:#f2ca94; }.desk-progress-line { display:flex; align-items:baseline; gap:8px; color:#a1b9a9; font-size:.62rem; margin-bottom:12px; }.desk-progress-line > strong { font:500 1.3rem var(--font-display); color:#dceacf; letter-spacing:-.045em; }.desk-v2 .desk-instruction { font-size:.63rem; min-height:0; margin:0 0 15px; color:#90ab9b; }
.desk-review { background:#3b3021; color:#f0d6ad; border:1px solid #ba9766; padding:16px 14px; border-radius:8px; margin:18px 0 17px; }.desk-review-tag { display:block; font:500 .46rem var(--font-display); letter-spacing:.12em; color:#e8b577; margin-bottom:10px; }.desk-review h4 { margin:0 0 10px; font:500 .99rem/1.35 var(--font-display); letter-spacing:-.035em; }.desk-review p { font-size:.68rem; line-height:1.7; color:#d3bd9b; margin:0 0 12px; }.desk-review-evidence { padding:10px; border:1px dashed #aa9876; border-radius:4px; background:#eee2c7; color:#685a41; display:flex; flex-direction:column; gap:4px; transform:rotate(-1deg); }.desk-review-evidence > span { font-size:.43rem; letter-spacing:.12em; }.desk-review-evidence > strong { font-size:.73rem; font-weight:600; }.desk-review-evidence > small { font-size:.55rem; color:#8b775a; }.desk-review button { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; padding:10px 11px; min-height:42px; margin-top:13px; border:1px solid #efdab9; border-radius:5px; background:#e6c99e; color:#4c3c26; font-size:.65rem; font-weight:600; }
.desk-v2 .desk-feedback { color:#b8d2b5; font-size:.62rem; min-height:0; margin:14px 0 0; }.desk-v2 .desk-log { font-size:.52rem; margin-top:12px; }.desk-v2 .desk-replay { font-size:.63rem; }.desk-v2 .desk-completion { margin-top:17px; }.desk-v2 .desk-completion > strong { font-size:1rem; }
.desk-comparison { display:grid; grid-template-columns:1.25fr .75fr .9fr 1fr; gap:25px; align-items:center; padding:24px 28px; background:#1b2b28; border-top:1px solid #4e6252; }.desk-compare-label { display:flex; flex-direction:column; gap:9px; }.desk-compare-label > span { font:500 .5rem var(--font-display); letter-spacing:.13em; color:#a2b8a2; }.desk-compare-label > strong { font:500 .94rem/1.5 var(--font-display); letter-spacing:-.035em; color:#d5e2ce; }.desk-comparison > div:not(:first-child) > span { display:block; font-size:.62rem; color:#a9bdaf; margin-bottom:7px; }.desk-comparison > div:not(:first-child) > strong { font:500 2.2rem/1.1 var(--font-display); letter-spacing:-.055em; color:#dbe4d4; font-variant-numeric:tabular-nums; }.desk-comparison small { font:400 .63rem var(--font-body); letter-spacing:0; }.desk-comparison .desk-time-back { border-left:1px solid #5e7159; padding-left:23px; }.desk-comparison .desk-time-back > strong { color:#c6f8b3 !important; }
.desk-example-note { padding:17px 28px 19px; background:#14231e; border-top:1px solid #324739; color:#93aa9c; }.desk-example-note details { font-size:.66rem; line-height:1.8; margin-bottom:10px; }.desk-example-note summary { color:#bdcfb7; cursor:pointer; width:fit-content; }.desk-example-note details p { color:#b4c5b4; margin:12px 0; white-space:pre-line; }.desk-example-note > p { margin:0; font-size:.57rem; line-height:1.7; }
@media(max-width:1100px) { .desk-v2 .desk-game-layout { grid-template-columns:minmax(0,1fr) 270px; }.desk-v2 .desk-sidebar { padding-inline:20px; }.desk-v2 .desk-card { width:30%; padding:11px; }.desk-v2 .desk-card .card-title { font-size:.76rem; }.desk-actionbar { padding:20px 23px; gap:18px; }.desk-actionbar strong { font-size:.8rem; }.desk-action-buttons { gap:14px; }.desk-automate { font-size:.71rem; gap:9px; }.desk-pipeline { padding:10px; gap:5px; }.desk-pipeline > span { font-size:.51rem; }.desk-pipeline b { display:block; }.desk-comparison { gap:20px; } }
@media(max-width:900px) { .desk-v2 .desk-game-layout { grid-template-columns:1fr; }.desk-v2 .desk-board { min-height:560px; }.desk-v2 .desk-sidebar { display:grid; grid-template-columns:1fr 1fr; gap:0 26px; padding:24px; }.desk-live-label { grid-column:1; margin-bottom:12px; }.desk-sidebar #deskPipelineTitle { grid-column:1; }.desk-pipeline-detail { grid-column:1; min-height:0; }.desk-v2 .desk-score-lines { grid-column:2; grid-row:1/4; align-self:center; border:0; padding:0; margin:0; }.desk-progress-line { grid-column:2; grid-row:4; }.desk-v2 .desk-instruction { grid-column:1; grid-row:4; }.desk-v2 .desk-review { grid-column:1/-1; grid-row:5; }.desk-v2 .desk-completion { grid-column:1/-1; grid-row:6; }.desk-v2 .desk-feedback { grid-column:1/-1; grid-row:7; }.desk-v2 .desk-log { grid-column:1; grid-row:8; }.desk-v2 .desk-replay { grid-column:2; grid-row:8; text-align:right; align-self:end; }.desk-actionbar > div:first-child { max-width:260px; }.desk-action-buttons { flex-direction:column; gap:4px; }.desk-manual { min-height:28px; font-size:.65rem; }.desk-automate { font-size:.77rem; }.desk-v2 .desk-pipeline { justify-content:center; gap:20px; }.desk-pipeline > span { font-size:.65rem; }.desk-pipeline b { display:inline; }.desk-v2 .desk-card { padding:14px; }.desk-v2 .desk-card .card-title { font-size:.9rem; }.desk-comparison { grid-template-columns:1fr 1fr 1fr; }.desk-compare-label { grid-column:1/-1; }.desk-compare-label > strong { font-size:.91rem; }.desk-review-evidence { max-width:300px; }.desk-review button { max-width:300px; } }
@media(max-width:600px) { .desk-v2 .desk-wordmark { font-size:.64rem; }.desk-v2 .desk-status { font-size:.53rem; max-width:91px; }.desk-actionbar { display:block; padding:21px 19px 16px; }.desk-actionbar > div:first-child { max-width:none; }.desk-actionbar strong { font-size:.8rem; }.desk-action-eyebrow { font-size:.47rem; }.desk-action-buttons { display:grid; grid-template-columns:1fr; gap:7px; margin-top:16px; }.desk-automate { min-height:48px; font-size:.8rem; }.desk-manual { font-size:.67rem; padding-block:7px; }.desk-v2 .desk-board { height:auto; min-height:600px; }.desk-v2 .desk-wiring { top:21px; left:19px; right:19px; }.desk-v2 .desk-source { min-height:49px; }.desk-v2 .desk-pipeline { top:89px; left:16px; right:16px; gap:8px; padding:10px; }.desk-pipeline > span { font-size:.52rem; }.desk-pipeline b { display:block; }.desk-pipeline > i { font-size:.6rem; }.desk-v2 .desk-card-area { inset:171px 23px 153px; }.desk-v2 .desk-card { width:44%; min-height:128px; padding:11px; }.desk-v2 .desk-card:nth-child(3n+1) { left:1%; top:0; }.desk-v2 .desk-card:nth-child(3n+2) { left:auto; right:1%; top:13%; }.desk-v2 .desk-card:nth-child(3n) { left:25%; right:auto; top:55%; }.desk-v2 .desk-card .card-title { font-size:.75rem; }.desk-card .card-stage { font-size:.47rem; margin-top:7px; }.desk-v2 .desk-tray { min-height:102px; }.desk-v2 .desk-trays { bottom:25px; }.desk-v2 .desk-tray small { font-size:.46rem; }.tray-count { font-size:.89rem; }.tray-count::after { font-size:.44rem; }.desk-v2 .desk-coffee { display:none; }.desk-v2 .desk-victory { top:50%; width:69%; padding:22px 18px; }.desk-v2 .desk-victory > strong { font-size:1.8rem; }.desk-v2 .desk-victory > span { font-size:.43rem; }.desk-v2 .desk-victory > small { font-size:.72rem; }.desk-play-tools { padding:14px 17px; gap:9px; }.desk-play-tools button { font-size:.6rem; padding:8px 9px; }.desk-play-tools small { font-size:.51rem; }.desk-v2 .desk-sidebar { padding:23px 19px; gap:0 18px; }.desk-live-label { grid-column:1/-1; font-size:.45rem; }.desk-sidebar #deskPipelineTitle { grid-column:1/-1; font-size:1.14rem; }.desk-pipeline-detail { grid-column:1/-1; font-size:.72rem; margin-bottom:17px; }.desk-v2 .desk-score-lines { grid-column:1/-1; grid-row:auto; border-top:1px solid #35533e; padding-top:15px; margin-bottom:16px; }.desk-v2 .desk-score-lines > div { font-size:.68rem; }.desk-progress-line { grid-column:1/-1; grid-row:auto; }.desk-v2 .desk-instruction { grid-column:1/-1; grid-row:auto; font-size:.64rem; }.desk-v2 .desk-review,.desk-v2 .desk-completion,.desk-v2 .desk-feedback { grid-column:1/-1; grid-row:auto; }.desk-v2 .desk-log { grid-column:1; grid-row:auto; }.desk-v2 .desk-replay { grid-column:2; grid-row:auto; }.desk-review { margin-top:4px; padding:16px; }.desk-review-tag { font-size:.48rem; }.desk-review h4 { font-size:1rem; }.desk-review p { font-size:.72rem; }.desk-review-evidence > strong { font-size:.8rem; }.desk-review-evidence > small { font-size:.61rem; }.desk-review button { font-size:.71rem; }.desk-comparison { padding:22px 19px; gap:20px 13px; }.desk-comparison > div:not(:first-child) > span { font-size:.56rem; min-height:29px; }.desk-comparison > div:not(:first-child) > strong { font-size:1.9rem; }.desk-comparison .desk-time-back { padding-left:13px; }.desk-comparison small { font-size:.58rem; }.desk-example-note { padding:17px 19px; }.desk-example-note details { font-size:.65rem; }.desk-example-note > p { font-size:.56rem; } }
@media(prefers-reduced-motion:reduce) { .desk-v2 *, .desk-v2 *::before, .desk-v2 *::after { animation:none !important; transition:none !important; } }
.desk-v2 .desk-board { scroll-margin-top:90px; }
.desk-v2 .desk-source[data-connected="true"]::after { position:absolute; top:5px; right:7px; font-size:.65rem; }
.desk-v2 .desk-review { scroll-margin-top:100px; }
.desk-inline-review { position:absolute; z-index:5; top:50%; left:50%; width:min(68%,310px); transform:translate(-50%,-50%) rotate(-2deg); padding:24px; border:1px solid #e5d295; border-radius:3px; background:#f3e5b8; color:#3d3825; box-shadow:0 12px 28px #0003; }
.desk-inline-review[hidden] { display:none; }
.desk-inline-review > span { display:block; margin-bottom:12px; color:#766336; font-size:.5rem; font-weight:600; letter-spacing:.1em; }
.desk-inline-review > strong { font:500 2rem/1.05 var(--font-display); letter-spacing:-.05em; }
.desk-inline-review > p { margin:12px 0; font-size:.72rem; line-height:1.5; }
.desk-inline-review > a { display:inline-flex; align-items:center; min-height:40px; font-size:.73rem; font-weight:600; text-underline-offset:4px; }
@media(max-width:600px) { .desk-inline-review { width:72%; padding:20px; }.desk-inline-review > strong { font-size:1.7rem; }.desk-inline-review > p { font-size:.68rem; }.desk-v2 .desk-card:nth-child(3n) { top:48%; } }

/* Play with the workflow: tangible lane controls and a paper-detail view. */
.desk-v2 .desk-board { min-height:600px; }
.desk-v2 .desk-source { min-height:65px; touch-action:manipulation; transition:background .2s, border-color .2s, transform .2s; }
.desk-v2 .desk-source:not(:disabled) { cursor:pointer; }
.desk-v2 .desk-source:not(:disabled):hover { transform:translateY(-2px); filter:brightness(1.15); }
.desk-v2 .desk-source:disabled { opacity:.8; }
.desk-v2 .desk-source[aria-pressed="true"] { outline:none; }
.desk-v2 .desk-source:focus-visible { outline:3px solid #f4efc7; outline-offset:4px; }
.desk-source-copy { display:flex; flex-direction:column; gap:5px; text-align:left; }
.desk-source-copy > small { font-size:.6rem; font-weight:400; opacity:.8; }
.desk-v2[data-automation="true"] .desk-source[data-connected="false"] { background:#28302e; border-style:dashed; color:#bec9bd; }
.desk-v2[data-automation="true"] .desk-source[data-connected="false"]::after { content:"Ⅱ"; position:absolute; top:7px; right:7px; font-size:.65rem; color:#f6d59a; }
.desk-v2 .desk-pipeline { top:111px; }
.desk-v2 .desk-card-area { top:195px; }
.desk-v2 .desk-card:not(:disabled):hover { box-shadow:0 9px 24px #0004,0 0 0 2px #e7f7cf; }
.desk-v2 .desk-board[data-mode="idle"] .desk-card { touch-action:manipulation; }
.desk-v2 .desk-board[data-mode="flow"] .desk-card:not(.is-selected) { touch-action:pan-y; }
.desk-play-tools #deskSurprise { background:#d5c3ed; border-color:#e3d7f3; color:#332642; font-weight:600; }
.desk-play-tools #deskSurprise:not(:disabled):hover { background:#e9dcf9; }
.desk-play-tools #deskFinish { border-color:transparent; background:transparent; color:#b9cbbb; }
.desk-burst-note { flex-basis:100%; margin:3px 0 0; padding:10px 12px; border-left:2px solid #d5c3ed; border-radius:0 5px 5px 0; background:#34403b; color:#e9dff5; font-size:.67rem; line-height:1.5; }
.desk-burst-note[hidden] { display:none; }
.desk-inspector { box-sizing:border-box; width:min(620px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); margin:auto; padding:27px; border:1px solid #e4dfc9; border-radius:13px; background:#f1ecd9; color:#293c31; box-shadow:0 24px 90px #0007; font-family:var(--font-body); }
.desk-inspector[hidden] { display:none; }
.desk-inspector::backdrop { background:#06110ddd; backdrop-filter:blur(6px); }
.desk-inspect-top { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.desk-inspect-top > span { color:#68715c; font-size:.57rem; letter-spacing:.1em; font-weight:600; }
.desk-inspect-top > button { display:grid; place-items:center; flex:none; width:42px; height:42px; border:1px solid #adb59d; border-radius:50%; color:#304635; background:transparent; font:400 1.6rem/1 var(--font-body); }
.desk-inspector h3 { margin:16px 0 24px; font:500 2rem/1.1 var(--font-display); letter-spacing:-.045em; }
.desk-inspect-columns { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.desk-inspect-columns > section { padding:18px; border:1px solid #d5cdb2; border-radius:6px; background:#faf7e9; }
.desk-inspect-columns > section:last-child { background:#d8e8c8; border-color:#b7cba6; }
.desk-inspect-columns section > span { font-size:.51rem; font-weight:600; letter-spacing:.07em; color:#667159; }
.desk-inspect-columns p { white-space:pre-line; margin:13px 0 0; font-size:.78rem; line-height:1.65; }
.desk-inspect-steps { margin:19px 0; color:#56664d; font-size:.74rem; line-height:1.7; white-space:pre-line; }
.desk-inspect-bottom { display:flex; flex-wrap:wrap; align-items:center; gap:13px; border-top:1px solid #cecbb5; padding-top:18px; }
.desk-inspect-bottom button { min-height:44px; border:0; padding:11px 15px; border-radius:6px; background:#254a34; color:#eff7e4; font-size:.74rem; }
.desk-inspect-bottom button:disabled { opacity:.5; }
.desk-inspect-bottom small { color:#697361; font-size:.6rem; }
.desk-inspector button:focus-visible { outline:3px solid #386e4b; outline-offset:4px; }
@media(max-width:600px) { .desk-v2 .desk-board { min-height:640px; }.desk-v2 .desk-source { min-height:70px; padding:8px 3px; gap:5px; }.desk-source-copy { text-align:center; gap:4px; font-size:.57rem; }.desk-source-copy > small { font-size:.42rem; }.desk-v2 .desk-pipeline { top:112px; }.desk-v2 .desk-card-area { top:194px; }.desk-play-tools { justify-content:flex-start; }.desk-play-tools button { min-height:44px; }.desk-play-tools #deskFinish { margin-left:auto; }.desk-inspector { padding:20px; }.desk-inspector h3 { font-size:1.6rem; margin:15px 0 20px; }.desk-inspect-columns { grid-template-columns:1fr; gap:11px; }.desk-inspect-columns > section { padding:14px; }.desk-inspect-columns p { font-size:.77rem; }.desk-inspect-bottom { display:grid; }.desk-inspect-bottom button { width:100%; } }
@media(prefers-reduced-motion:reduce) { .desk-v2 .desk-source { transition:none; }.desk-v2 .desk-source:hover { transform:none; } }
@media(max-width:600px) { .desk-v2 .desk-source { min-height:76px; }.desk-source-copy { font-size:.68rem; }.desk-source-copy > small { font-size:.57rem; } }
