/* Scoped Task 052 time controls. The native thumb and marker use the same 20px geometry. */
#timeLegacy052[hidden]{display:none!important}
#timeEditor052{--time-ink:#243746;color:var(--time-ink);font-size:13px;line-height:1.45;min-width:0}
#timeEditor052 *{box-sizing:border-box}
#timeEditor052 p{margin:5px 0}
#timeEditor052 button,#timeEditor052 input,#timeEditor052 select{font:inherit}
#timeEditor052 button{min-height:36px;border:1px solid #bccbd5;border-radius:7px;background:#fff;color:#243746;padding:5px 8px;cursor:pointer;min-width:0}
#timeEditor052 button:disabled{opacity:.5;cursor:default}
#timeEditor052 :focus-visible{outline:3px solid #1b6bce;outline-offset:2px}
#timeEditor052 .time-top052 label{display:flex;align-items:center;gap:8px;margin:0}
#timePageSelect052{display:block;flex:1;min-width:0;width:100%;height:38px;border:1px solid #afbec9;border-radius:7px;background:white;color:#243746}
#timeEditor052 .time-tabs052{display:flex;gap:5px;margin:7px 0 4px}
#timeEditor052 .time-tabs052 button{flex:1}
#timeEditor052 .time-tabs052 [aria-pressed=true]{background:#e6f0fe;border-color:#2879cf;color:#134d91;font-weight:700}
#timeEditor052 .time-own052{display:flex;gap:6px;align-items:center;margin:4px 0}
#timeEditor052 .time-own052[hidden]{display:none}
#timeEditor052 input[type=checkbox]{width:19px;height:19px;margin:0}
#timeEditor052 .time-scope-note052{font-size:12px;min-height:18px}
#timeEditor052 .time-summary052{font-weight:700;font-variant-numeric:tabular-nums}
#timeEditor052 .time-bar052{position:relative;display:flex;height:27px;margin:9px 8px 3px;border-radius:5px;background:#e8edf1;isolation:isolate}
#timeEditor052 .time-bar052>span{height:100%;flex:none}
#timeEditor052 .time-boundary052{position:absolute;top:-5px;transform:translateX(-50%);width:12px;min-height:37px;height:37px;border:0;border-left:2px solid #fff;border-right:2px solid #fff;border-radius:3px;padding:0;background:#183d5b80;touch-action:none;z-index:1}
#timeEditor052 .time-legend052{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:4px 0}
#timeEditor052 .time-legend052 button{font-size:11px;border-top:4px solid var(--phase);padding:3px 1px;min-height:44px;touch-action:none;font-variant-numeric:tabular-nums}
#timeEditor052 .time-hint052{font-size:11px;color:#506272}
#timeEditor052 .time-row052{margin:6px 0 8px;padding:0;border:0;min-width:0}
#timeEditor052 .time-row-head052{display:flex;align-items:center;gap:5px;height:29px}
#timeEditor052 .time-row-head052 label{flex:1;font-weight:700;color:var(--phase);margin:0}
#timeEditor052 .time-number052{width:65px;height:29px;border:1px solid #b3c1cd;border-radius:5px;padding:2px 5px;text-align:right;background:#fff;color:#233b50;font-variant-numeric:tabular-nums}
#timeEditor052 .time-reset052{height:29px;min-height:29px;width:30px;padding:0;font-size:20px}
#timeEditor052 .time-axis052{height:27px;position:relative;min-width:0}
#timeEditor052 input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;height:27px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;direction:ltr;cursor:pointer;touch-action:pan-y}
#timeEditor052 input[type=range][dir=rtl]{direction:rtl}
#timeEditor052 input[type=range]::-webkit-slider-runnable-track{height:6px;background:#dce5eb;border-radius:3px;border:0}
#timeEditor052 input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:0;border-radius:50%;background:var(--phase);margin-top:-7px;box-shadow:none}
#timeEditor052 input[type=range]::-moz-range-track{height:6px;background:#dce5eb;border:0;border-radius:3px}
#timeEditor052 input[type=range]::-moz-range-thumb{width:20px;height:20px;border:0;border-radius:50%;background:var(--phase)}
#timeEditor052 .time-standard052{position:absolute;top:23px;width:2px;height:7px;transform:translateX(-50%);background:#152b3c;pointer-events:none}
#timeEditor052 .time-range-caption052{display:flex;justify-content:space-between;font-size:10px;line-height:15px;padding-top:2px;color:#526575}
#timeEditor052 .time-tools052,#timeEditor052 .time-actions052{display:flex;gap:4px;margin-top:6px}
#timeEditor052 .time-tools052 button{font-size:11px;flex:1;padding:4px 2px}
#timeEditor052 .time-actions052 button{flex:1}
#timeOK052{background:#205eaa!important;color:white!important;border-color:#205eaa!important}
#timeEditor052 .time-warning052{background:#fff3d6;color:#704605;padding:7px;border-radius:5px;font-size:12px}
#timeEditor052 .time-more052{margin:8px 0 0;padding:0;border:0;background:transparent;font-size:12px}
#timeEditor052 .time-more052 summary{padding:5px 0;margin:0;min-height:28px;font-size:12px}
#timeEditor052 .time-more052 label{display:flex;align-items:center;gap:5px;margin:5px 0}
#timeMinTyping052{width:70px;max-width:70px;border:1px solid #b3c1cd;padding:3px;background:white;color:#243746}
#jsonHelp052{max-width:52em;margin:12px 0 8px}
@media(min-width:800px){#timeEditor052{max-width:680px}#timeEditor052 .time-legend052 button{font-size:12px}}
