.sn-todo{--todo-border:#e4e9ef;--todo-muted:#64748b;margin:24px 0 40px;color:#243b35;font-size:14px;line-height:1.55}
.sn-todo *,.sn-todo *::before,.sn-todo *::after{box-sizing:border-box}
.sn-todo [hidden]{display:none!important}
.sn-todo h1{font-size:30px;line-height:1.3;letter-spacing:-.6px;color:#153e30;margin:6px 0 8px}
.sn-todo h2{font-size:19px;line-height:1.4;color:#173e31;margin:0}
.sn-todo h3{font-size:14px;line-height:1.5;margin:0}
.sn-todo p{margin:0}
.sn-todo button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border:1px solid transparent;border-radius:9px;background:#137250;color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;box-shadow:none;transform:none;transition:background .15s}
.sn-todo button:hover{background:#0e5b3f;box-shadow:none;transform:none}
.sn-todo button i,.sn-todo button:hover i{color:inherit;font-size:14px}
.sn-todo button:disabled{opacity:.5;cursor:default}
.sn-todo button:focus-visible,.sn-todo summary:focus-visible{outline:3px solid #62b99b;outline-offset:2px}
.sn-todo input:not([type=checkbox]),.sn-todo select,.sn-todo textarea{width:100%;min-width:0;height:40px;font-size:14px;line-height:1.4;color:#243b35;border:1px solid #dbe3e9;box-shadow:none;border-radius:8px;background:#fff;padding:8px 10px}
.sn-todo textarea{height:auto;min-height:108px;resize:vertical}
.sn-todo label{display:grid;gap:6px;min-width:0;font-size:13px;font-weight:600}
.sn-todo input[type=checkbox]{width:19px;height:19px;flex-shrink:0;cursor:pointer;accent-color:#137250}
.sn-todo .todo-secondary,.sn-todo .todo-icon{color:#456458;background:#f4f7f6;border-color:#e0e8e4}
.sn-todo .todo-secondary:hover,.sn-todo .todo-icon:hover{background:#e6f1eb;color:#137250}
.sn-todo .todo-icon{padding:8px;min-width:38px}
.sn-todo .todo-danger{color:#b42338;background:#fff3f3;border-color:#f4d7dc}
.sn-todo .todo-danger:hover{background:#fee2e2}
.todo-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}
.todo-heading p,.todo-muted{color:var(--todo-muted)}
.todo-eyebrow{font-size:12px;font-weight:600;color:#6b8077;letter-spacing:.5px}
.todo-eyebrow span{color:#137250}
.todo-private{display:flex;align-items:center;gap:7px;border:1px solid #dce8df;background:#edf5ef;color:#427254;padding:7px 12px;border-radius:24px;white-space:nowrap;font-size:12px}
.todo-shell{display:flex;align-items:flex-start;gap:16px}
.todo-workspace{flex:1;min-width:0}
.todo-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.todo-stat{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--todo-border);border-radius:12px;padding:15px 18px}
.todo-stat>i{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#eef6f0;color:#137250;border-radius:11px;font-size:20px}
.todo-stat-overdue>i{color:#b66626;background:#fff4e8}
.todo-stat-completed>i{color:#5278b5;background:#eef3fb}
.todo-stat span{display:block;color:var(--todo-muted);font-size:12px}
.todo-stat strong{display:block;font-size:24px;line-height:1.25;color:#173e31;margin-top:3px}
.todo-board{display:flex;background:#fff;border:1px solid var(--todo-border);border-radius:14px;overflow:hidden;min-height:580px}
.todo-sidebar{width:210px;flex-shrink:0;padding:16px 10px;background:#fafcfb;border-right:1px solid var(--todo-border)}
.todo-sidebar nav{display:grid;gap:4px}
.sn-todo .todo-collapse-toggle{display:none}
.sn-todo .todo-nav-button{width:100%;justify-content:flex-start;text-align:left;color:#64786e;background:transparent;padding:10px;font-weight:500}
.sn-todo .todo-nav-button:hover{background:#eef5f0}
.sn-todo .todo-nav-button.is-active{color:#137250;background:#e8f3ec;font-weight:700}
.todo-nav-button i{width:19px;text-align:center}
.todo-nav-button .todo-nav-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.todo-nav-count{flex-shrink:0;font-size:11px;min-width:22px;text-align:center;border-radius:6px;background:#e8edea;padding:1px 4px}
.todo-lists-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 6px;padding-left:10px}
.todo-lists-heading h2{font-size:12px;color:#6a7c73;text-transform:uppercase;letter-spacing:.4px}
.todo-lists-heading .todo-icon{background:transparent;border:0;min-width:30px;min-height:30px;padding:5px}
.todo-color-dot{width:9px;height:9px;flex-shrink:0;border-radius:3px;margin:0 5px}
.todo-sidebar details{margin-top:20px}
.todo-sidebar summary{padding:8px 10px;font-size:12px;color:var(--todo-muted);cursor:pointer}
.todo-timezone{font-size:11px;color:#7d8b84;padding:24px 10px 4px}
.todo-main{flex:1;min-width:0;padding:22px}
.todo-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.todo-section-heading h2{overflow-wrap:anywhere}
.todo-section-heading .todo-muted{font-size:12px}
.todo-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.todo-quick{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 14px;border:1px solid #bdd8cb;border-radius:10px;background:#f8fcf9;margin:0 0 18px}
.sn-todo .todo-quick input:not([type=checkbox]){flex:1;background:transparent;border:0;box-shadow:none;padding:6px 0}
.todo-quick>i{color:#137250}
.todo-filters{display:flex;gap:9px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid #eef1ef}
.todo-filters label{flex:1 1 110px;font-size:11px;color:var(--todo-muted)}
.todo-filters .todo-search{flex:1 1 100%}
.todo-filters select{font-size:12px}
.todo-group-title{font-size:12px;font-weight:700;color:#6e8077;margin:20px 0 7px}
.todo-group-title.overdue{color:#b96527}
.todo-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0ee;padding:14px 2px}
.todo-row.is-selected{background:#f3f9f5}
.todo-row-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}
.sn-todo .todo-row-actions button{width:34px;min-width:34px;height:34px;min-height:34px;padding:7px}
.sn-todo .todo-row-main{display:block;min-width:0;flex:1;text-align:left;padding:0;background:transparent;color:#293f35;min-height:32px;border:0;font-weight:500}
.sn-todo .todo-row-main:hover{background:transparent;color:#137250}
.todo-row-title{display:block;font-size:14px;overflow-wrap:anywhere}
.todo-row.is-completed .todo-row-title{text-decoration:line-through;color:#87968c}
.todo-row-meta{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;font-size:11px;font-weight:400;color:#819087;margin-top:5px}
.todo-row-meta span{display:inline-flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}
.todo-row-meta .todo-overdue{color:#b75d27}
.todo-row-meta .todo-priority-2{color:#bb4e47}
.todo-row-meta .todo-priority-0{color:#6384a3}
.todo-row-list{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block!important}
.todo-empty,.todo-welcome{padding:54px 20px;text-align:center;color:var(--todo-muted)}
.todo-empty i,.todo-welcome>i{display:block;font-size:32px;color:#81a58f;margin-bottom:16px}
.todo-empty strong{display:block;font-size:16px;color:#416350;margin-bottom:6px}
.todo-empty p{font-size:13px;max-width:360px;margin:auto}
.todo-welcome{background:white;border:1px solid var(--todo-border);border-radius:14px}
.todo-welcome p{margin:12px 0 22px}
.todo-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;font-size:12px;color:var(--todo-muted)}
.todo-detail{width:340px;flex-shrink:0;background:#fff;border:1px solid var(--todo-border);border-radius:14px;padding:18px}
.todo-detail-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.todo-detail-top h2{font-size:17px}
.todo-detail fieldset{border:0;margin:0;padding:0;min-width:0;display:grid;gap:15px}
.todo-field-row{display:flex;gap:10px}
.todo-field-row>label{flex:1;min-width:0}
.todo-date-shortcuts{display:flex;flex-wrap:wrap;gap:6px}
.todo-date-shortcuts button{font-size:12px;min-height:30px;padding:5px 9px}
.todo-check-heading{display:flex;justify-content:space-between;font-size:12px;color:var(--todo-muted)}
.todo-check-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.todo-check-row input[type=text]{flex:1;height:35px;font-size:13px}
.todo-check-row input:checked+input{text-decoration:line-through;color:#839087}
.todo-check-row .todo-icon{padding:5px;min-width:28px;min-height:32px;background:transparent;border:0}
.todo-check-add{display:flex;gap:6px}
#todo-save-status{font-size:11px;margin-top:14px;overflow-wrap:anywhere}
#todo-save-status:empty{display:none}
.todo-detail-actions{display:flex;flex-wrap:nowrap;gap:6px;border-top:1px solid var(--todo-border);padding-top:12px;margin:12px 0 16px}
.todo-detail-actions button{flex:1 1 auto;min-width:0;gap:5px;padding:8px 6px;font-size:12px;white-space:nowrap}
#todo-detail-meta{font-size:11px}
.todo-archive-note{padding:10px 12px;background:#fff6e8;color:#8b642e;font-size:12px;border-radius:8px;margin-bottom:14px!important}
.todo-message{padding:12px 16px;margin-bottom:16px;border:1px solid #cee3d5;border-radius:10px;background:#f0f9f3;color:#27623f;overflow-wrap:anywhere}
.todo-message.is-error{background:#fff3f3;color:#a82c3c;border-color:#f2d1d6}
@media(min-width:901px) and (max-width:1250px) {.todo-shell.has-detail .todo-sidebar{width:165px}
.todo-shell.has-detail .todo-main{padding:16px}
.todo-shell.has-detail .todo-stat{padding:12px;gap:8px}
.todo-shell.has-detail .todo-stat>i{display:none}
}
@media(max-width:900px) {.sn-todo{margin:16px 0 28px}
.todo-heading{align-items:flex-start;margin-bottom:18px}
.sn-todo h1{font-size:26px}
.todo-heading p{font-size:13px}
.todo-private{font-size:11px;padding:6px 9px}
.todo-board{flex-direction:column;min-height:480px}
.todo-sidebar{width:100%;padding:14px 12px;border-right:0;border-bottom:1px solid var(--todo-border)}
.todo-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.sn-todo .todo-collapse-toggle{display:flex;width:100%;min-height:44px;justify-content:space-between;padding:8px;color:#456458;background:transparent;border:0;font-size:13px;text-align:left}
.sn-todo .todo-collapse-toggle:hover{background:#eef5f0}
.todo-collapse-toggle[aria-expanded=true]>i{transform:rotate(180deg)}
.todo-sidebar .todo-collapse-panel.is-collapsed{display:none}
#todo-lists,#todo-archived-lists{display:grid;gap:4px}
.todo-sidebar .todo-nav-button{min-width:0;min-height:44px;padding:8px;font-size:13px}
.todo-sidebar .todo-nav-button i{flex-shrink:0}
.todo-sidebar .todo-nav-name{min-width:0;white-space:normal;overflow-wrap:anywhere}
.todo-lists-heading{margin:6px 0;padding-left:0}
.todo-lists-heading h2{flex:1;min-width:0}
.todo-lists-heading h2>span{display:none}
.todo-lists-heading .todo-icon{min-width:44px;min-height:44px}
.todo-sidebar details{margin-top:12px}
.todo-sidebar summary{min-height:44px;padding:12px 8px}
.todo-timezone{padding:14px 8px 2px}
.todo-shell.has-detail .todo-workspace{display:none}
.todo-detail{width:100%;padding:18px 14px}
}
@media(max-width:520px) {.todo-heading{display:block}
.todo-private{display:inline-flex;margin-top:12px}
.todo-stats{gap:7px;margin-bottom:12px}
.todo-stat{padding:12px 9px;display:block}
.todo-stat>i{display:none}
.todo-stat span{font-size:10px}
.todo-stat strong{font-size:24px;margin-top:7px}
.todo-main{padding:15px 12px}
.todo-section-heading h2{font-size:18px}
.todo-actions button{font-size:12px;padding:7px 9px}
.todo-filters{gap:8px}
.todo-filters label{flex-basis:calc(50% - 8px)}
.todo-quick{gap:7px;padding-left:10px}
.todo-quick button{padding:8px 11px}
.todo-quick input{font-size:13px!important}
.todo-row{gap:9px}
.todo-row-list{max-width:120px}
}/* Keep the desktop filter row compact,including when the editor is open. */
.todo-empty p{max-width:680px}
@media(min-width:901px) {.todo-filters{display:grid;grid-template-columns:minmax(110px,1.7fr) repeat(4,minmax(0,1fr));gap:8px}
.todo-filters label,.todo-filters .todo-search{min-width:0}
}
.utility-coming{max-width:760px;margin:12px auto 32px;text-align:center;background:white;border:1px solid #e4e9ef;border-radius:18px;padding:36px 24px}
.utility-coming p{color:#64748b;margin:12px auto;max-width:600px}
.utility-large-icon{display:block;font-size:40px;color:#137250;margin-bottom:16px}
.utility-soon,.utility-ready{display:inline-block;font-size:11px;font-weight:600;padding:3px 9px;border-radius:20px;background:#f1f5f9;color:#64748b;margin-top:10px}
.utility-ready{background:#e8f4ec;color:#137250}
.utility-back{display:inline-flex;align-items:center;gap:8px;margin-top:14px}
.utility-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.utility-card{display:flex;gap:16px;padding:22px;background:#fff;border:1px solid #e4e9ef;border-radius:14px;font-weight:400}
.utility-card>i{font-size:24px;width:34px;flex-shrink:0;padding-top:3px;color:#137250}
.sn-todo .utility-card h2{font-size:17px}
.utility-card p{font-size:13px;color:#64748b;margin-top:8px}
.utility-card:hover{border-color:#87b69b;background:#fcfffd}
.todo-invitations{padding:18px;background:#edf6f0;border:1px solid #c8dfd1;border-radius:12px;margin-bottom:18px}
.todo-invitations h2{font-size:17px;margin-bottom:10px}
.todo-invitation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #dbeade}
.todo-invitation strong{overflow-wrap:anywhere}
.todo-share-dialog .todo-muted{font-size:12px}
.todo-member,.todo-person{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e5ebe7}
.todo-member-info,.todo-person>div{flex:1;min-width:0;overflow-wrap:anywhere}
.todo-member small,.todo-person small{display:block}
.sn-todo .todo-member select{width:125px;flex-shrink:0}
#todo-members{margin:12px 0 20px}
#todo-invite-controls{display:grid;gap:12px;margin-bottom:18px}
#todo-leave-list{margin-top:18px}
#todo-detail-meta button{margin-top:12px}
@media(max-width:520px) {.todo-invitation{align-items:flex-start;flex-direction:column}
.todo-member{flex-wrap:wrap}
.todo-member-info{flex-basis:100%}
.todo-section-heading{flex-wrap:wrap}
}
.todo-dialog{--popup-width:500px}
.todo-share-dialog{--popup-width:600px}
