/* Espace client Peinture & Rénovation : accessible, large, responsive. */
.pr-account-page{margin:0;background:#f0f5fc;color:#142a4c;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
/* Reserve exactly one nav shell before deferred JavaScript inserts it. */
body.pr-account-page:not(:has(>header.pr-job-shell))::before{content:'';display:block;height:103px}
@media(max-width:1280px){body.pr-account-page:not(:has(>header.pr-job-shell))::before{height:143px}}
#pr-client-main{min-height:75vh;max-width:1500px;margin:0 auto;padding:25px clamp(12px,3vw,52px) 80px}
.pr-client-hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:35px;align-items:center;border-radius:24px;background:linear-gradient(110deg,#102b55,#1b5393 72%,#235aa1);color:white;padding:clamp(22px,4.5vw,58px);box-shadow:0 18px 40px rgba(14,44,85,.15)}
.pr-client-eyebrow{display:inline-block;padding:8px 13px;border-radius:999px;background:#fff2;color:#fff;font-size:12px;font-weight:850;letter-spacing:.08em}
.pr-client-hero h1{font-size:clamp(27px,3.4vw,48px);line-height:1.13;margin:16px 0 12px;color:white}
.pr-client-hero p{font-size:clamp(15px,1.2vw,19px);line-height:1.6;margin:0;color:#e7f2ff}
.pr-client-price-box{background:#fff;border-radius:20px;padding:22px 25px;color:#173257;display:flex;gap:9px;flex-direction:column;align-items:flex-start}
.pr-client-price-box small{font-size:12px;font-weight:800;letter-spacing:.06em}
.pr-client-price-box strong{font-size:clamp(36px,3vw,47px);font-weight:900;color:#dc2626}
.pr-client-price-box span{font-size:14px;line-height:1.5}
#pr-client-status{max-width:960px;margin:20px auto 0;font-size:15px;font-weight:700}
#pr-client-status:not(:empty){padding:15px 20px;background:#e0edff;border-radius:12px;border:1px solid #afcbf9}
#pr-client-status[data-error=true]{background:#fff0ee;color:#9d1c1c;border-color:#efafaa}
#pr-client-content{max-width:1180px;margin:30px auto;min-height:480px}
.pr-client-card{background:white;border:1px solid #e0e8f4;border-radius:23px;padding:clamp(20px,3.1vw,36px);box-shadow:0 12px 32px rgba(20,55,98,.08);margin:0 auto 22px}
.pr-client-card h2{font-size:clamp(23px,2.5vw,30px);line-height:1.3;color:#183969;margin:0 0 12px}
.pr-client-card h3{font-size:19px;margin:4px 0 15px}
.pr-client-card p{color:#405679;line-height:1.55}
.pr-client-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px}
.pr-client-button,.pr-client-tabs button{border:0;border-radius:12px;min-height:48px;padding:11px 19px;cursor:pointer;font:inherit;font-size:15px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#174a87;color:white}
.pr-client-button.primary{background:linear-gradient(120deg,#e42a34,#f3584c);box-shadow:0 6px 14px #d22a3036;color:white}
.pr-client-button.secondary{background:#edf4ff;color:#174478;border:1px solid #bed3ef}
.pr-client-tabs button[aria-selected=true]{background:#e32a37}
.pr-client-button:disabled{cursor:not-allowed;opacity:.56;box-shadow:none}
.pr-client-button:focus-visible,.pr-client-card :focus-visible{outline:3px solid #f08a1d;outline-offset:3px}
.pr-client-field{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.pr-client-field label{font-weight:750;font-size:14px}
.pr-client-field :is(input,select,textarea){font:inherit;border:1px solid #b5cbe7;background:#fff;border-radius:10px;min-height:45px;padding:9px 13px;color:#142a4c;width:100%;max-width:100%;box-sizing:border-box}
.pr-client-field textarea{min-height:110px;resize:vertical}
.pr-client-accept{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-size:14px;line-height:1.5}
.pr-client-accept input{width:20px;height:20px;flex:none;margin:2px 0}
.pr-client-panel{max-width:590px;margin:auto}
.pr-client-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.pr-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.pr-client-grid .pr-client-card{margin:0}
.pr-client-tag{background:#fff7e7;color:#8f4a13;padding:6px 10px;border-radius:9px;font-size:12px;font-weight:800}
.pr-client-tag.active{background:#e5f8ed;color:#176b46}
.pr-client-message{font-size:14px;line-height:1.5;margin:12px 0;color:#4b607c}
.pr-client-muted{font-size:14px;color:#556b87}
.pr-client-dossiers{margin:10px 0;padding:0;list-style:none;display:grid;gap:9px}
.pr-client-dossiers li{background:#f4f8fe;padding:12px;border:1px solid #e2e9f5;border-radius:9px}
.pr-client-legal{margin-top:42px}
.pr-client-legal h2{font-size:25px}
.pr-client-legal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pr-client-legal-grid>div{padding:20px;border-radius:16px;background:#fff;border:1px solid #e5ecf6}
.pr-client-legal-grid strong{display:block;font-size:16px;color:#163969}
.pr-client-legal-grid p{font-size:14px;line-height:1.6}
.pr-client-legal a{color:#174b89;text-underline-offset:3px}
@media(max-width:830px){.pr-client-hero{grid-template-columns:1fr}.pr-client-grid{grid-template-columns:1fr}.pr-client-legal-grid{grid-template-columns:1fr}.pr-client-price-box{width:100%}}
@media(max-width:480px){#pr-client-main{padding:10px 10px 60px}.pr-client-card{padding:16px}.pr-client-hero{border-radius:15px}.pr-client-button{width:100%}}
@media(prefers-reduced-motion:reduce){.pr-account-page *{transition:none!important}}

/* Suivi des devis et factures de travaux, lisible sur mobile et bureau. */
.pr-client-commercial-row{padding:15px 18px;border:1px solid #dce9f8;border-radius:13px;background:#f6faff;margin:12px 0;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pr-client-commercial-row strong{font-size:17px;color:#15376a}
.pr-client-commercial-row p{font-size:14px;margin:0;line-height:1.55;color:#294466}
.pr-client-commercial-row .pr-client-button{max-width:100%;white-space:normal}
