body.community {
  background: #eef2ec;
  color: #15201a;
}

button {
  border: 0;
}

.community-app {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(126, 205, 176, 0.16), transparent 28%),
    radial-gradient(circle at 15% 90%, rgba(202, 222, 122, 0.17), transparent 24%),
    #eef2ec;
}

.community-header {
  position: relative;
  z-index: 20;
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  margin: 0 4vw;
  border-bottom: 1px solid rgba(20, 39, 29, 0.14);
}

.community-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-brand__mark {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
}

.community-brand__mark i {
  position: absolute;
  width: 12px;
  height: 20px;
  transform: skew(-28deg);
  border-radius: 2px;
  background: linear-gradient(to bottom, #8fbf6d, #30a586);
}

.community-brand__mark i:first-child {
  bottom: 2px;
  left: 1px;
  height: 11px;
  opacity: 0.58;
}

.community-brand__mark i:nth-child(2) {
  bottom: 2px;
  left: 8px;
}

.community-brand__mark i:last-child {
  top: 1px;
  right: 1px;
  height: 14px;
  opacity: 0.72;
}

.community-brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.community-brand b {
  color: #1e2c24;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.community-brand small {
  color: #829087;
  font-size: 4.5px;
  letter-spacing: 0.16em;
}

.community-header__tag {
  color: #819087;
  font-size: 6px;
  letter-spacing: 0.15em;
}

.community-header__back {
  display: flex;
  height: 30px;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 13px;
  border: 1px solid rgba(20, 39, 29, 0.2);
  border-radius: 999px;
  color: #34483c;
  font-size: 7px;
}

.community-header__back i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #1e3026;
  color: #d9efb3;
  font-style: normal;
}

.community-main {
  position: relative;
  display: grid;
  height: calc(100vh - 108px);
  grid-template-columns: 37vw minmax(0, 1fr);
  padding: 0 4vw;
}

.community-copy {
  position: relative;
  z-index: 3;
  padding-top: 7vh;
}

.community-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6e8175;
  font-size: 6px;
  letter-spacing: 0.16em;
}

.community-kicker i {
  width: 7px;
  height: 7px;
  border: 1px solid #3aa888;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(58, 168, 136, 0.35);
}

