:root {
  --blue: #356452;
  --accent: #356452;
  --on-accent: #ffffff;
  --on-green: #ffffff;
  --red: #ad394b;
  --green: #267b62;
  --orange: #8c5a16;
  --bg: #ffffff;
  --card: #fff;
  --bar: #ffffff;
  --label: #292e2b;
  --label2: #59635d;
  --label3: #667169;
  --sep: #d6ddd6;
  --sep2: #e7ebe5;
  --fill: #edf2ec;
  --fill2: #dce7db;
  --avatar: #607766;
  --shadow: none;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font:
    16px/1.65 -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
a {
  color: var(--blue);
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
button,
input,
select,
textarea {
  touch-action: manipulation;
}
.wrap {
  max-width: 960px;
  margin: auto;
  padding: 28px 28px 116px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--label2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--on-accent);
  font-family: Georgia, serif;
  font-size: 21px;
  letter-spacing: 0;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bar);
  padding: 10px 0;
}
.navbar .line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.navbar .mid {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}
.act {
  background: none;
  border: 0;
  padding: 9px 12px;
  min-height: 44px;
  color: var(--blue);
  font-weight: 600;
}
.navbar .back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
}
#addBtn {
  border-radius: 0;
  background: none;
  color: var(--blue);
  padding: 10px 18px;
}
#v-home > .navbar {
  position: static;
  background: none;
  padding: 0;
  margin-top: 4px;
}
#v-ask > .navbar,
#v-set > .navbar {
  display: none;
}
.large {
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: 0;
  margin: 0 0 10px;
}
.intro {
  font-size: 15px;
  color: var(--label2);
  margin: 0 0 28px;
  max-width: 650px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.sect {
  margin: 26px 0 0;
  min-width: 0;
}
.shead {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--label);
  margin: 0;
  padding: 0 0 12px;
}
.shead small {
  color: var(--label2);
  font-size: 13px;
  font-weight: 400;
  margin-left: auto;
}
.sfoot {
  font-size: 13px;
  color: var(--label2);
  padding: 10px 0 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.group {
  background: var(--card);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  width: 100%;
  padding: 16px 20px;
  min-height: 56px;
  background: none;
  border: 0;
  text-align: left;
  color: inherit;
  font-size: 16px;
  letter-spacing: 0;
}
.row:not(:last-child) {
  border-bottom: 1px solid var(--sep2);
}
button.row:hover {
  background: var(--fill);
}
.row .grow {
  flex: 1;
  min-width: 0;
}
.row .ttl {
  display: block;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.row .sub {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--label2);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.row .val {
  color: var(--label);
  text-align: left;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.row:has(> .val) > .grow {
  flex: 0 0 120px;
  color: var(--label2);
  font-size: 14px;
}
.chev {
  flex: none;
  color: var(--label3);
}
.row.blue,
.blue {
  color: var(--blue);
}
.row.red,
.red {
  color: var(--red);
}
.row.center {
  justify-content: center;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #e9eee3;
  color: #485c40;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 20px;
  font-weight: 650;
}
.avatar.tone1 {
  background: #e3f0eb;
  color: #396e5c;
}
.avatar.tone2 {
  background: #fae9dd;
  color: #976039;
}
.avatar.tone3 {
  background: #e3eaf7;
  color: #4a659b;
}
.badge {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--fill);
  color: var(--blue);
  flex: none;
  white-space: nowrap;
}
.badge.due {
  background: color-mix(in srgb, var(--orange) 10%, var(--card));
  color: var(--orange);
}
.badge.warn {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 9%, var(--card));
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.stat {
  border: 0;
  border-left: 1px solid var(--sep);
  background: none;
  padding: 0 16px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 13px;
  color: var(--label2);
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}
.upcoming .group {
  border-top: 1px solid var(--sep);
}
.upcoming .row {
  padding: 17px 16px;
  gap: 10px;
  flex-wrap: wrap;
}
.upcoming .row .grow {
  min-width: 140px;
}
.upcoming .row .badge {
  margin-left: auto;
}
.upcoming .sub {
  font-size: 13px;
}
.upcoming .ttl {
  font-size: 15px;
}
.day-marker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  display: block;
  margin-bottom: 4px;
}
.people-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--card);
  border: 0;
  border-bottom: 1px solid var(--sep);
  border-radius: 0;
  padding: 10px 0;
}
.search svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--label2);
  fill: none;
  stroke-width: 1.8;
}
.search input {
  border: 0;
  min-width: 0;
  width: 100%;
  background: none;
  font-size: 15px;
  padding: 3px;
  outline-offset: 4px;
}
.search input::placeholder {
  color: var(--label3);
}
.filters {
  display: flex;
  gap: 4px;
  background: var(--fill);
  border-radius: 10px;
  padding: 4px;
  flex-wrap: wrap;
}
.filters button {
  white-space: nowrap;
  border: 0;
  background: none;
  padding: 7px 12px;
  border-radius: 7px;
  color: var(--label2);
  font-size: 13px;
  min-height: 38px;
}
.filters button[aria-pressed="true"] {
  background: var(--card);
  color: var(--label);
  box-shadow: none;
  font-weight: 650;
}
#sortPeople {
  margin-left: auto;
  border: 0;
  background: var(--card);
  padding: 7px 10px;
  border-radius: 0;
  font-size: 13px;
  max-width: 100%;
}
.people-grid {
  display: grid;
  gap: 0;
  background: var(--card);
  border-radius: 0;
  border: 0;
  overflow: hidden;
}
.person-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--sep);
  border-radius: 0;
  background: var(--card);
  padding: 24px 0;
  color: var(--label);
  box-shadow: none;
}
.person-card:last-child { border-bottom: 0; }
.person-card:hover { background: var(--fill); }
.person-card:focus-visible { outline-offset: -4px; }
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.card-head .grow {
  flex: 1;
  min-width: 0;
}
.card-head strong {
  font-size: 18px;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.card-head small {
  font-size: 12px;
  display: block;
  color: var(--label2);
  margin-top: 2px;
}
.card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
  font-size: 12px;
  color: var(--label2);
}
.card-meta span {
  padding: 0;
}
.card-note {
  display: block;
  font-size: 14px;
  color: var(--label2);
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.card-next {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
  color: var(--blue);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.empty {
  padding: 28px 22px;
  text-align: center;
  color: var(--label2);
  font-size: 14px;
  line-height: 1.8;
  border: 0;
  border-radius: 0;
  background: var(--card);
}
.empty strong {
  display: block;
  font-size: 17px;
  color: var(--label);
  margin-bottom: 8px;
}
.empty button {
  margin-top: 18px;
}
.phead {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 24px 0 10px;
  flex-wrap: wrap;
}
.phead .avatar {
  width: 76px;
  height: 76px;
  font-size: 30px;
  border-radius: 25px;
}
.phead .identity {
  flex: 1;
  min-width: 0;
}
.phead h1 {
  font-size: 28px;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.phead .s {
  font-size: 14px;
  color: var(--label2);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.detail-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0 30px;
  flex-wrap: wrap;
}
.detail-actions button {
  width: auto;
  flex: 1;
  min-width: 160px;
}
.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.detail-columns > .sect {
  margin-top: 0;
}
.brief .group {
  border-left: 4px solid var(--blue);
}
.brief {
  margin-bottom: 28px;
}
.cell {
  display: block;
  padding: 20px;
  position: relative;
  width: 100%;
  text-align: left;
  color: inherit;
}
.cell:not(:last-child) {
  border-bottom: 1px solid var(--sep2);
}
.cell .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.cell .pl {
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.cell .dt {
  font-size: 13px;
  color: var(--label2);
}
.cell .bd {
  font-size: 15px;
  color: var(--label);
  margin-top: 10px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cell .cost {
  font-size: 13px;
  color: var(--label2);
  font-variant-numeric: tabular-nums;
}
.date-actions {
  display: flex;
  gap: 4px;
}
.date-actions .act {
  font-size: 13px;
}
.tick {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--sep);
  flex: none;
  display: grid;
  place-items: center;
  background: none;
  color: transparent;
}
.tick.on {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-green);
}
.done .ttl {
  color: var(--label2);
  text-decoration: line-through;
}
.danger-zone {
  margin-top: 28px;
}
.danger-zone summary {
  color: var(--label2);
  font-size: 14px;
  cursor: pointer;
  padding: 14px 0;
}
.danger-zone .group {
  box-shadow: none;
}
.frow {
  display: block;
  padding: 16px 20px;
  min-width: 0;
}
.frow:not(:last-child) {
  border-bottom: 1px solid var(--sep2);
}
.frow label,
.frow .field-label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--label2);
  margin: 0 0 8px;
}
.frow input,
.frow select,
.frow textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--sep);
  border-radius: 9px;
  background: var(--bg);
  padding: 10px 12px;
  font-size: 16px;
  min-width: 0;
  min-height: 46px;
  text-align: left;
  line-height: 1.6;
}
.frow textarea {
  min-height: 100px;
  resize: vertical;
}
.frow input[type="date"] {
  min-height: 48px;
  min-inline-size: 0;
  max-inline-size: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.frow input[type="date"]::-webkit-date-and-time-value {
  min-height: 1.6em;
  text-align: left;
}
.frow input[type="date"]::-webkit-datetime-edit {
  min-width: 0;
  padding: 0;
}
.birthday-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.field-help {
  margin: 8px 0 0;
  color: var(--label2);
  font-size: 12px;
  line-height: 1.6;
}
input::placeholder,
textarea::placeholder {
  color: var(--label3);
  opacity: 1;
}
.form-help {
  color: var(--label2);
  font-size: 13px;
  margin: 0 0 18px;
}
.optional-fields {
  margin-top: 22px;
}
.optional-fields > summary {
  font-size: 14px;
  color: var(--blue);
  padding: 12px 0;
  cursor: pointer;
}
.fill {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  min-height: 48px;
  width: 100%;
}
.fill:hover {
  filter: brightness(0.95);
}
.secondary {
  background: var(--card);
  color: var(--blue);
  border: 1px solid var(--sep);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
}
.tag-list .row {
  width: auto;
  border: 1px solid var(--sep);
  border-radius: 100px;
  min-height: 40px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--blue);
}
.qbox {
  background: var(--card);
  border: 0;
  border-radius: 0;
  padding: 18px 20px;
}
.qbox textarea {
  width: 100%;
  border: 0;
  background: none;
  font-size: 17px;
  min-height: 110px;
  resize: vertical;
  line-height: 1.8;
}
#v-ask {
  max-width: 760px;
  margin: auto;
}
#v-ask #aiBtn {
  font-size: 14px;
  margin-top: 8px;
}
#v-ask #qEx .row {
  font-size: 14px;
}
#v-set {
  max-width: 760px;
  margin: auto;
}
.ansbox {
  background: var(--card);
  border: 0;
  border-left: 4px solid var(--blue);
  border-radius: 0;
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ansbox.err {
  color: var(--red);
}
.tabs {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 100%);
  z-index: 30;
  display: flex;
  background: var(--card);
  border: 0;
  border-top: 1px solid var(--sep);
  border-radius: 0;
  padding: 7px 12px max(7px, env(safe-area-inset-bottom));
  box-shadow: none;
}
.tabs button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: 0;
  border-radius: 13px;
  padding: 12px 8px;
  min-height: 48px;
  color: var(--label2);
  font-size: 13px;
  font-weight: 600;
}
.tabs button[aria-current="true"] {
  background: var(--fill);
  color: var(--blue);
}
.tabs svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scrim {
  position: fixed;
  inset: 0;
  background: #17132680;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sheet {
  background: var(--bg);
  width: 100%;
  max-width: 640px;
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 80px #0003;
}
.sheet .navbar {
  padding: 12px 20px;
  border-bottom: 1px solid var(--sep);
  flex-shrink: 0;
}
.sheet .navbar .act.b {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 10px;
  min-width: 64px;
}
.sheet .body {
  overflow-y: auto;
  padding: 4px 24px 28px;
  overscroll-behavior: contain;
}
.sheet .body > .sect:first-child {
  margin-top: 18px;
}
.lock {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lock h2 {
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 28px;
}
.dotsrow {
  display: flex;
  gap: 22px;
  margin-bottom: 14px;
}
.dotsrow i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--label);
  display: block;
}
.dotsrow i.f {
  background: var(--accent);
}
.lockerr {
  color: var(--red);
  font-size: 14px;
  min-height: 20px;
  margin-bottom: 20px;
}
.pad {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  gap: 18px;
}
.pad button {
  height: 76px;
  border-radius: 50%;
  border: 1px solid var(--sep);
  background: var(--card);
  font-size: 30px;
  font-weight: 400;
}
.pad button:active {
  background: var(--fill);
}
.pad button.blank {
  visibility: hidden;
}
.pad button.del {
  background: none;
  border: 0;
  font-size: 15px;
}
#toast {
  position: fixed;
  bottom: 102px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--label);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 110;
  box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
  text-align: center;
}
@media (max-width: 760px) {
  .wrap {
    padding: 22px 20px 120px;
  }
  .home-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .upcoming .group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .upcoming .row {
    display: block;
    border-bottom: 0;
    min-width: 0;
  }
  .upcoming .row:not(:last-child) {
    border-right: 1px solid var(--sep2);
  }
  .upcoming .badge {
    display: inline-block;
    margin-top: 10px;
  }
  .upcoming .row .grow {
    display: block;
    min-width: 0;
  }
  .upcoming .row .sub {
    font-size: 12px;
  }
  .upcoming .shead {
    padding-bottom: 10px;
  }
  .detail-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 0 10px;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat span {
    font-size: 13px;
  }
  .card-head strong {
    font-size: 17px;
  }
  .phead h1 {
    font-size: 25px;
  }
  .row:has(> .val) {
    display: block;
  }
  .row:has(> .val) > .grow {
    display: block;
    margin-bottom: 5px;
  }
  .row .val {
    display: block;
    max-width: none;
  }
  .intro {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .row {
    padding: 15px 18px;
  }
  .tabs {
    bottom: 0;
  }
  .cell .pl {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .scrim {
    padding: 0;
    align-items: flex-end;
  }
  .sheet {
    border-radius: 22px 22px 0 0;
    max-height: 94dvh;
  }
  .sheet .body {
    padding: 0 16px 28px;
  }
  .sheet .navbar {
    padding: 10px 12px;
  }
  .sheet .navbar .act {
    font-size: 14px;
    padding: 8px;
  }
  .sheet .navbar .mid {
    font-size: 15px;
  }
  .sheet .shead {
    font-size: 14px;
  }
  .app-brand {
    margin-bottom: 20px;
  }
  .large {
    padding-right: 0;
    font-size: 28px;
  }
  .person-card {
    padding: 22px 0;
  }
  .detail-actions {
    gap: 8px;
  }
  .detail-actions button {
    min-width: 120px;
    padding: 12px 10px;
  }
  .upcoming .group {
    grid-template-columns: 1fr;
  }
  .upcoming .row {
    display: flex;
    flex-wrap: nowrap;
  }
  .upcoming .row .grow {
    min-width: 0;
  }
  .upcoming .row .badge {
    margin: 0 0 0 auto;
  }
  #sortPeople {
    margin-left: auto;
    width: auto;
  }
  .filters {
    flex: 1 1 auto;
  }
  .filters button {
    flex: 1;
    padding: 6px 10px;
  }
  .tick {
    width: 40px;
    height: 40px;
  }
  .phead .avatar {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
  .phead {
    gap: 14px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .person-card,
  .fill {
    transition:
      border-color 0.15s,
      filter 0.15s;
  }
}

.text-accent {
  color: var(--blue);
}

.text-primary {
  color: var(--label);
}

.text-danger,
.row .text-danger {
  color: var(--red);
}

.display-block {
  display: block;
}

.flex-spacer {
  flex: 1;
}

.brand-caption {
  margin-left: auto;
  letter-spacing: 0;
  font-weight: 500;
}

.ask-actions {
  margin-top: 14px;
}

.record-footer {
  margin-top: 4px;
}

.ai-preview {
  min-height: 200px;
}

.preserve-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Recovery dialogs must also be usable above the encrypted lock screen. */
.scrim {
  z-index: 120;
}

.public-guide { max-width: 760px; margin: 0 auto; padding: 28px 20px 64px; line-height: 1.9; overflow-wrap: anywhere; }
.public-guide h1 { font-size: 28px; margin: 24px 0; }
.public-guide h2 { font-size: 21px; margin: 32px 0 12px; }
.public-guide h3 { font-size: 17px; margin: 20px 0 8px; }
.public-guide p, .public-guide ol { margin: 12px 0; }
.public-guide ol { padding-left: 24px; }
.public-guide a { color: var(--blue); text-decoration: underline; }
.guide-draft { padding: 12px; border: 1px solid var(--sep); border-radius: 10px; }

.upcoming-empty { color: var(--label2); font-size: 14px; margin: 0; line-height: 1.8; }

.add-label-compact { display: none; }
@media (max-width: 480px) {
  .add-label-wide { display: none; }
  .add-label-compact { display: inline; }
  #v-home .large { font-size: 24px; }
  #addBtn { padding: 10px 14px; }
}

.appearance-colors { display: flex; flex-wrap: wrap; gap: 24px; padding: 12px 0; }
.appearance-colors label { display: flex; align-items: center; gap: 12px; }
.appearance-colors input[type="color"] { width: 48px; height: 44px; padding: 3px; border: 1px solid var(--sep); background: var(--card); cursor: pointer; }

.tabs button[aria-current="true"], .filters button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 6px; }

.list-count { color: var(--label2); font-size: 13px; margin: 22px 0 8px; }
.upcoming { margin-top: 30px; }
.people-toolbar { align-items: center; }
@media (max-width: 380px) { .filters button { padding-inline: 6px; } }

#v-home > .navbar .line { justify-content: space-between; }
#v-home > .navbar .large { margin: 0; }

.welcome{max-width:520px;width:100%;overflow-y:auto;max-height:90dvh;padding:20px;}
.welcome h1{font-size:28px;}
.welcome .fill{margin-top:12px;}
.lock>p{max-width:520px;}

.backup-reminder{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 24px;padding:12px 0;border-top:1px solid var(--sep);border-bottom:1px solid var(--sep);background:var(--bg);color:var(--label);font-size:13px;}
.backup-reminder span{flex:1;min-width:180px;}
@media(max-width:480px){.welcome h1{font-size:24px;}}
