*{box-sizing:border-box}body{margin:0;background:#f2f0e8;color:#263c35;font-family:Segoe UI,Arial,sans-serif}.dashboard{height:1080px;padding:36px 56px 22px;max-width:1920px;margin:auto}.masthead{height:120px;display:flex;justify-content:space-between;align-items:flex-start}.eyebrow,.section-label,.routine-number,.assigned-label,.cat-list-heading,footer,.assignment label{font-size:12px;letter-spacing:.16em;font-weight:700}.eyebrow{color:#72877b}h1,h2,p{margin:0}h1{font:600 54px Georgia,serif;letter-spacing:-.045em;margin-top:8px}h1 span,h2 span{color:#df9b72}.header-note{padding-top:30px;color:#788a7d;font:italic 20px Georgia,serif}.header-note span{font-style:normal;color:#d39570;margin-left:20px;font-size:28px}.layout{display:grid;grid-template-columns:1.7fr 1fr;gap:24px;height:840px}.section-label{height:32px;color:#788a7d;display:flex;justify-content:space-between;padding:0 4px}.section-label span{color:#acb7ac}#routines{height:808px;display:grid;grid-template-rows:1.15fr .9fr 1fr;gap:14px}.routine{background:#fffefa;border:1px solid #e4e7dd;border-radius:18px;padding:20px 26px;overflow:hidden}.routine-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.routine-number{color:#94a49a;font-size:11px;text-transform:uppercase}.routine h2,.cat h2{font:600 31px Georgia,serif;letter-spacing:-.035em;margin-top:5px}.people{display:flex;background:#f1f3ed;border-radius:30px;padding:4px;gap:3px}.people button{border:0;background:transparent;color:#647a6e;font-size:15px;font-weight:600;padding:10px 22px;border-radius:24px;cursor:pointer}.people button[aria-pressed=true]{background:#335c4c;color:white}.tasks{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-flow:row;gap:9px 15px}.task{display:flex;align-items:center;gap:10px;min-height:30px;font-size:16px;line-height:1.2;color:#394e44;cursor:pointer}.task input{appearance:none;flex:0 0 21px;width:21px;height:21px;border:1.5px solid #b8c8b9;border-radius:6px;background:white;margin:0}.task input:checked{background:#668b70;border-color:#668b70}.task input:checked:after{content:'✓';display:block;color:white;text-align:center;font-size:15px;line-height:19px}.task input:checked+span{text-decoration:line-through;color:#92a298}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #d79068;outline-offset:3px}.cat{background:#dce8d9;border-radius:22px;padding:28px 32px;display:flex;flex-direction:column}.cat-top{position:relative}.cat-icon{position:absolute;right:0;top:-4px;font-size:40px;color:#93ad96}.cat h2{font-size:40px;margin-top:12px}.cat p{color:#718777;margin-top:6px;font:italic 17px Georgia,serif}.assignment{margin-top:22px;background:#f7f8ef;border-radius:14px;padding:16px 19px;display:grid;grid-template-columns:1fr 1fr;gap:5px 22px}.assignment label,.assigned-label{color:#8a9d8b;font-size:10px}.assignment select{grid-column:1;grid-row:2 / 4;border:0;background:transparent;color:#294a3a;font:600 22px Georgia,serif;padding:4px 0;cursor:pointer;width:100%}.assigned-label{grid-column:2;grid-row:1}#assignee{grid-column:2;grid-row:2;font:600 26px Georgia,serif;color:#315c46}.cat-list-heading{display:flex;justify-content:space-between;color:#718b77;margin:26px 0 13px}.cat-list-heading span{color:#9aab9b;font-size:10px}#cat-tasks{display:grid;gap:10px}#cat-tasks .task{font-size:16px;min-height:35px}.cat-footer{margin-top:auto;border-top:1px solid #bed0bc;padding-top:18px;color:#79927d;font:italic 16px Georgia,serif}.cat-footer span{float:right;color:#d39570}footer{display:flex;justify-content:space-between;color:#a4b1a3;margin-top:25px;font-size:10px}footer span{color:#bdc7bb}

/* Larger hit areas for the shared display. */
.people button,.assignment select{min-height:44px}.task{min-height:40px}#cat-tasks .task{min-height:40px}

.routine{padding:16px 26px}.routine-head{margin-bottom:10px}.tasks{row-gap:4px}
/* Three-column day view. */
.masthead{height:112px;align-items:flex-start}.clock{text-align:right;padding-top:8px;color:#72877b;font-size:15px}.clock #clock{font:600 34px Georgia,serif;color:#315c46;margin-top:8px}.layout{grid-template-columns:1fr 1.34fr .88fr;gap:16px;height:850px}.routines{min-width:0}#routines{height:818px;grid-template-rows:1.15fr .9fr 1fr}.routine{padding:14px 17px}.routine h2{font-size:27px}.routine-head{margin-bottom:8px}.people button{padding:8px 14px}.tasks{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 8px}.task{font-size:14px;min-height:29px;line-height:1.12}.task input{width:19px;height:19px;flex-basis:19px}.cat{padding:24px 20px;min-width:0}.cat h2{font-size:33px}.cat-icon{font-size:30px}.assignment{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;padding:14px}.assignment #day,.assignment #assignee{font:600 22px Georgia,serif;color:#315c46;margin-top:6px}.cat-list-heading{margin:20px 0 10px}#cat-tasks{gap:4px}#cat-tasks .task{font-size:14px;min-height:38px}.cat-footer{font-size:14px}.calendar{background:#fffefa;border:1px solid #e4e7dd;border-radius:18px;padding:20px 18px;display:flex;flex-direction:column;min-height:0;min-width:0}.calendar-header{display:flex;justify-content:space-between;align-items:center}.calendar h2{font:600 28px Georgia,serif;margin-top:7px}.calendar-header button{background:#e5eee3;color:#315c46;border:0;border-radius:22px;min-height:44px;padding:0 16px;font-weight:700;cursor:pointer}.calendar-subtitle{font:italic 14px Georgia,serif;color:#7c8f80;margin:9px 0}.source-status{font-size:11px;line-height:1.4;padding:5px 0 5px 10px;border-left:3px solid #82a58b;overflow-wrap:anywhere}.source-status.meals{border-color:#d59b76}.calendar-scroll{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;margin-top:8px;padding-right:4px}.calendar-label{font-size:10px;letter-spacing:.1em;color:#8b9c8f;font-weight:700}.empty{font-size:12px;color:#849589;padding:8px 0}.event{border-left:3px solid #82a58b;background:#edf4eb;border-radius:5px;padding:8px 10px;font-size:13px;overflow-wrap:anywhere;margin-bottom:5px}.event.meals{background:#fbefe6;border-color:#d59b76}.event-source{font-size:10px;font-weight:700;color:#64816b;margin-bottom:3px}.event.meals .event-source{color:#a86f50}.event strong{display:block}.event-time{font-size:11px;margin-top:3px}.event p{font-size:12px;white-space:pre-wrap;margin:5px 0 0}.all-day{padding-bottom:8px}footer{margin-top:20px}
.timed-label{margin-top:8px}.timeline .event{margin-bottom:8px}.calendar-scroll:focus-visible{outline:3px solid #d79068;outline-offset:2px}.event-source{overflow-wrap:anywhere}
/* Quiet layout, on-demand calendar health, and routine tabs. */
#routines{height:850px}.routine{min-width:0}.routine-head{align-items:flex-end;gap:12px;border-bottom:1px solid #dce6dc;margin-bottom:10px}.routine-head h2{white-space:nowrap;margin-bottom:8px}.people{position:relative;min-width:0;max-width:75%;padding:0;background:transparent;border-radius:0;gap:2px;overflow-x:auto;scrollbar-width:thin}.people button{position:relative;flex:0 0 auto;min-height:44px;padding:8px 16px;border-radius:6px 6px 0 0;background:transparent;color:#647a6e;border:0;border-bottom:3px solid transparent}.people button[aria-selected=true]{background:#edf3eb;color:#294e3d;border-bottom-color:#315c4c}.people button::after{content:'';position:absolute;left:8px;bottom:1px;width:calc((100% - 16px) * var(--progress, 0));height:2px;background:#86a98b}.people button[data-progress=complete]::before{content:'✓';position:absolute;right:3px;top:1px;font-size:10px;color:#648d69}.people button:focus-visible{outline-offset:-4px}.calendar-header{position:relative;gap:8px}.calendar-header h2{margin:0}.calendar-actions{display:flex;align-items:center;gap:6px}.calendar-header .info-button{width:44px;min-width:44px;padding:0;border:1px solid #b7c9b8;border-radius:50%;font:700 18px Georgia,serif;background:#f8faf4}.calendar-header .info-button.warning{background:#f9e6d1;color:#8c5029;border-color:#dcae80}.calendar-header .info-button.warning::after{content:'!';font:700 11px Segoe UI,sans-serif;margin-left:2px}.status-note{position:absolute;z-index:3;top:calc(100% + 8px);right:0;max-width:250px;padding:10px 14px;border-radius:8px;background:#315c4c;color:white;box-shadow:0 4px 15px #233b3426;font-size:13px;pointer-events:none}.status-popover{position:absolute;z-index:4;right:0;top:calc(100% + 8px);width:min(360px,100%);padding:15px;border:1px solid #d3dfd2;border-radius:12px;background:#fffefa;box-shadow:0 8px 24px #233b3433}.status-popover h3{font:600 19px Georgia,serif;margin:0 35px 8px 0}.status-popover p{font-size:12px;line-height:1.4;color:#657c6d;margin:10px 0 0}.calendar-header #status-close{position:absolute;right:8px;top:6px;min-width:36px;min-height:36px;padding:0;background:transparent;font-size:23px}.all-day{margin-top:18px}.cat h2{margin-top:0}#cat-tasks{margin-top:20px}
/* Content-sized routine bodies and a single scrollable routine column. */
.routines{height:850px;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 4px 0 0}.routines:focus-visible{outline:3px solid #d79068;outline-offset:2px}#routines{height:auto;display:flex;flex-direction:column;gap:16px}.routine{padding:0;border:0;border-radius:0;background:transparent;overflow:visible;min-width:0}.routine-head{position:relative;z-index:1;margin:0;gap:12px;border:0;align-items:flex-end}.routine-head h2{margin:0 0 8px}.people{margin-bottom:-1px}.people button{border:1px solid transparent;border-bottom:1px solid #e4e7dd;min-height:44px}.people button[aria-selected=true]{background:#fffefa;border-color:#e4e7dd;border-bottom-color:#fffefa;color:#294e3d}.tasks{background:#fffefa;border:1px solid #e4e7dd;border-radius:12px 0 12px 12px;padding:14px 17px;overflow:visible}.cat-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.cat-assignment{display:flex;flex-direction:column;align-items:flex-end;text-align:right}.cat-assignment #assignee{font:600 22px Georgia,serif;color:#315c46;margin-top:4px}#cat-tasks{margin-top:24px}
/* Compact painted controls retain separate 44-pixel interaction areas. */
.calendar-actions{gap:0}.calendar-header #refresh,.calendar-header .info-button{position:relative;isolation:isolate;min-height:44px;height:44px;background:transparent;border:0;color:#315c46}.calendar-header #refresh{padding:0 15px}.calendar-header .info-button{width:44px;min-width:44px;padding:0}.calendar-header #refresh::before,.calendar-header .info-button::before{content:'';position:absolute;inset:6px 4px;z-index:-1;background:#e5eee3;border-radius:18px}.calendar-header .info-button::before{inset:6px;border:1px solid #b7c9b8;background:#f8faf4;border-radius:50%}.calendar-header .info-button.warning{background:transparent;color:#8c5029;border:0}.calendar-header .info-button.warning::before{background:#f9e6d1;border-color:#dcae80}
.calendar-header #refresh,.calendar-header .info-button{border-radius:0}
/* Compact event cards and viewport-bounded event details. */
.event{padding:5px 8px}.event-card-row{display:flex;align-items:center;gap:8px;min-width:0}.event-title{flex:1;min-width:0;overflow-wrap:anywhere}.event-time{flex:0 0 auto;margin:0;font-size:11px;white-space:nowrap;color:#536b5a}.event-info{flex:0 0 36px;width:36px;height:36px;border:1px solid #b6cbb9;border-radius:50%;background:#fffefa;color:#315c46;font:700 16px Georgia,serif;cursor:pointer}.event.meals .event-info{border-color:#d6b39b;color:#895c42}.event-info:focus-visible{outline:3px solid #d79068;outline-offset:2px}#event-dialog{width:min(620px,calc(100vw - 40px));max-height:calc(100vh - 40px);padding:0;border:1px solid #cddace;border-radius:16px;background:#fffefa;color:#263c35;box-shadow:0 12px 40px #20352b55}#event-dialog[open]{display:flex;flex-direction:column}#event-dialog::backdrop{background:#162c2670}.event-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #e4e9df}.event-dialog-header h2{font:600 25px Georgia,serif}.event-dialog-header button{min-height:44px;border:0;border-radius:22px;padding:0 18px;background:#e5eee3;color:#315c46;font-weight:700;cursor:pointer}.event-details-content{overflow:auto;min-height:0;padding:20px 22px;overflow-wrap:anywhere}.event-details-content h3{font:600 22px Georgia,serif;margin:0 0 14px}.event-details-content p{font-size:15px;line-height:1.5;white-space:pre-wrap;margin:0 0 12px}.event-details-content a{color:#315c4c;text-decoration:underline}.details-truncated{color:#8c5029}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Date navigation and compact save feedback. */
.date-navigation{display:flex;align-items:center;justify-content:flex-end;gap:8px}.date-navigation button,#task-retry{min-width:36px;min-height:36px;border:0;border-radius:18px;background:#e5eee3;color:#315c46;font-size:22px;cursor:pointer}.date-navigation button:disabled{opacity:.5;cursor:default}#board-mode{font-size:12px;font-weight:700;color:#657c6d;margin-top:2px}.clock #clock{margin-top:2px;font-size:30px}.task-feedback{min-height:18px;font-size:12px;color:#315c46}#task-status.error{color:#a1412c}#task-retry{min-height:24px;min-width:0;font-size:12px;padding:2px 10px;margin-left:6px}#history-message,#cat-history{padding:15px;color:#6b7c70;font-size:14px}.task input:disabled{cursor:not-allowed;opacity:.72}
.arrange-button{min-height:44px;border:0;background:transparent;color:#476b58;font-weight:600;padding:0 8px;cursor:pointer}.arrange-button:disabled{opacity:.45;cursor:default}.arrange-dialog{width:min(680px,calc(100vw - 40px));max-height:calc(100vh - 40px);padding:0;border:1px solid #cddace;border-radius:16px;background:#fffefa;color:#263c35;box-shadow:0 12px 40px #20352b55}.arrange-dialog[open]{display:flex;flex-direction:column}.arrange-dialog::backdrop{background:#162c2670}.arrange-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid #e4e9df}.arrange-header h2{font:600 25px Georgia,serif}.arrange-content{overflow:auto;min-height:0;padding:18px 22px}.arrange-info{line-height:1.4}.arrange-list{padding:0;list-style:none}.arrange-list li{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e4e9df;min-height:50px}.arrange-list li span{flex:1}.arrange-dialog button:not(.arrange-button){min-height:44px;min-width:44px;border:0;border-radius:10px;background:#e5eee3;color:#315c46;padding:0 12px;font-weight:700;cursor:pointer}.arrange-dialog button:disabled{opacity:.4;cursor:default}.arrange-actions{display:flex;flex-wrap:wrap;gap:8px}.arrange-actions p{flex-basis:100%;padding:8px 0}
.tasks .arrange-button{justify-self:end;align-self:center;min-width:44px;min-height:44px;padding:0 8px;color:#6d8274;font-size:12px;font-weight:600}.tasks .arrange-button:hover{color:#294e3d;text-decoration:underline}.arrange-list li .drag-handle{flex:0 0 44px;display:grid;place-items:center;min-width:44px;min-height:44px;color:#718b77;font-size:22px;line-height:1;cursor:grab;touch-action:none;user-select:none}.arrange-list li.drag-source{opacity:.5}.arrange-list li.drop-before{box-shadow:inset 0 3px #315c4c}.arrange-list li.drop-after{box-shadow:inset 0 -3px #315c4c}.arrange-list .drag-handle:active{cursor:grabbing}
/* Personal routine focus preserves the existing tabs and card styling. */
.routine-head{gap:4px}.routine-head h2{margin-right:auto}.routine-focus{flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;color:#6d8274;font-size:20px;cursor:pointer;border-radius:8px}.routine-focus[aria-pressed=true]{background:#e5eee3;color:#294e3d}.routine-body{display:flex;flex-direction:column;min-width:0;background:#fffefa;border:1px solid #e4e7dd;border-radius:12px 0 12px 12px;overflow:hidden}.routine-body .tasks{background:transparent;border:0;border-radius:0;padding:14px 17px 0}.routine-edit-footer{display:flex;justify-content:flex-end;padding:0 9px 3px;flex:none}.routine-edit-footer .arrange-button{min-width:44px;min-height:44px;color:#6d8274;font-size:12px}.routine-edit-footer .arrange-button:hover{text-decoration:underline;color:#294e3d}.routines:has(#routines.focus-mode){overflow:hidden}#routines.focus-mode{height:100%;gap:0}.focus-mode .routine{flex:0 0 auto;min-height:0;margin-bottom:5px}.focus-mode .routine[data-focus-kind=active]{flex:1 1 0;display:flex;flex-direction:column;min-height:0}.focus-mode .routine[data-focus-kind=active] .routine-body{flex:1 1 0;min-height:0}.focus-mode .routine[data-focus-kind=active] .tasks{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:min-content;gap:2px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1 1 0;padding:14px 17px}.focus-mode .routine[data-focus-kind=active] .task{font-size:18px;min-height:48px;line-height:1.3;overflow-wrap:anywhere}.focus-mode .routine[data-focus-kind=active] .task input{width:24px;height:24px;flex-basis:24px}.focus-mode .routine[data-focus-kind=active] .task input:checked:after{line-height:22px}.focus-mode .routine[data-focus-kind=neighbor] .routine-body{display:none}.focus-mode .routine[data-focus-kind=edge]{height:var(--peek-size,5px);min-height:var(--peek-size,5px);margin-bottom:var(--peek-size,5px);border:0;box-shadow:inset 0 1px #dce5da;border-radius:6px;background:#fffefa}.focus-mode .routine[data-focus-kind=edge] .routine-head,.focus-mode .routine[data-focus-kind=edge] .routine-body{display:none}@media (prefers-reduced-motion:reduce){.routine,.routine .task{animation:none!important;transition:none!important}}
@media (max-height:950px){.dashboard{height:auto;min-height:100vh}.layout{height:calc(100vh - 170px);min-height:280px}.routines{height:100%}}
#routine-focus-announcement{position:fixed;top:0;left:0}
/* Reserved card tools and themed scrolling cues. */
.routines-shell{display:grid;grid-template-columns:minmax(0,1fr) 44px;min-width:0;min-height:0;height:850px}.routines-shell .routines{height:100%;min-width:0;scrollbar-width:none}.routines-shell .routines::-webkit-scrollbar,.focus-mode .tasks::-webkit-scrollbar{display:none}.routine-navigation{display:flex;flex-direction:column;justify-content:space-between;align-items:center;min-height:0}.routine-navigation button,.task-cue{width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:transparent;color:#78927d;font-size:21px;cursor:pointer}.routine-navigation button:hover,.task-cue:hover{background:#e5eee3;color:#315c46}.routine-navigation button[hidden],.task-cue[hidden]{display:block;visibility:hidden;pointer-events:none}.routine-open{font:inherit;letter-spacing:inherit;color:inherit;background:transparent;border:0;padding:0;cursor:pointer;text-align:left}.routine-open:focus-visible{outline:3px solid #d79068;outline-offset:3px}.routine-chrome{height:44px;flex:none;display:flex;justify-content:flex-end;padding-right:4px}.routine-task-scroll{min-height:0}.task-cue{display:none}.focus-mode .routine[data-focus-kind=active] .routine-task-scroll{display:flex;flex:1 1 0;min-height:0;flex-direction:column;align-items:stretch}.focus-mode .routine[data-focus-kind=active] .tasks{scrollbar-width:none}.focus-mode .routine[data-focus-kind=active] .task-cue{display:block;align-self:center;flex:none}.focus-mode.all-done .routine[data-focus-kind=active]{flex:0 0 auto}.focus-mode.all-done .routine[data-focus-kind=active] .routine-body{display:none}@media (max-height:950px){.routines-shell{height:100%}}
.routine-task-scroll>.task-cue{display:none}.focus-mode .routine[data-focus-kind=active] .routine-task-scroll>.task-cue{display:block}
.routine-open{min-height:44px}
/* Balanced header and per-routine equal-width participant tabs. */
.masthead{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,350px) minmax(0,1fr);align-items:start;gap:12px}.masthead>div:first-child{min-width:0}.clock{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0 8px;text-align:center;padding:4px 12px;border:1px solid #d8e3d6;border-radius:14px;background:#fffefa;color:#72877b;min-width:0}.clock .date-navigation{grid-column:1/-1;justify-content:center;gap:5px;white-space:nowrap}.clock #board-mode{grid-column:1;grid-row:2;margin:0;text-align:right}.clock #clock{grid-column:2;grid-row:2;margin:0;text-align:left;font-size:25px}.clock .task-feedback{grid-column:1/-1;min-height:16px;text-align:center;line-height:16px}.weather-placeholder{justify-self:end;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:120px;min-height:72px;padding:8px 14px;border:1px solid #d8e3d6;border-radius:14px;background:#fffefa;color:#72877b;font-size:13px;font-weight:600}.weather-placeholder small{font-size:11px;font-weight:400;margin-top:3px}.people button{flex:0 0 var(--tab-width,auto);width:var(--tab-width,auto);min-width:max-content;white-space:nowrap;text-align:center}.focus-mode .routine[data-focus-kind=active] .task{font-size:var(--focus-size,18px);min-height:var(--focus-row,48px)}
@media (max-width:1100px){.masthead{grid-template-columns:minmax(0,1fr) minmax(230px,300px) minmax(0,1fr)}.masthead h1{font-size:clamp(28px,4vw,44px)}.weather-placeholder{min-width:0;padding:8px}.dashboard{padding-left:24px;padding-right:24px}}
@media (min-width:1101px) and (max-width:1500px){.masthead h1{font-size:clamp(36px,3.4vw,48px)}}
.clock{grid-template-columns:auto auto;justify-content:center}.clock #clock{white-space:nowrap}
@media (max-height:950px){.cat{min-height:0;overflow-y:auto}}

.arrange-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none;padding:12px 22px;border-top:1px solid #e4e9df;background:#fffefa}.arrange-add{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0}.arrange-add label{flex-basis:100%}.arrange-add input{min-height:44px;min-width:0;flex:1;padding:8px;border:1px solid #9eafa2;border-radius:8px;font:inherit}.arrange-list li span:not(.drag-handle){overflow-wrap:anywhere;min-width:0}.arrange-undo{margin:8px 0}.arrange-actions{justify-content:flex-end}.arrange-actions p{margin:0}

.arrange-list .edit-task,.arrange-list .remove-task{flex:0 0 44px;width:44px;height:44px;padding:0!important;font-size:22px}.arrange-dialog .arrange-list .remove-task{color:#a33131;background:#fae7e5}.arrange-list .inline-task-input{min-width:0;flex:1;min-height:44px;padding:8px;border:1px solid #789481;border-radius:8px;font:inherit}.arrange-undo{display:flex;flex-wrap:wrap;gap:8px}.arrange-dialog button:focus-visible,.arrange-dialog input:focus-visible{outline:3px solid #376f54;outline-offset:2px}

.routine-edit-footer .add-person{min-width:44px;min-height:44px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#6d8274;font-weight:600;font-size:12px;cursor:pointer}.routine-edit-footer .add-person:hover{text-decoration:underline;color:#294e3d}.routine-edit-footer .add-person:disabled{opacity:.45;cursor:default}.member-dialog .arrange-content{display:flex;flex-direction:column;gap:10px}.member-dialog select{min-height:44px;width:100%;padding:8px;border:1px solid #9eafa2;border-radius:8px;background:#fffefa;color:#263c35;font:inherit}.member-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.member-actions p{flex-basis:100%}.member-dialog select:focus-visible,.routine-edit-footer .add-person:focus-visible{outline:3px solid #376f54;outline-offset:2px}
.create-name,.create-task{min-height:44px;width:100%;padding:8px;border:1px solid #9eafa2;border-radius:8px;font:inherit}.create-recipients{overflow-wrap:anywhere}
.header-add{position:relative;justify-self:start;z-index:5}.header-add-toggle{width:56px;height:56px;border:1px solid #d8e3d6;border-radius:14px;background:#fffefa;color:#315c46;font:400 38px/1 Segoe UI,Arial,sans-serif;cursor:pointer}.header-add-toggle:hover,.header-add-toggle[aria-expanded=true]{background:#e5eee3}.header-add-options{position:absolute;top:calc(100% + 8px);left:0;min-width:170px;padding:6px;border:1px solid #d8e3d6;border-radius:12px;background:#fffefa;box-shadow:0 8px 24px #20352b33}.header-add-options[hidden]{display:none}.header-add-options button{display:block;width:100%;min-height:48px;padding:0 14px;text-align:left;border:0;border-radius:8px;background:transparent;color:#315c46;font:600 15px Segoe UI,Arial,sans-serif;cursor:pointer}.header-add-options button:hover:not(:disabled){background:#e5eee3}.header-add-options button:disabled{color:#a9b4aa;cursor:default}
.people.carousel{scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:none;touch-action:pan-y;flex:1 1 380px;width:380px;max-width:60%}.people.carousel::-webkit-scrollbar{display:none}.people.carousel::before,.people.carousel::after{content:'';flex:0 0 calc(50% - var(--selected-half,34px))}.people.carousel button{min-width:68px;width:auto;max-width:130px;padding:7px 8px;flex:0 0 auto;font-size:14px}.people.carousel button[data-distance="1"]{min-width:60px;font-size:12px}.people.carousel button[data-distance="2"]{min-width:52px;font-size:11px}.people.carousel button::after{left:calc(50% - 18px);width:calc(36px * var(--progress,0))}.routine-edit-footer .remove-routine{min-width:44px;min-height:44px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#907a72;font-weight:600;font-size:12px;cursor:pointer}.routine-edit-footer .remove-routine:disabled{opacity:.45;cursor:default}.routine-edit-footer .remove-routine[hidden]{display:none}.recipient-list{display:flex;flex-wrap:wrap;gap:4px 16px}.recipient-list label{display:flex;align-items:center;gap:6px;min-height:44px}.recipient-list input{width:22px;height:22px}.create-recipients>button{margin:4px}.remove-body{display:flex;flex-direction:column;gap:10px}.remove-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}

.people.carousel button[hidden]{display:none}.routine-head:has(.people.carousel) h2{min-width:0;white-space:normal;overflow-wrap:anywhere}

.cat-top[hidden],#cat-tasks[hidden],.chore-stack[hidden],.chore-fields[hidden]{display:none}.cat:has(.chore-stack:not([hidden])){padding:0;background:transparent;overflow:hidden}.chore-stack{min-height:0;height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding-right:3px}.chore-add{align-self:flex-end;min-height:44px;border:0;border-radius:10px;padding:0 16px;background:#e5eee3;color:#315c46;font-weight:700;cursor:pointer}.chore-card{background:#dce8d9;border-radius:18px;padding:20px}.chore-card-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.chore-card h2{font-size:29px;overflow-wrap:anywhere}.chore-assignee{color:#315c46;text-align:right;font-weight:700;font-size:14px;max-width:45%}.chore-tasks{display:grid;gap:4px;margin-top:16px}.chore-tasks .task{min-height:38px}.chore-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.chore-actions button{min-height:44px;padding:0 12px;border:0;border-radius:8px;color:#315c46;background:#eef4eb;cursor:pointer}.chore-history{font-size:13px;color:#687d6d;margin-top:8px}.chore-dialog .arrange-content{display:flex;flex-direction:column;gap:12px}.chore-dialog label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600}.chore-dialog input:not([type=checkbox]),.chore-dialog select{width:100%;min-height:44px;padding:8px;border:1px solid #9eafa2;border-radius:8px;background:white;font:inherit}.chore-fields{display:flex;flex-direction:column;gap:10px}.chore-fields h3{margin:8px 0 0}.chore-step-list,.chore-schedule{display:grid;gap:8px}.chore-step{display:flex;align-items:end;gap:6px}.chore-step>label:first-child{flex:1;min-width:0}.chore-step .chore-required{display:flex;flex-direction:row;align-items:center;min-height:44px;white-space:nowrap}.chore-step button,.chore-add-step{min-width:44px;min-height:44px}.chore-info,.chore-confirm{font-size:14px;line-height:1.4}.chore-dialog button:disabled{opacity:.5}

.chore-dialog{width:min(1100px,calc(100vw - 40px))}.chore-section{padding:14px;border:1px solid #dce6dc;border-radius:12px;background:#f8faf5}.chore-fields .chore-section h3{margin:0 0 10px;font-size:16px}.chore-step-list:not(:empty){margin-bottom:10px}.chore-schedule-scroll{overflow-x:auto}.chore-schedule{grid-template-columns:repeat(7,minmax(105px,1fr));min-width:783px;gap:8px}.chore-schedule label{min-width:0}.chore-schedule select{min-width:0;font-size:13px}
.chore-day{display:flex;flex-direction:column;gap:6px}.chore-dialog .chore-day-toggle{display:flex;flex-direction:row;align-items:center;min-height:44px;gap:6px}.chore-day-toggle input{width:20px;height:20px;flex:0 0 20px}.chore-schedule select:disabled{opacity:.55}.chore-manage-list{display:grid;gap:8px;margin-top:12px}.chore-manage-list button{text-align:left}
.chore-manage-row{display:flex;align-items:center;gap:8px}.chore-manage-row span{flex:1;min-width:0;overflow-wrap:anywhere}

/* Compact focus stacks keep their identity while leaving unused space empty. */
#routines.focus-mode{height:auto;min-height:0;gap:5px}.focus-mode .routine[data-focus-kind=active]{flex:0 1 auto;max-height:var(--focus-available,600px)}.focus-mode .routine[data-focus-kind=active] .routine-body{flex:0 1 auto}.focus-mode .routine[data-focus-kind=active] .routine-task-scroll{flex:0 1 auto}.focus-mode .routine[data-focus-kind=active] .tasks{max-height:calc(var(--focus-available,600px) - 180px);flex:0 1 auto}.focus-mode .routine[data-focus-kind=neighbor] .routine-body,.focus-mode.all-done .routine[data-focus-kind=active] .routine-body{display:block;height:18px;min-height:18px;border:1px solid #cfddd0;background:#fffefa}.focus-mode .routine[data-focus-kind=neighbor] .routine-body>*,.focus-mode.all-done .routine[data-focus-kind=active] .routine-body>*{display:none}.focus-mode .routine[data-focus-kind=neighbor] .routine-open{min-height:44px}.focus-count{min-height:19px;padding:2px 8px;font-size:11px;color:#789080}.focus-mode .routine[data-focus-kind=active] .routine-task-scroll>.task-cue[hidden]{display:none}.layout{column-gap:10px}.header-add-toggle{display:flex;align-items:center;justify-content:center;padding:0}
.cat:has(.chore-stack:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:2px}.chore-stack{scrollbar-width:none;overscroll-behavior:contain}.chore-stack::-webkit-scrollbar,.chore-tasks::-webkit-scrollbar{display:none}.chore-navigation{display:flex;flex-direction:column;justify-content:space-between;align-items:center;min-height:0}.chore-navigation[hidden]{display:none}.chore-navigation button,.chore-focus{width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:transparent;color:#78927d;font-size:21px;cursor:pointer}.chore-navigation button:hover,.chore-focus:hover{background:#e5eee3}.chore-navigation button[hidden],.chore-task-scroll>.task-cue[hidden]{display:none}.chore-card{min-width:0;padding:0;background:transparent;border-radius:0}.chore-card-head{align-items:end;min-height:44px;padding:0 5px}.chore-open{border:0;padding:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}.chore-open:focus-visible,.chore-focus:focus-visible,.chore-navigation button:focus-visible{outline:3px solid #d79068;outline-offset:2px}.chore-assignee{padding-bottom:8px}.chore-body{background:#dce8d9;border:1px solid #c5d9c2;border-radius:12px;padding:0 16px 3px;min-height:0;overflow:hidden}.chore-chrome{height:44px;display:flex;justify-content:flex-end}.chore-focus{border-radius:8px}.chore-focus[aria-pressed=true]{background:#edf3eb;color:#294e3d}.chore-tasks{margin:0;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}.chore-glyph{margin-left:auto;font-size:10px;color:#708c76}.chore-actions{margin-top:2px}.chore-actions button{background:transparent;color:#6d8274;font-size:12px;font-weight:600}.chore-actions button:hover{text-decoration:underline}.chore-task-scroll>.task-cue{display:none}.chore-stack.focus-mode{gap:5px;overflow:hidden}.chore-stack.focus-mode .chore-card{flex:0 0 auto}.chore-stack.focus-mode .chore-card[data-focus-kind=active]{display:flex;flex-direction:column;flex:0 1 auto;max-height:var(--focus-available,600px)}.chore-stack.focus-mode .chore-card[data-focus-kind=active] .chore-body{display:flex;flex-direction:column;flex:0 1 auto}.chore-stack.focus-mode .chore-card[data-focus-kind=active] .chore-task-scroll{display:flex;flex-direction:column;min-height:0;flex:0 1 auto}.chore-stack.focus-mode .chore-card[data-focus-kind=active] .chore-tasks{max-height:calc(var(--focus-available,600px) - 180px);min-height:0}.chore-stack.focus-mode .chore-card[data-focus-kind=active] .task-cue:not([hidden]){display:block;align-self:center;flex:none}.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] .chore-body{height:18px;min-height:18px;padding:0}.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] .chore-body>*{display:none}.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] .chore-open{min-height:44px}.manager-routine{border:1px solid #dce6dc;border-radius:10px;padding:10px;margin-bottom:10px}.manager-routine h3{margin:0 0 8px}.manager-person{display:flex;align-items:center;gap:8px}.manager-person span{flex:1}.chore-manage-add,.manager-add{margin-top:12px}
.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] h2{min-width:0;overflow:hidden}.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] .chore-open{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] .chore-assignee{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.focus-mode .routine[data-focus-kind=neighbor] .routine-open::before,.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] .chore-open::before{content:'▸ ';font-size:14px;color:#78927d}@media(max-width:1000px){.dashboard{height:auto;min-height:100vh;padding:24px}.layout{height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:320px 650px}.calendar{grid-column:1/-1}.routines-shell,.cat{height:650px;min-height:0}}@media(max-width:600px){.layout{grid-template-columns:minmax(0,1fr);grid-template-rows:300px 600px 600px}.calendar{grid-column:auto}.routines-shell,.cat{height:600px}.masthead{grid-template-columns:56px minmax(0,1fr)}.weather-placeholder{display:none}}

/* Focus controls float over content; only the 44px buttons accept input. */
.routine-body,.chore-card{position:relative}.routine-chrome,.chore-chrome{position:absolute;top:4px;right:4px;z-index:5;height:44px;padding:0;pointer-events:none}.routine-focus,.chore-focus{pointer-events:auto;background:transparent!important}.routine-focus:focus-visible,.chore-focus:focus-visible{outline:3px solid #d79068;outline-offset:-3px}.routine-task-scroll,.chore-task-scroll{position:relative;overflow:hidden}.routine-task-scroll>.task-cue,.chore-task-scroll>.task-cue{position:absolute;left:50%;transform:translateX(-50%);z-index:4;isolation:isolate;background:transparent}.routine-task-scroll>.task-cue:not([hidden]),.chore-task-scroll>.task-cue:not([hidden]){display:block}.routine-task-scroll>.task-cue[hidden],.chore-task-scroll>.task-cue[hidden]{display:none!important}.routine-task-scroll>.task-cue::before,.chore-task-scroll>.task-cue::before{content:'';position:absolute;z-index:-1;left:50%;top:0;transform:translateX(-50%);width:100vw;height:44px;background:rgba(236,243,233,.72);pointer-events:none}.routine-task-scroll>.task-cue.up,.chore-task-scroll>.task-cue:first-child{top:0}.routine-task-scroll>.task-cue.down,.chore-task-scroll>.task-cue:last-child{bottom:0}.focus-mode .routine[data-focus-kind=active] .tasks,.chore-stack.focus-mode .chore-card[data-focus-kind=active] .chore-tasks{max-height:max(60px,calc(var(--focus-available,600px) - 100px));flex:0 1 auto}.focus-mode .routine[data-focus-kind=neighbor] .routine-open::before,.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] .chore-open::before{content:none}
.chore-card{background:#dce8d9;border:1px solid #c5d9c2;border-radius:12px;overflow:hidden}.chore-card-head{min-width:0;padding:8px 52px 8px 16px;border-bottom:1px solid #bfd2bd;align-items:center}.chore-card-head h2{min-width:0}.chore-assignee{padding:0}.chore-body{background:transparent;border:0;border-radius:0;padding:8px 16px 3px}.chore-stack.focus-mode .chore-card[data-focus-kind=neighbor] .chore-body{height:18px;min-height:18px;border:0;padding:0}.chore-history{padding-top:4px}
.chore-stack:not(.focus-mode) .chore-card{flex:0 0 auto}
.clock .date-navigation{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;width:100%;gap:0}.date-navigation button{width:40px;height:40px;min-width:40px;min-height:40px;justify-self:center}.date-navigation #date{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:13px}.clock #clock{font-variant-numeric:tabular-nums;font-feature-settings:'tnum';width:10.5ch;max-width:100%;text-align:center;white-space:nowrap}.clock #board-mode{font-size:10px;line-height:1.15;max-height:2.3em;overflow:hidden}.clock .task-feedback{height:18px;min-height:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.clock{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.clock{grid-template-rows:40px 24px 22px}.clock #clock{line-height:24px}.clock .task-feedback{display:flex;align-items:center;justify-content:center;gap:3px;height:22px;min-height:22px;overflow:visible;white-space:normal;line-height:10px;font-size:10px}.clock #task-status{min-width:0;max-height:20px;overflow:hidden}.clock #task-retry{flex:none;margin:0;min-height:22px}
.clock{grid-template-columns:minmax(0,1fr) minmax(110px,1fr)}.clock #clock{font-size:clamp(16px,2.35vw,24px);width:12.5ch;text-align:left}
@media(max-height:400px){.routines:has(#routines.focus-mode),.chore-stack.focus-mode{overflow-y:auto}}

/* The numeric cells stay centered independently of the mode and AM/PM. */
.clock{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:22px 28px 16px 20px;align-content:center;gap:0;position:relative;height:96px;padding:3px 44px;overflow:hidden}.clock .date-navigation{display:contents}.clock .date-navigation button{position:absolute;top:0;bottom:0;width:44px;height:100%;min-width:44px;min-height:44px;margin:0;background:#e5eee3;border-radius:0;color:#315c46}.clock #previous-day{left:0;border-radius:13px 0 0 13px}.clock #next-day{right:0;border-radius:0 13px 13px 0}.clock .date-navigation button:hover:not(:disabled){background:#d3e5d3}.clock .date-navigation button:focus-visible{outline:3px solid #d79068;outline-offset:-4px}.clock .date-navigation #date{grid-column:1;grid-row:1;align-self:center;min-width:0;font-size:12px;line-height:1.1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-line{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-width:0}.clock #board-mode{grid-column:1;grid-row:1;justify-self:center;text-align:center;margin:0;max-height:none;overflow:visible;font-size:11px;line-height:1}.clock #clock{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(8,1ch);width:8ch;max-width:none;margin:0;font:600 24px/28px Consolas,'Courier New',monospace;letter-spacing:0;font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap}.clock-cell{display:block;width:1ch;text-align:center}.clock #clock-period{grid-column:3;grid-row:1;justify-self:center;color:#315c46;font-weight:700;font-size:11px;white-space:nowrap}.clock #clock-note{grid-column:1;grid-row:3;align-self:center;text-align:center;color:#657c6d;font-size:10px;line-height:1.1;white-space:nowrap}.clock .task-feedback{grid-column:1;grid-row:4;height:20px;min-height:20px;line-height:10px}.clock #task-retry{min-height:20px}.clock #task-status{max-height:20px}
@media(max-width:600px){.clock{grid-template-rows:22px 26px 20px 18px}.clock #clock{font-size:20px;line-height:26px}.clock #clock-note{white-space:normal;line-height:10px;font-size:9px}.clock .date-navigation #date{white-space:normal;font-size:10px;line-height:10px}.clock .task-feedback{height:18px;min-height:18px;font-size:9px}.clock #task-retry{min-height:18px}}
.clock #board-mode,.clock #clock-period{width:100%;text-align:center}
.clock #board-mode{font-size:clamp(8px,1vw,11px)}@media(max-width:600px){.clock #board-mode{font-size:8px;line-height:8px;white-space:normal;overflow-wrap:anywhere}}
.history-copy,.history-copy-heading{grid-column:1/-1}.history-copy{margin-top:12px;padding-top:12px;border-top:1px solid #dce6dc}.history-copy h3,.history-copy-heading{margin:0 0 8px;color:#6d8274;font:600 14px Segoe UI,Arial,sans-serif}.history-copy .task{min-height:40px}
.routine-head:has(.people.adaptive-tabs) h2{flex:1 1 50%;min-width:0;white-space:normal;overflow-wrap:anywhere}.people.adaptive-tabs{flex:0 1 50%;width:50%;max-width:50%;min-width:0;justify-content:flex-end;gap:0;overflow:hidden;scrollbar-width:none;touch-action:pan-y}.people.adaptive-tabs::-webkit-scrollbar{display:none}.people.adaptive-tabs button{flex:0 0 var(--tab-size,44px);width:var(--tab-size,44px);min-width:0;max-width:none;min-height:44px;padding:8px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;border:1px solid #d8e3d6;background:#f1f3ed}.people.adaptive-tabs button[aria-selected=true]{background:#fffefa;border-color:#b7c9b8;border-bottom-color:#fffefa}.people.adaptive-tabs button[data-distance="1"]{font-size:12px}.people.adaptive-tabs button[data-distance="2"]{font-size:11px}.people.adaptive-tabs button::after{left:calc((100% - var(--meter-length,36px))/2);width:calc(var(--meter-length,36px) * var(--progress,0))}

.chore-assignee select{display:block;max-width:100%;min-height:44px;margin-left:auto;padding:0 22px 0 6px;border:1px solid transparent;border-radius:8px;background-color:transparent;color:inherit;font:inherit;cursor:pointer}.chore-assignee select:hover,.chore-assignee select:focus-visible{border-color:#8ba68e;background-color:#eef4eb}.chore-assignee select:disabled{opacity:.65;cursor:default}
.assignment-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}.assignment-header{padding:22px 24px 16px;border-bottom:1px solid #e4e9df}.assignment-header h2{font:600 25px Georgia,serif}.assignment-summary{margin:9px 0 0;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.assignment-scheduled{margin:5px 0 0;color:#65796c;font-size:13px;line-height:1.4}.assignment-content{display:flex;flex-direction:column;gap:8px;overflow:auto;min-height:0;padding:18px 24px}.assignment-content>label{font-size:14px;font-weight:700;margin-top:4px}.assignment-content>label span{color:#718176;font-weight:400}.assignment-content select,.assignment-note-editor{width:100%;border:1px solid #a7b8a8;border-radius:10px;background:#fff}.assignment-content select{min-height:46px;padding:8px 10px;font:inherit;color:inherit}.assignment-note-editor{overflow:hidden}.assignment-note-editor textarea{display:block;width:100%;min-height:76px;resize:vertical;padding:10px 12px;border:0;background:transparent;color:inherit;font:inherit}.assignment-note-editor textarea:focus{outline-offset:-3px}.assignment-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:0 8px 8px}.assignment-dialog .assignment-suggestions button{min-height:34px;padding:4px 10px;border:1px solid #d5e3d4;border-radius:16px;background:#f0f5ed;font-size:12px}.assignment-status{min-height:1.2em;color:#9a513c;font-size:13px;line-height:1.4;margin:0}.assignment-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid #e4e9df}.assignment-dialog .assignment-confirm{background:#315c46;color:#fff}.assignment-dialog :is(button,select,textarea):focus-visible{outline:3px solid #d79068;outline-offset:2px}@media(max-width:480px){.assignment-header,.assignment-content{padding-left:16px;padding-right:16px}.assignment-footer{padding-left:16px;padding-right:16px}.assignment-footer button{flex:1}}
.arrange-dialog.assignment-dialog button.assignment-confirm{background:#315c46;color:#fff}
