.clock-mode-tabs,.clock-global,.timer-buttons,.elapsed-fields{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.clock-mode-tabs button{background:#fffaf5;color:#66485b;border:1px solid #b797a7;border-radius:10px;padding:13px 20px;min-height:48px}.clock-mode-tabs [aria-selected=true]{background:#805d77;color:white}.clock-global label,.elapsed-fields label{display:flex;gap:8px;align-items:center;margin:0}.clock-global input[type=checkbox],.elapsed-fields input[type=checkbox]{width:20px;height:20px}.clock-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.clock-card{padding:22px;background:#fffdf7;border:1px solid #d6c4c9;border-radius:20px;text-align:center}.clock-card select,.clock-card input,.timer-box select,.timer-box input,.elapsed-fields input{font:inherit;padding:10px;border:1px solid #b89da9;border-radius:8px;color:#503b48;background:white}.clock-card select{width:100%;margin-bottom:16px}.clock-face{display:block;width:min(100%,340px);margin:12px auto;touch-action:none;user-select:none}.clock-face [role=slider]{cursor:grab;outline:none}.clock-face [role=slider]:focus-visible line:first-child{stroke:#b26e2c;stroke-width:15}.clock-digital{font:600 clamp(32px,5vw,58px)/1.5 monospace;background:#38433f;color:#f6f1cf;padding:25px 12px;border:8px solid #cab8be;border-radius:20px;margin:40px 0;letter-spacing:2px}.clock-words{font-size:20px;font-weight:600;min-height:30px}.clock-adjust{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin:14px 0}.clock-adjust button{font:inherit;font-size:15px;min-height:44px;padding:8px 12px}.clock-card label{display:block}.clock-card input[type=time]{max-width:100%}#clockHelp{line-height:1.6}.timer-box{max-width:610px;margin:28px auto;text-align:center;background:#fffaf4;padding:28px;border:1px solid #d1b9c5;border-radius:22px}.timer-box output{display:block;font:600 clamp(32px,7vw,64px)/1.4 monospace;letter-spacing:3px;color:#e6f0c8;background:#39453e;border:9px solid #c3adb9;border-radius:20px;margin:32px 0;padding:22px 10px}.timer-buttons{justify-content:center}.timer-box input{width:100px}#timerDuration:not([hidden]){display:flex;gap:12px;flex-wrap:wrap;justify-content:center;align-items:flex-end;margin:20px 0}.timer-box label{display:block}.elapsed-fields{padding:20px;background:#efe4e7;border-radius:14px}.elapsed-fields label{flex-wrap:wrap}#elapsedResult{font-size:24px;font-weight:700;text-align:center;margin:25px 0}#elapsedLine{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:20px;background:#f7f0df;border-radius:14px}.elapsed-step{padding:12px 18px;background:white;border:1px solid #bba4ab;border-radius:10px;font-weight:600}button:focus-visible{outline:3px solid #345178;outline-offset:3px}@media(max-width:650px){.clock-pair{grid-template-columns:1fr}.clock-card{padding:16px}.clock-global{align-items:flex-start}.timer-box{padding:16px}.timer-box output{font-size:36px;letter-spacing:0}.clock-mode-tabs{gap:7px}.clock-mode-tabs button{padding:10px;font-size:15px}}
.clock-adjust[hidden]{display:none}
.clock-guide-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.clock-guide-toolbar button{min-height:44px;padding:10px 15px}#clockWork{position:relative;min-height:540px}#clockNotesOverlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5;overflow:visible}#clockNotesOverlay foreignObject,#clockNotesOverlay [data-note-resize]{pointer-events:all}.clock-card details{text-align:left;background:#f4e9ec;padding:10px 14px;border-radius:10px;margin-bottom:12px}.clock-card details label{display:flex;align-items:center;gap:8px;margin:10px 0}.clock-card details select{width:auto;margin:0;padding:6px}.clock-card details input{width:18px;height:18px}.clock-digital-edit{display:flex;align-items:center;justify-content:center;gap:5px;background:#38433f;border:7px solid #cab8be;border-radius:18px;margin:32px 0;padding:20px 10px;color:#f6f1cf;font:600 35px monospace}.clock-digital-edit input{width:66px;min-width:0;font:inherit;padding:4px;border:1px solid #7c8a7f;border-radius:4px;text-align:center;background:#38433f;color:#f6f1cf;appearance:textfield}.clock-digital-edit input::-webkit-inner-spin-button{appearance:none}.clock-digital-edit select{width:66px;font:16px system-ui;padding:4px;margin:0;background:#f4eed9}.timer-readout{font:600 clamp(28px,4vw,45px) monospace;background:#38433f;color:#f6f1cf;padding:24px 10px;border:7px solid #cab8be;border-radius:18px;margin:50px 0}.elapsed-model{max-width:520px;margin:auto;text-align:center}.elapsed-model .clock-face{width:100%;max-width:420px}.elapsed-time-entry{display:flex;justify-content:center;gap:8px;align-items:center}.elapsed-time-entry input{font:inherit;padding:10px;border:1px solid #aa899e;border-radius:8px}.clock-words button{font-size:14px;display:block;margin:10px auto}.clock-options-title{font-weight:600}.clock-current-label{font-size:17px;font-weight:600;display:block;text-align:center}.clock-note-empty .tile-note-body{border-color:transparent;background:transparent}.clock-note-empty .tile-note-head,.clock-note-empty textarea,.clock-note-empty .tile-note-resize{opacity:0}.clock-note-empty:hover .tile-note-head,.clock-note-empty:focus-within .tile-note-head,.clock-note-empty:focus-within textarea{opacity:1}@media(max-width:650px){.clock-digital-edit{font-size:30px;padding:16px 6px}.clock-digital-edit input{width:57px}.clock-digital-edit select{width:58px;font-size:14px}.clock-guide-toolbar button{font-size:14px;padding:9px}.timer-readout{font-size:35px}}