.community-copy h1 {
  margin: 24px 0 18px;
  font-size: clamp(54px, 4.9vw, 70px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.community-copy h1 span {
  background: linear-gradient(100deg, #1c3327 8%, #3b9d78 58%, #7aae56 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.community-copy > p {
  width: 92%;
  margin: 0;
  color: #5f6f65;
  font-size: 12px;
  line-height: 1.9;
}

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.community-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(29, 56, 41, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: #52665a;
  font-size: 7px;
}

.community-capabilities {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid rgba(29, 56, 41, 0.16);
}

.community-capabilities article {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 5px 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(29, 56, 41, 0.13);
}

.community-capabilities article > span {
  grid-row: span 2;
  color: #7d8c82;
  font-size: 6px;
  letter-spacing: 0.08em;
}

.community-capabilities b {
  font-size: 11px;
  font-weight: 600;
}

.community-capabilities p {
  margin: 0;
  color: #6f7d73;
  font-size: 8px;
  line-height: 1.65;
}

.community-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 11px 13px;
  border: 1px solid rgba(61, 134, 100, 0.16);
  background: rgba(223, 239, 223, 0.62);
  color: #557061;
  font-size: 7.5px;
}

.community-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43a47f;
  box-shadow: 0 0 0 4px rgba(67, 164, 127, 0.12);
}

.community-scene {
  position: relative;
  min-width: 0;
}

.community-scene__grid {
  position: absolute;
  inset: 6% -4vw 4% 3%;
  background-image:
    linear-gradient(rgba(30, 64, 44, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 44, 0.038) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 55% 48%, #000, transparent 73%);
}

.community-scene__orb {
  position: absolute;
  top: 2%;
  right: -8%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(53, 142, 103, 0.12);
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px rgba(76, 177, 132, 0.05),
    0 0 0 70px rgba(91, 163, 109, 0.025);
}

.staff-board {
  position: absolute;
  z-index: 2;
  top: 8.5%;
  right: 0;
  width: 74%;
  height: 64%;
  padding: 19px;
  border: 1px solid rgba(27, 64, 44, 0.14);
  border-radius: 18px;
  background: rgba(252, 253, 249, 0.94);
  box-shadow: 0 38px 80px rgba(40, 76, 55, 0.15);
}

.staff-board__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.staff-board__header > div:first-child span {
  color: #91a095;
  font-size: 5.5px;
  letter-spacing: 0.15em;
}

.staff-board__header h2 {
  margin: 5px 0 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.45px;
}

.staff-project {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.staff-project span {
  color: #96a29a;
  font-size: 5.5px;
}

.staff-project b {
  font-size: 8px;
  font-weight: 500;
}

.staff-project i {
  margin-left: 6px;
  color: #8d9b92;
  font-style: normal;
}

.staff-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  border: 1px solid rgba(27, 64, 44, 0.1);
  background: #f4f7f1;
}

.staff-metrics article {
  min-height: 72px;
  padding: 11px;
  border-right: 1px solid rgba(27, 64, 44, 0.1);
}

.staff-metrics article:last-child {
  border-right: 0;
}

.staff-metrics article > span {
  color: #7c8d83;
  font-size: 6.5px;
}

.staff-metrics strong {
  display: block;
  margin: 3px 0 1px;
  font-size: 22px;
  font-weight: 500;
}

.staff-metrics small {
  color: #9aa79f;
  font-size: 5.5px;
}

.staff-metrics .is-alert {
  background: #faf3e9;
}

.staff-metrics .is-alert strong {
  color: #b4773a;
}

.staff-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.staff-filters {
  display: flex;
  gap: 5px;
}

.staff-filters button {
  padding: 6px 9px;
  border-radius: 6px;
  background: transparent;
  color: #89978f;
  font-size: 6px;
}

.staff-filters button.is-active {
  background: #1d3328;
  color: #edf7e8;
}

.staff-search {
  padding: 7px 11px;
  border: 1px solid #dfe5df;
  border-radius: 6px;
  color: #9aa79f;
  font-size: 6px;
}

.staff-table {
  margin-top: 9px;
  border: 1px solid #e1e6df;
}

.staff-table__row {
  display: grid;
  min-height: 52px;
  grid-template-columns: 1.05fr 1.25fr 0.7fr 0.52fr;
  align-items: center;
  border-bottom: 1px solid #e6ebe4;
}

.staff-table__row:last-child {
  border-bottom: 0;
}

.staff-table__row > span {
  min-width: 0;
  padding: 8px 10px;
}

.staff-table__head {
  min-height: 29px;
  background: #f6f8f4;
  color: #9aa69e;
  font-size: 5.5px;
}

.staff-table__row b {
  display: block;
  overflow: hidden;
  font-size: 7px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-table__row small {
  display: block;
  margin-top: 3px;
  color: #9aa69e;
  font-size: 5.5px;
}

.staff-table__row > span:nth-child(3) {
  display: flex;
  align-items: center;
  gap: 6px;
}

.staff-table__row > span:nth-child(3) small {
  margin: 0;
  color: #66756c;
}

.staff-avatar {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #dcead9;
  color: #4e704d;
  font-size: 6px;
  font-style: normal;
}

.staff-avatar--muted {
  background: #eef0ec;
  color: #9ca79e;
}

.staff-avatar--green {
  background: #d7eee7;
  color: #3a7c67;
}

.status {
  display: inline-block;
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 5.5px;
  font-style: normal;
  white-space: nowrap;
}

.status--doing {
  background: #e1f0e7;
  color: #408061;
}

.status--waiting {
  background: #f8eadb;
  color: #a16e3f;
}

.status--check {
  background: #e8edf4;
  color: #5c748d;
}

.staff-board__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: #8c9991;
  font-size: 5.5px;
}

.staff-board__footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.staff-board__footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #48a784;
}

.staff-board__footer b {
  color: #435b4c;
  font-size: 5.5px;
  font-weight: 500;
}

.resident-phone {
  position: absolute;
  z-index: 4;
  top: 5%;
  left: 0;
  width: 31%;
  height: 78%;
  padding: 9px 13px 0;
  overflow: hidden;
  border: 7px solid #15221a;
  border-radius: 36px;
  background: #f7f8f4;
  box-shadow:
    0 45px 90px rgba(34, 67, 47, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.resident-phone::before {
  position: absolute;
  z-index: 5;
  top: 7px;
  left: 50%;
  width: 66px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #15221a;
  content: "";
}

.resident-status {
  display: flex;
  height: 21px;
  align-items: center;
  gap: 3px;
  padding: 0 4px;
  font-size: 5px;
}

.resident-status i {
  width: 9px;
  height: 5px;
  margin-left: auto;
  border-radius: 1px;
  background: #25332a;
}

.resident-status b,
.resident-status em {
  font-size: 4.5px;
  font-style: normal;
}

.resident-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 10px;
}

.resident-head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.resident-head span {
  color: #94a098;
  font-size: 5.5px;
}

.resident-head b {
  font-size: 10px;
  font-weight: 600;
}

.resident-head b i {
  margin-left: 4px;
  color: #89968e;
  font-style: normal;
}

.resident-bell {
  position: relative;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #e3e8e1;
  border-radius: 50%;
  background: #fff;
  color: #4d6155;
  font-size: 9px !important;
}

.resident-bell i {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #55a982;
}

.resident-home-card {
  position: relative;
  padding: 15px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 83% 22%, rgba(216, 247, 201, 0.3), transparent 25%),
    linear-gradient(135deg, #1d3528, #2d5d48);
  color: #f4f9ef;
}

.resident-home-card::after {
  position: absolute;
  right: -24px;
  bottom: -43px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(224, 247, 206, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(224, 247, 206, 0.05);
  content: "";
}

.resident-home-card > span {
  color: #a9c4b2;
  font-size: 5px;
}

.resident-home-card > b {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
}

.resident-home-card > p {
  margin: 5px 0 12px;
  color: #b9cdbf;
  font-size: 6px;
}

.resident-home-card > div {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #d8e6d7;
  font-size: 5px;
}

.resident-home-card > div i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b9e36b;
}

.resident-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 12px;
}

.resident-quick button {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid #e4e9e2;
  border-radius: 9px;
  background: #fff;
}

.resident-quick button > span {
  display: grid;
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
  place-items: center;
  border-radius: 6px;
  background: #e6f1e4;
  color: #497b5b;
  font-size: 8px;
}

.resident-quick b {
  font-size: 5.5px;
  font-weight: 500;
}

.resident-quick small {
  color: #a1aaa4;
  font-size: 4.5px;
}

.resident-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 1px 7px;
}

