Skip to content
1        10        20        30        40        50        60        70        801/* Pear — a small, quiet task list. */23:root {4  color-scheme: light;5  --ink: #1c2430;6  --muted: #6b7583;7  --faint: #9aa2ae;8  --line: #e6e9ee;9  --surface: #f7f8fa;10  --accent: #315efb;11  --accent-hover: #244bd4;12  --success: #2f7d4f;13}1415*,16::before,17::after {18  box-sizing: border-box;19}2021html {22  -webkit-text-size-adjust: 100%;23}2425body {26  min-height: 100vh;27  margin: 0;28  background: #fff;29  color: var(--ink);30  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,31    "Segoe UI", Roboto, sans-serif;32  font-size: 16px;33  line-height: 1.5;34  -webkit-font-smoothing: antialiased;35}3637a {38  color: inherit;39  text-decoration: none;40}4142h1,43h2,44h3,45p {46  overflow-wrap: anywhere;47}4849.sr-only {50  position: absolute;51  width: 1px;52  height: 1px;53  overflow: hidden;54  clip: rect(0, 0, 0, 0);55  white-space: nowrap;56  clip-path: inset(50%);57}5859/* Layout shell ------------------------------------------------------------ */6061.site-header {62  position: sticky;63  top: 0;64  z-index: 10;65  border-bottom: 1px solid var(--line);66  background: rgba(255, 255, 255, 0.92);67  backdrop-filter: blur(8px);68}6970.header-inner {71  display: flex;72  width: min(100% - 2.5rem, 46rem);73  min-height: 3.75rem;74  margin: 0 auto;75  align-items: center;76  gap: 1.25rem;77}7879.brand {80  color: var(--ink);81  font-size: 1.05rem;82  font-weight: 700;83  letter-spacing: -0.03em;84}8586.brand:hover {87  color: var(--ink);88}8990.primary-nav {91  display: flex;92  gap: 1.1rem;93}9495.primary-nav a {96  color: var(--muted);97  font-size: 0.875rem;98}99100.primary-nav a:hover {101  color: var(--ink);102}103104.account {105  display: flex;106  margin-left: auto;107  align-items: center;108  gap: 0.9rem;109}110111.account-name {112  display: none;113  color: var(--muted);114  font-size: 0.875rem;115}116117.link-button {118  padding: 0;119  border: 0;120  background: transparent;121  color: var(--muted);122  font: inherit;123  font-size: 0.875rem;124  cursor: pointer;125}126127.link-button:hover {128  color: var(--ink);129}130131.page-shell {132  width: min(100% - 2.5rem, 46rem);133  margin: 0 auto;134  padding: 2.5rem 0 4rem;135}136137/* Buttons ----------------------------------------------------------------- */138139.btn {140  display: inline-flex;141  align-items: center;142  justify-content: center;143  gap: 0.4rem;144  height: auto;145  min-height: 2.4rem;146  padding: 0.45rem 1rem;147  border: 1px solid transparent;148  border-radius: 0.5rem;149  background: transparent;150  color: var(--ink);151  font: inherit;152  font-size: 0.875rem;153  font-weight: 600;154  line-height: 1;155  text-transform: none;156  white-space: nowrap;157  cursor: pointer;158}159160.btn-sm {161  min-height: 2rem;162  padding: 0.3rem 0.7rem;163  font-size: 0.8rem;164}165166.btn-primary {167  border-color: var(--accent);168  background: var(--accent);169  color: #fff;170}171172.btn-primary:hover {173  border-color: var(--accent-hover);174  background: var(--accent-hover);175  color: #fff;176}177178.btn-outline {179  border-color: var(--line);180  background: #fff;181  color: var(--ink);182}183184.btn-outline:hover {185  border-color: #c9cfd8;186  background: var(--surface);187  color: var(--ink);188}189190.btn-ghost {191  border-color: transparent;192  background: transparent;193  color: var(--muted);194}195196.btn-ghost:hover {197  background: var(--surface);198  color: var(--ink);199}200201.text-link {202  color: var(--muted);203  font-size: 0.875rem;204  text-decoration: underline;205  text-decoration-color: #c7cdd6;206  text-underline-offset: 3px;207}208209.text-link:hover {210  color: var(--ink);211}212213/* Forms ------------------------------------------------------------------- */214215.input,216.textarea,217.select {218  width: 100%;219  height: auto;220  padding: 0.6rem 0.75rem;221  border: 1px solid var(--line);222  border-radius: 0.5rem;223  background: #fff;224  color: var(--ink);225  font: inherit;226  font-size: 0.95rem;227}228229.input:focus,230.textarea:focus,231.select:focus {232  outline: none;233  border-color: #9db1f9;234  box-shadow: 0 0 0 3px rgba(49, 94, 251, 0.12);235}236237.input::placeholder,238.textarea::placeholder {239  color: var(--faint);240}241242.textarea {243  min-height: 5.5rem;244  resize: vertical;245}246247.stack-form {248  display: flex;249  max-width: 36rem;250  flex-direction: column;251  gap: 1.1rem;252}253254.field {255  display: flex;256  flex-direction: column;257  gap: 0.4rem;258}259260.field > label {261  color: var(--ink);262  font-size: 0.85rem;263  font-weight: 600;264}265266.field-hint {267  margin: 0;268  color: var(--muted);269  font-size: 0.78rem;270}271272.form-actions {273  display: flex;274  justify-content: flex-end;275  gap: 0.6rem;276  margin-top: 0.25rem;277}278279/* Page headings ----------------------------------------------------------- */280281.page-head {282  display: flex;283  align-items: flex-end;284  justify-content: space-between;285  gap: 1rem;286  margin: 0 0 1.5rem;287}288289.page-title h1 {290  margin: 0;291  font-size: 1.7rem;292  font-weight: 650;293  letter-spacing: -0.03em;294}295296.page-meta {297  display: flex;298  margin: 0.35rem 0 0;299  gap: 0.4rem;300  color: var(--muted);301  font-size: 0.85rem;302}303304.dot {305  color: #c4cad3;306}307308.eyebrow {309  margin: 0 0 0.5rem;310  color: var(--muted);311  font-size: 0.72rem;312  font-weight: 650;313  letter-spacing: 0.08em;314  text-transform: uppercase;315}316317/* Task list --------------------------------------------------------------- */318319.view-tabs {320  display: inline-flex;321  gap: 0.25rem;322  margin: 0 0 1.25rem;323  padding: 0.25rem;324  border: 1px solid var(--line);325  border-radius: 0.6rem;326  background: var(--surface);327}328329.view-tab {330  display: inline-flex;331  align-items: center;332  gap: 0.4rem;333  padding: 0.4rem 0.85rem;334  border-radius: 0.4rem;335  color: var(--muted);336  font-size: 0.875rem;337  font-weight: 500;338}339340.view-tab:hover {341  color: var(--ink);342}343344.view-tab.is-active {345  background: #fff;346  color: var(--ink);347  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);348}349350.view-count {351  color: var(--faint);352  font-size: 0.75rem;353}354355.tag-filters {356  display: flex;357  flex-wrap: wrap;358  gap: 0.4rem;359  margin: 0 0 1.5rem;360}361362.tag-filter {363  padding: 0.3rem 0.7rem;364  border: 1px solid var(--line);365  border-radius: 999px;366  color: var(--muted);367  font-size: 0.78rem;368}369370.tag-filter:hover {371  border-color: #c9cfd8;372  color: var(--ink);373}374375.tag-filter.is-active {376  border-color: #b9c7fb;377  background: #f2f5ff;378  color: var(--accent);379}380381.task-list {382  border-top: 1px solid var(--line);383}384385.task {386  display: flex;387  align-items: flex-start;388  justify-content: space-between;389  gap: 1rem;390  padding: 1rem 0;391  border-bottom: 1px solid var(--line);392}393394.task-body {395  min-width: 0;396  flex: 1;397}398399.task-title {400  margin: 0;401  color: var(--ink);402  font-size: 1rem;403  font-weight: 600;404}405406.task.is-closed .task-title {407  color: var(--muted);408  font-weight: 500;409}410411.task-note {412  margin: 0.35rem 0 0;413  color: var(--muted);414  font-size: 0.9rem;415  line-height: 1.5;416  white-space: pre-wrap;417}418419.task-tags {420  display: flex;421  flex-wrap: wrap;422  gap: 0.35rem;423  margin-top: 0.55rem;424}425426.tag {427  padding: 0.1rem 0.5rem;428  border: 1px solid var(--line);429  border-radius: 999px;430  background: var(--surface);431  color: var(--muted);432  font-size: 0.75rem;433}434435.task-side {436  display: flex;437  flex: 0 0 auto;438  align-items: center;439  gap: 0.4rem;440}441442.task-outcome {443  color: var(--muted);444  font-size: 0.75rem;445  font-weight: 600;446}447448.task-outcome.is-done {449  color: var(--success);450}451452.empty-state {453  padding: 2.5rem 1rem;454  border: 1px dashed var(--line);455  border-radius: 0.75rem;456  color: var(--muted);457  text-align: center;458}459460.empty-state p {461  margin: 0 0 0.6rem;462}463464/* Guest landing ----------------------------------------------------------- */465466.guest-landing {467  display: flex;468  min-height: min(72vh, 640px);469  flex-direction: column;470  align-items: center;471  justify-content: center;472  padding: 3rem 1rem;473  text-align: center;474}475476.guest-landing h1 {477  max-width: 38rem;478  margin: 0.3rem 0 0.9rem;479  font-size: clamp(2.1rem, 6vw, 3.4rem);480  font-weight: 650;481  letter-spacing: -0.045em;482  line-height: 1.08;483}484485.guest-intro {486  max-width: 32rem;487  margin: 0;488  color: var(--muted);489  font-size: 1rem;490  line-height: 1.65;491}492493.guest-count {494  display: flex;495  align-items: baseline;496  gap: 0.6rem;497  margin: 2rem 0;498  color: var(--muted);499}500501.guest-count strong {502  color: var(--ink);503  font-size: 3rem;504  font-weight: 650;505  letter-spacing: -0.05em;506  line-height: 1;507}508509.guest-count span {510  font-size: 0.8rem;511}512513.guest-actions {514  display: flex;515  flex-direction: column;516  align-items: center;517  gap: 0.9rem;518}519520/* Auth pages -------------------------------------------------------------- */521522.max-w-sm {523  max-width: 24rem;524}525526.w-full {527  width: 100%;528}529530.mx-auto {531  margin-right: auto;532  margin-left: auto;533}534535.flex {536  display: flex;537}538539.flex-col {540  flex-direction: column;541}542543.gap-4 {544  gap: 1rem;545}546547.mt-2 {548  margin-top: 0.5rem;549}550551.mt-4 {552  margin-top: 1rem;553}554555.mt-8 {556  margin-top: 2rem;557}558559.text-sm {560  font-size: 0.875rem;561}562563.opacity-70 {564  opacity: 0.7;565}566567.form-control {568  display: flex;569  flex-direction: column;570}571572.card {573  border: 1px solid var(--line);574  border-radius: 0.8rem;575  background: #fff;576}577578.card-body {579  display: flex;580  flex-direction: column;581  padding: 1.5rem;582}583584.card-title {585  margin: 0 0 0.25rem;586  font-size: 1.25rem;587  font-weight: 650;588  letter-spacing: -0.02em;589}590591.bg-base-200 {592  background: var(--surface);593}594595.label {596  display: block;597  margin: 0 0 0.35rem;598}599600.label-text {601  color: var(--ink);602  font-size: 0.85rem;603  font-weight: 600;604}605606.link,607.link-primary {608  color: var(--accent);609}610611.link:hover,612.link-primary:hover {613  text-decoration: underline;614}615616.alert {617  display: flex;618  align-items: center;619  gap: 0.5rem;620  padding: 0.7rem 0.9rem;621  border: 1px solid var(--line);622  border-radius: 0.6rem;623  background: var(--surface);624  font-size: 0.875rem;625}626627.alert-error {628  border-color: #f2c6c6;629  background: #fdf2f2;630  color: #9b1c1c;631}632633.alert-success {634  border-color: #bfe3ce;635  background: #f1faf4;636  color: #1f6b41;637}638639/* Small screens ----------------------------------------------------------- */640641@media (min-width: 520px) {642  .account-name {643    display: inline;644  }645}646647@media (max-width: 520px) {648  .header-inner,649  .page-shell {650    width: min(100% - 1.5rem, 46rem);651  }652653  .header-inner {654    gap: 0.8rem;655  }656657  .primary-nav {658    gap: 0.8rem;659  }660661  .page-head h1 {662    font-size: 1.45rem;663  }664665  .task {666    flex-direction: column;667    gap: 0.7rem;668  }669670  .task-side {671    width: 100%;672    justify-content: flex-start;673  }674}