dialog.run-statistics{width:560px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #afcbc1;border-radius:17px;background:#fbfffc;color:#233c40;box-shadow:0 18px 60px #254c3b21;overflow:visible;container-type:normal}
dialog.run-statistics.dialog-fallback[open]{inset:0;margin:auto;height:max-content;transform:none}
.run-statistics .dialog-header{padding:16px 22px 0;margin:0;border:0}.run-statistics .dialog-header h2{font-size:15px;margin:0}.run-statistics .dialog-close{flex-shrink:0}
.run-body{padding:4px 24px 20px;max-height:calc(100dvh - 90px);overflow:auto;overscroll-behavior:contain}
.run-score-row{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:6px 0 20px}.run-label{font-size:11px;color:#657c79;margin-bottom:3px}.run-score{font-size:52px;font-weight:700;letter-spacing:-2.5px;line-height:1.12;font-variant-numeric:tabular-nums}.run-score small{font-size:15px;font-weight:500;letter-spacing:0;margin-left:6px;color:#657c79}.run-score-value{position:relative;display:inline-block}.run-score-counter{position:absolute;inset:0;text-align:right}.run-counting .run-score-actual{opacity:0}
.run-coverage{font-size:11px;color:#657c79;text-align:right;line-height:1.7;padding-bottom:4px;word-break:keep-all}.run-coverage strong{font-weight:500;color:#537367}.run-coverage.partial strong{color:#8f6c33}
.run-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 0 15px;border-block:1px solid #dfebe5;margin:0 0 20px}.run-metric{padding:0 15px;border-left:1px solid #e1ebe6}.run-metric:first-child{padding-left:0;border-left:0}.run-metric dt{font-size:11px;color:#657c79;margin-bottom:6px}.run-metric dd{margin:0;font-size:21px;font-weight:700;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.run-metric dd span{font-size:11px;font-weight:400;margin-left:3px;color:#657c79}
.run-chart-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.run-chart-title h3{font-size:13px;margin:0;letter-spacing:-.3px}.run-legend{display:flex;flex-wrap:wrap;justify-content:end;gap:5px 10px;font-size:10px;color:#657c79}.run-legend span{display:inline-flex;align-items:center;gap:4px}.run-legend i{width:12px;height:2px;display:inline-block}
.run-gap-labels{position:relative;height:16px;margin-bottom:2px;pointer-events:none}.run-gap-label{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap;font-size:10px;line-height:14px;color:#8f6c33}.run-gap-label::before{content:"";display:inline-block;width:4px;height:8px;margin-right:4px;border-radius:1px;background:#b59b6866;vertical-align:-1px}
.run-chart{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y;user-select:none;border-radius:4px}.run-grid{stroke:#e2eae5;stroke-width:1}.run-axis{font-size:11px;fill:#728580}.run-curve{fill:none;stroke-width:1.4;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.run-final{stroke:#8a9e94;stroke-width:1;stroke-dasharray:4 5}.run-final-label{font-size:12px;font-weight:600;fill:#748b7e}.run-final-tick{cursor:help}.run-switch{stroke:#8d9b97;stroke-width:1;stroke-dasharray:3 4}.run-selected-line{stroke:#6b9288;stroke-width:1;stroke-dasharray:3 4}
.run-range-filter{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:6px;color:#657c79;font-size:10px}.run-statistics .run-range-filter select{font:inherit;font-size:11px;color:inherit;padding:4px 7px;border:1px solid #d4e1d9;background:#f7fbf8;border-radius:6px;min-height:30px;max-width:60%}
.run-extrema{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding-top:12px;border-top:1px solid #e0eae4;margin-top:8px}.run-statistics .run-extrema button{text-align:left;border:1px solid transparent;background:transparent;padding:8px 9px;border-radius:8px;min-width:0;color:inherit;font:inherit;box-shadow:none;transition:background .12s}.run-statistics .run-extrema button:not(:disabled):hover,.run-statistics .run-extrema button[aria-pressed=true]{background:#edf5ef;border-color:#d8e7de}.run-extrema-label{font-size:10px;color:#657c79;display:block;margin-bottom:5px}.run-extrema strong{font-size:18px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.run-extrema-step{display:block;margin-top:4px;font-size:10px;color:#657c79}.run-statistics .run-footnote{font-size:10px;line-height:1.65;color:#71827a;margin:12px 0 0;word-break:keep-all}
.run-empty{border:1px dashed #ccdcd2;border-radius:9px;background:#f4f8f4;text-align:center;padding:25px 12px;margin-top:6px}.run-empty strong{font-size:13px;font-weight:500}.run-statistics .run-empty p{font-size:11px;color:#657c79;margin:7px 0 0}.run-score small{display:inline;margin-top:0}
.run-tooltip{position:fixed;z-index:1000;width:226px;max-width:calc(100vw - 20px);padding:12px 13px;background:#fffffff7;border:1px solid #d3dfd8;border-radius:10px;box-shadow:0 5px 22px #233c401a;color:#233c40;font-size:12px;line-height:1.5;pointer-events:none;overflow:auto;box-sizing:border-box}.run-tooltip>strong{display:block;font-size:12px;font-weight:700}.run-tip-context{font-size:10px;color:#657c79;margin-top:3px}.run-tip-row{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:11px}.run-tip-row i{width:7px;height:7px;border-radius:50%;flex-shrink:0}.run-tip-row b{margin-left:auto;font-size:13px;font-variant-numeric:tabular-nums}.run-tip-detail{margin-top:10px;padding-top:8px;border-top:1px solid #edf0ed;color:#657c79;font-size:10px}
.run-end-notice{position:absolute;z-index:300;left:calc(50% + 100% * 105 / 1234);top:44%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:stretch;gap:22px;width:360px;max-width:calc(100% * 1024 / 1234 - 24px);box-sizing:border-box;padding:28px 28px 24px;border:1px solid #d3e3dc;border-radius:20px;background:radial-gradient(120% 70% at 50% 0,#e9f6f0 0,#fbfffc 62%);color:#1f3a3e;text-align:center;box-shadow:0 28px 70px #071a2459,0 6px 18px #071a2433,inset 0 1px #fff;animation:run-end-in 260ms cubic-bezier(.22,1,.36,1) both}
#frame:has(.run-end-notice:not([hidden])) #board-canvas{filter:brightness(.62) saturate(.7)}#board-canvas{transition:filter 260ms ease}
.run-end-summary{display:flex;flex-direction:column;align-items:center;min-width:0}
.run-end-badge{display:grid;place-items:center;width:44px;height:44px;margin-bottom:12px;border-radius:50%;background:#276f70;color:#fff;box-shadow:0 0 0 6px #276f7017}.run-end-badge svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.run-end-message{margin:0;font:700 19px/1.35 Arial,"Malgun Gothic",sans-serif;color:#173236;letter-spacing:-.3px;word-break:keep-all}
.run-end-label{width:100%;margin:18px 0 2px;padding-top:16px;border-top:1px solid #dde9e3;font-size:12px;font-weight:500;color:#5d7570;letter-spacing:.02em}
.run-end-score{display:flex;align-items:baseline;justify-content:center;gap:6px;white-space:nowrap}.run-end-score strong{font-size:48px;font-weight:800;line-height:1.1;letter-spacing:-1.8px;font-variant-numeric:tabular-nums;color:#173236}.run-end-score span{font-size:16px;font-weight:600;color:#5d7570}
.run-end-notice .run-result-open{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:46px;padding:11px 18px;border:0;border-radius:12px;background:#276f70;color:#fff;font:700 14.5px/1.4 Arial,"Malgun Gothic",sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 6px 16px #276f7040,inset 0 1px #ffffff26;transition:background 120ms,box-shadow 120ms,transform 120ms}
.run-result-arrow{display:inline-grid;margin-right:-4px}.run-result-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform 120ms}
.run-end-notice .run-result-open:hover{background:#205f61;box-shadow:0 8px 20px #276f704d,inset 0 1px #ffffff26}.run-end-notice .run-result-open:hover .run-result-arrow svg{transform:translateX(2px)}.run-end-notice .run-result-open:active{transform:translateY(1px);background:#1b5254}.run-end-notice .run-result-open:focus-visible{outline:3px solid #297d7866;outline-offset:3px}
@keyframes run-end-in{from{opacity:0;translate:0 10px;scale:.97}to{opacity:1;translate:0 0;scale:1}}
.run-end-notice[hidden]{display:none!important}
@media(max-width:500px),(max-height:500px){.run-end-notice{flex-direction:row;align-items:center;gap:12px;width:340px;padding:12px 12px 12px 18px;border-radius:14px;text-align:left}.run-end-summary{flex:1;align-items:flex-start}.run-end-badge,.run-end-label{display:none}.run-end-message{font-size:12px;font-weight:700;color:#276f70;letter-spacing:0}.run-end-score{justify-content:flex-start;gap:4px}.run-end-score strong{font-size:28px;letter-spacing:-1px}.run-end-score span{font-size:12px}.run-end-notice .run-result-open{width:auto;flex:none;min-height:40px;padding:8px 10px 8px 14px;font-size:13px;border-radius:10px;box-shadow:0 4px 10px #276f7038}}
@media(prefers-reduced-motion:reduce){.run-end-notice{animation:none}.run-result-open,.run-result-arrow svg,#board-canvas{transition:none}}
.run-statistics [hidden],.run-result-open[hidden]{display:none!important}.run-statistics button:disabled,.run-statistics select:disabled{cursor:default;opacity:.55}.run-chart:focus-visible{outline:2px solid #276f70;outline-offset:3px}
.run-statistics .run-metric-hint{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;min-height:0;padding:0;margin:-5px 0 -5px 2px;border:0;background:transparent;box-shadow:none;color:#718780;font:12px Arial,sans-serif;vertical-align:middle;cursor:help}.run-statistics .run-metric-hint:hover{color:#276f70;background:#edf5ef;border-radius:50%}.run-metric-tooltip{width:max-content;max-width:calc(100vw - 20px);font-size:12px;padding:9px 12px}
.run-statistics.run-opening{animation:run-open 200ms ease both}.run-entering .run-score-block{animation:run-content-in 360ms 80ms both}.run-entering .run-coverage{animation:run-fade 320ms 220ms both}.run-entering .run-metric{animation:run-content-in 300ms both}.run-entering .run-metric:nth-child(1){animation-delay:380ms}.run-entering .run-metric:nth-child(2){animation-delay:520ms}.run-entering .run-metric:nth-child(3){animation-delay:660ms}.run-entering .run-chart-title{animation:run-fade 300ms 760ms both}.run-entering .run-extrema,.run-entering .run-range-filter,.run-entering .run-footnote{animation:run-fade 320ms 1720ms both}.run-entering .run-empty{animation:run-fade 320ms 660ms both}
@keyframes run-open{from{opacity:0;translate:0 8px}to{opacity:1;translate:none}}@keyframes run-content-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}@keyframes run-fade{from{opacity:0}to{opacity:1}}
@media(max-width:450px){.run-statistics .dialog-header{padding:12px 14px 0}.run-body{padding:4px 16px 16px}.run-score{font-size:45px}.run-score-row{margin-bottom:16px}.run-coverage{font-size:10px}.run-metrics{margin-bottom:17px;padding:12px 0}.run-metric{padding:0 10px}.run-metric dt{font-size:10px}.run-metric dd{font-size:20px}.run-chart-title{align-items:start}.run-chart-title h3{font-size:12px}.run-legend{font-size:9px;max-width:50%}.run-axis{font-size:17px}.run-final-label{font-size:17px}}
@media(prefers-reduced-motion:reduce){.run-statistics,.run-statistics *{animation:none!important;transition:none!important}}
