/* Progress and Data headers, and zoom (not glow) when you point at a choice. Loaded last. */

/* ---------- Back button: a clear boxed button, up in the left corner ---------- */
html body #progressPage#progressPage #progressGoalsBack:not(.hidden){justify-content:flex-start!important;margin:-4px 0 18px!important}
html body[data-progress-area] #progressPage#progressPage#progressPage#progressPage#progressPage #progressGoalsBack#progressGoalsBack>button.ly-back{display:inline-flex!important;align-items:center;gap:14px;min-height:60px!important;margin:0!important;padding:8px 24px 8px 9px!important;border-radius:18px!important;
 background:rgba(255,255,255,.06)!important;border:1.5px solid rgba(255,255,255,.22)!important;box-shadow:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:17px!important;font-weight:800!important;line-height:1.2;white-space:nowrap;transition:scale .18s cubic-bezier(.34,1.56,.64,1),border-color .18s,background .18s}
html body[data-progress-area] #progressPage#progressPage#progressPage#progressPage#progressPage #progressGoalsBack#progressGoalsBack>button.ly-back:is(:hover,:focus-visible){scale:1.06;background:rgba(255,255,255,.12)!important;border-color:#fff!important}
html body #progressGoalsBack .ly-back-box{display:grid;place-items:center;box-sizing:border-box;width:42px;height:42px;border-radius:12px;background:transparent;border:1.5px solid rgba(255,255,255,.35)}
html body #progressGoalsBack .ly-back-box svg{width:24px!important;height:24px!important;fill:none;stroke:#fff!important;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
html body #progressGoalsBack svg.ly-back-data{width:28px!important;height:28px!important;flex:none;margin:0!important;fill:none!important;stroke:currentColor!important;stroke-width:2.4!important;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="light"] body #progressPage#progressPage #progressGoalsBack>button.ly-back{background:#fff!important;border-color:rgba(0,0,0,.16)!important;color:#14151b!important;-webkit-text-fill-color:#14151b!important}
html[data-theme="light"] body #progressGoalsBack .ly-back-box{border-color:rgba(0,0,0,.3)}
html[data-theme="light"] body #progressGoalsBack .ly-back-box svg{stroke:#14151b!important}

/* ---------- Area title: icon in a box, no line of text underneath ---------- */
html body:is([data-progress-area="data"],[data-progress-area="progress"]) #progressPage#progressPage>.ly-section-hero p{display:none!important}
html body:is([data-progress-area="data"],[data-progress-area="progress"]) #progressPage#progressPage>.ly-section-hero h1{display:flex!important;align-items:center;gap:16px}
html body[data-progress-area][data-section] #progressPage#progressPage#progressPage#progressPage>.ly-section-hero h1 svg.ly-data-title-ic.ly-data-title-ic{width:64px!important;height:64px!important;flex:none;box-sizing:border-box!important;margin:0!important;padding:14px!important;border-radius:18px!important;background:rgba(165,180,252,.16)!important;border:1.5px solid rgba(165,180,252,.6)!important;color:#fff!important;stroke:#fff!important;stroke-width:2.4!important}
html[data-theme="light"] body #progressPage#progressPage>.ly-section-hero h1 svg.ly-data-title-ic{background:#14151b;border-color:#14151b}

/* ---------- Pointing at a choice makes it bigger (no glow) ---------- */
html body .ly-dw-dialog .ly-dw-tcard.ly-dw-tcard{transition:scale .2s cubic-bezier(.34,1.56,.64,1),border-color .2s,background .2s,box-shadow .2s!important}
html body .ly-dw-dialog .ly-dw-tcard.ly-dw-tcard:is(:hover,:focus-visible),
html body dialog.tidy-picker.tidy-picker .grid button.tidy-choice:is(:hover,:focus-visible){scale:1.09;translate:none;z-index:3;border-color:var(--tc,var(--c,#fff))!important;border-width:2px!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 18px 36px rgba(0,0,0,.5)!important}
html body .ly-dw-dialog .ly-dw-tcard.ly-dw-tcard:is(:hover,:focus-visible){background:radial-gradient(90% 80% at 0% 0%,color-mix(in srgb,var(--tc,#fff) 30%,transparent),transparent 70%),#1c1f2e!important}
html body dialog.tidy-picker.tidy-picker .grid button.tidy-choice:is(:hover,:focus-visible){background:radial-gradient(90% 80% at 0% 0%,color-mix(in srgb,var(--c,#fff) 32%,transparent),transparent 70%),#1c1f2e!important}
html body dialog.tidy-picker.tidy-picker .grid{padding:12px 14px}
html body #gymPage .ss-results .strength-signal-kpi{transition:scale .2s cubic-bezier(.34,1.56,.64,1),border-color .2s}
html body #gymPage .ss-results .strength-signal-kpi:hover{scale:1.07;box-shadow:0 14px 30px rgba(0,0,0,.4)!important;border-color:rgba(255,255,255,.6)!important;position:relative;z-index:2}

/* ---------- Bigger close crosses ---------- */
html body .ly-dw-dialog .ly-dw-dialog-head button.ly-dw-icon-btn:not(#_):not(#__){width:54px!important;height:54px!important;min-height:54px!important;border-radius:16px!important;background:rgba(255,255,255,.1)!important;border:1.5px solid rgba(255,255,255,.28)!important;color:#fff!important}
html body .ly-dw-dialog .ly-dw-dialog-head button.ly-dw-icon-btn:not(#_):not(#__) svg{width:30px!important;height:30px!important;stroke-width:2.6}
html body .ly-dw-dialog .ly-dw-dialog-head button.ly-dw-icon-btn:not(#_):not(#__):hover{scale:1.08;background:rgba(255,255,255,.2)!important}
html body dialog.tidy-picker.tidy-picker .tidy-close{width:52px;height:52px;min-height:52px;border-radius:16px!important;font-size:34px}

/* ---------- More air under "Your personal command center" on every section ---------- */
html body .layout>.main>.top.top{margin-bottom:36px!important}

/* ---------- Confirm pop-up that opens above another window (for example Empty Trash) ---------- */
dialog.ly-top-confirm{box-sizing:border-box;width:min(440px,calc(100vw - 28px));padding:26px;border-radius:24px;color:#fff;background:rgba(18,20,30,.96);border:1.5px solid rgba(255,255,255,.22);box-shadow:0 30px 80px rgba(0,0,0,.6)}
dialog.ly-top-confirm::backdrop{background:rgba(3,4,10,.65)}
dialog.ly-top-confirm h2{margin:0 0 10px;font-size:22px}
dialog.ly-top-confirm p{margin:0;color:#d5d8e8;font-size:15px}
dialog.ly-top-confirm div{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
html body dialog.ly-top-confirm button{min-height:48px;padding:0 22px!important;border-radius:14px!important;font-size:15px;font-weight:850!important;background:rgba(255,255,255,.1)!important;border:1.5px solid rgba(255,255,255,.24)!important;color:#fff!important;box-shadow:none!important;cursor:pointer}
html body dialog.ly-top-confirm button.ly-top-delete{background:#dc2626!important;border-color:#dc2626!important}
