:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e9edf4;background:#10141d}*{box-sizing:border-box}body{margin:0}.app{max-width:1240px;margin:auto;padding:30px 30px 24px}.topbar,.panel-head,.records-head,.view-options{display:flex;align-items:center;justify-content:space-between}.topbar{margin-bottom:27px}.topbar h1{font-size:30px;margin:0 0 4px;letter-spacing:-.03em}.topbar p,.hint,footer{color:#9aa5b6;margin:0}.offline{border:1px solid #344051;border-radius:99px;padding:7px 13px;color:#a5b7c7;font-size:13px}.layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px}.controls,.timer-panel,.records{background:#1a202b;border:1px solid #2e394a;border-radius:18px}.controls{padding:25px}.controls h2,.records h2{font-size:18px;margin:0 0 24px}.controls label{display:block;font-size:13px;font-weight:650;color:#b9c5d4;margin:0 0 18px}.controls input:not([type=checkbox]),select{display:block;width:100%;margin-top:8px;padding:11px 12px;border-radius:9px;border:1px solid #3b485c;background:#111722;color:#fff;font:inherit;font-size:15px;outline:none}.controls input:focus,select:focus{border-color:#84b7e9}.controls input:disabled,select:disabled{opacity:.5}.thresholds{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.thresholds label{margin-bottom:14px}.thresholds small{display:block;font-weight:400;color:#8191a5;margin-top:3px}.thresholds input{text-align:center;padding:11px 3px!important}.check{display:flex!important;align-items:center;gap:8px;font-weight:400!important}.check input{accent-color:#67c99b}.hint{font-size:12px;line-height:1.55;margin-top:12px}.error{color:#ff9f9f;min-height:1em;font-size:13px;margin:0}.timer-panel{padding:20px;min-width:0}.panel-head{font-size:13px;color:#aab6c5;margin:2px 2px 16px}.display{height:390px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;transition:background .2s ease,color .2s ease;background:#263140;color:#fff;text-align:center;padding:15px}.display.green{background:#188447}.display.yellow{background:#f3c631;color:#1d2430}.display.red{background:#cb3039}.display-title{font-size:19px;font-weight:650;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.digits{font-size:clamp(78px,12vw,150px);font-variant-numeric:tabular-nums;letter-spacing:-.07em;font-weight:800;line-height:1.25}.display-state{font-size:17px;font-weight:600}.display.pure .display-title,.display.pure .digits,.display.pure .display-state{visibility:hidden}.actions{display:flex;gap:9px;margin-top:18px}.actions button,.view-options button,.records button{border:1px solid #475368;background:#263140;color:#e9edf4;border-radius:9px;padding:11px 14px;font:inherit;font-weight:650;cursor:pointer}.actions .primary{background:#dbeaff;color:#182635;border-color:#dbeaff}.actions button:disabled{opacity:.38;cursor:not-allowed}.view-options{gap:8px;justify-content:flex-start;margin-top:16px;flex-wrap:wrap;font-size:13px;color:#aab6c5}.view-options span{margin-right:auto}.view-options button{padding:8px 10px;font-size:12px}.view-options .selected{border-color:#a8c9ed;color:#dcecff}.records{padding:22px 25px;margin-top:20px}.records h2{margin:0}.records button{padding:8px 12px;font-size:12px}.records-list{margin-top:15px;color:#9aa5b6;font-size:14px}.record{display:flex;justify-content:space-between;border-top:1px solid #2e394a;padding:12px 0;gap:12px}.record strong{color:#e9edf4}.record small{display:block;margin-top:4px}footer{font-size:12px;padding-top:20px}@media(max-width:850px){.layout{grid-template-columns:1fr}.display{height:320px}}@media(max-width:520px){.app{padding:18px 14px}.topbar h1{font-size:24px}.offline{display:none}.controls,.timer-panel,.records{padding:18px}.actions{flex-wrap:wrap}.actions button{flex:1 1 42%}.view-options span{width:100%}.display{height:290px}.digits{font-size:76px}}:fullscreen{border:0;border-radius:0}.timer-panel:fullscreen{display:flex;flex-direction:column;background:#10141d;padding:14px}.timer-panel:fullscreen .panel-head,.timer-panel:fullscreen .actions,.timer-panel:fullscreen .view-options{display:none}.timer-panel:fullscreen .display{flex:1;border-radius:0}.timer-panel:fullscreen .digits{font-size:min(26vw,36vh)}
