/* Pin contents keep map context, readable rows and persistent actions. */
.yard-sheet:not(.yard-mobile-strip){overflow:hidden}
.yard-sheet:not(.yard-mobile-strip) header{flex-shrink:0}
.yard-sheet:not(.yard-mobile-strip) header>div{min-width:0;flex:1}
.yard-sheet:not(.yard-mobile-strip) h2{overflow-wrap:anywhere}
.yard-sheet:not(.yard-mobile-strip) .yard-sheet-scroll{min-height:0;overflow:auto;overscroll-behavior:contain}
.yard-sheet:not(.yard-mobile-strip)>.yard-sheet-actions{flex-shrink:0;display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px;margin:0;border-top:1px solid #ffffff20;background:#111f2b}
.yard-sheet:not(.yard-mobile-strip)>.yard-sheet-actions button{width:auto;flex:1 1 120px;min-height:44px;white-space:normal}
.yard-location-sheet .yard-sheet-row{display:grid;width:100%!important;grid-template-columns:64px minmax(0,1fr) 20px;gap:12px;min-height:88px;padding:12px 0}
.yard-location-sheet .yard-content-thumb{display:block;width:64px;height:64px;overflow:hidden;border-radius:10px;background:#263b49}
.yard-location-sheet .yard-content-thumb img,.yard-location-sheet .yard-content-thumb .field-photo{display:block;width:64px!important;height:64px!important;max-width:64px;object-fit:cover;margin:0}
.yard-location-sheet .yard-content-copy{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.yard-location-sheet .yard-content-copy{text-align:left}
.yard-sheet.yard-location-sheet{z-index:10}
.yard-location-sheet .yard-content-copy strong{display:block;font-size:15px}
.yard-location-sheet .yard-content-copy small{display:block;margin-top:4px;line-height:1.4;font-size:12px}
.yard-location-sheet h3{font-size:16px;margin:12px 0 0}
.yard-location-sheet h3 small{font-size:12px;font-weight:400;color:#a6bdcb}
.yard-location-sheet .yard-sheet-row>.icon{width:20px;flex-shrink:0}
.yard-location-sheet button:focus-visible{outline:2px solid #bfe9ff;outline-offset:-2px}
@media(min-width:761px){
 .yard-sheet.yard-location-sheet{left:auto;right:16px;top:16px;bottom:auto;width:min(420px,46%);max-height:min(calc(100% - 32px),calc(100dvh - 190px));border:1px solid #4a6574;border-radius:18px}
 .yard-location-sheet .yard-sheet-handle{display:none}
 .yard-location-sheet header{padding:16px 18px 12px}
 .yard-location-sheet .yard-sheet-scroll{padding:0 18px 16px}
 .yard-location-sheet header h2{font-size:24px}
 .yard-map-app:has(.yard-location-sheet) .yard-map-top{right:calc(min(420px,46%) + 32px);max-width:none}
 .yard-map-app:has(.yard-location-sheet) .yard-map-tools{right:auto;left:16px;top:190px;bottom:auto;width:110px;align-items:flex-start}
 .yard-map-app:has(.yard-location-sheet) .yard-map-manage-tools{display:none}
}

/* An unverified position stays a review task, never an inferred stock move. */
.yard-location-review{display:grid;gap:var(--yt-s2);margin:var(--yt-s3) 0;padding:var(--yt-s3);border:1px solid var(--yt-border-strong);border-radius:var(--yt-r2);background:var(--yt-surface-2);overflow-wrap:anywhere}
.yard-location-review p{margin:0;font-size:13px;line-height:1.45;color:var(--yt-text-2)}
.yard-location-review button{width:100%;min-height:var(--yt-control);white-space:normal;overflow-wrap:anywhere;text-align:left}
