.ht-hero.tool-hero{padding:clamp(20px,3vw,36px) 0 22px}.ht-hero.tool-hero h1{margin-bottom:10px}.ht-hero .kicker{margin-bottom:8px}.ht-hero .intro{max-width:34em}.ht.wrap{width:calc(100% - 64px);max-width:1120px;padding:0 0 64px}@media(max-width:760px){.ht.wrap{width:calc(100% - 24px)}}.ht-card{background:var(--card);border:1px solid var(--line);border-radius:26px;padding:clamp(18px,3vw,28px);box-shadow:0 16px 44px -32px #3a2a1550}.ht-weekbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 4px}.ht-view-switch{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--cream)}.ht-view-switch button{min-height:40px;padding:8px 18px;border:0;border-radius:999px;background:transparent;color:var(--ink-soft);font-weight:800}.ht-view-switch button[aria-pressed=true]{background:var(--green-deep);color:#fff}.ht-weeknav{display:flex;align-items:center;justify-content:center;gap:12px}.ht-weektitle{text-align:center;min-width:0}.ht-weektitle p{font-size:.86rem;font-weight:800}.ht .ht-weektitle .ht-textbtn{font-size:.75rem;min-height:28px}.ht button,.ht input{font:inherit}.ht button{cursor:pointer}.ht button:disabled{cursor:default;opacity:.42}.ht-weeknav button{width:44px;height:44px;flex:0 0 44px;background:var(--cream);border:1px solid var(--line);border-radius:50%;color:var(--green-text);font-size:1.25rem}.ht .ht-textbtn{min-height:44px;background:none;border:none;color:var(--green-text);text-decoration:underline;text-underline-offset:4px;font-size:.86rem;font-weight:800;padding:4px}.ht-row{padding:18px 0;border-bottom:1px solid var(--line)}.ht-row-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.ht-habit-label{display:flex;flex-direction:column;align-items:flex-start;font-weight:800;overflow-wrap:anywhere;min-width:0}.ht .ht-edit{font-size:.75rem;font-weight:600;min-height:28px}.ht .ht-today-button{flex:0 0 auto;min-height:48px;min-width:138px;border:1px solid var(--green-deep);border-radius:999px;padding:10px 18px;background:var(--green-deep);color:#fff;font-weight:800;font-size:.9rem}.ht .ht-today-button:hover{background:var(--green)}.ht .ht-today-button[aria-pressed=true]{background:var(--sage-soft);color:var(--green-text);border-color:var(--sage)}.ht-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;width:100%;margin-top:10px}.ht-day{display:flex;flex-direction:column;align-items:center;gap:6px;padding:3px 0;border:none;background:none;color:var(--ink-soft);border-radius:12px;min-width:0}.ht-calendar-label{text-align:center;font-size:.78rem;font-weight:800;color:var(--ink-soft)}.ht-day-label{font-size:.72rem;font-weight:800}.ht-mark{display:grid;place-items:center;width:44px;height:44px;max-width:100%;border-radius:50%;border:1px solid #d9d5c9;background:var(--cream);font-size:.9rem}.ht-days--month{row-gap:8px}.ht-days--month .ht-mark{position:relative}.ht-days--month .ht-day[aria-pressed=true] .ht-mark{font-size:.9rem}.ht-days--month .ht-day[aria-pressed=true] .ht-mark:after{content:"✓";position:absolute;top:-2px;right:-3px;border-radius:50%;width:16px;height:16px;font-size:11px;line-height:16px;background:var(--card);color:var(--green-text);border:1px solid var(--green)}.ht-day.is-today .ht-day-label{color:var(--green-text);text-decoration:underline;text-underline-offset:3px}.ht-day.is-today .ht-mark{border:2px solid var(--green)}.ht-day[aria-pressed=true] .ht-mark{background:var(--green);border-color:var(--green);color:#fff;font-size:1.25rem}.ht-day:not(:disabled):hover .ht-mark{box-shadow:0 0 0 3px var(--sage)}.ht-empty{text-align:center;padding:24px 14px;background:var(--sage-soft);border-radius:18px;margin:20px 0}.ht-empty h2{font-size:1.45rem}.ht-empty p{color:var(--ink-soft-on-tint);margin-top:12px}.ht-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}.ht-suggestions button{padding:10px 14px;min-height:44px;border:1px solid #a9baa1;border-radius:24px;color:var(--green-text);background:var(--card);font-size:.85rem;font-weight:700}.ht-add{margin-top:20px}.ht label{display:block;font-size:.88rem;font-weight:800;margin-bottom:8px}.ht-add-fields{display:flex;gap:10px}.ht input{width:100%;min-width:0;min-height:50px;padding:12px 16px;background:var(--card);border:1px solid #b9b1a4;border-radius:12px;color:var(--ink)}.ht input::placeholder{color:var(--ink-soft)}.ht-add .btn{flex-shrink:0;white-space:nowrap}.ht-status{color:var(--green-text);font-size:.88rem;margin-top:10px}.ht-status:empty{margin:0}.ht-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.ht-bottom p{font-size:.9rem;font-weight:800;color:var(--green-text)}.ht-kind{font-family:var(--font-caveat);font-size:1.4rem;color:var(--ink-soft);margin-top:12px}.ht-download{text-align:center;margin:22px auto 0}.ht-download a{display:inline-block;padding:8px 0;font-weight:800;color:var(--green-text);text-underline-offset:4px}.ht-download a span{white-space:nowrap}.ht-download p{color:var(--ink-soft);font-size:.85rem}.ht-privacy{text-align:center;font-size:.78rem;color:var(--ink-soft);max-width:590px;margin:18px auto 0}.ht-notice,.ht-undo{background:var(--butter-soft);border-radius:12px;padding:12px 16px;margin-top:16px;font-size:.9rem}.ht-undo .ht-textbtn{color:var(--ink)}.ht-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;border:1px solid var(--line);border-radius:24px;padding:28px;color:var(--ink);background:var(--card)}.ht-dialog::backdrop{background:#263b2cc0}.ht-dialog h2{margin-bottom:24px;font-size:1.8rem}.ht-dialog p{margin:16px 0;font-size:.88rem;color:var(--ink-soft)}.ht-dialog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:flex-end}.ht-dialog-actions [data-cancel]{background:var(--cream);border:1px solid var(--line);border-radius:24px;padding:10px 18px;min-height:44px}.ht-dialog-actions [data-remove]{margin-right:auto}@media(max-width:650px){.ht-row-heading{gap:10px}.ht .ht-today-button{min-width:114px;padding:10px 12px;font-size:.8rem}.ht-weeknav{gap:6px}.ht-weektitle p{font-size:.8rem}.ht-add-fields{flex-direction:column}.ht-days{gap:2px}.ht-mark{width:34px;height:34px}.ht-day{min-height:44px;justify-content:center}.ht-weekbar{justify-content:center}.ht-bottom{align-items:flex-start}.ht-bottom button{white-space:nowrap}}@media print{body>:not(main),main>:not(.ht):not(.ht-hero){display:none!important}.ht-hero.tool-hero{padding:16px 0}.ht-hero .kicker,.ht-hero .intro,.ht-privacy,.ht-add,.ht-status,.ht-undo,.ht-notice,.ht-edit,.ht-weekbar button,.ht-bottom button,.ht-dialog,.ht-today-button,.ht-download{display:none!important}.ht-card{box-shadow:none;border:1px solid #bbb;padding:20px}.ht-row{break-inside:avoid}.ht-view-switch{display:none}.ht-days{margin-top:12px}.ht-habit-label{display:block}.ht-day[aria-pressed=true] .ht-mark{color:#000;border:2px solid #000;background:#eee}.ht button:disabled{opacity:.65}.ht-weekbar,.ht-weeknav{justify-content:center}}