.resident-section-head b {
  font-size: 7px;
  font-weight: 600;
}

.resident-section-head span {
  color: #95a098;
  font-size: 5px;
}

.resident-notice {
  display: flex;
  gap: 9px;
  padding: 9px;
  border: 1px solid #e5e9e3;
  border-radius: 9px;
  background: #fff;
}

.notice-date {
  display: flex;
  width: 30px;
  height: 34px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #eff4e9;
  color: #597353;
}

.notice-date b {
  font-size: 10px;
  font-weight: 500;
}

.notice-date small {
  font-size: 4px;
}

.resident-notice > div {
  min-width: 0;
}

.resident-notice b {
  display: block;
  font-size: 6px;
  font-weight: 500;
}

.resident-notice p {
  margin: 3px 0;
  overflow: hidden;
  color: #75837a;
  font-size: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resident-notice small {
  color: #a2aba5;
  font-size: 4.5px;
}

.resident-order {
  padding: 10px;
  border: 1px solid #e5e9e3;
  border-radius: 9px;
  background: #fff;
}

.resident-order > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: #e8f1e5;
  color: #4a7858;
  font-size: 10px;
}

.resident-order > div:first-child > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.resident-order b {
  font-size: 6px;
  font-weight: 500;
}

.resident-order small {
  color: #9ca69f;
  font-size: 4.5px;
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 10px;
}

.order-progress i {
  height: 2px;
  background: #e5e9e3;
}

.order-progress i.is-done {
  background: #6ca777;
}

.order-progress i.is-active {
  background: #b6cf7d;
}

.resident-order > p {
  display: flex;
  justify-content: space-between;
  margin: 7px 0 0;
  font-size: 4.8px;
}

.resident-order > p span {
  color: #4e765a;
}

.resident-order > p em {
  color: #9ca69f;
  font-style: normal;
}

.resident-tabbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 40px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid #e6eae4;
  background: rgba(255, 255, 255, 0.96);
}

.resident-tabbar span {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  color: #9ba49e;
}

.resident-tabbar span.is-active {
  color: #4d7c5d;
}

.resident-tabbar i {
  font-size: 8px;
  font-style: normal;
}

.resident-tabbar b {
  font-size: 4.5px;
  font-weight: 500;
}

.scene-label {
  position: absolute;
  z-index: 5;
  color: #8b998f;
  font-size: 5.5px;
  letter-spacing: 0.12em;
}

.scene-label--resident {
  bottom: 8%;
  left: 2%;
}

.scene-label--staff {
  right: 0;
  bottom: 22%;
}

.community-footer {
  position: absolute;
  z-index: 10;
  right: 4vw;
  bottom: 0;
  left: 4vw;
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(20, 39, 29, 0.12);
  color: #8b998f;
  font-size: 5px;
  letter-spacing: 0.08em;
}
