.ydf-habits{--ydf-habit-line:color-mix(in srgb,currentColor 20%,transparent);color:inherit}.ydf-habits *{box-sizing:border-box}.ydf-habits h2,.ydf-habits h3{color:inherit}.ydf-habits-head{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.ydf-habits-head h2{margin:.2em 0}.ydf-habits-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:700}.ydf-habits-head nav{display:flex;align-items:center;gap:1rem}.ydf-habits-head nav a{display:grid;place-items:center;width:2.2rem;height:2.2rem;border:1px solid var(--ydf-habit-line);border-radius:50%;color:inherit;text-decoration:none;font-size:1.5rem}.ydf-habit-group+.ydf-habit-group{margin-top:2rem}.ydf-habit-group h3{margin:.2rem 0 .8rem}.ydf-habit-row{padding:.65rem 0;border-top:1px solid var(--ydf-habit-line)}.ydf-habit-label{font-weight:650;margin-bottom:.5rem}.ydf-habit-cells{display:flex;gap:.25rem;overflow-x:auto;padding-bottom:.4rem}.ydf-habit-cells label{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:.25rem;min-width:2.75rem;font-size:.82rem;cursor:pointer}.ydf-habit-cells input{appearance:none;width:1.55rem;height:1.55rem;border:2px solid currentColor;border-radius:50%;background:transparent;cursor:pointer;opacity:.65}.ydf-habit-cells input:checked{background:var(--secondary-color,#557e92);box-shadow:inset 0 0 0 3px var(--card-bg,#fff);opacity:1}.ydf-habits :focus-visible{outline:3px solid currentColor;outline-offset:2px}.ydf-habits-checks>.btn-primary{margin-top:1.4rem}.ydf-habits-manage{margin-top:1.4rem}.ydf-habits-manage summary{cursor:pointer;font-weight:700}.ydf-habits-manage-inner{padding-top:1rem}.ydf-habits-manage input,.ydf-habits-manage select{width:100%;min-width:0}.ydf-habits-manage label{display:block;min-width:0}.ydf-habit-add,.ydf-habit-manage-row,.ydf-habit-manage-row form{display:flex;align-items:end;gap:.5rem}.ydf-habit-add label{flex:1}.ydf-habit-manage-row{margin:.5rem 0}.ydf-habit-manage-row form:first-child{flex:1}.ydf-habit-manage-row form:first-child input{flex:1;min-width:0}.ydf-habits-message{padding:.8rem 1rem;border:1px solid var(--ydf-habit-line);border-radius:.6rem}.ydf-habits .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:650px){.ydf-habit-add,.ydf-habit-manage-row{align-items:stretch;flex-direction:column}.ydf-habit-manage-row form{width:100%}.ydf-habit-cells label{min-width:2.5rem}}

@media(forced-colors:active){.ydf-habit-cells input{appearance:auto;opacity:1;box-shadow:none}}

.ydf-habits-progress{margin:0 0 1rem;color:var(--muted,currentColor)}
.ydf-habit-manage-row>span{flex:1}

.ydf-habits-head nav a{font-size:.85rem}
.ydf-habits-progress{display:grid;gap:.4rem;margin-bottom:1.2rem}
.ydf-habits-progress p{margin:0}
.ydf-habits-progress progress{display:block;width:100%;height:.65rem;overflow:hidden;border:0;border-radius:999px;accent-color:var(--ui-primary-background,var(--secondary-color,#557e92));background:var(--ydf-habit-line)}
.ydf-habits-progress progress::-webkit-progress-bar{background:var(--ydf-habit-line)}
.ydf-habits-progress progress::-webkit-progress-value{background:var(--ui-primary-background,var(--secondary-color,#557e92));border-radius:999px}
.ydf-habits-progress progress::-moz-progress-bar{background:var(--ui-primary-background,var(--secondary-color,#557e92));border-radius:999px}
.ydf-habit-group h3{display:flex;align-items:center;gap:.55rem;padding-bottom:.55rem;border-bottom:1px solid var(--ydf-habit-line)}
.ydf-habit-group h3 i{color:var(--link-color,currentColor);font-size:.85em}
.ydf-habit-row{padding:.8rem 0;border-top:0;border-bottom:1px solid var(--ydf-habit-line)}
.ydf-habit-cells{gap:.35rem;padding:.25rem 0 .55rem}
.ydf-habit-cells label{position:relative;flex:0 0 2.3rem;min-width:2.3rem;gap:.35rem;margin:0;line-height:1.2}
.ydf-habit-day-label{font-size:.7rem;font-weight:700;opacity:.78}
.ydf-habit-cells input[type=checkbox]{position:absolute;width:1px;min-width:1px;max-width:1px;height:1px;min-height:1px;margin:0;padding:0;border:0;opacity:0;clip-path:inset(50%);overflow:hidden}
.ydf-habit-mark{display:grid;place-items:center;flex:none;width:1.6rem;height:1.6rem;border:2px solid color-mix(in srgb,var(--ui-field-border,#8a8a8a) 45%,var(--text,#333) 55%);border-radius:.38rem;background:transparent;color:var(--ui-field-text,var(--text,inherit));transition:background-color .15s ease,border-color .15s ease,transform .15s ease}
.ydf-habit-mark i{font-size:.8rem;opacity:0}
.ydf-habit-cells label:hover .ydf-habit-mark{border-color:currentColor;transform:translateY(-1px)}
.ydf-habit-cells input:checked+.ydf-habit-mark{border-color:var(--ui-primary-border,var(--ui-primary-background,var(--secondary-color,#557e92)));background:var(--ui-primary-background,var(--secondary-color,#557e92));color:var(--ui-primary-text,#fff)}
.ydf-habit-cells input:checked+.ydf-habit-mark i{opacity:1}
.ydf-habit-cells input:focus-visible+.ydf-habit-mark{outline:3px solid var(--link-color,currentColor);outline-offset:2px}
.ydf-habits-manage summary i{margin-right:.35rem;color:var(--link-color,currentColor)}
@media(forced-colors:active){.ydf-habit-cells input[type=checkbox]{position:static;width:1.6rem;min-width:1.6rem;max-width:1.6rem;height:1.6rem;min-height:1.6rem;border:initial;opacity:1;clip-path:none}.ydf-habit-mark{display:none}}
