:root {
  --forest: #174f41;
  --deep: #103b31;
  --cream: #f6f4ec;
  --paper: #fffefa;
  --gold: #e9c58c;
  --coral: #bd6552;
  --ink: #203c33;
  --muted: #728078;
  --line: #e4e8df;
  --soft: #edf2e9;
  --shadow: 0 10px 30px #173e3006;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #e9ede5;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
  opacity: 0.7;
}
.app-shell {
  background: var(--paper);
  width: 100%;
  max-width: 500px;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 70px #123e2c15;
}
.desktop-story {
  display: none;
}
.app-header {
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffefaf5;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
  padding: 8px 22px;
}
.header-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--forest);
}
.wordmark {
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.wordmark > span {
  font-weight: 400;
}
.wordmark small {
  display: block;
  font-size: 7px;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 7px;
  font-weight: 700;
}
.notification {
  position: relative;
}
.notification i {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  position: absolute;
  right: 10px;
  top: 8px;
  border: 1px solid var(--paper);
}
.app-main {
  padding: 0 23px 110px;
}
.demo-ribbon {
  color: #899187;
  font-size: 8px;
  letter-spacing: 1.5px;
  padding: 12px 0 0;
  text-align: right;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  padding: 12px 10px calc(10px + env(safe-area-inset-bottom));
  background: #fffefaf7;
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--line);
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 9px;
  color: #8a948b;
  min-height: 42px;
}
.bottom-nav svg {
  width: 22px;
  height: 22px;
}
.bottom-nav a[aria-current] {
  color: var(--forest);
  font-weight: 700;
  position: relative;
}
.bottom-nav a[aria-current]:before {
  content: "";
  position: absolute;
  top: -12px;
  height: 3px;
  width: 23px;
  background: var(--forest);
  border-radius: 0 0 3px 3px;
}
.greeting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 11px 0 22px;
}
.greeting > div > span {
  font-size: 11px;
  color: var(--muted);
}
.greeting h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 6px 0;
}
.greeting p {
  font-size: 10px;
  margin: 4px 0;
}
.wave {
  color: var(--gold);
  font-size: 23px;
}
.avatar {
  background: #e8ebd9;
  color: var(--forest);
  border: 3px solid white;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--line);
}
.avatar.big {
  width: 80px;
  height: 80px;
  font-size: 24px;
  margin: 0 auto 12px;
}
.app-hero {
  height: 255px;
  border-radius: 19px;
  overflow: hidden;
  position: relative;
  color: white;
  background: var(--forest);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b3329de, #0b33295c 65%, #0b33291a),
    url("images/gotong-royong.jpg") 65% center/cover;
  transition: background-image 1s;
}
.app-hero[data-slide="1"] .hero-photo {
  background-image:
    linear-gradient(90deg, #0b3329e8, #0b332970 65%, #0b332930),
    url("images/musyawarah.jpg");
}
.app-hero[data-slide="2"] .hero-photo {
  background-position: 80% center;
}
.hero-copy {
  position: relative;
  padding: 25px 23px;
  width: 90%;
}
.pill {
  display: inline-block;
  font-size: 7px;
  letter-spacing: 1.4px;
  border: 1px solid #efdfb278;
  color: #f4dfae;
  border-radius: 20px;
  padding: 4px 8px;
}
.hero-copy h2 {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.6px;
  margin: 15px 0 10px;
  color: white;
}
.hero-copy p {
  font-size: 10px;
  line-height: 1.65;
  max-width: 225px;
  margin: 0 0 12px;
  color: #e6ecdf;
}
.hero-copy > a {
  font-size: 10px;
  color: #f5d9a3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-copy > a svg {
  width: 15px;
}
.hero-controls {
  position: absolute;
  right: 13px;
  bottom: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
}
.hero-controls button {
  border: 0;
  color: white;
  background: #ffffff1c;
  border-radius: 50%;
  height: 24px;
  width: 24px;
  padding: 0;
}
.bill-reminder {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0f2e7;
  border: 1px solid #e2e8d7;
  border-radius: 14px;
  margin: 17px 0 26px;
  padding: 16px 14px;
}
.bill-reminder > svg {
  margin-left: auto;
  width: 17px;
}
.bill-reminder small {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}
.bill-reminder b {
  font-size: 17px;
  display: block;
}
.bill-reminder em {
  display: inline-block;
  font-size: 7px;
  font-style: normal;
  font-weight: 500;
  padding: 3px 6px;
  border-radius: 10px;
  background: #f4e3c5;
  color: #8f672b;
  vertical-align: middle;
  margin-left: 7px;
}
.round-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #e0e8d4;
  display: grid;
  place-items: center;
  color: var(--forest);
  flex-shrink: 0;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 28px 0 15px;
}
.section-title h2 {
  font-size: 17px;
  margin: 0;
  letter-spacing: -0.3px;
}
.section-title > a {
  font-size: 10px;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-title > a svg {
  width: 13px;
  height: 13px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 10px;
  padding: 6px 0 8px;
}
.menu-grid > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 9px;
}
.menu-grid b {
  font-size: 10px;
  font-weight: 500;
}
.menu-icon {
  background: var(--soft);
  color: var(--forest);
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.menu-icon svg {
  width: 23px;
  height: 23px;
}
.m1 {
  background: #f7eddf;
  color: #aa7850;
}
.m2 {
  background: #e8efee;
  color: #568078;
}
.m3 {
  background: #f6e9e2;
  color: #ad725f;
}
.news-feature {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  background: white;
  box-shadow: var(--shadow);
}
.news-feature img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.news-feature > div {
  padding: 17px;
}
.tag {
  display: inline-block;
  background: #e8f0e3;
  color: #40624b;
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}
.tag.gold {
  background: #f6e7c7;
  color: #8d682d;
}
.tag.soft {
  background: #f0f1eb;
  color: #6e7a70;
}
.news-feature h3 {
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
  margin: 10px 0;
}
.news-feature p {
  font-size: 9px;
  margin: 0;
}
.agenda-mini {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px;
  background: white;
}
.date-square {
  background: #f4e9d7;
  color: #936340;
  width: 49px;
  min-width: 49px;
  height: 57px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  line-height: 1.1;
}
.date-square b {
  font-size: 22px;
  font-weight: 500;
  font-family: Georgia, serif;
}
.date-square span {
  font-size: 7px;
  letter-spacing: 1px;
  margin-top: 4px;
}
.agenda-mini h3 {
  font-size: 12px;
  margin: 0 0 5px;
}
.agenda-mini p {
  font-size: 9px;
  margin: 0;
}
.agenda-mini > svg {
  margin-left: auto;
  width: 15px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: var(--shadow);
}
.card h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.card h3 {
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 8px;
}
.card p {
  font-size: 12px;
}
p {
  color: var(--muted);
  margin: 9px 0 16px;
}
h1,
h2,
h3 {
  color: var(--ink);
}
.inline-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.inline-between h2 {
  margin: 0;
}
.progress {
  height: 6px;
  background: #edf0e7;
  border-radius: 6px;
  margin: 15px 0 8px;
  overflow: hidden;
}
.progress span {
  height: 100%;
  display: block;
  background: #688771;
  border-radius: 6px;
}
.fine {
  font-size: 10px !important;
  color: var(--muted);
  line-height: 1.7;
}
.warm-message {
  text-align: center;
  font-family: Georgia, serif;
  color: #8c8f7c;
  font-size: 16px;
  margin: 32px 0 10px;
  line-height: 1.6;
}
.warm-message b {
  font-weight: 400;
  font-size: 18px;
  color: var(--forest);
}
.page-heading {
  margin: 18px 0 24px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--coral);
  font-weight: 700;
}
.page-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 33px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 400;
  margin: 12px 0;
}
.page-heading > p {
  font-size: 12px;
  max-width: 340px;
}
.menu-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0 17px;
}
.menu-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}
.menu-list .menu-row + .menu-row {
  border-top: 1px solid var(--line);
}
.menu-row > b,
.menu-row div > b {
  font-size: 13px;
}
.menu-row p {
  margin: 3px 0 0;
  font-size: 10px;
}
.menu-row > svg {
  margin-left: auto;
  width: 16px;
  color: #91a18e;
}
.menu-row.card {
  padding: 17px;
}
.menu-row .menu-icon {
  width: 41px;
  height: 41px;
  border-radius: 12px;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  width: 100%;
  background: var(--forest);
  color: white;
  border: 1px solid var(--forest);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}
