@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Libre+Caslon+Display&display=swap');
:root{color-scheme:light;--paper:#f4f2ed;--ink:#292d29;--muted:#81847c;--green:#425a48;--line:#dddfd6;--light:#e8e4d5;--dark:#899781}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:#000;font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #be782f;outline-offset:4px}.header{height:88px;margin:0 5%;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{color:#000;text-decoration:none;display:flex;gap:12px;align-items:center;font-weight:700;font-size:21px;letter-spacing:-.8px}.brand-light{font-weight:400}.brand-icon{font-size:35px;line-height:1}.header-note{font-size:12px;color:#000;display:flex;align-items:center;gap:9px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#6f8565}main{max-width:1140px;margin:0 auto;padding:45px 35px 0}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:#000}.intro h1{font-family:'Libre Caslon Display',Georgia,serif;font-size:56px;line-height:1.15;letter-spacing:-1.4px;font-weight:400;margin:10px 0 9px}.intro>p{color:#000;font-size:14px;margin:0}.workspace{display:grid;grid-template-columns:minmax(0,600px) 280px;gap:70px;margin-top:34px;align-items:center}.player{display:flex;align-items:center;gap:10px;min-height:34px;margin:0 3px 12px}.bottom-player{margin:12px 3px 0}.player-avatar{height:30px;width:30px;display:grid;place-items:center;border-radius:50%;font-size:17px}.dark-avatar{background:#e5e6de;color:#000}.light-avatar{background:#e7e7de;color:#000;text-shadow:0 0 1px #30392f}.player-name{font-size:12px;font-weight:600}.piece-count{margin-left:auto;font-size:11px;color:#000}.board-frame{padding:11px;border-radius:5px;background:#4b5848;box-shadow:0 8px 28px #29362216,0 2px 3px #29362217}.board{display:grid;grid-template-columns:repeat(8,1fr);width:100%;aspect-ratio:1;position:relative;touch-action:none}.square{position:relative;display:flex;align-items:center;justify-content:center;background:var(--light);border:0;border-radius:0;padding:0;color:#000;min-width:0;aspect-ratio:1;touch-action:none;cursor:default}.square.dark{background:var(--dark);color:#000}.square.selected{box-shadow:inset 0 0 0 4px #e0b465;background:#c5b56f}.square.last{background:#cdd09c}.square.dark.last{background:#a8b17a}.square.drop-target{box-shadow:inset 0 0 0 4px #f0cf79;background:#b9bd81}.square:focus-visible{z-index:2;outline-offset:-4px}.coord{position:absolute;font-size:10px;font-weight:600;pointer-events:none}.rank{top:5px;left:5px}.file{bottom:4px;right:5px}.piece{display:block;width:84%;height:84%;filter:drop-shadow(0 2px 1px #14251e29);cursor:grab;touch-action:none;pointer-events:none;user-select:none}.square:has(.piece){cursor:grab}.piece.white{color:#fffaf0;--outline:#414b3d;--detail:#8f9480}.piece.black{color:#303a32;--outline:#263026;--detail:#88927e}.piece svg{display:block;width:100%;height:100%;overflow:visible}.drag-origin .piece{opacity:.16}.drag-ghost{position:fixed;z-index:1000;pointer-events:none;transform:translate(-50%,-50%);filter:drop-shadow(0 9px 5px #1c2c283a);cursor:grabbing}.drag-ghost .piece{width:100%;height:100%}.sidebar{padding-top:5px}.mode-label{display:flex;gap:8px;align-items:center;font-size:10px;letter-spacing:1.6px;color:#000;font-weight:600}.sidebar h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:38px;letter-spacing:-.6px;margin:17px 0 10px}.description{color:#000;font-size:14px;line-height:1.7;margin:0 0 25px;max-width:240px}.instructions{display:flex;gap:13px;align-items:center;border-top:1px solid var(--line);padding-top:23px}.instruction-icon{width:34px;height:34px;display:grid;place-items:center;background:#e7e9df;border-radius:9px;font-size:21px;color:#000}.instructions p{display:flex;flex-direction:column;gap:5px;margin:0;font-size:11px;color:#000}.instructions strong{color:#000;font-weight:600;font-size:12px}.free-note{font-size:11px;line-height:1.8;color:#000;margin:17px 0 27px}.controls button{border:1px solid var(--line);border-radius:6px;cursor:pointer;transition:background .15s,transform .15s;font-size:12px;font-weight:500;display:flex;gap:9px;align-items:center;justify-content:center;min-height:43px;background:transparent;color:#000}.controls button:hover{background:#e8e9e0}.controls button:active{transform:translateY(1px)}.controls .primary{background:var(--green);color:#000;width:100%;border-color:var(--green);min-height:45px}.controls .primary:hover{background:#344c3b}.controls button span{font-size:19px;line-height:1}.secondary-controls{display:flex;gap:9px;margin-top:9px}.secondary-controls button{flex:1}.controls button:disabled{opacity:.38;cursor:default;transform:none}.last-move{border-top:1px solid var(--line);margin-top:29px;padding-top:22px}.last-move .eyebrow{font-size:9px;letter-spacing:1.6px}.last-move p{font-size:12px;color:#000;min-height:18px;margin:10px 0 0}.sidebar-foot{display:flex;gap:9px;font-size:10px;color:#000;margin-top:37px}.sidebar-foot span{color:#000}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:38px;padding:22px 0;color:#000;font-size:10px}footer span:first-child{font-size:9px;letter-spacing:1.7px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1400px){main{padding-top:55px}.workspace{margin-top:40px}}@media(max-width:1050px){.workspace{gap:35px;grid-template-columns:minmax(0,1fr) 255px}main{padding-left:25px;padding-right:25px}.intro h1{font-size:49px}}@media(max-width:760px){.header{height:70px;margin:0 6%}.brand{font-size:18px}.brand-icon{font-size:30px}.header-note{display:none}main{padding:30px 5% 0}.intro h1{font-size:41px;letter-spacing:-.8px}.intro>p{font-size:12px}.workspace{display:flex;flex-direction:column;gap:32px;margin-top:26px;align-items:stretch}.board-section{width:100%;max-width:600px;margin:auto}.board-frame{padding:8px}.sidebar{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.mode-label,.sidebar h2,.description,.instructions,.free-note{grid-column:1}.sidebar h2{font-size:30px;margin:12px 0 6px}.description{font-size:12px;margin-bottom:18px}.instructions{padding-top:16px}.free-note{margin:13px 0 0}.controls{grid-column:2;grid-row:1 / 5;align-self:center}.last-move{grid-column:2;grid-row:5 / 7;margin-top:0;align-self:center;padding-top:13px}.sidebar-foot{grid-column:1 / -1;margin-top:24px}.coord{font-size:9px}.rank{top:3px;left:3px}.file{bottom:2px;right:3px}footer{margin-top:27px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Play view: bring the board directly beneath the header. */
main{padding-top:26px}.workspace{margin-top:0}
.square.legal-target::after{content:'';position:absolute;width:20%;height:20%;border-radius:50%;background:#354d3b42;pointer-events:none}
.square.legal-target:has(.piece)::after{width:88%;height:88%;background:transparent;border:4px solid #354d3b65}
.square.selected{box-shadow:inset 0 0 0 4px #e0b465;background:#c5b56f}
.square.in-check{background:#ca8980;box-shadow:inset 0 0 0 3px #a64e40}
.free-note{font-weight:600;color:#000;margin-bottom:8px}
.move-feedback{color:#000;font-size:11px;line-height:1.6;min-height:18px;margin:0 0 20px}
dialog{max-width:min(92vw,400px);border:1px solid var(--line);border-radius:12px;padding:26px;background:var(--paper);color:#000;box-shadow:0 20px 70px #14251e44}
dialog::backdrop{background:#1c2e265c}dialog h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:32px;font-weight:400;margin:0 0 8px}dialog p{font-size:12px;color:#000;margin-bottom:22px}
.promotion-choices{display:flex;gap:8px}.promotion-choices button{display:flex;flex-direction:column;align-items:center;gap:8px;width:75px;border:1px solid var(--line);border-radius:7px;background:#e5e7dc;padding:8px 4px;font-size:11px;color:#000;cursor:pointer}.promotion-choices button:hover{background:#cdd8c3}.promotion-choices .piece{width:52px;height:52px}.cancel-promotion{display:block;margin:20px auto 0;border:0;background:transparent;color:#000;cursor:pointer;font-size:12px;padding:8px 16px}
@media(min-width:1400px){main{padding-top:32px}.workspace{margin-top:0}}
@media(max-width:760px){main{padding-top:23px}.workspace{margin-top:0}.move-feedback{grid-column:1;margin:4px 0 0}.free-note{margin-bottom:0}.controls{grid-row:1 / 5}.last-move{grid-row:5 / 8}}

.capture-tray{display:flex;align-items:center;gap:12px;min-height:32px;margin:-5px 5px 10px;padding-left:35px}
.capture-label{color:#000;font-size:9px;letter-spacing:1px;text-transform:uppercase;flex-shrink:0}
.captured-pieces{display:flex;align-items:center;flex-wrap:wrap;gap:2px;min-width:0}
.captured-piece{display:block;width:26px;height:29px;flex-shrink:0}
.captured-piece .piece{width:100%;height:100%;cursor:default;filter:drop-shadow(0 1px 1px #14251e20)}
.capture-empty{font-size:10px;color:#000}
.bottom-captured{margin-top:3px;margin-bottom:0}
@media(max-width:760px){.capture-tray{gap:9px;padding-left:35px}.captured-piece{width:24px;height:27px}}

.board-alert{display:flex;align-items:center;gap:12px;background:#f1e3d8;border:1px solid #d8b7a2;border-radius:6px;padding:12px 15px;margin:0 0 12px;color:#000}
.board-alert[hidden]{display:none}.board-alert-icon{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;font-size:18px;font-weight:600}
.board-alert strong{font-size:15px;font-weight:650}.board-alert p{font-size:11px;line-height:1.5;margin:3px 0 0}
.board-alert.checkmate{background:#e0e8d9;border-color:#a3b298;color:#000}
.square[aria-disabled="true"],.square[aria-disabled="true"] .piece{cursor:default}
@media(max-width:760px){.board-alert{padding:11px 12px}.board-alert p{font-size:10px}}

.solver-panel{margin-top:32px;border:1px solid #d7dccf;background:#eeefe7;border-radius:10px;padding:26px}.solver-header{display:flex;align-items:center;justify-content:space-between;gap:18px}.solver-header h2{font:400 38px 'Libre Caslon Display',Georgia,serif;margin:7px 0 0}.solver-state{border:1px solid #b9c7ae;border-radius:20px;padding:8px 13px;font-size:11px;color:#000;background:#e2e9da}.solver-panel>p{font-size:12px;color:#000;line-height:1.6}.solver-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:20px 0}.solver-toolbar button,.position-tools button{padding:9px 13px;border:1px solid #c7d0bc;background:#f6f6f0;border-radius:5px;color:#000;cursor:pointer;font:500 11px 'DM Sans',sans-serif;min-height:36px}.solver-toolbar button:disabled{opacity:.4;cursor:default}.solver-toolbar button:first-child{background:#425a48;color:#000;border-color:#425a48}.solver-toolbar label{display:flex;align-items:center;gap:8px;font-size:10px;color:#000;margin-left:auto}.solver-toolbar input{width:90px;accent-color:#58724d}.search-view-label{color:#000;font-size:10px;letter-spacing:.6px;margin-bottom:15px}.search-view-label[hidden]{display:none}.search-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;border:1px solid #d4daca;background:#d4daca;border-radius:7px;overflow:hidden}.search-metrics>div{background:#f4f5ee;padding:15px 17px;min-width:0}.search-metrics span{display:block;color:#000;font-size:10px;margin-bottom:6px}.search-metrics strong{font-size:20px;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#000}.terminal-counts{display:flex;gap:22px;flex-wrap:wrap;padding:18px 0;color:#000;font-size:11px}.terminal-counts b{font-weight:600;color:#000;margin-left:6px}.search-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-top:1px solid #d4daca;padding-top:15px}.search-columns h3{font-size:13px;font-weight:600;color:#000;margin:8px 0}.search-columns h3 span{font-size:10px;font-weight:400;color:#000;margin-left:9px}.small-note{font-size:10px;line-height:1.7;color:#000}.search-columns ol{list-style:none;padding:0;margin:15px 0;font:11px/1.9 ui-monospace,monospace;color:#000;overflow-wrap:anywhere;min-height:30px}.search-fen{font:9px/1.5 ui-monospace,monospace;color:#000;overflow-wrap:anywhere}.root-replies{max-height:330px;overflow:auto;font-size:11px}.reply-row{display:flex;justify-content:space-between;gap:10px;padding:7px 8px;border-bottom:1px solid #dde2d5}.reply-row.current{background:#dfe7d4}.unknown{color:#000}.proven{color:#000;font-weight:650}.solver-details,.position-tools{border-top:1px solid #d4daca;margin-top:22px;padding-top:15px;color:#000;font-size:11px;line-height:1.8}.solver-panel summary{cursor:pointer;color:#000;font-weight:500}.solver-panel details p{max-width:900px}.solver-panel a{color:#000}.position-tools label{display:block;margin:14px 0 3px}.position-tools input{width:100%;font:11px ui-monospace,monospace;padding:10px;border:1px solid #ccd5c0;border-radius:4px;background:#f8f8f3;color:#000;margin-bottom:10px}.position-tools button{margin-right:8px}.controls #claim-draw{width:100%;margin-bottom:10px}.controls #claim-draw[hidden]{display:none}
@media(max-width:760px){.solver-panel{padding:19px 15px;margin-top:25px}.solver-header{align-items:flex-start;flex-direction:column;gap:12px}.solver-header h2{font-size:32px}.search-metrics{grid-template-columns:1fr 1fr}.search-metrics>div{padding:13px 10px}.search-metrics strong{font-size:17px}.search-columns{grid-template-columns:1fr;gap:10px}.terminal-counts{gap:12px}.terminal-counts>span:first-child{width:100%}.solver-toolbar{gap:6px}.solver-toolbar label{margin:8px 0 0;width:100%}.solver-toolbar input{flex:1}.root-replies{max-height:240px}}
.board-view-caption{font-size:9px;letter-spacing:1px;color:#000;margin:1px 5px 8px}.live-summary{padding:14px 15px;background:#e8ecdf;border:1px solid #d6deca;border-radius:7px;margin:0 0 22px;color:#000}.live-summary-header{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:9px}.live-summary>div:not(:first-child){display:flex;justify-content:space-between;gap:8px;margin:7px 0;font-size:10px}.live-summary strong{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.live-summary button{width:100%;border:1px solid #b9c6ac;border-radius:4px;padding:7px;background:#f3f5ed;color:#000;font:11px 'DM Sans',sans-serif;cursor:pointer;margin:8px 0}.live-summary button:disabled{opacity:.4;cursor:default}.live-summary a{font-size:10px;color:#000;text-decoration:none;display:block;text-align:center}.live-summary .eyebrow{font-size:8px;letter-spacing:1.2px}.live-summary-header>span:last-child{max-width:140px;text-align:right}
@media(max-width:760px){.live-summary{grid-column:2;grid-row:1 / 6;align-self:start;margin:0}.sidebar .controls{grid-column:1 / -1;grid-row:auto;margin-top:18px}.sidebar .last-move{grid-column:1 / -1;grid-row:auto;margin-top:20px}.sidebar .sidebar-foot{margin-top:20px}.sidebar .instructions,.sidebar .free-note,.sidebar .move-feedback{grid-column:1}.sidebar .description{margin-bottom:15px}.board-view-caption{font-size:8px}}

/* High-contrast text, including controls and board coordinates. Piece fills stay distinct. */
:root{--ink:#000;--muted:#000}
.controls .primary,.solver-toolbar button:first-child{background:#dce6d4;border-color:#9caa8f;color:#000}
.controls .primary:hover,.solver-toolbar button:first-child:hover{background:#ccdcbc}
.controls button:disabled,.solver-toolbar button:disabled,.live-summary button:disabled{opacity:1;background:#eee;border-style:dashed;border-color:#aaa;color:#000}
input::placeholder{color:#000;opacity:1}
.tree-projection p{font-size:12px;line-height:1.7;margin:10px 0;color:#000}
.outcomes-heading{font-size:14px;font-weight:650;margin:22px 0 10px;color:#000}
.terminal-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0}
.terminal-counts>div{display:flex;flex-direction:column;gap:9px;padding:17px;border:1px solid #b5bdac;border-radius:6px;background:#f8f8f2;min-width:0}
.terminal-counts span{font-size:12px;color:#000}.terminal-counts b{font-size:29px;line-height:1.1;font-weight:650;color:#000;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.outcome-note,.small-note{font-size:12px;color:#000}.search-fen{font-size:10px;color:#000}.search-columns ol{font-size:12px;color:#000}
.live-summary>div.mini-outcomes{display:block;border-top:1px solid #b5bdac;padding-top:8px;margin-top:11px}
.mini-outcomes>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin:6px 0}.mini-outcomes strong{font-size:16px}
.live-summary>div:not(:first-child){flex-wrap:wrap}.live-summary strong{max-width:100%;text-align:right}.live-summary #mini-nodes{font-size:13px}.visited-total strong{font-size:18px}
@media(max-width:760px){.terminal-counts{gap:6px}.terminal-counts>div{padding:13px 9px}.terminal-counts b{font-size:23px}.terminal-counts span{font-size:11px}.live-summary #mini-nodes{font-size:11px}.live-summary{padding:12px 10px}.live-summary>div:not(:first-child){font-size:10px}.live-summary-header>span:last-child{font-size:9px}}
/* Root silhouettes are display-only, behind the currently visited pieces. */
.position-ghost{position:absolute;width:84%;height:84%;inset:8%;opacity:.13;z-index:0;pointer-events:none;user-select:none}
.position-ghost .piece{width:100%;height:100%;filter:none;cursor:default}
.square>.piece{position:relative;z-index:1}.square .coord{z-index:2}
.time-metrics{display:grid;grid-template-columns:1fr 2fr;gap:12px;margin-top:14px}.time-metrics>div{padding:16px;border:1px solid #b5bdac;border-radius:6px;background:#f8f8f2;min-width:0}.time-metrics span{display:block;font-size:12px;margin-bottom:8px}.time-metrics strong{font-size:23px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.scale-card{padding:22px;margin-top:22px;background:#e1e8d8;border:1px solid #aebca0;border-radius:8px;color:#000}.scale-card h3{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:30px;margin:12px 0}.scale-card p{font-size:13px;line-height:1.8}.scale-card .scale-time{display:block;font-size:27px;font-weight:650;overflow-wrap:anywhere}.scale-card .small-note{font-size:11px}
.live-summary{padding:18px}.live-summary-header{font-size:12px;line-height:1.5}.live-summary .eyebrow{font-size:12px}.live-summary-header>span:last-child{font-size:12px;max-width:145px}.live-summary>div:not(:first-child){font-size:14px;margin:12px 0;gap:6px;line-height:1.5}.live-summary strong,.live-summary #mini-nodes{font-size:18px}.live-summary #mini-eta{font-size:19px}.mini-outcomes>div{font-size:14px;margin:10px 0}.mini-outcomes strong{font-size:23px}.live-summary button{font-size:14px;padding:10px}.live-summary a{font-size:13px}
@media(max-width:760px){.live-summary{padding:14px}.live-summary-header{flex-wrap:wrap}.live-summary-header>span:last-child{font-size:11px;text-align:left;max-width:none}.live-summary>div:not(:first-child){font-size:12px}.live-summary strong,.live-summary #mini-nodes{font-size:15px}.live-summary #mini-eta{font-size:16px}.mini-outcomes>div{font-size:12px}.mini-outcomes strong{font-size:20px}.live-summary button{font-size:13px}.time-metrics{grid-template-columns:1fr}.time-metrics strong{font-size:21px}.scale-card{padding:17px}.scale-card h3{font-size:27px}.scale-card .scale-time{font-size:23px}}

.light-avatar{color:#fffaf0}.dark-avatar{color:#303a32}.eta-universe{font-size:13px;line-height:1.7;color:#000}
.workspace{align-items:start}

.time-metrics{grid-template-columns:1fr 1fr 2fr}.live-summary #mini-elapsed{font-size:19px}.live-summary #mini-eta,.live-summary #mini-nodes,.scale-time,.time-metrics strong{line-height:1.5;overflow-wrap:normal;word-break:normal}
@media(max-width:760px){.time-metrics{grid-template-columns:1fr}.live-summary #mini-elapsed{font-size:16px}}

.live-summary #mini-eta,.live-summary #mini-nodes{overflow-wrap:anywhere}
/* Use the available width and keep long projections from moving surrounding UI. */
main{max-width:1540px;padding-inline:32px}
.workspace{grid-template-columns:minmax(0,640px) minmax(420px,1fr);gap:42px}
.sidebar .description{max-width:none}
.live-summary>div.projection-field{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:22px 48px;gap:8px;margin:16px 0;min-width:0}
.live-summary .projection-field #mini-nodes,.live-summary .projection-field #mini-eta{display:block;block-size:48px;max-block-size:48px;overflow:auto;font-size:15px;font-weight:500;line-height:24px;text-align:right;overflow-wrap:anywhere;scrollbar-gutter:stable;min-width:0}
.projection-field strong:focus-visible{outline:2px solid #425a48;outline-offset:2px}
.search-metrics .visited-total{display:grid;grid-template-rows:22px 48px}
.search-metrics .visited-total #stat-nodes{font-size:16px;font-weight:500;line-height:24px;block-size:48px;overflow:auto;overflow-wrap:anywhere;scrollbar-gutter:stable}
.time-metrics #stat-eta{display:block;font-size:16px;font-weight:500;line-height:24px;block-size:48px;overflow:auto;overflow-wrap:anywhere;scrollbar-gutter:stable}
.scale-card .scale-time{font-size:18px;font-weight:500;line-height:24px;block-size:96px;overflow:auto;overflow-wrap:anywhere;scrollbar-gutter:stable}
#eta-universe,#scale-universe{block-size:72px;line-height:24px;overflow:auto;scrollbar-gutter:stable}
#tree-estimate-note{block-size:72px;line-height:24px;overflow:auto;scrollbar-gutter:stable}
@media(max-width:1100px){main{padding-inline:24px}.workspace{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:28px}}
@media(max-width:860px){main{padding-inline:5%}.workspace{display:flex;flex-direction:column;gap:28px}.board-section{max-width:600px}.sidebar{display:block;width:100%}.sidebar .controls{margin-top:18px}.sidebar .last-move{margin-top:22px}.live-summary{width:100%}#eta-universe,#scale-universe,#tree-estimate-note{block-size:144px}}

/* Matching columns align each label with its actual or projected value. */
.live-summary .paired-headings,.live-summary .paired-values,.search-metrics .paired-headings,.search-metrics .paired-values,.time-metrics .paired-headings,.time-metrics .paired-values{display:grid;grid-template-columns:minmax(76px,1fr) minmax(0,3fr);gap:16px;min-width:0}
.paired-headings>span:first-child,.paired-values>strong:first-child{text-align:left}
.paired-headings>span:last-child,.paired-values>strong:last-child{text-align:right}
.paired-headings>span{min-width:0;margin:0;line-height:22px}
.live-summary .paired-values>strong,.search-metrics .paired-values>strong,.time-metrics .paired-values>strong{display:block;min-width:0;block-size:48px;max-block-size:48px;overflow:auto;font-size:15px;font-weight:500;line-height:24px;overflow-wrap:anywhere;scrollbar-gutter:stable}
.live-summary .paired-values #mini-nodes,.search-metrics .paired-values #stat-nodes{text-align:left}
.live-summary .paired-values #mini-total,.search-metrics .paired-values #stat-total,.time-metrics .paired-values #stat-eta{text-align:right}
.paired-values>strong:focus-visible{outline:2px solid #425a48;outline-offset:2px}
.time-metrics{grid-template-columns:1fr 3fr}
@media(max-width:760px){.time-metrics{grid-template-columns:1fr}.live-summary .paired-headings,.live-summary .paired-values,.search-metrics .paired-headings,.search-metrics .paired-values,.time-metrics .paired-headings,.time-metrics .paired-values{gap:10px}}

.live-summary .paired-values #mini-elapsed{font-size:15px;font-weight:500;line-height:24px;text-align:left}
.live-summary .paired-values>strong,.search-metrics .paired-values>strong,.time-metrics .paired-values>strong{scrollbar-gutter:auto}
.live-summary .paired-values #mini-nodes,.live-summary .paired-values #mini-eta,.search-metrics .paired-values #stat-nodes,.time-metrics .paired-values #stat-eta{scrollbar-gutter:auto}

/* Depth frames a connected progress block; memory follows beneath it. */
.live-summary .projection-group{display:grid;gap:12px;margin:12px 0;padding:12px;border:1px solid #b5bfaa;border-radius:6px;background:#f4f6ef}
.live-summary .projection-group .projection-field{display:grid;grid-template-rows:24px 48px;gap:6px;min-width:0;margin:0}
.live-summary .paired-headings,.search-metrics .paired-headings{min-height:24px;border-bottom:1px solid #c3cbb8;padding-bottom:3px}
.live-summary .paired-headings>span,.search-metrics .paired-headings>span{font-size:11px;font-weight:700;line-height:18px;letter-spacing:.04em;text-transform:uppercase;margin:0}
.live-summary .summary-depth>span,.live-summary .summary-memory>span,.context-metrics>div>span,.memory-metrics>div>span{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.search-metrics.progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0;border-color:#b5bfaa}
.search-metrics.progress-metrics>div{display:grid;grid-template-rows:24px 48px;gap:6px;background:#f4f6ef}
.search-metrics.memory-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.search-metrics.progress-metrics{grid-template-columns:1fr}.live-summary .projection-group{padding:12px}.search-metrics.progress-metrics>div{padding:14px}.context-metrics>div>span,.memory-metrics>div>span{font-size:10px}}

.draw-offer-actions{display:flex;gap:10px;flex-wrap:wrap}.draw-offer-actions button{flex:1;padding:12px 14px;min-height:44px;font:500 14px 'DM Sans',sans-serif;color:#000;border:1px solid #9caa8f;border-radius:5px;background:#f4f6ef;cursor:pointer}.draw-offer-actions #accept-draw{background:#dce6d4}#draw-offer-dialog p{font-size:14px;line-height:1.6}#draw-offer-dialog button:focus-visible{outline:2px solid #425a48;outline-offset:3px}

.side-choice{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#000}.side-choice select{min-width:130px;padding:9px 12px;font:500 14px 'DM Sans',sans-serif;color:#000;background:#f4f6ef;border:1px solid #b5bfaa;border-radius:5px}.side-choice select:focus-visible{outline:2px solid #425a48;outline-offset:2px}
