.renter-page .renter-shell { width:100%; max-width:1600px; padding:32px clamp(16px,3vw,48px) 48px; box-sizing:border-box; }
.renter-heading { margin-bottom:24px; }
.renter-page .phone-trip-share { max-width:640px; margin:24px auto; }
.phone-trip-share h1 { font-size:32px; margin:0 0 28px; }
.phone-trip-share input { width:100%; margin-top:8px; }
.phone-trip-share .renter-inline-actions { gap:12px; }
.phone-trip-share .button { flex:1; }
.renter-workspace { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:28px; align-items:start; }
.renter-workspace-main { grid-column:1; grid-row:1; min-width:0; }
.renter-trip-summary { grid-column:2; grid-row:1; position:sticky; top:24px; min-width:0; }
.renter-shell .ops-panel { padding:24px; margin-top:0; margin-bottom:24px; min-width:0; }
.renter-shell h2 { font-size:24px; margin:0 0 20px; }
.renter-shell h3 { font-size:18px; margin:24px 0 16px; }
.renter-trip-summary h2 { font-size:21px; margin-bottom:12px; }
.trip-summary-details > summary { font-size:21px; color:var(--navy); cursor:pointer; list-style:none; }
.trip-summary-details > summary::-webkit-details-marker { display:none; }
.trip-summary-details[open] > summary { margin-bottom:16px; }
.mobile-summary-total { display:none; }
.renter-summary-list { margin:24px 0 0; }
.renter-summary-list dt { font-size:13px; color:var(--muted); margin-top:18px; }
.renter-summary-list dd { margin:4px 0 0; overflow-wrap:anywhere; }
.renter-summary-total { font-size:26px; font-weight:750; color:var(--navy); }
.renter-status { display:inline-block; font-size:13px; font-weight:600; padding:5px 9px; border-radius:6px; background:#edf2fa; color:#425575; }
.renter-status.is-complete { background:#e9f6ef; color:#17613d; }
.renter-status.needs-attention { background:#fff3db; color:#854b08; }
.onboarding-progress { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; overflow:visible; padding:0; margin:0 0 24px; }
.onboarding-progress a { min-width:0; padding:12px 8px; gap:6px; border-radius:8px; font-size:13px; }
.onboarding-progress .step-number { flex-shrink:0; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#e8edf5; }
.onboarding-progress .step-label { display:block; width:auto; height:auto; background:none; border-radius:0; }
.onboarding-progress small { display:block; font-size:11px; font-weight:400; margin-top:3px; }
.onboarding-progress .is-complete .step-number { color:#17613d; background:#e9f6ef; }
.onboarding-progress .needs-attention { border-color:#d99f35; }
.renter-section-heading { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:baseline; gap:12px; margin-bottom:20px; }
.renter-section-heading h2 { margin:0; }
.renter-section-heading small { color:var(--muted); }
.renter-disclosure { border:1px solid var(--line); border-radius:8px; padding:16px; margin:20px 0; }
.renter-disclosure summary { cursor:pointer; font-weight:650; min-height:24px; }
.renter-disclosure[open] > summary { margin-bottom:20px; }
.disclosure-action { float:right; color:var(--blue); font-size:14px; }
.contact-summary { display:grid; gap:6px; margin:0 0 28px; overflow-wrap:anywhere; }
.contact-disclosure[open] + .contact-summary { display:none; }
.renter-step-actions,.onboarding-actions { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin:28px 0 0; }
.renter-step-actions > :only-child { margin-left:auto; }
.renter-inline-actions { display:flex; flex-wrap:wrap; gap:16px; margin:20px 0; }
.renter-inline-actions a { min-height:44px; display:inline-flex; align-items:center; }
.renter-document-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.renter-document-card { position:relative; border:1px solid var(--line); border-radius:10px; padding:18px; display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.renter-document-card h3 { margin:0 0 10px; }
.renter-document-preview { width:100%; display:grid; place-items:center; height:140px; background:#f1f4fa; border-radius:6px; margin:16px 0 0; overflow:hidden; }
.renter-document-preview img { width:100%; height:140px; object-fit:contain; }
.document-card-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-top:auto; padding-top:18px; }
.renter-shell .file-picker { cursor:pointer; font-size:14px; min-height:44px; padding:10px 14px; margin:0; }
.renter-document-card form { margin:0; width:100%; }
.accessible-file { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
.renter-document-card:focus-within { outline:2px solid var(--blue); outline-offset:3px; }
.agreement-reader { border:1px solid var(--line); background:#fafbfd; border-radius:8px; padding:20px; margin-bottom:24px; }
.agreement-reader .agreement-text { font-family:inherit; line-height:1.8; max-width:78ch; margin:0 auto; }
.renter-shell #incidentals { margin:28px 0 0; padding:24px 0 0; border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:none; }
.renter-shell #incidentals .editor { padding:0; border:0; box-shadow:none; }
.renter-shell .checkbox { flex-direction:row; }
.renter-shell .form-grid { gap:20px; }
.renter-page .account-shell { max-width:1400px; width:100%; padding:32px clamp(16px,3vw,48px); box-sizing:border-box; }
.account-trip-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:20px; margin:24px 0; }
.account-trip-grid .ops-panel { margin:0; padding:24px; }
.account-trip-grid h3 { margin-top:0; }
.renter-page .account-profile { max-width:850px; }
.renter-rating { border:0; padding:0; margin:0 0 24px; min-width:0; }
.renter-rating legend { font-weight:600; margin-bottom:12px; }
.renter-rating > div { display:flex; gap:8px; margin-bottom:10px; }
.renter-rating label { position:relative; flex:1; max-width:80px; cursor:pointer; }
.renter-rating input { position:absolute; opacity:0; width:1px; }
.renter-rating label span { display:block; text-align:center; padding:12px 6px; border:1px solid var(--line); border-radius:8px; }
.renter-rating input:checked + span { color:#174cc2; border-color:#135cff; background:#edf3ff; font-weight:700; }
.renter-rating input:focus-visible + span { outline:2px solid var(--blue); outline-offset:3px; }
.renter-shell #feedback label { display:flex; flex-direction:column; gap:8px; }
.renter-shell #feedback .renter-rating label { display:block; }
.renter-return-form .form-grid { margin-bottom:24px; }
@media(max-width:1150px) {
 .renter-workspace { grid-template-columns:minmax(0,1fr) 280px; gap:20px; }
 .onboarding-progress a { flex-direction:column; align-items:flex-start; }
}
@media(max-width:900px) {
 .trip-summary-details > summary { font-size:20px; }
 .mobile-summary-total { display:block; font-size:14px; color:var(--blue); margin-top:8px; font-weight:600; }
 .renter-workspace { display:flex; flex-direction:column; gap:0; }
 .renter-trip-summary { width:100%; box-sizing:border-box; position:static; }
 .renter-workspace-main { width:100%; }
 .renter-summary-list { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:10px 16px; margin-top:16px; }
 .renter-summary-list dt,.renter-summary-list dd { margin:0; }
 .renter-summary-total { font-size:22px; }
}
@media(max-width:560px) {
 .renter-page .renter-shell { padding:20px 16px 40px; }
 .renter-shell .ops-panel { padding:18px; }
 .renter-shell h2 { font-size:22px; }
 .onboarding-progress { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
 .onboarding-progress a { min-height:72px; padding:10px 8px; }
 .renter-document-grid { grid-template-columns:1fr; }
 .renter-document-card .button { width:auto; }
 .agreement-reader { padding:14px; }
 .renter-step-actions,.onboarding-actions { flex-wrap:nowrap; align-items:stretch; }
 .renter-step-actions .button,.onboarding-actions .button { width:auto; flex:1; text-align:center; padding:12px; }
 .renter-summary-list { grid-template-columns:1fr; gap:4px; }
 .renter-summary-list dt:not(:first-child) { margin-top:10px; }
 .renter-page .auth-shell { padding:24px 18px; }
}

/* Primary links must retain button contrast inside operational panels. */
.renter-page .ops-panel a.button:not(.button-outline):not(.secondary-button) { color: #fff; }
