/* noto-sans-georgian-georgian-400-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/noto-sans-georgian-georgian-400-normal.woff2")
    format("woff2");
}
/* noto-sans-georgian-latin-400-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/noto-sans-georgian-latin-400-normal.woff2") format("woff2");
}
/* noto-sans-georgian-latin-ext-400-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/noto-sans-georgian-latin-ext-400-normal.woff2")
    format("woff2");
}
/* noto-sans-georgian-georgian-500-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/noto-sans-georgian-georgian-500-normal.woff2")
    format("woff2");
}
/* noto-sans-georgian-latin-500-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/noto-sans-georgian-latin-500-normal.woff2") format("woff2");
}
/* noto-sans-georgian-latin-ext-500-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/noto-sans-georgian-latin-ext-500-normal.woff2")
    format("woff2");
}
/* noto-sans-georgian-georgian-600-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/noto-sans-georgian-georgian-600-normal.woff2")
    format("woff2");
}
/* noto-sans-georgian-latin-600-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/noto-sans-georgian-latin-600-normal.woff2") format("woff2");
}
/* noto-sans-georgian-latin-ext-600-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/noto-sans-georgian-latin-ext-600-normal.woff2")
    format("woff2");
}
/* noto-sans-georgian-georgian-700-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/noto-sans-georgian-georgian-700-normal.woff2")
    format("woff2");
}
/* noto-sans-georgian-latin-700-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/noto-sans-georgian-latin-700-normal.woff2") format("woff2");
}
/* noto-sans-georgian-latin-ext-700-normal */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/noto-sans-georgian-latin-ext-700-normal.woff2")
    format("woff2");
}
:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --surface: #fffefa;
  --ink: #293a2c;
  --muted: #657064;
  --line: #e3e6dc;
  --green: #355b3d;
  --green-soft: #e6f1e4;
  --red: #934833;
  --red-soft: #f9e9e1;
  --amber: #785716;
  --amber-soft: #fcf0cc;
  --gray-soft: #edf0ea;
  --radius: 20px;
  font-family:
    "Noto Sans Georgian",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #92b494;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #d0dfca;
  outline-offset: 1px;
  border-color: #617e5c;
}
button {
  color: inherit;
}
a {
  color: var(--green);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 1.6rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  font-weight: 700;
}
h2 {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 0;
}
h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
p {
  margin-bottom: 0.8rem;
}
.muted,
.footnote {
  color: var(--muted);
}
.footnote {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.shell {
  max-width: 650px;
  margin: 0 auto;
  padding: 26px 18px max(120px, env(safe-area-inset-bottom));
}
.welcome {
  max-width: 430px;
  margin: 7vh auto 0;
  text-align: center;
}
.brand-icon {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  margin-bottom: 16px;
}
.welcome h1 {
  font-size: 1.75rem;
}
.auth-form {
  text-align: left;
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  margin: 26px 0 20px;
}
.access-form {
  text-align: left;
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  margin: 26px 0 20px;
}
.account-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.account-choice {
  min-height: 62px;
  justify-content: flex-start;
  font-size: 1.05rem;
}
.button,
.icon-button,
.avatar-button,
.text-button {
  border: 0;
  background: none;
  min-height: 44px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
}
.button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.button.small {
  font-size: 0.875rem;
  padding: 6px 12px;
}
.button.full {
  width: 100%;
}
.button:hover:enabled {
  filter: brightness(0.97);
}
.icon-button {
  font-size: 1.8rem;
  border-radius: 12px;
  width: 44px;
  flex: 0 0 44px;
  line-height: 1;
}
.icon-button:hover {
  background: var(--gray-soft);
}
.text-button {
  padding: 8px 4px;
  color: var(--green);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.danger {
  color: var(--red);
}
label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 16px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  margin-top: 6px;
  border: 1px solid #cfd6c9;
  border-radius: 10px;
  background: #fffefa;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 1rem;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.65;
}
input[type="date"],
input[type="time"] {
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
fieldset:disabled {
  opacity: 0.65;
}
.error,
.notice {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.error {
  background: #fff0eb;
  color: #933c2a;
  border: 1px solid #efcbbb;
}
.notice {
  background: var(--amber-soft);
  color: #735219;
  border: 1px solid #eddaae;
  margin: 12px 0;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-row > div {
  flex: 1;
  min-width: 0;
}
.brand-row h1 {
  font-size: 1.5rem;
}
.brand-row p {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-icon {
  width: 61px;
  height: 61px;
  border-radius: 14px;
  flex-shrink: 0;
}
.avatar-button {
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  background: #e7d7bb;
  border-radius: 50%;
  font-size: 1.125rem;
  border: 2px solid var(--surface);
}
.family-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 18px;
}
.members {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.current-account {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 12px;
}
.member {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.member-avatar {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--gray-soft);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: var(--ink);
}
.member[data-member="deda"] .member-avatar {
  background: #f2d6cd;
}
.member[data-member="veko"] .member-avatar {
  background: #dce8ca;
}
.member[data-member="lika"] .member-avatar {
  background: #e4dcf0;
}
.member[data-member="giorgi"] .member-avatar {
  background: #d7e6f2;
}
.member.online .member-avatar:after {
  content: "";
  width: 7px;
  height: 7px;
  background: #397d4b;
  border: 2px solid var(--paper);
  border-radius: 50%;
  position: absolute;
  right: -1px;
  bottom: -1px;
}
.connection {
  font-size: 0.8125rem;
  color: var(--muted);
  display: flex;
  gap: 5px;
  align-items: center;
}
.connection.connected {
  color: var(--green);
}
.connection.connected:before {
  content: "";
  background: #4f884b;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.month-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 7px;
}
.month-row h2 {
  text-align: center;
}
.toolbar {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.entry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 13px;
  box-shadow: 0 3px 12px #293a2c06;
  overflow: hidden;
  scroll-margin-top: 20px;
}
.entry.today {
  border-color: #a9bc9d;
}
.entry-header {
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  min-height: 106px;
}
.entry-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.entry-chevron {
  flex: 0 0 22px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
}
.entry.is-open .entry-chevron {
  transform: rotate(180deg);
}
.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  line-height: 1.7;
  font-size: 0.875rem;
  font-weight: 500;
}
.status-free {
  color: #306343;
  background: var(--green-soft);
}
.status-confirmed {
  color: var(--red);
  background: var(--red-soft);
}
.status-hold {
  color: var(--amber);
  background: var(--amber-soft);
}
.status-blocked {
  color: #5c6557;
  background: var(--gray-soft);
}
.status-draft {
  color: #624b79;
  background: #eee8f6;
}
.today-tag {
  font-size: 0.75rem;
  padding: 1px 6px;
  color: var(--green);
  background: var(--green-soft);
  font-weight: 400;
  border-radius: 5px;
}
.writer {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: #6b557b;
}
.entry-body {
  padding: 0 20px 18px;
}
.detail-group {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.detail-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.detail-value {
  font-size: 1.3rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.payments {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.payment-label {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
}
.payment-value {
  font-size: 1.125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.payments > div + div {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.note-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.guest-line {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.stay-line {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.entry-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.last-edited {
  font-size: 0.8125rem;
  color: var(--muted);
}
.booking-attribution {
  display: grid;
  gap: 3px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8125rem;
  padding: 15px 4px;
}
.bottom-action {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px max(18px, env(safe-area-inset-left))
    max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--paper) 18%);
  z-index: 5;
}
.bottom-action > .button {
  max-width: 614px;
  display: flex;
  margin: auto;
  min-height: 55px;
  box-shadow: 0 6px 18px #294d3022;
  font-size: 1rem;
}
.bottom-action .button span {
  font-size: 1.65rem;
  line-height: 1;
}
.empty {
  padding: 22px 6px;
  color: var(--muted);
  text-align: center;
}
.sheet,
.confirm-dialog {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  width: min(560px, calc(100% - 24px));
  padding: 22px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet::backdrop,
.confirm-dialog::backdrop {
  background: #18271ec2;
}
.dialog-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dialog-heading h2 {
  font-size: 1.2rem;
}
.dialog-heading .icon-button {
  align-self: flex-start;
}
.eyebrow {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}
.editor-sync {
  font-size: 0.8125rem;
  color: var(--green);
  padding: 8px 10px;
  background: var(--green-soft);
  border-radius: 9px;
  margin-bottom: 19px;
}
.editor-sync.pending {
  color: var(--amber);
  background: var(--amber-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 12px;
}
.form-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 16px;
}
.editor-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 16px 0;
}
.editor-actions .primary {
  flex: 1;
}
.balance-line {
  font-size: 0.875rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.history-item {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.history-item h3 {
  margin-bottom: 6px;
}
.history-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}
.history-item summary {
  font-size: 0.875rem;
  color: var(--green);
  padding: 6px 0;
  cursor: pointer;
}
.history-changes {
  font-size: 0.875rem;
  padding: 9px 0;
  overflow-wrap: anywhere;
}
.history-changes p {
  margin-bottom: 12px;
}
.history-changes del {
  color: #845447;
}
.history-changes ins {
  text-decoration: none;
  color: var(--green);
}
.toast {
  pointer-events: none;
  position: fixed;
  z-index: 1000;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #243b29;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 0.875rem;
  box-shadow: 0 6px 20px #20302033;
}
.install-icon {
  display: block;
  width: 84px;
  height: 84px;
  margin: 10px auto 25px;
  border-radius: 20px;
}
.confirm-dialog {
  max-width: 420px;
}
.confirm-dialog h2 {
  margin-bottom: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.month-separator {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 19px 3px 11px;
}
.preview-warning {
  font-size: 0.8125rem;
  color: #765b85;
  padding-top: 10px;
}
@media (min-width: 900px) {
  .shell {
    padding-top: 40px;
  }
  .welcome {
    margin-top: 9vh;
  }
  .brand-row h1 {
    font-size: 1.75rem;
  }
  .entry-header {
    padding: 20px 24px;
  }
  .entry-body {
    padding-right: 24px;
    padding-left: 24px;
  }
  .entry-title {
    font-size: 1.2rem;
  }
}
@media (max-width: 390px) {
  .shell {
    padding: 19px 12px 112px;
  }
  .brand-row {
    gap: 8px;
  }
  .brand-row h1 {
    font-size: 1.18rem;
  }
  .header-icon {
    width: 48px;
    height: 48px;
  }
  .avatar-button {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .members {
    gap: 9px;
  }
  .member {
    font-size: 0.75rem;
  }
  .member-avatar {
    width: 26px;
    height: 26px;
  }
  .entry-header {
    padding: 16px;
  }
  .entry-body {
    padding: 0 16px 16px;
  }
  .entry-title {
    font-size: 1rem;
  }
  .status {
    font-size: 0.8125rem;
  }
  .sheet {
    padding: 17px;
  }
  .form-grid {
    gap: 0 8px;
  }
  input,
  select,
  textarea {
    padding-left: 8px;
    padding-right: 8px;
  }
  .auth-form {
    padding: 20px;
  }
  .access-form {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .entry-chevron {
    transition: transform 0.18s;
  }
  .button {
    transition: background 0.12s;
  }
}

/* ---------- Browser notebook notice, sign-in and family names ---------- */
.family-row .connection {
  margin-left: auto;
}
.account-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--tone-soft, var(--surface));
  color: var(--tone, var(--ink));
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 2px 8px #293a2c0f;
  cursor: pointer;
}
.account-avatar svg {
  width: 22px;
  height: 22px;
}
.account-avatar:focus-visible {
  outline: 3px solid #9cbf98;
  outline-offset: 2px;
}
.member-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--ink);
}
.member-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.member-chip::after {
  content: "შეცვლა";
  color: var(--muted);
  font-size: 0.75rem;
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.member-chip.missing {
  border-color: #eddaae;
  background: var(--amber-soft);
  color: #735219;
}
.member-chip.missing::before {
  background: var(--amber);
}
.members .member {
  font-size: 0.8125rem;
}
.person-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px 3px 3px;
  border-radius: 999px;
  background: var(--tone-soft);
  color: var(--tone);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.person-initial {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tone);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.person-chip.small {
  font-size: 0.75rem;
  padding: 1px 9px 1px 2px;
  gap: 5px;
}
.person-chip.small .person-initial {
  width: 18px;
  height: 18px;
  font-size: 0.625rem;
}
.member.online .person-initial {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px #4f884b;
}
.person-0 { --tone: #355b3d; --tone-soft: #e6f1e4; }
.person-1 { --tone: #934833; --tone-soft: #f9e9e1; }
.person-2 { --tone: #34587f; --tone-soft: #e3ebf4; }
.person-3 { --tone: #7a4365; --tone-soft: #f3e5ee; }
.person-4 { --tone: #6a5a12; --tone-soft: #f6efd2; }
.person-5 { --tone: #574a87; --tone-soft: #ebe7f6; }

.guest-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  margin: 22px 0 20px;
  padding: 20px;
  border: 1px solid #d6e5d1;
  border-radius: 24px;
  background: linear-gradient(150deg, #e9f3e6 0%, #f7faf3 46%, var(--surface) 100%);
  box-shadow: 0 10px 28px #293a2c12;
}
.guest-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 14px #355b3d33;
}
.guest-icon svg {
  width: 27px;
  height: 27px;
}
.guest-copy h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 1px 0 4px;
}
.guest-copy p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.guest-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.guest-actions .button {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 600;
}
.guest-actions .google-button {
  grid-column: 1 / -1;
  background: var(--surface);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gray-soft);
  border-radius: 12px;
  padding: 4px;
  margin: 8px 0 16px;
}
.auth-tabs button {
  border: 0;
  background: none;
  border-radius: 9px;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.auth-tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--green);
  font-weight: 600;
  box-shadow: 0 1px 5px #25382a14;
}
.google-button {
  margin-bottom: 4px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 12px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-form .hint {
  font-size: 0.75rem;
}
.password-field {
  position: relative;
  display: block;
  margin-top: 6px;
}
.password-field input {
  margin-top: 0;
  padding-right: 78px;
}
.reveal {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 39px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: var(--gray-soft);
  color: var(--ink);
  font-size: 0.8125rem;
}
.forgot-link {
  display: block;
  margin: -8px 0 12px;
}
.auth-fine {
  text-align: center;
  margin: 12px 0 0;
}
.help-list {
  padding-left: 20px;
  line-height: 1.8;
  font-size: 0.9375rem;
  margin: 0 0 18px;
}
.help-list li {
  margin-bottom: 8px;
}

.member-sheet {
  text-align: center;
  max-width: 440px;
}
.member-sheet h2 {
  margin-bottom: 6px;
}
.member-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 4px;
}
.member-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.member-option .person-chip {
  background: none;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--ink);
}
.member-option.current {
  border-color: var(--green);
  box-shadow: 0 0 0 2px #355b3d26;
}
.member-now {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
}
.member-form {
  text-align: left;
  margin-top: 18px;
}
.member-form label {
  margin-bottom: 0;
}
.inline-form {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.inline-form input {
  flex: 1;
  margin-top: 0;
}
.inline-form .button {
  flex-shrink: 0;
}
.merge-actions {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.account-section {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.account-section:first-child {
  border-top: 0;
  padding-top: 4px;
}
.account-section h3 {
  margin-bottom: 8px;
}
.account-section .button.full,
.account-section .inline-form {
  margin-top: 8px;
}
.current-person {
  margin-bottom: 4px;
}
.member-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.member-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.account-email {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.status-line {
  color: var(--green);
  font-size: 0.875rem;
}
.settings-form {
  margin: 14px 0 6px;
}
.settings-form label {
  margin-bottom: 6px;
}
@media (max-width: 400px) {
  .header-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }
  .guest-card {
    padding: 18px 16px 16px;
    column-gap: 12px;
  }
}
