:root{--oto-ink:var(--figma-charcoal,#1f211e);--oto-text:var(--figma-ink,#3c3b38);--oto-muted:var(--figma-stone-2,#a8a6a0);--oto-line:#e5e3de;--oto-soft:var(--figma-ground,#f6f5f1);--oto-danger:#b52b25}html,body{height:100%;overflow:hidden}body{color:var(--oto-text);font:14px/1.45 var(--figma-font,"Plus Jakarta Sans",Arial,sans-serif)}button,input,select,textarea{font:inherit;color:inherit}a{text-decoration:none}.one-to-one-shell{height:100vh;min-height:0;padding:24px 32px 18px;display:flex;flex-direction:column;overflow:hidden;background:#fff}.page-heading{flex:0 0 auto;display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:14px}.eyebrow{margin:0 0 7px;color:var(--oto-muted);font-size:10px;font-weight:800;letter-spacing:.12em}.title-line{display:flex;align-items:baseline;gap:9px}.title-line h1{margin:0;color:var(--oto-ink);font-size:28px;line-height:1.2;font-weight:800;letter-spacing:-.03em;text-transform:uppercase}.title-line span{color:var(--oto-muted);font-size:13px;font-weight:600}.page-heading>div>p:last-child{max-width:660px;margin:4px 0 0;color:var(--oto-muted);font-size:12px}.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(--oto-line);border-radius:4px;background:#fff;font-size:11px;font-weight:750;cursor:pointer}.button-primary{border-color:var(--oto-ink);background:var(--oto-ink);color:#fff}.button-primary:hover{background:#363833}.button-secondary:hover{border-color:#bab8b2;background:var(--oto-soft)}button:disabled{opacity:.55;cursor:wait}:focus-visible{outline:2px solid var(--oto-ink);outline-offset:2px}#message{flex:0 0 auto;min-height:18px;margin:0 0 7px;color:var(--oto-muted);font-size:11px}#message:empty{visibility:hidden}#message.error{color:var(--oto-danger)}.people-tabs{min-height:48px;padding:7px 9px;display:flex;flex:0 0 auto;align-items:center;gap:5px;overflow-x:auto;border:1px solid var(--oto-line);border-bottom:0;border-radius:5px 5px 0 0;background:#fff}.people-tabs:empty::after{content:"Chargement des collaborateurs…";padding:0 10px;color:var(--oto-muted);font-size:12px}.people-tabs button{flex:0 0 auto;height:32px;padding:0 11px;display:inline-flex;align-items:center;gap:7px;border:0;border-radius:4px;background:transparent;color:var(--oto-muted);font-size:12px;font-weight:650;cursor:pointer}.people-tabs button:hover{background:var(--oto-soft);color:var(--oto-ink)}.people-tabs button[aria-selected="true"]{background:#ebeae6;color:var(--oto-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(--oto-muted);font-size:10px}.people-tabs button[aria-selected="true"] .tab-count{background:var(--oto-ink);color:#fff}.workspace{min-height:0;display:flex;flex:1 1 auto;flex-direction:column;border:1px solid var(--oto-line);border-radius:0 0 5px 5px;background:#fff;overflow:hidden}.workspace-heading{min-height:70px;padding:13px 18px;display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--oto-line)}.person-identity{min-width:0;display:flex;align-items:center;gap:12px}.avatar{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:var(--oto-ink);color:#fff;font-size:11px;font-weight:800}.person-identity h2{margin:0;color:var(--oto-ink);font-size:14px;font-weight:750}.person-identity p{margin:3px 0 0;color:var(--oto-muted);font-size:10.5px}.filters{display:flex;align-items:center;gap:8px}.filters select,.search{height:31px;border:1px solid var(--oto-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(--oto-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:0;flex:1 1 auto;overflow:auto;outline:0}.task-row{min-height:64px;padding:11px 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(--oto-ink)}.task-copy{min-width:0}.task-title{display:block;overflow-wrap:anywhere;color:var(--oto-ink);font-size:12.5px;font-weight:650}.task-copy p{margin:4px 0 0;color:var(--oto-muted);font-size:11px;line-height:1.4;white-space:pre-wrap}.task-row.done .task-title{text-decoration:line-through;color:var(--oto-muted)}.task-meta{display:grid;gap:3px;color:var(--oto-muted);font-size:10.5px}.task-meta .late{color:var(--oto-danger);font-weight:650}.task-state{display:flex;align-items:center;justify-content:flex-end;gap:5px;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(--oto-danger)}.badge.waiting{background:#fff6dc;color:#8c651f}.task-link{color:var(--oto-ink);font-size:10.5px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.empty{min-height:260px;height:100%;padding:48px 24px;display:grid;place-items:center;text-align:center;color:var(--oto-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(--oto-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(--oto-line);border-radius:6px;background:#fff;color:var(--oto-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(--oto-line)}.dialog-heading h2{margin:0;color:var(--oto-ink);font-size:18px;letter-spacing:-.02em}.icon-button{width:32px;height:32px;border:0;border-radius:4px;background:transparent;color:var(--oto-muted);font-size:18px;cursor:pointer}.icon-button:hover{background:var(--oto-soft);color:var(--oto-ink)}.dialog-body{padding:20px 22px;display:grid;gap:15px}.dialog-body label{display:grid;gap:7px;color:var(--oto-text);font-size:10.5px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.dialog-body label span{color:var(--oto-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(--oto-soft);color:var(--oto-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(--oto-line);background:#fbfaf8}@media(max-width:760px){.one-to-one-shell{padding:20px 16px 14px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}.heading-actions{width:100%}.heading-actions .button{flex:1}.workspace-heading{align-items:flex-start;flex-direction:column}.filters{width:100%}.search{width:auto;flex:1}.task-row{grid-template-columns:24px 1fr auto;gap:10px}.task-meta{grid-column:2}.task-state{grid-column:3;grid-row:1/3}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* The table keeps column alignment and sorting available at every viewport size. */
.task-table{width:100%;min-width:880px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:11px}
.task-table th{position:sticky;top:0;z-index:1;padding:0 12px;height:40px;background:var(--oto-soft);border-bottom:1px solid var(--oto-line);text-align:left;color:var(--oto-text);font-weight:700}
.task-table th:first-child{width:48px;padding:0 15px}.task-table th:nth-child(2){width:auto}.task-table th:nth-child(3){width:18%}.task-table th:nth-child(4){width:130px}.task-table th:nth-child(5){width:112px}.task-table th:nth-child(6){width:100px}.task-table th:last-child{width:76px}
.sort-button{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:0;border:0;background:transparent;text-align:left;font-weight:700;cursor:pointer}.sort-button:hover{color:var(--oto-ink)}.sort-indicator{color:var(--oto-muted)}th[aria-sort="ascending"] .sort-indicator,th[aria-sort="descending"] .sort-indicator{color:var(--oto-ink)}
.task-table .task-row{display:table-row;padding:0}.task-table td{padding:14px 12px;border-bottom:1px solid #f0eeea;vertical-align:middle;overflow-wrap:anywhere}.task-table td:first-child{padding-left:15px}.task-table tr:last-child td{border-bottom:0}.task-table .task-dossier,.task-table .task-due{color:#74716a}.task-table .late{color:var(--oto-danger);font-weight:650}.due-note{display:block;margin-top:3px;font-size:10px}.task-table .badge{display:inline-block;white-space:nowrap}.task-table .task-copy p{color:#85827b}

/* Compact one-to-one table with a dedicated, continuous comment column. */
.task-table{min-width:1120px}
.task-table th:first-child{width:42px}
.task-table th:nth-child(2){width:23%}
.task-table th:nth-child(3){width:auto}
.task-table th:nth-child(4){width:13%}
.task-table th:nth-child(5){width:114px}
.task-table th:nth-child(6){width:100px}
.task-table th:nth-child(7){width:90px}
.task-table th:last-child{width:68px}
.task-table td{padding:8px 12px;line-height:1.4}
.task-table .task-title{font-size:12px;line-height:1.4}
.task-table .task-check{width:16px;height:16px}
.task-table .task-comments{color:#706d66;font-size:11px;line-height:1.5;white-space:normal}
.comment-separator{color:#aaa59a;font-weight:700;white-space:nowrap}
.comment-empty{color:#c5c1b8}
.task-table .due-note{display:inline;margin:0 0 0 5px;font-size:9px;white-space:nowrap}
.task-table .badge{padding:3px 6px;font-size:9px}

/* Editable cells retain the compact table rhythm and expose native controls. */
.task-table th:nth-child(5){width:152px}
.task-table th:nth-child(6){width:120px}
.task-table th:nth-child(7){width:104px}
.task-inline-control{max-width:100%;min-width:0;height:28px;padding:3px 6px;border:1px solid transparent;border-radius:4px;background:transparent;font:inherit;color:var(--oto-text);cursor:pointer}
.task-inline-control:hover,.task-inline-control:focus{border-color:#d9d7d1;background:#fff}
.task-inline-control:disabled{opacity:.55;cursor:wait}
.inline-date{width:132px;font-size:10.5px}
.task-table .task-due .due-note{display:block;margin:0 0 0 6px;line-height:1.1}
.inline-status,.inline-priority_level{width:100%;background:#f2f1ed;font-size:10px;font-weight:650}
.inline-status.waiting{background:#fff6dc;color:#8c651f}
.inline-priority_level.urgent{background:#fff0ed;color:var(--oto-danger)}
