/* Écrans immobilisations, amortissements, tableau de bord, import, clôture, exports et historique. */
.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
tfoot th{text-align:left;border-top:2px solid var(--border,#e1e9e5);padding-top:10px}
tfoot th.num{text-align:right}
.loading{padding:40px;text-align:center;color:var(--muted,#778b84)}
.section-title{font-size:15px;font-weight:600;margin:4px 0 14px;color:var(--ink,#183c39)}
.kpi{display:flex;flex-direction:column;gap:6px}
.kpi .value{font-variant-numeric:tabular-nums}
.kpi .text-button{align-self:flex-start;margin-top:auto}
.stats:has(.kpi:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}
.dashboard-filter{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.dashboard-filter label{margin:0;min-width:240px}
.todo{display:grid;gap:8px}
.todo-row{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:#f6f8f6}
.todo-row>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-weight:700;font-size:13px}
.todo-row.pending>span{background:#f7e5c8;color:#7a4d0b}
.todo-row.done>span{background:#e2eccb;color:#234d3e}
.next-steps{padding-left:20px;display:grid;gap:10px}
.next-steps p{margin:2px 0;font-size:13px;color:#61746c}
.details.compact{grid-template-columns:1fr;gap:10px;margin:12px 0}
.details.compact div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.details.definitions{grid-template-columns:repeat(3,minmax(0,1fr))}
.details .help,label .help{display:block;font-weight:400;font-size:11.5px;color:#7d8f87;line-height:1.45}
.warning-text{color:#9a5b00}
.info-box.warning{background:#fbf3e4;border-color:#efdcb7;color:#6d4a10}
.issues{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:6px}
.issues li{padding:9px 12px;border-radius:8px;font-size:13px;line-height:1.5}
.issues li.blocking{background:#fbe9e6;color:#7d2a1d}
.issues li.warning{background:#fbf3e4;color:#6d4a10}
.issues strong{margin-right:6px}
.badge.plan-computable{background:#e2eccb;color:#234d3e}
.badge.plan-incomplete{background:#f7e5c8;color:#7a4d0b}
.badge.plan-invalid{background:#f6d9d4;color:#7d2a1d}
.badge.plan-not_depreciable,.badge.plan-archived{background:#eceeed;color:#5b6762}
.page-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.plain{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.plain.exports li{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #eef2ef;padding-bottom:6px}
.grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.grid-three h3{font-size:14px;margin-bottom:4px}
.schedule{max-height:420px;overflow:auto}
.schedule thead th{position:sticky;top:0;background:#fff}
tr.current td{background:#f1f6e8;font-weight:600}
details{margin-top:12px}
details summary{cursor:pointer;font-weight:600;font-size:13px;padding:8px 0}
.impact{margin:14px 0;padding:14px;border-radius:10px;background:#f6f8f6;border:1px solid #e1e9e5;font-size:13px}
.impact table{margin:8px 0}
table.components input{padding:8px}
label.inline{display:flex;align-items:center;gap:6px;margin:0;font-weight:400;white-space:nowrap}
label.inline input{width:auto}
.component-total{font-size:13px}
.import-table{max-height:480px;overflow:auto}
.import-table thead th{position:sticky;top:0;background:#fff}
.import-table tr.rejected td{background:#fdf3f1}
.import-table input[type=checkbox]{width:18px;height:18px}
.mapping li{font-size:13px}
.closing{border-left:4px solid #e5ad60}
#modal{max-width:min(1060px,96vw)}
#modal:has(table.components){width:min(1060px,96vw)}
table.components input{min-width:0}
table.components td:first-child input{min-width:160px}
@media(max-width:1300px){.stats:has(.kpi:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}.details.definitions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.grid-three{grid-template-columns:1fr}.stats:has(.kpi:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.details.definitions{grid-template-columns:1fr}.stats:has(.kpi:nth-child(5)){grid-template-columns:1fr}.todo-row{grid-template-columns:32px 1fr}.todo-row>:last-child{grid-column:2}.dashboard-filter label{min-width:0;width:100%}}
#wb-page .panel h3{margin-top:22px}
.readiness{padding:14px;border-radius:10px;background:#f6f8f6;margin-bottom:14px}
.readiness-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.readiness progress{width:100%;height:10px}
.readiness.blocked .readiness-head span{color:#7d2a1d}
.readiness.review .readiness-head span{color:#6d4a10}
.offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.offer{border:1px solid #e1e9e5;border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:8px}
.offer .value{font-size:20px;font-weight:650}
.takeover h3{margin-top:22px}
.takeover-fields[hidden],.land-field[hidden]{display:none}
.review-item{border:1px solid #e1e9e5;border-radius:10px;padding:14px;margin-bottom:12px}
.thread{list-style:none;padding:0;display:grid;gap:8px}
.thread li{padding:8px 10px;border-radius:8px;background:#f6f8f6}
.thread li.owner{background:#eef4e9}
.issues li.ok{background:#eef4e9;color:#234d3e}
.bell{font-size:14px;margin-left:auto;margin-right:14px}
.notifications li{padding:10px;border-radius:8px}
.notifications li.unread{background:#eef4e9}
.mail-text{white-space:pre-wrap;font-size:13px;background:#f6f8f6;padding:12px;border-radius:8px;overflow-x:auto}
#reauth{max-width:420px}

.help-block{display:block;margin-top:8px}
