@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

: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;
}
.profile small {
  display: block;
  color: #949b96;
  font-size: 10px;
  font-weight: 400;
  margin-top: 3px;
}
.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;
}
.green {
  background: #e8eee5;
  color: #4b6a4a;
}
.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;
}
.nav span {
  margin-left: auto;
  font-size: 10px;
  background: #dce7d6;
  padding: 2px 6px;
  border-radius: 4px;
}
.side-note {
  margin: auto 6px 24px;
  border: 1px solid #e7eade;
  background: #f7f8f0;
  border-radius: 11px;
  padding: 17px 14px;
}
.side-note svg {
  color: #8a9e6d;
  margin-bottom: 15px;
}
.side-note strong {
  display: block;
  font-size: 12px;
  line-height: 1.7;
}
.side-note p {
  font-size: 11px;
  color: #919787;
  line-height: 1.8;
  margin-bottom: 0;
}
.profile {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding: 20px 7px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.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;
}
.save {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}
.dot {
  width: 5px;
  height: 5px;
  background: #81a188;
  border-radius: 50%;
}
.dot.amber {
  background: #c18a48;
}
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;
}
.dark-text {
  color: #809276;
}
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 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;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 35px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 20px;
}
.stat > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #96a48e;
}
.stat strong {
  font-family: Space Grotesk;
  font-size: 31px;
  line-height: 1;
  color: #2a4638;
  font-weight: 500;
}
.stat h3 {
  font-size: 11px;
  font-weight: 600;
  margin: 22px 0 5px;
}
.stat p {
  font-size: 10px;
  color: #939b92;
  margin: 0;
}
.alert-stat {
  background: #faf7ed;
  border-color: #ece5d1;
}
.alert-stat > div {
  color: #b69a61;
}
.alert-stat strong {
  color: #987b41;
}
.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;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading h2 span {
  font-family: "Inter";
  font-size: 10px;
  background: #e9ede4;
  color: #7e8e74;
  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;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 25px #1834230d;
}
.card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  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.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;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  margin-bottom: 35px;
}
.panel {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.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;
}
.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 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 > span:last-child {
  margin-left: auto;
  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-size: cover;
  background-position: center 55%;
  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;
}
.readiness {
  background: #edf2e7;
  border-color: #e0e8d5;
}
.readiness-number {
  font-size: 58px;
  font-family: Space Grotesk;
  font-weight: 500;
  letter-spacing: -4px;
  color: #607f4b;
  line-height: 1.2;
}
.readiness-number span {
  font-size: 23px;
  letter-spacing: 0;
  margin-left: 4px;
}
.readiness p {
  font-size: 11px;
  color: #8a9b7c;
  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: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  min-height: 210px;
  font-size: 12px;
  color: #96a38a;
}
.task-property {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f6ee;
  border: 0;
  border-radius: 6px;
  padding: 12px;
  margin-top: 16px;
  font-size: 12px;
}
.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;
}
.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;
  }
  .stats {
    margin-bottom: 42px;
  }
}
@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;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .property-grid {
    gap: 13px;
  }
  .bottom-grid {
    gap: 15px;
  }
  .panel {
    padding: 19px;
  }
  .side-note {
    padding: 12px;
  }
  .detail-grid {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 76px;
    padding: 25px 10px;
  }
  .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,
  .side-note,
  .profile {
    display: none;
  }
  .sidebar nav {
    margin-top: 35px;
  }
  .nav {
    font-size: 0;
    justify-content: center;
    padding: 15px 0;
  }
  .nav span {
    display: none;
  }
  .nav svg {
    width: 20px;
    height: 20px;
  }
  .main {
    margin-left: 76px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottom-grid {
    grid-template-columns: 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: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .right-column > .panel {
    margin: 0;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 61px;
    flex-direction: row;
    padding: 8px 13px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    z-index: 5;
  }
  .brand-icon {
    padding: 7px;
  }
  .sidebar nav {
    display: flex;
    margin: 0 0 0 auto;
    gap: 3px;
  }
  .nav {
    width: 36px;
    padding: 9px 0;
    margin: 0;
  }
  .nav svg {
    width: 17px;
    height: 17px;
  }
  .shell {
    display: block;
  }
  .main {
    margin: 0;
  }
  .topbar {
    height: 49px;
    padding: 0 18px;
  }
  .topbar > div {
    gap: 6px;
    font-size: 10px;
  }
  .save {
    font-size: 8px;
  }
  .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;
  }
  .stats {
    gap: 10px;
    margin-bottom: 28px;
  }
  .stat {
    padding: 15px;
  }
  .stat h3 {
    font-size: 10px;
    margin-top: 17px;
  }
  .stat p {
    font-size: 9px;
  }
  .stat strong {
    font-size: 28px;
  }
  .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;
  }
  .bottom-grid {
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .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: 1fr;
  }
  .readiness {
    position: relative;
  }
  .readiness-number {
    font-size: 45px;
  }
  .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;
}
.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 {
  color: #a66f59;
}
.account-email {
  display: block;
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  margin-bottom: 5px;
}
.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-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;
}
.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;
  }
  .sidebar nav {
    align-items: center;
  }
  .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,