.button:hover {
  background: #256550;
}
.button svg {
  width: 18px;
  height: 18px;
}
.button.light {
  background: #f0f4e9;
  color: var(--forest);
  border: 1px solid #dce5d3;
}
.button.ghost {
  background: none;
  color: var(--coral);
  border: 1px solid #ecdcd3;
  margin-top: 14px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.stack label,
.toolbar label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
}
input,
select,
textarea {
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid #dbe1d4;
  background: #fffefa;
  border-radius: 9px;
  width: 100%;
  min-width: 0;
  font-size: 14px;
}
input::placeholder,
textarea::placeholder {
  color: #9aa296;
  font-size: 12px;
}
textarea {
  resize: vertical;
}
.stack label.consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}
.consent input {
  width: 15px;
  flex-shrink: 0;
  margin: 3px 0 0;
}
.result {
  font-size: 12px;
  line-height: 1.7;
  scroll-margin-top: 95px;
}
.result:empty {
  display: none;
}
.result:not(:empty) {
  padding: 15px;
  background: #edf3e6;
  border: 1px solid #dce6d2;
  border-radius: 10px;
}
.result.error {
  background: #fbece5;
  color: #9b4d39;
  border-color: #edd2c6;
}
.result a {
  text-decoration: underline;
  display: block;
  margin-top: 8px;
}
.info-box {
  background: #f5f1e4;
  border: 1px solid #eee4cf;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  color: #7c7967;
  font-size: 11px;
  line-height: 1.7;
}
.info-box p {
  font-size: 11px;
  margin-bottom: 0;
}
.info-box a {
  display: inline-block;
  color: var(--forest);
  margin-top: 10px;
  font-weight: 600;
}
.chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}
.chip {
  border: 1px solid #dce3d5;
  background: transparent;
  color: #6a7b6d;
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 10px;
  white-space: nowrap;
}
.chip.active {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.news-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-card img,
.news-symbol {
  width: 100px;
  min-width: 100px;
  height: 105px;
  object-fit: cover;
  border-radius: 12px;
}
.news-symbol {
  display: grid;
  place-items: center;
  background: #efefdf;
  color: #829073;
}
.news-symbol svg {
  width: 30px;
  height: 30px;
}
.news-card h2 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 7px 0;
}
.news-card p {
  font-size: 9px;
  margin: 0;
}
.article {
  padding: 20px 0;
}
.article h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin: 12px 0;
}
.article-image {
  width: calc(100% + 46px);
  margin: 15px -23px;
  max-height: 270px;
  object-fit: cover;
}
.article p {
  font-size: 13px;
  line-height: 1.9;
}
.article .lead {
  font-size: 17px;
  color: var(--ink);
  font-family: Georgia, serif;
}
.article h2 {
  font-size: 18px;
}
.month-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.month-heading .tag {
  margin-left: auto;
}
.event-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.event-top h2 {
  margin: 6px 0 0;
  font-size: 17px;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  margin: 8px 0;
}
.event-meta svg {
  width: 15px;
  height: 15px;
}
.event .button {
  margin-top: 18px;
}
.event-result {
  margin-top: 7px;
}
.balance-card {
  padding: 25px;
  background: var(--forest);
  color: white;
  border-radius: 17px;
  position: relative;
  overflow: hidden;
}
.balance-card:after {
  content: "";
  width: 150px;
  height: 150px;
  border: 25px double #ffffff0b;
  position: absolute;
  right: -70px;
  top: -50px;
  border-radius: 50%;
  pointer-events: none;
}
.balance-card > span {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #d9e3d6;
}
.balance-card h2 {
  font-size: 39px;
  font-weight: 400;
  font-family: Georgia, serif;
  color: white;
  letter-spacing: -1px;
  margin: 10px 0 18px;
  line-height: 1.1;
}
.balance-card .inline-between > span:first-child {
  font-size: 10px;
  color: #c5d5c9;
}
.money-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.money-row span {
  color: var(--muted);
}
.money-row.total {
  border: 0;
}
.money-row strong {
  font-size: 17px;
}
.text-link {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--forest);
  padding: 8px 0;
}
.text-link svg {
  width: 17px;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0;
}
.history-row p {
  margin: 3px 0 0;
  font-size: 10px;
}
.history-row b {
  font-size: 12px;
}
.history-row > .tag {
  margin-left: auto;
}
.mini-total {
  background: var(--soft);
  border-radius: 13px;
  padding: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
}
.mini-total b {
  font-size: 23px;
  font-family: Georgia, serif;
  font-weight: 400;
}
.success-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #e8f0df;
  color: var(--forest);
  display: grid;
  place-items: center;
  margin: auto auto 15px;
}
.success-icon svg {
  width: 30px;
  height: 30px;
}
.success-card > h2,
.success-card > p {
  text-align: center;
}
.step {
  display: flex;
  gap: 13px;
  margin: 18px 0;
}
.step > span {
  border-radius: 50%;
  background: #e8efdf;
  color: var(--forest);
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.step b {
  font-size: 12px;
}
.step p {
  font-size: 11px;
  margin: 3px 0 0;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  margin-bottom: 20px;
}
.tab {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 10px 0;
  font-size: 12px;
}
.tab.active {
  border-bottom: 2px solid var(--forest);
  color: var(--forest);
  font-weight: 700;
}
.tab > span {
  background: #e6eddf;
  border-radius: 8px;
  padding: 2px 5px;
  font-size: 9px;
}
.record-card h3 {
  margin-top: 12px;
}
.record-card p {
  overflow-wrap: anywhere;
}
.record-card details {
  margin-top: 12px;
}
.record-card summary {
  font-size: 11px;
  color: var(--forest);
}
.record-meta {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}
.empty-state {
  text-align: center;
  background: #f3f4eb;
  border: 1px dashed #d3dec9;
  border-radius: 14px;
  padding: 28px 20px;
  margin: 16px 0;
}
.empty-state svg {
  width: 30px;
  height: 30px;
  color: #8eaa83;
}
.empty-state h3 {
  font-size: 14px;
  margin: 12px 0 7px;
}
.empty-state p {
  font-size: 11px;
  margin: 0;
}
.searchbox {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 13px;
  margin-bottom: 16px;
  color: #8e9d8e;
}
.searchbox input {
  border: 0;
  background: none;
  padding: 14px 10px;
}
.searchbox svg {
  width: 18px;
}
.resident {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.resident .avatar {
  width: 43px;
  height: 43px;
  font-size: 12px;
}
.resident h3 {
  font-size: 13px;
  margin: 0 0 2px;
}
.resident p {
  font-size: 10px;
  margin: 0;
}
.resident button {
  margin-left: auto;
  border: 1px solid #dce5d5;
  border-radius: 8px;
  background: #eff3e9;
  color: var(--forest);
  padding: 7px 9px;
  font-size: 9px;
}
.featured-idea {
  background: #edf0df;
}
.featured-idea h2 {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  margin: 10px 0;
}
.vote {
  font-size: 10px;
  border: 1px solid #d1ddc7;
  background: #fffefa;
  color: var(--forest);
  border-radius: 20px;
  padding: 7px 10px;
}
.vote.voted {
  background: var(--forest);
  color: white;
}
.discussion-card h3 {
  font-size: 16px;
}
.discussion-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 13px;
}
.discussion-meta .avatar {
  width: 26px;
  height: 26px;
  font-size: 8px;
  border-width: 1px;
}
.reply-list {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 8px;
}
.reply {
  background: #f6f7f0;
  padding: 12px;
  border-radius: 9px;
  margin: 10px 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.reply b {
  font-size: 10px;
}
.reply p {
  margin: 4px 0 0;
  font-size: 11px;
}
.reply-form {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}
.reply-form input {
  font-size: 11px;
  padding: 10px;
  min-width: 0;
}
.reply-form button {
  border: 0;
  background: var(--forest);
  color: white;
  border-radius: 9px;
  width: 42px;
  min-width: 42px;
}
.reply-form svg {
  width: 17px;
}
.discussion-card summary {
  font-size: 11px;
  color: var(--forest);
  cursor: pointer;
}
.toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}
.toolbar select {
  padding: 11px;
  font-size: 12px;
}
.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 15px 0;
}
.finance-grid > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 15px;
}
.finance-grid span {
  font-size: 10px;
  color: var(--muted);
}
.finance-grid b {
  display: block;
  font-size: 17px;
  margin-top: 5px;
}
.expense {
  margin: 15px 0;
}
.expense:first-child {
  margin-top: 0;
}
.expense:last-child {
  margin-bottom: 0;
}
.expense .inline-between {
  font-size: 11px;
}
.expense .progress {
  height: 5px;
  margin: 8px 0;
}
.transaction {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.transaction-icon {
  background: #eaf1e4;
  color: var(--forest);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 18px;
}
.transaction-icon.out {
  background: #f6e9e0;
  color: #ac7253;
}
.transaction b {
  font-size: 11px;
}
.transaction p {
  margin: 4px 0 0;
  font-size: 9px;
}
.transaction > strong {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
}
.action-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.action-pair .button {
  font-size: 10px;
  padding: 10px 8px;
}
.program-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--soft);
  border-radius: 13px;
  padding: 20px 12px;
  margin: 20px 0;
}
.program-overview > div {
  text-align: center;
  border-right: 1px solid #d7e0cf;
}
.program-overview > div:last-child {
  border: 0;
}
.program-overview b {
  display: block;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}
