:root,[data-theme=dark]{--hm-0:#3b4252;--hm-1:#1c5cab;--hm-2:#2a78d6;--hm-3:#5598e7;--hm-4:#86b6ef;--hm-ink:#1d2a33;--hb-frost:#86b6ef;--leaf:#7fb069;--leaf-dry:#9c8a63;--stem:#6a9a55;--soil:#5b4636;--trunk:#8a6a4a;--seed:#b08a5e}[data-theme=light]{--hm-0:#dde3ec;--hm-1:#b7d3f6;--hm-2:#86b6ef;--hm-3:#3987e5;--hm-4:#1c5cab;--hm-ink:#fff;--hb-frost:#6da7ec;--leaf:#5a9a45;--leaf-dry:#b39f72;--stem:#4f8a3c;--soil:#7a5c45;--trunk:#8a6a4a;--seed:#a07850}.hb{max-width:760px;margin:0 auto;padding:1.5rem 0 4rem}.hb h1,.hb h2,.hb h3{margin:0}.hb-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.hb-head p{color:var(--muted);margin:.3rem 0 0}.hb-hint{color:var(--muted);margin:.4rem 0 .8rem;font-size:.88rem;line-height:1.5}.hb-level{border:1px solid var(--surface-border);background:var(--surface-glass);border-radius:16px;align-items:center;gap:.75rem;min-width:240px;padding:.6rem .9rem .6rem .6rem;display:flex}.hb-level-badge{background:var(--accent);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:3rem;height:3rem;font-size:.95rem;font-weight:800;display:grid}.hb-level-text{flex-direction:column;flex:1;gap:.25rem;min-width:0;display:flex}.hb-level-text small{color:var(--muted);font-size:.78rem}.hb-level-bar{background:var(--input-bg);border-radius:999px;height:6px;overflow:hidden}.hb-level-btn{color:var(--foreground);font:inherit;text-align:left;cursor:pointer}.hb-level-btn:hover{border-color:var(--accent-light)}.hb-level-more{color:var(--muted);align-self:flex-start;font-size:.9rem}.hb-level-bar span{border-radius:inherit;background:var(--accent-light);height:100%;transition:width .5s cubic-bezier(.16,1,.3,1);display:block}.hb-banner{border:1px solid var(--surface-border);background:var(--surface-glass);border-radius:12px;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-bottom:.75rem;padding:.7rem .9rem;font-size:.9rem;display:flex}.hb-banner>span{flex:14rem}.hb-banner.is-error{border-color:rgba(var(--danger-rgb), .6);background:rgba(var(--danger-rgb), .1)}.hb-small-btn{border:1px solid var(--surface-border);background:var(--background);color:var(--foreground);font:inherit;cursor:pointer;border-radius:999px;padding:.35rem .85rem;font-size:.85rem;font-weight:600}.hb-small-btn:hover{background:var(--surface-hover)}.hb-small-btn.is-primary{background:var(--primary-bg);border-color:var(--primary-bg);color:var(--primary-fg)}.hb-text-btn{color:var(--accent-light);font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-size:.8rem}.hb-text-btn:hover{text-decoration:underline}.hb-tabs{background:var(--input-bg);border:1px solid var(--surface-border);border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin-bottom:1.1rem;padding:.3rem;display:grid}.hb-tabs button{min-height:42px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;gap:.4rem;font-weight:600;display:flex}.hb-tabs button[aria-selected=true]{background:var(--surface-glass);color:var(--foreground);box-shadow:0 1px 0 var(--surface-border), inset 0 0 0 1px var(--surface-border)}.hb-days-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem;margin-bottom:1rem;display:grid}.hb-day-pill{border:1px solid var(--surface-border);background:var(--surface-glass);color:var(--foreground);font:inherit;cursor:pointer;isolation:isolate;border-radius:12px;flex-direction:column;align-items:center;gap:.1rem;padding:.45rem 0 .5rem;display:flex;position:relative;overflow:hidden}.hb-day-pill span{color:var(--muted);text-transform:uppercase;font-size:.7rem}.hb-day-pill strong{font-size:1rem}.hb-day-fill{z-index:-1;background:rgba(var(--accent-rgb), .4);transition:height .4s;position:absolute;bottom:0;left:0;right:0}.hb-day-pill[aria-checked=true]{border-color:var(--accent-light);box-shadow:inset 0 0 0 1px var(--accent-light)}.hb-day-head{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.6rem;display:flex}.hb-day-head h2{font-size:1.3rem}.hb-day-count{color:var(--muted);font-size:.9rem;font-weight:600}.hb-day-count.is-perfect{color:var(--success)}.hb-day-count.is-perfect:before{content:"✨ "}.hb-list{flex-direction:column;gap:.6rem;display:flex}.hb-card{border:1px solid var(--surface-border);background:var(--surface-glass);border-left:5px solid var(--hb-color);border-radius:16px;align-items:center;gap:.85rem;padding:.8rem .9rem;transition:background .25s,border-color .25s;display:flex;position:relative}.hb-card.is-done{background:color-mix(in srgb, var(--hb-color) 12%, var(--surface-glass))}.hb-card.is-slipped{border-left-color:var(--danger)}.hb-emoji{background:color-mix(in srgb, var(--hb-color) 20%, transparent);border-radius:12px;flex-shrink:0;place-items:center;width:2.6rem;height:2.6rem;font-size:1.35rem;display:grid}.hb-emoji.is-small{border-radius:9px;width:2rem;height:2rem;font-size:1.05rem}.hb-emoji.is-popped{animation:.5s cubic-bezier(.34,1.56,.64,1) hbPop}@keyframes hbPop{0%{transform:scale(1)}40%{transform:scale(1.35)rotate(-8deg)}to{transform:scale(1)}}.hb-card-text{flex-direction:column;flex:1;align-items:flex-start;gap:.15rem;min-width:0;display:flex}.hb-card-text strong{overflow-wrap:anywhere;font-size:1rem}.hb-meta{color:var(--muted);font-size:.8rem}.hb-hold,.hb-ring-btn{background:var(--input-bg);color:#fff;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border:none;border-radius:50%;flex-shrink:0;place-items:center;width:56px;height:56px;padding:0;transition:transform .15s,background .25s;display:grid;position:relative}.hb-hold svg,.hb-ring-btn svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.hb-ring-track{fill:none;stroke:var(--surface-border);stroke-width:4px}.hb-ring-fill{fill:none;stroke:var(--hb-color);stroke-width:4px;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100px;transition:stroke-dashoffset .18s}.hb-hold .hb-ring-fill{opacity:0}.hb-hold.is-holding .hb-ring-fill,.hb-hold.is-done .hb-ring-fill{opacity:1}.hb-hold.is-holding{transform:scale(.94)}.hb-hold.is-holding .hb-ring-fill{stroke-dashoffset:0;transition:stroke-dashoffset .55s linear}.hb-hold.is-done{background:var(--hb-color)}.hb-hold.is-done .hb-ring-fill{stroke-dashoffset:0}.hb-hold.is-done.is-holding{background:var(--input-bg);transition:transform .15s,background .55s linear}.hb-hold.is-done.is-holding .hb-ring-fill{stroke-dashoffset:100px;transition:stroke-dashoffset .55s linear}.hb-hold-symbol{font-size:1.5rem;font-weight:800;line-height:1;position:relative}.hb-card.is-slipped .hb-hold-symbol{color:var(--danger)}.hb-hold:focus-visible,.hb-ring-btn:focus-visible,.hb-step:focus-visible{outline:2px solid var(--accent-light);outline-offset:3px}.hb-hold:disabled,.hb-ring-btn:disabled,.hb-step:disabled{opacity:.45;cursor:default}.hb-counter{flex-shrink:0;align-items:center;gap:.4rem;display:flex}.hb-step{border:1px solid var(--surface-border);background:var(--background);width:34px;height:34px;color:var(--foreground);cursor:pointer;border-radius:50%;font-size:1.1rem}.hb-ring-btn{color:var(--foreground)}.hb-ring-btn:active{transform:scale(.94)}.hb-ring-btn .hb-ring-fill{transition:stroke-dashoffset .35s cubic-bezier(.16,1,.3,1)}.hb-ring-btn.is-done{background:var(--hb-color);color:#fff}.hb-count{font-size:.95rem;font-weight:800;position:relative}.hb-count small{opacity:.75;font-size:.7rem;font-weight:500}.hb-xp-float{pointer-events:none;color:var(--hb-color);font-size:.85rem;font-weight:800;animation:1.3s ease-out forwards hbFloat;position:absolute;top:.2rem;right:1rem}@keyframes hbFloat{0%{opacity:0;transform:translateY(6px)}20%{opacity:1}to{opacity:0;transform:translateY(-26px)}}.hb-rest{margin-top:1rem}.hb-rest>summary{cursor:pointer;color:var(--muted);padding:.4rem 0;font-size:.9rem;font-weight:600}.hb-rest .hb-list{opacity:.85;margin-top:.5rem}.hb-actions{gap:.5rem;margin-top:1.25rem;display:flex}.hb-actions .btn{flex:1}.hb-howto{text-align:center;margin-top:1rem}.hb-empty{text-align:center;padding:1.5rem 0}.hb-empty .btn{margin-top:.5rem}.hb-template-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.5rem;margin:1rem 0;display:grid}.hb-template{border:1px solid var(--surface-border);background:var(--surface-glass);color:var(--foreground);font:inherit;text-align:left;cursor:pointer;border-radius:14px;align-items:center;gap:.5rem;padding:.75rem .9rem;font-weight:600;display:flex}.hb-template:hover{background:var(--surface-hover)}.hb-template span{font-size:1.3rem}.hb-toast{left:50%;bottom:calc(1.5rem + env(safe-area-inset-bottom) + var(--dock-h,0px));z-index:1100;background:var(--primary-bg);color:var(--primary-fg);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;max-width:calc(100vw - 2rem);padding:.75rem 1.2rem;font-weight:700;animation:.35s cubic-bezier(.34,1.56,.64,1) hbToast;position:fixed;overflow:hidden;transform:translate(-50%);box-shadow:0 10px 30px #0000004d}@keyframes hbToast{0%{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%)}}.hb-sheet-backdrop{z-index:1000;background:#0000008c;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.hb-sheet{background:var(--background);border:1px solid var(--surface-border);border-bottom:none;border-radius:20px 20px 0 0;flex-direction:column;width:100%;max-width:520px;max-height:calc(100dvh - 2.5rem);animation:.22s cubic-bezier(.16,1,.3,1) hbSheetUp;display:flex;box-shadow:0 -12px 40px #0006}@media (min-width:560px){.hb-sheet-backdrop{align-items:center;padding:1.5rem}.hb-sheet{border-bottom:1px solid var(--surface-border);border-radius:20px}}@keyframes hbSheetUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}.hb-sheet-head{border-bottom:1px solid var(--surface-border);justify-content:space-between;align-items:center;gap:.75rem;padding:.9rem 1rem .75rem;display:flex}.hb-sheet-head h2{font-size:1.15rem}.hb-sheet-body{overscroll-behavior:contain;flex:1;padding:.5rem 1rem 1rem;overflow-y:auto}.hb-sheet-foot{padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom));border-top:1px solid var(--surface-border);gap:.5rem;display:flex}.hb-sheet-foot>*{flex:1}.hb-icon-btn{border:1px solid var(--surface-border);background:var(--surface-glass);width:36px;height:36px;color:var(--foreground);font:inherit;cursor:pointer;border-radius:10px;flex-shrink:0}.hb-icon-btn:hover:not(:disabled){background:var(--surface-hover)}.hb-icon-btn:disabled{opacity:.4;cursor:default}.hb-icon-btn.is-danger:hover{border-color:var(--danger)}.hb-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:1rem 0 .45rem;font-size:.75rem;font-weight:700;display:block}.hb-chips{flex-wrap:wrap;gap:.4rem;display:flex}.hb-chips.is-scroll{scrollbar-width:none;flex-wrap:nowrap;margin-bottom:1rem;padding-bottom:.2rem;overflow-x:auto}.hb-chips.is-scroll::-webkit-scrollbar{display:none}.hb-chip{border:1px solid var(--surface-border);background:var(--input-bg);min-height:38px;color:var(--foreground);font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;gap:.35rem;padding:0 .85rem;font-size:.88rem;display:inline-flex}.hb-chip[aria-pressed=true],.hb-chip[aria-selected=true]{border-color:var(--accent-light);box-shadow:inset 0 0 0 1px var(--accent-light);font-weight:600}.hb-dot{background:var(--hb-color);border-radius:50%;width:.6rem;height:.6rem;display:inline-block}.hb-emoji-row{flex-wrap:wrap;align-items:center;gap:.3rem;display:flex}.hb-emoji-pick{border:1px solid var(--surface-border);background:var(--input-bg);cursor:pointer;border-radius:10px;width:40px;height:40px;font-size:1.2rem}.hb-emoji-pick[aria-checked=true]{border-color:var(--accent-light);box-shadow:inset 0 0 0 1px var(--accent-light)}.hb .hb-emoji-input,.hb-sheet .hb-emoji-input{text-align:center;width:4.5rem;height:40px;padding:0 .5rem;font-size:1.2rem}.hb-swatches{flex-wrap:wrap;gap:.5rem;display:flex}.hb-swatch{border:2px solid var(--background);width:34px;height:34px;box-shadow:0 0 0 1px var(--surface-border);cursor:pointer;border-radius:50%}.hb-swatch[aria-checked=true]{box-shadow:0 0 0 2px var(--foreground)}.hb-seg{background:var(--input-bg);border:1px solid var(--surface-border);border-radius:12px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:.25rem;padding:.25rem;display:grid}.hb-seg button{min-height:38px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:9px;padding:0 .3rem;font-size:.86rem;font-weight:600}.hb-seg button[aria-checked=true]{background:rgba(var(--accent-rgb), .28);color:var(--foreground)}.hb-row{grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.4rem;display:grid}.hb-field{color:var(--muted);flex-direction:column;gap:.3rem;margin-top:.4rem;font-size:.85rem;display:flex}.hb-days{gap:.35rem;margin-top:.6rem;display:flex}.hb-days button{border:1px solid var(--surface-border);background:var(--input-bg);height:40px;color:var(--muted);font:inherit;cursor:pointer;border-radius:10px;flex:1;font-weight:700}.hb-days button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.hb-stepper{align-items:center;gap:.75rem;margin-top:.6rem;display:flex}.hb-stepper span{text-align:center;flex:1}.hb-stepper button{border:1px solid var(--surface-border);background:var(--input-bg);width:40px;height:40px;color:var(--foreground);cursor:pointer;border-radius:50%;font-size:1.1rem}.hb-stepper button:disabled{opacity:.4}.hb-check{cursor:pointer;align-items:flex-start;gap:.6rem;margin-top:1rem;font-size:.9rem;display:flex}.hb-check input{margin-top:.2rem}.hb-manage-link{margin-top:1.25rem;display:block}.hb-manage-list{flex-direction:column;gap:.45rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.hb-manage-row{border:1px solid var(--surface-border);border-left:4px solid var(--hb-color);background:var(--surface-glass);border-radius:12px;align-items:center;gap:.4rem;padding:.45rem .5rem;display:flex}.hb-manage-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.hb-garden-intro{margin-top:0}.hb-garden{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.hb-plant{text-align:center;border:1px solid var(--surface-border);background:linear-gradient(to bottom, color-mix(in srgb, var(--hb-color) 8%, var(--surface-glass)), var(--surface-glass) 70%);border-radius:18px;flex-direction:column;align-items:center;gap:.2rem;padding:.75rem .75rem .9rem;display:flex}.hb-plant strong{overflow-wrap:anywhere;font-size:.95rem}.hb-plant-stage{color:var(--accent-light);text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;font-weight:700}.hb-plant-mood{font-size:.82rem}.hb-plant-bar{background:var(--input-bg);border-radius:999px;width:80%;height:5px;margin:.3rem 0 .15rem;overflow:hidden}.hb-plant-bar span{background:var(--hb-color);border-radius:inherit;height:100%;display:block}.pl{width:100%;max-width:150px;height:auto;overflow:visible}.pl-growth{transform-box:view-box;transform-origin:60px 104px;transition:transform .6s,filter .6s}.pl-stem{fill:none;stroke:var(--stem);stroke-width:3px;stroke-linecap:round}.pl-leaf,.pl-bush circle{fill:var(--leaf);transition:fill .6s}.pl-bush circle{opacity:.95}.pl-trunk{fill:var(--trunk)}.pl-seed{fill:var(--seed)}.pl-soil{fill:var(--soil)}.pl-pot,.pl-rim{fill:var(--hb-color)}.pl-rim{filter:brightness(1.15)}.pl-flower circle{fill:var(--hb-color);filter:brightness(1.2)}.pl-flower .pl-flower-heart{fill:#f6d365;filter:none}.pl.is-wilting .pl-growth{filter:saturate(.4);transform:rotate(9deg)scale(.96)}.pl.is-wilting .pl-leaf,.pl.is-wilting .pl-bush circle{fill:var(--leaf-dry)}.pl.is-thriving .pl-growth{animation:5s ease-in-out infinite plSway}@keyframes plSway{0%,to{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}.pl-sparkle path{fill:#f6d365;transform-box:fill-box;transform-origin:50%;animation:1.8s ease-in-out infinite plTwinkle}.pl-sparkle path:nth-child(2){animation-delay:.6s}@keyframes plTwinkle{0%,to{opacity:.2;transform:scale(.7)}50%{opacity:1;transform:scale(1.1)}}.hb-tiles{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.6rem;margin-bottom:1rem;display:grid}.hb-tile{border:1px solid var(--surface-border);background:var(--surface-glass);border-radius:14px;flex-direction:column;gap:.1rem;padding:.8rem .9rem;display:flex}.hb-tile span{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.72rem;font-weight:700}.hb-tile strong{font-size:1.6rem;line-height:1.2}.hb-tile small{color:var(--muted);font-size:.78rem}.hb-panel{border:1px solid var(--surface-border);background:var(--surface-glass);border-radius:16px;margin-bottom:1rem;padding:1rem}.hb-panel h3{margin-bottom:.75rem;font-size:1rem}.hb-chart{height:200px}.hb-chart.is-short{height:170px}.hb-heatmap{grid-template-rows:repeat(7,auto);grid-template-columns:auto repeat(26,minmax(0,1fr));grid-auto-flow:column;gap:3px;display:grid}.hb-heatmap-label{color:var(--muted);align-self:center;padding-right:.35rem;font-size:.62rem;line-height:1}.hb-hm-cell{aspect-ratio:1;background:var(--hm-0);border-radius:3px;display:block}.hb-hm-cell.hm-none,.hb-hm-cell.is-off{box-shadow:inset 0 0 0 1px var(--surface-border);background:0 0}.hb-hm-cell.is-future{background:0 0}.hb-hm-cell.hm-1{background:var(--hm-1)}.hb-hm-cell.hm-2{background:var(--hm-2)}.hb-hm-cell.hm-3{background:var(--hm-3)}.hb-hm-cell.hm-4{background:var(--hm-4)}.hb-hm-cell.is-done{background:var(--hb-color)}.hb-hm-cell.is-slipped{background:rgba(var(--danger-rgb), .45)}.hb-hm-cell.is-pending{box-shadow:inset 0 0 0 1.5px var(--hb-color,var(--accent-light));background:0 0}.hb-hm-cell.is-frozen{background:repeating-linear-gradient(45deg, var(--hb-frost) 0 2px, transparent 2px 4px);box-shadow:inset 0 0 0 1px var(--hb-frost)}.hb-legend{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.3rem .8rem;margin-top:.6rem;font-size:.75rem;display:flex}.hb-legend>span{align-items:center;gap:.3rem;display:inline-flex}.hb-legend i.hb-hm-cell{width:11px;height:11px;margin:0 1px;display:inline-block}.hb-month-head{justify-content:space-between;align-items:center;margin-bottom:.6rem;display:flex}.hb-month-head h3{margin:0}.hb-month{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;max-width:420px;margin:0 auto;display:grid}.hb-month-dow{text-align:center;color:var(--muted);font-size:.7rem;font-weight:700}.hb-month-day{aspect-ratio:1;border-radius:8px;place-items:center;font-size:.8rem;font-weight:600;display:grid}.hb-month-day.is-future{color:var(--muted);opacity:.4}.hb-month-day.is-done{color:#fff}.hb-month-day.hm-3,.hb-month-day.hm-4{color:var(--hm-ink)}.hb-month-day.is-today{outline:2px solid var(--foreground);outline-offset:1px}.hb-table-wrap{overflow-x:auto}.hb-table{border-collapse:collapse;width:100%;font-size:.88rem}.hb-table th,.hb-table td{text-align:right;border-bottom:1px solid var(--surface-border);white-space:nowrap;padding:.5rem .4rem}.hb-table thead th{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.72rem}.hb-table th[scope=row],.hb-table thead th:first-child{text-align:left}.hb-table th[scope=row]{white-space:normal;font-weight:600}@media (max-width:520px){.hb{padding-top:.75rem}.hb-level{width:100%;min-width:0}.hb-card{gap:.65rem;padding:.7rem .75rem}.hb-heatmap{gap:2px}}@media (prefers-reduced-motion:reduce){.pl.is-thriving .pl-growth,.pl-sparkle path,.hb-emoji.is-popped,.hb-xp-float,.hb-toast,.hb-sheet{animation:none}}
