:is(.workspace-streak-banner,.workspace-sidebar-streak,.workspace-streak-dialog){--streak-empty:var(--dk-raised);--streak-empty-ledge:var(--dk-border);--streak-empty-ink:var(--dk-muted);--streak-surface:var(--dk-workspace-surface,var(--dk-bg));--streak-pending:color-mix(in oklab, var(--streak-face) 22%, var(--streak-surface));--streak-pending-ledge:color-mix(in oklab, var(--streak-face) 46%, var(--streak-surface));--streak-pending-ink:var(--streak-ledge);--streak-cell-face:var(--streak-face);--streak-cell-ledge:var(--streak-ledge);--streak-cell-ink:var(--streak-ink)}@supports (color:oklab(from red l a b)){:is(.workspace-streak-banner,.workspace-sidebar-streak){--streak-empty-ledge:oklab(from var(--dk-raised) calc(l - .1 + clamp(0, (.42 - l) * 1000, 1) * (.35 - .3095 * l)) calc(a * (clamp(0, (.42 - l) * 1000, 1) + clamp(0, (l - .42) * 1000, 1) * (l - .1) / max(l, .01))) calc(b * (clamp(0, (.42 - l) * 1000, 1) + clamp(0, (l - .42) * 1000, 1) * (l - .1) / max(l, .01))))}}.streak-num{--streak-num-ring:var(--streak-count-ring,var(--streak-ring));font-family:var(--dk-font-sans);font-variant-numeric:lining-nums;-webkit-user-select:none;user-select:none;flex:none;font-weight:700;display:block;overflow:visible}.streak-num-base{fill:var(--streak-num-ring);stroke:var(--streak-num-ring)}.streak-num-face{fill:var(--streak-cream);stroke:var(--streak-cream)}.streak-fire{flex:none;display:inline-grid;position:relative}.streak-fire-tongues{height:0;position:absolute;bottom:.3em;left:.1em;right:.1em}.streak-fire-tongue{aspect-ratio:40/60;transform-origin:50% 100%;width:auto;position:absolute;bottom:0;overflow:visible;transform:translate(-50%)}.streak-fire-outer{fill:var(--streak-fire);stroke:var(--streak-fire);stroke-width:8px;stroke-linejoin:round}.streak-fire-inner{fill:var(--streak-fire-inner);stroke:var(--streak-fire-inner);stroke-width:3px;stroke-linejoin:round}.streak-fire>.streak-num{position:relative}.streak-fire.is-cold{filter:saturate(.45);opacity:.8}@media (prefers-reduced-motion:no-preference){.streak-fire:not(.is-cold) .streak-fire-tongue{animation:streak-tongue var(--streak-tongue-time,1.8s) ease-in-out infinite;animation-delay:var(--streak-tongue-delay,0s)}.streak-fire:not(.is-cold) .streak-fire-inner{transform-box:fill-box;transform-origin:50% 100%;animation:streak-flicker calc(var(--streak-tongue-time,1.8s) * .7) ease-in-out infinite;animation-delay:var(--streak-tongue-delay,0s)}}@keyframes streak-tongue{0%,to{transform:translate(-50%)scaleY(1)skew(0)}22%{transform:translate(-50%)scaleY(1.2)skew(-6deg)}48%{transform:translate(-50%)scaleY(.86)skew(3deg)}74%{transform:translate(-50%)scaleY(1.1)skew(6deg)}}@keyframes streak-flicker{0%,to{transform:scale(1)}50%{transform:scale(.9,1.08)}}.streak-week{flex:none;display:flex}.streak-week-day{justify-items:center;gap:max(3px, calc(var(--streak-cell) * .16));display:grid;position:relative}.streak-cell{flex:none;display:block;overflow:visible}.streak-cell-face{fill:var(--streak-empty)}.streak-cell-ledge{fill:var(--streak-empty-ledge)}.streak-cell:is([data-state=done],[data-state=today]) .streak-cell-face{fill:var(--streak-day-face,var(--streak-cell-face))}.streak-cell:is([data-state=done],[data-state=today]) .streak-cell-ledge{fill:var(--streak-day-ledge,var(--streak-cell-ledge))}.streak-cell[data-state=pending] .streak-cell-face{fill:var(--streak-pending)}.streak-cell[data-state=pending] .streak-cell-ledge{fill:var(--streak-pending-ledge)}.streak-cell-check{fill:none;stroke:var(--streak-day-ink,var(--streak-cell-ink));stroke-linecap:round;stroke-linejoin:round}.streak-cell-letter{fill:var(--streak-empty-ink);font-family:var(--dk-font-sans);font-weight:700}.streak-cell:is([data-state=done],[data-state=today]) .streak-cell-letter{fill:var(--streak-day-ink,var(--streak-cell-ink))}.streak-cell[data-state=pending] .streak-cell-letter{fill:var(--streak-pending-ink)}.streak-week-name{color:var(--dk-faint);font-size:clamp(10px, calc(var(--streak-cell) * .42), 13px);font-weight:500;line-height:1}.streak-week-tag{white-space:nowrap;position:absolute;bottom:calc(100% + 7px);left:50%;translate:-50%}.streak-lockup{align-items:flex-end;display:flex}.workspace-thread .thread-bottom>button.workspace-streak-banner{flex:none;align-self:center;margin-top:12px}.workspace-streak-banner{border-radius:var(--dk-radius-control,14px);color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 8px 6px}.workspace-streak-banner:focus-visible,.workspace-sidebar-streak:focus-visible{box-shadow:var(--dk-focus-halo);outline:none}@media (prefers-reduced-motion:no-preference){.workspace-streak-banner{transition:translate .13s}.workspace-streak-banner:active{translate:0 1px}}.workspace-sidebar-streak{--streak-surface:var(--dk-sidebar-canvas,var(--dk-bg));border-radius:var(--dk-radius-chrome-control,18px);width:calc(100% - 16px);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;margin:2px 8px 6px;padding:12px 12px 8px 9px;display:flex}@media (hover:hover){.workspace-sidebar-streak:hover{background:var(--dk-sidebar-hover,var(--dk-raised))}}.workspace-dialog.workspace-streak-dialog{--streak-surface:var(--streak-face);--streak-count-ring:var(--streak-ledge);--streak-cell-face:var(--streak-cream);--streak-cell-ledge:var(--streak-cream-ledge);--streak-cell-ink:var(--streak-mark);--streak-empty:var(--streak-ledge);--streak-empty-ledge:var(--streak-empty-on);--streak-pending:var(--streak-pending-on);--streak-pending-ledge:var(--streak-ledge);background:var(--streak-face);width:min(384px,100vw - 32px);color:var(--streak-on);text-align:center;flex-direction:column;align-items:center;padding:26px 24px 24px;display:flex;overflow:hidden auto}.workspace-dialog.workspace-streak-dialog h2{color:var(--streak-on);letter-spacing:-.01em;margin:18px 0 0;font-size:22px;font-weight:600;line-height:1}.workspace-streak-dialog .streak-dialog-close{z-index:2;color:var(--streak-on);position:absolute;top:12px;right:12px}@media (hover:hover){.workspace-streak-dialog .streak-dialog-close:hover{background:var(--streak-ledge);color:var(--streak-on)}}.streak-hero{flex:none;place-items:end center;width:100%;height:204px;display:grid;position:relative}.streak-hero-number{position:absolute;bottom:4px;left:50%;translate:-30%;rotate:5deg}.streak-hero:not([data-figures="1"]) .streak-hero-number{translate:-40%}.streak-hero-buffy{width:112px;margin-right:104px;position:relative}.streak-hero[data-figures="2"] .streak-hero-buffy{margin-right:168px}.streak-hero:is([data-figures="3"],[data-figures="4"]) .streak-hero-buffy{margin-right:200px}.streak-dialog-week{flex:none;margin-top:46px}.workspace-streak-dialog .streak-week-name{color:var(--streak-on)}.workspace-streak-dialog .streak-week-day:is([data-state=today],[data-state=pending]) .streak-week-name{font-weight:700}.streak-xp-tag{--dk-surface-depth:1;border:1px solid var(--streak-cream-ledge);border-radius:var(--dk-radius-inline,8px);background:var(--streak-cream);height:22px;color:var(--streak-deep);font-variant-numeric:tabular-nums;align-items:center;padding:0 8px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.streak-xp-tag[data-pending]{--dk-surface-depth:0;background:var(--streak-ledge);color:var(--streak-on);border-color:#0000}.streak-card{--dk-surface-depth:1;box-sizing:border-box;border:1px solid var(--streak-cream-ledge);border-radius:var(--dk-radius-block,18px);background:var(--streak-cream);width:100%;color:var(--streak-card-ink);text-align:left;flex:none;gap:14px;margin-top:20px;padding:12px 14px;display:grid}.streak-card-row{align-items:center;gap:12px;min-width:0;min-height:48px;display:flex}.streak-card-row+.streak-card-row{border-top:1px solid color-mix(in oklab, var(--streak-card-ink) 14%, transparent);padding-top:14px}.streak-card-stone{flex:none;display:block}.streak-card-stone>.xp-stone{--xp-depth:5;--xp-face:var(--streak-face);--xp-ring:var(--streak-face);--xp-side:var(--streak-ledge);--xp-ink:var(--streak-ink)}.streak-card-body{flex:1;gap:7px;min-width:0;display:grid}.streak-card-body strong{white-space:nowrap;font-size:15px;font-weight:600;line-height:1.25;overflow:hidden}.streak-card-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.streak-card-head>b{color:var(--streak-deep);font-variant-numeric:tabular-nums;flex:none;font-size:13px;font-weight:700}.streak-card-progress{align-items:center;gap:10px;display:flex}.streak-card-bar{background:color-mix(in oklab, var(--streak-card-ink) 14%, transparent);border-radius:3px;flex:1;height:6px;overflow:hidden}.streak-card-bar>span{width:calc(var(--streak-fraction,0) * 100%);border-radius:inherit;background:var(--streak-mark);min-width:6px;height:100%;display:block}.streak-card-count{color:color-mix(in oklab, var(--streak-card-ink) 72%, transparent);font-variant-numeric:tabular-nums;flex:none;font-size:12px}.streak-card-count b{color:var(--streak-card-ink);font-weight:600}.workspace-streak-dialog .streak-dialog-cta{--dk-primary-action:var(--streak-cream);--dk-primary-action-text:var(--streak-deep);flex:none;width:100%;margin-top:22px}
