:root{color-scheme:light;--bg:#f6f7f3;--paper:#fff;--ink:#25312a;--muted:#798078;--line:#e7eae3;--green:#536b4c;--soft:#edf2e8;--danger:#aa4740;font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit}button{border:0;background:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a3b99b;outline-offset:3px}[hidden]{display:none!important}.sr-only,.skip{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip:focus{clip-path:none;width:auto;height:auto;padding:12px;background:white;z-index:10}.topbar{height:75px;border-bottom:1px solid var(--line);padding:0 3.2%;display:flex;align-items:center;justify-content:space-between;background:#fff}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;letter-spacing:2px;font-size:13px;font-weight:650}.brand-icon{font-size:29px;color:var(--green);letter-spacing:0}.brand-divider{color:#ccd2c7;font-weight:400;margin:0 3px}.brand>span:last-child{font-weight:400;letter-spacing:1px}.account{display:flex;align-items:center;gap:16px;font-size:12px;color:var(--muted)}.zone{font-size:11px;letter-spacing:.5px}.quiet{padding:9px 12px;border-radius:7px;color:#66705f}.quiet:hover{background:var(--soft);color:var(--ink)}.primary{background:var(--green);color:#fff;border-radius:8px;padding:12px 20px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px}.primary:hover{background:#42593c}.eyebrow{font-size:10px;letter-spacing:2.3px;font-weight:600;color:var(--muted)}h1,h2,p{margin-top:0}.login-panel{max-width:1020px;min-height:calc(100svh - 75px);padding:65px 40px;display:grid;grid-template-columns:1fr 390px;align-items:center;gap:85px;margin:auto}.intro h1{font-family:Georgia,"Noto Serif SC","Songti SC",serif;font-size:64px;font-weight:500;line-height:1.4;letter-spacing:1px;margin:27px 0 22px}.intro p{color:#7a8176;line-height:2.2;font-size:15px}.intro-line{width:48px;height:1px;background:#abb6a1;margin:32px 0 24px}.intro-caption{font-size:11px;color:#92978c;letter-spacing:1px}.login-card{padding:36px;background:var(--paper);border:1px solid var(--line);border-radius:15px;box-shadow:0 16px 60px #34452a06}.login-card h2{font-size:27px;margin:17px 0 9px;font-weight:550}.muted{color:var(--muted);line-height:1.8;font-size:12px}label:not(.search-label){display:block;font-size:12px}input:not([type=checkbox]),select,textarea{display:block;width:100%;padding:11px 12px;border:1px solid #dfe4d9;border-radius:7px;background:#fff;color:var(--ink);min-width:0}input::placeholder,textarea::placeholder{color:#a1a79c}label+input,label+select,label+textarea{margin-top:8px}.login-card label{margin-top:24px}.login-card .primary{width:100%;margin-top:4px;justify-content:space-between}.login-footnote{font-size:11px;line-height:1.9;color:#92998b;text-align:center;margin:23px 0 0}.error{color:var(--danger);font-size:12px;line-height:1.7;min-height:1em;margin:12px 0}.workspace{max-width:1900px;margin:auto;padding:32px 3.2% 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:14px}.page-heading h1{font-size:25px;font-weight:550;letter-spacing:.5px;margin:9px 0 0}.utility-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px;min-height:34px}.sync-status{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.sync-status:before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#91a782}.sync-status[data-state=error]:before{background:#c98570}.utility-actions{display:flex;gap:4px;align-items:center;font-size:12px}.search-label input{padding:7px 12px;font-size:12px;max-width:190px;background:#fbfcfa}.workspace-error{background:#fbede7;border:1px solid #ebd3c9;padding:12px 15px;color:#985447;border-radius:8px;margin-bottom:15px;line-height:1.8;font-size:12px}.planner-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.calendar-panel{background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0;overflow:hidden}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;gap:12px}.date-navigation{display:flex;align-items:center;gap:4px;min-width:0}.date-navigation h2{font-size:18px;font-weight:600;margin:0 12px;white-space:nowrap}.icon-button{width:30px;height:32px;border-radius:6px;font-size:23px;line-height:1}.icon-button:hover{background:var(--soft)}.today-button{border:1px solid var(--line);padding:6px 10px;font-size:12px}.view-switch{display:flex;border:1px solid var(--line);padding:3px;border-radius:7px;gap:2px}.view-switch button{font-size:12px;padding:5px 13px;border-radius:4px}.view-switch button[aria-pressed=true]{background:var(--soft);color:var(--green);font-weight:650}.calendar-footer{padding:14px 20px;display:flex;justify-content:space-between;gap:12px;color:#8f9688;font-size:10px}.legend{display:flex;gap:16px}.legend span:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:6px}.legend-research:before{background:#587356}.legend-course:before{background:#6386aa}.legend-life:before{background:#bf8b52}.legend-other:before{background:#9987ad}.agenda-panel{background:#f0f3eb;border:1px solid #e3e9dc;border-radius:12px;padding:24px 18px 16px;min-height:560px}.agenda-header{padding:0 4px}.agenda-header .eyebrow{font-size:9px;letter-spacing:1.8px}.agenda-title{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.agenda-title h2{font-weight:550;font-size:22px;margin:0}.count{background:#e0e7d8;border-radius:20px;padding:3px 9px;font-size:11px;color:#6d7e60}.agenda-header p{color:#919983;font-size:11px;margin:10px 0 18px}.completed-toggle{display:flex!important;align-items:center;gap:6px;color:#89917f;font-size:11px!important;padding:8px 4px;border-top:1px solid #e2e8da}.completed-toggle input,input[type=checkbox]{accent-color:var(--green);width:15px;height:15px;flex-shrink:0}.agenda-list{max-height:calc(100svh - 355px);min-height:280px;overflow:auto;padding:0 2px 5px}.agenda-group{padding-top:14px}.agenda-group h3{font-size:11px;font-weight:550;color:#7e8a71;margin:0 4px 10px;display:flex;justify-content:space-between}.agenda-group.overdue h3{color:#b07a60}.task-card{display:flex;gap:9px;align-items:flex-start;background:white;border:1px solid #e4e9df;border-radius:8px;margin-bottom:7px;padding:12px 10px;box-shadow:0 2px 3px #27352002}.task-check{border:1.5px solid #bdc8b3;width:18px;height:18px;border-radius:50%;flex:0 0 18px;margin-top:2px;padding:0;font-size:12px;color:var(--green);line-height:16px}.task-check:hover{background:var(--soft)}.task-copy{flex:1;min-width:0;padding:0;text-align:left;display:block}.task-name{font-size:12px;line-height:1.7;display:block;overflow-wrap:anywhere}.task-meta{font-size:10px;color:#949b8a;line-height:1.6;display:block;margin-top:4px}.task-card.done .task-name{text-decoration:line-through;color:#98a08f}.task-card.done .task-check{background:var(--soft)}.task-star{color:#b29259;font-size:16px}.agenda-add{width:100%;border:1px dashed #c8d2bf;border-radius:7px;color:#71815f;font-size:12px;padding:12px;margin-top:15px;text-align:left}.agenda-add:hover{background:#e5ecdd}.empty-state{text-align:center;padding:45px 12px;color:#929b87;font-size:12px;line-height:2}.empty-symbol{display:block;font-size:31px;color:#acb89f;margin-bottom:10px}.mobile-tabs{display:none}.fc{--fc-border-color:#edf0e9;--fc-today-bg-color:#f2f6ed;--fc-page-bg-color:#fff;--fc-neutral-bg-color:#fafbf8;--fc-event-text-color:#fff;font-size:12px}.fc-theme-standard .fc-scrollgrid{border-left:0;border-right:0}.fc .fc-col-header-cell-cushion{font-size:11px;font-weight:400;color:#89917e;padding:12px 0;text-decoration:none}.fc .fc-daygrid-day-number{font-size:11px;text-decoration:none;padding:8px 10px;color:#6d7567}.fc .fc-day-today .fc-daygrid-day-number{color:#fff;background:var(--green);border-radius:50%;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin:5px 7px}.fc .fc-daygrid-day-events{margin:2px 3px}.fc .fc-daygrid-event{border-radius:3px;margin-top:3px;padding:2px 4px;cursor:pointer;font-size:10px}.fc .fc-event-title{font-weight:450}.fc .fc-daygrid-dot-event .fc-event-title{color:var(--ink)}.fc .fc-daygrid-more-link{font-size:10px;color:var(--green)}.fc .fc-timegrid-slot-label-cushion{font-size:10px;color:#8a9380}.fc .fc-timegrid-event{border-radius:4px;cursor:pointer}.fc .task-completed{opacity:.5;text-decoration:line-through}.fc .fc-event-main{overflow:hidden}.fc-daygrid-day:hover{background:#f9fbf6}dialog{width:min(520px,calc(100% - 24px));padding:0;border:1px solid #dce3d5;border-radius:14px;box-shadow:0 25px 100px #1f302533;max-height:92svh;color:var(--ink)}dialog::backdrop{background:#26332666;backdrop-filter:blur(3px)}dialog form{padding:25px;overflow:auto}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start}.dialog-heading h2{font-size:23px;font-weight:550;margin:9px 0 22px}#task-form>label,#edit-scope-wrap>label{margin-top:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.inline-checks{display:flex;gap:25px;margin-top:18px}.inline-checks label{display:flex!important;align-items:center;gap:6px}.inline-checks input{margin:0}fieldset{padding:0;border:0;margin:20px 0 0}legend{font-size:11px;color:var(--muted);padding:0}fieldset .form-grid{margin-top:7px}.weekdays{display:flex;gap:6px;margin:15px 0}.weekdays label{display:flex!important;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;gap:3px;padding:6px;font-size:11px!important}.weekdays input{margin:0;width:13px;height:13px}#repeat-until-wrap{margin-top:16px}.field-help{font-size:10px;color:var(--muted);line-height:1.7;margin:8px 0}.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.dialog-actions>div{display:flex;gap:8px;margin-left:auto}.danger{color:var(--danger);padding:9px 11px;border-radius:6px}.danger:hover{background:#faeee9}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#2d3e2b;color:white;padding:12px 20px;border-radius:8px;box-shadow:0 5px 25px #25351c22;z-index:1000;font-size:12px;max-width:90%;text-align:center}
@media(min-width:1500px){.planner-layout{grid-template-columns:minmax(0,1fr) 350px}.agenda-panel{padding:28px 22px}.task-card{padding:15px 12px}.task-name{font-size:13px}.task-meta{font-size:11px}}
@media(max-width:1050px){.planner-layout{grid-template-columns:minmax(0,1fr) 270px;gap:14px}.workspace{padding:24px 20px}.calendar-toolbar{padding:14px 10px}.date-navigation h2{font-size:15px;margin:0 5px}.calendar-footer>span{display:none}.view-switch button{padding:5px 9px}.login-panel{gap:35px}.intro h1{font-size:52px}.zone{display:none}}
@media(max-width:760px){.topbar{height:62px;padding:0 18px}.account{gap:7px;max-width:48%}#account-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.brand{font-size:11px;gap:7px}.brand-icon{font-size:25px}.workspace{padding:24px 14px}.page-heading{margin-bottom:15px;align-items:flex-end}.page-heading h1{font-size:19px;letter-spacing:0}.page-heading .eyebrow{font-size:8px;letter-spacing:1px}.page-heading .primary{padding:10px 12px;font-size:11px;gap:4px;white-space:nowrap}.utility-bar{align-items:flex-start;flex-direction:column;gap:7px}.utility-actions{width:100%}.utility-actions .quiet{padding:7px;font-size:11px}.search-label{margin-left:auto;flex:1;max-width:180px}.search-label input{max-width:none}.mobile-tabs{display:flex;background:#e9eee3;border-radius:8px;padding:4px;gap:4px;margin-bottom:14px}.mobile-tabs button{flex:1;padding:8px;border-radius:5px;color:#7b876e;font-size:12px}.mobile-tabs button[aria-pressed=true]{background:#fff;color:#536b4c;box-shadow:0 1px 3px #243c170a}.planner-layout{display:block}.planner-layout[data-pane=calendar] .agenda-panel{display:none}.planner-layout[data-pane=agenda] .calendar-panel{display:none}.calendar-toolbar{padding:14px 8px;gap:5px}.date-navigation{gap:0}.date-navigation h2{font-size:14px;margin:0 3px}.icon-button{width:26px}.today-button{padding:5px 6px;margin-left:4px;font-size:10px}.view-switch{padding:2px}.view-switch button{padding:5px 9px;font-size:11px}.calendar-footer{padding:13px}.legend{gap:16px}.fc .fc-col-header-cell-cushion{font-size:10px;padding:9px 0}.fc .fc-daygrid-day-number{padding:7px;font-size:10px}.fc .fc-daygrid-event{font-size:9px;padding:1px 2px}.fc .fc-daygrid-day-events{margin:0 1px}.fc .fc-daygrid-event .fc-event-time{display:none}.fc .fc-daygrid-more-link{font-size:9px}.agenda-panel{min-height:450px;padding:22px 16px}.agenda-list{max-height:none}.task-card{padding:15px 13px}.task-name{font-size:13px}.task-meta{font-size:11px}.login-panel{grid-template-columns:1fr;padding:38px 24px;min-height:auto;max-width:430px;gap:30px}.intro h1{font-size:38px;line-height:1.4;margin:18px 0 14px}.intro h1 br{display:none}.intro p{font-size:12px;line-height:1.9;margin-bottom:0}.intro-line,.intro-caption{display:none}.intro .eyebrow{font-size:8px}.login-card{padding:27px}.login-card h2{font-size:24px}.dialog-actions .primary{padding:11px 16px}dialog form{padding:22px 18px}.weekdays{gap:4px}.weekdays label{padding:6px 4px;gap:2px}.inline-checks{gap:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
#delete-dialog{width:min(440px,calc(100% - 24px))}
.delete-form .dialog-heading h2{margin:0 0 15px;font-size:22px}
.delete-task-name{font-size:14px;line-height:1.8;overflow-wrap:anywhere;margin:0 0 18px;color:var(--muted)}
.delete-options{margin:0;display:grid;gap:10px}
.delete-options legend{margin-bottom:10px}
.delete-option{display:flex!important;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.delete-option:has(input:checked){border-color:#a7b79e;background:var(--soft)}
.delete-option input{margin:3px 0 0;accent-color:var(--green);flex:0 0 16px;width:16px;height:16px;padding:0;display:inline-block}
.delete-option>span{min-width:0;flex:1}
.delete-option strong{display:block;font-size:14px;font-weight:600}
.delete-option small{display:block;font-size:11px;line-height:1.8;margin-top:5px;color:var(--muted)}
.danger-primary{padding:12px 18px;border-radius:8px;background:var(--danger);color:white;font-weight:600}
.danger-primary:hover{background:#903b35}

/* Let the calendar use the window, with enough room for each day's tasks. */
.connection-tools{text-align:center;margin-top:12px}
.connection-tools .quiet{font-size:11px;text-decoration:underline;text-underline-offset:3px}
.browser-hint,.connection-result{font-size:11px;line-height:1.9;border-radius:6px;padding:10px 12px;margin:12px 0 0;overflow-wrap:anywhere;background:var(--soft);color:#68795e}
.connection-result[data-state=error]{background:#fbede7;color:var(--danger)}
.agenda-list>.task-card:first-child{margin-top:8px}
.agenda-list .task-card{padding:10px 11px;margin-bottom:4px;border-radius:5px;gap:10px}
.agenda-list .task-name{font-size:13px;line-height:1.55}
.agenda-list .task-meta{display:flex;align-items:center;gap:5px;font-size:11px;margin-top:3px;min-width:0}
.task-meta-icon{width:13px;height:13px;flex:0 0 13px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.task-repeat{width:15px;height:15px;flex-basis:15px;color:#7d8d70;margin-left:2px}
.task-due{min-width:0;overflow-wrap:anywhere}
.task-due.is-overdue{color:var(--danger)}
.task-due.is-today{color:var(--green)}
.task-completion-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;padding:6px 9px;background:var(--soft);border-radius:6px;font-size:11px;color:var(--muted)}
.task-completion-row .quiet{font-size:11px;white-space:nowrap;padding:6px 8px}
.workspace{max-width:none;padding:12px 24px 16px}
.page-heading{margin-bottom:8px}
.page-heading>div{display:flex;align-items:baseline;gap:16px;min-width:0}
.page-heading h1{order:-1;font-size:20px;white-space:nowrap;margin:0}
.page-heading .primary{padding:9px 16px}
.page-heading .eyebrow{letter-spacing:1px;white-space:nowrap}
.utility-bar{margin-bottom:10px}
.planner-layout{gap:16px}
.calendar-toolbar{padding:10px 18px}
.calendar-footer{padding:10px 18px}
.fc .fc-col-header-cell-cushion{padding:9px 0}
.fc .fc-daygrid-day-number{font-size:12px}
.fc .fc-daygrid-event{font-size:11px;line-height:1.4;padding:2px 4px}
@media(min-width:761px){
  .topbar{height:48px;padding:0 24px}
  .login-panel{min-height:calc(100svh - 48px)}
  .agenda-panel{display:flex;flex-direction:column;height:var(--planner-panel-height,700px);min-height:0;padding:20px 18px 16px}
  .agenda-header .eyebrow,.agenda-header>p{display:none}
  .agenda-title{margin-top:0;margin-bottom:14px}
  .agenda-title h2{font-size:20px}
  .agenda-list{flex:1;min-height:0;max-height:none}
  .completed-toggle,.agenda-add{flex-shrink:0}
}
@media(min-width:1500px){.planner-layout{grid-template-columns:minmax(0,1fr) 330px}.fc .fc-daygrid-event{font-size:12px}}
@media(max-width:760px){
  .topbar{height:54px}
  .workspace{padding:12px 12px 16px}
  .page-heading{align-items:center;margin-bottom:10px}
  .page-heading>div{gap:10px}
  .page-heading h1{font-size:17px}
  .page-heading .eyebrow{letter-spacing:0}
  .page-heading .primary{padding:9px 11px}
  .utility-bar{margin-bottom:10px}
  .mobile-tabs{margin-bottom:10px}
  .calendar-toolbar{padding:10px 8px}
  .calendar-footer{padding:10px 12px}
  .fc .fc-col-header-cell-cushion{padding:8px 0}
  .fc .fc-daygrid-day-number{font-size:11px}
  .fc .fc-daygrid-event{font-size:10px;padding:2px}
}

/* Compact month entries leave room for more tasks in each day. */
.fc .fc-daygrid-event{font-size:11px;line-height:14px;padding:0 3px;margin-top:1px;border-width:0;border-radius:2px}
.fc .fc-daygrid-day-events{margin-top:0;margin-bottom:1px}
.fc .fc-daygrid-day-number{padding-top:5px;padding-bottom:4px}
.fc .fc-day-today .fc-daygrid-day-number{width:21px;height:21px;margin-top:3px;margin-bottom:2px}
.fc .fc-daygrid-more-link{line-height:15px;padding:0 2px}
.agenda-list .task-card{padding:8px 10px;gap:8px;margin-bottom:3px}
.agenda-list .task-card{border-inline-start:3px solid var(--category-accent,var(--line))}
.fc .fc-daygrid-event{border-inline-start-width:3px;border-inline-start-style:solid}
.fc .fc-timegrid-event{border-inline-start-width:3px}
.agenda-list .task-name{line-height:1.45}
.agenda-list .task-meta{margin-top:2px}
.legend{flex-wrap:wrap;gap:5px 13px}
.legend .category-key:before{background:var(--category-color)}
.calendar-footer>span{flex-shrink:0}
.workspace-tabs{display:flex;gap:2px;padding:3px;background:#e9eee3;border-radius:7px;white-space:nowrap}
.workspace-tabs button{padding:6px 13px;border-radius:4px;font-size:12px;color:#74816c}
.workspace-tabs button[aria-pressed=true]{background:white;color:var(--green);box-shadow:0 1px 3px #2633260a}
.anniversaries-panel{max-width:1140px;margin:16px auto 30px}
.anniversary-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 2px 15px}
.anniversary-intro h2{font-size:24px;font-weight:550;letter-spacing:.5px;margin:12px 0}
.anniversary-intro p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:6px}
.anniversary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.anniversary-card{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:16px;background:white;border:1px solid var(--line);border-radius:10px;padding:19px 22px;min-width:0}
.anniversary-card:hover{border-color:#b2c1a9;box-shadow:0 3px 16px #34452a08}
.anniversary-copy{min-width:0;display:flex;flex-direction:column;gap:7px}
.anniversary-name{font-size:16px;font-weight:600;overflow-wrap:anywhere;line-height:1.55}
.anniversary-date{font-size:11px;color:var(--muted);line-height:1.7}
.anniversary-notes{font-size:12px;color:#7c866e;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.anniversary-number{flex-shrink:0;color:#6386aa;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.anniversary-direction{font-size:11px}
.anniversary-digits{display:flex;align-items:baseline;gap:7px;font-size:12px}
.anniversary-digits strong{font-size:35px;line-height:1.15;font-weight:550;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.anniversary-card.elapsed .anniversary-number{color:#b0804e}
.anniversary-card.today .anniversary-number{color:var(--green)}
.anniversary-card.featured{padding:34px 38px;min-height:190px;background:linear-gradient(110deg,#fff 25%,#edf2e8);border-color:#dce5d5}
.anniversary-card.featured .anniversary-name{font-size:23px}
.anniversary-card.featured .anniversary-digits strong{font-size:80px}
.anniversary-card.featured .anniversary-number{color:var(--green);gap:6px}
.anniversary-empty{grid-column:1/-1;text-align:center;padding:65px 22px;border:1px dashed #d6dfcf;border-radius:10px;color:var(--muted);line-height:2;font-size:13px}
#anniversary-form>label{margin-top:15px}
.anniversary-email-setting{padding:12px;margin:16px 0;background:var(--soft);border-radius:7px}
.anniversary-email-setting label{display:flex;align-items:center;gap:7px;line-height:1.7}
.anniversary-email-setting input{margin:0}
.anniversary-email-setting .field-help{margin-bottom:0}
.anniversary-mail{font-size:11px;color:var(--green);line-height:1.7}
.inline-checks [hidden]{display:none!important}
.health-metric-switch{display:flex;width:max-content;gap:3px;padding:4px;background:#e9eee3;border-radius:8px;margin:0 0 20px}
.health-metric-switch button{font-size:13px;padding:8px 26px;border-radius:5px;color:var(--muted)}
.health-metric-switch button[aria-pressed=true]{background:white;color:var(--green);box-shadow:0 1px 4px #2633260a}
.bp-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.bp-summary .weight-summary-card:first-child strong{color:#5a7da8}
.bp-high-text{color:#5a7da8}.bp-low-text{color:#9a77a6}
.bp-line{stroke-width:2.1;stroke-linecap:round}.bp-line.high{stroke:#5a7da8}.bp-line.low{stroke:#9a77a6}.bp-line.gap{stroke-dasharray:5 5;opacity:.65}
.bp-point{cursor:pointer;outline:0}.bp-point-dot{stroke:white;stroke-width:1.4}.bp-point.high .bp-point-dot{fill:#5a7da8}.bp-point.low .bp-point-dot{fill:#9a77a6}
.bp-point:hover .bp-point-dot,.bp-point:focus .bp-point-dot{stroke:#c8d4e0;stroke-width:6;paint-order:stroke}
#bp-readout{font-size:10px;color:var(--muted);line-height:1.8;margin:0;text-align:right}
#bp-month{width:146px;font-size:12px;padding:7px 9px}
.bp-record{grid-template-columns:185px minmax(0,1fr) auto}.bp-record-value small{font-size:10px;color:var(--muted);font-weight:400}
.bp-record .bp-record-value>span{font-size:15px;font-weight:550}.bp-record-value .bp-high-text{color:#5a7da8}.bp-record-value .bp-low-text{color:#9a77a6}
.bp-record .weight-record-notes{display:flex;flex-direction:column;gap:5px}.bp-pulse{font-variant-numeric:tabular-nums}
.bp-value-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.bp-value-fields input{font-size:20px;min-width:0}
#bp-form>label{margin-top:14px}#bp-time{min-width:0;max-width:100%}
@media(max-width:760px){.bp-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bp-summary .weight-summary-card:first-child{grid-column:1/-1}.bp-record{grid-template-columns:minmax(0,1fr) auto}#bp-readout{text-align:left}.bp-value-fields{gap:9px}.bp-value-fields label{font-size:10px}.bp-value-fields input{padding:10px 8px;font-size:18px}}
/* Weight measurements preserve missing dates and use a continuous date axis. */
.weight-panel{max-width:1280px;margin:24px auto 34px}
.weight-heading{margin-bottom:23px}.weight-heading .eyebrow{font-size:9px;letter-spacing:1.8px}
.weight-heading h2{font-size:27px;font-weight:550;letter-spacing:-.4px;margin:12px 0 10px}
.weight-heading p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}
.weight-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.weight-summary-card{background:white;border:1px solid var(--line);border-radius:11px;padding:19px 21px;min-width:0}
.weight-summary-label{font-size:11px;color:var(--muted)}
.weight-summary-value{display:flex;align-items:baseline;gap:6px;margin:13px 0 8px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.weight-summary-value strong{font-size:30px;font-weight:550;color:var(--green);letter-spacing:-.6px;overflow-wrap:anywhere}
.weight-summary-detail{font-size:10px;line-height:1.6;color:var(--muted);display:block;overflow-wrap:anywhere}
.weight-chart-panel,.weight-history-panel{background:white;border:1px solid var(--line);border-radius:13px;padding:22px 24px;margin-top:18px;min-width:0}
.weight-chart-heading,.weight-history-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}
.weight-chart-heading h3,.weight-history-heading h3{font-size:17px;font-weight:550;margin:0 0 7px}
.weight-chart-heading span,.weight-history-heading>span{font-size:10px;color:var(--muted);line-height:1.7}
.weight-range-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.weight-range-switch{display:flex;gap:2px;padding:3px;background:#eef2e9;border-radius:7px}
.weight-range-switch button{font-size:11px;color:var(--muted);padding:7px 12px;border-radius:4px;white-space:nowrap}
.weight-range-switch button[aria-pressed=true]{background:white;color:var(--green);box-shadow:0 1px 3px #25351c0a}
#weight-month{width:146px;font-size:12px;padding:7px 9px}
.weight-chart{width:100%;min-width:0;overflow-x:auto}.weight-chart svg{display:block;width:100%;min-width:240px;overflow:visible}
.weight-axis-label{font-family:inherit;font-size:10px;fill:#889081;font-variant-numeric:tabular-nums}
.weight-gridline{stroke:#edf0e9;stroke-width:1}.weight-line{stroke:#67855f;stroke-width:2.2;stroke-linecap:round}
.weight-line.gap{stroke-dasharray:5 5;opacity:.65}
.weight-point{cursor:pointer;outline:0}.weight-point-hit{fill:transparent}.weight-point-dot{fill:#67855f;stroke:white;stroke-width:1.5}
.weight-point:hover .weight-point-dot,.weight-point:focus .weight-point-dot{stroke:#a7bba0;stroke-width:6;paint-order:stroke}
.weight-chart-empty{text-align:center;display:flex;align-items:center;justify-content:center;min-height:260px;font-size:13px;color:var(--muted);line-height:1.9;padding:30px}
.weight-chart-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}
.weight-chart-legend{display:flex;gap:15px;white-space:nowrap;font-size:10px;color:#67855f}
#weight-chart-readout{font-size:10px;color:var(--muted);line-height:1.8;margin:0;text-align:right}
.weight-record{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:16px;align-items:center;border-top:1px solid var(--line);padding:13px 0}
.weight-record-copy{display:flex;flex-direction:column;gap:6px;text-align:left;padding:0}
.weight-record-copy strong{font-size:15px;font-weight:550;font-variant-numeric:tabular-nums}
.weight-record-copy span{font-size:10px;color:var(--muted)}
.weight-record-notes{font-size:11px;color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.8}
.weight-record .quiet{font-size:11px}.weight-history-empty{text-align:center;font-size:12px;color:var(--muted);padding:30px 10px}
.weight-more{display:block;width:100%;font-size:11px;padding:13px;margin-top:8px;border-top:1px solid var(--line)}
#weight-form>label{margin-top:14px}#weight-value{font-size:21px;font-variant-numeric:tabular-nums}
@media(max-width:900px){.weight-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .weight-panel{margin-top:20px}.weight-heading h2{font-size:23px}.weight-heading p{font-size:11px}
  .weight-summary{gap:9px}.weight-summary-card{padding:15px 13px}.weight-summary-value{margin:10px 0 8px}.weight-summary-value strong{font-size:27px}
  .weight-chart-panel,.weight-history-panel{padding:18px 13px}.weight-chart-heading{align-items:flex-start;flex-direction:column;gap:13px}
  .weight-range-controls{justify-content:flex-start}.weight-range-switch button{padding:7px 10px}.weight-chart-footer{align-items:flex-start;flex-direction:column;gap:8px}
  #weight-chart-readout{text-align:left}.weight-record{grid-template-columns:minmax(0,1fr) auto;gap:8px}.weight-record-notes{grid-row:2;grid-column:1/-1}
  .weight-history-heading{align-items:flex-start;gap:10px}.weight-history-heading>span{max-width:115px;text-align:right}
}
/* Independent habit cards, each with a Sunday-first monthly check-in grid. */
.habits-panel{max-width:1380px;margin:24px auto 32px}
.habits-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.habits-heading .eyebrow{font-size:9px;letter-spacing:1.8px}
.habits-heading h2{font-size:26px;font-weight:550;margin:12px 0 10px;letter-spacing:-.4px}
.habits-heading p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}
.habits-today-count{font-size:12px;color:var(--green);background:#eaf0e4;border:1px solid #dce5d3;border-radius:20px;padding:9px 15px;white-space:nowrap}
.habits-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:white;border:1px solid var(--line);border-radius:10px;padding:10px 16px;margin-bottom:18px}
.habits-toolbar>span{font-size:10px;color:var(--muted)}
.habits-month-navigation{display:flex;align-items:center;gap:6px}
.habits-month-navigation input{width:156px;padding:7px 10px;border:0;background:transparent;font-size:14px}
.habits-month-navigation .quiet{font-size:11px;padding:7px 10px}
.habits-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.habit-card{background:white;border:1px solid var(--line);border-top:3px solid var(--habit-accent);border-radius:14px;padding:19px;min-width:0}
.habit-card-heading{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;min-height:59px}
.habit-card-copy{min-width:0}.habit-card-copy h3{font-size:17px;font-weight:600;margin:0 0 7px;line-height:1.5;overflow-wrap:anywhere}
.habit-card-copy p{font-size:11px;color:var(--muted);margin:0 0 12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}
.habit-edit{font-size:10px;padding:4px 0 4px 8px;flex-shrink:0}
.habit-today{width:100%;padding:10px;border-radius:7px;background:var(--habit-soft);color:var(--habit-accent);font-size:12px;font-weight:550;margin-bottom:14px}
.habit-today.checked{background:var(--habit-accent);color:white}
.habit-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.habit-stat{padding:9px 11px;background:#f7f8f6;border-radius:8px;min-width:0}
.habit-stat-label{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}
.habit-stat-label:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#64b194;margin-right:5px;vertical-align:1px}
.habit-stat.total .habit-stat-label:before{background:#7e8bc5}.habit-stat.rate .habit-stat-label:before{background:#d2a15e}.habit-stat.streak .habit-stat-label:before{background:#d38a84}
.habit-stat-number{display:flex;align-items:baseline;gap:4px;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
.habit-stat-number strong{font-size:22px;font-weight:550;color:var(--ink);line-height:1.15}
.habit-calendar{margin-top:17px}
.habit-month-caption{text-align:center;font-size:12px;font-weight:550;margin-bottom:12px}
.habit-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px 3px}
.habit-weekday{font-size:10px;text-align:center;color:var(--muted);padding-bottom:4px}
.habit-day{padding:3px 0;border-radius:6px;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.habit-day-number{font-size:10px;color:#7d887a;font-variant-numeric:tabular-nums;line-height:1.1}
.habit-day-circle{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f1f3ef;color:transparent;font-size:13px;line-height:1}
.habit-day.checked .habit-day-circle{background:var(--habit-accent);color:white}
.habit-day.today .habit-day-number{color:var(--habit-accent);font-weight:700}
.habit-day.today:not(.checked) .habit-day-circle{box-shadow:inset 0 0 0 1.5px var(--habit-accent);background:var(--habit-soft)}
.habit-day:hover:not(:disabled){background:var(--habit-soft)}
.habit-day:disabled{opacity:.5;cursor:default}.habit-day.outside{opacity:.23}
.habit-day:focus-visible,.habit-today:focus-visible{outline:2px solid var(--habit-accent);outline-offset:2px}
.habits-empty{grid-column:1/-1;text-align:center;border:1px dashed #d4dfca;border-radius:14px;padding:50px 20px;background:#f9faf6}
.habits-empty-symbol{font-size:35px;color:#a0b393}.habits-empty h3{font-size:19px;font-weight:550;margin:13px 0}
.habits-empty p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:22px}
#habit-form>label{margin-top:15px}
@media(max-width:1120px){.habits-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .habits-panel{margin-top:22px}.habits-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:17px}
  .habits-heading h2{font-size:21px;line-height:1.5}.habits-heading p{font-size:11px}
  .habits-today-count{font-size:11px;padding:7px 12px}.habits-toolbar{flex-wrap:wrap;padding:9px 10px;gap:7px}
  .habits-toolbar>span{font-size:9px;padding:0 4px 3px}.habits-list{grid-template-columns:1fr;gap:14px}
  .habit-card{padding:17px}.habit-card-copy h3{font-size:17px}.habit-card-heading{min-height:55px}
  .page-heading{flex-wrap:wrap;gap:8px}.page-heading .primary{margin-left:auto}
}
@media(max-width:380px){.workspace-tabs button{padding-inline:7px!important}.habits-heading h2{font-size:19px}.habit-card{padding:14px}.habit-day-circle{width:24px;height:24px}.habits-month-navigation input{width:142px}}
/* Personal bookkeeping: distinct wallets, separate currencies, compact rows. */
.ledger-panel{max-width:1380px;margin:18px auto 32px}
.ledger-heading,.ledger-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ledger-heading{margin-bottom:22px}
.ledger-heading h2{font-size:25px;font-weight:550;margin:0 0 9px;letter-spacing:-.5px}
.ledger-heading p,.ledger-help{font-size:12px;line-height:1.8;color:var(--muted);margin:6px 0 16px}
.ledger-month-nav{display:flex;align-items:center;gap:5px;flex-shrink:0}
.ledger-month-nav input{width:150px;padding:8px;background:white}
.ledger-month-nav button{padding:8px 10px}
.ledger-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ledger-summary-card{background:white;border:1px solid var(--line);border-radius:12px;padding:21px 24px;min-width:0;border-top:3px solid var(--ledger-color)}
.ledger-currency-label,.ledger-summary-label{display:block;font-size:12px;color:var(--muted)}
.ledger-currency-label{color:var(--ledger-color);margin-bottom:20px;font-weight:600}
.ledger-total{display:block;font-size:30px;font-weight:550;letter-spacing:-.7px;line-height:1.6;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.ledger-summary-meta{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:10px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.ledger-section-heading{margin:22px 0 12px}
.ledger-section-heading h3{font-size:16px;font-weight:550;margin:0}
.ledger-section-heading>div{display:flex;align-items:center;gap:9px}
.ledger-section-heading span,.ledger-section-heading label{font-size:11px;color:var(--muted)}
.ledger-section-heading .quiet{font-size:12px;padding:7px 10px}
.ledger-accounts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.ledger-account-card{background:#edf1e7;border:1px solid #dfe6d7;border-radius:9px;padding:17px 20px;text-align:left;display:flex;flex-direction:column;gap:7px;min-width:0}
.ledger-account-card:hover{border-color:#a8b99b;background:#e8eedf}
.ledger-account-name{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.ledger-account-currency{font-size:10px;color:var(--muted)}
.ledger-account-balance{font-size:23px;font-weight:550;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.ledger-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:18px;margin-top:24px}
.ledger-records-panel,.ledger-fixed-panel{background:white;border:1px solid var(--line);border-radius:12px;padding:0 22px 14px;min-width:0}
.ledger-records-panel .ledger-section-heading,.ledger-fixed-panel .ledger-section-heading{margin-top:18px;flex-wrap:wrap}
#ledger-filter{font-size:11px;padding:7px 9px;width:auto;max-width:190px}
#ledger-pending{color:#a56f31;background:#faf1df;border-radius:4px;padding:4px 7px}
.ledger-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 0;border-top:1px solid var(--line);min-width:0}
.ledger-entry-copy,.ledger-rule-copy{display:flex;flex-direction:column;gap:5px;text-align:left;min-width:0;padding:0;line-height:1.55}
.ledger-entry-copy strong,.ledger-rule-copy strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}
.ledger-entry-meta{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.ledger-entry-amount{font-size:14px;font-weight:550;text-align:right;font-variant-numeric:tabular-nums;align-self:start;overflow-wrap:anywhere;max-width:100%}
.ledger-entry-amount.income{color:#45816d}.ledger-entry-amount.expense{color:#896548}
.ledger-assignment{justify-self:start;font-size:10px;padding:3px 7px;background:var(--soft);border-radius:4px;max-width:100%;overflow-wrap:anywhere;text-align:left}
.ledger-assignment.is-pending{color:#a1723e;background:#faf3e8}
.ledger-rule{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:14px 0;border-top:1px solid var(--line)}
.ledger-rule .quiet{justify-self:start;padding:2px 0;font-size:10px}.ledger-rule.paused{opacity:.65}
.ledger-empty{grid-column:1/-1;padding:25px 12px;text-align:center;color:var(--muted);font-size:12px;line-height:1.9;margin:0}
#ledger-account-fields>label,#ledger-record-fields>label{margin-top:14px}
.ledger-amount-input{font-size:23px!important;font-variant-numeric:tabular-nums}
#ledger-rule-fields{margin-top:15px;padding:12px;background:var(--soft);border-radius:7px}
@media(max-width:1000px){.ledger-columns{grid-template-columns:1fr}.ledger-total{font-size:24px}.ledger-summary-card{padding:18px}.ledger-summary-meta{flex-direction:column}}
@media(max-width:760px){
  .ledger-panel{margin-top:20px}.ledger-heading{align-items:flex-start;flex-direction:column;gap:0}.ledger-heading h2{font-size:22px}
  .ledger-month-nav{align-self:stretch;justify-content:space-between}.ledger-month-nav input{flex:1;max-width:200px}
  .ledger-summary{grid-template-columns:1fr;gap:9px}.ledger-summary-card{padding:14px 17px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}
  .ledger-currency-label{margin:0;grid-column:1/-1}.ledger-summary-label{align-self:center;font-size:11px}.ledger-total{font-size:25px;text-align:right}
  .ledger-summary-meta{grid-column:1/-1;flex-direction:row;justify-content:space-between;margin-top:4px}
  .ledger-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-account-card{padding:14px 12px}.ledger-account-balance{font-size:19px}
  .ledger-columns{gap:12px}.ledger-records-panel,.ledger-fixed-panel{padding:0 14px 10px}
  .ledger-entry{gap:6px}.ledger-entry-copy{grid-column:1/-1}.ledger-entry-amount{grid-column:2;grid-row:2}.ledger-assignment{grid-column:1;grid-row:2}
  .ledger-entry-amount{font-size:13px}.ledger-rule-copy{grid-column:1/-1}.ledger-rule .ledger-entry-amount{grid-row:2}
  .workspace-tabs button{padding-inline:9px}
}
@media(max-width:1050px){.page-heading #today-caption{display:none}}
@media(max-width:760px){
  .page-heading>div{gap:8px}
  .page-heading #workspace-title{display:none}
  .workspace-tabs button{padding:6px 11px;font-size:12px}
  .fc .fc-daygrid-event{font-size:10px;line-height:13px;padding:0 2px}
  .fc .fc-daygrid-day-number{padding:4px 6px}
  .calendar-footer{padding:8px 10px}
  .legend{gap:5px 11px}
  .anniversaries-panel{margin-top:4px}
  .anniversary-intro{padding:16px 2px}
  .anniversary-intro h2{font-size:19px}
  .anniversary-intro p{font-size:11px}
  .anniversary-list{grid-template-columns:1fr;gap:9px;margin-top:12px}
  .anniversary-card{padding:15px;gap:10px}
  .anniversary-name{font-size:14px}
  .anniversary-digits strong{font-size:30px}
  .anniversary-card.featured{padding:24px 20px;min-height:200px;flex-wrap:wrap;align-items:flex-start}
  .anniversary-card.featured .anniversary-copy{flex-basis:100%}
  .anniversary-card.featured .anniversary-name{font-size:20px}
  .anniversary-card.featured .anniversary-number{margin-left:auto}
  .anniversary-card.featured .anniversary-digits strong{font-size:62px}
}