.stat strong,
.date-box strong,
.readiness-number,
.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;
}
.profile small {
  color: #a6becd;
}
.nav {
  color: #c2d1da;
}
.nav:hover {
  background: #ffffff09;
}
.nav.active {
  background: #ffffff12;
  color: #fff;
}
.nav.active svg {
  color: #f5ac98;
}
.nav span {
  background: #ffffff14;
  color: #fff;
}
.side-note {
  background: #1a3b51;
  border-color: #305064;
  color: #eaf1f5;
}
.side-note svg {
  color: #f5ac98;
}
.side-note p {
  color: #abc0cd;
}
.profile {
  border-color: #355267;
  color: #fff;
}
.profile .green {
  background: #35556c;
  color: #f5ac98;
}
.profile .text-button {
  color: #b6cbd7;
}
.profile-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 10px;
  color: #6f8a9c;
}
.topbar {
  background: #fff8;
  color: #5b7084;
}
.topbar > div span {
  color: #102b3f;
}
.dot {
  background: #366f8c;
}
.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 .eyebrow,
.dark-text {
  color: #366f8c;
}
.page-title p,
.card-body > p,
.card-owner,
.card-arrival > span,
.stat p,
.card-progress,
.notes,
.muted,
.preview-note,
.arrival-panel p,
.task-content small,
.team-card p {
  color: #5b7084;
}
.stat > div {
  color: #366f8c;
}
.stat strong {
  color: #102b3f;
}
.alert-stat {
  background: #fcede5;
  border-color: #f0d6ca;
}
.alert-stat > div,
.alert-stat strong {
  color: #9f4d34;
}
.section-heading h2 span {
  background: #e4edf3;
  color: #366f8c;
}
.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;
}
.readiness {
  background: #e5eef4;
  border-color: #d4e2eb;
}
.overline {
  color: #366f8c;
}
.readiness-number {
  color: #285a77;
}
.readiness p {
  color: #506e83;
}
.checkbox {
  border-color: #b8cad6;
}
.checkbox.checked {
  background: #366f8c;
  border-color: #366f8c;
}
.completed strong {
  color: #5b7084;
}
.green {
  background: #e3ecf3;
  color: #315c78;
}
.team-add {
  border-color: #adc3d2;
  color: #366f8c;
}
.task-property {
  background: #e8eff4;
  color: #28546f;
}
.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;
}
.account-email {
  color: #e1ebf0;
}
.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;
}
.readiness-number span {
  color: #5b7084;
}
.property-card,
.panel,
.stat {
  border-radius: 12px;
}
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;
}

/* Lead stat anchors the overview in midnight; ready homes read as foam. */
.stats > .stat:first-child {
  background: var(--midnight);
  border-color: var(--midnight);
}
.stats > .stat:first-child > div {
  color: #f5ac98;
}
.stats > .stat:first-child strong,
.stats > .stat:first-child h3 {
  color: #fff;
}
.stats > .stat:first-child p {
  color: #abc0cd;
}
.stats > .stat:nth-child(3):not(.alert-stat) {
  background: var(--foam);
  border-color: #c6e1d8;
}
.stats > .stat:nth-child(3):not(.alert-stat) > div,
.stats > .stat:nth-child(3):not(.alert-stat) strong {
  color: #285f53;
}

/* Readiness is the one number that matters on a property: give it midnight. */
.readiness {
  background: var(--midnight);
  border-color: var(--midnight);
}
.readiness .overline {
  color: #f5ac98;
}
.readiness-number {
  color: #fff;
}
.readiness-number span,
.readiness p {
  color: #abc0cd;
}
.readiness .progress {
  background: #ffffff1f;
}
.readiness .progress i {
  background: var(--foam);
}

/* 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 top bar link and the list of what a user has sent. */
.topbar-actions .text-button {
  font-size: 11px;
  color: var(--coast);
}
.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;
}

/* Admin: status tabs, clickable suggestion rows and inline forms. */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.admin-tabs a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  color: var(--slate);
}
.admin-tabs a.active {
  background: var(--midnight);
  border-color: var(--midnight);
  color: #fff;
}
.admin-list {
  max-width: none;
  margin-top: 0;
}
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;
}
.admin-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.admin-inline-form label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
}
.admin-inline-form select {
  max-width: 100%;
}
.form-panel h2 {
  margin-bottom: 6px;
}

/* Admin overview: weekly sign-up bars and suggestion counts. */
.admin-usage {
  margin-top: -18px;
}
.signup-bars {
  display: grid;
  gap: 10px;
}
.signup-bar {
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--slate);
}
.signup-bar i {
  height: 8px;
  border-radius: 4px;
  background: var(--coast-tint);
  overflow: hidden;
}
.signup-bar b {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--coast);
}
.signup-bar strong {
  text-align: right;
  color: var(--midnight);
}
.admin-count-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.admin-count-row:hover span {
  color: var(--coast);
}

/* The sidebar profile is hidden on tablets and phones, so sign out moves
   to the top bar there. */
.topbar-signout {
  display: none;
}
@media (max-width: 850px) {
  .topbar-signout {
    display: block;
  }
}
@media (max-width: 550px) {
  .topbar .save {
    display: none;
  }
}

/* Team member profile */
.team-card h2 a:hover {
  text-decoration: underline;
}
.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 {
  margin-top: 14px;
}

.other-arrivals h3 {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--coast);
  margin: 18px 0 4px;
}

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