/* Styles isolés au seul tableau de bord V18 : aucune règle sur les autres pages. */
#main .px18-dashboard{--ink:#10294e;--blue:#0864cb;--line:#dce5f0;--muted:#64748b;color:var(--ink);font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;max-width:1550px;margin:0 auto;padding:18px 8px 36px;background:#f8fafc}
#main:has(.px18-dashboard){background:#f8fafc}
.px18-dashboard *{box-sizing:border-box}
.px18-dashboard .px18-welcome{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:22px}
.px18-dashboard h1{font-size:clamp(24px,3vw,31px);font-weight:800;line-height:1.2;letter-spacing:-.8px;color:#0b2448;margin:0 0 5px}
.px18-dashboard p{margin:0}.px18-dashboard .px18-welcome p{font-size:14px;color:#526783}
.px18-dashboard .px18-date{display:flex;align-items:center;gap:8px;border:1px solid #d7e2ef;background:white;border-radius:11px;padding:11px 14px;font-size:13px;font-weight:650;white-space:nowrap;color:#16335a}
.px18-dashboard svg{width:20px;height:20px;flex:none}
.px18-dashboard .px18-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.px18-dashboard .px18-metric{background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 3px 9px #10294e0b;padding:18px 15px;display:flex;align-items:flex-start;gap:13px;min-width:0}
.px18-dashboard .px18-metric-icon{background:#e9f3ff;color:#0864cb;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;flex:none}
.px18-dashboard .px18-metric-icon svg{width:26px;height:26px}
.px18-dashboard .px18-metric span{display:block;font-size:13px;font-weight:700;color:#203656;margin-bottom:6px}
.px18-dashboard .px18-metric strong{display:block;font-size:27px;line-height:1.1;color:#0b2448;font-weight:800;white-space:nowrap}
.px18-dashboard .px18-metric small{display:block;font-size:11px;color:#738398;margin-top:7px;line-height:1.35}
.px18-dashboard .px18-middle{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;margin-bottom:18px}
.px18-dashboard .px18-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.px18-dashboard .px18-panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 3px 10px #10294e0a;min-width:0;overflow:hidden}
.px18-dashboard .px18-panel>header{padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e8edf5;background:white}
.px18-dashboard h2{display:flex;align-items:center;gap:9px;color:#10294e;font-size:17px;font-weight:800;margin:0;line-height:1.3}
.px18-dashboard h2 svg{color:#0a5ab6;width:21px;height:21px}
.px18-dashboard .px18-link{display:flex;align-items:center;gap:5px;border:0;background:transparent;color:#0864cb;font-size:12px;font-weight:700;padding:6px;white-space:nowrap;cursor:pointer}
.px18-dashboard .px18-link svg{width:15px;height:15px}
.px18-dashboard .px18-primary{border:0;background:#0864cb;color:#fff;font-weight:700;border-radius:9px;padding:9px 13px;font-size:12px;cursor:pointer;white-space:nowrap}
.px18-dashboard .px18-job{display:grid;grid-template-columns:125px minmax(0,1fr) 90px;gap:10px;align-items:center;width:100%;background:white;border:0;border-bottom:1px solid #e8edf5;text-align:left;padding:12px 18px;cursor:pointer;color:#183152}
.px18-dashboard .px18-job:hover{background:#f5f9ff}
.px18-dashboard .px18-job-time{background:#f1f5fa;border-radius:7px;padding:10px 6px;text-align:center;font-size:12px;font-weight:750}
.px18-dashboard .px18-job-main{border-left:3px solid #0864cb;padding-left:12px;min-width:0}
.px18-dashboard .px18-job-main b,.px18-dashboard .px18-job-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.px18-dashboard .px18-job-main b{font-size:13px}.px18-dashboard .px18-job-main small{font-size:11px;color:#66778b;margin-top:3px}
.px18-dashboard .px18-pill{display:inline-block;background:#eaf2ff;color:#1459a7;border-radius:20px;padding:6px 9px;text-align:center;font-size:11px;font-weight:750;white-space:nowrap}
.px18-dashboard .px18-pill.done{background:#e6f7ed;color:#147344}.px18-dashboard .px18-pill.progress{background:#e8f5ff;color:#0a5ba9}
.px18-dashboard .px18-empty,.px18-dashboard .px18-error{padding:24px 19px;font-size:13px;color:#64748b;line-height:1.5}
.px18-dashboard .px18-error{color:#a43434}
.px18-dashboard .px18-tablewrap{overflow-x:auto}
.px18-dashboard .px18-table{width:100%;border-collapse:collapse;font-size:12px;color:#263d5b}
.px18-dashboard .px18-table th{background:#f2f5fa;color:#263d5b;font-weight:750;text-align:left;padding:12px 15px;white-space:nowrap}
.px18-dashboard .px18-table td{padding:12px 15px;border-top:1px solid #e7edf4;vertical-align:middle}
.px18-dashboard .px18-table td:first-child{max-width:240px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1100px){.px18-dashboard .px18-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.px18-dashboard .px18-middle{grid-template-columns:1fr}}
@media(max-width:700px){#main .px18-dashboard{padding:14px 0 25px}.px18-dashboard .px18-welcome{display:block}.px18-dashboard .px18-date{display:inline-flex;margin-top:12px;padding:8px 10px}.px18-dashboard .px18-metrics{gap:9px}.px18-dashboard .px18-metric{padding:12px 10px;gap:8px}.px18-dashboard .px18-metric-icon{width:35px;height:35px}.px18-dashboard .px18-metric-icon svg{width:19px;height:19px}.px18-dashboard .px18-metric span{font-size:11px}.px18-dashboard .px18-metric strong{font-size:21px}.px18-dashboard .px18-metric small{font-size:10px}.px18-dashboard .px18-bottom{grid-template-columns:1fr}.px18-dashboard .px18-panel>header{padding:13px}.px18-dashboard h2{font-size:15px}.px18-dashboard .px18-job{grid-template-columns:83px minmax(0,1fr);padding:10px;gap:8px}.px18-dashboard .px18-job-time{font-size:10px}.px18-dashboard .px18-job .px18-pill{grid-column:2;justify-self:start}.px18-dashboard .px18-link{font-size:11px}}
