/* Readable type scale: body 16, task title 17, secondary 13–14.
   Calendar density changes independently from the reading scale. */
:root{--muted:#697e73}body{font-size:16px;line-height:1.6}.content{max-width:1640px;padding:36px 36px 24px}header{padding:0 36px}.page-heading{align-items:center}h1{font-size:30px;line-height:1.5}.eyebrow{font-size:12px;letter-spacing:1.1px}.page-heading p{font-size:15px;line-height:1.8;max-width:none}.breadcrumb{font-size:14px}.button{font-size:14px;line-height:1.5;min-height:40px;padding:10px 16px}.tiny{font-size:13px;padding:7px 11px;min-height:34px}.section-link{font-size:13px;line-height:1.7;min-height:30px}.sidebar{width:220px;padding:28px 18px}main{margin-left:220px}nav button{padding:14px 13px}nav button span{font-size:16px}.workspace{font-size:14px}.brand small{font-size:10px;letter-spacing:1.4px;margin-left:0}.profile{font-size:15px}.profile small,.prototype-tag{font-size:12px}.summary{gap:16px}.stat{padding:21px}.stat .label{font-size:14px}.stat .number{font-size:32px;line-height:1.5}.stat .number small{font-size:13px}.stat .hint{font-size:12px;line-height:1.7}.body-grid{grid-template-columns:minmax(0,1fr) 290px}.panel-head{padding:19px 22px;flex-wrap:wrap}.panel-title{font-size:17px}.tabs{gap:3px}.tabs button{font-size:14px;padding:7px 12px;min-height:36px}.date-row{font-size:14px;gap:12px}.date-row input:not([type=checkbox]){font-size:15px;min-height:38px;max-width:65%}.metric-task{padding:23px 22px;gap:13px;flex-wrap:wrap}.metric-task .task-main{flex:1 1 220px;overflow:visible}.metric-task .task-title,.project-card .metric-task .task-title{font-size:17px;line-height:1.7;overflow-wrap:anywhere;font-weight:500}.task-title{font-size:16px;line-height:1.7}.metric-task .task-check{width:30px;height:30px;margin-top:1px;line-height:27px;font-size:17px}.task-meta,.metric-task .task-meta{font-size:13px;gap:6px 11px;line-height:1.8;margin-top:8px}.tag{font-size:12px;padding:2px 7px;line-height:1.6}.dot{width:6px;height:6px}.recurring-badge{font-size:13px;line-height:1.7;margin:6px 0}.metric-line.compact{max-width:520px}.metric-line>div:first-child,.metric-line.compact>div:first-child{font-size:13px;line-height:1.7;align-items:flex-start;flex-wrap:wrap;gap:3px 12px}.metric-line strong,.metric-line.compact strong{font-size:13px;white-space:normal}.metric-track{height:6px}.rule-note{font-size:12px;line-height:1.8}.task-actions{display:flex;gap:9px;margin:15px 0 0 43px;width:calc(100% - 43px);align-items:center;flex-wrap:wrap}.task-actions .record-button{font-size:13px;min-height:38px;margin:0;padding:8px 12px}.quick-complete{border:1px solid #bbd4c3;border-radius:7px;background:#edf5ee;color:#3d7454;font-size:14px;line-height:1.5;min-height:38px;padding:8px 13px;white-space:nowrap}.quick-complete.is-complete{background:#f5f7f5;color:#6a8272;border-color:#dce6dd}.quick-complete:focus-visible{outline:2px solid var(--green);outline-offset:2px}.manual-overview{font-size:13px;gap:9px}.manual-overview>strong,.manual-overview>small{font-size:13px;line-height:1.8}.child-preview{line-height:1.8;flex-wrap:wrap;gap:2px 10px}.child-preview small{font-size:13px;overflow-wrap:anywhere}.note-panel h3{font-size:16px;line-height:1.7}.note-panel p{font-size:14px;line-height:1.9}.goal-card{padding:22px}.goal-card h3{font-size:16px;line-height:1.7}.goal-card .goal-value{font-size:29px}.goal-value small{font-size:14px}.goal-card p,.goal-card>small{font-size:12px;line-height:1.9}.goal-head{flex-wrap:wrap}.muted,.field-help{font-size:14px;line-height:1.9}.empty{font-size:15px;line-height:1.9}.goals-heading h2{font-size:21px}.goals-heading p{font-size:14px}.project-card-head h3{font-size:19px}.project-card-head small{font-size:13px}.project-card .metric-task{padding:20px}.project-card .task-actions{margin-left:43px}.actual-totals span{font-size:14px}.actual-totals strong{font-size:24px}.review-note h3{font-size:18px}.history-card strong{font-size:16px}.history-card span{font-size:14px}.history-card small{font-size:13px}.settings-panel{max-width:850px}.settings-panel h3{font-size:19px}.settings-row p{font-size:14px}.settings-row{align-items:flex-start;flex-wrap:wrap}.settings-row>div{flex:1 1 220px}.settings-row>.button{flex-shrink:0}.settings-row select{font-size:15px}.calendar-toolbar{flex-wrap:wrap;gap:14px}.calendar-nav{gap:12px;flex-wrap:wrap}.calendar-nav strong{font-size:17px}.calendar-legend{font-size:13px;gap:12px 20px}.calendar-legend .desktop-hint{font-size:12px}.calendar-day span{font-size:13px}.calendar-day strong{font-size:21px;width:37px;height:37px}.calendar-days,.all-day-row{grid-template-columns:65px repeat(var(--days),minmax(0,1fr))}.time-grid{grid-template-columns:65px repeat(var(--days),minmax(0,1fr))}.zone-label{font-size:11px;line-height:1.8}.time-labels>span{font-size:12px;right:9px}.calendar-scroll{max-height:760px}.time-calendar.week{min-width:1000px}.time-calendar.day{min-width:0}.unscheduled-chip,.deadline-chip{font-size:12px;line-height:1.6;padding:5px 6px}.event-open,.time-calendar.day .event-open{padding:4px 30px 4px 7px;gap:2px}.event-open strong,.time-calendar.day .event-open strong{font-size:14px;line-height:1.3}.event-open small,.time-calendar.day .event-open small{font-size:12px;line-height:1.2}.event-record,.calendar-quick{width:26px;height:26px;display:flex;align-items:center;justify-content:center;right:2px;top:2px;font-size:18px;padding:0}.calendar-quick{position:absolute;border:1px solid #abc5b388;border-radius:5px;background:#ffffffbd;color:inherit;z-index:3;cursor:pointer}.short-event .event-open{padding-top:2px;padding-bottom:2px}.short-event .event-open strong{font-size:13px}.calendar-footnote{font-size:13px;line-height:1.8}.month-weekdays span{font-size:13px;padding:12px 2px}.month-cell{min-height:155px;padding:9px 6px}.day-number{font-size:14px;width:31px;height:31px}.month-event,.month-deadline,.month-deadline.prominent{font-size:13px;line-height:1.6;padding:6px 5px;white-space:normal;overflow-wrap:anywhere;text-align:left}.month-time{font-size:12px}.month-more,.deadline-more{font-size:12px;line-height:1.8;min-height:30px}.month-priority-note{font-size:13px;padding:13px 20px;gap:8px 16px;flex-wrap:wrap}.month-task-line{position:relative;padding-right:27px;margin:0 0 5px;min-width:0}.month-task-line>.month-event,.month-task-line>.month-deadline{margin:0}.month-quick{position:absolute;right:0;top:1px;min-width:24px;width:24px;height:28px;min-height:28px;border:1px solid #d5e2d7;border-radius:4px;background:#f6faf6;color:#5a8565;font-size:14px;line-height:1;padding:0;cursor:pointer}.month-task-line .month-time{display:block}.month-quick.is-complete{background:#eaf2ec;color:#6c8c75}.calendar-layout>.right-stack .panel .goal-card{min-width:0}.calendar-layout>.right-stack{flex-wrap:wrap}.calendar-layout>.right-stack>.note-panel{min-width:240px}.calendar-layout>.right-stack>.panel{min-width:320px}footer{font-size:10px;letter-spacing:1px;gap:12px;flex-wrap:wrap}footer span{font-size:12px}dialog{width:min(650px,calc(100% - 28px));padding:28px}#editor{width:min(720px,calc(100% - 28px))}#recorder,#composite-recorder{width:min(680px,calc(100% - 28px))}.dialog-top h2{font-size:24px;line-height:1.6;overflow-wrap:anywhere}.icon-button{min-width:32px;min-height:32px}label{font-size:15px;line-height:1.7}input:not([type=checkbox]),select,textarea{font-size:16px;line-height:1.6;padding:11px 12px}input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:var(--green)}.form-grid{gap:0 18px}.form-grid>label{min-width:0}.metric-config label,.child-config label,.execute-child label{font-size:14px}.metric-config input,.metric-config select,.metric-config textarea{font-size:16px}.metric-config-top,.child-order,.field-caption{font-size:13px}.metric-editor-header h3,.children-section h3{font-size:18px}.metric-editor-header p{font-size:13px}.repeat-preview{font-size:13px;line-height:1.9}.repeat-section label{font-size:15px}.weekday-options span{font-size:14px;padding:9px 11px}.weekday-options input{width:1px;height:1px}#more-time summary,#more-time label{font-size:14px}.record-form-header strong{font-size:16px}.record-form-header{flex-wrap:wrap}.record-metric>strong{font-size:16px}.record-metric>small{font-size:13px}.steps-options label{font-size:15px;margin:8px 0}.record-history h3{font-size:17px}.history-entry{flex-wrap:wrap}.history-entry strong{font-size:13px}.history-entry p{font-size:14px;line-height:1.8}.history-entry small{font-size:13px}.execute-child h3{font-size:18px}.execute-child p{font-size:14px;line-height:1.8}.manual-confirm strong{font-size:16px}.manual-confirm small{font-size:13px}.assistant-card h3{font-size:18px}.assistant-card p{font-size:14px}#toast{font-size:14px;line-height:1.8;padding:13px 20px}.dialog-actions{gap:10px}.dialog-actions .button{min-height:44px}
@media(max-width:1180px){.body-grid{grid-template-columns:1fr}.right-stack{grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:1fr}.goals-grid{grid-template-columns:1fr 1fr}.desktop-hint{display:none}.content{padding:30px 26px}.sidebar{width:200px}main{margin-left:200px}.calendar-layout .right-stack{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:650px){body{font-size:16px}.sidebar{width:100%;height:76px;padding:0 6px}main{margin-left:0;padding-bottom:80px}nav button{padding:8px 2px}nav button span{font-size:12px;line-height:1.4;margin-top:4px}.content{padding:26px 14px 20px}header{padding:0 16px;height:66px}.breadcrumb{font-size:12px}.breadcrumb span{margin-left:10px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:24px;line-height:1.55;margin-bottom:10px}.page-heading p{font-size:14px;max-width:none}.page-heading>.button{margin-top:25px;font-size:13px;padding:9px 10px;flex-shrink:0}.eyebrow{font-size:11px;line-height:1.8;letter-spacing:.5px}.summary{gap:8px}.stat{padding:15px 11px;min-width:0}.stat .label{font-size:13px;line-height:1.7}.stat .number{font-size:28px;margin-top:8px}.stat .number small{font-size:12px;margin-left:3px}.stat .hint{font-size:12px;line-height:1.7}.panel-head{padding:16px 13px;gap:9px}.panel-title{font-size:17px}.tabs button{font-size:13px;padding:7px 10px;min-height:35px}.date-row{padding:10px 13px}.date-row input:not([type=checkbox]){font-size:15px;max-width:63%}.date-row .section-link{font-size:13px}.metric-task,.project-card .metric-task{padding:20px 14px;gap:11px}.metric-task .task-main{flex:1 1 180px;min-width:0}.metric-task .task-title,.project-card .metric-task .task-title{font-size:16px;line-height:1.75}.metric-task .task-check{width:29px;height:29px;font-size:17px;line-height:26px}.task-meta,.metric-task .task-meta{font-size:13px;gap:5px 9px;line-height:1.8}.metric-line.compact>div:first-child,.metric-line.compact strong{font-size:13px}.rule-note,.recurring-badge{font-size:12px}.task-actions,.project-card .task-actions{margin:12px 0 0 40px;width:calc(100% - 40px);gap:9px}.task-actions .record-button,.quick-complete{font-size:14px;min-height:42px;padding:9px 12px}.manual-overview,.manual-overview>small,.manual-overview>strong{font-size:13px}.child-preview small{font-size:13px;text-align:left}.child-preview{display:grid;gap:0;margin-top:3px}.right-stack,.calendar-layout .right-stack{grid-template-columns:1fr}.calendar-layout>.right-stack>.panel,.calendar-layout>.right-stack>.note-panel{min-width:0}.note-panel p{font-size:14px}.goal-card h3{font-size:16px}.goal-card p,.goal-card>small{font-size:13px}.goals-grid{grid-template-columns:1fr}.goals-heading{flex-wrap:wrap;gap:12px}.goals-heading h2{font-size:19px}.goals-heading p,.goals-heading>span{font-size:13px;max-width:none}.calendar-toolbar{padding:15px 12px;gap:12px}.calendar-nav{gap:8px}.calendar-nav strong{font-size:15px}.calendar-legend{font-size:12px;padding:0 13px 13px;gap:8px 15px}.time-calendar.week{min-width:1050px}.time-calendar.day{min-width:0}.calendar-days,.all-day-row{grid-template-columns:54px repeat(var(--days),minmax(0,1fr))}.time-grid{grid-template-columns:54px repeat(var(--days),minmax(0,1fr))}.time-labels>span{font-size:11px;right:6px}.zone-label{font-size:10px}.calendar-day{gap:7px}.calendar-day span{font-size:13px}.calendar-day strong{font-size:19px}.calendar-scroll{max-height:600px}.month-priority-note{font-size:13px;padding:12px}.month-weekdays span{font-size:12px;padding:10px 0}.month-cell{min-height:115px;padding:7px 3px}.day-number{font-size:14px;width:28px;height:28px;margin-bottom:8px}.month-event,.month-deadline,.month-deadline.prominent{font-size:12px;padding:5px 3px;line-height:1.65;word-break:break-word}.month-time{display:none}.month-task-line{padding:0;margin-bottom:6px}.month-task-line>.month-event,.month-task-line>.month-deadline{padding-right:3px}.month-quick{display:none}.month-more,.deadline-more{font-size:12px;line-height:1.8;min-height:30px}.calendar-footnote{font-size:12px;padding:0 13px}.form-grid{grid-template-columns:1fr;gap:0}.form-grid>label{margin:11px 0}.dialog-top h2{font-size:22px}.metric-config{padding:13px}.metric-editor-header h3{font-size:17px}.child-order{gap:8px;flex-wrap:wrap}.child-order>div{gap:14px}.child-order .section-link{font-size:13px}.weekday-options{gap:6px}.weekday-options span{font-size:13px;padding:8px 9px}.repeat-preview{font-size:13px}.repeat-section label{font-size:15px}.record-form-header strong{font-size:16px}.record-form-header .section-link{font-size:13px}.record-metric>strong{font-size:16px}.execute-child{padding:15px}.execute-child h3{font-size:17px}.execute-child p{font-size:14px}.execute-child label{font-size:14px}.manual-confirm{padding:16px}.manual-confirm strong{font-size:16px}.manual-confirm small{font-size:13px}dialog,#editor,#recorder,#composite-recorder{width:calc(100% - 20px);padding:20px;max-height:92dvh}.dialog-actions{position:sticky;bottom:-20px;background:#fff;padding:14px 0 5px;margin-top:18px;border-top:1px solid var(--line)}.settings-panel{padding:20px}.settings-row p{font-size:14px}.actual-totals{grid-template-columns:1fr}.actual-totals span{font-size:14px}.history-entry p{font-size:14px}footer{font-size:10px;letter-spacing:.4px}footer span{font-size:12px}#toast{bottom:88px;min-width:230px;font-size:14px}.day-progress{padding:18px}.month-mobile-hint{display:block;font-size:12px;color:#7b9180;padding:0 13px 12px}}
@media(min-width:651px){.month-mobile-hint{display:none}}

.time-day{background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,#f7f9f7 37px,#f7f9f7 38px,transparent 38px,transparent 75px,#eaf0eb 75px,#eaf0eb 76px)}.month-event,.month-deadline.prominent{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.month-time{display:none}
