/* Tableau de bord seulement : aucune règle globale ni modification des formulaires. */
.officeMain.poroDashboardStep2{background:#f4f3f0}
.poroDashboardStep2 .officeTop{margin-bottom:16px}
.poroDashboardStep2 .officeTop h1{font-size:clamp(23px,2.1vw,31px);letter-spacing:-.02em}
.poroDashboardStep2 .poroDashboardHero{display:grid;grid-template-columns:1.2fr .8fr;min-height:155px;margin:0 0 17px;border-radius:11px;overflow:hidden;background:#173d68;color:white;border:0;box-shadow:0 3px 16px #142b5018}
.poroDashboardStep2 .poroDashboardHeroCopy{padding:23px 26px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(105deg,#1c4778,#1e5986)}
.poroDashboardStep2 .poroDashboardHeroCopy small{color:#bbd8e9;font-size:10px;letter-spacing:.12em;font-weight:800;text-transform:uppercase}
.poroDashboardStep2 .poroDashboardHeroCopy h2{font-size:clamp(20px,2.1vw,28px);line-height:1.13;margin:9px 0 7px;color:#fff}
.poroDashboardStep2 .poroDashboardHeroCopy p{max-width:630px;font-size:12px;line-height:1.5;margin:0;color:#e5eff8}
.poroDashboardStep2 .poroDashboardHeroVisual{background:radial-gradient(circle at 72% 50%,transparent 0 17%,#ffffff12 17.2% 18%,transparent 18.2% 27%,#ffffff0c 27.2% 28%,transparent 28.2% 40%),linear-gradient(135deg,#1c5b6a,#173a4b)}
.poroDashboardStep2 .officeCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:16px}
.poroDashboardStep2 .officeCards article{padding:15px 16px;border-radius:9px;border:1px solid #d9dfdf;border-top:2px solid #237682;background:#fff;box-shadow:0 2px 6px #1a30400a;min-width:0}
.poroDashboardStep2 .officeCards article:nth-child(4n+3){border-top-color:#bb4555}
.poroDashboardStep2 .officeCards article:nth-child(4n+4){border-top-color:#d0a54d}
.poroDashboardStep2 .officeCards article small{font-size:10px;color:#4e6570;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.poroDashboardStep2 .officeCards article strong{font-size:clamp(17px,2vw,25px);line-height:1.18;overflow-wrap:anywhere}
.poroDashboardStep2 .officeCards article span{font-size:11px}
.poroDashboardStep2 .officePanel{border-radius:10px;border-color:#deded9;box-shadow:0 2px 7px #1a30400b}
.poroDashboardStep2 .officePanel h2{font-size:16px}
.poroDashboardStep2 .officePanel:has(.officeListItem){border-left:3px solid #b62d42}
.poroDashboardStep2 .officePanel .officeListItem{font-size:12px;border-color:#e5e7e6}
.poroDashboardStep2 .officePanel .officeListItem small{font-size:11px}
.poroDashboardStep2 .officeFeedback{font-size:12px;background:#edf6f3;border:1px solid #d7e7e2;color:#245d56}
.poroDashboardStep2 .poroDashboardChart{padding:20px 23px;margin:0 0 18px;background:#fff;border:1px solid #deded9;border-radius:10px;box-shadow:0 2px 7px #1a30400b}
.poroDashboardStep2 .poroDashboardChart h2{font-size:16px;margin:0 0 4px}
.poroDashboardStep2 .poroDashboardChart p{font-size:11px;margin:0 0 14px;color:#62737d}
.poroDashboardStep2 .poroDashboardChartGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:9px;border-bottom:1px solid #e0e4e1}
.poroDashboardStep2 .poroDashboardDay{text-align:center;font-size:10px;color:#52646f}
.poroDashboardStep2 .poroDashboardBars{display:flex;height:110px;gap:4px;align-items:end;justify-content:center}
.poroDashboardStep2 .poroDashboardBars span{display:block;width:22%;min-height:2px;background:#176c79;border-radius:3px 3px 0 0}
.poroDashboardStep2 .poroDashboardBars span+span{background:#ba5d67}
.poroDashboardStep2 .poroDashboardDay b{display:block;font-weight:600;padding:7px 0}
.poroDashboardStep2 .poroDashboardLegend{font-size:11px;margin-top:11px;color:#52646f}
.poroDashboardStep2 .poroDashboardLegend span+span{margin-left:18px}
.poroDashboardStep2 .poroDashboardLegend .income{color:#176c79}
.poroDashboardStep2 .poroDashboardLegend .expense{color:#ba5d67}
@media(max-width:1150px){.poroDashboardStep2 .officeCards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.poroDashboardStep2 .poroDashboardHero{grid-template-columns:1fr;min-height:0}.poroDashboardStep2 .poroDashboardHeroCopy{padding:19px}.poroDashboardStep2 .poroDashboardHeroVisual{display:none}.poroDashboardStep2 .officeCards{gap:9px}.poroDashboardStep2 .officeCards article{padding:12px}.poroDashboardStep2 .officeCards article strong{font-size:18px}.poroDashboardStep2 .poroDashboardChart{padding:15px}.poroDashboardStep2 .poroDashboardChartGrid{gap:3px}.poroDashboardStep2 .poroDashboardBars{gap:2px}}
@media print{.poroDashboardStep2 .poroDashboardHero{background:#fff;color:#173d68;border:1px solid #d9dfdf}.poroDashboardStep2 .poroDashboardHeroCopy{background:#fff;color:#173d68}.poroDashboardStep2 .poroDashboardHeroCopy h2,.poroDashboardStep2 .poroDashboardHeroCopy p,.poroDashboardStep2 .poroDashboardHeroCopy small{color:#173d68}}
/* Compléments demandés : quatre blocs réels dans la seule vue Tableau de bord. */
.poroDashboardStep2 .poroDashboardChart{display:none}
.poroDashboardStep2 .poroDashboardInsights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}
.poroDashboardStep2 .poroDashboardInsights>section{min-width:0;background:#fff;border:1px solid #deded9;border-radius:10px;padding:18px 20px;box-shadow:0 2px 7px #1a30400b}
.poroDashboardStep2 .poroDashboardInsights header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e1e5e1;padding-bottom:9px;margin-bottom:12px}
.poroDashboardStep2 .poroDashboardInsights h2{font-size:15px;margin:0;color:#153b5d}
.poroDashboardStep2 .poroDashboardInsights p{margin:6px 0;font-size:11px;color:#60707b}
.poroDashboardStep2 .poroDashboardInsights strong{font-size:22px;color:#12636a}
.poroDashboardStep2 .poroDashboardInsights .negative{color:#ad3346}
.poroDashboardStep2 .poroDashboardInsights .metric{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.poroDashboardStep2 .poroDashboardInsights .metric small{font-size:11px;color:#667783}
.poroDashboardStep2 .poroDashboardInsights .barLine{display:flex;gap:8px;align-items:center;font-size:11px;margin:12px 0}
.poroDashboardStep2 .poroDashboardInsights .barLine label{min-width:104px}
.poroDashboardStep2 .poroDashboardInsights .barTrack{flex:1;height:8px;border-radius:8px;background:#e6e8e5;overflow:hidden}
.poroDashboardStep2 .poroDashboardInsights .barTrack i{display:block;height:100%;background:#147882}
.poroDashboardStep2 .poroDashboardInsights .barLine.expense i{background:#c96d68}
.poroDashboardStep2 .poroDashboardInsights .barLine b{min-width:80px;text-align:right;font-weight:600}
.poroDashboardStep2 .poroDashboardInsights .insightSvg{display:block;width:100%;height:150px;overflow:visible}
.poroDashboardStep2 .poroDashboardInsights .chartLegend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#5c6b74;margin-top:5px}
.poroDashboardStep2 .poroDashboardInsights .chartLegend .green{color:#137782}.poroDashboardStep2 .poroDashboardInsights .chartLegend .coral{color:#c86766}
.poroDashboardStep2 .poroDashboardInsights .insightAlert{border-left:3px solid #b53646;background:#fff2f3;padding:9px 11px;margin:7px 0;font-size:11px}
.poroDashboardStep2 .poroDashboardInsights .insightAlert.soon{border-left-color:#d3a238;background:#fff8e9}
.poroDashboardStep2 .poroDashboardInsights .insightAlert b{display:block;font-size:12px}
.poroDashboardStep2 .poroDashboardInsights .insightAlert small{display:block;color:#6c7480;margin-top:4px}
.poroDashboardStep2 .poroDashboardInsights .insightAlert button{font-size:11px;padding:5px 9px;margin-top:7px}
@media(max-width:850px){.poroDashboardStep2 .poroDashboardInsights{grid-template-columns:1fr}}
@media print{.poroDashboardStep2 .poroDashboardInsights>section{break-inside:avoid}}

/* Raffinement du tableau de bord, selon le modèle fourni : aucune autre vue affectée. */
.poroDashboardStep2 .poroDashboardInsights{gap:12px;align-items:stretch;margin-top:2px}
.poroDashboardStep2 .poroDashboardInsights>section{padding:14px 16px;border-radius:8px;border-color:#dce3e3;box-shadow:0 1px 3px #203a4a0a;min-height:275px}
.poroDashboardStep2 .poroDashboardInsights header{padding-bottom:10px;margin-bottom:5px;border-bottom:1px solid #e4e9e8}
.poroDashboardStep2 .poroDashboardInsights h2{font-size:14px;line-height:1.2;font-weight:750;letter-spacing:-.015em;color:#203743}
.poroDashboardStep2 .poroDashboardInsights p{font-size:10px;line-height:1.4;margin:4px 0 12px;color:#73838b}
.poroDashboardStep2 .poroDashboardInsights .metric{margin:15px 0 12px;gap:7px}
.poroDashboardStep2 .poroDashboardInsights .metric strong{font-size:23px;line-height:1;color:#087878;letter-spacing:-.025em}
.poroDashboardStep2 .poroDashboardInsights .metric .negative{color:#b23f4f}
.poroDashboardStep2 .poroDashboardInsights .metric small{font-size:10px;color:#657881}
.poroDashboardStep2 .poroDashboardInsights .barLine{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;margin:9px 0;font-size:10px}
.poroDashboardStep2 .poroDashboardInsights .barLine label{min-width:0;color:#687982}
.poroDashboardStep2 .poroDashboardInsights .barLine b{min-width:0;text-align:right;color:#253d48;font-size:10px}
.poroDashboardStep2 .poroDashboardInsights .barTrack{grid-column:1/-1;grid-row:2;height:5px;background:#e9eeeb}
.poroDashboardStep2 .poroDashboardInsights .barTrack i{border-radius:6px}
.poroDashboardStep2 .poroDashboardInsights .profitCaption{padding-top:5px;border-top:1px solid #edf0ed;margin:12px 0 2px;font-weight:650;color:#536971}
.poroDashboardStep2 .poroDashboardInsights .insightSvg{height:130px;overflow:hidden;margin-top:4px}
.poroDashboardStep2 .poroDashboardInsights .chartLegend{font-size:10px;gap:15px;margin:0 0 2px 42px}
.poroDashboardStep2 .poroDashboardInsights .finePrint{font-size:9px;color:#73838b;margin:4px 0 0}
.poroDashboardStep2 .poroDashboardInsights .insightAlert{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;margin:7px 0;padding:9px 10px;border-radius:2px 5px 5px 2px;background:#fff6f6}
.poroDashboardStep2 .poroDashboardInsights .insightAlert.soon{background:#fbfaf5}
.poroDashboardStep2 .poroDashboardInsights .insightAlert b{font-size:11px;line-height:1.25;color:#3d4d54}
.poroDashboardStep2 .poroDashboardInsights .insightAlert small{grid-column:1;line-height:1.3;margin-top:2px;font-size:9px}
.poroDashboardStep2 .poroDashboardInsights .insightAlert button{grid-column:2;grid-row:1/3;align-self:center;margin:0;padding:5px 8px;border-radius:4px}
@media(max-width:1050px){.poroDashboardStep2 .poroDashboardInsights{grid-template-columns:1fr}}
@media(max-width:680px){.poroDashboardStep2 .poroDashboardInsights>section{padding:13px;min-height:0}.poroDashboardStep2 .poroDashboardInsights .insightSvg{height:125px}.poroDashboardStep2 .poroDashboardInsights .barLine{grid-template-columns:minmax(0,1fr) auto}.poroDashboardStep2 .poroDashboardInsights .insightAlert button{font-size:10px}}
