.growth-routine{min-width:0;margin-bottom:2rem}.routine-topline{justify-content:space-between;align-items:center;gap:1.25rem;margin-bottom:1.25rem;display:flex}.routine-topline h2{letter-spacing:-.045em;margin:0 0 .4rem;font-size:clamp(1.55rem,3vw,2rem);font-weight:500}.routine-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.routine-caption{color:var(--muted-foreground);font-size:.7rem;line-height:1.65}.routine-start{justify-content:space-between;align-items:center;gap:1.5rem;margin:0;padding:0;display:flex}.routine-start h3{font-size:1rem;font-weight:500}.routine-start p{color:var(--muted-foreground);max-width:42rem;margin-top:.5rem;font-size:.8rem;line-height:1.7}.routine-today{margin-bottom:1.25rem}.routine-panel-header,.routine-title-progress{justify-content:space-between;align-items:center;gap:1rem;display:flex}.routine-title-progress{flex-wrap:wrap;justify-content:flex-start;gap:.75rem}.routine-title-progress>span{font-family:var(--font-mono);color:var(--muted-foreground);font-size:.65rem}.routine-today-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;gap:2rem;display:grid}.routine-task{border-top:1px solid var(--border);padding:.85rem 0}.routine-task:first-child{border-top:0;padding-top:0}.routine-task-title{align-items:center;gap:.75rem;display:flex}.routine-task-title>div{flex:1;min-width:0}.routine-task-title h3{font-size:.9rem;font-weight:500}.routine-task-title p{color:var(--muted-foreground);font-size:.68rem;line-height:1.8}.routine-task-indicator{width:1.3rem;color:var(--brand);flex-shrink:0}.routine-task-indicator>span{border:1px solid var(--border);width:15px;height:15px;display:block}.routine-task-status{font-family:var(--font-mono);color:var(--muted-foreground);text-transform:capitalize;flex-shrink:0;font-size:.62rem}.is-done h3{color:var(--muted-foreground)}.routine-task-details{margin:.55rem 0 0 2rem;font-size:.78rem;line-height:1.8}.routine-task-details p{margin-top:.65rem}.routine-task-details li{padding:.4rem 0}.routine-task-details li span{color:var(--muted-foreground)}.routine-task-details summary,.routine-data summary,.routine-metrics-footer summary,.routine-history summary,.routine-next-details summary{cursor:pointer;color:var(--muted-foreground);outline-offset:4px;font-size:.7rem}.routine-record{gap:.7rem;margin-top:.8rem;display:grid}.routine-record label,.routine-edit-fields label,.routine-field,.routine-metric-form label{gap:.35rem;font-size:.75rem;line-height:1.5;display:grid}.routine-select{border:1px solid var(--border);background:var(--card);color:var(--foreground);outline-offset:3px;min-width:0;max-width:100%;padding:.45rem .65rem;font-family:inherit;font-size:.8rem}.routine-select option{background:var(--card);color:var(--foreground)}.routine-text-action{color:var(--muted-foreground);cursor:pointer;align-items:center;gap:.4rem;font-size:.7rem;display:flex}.routine-text-action:disabled{opacity:.5;cursor:default}.routine-next{border-left:1px solid var(--border);min-width:0;padding-left:1.5rem}.routine-next h3{margin:.9rem 0 .5rem;font-size:.75rem;font-weight:500}.routine-runway{grid-template-columns:1fr auto;gap:.2rem .8rem;font-size:.75rem;display:grid}.routine-runway>span{color:var(--muted-foreground)}.routine-runway strong{font-family:var(--font-mono);font-size:.75rem;font-weight:400}.routine-runway p{color:var(--muted-foreground);grid-column:1/-1;font-size:.65rem}.routine-upcoming li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:start;gap:.75rem;padding:.5rem 0;font-size:.72rem;display:flex}.routine-upcoming time{font-family:var(--font-mono);color:var(--muted-foreground);flex-shrink:0;font-size:.6rem}.routine-next-details{margin-top:.6rem}.routine-next-details .routine-upcoming{max-height:16rem;margin-top:.7rem;overflow-y:auto}.routine-overview-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.25rem;display:grid}.routine-overview-grid>div{min-width:0}.routine-momentum-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.routine-momentum-stats span{color:var(--muted-foreground);font-size:.65rem}.routine-momentum-stats strong{font-size:1.65rem;font-weight:500;line-height:1.65;display:block}.routine-momentum-stats small{color:var(--muted-foreground);font-size:.68rem;font-weight:400}.routine-calendar-scroll{gap:.65rem;max-width:100%;padding:.5rem .2rem .6rem;display:flex;overflow-x:auto}.routine-day-labels{font-family:var(--font-mono);color:var(--muted-foreground);flex-direction:column;flex-shrink:0;justify-content:space-around;font-size:.55rem;display:flex}.routine-cells{flex-shrink:0;grid-template-rows:repeat(7,18px);grid-auto-columns:18px;grid-auto-flow:column;gap:5px;width:max-content;display:grid}.routine-cells li{width:18px;height:18px}.routine-cell{cursor:pointer;outline-offset:2px;border:1px solid #0000;width:100%;height:100%;display:block}.routine-cell.selected{outline:2px solid var(--foreground)}.level-none{border-color:var(--border);background:0 0}.level-0{background:var(--muted)}.level-1{background:#4a1824}.level-2{background:#8d1636}.level-3{background:#c91842}.level-4{background:#ff003d}.routine-calendar-footer{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;gap:.5rem;min-height:1.2rem;margin-top:.25rem;font-size:.62rem;display:flex}.routine-calendar-footer>span{align-items:center;gap:4px;display:flex}.routine-calendar-footer i{width:8px;height:8px;display:block}.routine-milestone{border-top:1px solid var(--border);margin-top:1rem;padding-top:1rem}.routine-milestone-heading{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.routine-milestone h3{font-size:.85rem;font-weight:500}.routine-milestone p{color:var(--muted-foreground);font-size:.7rem;line-height:1.65}.routine-milestone-heading p{font-family:var(--font-mono);margin-top:.25rem;font-size:.65rem}.routine-milestone progress{appearance:none;width:100%;height:4px;margin:.65rem 0;display:block}.routine-milestone progress::-webkit-progress-bar{background:var(--muted)}.routine-milestone progress::-webkit-progress-value{background:var(--brand)}.routine-milestone progress::-moz-progress-bar{background:var(--brand)}.routine-history,.routine-weekly{margin-top:1rem}.routine-weekly>.routine-caption{margin-bottom:.7rem}.routine-history>.routine-caption{margin-top:.8rem}.routine-results [data-slot=tabs-list]{margin-bottom:1rem}.routine-results [data-slot=tabs-trigger]{padding:.5rem .7rem;font-size:.75rem}.routine-results [data-slot=tabs-trigger][data-active]{border-bottom-color:var(--brand)}.routine-result-top{justify-content:space-between;align-items:start;gap:1rem;display:flex}.routine-result-value{font-size:1.8rem;font-weight:500;line-height:1.5;display:block}.routine-result-top h3{margin:.25rem 0 .5rem;font-size:1rem;font-weight:500}.routine-result-top>.routine-select{max-width:55%;font-size:.75rem}.routine-result-definition{color:var(--muted-foreground);margin:.8rem 0;font-size:.72rem;line-height:1.6}.routine-results [role=img]+.routine-caption{margin-top:.6rem}.routine-empty-chart{border-bottom:1px solid var(--border);height:160px;color:var(--muted-foreground);justify-content:center;align-items:center;display:flex}.routine-empty-chart p{text-align:center;max-width:22rem;padding:1rem;font-size:.75rem;line-height:1.7}.routine-no-estimate{flex-direction:column;justify-content:center;min-height:180px;padding:1rem 0;display:flex}.routine-no-estimate h3{font-size:1rem;font-weight:500}.routine-no-estimate p{color:var(--muted-foreground);margin-top:.7rem;font-size:.8rem;line-height:1.7}.routine-data{margin-top:.8rem;font-size:.65rem;overflow:auto}.routine-data table{text-align:left;border-collapse:collapse;white-space:nowrap;width:100%;margin-top:.7rem}.routine-data th,.routine-data td{border-bottom:1px solid var(--border);padding:.4rem .5rem}.routine-results-tools{border-top:1px solid var(--border);margin-top:1rem;padding-top:.75rem}.routine-metrics-footer{color:var(--muted-foreground);font-size:.62rem;line-height:1.8}.routine-metrics-footer>p:first-of-type{margin-top:.6rem}.routine-notice{border:1px solid var(--border);margin-bottom:1rem;padding:1rem;font-size:.875rem}.routine-editor{background:var(--card);width:min(720px,100%);max-height:calc(100dvh - 2rem);color:var(--foreground);border:1px solid var(--border);outline:none;padding:1.5rem;overflow-y:auto}.routine-enable{align-items:center;gap:.7rem;margin:1rem 0;font-size:.875rem;display:flex}.routine-enable input[type=checkbox]{accent-color:var(--brand);flex-shrink:0;width:16px;height:16px}.routine-edit-habit{border-top:1px solid var(--border);padding:1rem 0}.routine-edit-habit>.routine-enable{margin:0 0 1rem}.routine-edit-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-bottom:.8rem;display:grid}.routine-editor-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:.7rem;padding-top:1rem;display:flex}.routine-field{margin-top:.7rem}.routine-metric-form{gap:.8rem;max-width:32rem;margin:1rem 0;display:grid}.routine-metric-form button{justify-self:start}@media (max-width:900px){.routine-overview-grid{grid-template-columns:1fr}.routine-today-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:1.25rem}.routine-next{padding-left:1.25rem}.routine-momentum-stats{max-width:28rem}}@media (max-width:560px){.routine-topline,.routine-start{flex-direction:column;align-items:start}.routine-header-actions{justify-content:flex-start}.routine-today-grid{grid-template-columns:1fr;gap:1rem}.routine-next{border-left:0;border-top:1px solid var(--border);padding:1rem 0 0}.routine-title-progress{gap:.4rem .7rem}.routine-task-title{gap:.5rem}.routine-task-status{text-align:right;max-width:4.5rem;line-height:1.5}.routine-task-details{margin-left:1.8rem}.routine-overview-grid{gap:1rem}.routine-momentum-stats{gap:.5rem}.routine-momentum-stats span{font-size:.6rem}.routine-momentum-stats strong{font-size:1.4rem}.routine-milestone-heading{flex-direction:column;align-items:start}.routine-calendar-scroll{gap:.5rem}.routine-cells{grid-template-rows:repeat(7,13px);grid-auto-columns:13px;gap:3px}.routine-cells li{width:13px;height:13px}.routine-calendar-footer{font-size:.6rem}.routine-result-top{flex-wrap:wrap;gap:.5rem}.routine-result-top>.routine-select{max-width:100%;font-size:16px}.routine-edit-fields{grid-template-columns:1fr 1fr}.routine-edit-fields label:last-child{grid-column:1/-1}.routine-select{font-size:16px}.routine-editor{padding:1rem}}@media (prefers-reduced-motion:reduce){.growth-routine *{scroll-behavior:auto;transition:none!important}}
