/* Owner 08:00 targeted repair. Normal screen density preserved. */
.phone:not([data-route="home"]) #masthead{padding-left:12px;padding-right:12px;gap:7px}
.phone:not([data-route="home"]) .back-circle{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;border:1px solid #e9bd7f;border-radius:50%;display:grid;place-items:center;line-height:1}
.phone .back-circle svg{display:block;width:20px;height:20px;pointer-events:none}
.phone[data-route="home"] .r4-dots,.phone[data-route="home"] .homeMenu{display:none!important}
.r4c-floor-check{width:100%;min-height:44px;margin:5px 0 4px;border:1px dashed #dab486;border-radius:12px;background:#fffbf3;color:#986349;font-size:12px;font-weight:650;padding:9px 10px;text-align:center}
.r4c-floor-check:focus-visible{outline:2px solid #b80f2b;outline-offset:2px}
/* PDF page selector uses the same compact scrollable sheet as existing manual editor. */
.r4c-sheet-pdf{height:min(640px,calc(var(--r4c-visible-height,700px) - 12px));max-width:100%}
.r4c-pdf-body{overflow-y:auto;overflow-x:hidden;min-height:0;padding:10px 14px;display:grid;gap:9px;align-content:start;overscroll-behavior:contain}
.r4c-pdf-body p{font-size:12px;color:#8c705b;line-height:1.55;margin:0}
.r4c-pdf-map{display:grid;grid-template-columns:minmax(0,1fr) 126px;gap:7px;align-items:center}
.r4c-pdf-map label{font-size:12px;font-weight:700;color:#513c2b}
.r4c-pdf-map select{width:100%;min-width:0;min-height:44px;border:1px solid #d7b589;border-radius:9px;background:#fffef9;color:#513c2b;padding:6px 8px;font-size:12px}
.r4c-pdf-preview{border:1px solid #e0c6a5;border-radius:10px;background:#fff;display:grid;place-items:center;overflow:hidden;min-height:110px;max-height:228px}
.r4c-pdf-preview canvas{display:block;width:auto;height:auto;max-width:100%;max-height:226px;object-fit:contain}
.r4c-pdf-error{color:#b11d31!important;min-height:20px;font-size:12px}
.r4c-pdf-toolbar{display:flex;gap:6px;align-items:center;justify-content:space-between}
.r4c-pdf-toolbar button,.r4c-pdf-toolbar select{min-width:44px;min-height:44px;border:1px solid #dbba8e;border-radius:10px;background:#fffefa;color:#754a37;padding:7px}
.r4c-sheet-pdf footer{display:flex;gap:6px;align-items:center}
.r4c-sheet-pdf footer button{flex:1;min-height:48px;border-radius:99px;background:#fff8eb;border:1px solid #e1bd8a;color:#93533c;font-weight:750}
.r4c-sheet-pdf footer .r4c-primary{flex:2;background:#bc1028;color:white}
@media(max-width:375px){.r4c-pdf-map{grid-template-columns:1fr 110px}.phone:not([data-route="home"]) #masthead{padding:5px 9px;gap:6px}}

/* Owner selected B: original editable compass SVG; keep native wordmark. */
.phone img.r4-logo-B{display:block;object-fit:contain;flex-shrink:0;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
