/* PRIVATE 10:16 owner literal-copy review: paper + vermillion/gold retained.
   Native HTML text; no image edits, no layout screenshot wallpaper, no hidden text. */
.phone .r4-home-title,.phone .r4c-top h1,.phone .reportHero h2,
.phone .r4c-screen b,.phone .r4c-screen span,.phone .r4c-screen button,
.phone .r4-home-house b,.phone .r4c-floor-check,.phone .r4-home-intro,
.phone .r4c-sheet button,.phone .r4c-sheet p {white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
.phone .r4c-top h1{line-height:1.2;letter-spacing:-.025em}
.phone .r4c-screen .r4c-primary,.phone .sticky-action .r4c-primary{min-height:48px;height:auto;line-height:1.28;padding-block:10px}
.phone .r4c-screen .r4c-two-actions button,.phone .r4c-screen .r4c-yes-no button{min-height:44px;height:auto;line-height:1.3;padding:9px 6px}
.phone .r4c-screen .r4c-file-pick{height:auto;min-height:52px;padding-block:8px}
.phone .r4c-screen .r4c-task-row label,.phone .r4c-screen .r4c-task-row button{min-height:44px;height:auto;line-height:1.35}
.phone .r4c-screen .r4c-task-row{align-items:stretch;min-height:52px}
.phone .r4c-screen .r4c-task-list{min-height:0}
.phone .r4c-sheet-editor .r4c-edit-body{overflow-y:auto}
.phone .r4c-sheet .r4c-manager-list button{height:auto;min-height:44px;white-space:normal}
.phone .r4c-sheet .r4c-seg button{min-height:44px;height:auto}
.phone .r4c-processing-card{gap:7px;padding-block:12px}
.phone .r4c-info-two>div{min-height:50px}
.phone .r4-copy-payment-legends{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.phone .r4-copy-payment-legends span{border:1px solid #d9b079;border-radius:12px;background:#fff7e9;padding:5px;color:#a04c35;line-height:1.4}
.phone .r4c-task-row label{flex:1 1 65%}.phone .r4c-task-row button{flex:0 0 28%;min-width:76px}
.phone .r4c-sheet-pdf .r4c-pdf-toolbar button{min-height:44px;height:auto}
@media(max-height:735px){
 .phone .r4c-top{margin-bottom:3px}.phone .r4c-screen .r4c-top>p:last-child{line-height:1.35;margin-block:3px}
 .phone .r4c-screen .r4c-task-list{max-height:29vh;overflow:auto;overscroll-behavior:contain}
 .phone .r4c-processing-card .r4c-demo-medallion{width:50px;height:50px}
}
@media(max-width:375px){.phone .r4c-screen .r4c-file-pick span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.phone .r4c-screen *{transition:none!important}}

/* Local patch02: unlock remains a long-scroll page; its scrollport ends above
   the measured sticky footer so summary/buttons can scroll fully into view. */
.phone[data-route="unlock"] .page{
 max-height:var(--r4-copy-unlock-page-height,none);
 padding-bottom:16px;scroll-padding-bottom:16px;
}
.phone[data-route="unlock"] .sticky-action{
 bottom:max(6px,env(safe-area-inset-bottom,0px));
}

/* Local patch05: reclaim only inter-section whitespace on short multi-floor
   upload screens. Keep every text line, control size and footer safe area. */
@media(max-height:735px){
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4c-top{margin-bottom:2px}
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4-region-switch{margin-block:2px}
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4c-line-label{margin-block:2px}
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4c-summary-row{margin-block:2px}
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4c-floor-tabs{margin-block:2px}
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4c-truth{margin-top:2px}
}
@media(max-height:735px) and (max-width:375px){
 /* The footer caption legitimately occupies two lines at 360px. Recover
    wrapper whitespace instead; all44/48px controls retain their hit areas. */
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4-region-switch{padding-block:0}
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4c-line-label{margin-bottom:0}
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4c-summary-row{margin-top:1px}
 .phone[data-route="housing"] .r4c-housing:has(>.r4c-floor-tabs) .r4c-truth{margin-top:1px}
}
