:root{--bg:#f7f8f5;--surface:#fff;--ink:#27362e;--muted:#858b84;--line:#e5e8e1;--green:#3b5744;--green-light:#edf2e9;--radius:13px;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:var(--font);font-size:14px;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{color:inherit}button svg{flex-shrink:0}svg{width:18px;height:18px;vertical-align:middle;stroke-width:1.7}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #a8c6ab;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #b6c9b1;outline-offset:1px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{border:0;background:none}input,select,textarea{min-width:0}::selection{background:#dce9d8}.brand{display:flex;align-items:center;gap:11px;font-weight:650;font-size:23px;letter-spacing:-1px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--green);color:#fff;font-family:Georgia,serif;font-style:italic;font-size:30px;font-weight:400;line-height:1;padding:0 4px 5px 0}.brand-dot{color:#78906f}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:#8b9687}.primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;border-radius:8px;background:var(--green);color:#fff;font-size:12px;font-weight:600;box-shadow:0 2px 3px #263a2312;transition:background .18s,transform .18s}.primary:hover{background:#2d4435;transform:translateY(-1px)}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:9px 12px;font-size:12px}.secondary:hover{background:#f3f5ef}.icon-button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:#838a80}.icon-button:hover{background:#e9ede5;color:var(--ink)}.tiny-text{font-size:11px;color:var(--muted)}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:12px;padding:8px 0}.text-button:hover{text-decoration:underline}.mobile-only{display:none}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted)}
.workspace{display:flex;min-height:100vh}.sidebar{width:224px;flex-shrink:0;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:29px 20px 0;background:#f0f2ec;border-right:1px solid #e3e6dd;z-index:20}.sidebar .brand{margin:0 4px 40px}.workspace-label{font-size:9px;letter-spacing:1.3px;color:#949b8e;font-weight:600;padding:0 12px;margin-bottom:14px}nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:11px;text-align:left;padding:11px 12px;border-radius:8px;font-size:12px;color:#71796c;transition:background .15s}.nav-item.active{color:#354e3d;background:#e0e7da;font-weight:600}.nav-item:hover{background:#e6eadf}.nav-item svg{width:17px;height:17px}.nav-item .count{margin-left:auto;color:#8b9381;font-size:10px;min-width:19px;text-align:center}.nav-item.active .count{color:#526447}.sidebar-divider{height:1px;background:#dde2d6;margin:23px 11px}.category-heading{display:flex;justify-content:space-between;padding:0 12px;margin-bottom:12px;font-size:9px;letter-spacing:1.2px;color:#939a8b;font-weight:600}.category-item{padding:9px 12px;font-size:12px}.category-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.sidebar-note{margin:auto 5px 30px;padding:23px 19px 20px;border:1px solid #dfe4d5;border-radius:10px;background:#e9eddf;position:relative;overflow:hidden}.sidebar-note:after{content:'';position:absolute;width:110px;height:110px;border:1px solid #d8dfcb;border-radius:50%;right:-50px;top:-22px}.note-symbol{color:#8a9a75;font-size:31px;float:right;line-height:1}.sidebar-note p{font-family:Georgia,serif;font-size:23px;line-height:1.2;letter-spacing:-.6px;margin:9px 0 12px}.sidebar-note p strong{font-weight:400;font-style:italic}.sidebar-note>span:last-child{font-size:9px;color:#929a87}.sidebar-bottom{margin:0 -20px}.privacy-status{display:flex;align-items:center;justify-content:center;gap:5px;border-top:1px solid #dfe4d8;padding:16px 10px;color:#8c9583;font-size:10px}.privacy-status svg{height:12px;width:12px}.profile{display:flex;align-items:center;gap:9px;padding:16px 19px;background:#ecefe6;border-top:1px solid #dfe4d8}.avatar{width:32px;height:32px;background:#dddcc8;color:#6a6c51;display:grid;place-items:center;font-family:Georgia,serif;font-size:15px;border-radius:50%;flex-shrink:0}.profile strong{display:block;font-size:11px;font-weight:600;max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile span{display:block;margin-top:3px;font-size:9px;color:#959c8c}.profile .icon-button{margin-left:auto}.profile svg{width:16px}
.main{margin-left:224px;width:calc(100% - 224px);min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;background:#f9faf7}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px;color:#959c8f}.breadcrumb strong{font-weight:500;color:#66715f}.breadcrumb-slash{color:#c6cbbf}.topbar-right{display:flex;align-items:center;gap:18px;font-size:10px;color:#929a89}.date-today{text-transform:capitalize}.topbar-separator{height:17px;width:1px;background:#e1e6da}.private-small{display:flex;align-items:center;gap:5px}.private-small svg{width:12px;height:12px}.main-content{padding:36px 35px 0;max-width:1900px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:18px}.page-heading h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1.6px;font-size:40px;margin:9px 0 10px;line-height:1.1}.heading-dot{color:#8c9e7b}.page-heading p{font-size:12px;color:#8e9587}.page-heading>.primary{margin-top:18px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:31px}.stat{display:flex;align-items:center;gap:14px;padding:19px 20px;background:#fff;border:1px solid var(--line);border-radius:10px;position:relative}.stat-icon{width:41px;height:41px;display:grid;place-items:center;border-radius:11px;color:#849177;background:#f1f3eb;flex-shrink:0}.stat-icon.blue{background:#edf2f7;color:#8198b7}.stat-icon.green{background:#edf3e9;color:#809e6c}.stat-main{display:flex;align-items:baseline;gap:9px;margin-bottom:4px}.stat-main strong{font-size:25px;font-weight:500;letter-spacing:-1px}.stat-main span{font-size:11px;color:#7f8878}.stat-subtitle{font-size:10px;color:#a0a695}.stat-decoration{margin-left:auto;font-size:10px;border-radius:5px;padding:5px 7px;background:#f3f6ee;color:#8fa07e}.stat-progress{width:65px;height:4px;border-radius:4px;background:#eaf0e4;margin-top:8px;overflow:hidden}.stat-progress-fill{height:100%;background:#9bb488}.stat-progress-parts{display:flex;gap:3px;height:4px}.stat-progress-parts span{flex:1;border-radius:4px;background:#eaf0e4}.stat-progress-parts span.filled{background:#9bb488}.board-area{position:relative}.board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:23px}.view-tabs{display:flex;align-items:center;gap:4px;background:#ebeee6;padding:4px;border-radius:8px;flex-shrink:0}.view-tab{display:flex;align-items:center;gap:7px;padding:7px 12px;border-radius:6px;color:#969d8c;font-size:11px}.view-tab.active{color:#5c6c50;background:#fff;box-shadow:0 1px 4px #2538200d}.view-tab svg{width:14px;height:14px}.filter-tools{display:flex;align-items:center;gap:10px;position:relative}.search-field{height:34px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:0 10px}.search-field svg{width:14px;height:14px;color:#a3a99c}.search-field input{border:0;background:none;font-size:11px;width:168px;color:var(--ink);outline:0}.search-field:focus-within{border-color:#a2b69a}.search-field input::placeholder{color:#a0a695}.search-field kbd{border:1px solid #e5e9df;padding:1px 4px;border-radius:3px;font-size:10px;color:#aab09f}.filter-tools>.secondary{height:34px;font-size:11px}.filter-tools>.secondary svg{width:14px;height:14px}.filter-tools>.secondary.selected{background:#e7eedf;border-color:#cddbc1}.dropdown{position:absolute;right:0;top:42px;min-width:195px;background:#fff;border:1px solid var(--line);padding:6px;border-radius:9px;box-shadow:0 8px 30px #25332018;z-index:12}.dropdown button{display:flex;align-items:center;gap:9px;text-align:left;width:100%;padding:11px 9px;font-size:12px;border-radius:5px}.dropdown button:hover{background:#f1f5ed}.dropdown svg{width:15px;height:15px}.filters-panel{display:flex;align-items:end;gap:15px;background:#eef2e9;padding:15px;border-radius:9px;margin-bottom:19px}.filters-panel label{font-size:10px;color:#7d8773;display:flex;flex-direction:column;gap:7px}.filters-panel select{font-size:11px;padding:8px 28px 8px 9px;border:1px solid #dde4d6;background:#fff;border-radius:5px;color:#5c6b51}.filters-panel .text-button{margin-left:auto;margin-bottom:1px}.active-filter{display:flex;align-items:center;gap:8px;margin:-4px 0 17px;font-size:11px;color:#7d8a70}.active-filter button{display:flex;align-items:center;gap:6px;padding:5px 8px;border-radius:5px;background:#e7eede;color:#637653}.active-filter svg{width:12px;height:12px}.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,1fr);gap:17px;align-items:start;overflow-x:auto;padding:0 1px 18px;min-height:360px;scrollbar-width:thin;scrollbar-color:#d4ddcc transparent}.column{min-width:0;border-radius:10px;transition:background .15s;padding:0 1px 8px}.column.drag-over{background:#e6eddc;outline:2px dashed #91a77f;outline-offset:5px}.column-header{display:flex;align-items:center;gap:8px;padding:2px 3px 17px}.status-dot{width:7px;height:7px;border-radius:50%;background:#a4ad99}.status-dot.blue{background:#9bb3cc}.status-dot.amber{background:#c7ad7c}.status-dot.green{background:#93ae7f}.status-dot.pink{background:#c898ac}.column-header h2{font-size:12px;font-weight:600;color:#616f56}.column-count{font-size:10px;background:#ecefe7;color:#9aa18e;border-radius:5px;min-width:19px;text-align:center;padding:3px 4px}.column-actions{display:flex;margin-left:auto;gap:0}.column-actions .icon-button{width:23px;height:23px}.column-actions svg{height:14px;width:14px}.column-cards{display:flex;flex-direction:column;gap:12px;min-height:45px}.task-card{background:#fff;border:1px solid #e3e7dd;border-radius:10px;padding:14px 14px 12px;box-shadow:0 2px 3px #2b3c2210;transition:box-shadow .18s,border-color .18s;cursor:grab;position:relative}.task-card:hover{border-color:#bbc9b0;box-shadow:0 4px 12px #2b3c2210}.task-card.dragging{opacity:.35}.task-card.completed .task-title{color:#8c9783;text-decoration:line-through;text-decoration-color:#bdc6b3}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.category-chip{display:inline-flex;align-items:center;font-size:9px;font-weight:500;line-height:1;padding:5px 7px;border-radius:4px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#eeefe9;color:#85866f}.category-chip.administratif{background:#eef0e9;color:#7e8b70}.category-chip.finances{background:#f7f0df;color:#ae9560}.category-chip.sante{background:#f4e9ed;color:#b28a98}.category-chip.maison{background:#e9f0e8;color:#86a07a}.category-chip.projets{background:#ebedf8;color:#9394b3}.category-chip.personnel{background:#f5eadf;color:#b2987c}.card-top .icon-button{width:20px;height:18px}.card-top svg{width:15px;height:15px}.task-title{font-size:12px;font-weight:550;line-height:1.65;text-align:left;padding:0;display:block;width:100%;color:#4d5b43;letter-spacing:-.1px;overflow-wrap:anywhere}.task-notes{font-size:10px;line-height:1.7;color:#9aA08f;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}.task-checklist{margin:12px 0 1px;padding-top:10px;border-top:1px solid #f0f2eb;display:flex;flex-direction:column;gap:7px}.inline-subtask{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.5;color:#8c9780;cursor:pointer}.inline-subtask input{accent-color:#87a078;width:11px;height:11px;margin:2px 0 0;flex-shrink:0}.inline-subtask.done span{text-decoration:line-through;color:#b0b8a6}.task-footer{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:9px;color:#a0a793;min-height:21px}.task-footer svg{width:11px;height:11px}.priority-label{display:flex;align-items:center;gap:4px}.priority-label.high{color:#ba9b6b}.priority-label.low{color:#9baa8d}.due-label{display:flex;align-items:center;gap:4px}.due-label.overdue{color:#b37e70}.subtask-progress{display:flex;align-items:center;gap:4px;margin-left:auto}.complete-button{width:20px;height:20px;border:1px solid #e0e7d8;border-radius:50%;display:grid;place-items:center;margin-left:auto;color:#c2ccb8;background:#fbfcf9}.subtask-progress+.complete-button{margin-left:0}.complete-button svg{width:11px;height:11px}.complete-button:hover{background:#e9f1e1;color:#779366;border-color:#a0b88b}.complete-button.checked{background:#e6efdc;color:#83a16e;border-color:#cadcb8}.add-task{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;border:1px dashed #dbe2d2;border-radius:8px;color:#99a38b;padding:11px 4px;margin-top:12px;font-size:10px}.add-task:hover{background:#edf2e7;border-color:#b7c7a7;color:#6e825d}.add-task svg{width:12px;height:12px}.empty-column{min-height:155px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;border:1px dashed #dfe5d5;border-radius:9px;color:#a4ae98;padding:23px 12px;text-align:center}.empty-column .empty-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:50%;background:#edf2e6;color:#a4b592}.empty-column p{font-size:10px;line-height:1.7;max-width:170px}.empty-column strong{font-size:11px;font-weight:500;color:#899b79}.board-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:18px 0 23px;font-size:9px;color:#a1aa96}.board-footer #save-status{display:flex;align-items:center;gap:5px}.board-footer svg{width:11px;height:11px}.board-footer .save-error{color:#a36e61}.save-retry{font-size:10px;color:#7d534b;text-decoration:underline}.list-view{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:25px}.list-row{display:grid;grid-template-columns:24px minmax(150px,1fr) 110px 100px 95px 25px;align-items:center;gap:14px;padding:16px 18px;border-bottom:1px solid #edf0e7;font-size:11px}.list-row:last-child{border-bottom:0}.list-row .complete-button{margin:0}.list-row .task-title{font-size:12px}.list-status{display:flex;gap:7px;align-items:center;color:#88967b;font-size:10px}.list-date{color:#a0a891;font-size:10px}.list-empty{padding:60px 25px;text-align:center;color:#96a18b;font-size:12px}
.auth-screen{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh;background:#fff}.auth-story{padding:42px 55px 25px;background:#edf0e4;position:relative;display:flex;flex-direction:column;overflow:hidden}.auth-story .brand{margin-bottom:75px}.auth-intro{position:relative;z-index:1}.auth-intro h1{font-family:Georgia,serif;font-size:clamp(38px,4.2vw,64px);line-height:1.13;letter-spacing:-2px;font-weight:400;margin:22px 0}.auth-intro h1 em{font-weight:400;color:#82936e}.auth-intro>p{font-size:13px;line-height:1.9;color:#919b82;max-width:350px}.auth-illustration{height:240px;position:relative;margin:28px 0 28px;max-width:470px}.paper-card{position:absolute;background:#fff;padding:23px;border-radius:11px;box-shadow:0 8px 25px #3343290a;border:1px solid #e3e7d9}.paper-one{left:8px;top:17px;width:265px;transform:rotate(-5deg);z-index:2}.mini-label{display:block;font-size:8px;letter-spacing:1.5px;color:#a5b197;margin-bottom:13px}.paper-card strong{font-size:12px;font-weight:500;display:block;color:#61724f;margin-bottom:16px}.paper-check{display:flex;gap:9px;color:#9daf86;font-size:13px;margin-bottom:10px}.paper-check>span{font-size:10px;color:#a0aa93}.paper-two{right:5px;top:87px;width:200px;transform:rotate(7deg);background:#f8f6e9;z-index:3}.paper-two .flower{font-size:31px;color:#b6b68e;display:block;margin-bottom:7px}.paper-two strong{font-family:Georgia,serif;font-size:19px;font-weight:400;line-height:1.25;margin-bottom:9px}.paper-two>span:last-child{font-size:9px;color:#a3a48c;line-height:1.5;display:block}.decor-star{position:absolute;right:50px;top:6px;font-size:46px;color:#a2b58b}.illustration-line{position:absolute;left:50px;top:15px;width:340px;height:205px;border:1px solid #cdd6bc;border-radius:50%;transform:rotate(-22deg)}.auth-story-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9ba48d;margin-top:auto;padding-top:20px;border-top:1px solid #dfe5d4}.auth-form-side{position:relative;display:flex;align-items:center;justify-content:center;padding:60px 40px 85px}.auth-form-wrap{width:100%;max-width:340px}.private-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #e1e8d8;color:#8a9c76;border-radius:20px;font-size:10px;background:#f8faf5;margin-bottom:25px}.private-pill svg{width:12px;height:12px}.auth-form-wrap h2{font-family:Georgia,serif;font-size:33px;letter-spacing:-1px;font-weight:400;margin-bottom:12px}.auth-form-wrap>p{color:#969f8b;font-size:12px;line-height:1.8;margin-bottom:30px}.auth-form-wrap form label{margin-bottom:19px}.auth-submit{width:100%;padding:13px;margin-top:5px}.auth-footnote{text-align:center;font-size:10px!important;margin-top:19px!important;line-height:1.8!important}.auth-bottom{position:absolute;bottom:26px;font-size:9px;letter-spacing:1.7px;color:#b0b7a6}.password-field{position:relative}.password-field input{padding-right:42px;width:100%}.password-field button{position:absolute;right:5px;top:4px;height:32px;width:32px;display:grid;place-items:center;color:#9ba88f}.password-field svg{width:16px;height:16px}
dialog{border:1px solid var(--line);color:var(--ink);background:#fff;box-shadow:0 20px 100px #24351f30}dialog::backdrop{background:#27392355;backdrop-filter:blur(3px)}.edit-dialog{width:540px;max-width:calc(100vw - 30px);border-radius:16px;padding:28px;max-height:calc(100dvh - 40px);overflow-y:auto}.column-dialog{width:420px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.dialog-heading h2{font-family:Georgia,serif;font-size:28px;font-weight:400;letter-spacing:-.8px;margin-top:7px}.column-dialog .dialog-heading h2{font-size:25px;margin:0}form label{font-size:11px;font-weight:500;color:#6d7c62;display:flex;flex-direction:column;gap:8px;margin-bottom:18px}form input:not([type=checkbox]),form select,form textarea{border:1px solid #e0e7d8;border-radius:7px;padding:11px 12px;background:#fcfdfb;color:#53634a;font-size:12px;width:100%;line-height:1.5}form input::placeholder,form textarea::placeholder{color:#b0b8a6}form textarea{resize:vertical;min-height:88px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.optional{color:#a9b19f;font-size:9px;font-weight:400}.subtask-heading{display:flex;justify-content:space-between;align-items:center;margin:5px 0 12px;font-size:11px;font-weight:500;color:#6d7c62}.subtask-row{display:flex;align-items:center;gap:8px;margin-bottom:9px}.subtask-row input[type=checkbox]{accent-color:#7d9a6c;margin:0;width:15px;height:15px}.subtask-row input[type=text]{padding:8px 10px;font-size:11px}.subtask-row .icon-button{flex-shrink:0;color:#abb59f}.dialog-footer{border-top:1px solid var(--line);margin-top:22px;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-footer>div{display:flex;gap:8px;margin-left:auto}.dialog-footer .primary,.dialog-footer .secondary{font-size:11px;padding:10px 14px}.delete-button{display:flex;align-items:center;gap:5px;font-size:10px;color:#b38e7d;padding:7px 0}.delete-button:hover{color:#9f574a}.delete-button svg{width:13px;height:13px}.form-error{font-size:11px;line-height:1.7;color:#ad7162;margin:9px 0}.form-error:empty{display:none}.delete-confirm{background:#fbf0e9;border:1px solid #efded2;border-radius:8px;padding:14px;margin-top:13px;font-size:11px}.delete-confirm p{margin-bottom:12px;color:#a07865;line-height:1.7}.danger{background:#ad7965;color:#fff;font-size:11px;border-radius:6px;padding:9px 12px;margin-right:6px}.delete-confirm .secondary{font-size:11px}.toast{position:fixed;bottom:24px;left:calc(50% + 112px);transform:translateX(-50%);background:#354e3d;color:#fff;padding:13px 20px;border-radius:9px;box-shadow:0 6px 25px #283b2228;font-size:12px;z-index:100;max-width:calc(100vw - 35px);line-height:1.6;text-align:center}.toast.error{background:#925e50}body.dialog-open{overflow:hidden}.button-spin{animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.4}}
@media(min-width:1550px){.board{grid-auto-columns:minmax(280px,1fr)}.main-content{padding:45px 45px 0}.task-card{padding:17px}.task-title{font-size:13px}.task-notes{font-size:11px}.inline-subtask{font-size:11px}.task-footer{font-size:10px}.column-header h2{font-size:13px}.stat{padding:23px}}
@media(max-height:850px){.sidebar .brand{margin-bottom:28px}.sidebar-divider{margin:18px 11px}.sidebar-note{margin-top:25px;margin-bottom:20px;padding:14px 17px}.sidebar-note p{font-size:21px}.auth-story .brand{margin-bottom:45px}.auth-illustration{height:210px}.auth-story{padding-top:32px}}
@media(max-height:700px){.sidebar-note{display:none}.sidebar-bottom{margin-top:auto}.auth-story .brand{margin-bottom:30px}.auth-illustration{margin-top:15px;transform:scale(.9);transform-origin:left center;height:200px}.auth-intro h1{font-size:42px}}
@media(max-width:1180px){.sidebar{width:205px;padding-left:16px;padding-right:16px}.main{margin-left:205px;width:calc(100% - 205px)}.sidebar-bottom{margin-left:-16px;margin-right:-16px}.main-content{padding:30px 25px 0}.topbar{padding:0 25px}.board{grid-auto-columns:248px;gap:15px}.stat{padding:16px 14px;gap:10px}.stat-icon{width:35px;height:35px}.stat-decoration{display:none}.stat-main{gap:7px}.stat-main span{font-size:10px}.filter-tools{gap:7px}.search-field input{width:135px}.toast{left:calc(50% + 102px)}.list-row{grid-template-columns:22px minmax(130px,1fr) 90px 85px 25px;gap:10px}.list-date{display:none}.auth-story{padding-left:40px;padding-right:40px}.paper-two{right:-5px}.auth-intro h1{font-size:47px}}
@media(max-width:900px){.stats{gap:10px}.stat{padding:15px 12px;gap:9px}.stat-main{display:block}.stat-main strong{font-size:23px}.stat-main span{display:block;margin-top:2px}.stat-subtitle{display:none}.topbar-right .date-today,.topbar-separator{display:none}.page-heading h1{font-size:37px}.auth-screen{grid-template-columns:.95fr 1fr}.auth-story{padding-left:30px;padding-right:30px}.auth-intro h1{font-size:39px}.auth-illustration{transform:scale(.85);transform-origin:left center;width:350px}.auth-story-footer{font-size:9px;flex-direction:column;gap:7px}.auth-form-side{padding:50px 25px}.search-field kbd{display:none}.search-field input{width:110px}.filter-tools>.secondary{padding:9px}.view-tab{padding:7px 9px}}
@media(max-width:720px){.mobile-only{display:inline-flex}.sidebar{transform:translateX(-100%);width:224px;transition:transform .2s;padding-left:20px;padding-right:20px;box-shadow:10px 0 40px #27351e20}.sidebar.open{transform:translateX(0)}.sidebar-bottom{margin-left:-20px;margin-right:-20px}.sidebar .brand{margin-bottom:32px}.sidebar #close-sidebar{position:absolute;top:33px;right:10px}.sidebar-backdrop{position:fixed;inset:0;background:#2b39234d;z-index:19}.main{margin-left:0;width:100%}.topbar{height:59px;padding:0 19px}.breadcrumb{gap:9px}.breadcrumb .icon-button{margin-left:-6px}.main-content{padding:27px 20px 0}.page-heading{margin-bottom:23px}.page-heading h1{font-size:36px;margin-top:8px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.page-heading p{font-size:11px;max-width:235px;line-height:1.7}.page-heading>.primary{font-size:10px;padding:11px 12px;gap:6px;white-space:nowrap}.page-heading>.primary svg{height:14px;width:14px}.stats{margin-bottom:24px;gap:8px}.stat{padding:13px 11px;gap:7px;align-items:flex-start}.stat-icon{height:26px;width:26px;border-radius:8px}.stat-icon svg{width:14px;height:14px}.stat-main strong{font-size:21px}.stat-main span{font-size:9px;white-space:nowrap}.stat-main{margin-bottom:0}.board-toolbar{flex-wrap:wrap;gap:15px;padding-bottom:16px;margin-bottom:21px}.filter-tools{flex:1;justify-content:end}.search-field{flex:1;max-width:245px}.search-field input{width:100%;font-size:10px}.search-field #search-icon{flex-shrink:0}.view-tab{font-size:10px;padding:7px 8px}.view-tab svg{width:12px;height:12px}.filter-tools>.secondary{font-size:10px;gap:5px;padding:8px}.board{grid-auto-columns:260px;gap:16px;min-height:330px}.task-title{font-size:13px}.task-notes,.inline-subtask{font-size:11px}.task-footer{font-size:10px}.task-card{padding:16px}.board-footer{font-size:8px}.board-footer>span:last-child{display:none}.toast{left:50%;width:max-content;max-width:calc(100vw - 30px)}.auth-screen{display:flex;flex-direction:column}.auth-story{padding:25px 28px 29px}.auth-story .brand{margin-bottom:24px;font-size:21px}.auth-intro .eyebrow{font-size:8px}.auth-intro h1{font-size:36px;margin:13px 0;letter-spacing:-1.2px}.auth-intro h1 br:nth-child(2){display:none}.auth-intro>p{font-size:11px;max-width:330px;line-height:1.8}.auth-illustration,.auth-story-footer{display:none}.auth-form-side{padding:35px 28px 65px;flex:1}.auth-form-wrap{max-width:390px}.private-pill{margin-bottom:17px}.auth-form-wrap h2{font-size:28px}.auth-form-wrap>p{margin-bottom:23px}.auth-bottom{bottom:18px;font-size:8px}.list-row{grid-template-columns:22px 1fr 23px;gap:10px;padding:15px}.list-row .category-chip,.list-status{display:none}.filters-panel{gap:10px;flex-wrap:wrap}.filters-panel label{flex:1}.filters-panel .text-button{margin-left:0}.edit-dialog{padding:23px 20px}.dialog-footer{gap:8px}.dialog-footer .primary,.dialog-footer .secondary{font-size:10px;padding:10px 11px}.dialog-heading h2{font-size:27px}.form-grid{gap:0 12px}}
@media(max-width:430px){.main-content{padding-left:16px;padding-right:16px}.page-heading{gap:10px}.page-heading p{max-width:185px;font-size:10px}.page-heading>.primary{padding:10px;font-size:9px}.stat{gap:6px;padding:12px 8px}.stat-icon{width:22px;height:22px;border-radius:6px}.stat-icon svg{width:12px;height:12px}.stat-main span{font-size:8px}.stat-main strong{font-size:20px}.board-toolbar{gap:12px}.filter-tools{flex-basis:100%;justify-content:stretch}.search-field{max-width:none}.search-field input{font-size:11px}.filter-tools>.secondary{font-size:11px;padding:8px 11px}.board{grid-auto-columns:calc(100vw - 66px)}.column-header h2{font-size:13px}.view-tabs{width:100%}.view-tab{flex:1;justify-content:center}.topbar-right{font-size:9px}.auth-intro h1{font-size:32px}.form-grid{grid-template-columns:1fr 1fr}.dialog-footer .delete-button{font-size:9px}.dialog-footer>div{gap:5px}.board-footer{padding-bottom:19px}}
.category-dot.administratif{background:#a8b391}.category-dot.finances{background:#c7b17d}.category-dot.sante{background:#c49bac}.category-dot.maison{background:#93ac87}.category-dot.projets{background:#a3a0c0}.category-dot.personnel{background:#c5ab8b}.stat-progress-parts{margin-top:6px;width:55px}.list-empty p{margin-top:12px}.task-notes{color:#727b69}.inline-subtask{color:#738168}.task-footer{color:#717e66}.page-heading p{color:#7c8673}.priority-label.high{color:#9b7b47}.due-label.overdue{color:#9f6658}.category-chip.finances{color:#957b45}.category-chip.sante{color:#96717f}.category-chip.maison{color:#68875c}.category-chip.projets{color:#767798}.category-chip.personnel{color:#967654}
.task-status.todo{background:#eef0e9;color:#748068}.task-status.doing{background:#eaf0f7;color:#7086a4}.task-status.waiting{background:#f7f0df;color:#957b45}.task-status.done{background:#eaf2e3;color:#648651}.category-item>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board.single-column{grid-auto-columns:minmax(260px,350px)}#category-nav{overflow-y:auto;min-height:60px;scrollbar-width:thin}.sidebar .brand,#navigation,.sidebar-divider,.sidebar-bottom{flex-shrink:0}.sidebar-note{flex-shrink:0}
#board-selector{gap:7px;flex-shrink:0;margin:0 3px 23px}.board-choice{display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:9px;padding:10px;text-align:left;color:#7f8976}.board-choice:hover{background:#e6eadf}.board-choice.active{background:#fff;border-color:#dce3d3;box-shadow:0 2px 5px #263a2310;color:#425739}.board-choice-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#eaf0e3;flex-shrink:0}.board-choice-icon svg{width:15px;height:15px}.board-choice strong{font-size:12px;font-weight:600;display:block}.board-choice small{font-size:9px;color:#99a18e;display:block;margin-top:3px}.board-choice>svg{margin-left:auto;width:13px;height:13px;color:#879d72}.views-label{font-size:8px;letter-spacing:1px;margin-bottom:10px}.sidebar:has(#board-selector) .brand{margin-bottom:27px}.workspace[data-board=aedis]{--green:#41556e;--ink:#2d3b48}.workspace[data-board=aedis] .board-choice.active{color:#41556e;border-color:#ccd8e5}.workspace[data-board=aedis] .board-choice.active .board-choice-icon{background:#eaf0f7}.workspace[data-board=aedis] .board-choice.active>svg{color:#7891ad}.workspace[data-board=aedis] .nav-item.active{background:#e0e7ed;color:#41556e}.workspace[data-board=aedis] .page-heading h1{color:#35465b}.workspace[data-board=aedis] .page-heading .heading-dot{color:#91a6bd}.workspace[data-board=aedis] .eyebrow{color:#8b9bae}.workspace[data-board=aedis] .primary:hover{background:#33465d}
.sidebar:has(#board-selector) .sidebar-note{display:none}.sidebar:has(#board-selector) .sidebar-bottom{margin-top:auto}.workspace[data-board=aedis] .column-header{min-height:49px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Le thème sombre conserve les mêmes repères et fonctionne aussi avant la connexion. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:10px;font-weight:600;white-space:nowrap}
.theme-toggle:hover{background:var(--green-light)}
.theme-toggle svg{width:15px;height:15px}
.auth-theme-toggle{position:absolute;top:29px;right:29px}
@media(max-width:720px){.auth-theme-toggle{top:17px;right:18px}.topbar .theme-toggle span{display:none}.topbar .theme-toggle{width:34px;padding:6px}.topbar-right{gap:10px}}

html[data-theme=dark]{color-scheme:dark;--bg:#151c18;--surface:#202a23;--ink:#edf3eb;--muted:#a9b8a8;--line:#38473c;--green:#9bc6a0;--green-light:#2b4030}
html[data-theme=dark] body{background:var(--bg)}
html[data-theme=dark] ::selection{background:#496550;color:#fff}
html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible{outline-color:#b5dbac}
html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{outline-color:#96c59b}
html[data-theme=dark] .brand-mark,html[data-theme=dark] .primary{color:#122017}
html[data-theme=dark] .brand-dot,html[data-theme=dark] .heading-dot{color:#b8d6a5}
html[data-theme=dark] .primary:hover{background:#b5dcb4}
html[data-theme=dark] .secondary,html[data-theme=dark] .theme-toggle{background:var(--surface);color:var(--ink)}
html[data-theme=dark] .secondary:hover,html[data-theme=dark] .theme-toggle:hover,html[data-theme=dark] .icon-button:hover{background:#314135;color:var(--ink)}
html[data-theme=dark] .icon-button{color:#afbeac}
html[data-theme=dark] .eyebrow{color:#a8c7a4}
html[data-theme=dark] .sidebar{background:#1a241d;border-color:var(--line)}
html[data-theme=dark] .workspace-label,html[data-theme=dark] .category-heading{color:#9aaf9b}
html[data-theme=dark] .nav-item,html[data-theme=dark] .board-choice{color:#b3c2b1}
html[data-theme=dark] .nav-item:hover,html[data-theme=dark] .board-choice:hover{background:#2b3a2f}
html[data-theme=dark] .nav-item.active{background:#36513c;color:#e7f4e6}
html[data-theme=dark] .nav-item .count,html[data-theme=dark] .nav-item.active .count{color:#b0c4ae}
html[data-theme=dark] .sidebar-divider,html[data-theme=dark] .topbar-separator{background:var(--line)}
html[data-theme=dark] .privacy-status{border-color:var(--line);color:#b1c1af}
html[data-theme=dark] .profile{background:#202d23;border-color:var(--line)}
html[data-theme=dark] .profile span,html[data-theme=dark] .board-choice small{color:#a5b5a2}
html[data-theme=dark] .avatar{background:#435741;color:#f0f7e9}
html[data-theme=dark] .topbar{background:#1a241d}
html[data-theme=dark] .breadcrumb,html[data-theme=dark] .topbar-right{color:#a9baa9}
html[data-theme=dark] .breadcrumb strong,html[data-theme=dark] .column-header h2{color:#e5eee2}
html[data-theme=dark] .breadcrumb-slash{color:#778b78}
html[data-theme=dark] .page-heading p,html[data-theme=dark] .stat-main span,html[data-theme=dark] .stat-subtitle{color:#b1c1b0}
html[data-theme=dark] .stat,html[data-theme=dark] .task-card,html[data-theme=dark] .list-view{background:var(--surface);border-color:var(--line);box-shadow:none}
html[data-theme=dark] .task-card:hover{border-color:#789a7a;box-shadow:0 6px 20px #0002}
html[data-theme=dark] .stat-icon,html[data-theme=dark] .stat-icon.green{background:#304632;color:#bed9b1}
html[data-theme=dark] .stat-icon.blue{background:#2a3e51;color:#b9d5ef}
html[data-theme=dark] .stat-decoration,html[data-theme=dark] .column-count{background:#2c3b2e;color:#b8cbb0}
html[data-theme=dark] .stat-progress,html[data-theme=dark] .stat-progress-parts span{background:#344537}
html[data-theme=dark] .view-tabs{background:#273329}
html[data-theme=dark] .view-tab{color:#adbdac}
html[data-theme=dark] .view-tab.active{background:#3b5140;color:#f0f7ed;box-shadow:none}
html[data-theme=dark] .search-field,html[data-theme=dark] .dropdown{background:var(--surface);border-color:var(--line);box-shadow:none}
html[data-theme=dark] .search-field input{color:var(--ink)}
html[data-theme=dark] .search-field input::placeholder,html[data-theme=dark] form input::placeholder,html[data-theme=dark] form textarea::placeholder{color:#9aab99}
html[data-theme=dark] .search-field kbd{border-color:#4b5c4e;color:#b2c1af}
html[data-theme=dark] .filter-tools>.secondary.selected,html[data-theme=dark] .active-filter button{background:#36513c;border-color:#56785b;color:#e5f3e5}
html[data-theme=dark] .dropdown button:hover{background:#314135}
html[data-theme=dark] .filters-panel{background:#233329}
html[data-theme=dark] .filters-panel label,html[data-theme=dark] .active-filter{color:#bed0b9}
html[data-theme=dark] .filters-panel select{background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .board{scrollbar-color:#607664 transparent}
html[data-theme=dark] .column.drag-over{background:#2c4230;outline-color:#90b894}
html[data-theme=dark] .task-title{color:#edf4e9}
html[data-theme=dark] .task-notes,html[data-theme=dark] .inline-subtask,html[data-theme=dark] .task-footer{color:#b3c3b0}
html[data-theme=dark] .task-card.completed .task-title,html[data-theme=dark] .inline-subtask.done span{color:#a6b6a1;text-decoration-color:#738873}
html[data-theme=dark] .task-checklist,html[data-theme=dark] .list-row{border-color:var(--line)}
html[data-theme=dark] .complete-button{background:#263429;border-color:#56705a;color:#bbd4b9}
html[data-theme=dark] .complete-button:hover,html[data-theme=dark] .complete-button.checked{background:#3f6042;border-color:#7ca883;color:#f1faef}
html[data-theme=dark] .add-task,html[data-theme=dark] .empty-column{border-color:#526958;color:#b4c8b3}
html[data-theme=dark] .add-task:hover{background:#2c4230;border-color:#89aa8c;color:#edf7eb}
html[data-theme=dark] .empty-column .empty-icon{background:#304833;color:#c1ddba}
html[data-theme=dark] .empty-column strong,html[data-theme=dark] .list-empty,html[data-theme=dark] .list-status,html[data-theme=dark] .list-date,html[data-theme=dark] .board-footer{color:#b0c2ac}
html[data-theme=dark] .priority-label.high,html[data-theme=dark] .category-chip.finances{color:#eed49b}
html[data-theme=dark] .due-label.overdue{color:#f0aa9b}
html[data-theme=dark] .category-chip{background:#354239;color:#d2dfcf}
html[data-theme=dark] .category-chip.administratif,html[data-theme=dark] .task-status.todo{background:#39463a;color:#d0dfcd}
html[data-theme=dark] .category-chip.finances,html[data-theme=dark] .task-status.waiting{background:#50432c;color:#efd59e}
html[data-theme=dark] .category-chip.sante{background:#4d3641;color:#ecc5d4}
html[data-theme=dark] .category-chip.maison,html[data-theme=dark] .task-status.done{background:#304d3b;color:#c0e5c6}
html[data-theme=dark] .category-chip.projets,html[data-theme=dark] .task-status.doing{background:#344357;color:#c9dafa}
html[data-theme=dark] .category-chip.personnel{background:#4b3d31;color:#e6cbb0}
html[data-theme=dark] .auth-screen{background:var(--bg)}
html[data-theme=dark] .auth-story{background:#213026}
html[data-theme=dark] .auth-intro h1 em{color:#bbd4a8}
html[data-theme=dark] .auth-intro>p,html[data-theme=dark] .auth-form-wrap>p{color:#bacab5}
html[data-theme=dark] .paper-card{background:#304034;border-color:#4a5f4d;box-shadow:0 8px 25px #0003}
html[data-theme=dark] .paper-two{background:#3b4432}
html[data-theme=dark] .paper-card strong,html[data-theme=dark] .paper-check>span{color:#ecf5e7}
html[data-theme=dark] .mini-label,html[data-theme=dark] .paper-check,html[data-theme=dark] .paper-two>span:last-child{color:#c4d8bb}
html[data-theme=dark] .paper-two .flower,html[data-theme=dark] .decor-star{color:#c9d8a4}
html[data-theme=dark] .illustration-line,html[data-theme=dark] .auth-story-footer{border-color:#506452}
html[data-theme=dark] .auth-story-footer,html[data-theme=dark] .auth-bottom{color:#aabca8}
html[data-theme=dark] .private-pill{background:#2a3d30;border-color:#4e6c51;color:#c6e1be}
html[data-theme=dark] .password-field button{color:#b9ccaf}
html[data-theme=dark] dialog{background:#202a23;border-color:var(--line);color:var(--ink);box-shadow:0 20px 100px #0008}
html[data-theme=dark] dialog::backdrop{background:#08130bba}
html[data-theme=dark] form label,html[data-theme=dark] .subtask-heading{color:#d0e0cc}
html[data-theme=dark] form input:not([type=checkbox]),html[data-theme=dark] form select,html[data-theme=dark] form textarea{background:#172019;border-color:#536955;color:var(--ink)}
html[data-theme=dark] .optional,html[data-theme=dark] .subtask-row .icon-button{color:#aabbab}
html[data-theme=dark] .delete-confirm{background:#402d29;border-color:#725149}
html[data-theme=dark] .delete-confirm p,html[data-theme=dark] .delete-button,html[data-theme=dark] .form-error{color:#edb5a7}
html[data-theme=dark] .danger{background:#ba7869;color:#fff}
html[data-theme=dark] .toast{background:#3e6144;color:#fff}
html[data-theme=dark] .toast.error{background:#864a44}

/* Tiroir récapitulatif indépendant du bloc-notes. */
.overview-area{position:fixed;z-index:31;right:0;top:76px;bottom:0;pointer-events:none}
.overview-toggle{position:absolute;right:0;top:calc(25% + 125px);display:flex;flex-direction:column;gap:8px;padding:14px 9px;border:1px solid var(--line);border-right:0;border-radius:10px 0 0 10px;background:var(--surface);color:var(--ink);pointer-events:auto;transition:right .25s}
.overview-toggle>span{font-weight:650;font-size:11px;writing-mode:vertical-rl}.overview-toggle small{font-size:9px;color:var(--muted)}
.overview-card{position:absolute;right:0;top:0;bottom:0;width:min(500px,100vw);overflow:auto;padding:28px;border-left:1px solid var(--line);background:var(--surface);box-shadow:-10px 0 30px #0002;pointer-events:auto}
.overview-area.open .overview-toggle{right:min(500px,100vw)}
.overview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}
.overview-header h2{font:400 30px/1.15 Georgia,serif;margin:8px 0}.overview-header p,.overview-message,.overview-empty{font-size:12px;line-height:1.5;color:var(--muted)}
.overview-total{display:flex;align-items:baseline;gap:9px;padding:17px 19px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--muted)}
.overview-total strong{font-size:28px;color:var(--ink)}.overview-group{margin-top:25px}.overview-group h3{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:11px;letter-spacing:.8px;text-transform:uppercase}.overview-group h3 span{color:var(--muted)}
.overview-board-link{padding:4px 0;text-align:left;font:inherit;letter-spacing:inherit;text-transform:inherit;color:var(--ink)}.overview-board-link span{margin-left:5px;color:var(--green)!important}.overview-board-link:hover{color:var(--green);text-decoration:underline}
.overview-task{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:13px 12px;margin-top:7px;border:1px solid var(--line);border-radius:8px;background:var(--bg);text-align:left;color:var(--ink)}
.overview-task:hover,.overview-toggle:hover{border-color:var(--green)}.overview-task-title{font-weight:600;overflow-wrap:anywhere}.overview-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;flex-shrink:0;font-size:10px;color:var(--muted)}.overview-priority{color:#a86130;font-weight:700}.overview-overdue{color:#b3483d;font-weight:700}
html[data-theme=dark] .overview-priority{color:#f0bc93}html[data-theme=dark] .overview-overdue{color:#ffaea2}
@media(max-width:720px){.overview-card{padding:20px}.overview-area.open .overview-toggle{right:0;top:8px;z-index:1}.overview-area.open .overview-toggle>span{writing-mode:horizontal-tb}.overview-area.open .overview-toggle small{display:none}.overview-header{padding-right:90px}.overview-toggle{top:calc(25% + 120px)}}
html[data-theme=dark] .board-choice.active{background:#314635;border-color:#658468;box-shadow:none;color:#edf5e9}
html[data-theme=dark] .board-choice-icon{background:#354a39}
html[data-theme=dark] .board-choice.active>svg{color:#bfdfb4}
html[data-theme=dark] .workspace[data-board=aedis]{--green:#a9c4e4;--ink:#edf2fa}
html[data-theme=dark] .workspace[data-board=aedis] .board-choice.active{background:#2d3f54;border-color:#617a98;color:#edf4fc}
html[data-theme=dark] .workspace[data-board=aedis] .board-choice.active .board-choice-icon{background:#3a5067}
html[data-theme=dark] .workspace[data-board=aedis] .nav-item.active{background:#334c67;color:#e8f2fd}
html[data-theme=dark] .workspace[data-board=aedis] .page-heading h1{color:#edf2fa}
html[data-theme=dark] .workspace[data-board=aedis] .page-heading .heading-dot,html[data-theme=dark] .workspace[data-board=aedis] .eyebrow{color:#b6d0ed}
html[data-theme=dark] .workspace[data-board=aedis] .primary:hover{background:#c0d8f2}
/* Les deux espaces Aedis partagent la même palette. */
.workspace[data-board="aedis-technique"]{--green:#41556e;--ink:#2d3b48}.workspace[data-board="aedis-technique"] .board-choice.active{color:#41556e;border-color:#ccd8e5}.workspace[data-board="aedis-technique"] .board-choice.active .board-choice-icon{background:#eaf0f7}.workspace[data-board="aedis-technique"] .board-choice.active>svg{color:#7891ad}.workspace[data-board="aedis-technique"] .nav-item.active{background:#e0e7ed;color:#41556e}.workspace[data-board="aedis-technique"] .page-heading h1{color:#35465b}.workspace[data-board="aedis-technique"] .page-heading .heading-dot{color:#91a6bd}.workspace[data-board="aedis-technique"] .eyebrow{color:#8b9bae}.workspace[data-board="aedis-technique"] .primary:hover{background:#33465d}.workspace[data-board="aedis-technique"] .column-header{min-height:49px}
html[data-theme=dark] .workspace[data-board="aedis-technique"]{--green:#a9c4e4;--ink:#edf2fa}html[data-theme=dark] .workspace[data-board="aedis-technique"] .board-choice.active{background:#2d3f54;border-color:#617a98;color:#edf4fc}html[data-theme=dark] .workspace[data-board="aedis-technique"] .board-choice.active .board-choice-icon{background:#3a5067}html[data-theme=dark] .workspace[data-board="aedis-technique"] .nav-item.active{background:#334c67;color:#e8f2fd}html[data-theme=dark] .workspace[data-board="aedis-technique"] .page-heading h1{color:#edf2fa}html[data-theme=dark] .workspace[data-board="aedis-technique"] .page-heading .heading-dot,html[data-theme=dark] .workspace[data-board="aedis-technique"] .eyebrow{color:#b6d0ed}html[data-theme=dark] .workspace[data-board="aedis-technique"] .primary:hover{background:#c0d8f2}
@media(max-width:720px){html[data-theme=dark] .sidebar{box-shadow:10px 0 40px #0007}html[data-theme=dark] .sidebar-backdrop{background:#050b07aa}}

/* Les étapes pilotent le tableau ; les anciens groupes restent des thèmes. */
.category-row{display:flex;align-items:center;gap:3px;min-width:0}
.category-row .category-item{flex:1;min-width:0}
.category-row .category-item>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.category-edit{flex-shrink:0;width:24px;height:24px;opacity:.68}
.category-row:hover .category-edit,.category-edit:focus-visible{opacity:1}
.category-edit svg{width:14px;height:14px}
.category-chip.gray{background:#eef0e9;color:#68765f}
.category-chip.blue{background:#eaf0f7;color:#637f9e}
.category-chip.amber{background:#f7f0df;color:#957b45}
.category-chip.green{background:#eaf2e3;color:#648651}
.category-chip.pink{background:#f4e9ed;color:#9f7487}
html[data-theme=dark] .category-chip.gray{background:#39463a;color:#d0dfcd}
html[data-theme=dark] .category-chip.blue{background:#344357;color:#c9dafa}
html[data-theme=dark] .category-chip.amber{background:#50432c;color:#efd59e}
html[data-theme=dark] .category-chip.green{background:#304d3b;color:#c0e5c6}
html[data-theme=dark] .category-chip.pink{background:#4d3641;color:#ecc5d4}

/* Une même barre en haut à droite indique le niveau de priorité. */
.task-card.urgent-orange,.list-row.urgent-orange{--priority-marker-color:#e78b32}
.task-card.urgent-red,.list-row.urgent-red{--priority-marker-color:#d94d45}
.task-card.priority-low,.list-row.priority-low{--priority-marker-color:#080808}
.task-card.urgent-orange::before,.task-card.urgent-red::before,.task-card.priority-low::before,
.list-row.urgent-orange::before,.list-row.urgent-red::before,.list-row.priority-low::before{
  content:"";position:absolute;top:0;right:0;width:72px;height:6px;
  background:var(--priority-marker-color);border-radius:0 9px 0 6px;pointer-events:none
}
.list-row{position:relative}
.task-card.urgent-orange .priority-label.high{color:#a95d18}
.task-card.urgent-red .priority-label.high{color:#b73c37}
html[data-theme=dark] .task-card.urgent-orange .priority-label.high{color:#ffbd79}
html[data-theme=dark] .task-card.urgent-red .priority-label.high{color:#ff9a91}

/* Les thèmes restent accessibles au-dessus du tableau, y compris sur mobile. */
.theme-picker{display:flex;align-items:center;gap:13px;margin:0 0 18px;min-width:0}
.theme-picker-label{flex:none;font-size:11px;font-weight:600;color:#66735f}
.theme-quick-filter{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:2px;min-width:0}
.theme-quick-filter::-webkit-scrollbar{display:none}
.theme-quick-button{display:inline-flex;align-items:center;gap:7px;flex:none;max-width:250px;padding:8px 10px;border:1px solid #dce4d8;border-radius:7px;background:#fff;color:#52604e;font-size:11px;white-space:nowrap}
.theme-quick-button:hover{border-color:#9db69b;background:#f4f8f1}
.theme-quick-button.active{border-color:#749b73;background:#e7f1e3;color:#315d35;font-weight:600}
.theme-quick-button:focus-visible{outline:2px solid #628b60;outline-offset:2px}
.theme-quick-name{overflow:hidden;text-overflow:ellipsis}
.theme-quick-count{color:#788776;font-size:10px}
.theme-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:#a4ad99}
.theme-dot.gray{background:#8e9b88}.theme-dot.blue{background:#738fb4}.theme-dot.amber{background:#bf914b}.theme-dot.green{background:#78a06e}.theme-dot.pink{background:#bd819c}
.theme-chip{gap:6px;font-size:10px;font-weight:600;max-width:100%;min-width:0}
.task-card .theme-chip{max-width:calc(100% - 30px)}
.list-row{grid-template-columns:24px minmax(150px,1fr) minmax(110px,160px) 90px 95px 25px}
.list-row .theme-chip{width:max-content;max-width:100%}
.list-row .list-status{font-size:10px}
html[data-theme=dark] .theme-picker-label{color:#c5d8c0}
html[data-theme=dark] .theme-quick-button{background:#26352a;border-color:#4b614d;color:#d5e5d0}
html[data-theme=dark] .theme-quick-button:hover{background:#304433;border-color:#7a9c78}
html[data-theme=dark] .theme-quick-button.active{background:#36573c;border-color:#91bd8c;color:#f0f8eb}
html[data-theme=dark] .theme-quick-count{color:#b8cdb3}
@media(max-width:1180px){.list-row{grid-template-columns:22px minmax(130px,1fr) minmax(100px,145px) 75px 25px}}
@media(max-width:720px){
  .theme-picker{display:block;margin-bottom:16px}
  .theme-picker-label{display:block;margin-bottom:8px}
  .theme-quick-filter{margin-right:-20px;padding-right:20px}
  .list-row{grid-template-columns:22px minmax(0,1fr) 23px;row-gap:7px}
  .list-row .theme-chip{display:inline-flex;grid-column:2;grid-row:2;justify-self:start;max-width:100%}
  .list-row .icon-button{grid-column:3;grid-row:1}
}


/* Bleu nuit & cuivre : uniquement le mode sombre, sans modifier le mode clair. */
html[data-theme=dark]{--bg:#0c192b;--surface:#172a40;--ink:#eef3fa;--muted:#aebfd2;--line:#344b62;--green:#e1a577;--green-light:#283c51;color-scheme:dark}
html[data-theme=dark] .workspace[data-board],html[data-theme=dark] .workspace[data-board="aedis-technique"]{--green:#e1a577;--ink:#eef3fa}
html[data-theme=dark] .sidebar,html[data-theme=dark] .topbar{background:#101f32;border-color:var(--line)}
html[data-theme=dark] .profile,html[data-theme=dark] .auth-story{background:#14253a;border-color:var(--line)}
html[data-theme=dark] .brand-mark,html[data-theme=dark] .primary{background:#e1a577;color:#1d2633}
html[data-theme=dark] .primary:hover,html[data-theme=dark] .workspace[data-board] .primary:hover{background:#f0bc93;color:#1d2633}
html[data-theme=dark] .brand-dot,html[data-theme=dark] .heading-dot,html[data-theme=dark] .eyebrow,html[data-theme=dark] .workspace[data-board] .eyebrow,html[data-theme=dark] .workspace[data-board] .page-heading .heading-dot{color:#e9b78e}
html[data-theme=dark] .workspace-label,html[data-theme=dark] .category-heading,html[data-theme=dark] .breadcrumb,html[data-theme=dark] .topbar-right,html[data-theme=dark] .profile span,html[data-theme=dark] .board-choice small{color:#aabbd0}
html[data-theme=dark] .nav-item,html[data-theme=dark] .board-choice,html[data-theme=dark] .icon-button{color:#c3d1e0}
html[data-theme=dark] .nav-item:hover,html[data-theme=dark] .board-choice:hover,html[data-theme=dark] .secondary:hover,html[data-theme=dark] .theme-toggle:hover,html[data-theme=dark] .icon-button:hover,html[data-theme=dark] .dropdown button:hover{background:#263c53;color:#f5f7fa}
html[data-theme=dark] .nav-item.active,html[data-theme=dark] .workspace[data-board] .nav-item.active,html[data-theme=dark] .board-choice.active,html[data-theme=dark] .workspace[data-board] .board-choice.active{background:#493a38;border-color:#b98161;color:#fff2e6}
html[data-theme=dark] .board-choice-icon,html[data-theme=dark] .workspace[data-board] .board-choice.active .board-choice-icon,html[data-theme=dark] .avatar{background:#31475d;color:#f5d0b1}
html[data-theme=dark] .workspace[data-board] .page-heading h1,html[data-theme=dark] .task-title,html[data-theme=dark] .breadcrumb strong,html[data-theme=dark] .column-header h2{color:#f0f4fa}
html[data-theme=dark] .page-heading p,html[data-theme=dark] .stat-main span,html[data-theme=dark] .stat-subtitle,html[data-theme=dark] .task-notes,html[data-theme=dark] .inline-subtask,html[data-theme=dark] .task-footer,html[data-theme=dark] .board-footer{color:#b9c9d9}
html[data-theme=dark] .task-card:hover{border-color:#c68d68}
html[data-theme=dark] .stat-icon,html[data-theme=dark] .stat-icon.green,html[data-theme=dark] .stat-icon.blue,html[data-theme=dark] .stat-decoration,html[data-theme=dark] .column-count{background:#263c51;color:#e7b895}
html[data-theme=dark] .stat-progress,html[data-theme=dark] .stat-progress-parts span{background:#30455a}
html[data-theme=dark] .stat-progress-fill,html[data-theme=dark] .stat-progress-parts span.filled{background:#dfaa80}
html[data-theme=dark] .view-tabs,html[data-theme=dark] .theme-picker,html[data-theme=dark] .filters-panel,html[data-theme=dark] .list-header{background:#14253a;border-color:var(--line)}
html[data-theme=dark] .view-tab.active,html[data-theme=dark] .filter-tools>.secondary.selected,html[data-theme=dark] .active-filter button{background:#493a38;border-color:#a7795e;color:#fff0e4}
html[data-theme=dark] .view-tab,html[data-theme=dark] .theme-picker-label,html[data-theme=dark] .filters-panel label,html[data-theme=dark] .active-filter,html[data-theme=dark] .list-header{color:#c3d1e0}
html[data-theme=dark] .list-row:hover,html[data-theme=dark] .list-row:focus-within{background:#21374d}
html[data-theme=dark] .complete-button{background:#14253a;border-color:#688096;color:#d8e4ef}
html[data-theme=dark] .complete-button:hover,html[data-theme=dark] .complete-button.checked{background:#a66d4f;border-color:#e1a577;color:#fff}
html[data-theme=dark] .add-task,html[data-theme=dark] .empty-column{border-color:#536d83;color:#c6d4e2}
html[data-theme=dark] .add-task:hover,html[data-theme=dark] .column.drag-over{background:#263c51;border-color:#e1a577;color:#fff3e9}
html[data-theme=dark] .empty-column .empty-icon{background:#263c51;color:#e7b895}
html[data-theme=dark] .empty-column strong,html[data-theme=dark] .list-empty,html[data-theme=dark] .list-status,html[data-theme=dark] .list-date{color:#b9c9d9}
html[data-theme=dark] .auth-intro h1 em,html[data-theme=dark] .paper-two .flower,html[data-theme=dark] .decor-star{color:#e1a577}
html[data-theme=dark] .auth-intro>p,html[data-theme=dark] .auth-form-wrap>p,html[data-theme=dark] .auth-story-footer,html[data-theme=dark] .auth-bottom{color:#b9c9d9}
html[data-theme=dark] .paper-card,html[data-theme=dark] .paper-two,html[data-theme=dark] .private-pill{background:#233950;border-color:#435b72;color:#e8eff8}
html[data-theme=dark] dialog{background:#172a40;border-color:var(--line);color:var(--ink)}
html[data-theme=dark] dialog::backdrop{background:#040b15c9}
html[data-theme=dark] form label,html[data-theme=dark] .subtask-heading,html[data-theme=dark] .scratchpad-label{color:#dbe6f1}
html[data-theme=dark] form input:not([type=checkbox]),html[data-theme=dark] form select,html[data-theme=dark] form textarea,html[data-theme=dark] #scratchpad{background:#101f32;border-color:#526b81;color:var(--ink)}
html[data-theme=dark] #scratchpad:focus{background:#14253a;border-color:#e1a577;box-shadow:0 0 0 3px #e1a57733}
html[data-theme=dark] .scratchpad-intro p,html[data-theme=dark] .scratchpad-count,html[data-theme=dark] .scratchpad-foot,html[data-theme=dark] .form-hint{color:#b9c9d9}
html[data-theme=dark] .scratchpad-toggle:hover{background:#263c53;border-color:#e1a577}

/* Les deux onglets de tiroir ont le même gabarit. */
.overview-toggle,.scratchpad-toggle{width:64px;align-items:center;justify-content:center}
.overview-toggle small,#scratchpad-toggle-label{font-size:10px;color:var(--muted)}
html[data-theme=dark] .scratchpad-toggle-label{color:#c3d1e0}
html[data-theme=dark] .toast{background:#38576c;color:#fff}
html[data-theme=dark] .toast.error{background:#864a44}

/* Le tableau commence directement sous son titre. */
.page-heading{margin-bottom:22px}
.page-heading h1{margin-bottom:0}
.page-heading>.primary{margin-top:0}

/* Date de création discrète, distincte de l’échéance. */
.task-created{display:block;margin-top:5px;font-size:9px;line-height:1.35;color:#717d72;letter-spacing:.1px}
.list-task-main{min-width:0}
.list-row .task-created{margin-top:3px}
html[data-theme=dark] .task-created{color:#a9bba8}

/* La vue Liste donne des repères aux colonnes et aux étapes. */
.theme-picker{padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#f4f6f2}
.theme-picker-label{font-size:12px;color:#435a48}
.list-view{border-radius:12px}
.list-header,.list-row{display:grid;grid-template-columns:28px minmax(210px,1fr) minmax(150px,205px) 120px 125px 26px;align-items:center;gap:16px;padding-left:20px;padding-right:20px}
.list-header{padding-top:13px;padding-bottom:13px;background:#f1f4ef;border-bottom:1px solid var(--line);color:#657365;font-size:10px;font-weight:700;letter-spacing:.45px;text-transform:uppercase}
.list-row{min-height:74px;padding-top:14px;padding-bottom:14px;transition:background .15s}
.list-row:hover,.list-row:focus-within{background:#f7faf6}
.list-row .task-title{font-size:13px;font-weight:600;line-height:1.4}
.list-row .task-title:hover{text-decoration:underline;text-underline-offset:2px}
.list-row .task-created{font-size:10px;margin-top:5px}
.list-row .theme-chip{font-size:10px;padding:7px 9px;border-radius:6px}
.list-row .list-status{display:inline-flex;align-items:center;justify-self:start;gap:7px;padding:6px 9px;border-radius:6px;background:#edf0e9;color:#5f6d5e;font-size:10px;font-weight:600;white-space:nowrap}
.list-row .list-status .status-dot{width:7px;height:7px;flex:none}
.list-row .list-status.status-doing{background:#e8eff8;color:#4e7197}
.list-row .list-status.status-waiting{background:#f9f0df;color:#8e6b33}
.list-row .list-status.status-done{background:#e9f3e7;color:#4d7750}
.list-row .list-date{font-size:11px;color:#657363;white-space:nowrap}
.list-row .list-date.no-due{color:#8e998d}
.list-row .list-date.overdue{color:#b3483d;font-weight:700}
.list-row .list-date.due-today{color:#a4611e;font-weight:700}
html[data-theme=dark] .theme-picker{background:#1d2821;border-color:#354a39}
html[data-theme=dark] .theme-picker-label{color:#d2e5cd}
html[data-theme=dark] .list-header{background:#27372b;border-color:#3b5040;color:#b9cfba}
html[data-theme=dark] .list-row:hover,html[data-theme=dark] .list-row:focus-within{background:#293a2e}
html[data-theme=dark] .list-row .list-status{background:#344339;color:#d6e5d1}
html[data-theme=dark] .list-row .list-status.status-doing{background:#30445a;color:#d3e5fa}
html[data-theme=dark] .list-row .list-status.status-waiting{background:#51442d;color:#f3d7a4}
html[data-theme=dark] .list-row .list-status.status-done{background:#31503c;color:#c9edce}
html[data-theme=dark] .list-row .list-date{color:#c1d1be}
html[data-theme=dark] .list-row .list-date.no-due{color:#9fb29e}
html[data-theme=dark] .list-row .list-date.overdue{color:#ffaea2}
html[data-theme=dark] .list-row .list-date.due-today{color:#ffc487}
.form-hint{display:block;font-size:10px;font-weight:400;line-height:1.4;color:#788474}
html[data-theme=dark] .form-hint{color:#b3c8b1}
.scratchpad-area{position:fixed;z-index:30;right:0;top:76px;bottom:0;pointer-events:none}.scratchpad-toggle{position:absolute;right:0;top:25%;display:flex;flex-direction:column;gap:8px;padding:14px 9px;border:1px solid var(--line);border-right:0;border-radius:10px 0 0 10px;background:var(--surface);color:var(--ink);pointer-events:auto;transition:right .25s}.scratchpad-toggle:hover{border-color:#aebda4;background:#fbfcf9}.scratchpad-toggle-title{font-weight:650;font-size:11px;writing-mode:vertical-rl}.scratchpad-toggle-label{font-size:9px;color:#718469}.scratchpad-card{box-sizing:border-box;position:absolute;right:0;top:0;width:min(1290px,100vw);height:100%;overflow:auto;padding:28px;border:1px solid var(--line);border-radius:0;background:var(--surface);box-shadow:-10px 0 30px #34442f24;pointer-events:auto;transform:translateX(100%);transition:transform .25s}.scratchpad-area.open .scratchpad-card{transform:translateX(0)}.scratchpad-area.open .scratchpad-toggle{right:min(1290px,100vw)}
.scratchpad-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.scratchpad-intro h2{margin:5px 0 6px;font-family:Georgia,serif;font-size:24px;font-weight:500;color:var(--ink)}
.scratchpad-intro p{margin:0;max-width:650px;color:#6d786b;font-size:12px;line-height:1.6}
.scratchpad-count{flex:none;color:#7e897b;font-size:10px}
.scratchpad-label{display:block;margin-bottom:8px;color:#51604f;font-size:11px;font-weight:700}
#scratchpad{display:block;width:100%;min-height:260px;padding:20px;border:1px solid #dce3d9;border-radius:10px;resize:vertical;background:#fbfcfa;color:var(--ink);font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;outline:none}
#scratchpad:focus{border-color:#7da17a;box-shadow:0 0 0 3px #8eb38a20;background:#fff}
#scratchpad::placeholder{color:#9aa396}
.scratchpad-foot{display:flex;justify-content:space-between;gap:15px;margin-top:10px;color:#7b8778;font-size:10px}
html[data-theme=dark] .scratchpad-card{background:var(--surface);border-color:var(--line);box-shadow:none}
html[data-theme=dark] .scratchpad-intro p,html[data-theme=dark] .scratchpad-count,html[data-theme=dark] .scratchpad-foot{color:#aebdaa}
html[data-theme=dark] .scratchpad-label{color:#d0e0cc}
html[data-theme=dark] #scratchpad{background:#172019;border-color:#536955;color:var(--ink)}
html[data-theme=dark] #scratchpad:focus{background:#19231c;border-color:#81a786;box-shadow:0 0 0 3px #81a78620}
@media(min-width:721px){
  .theme-picker{align-items:flex-start}
  .theme-picker-label{padding-top:8px}
  .theme-quick-filter{flex:1;flex-wrap:wrap;overflow:visible}
}
@media(max-width:1180px){
  .list-header,.list-row{grid-template-columns:24px minmax(150px,1fr) minmax(130px,180px) 112px 24px;gap:11px;padding-left:15px;padding-right:15px}
  .list-header .list-head-due{display:none}
}
@media(max-width:720px){
  .scratchpad-card{padding:18px}
  .scratchpad-intro{display:block;margin-bottom:18px}
  .scratchpad-count{display:block;margin-top:10px}
  #scratchpad{min-height:52vh;padding:15px;font-size:13px}
  .theme-picker{padding:10px 12px}
  .theme-quick-filter{flex-wrap:nowrap;overflow-x:auto;margin-right:0;padding-right:0}
  .list-header{display:none}
  .list-row{grid-template-columns:22px minmax(0,1fr) 23px;column-gap:10px;row-gap:8px;padding:15px;min-height:0}
  .list-row .list-task-main{grid-column:2;grid-row:1}
  .list-row .theme-chip{grid-column:2;grid-row:2}
  .list-row .list-status{grid-column:2;grid-row:3}
  .list-row .list-date{display:none}
  .list-row .icon-button{grid-column:3;grid-row:1}
}

/* Onglets des tiroirs et dernières couleurs du thème bleu nuit. */
.overview-toggle{top:25%}
.scratchpad-toggle{top:calc(25% + 165px)}
@media(max-width:720px){.overview-toggle{top:25%}.overview-area.open .overview-toggle{top:8px}.scratchpad-toggle{top:calc(25% + 165px)}}
html[data-theme=dark] .theme-picker,html[data-theme=dark] .list-header{background:#14253a;border-color:#344b62;color:#c3d1e0}
html[data-theme=dark] .theme-quick-button{background:#1b3046;border-color:#405a72;color:#d7e3ee}
html[data-theme=dark] .theme-quick-button:hover{background:#263c53;border-color:#b98161}
html[data-theme=dark] .theme-quick-button.active{background:#493a38;border-color:#c68d68;color:#fff2e6}
html[data-theme=dark] .theme-quick-count,html[data-theme=dark] .theme-picker-label{color:#c3d1e0}
html[data-theme=dark] .list-row:hover,html[data-theme=dark] .list-row:focus-within{background:#21374d}
html[data-theme=dark] #scratchpad{background:#101f32;border-color:#526b81;color:var(--ink)}
html[data-theme=dark] #scratchpad:focus{background:#14253a;border-color:#e1a577;box-shadow:0 0 0 3px #e1a57733}
html[data-theme=dark] .scratchpad-intro p,html[data-theme=dark] .scratchpad-count,html[data-theme=dark] .scratchpad-foot{color:#b9c9d9}
html[data-theme=dark] .scratchpad-label{color:#dbe6f1}
html[data-theme=dark] .scratchpad-toggle:hover{background:#263c53;border-color:#e1a577}

/* Journal de temps intégré */
.workspace.time-open .main{width:calc(100% - 544px)}.time-panel{width:320px;flex:0 0 320px;position:sticky;top:0;height:100vh;overflow-y:auto;padding:28px 22px;background:var(--surface);border-left:1px solid var(--line)}.time-panel[hidden]{display:none}.time-heading{display:flex;justify-content:space-between;align-items:start}.time-heading h2{font:400 27px Georgia,serif;margin-top:8px}.time-clock-card{margin:25px 0 30px;padding:27px 15px 20px;border:1px solid var(--line);border-radius:14px;background:var(--bg);display:flex;align-items:center;flex-direction:column;text-align:center}.time-status{text-transform:uppercase;font-size:9px;letter-spacing:1px;color:var(--muted)}.time-clock{font-size:37px;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;color:var(--green);margin:17px 0 5px}.time-hint,.time-sync{font-size:10px;color:var(--muted);line-height:1.5}.time-clock-card .primary{margin-top:20px}.time-sync{margin-top:12px}.time-sync.error{color:#bd5b4e}.time-history-head h3{font:400 21px Georgia,serif;margin:8px 0 20px}.time-label{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.time-select{width:100%;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:9px;font-size:11px}.time-entries{margin-top:15px}.time-entry{padding:13px 0;border-bottom:1px solid var(--line)}.time-entry strong{display:block;font-size:12px;overflow-wrap:anywhere}.time-entry small,.time-empty{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:5px}.time-tools{display:flex;gap:18px;margin-top:12px}.time-import{cursor:pointer}.time-interval{font-size:12px;color:var(--muted);margin-bottom:18px}.time-panel .primary{max-width:100%}@media(max-width:1100px){.workspace.time-open .main{width:calc(100% - 204px)}.time-panel{position:fixed;right:0;z-index:40;width:min(340px,90vw);box-shadow:-10px 0 35px #0003}.workspace.time-open .main{width:calc(100% - 224px)}}@media(max-width:720px){.workspace.time-open .main{width:100%}.time-panel{width:min(340px,100vw)}#time-toggle{padding:8px;font-size:10px}.topbar-right{gap:6px}.topbar-right .date-today,.topbar-right .topbar-separator,.topbar-right .private-small{display:none}}

/* Un panneau plus compact laisse davantage de place aux quatre étapes. */
@media (min-width:1101px){
  .workspace.time-open .main{width:calc(100% - 474px)}
  .time-panel{width:250px;flex-basis:250px;padding:24px 15px}
  .workspace.time-open .board:not(.single-column){grid-auto-columns:minmax(0,1fr);gap:12px}
  body:has(.workspace.time-open) .overview-area:not(.open) .overview-toggle,
  body:has(.workspace.time-open) .scratchpad-area:not(.open) .scratchpad-toggle{right:250px}
}
@media (min-width:721px) and (max-width:1100px){
  .time-panel{width:min(250px,90vw);padding:24px 15px}
}

/* Un seul volet au premier plan ; sa fermeture reste toujours accessible. */
.scratchpad-close{position:absolute;top:20px;right:22px;display:flex;gap:7px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px;z-index:1}.scratchpad-close:hover{background:var(--green-light)}.scratchpad-intro{padding-right:90px}body:has(.scratchpad-area.open) .overview-toggle,body:has(.overview-area.open) .scratchpad-toggle,.scratchpad-area.open .scratchpad-toggle{visibility:hidden;pointer-events:none}@media(max-width:720px){.scratchpad-close{top:12px;right:12px}.scratchpad-intro{padding-right:75px}}

.time-choices{border:0;padding:0;margin:0 0 18px}.time-choices legend{font-size:12px;font-weight:600;margin-bottom:10px}.time-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.time-choice-grid button{min-height:42px;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);font-size:12px;text-align:left}.time-choice-grid button:hover,.time-choice-grid button:focus-visible{background:var(--green-light);border-color:var(--green)}.time-choice-grid button:last-child{grid-column:1/-1;justify-self:stretch;text-align:center;color:var(--green);font-weight:600}

/* Volet d’organisation, sur le même modèle que le bloc-notes. */
.day-plan-area{position:fixed;z-index:29;right:0;top:76px;bottom:0;pointer-events:none}.day-plan-toggle{position:absolute;right:0;top:calc(25% + 330px);display:flex;flex-direction:column;gap:8px;width:64px;align-items:center;justify-content:center;padding:14px 9px;border:1px solid var(--line);border-right:0;border-radius:10px 0 0 10px;background:var(--surface);color:var(--ink);pointer-events:auto;transition:right .25s}.day-plan-toggle:hover{border-color:#aebda4;background:#fbfcf9}.day-plan-toggle-title{font-weight:650;font-size:11px;writing-mode:vertical-rl}.day-plan-toggle-label{font-size:10px;color:var(--muted)}.day-plan-card{box-sizing:border-box;position:absolute;right:0;top:0;width:min(1290px,100vw);height:100%;overflow:auto;padding:28px;border:1px solid var(--line);background:var(--surface);box-shadow:-10px 0 30px #34442f24;pointer-events:auto;transform:translateX(100%);transition:transform .25s}.day-plan-area.open .day-plan-card{transform:translateX(0)}.day-plan-area.open .day-plan-toggle{right:min(1290px,100vw)}.day-plan-close{position:absolute;top:20px;right:22px;display:flex;gap:7px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px;z-index:1}.day-plan-close:hover{background:var(--green-light)}.day-plan-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px;padding-right:90px}.day-plan-intro h2{margin:5px 0 6px;font-family:Georgia,serif;font-size:24px;font-weight:500;color:var(--ink)}.day-plan-intro p{margin:0;max-width:650px;color:#6d786b;font-size:12px;line-height:1.6}.day-plan-count{flex:none;color:#7e897b;font-size:10px}.day-plan-label{display:block;margin-bottom:8px;color:#51604f;font-size:11px;font-weight:700}#day-plan{display:block;width:100%;min-height:260px;padding:20px;border:1px solid #dce3d9;border-radius:10px;resize:vertical;background:#fbfcfa;color:var(--ink);font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;outline:none}#day-plan:focus{border-color:#7da17a;box-shadow:0 0 0 3px #8eb38a20;background:#fff}#day-plan::placeholder{color:#9aa396}.day-plan-foot{display:flex;justify-content:space-between;gap:15px;margin-top:10px;color:#7b8778;font-size:10px}html[data-theme=dark] .day-plan-card{background:var(--surface);border-color:var(--line);box-shadow:none}html[data-theme=dark] .day-plan-intro p,html[data-theme=dark] .day-plan-count,html[data-theme=dark] .day-plan-foot{color:#b9c9d9}html[data-theme=dark] .day-plan-label{color:#dbe6f1}html[data-theme=dark] #day-plan{background:#101f32;border-color:#526b81;color:var(--ink)}html[data-theme=dark] #day-plan:focus{background:#14253a;border-color:#e1a577;box-shadow:0 0 0 3px #e1a57733}html[data-theme=dark] .day-plan-toggle:hover{background:#263c53;border-color:#e1a577}body:has(.day-plan-area.open) .overview-toggle,body:has(.day-plan-area.open) .scratchpad-toggle,body:has(.scratchpad-area.open) .day-plan-toggle,body:has(.overview-area.open) .day-plan-toggle,.day-plan-area.open .day-plan-toggle{visibility:hidden;pointer-events:none}@media(max-width:720px){.day-plan-card{padding:18px}.day-plan-intro{display:block;margin-bottom:18px;padding-right:75px}.day-plan-count{display:block;margin-top:10px}#day-plan{min-height:52vh;padding:15px;font-size:13px}.day-plan-close{top:12px;right:12px}.day-plan-toggle{top:calc(25% + 330px)}}@media(min-width:721px) and (max-width:1100px){body:has(.workspace.time-open) .day-plan-area:not(.open) .day-plan-toggle{right:250px}}
