/* M025.22: extend the existing toolbox, no additional fixed overlay. */
.cq-app #cq-study-tools .cq-float-compact{display:grid;gap:1px;text-align:left;line-height:1.15;color:inherit}
.cq-app #cq-study-tools .cq-float-compact small{font-size:.64rem;font-weight:650;color:inherit;opacity:.9}
.cq-app #cq-study-tools .cq-float-compact strong{font-size:.95rem;color:inherit;font-variant-numeric:tabular-nums}
.cq-app #cq-study-tools .cq-float-unconfirmed{border-style:dashed!important}
.cq-app #cq-study-tools .cq-timer-panel{box-sizing:border-box;width:min(340px,calc(100vw - 28px));max-height:65vh;overflow:auto;overscroll-behavior:contain}
.cq-app #cq-study-tools .cq-float-context{display:grid;gap:3px;margin:4px 0 10px;padding:9px 10px;border:1px solid var(--cq-ui-line);border-radius:10px;overflow-wrap:anywhere}
.cq-app #cq-study-tools .cq-float-context strong{color:var(--cq-ui-text)!important;line-height:1.25}
.cq-app #cq-study-tools :is(.cq-float-context small,[data-cq-float-mode],.cq-float-net,.cq-float-sync,.cq-float-help){color:var(--cq-ui-muted)!important;font-size:.8rem;line-height:1.4}
.cq-app #cq-study-tools .cq-float-sync:empty{display:none}
.cq-app #cq-study-tools .cq-float-actions{display:grid;gap:6px;margin:10px 0}
.cq-app #cq-study-tools .cq-float-actions button{min-height:44px;width:100%;border:1px solid var(--cq-ui-line)!important;border-radius:10px!important;background:var(--cq-ui-strong)!important;color:var(--cq-ui-on-strong)!important;font-weight:800}
.cq-app #cq-study-tools .cq-float-actions button:disabled{opacity:.55;cursor:not-allowed}
.cq-app #cq-study-tools .cq-timer-panel [hidden]{display:none!important}
.cq-app #cq-study-tools [data-cq-float-progress]{width:100%;height:9px;accent-color:var(--cq-ui-accent)}
.cq-app #cq-study-tools .cq-float-diary{display:block;text-align:center;font-weight:750;color:var(--cq-ui-text)!important;padding:9px 3px;text-decoration:underline}
.cq-app #cq-study-tools .cq-float-help{display:block;margin-top:7px}
@media(max-width:700px){.cq-app #cq-study-tools .cq-timer-panel{max-height: min(57dvh,540px);max-width:calc(100vw - 18px)}.cq-app #cq-study-tools .cq-floating-timer-readout{min-height:44px!important}}
