Source
This app’s code and revision history are public. Download a copy or explore the files below.
Public
The app’s code and revision history are public.
Run it yourself
Take the whole tree and run it on your own machine. The download needs no account. Cloning needs a sign-in.
Download .zip
bounded clone e8a688fd21351d04b05468df
A copy you download is not bounded. The guarantees this app runs under - declared egress, proven invariants, writes that fail closed - live in the runtime serving this page, not in the files. What you get is auditable source you can read and run, with no runtime guarantees attached.
src/styles.css
/* Habits. Shared look comes from /kit.css; this is the app's own layout. Phones first. */
body.app-mode .landing-only { display: none !important; }
body:not(.app-mode) #app:empty, body:not(.app-mode) #app-nav { display: none; }
body.app-mode .site-foot { display: none; }
.small { font-size: 14px; }
.grow { flex: 1; min-width: 0; }
.self-start { justify-self: start; align-self: flex-start; }
.inline-icon { display: inline-block; vertical-align: -2px; }
.loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 24px 0; }
.brand-app { color: var(--muted); font-weight: 500; }
.brand-sep { color: var(--line-strong); font-weight: 300; }
.nav-cta { background: var(--ink-solid); color: #fff !important; }
.nav-cta:hover { background: #2a2c31 !important; }
@media (max-width: 420px) { .brand-word { display: none; } }
/* Landing hero with the quick start */
.app-hero { padding: 40px 0 72px; background: linear-gradient(180deg, #faf6ee 0%, #fdfdfc 100%); border-bottom: 1px solid #f0ebe1; }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "text start" "more start"; column-gap: 56px; align-items: center; }
.hero-text { grid-area: text; align-self: end; }
.hero-more { grid-area: more; align-self: start; }
#start { grid-area: start; }
.app-hero h1 { margin-top: 14px; }
.app-hero .lede { margin-top: 18px; }
.hero-points { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 10px; font-size: 15.5px; color: #3c4048; }
.hero-points li { display: flex; gap: 10px; align-items: baseline; }
.hero-points li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--cobalt); transform: translateY(-2px); }
.hero-art { width: 220px; height: auto; margin-bottom: -6px; }
.hero-art, .empty-art { filter: brightness(1.025); }
@media (max-width: 900px) {
.app-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "start" "more"; row-gap: 24px; }
.app-hero { padding-top: 16px; }
.hero-art { width: 150px; }
.app-hero .lede { margin-top: 4px; }
}
.start { padding: 20px; display: grid; gap: 12px; }
.start-title { font: 400 26px/1.2 var(--serif); letter-spacing: -.015em; }
.start-own { display: flex; gap: 8px; }
.start-own .input { flex: 1; min-width: 0; }
.start-today { list-style: none; padding: 0; display: grid; gap: 6px; }
.start-today li { display: flex; align-items: center; gap: 10px; min-height: 36px; font: 500 15.5px/1.3 var(--sans); }
.start-today li.done { color: var(--muted); }
.start-dot { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); color: #fff; }
.start-today li.done .start-dot { background: var(--sage); border-color: var(--sage); }
.suggest-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.suggest { position: relative; display: grid; gap: 2px; width: 100%; min-height: 64px; padding: 10px 36px 10px 14px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s; }
.suggest:hover { border-color: var(--line-strong); }
.suggest:active { transform: translateY(1px); }
.suggest strong { font: 600 15.5px/1.25 var(--sans); }
.suggest span { font-size: 13px; color: var(--muted); }
.suggest svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
/* Landing sections */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; padding: 0; counter-reset: step; }
.steps li { list-style: none; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--ink-solid); color: #fff; font: 650 15px var(--sans); }
.steps h3, .features h3 { font: 600 18px/1.3 var(--sans); }
.steps p, .features p { margin-top: 8px; color: #4a4e56; }
.features { list-style: none; padding: 0; margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.features li { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
@media (max-width: 860px) { .steps, .features { grid-template-columns: minmax(0, 1fr); } }
.api-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.api-grid .code { font-size: 12.5px; }
@media (max-width: 900px) { .api-grid { grid-template-columns: minmax(0, 1fr); } }
.more-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; margin-top: 22px; }
.more-apps a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.more-apps a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--ink); }
.more-apps strong { font: 400 22px/1.1 var(--serif); }
.more-apps span { color: var(--muted); font-size: 14px; }
.compare td:first-child { font-weight: 600; }
.compare { min-width: 680px; }
/* App tabs: in the header on wide screens, a bar at the bottom on phones */
body.app-mode .site-nav { display: none; }
#app-nav { margin-left: auto; }
.head-tabs { display: none; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fdfdfcf2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.tabbar a { display: grid; justify-items: center; gap: 3px; min-height: 52px; padding: 6px 0; border-radius: 12px; color: var(--muted); font: 600 12px/1 var(--sans); }
.tabbar a[aria-current="page"] { color: var(--ink-solid); background: #0000000a; }
@media (min-width: 760px) {
.tabbar { display: none; }
.head-tabs { display: flex; gap: 4px; }
.head-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: #33363c; font: 600 14.5px/1 var(--sans); }
.head-tabs a svg { width: 18px; height: 18px; }
.head-tabs a:hover { background: #0000000a; color: var(--ink-solid); }
.head-tabs a[aria-current="page"] { background: #0000000d; color: var(--ink-solid); }
}
/* Pages */
.shell { width: var(--page); margin-inline: auto; padding: 18px 0 120px; }
@media (min-width: 760px) { .shell { padding-bottom: 80px; } }
.page { max-width: 760px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.page.habit, .page.week, .page.settings, .page.join { max-width: 1080px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.page-head .h1 { margin-top: 8px; overflow-wrap: anywhere; }
.head-add { display: none; }
@media (min-width: 760px) { .head-add { display: inline-flex; } }
.back-link { display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 36px; font: 600 14.5px var(--sans); }
.section-label { margin: 6px 0 10px; font: 650 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.section-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 650 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.section-toggle span { font: 400 22px/1 var(--sans); }
.empty { display: grid; justify-items: center; gap: 14px; padding: 36px 20px; border: 1px dashed var(--line-strong); border-radius: 16px; text-align: center; }
.pad { padding: 18px; }
.icon-title { display: flex; align-items: center; gap: 8px; }
.icon-title svg { color: var(--muted); flex: none; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 36px; padding: 0; border: 0; background: none; color: var(--cobalt); font: 600 14.5px var(--sans); cursor: pointer; }
.link-btn:hover { color: var(--cobalt-ink); }
.fine { margin-top: 6px; }
/* Today */
.progress-line { display: grid; gap: 8px; }
.progress-text { font: 600 15px/1.2 var(--sans); color: #33363c; }
.bar { position: relative; height: 10px; border-radius: 99px; background: #eceff3; overflow: hidden; }
.bar span { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--sage); transition: width .5s ease; }
.hlist { list-style: none; padding: 0; display: grid; gap: 8px; }
.hrow { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 12px 10px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px #1a1d240a; }
.hrow.is-done { background: #fbfcfb; }
.hrow.is-done .hrow-name { color: var(--muted); }
.hrow-main { display: grid; gap: 4px; flex: 1; min-width: 0; padding: 4px 0; color: var(--ink); }
.hrow-main:hover { color: var(--ink); }
.hrow-name { font: 600 17px/1.3 var(--sans); overflow-wrap: anywhere; }
.hrow-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--muted); }
.meta-streak { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; color: var(--faint); }
.meta-streak.on { color: var(--gold); }
.meta-friends { flex-basis: 100%; color: var(--cobalt-ink); }
.today-section { display: grid; gap: 4px; margin-top: 6px; }
.add-bottom { margin-top: 6px; }
@media (min-width: 760px) { .add-bottom { justify-self: start; width: auto; } }
/* The check button */
.check-btn { position: relative; display: grid; place-items: center; flex: none; width: 56px; height: 56px; padding: 0; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--line-strong); cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.check-btn:hover { border-color: #aeb6c2; color: #aeb6c2; }
.check-btn:active { transform: scale(.94); }
.check-btn.done { background: var(--sage); border-color: var(--sage); color: #fff; animation: pop .3s ease; }
.check-btn.big { width: 80px; height: 80px; }
.check-btn.count { border: 0; color: var(--ink); }
.check-btn.count .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-track { fill: #fff; stroke: #e3e6ea; stroke-width: 3; }
.ring-fill { fill: none; stroke: var(--sage); stroke-width: 3.5; stroke-linecap: round; transition: stroke-dasharray .35s ease; }
.check-btn.count.done { background: var(--sage); }
.check-btn.count.done .ring { display: none; }
.check-inner { position: relative; display: grid; place-items: center; }
.count-n { font: 650 18px/1 var(--sans); font-variant-numeric: tabular-nums; }
.check-btn.big .count-n { font-size: 24px; }
.slip-btn { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: #fff; color: #3c4048; font: 600 14px/1 var(--sans); cursor: pointer; }
.slip-btn:hover { border-color: #aeb6c2; }
.slip-btn.on { background: var(--brick-wash); border-color: #efcfc5; color: var(--brick); }
.slip-btn.big { min-height: 52px; padding: 0 20px; font-size: 15px; }
@keyframes pop { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
/* Empty start */
.empty-start { display: grid; justify-items: center; gap: 12px; padding: 8px 0 24px; text-align: center; }
.empty-start .suggest-list { width: 100%; max-width: 520px; margin-top: 8px; text-align: left; }
.empty-start .btn { margin-top: 6px; }
.empty-art { width: 200px; height: auto; }
/* Week */
.week-nav { gap: 8px; }
.week-grid { display: grid; gap: 8px; }
.week-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; gap: 4px 2px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.week-name { grid-column: 1 / 6; grid-row: 1; align-self: center; padding: 2px 0 6px 4px; font: 600 15.5px/1.3 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.week-sum { grid-column: 6 / -1; grid-row: 1; justify-self: end; align-self: center; padding: 2px 4px 6px 0; font: 600 13px/1.3 var(--sans); color: var(--muted); white-space: nowrap; }
.week-headrow { position: sticky; top: 64px; z-index: 5; padding-block: 8px; background: #fdfdfcf2; border-color: transparent; }
.week-headrow .week-name, .week-headrow .week-sum { display: none; }
.week-day { display: grid; justify-items: center; gap: 2px; font: 600 13.5px/1 var(--sans); color: #33363c; font-variant-numeric: tabular-nums; }
.week-day small { font: 650 11px/1 var(--sans); color: var(--faint); letter-spacing: .04em; }
.week-day.today { color: var(--cobalt); }
.week-day.today small { color: var(--cobalt); }
.week-cell-wrap { display: grid; place-items: center; }
.week-cell { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 2px solid var(--line); border-radius: 50%; background: #fff; color: #fff; font: 650 13px/1 var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.week-cell:hover:not(:disabled) { border-color: var(--line-strong); }
.week-cell:disabled { border-style: dashed; border-color: #eceff3; cursor: default; }
.week-cell.off { border-color: transparent; background: #f4f5f7; }
.week-cell.done { background: var(--sage); border-color: var(--sage); }
.week-cell.part { background: var(--sage-wash); border-color: #cfe2d4; color: #2f5a3c; }
.week-cell.clean { background: var(--sage-wash); border-color: #cfe2d4; }
.week-cell.slip { background: var(--brick); border-color: var(--brick); }
.week-hint { text-align: center; }
@media (min-width: 760px) {
.week-row { grid-template-columns: minmax(0, 1fr) repeat(7, 48px) 80px; padding: 10px 16px; gap: 6px; }
.week-name { grid-column: auto; grid-row: auto; padding: 0; }
.week-sum { grid-column: auto; grid-row: auto; padding: 0; }
.week-headrow .week-name, .week-headrow .week-sum { display: block; }
}
@media (max-width: 360px) { .week-cell { width: 34px; height: 34px; } }
/* One habit */
.habit-title { font-size: clamp(34px, 5vw, 50px); }
.habit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.habit-main, .habit-side { --gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .habit-grid { grid-template-columns: minmax(0, 1fr) 360px; } .habit-side { position: sticky; top: 84px; } }
.today-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.today-card-text { display: grid; gap: 4px; min-width: 0; }
.today-state { font: 400 24px/1.25 var(--serif); letter-spacing: -.015em; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.stats div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; min-width: 0; }
.stats dt { font: 600 11.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.stats dd { margin: 6px 0 0; font: 380 30px/1.1 var(--serif); letter-spacing: -.015em; }
.stats dd small { font: 500 13px var(--sans); letter-spacing: 0; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.round-btn { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font: 500 20px/1 var(--sans); }
.round-btn:hover:not(:disabled) { background: #0000000a; }
.round-btn:disabled { opacity: .35; cursor: default; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.calendar-head p { display: grid; text-align: center; }
.calendar-head strong { font: 400 22px/1.2 var(--serif); }
.calendar-head span { font-size: 13px; color: var(--muted); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.calendar-wd { font: 600 11.5px/2 var(--sans); color: var(--faint); }
.calendar-day { position: relative; display: grid; place-items: center; justify-self: center; width: min(44px, 100%); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; font: 500 14.5px var(--sans); color: #4a4e56; font-variant-numeric: tabular-nums; cursor: pointer; }
.calendar-day:hover:not(:disabled) { background: #0000000a; }
.calendar-day:disabled { color: #c3c8cf; cursor: default; }
.calendar-day.off { color: #b0b6be; }
.calendar-day.done { background: var(--sage); color: #fff; }
.calendar-day.part { background: var(--sage-wash); color: #2f5a3c; }
.calendar-day.clean { color: #2f5a3c; }
.calendar-day.slip { background: var(--brick); color: #fff; }
.calendar-day.today { box-shadow: 0 0 0 1.5px var(--cobalt); }
.note-dot { position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.calendar-day.done .note-dot, .calendar-day.slip .note-dot { background: #fff; }
.yearmap-scroll { overflow-x: auto; margin-top: 12px; padding-bottom: 6px; }
.yearmap-months { display: flex; gap: 3px; height: 16px; font: 600 10.5px/1 var(--sans); color: var(--faint); }
.yearmap-months span { flex: 0 0 11px; min-width: 0; overflow: visible; white-space: nowrap; }
.yearmap { display: flex; gap: 3px; width: max-content; }
.yearmap-col { display: grid; grid-template-rows: repeat(7, 11px); gap: 3px; }
.ym { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: #eceff3; vertical-align: -1px; }
.ym.off { background: #f6f7f9; }
.ym.done { background: var(--sage); }
.ym.part { background: #b9d3c0; }
.ym.clean { background: #cfe2d4; }
.ym.slip { background: var(--brick); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.legend .ym { margin-left: 6px; }
.legend .ym:first-child { margin-left: 0; }
.notes { list-style: none; padding: 0; display: grid; }
.notes li + li { border-top: 1px solid var(--line); }
.notes button { display: grid; gap: 2px; width: 100%; padding: 10px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.note-date { font: 600 12.5px/1.2 var(--sans); color: var(--muted); }
.note-text { font-size: 15px; color: #33363c; overflow-wrap: anywhere; white-space: pre-wrap; }
/* Sharing */
.share-card { grid-template-columns: minmax(0, 1fr); }
.members { list-style: none; padding: 0; display: grid; }
.members li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.members li:first-child { border-top: 0; }
.member-name { font: 600 15.5px/1.3 var(--sans); overflow-wrap: anywhere; }
.member-streak { font: 600 14.5px/1.3 var(--sans); color: var(--gold); text-align: right; }
.member-status { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.members li.members-wait { display: block; font-size: 14px; color: var(--muted); }
.you-tag { margin-left: 8px; padding: 2px 7px; border-radius: 99px; background: var(--ink-solid); color: #fff; font: 650 11px/1 var(--sans); vertical-align: 2px; }
.link-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.link-code { flex: 1 1 100%; min-width: 0; padding: 9px 11px; border-radius: 8px; background: var(--panel); border: 1px solid var(--panel-line); font: 13px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.join-sub { margin-top: 8px; }
.join-grid, .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.account-card { background: var(--cobalt-wash); border-color: #d1ddf5; }
.time-field { max-width: 180px; }
/* Habits list */
.manage-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.manage-list li { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.manage-main { display: grid; gap: 2px; flex: 1; min-width: 0; color: var(--ink); }
.manage-main:hover { color: var(--ink); }
.manage-main strong { font: 600 16px/1.3 var(--sans); overflow-wrap: anywhere; }
.manage-main span { font-size: 13.5px; color: var(--muted); }
.move { display: flex; gap: 2px; }
.move .icon-btn { width: 44px; height: 44px; }
.move .icon-btn:disabled { opacity: .3; cursor: default; }
/* Editor */
.editor { display: grid; gap: 18px; }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--panel-line); }
.segmented.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.segmented button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font: 600 14.5px var(--sans); color: var(--muted); }
.segmented button[aria-checked="true"] { background: #fff; color: var(--ink-solid); box-shadow: 0 1px 3px #0000001a; }
.choice-list { display: grid; gap: 6px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; font: 600 14.5px var(--sans); color: #33363c; cursor: pointer; }
.choice[aria-checked="true"] { border-color: var(--ink-solid); color: var(--ink-solid); }
.choice-dot { flex: none; width: 18px; height: 18px; border: 2px solid var(--line-strong); border-radius: 50%; }
.choice[aria-checked="true"] .choice-dot { border: 5.5px solid var(--ink-solid); }
.day-picks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.day-pick { min-height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font: 600 13px var(--sans); color: #33363c; cursor: pointer; }
.day-pick.on { background: var(--ink-solid); border-color: var(--ink-solid); color: #fff; }
.inline-field { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-size: 15px; color: #33363c; }
.stepper { display: inline-flex; justify-self: start; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.step-btn { width: 44px; height: 44px; border: 0; background: none; font: 500 20px/1 var(--sans); color: var(--ink); cursor: pointer; }
.step-btn:disabled { opacity: .3; cursor: default; }
.step-input { width: 64px; min-height: 44px; padding: 0 4px; border: 0; border-radius: 0; text-align: center; font-weight: 600; box-shadow: none !important; }
.two { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 12px; align-items: end; }
@media (max-width: 420px) { .two { grid-template-columns: minmax(0, 1fr); } }
.day-count { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 8px 0; }
.day-count .round-btn { width: 56px; height: 56px; font-size: 24px; }
.day-count p { display: grid; justify-items: center; min-width: 96px; }
.day-count strong { font: 380 44px/1 var(--serif); }
.day-count span { font-size: 14px; color: var(--muted); }
/* Sheets (from Split) */
.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: #15171b66; animation: fade .15s ease; overflow: hidden; }
.modal { display: flex; flex-direction: column; outline: none; width: min(560px, 100%); max-height: min(88vh, 900px); border-radius: 18px; background: #fff; box-shadow: 0 30px 80px -20px #0006; animation: rise .18s ease; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; }
.modal-title { font: 400 26px/1.2 var(--serif); letter-spacing: -.015em; }
.modal-body { padding: 12px 20px 20px; overflow-y: auto; }
.modal-foot { display: flex; align-items: center; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.icon-btn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; cursor: pointer; color: var(--muted); }
.icon-btn:hover { background: #0000000a; color: var(--ink); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 600px) {
.modal-backdrop { place-items: end stretch; padding: 0; }
.modal { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
}
.toast { display: flex; align-items: center; gap: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); width: max-content; }
.toast-action { flex: none; min-height: 32px; padding: 0 10px; border: 1px solid #ffffff40; border-radius: 8px; background: none; color: #fff; font: 650 14px var(--sans); cursor: pointer; }
.toast-action:hover { background: #ffffff1a; }
@media (min-width: 760px) { .toast { bottom: 24px; } }
body:not(.app-mode) .toast { bottom: 24px; }
Change history
Point OpenApps links to openapps.free
Bind agent address in policy
Use OpenApp service URLs and add contribution strip
Bounded source sync
Bounded source sync
Bounded source sync