.program-overview span {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.program h2 {
  font-size: 22px;
  font-family: Georgia, serif;
  font-weight: 400;
  margin: 15px 0 10px;
}
.program details {
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 14px;
}
.program summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--forest);
}
dl {
  font-size: 11px;
  line-height: 1.6;
}
dt {
  color: var(--muted);
  margin-top: 13px;
}
dd {
  margin: 3px 0;
}
.program ul {
  padding-left: 0;
  list-style: none;
  font-size: 11px;
  color: var(--muted);
  line-height: 2;
}
.profile-card {
  text-align: center;
  padding: 20px 0;
}
.profile-card h2 {
  font-size: 24px;
  font-family: Georgia, serif;
  font-weight: 400;
  margin: 10px 0 0;
}
.profile-card p {
  font-size: 12px;
  margin: 6px 0 12px;
}
.faq {
  padding: 18px;
}
.faq summary {
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.faq p {
  margin-bottom: 0;
  font-size: 11px;
}
.login-cover {
  height: 345px;
  position: relative;
  overflow: hidden;
  background: url("images/gotong-royong.jpg") 60% center/cover;
  color: white;
}
.login-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0c312951, #0c312948 20%, #0c3129e6 100%);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 28px;
  font-size: 24px;
  letter-spacing: -0.9px;
}
.login-brand svg {
  width: 30px;
  height: 30px;
}
.login-brand b > span {
  font-weight: 400;
}
.login-message {
  position: absolute;
  left: 28px;
  bottom: 30px;
  right: 28px;
}
.login-message h1 {
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.7px;
  font-weight: 400;
  color: white;
  margin: 15px 0 12px;
}
.login-message p {
  font-size: 11px;
  max-width: 280px;
  color: #e6eadf;
  margin: 0;
}
.login-panel {
  position: relative;
  margin-top: -15px;
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  padding: 30px 28px 22px;
}
.login-panel h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 8px 0;
}
.login-panel > p {
  font-size: 11px;
  margin-top: 7px;
}
.demo-note {
  display: flex;
  gap: 10px;
  background: #edf1e5;
  border: 1px solid #dce5d3;
  border-radius: 11px;
  padding: 13px;
  font-size: 10px;
  line-height: 1.7;
  color: #66785f;
  margin: 20px 0;
}
.demo-note svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 65px;
}
.password-field button {
  position: absolute;
  right: 12px;
  top: 14px;
  font-size: 10px;
  border: 0;
  background: none;
  color: var(--forest);
}
.login-help {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: -3px;
}
.login-help a {
  color: var(--forest);
}
.center {
  text-align: center;
}
.login-panel .fine {
  margin: 22px 0 5px;
}
.toast {
  position: fixed;
  bottom: calc(95px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep);
  color: white;
  z-index: 90;
  border-radius: 10px;
  max-width: 440px;
  width: calc(100% - 48px);
  padding: 14px 18px;
  font-size: 12px;
  box-shadow: 0 7px 20px #0002;
  display: none;
}
.toast.show {
  display: block;
}
.skip {
  position: fixed;
  top: -70px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.noscript {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff0cf;
  padding: 15px;
  z-index: 120;
}
[hidden] {
  display: none !important;
}
button:active,
a.button:active {
  transform: translateY(1px);
}
@media (min-width: 1000px) {
  body {
    background: var(--cream);
    padding-right: 5vw;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 100vh;
  }
  .app-shell {
    margin: 26px 0;
    width: 440px;
    min-height: calc(100vh - 52px);
    border-radius: 26px;
    overflow: clip;
    box-shadow: 0 20px 70px #183c2520;
    border: 1px solid #d7e0d0;
  }
  .app-header {
    top: 0;
  }
  .app-main {
    padding-bottom: 115px;
  }
  .bottom-nav {
    left: auto;
    right: calc(5vw + 1px);
    bottom: 0;
    width: 438px;
    border-radius: 0;
    transform: none;
  }
  .desktop-story {
    display: flex;
    position: fixed;
    left: 7vw;
    top: 0;
    bottom: 0;
    width: calc(100vw - 440px - 22vw);
    flex-direction: column;
    justify-content: space-between;
    padding: 55px 0;
    color: var(--forest);
  }
  .desktop-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;
  }
  .desktop-brand svg {
    width: 33px;
    height: 33px;
  }
  .desktop-story h2 {
    font-family: Georgia, serif;
    font-size: clamp(35px, 3.5vw, 55px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 20px 0;
  }
  .desktop-story p {
    font-size: 13px;
    line-height: 1.8;
    max-width: 350px;
  }
  .desktop-story small {
    font-size: 8px;
    letter-spacing: 2px;
    color: #8c967f;
  }
  .desktop-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 25px;
  }
  .desktop-tags span {
    font-size: 9px;
    border: 1px solid #cdd8c4;
    border-radius: 20px;
    padding: 7px 12px;
  }
  .toast {
    left: auto;
    right: calc(5vw + 24px);
    transform: none;
    width: 392px;
  }
  .login-shell {
    border-radius: 26px;
  }
  .login-cover {
    height: 345px;
  }
  .login-panel {
    padding-bottom: 28px;
  }
}
@media (max-width: 359px) {
  .app-main {
    padding-left: 17px;
    padding-right: 17px;
  }
  .app-header {
    padding-left: 17px;
    padding-right: 17px;
  }
  .hero-copy {
    padding-left: 18px;
  }
  .hero-copy h2 {
    font-size: 27px;
  }
  .bill-reminder {
    gap: 8px;
    padding: 13px 10px;
  }
  .bill-reminder b {
    font-size: 15px;
  }
  .bill-reminder em {
    font-size: 6px;
    margin-left: 3px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .card {
    padding: 17px;
  }
  .news-card img,
  .news-symbol {
    width: 80px;
    min-width: 80px;
    height: 95px;
  }
  .money-row {
    font-size: 11px;
  }
  .resident button {
    font-size: 8px;
  }
  .article-image {
    width: calc(100% + 34px);
    margin-left: -17px;
    margin-right: -17px;
  }
  .toolbar select {
    font-size: 11px;
  }
  .balance-card h2 {
    font-size: 35px;
  }
  .login-panel {
    padding: 26px 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  body {
    display: block;
    background: white;
    padding: 0;
  }
  .desktop-story,
  .app-header,
  .bottom-nav,
  .demo-ribbon,
  .toast,
  .button,
  .info-box {
    display: none !important;
  }
  .app-shell {
    width: 100%;
    max-width: none;
    border: 0;
    box-shadow: none;
    margin: 0;
  }
  .app-main {
    padding: 0;
  }
  .card,
  .balance-card {
    break-inside: avoid;
  }
  .balance-card {
    background: #e8efe4;
    color: #203c33;
  }
  .balance-card h2 {
    color: #203c33;
  }
  .balance-card > span,
  .balance-card .inline-between > span:first-child {
    color: #203c33;
  }
}
