/* R1 customer overview; keep existing role views and controls intact. */
.customer-heading{margin:8px 0 20px}.customer-heading h1{margin:0 0 8px;overflow-wrap:anywhere}.customer-address{margin:0 0 6px;color:var(--muted,#626a70);overflow-wrap:anywhere}.customer-heading>.role-help{margin:0 0 8px}.customer-about{margin:8px 0 0}.customer-about .pro-info{margin-top:12px}.customer-start-grid,.customer-active-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-start-card,.customer-stage-card{display:flex;flex-direction:column;gap:9px;padding:18px;border:1px solid var(--line,#d9ddd8);border-radius:12px;color:inherit;text-decoration:none;background:var(--bg,#f3f4f1);min-width:0;overflow-wrap:anywhere}.customer-start-card:hover,.customer-stage-card:hover{border-color:#b08000}.customer-start-card:focus-visible,.customer-stage-card:focus-visible{outline:3px solid #b08000;outline-offset:3px}.customer-start-card span,.customer-stage-card small{color:var(--muted,#626a70);font-size:14px;line-height:1.5}.customer-start-card b span{color:inherit}.customer-unavailable{background:transparent}.customer-unavailable small{color:var(--muted,#626a70)}.customer-start>summary{font-weight:700;cursor:pointer}.customer-start>summary+p{margin-top:14px}.customer-defect-list{list-style:none;padding:0;margin:0}.customer-defect-list li+li{border-top:1px solid #d9ddd8}.customer-defect-list a{display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none;padding:12px 0;overflow-wrap:anywhere}.customer-defect-list span{font-size:14px;color:var(--muted,#626a70)}
@media(max-width:600px){.customer-start-grid,.customer-active-grid{grid-template-columns:1fr}.customer-heading h1{font-size:26px}.customer-start-card,.customer-stage-card{padding:15px}.customer-heading{margin-bottom:16px}}

.customer-overview{display:grid;gap:16px}.customer-overview>.panel{margin:0}.customer-overview>.summary{margin:0}.customer-overview>.customer-start{margin:0}.customer-services>summary,.customer-waiting>summary{font-weight:700;cursor:pointer}.customer-service-body>.panel{border:0;padding:16px 0 0;margin:0;box-shadow:none}.flow-terms-summary{display:grid;gap:10px;margin:16px 0}.flow-terms-summary>div{display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:12px}.flow-terms-summary dt{color:var(--muted,#626a70)}.flow-terms-summary dd{margin:0;overflow-wrap:anywhere}.flow-change-terms{margin:10px 0 16px}.customer-decisions>.flow-work:last-child{margin-bottom:0}
@media(max-width:600px){.flow-terms-summary>div{grid-template-columns:1fr;gap:3px}.flow-terms-summary{gap:14px}.flow-change-terms{width:100%}}

.flow-change-terms{font-size:15px;min-height:44px;line-height:1.35;padding:10px 14px}

/* Customer 3.1: summary and one next action, technical tools remain available. */
.customer-stage-view{display:grid;gap:16px}.customer-stage-view>.panel{margin:0}.customer-stage-summary h1{margin:8px 0;font-size:26px;overflow-wrap:anywhere}.customer-facts{display:grid;gap:12px}.customer-facts>div{display:grid;grid-template-columns:minmax(120px,160px) minmax(0,1fr);gap:12px}.customer-facts dt{color:var(--muted)}.customer-facts dd{margin:0;overflow-wrap:anywhere}.customer-stage-overview+article,.customer-work-term+.customer-work-term{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.customer-journal-links{display:flex;gap:16px;flex-wrap:wrap}.customer-tools>summary,.customer-stage-view summary{cursor:pointer;font-weight:600}.customer-next .btn{min-height:44px}.customer-stage-overview h3{margin:6px 0}.customer-tools [data-customer-section]:focus{outline:2px solid var(--accent,#b08000);outline-offset:4px}@media(max-width:600px){.customer-facts>div{grid-template-columns:1fr;gap:4px}.customer-stage-view .btn{max-width:100%;white-space:normal}.customer-stage-summary h1{font-size:23px}}

.customer-stage-overview h3 a,.customer-journal-links a{color:inherit;text-decoration-color:var(--accent,#b08000);text-underline-offset:3px}.customer-start31>.customer-start{border:0;box-shadow:none}

/* Package 1.1: four independent result sections. */
.customer-section11>summary{font-weight:650;cursor:pointer;padding:5px 0}.customer-section-body{padding-top:16px}.customer-file11,.customer-check-result11{padding:12px 0;border-bottom:1px solid var(--line,#ddd);overflow-wrap:anywhere}.customer-file11 small{display:block;color:var(--muted)}.customer-discussion11{margin-top:20px}.customer-decision11{width:min(650px,calc(100% - 32px));max-height:85vh;overflow:auto;color:var(--ink);background:var(--surface);border:1px solid var(--line)}.customer-decision11::backdrop{background:#0006}.customer-section11 .photos{margin-bottom:12px}.customer-stage-view .customer-next p{margin-bottom:0}.customer-self11{margin-top:16px}.customer-self11 textarea{width:100%;box-sizing:border-box}

/* Correction: compact result groups within one outer disclosure. */
.customer-tools-corrected>.customer-results11{display:grid;gap:0;padding-top:12px}.customer-tools-corrected .customer-section11{margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}.customer-tools-corrected .customer-section11+.customer-section11{border-top:1px solid var(--line,#ddd)}.customer-tools-corrected .customer-section11>summary{padding:16px 0;min-height:24px;line-height:1.5}.customer-tools-corrected .customer-section-body{padding:0 0 16px}.customer-self-entry{padding:0 4px}.customer-self-entry button{min-height:44px;text-align:left}.customer-tools-corrected>.customer-results11 .customer-section11[open]>summary{padding-bottom:12px}
