:root {
  --ink: #253e35;
  --muted: #7b857e;
  --line: #e4e8e1;
  --green: #235442;
  --bg: #f7f8f4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #99bba8;
  outline-offset: 3px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 232px;
  background: #fff;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 33px 21px 20px;
}
.brand {
  display: flex;
  align-items: center;
  font-family:
    Space Grotesk,
    sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
  padding: 0 4px;
}
.brand-icon {
  display: flex;
  margin-right: 0.3em;
}
.brand-icon .logo-mark {
  width: 1.15em;
  height: 1.15em;
}
.brand-dot {
  color: #96a884;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #8a948c;
  font-weight: 700;
  margin: 42px 10px 15px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.nav-label {
  margin-top: 34px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 13px 12px;
  margin: 3px 0;
  color: #7e8981;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
}
.nav.active {
  background: #eaf0e7;
  color: #2e5841;
  font-weight: 700;
}
.main {
  margin-left: 232px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: #ffffffaa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  font-size: 11px;
  color: #9a9e98;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.topbar > div span {
  color: #526259;
}
main {
  max-width: 1560px;
  margin: auto;
  padding: 25px 42px 0;
}
.sample {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #8a8b79;
  margin: 0 0 32px;
  background: #efefe5;
  border: 1px solid #e6e6d8;
  padding: 10px 13px;
  border-radius: 7px;
}
.sample > span {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #8c8b67;
}
.sample button {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
  background: none;
  border: 0;
  color: #5d684e;
  font-size: 10px;
  white-space: nowrap;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  font-weight: 600;
}
h1 {
  font-family:
    Space Grotesk,
    sans-serif;
  font-size: 32px;
  letter-spacing: -1.3px;
  line-height: 1.3;
  font-weight: 600;
  margin: 10px 0 10px;
}
.page-title h1 {
  margin-top: 0;
}
.page-title p {
  color: #8b938b;
  font-size: 12px;
  margin: 0;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #dfe5dc;
  border-radius: 7px;
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.button:hover {
  background: #eff3eb;
}
.button.dark {
  color: white;
  background: #275340;
  border-color: #275340;
}
.button.dark:hover {
  background: #183f2e;
}
.button.small {
  padding: 7px 10px;
  font-size: 10px;
}
.section-heading,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
h2 {
  font-family: Space Grotesk;
  font-size: 16px;
  letter-spacing: -0.4px;
  font-weight: 650;
  margin: 0;
}
/* "Your homes" on Today, with how many there are. */
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading .section-note {
  font-family: "Inter";
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.section-heading h2 span {
  font-family: "Inter";
  font-size: 10px;
  background: var(--coast-tint);
  color: var(--coast);
  padding: 3px 7px;
  border-radius: 5px;
}
.text-button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #7c8b76;
  padding: 0;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.property-card {
  text-align: left;
  padding: 0;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 25px #1834230d;
}
/* Home covers: a plain colour wash per cover choice. A home with a photo sets
   --cover to it inline (CoversHelper#cover_style). */
.cover-0 {
  --cover: linear-gradient(135deg, #102b3f, #2f6f73);
}
.cover-1 {
  --cover: linear-gradient(135deg, #235442, #8a9a5b);
}
.cover-2 {
  --cover: linear-gradient(135deg, #1d4e6e, #6fa8b8);
}
.card-image {
  height: 180px;
  background: var(--cover, #102b3f);
  position: relative;
  padding: 13px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 5px;
  background: #eef4e9;
  color: #506d42;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 5px;
}
.badge.warning {
  background: #fbf3df;
  color: #aa8644;
}
.badge.alert {
  background: #f9e7e2;
  color: #a74934;
}
.badge.subtle {
  background: #eff2e9;
}
.open-card {
  position: absolute;
  bottom: 13px;
  right: 13px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #536551;
}
.card-body {
  padding: 19px;
}
.card-body h3 {
  font-family: Space Grotesk;
  font-size: 17px;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
  font-weight: 650;
}
.card-body > p {
  font-size: 10px;
  color: #949b91;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}
.card-arrival {
  display: flex;
  justify-content: space-between;
  margin: 21px 0 15px;
  padding-top: 16px;
  border-top: 1px solid #edf0e9;
  font-size: 10px;
}
.card-arrival > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #969e92;
}
.card-arrival strong {
  font-weight: 500;
}
.card-progress {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #8b9686;
  margin-bottom: 8px;
}
.card-progress strong {
  color: #6c845e;
  font-weight: 600;
}
.progress {
  height: 4px;
  background: #edf0e8;
  border-radius: 5px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: #8ba677;
  border-radius: 5px;
  transition: width 0.3s;
}
.card-owner {
  margin-top: 17px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #87907f;
}
.mini-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f2eee2;
  color: #8f8365;
  font-size: 8px;
}
.card-owner svg {
  margin-left: auto;
}
/* Cards: every white surface, from panels to home cards. */
.panel,
.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.panel {
  padding: 23px;
}
.panel-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.arrival-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  background: none;
  border: 0;
  border-top: 1px solid #edf0e9;
  width: 100%;
  text-align: left;
}
/* A filtered list of stays has no month bands above its first row. */
.arrivals-list > .arrival-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.arrival-row > svg {
  margin-left: auto;
  color: #a4ad9d;
}
.arrival-row > .badge {
  margin-left: auto;
}
.arrival-row > .badge + svg {
  margin-left: 0;
}
.arrival-row strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
}
.arrival-row strong span {
  font-weight: 400;
  color: var(--muted);
}
.arrival-row small {
  display: block;
  font-size: 10px;
  color: #99a08f;
  margin-top: 5px;
}
.date-box {
  width: 40px;
  min-width: 40px;
  background: #f3f5ec;
  border: 1px solid #e7ebdd;
  text-align: center;
  border-radius: 6px;
  padding: 7px 0;
}
.date-box strong {
  font-size: 16px;
  font-family: Space Grotesk;
  font-weight: 600;
}
.date-box span {
  font-size: 8px;
  color: #95a087;
  text-transform: uppercase;
}
.attention {
  background: #fafbf5;
}
.attention .panel-heading > svg {
  color: #b3a16f;
}
.attention-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 18px 0;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #e9ecdf;
}
.tiny-dot {
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: #bc9f60;
  margin-top: 7px;
}
.attention-item small {
  display: block;
  font-size: 9px;
  color: #98a18a;
  margin-bottom: 6px;
}
.attention-item strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.attention-item p {
  font-size: 10px;
  color: #a0a68f;
  line-height: 1.7;
}
.attention-item > svg {
  margin-left: auto;
  color: #97a18c;
  min-width: 16px;
}
.all-clear {
  padding: 18px 0;
  color: #8ba076;
}
.all-clear h3 {
  font-size: 13px;
  font-weight: 500;
}
.all-clear p {
  color: #98a18a;
  font-size: 11px;
}
footer {
  padding: 32px 0 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  color: #a9b09f;
}
.footer-brand {
  font-family: Space Grotesk;
  font-weight: 800;
  font-size: 17px;
  color: #8fa082;
  letter-spacing: -0.5px;
}
.footer-help {
  margin-left: auto;
}
.footer-help a {
  color: inherit;
}
footer > span:last-child {
  font-size: 8px;
}
.filters {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: #96a08c;
  max-width: 370px;
  width: 100%;
}
.search input {
  background: transparent;
  border: 0;
  padding: 12px 0;
  outline: none;
  width: 100%;
  font-size: 12px;
}
.filters select,
select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  color: #66755e;
  font-size: 12px;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 22px;
}
.back {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #8a9881;
  padding: 0;
}
.actions {
  display: flex;
  gap: 8px;
}
.property-hero {
  background: linear-gradient(0deg, rgba(16, 43, 63, 0.6), rgba(16, 43, 63, 0)), var(--cover, #102b3f);
  height: 255px;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: white;
  margin-bottom: 24px;
}
.property-hero h1 {
  font-size: 37px;
  margin: 8px 0;
}
.property-hero p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}
.property-hero .eyebrow {
  opacity: 0.8;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
  gap: 24px;
}
.detail-grid section > .panel {
  margin-bottom: 20px;
}
.arrival-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.overline {
  display: block;
  color: #89967e;
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 600;
  margin-bottom: 12px;
}
.arrival-panel h2 {
  font-size: 20px;
}
.arrival-panel p {
  font-size: 12px;
  color: #8b9782;
}
.arrival-panel > svg {
  color: #a1b28f;
}
.separator {
  margin: 0 8px;
}
.large {
  height: 5px;
  margin-bottom: 16px;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0e9;
}
.task-row:last-child {
  border-bottom: 0;
}
.checkbox {
  height: 21px;
  width: 21px;
  min-width: 21px;
  border: 1px solid #d8e0cf;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.checkbox.checked {
  background: #76976b;
  color: white;
  border-color: #76976b;
}
.task-content {
  background: none;
  border: 0;
  text-align: left;
  padding: 0;
  flex: 1;
}
.task-content strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  line-height: 1.6;
}
.task-content small {
  font-size: 10px;
  color: #98a18e;
  margin-top: 4px;
  display: block;
}
.completed strong {
  color: #93a187;
}
.task-row > svg {
  color: #a7b19e;
}
.task-blocked {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 10px;
  color: #b39455;
  margin-top: 8px;
  line-height: 1.7;
}
.task-blocked svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.right-column > .panel {
  margin-bottom: 20px;
}
.notes {
  font-size: 12px;
  line-height: 1.9;
  color: #8a9681;
  margin-bottom: 0;
}
.muted {
  font-size: 12px;
  line-height: 1.8;
  color: #97a18d;
}
.preview-note {
  font-size: 11px;
  line-height: 1.7;
  color: #9d9a7c;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 12px 0;
}
.photo-grid img {
  width: 100%;
  height: 90px;
  border-radius: 6px;
  object-fit: cover;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.team-card {
  text-align: center;
  padding: 30px 20px;
}
.team-card .avatar {
  width: 52px;
  height: 52px;
  font-size: 16px;
  margin-bottom: 15px;
}
.team-card p {
  font-size: 12px;
  color: #97a18d;
}
.team-add {
  border: 1px dashed #cdd9c3;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  min-height: 210px;
  font-size: 12px;
  color: #96a38a;
}
/* Bands head each group in a list, on every screen: a stay's tasks on
   Tasks and on a profile, a month on Stays, current and past stays on a
   home's page. A month is the bigger grouping, so it is a larger band. */
.band {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #e8eff4;
  color: #28546f;
  border: 0;
  border-radius: 6px;
  padding: 12px;
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}
.band.large {
  margin-top: 28px;
  font-size: 14px;
  font-weight: 650;
}
.band:first-child {
  margin-top: 0;
}
.band + .arrival-row {
  border-top: 0;
}
.empty {
  padding: 35px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  color: #91a084;
  font-size: 12px;
}
.empty h2,
.empty p {
  margin: 0;
}
.error {
  margin: 16px 42px;
  background: #f9e9e2;
  border: 1px solid #e7c7b9;
  border-radius: 6px;
  padding: 13px;
  color: #9d5c3c;
  font-size: 12px;
}
.error button {
  background: none;
  border: 0;
  text-decoration: underline;
  margin-left: 8px;
}
.loading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 100px;
  font-size: 14px;
  color: #8a9d7e;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.overlay {
  position: fixed;
  inset: 0;
  background: #18342560;
  backdrop-filter: blur(5px);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal {
  background: #fff;
  border-radius: 15px;
  width: 510px;
  max-height: 90vh;
  overflow: auto;
  padding: 32px;
  box-shadow: 0 25px 90px #102c2940;
  position: relative;
}
.modal h2 {
  font-size: 24px;
  margin: 8px 25px 25px 0;
}
.modal > p {
  font-size: 13px;
  color: #87947b;
  line-height: 1.8;
  margin-bottom: 25px;
}
.close {
  position: absolute;
  top: 22px;
  right: 22px;
  border: 0;
  background: none;
  color: #97a28d;
}
.modal label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin: 15px 0;
}
.modal input:not([type="checkbox"]):not([type="file"]),
.modal textarea,
.modal select {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce3d5;
  border-radius: 7px;
  margin-top: 7px;
  background: #fcfdf9;
  font-size: 12px;
  color: #526549;
}
.modal textarea {
  height: 95px;
  resize: vertical;
  line-height: 1.8;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.modal .check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.form-hint {
  font-size: 10px;
  line-height: 1.8;
  color: #a0a48e;
}
.form-hint a {
  color: inherit;
  text-decoration: underline;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid #edf0e7;
  padding-top: 20px;
  margin-top: 25px;
}
.upload {
  border: 1px dashed #cbd8c0;
  border-radius: 8px;
  background: #f6f9f1;
  padding: 18px;
  text-align: center;
  color: #849775;
  position: relative;
  display: flex !important;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
}
.upload small {
  font-size: 9px;
  color: #a2ad98;
}
.upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
@media (min-width: 1550px) {
  .card-image {
    height: 220px;
  }
  main {
    padding-top: 32px;
  }
  .page-title {
    margin: 35px 0 40px;
  }
  h1 {
    font-size: 37px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 195px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand {
    font-size: 19px;
    padding: 0;
  }
  .main {
    margin-left: 195px;
  }
  main {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .card-image {
    height: 145px;
  }
  .card-body {
    padding: 15px;
  }
  .page-title h1 {
    font-size: 27px;
  }
  .property-grid {
    gap: 13px;
  }
  .panel {
    padding: 19px;
  }
  .detail-grid {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 84px;
    padding: 25px 8px;
  }
  .brand {
    font-size: 0;
    padding: 0;
    justify-content: center;
  }
  .brand-icon {
    margin: 0;
    padding: 8px;
    border-radius: 11px;
    background: #ffffff10;
  }
  .brand-icon .logo-mark {
    width: 22px;
    height: 22px;
  }
  .brand .brand-dot,
  .nav-label {
    display: none;
  }
  .sidebar nav {
    margin-top: 35px;
  }
  /* A short label under each icon, so no page is a guess. */
  .nav {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px 2px;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
  }
  .nav-text {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .nav svg {
    width: 20px;
    height: 20px;
  }
  .main {
    margin-left: 84px;
  }
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-grid > .property-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .page-title {
    align-items: flex-start;
  }
  .page-title h1 {
    font-size: 27px;
  }
  .page-title > .button {
    margin-top: 23px;
  }
  .sample {
    flex-wrap: wrap;
    line-height: 1.7;
  }
  .sample > span {
    width: 100%;
  }
  .sample button {
    margin-left: 0;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .right-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .right-column > .panel {
    margin: 0;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  /* On phones the pages sit in a bar along the bottom, icon over label. */
  .sidebar {
    inset: auto 0 0;
    width: 100%;
    flex-direction: row;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    border-right: 0;
    z-index: 10;
  }
  .sidebar .brand {
    display: none;
  }
  .sidebar nav {
    display: flex;
    width: 100%;
    margin: 0;
    gap: 2px;
  }
  .nav {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 1px;
    margin: 0;
    gap: 4px;
  }
  .shell {
    display: block;
  }
  .main {
    margin: 0;
  }
  .sidebar ~ .main {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .topbar {
    height: 56px;
    padding: 0 18px;
    gap: 12px;
  }
  .topbar .topbar-brand {
    display: flex;
  }
  .topbar-brand-name,
  .crumbs > svg,
  .crumb-section {
    display: none;
  }
  .topbar > div {
    gap: 6px;
    font-size: 10px;
  }
  .sample {
    margin-bottom: 24px;
  }
  main {
    padding: 18px;
  }
  .page-title {
    display: block;
    margin-bottom: 25px;
  }
  .page-title h1 {
    font-size: 29px;
    max-width: 300px;
    line-height: 1.35;
  }
  .page-title > .button {
    margin-top: 18px;
  }
  .property-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-image {
    height: 205px;
  }
  .card-body {
    padding: 20px;
  }
  .card-body h3 {
    font-size: 19px;
  }
  .card-body > p,
  .card-arrival,
  .card-progress,
  .card-owner {
    font-size: 11px;
  }
  .filters {
    flex-direction: column;
  }
  .filters select {
    width: 100%;
  }
  .detail-heading {
    flex-direction: column;
    gap: 18px;
  }
  .actions .button {
    font-size: 10px;
    padding: 9px;
  }
  .property-hero {
    height: 230px;
    padding: 22px;
    display: block;
    position: relative;
  }
  .property-hero > div {
    position: absolute;
    bottom: 23px;
  }
  .property-hero > .badge {
    position: absolute;
    top: 18px;
    right: 18px;
  }
  .property-hero h1 {
    font-size: 29px;
  }
  .right-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 25px 20px;
  }
  .modal h2 {
    font-size: 21px;
  }
  .modal-actions {
    gap: 6px;
  }
  .error {
    margin: 15px 18px;
  }
  footer {
    font-size: 8px;
    gap: 8px;
  }
  footer > span:last-child {
    display: none;
  }
  .arrival-row {
    flex-wrap: wrap;
  }
  .arrival-row > .badge {
    margin-left: 53px;
  }
  .task-content strong {
    font-size: 12px;
  }
}
.property-card {
  display: block;
}
.form-panel {
  max-width: 650px;
}
.settings-data {
  margin-top: 20px;
}
.form-panel label,
.auth-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 20px 0 7px;
}
.form-panel input:not([type="checkbox"]):not([type="submit"]),
.form-panel textarea,
.form-panel select,
.auth-form input:not([type="submit"]) {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #dce3d5;
  border-radius: 7px;
  background: #fcfdf9;
  color: #526549;
  font-size: 13px;
}
.form-panel textarea {
  height: 120px;
  resize: vertical;
  line-height: 1.8;
}
.form-panel .check-label {
  display: flex;
  gap: 9px;
  align-items: center;
}
.flash {
  padding: 14px 17px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.flash.success {
  background: #eaf2e4;
  border: 1px solid #d6e3ca;
  color: #4e7040;
}
.flash.error {
  background: #f9e9e2;
  border: 1px solid #e7c7b9;
  color: #9d5c3c;
}
.flash ul {
  margin-bottom: 0;
  padding-left: 20px;
}
.field_with_errors {
  display: contents;
}
.field_with_errors input {
  border-color: #bc785e !important;
}
.danger-zone {
  margin-top: 30px;
  border-top: 1px solid #edf0e9;
  padding-top: 20px;
}
.danger-zone form + form {
  margin-top: 12px;
}
/* The home's current photo, above the field that replaces it. */
.form-photo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 8px;
  margin: 4px 0 10px;
}
.danger {
  color: #a66f59;
}
/* Deleting a workspace or an account: a button that can't be undone. */
.button.destructive {
  color: white;
  background: #a66f59;
  border-color: #a66f59;
}
.button.destructive:hover {
  background: #8c5a46;
}
.deletion-panel > p {
  margin: 0 0 12px;
}
.deletion-workspaces {
  margin: 0 0 12px;
  padding-left: 18px;
}
.contact-remove {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.auth-shell {
  max-width: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(ellipse at 10% 10%, #e6edde, transparent 60%);
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  font-size: 38px;
  font-weight: 800;
  font-family: Space Grotesk;
  letter-spacing: -2px;
  margin-bottom: 30px;
  color: #315c43;
}
.auth-brand .logo-mark {
  margin-right: 0.25em;
}
.auth-card {
  background: #fff;
  border: 1px solid #e1e7da;
  padding: 38px;
  border-radius: 16px;
  width: min(460px, 100%);
  box-shadow: 0 20px 70px #29492c08;
}
.auth-card h1 {
  font-size: 29px;
}
.auth-form .button {
  width: 100%;
  margin-top: 25px;
  padding: 13px;
}
.auth-form small {
  display: block;
  font-size: 10px;
  color: #92a086;
  margin-top: 7px;
}
.auth-form .auth-agreement {
  margin-top: 12px;
  line-height: 1.6;
}
.auth-agreement a {
  text-decoration: underline;
}
.auth-link {
  text-align: center;
  font-size: 12px;
  color: #8b9780;
  margin-top: 23px;
}
.auth-link a {
  color: #3c6848;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-caption {
  font-size: 11px;
  color: #99a48b;
  margin-top: 25px;
}
.button_to {
  margin: 0;
}
.task-content {
  flex: 1;
}
.task-row > .button_to {
  display: flex;
}
.detail-heading .actions {
  flex-wrap: wrap;
}
/* The owner preview is a quiet way to look, next to the home's actions. */
.detail-heading .preview-link {
  margin-right: 8px;
  font-size: 12px;
  color: var(--coast);
}
.detail-heading .preview-link:hover {
  text-decoration: underline;
}
.task-content a:hover {
  color: #4c7947;
}
.card-image {
  background-color: #d5dfd0;
}
.upload-label {
  line-height: 1.8;
}
input[type="file"] {
  font-size: 11px !important;
}
input[type="file"]::file-selector-button {
  border: 1px solid #ccd8c0;
  border-radius: 5px;
  padding: 8px;
  background: #edf3e6;
  color: #607551;
  cursor: pointer;
  margin-right: 10px;
}
form.filters {
  justify-content: flex-start;
}
@media (max-width: 550px) {
  .auth-card {
    padding: 25px;
  }
  .auth-card h1 {
    font-size: 26px;
  }
  .detail-heading .actions {
    gap: 7px;
  }
  .form-row {
    gap: 10px;
  }
  .form-panel {
    padding: 20px;
  }
}

/* BetweenStays identity: midnight, coral, ivory and coastal blue. */
:root {
  --ink: #102b3f;
  --muted: #5b7084;
  --line: #dce1e3;
  --green: #366f8c;
  --bg: #f8f6f0;
  --midnight: #102b3f;
  --coral: #ef6a50;
  --coast: #366f8c;
}
body {
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
}
h1,
h2,
.brand,
.card-body h3,
.date-box strong,
.footer-brand,
.auth-brand {
  font-family: "Space Grotesk", sans-serif;
}
.sidebar {
  background: #102b3f;
  border-color: #102b3f;
}
.brand {
  color: #fff;
}
.brand-icon {
  color: #fff;
}
.brand-dot {
  color: #ef6a50;
}
.nav-label {
  color: #99b2c3;
}
.nav {
  color: #c2d1da;
}
.nav:hover {
  background: #ffffff09;
}
.nav.active {
  background: #ffffff12;
  color: #fff;
}
.nav.active svg {
  color: #f5ac98;
}
.topbar {
  background: #fff8;
  color: #5b7084;
}
.topbar > div span {
  color: #102b3f;
}
.button {
  border-color: #cfd9de;
  color: #264c63;
  background: #fff;
}
.button:hover {
  background: #edf2f5;
}
.button.dark {
  color: #102b3f;
  background: #ef6a50;
  border-color: #ef6a50;
  font-weight: 650;
}
.button.dark:hover {
  background: #fa856c;
  border-color: #fa856c;
}
.page-title p,
.card-body > p,
.card-owner,
.card-arrival > span,
.card-progress,
.notes,
.muted,
.preview-note,
.arrival-panel p,
.task-content small,
.team-card p {
  color: #5b7084;
}
.text-button,
.back {
  color: #366f8c;
}
.badge {
  background: #dceee8;
  color: #285f53;
}
.badge.warning {
  background: #fbe6db;
  color: #98492f;
}
.badge.subtle {
  background: #e6eef4;
  color: #366f8c;
}
.progress {
  background: #e6ecef;
}
.progress i {
  background: #366f8c;
}
.card-progress strong {
  color: #366f8c;
}
.card-owner .mini-avatar {
  background: #f7e4da;
  color: #9b513b;
}
.date-box {
  background: #e8eff4;
  border-color: #d5e1e9;
  color: #244c66;
}
.date-box span,
.arrival-row small {
  color: #5b7084;
}
.attention {
  background: #fff7f0;
}
.attention .panel-heading > svg,
.task-blocked {
  color: #a35c39;
}
.attention-item {
  border-color: #eee0d6;
}
.attention-item small,
.attention-item p {
  color: #886c5d;
}
.tiny-dot {
  background: #ef6a50;
}
.all-clear {
  color: #366f8c;
}
.all-clear p {
  color: #5b7084;
}
.overline {
  color: #366f8c;
}
.checkbox {
  border-color: #b8cad6;
}
.checkbox.checked {
  background: #366f8c;
  border-color: #366f8c;
}
.completed strong {
  color: #5b7084;
}
.team-add {
  border-color: #adc3d2;
  color: #366f8c;
}
.flash.success {
  background: #dceee8;
  border-color: #bfdacf;
  color: #285f53;
}
.form-hint {
  color: #5b7084;
}
.form-panel input:not([type="checkbox"]):not([type="submit"]),
.form-panel textarea,
.form-panel select,
.auth-form input:not([type="submit"]) {
  background: #fbfcfd;
  border-color: #cbd8e0;
  color: #193c55;
}
.task-content a:hover {
  color: #366f8c;
}
.auth-shell {
  background: #102b3f;
}
.auth-brand {
  color: #fff;
}
.auth-card {
  background: #f8f6f0;
  border-color: #f8f6f0;
  border-radius: 14px;
  box-shadow: 0 25px 80px #0002;
}
.auth-caption {
  color: #afc5d3;
}
.auth-form small,
.auth-link {
  color: #5b7084;
}
.auth-link a {
  color: #245877;
}
.auth-form .button {
  color: #102b3f;
}
.footer-brand {
  color: #366f8c;
}
footer {
  color: #5b7084;
}
input[type="file"]::file-selector-button {
  background: #e8eff4;
  color: #28546f;
  border-color: #bfd0dc;
}
.task-row,
.card-arrival,
.arrival-row {
  border-color: #e4e9ec;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: #ef6a50;
}

/* Palette balance: carry midnight, coral, foam and coastal blue into the
   content area so the sidebar is not the only place with colour. */
:root {
  --ivory: #f8f6f0;
  --slate: #5b7084;
  --foam: #dceee8;
  --coral-tint: #fbe6db;
  --coast-tint: #e4edf3;
}


/* Team avatars rotate through the palette tints instead of one pale blue. */
.team-card:nth-child(3n + 1) .avatar {
  background: var(--coral-tint);
  color: #9b513b;
}
.team-card:nth-child(3n + 2) .avatar {
  background: var(--foam);
  color: #285f53;
}
.team-card:nth-child(3n) .avatar {
  background: var(--coast-tint);
  color: var(--coast);
}

/* Empty states: a coral-tinted mark, midnight heading, slate copy. */
.empty {
  color: var(--slate);
}
.empty > svg {
  box-sizing: content-box;
  padding: 16px;
  border-radius: 50%;
  background: var(--coral-tint);
  color: var(--coral);
}
.empty h2 {
  color: var(--midnight);
}

/* Leftovers from the earlier green theme. */
.open-card,
.sample button {
  color: var(--midnight);
}
.arrival-row > svg,
.attention-item > svg,
.arrival-panel > svg,
.task-row > svg,
.close,
.search {
  color: #8a9bab;
}
.filters select,
select,
.modal > p,
.loading {
  color: var(--slate);
}
.sample {
  background: var(--coast-tint);
  border-color: #d5e1e9;
  color: var(--slate);
}
.sample > span {
  color: var(--coast);
}
.modal input:not([type="checkbox"]):not([type="file"]),
.modal textarea,
.modal select {
  border-color: #cbd8e0;
  color: #193c55;
}
.upload {
  background: #f3f7fa;
  border-color: #adc3d2;
  color: var(--coast);
}
.upload small {
  color: var(--slate);
}
.card-image {
  background-color: var(--coast-tint);
}

/* Suggestions: the list of what a user has sent. */
.suggestion-list {
  max-width: 650px;
  margin: 22px 0 20px;
}
.suggestion-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.suggestion-row p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.suggestion-row small {
  font-size: 10px;
  color: var(--slate);
}
.suggestion-row .badge {
  flex-shrink: 0;
}

/* Suggestions: clickable rows and the detail page. */
a.suggestion-row:hover p {
  color: var(--coast);
}
.suggestion-detail {
  margin-bottom: 20px;
}
.suggestion-detail > p:not(.muted) {
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.form-panel h2 {
  margin-bottom: 6px;
}

/* People: one card per person, with whether they can sign in */
.team-card h2 a:hover {
  text-decoration: underline;
}
.team-card .person-email {
  overflow-wrap: anywhere;
}
.team-card .person-access {
  margin: 6px 0 2px;
  color: var(--ink);
  font-weight: 500;
}
.person-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.team-card .invite-link {
  text-align: left;
}
.contact-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.contact-profile .avatar {
  width: 56px;
  height: 56px;
  font-size: 17px;
  background: var(--coral-tint);
  color: #9b513b;
}
.contact-profile h1 {
  font-size: 26px;
  margin: 0 0 4px;
}
.contact-profile p {
  margin: 0;
  font-size: 12px;
  color: #5b7084;
}
.contact-profile p a {
  color: var(--coast);
}
.contact-counts {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: #5b7084;
}
.contact-counts strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  color: var(--ink);
  margin-right: 4px;
}
.done-item {
  padding: 11px 0;
  border-top: 1px solid #e4e9ec;
}
.done-item strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.done-item small {
  display: block;
  font-size: 10px;
  color: #5b7084;
  margin-top: 3px;
}
@media (max-width: 550px) {
  .contact-profile {
    flex-wrap: wrap;
  }
  .contact-counts {
    margin-left: 0;
    width: 100%;
  }
}

.attention .see-all,
.tomorrow-panel .see-all {
  margin-top: 14px;
}
/* The rest of a busy day on Today, opened in place. */
.today-more summary {
  margin-top: 14px;
  cursor: pointer;
  list-style: none;
}
.today-more summary::-webkit-details-marker {
  display: none;
}
.today-more[open] summary {
  margin: 0 0 4px;
}
.today-more[open] .when-closed,
.today-more:not([open]) .when-open {
  display: none;
}
/* What a filtered list shows, and the way back to all of it. */
.filter-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: -8px 0 18px;
  font-size: 12px;
}
.filter-label .text-button {
  font-size: 12px;
  text-decoration: underline;
}

.past-stays {
  margin-top: 18px;
  border-top: 1px solid #edf0e9;
  padding-top: 14px;
}
.past-stays summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.past-stays summary::-webkit-details-marker {
  display: none;
}
.past-stays summary svg {
  transition: transform 0.15s ease;
}
.past-stays[open] summary svg {
  transform: rotate(90deg);
}

.arrival-panel .stay-times {
  margin-top: 4px;
  font-size: 11px;
}

.arrival-panel .turnover-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: #a74934;
}

/* Who answered for the stay's job, and who can't do it */
.arrival-panel.declined {
  border-color: var(--coral);
}
.job-team ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
}
.job-team li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.arrival-panel .job-declined {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: #a74934;
}

/* Property form sections and the access card on the property page. */
.form-section {
  border: 0;
  margin: 32px 0 0;
  padding: 0;
  min-width: 0;
}
.form-section legend {
  float: left;
  width: 100%;
  padding: 24px 0 0;
  border-top: 1px solid #e6ebe0;
  font-size: 15px;
  font-weight: 500;
}
.form-section legend + * {
  clear: both;
}
.access-details {
  margin: 12px 0 16px;
  font-size: 12px;
  line-height: 1.8;
  color: #6f7f66;
}
.access-details dt {
  font-weight: 500;
  color: #526549;
  margin-top: 12px;
}
.access-details dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.access-details p {
  margin: 0;
}
.access-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-panel textarea.short {
  height: 84px;
}
.form-panel textarea.tall {
  height: 200px;
}
.access-details code {
  font-size: 12px;
  background: #f1f4ec;
  padding: 1px 6px;
  border-radius: 4px;
}
.access-standalone {
  max-width: 650px;
  margin-top: 20px;
}

/* Invitation links on the People page */
.invite-link {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.invite-link input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fcfdf9;
  font-size: 11px;
  color: var(--ink);
}
.role-choice {
  border: 0;
  padding: 0;
  margin: 20px 0 0;
}
/* Managers see everything, so they need no name or team member. */
.invite-form:has(input[value="manager"]:checked) .staff-only {
  display: none;
}
.role-choice legend {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
.form-panel .role-choice label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 400;
}
.form-panel .role-choice input[type="radio"] {
  display: inline;
  width: auto;
  margin: 2px 0 0;
}
.role-choice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

/* My tasks: one card per stay, built for phones */
.my-day {
  margin-bottom: 24px;
}
.my-day > .overline {
  margin: 0 0 10px;
}
.my-stay {
  margin-bottom: 14px;
}
.my-stay header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}
.my-stay h3 {
  margin: 0;
  font-size: 16px;
}
.my-stay header span,
.my-stay-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.my-stay-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 10px 0 0;
  font-size: 12px;
}
.my-stay .stay-times {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.my-stay-notes {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--bg);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-line;
}
.my-task .checkbox {
  height: 28px;
  width: 28px;
  min-width: 28px;
}
.my-task .task-content small {
  white-space: pre-line;
}
.my-task.completed strong {
  text-decoration: line-through;
}
.my-task-done {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: #507a46;
}
.my-task-done .button_to {
  margin: 0;
}
.my-task-done .text-button {
  font-size: 12px;
  text-decoration: underline;
}
.my-stay-status:empty {
  display: none;
}
.my-stay-status .badge {
  gap: 4px;
}
.my-stay-status .badge:before {
  display: none;
}
.my-task-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.my-task-photos img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

/* My tasks: answering for a job, adding photos and reporting problems */
.job-answer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 12px 0 4px;
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--bg);
  font-size: 12px;
}
.job-answer p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.job-answer.confirmed {
  background: var(--foam);
}
.job-answer.declined {
  background: var(--coral-tint);
}
.job-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}
.job-actions .button_to {
  margin: 0;
}
.job-decline[open] {
  flex-basis: 100%;
}
.job-decline summary,
.report-problem summary,
.my-task-upload summary,
.my-stay-access summary {
  list-style: none;
  cursor: pointer;
}
.job-decline summary::-webkit-details-marker,
.report-problem summary::-webkit-details-marker,
.my-task-upload summary::-webkit-details-marker,
.my-stay-access summary::-webkit-details-marker {
  display: none;
}
.report-problem summary,
.my-task-upload summary,
.my-stay-access summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}
.job-decline form,
.report-problem form,
.my-task-upload form {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin-top: 8px;
}
.my-stay textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  resize: vertical;
}
.my-task-upload {
  margin-top: 6px;
  font-size: 11px;
}
.my-stay-access {
  margin-top: 12px;
  font-size: 12px;
}
.my-stay-access .access-panel {
  padding: 0;
  border: 0;
}
.my-stay-access .access-panel > .overline {
  display: none;
}
.my-stay-access .access-details {
  margin-bottom: 0;
}
.report-problem {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #edf0e9;
  font-size: 12px;
}
.my-later > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 12px 0;
  font-size: 11px;
  cursor: pointer;
  list-style: none;
}
.my-later > summary::-webkit-details-marker {
  display: none;
}
.my-later > summary svg {
  transition: transform 0.15s;
}
.my-later[open] > summary svg {
  transform: rotate(90deg);
}
.my-task + .report-problem {
  margin-top: 0;
  border-top: 0;
}
.join-panel .button_to {
  margin-top: 16px;
}

