/* CABINETTE MANAGEMENT — Proposal dashboard 2.6.1, read-only client-side analytics */
.pd-page{color:#263851;font-size:13px;max-width:1920px;margin:0 auto;padding-bottom:26px}
.pd-page button,.pd-page select,.pd-page input{font-family:inherit}
.pd-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.pd-head p{margin:7px 0 0;color:#7b8ba4;font-size:12px;line-height:1.6}
.pd-actions{display:flex;gap:8px;flex-wrap:wrap}
.pd-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:22px;padding:15px 18px;border:1px solid #e0e5f0;border-radius:12px;background:#fff}
.pd-filter label{display:flex;flex-direction:column;gap:6px;color:#687b98;font-size:11px;font-weight:700;min-width:130px}
.pd-filter select,.pd-filter input{border:1px solid #d7deec;border-radius:8px;padding:9px 12px;height:38px;background:#fff;min-width:138px;color:#304361}
.pd-filter-meta{font-size:11px;color:#8290a9;margin-left:auto;align-self:center}
.pd-section{margin:0 0 28px}.pd-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px}
.pd-section-title span{font-size:10px;font-weight:800;color:#a1adc0;letter-spacing:1.1px}
.pd-section-title h3{font-size:19px;line-height:1.5;margin:3px 0 0;font-weight:800;letter-spacing:-.3px}
.pd-section-title small{font-size:11px;color:#8795ac}
.pd-kpis,.pd-mini-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.pd-mini-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}
.pd-kpi{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #e0e6f0;background:#fff;border-radius:11px;min-width:0;min-height:128px;padding:18px 17px;color:#263851}
.pd-mini-kpis .pd-kpi{min-height:100px}
.pd-kpi>span{font-size:11px;color:#8190a8;font-weight:700}
.pd-kpi>strong{display:block;font-size:25px;line-height:1.15;color:#203654;letter-spacing:-1px;margin-top:12px;white-space:nowrap}
.pd-kpi>b{font-size:12px;color:#6554d9;margin-top:5px}
.pd-kpi>small{font-size:10px;color:#98a4b5;margin-top:auto;padding-top:8px;line-height:1.45}
.pd-clickable{cursor:pointer}.pd-clickable:hover,.pd-clickable:focus-visible{border-color:#b6abf7;box-shadow:0 3px 15px #4a3aba15;outline:none}
.pd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pd-panel{background:#fff;border:1px solid #e1e6f0;border-radius:11px;padding:18px 18px 16px;min-width:0}
.pd-panel-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}
.pd-panel-title h4{font-size:14px;margin:0;font-weight:800;color:#30415d}
.pd-panel-title small{font-size:10px;color:#97a4b8;text-align:right}
.pd-panel-title button{background:transparent;border:0;color:#6756dd;cursor:pointer;font-weight:700;font-size:11px;padding:5px 0;white-space:nowrap}
.pd-panel-title button:hover{text-decoration:underline}.pd-panel-title button:disabled{opacity:.45;cursor:default}
.pd-donut-layout{display:flex;align-items:center;justify-content:center;gap:24px;min-height:205px}
.pd-donut{width:162px;height:162px;border-radius:50%;flex-shrink:0;display:grid;place-items:center}
.pd-hole{width:111px;height:111px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}
.pd-hole strong{font-size:23px;letter-spacing:-.5px}.pd-hole span{font-size:10px;color:#95a2b7}
.pd-legend{display:grid;gap:8px;flex:1;max-width:300px;min-width:0}
.pd-legend>div{display:flex;align-items:center;gap:8px;font-size:11px;color:#697992}
.pd-legend i{width:8px;height:8px;border-radius:3px;flex-shrink:0}.pd-legend span{flex:1}.pd-legend b{color:#2c3b56;font-size:11px;font-weight:700;white-space:nowrap}
.pd-bars{display:flex;flex-direction:column;gap:16px;padding:6px 3px}
.pd-bar-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:7px}
.pd-bar-row span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#50627e}
.pd-bar-row b{color:#30415c;white-space:nowrap}.pd-bar-track{height:9px;border-radius:5px;background:#edf0f7;overflow:hidden}
.pd-bar-track>span{display:block;height:100%;border-radius:5px;background:#9384ed}
.pd-chart{height:202px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;align-items:end}
.pd-col{cursor:pointer;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:6px;min-width:0;border:0;background:transparent;color:#8f9eb4;padding:0 0 5px}
.pd-col b{font-size:11px;color:#52627b}.pd-col small{font-size:10px}.pd-track{width:min(60px,100%);height:147px;display:flex;align-items:flex-end;border-bottom:1px solid #e5eaf3}
.pd-track i{width:100%;min-height:0;border-radius:5px 5px 0 0;background:#baaff8}
.pd-col:last-child .pd-track i{background:#6552e8}.pd-col:hover .pd-track i{background:#7c68ee}
.pd-col:focus-visible{outline:2px solid #6552e8;outline-offset:2px;border-radius:6px}
.pd-table-wrap{overflow-x:auto}.pd-table-wrap table,.pd-dialog-scroll table{width:100%;border-collapse:collapse;table-layout:auto;font-size:11px}
.pd-table-wrap th,.pd-dialog-scroll th{padding:10px 9px;background:#f5f7fb;color:#7f8da6;font-weight:700;text-align:left;white-space:nowrap}
.pd-table-wrap td,.pd-dialog-scroll td{padding:11px 9px;border-bottom:1px solid #eef0f5;color:#4c5e79;max-width:360px;overflow-wrap:anywhere}
.pd-table-wrap td:first-child{font-weight:700;color:#405271}
.pd-note{color:#93a0b4;font-size:10px;line-height:1.7;margin:13px 0 0}
.pd-empty{color:#93a0b4;font-size:11px;line-height:1.7;padding:24px 8px;text-align:center}
.pd-follow-kpis{display:flex;gap:10px;margin:0 0 14px;flex-wrap:wrap}
.pd-follow-kpis span{background:#f5f6fb;color:#75849d;border-radius:7px;padding:10px 13px;font-size:11px}
.pd-follow-kpis b{font-size:15px;color:#35466b;margin-left:8px}
.pd-mini-list{display:flex;flex-direction:column;gap:0}
.pd-mini-list button{background:transparent;border:0;border-bottom:1px solid #edf0f6;display:flex;gap:8px;justify-content:space-between;align-items:center;padding:11px 5px;text-align:left;cursor:pointer;min-width:0}
.pd-mini-list button:hover{background:#f7f6ff}.pd-mini-list b{color:#3b4b65;font-size:11px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.pd-mini-list span{font-size:10px;color:#8593ab;white-space:nowrap}.pd-mini-list strong{font-size:10px;color:#6956d6;white-space:nowrap}
.pd-attribution-note{display:flex;gap:12px;align-items:center;border:1px solid #e7e9f6;border-radius:10px;background:#f6f5ff;padding:16px;color:#7e86aa;font-size:11px;line-height:1.6}
.pd-attribution-note strong{color:#6752d3;white-space:nowrap;font-size:12px}
.pd-error{background:#fff4f4;border:1px solid #f6c9c9;border-radius:10px;padding:15px 17px;color:#a33b44;line-height:1.6;margin-bottom:14px}
.pd-error button{background:none;border:0;color:#8b2734;text-decoration:underline;cursor:pointer;margin-left:10px}
.pd-loading{padding:100px 20px;text-align:center;color:#506384}.pd-loading p{font-size:12px;color:#9babc0;margin-top:12px}
.pd-spinner{width:32px;height:32px;margin:0 auto 20px;border-radius:50%;border:3px solid #e4defb;border-top-color:#6352e9;animation:pd-spin .8s linear infinite}
@keyframes pd-spin{to{transform:rotate(360deg)}}
.pd-overlay[hidden]{display:none!important}.pd-overlay{position:fixed;inset:0;background:#14213899;z-index:135;display:flex;align-items:center;justify-content:center;padding:18px}
.pd-dialog{background:#fff;border-radius:16px;box-shadow:0 24px 55px #07102244;width:min(1000px,98vw);max-height:90vh;display:flex;flex-direction:column;padding:24px;color:#243953}
.pd-modal-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;border-bottom:1px solid #e7eaf1;padding-bottom:18px}
.pd-modal-head small{font-size:10px;color:#9ca9bd;font-weight:800;letter-spacing:1px}
.pd-modal-head h3{font-size:20px;margin:6px 0 4px}.pd-modal-head p{font-size:11px;color:#8b9ab1;margin:0}
.pd-modal-head button{border:0;background:transparent;font-size:25px;color:#7a8ba3;cursor:pointer}
.pd-dialog-scroll{overflow:auto;margin:15px 0 0}.pd-dialog-scroll th{position:sticky;top:0}.pd-dialog-scroll td button{border:1px solid #d8dcef;background:#f7f6ff;color:#5e4ed5;border-radius:7px;padding:6px 8px;cursor:pointer;font-size:11px}
.pd-modal-foot{display:flex;justify-content:flex-end;margin-top:16px}
@media(max-width:1400px){.pd-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.pd-mini-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-grid{grid-template-columns:1fr}.pd-section-title small{display:none}}
@media(max-width:740px){.pd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-head{align-items:flex-start;flex-direction:column}.pd-filter-meta{width:100%;margin:0}.pd-donut-layout{flex-direction:column}.pd-legend{width:100%}.pd-kpi{padding:15px 13px;min-height:115px}.pd-kpi>strong{font-size:22px}.pd-attribution-note{flex-direction:column;align-items:flex-start}.pd-chart{gap:4px}.pd-panel{padding:15px}}
