/* Cover focal point picker (assets/js/cover-focus.js, includes/pages/cover-focus.php). Same card, type and buttons as the crop step (ld-crop.css). */
html.ld-cf-lock{overflow:hidden}
.ld-cf[hidden]{display:none!important}
.ld-cf{margin:10px 0 0}
.ld-cf .ld-cf__btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:1px solid #DCE1EC!important;border-radius:999px;background:#fff!important;color:var(--ld-ink,#0B0D1A)!important;font:600 14px/1 var(--ld-text,Inter,sans-serif);white-space:nowrap;cursor:pointer;box-shadow:none!important;transition:transform .15s}
.ld-cf .ld-cf__btn:active{transform:scale(.96)}
.ld-cf .ld-cf__btn svg{flex:none;color:var(--ld-electric,#3D6BFF)}
.ld-cf .ld-cf__btn:focus-visible{outline:2px solid var(--ld-electric,#3D6BFF);outline-offset:2px}
.ld-cf.is-set .ld-cf__btn{border-color:var(--ld-electric,#3D6BFF)!important}
/* on the group form it sits under the header card */
.ldgf-hd + .ld-cf{margin:12px 0 4px}

.ld-cf-sheet{position:fixed;inset:0;z-index:100002;display:grid;place-items:center;padding:16px;background:rgba(11,13,26,.6);overflow-y:auto}
.ld-cf-sheet__card{width:min(100%,560px);padding:20px;border-radius:20px;background:#fff;box-shadow:0 30px 60px -20px rgba(11,13,26,.5)}
.ld-cf-sheet__t{margin:0;font:700 19px/1.2 var(--ld-heading,'Inter Tight',sans-serif);color:var(--ld-ink,#0B0D1A)}
.ld-cf-sheet__s{margin:4px 0 14px;font:500 14px/1.4 var(--ld-text,Inter,sans-serif);color:#667089}
.ld-cf-sheet__stage{position:relative;display:flex;justify-content:center;border-radius:12px;background:#F3F5FA;touch-action:none;cursor:crosshair;outline:0}
.ld-cf-sheet__stage:focus-visible{box-shadow:0 0 0 2px var(--ld-electric,#3D6BFF)}
.ld-cf-sheet__stage img{display:block;max-width:100%!important;max-height:min(38vh,300px);width:auto;height:auto;border-radius:12px;user-select:none;-webkit-user-drag:none;pointer-events:none}
/* the pin sits on the picture itself: the stage wraps the image exactly, so % positions are % of the photo */
.ld-cf-sheet__stage{width:fit-content;max-width:100%;margin:0 auto}
.ld-cf-sheet__pin{position:absolute;display:grid;place-items:center;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:999px;background:var(--ld-electric,#3D6BFF);color:#fff;box-shadow:0 0 0 3px #fff,0 6px 16px -4px rgba(11,13,26,.6);pointer-events:none}
.ld-cf-sheet__pin svg{width:20px;height:20px}
.ld-cf-sheet__pv{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px;align-items:end;margin:16px 0 0}
.ld-cf-sheet__pv figure{margin:0;min-width:0}
.ld-cf-pv{overflow:hidden;width:100%;border-radius:10px;background:#F3F5FA;box-shadow:inset 0 0 0 1px rgba(11,13,26,.08)}
.ld-cf-pv img{display:block;width:100%;height:100%;object-fit:cover}
.ld-cf-sheet__pv figcaption{margin-top:6px;font:600 12px/1 var(--ld-text,Inter,sans-serif);color:#667089;text-align:center}
.ld-cf-sheet__acts{display:flex;gap:10px;margin-top:18px}
.ld-cf-sheet__acts button{flex:1;height:48px;border:0;border-radius:999px;font:650 15px var(--ld-text,Inter,sans-serif);cursor:pointer;transition:transform .15s}
.ld-cf-sheet__acts button:active{transform:scale(.96)}
.ld-cf-sheet .ld-cf-sheet__acts .ld-cf-sheet__ok,.ld-cf-sheet .ld-cf-sheet__acts .ld-cf-sheet__ok:is(:hover,:focus,:active){background:var(--ld-electric,#3D6BFF)!important;color:#fff!important;border:0!important;box-shadow:none!important}
.ld-cf-sheet .ld-cf-sheet__acts .ld-cf-sheet__no,.ld-cf-sheet .ld-cf-sheet__acts .ld-cf-sheet__no:is(:hover,:focus,:active){background:#F3F5FA!important;color:var(--ld-ink,#0B0D1A)!important;border:0!important;box-shadow:none!important}
.ld-cf-sheet__acts button:focus-visible{outline:2px solid var(--ld-electric,#3D6BFF)!important;outline-offset:2px}
@media (max-width:600px){
  .ld-cf-sheet{place-items:end center;padding:0}
  .ld-cf-sheet__card{width:100%;border-radius:20px 20px 0 0;padding:18px 16px calc(16px + env(safe-area-inset-bottom))}
}
.ld-cf-sheet__card:focus{outline:0}
/* inside the welcome cards (welcome-tour.css sizes every .ldob img): the previews still fill their boxes */
.ld-cf-sheet .ld-cf-pv img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:0!important}