/* Workspace switcher in the topbar */
/* A button or label that opens a short list of choices, such as the
   workspace switcher and "Plan a stay". */
.dropdown {
  position: relative;
}
.dropdown summary {
  cursor: pointer;
  list-style: none;
}
.dropdown summary::-webkit-details-marker {
  display: none;
}
.workspace-switcher summary {
  font-weight: 500;
  color: var(--ink);
}
.workspace-switcher summary::after {
  content: " ▾";
  color: var(--muted);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px #1d2b2414;
}
.dropdown-menu.align-end {
  left: auto;
  right: 0;
}
/* On phones the page's button sits on the left, under the title. */
@media (max-width: 550px) {
  .dropdown-menu.align-end {
    left: 0;
    right: auto;
  }
}
.dropdown-menu .overline {
  display: block;
  padding: 4px 8px;
}
.dropdown-menu form {
  margin: 0;
}
.dropdown-option {
  display: block;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  font-size: 12px;
  text-align: left;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.dropdown-option:hover {
  background: #f3f5ef;
}
.dropdown-option.create {
  margin-top: 4px;
  border-top: 1px solid #edf0e9;
  border-radius: 0 0 6px 6px;
  color: var(--muted);
}
.empty .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
/* "Your homes" follows the day's plan in the markup, as a phone shows
   it; on a wider screen it moves up, right under the numbers. */
.today-layout {
  display: flex;
  flex-direction: column;
}
@media (min-width: 851px) {
  .today-homes {
    order: -1;
    margin-bottom: 30px;
  }
}
/* Today on the left with tomorrow under it, and what needs attention on
   the right. In one column the page follows the markup: reported problems
   come right after today when there are any. */
.today-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "today attention"
    "tomorrow attention";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 22px;
  margin-bottom: 35px;
}
.today-panel {
  grid-area: today;
}
.tomorrow-panel {
  grid-area: tomorrow;
}
.today-grid > .attention {
  grid-area: attention;
}
@media (max-width: 850px) {
  .today-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }
  .today-grid > .panel {
    grid-area: auto;
  }
}
.today-count,
.today-row small,
.tomorrow-list small {
  font-size: 10px;
  color: #5b7084;
}
.today-row,
.tomorrow-list a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid #e4e9ec;
}
.today-row.warning-row {
  margin: 0 -12px;
  padding: 14px 12px;
  background: #fbeee9;
  border-radius: 8px;
}
.time-box {
  min-width: 48px;
  padding: 8px 4px;
  text-align: center;
  background: #e8eff4;
  border: 1px solid #d5e1e9;
  border-radius: 8px;
  color: #244c66;
}
.time-box strong,
.tomorrow-list strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}
.today-main {
  flex: 1;
  min-width: 0;
}
.warning-row + .warning-row {
  margin-top: 6px;
}
.today-main strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.today-main small,
.tomorrow-list small {
  display: block;
  margin-top: 5px;
}
.today-main .today-note,
.tomorrow-list .today-note {
  color: #a35c39;
}
.today-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  margin-left: auto;
  text-align: right;
}
.tomorrow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
}
.tomorrow-list a {
  align-items: flex-start;
  padding: 11px 0;
}
.tomorrow-list strong {
  min-width: 42px;
  font-size: 12px;
}
@media (max-width: 550px) {
  .today-row {
    flex-wrap: wrap;
  }
  .today-status {
    flex: 1 0 100%;
    flex-direction: row;
    align-items: center;
    padding-left: 61px;
  }
}

