
/* Lotto Lab desktop extension of the supplied DESIGN.md.
 * Source roles: #3182f6 / #191f28 / #4e5968 / #f2f4f6 / #e5e8eb.
 * Desktop layout, 3D art, chart geometry and motion are local extensions, NOT TDS tokens. */
:root{--bg:#f4f5f8;--paper:#fff;--surface:#fff;--ink:#191f28;--muted:#687382;--line:#e5e8eb;--blue:#3182f6;--soft-blue:#e8f3ff;--radius:16px;--appbar-height:54px;--red:#d73548;--gold:#926619;--silver:#3265b4;--bronze:#956145}
body.desk{font-size:13px;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;letter-spacing:-.15px}
.desk h1{font-size:17px;font-weight:700;letter-spacing:-.4px}.desk h2{font-size:14px}.desk h3{font-size:13px}.micro,.subtle,.desk small{font-size:11px;color:var(--muted)}
.desk .appbar{height:54px;min-height:54px;padding:0 16px;gap:22px;border-bottom:1px solid #e9ebef;background:#f4f5f8;position:sticky;top:0;z-index:30}
.desk .brand{gap:9px;flex:none}.desk .brand-text{font-size:21px;letter-spacing:-.8px;font-weight:800}.desk .brand-text b{color:#191f28}.edition-label{padding-left:9px;border-left:1px solid #dce0e5;font-size:11px;color:#687382}
.lab-mark{width:29px;height:29px;position:relative;display:block;flex:none}.lab-mark i{position:absolute;display:block;width:21px;height:21px;border-radius:50%;background:radial-gradient(circle at 28% 22%,#a5d6ff,#3182f6 53%,#1b64da)}.lab-mark i:first-child{left:0;top:6px}.lab-mark i:nth-child(2){width:14px;height:14px;left:14px;top:0;background:radial-gradient(circle at 30% 20%,#daebff,#87bafe 65%,#4c96ff)}.lab-mark i:last-child{width:10px;height:10px;left:18px;top:18px;background:radial-gradient(circle at 28% 22%,#d4e9ff,#83b7fc 65%,#4b90ea)}
.desk .sidebar-toggle{height:30px;min-height:30px;background:none;border:0;padding:3px;color:#7a8492}.sidebar-toggle svg{width:21px;height:21px;display:block}.desk #sidebarToggleText{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.desk-nav{display:flex;align-self:stretch;gap:20px;align-items:stretch;white-space:nowrap}.desk-nav-item{border:0;background:none;padding:0 2px;color:#788392;font-size:13px;font-weight:500;position:relative}.desk-nav-item:hover{color:#3182f6}.desk-nav-item.active{color:#191f28;font-weight:650}.desk-nav-item.active:after{content:'';position:absolute;height:2px;background:#191f28;border-radius:2px;bottom:0;left:0;right:0}
.desk .header-actions{margin-left:auto;gap:5px;flex:none}.header-actions svg{width:17px;height:17px;display:block}.desk .quick-search{background:#e9ecf1;color:#788392;min-width:135px;justify-content:flex-start;font-weight:400;border-color:transparent}.quick-search kbd{margin-left:auto;background:#dde2e9;border-radius:4px;font:11px var(--font-ui);padding:0 4px}.desk .header-update{background:#fff;border:1px solid #dfe4ea;border-radius:9px;padding:6px 9px;max-width:205px;font-weight:600}
.desk .header-update[data-state=available]{background:#3182f6;color:#fff;border-color:#3182f6}.desk .header-update[data-state=available] .new-version-dot{background:#fff}.desk .connection{font-size:11px;margin:0 4px}.desk .header-actions .button.quiet{padding:5px 7px}.motion-toggle{gap:4px}.motion-toggle[aria-pressed=false]{color:#687382}.motion-toggle span{font-size:11px}
.desk .shell{max-width:none;padding:0 12px 6px}.desk .page-heading{min-height:48px;margin:0;padding:8px 4px;gap:12px;align-items:center}.instrument-heading{display:flex;align-items:center;gap:8px;min-width:0}.instrument-dot{width:8px;height:8px;border-radius:50%;background:#3182f6}.instrument-label{font-size:11px;color:#687382;margin-left:4px}.instrument-meta{display:flex;align-items:center;gap:12px;min-width:0}.source-badge{font-size:11px;color:#687382}.instrument-meta #deskUpdated{font-size:11px;color:#687382;white-space:nowrap}
.desk .workspace{grid-template-columns:318px minmax(0,1fr);gap:10px;align-items:start}.desk .workspace.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.desk .sidebar{gap:8px;position:sticky;top:62px;max-height:calc(100dvh - 78px);padding:0 2px 12px 0;scroll-padding-top:12px;scrollbar-gutter:auto;scrollbar-width:thin}.desk .results{gap:10px}.desk .panel{border:1px solid #e5e8eb;border-radius:16px;box-shadow:none;background:#fff}.desk .sidebar .run-panel{position:relative;top:auto;z-index:auto;padding:12px 12px 10px;border-color:#e5e8eb;box-shadow:none;min-height:0}
.desk .run-top{max-width:100%;gap:6px}.desk .run-label{gap:6px}.desk .run-label h2{font-size:13px}.desk .run-mode{font-size:11px}.desk .badge{border-radius:5px;padding:3px 6px;background:#e8f3ff;color:#1b64da;font-size:11px;font-weight:550}.desk .badge.neutral{background:#f2f4f6;color:#6b7684}.desk .run-dot{height:6px;width:6px}.desk .run-dot.active{background:#3182f6;box-shadow:0 0 0 3px #e8f3ff}.desk .run-dot.stopping{background:#d89428}.desk .run-count-row{max-width:100%;margin-top:8px}.desk .sidebar #runCount strong{font-size:29px;font-weight:700;letter-spacing:-1px}.desk #runCount>span{font-size:11px}.desk #runRate{font-size:11px}.desk #currentRound{font-size:11px;line-height:1.4}.desk progress{height:3px;margin-top:9px}.desk .current-formula{margin-top:8px;padding:8px 9px;border:0;border-radius:9px;background:#f2f6fc}.desk .current-formula-top{margin-bottom:2px}.desk .current-formula-name{font-size:13px;font-weight:650;line-height:1.45}.desk .current-formula-info{font-size:11px}.desk .current-formula[data-state=generating]{border:0;background:#e8f3ff}.desk .run-actions{gap:6px;padding-top:8px}.desk .run-actions .button{height:34px;min-height:34px;border-radius:8px}.desk #controlHint{font-size:11px;line-height:1.4}.desk .button{min-height:32px;border-radius:8px;font-size:12px;font-weight:600;transition:background-color .14s,color .14s,transform .14s}.desk .button.primary{background:#3182f6;color:#fff;border-color:transparent}.desk .button.primary:hover:not(:disabled){background:#2272eb}.desk .button.secondary{background:#f2f4f6;color:#4e5968;border-color:transparent}.desk .button.secondary:hover:not(:disabled){background:#e9edf2}.desk .button.danger{background:#fff0f1;color:#d73548;border:0}.desk .button.danger:hover:not(:disabled){background:#ffe1e5}.desk .button.quiet{color:#687382}.desk .button.small{min-height:28px;font-size:11px;padding:4px 7px}.desk button:disabled{opacity:.42}.desk input,.desk select{border:1px solid #e1e5eb;min-height:32px;border-radius:8px;font-size:12px;background:#fff;color:#4e5968;padding:5px 8px}
.desk .panel-heading{padding:10px 12px;font-size:13px;min-height:39px}.desk .section-heading{padding:12px 14px 9px;gap:8px;margin:0}.desk .section-heading .micro{margin-top:3px}.desk .records-panel .section-heading h2{font-size:16px;font-weight:700;letter-spacing:-.4px}.desk .records-panel{overflow:hidden}.desk .live-badge{background:#e8f3ff;color:#1b64da;font-size:11px;border:0;border-radius:5px;padding:3px 5px;vertical-align:middle}.desk .live-badge:before{width:5px;height:5px;background:#3182f6}.desk .live-badge.paused{background:#f2f4f6;color:#6b7684}.desk .live-badge.paused:before{background:#8b95a1}.desk .follow-control{font-size:11px;gap:5px;color:#6b7684}.desk .follow-control input{width:14px;height:14px;accent-color:#3182f6;min-height:0}
.prize-ribbon{display:grid;grid-template-columns:1.25fr repeat(5,1fr);padding:0 10px 8px;gap:5px}.prize-quote{display:flex;flex-direction:column;text-align:left;border:1px solid transparent;border-radius:10px;background:#f8f9fb;padding:7px 10px;color:#6b7684;min-width:0;transition:background .14s,border-color .14s}.prize-quote>span:first-child{font-size:11px;font-weight:500}.prize-quote>strong{font-size:20px;color:#333d4b;font-weight:650;line-height:1.45;letter-spacing:-.55px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.prize-quote>strong>small{font-weight:400;color:#687382;margin-left:3px;font-size:11px;letter-spacing:0}.prize-quote .quote-rule,.prize-quote>small{color:#687382;font-size:11px}.prize-quote.active{border-color:#bed9fc;background:#f0f7ff}.prize-quote.active>span:first-child,.prize-quote.active>strong{color:#1b64da}.prize-quote:hover{background:#eaf3ff}.prize-quote:active{transform:translateY(1px)}.prize-quote[data-prize-pick="1"]>strong{color:#936300}.prize-quote[data-prize-pick="2"]>strong{color:#3265b4}.prize-quote[data-prize-pick="3"]>strong{color:#926142}.prize-quote[data-prize-pick="4"]>strong{color:#147b62}.prize-quote[data-prize-pick="5"]>strong{color:#d74d65}
.desk .table-filters{padding:7px 12px 9px;gap:6px;border-top:1px solid #f0f2f5}.desk .record-filters input,.desk .record-filters select{background:#f4f5f8;border-color:transparent;min-height:30px;font-size:11px;border-radius:7px}.desk .record-filters #recordMethod{flex:1 1 150px;max-width:210px}.desk .record-filters #recordRound{width:88px;flex:none}.desk .record-filters #recordMatches{max-width:111px}.desk .record-filters #recordSort{max-width:150px}.desk .record-filters .button{min-height:30px;font-size:11px}
.desk .records-scroll{height:clamp(255px,calc(100dvh - 492px),590px);max-height:none;scrollbar-width:thin}.desk .records-table{min-width:800px;width:100%;table-layout:auto}.desk th{font-size:11px;font-weight:500;background:#fff;color:#687382;border-bottom:1px solid #e5e8eb;padding:4px 9px}.desk .sort-header{font-size:11px;font-weight:500;min-height:29px;color:#7b8592;gap:3px}.desk .sort-header:hover{color:#3182f6}.desk th[aria-sort] .sort-header{color:#4e5968;font-weight:650}.desk .sort-arrow{font-size:11px}.desk td{padding:9px 9px;border-bottom:1px solid #eef0f3;background:#fff;font-size:12px}.desk .records-table td{height:55px;vertical-align:middle}.desk .records-table td:nth-child(1){width:79px}.desk .records-table td:nth-child(2){width:83px}.desk .records-table td:nth-child(3){min-width:157px}.desk .record-round{font-size:12px;font-weight:550}.desk .record-time,.desk .record-cutoff,.desk .record-version{font-size:11px;color:#687382;line-height:1.5}.desk .record-open{font-size:12px;color:#4e5968;font-weight:500;min-height:23px}.desk .record-method{display:flex;align-items:center;gap:7px;min-width:0}.desk .record-name{font-size:13px;font-weight:550;max-width:170px;white-space:normal;overflow-wrap:anywhere;color:#333d4b;line-height:1.4}.desk .record-version{margin-left:30px}.formula-avatar{display:inline-flex;justify-content:center;align-items:center;border-radius:9px;width:24px;height:24px;flex:none;background:#3182f6;color:white;font-size:12px;font-weight:700;letter-spacing:-.3px}.formula-avatar[data-family=F]{background:#ec576c}.formula-avatar[data-family=E]{background:#18a78d}.formula-avatar[data-family=B]{background:#8269ce}.formula-avatar[data-family=P]{background:#2289ab}.formula-avatar[data-family=M]{background:#c28c46}.formula-avatar[data-family=R]{background:#426ac7}
.desk .balls{gap:4px;flex-wrap:nowrap;padding:3px 1px}.desk .ball{width:23px;height:23px;font-size:11px;font-weight:600;box-shadow:none;flex-shrink:0}.desk .ball:not(.matched):not(.bonus-matched):not(.draw-reference){background:#fff;color:#626e7c;border-color:#e5e8eb}.desk .ball-plus{color:#687382;font-size:11px}.desk .result-badge{font-size:11px;border-radius:5px;padding:3px 6px;font-weight:500;background:#f2f4f6;color:#6b7684}.desk .grade-1{background:#fff3d4;color:#875c08;font-weight:700}.desk .grade-2{background:#e8f3ff;color:#3265b4;font-weight:650}.desk .grade-3{background:#f9ede3;color:#935329;font-weight:650}.desk .grade-4{background:#e7f6f0;color:#177d5c;font-weight:650}.desk .grade-5{background:#fff0f3;color:#b74359;font-weight:650}.desk .result-small{font-size:11px;color:#687382}.desk #recordsBody>tr:hover>td{background:#f9fafc}.desk #recordsBody>tr:focus-within>td{background:#f0f7ff}.desk .record-footer{border-top:1px solid #e5e8eb;background:#fff;min-height:41px;padding:6px 12px}.desk .record-footer .button{font-size:11px}.desk .record-footer>span{font-size:11px}
.desk .live-panel{border-radius:16px}.desk .live-scroll{max-height:158px;min-height:0}.desk .live-table{min-width:620px}.desk .live-table td{padding:5px 10px;height:43px}.desk .live-table .live-name{font-size:12px;font-weight:550}.desk .live-draw-line{padding:0 12px 7px}.desk .live-activity-bar{background:#f8fafd;border:0;padding:5px 12px;min-height:30px}.desk .live-sort-tools{padding:2px 12px}.desk .live-sort-tools .button{min-height:25px}.desk .live-table tr[aria-current=step]>td{background:#edf5ff}.desk .method-now{font-size:11px;color:#1b64da}.desk .live-status{font-size:11px}.desk .table-note{padding:6px 12px;font-size:11px;color:#687382}.desk .attempt-history{margin:0 12px 8px}.desk .attempt-history summary{font-size:11px;color:#687382}.desk .runs-panel{background:transparent;border:0}
.desk .sidebar-comparison{gap:8px}.desk .sidebar .experiment-bar{padding:2px 4px;gap:5px}.desk .sidebar .experiment-bar>label{font-size:12px;font-weight:650}.desk .sidebar .experiment-bar>select{background:#fff}.desk .sidebar .metrics{gap:0;border:1px solid #e5e8eb;border-radius:14px;overflow:hidden;background:#fff;padding:3px 4px}.desk .sidebar .metric{border:0;border-radius:0;padding:7px 8px;background:transparent}.desk .sidebar .metric:nth-child(odd){border-right:1px solid #f0f2f5}.desk .sidebar .metric:nth-child(-n+2){border-bottom:1px solid #f0f2f5}.desk .sidebar .metric>strong{font-size:20px;font-weight:650;margin:1px 0;line-height:1.35}.desk .sidebar .metric p{font-size:11px;color:#687382}.desk .sidebar .metric small{display:none}.desk .sidebar .metric>strong>span{font-size:11px;color:#687382;margin-left:2px}
.desk .sidebar .research-heading{padding:10px 11px 5px;gap:5px}.desk .sidebar .research-heading h2{font-size:14px}.desk #researchExpand{background:#f2f4f6;border-radius:6px;color:#4e5968}.desk .sidebar #exportResearch{font-size:11px;padding:4px 6px}.desk .sidebar #researchStamp{font-size:11px;color:#687382}.desk .sidebar .research-brief{padding:6px 11px;gap:0}.desk .sidebar .research-brief>div{padding:7px 0;border-color:#eef0f3}.desk .sidebar .research-brief strong{font-weight:600;font-size:13px;color:#333d4b;line-height:1.45}.desk .sidebar #researchLeader{color:#1b64da}.desk .sidebar #researchGuidance{font-size:11px}.desk .research-audit{background:#fafbfc}.desk .sidebar .ranking-panel .section-heading{padding:10px 10px 7px}.desk .sidebar .rank-filters{padding:6px 10px 8px;gap:4px}.desk .sidebar .rank-filters input,.desk .sidebar .rank-filters select{background:#f4f5f8;border-color:transparent}.desk .sidebar .ranking-table td{padding:7px 5px}.desk .sidebar .ranking-table th{padding:4px 5px}.desk .sidebar .ranking-table th:first-child{width:42%}.desk .sidebar .ranking-table .method-name{font-size:12px;font-weight:550}.desk .sidebar .ranking-table .method-meta{font-size:11px;color:#687382}.desk .sidebar .rank-number{font-size:12px;font-weight:650}.desk .sidebar .detail-button{background:#f2f4f6;color:#687382;border-radius:6px;min-width:20px;min-height:25px;font-size:15px}.desk .sidebar .prize-count{font-size:11px}.desk .sidebar .ranking-scroll{max-height:340px}.desk .baseline-row td{background:#fff}
.desk .settings-body{padding:0 11px 8px}.desk .settings-body legend{color:#6b7684;font-weight:500;font-size:12px}.desk .segmented{padding:3px;background:#f2f4f6;border-radius:9px}.desk .segmented span{box-shadow:none;min-height:29px;font-size:12px;font-weight:550}.desk .segmented input:checked+span{background:#fff;color:#191f28;box-shadow:none;border-radius:7px}.desk .source-provenance{display:flex;align-items:center;gap:8px;padding-top:10px}.desk .source-provenance img{object-fit:contain;max-width:75px;height:auto}.desk .data-body{padding:0 11px 11px}.desk .research-warning{padding:0 5px;font-size:11px}
/* Approved 3D-rendered images: reserved geometry, no graphics above records. */
.lab-scene{display:inline-flex;position:relative;flex:none;width:22px;height:22px;pointer-events:none;contain:layout paint;isolation:isolate}
.scene-artwork{display:block;width:22px;height:22px;object-fit:contain}
.lab-mark .asset-brand{display:block;width:30px;height:30px;object-fit:contain}
.asset-heading{display:flex;align-items:center;gap:5px}
.asset-heading img{width:22px;height:22px;flex:none;object-fit:contain}
.update-art{display:inline-flex;width:42px;height:42px;flex:none;align-items:center;justify-content:center}
.update-art img{width:42px;height:42px;object-fit:contain}
.desk .records-scroll{container-type:inline-size}
.desk .desk-empty{width:calc(100cqw - 24px);max-width:100%;padding:14px 10px;gap:5px}
.asset-empty{display:block;width:44px;height:44px;object-fit:contain}
.desk-chart{padding:10px 11px 8px;border-top:1px solid #f0f2f5;border-bottom:1px solid #f0f2f5;margin-top:4px;background:#fff}.chart-heading{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:6px}.chart-heading h3{font-size:12px;font-weight:600}.chart-heading span{font-size:11px;color:#687382}.desk #chartMethod{width:100%;font-size:12px;border:0;background:#f4f5f8;min-height:30px;font-weight:550}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:7px 0 5px}.chart-tabs{display:flex;align-items:center;background:#f2f4f6;border-radius:7px;padding:2px}.chart-tabs button{border:0;border-radius:5px;background:none;color:#687382;font-size:11px;padding:4px 6px;min-height:26px}.chart-tabs button[aria-pressed=true]{background:#fff;color:#333d4b;font-weight:600}.desk #chartWindow{font-size:11px;max-width:99px;min-height:28px;border:0;padding:3px 1px;background:#fff;color:#687382}.chart-value{display:flex;align-items:baseline;gap:7px;min-height:28px}.chart-value strong{font-size:24px;font-weight:650;color:#191f28;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.chart-value>span{font-size:11px;color:#687382}.chart-value>span[data-sign=positive]{color:#d94958}.chart-value>span[data-sign=negative]{color:#3182f6}.chart-stage{position:relative;width:100%;height:auto;aspect-ratio:320/150;margin-top:2px;cursor:crosshair;outline-offset:0}.chart-stage:focus-visible{outline:2px solid #3182f6;border-radius:6px}.chart-stage svg{display:block;width:100%;height:100%;overflow:visible}.chart-stage .chart-axis{font-family:var(--font-ui);fill:#687382}.chart-grid{fill:none;stroke:#f0f2f5;stroke-width:1}.chart-formula{fill:none;stroke:#3182f6;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart-baseline{fill:none;stroke:#b7c0cd;stroke-width:1.5;stroke-dasharray:3 3}.chart-last{fill:#3182f6;stroke:#fff;stroke-width:2}.chart-selected{fill:#3182f6;stroke:#fff;stroke-width:2}.chart-cross{fill:none;stroke:#9fb4cd;stroke-width:1;stroke-dasharray:3 3}.chart-bar.main{fill:#73aafa}.chart-bar.base{fill:#dce2eb}.chart-bar-selected{fill:#3182f6;fill-opacity:.06;stroke:#9fc7fc;stroke-width:1}.chart-empty{position:absolute;inset:0;display:grid;place-content:center;text-align:center;font-size:12px;color:#687382;line-height:1.7;background:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,#f5f6f8 36px,transparent 37px)}.chart-legend{display:flex;gap:13px;align-items:center;justify-content:center;margin:0 0 7px;font-size:11px;color:#687382}.chart-legend span:before{display:inline-block;content:'';width:12px;height:2px;margin-right:4px;vertical-align:middle;background:#3182f6}.chart-legend .legend-baseline:before{background:repeating-linear-gradient(90deg,#b7c0cd 0,#b7c0cd 3px,transparent 3px,transparent 5px)}.chart-readout{min-height:31px;background:#f8f9fb;border-radius:6px;padding:5px 6px;font-size:11px;line-height:1.45;margin-bottom:5px}.desk #chartDescription{font-size:11px;line-height:1.5;color:#687382}.desk .chart-records{margin-top:3px;padding-left:0;color:#3182f6;font-size:11px}
.desk .desk-footer{min-height:29px;padding:5px 2px;font-size:11px;border:0;gap:10px;flex-wrap:wrap;color:#687382}.desk .desk-footer>span{font-size:11px}.desk-footer #deskTicker{margin-left:auto;color:#6b7684}.footer-pulse:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#8b95a1;margin-right:5px;vertical-align:middle}.footer-pulse[data-active=true]:before{background:#3182f6}.desk .collapsed-run{background:#fff;border-radius:10px;margin:0 0 8px;padding:7px 11px}.desk .notice{border-radius:10px;font-size:12px;margin-bottom:8px}.desk-empty{display:grid;justify-items:center;gap:7px;text-align:center;padding:24px 12px}.desk-empty strong{font-size:15px;color:#333d4b;font-weight:600}.desk-empty p{font-size:12px;color:#687382;line-height:1.7}.desk-empty .button{margin-top:5px}.desk .dialog-heading{padding:16px 18px;background:#fff}.desk .dialog-heading h2{font-size:19px}.desk dialog{border:1px solid #e5e8eb;border-radius:18px;box-shadow:none}.desk dialog::backdrop{background:#191f2866}.desk .dialog-body,.desk .update-body{padding:15px 18px}.desk .dialog-body p{color:#4e5968;font-size:13px}.desk .update-overview{background:#f2f7ff;border:0;border-radius:12px;padding:14px}.desk .dialog-footer{padding:12px 18px}.desk .update-versions>div{border:0;background:#f5f6f8;border-radius:10px;padding:12px}.desk .research-dialog{border-radius:16px;max-width:1320px}.desk .toast{box-shadow:none;border-radius:12px;border-color:#dce4f0;padding:10px 12px}.desk .research-dialog .research-table td{font-size:12px}.desk .research-dialog .research-table th{font-size:11px}.desk .research-dialog .research-table th:first-child,.desk .research-dialog .research-table td:first-child{background:#fff}.desk .research-dialog .research-scroll{min-height:140px}
/* Local micro-interaction timing, not a claim about official Toss timing. */
@keyframes asset-pulse{0%,100%{opacity:1}50%{opacity:.7}}
.lab-scene[data-moving=true] .scene-artwork{animation:asset-pulse 2.4s ease-in-out infinite}
@keyframes desk-change{0%{background:#dcedff}100%{background:transparent}}.quote-change{animation:desk-change .7s ease-out}@keyframes desk-breathe{0%,100%{opacity:1}50%{opacity:.45}}body[data-running=true][data-motion=on] .footer-pulse:before,body[data-running=true][data-motion=on] .run-dot.active{animation:desk-breathe 1.9s ease-in-out infinite}.desk .new-record>td{animation:lab-new-record .7s ease-out}
body[data-motion=off] *,body[data-motion=off] *:before,body[data-motion=off] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(min-width:1800px){.desk .workspace{grid-template-columns:342px minmax(0,1fr)}.desk .records-scroll{height:clamp(340px,calc(100dvh - 474px),700px)}.desk .records-table td{height:58px}}
@media(max-width:1220px){.desk .edition-label{display:none}.desk .appbar{gap:15px}.desk-nav{gap:14px}.desk .quick-search{min-width:32px;padding:6px}.quick-search>span,.quick-search>kbd{display:none}.desk .workspace{grid-template-columns:300px minmax(0,1fr)}.desk .instrument-label{display:none}.desk .header-update{max-width:175px}.desk .records-table{min-width:775px}.desk .prize-quote{padding:6px 7px}.prize-quote>strong{font-size:18px}.desk .record-filters #recordMethod{max-width:190px;min-width:140px}.desk .record-filters{flex-wrap:wrap}.desk .record-filters #recordSort{max-width:144px}}
@media(max-width:980px){.desk .desk-nav{gap:10px}.desk .brand-text{font-size:19px}.desk .header-actions .motion-toggle span{display:none}.desk .appbar{gap:9px;padding:0 11px}.desk .header-update{max-width:152px}.desk .header-actions #helpButton,.desk .header-actions #exitButton{font-size:11px;padding:5px}.desk .instrument-meta{gap:6px}.desk #deskUpdated{display:none}.desk .workspace{grid-template-columns:278px minmax(0,1fr)}.desk .prize-ribbon{gap:3px;padding:0 7px 6px}.prize-quote>strong{font-size:17px}.prize-quote .quote-rule{display:none}.prize-quote>small{display:none}.desk .quoteAll{font-size:16px}}
@media(max-width:820px){.desk .workspace{grid-template-columns:minmax(0,1fr)}.desk .sidebar{position:static;max-height:none;order:1;padding:0;grid-template-columns:1fr 1fr;align-items:start}.desk .sidebar .sidebar-comparison{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.desk .sidebar .sidebar-comparison>.experiment-bar,.desk .sidebar .sidebar-comparison>.metrics{grid-column:1/-1}.desk .sidebar .sidebar-comparison>.ranking-panel{grid-column:2;grid-row:3}.desk .sidebar .sidebar-comparison>.research-panel{grid-column:1;grid-row:3}.desk .results{order:-1}.desk .desk-nav{display:none}.desk .edition-label{display:inline}.desk .records-scroll{height:clamp(250px,48dvh,550px);max-height:none}.desk .source-badge{max-width:none}.desk .prize-quote .quote-rule{display:block}.desk .sidebar .run-panel{grid-column:1/-1}.desk .sidebar .run-top{max-width:100%}.desk .sidebar .run-count-row{max-width:100%}.desk .sidebar .metrics{grid-template-columns:repeat(4,1fr)}.desk .sidebar .metric:nth-child(-n+2){border-bottom:0}.desk .sidebar .metric:not(:last-child){border-right:1px solid #f0f2f5}.desk .sidebar .run-actions{grid-template-columns:1fr 1fr}.desk .sidebar .research-warning{grid-column:1/-1}.desk .live-scroll{max-height:158px}.desk .live-table{min-width:580px}}
@media(max-width:650px){:root{--appbar-height:88px}.desk .appbar{height:auto;min-height:88px;display:flex;flex-wrap:wrap;gap:3px;padding:6px 10px}.desk .header-actions{width:100%;justify-content:flex-end;gap:4px}.desk .header-update{margin-right:auto;max-width:230px;order:-1}.desk .header-actions .quick-search{order:0}.desk .motion-toggle{padding:5px}.desk .header-actions #helpButton{font-size:11px}.desk .brand{height:31px}.desk .brand-text{font-size:20px}.desk .edition-label{font-size:11px}.desk .page-heading{min-height:51px;align-items:flex-start;gap:4px;flex-direction:column;padding:7px 2px}.desk .page-heading h1{font-size:15px}.desk .source-badge{font-size:11px;text-align:left}.desk .shell{padding:0 7px 5px}.desk .panel{border-radius:13px}.desk .section-heading{padding:10px 10px 7px}.desk .records-panel .section-heading h2{font-size:15px}.desk .section-heading>.follow-control{font-size:11px}.desk .records-panel .section-heading .micro{font-size:11px}.desk .prize-ribbon{grid-template-columns:repeat(3,1fr);gap:4px;padding:0 8px 8px}.desk .prize-quote{padding:5px 7px}.desk .prize-quote>strong{font-size:18px}.desk .prize-quote .quote-rule{display:none}.desk .table-filters{padding:6px 8px 8px;gap:5px}.desk .record-filters #recordMethod{max-width:none;min-width:0;width:calc(100% - 100px);flex:1 1 160px}.desk .record-filters #recordRound{width:90px}.desk .record-filters #recordPrize,.desk .record-filters #recordMatches{max-width:none;flex:1 1 40%}.desk .record-filters #recordSort{max-width:none;min-width:0;flex:1 1 160px}.desk .record-footer{padding:6px 8px}.desk .records-scroll{height:330px}.desk .sidebar{grid-template-columns:1fr}.desk .sidebar .sidebar-comparison{grid-template-columns:1fr}.desk .sidebar .sidebar-comparison>.ranking-panel,.desk .sidebar .sidebar-comparison>.research-panel{grid-column:auto;grid-row:auto}.desk .sidebar .sidebar-comparison>.metrics{grid-template-columns:repeat(2,1fr)}.desk .sidebar .metric:nth-child(-n+2){border-bottom:1px solid #f0f2f5}.desk .sidebar .metric:nth-child(even){border-right:0}.desk #chartPanel{max-width:none}.desk .chart-stage{max-height:185px}.desk .record-version{margin-left:0}.desk .prize-ribbon .prize-quote>small{display:none}.desk .header-actions .button{min-height:29px}.desk .live-draw-line #livePhase{width:100%}.desk-footer #deskTicker{margin-left:0}}
@media(max-width:360px){.desk .header-update{max-width:155px}.desk .header-actions #helpButton{padding:4px}.desk .header-actions #exitButton{padding:4px}.desk .quick-search{min-width:25px}.desk .records-panel .section-heading{flex-wrap:wrap}.desk .record-footer .button{font-size:11px;padding:4px 5px}.desk .instrument-heading h1{font-size:15px}}
@media(prefers-reduced-motion:reduce){.desk *, .desk *:before, .desk *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.desk .formula-avatar,.prize-quote,.desk .panel{border:1px solid CanvasText}.chart-formula,.chart-selected{stroke:Highlight}.chart-baseline{stroke:CanvasText}.chart-axis{fill:CanvasText}.lab-scene{display:none}.prize-quote.active{outline:2px solid Highlight}}

/* Compact settings affordance and readable secondary numbers. */
.desk .run-actions{grid-template-columns:1fr 1fr 34px!important}.run-settings svg{width:17px;height:17px;display:block}.desk .run-settings{padding:6px}.desk .sidebar .metric{padding:6px 8px}.desk .sidebar .metric>strong{font-size:19px}.desk .sidebar .metric p{margin:0}

/* Decorative failures never remove status text or reserve a blank large banner. */
.desk img[data-lab-asset][hidden]{display:none!important}
@media(forced-colors:active){img[data-lab-asset]{visibility:hidden}.lab-scene{display:none}}

/* v1.6.2: single-object cutouts only. These are local extensions, not TDS tokens. */
.desk .asset-icon{display:block;flex:none;object-fit:contain;pointer-events:none}
.desk .current-formula-top{align-items:center;min-height:22px}
.current-formula-caption{display:inline-flex;align-items:center;gap:5px;min-width:0}
.desk .update-indicator{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:none}
.desk .update-indicator .asset-icon{width:18px;height:18px}
.desk .update-art,.desk .update-art img{display:block;width:30px;height:30px;flex:none;object-fit:contain}
.desk #recordsTitle.asset-heading{flex-wrap:wrap;gap:5px}
.desk #recordsTitle .live-badge{margin-left:2px}
.desk #settingsTitle{font-weight:600}
.lab-scene[data-renderer=unavailable]{display:none}
.desk .lab-mark{width:30px;height:30px}
.desk .lab-mark .asset-brand{width:30px;height:30px;max-height:none;max-width:none}

/* v1.6.3: the exact uploaded sheet is split into eight independent images. */
.desk .leader-caption{display:flex;align-items:center;gap:4px;min-height:20px}
.desk .leader-award{display:inline-flex;align-items:center;flex:none;width:20px;height:20px}
.desk .leader-award[hidden]{display:none!important}
.desk .leader-award .asset-icon{width:20px;height:20px}
.desk #rankingTitle.asset-heading{display:flex;align-items:center;gap:5px}
.desk #rankingTitle .asset-icon{width:22px;height:22px}

