.gd-tool-icon--multiple-timers > span::before { inset: 5px 6px 3px 4px; border: 2px solid currentColor; border-radius: 50%; background: linear-gradient(currentColor, currentColor) 50% 1px / 2px 8px no-repeat; }
.gd-tool-icon--multiple-timers > span::after { top: 10px; left: 13px; width: 9px; height: 9px; border: solid currentColor; border-width: 0 0 2px 2px; transform-origin: 0 100%; transform: rotate(-14deg); }
.gd-timers { --timer-accent: #473a83; --timer-ink: #28254a; --timer-muted: #58556c; --timer-line: #dcd7ec; --timer-light: #f5f3fc; }
.gd-timers [hidden] { display: none !important; }
.gd-timers h1 span { white-space: nowrap; }
.gd-timers h2 { color: var(--timer-ink); font-size: clamp(20px, 3vw, 28px); line-height: 1.3; }
.gd-timers h3 { margin: 0; color: var(--timer-ink); line-height: 1.35; font-size: 17px; overflow-wrap: anywhere; }
.gd-timers p { overflow-wrap: anywhere; }
.gd-timers-workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.gd-timers-card { min-width: 0; padding: clamp(12px, 2.3vw, 24px); border: 1px solid var(--timer-line); border-radius: 14px; background: #fff; }
.gd-timers-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.gd-timers button, .gd-timers input { font: inherit; }
.gd-timers button { min-height: 44px; padding: 6px 10px; border: 1px solid #bfb6da; border-radius: 8px; background: #fff; color: var(--timer-accent); font-weight: 700; line-height: 1.3; cursor: pointer; }
.gd-timers button:hover { background: #efecfa; border-color: var(--timer-accent); }
.gd-timers button:disabled { opacity: .57; cursor: default; }
.gd-timers button:focus-visible, .gd-timers input:focus-visible { outline: 3px solid #2768a7; outline-offset: 2px; }
.gd-timers .gd-timers-primary { color: #fff; background: var(--timer-accent); border-color: var(--timer-accent); }
.gd-timers .gd-timers-primary:hover { background: #372b69; }
.gd-timers-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 10px 0; }
.gd-timers-quick button { padding-inline: 4px; background: var(--timer-light); font-size: clamp(12px, 3.4vw, 15px); }
.gd-timers-label { display: block; min-width: 0; font-weight: 700; color: var(--timer-ink); }
.gd-timers-label small { color: var(--timer-muted); font-size: 12px; font-weight: 500; }
.gd-timers-label input { display: block; width: 100%; box-sizing: border-box; min-height: 44px; margin-top: 3px; padding: 6px 8px; border: 1px solid #bfb6da; border-radius: 8px; background: #fff; color: #202037; font-size: 16px; }
.gd-timers-time-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 8px 0 10px; }
.gd-timers .gd-timers-message { color: #4a4371; margin-top: 7px; font-size: 13px; }
.gd-timers .gd-timers-message[data-error=true] { color: #9a2529; }
.gd-timers-summary { background: var(--timer-light); }
#timer-summary-title { scroll-margin-top: 95px; }
.gd-timers .gd-timers-selected { color: var(--timer-muted); margin-top: 7px; font-weight: 700; font-size: 13px; }
.gd-timers .gd-timers-total { margin: 4px 0; color: var(--timer-accent); font: 800 clamp(27px, 5vw, 51px)/1.15 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.gd-timers-summary [data-total-message] { color: var(--timer-muted); }
.gd-timers-summary button { margin-top: 8px; }
.gd-timers-board { margin-bottom: 16px; }
.gd-timers-board-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 18px; row-gap: 9px; }
.gd-timers-board-head p { color: var(--timer-muted); margin-top: 3px; }
.gd-timers-jump { display: inline-flex; align-items: center; min-height: 44px; margin-right: 2px; color: var(--timer-accent); font-size: 13px; font-weight: 700; }
.gd-timers .gd-timers-note { font-size: 13px; color: var(--timer-muted); margin: 8px 0; }
.gd-timers .gd-timers-empty { padding: 11px; border: 1px dashed var(--timer-line); border-radius: 8px; color: var(--timer-muted); }
.gd-timers-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 252px), 1fr)); gap: 10px; }
.gd-timers-item { min-width: 0; padding: 12px; border: 1px solid var(--timer-line); border-radius: 10px; background: var(--timer-light); }
.gd-timers-item[data-mode=done] { border-color: #a3cfc0; background: #eff9f4; }
.gd-timers-item-head { display: flex; gap: 8px; align-items: start; justify-content: space-between; }
.gd-timers-state { flex-shrink: 0; padding: 2px 6px; border-radius: 5px; background: #e8e2f6; color: #42316d; font-weight: 700; font-size: 12px; }
.gd-timers-item[data-mode=done] .gd-timers-state { color: #125a43; background: #d5ede1; }
.gd-timers-item[data-mode=paused] .gd-timers-state { color: #714200; background: #fff0cf; }
.gd-timers .gd-timers-value { margin: 3px 0; color: var(--timer-ink); font: 800 clamp(28px, 5vw, 38px)/1.17 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.gd-timers-item progress { display: block; width: 100%; height: 6px; margin: 7px 0 10px; border: 0; border-radius: 10px; background: #ded8f0; color: var(--timer-accent); appearance: none; }
.gd-timers-item progress::-moz-progress-bar { background: var(--timer-accent); border-radius: 10px; }
.gd-timers-item progress::-webkit-progress-bar { background: #ded8f0; border-radius: 10px; }
.gd-timers-item progress::-webkit-progress-value { background: var(--timer-accent); border-radius: 10px; }
.gd-timers-item-actions { display: grid; grid-template-columns: minmax(76px, 1fr) auto auto; gap: 5px; }
.gd-timers-item-actions button { padding-inline: 7px; font-size: 13px; }
.gd-timers .gd-timers-delete { color: #7e3437; }
.gd-timers-check { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; margin-top: 3px; color: var(--timer-ink); cursor: pointer; }
.gd-timers-check input { width: 19px; height: 19px; margin: 0; appearance: auto; accent-color: var(--timer-accent); }
.gd-timers-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  .gd-timers-workspace { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gd-timers .gd-tools-directory-header h1 { font-size: clamp(21px, 6vw, 30px); }
}
