/* Keep the existing timer and its source of truth; only promote its visibility. */
.workspace>.heading:has(#examClock){position:sticky;top:var(--exercise-header-height,76px);z-index:25;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:12px 16px;background:var(--bg,#fffaf7);border:1px solid var(--line,#e8dce0);border-radius:14px;box-shadow:0 4px 12px #583c460a}
#examClock{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;max-width:72%;min-width:130px;white-space:normal;text-align:right;font-size:28px;font-weight:700;line-height:1.25;font-variant-numeric:tabular-nums;color:var(--rose,#92465f);background:transparent;border:0;padding:0;letter-spacing:.3px;overflow-wrap:anywhere}
#examClock::before{content:attr(data-clock-label);font-size:11px;font-weight:500;line-height:1.5;letter-spacing:0;color:var(--ink,#353035)}
@media(max-width:680px){.workspace>.heading:has(#examClock){padding:10px 12px;gap:8px}#examClock{font-size:26px;min-width:112px;max-width:70%}.workspace>.heading:has(#examClock)>.text-btn{font-size:12px;min-height:44px;padding:4px 0;flex-shrink:0}}
@media(min-width:1000px){#examClock{font-size:32px}}
#examClock[data-clock-state=safe]{color:#216b45;background:#eef8f1;border:1px solid #a8cfb5;padding:8px 12px;border-radius:12px}
#examClock[data-clock-state=warning]{color:#9a4b00;background:#fff4e5;border:1px solid #e5b77e;padding:8px 12px;border-radius:12px}
#examClock[data-clock-state=urgent]{color:#b42332;background:#fff0f1;border:2px solid #d77983;padding:7px 11px;border-radius:12px}
#examClock[data-clock-state=urgent]::before{color:#9d202c;font-weight:700}

@media(max-width:680px){.workspace>.heading:has(#examClock){padding:6px 12px;min-height:52px;margin-bottom:12px;gap:8px}#examClock{flex-direction:row;align-items:center;gap:8px;font-size:26px;min-width:0;max-width:75%;white-space:nowrap}#examClock::before{max-width:105px;font-size:10px;white-space:normal;text-align:right}#examClock[data-clock-state=safe],#examClock[data-clock-state=warning],#examClock[data-clock-state=urgent]{padding:4px 8px;border-radius:8px}.workspace>.heading:has(#examClock)>.text-btn{min-height:40px}}
