[hidden]{display:none!important}
button,a,input,textarea,select{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[role=slider]:focus-visible{outline:3px solid #1677ff;outline-offset:3px}
.page-tabs{display:flex;gap:6px;padding:0 0 16px}.page-tabs a{flex:1;text-align:center;padding:11px 6px;border-radius:12px;color:#637083;text-decoration:none;font-size:14px;font-weight:650}.page-tabs .is-active{background:#e4efff;color:#1263c9}
.category{min-height:88px;padding:8px 5px;gap:5px}.category-icon{width:35px;height:35px;border-radius:11px}.category-icon svg{width:23px;height:23px}.category.tone-green{grid-column:1/-1;min-height:48px;flex-direction:row;gap:12px}.tone-green .category-icon{background:#e6f6ec;color:#198c54}.category.tone-green strong{width:auto;font-size:14px}.category.tone-green>i{top:16px;right:15px}
.studio-picker{margin:15px 0 0;padding:0;border:0}.studio-picker legend{font-size:13px;font-weight:650;margin-bottom:7px}.studio-picker>div{display:flex;gap:6px}.studio-picker button{flex:1;min-height:42px;border:1px solid #e0e5ed;border-radius:11px;background:#fff;font-size:12px;color:#586477}.studio-picker .is-selected{background:#edf5ff;border-color:#80b6ff;color:#1263c9;font-weight:700}
.timer-panel{padding-top:17px}.main-action{width:128px;height:128px;border-width:8px}.timer{font-size:43px;margin-bottom:10px}.active-detail{line-height:1.5}
.block-panel{padding:15px;margin-top:16px}.duration-header{display:flex;align-items:center;gap:8px;margin-top:16px}.duration-header strong{margin-right:auto;font-size:19px;letter-spacing:-.02em}.duration-header button{min-height:40px;padding:8px 10px;border:0;border-radius:9px;background:#f0f3f8;color:#41618b;font-size:12px}.duration-header button:disabled{opacity:.4}
.duration-chips{grid-template-columns:repeat(5,1fr);gap:5px;margin-top:7px}.duration-chips button{height:46px;padding:0 2px;font-size:11px;background:#edf5ff;border-color:#d2e6ff;color:#1465cd}.duration-chips button:active{background:#cde3ff}.time-hint{font-size:12px;color:#6f7c8e;line-height:1.5;margin:8px 0}.timebar{height:12px;position:relative;background:repeating-linear-gradient(90deg,#eaf0f7 0,#eaf0f7 calc(4.166% - 1px),#cbd6e6 calc(4.166% - 1px),#cbd6e6 4.166%);border-radius:6px;overflow:hidden;margin-top:15px}.timebar span{position:absolute;top:0;bottom:0;background:#348afc;border-radius:4px}.bar-labels{display:flex;justify-content:space-between;margin:5px 0;color:#8492a3;font-size:10px;font-variant-numeric:tabular-nums}
.wheel-row{display:flex;align-items:center;justify-content:space-around;gap:10px;margin-top:12px}.wheel-row>button{border:0;border-radius:12px;background:#edf4ff;color:#2365ba;padding:12px 9px;font-weight:650;font-size:12px;min-height:44px}.time-wheel{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:118px;height:118px;flex:none;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 10px #eaf0f8,0 5px 15px #18355a12;touch-action:none;user-select:none;cursor:grab}.time-wheel:before{content:'';position:absolute;inset:3px;border-radius:50%;background:repeating-conic-gradient(#c2d1e5 0 2deg,transparent 2deg 15deg);mask:radial-gradient(transparent 60%,#000 61%);-webkit-mask:radial-gradient(transparent 60%,#000 61%)}.wheel-marker{position:absolute;inset:2px;transform:rotate(var(--rotation,0deg));pointer-events:none}.wheel-marker:after{content:'';position:absolute;top:0;left:calc(50% - 4px);height:14px;width:8px;border-radius:8px;background:#1677ff}.time-wheel>span{font-size:23px;font-weight:750;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.time-wheel>small{font-size:10px;color:#8090a5;margin-top:3px}.time-wheel.is-dragging{cursor:grabbing;box-shadow:inset 0 0 0 10px #d9e9ff,0 0 0 4px #1677ff15}.wheel-help{text-align:center;font-size:11px}
.note-section{margin-top:15px}.speech-button{width:100%;display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid #bbd8ff;border-radius:13px;padding:10px 14px;background:#eaf3ff;color:#1665c8;text-align:left}.speech-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;flex:none}.speech-button strong{font-size:14px}.speech-button.is-listening{background:#ffeded;border-color:#f6adb9;color:#c42d48}.speech-button.is-listening #speechIndicator{width:9px;height:9px;border-radius:50%;background:#d93750;margin-left:auto;animation:recording 1s infinite}.speech-status{font-size:12px;color:#6b7d92;min-height:18px;margin:7px 3px}.speech-privacy{font-size:10px;line-height:1.5;color:#8490a1;margin:7px 3px}.note-wrap textarea{width:100%;font-size:16px}.sticky-book{position:sticky;bottom:0;background:#f4f6faf5;padding:10px 0 max(10px,env(safe-area-inset-bottom));z-index:4;backdrop-filter:blur(12px)}.sticky-book .book-button{margin:0}.toast{max-width:calc(100% - 24px);white-space:normal;width:max-content;text-align:center;line-height:1.45;bottom:max(82px,env(safe-area-inset-bottom))}
.extras-section,.rates-settings{background:#fff;border:1px solid #e1e6ee;border-radius:16px;padding:14px;margin:14px 0}.extras-section summary,.rates-settings summary{cursor:pointer;min-height:28px;font-size:14px;font-weight:650}.extras-section summary span{color:#98a1af;font-size:12px;font-weight:400}.extra-fields{display:grid;gap:11px;margin-top:14px}.extra-fields h3{font-size:15px;margin:8px 0 0}.extra-fields label,.rates-settings label,dialog label,.report-heading label,.report-filter label{display:grid;gap:6px;color:#647184;font-size:12px;font-weight:550}.extra-fields input,.extra-fields textarea,.rates-settings input,dialog input,dialog select,.report-heading input,.report-filter select{font-family:inherit;font-size:16px;width:100%;min-width:0;min-height:44px;background:#f9fbfd;border:1px solid #dce3ec;border-radius:10px;padding:10px;color:#172335}.extra-fields textarea{resize:vertical}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:10px 0 14px}.report-heading h2{font-size:22px;margin:0;letter-spacing:-.03em}.report-heading label{max-width:180px}.report-filter{display:flex;gap:10px;align-items:end}.report-filter label{flex:1}.report-filter button,.rates-settings button{background:#1677ff;color:white;border:0;border-radius:11px;padding:12px 16px;min-height:44px;font-family:inherit;font-weight:600}#reportStatus{color:#7d8796;font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.stats-grid>div{background:#fff;padding:16px;border:1px solid #e1e8f1;border-radius:16px;display:flex;flex-direction:column;gap:6px}.stats-grid span{font-size:12px;color:#7a8798}.stats-grid strong{font-size:23px;letter-spacing:-.035em}.stats-grid small{font-size:10px;color:#91a0b2;line-height:1.4}.stats-grid>div:last-child{background:#eaf3ff;border-color:#bcd9ff}.rates-settings form{display:grid;gap:12px;margin-top:14px}.rates-settings p{font-size:12px;color:#7a8797;line-height:1.6}.report-section{margin-top:22px}.report-section h3{font-size:16px;letter-spacing:-.02em}.summary-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:13px 0;border-bottom:1px solid #e1e7ee;font-size:12px;align-items:center}.summary-row>span:first-child{overflow-wrap:anywhere}.summary-row strong{font-size:13px}.summary-row>span:last-child{color:#5f7798}.entry-card,.mileage-card{display:flex;flex-direction:column;width:100%;text-align:left;background:#fff;border:1px solid #e1e7ef;border-radius:15px;padding:14px;margin-bottom:9px;gap:6px;color:#263449}.entry-card{cursor:pointer;font-family:inherit}.entry-card>strong{font-size:15px}.entry-card>span,.mileage-card>span{font-size:12px;color:#8792a3}.entry-card>b{color:#226bc8;font-size:14px}.entry-card p,.mileage-card p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0;line-height:1.5}.entry-card small,.mileage-card small{font-size:11px;color:#6d7e94}.empty-state{font-size:13px;color:#8a96a5}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:22px;margin:0}.dialog-heading button{border:0;border-radius:50%;background:#edf1f6;font-size:24px;width:42px;height:42px}dialog{width:min(520px,calc(100% - 20px));max-height:90dvh;overflow:auto;padding:20px;border:1px solid #e1e7ee;border-radius:24px;box-shadow:0 20px 70px #0c1e4144;color:#172335}dialog::backdrop{background:#17253f66;backdrop-filter:blur(4px)}dialog label{margin-top:12px}#metadataStatus{font-size:13px;color:#b22c3f}#editEntryTitle{font-size:13px;color:#728196}
body[data-view=history] .app,body[data-view=report] .app{max-width:1050px;width:100%}
@keyframes recording{50%{opacity:.25}}
@media(min-width:700px){.stats-grid{grid-template-columns:repeat(3,1fr)}.rates-settings form{grid-template-columns:1fr 1fr auto;align-items:end}#entryList{display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-heading label{min-width:210px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important}}
.roller-title{font-size:13px;font-weight:650;margin:17px 0 8px;color:#445a77}
.time-roller{position:relative;width:100%;height:102px;overflow:hidden;border:1px solid #c8ddf8;border-radius:16px;background:linear-gradient(90deg,#f3f7fc,#fff 35%,#fff 65%,#f3f7fc);touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab}
.roller-values{position:relative;display:flex;align-items:center;justify-content:space-around;padding:12px 8px;pointer-events:none;font-variant-numeric:tabular-nums}
.roller-values strong{font-size:32px;letter-spacing:-.04em;color:#1163ce;min-width:110px;text-align:center}
.roller-values span{font-size:15px;color:#8397b0}
.roller-ticks{position:absolute;bottom:12px;left:-180px;right:-180px;height:19px;background:repeating-linear-gradient(90deg,#a7bbd5 0 1px,transparent 1px 15px);background-position:var(--tick-offset,0px) 0;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent)}
.roller-marker{position:absolute;bottom:9px;left:calc(50% - 2px);width:4px;height:28px;border-radius:3px;background:#1677ff;pointer-events:none}
.time-roller.is-dragging{cursor:grabbing;background:#edf5ff;border-color:#1677ff;box-shadow:0 0 0 3px #1677ff18}
.roller-actions{justify-content:space-between;margin-top:8px}.roller-actions>span{color:#7087a4;font-size:12px}
.update-notice{padding:12px;background:#e2efff;border-radius:12px;font-size:13px;line-height:1.6}.update-notice button{min-height:44px;border:0;border-radius:8px;background:#1677ff;color:white;padding:8px 12px;font-family:inherit}
