/* 75 Hard page and sheets (hard75-ui.js). */
:root { --h75-green: var(--acc-500); --h75-ink-green: var(--acc-700); --h75-on-green: #08341a; --h75-amber: #d97706; --h75-line: var(--border); }
.h75-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* header */
.h75-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 6px 2px 18px; }
.h75-head h1 { font-size: 34px; font-weight: 700; margin: 2px 0 0; letter-spacing: -0.03em; line-height: 1.1; }
.h75-head-btns { display: flex; gap: 8px; }
.h75-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.h75-head .h75-eyebrow { color: var(--h75-ink-green); }
.h75-eyebrow.light { color: var(--acc-400); }
.h75-eyebrow.amber { color: #92400e; }
.h75-round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--panel); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 2px rgba(var(--n-ink-rgb), 0.05), 0 4px 12px rgba(var(--n-ink-rgb), 0.06); flex-shrink: 0; }
.h75-round:disabled { opacity: 0.35; cursor: default; }
.view-sheet-body .h75-round { background: var(--panel-2); box-shadow: none; }

/* layout */
.h75-grid { display: grid; grid-template-columns: 1fr; gap: 0 18px; align-items: start; }
@media (min-width: 900px) { .h75-grid { grid-template-columns: 1fr 1fr; } }
.h75-col > * { margin-bottom: 16px; }
.h75-card { padding: 20px; }
.h75-card h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.h75-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.h75-loading { padding: 40px; text-align: center; color: var(--muted); }
.h75-link { border: 0; background: none; padding: 6px 2px; font: inherit; font-size: 14px; font-weight: 700; color: var(--h75-ink-green); cursor: pointer; }
.h75-link.danger { color: #b91c1c; }
.h75-note { margin: 8px 0 0; }
.h75-center { text-align: center; display: block; margin-left: auto; margin-right: auto; }

/* tiles and chips */
.h75-tile { width: 44px; height: 44px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.h75-tile.sm { width: 36px; height: 36px; border-radius: 12px; }
.h75-tile .h75-ico { width: 22px; height: 22px; }
.h75-tile.sm .h75-ico { width: 18px; height: 18px; }
.h75-tile.green { background: var(--acc-100); color: var(--acc-700); }
.h75-tile.grey { background: var(--n-badge); color: var(--n-ink); }
.h75-tile.blue { background: #dbeafe; color: #1d4ed8; }
.h75-tile.amber { background: #fef3c7; color: #b45309; }
.h75-tile.purple { background: #f3e8ff; color: #7e22ce; }
.h75-tile.indigo { background: #e0e7ff; color: #4338ca; }
.h75-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.h75-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--panel-2); font-size: 13px; font-weight: 700; }
.h75-chip .h75-ico { width: 14px; height: 14px; stroke-width: 3; }
.h75-chip.ok { background: var(--acc-100); color: var(--acc-700); }
.h75-chip.warn { background: #fef3c7; color: #92400e; }
.h75-chip.bad { background: #fee2e2; color: #b91c1c; }
.h75-ok { width: 30px; height: 30px; border-radius: 50%; background: var(--h75-green); color: var(--h75-on-green); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.h75-ok .h75-ico { width: 16px; height: 16px; stroke-width: 3; }
.h75-ok.off { background: transparent; box-shadow: inset 0 0 0 2px #d4d7dc; }

/* buttons */
.h75-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 0; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; width: 100%; text-decoration: none; }
.h75-btn .h75-ico { width: 18px; height: 18px; }
.h75-btn:disabled { opacity: 0.6; cursor: default; }
.h75-btn-green { background: var(--h75-green); color: var(--h75-on-green); box-shadow: 0 8px 20px rgba(var(--acc-500-rgb), 0.3); }
.h75-btn-dark { background: var(--n-hero); color: #fff; }
.h75-btn-soft { background: var(--panel-2); color: var(--text); }
.h75-btn-plain { background: none; color: var(--text); min-height: 44px; }
.h75-btn-red { background: #b91c1c; color: #fff; }
.h75-btn-amber { background: var(--h75-amber); color: #fff; }
.h75-btn-amber-soft { background: #fef3c7; color: #92400e; }
.h75-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 0; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; flex-shrink: 0; white-space: nowrap; }
.h75-pill .h75-ico { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.h75-pill.dark { background: var(--n-hero); color: #fff; }
.h75-pill.blue { background: #dbeafe; color: #1d4ed8; }
.h75-pill.amber { background: #fef3c7; color: #92400e; }
.h75-pill.purple { background: #f3e8ff; color: #6b21a8; }
.h75-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

/* hero */
.h75-hero { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.h75-ring { width: 210px; }
.h75-ring .dr-in b { font-size: 56px; font-weight: 700; letter-spacing: -0.04em; }
.h75-ring .dr-in span { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.h75-ring .dr-in .h75-ico { width: 30px; height: 30px; color: var(--h75-green); margin-bottom: 4px; }
.h75-hero-text { display: flex; flex-direction: column; gap: 4px; }
.h75-big { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.h75-hero-actions { width: 100%; }
.h75-stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--h75-line); padding-top: 16px; }
.h75-stats3 > div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.h75-stats3 > div + div { border-left: 1px solid var(--h75-line); }
.h75-stats3 b { font-size: 22px; font-weight: 700; }
.h75-stats3 b small { font-size: 15px; color: var(--muted); }
.h75-stats3 span { font-size: 12px; color: var(--muted); }

/* evening */
.h75-evening { background: #fff7e8; border: 1px solid #fde3b0; align-items: stretch; text-align: left; }
.h75-evening-top { display: flex; align-items: center; gap: 16px; }
.h75-ring-sm { width: 100px; }
.h75-ring-sm .dr-in b { font-size: 24px; font-weight: 700; }
.h75-ring-sm .dr-in span { font-size: 11px; font-weight: 700; color: #92400e; margin-top: 3px; }
.h75-evening .dr .dr-halo { stroke: #fdebc8; }
.h75-evening .dr .dr-track { stroke: #fde3b0; }
.h75-left-list { display: flex; flex-direction: column; gap: 8px; }
.h75-left-list .h75-task { background: var(--panel); border-radius: 20px; padding: 2px 12px 2px 4px; border-top: 0; }
.h75-evening-note { margin: 0; font-size: 13px; color: #7c2d12; }
.h75-fold { padding: 6px 20px; }
.h75-fold-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.h75-fold-btn > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.h75-fold-btn > span:nth-child(2) .muted { font-size: 13px; }
.h75-fold-btn[aria-expanded="true"] .h75-chev { transform: rotate(180deg); }
.h75-chev { color: var(--muted); }

/* pending yesterday */
.h75-pending { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 16px; padding: 14px 16px; border-radius: 22px; border: 1px solid #fde3b0; background: #fff7e8; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.h75-pending > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.h75-pending > span:nth-child(2) > span { font-size: 13px; color: #7c2d12; }

/* today rows */
.h75-count { font-size: 13px; font-weight: 700; background: var(--panel-2); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.h75-count.all { background: var(--acc-100); color: var(--acc-700); }
.h75-segs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-bottom: 6px; }
.h75-segs i { height: 6px; border-radius: 3px; background: var(--n-soft); }
.h75-segs i.on { background: var(--h75-green); }
.h75-task { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--h75-line); }
.h75-segs + .h75-task { border-top: 0; }
.h75-task-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 14px 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.h75-task-main:disabled { cursor: default; }
.h75-task-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.h75-task-text b { font-size: 15px; font-weight: 700; }
.h75-task-text > span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.h75-bar { display: block; height: 5px; border-radius: 3px; background: var(--n-soft); margin-top: 4px; overflow: hidden; }
.h75-bar i { display: block; height: 100%; border-radius: 3px; background: var(--h75-green); }
.h75-bar.blue i { background: #2563eb; }
.h75-bar.amber i { background: var(--h75-amber); }

/* map */
.h75-map { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.h75-cell { height: 38px; border-radius: 11px; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: var(--panel-2); color: var(--muted); }
button.h75-cell { cursor: pointer; }
.h75-cell.done { background: var(--h75-green); color: var(--h75-on-green); }
.h75-cell.today, .h75-cell.is-today { box-shadow: inset 0 0 0 2px var(--text); }
.h75-cell.today { background: var(--panel); color: var(--text); }
.h75-cell.pending { background: #fef3c7; color: #92400e; }
.h75-cell.missed { background: #fee2e2; color: #b91c1c; }
.h75-cell.milestone { outline: 2px dashed #9ca3af; outline-offset: -2px; background: var(--panel); }
.h75-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--muted); }
.h75-legend span { display: inline-flex; align-items: center; gap: 6px; }
.h75-legend i { width: 12px; height: 12px; border-radius: 4px; box-sizing: border-box; }
.h75-legend i.done { background: var(--h75-green); }
.h75-legend i.today { border: 2px solid var(--text); }
.h75-legend i.milestone { border: 2px dashed #9ca3af; }

/* totals */
.h75-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 4px; }
.h75-tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.h75-tiles.two { margin-top: 16px; }
.h75-stat { border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h75-stat > span, .h75-stat small { font-size: 12px; font-weight: 600; }
.h75-stat b { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.h75-stat b em { font-style: normal; font-size: 15px; }
.h75-stat b.h75-stat-text { font-size: 15px; line-height: 1.3; }
.h75-stat small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h75-tiles.three .h75-stat { padding: 14px; }
.h75-tiles.three .h75-stat b { font-size: 22px; }
.h75-stat.dark { background: var(--n-hero); color: #fff; }
.h75-stat.dark > span, .h75-stat.dark small { color: #c4c8ce; }
.h75-stat.green { background: var(--h75-green); color: var(--h75-on-green); }
.h75-stat.blue { background: #2563eb; color: #fff; }
.h75-stat.blue > span, .h75-stat.blue small { color: #dbe6ff; }
.h75-stat.grey { background: var(--panel-2); }
.h75-stat.grey > span, .h75-stat.grey small { color: var(--muted); }

/* photos */
.h75-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.h75-thumb { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.h75-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: var(--panel-2); }

/* attempts */
.h75-attempt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; border: 0; border-top: 1px solid var(--h75-line); background: none; text-align: left; font: inherit; color: inherit; }
.h75-card-head + .h75-attempt { border-top: 0; }
.h75-attempt[data-h75-attempt] { cursor: pointer; }
.h75-attempt-n { width: 20px; font-size: 15px; font-weight: 700; }
.h75-attempt-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.h75-attempt-line { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.h75-abar { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--n-soft); }
.h75-abar.big { height: 8px; border-radius: 4px; }
.h75-abar i { display: block; height: 100%; border-radius: inherit; background: #9ca3af; }
.h75-abar.active i, .h75-abar.completed i { background: var(--h75-green); }
.h75-abar .h75-pb { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--text); border-radius: 1px; }

/* empty state */
.h75-intro { border-radius: var(--radius); background: var(--n-hero); color: #fff; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(var(--n-ink-rgb), 0.2); position: relative; overflow: hidden; isolation: isolate; }
.h75-intro::after { content: ""; position: absolute; right: -70px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 16px solid var(--d-hair); pointer-events: none; z-index: -1; }
.h75-intro-title { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; position: relative; z-index: 1; }
.h75-intro p { margin: 0; font-size: 14px; color: #c4c8ce; line-height: 1.5; }
.h75-intro-best { font-size: 13px; color: #c4c8ce; text-align: center; }
.h75-rule { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--h75-line); }
.h75-rule > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.h75-rule b { font-size: 15px; }
.h75-rule > span:last-child > span { font-size: 13px; color: var(--muted); }
.h75-card h2 + .h75-rule { margin-top: 10px; }
.h75-kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--h75-line); font-size: 14px; }
.h75-kv span { color: var(--muted); }
.h75-kv b { text-align: right; }
.h75-card h2 + .h75-kv { margin-top: 10px; }
.h75-kv + .h75-btn { margin-top: 8px; }

/* ---------- sheets ---------- */
.h75-sheet { display: flex; flex-direction: column; gap: 16px; padding-bottom: 12px; }
.view-sheet-body > .vs-content > .h75-sheet:first-child { padding-right: 0; }
.view-sheet-body > .vs-content > .h75-sheet:first-child > :first-child:not(.h75-end), .view-sheet-body > .vs-content > .h75-sheet:first-child > .h75-end > :first-child { padding-right: 52px; }
.h75-sh-head { display: flex; flex-direction: column; gap: 2px; }
.h75-sh-head h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.h75-sh-sec { display: flex; flex-direction: column; gap: 8px; }
.h75-locked, .h75-privacy { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: var(--muted); }
.h75-locked .h75-ico, .h75-privacy .h75-ico { width: 14px; height: 14px; }

/* workouts sheet */
.h75-slot { background: var(--panel-2); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.h75-slot.empty { background: var(--panel); border: 2px dashed #d4d7dc; }
.h75-slot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h75-srcs { display: flex; gap: 4px; }
.h75-src { font-size: 12px; font-weight: 700; background: var(--panel); border-radius: 999px; padding: 4px 10px; }
.h75-slot-row { display: flex; align-items: center; gap: 12px; }
.h75-slot-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.h75-slot-text b { font-size: 16px; font-weight: 700; }
.h75-slot-text span { font-size: 13px; }
.h75-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--n-border); border-radius: 999px; padding: 3px; }
.h75-seg > button, .h75-seg > label { min-height: 38px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; background: none; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.h75-seg > .on { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.h75-seg input { position: absolute; opacity: 0; pointer-events: none; }
.h75-mini { display: flex; align-items: center; gap: 12px; }
.h75-mini > span:last-child { display: flex; flex-direction: column; font-size: 14px; }

/* forms */
.h75-form { display: flex; flex-direction: column; gap: 12px; }
.h75-form label, .h75-eyebrow-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.h75-form input[type="text"], .h75-form input:not([type]), .h75-form input[type="number"], .h75-form textarea { min-height: 48px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel-2); padding: 0 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--text); }
.h75-form textarea { padding: 12px 14px; min-height: 84px; resize: vertical; }
.h75-form .h75-check { flex-direction: row; align-items: center; gap: 10px; color: var(--text); }
.h75-form .h75-check input { width: 20px; height: 20px; }
.h75-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.h75-opt { flex-direction: row !important; align-items: center; gap: 12px !important; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--border); background: var(--panel); color: var(--text) !important; font-size: 14px !important; font-weight: 600 !important; cursor: pointer; }
.h75-opt.on { border-color: var(--h75-green); background: #f3fbf5; }
.h75-opt input { position: absolute; opacity: 0; pointer-events: none; }
.h75-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9cdd3; box-sizing: border-box; flex-shrink: 0; }
.h75-opt.on .h75-radio { border: 6px solid var(--h75-green); }
.h75-opt:focus-within, .h75-seg label:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.h75-switch-row, .h75-rem { flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px !important; padding: 6px 0; color: var(--text) !important; font-size: 14px !important; cursor: pointer; }
.h75-switch-row > span { display: flex; flex-direction: column; gap: 2px; }
.h75-switch-row b, .h75-rem b { font-weight: 600; }
.h75-switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 999px; background: #d4d7dc; position: relative; cursor: pointer; flex-shrink: 0; margin: 0; transition: background 0.15s; }
.h75-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.15s; }
.h75-switch:checked { background: var(--h75-green); }
.h75-switch:checked::after { transform: translateX(18px); }
.h75-switch:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.h75-rem { border-top: 1px solid var(--h75-line); padding: 10px 0; }
.h75-rem-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.h75-time { font-size: 14px; font-weight: 700; background: var(--panel-2); border-radius: 12px; padding: 8px 12px; }
.h75-sh-rules { display: flex; flex-direction: column; }
.h75-sh-rules h2 { display: none; }
.h75-sh-rules .h75-rule:first-of-type { border-top: 0; }
.h75-danger { border-top: 1px solid var(--h75-line); padding-top: 12px; }
.h75-danger p { margin: 0; font-size: 14px; }

/* water */
.h75-sh-ring { display: flex; justify-content: center; }
.h75-ring-big { width: 240px; }
.h75-ring-big .dr-in b { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.h75-ring-big .dr-in b small { font-size: 20px; }
.h75-ring-big .dr-in span { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.h75-adds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.h75-add { min-height: 64px; border-radius: 20px; border: 0; background: #dbeafe; color: #1d4ed8; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.h75-add b { font-size: 16px; font-weight: 700; }
.h75-add span { font-size: 11px; font-weight: 600; color: #1e40af; }
.h75-add.main { background: #2563eb; color: #fff; }
.h75-add.main span { color: #dbe6ff; }
.h75-add-new { background: none; border: 1.5px dashed #93c5fd; color: #1d4ed8; }
.h75-add-new .h75-ico { width: 18px; height: 18px; }
.h75-add-ghost { opacity: 0.5; cursor: default; }
.h75-bottle-edit { align-self: center; margin-top: -6px; }
.h75-unit-input { position: relative; display: block; }
.h75-unit-input input { width: 100%; box-sizing: border-box; padding-right: 48px; }
.h75-unit-input input::-webkit-outer-spin-button, .h75-unit-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.h75-unit-input input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.h75-unit-input i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: var(--muted); pointer-events: none; }
.h75-log { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--h75-line); font-size: 14px; min-height: 28px; }
.h75-log .muted { width: 48px; }
.h75-log b { flex: 1; }

/* reading */
.h75-book { display: flex; align-items: center; gap: 14px; background: var(--panel-2); border-radius: 22px; padding: 14px; }
.h75-cover { width: 58px; height: 84px; border-radius: 8px; background: var(--n-hero); color: #fff; display: flex; align-items: flex-end; padding: 8px; box-sizing: border-box; font-size: 9px; font-weight: 700; line-height: 1.1; text-transform: uppercase; overflow: hidden; flex-shrink: 0; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }
.h75-book-text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h75-stepper { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px 0; }
.h75-step-row { display: flex; align-items: center; gap: 28px; }
.h75-step { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--panel-2); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.h75-step .h75-ico { width: 24px; height: 24px; stroke-width: 2.6; }
.h75-step.main { background: var(--h75-amber); color: #fff; }
.h75-step:disabled { opacity: 0.4; cursor: default; }
.h75-step-n { font-size: 72px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; min-width: 96px; text-align: center; }
.h75-dots { display: flex; gap: 6px; width: 100%; max-width: 300px; }
.h75-dots i { flex: 1; height: 8px; border-radius: 4px; background: var(--n-soft); }
.h75-dots i.on { background: var(--h75-amber); }

/* photo */
.h75-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; border-radius: 24px; overflow: hidden; }
.h75-compare.one { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; width: 100%; }
.h75-compare figure { margin: 0; position: relative; }
.h75-compare img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--panel-2); }
.h75-compare figcaption { position: absolute; left: 10px; top: 10px; background: rgba(var(--n-ink-rgb), 0.75); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.h75-cmp-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.h75-cmp-chips button { flex-shrink: 0; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 0; background: var(--panel-2); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.h75-cmp-chips button.on { background: var(--n-hero); color: #fff; }
.h75-photo-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 4 / 3; border-radius: 24px; background: var(--panel-2); color: var(--muted); font-size: 14px; font-weight: 600; }
.h75-photo-empty .h75-ico { width: 34px; height: 34px; }
.h75-file-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.h75-file { position: relative; overflow: hidden; }
.h75-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.h75-file.busy { opacity: 0.6; pointer-events: none; }
.h75-file:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* day sheet */
.h75-day-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 52px; }
.h75-day-nav h2 { margin: 0; font-size: 24px; font-weight: 700; }
.h75-day-nav .muted { font-size: 14px; }
.h75-day-rows { display: flex; flex-direction: column; }
.h75-dr { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; border: 0; border-top: 1px solid var(--h75-line); background: none; text-align: left; font: inherit; color: inherit; }
button.h75-dr { cursor: pointer; }
.h75-dr .h75-ok { width: 26px; height: 26px; }
.h75-dr-label { font-size: 15px; font-weight: 700; flex-shrink: 0; }
.h75-dr-val { flex: 1; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* history */
.h75-att { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 16px; border-radius: 22px; border: 0; background: var(--panel-2); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.h75-att.active { background: #f3fbf5; box-shadow: inset 0 0 0 2px var(--h75-green); }
.h75-att-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; }
.h75-att .h75-chip { min-height: 26px; font-size: 12px; background: var(--panel); }
.h75-att .h75-chip.ok { background: var(--acc-100); }
.h75-insight { display: flex; flex-direction: column; gap: 6px; background: #fff7e8; border-radius: 20px; padding: 14px; font-size: 14px; line-height: 1.45; }
.h75-missed { display: flex; align-items: center; gap: 12px; background: #fdf2f2; border-radius: 18px; padding: 12px 14px; color: #7f1d1d; font-size: 14px; }
.h75-missed > span { display: flex; flex-direction: column; gap: 2px; }
.h75-missed .h75-ico { color: #b91c1c; }

/* start */
.h75-steps { display: flex; gap: 4px; }
.h75-steps i { width: 28px; height: 5px; border-radius: 3px; background: var(--n-border); }
.h75-steps i.on { background: var(--h75-green); }
.h75-day-opt { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 20px; border: 2px solid var(--border); cursor: pointer; position: relative; }
.h75-day-opt.on { border-color: var(--h75-green); background: #f3fbf5; }
.h75-day-opt input { position: absolute; opacity: 0; pointer-events: none; }
.h75-day-opt:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.h75-day-top { display: flex; justify-content: space-between; gap: 8px; font-size: 16px; }
.h75-day-sub { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; font-weight: 600; }
.h75-day-sub .h75-ico { width: 16px; height: 16px; margin-top: 1px; }
.h75-day-sub.amber { color: #92400e; }
.h75-day-sub.green { color: var(--h75-ink-green); }

/* end summaries */
.h75-end { display: flex; flex-direction: column; gap: 16px; }
.h75-end h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.h75-end-btns { display: flex; flex-direction: column; gap: 10px; }
.h75-done { align-items: center; text-align: center; }
.h75-done .h75-tiles { width: 100%; text-align: left; }
.h75-done .h75-ring .dr-in b { font-size: 30px; }

/* toast */
.h75-toast { position: fixed; left: 50%; bottom: 110px; transform: translate(-50%, 20px); background: var(--n-hero); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 300; max-width: calc(100vw - 32px); }
.h75-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 420px) {
  .h75-ring { width: 190px; }
  .h75-stats3 b { font-size: 19px; }
  .h75-step-row { gap: 18px; }
}

/* dark mode (opt-in toggle only) */
:root[data-theme="dark"] .h75-tile.green, :root[data-theme="dark"] .h75-chip.ok, :root[data-theme="dark"] .h75-count.all { background: rgba(var(--acc-500-rgb), 0.16); color: var(--acc-400); }
:root[data-theme="dark"] .h75-tile.grey { background: var(--d-seg); color: var(--text); }
:root[data-theme="dark"] .h75-tile.blue, :root[data-theme="dark"] .h75-pill.blue, :root[data-theme="dark"] .h75-add { background: rgba(37, 99, 235, 0.2); color: #93c5fd; }
:root[data-theme="dark"] .h75-add span { color: #bfdbfe; }
:root[data-theme="dark"] .h75-add.main { background: #2563eb; color: #fff; }
:root[data-theme="dark"] .h75-add-new { background: none; border-color: rgba(147, 197, 253, 0.5); }
:root[data-theme="dark"] .h75-tile.amber, :root[data-theme="dark"] .h75-pill.amber, :root[data-theme="dark"] .h75-btn-amber-soft, :root[data-theme="dark"] .h75-chip.warn { background: rgba(217, 119, 6, 0.2); color: #fcd34d; }
:root[data-theme="dark"] .h75-tile.purple, :root[data-theme="dark"] .h75-pill.purple { background: rgba(126, 34, 206, 0.22); color: #d8b4fe; }
:root[data-theme="dark"] .h75-tile.indigo { background: rgba(67, 56, 202, 0.25); color: #c7d2fe; }
:root[data-theme="dark"] .h75-pill.dark, :root[data-theme="dark"] .h75-btn-dark, :root[data-theme="dark"] .h75-cmp-chips button.on { background: #f4f5f6; color: var(--n-ink); }
:root[data-theme="dark"] .h75-segs i, :root[data-theme="dark"] .h75-bar, :root[data-theme="dark"] .h75-abar, :root[data-theme="dark"] .h75-dots i, :root[data-theme="dark"] .h75-steps i { background: var(--d-line); }
:root[data-theme="dark"] .h75-segs i.on, :root[data-theme="dark"] .h75-steps i.on { background: var(--h75-green); }
:root[data-theme="dark"] .h75-dots i.on { background: var(--h75-amber); }
:root[data-theme="dark"] .h75-evening, :root[data-theme="dark"] .h75-pending, :root[data-theme="dark"] .h75-insight { background: #2a2113; border-color: #4a3816; }
:root[data-theme="dark"] .h75-evening-note, :root[data-theme="dark"] .h75-pending > span:nth-child(2) > span, :root[data-theme="dark"] .h75-ring-sm .dr-in span, :root[data-theme="dark"] .h75-eyebrow.amber { color: #fcd34d; }
:root[data-theme="dark"] .h75-evening .dr .dr-halo, :root[data-theme="dark"] .h75-evening .dr .dr-track { stroke: #4a3816; }
:root[data-theme="dark"] .h75-cell.pending { background: rgba(217, 119, 6, 0.25); color: #fcd34d; }
:root[data-theme="dark"] .h75-cell.missed, :root[data-theme="dark"] .h75-missed, :root[data-theme="dark"] .h75-chip.bad { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
:root[data-theme="dark"] .h75-opt.on, :root[data-theme="dark"] .h75-day-opt.on, :root[data-theme="dark"] .h75-att.active { background: rgba(var(--acc-500-rgb), 0.1); }
:root[data-theme="dark"] .h75-seg { background: var(--d-line); }
:root[data-theme="dark"] .h75-slot.empty { border-color: #3a3e44; }
:root[data-theme="dark"] .h75-ok.off { box-shadow: inset 0 0 0 2px #3a3e44; }
:root[data-theme="dark"] .h75-head .h75-eyebrow, :root[data-theme="dark"] .h75-link, :root[data-theme="dark"] .h75-day-sub.green { color: var(--acc-400); }

/* Timelapse */
.h75-tl { position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #0b0c0e; }
.h75-tl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h75-tl-day { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-weight: 700; font-size: 14px; }
.h75-tl-range { width: 100%; margin: 14px 0 6px; accent-color: var(--accent); }
.h75-tl-ctrls { display: flex; align-items: center; gap: 10px; }
.h75-tl-ctrls .h75-btn { flex: none; }
.h75-tl-speed { flex: 1; display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--u-tile, #f1f2f4); }
.h75-tl-speed button { flex: 1; height: 34px; border: 0; border-radius: 99px; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.h75-tl-speed button.on { background: var(--panel, #fff); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.h75-tl-save { width: 100%; margin-top: 12px; }
:root[data-theme="dark"] .h75-tl-speed { background: rgba(255, 255, 255, .07); }
:root[data-theme="dark"] .h75-tl-speed button.on { background: rgba(255, 255, 255, .14); }