/* Billing */
.billing-panel + .billing-panel {
  margin-top: 20px;
}
.billing-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0;
}
.billing-price {
  display: flex;
  flex: 1 1 200px;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.billing-price h3,
.billing-price p {
  margin: 0;
}
.billing-price strong {
  font-size: 1.4rem;
}
.property-card.locked {
  position: relative;
}
.property-card.locked:hover {
  transform: none;
  box-shadow: none;
}
.locked-content {
  filter: blur(4px);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}
.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
}
.plan-change-summary {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  margin: 0 0 12px;
}
.plan-change-summary dt {
  color: var(--muted);
}
.plan-change-summary dd {
  margin: 0;
}
.plan-change .flash p {
  margin: 0;
}
.plan-change .flash p + p {
  margin-top: 8px;
}
/* Help page: a numbered quick start and short answers that open in place. */
.help {
  display: grid;
  gap: 20px;
  max-width: 760px;
}
.help-panel h2 {
  margin: 0 0 6px;
}
.help-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.help-steps li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.help-steps h3 {
  margin: 0 0 4px;
  font-size: 14px;
}
.help-steps p,
.help-panel details p,
.help-contact p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.5;
}
.help-panel details {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.help-panel summary {
  cursor: pointer;
  font-weight: 600;
}
.help-panel details p {
  margin-top: 8px;
}

/* Calendar sync: each home's calendar links, their status and its own feed. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.access-standalone > .panel + .panel {
  margin-top: 20px;
}
.calendar-intro {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.calendar-links {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.calendar-links li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.calendar-links li:first-child {
  padding-top: 0;
}
.calendar-links strong {
  display: block;
  color: var(--ink);
}
.calendar-status {
  display: block;
  margin-top: 2px;
  color: #3f7a5a;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.calendar-links li.failing .calendar-status {
  color: #a74934;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
}
.icon-button:hover {
  color: #a74934;
}
.calendar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
}
.calendar-form {
  display: flex;
  gap: 8px;
}
.calendar-form input[type="url"],
.calendar-feed input {
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid #cbd8e0;
  border-radius: 7px;
  background: #fbfcfd;
  color: #193c55;
  font-size: 12px;
}
.calendar-help {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.calendar-help summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.calendar-help summary::-webkit-details-marker {
  display: none;
}
.calendar-help summary svg {
  transition: transform 0.15s ease;
}
.calendar-help[open] summary svg {
  transform: rotate(90deg);
}
.calendar-help p {
  margin: 8px 0 0;
}
.calendar-feed {
  display: flex;
  gap: 8px;
  margin: 10px 0 6px;
}
.calendar-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.calendar-note svg {
  flex: none;
  margin-top: 2px;
}
.inline-button {
  display: inline;
}
.calendar-note .text-button {
  padding: 0;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.calendar-cancelled {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 7px;
  background: #f9e9e2;
  border: 1px solid #e7c7b9;
  color: #9d5c3c;
  font-size: 12px;
  line-height: 1.7;
}
.calendar-cancelled strong {
  display: flex;
  align-items: center;
  gap: 6px;
}
.calendar-cancelled p {
  margin: 4px 0 10px;
}
.calendar-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calendar-review ul {
  margin: 6px 0 0;
}
.calendar-review a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 550px) {
  .calendar-form,
  .calendar-feed {
    flex-direction: column;
  }
}

/* The account menu. On wide screens it is the profile at the foot of the
   sidebar, opening upward, with Help and Suggest an idea as quiet links at
   the top right. Where the sidebar narrows, the avatar in the top bar opens
   the same menu, with Help and Suggest an idea in it too. Staff have no
   sidebar, so they always have the avatar. */
/* A warm word at the foot of the sidebar, above the account. It gives way
   where the sidebar narrows or the screen is too short to hold it. */
.side-note {
  margin: auto 4px 20px;
  padding: 17px 15px;
  border: 1px solid #305064;
  border-radius: 12px;
  background: #1a3b51;
  color: #eaf1f5;
}
.side-note svg {
  display: block;
  margin-bottom: 14px;
  color: #f5ac98;
}
.side-note strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.side-note p {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #abc0cd;
}
.side-note + .profile {
  margin-top: 0;
}
@media (max-width: 850px), (max-height: 680px) {
  .side-note {
    display: none;
  }
  .side-note + .profile {
    margin-top: auto;
  }
}
.topbar-actions .text-button {
  font-size: 11px;
  color: var(--coast);
}
.account-menu {
  position: relative;
}
.topbar .account-menu-top,
.account-menu-list .dropdown-option.phone-only {
  display: none;
}
.without-nav .topbar .account-menu-top {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.profile {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #355267;
}
.profile-button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.profile-button:hover,
.profile-button[aria-expanded="true"] {
  background: #ffffff0f;
}
.profile-button:focus-visible {
  outline: 2px solid #f5ac98;
  outline-offset: 0;
}
.profile .green {
  background: #35556c;
  color: #f5ac98;
}
.profile-who {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  font-size: 12px;
}
.profile-who .account-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #a6becd;
}
.profile-button svg {
  flex-shrink: 0;
  color: #99b2c3;
  transform: rotate(-90deg);
}
.profile .account-menu-list {
  top: auto;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 0;
}
.account-button {
  display: flex;
  padding: 4px;
  margin: -4px;
  border: 0;
  border-radius: 13px;
  background: none;
  cursor: pointer;
}
.account-button .avatar {
  background: var(--midnight);
  color: #f5ac98;
}
.account-button:hover .avatar,
.account-button[aria-expanded="true"] .avatar {
  background: var(--coast);
  color: #fff;
}
.account-button:focus-visible {
  outline: 2px solid var(--coast);
  outline-offset: 0;
}
.account-menu-top .account-menu-list {
  left: auto;
  right: 0;
  width: 260px;
}
.account-menu-list {
  padding: 6px;
  border-radius: 12px;
  box-shadow:
    0 16px 36px #102b3f22,
    0 2px 6px #102b3f10;
}
.account-who {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.account-menu .account-who span {
  font-size: 12px;
  color: var(--muted);
}
.account-menu-list .dropdown-option {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.account-menu-list .dropdown-option:hover {
  background: var(--coast-tint);
  color: var(--midnight);
}
.account-menu-list .dropdown-option:focus-visible {
  outline: 2px solid var(--coast);
  outline-offset: -2px;
}
.account-menu-list .sign-out-form {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.account-menu-list .sign-out {
  color: var(--muted);
}
@media (max-width: 850px) {
  .profile,
  .topbar .topbar-actions {
    display: none;
  }
  .topbar .account-menu-top {
    display: flex;
    align-items: center;
    margin-left: 12px;
  }
  .account-menu-list .dropdown-option.phone-only {
    display: flex;
  }
  .account-menu-list .dropdown-option {
    min-height: 44px;
    font-size: 14px;
  }
}

/* Without the sidebar (staff, whose only page is My tasks) the brand sits
   in the top bar; on phones it always does, as the sidebar is a bottom bar. */
.topbar-brand {
  display: none;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--midnight);
}
.topbar-brand .brand-icon {
  margin: 0;
  padding: 7px;
  border-radius: 10px;
  background: var(--midnight);
  color: #fff;
}
.without-nav .main {
  margin-left: 0;
}
.without-nav .topbar-brand {
  display: flex;
}
.without-nav .topbar {
  gap: 28px;
}
.crumbs {
  min-width: 0;
  margin-right: auto;
}
.workspace-switcher summary {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-switcher {
  min-width: 0;
}

/* A one-line pointer to the Calendars panel: on a home with none yet, and on
   Today when a calendar has stopped syncing. */
.calendar-invite {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.calendar-invite svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--coast);
}
.calendar-invite a {
  color: var(--coast);
  font-weight: 600;
  text-decoration: underline;
}
.property-hero + .calendar-invite {
  margin-top: -6px;
}

/* Four numbers on Today, in a compact row under the title, each a link to
   where it comes from. The first anchors the row in midnight; ready homes
   read as foam; problems in coral. */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.stat:hover {
  border-color: #adc3d2;
  box-shadow: 0 6px 18px #102b3f12;
}
.stat strong {
  flex-shrink: 0;
  min-width: 1.1em;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: var(--midnight);
}
.stat-text {
  min-width: 0;
}
.stat h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.stat h3 svg {
  flex-shrink: 0;
  color: var(--coast);
}
.stat p {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}
.stats > .stat:first-child {
  background: var(--midnight);
  border-color: var(--midnight);
  color: #fff;
}
.stats > .stat:first-child strong {
  color: #fff;
}
.stats > .stat:first-child h3 svg {
  color: #f5ac98;
}
.stats > .stat:first-child p {
  color: #abc0cd;
}
.stats > .stat:nth-child(3) {
  background: var(--foam);
  border-color: #c6e1d8;
}
.stats > .stat:nth-child(3) strong,
.stats > .stat:nth-child(3) h3 svg {
  color: #285f53;
}
.alert-stat {
  background: #fcede5;
  border-color: #f0d6ca;
}
.alert-stat strong,
.alert-stat h3 svg {
  color: #9f4d34;
}
@media (max-width: 1150px) {
  .stats {
    gap: 10px;
  }
  .stat {
    gap: 11px;
    padding: 12px 13px;
  }
  .stat strong {
    font-size: 24px;
  }
}
@media (max-width: 850px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 550px) {
  .stats {
    gap: 8px;
    margin-bottom: 20px;
  }
  .stat {
    gap: 10px;
    padding: 11px 12px;
  }
  .stat strong {
    font-size: 22px;
  }
  .stat h3 {
    font-size: 11px;
  }
  .stat h3 svg {
    display: none;
  }
  .stat p {
    font-size: 10px;
  }
}
