/* PrivateShare personal To Do: designed for the existing dark/light workspace. */
#app .todo-page{--todo-panel:rgba(22,35,65,.9);--todo-line:rgba(135,159,211,.18);--todo-muted:#9fb0d4;display:grid;grid-template-columns:235px minmax(0,1fr);gap:16px;min-height:min(700px,calc(100dvh - 195px));min-width:0;align-items:start}
#app .todo-page.has-detail{grid-template-columns:215px minmax(0,1fr) 315px}
#app .todo-side,#app .todo-center,#app .todo-detail{border:1px solid var(--todo-line);background:var(--todo-panel);border-radius:16px;min-width:0;box-shadow:0 12px 40px rgba(0,0,0,.08)}
#app .todo-side{padding:16px 10px;position:sticky;top:8px}
#app .todo-side-title{display:flex;align-items:center;justify-content:space-between;padding:2px 8px 14px;font-size:1.04rem}
#app .todo-side-title button,#app .todo-side-subtitle button{border:0;background:transparent;color:#a9baff;font-size:1.5rem;cursor:pointer}
#app .todo-smart{display:grid;gap:3px}
#app .todo-side-item{width:100%;border:0;background:transparent;color:inherit;border-radius:10px;display:flex;align-items:center;gap:10px;text-align:left;padding:11px 9px;font-size:.9rem;min-width:0;cursor:pointer}
#app .todo-side-item>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app .todo-side-item small{color:var(--todo-muted);font-size:.8rem}
#app .todo-side-item.active{background:rgba(101,118,235,.22);color:#c6d0ff}
#app .todo-side-item:hover{background:rgba(105,124,215,.13)}
#app .todo-side-symbol{font-size:1.2rem;color:#99aaff;min-width:21px;text-align:center}
#app .todo-side-divider{border-top:1px solid var(--todo-line);margin:12px 7px}
#app .todo-side-subtitle{display:flex;align-items:center;justify-content:space-between;font-size:.68rem;letter-spacing:.12em;font-weight:700;color:var(--todo-muted);padding:0 8px 7px}
#app .todo-custom-line{display:flex;align-items:center}
#app .todo-custom-line>.todo-side-item{flex:1;min-width:0}
#app .todo-list-options{border:0;background:transparent;color:var(--todo-muted);cursor:pointer;padding:7px}
#app .todo-add-list{width:100%;border:1px dashed var(--todo-line);background:transparent;color:inherit;text-align:left;padding:11px 13px;border-radius:10px;cursor:pointer;margin-top:10px}
#app .todo-color-dot{width:12px;height:12px;border-radius:5px;flex:none;background:#9181ff}
#app .todo-color-dot.blue{background:#469fee}#app .todo-color-dot.green{background:#41c69e}#app .todo-color-dot.orange{background:#ffa85e}#app .todo-color-dot.pink{background:#ef81bd}
#app .todo-center{padding:22px;min-height:580px}
#app .todo-center-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:20px}
#app .todo-center-head h2{font-size:1.85rem;margin:6px 0 5px;line-height:1.25}
#app .todo-center-head p{color:var(--todo-muted);margin:0;font-size:.88rem}
#app .todo-search,#app .todo-quick-form{display:flex;align-items:center;gap:10px;border:1px solid var(--todo-line);background:rgba(9,18,38,.28);border-radius:12px;padding:11px 12px;margin-bottom:12px}
#app .todo-search input,#app .todo-quick-form input{min-width:0;flex:1;background:transparent;border:0;box-shadow:none;outline:none;color:inherit;font:inherit;padding:0}
#app .todo-quick-form>span{font-size:1.5rem;color:#adadff}
#app .todo-quick-form button{flex:none}
#app .todo-results-count{text-align:right;margin:10px 3px;color:var(--todo-muted);font-size:.8rem}
#app .todo-task-list{display:grid;gap:8px}
#app .todo-task{display:flex;align-items:center;gap:11px;background:rgba(75,96,152,.09);border:1px solid var(--todo-line);padding:13px 14px;border-radius:12px;min-width:0}
#app .todo-task.selected{border-color:#8f91ff;background:rgba(106,116,214,.15)}
#app .todo-task:hover{background:rgba(109,124,194,.13)}
#app .todo-check{display:flex;flex:none;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;border:2px solid #7b90be;background:transparent;color:white;cursor:pointer;font-size:13px}
#app .todo-check.checked{background:#695fff;border-color:#695fff}
#app .todo-task-text{display:flex;flex-direction:column;min-width:0;flex:1;align-items:flex-start;text-align:left;gap:6px;border:0;background:transparent;color:inherit;cursor:pointer;padding:0;font-size:.95rem}
#app .todo-task-text strong{font-weight:600;line-height:1.4;overflow-wrap:anywhere}
#app .todo-task.done .todo-task-text strong{text-decoration:line-through;color:var(--todo-muted)}
#app .todo-task-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--todo-muted);font-size:.79rem}
#app .todo-task-meta small{font-size:.79rem}
#app .todo-tag{font-size:.73rem;color:var(--todo-muted);white-space:nowrap}
#app .todo-tag.overdue{color:#ff929b}
#app .todo-day-icon,#app .todo-star{flex:none;border:0;background:transparent;font-size:1.26rem;color:#7288b5;cursor:pointer;padding:4px}
#app .todo-day-icon.active{color:#ffce79}#app .todo-star.active{color:#ffc05b}
#app .todo-blank{padding:50px 22px;text-align:center;display:grid;justify-items:center;gap:10px;color:var(--todo-muted)}
#app .todo-blank>span{font-size:2rem;display:grid;place-items:center;border:1px solid var(--todo-line);width:60px;height:60px;border-radius:50%;color:#8ea4f9}
#app .todo-blank strong{color:inherit;font-size:1rem}#app .todo-blank p{margin:0;max-width:350px;line-height:1.5}
#app .todo-hint{font-size:.8rem;color:var(--todo-muted);margin-top:16px}
#app .todo-detail-container{display:none;min-width:0}
#app .todo-page.has-detail .todo-detail-container{display:block}
#app .todo-detail{padding:16px;position:sticky;top:8px}
#app .todo-detail>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
#app .todo-detail header h3{font-size:1.02rem;margin:0}
#app .todo-detail header button{border:0;background:transparent;color:inherit;font-size:1.5rem;cursor:pointer}
#app .todo-detail form label{display:grid;gap:7px;font-size:.82rem;margin:0 0 13px;color:var(--todo-muted)}
#app .todo-detail form input:not([type=checkbox]),#app .todo-detail form textarea,#app .todo-detail form select{width:100%;min-width:0}
#app .todo-detail-checks{display:flex;gap:15px;flex-wrap:wrap;margin:14px 0}
#app .todo-detail-checks label{display:flex!important;align-items:center;gap:7px;margin:0!important}
#app .todo-steps{border-top:1px solid var(--todo-line);margin-top:20px;padding-top:12px}
#app .todo-steps h4{display:flex;justify-content:space-between;margin:0 0 12px;font-size:.93rem}
#app .todo-steps h4 span{color:var(--todo-muted)}
#app .todo-step{display:flex;align-items:center;gap:8px;padding:8px 0}
#app .todo-step>span{flex:1;overflow-wrap:anywhere;font-size:.86rem}
#app .todo-step>span.completed{text-decoration:line-through;color:var(--todo-muted)}
#app .todo-step>button:last-child{border:0;background:transparent;color:var(--todo-muted);font-size:1.2rem;cursor:pointer}
#app #todo-step-form{display:flex;gap:8px;margin-top:12px}
#app #todo-step-form input{min-width:0;flex:1}
#app .todo-delete{width:100%;margin-top:23px}
#app .todo-project-label{font-size:.76rem;color:var(--todo-muted);white-space:nowrap}
#app .todo-assigned-check{font-size:1.15rem;color:#a7b7f6}
#app .todo-task.deleted>.todo-task-text{cursor:default}
#app .todo-modal-delete{margin-top:16px;border-top:1px solid var(--todo-line);padding-top:14px}
:root[data-theme="light"] #app .todo-page{--todo-panel:#fff;--todo-line:#e3e8f2;--todo-muted:#637492}
:root[data-theme="light"] #app .todo-search,:root[data-theme="light"] #app .todo-quick-form{background:#f7f9fc}
:root[data-theme="light"] #app .todo-task{background:#fbfcff}
:root[data-theme="light"] #app .todo-task:hover{background:#f0f3fc}
:root[data-theme="light"] #app .todo-task.selected{background:#eef0ff}
:root[data-theme="light"] #app .todo-side-item.active{background:#ebeefe;color:#3e49a0}
:root[data-theme="light"] #app .todo-quick-form input,:root[data-theme="light"] #app .todo-search input{color:#172441}
@media(max-width:1350px){#app .todo-page,#app .todo-page.has-detail{grid-template-columns:215px minmax(0,1fr)}#app .todo-page.has-detail .todo-detail-container{grid-column:2;grid-row:2}#app .todo-detail{position:static}}
@media(max-width:900px){#app .todo-page,#app .todo-page.has-detail{grid-template-columns:1fr;gap:12px}#app .todo-side{position:static}#app .todo-smart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#app .todo-side-title{padding-bottom:6px}#app .todo-custom-line{display:inline-flex;max-width:100%}#app .todo-page.has-detail .todo-detail-container{grid-column:1;grid-row:auto}#app .todo-center{padding:16px;min-height:400px}#app .todo-center-head h2{font-size:1.45rem}#app .todo-side{padding:12px}}
@media(max-width:520px){#app .todo-smart{grid-template-columns:repeat(2,minmax(0,1fr))}#app .todo-side-item{font-size:.79rem;gap:6px;padding:9px 6px}#app .todo-task{padding:10px;gap:8px}#app .todo-project-label{display:none}#app .todo-center-head{align-items:start}#app .todo-quick-form{padding:9px 7px}#app .todo-quick-form button{font-size:.78rem}}

/* Mobile: keep personal tasks visible in the existing quick navigation. */
@media(max-width:900px){
 #app .ps-app-rail .ps-rail-main [data-page="todo"]{display:flex!important}
 #app .ps-app-rail .ps-rail-bottom [data-page="users"]{display:none!important}
 #app .ps-app-rail .ps-rail-link{min-width:0}
}
