.kcalc-toggle{display:inline-grid!important;place-items:center;width:28px;height:28px;padding:5px!important}.kcalc-toggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.kcalc-toggle[aria-expanded=true]{background:#e6ecdc;color:#536d41;border-color:#b5c7a3}.kcalc-controls[hidden],.kcalc-readout[hidden]{display:none!important}.kcalc-controls{display:inline-flex;gap:3px;align-items:center;margin-right:5px}.chart-actions .kcalc-controls button{width:27px;height:29px;padding:0;border:1px solid transparent;background:transparent;font:12px Georgia,serif;color:#9aa58d;cursor:pointer}.chart-actions .kcalc-controls button.has-point{color:#60764f}.chart-actions .kcalc-controls button[aria-pressed=true]{background:#e8eedf;border-color:#afc09f;color:#48613b}.kcalc-readout{display:inline-flex;align-items:baseline;gap:9px;margin-left:auto;padding:4px 8px;border:1px solid #dce3d1;border-radius:3px;font:11px -apple-system,BlinkMacSystemFont,sans-serif;color:#7b8c6c;white-space:nowrap}.kcalc-readout strong{font:15px Georgia,serif;font-weight:400}.kcalc-arrow{color:#a5b098}.kcalc-controls button:focus-visible{outline:2px solid #849c70;outline-offset:2px}.kcalc-picking{cursor:crosshair!important}.kcalc-toggle:disabled{opacity:.4;cursor:default}.kcalc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){.kcalc-readout{gap:6px;margin-left:0;padding:4px 6px;font-size:10px}.kcalc-readout strong{font-size:13px}.kcalc-toggle{width:29px;height:29px}.chart-actions .kcalc-controls button{width:24px;height:27px}}

.chart-actions .kcalc-toggle{width:28px;height:28px;min-width:28px;box-sizing:border-box;color:#859673;border:1px solid #e0e5d6;border-radius:4px;background:#f2f4e9}.chart-actions .kcalc-toggle svg{width:17px;height:17px;stroke-width:1.45}.chart-actions .kcalc-toggle[aria-expanded=true]{color:#506e43;border-color:#b7c6a6;background:#e8eedf}

/* Match the active K时 button while the calculator is open. */
.chart-actions .kcalc-toggle[aria-expanded=true]{background:#f6e5dd;border-color:#ca8b7b;color:#ad4c49;box-shadow:inset 0 -2px #c65c59}

/* A/B 与笔刷共用下方展开的轻面板结构。 */
.chart-actions .kcalc-dock{position:relative;display:inline-flex;align-items:center;flex:0 0 28px;width:28px;height:28px;overflow:visible;z-index:20}
.chart-actions .kcalc-controls{position:absolute;left:0;top:calc(100% + 7px);display:flex;align-items:center;gap:4px;width:max-content;margin:0;padding:5px;border:1px solid #d5dfcc;border-radius:5px;background:#f8faf2;box-shadow:0 5px 15px #52664312;z-index:21}
.chart-actions .kcalc-controls button{display:grid;place-items:center;flex:none;width:28px;height:28px;min-width:28px;padding:5px;margin:0;border:0;border-radius:3px;background:none;color:#859673;font:12px Georgia,serif}.chart-actions .kcalc-controls button:hover:not(:disabled),.chart-actions .kcalc-controls button[aria-pressed=true]{background:#e8eedf;color:#506e43}.chart-actions .kcalc-controls button:disabled{opacity:.32;cursor:default}.chart-actions .kcalc-report-open svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.kcalc-readout{background:transparent;cursor:pointer;text-align:left}.kcalc-readout:hover{background:#eff3e7;border-color:#becdaf}
.chart-actions .kcalc-controls button[aria-pressed=true]{background:#f6e5dd;border:1px solid #ca8b7b;color:#ad4c49;box-shadow:inset 0 -2px #c65c59}
.kcalc-dialog{width:min(660px,calc(100vw - 32px))}.kcalc-report-anchors{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:27px;padding:0 0 22px;border-bottom:1px solid #e1e5d9}.kcalc-report-anchors>div{display:grid;gap:8px;align-content:start}.kcalc-report-anchors span{font-size:10px;color:#8b9880;letter-spacing:.3px}.kcalc-report-anchors strong{font-size:23px;font-weight:500;color:#607253;letter-spacing:-.3px;font-variant-numeric:tabular-nums}.kcalc-report-anchors time,.kcalc-report-anchors small{font-size:10px;color:#9aa68f;letter-spacing:.3px}
.kcalc-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0 0}.kcalc-report-grid>div{min-width:0;padding:20px 15px 18px;background:#f1f4e9;border:1px solid #dfe5d6;border-radius:11px}.kcalc-report-grid dt{font-size:11px;letter-spacing:.3px;color:#738568}.kcalc-report-grid dd{display:flex;align-items:baseline;gap:3px;margin:19px 0 11px;font-size:31px;font-weight:600;line-height:1.1;letter-spacing:-1px;color:#627654;white-space:nowrap;font-variant-numeric:tabular-nums}.kcalc-report-grid .range-stat-unit{font-size:15px;font-weight:500;opacity:.8;letter-spacing:0}.kcalc-report-grid .is-up{color:#bb5146}.kcalc-report-grid .is-down{color:#377966}.kcalc-report-price{font-size:12px;color:#97a18c;font-variant-numeric:tabular-nums}.kcalc-dialog button:focus-visible{outline-color:#8ba277}
@media(min-width:960px){.kcalc-dialog{width:620px}}
@media(max-width:560px){.kcalc-dialog{padding:23px 18px}.kcalc-report-grid{grid-template-columns:1fr;gap:9px;margin-top:19px}.kcalc-report-grid>div{display:grid;grid-template-columns:minmax(80px,1fr) auto;align-items:center;gap:5px 10px;padding:14px 16px}.kcalc-report-grid dt{grid-column:1;grid-row:1}.kcalc-report-grid dd{grid-column:2;grid-row:1/3;margin:0;font-size:31px}.kcalc-report-price{grid-column:1;grid-row:2}.kcalc-report-anchors{gap:20px;margin-top:22px;padding-bottom:20px}.kcalc-report-anchors strong{font-size:20px}}

/* Cursor-price measurement reports one A-to-B return. */
.kcalc-cursor-dialog{width:min(420px,calc(100vw - 32px))}.kcalc-cursor-dialog .kcalc-report-grid{grid-template-columns:1fr}.kcalc-cursor-dialog .kcalc-report-grid>div{padding:16px}.kcalc-cursor-dialog .kcalc-report-grid dd{margin:12px 0 0}

/* Reserve one stable result slot while picking; preview must not shift the price axis. */
.kcalc-readout{width:230px;max-width:100%;flex-shrink:0;justify-content:space-between;min-height:27px}.kcalc-readout[style*="hidden"]{pointer-events:none}
