#personal-nav{display:flex;align-items:center;gap:5px;padding:10px 16px;background:#fff;border-bottom:1px solid #e3e9df}#personal-nav[hidden]{display:none}#personal-nav button{border:0;border-radius:9px;background:transparent;padding:10px 15px;font-weight:650;font-size:12px;color:#738175;cursor:pointer}#personal-nav button.selected{background:#edf2e8;color:#176c52}#personal-user{margin-left:auto;color:#8d9988;font-size:11px;text-transform:capitalize}.t-app{max-width:800px;margin:auto}.t-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 20px}.t-heading small{font-size:9px;letter-spacing:1.3px;color:#899779}.t-heading h1{font-size:32px;letter-spacing:-1px;margin:7px 0}.t-heading p{font-size:11px;color:#87937c;margin:0}.t-heading>button{width:46px;height:46px;border-radius:15px;border:0;background:#18745d;color:#fff;font-size:27px;cursor:pointer}.t-tools{display:flex;gap:8px;margin-bottom:16px}.t-tools button{border:1px solid #dce7d7;border-radius:9px;padding:10px;background:#fff;color:#5d7956;font-size:11px}.t-tabs{display:flex;align-items:center;gap:4px;margin-bottom:12px}.t-tabs button,.t-tabs select{border:0;background:#eaf0e4;border-radius:9px;padding:10px;color:#728366;font-size:11px;cursor:pointer}.t-tabs button.selected{background:#18745d;color:white}.t-tabs select{margin-left:auto;max-width:130px}.t-search{width:100%;box-sizing:border-box;border:1px solid #e1e8da;border-radius:12px;padding:13px;background:#fff;font-size:16px;margin-bottom:20px}.t-group{background:#fff;border:1px solid #e1e8da;border-radius:16px;margin-bottom:16px;overflow:hidden}.t-group>header{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid #edf1e8}.t-group h2{font-size:14px;margin:0}.t-group h2 small{font-size:10px;margin-left:6px;color:#9aab8a}.t-group header button{border:0;background:transparent;color:#78946b;font-size:20px}.t-row{display:flex;align-items:start;gap:12px;padding:12px 16px;border-bottom:1px solid #f1f4ec}.t-row>input{width:21px;height:21px;accent-color:#18745d;flex-shrink:0;margin:1px 0}.t-row>button{flex:1;min-width:0;border:0;text-align:left;background:transparent;color:#355437;padding:0;cursor:pointer}.t-row b{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.t-row p{font-size:11px;color:#91a083;margin:5px 0}.t-row span{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.t-row small{font-size:10px;color:#7c9870}.t-row small.late{color:#bc6256}.t-row.done b{text-decoration:line-through;opacity:.5}.t-add-inline{border:0;background:transparent;color:#6a8a5b;font-size:11px;padding:13px 16px;cursor:pointer}.t-empty{font-size:11px;color:#9ba88f;padding:0 16px}.t-form label{display:grid;gap:7px;font-size:12px;margin-bottom:16px;color:#628054}.t-form input,.t-form textarea,.t-form select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dce7d7;border-radius:10px;padding:12px;font-size:16px;background:#fbfdf9;color:#355437}.t-form-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px}.t-form>small{display:block;margin:-5px 0 18px;font-size:10px;color:#92a086;line-height:1.6}.t-form-actions{display:flex;gap:8px;justify-content:end}.t-form-actions button{border:1px solid #dce7d7;border-radius:9px;background:white;color:#7c8d6e;padding:11px;font-size:12px;cursor:pointer}.t-form-actions button[type=submit],.t-form-actions button:not([type]){background:#18745d;color:white;border-color:#18745d}body[data-space=todos] main{padding-bottom:30px}@media(max-width:500px){.t-form-dates{grid-template-columns:1fr}.t-heading h1{font-size:28px}.t-dialog{width:calc(100vw - 20px)}.t-dialog .k-pick{padding:20px}.t-tabs select{max-width:110px;font-size:10px}}
/* Personal task board: charcoal cards and warm amber accents. */
body[data-space=todos]{background:#21211f;color:#ededeb;color-scheme:dark}body[data-space=todos] .mobile-brand{background:#21211f;border-color:#32322f;padding-top:calc(8px + env(safe-area-inset-top));padding-bottom:8px}body[data-space=todos] .mobile-brand a{color:#e9e8e3;font-size:20px}body[data-space=todos] .mobile-brand a span,body[data-space=todos] .mobile-account button,body[data-space=todos] #mobile-status{color:#999a92}body[data-space=todos] #personal-nav{background:#21211f;border-color:#33332f;padding-top:4px;padding-bottom:8px}body[data-space=todos] #personal-nav button{color:#a6a69f}body[data-space=todos] #personal-nav button.selected{background:#34342f;color:#e9b350}body[data-space=todos] #personal-user{color:#a19f93}body[data-space=todos] main{max-width:none;padding:16px 20px calc(115px + env(safe-area-inset-bottom));overflow:hidden}.t-app{max-width:1400px}.t-heading{margin:6px 0 20px}.t-heading h1{font-size:26px;letter-spacing:-.5px;font-weight:650;color:#f0efeb}.t-heading small{color:#929185;font-size:9px}.t-heading p{color:#8e8e82;font-size:10px}.t-heading>button{border-radius:50%;background:#b67b14;color:#fff4d8;width:43px;height:43px}.t-tools{gap:7px;margin-bottom:12px}.t-tools button{background:#292925;border-color:#3d3d36;color:#bab8ab;border-radius:18px;padding:9px 13px;font-size:10px}.t-section-filter{display:flex;justify-content:flex-end;margin-bottom:10px}.t-section-filter select{background:transparent;border:0;color:#aaa99e;font-size:11px;max-width:220px;padding:5px}.t-search{background:#292927;border-color:#353532;color:#e5e3da;border-radius:13px;font-size:14px;padding:11px 14px;margin-bottom:18px}.t-search::placeholder{color:#85857a}.t-groups{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(290px,350px);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:0;padding:0 2px 20px;align-items:start;scrollbar-width:thin;scrollbar-color:#565447 transparent}.t-group{scroll-snap-align:start;background:transparent;border:0;border-radius:0;margin:0;overflow:visible}.t-group>header{border:0;padding:10px 2px 24px;min-height:52px}.t-group h2{font-size:14px;color:#e6e5e0;font-weight:650}.t-group h2 small{font-size:12px;color:#a4a297;font-weight:400}.t-group header button{color:#bcbab1;font-size:21px;padding:0 8px;min-height:32px}.t-row{border:1px solid #343431;border-radius:17px;background:#282826;padding:15px 14px;gap:13px;margin-bottom:9px;min-height:55px;align-items:center}.t-row>input{appearance:none;-webkit-appearance:none;width:24px;height:24px;border:1.5px solid #a5a59d;border-radius:50%;background:transparent;cursor:pointer;display:grid;place-content:center;margin:0}.t-row>input:checked{background:#b68027;border-color:#c99135}.t-row>input:checked::after{content:'✓';color:#fff6e0;font-size:16px}.t-row>input:focus-visible{outline:2px solid #e3ae52;outline-offset:3px}.t-row>button{color:#e4e3df}.t-row b{font-size:14px;font-weight:450;line-height:1.45}.t-row p{color:#a3a195;font-size:11px}.t-row span:empty{display:none}.t-row small{color:#c0ac83}.t-row small.late{color:#e38f7f}.t-add-inline{display:block;width:100%;text-align:left;border:1px solid #45443d;border-radius:28px;padding:14px 17px;color:#d7a448;background:transparent;font-weight:600;font-size:13px;margin-top:9px;min-height:49px}.t-add-inline:hover{background:#2b2923}.t-empty{padding:10px 3px 17px;color:#77786f;font-size:11px}.t-tabs{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:15;display:flex;gap:3px;width:calc(100% - 32px);max-width:540px;margin:0;padding:6px;background:#2a2a26f5;backdrop-filter:blur(16px);border:1px solid #45453e;border-radius:40px;box-shadow:0 6px 30px #0003}.t-tabs button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:transparent;color:#d3d2c9;border-radius:30px;padding:9px 4px;min-height:57px;font-size:10px}.t-tabs button.selected{background:#45443e;color:#e5b055}.t-tab-icon{font-size:22px;line-height:24px}.t-dialog{background:#252523;color:#e8e7e0;border:1px solid #45443d}.t-dialog header{background:#2b2b27;border-color:#3c3b34}.t-dialog header h2{color:#edece4}.t-dialog header button{background:#35352e;color:#c9c6b9;border-color:#45443a}.t-form label{color:#c5c0b0}.t-form input,.t-form textarea,.t-form select{background:#30302a;border-color:#464439;color:#edeadd;color-scheme:dark}.t-form>small{color:#9e998b}.t-form-actions button{background:#303029;border-color:#47453b;color:#c2bbab}.t-form-actions button[type=submit],.t-form-actions button:not([type]){background:#bb852d;color:#fff8e8;border-color:#bb852d}body[data-space=todos] #toast{background:#454136;color:#fff0ce;bottom:calc(100px + env(safe-area-inset-bottom))}@media(max-width:600px){body[data-space=todos] main{padding-left:18px;padding-right:18px}.t-groups{grid-auto-columns:calc(100vw - 58px);gap:16px}.t-heading h1{font-size:24px}.t-group>header{padding-bottom:20px}.t-heading p{max-width:250px}.t-tabs button{font-size:9px}.t-row{padding:14px 13px}.t-tools{margin-bottom:6px}}
/* Quick capture sheet, anchored above the iPhone keyboard. */
.t-dialog.t-quick-sheet{position:fixed;inset:auto 0 auto 0;transform:none;margin:0 auto;width:calc(100% - 20px);max-width:620px;border-radius:28px;background:#262624;border:1px solid #383833;box-shadow:0 15px 70px #0005;overflow:auto;padding:0}.t-quick-sheet::backdrop{background:#0008;backdrop-filter:blur(2px)}.t-quick-sheet>header{position:relative;padding:9px 14px 0;min-height:28px;border:0;background:transparent;justify-content:flex-end}.t-quick-sheet>header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.t-quick-sheet>header button{min-height:28px;min-width:28px;width:28px;height:28px;padding:0;font-size:19px;background:transparent;color:#929187;border:0}.t-quick-sheet .k-pick{padding:4px 18px 20px}.t-quick-title{width:100%;box-sizing:border-box;background:transparent;border:0;outline:none;color:#f1eee5;font:inherit;font-size:21px;padding:8px 0 21px;min-height:56px}.t-quick-title::placeholder{color:#92928a}.t-quick-bar{display:flex;align-items:center;gap:7px}.t-quick-bar>button{height:40px;flex-shrink:0;border:1px solid #45453e;border-radius:22px;padding:8px 12px;background:#222220;color:#c5c2b6;font-size:12px;cursor:pointer}.t-quick-bar>button:first-child{font-size:22px;padding:0;width:40px}.t-quick-bar>button[aria-expanded=true]{border-color:#b2863e;color:#dfb369}.t-quick-section{display:flex;align-items:center;gap:5px;min-width:0;flex:1;height:40px;border:1px solid #3c3b35;border-radius:22px;padding:0 11px;color:#dba6c9}.t-quick-section>span{font-size:20px}.t-quick-section select{min-width:0;width:100%;padding:0;border:0;background:transparent;color:#dba6c9;font-size:12px;appearance:none;white-space:nowrap;text-overflow:ellipsis}.t-quick-bar .t-quick-send{background:#b78012;color:#fff4d9;border-color:#b78012;width:40px;padding:0;font-size:25px;font-weight:600}.t-quick-send:disabled{opacity:.5}.t-quick-panel{display:grid;grid-template-columns:1fr;gap:12px;margin-top:18px;border-top:1px solid #3b3a33;padding-top:15px}.t-quick-panel[hidden]{display:none}.t-quick-panel label{display:grid;gap:6px;font-size:11px;color:#b5b09f}.t-quick-panel input,.t-quick-panel textarea{width:100%;min-width:0;box-sizing:border-box;background:#30302a;border:1px solid #484538;border-radius:10px;padding:10px;color:#eee9d8;font-size:16px;color-scheme:dark}.t-quick-panel small{color:#999484;font-size:10px;line-height:1.5}@media(max-width:370px){.t-quick-sheet .k-pick{padding-left:12px;padding-right:12px}.t-quick-bar{gap:5px}.t-quick-bar>button{padding:8px}.t-quick-section{padding:0 8px}}
.t-quick-bar .t-quick-send{margin-left:auto}.t-quick-panel,.t-quick-panel label,.t-form-dates,.t-form label{min-width:0;max-width:100%;box-sizing:border-box}.t-quick-panel input,.t-quick-panel textarea,.t-form input,.t-form textarea,.t-form select{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;border-radius:11px;border:1px solid #48463e;background:#30302b;padding:11px 12px;min-height:46px;font-size:16px;color:#eee9df;-webkit-appearance:none;appearance:none}.t-quick-panel input::-webkit-date-and-time-value,.t-form input::-webkit-date-and-time-value{text-align:left;min-width:0}.t-form-dates{grid-template-columns:minmax(0,1fr)}.t-quick-sheet .k-pick{box-sizing:border-box;width:100%;min-width:0}.t-quick-form{min-width:0;max-width:100%}.t-quick-panel small{margin:0}.t-quick-panel label{gap:8px}
/* Compact task cards and a balanced section form. */
.t-section-dialog{max-width:440px}.t-section-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px}.t-section-dialog>header h2{font-size:20px;margin:0;line-height:1.3}.t-section-dialog>header button{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:11px}.t-section-dialog .k-pick{padding:20px;box-sizing:border-box}.t-section-dialog .t-form label{margin:0 0 18px;gap:8px}.t-section-dialog .t-form-actions{align-items:center;gap:10px;margin:0}.t-section-dialog .t-form-actions button{min-height:44px;padding:10px 16px;margin:0}.t-section-dialog .t-form>.t-section-help{margin:16px 0 0;line-height:1.5;font-size:11px}.t-section-dialog .t-form-actions button:last-child{margin-left:auto}
.t-row{box-sizing:border-box;min-height:46px;padding:10px 12px;gap:11px;margin-bottom:7px;border-radius:14px}.t-row>input{width:22px;height:22px}.t-row>button{min-height:24px}.t-row b{font-size:13px;line-height:1.4}.t-row p{margin:3px 0;font-size:10px}.t-row span{margin-top:3px;gap:6px}.t-add-inline{box-sizing:border-box;min-height:44px;padding:10px 15px;font-size:12px;margin-top:7px}.t-group>header{box-sizing:border-box;min-height:44px;padding:5px 2px 12px}.t-heading{margin:2px 0 12px}.t-heading h1{font-size:22px;margin:3px 0}.t-search{margin-bottom:10px;padding:9px 12px}.t-tabs button{min-height:46px;padding:6px 4px;gap:3px}.t-tab-icon{font-size:20px;line-height:22px}
@media(max-width:600px){body[data-space=todos] main{padding:10px 16px calc(95px + env(safe-area-inset-bottom))}.t-heading small{display:none}.t-heading h1{font-size:22px}.t-heading>button{width:38px;height:38px;font-size:24px}.t-heading p{font-size:10px;margin-top:4px}.t-tools{margin-bottom:7px}.t-tools button{padding:7px 11px}.t-groups{grid-auto-columns:calc(100vw - 48px);gap:12px}.t-group>header{padding:5px 2px 12px;min-height:44px}.t-row{padding:10px 12px;min-height:46px}.t-tabs{padding:5px;bottom:calc(8px + env(safe-area-inset-bottom))}.t-section-dialog .k-pick{padding:18px}.t-section-dialog>header{padding:14px 18px}}
.t-row>.t-drag{flex:0 0 28px;align-self:stretch;min-width:28px;text-align:center;color:#8c897d;font-size:22px;touch-action:none;cursor:grab}.t-dragging{opacity:.5;border-color:#d4a447}.t-drop{outline:2px dashed #d4a447;outline-offset:3px}.t-sub-count{display:block;margin-top:4px}.t-extras{border-top:1px solid #45443a;margin-top:20px;padding-top:16px}.t-extras h3{margin:0 0 10px}.t-sub-row{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #383831;font-size:13px}.t-sub-row input{width:20px;height:20px;accent-color:#c18b32}.t-sub-row span{flex:1}.t-sub-row button{padding:5px 10px;background:transparent;color:#a59b86;border:0}.t-sub-add{display:flex;gap:8px;margin:12px 0}.t-sub-add input,.t-move-select select{min-width:0;background:#30302b;border:1px solid #48463e;border-radius:9px;color:#eee9df;padding:10px;font-size:16px}.t-sub-add input{flex:1;width:100%}.t-move-select{display:grid;gap:7px;font-size:12px;color:#bdb6a6}.t-sub-add button{background:#b78024;color:white}
/* Fill the space below task cards so horizontal swipes work across the board. */
body[data-space=todos] .t-groups{min-height:var(--task-board-height,55dvh);box-sizing:border-box;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}
/* Keep the shared header stationary when switching between Cuisine and Tasks. */
body[data-space] .mobile-brand{padding:calc(9px + env(safe-area-inset-top)) 16px 9px;box-sizing:border-box}body[data-space] .mobile-brand a{font-size:22px;line-height:1.2}body[data-space] .mobile-brand a span{font-size:12px}body[data-space] #personal-nav{padding:10px 16px;box-sizing:border-box}body[data-space] #personal-nav button{padding:10px 15px;font-size:12px;line-height:1.2}body[data-space] #personal-user{font-size:11px;line-height:1.2}

.t-card-subtasks{display:none}
/* Small, always-visible handles; only the handle captures touch gestures. */
.t-tools button,.t-section-actions button,.t-sub-row button{cursor:pointer}
.t-section-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}
.t-group>header{gap:8px}.t-group>header h2{min-width:0;overflow-wrap:anywhere}
.t-app .t-order-handle,.t-dialog .t-order-handle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;padding:5px;border:0;border-radius:6px;background:transparent;color:#9c998c;cursor:grab;touch-action:none;user-select:none}
.t-order-handle svg{width:13px;height:18px;pointer-events:none}
.t-app .t-order-handle:hover,.t-dialog .t-order-handle:hover{background:#b99b6020;color:#e5c58d}
.t-order-handle:focus-visible{outline:2px solid #d4ad64;outline-offset:1px}
.t-app .t-order-handle.is-grabbing,.t-dialog .t-order-handle.is-grabbing{cursor:grabbing}
.t-order-handle:disabled{opacity:.4;cursor:wait}
.t-sub-row{position:relative;min-width:0;gap:3px}
.t-sub-row>label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;margin:0;padding:0;color:inherit;font:inherit;cursor:pointer}
.t-sub-row>label>input{flex-shrink:0;margin:0}
.t-sub-row>label>span{display:block;flex:1;min-width:0;overflow-wrap:anywhere;margin:0}
.t-group{position:relative}
.t-order-dragging{opacity:.55}
.t-group.t-order-before:before,.t-group.t-order-after:after,.t-sub-row.t-order-before:before,.t-sub-row.t-order-after:after{content:'';position:absolute;z-index:3;background:#e0b66c;border-radius:3px;pointer-events:none}
.t-group.t-order-before:before{left:-8px;top:0;bottom:0;width:3px}.t-group.t-order-after:after{right:-8px;top:0;bottom:0;width:3px}
.t-sub-row.t-order-before:before{left:0;right:0;top:-2px;height:3px}.t-sub-row.t-order-after:after{left:0;right:0;bottom:-2px;height:3px}
