:root{--ink:#1f211e;--text:#3c3b38;--muted:#8c8982;--line:#e5e3de;--canvas:#f3f1ec;--soft:#f7f6f3;--danger:#b52b25;--font:"Plus Jakarta Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-family:var(--font);color:var(--text);background:var(--canvas);font-size:14px}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit;color:inherit}.topbar{height:64px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}a{color:var(--ink);text-decoration:none}.brand{font-size:22px;font-weight:800;letter-spacing:-.04em}.brand span{font-size:12px;font-weight:600;letter-spacing:0;color:var(--muted);text-transform:uppercase}.back-link{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:600}.back-link:hover{color:var(--ink)}main{width:min(1600px,100%);margin:0 auto;padding:32px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:24px}.eyebrow{margin:0 0 8px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.12em}.title-line{display:flex;align-items:baseline;gap:10px}.title-line h1{margin:0;color:var(--ink);font-size:30px;line-height:1.15;font-weight:800;letter-spacing:-.04em;text-transform:uppercase}.title-line span{color:var(--muted);font-size:13px;font-weight:600}.page-heading>div>p:last-child{max-width:660px;margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.heading-actions{display:flex;gap:8px}.button{height:36px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:11px;font-weight:750;cursor:pointer}.button-primary{border-color:var(--ink);background:var(--ink);color:#fff}.button-primary:hover{background:#363833}.button-secondary:hover{border-color:#bab8b2;background:var(--soft)}button:disabled{opacity:.55;cursor:wait}:focus-visible{outline:2px solid var(--ink);outline-offset:2px}#message{min-height:20px;margin:-12px 0 8px;color:var(--muted);font-size:11px}#message:empty{visibility:hidden}#message.error{color:var(--danger)}.people-tabs{min-height:54px;padding:8px 10px;display:flex;align-items:center;gap:6px;overflow-x:auto;border:1px solid var(--line);border-bottom:0;border-radius:6px 6px 0 0;background:#fff;scrollbar-width:thin}.people-tabs:empty::after{content:"Chargement des collaborateurs…";padding:0 10px;color:var(--muted);font-size:12px}.people-tabs button{flex:0 0 auto;height:34px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:12px;font-weight:650;cursor:pointer}.people-tabs button:hover{background:var(--soft);color:var(--ink)}.people-tabs button[aria-selected="true"]{background:#ebeae6;color:var(--ink);font-weight:750}.people-tabs .tab-count{min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border-radius:10px;background:#fff;color:var(--muted);font-size:10px}.people-tabs button[aria-selected="true"] .tab-count{background:var(--ink);color:#fff}.workspace{border:1px solid var(--line);border-radius:0 0 6px 6px;background:#fff;overflow:hidden}.workspace-heading{min-height:78px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.person-identity{min-width:0;display:flex;align-items:center;gap:12px}.avatar{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:var(--ink);color:#fff;font-size:12px;font-weight:800}.person-identity h2{margin:0;color:var(--ink);font-size:15px;font-weight:750}.person-identity p{margin:4px 0 0;color:var(--muted);font-size:11px}.filters{display:flex;align-items:center;gap:8px}.filters select,.search{height:32px;border:1px solid var(--line);border-radius:4px;background:#fff}.filters select{min-width:118px;padding:0 28px 0 10px;font-size:11px;font-weight:600}.search{width:260px;position:relative;display:flex;align-items:center}.search i{position:absolute;left:10px;color:var(--muted);font-size:14px}.search input{width:100%;height:100%;padding:0 10px 0 32px;border:0;outline:0;background:transparent;font-size:11px}.search input::placeholder{color:#aaa8a2}.task-list{min-height:330px;max-height:calc(100vh - 320px);overflow:auto;outline:0}.task-row{min-height:68px;padding:13px 18px;display:grid;grid-template-columns:24px minmax(220px,1fr) minmax(110px,150px) 110px;align-items:center;gap:15px;border-bottom:1px solid #f0eeea}.task-row:last-child{border-bottom:0}.task-row:hover{background:#fbfaf8}.task-check{width:18px;height:18px;margin:0;accent-color:var(--ink)}.task-copy{min-width:0}.task-title{display:block;overflow-wrap:anywhere;color:var(--ink);font-size:12.5px;font-weight:650}.task-copy p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.45;white-space:pre-wrap}.task-row.done .task-title{text-decoration:line-through;color:var(--muted)}.task-meta{display:grid;gap:4px;color:var(--muted);font-size:10.5px}.task-state{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.badge{padding:4px 7px;border-radius:3px;background:#efeeea;color:#74716a;font-size:9.5px;font-weight:750;letter-spacing:.03em;text-transform:uppercase}.badge.urgent{background:#fff0ed;color:var(--danger)}.badge.waiting{background:#fff6dc;color:#8c651f}.task-link{color:var(--ink);font-size:10.5px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.empty{min-height:330px;padding:56px 24px;display:grid;place-items:center;text-align:center;color:var(--muted);font-size:12px}.empty-inner i{display:block;margin-bottom:12px;color:#c7c4bd;font-size:34px}.empty-inner strong{display:block;margin-bottom:5px;color:var(--text);font-size:13px}.sr-only{width:1px;height:1px;padding:0;position:absolute;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{width:min(560px,calc(100vw - 32px));padding:0;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);box-shadow:0 24px 70px rgba(31,33,30,.22)}dialog::backdrop{background:rgba(31,33,30,.46);backdrop-filter:blur(2px)}.dialog-heading{padding:20px 22px 15px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line)}.dialog-heading h2{margin:0;color:var(--ink);font-size:18px;letter-spacing:-.02em}.icon-button{width:32px;height:32px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:18px;cursor:pointer}.icon-button:hover{background:var(--soft);color:var(--ink)}.dialog-body{padding:20px 22px;display:grid;gap:15px}.dialog-body label{display:grid;gap:7px;color:var(--text);font-size:10.5px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.dialog-body label span{color:var(--muted);font-weight:500;text-transform:none}.dialog-body input,.dialog-body select,.dialog-body textarea{width:100%;padding:10px 11px;border:1px solid #d9d7d1;border-radius:4px;background:#fff;font-size:12px;letter-spacing:0;text-transform:none}.dialog-body input[readonly]{background:var(--soft);color:var(--muted)}.dialog-body textarea{resize:vertical;line-height:1.5}.dialog-actions{padding:14px 22px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);background:#fbfaf8}@media(max-width:760px){.topbar{height:58px;padding:0 16px}.back-link{font-size:0}.back-link i{font-size:18px}main{padding:22px 16px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.heading-actions{width:100%}.heading-actions .button{flex:1}.title-line h1{font-size:26px}.workspace-heading{align-items:flex-start;flex-direction:column}.filters{width:100%}.search{width:auto;flex:1}.task-list{max-height:none}.task-row{grid-template-columns:24px 1fr auto;gap:10px}.task-meta{grid-column:2}.task-state{grid-column:3;grid-row:1/3}.people-tabs{margin-inline:-16px;border-radius:0;border-inline:0}.workspace{margin-inline:-16px;border-radius:0;border-inline:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
