:root{--ink:#22352d;--muted:#68766e;--green:#23735c;--paper:#f5f5ef;--line:#e1e5dc;--writing:#23735c;--reading:#507faa;--computer:#8c72a3;--play:#cb9552;--walking:#8b9e6a;--desk_task:#6f9485;--other:#8b928d;--unknown:#ccd0c9;font-family:"Noto Sans SC","Source Han Sans SC","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-size:15px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select,input[type=date]{min-height:44px}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:8px 14px}button:hover{border-color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #83bda4;outline-offset:3px}button:disabled{opacity:.45;cursor:default}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(25px,4vw,36px);font-weight:650;letter-spacing:-1px;line-height:1.45;margin-bottom:9px}h2{font-size:21px;letter-spacing:-.5px;margin-bottom:0}h3{font-size:16px}small{font-size:12px}.subtle,.footnote{color:var(--muted);line-height:1.8}.footnote{font-size:12px;margin:24px 0 0}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--green);font-weight:700;margin-bottom:8px}.topbar{max-width:1120px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:25px 28px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:650;font-size:19px}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:2px;font-weight:400;margin-top:2px}.brand-mark{width:38px;height:40px;display:grid;place-items:center;border:1px solid var(--green);border-radius:5px 12px 5px 5px;background:#e5eee6;font-size:22px;color:var(--green)}main{max-width:1064px;margin:auto;padding:35px 0 20px}.heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.heading .subtle{font-size:12px;margin-bottom:0}.date-switch{display:flex;gap:5px;align-items:center;background:#fff;padding:4px;border:1px solid var(--line);border-radius:10px}.date-switch button{border:none;background:transparent;font-size:24px;padding:0 10px}.date-switch input{border:none;background:transparent;color:var(--ink);padding:5px;font-size:13px;max-width:153px}.status{font-size:12px;color:var(--muted);padding:16px 0 18px}.status::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#8aad87;margin:0 7px 2px 0}.people{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:29px}.person{border:1px solid var(--line);background:white;border-radius:12px;padding:22px;position:relative;text-align:left;min-width:0}.person.selected{outline:2px solid var(--green);outline-offset:1px}.person-name{font-size:14px;font-weight:600;display:flex;gap:8px;align-items:center;overflow:hidden;text-overflow:ellipsis}.dot{width:8px;height:8px;border-radius:50%;background:var(--color,var(--green));flex-shrink:0}.duration{font-family:"SFMono-Regular","Cascadia Mono",monospace;font-size:38px;letter-spacing:-2px;margin:18px 0 8px;font-weight:500}.duration span{font-family:inherit;color:var(--muted);font-size:12px;letter-spacing:0;margin-left:8px}.person-note{font-size:11px;color:var(--muted);line-height:1.7;margin:0}.mini-bar{height:4px;background:#edf0e9;border-radius:4px;display:flex;overflow:hidden;margin-top:18px}.mini-bar i{height:100%;display:block}.tabs{display:flex;gap:32px;border-bottom:1px solid var(--line)}.tabs button{border:0;background:transparent;padding:10px 2px 14px;border-radius:0;color:var(--muted);font-size:14px;position:relative}.tabs button.active{color:var(--green);font-weight:600}.tabs button.active::after{content:"";position:absolute;bottom:-1px;height:3px;background:var(--green);left:0;right:0}.filters{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:21px 0}.chips{display:flex;gap:7px;overflow:auto}.chips button{white-space:nowrap;min-height:34px;padding:5px 12px;font-size:12px;border-radius:18px;background:transparent}.chips button.active{background:var(--green);border-color:var(--green);color:white}.select-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);white-space:nowrap}select{border:1px solid var(--line);background:white;border-radius:7px;padding:7px;color:var(--ink);font-size:13px}.panel{background:white;border:1px solid var(--line);padding:27px;border-radius:12px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.panel-title .subtle{font-size:11px}.quiet{background:transparent;font-size:12px}.breakdown-row{display:grid;grid-template-columns:150px 1fr 92px;gap:17px;align-items:center;margin:21px 0;font-size:13px}.breakdown-label{display:flex;gap:9px;align-items:center}.bar-track{height:12px;background:#f1f3ee;border-radius:4px;overflow:hidden}.bar-fill{height:100%;min-width:0;background:var(--color);border-radius:4px}.bar-value{text-align:right;font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px}.timeline-scroll{overflow:auto;padding-bottom:12px}.lane-wrap{min-width:680px}.axis{display:flex;justify-content:space-between;margin-left:105px;margin-bottom:14px;color:var(--muted);font-size:10px}.lane{display:flex;align-items:center;margin-bottom:22px}.lane-name{width:105px;font-size:12px;flex-shrink:0}.lane svg{height:36px;flex:1;background:#f3f4ef;border-radius:5px;overflow:visible}.lane rect{cursor:pointer;stroke:white;stroke-width:.5}.lane rect:hover{opacity:.75}.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:10px;color:var(--muted)}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:9px;height:9px;border-radius:2px;background:var(--color)}.event{display:grid;grid-template-columns:86px 1fr auto;gap:18px;padding:19px 0;border-bottom:1px solid var(--line);align-items:center}.event:last-child{border-bottom:0}.event-time{font-size:13px;font-variant-numeric:tabular-nums}.event-time small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.event h3{font-size:14px;margin-bottom:6px;font-weight:500}.event-meta{font-size:11px;color:var(--muted);display:flex;flex-wrap:wrap;gap:9px}.pill{display:inline-flex;font-size:10px;border:1px solid var(--line);border-radius:4px;padding:1px 5px}.event button{font-size:12px;white-space:nowrap}.empty{text-align:center;padding:48px 15px 42px;color:var(--muted);font-size:13px;line-height:2}.empty strong{display:block;font-size:18px;color:var(--ink);font-weight:500;margin-bottom:8px}.primary{background:var(--green);border-color:var(--green);color:white}.checkbox{font-size:12px;display:flex;align-items:center;gap:5px;color:var(--muted)}input[type=checkbox]{accent-color:var(--green);width:16px;height:16px}footer{font-size:10px;color:var(--muted);text-align:center;padding:25px 0;line-height:2}footer span{margin-left:10px}.notice{padding:12px 16px;background:#fff7e8;border:1px solid #e7d6ad;color:#796339;border-radius:8px;margin-bottom:18px;font-size:13px;line-height:1.8}.notice.error{background:#fbede8;color:#864d3c}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.close{font-size:26px;background:transparent;border:none;padding:0 12px}dialog{border:1px solid var(--line);border-radius:14px;padding:24px;width:min(620px,calc(100vw - 24px));max-height:90dvh;color:var(--ink);background:#fff}dialog::backdrop{background:#152b235e;backdrop-filter:blur(3px)}dialog video{width:100%;max-height:360px;aspect-ratio:16/9;background:#17251e;border-radius:8px}dialog .subtle{font-size:12px}.evidence{font-size:13px;line-height:1.9;background:var(--paper);padding:13px;border-radius:7px;margin-top:15px}form label{display:block;font-size:12px;color:var(--muted);margin-bottom:14px}form input:not([type=checkbox]),form select{display:block;width:100%;border:1px solid var(--line);padding:10px;border-radius:7px;background:#fff;margin-top:5px;min-height:44px}form h3{margin-top:25px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.child-setting{border-bottom:1px solid var(--line);padding:15px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}#definitionOptions label{display:flex;gap:10px;align-items:center;margin:18px 0;font-size:14px}[hidden]{display:none!important}
@media(max-width:1120px){main{padding:28px 24px 15px}.topbar{padding:20px 24px}}@media(max-width:600px){.topbar{padding:18px 18px 15px}.brand{font-size:17px}.brand-mark{width:33px;height:36px;font-size:19px}main{padding:25px 16px 10px}.heading{align-items:flex-start;flex-direction:column;gap:17px}.heading h1{font-size:26px;letter-spacing:-.6px}.date-switch{width:100%;justify-content:space-between}.date-switch input{font-size:14px;max-width:180px}.status{font-size:10px;padding:14px 0}.people{gap:8px;margin-bottom:20px}.person{padding:14px 11px;border-radius:9px}.person-name{font-size:12px;gap:5px}.duration{font-size:29px;margin:15px 0 8px;letter-spacing:-1px}.duration span{font-size:10px;margin-left:4px}.person-note{font-size:9px}.mini-bar{margin-top:12px;height:3px}.tabs{gap:29px}.tabs button{font-size:13px}.filters{align-items:flex-start;flex-direction:column;gap:12px;margin:16px 0}.chips{max-width:100%;width:100%;padding-bottom:3px}.chips button{min-height:37px}.select-label{align-self:flex-end}.select-label select{min-height:37px}.panel{padding:21px 17px;border-radius:10px}.panel-title{margin-bottom:18px;gap:10px}.panel-title h2{font-size:18px}.eyebrow{font-size:9px;letter-spacing:1.3px}.breakdown-row{grid-template-columns:107px 1fr 64px;gap:10px;font-size:11px;margin:21px 0}.bar-value{font-size:10px}.bar-track{height:9px}.footnote{font-size:10px}.event{grid-template-columns:63px 1fr;gap:10px;padding:17px 0}.event button{grid-column:2;justify-self:start;min-height:35px;padding:6px 11px;margin-top:0}.event-time{font-size:12px;align-self:start;padding-top:3px}.event h3{font-size:13px}.event-meta{gap:5px;font-size:10px}.child-setting{grid-template-columns:1fr}.panel-title .checkbox{font-size:10px}dialog{padding:19px;max-height:94dvh}.empty{padding:36px 5px}footer{font-size:9px}.select-label{font-size:11px}}
@media(prefers-reduced-motion:no-preference){button,.person{transition:border-color .15s,background-color .15s}.bar-fill{transition:width .25s}}
.account-actions{display:flex;align-items:center;gap:8px}.login-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border-radius:8px;background:var(--green);color:white;text-decoration:none;font-size:13px}
